From martyconnelly at shaw.ca Mon Aug 1 00:26:05 2005 From: martyconnelly at shaw.ca (MartyConnelly) Date: Sun, 31 Jul 2005 22:26:05 -0700 Subject: [AccessD] mde....mdb format References: <002101c5962c$4d06dcf0$ebc2f63f@Desktop> Message-ID: <42EDB26D.3080802@shaw.ca> What is this click event actually doing. Try doing a decompile before creating the mde then recompile. Also try doing it with the /runtime command line parameter in a shortcut John Eget wrote: >I have correctly complied and ran a mdb database with no errors, yet when i convert to mde i get the error pop that the command on a click event is not available in a mde/ade format. has anyone came across this before, what happens when i create a mde? > >Thanks for looking >John > > -- Marty Connelly Victoria, B.C. Canada From accessd666 at yahoo.com Mon Aug 1 03:26:04 2005 From: accessd666 at yahoo.com (Sad Der) Date: Mon, 1 Aug 2005 01:26:04 -0700 (PDT) Subject: [AccessD] Display records from SQL Server SP with cursor output param Message-ID: <20050801082604.33580.qmail@web31610.mail.mud.yahoo.com> Hi group, I've got a Stored Procedure in SQL Server. It has 1 IN and 1 OUTPUT param. The SP is used to search a database for values and return the data using a cursor accordingly. If I run the code below (SQL Server) it returns exactly the records I need. My question: How can I call this SP from within MS-Access 2000 and display the cursor info? DECLARE @MyCursor CURSOR EXEC search_cursor @Remark = '%Project%' , @search_cursor = @MyCursor OUTPUT WHILE (@@FETCH_STATUS = 0) BEGIN FETCH NEXT FROM @MyCursor END CLOSE @MyCursor DEALLOCATE @MyCursor GO Thnx SD __________________________________________________ Do You Yahoo!? Tired of spam? Yahoo! Mail has the best spam protection around http://mail.yahoo.com From accessd666 at yahoo.com Mon Aug 1 04:46:16 2005 From: accessd666 at yahoo.com (Sad Der) Date: Mon, 1 Aug 2005 02:46:16 -0700 (PDT) Subject: [AccessD] GRID?? Message-ID: <20050801094616.34076.qmail@web31605.mail.mud.yahoo.com> Hi group, ??? que pasa ??? isn't there a grid in ms-access I can use?? I've got a recordset that returns somewhere between 3 and x fields. I want to display the data in a grid. However i cannot find anything regarding a grid in Access. Come to think of it, I cannot remember that I've ever used a grid. Any ideas? Thnx SD __________________________________________________ Do You Yahoo!? Tired of spam? Yahoo! Mail has the best spam protection around http://mail.yahoo.com From vrm at tim-cms.com Mon Aug 1 06:33:16 2005 From: vrm at tim-cms.com (Marcel Vreuls) Date: Mon, 1 Aug 2005 07:33:16 -0400 Subject: [AccessD] GRID?? Message-ID: <200508010733.AA1042219266@tim-cms.com> SD, I use JanusGrid 2000 a lot. Take a look at componentresource.com and search for Janus. They have also included a good access example with connected and disconnected recordsets. Gr. marcel ---------- Original Message ---------------------------------- From: Sad Der Reply-To: Access Developers discussion and problem solving Date: Mon, 1 Aug 2005 02:46:16 -0700 (PDT) >Hi group, > >??? que pasa ??? >isn't there a grid in ms-access I can use?? > >I've got a recordset that returns somewhere between 3 >and x fields. I want to display the data in a grid. > >However i cannot find anything regarding a grid in >Access. Come to think of it, I cannot remember that >I've ever used a grid. > >Any ideas? > >Thnx > >SD > >__________________________________________________ >Do You Yahoo!? >Tired of spam? Yahoo! Mail has the best spam protection around >http://mail.yahoo.com >-- >AccessD mailing list >AccessD at databaseadvisors.com >http://databaseadvisors.com/mailman/listinfo/accessd >Website: http://www.databaseadvisors.com > From vrm at tim-cms.com Mon Aug 1 06:34:10 2005 From: vrm at tim-cms.com (Marcel Vreuls) Date: Mon, 1 Aug 2005 07:34:10 -0400 Subject: [AccessD] Re: Undeliverable Mail Message-ID: <200508010734.AA1037893792@tim-cms.com> SD, I use JanusGrid 2000 a lot. Take a look at componentresource.com and search for Janus. They have also included a good access example with connected and disconnected recordsets. Gr. marcel >---------- Original Message ---------------------------------- >From: Sad Der >Reply-To: Access Developers discussion and problem solving >Date: Mon, 1 Aug 2005 02:46:16 -0700 (PDT) > >>Hi group, >> >>??? que pasa ??? >>isn't there a grid in ms-access I can use?? >> >>I've got a recordset that returns somewhere between 3 >>and x fields. I want to display the data in a grid. >> >>However i cannot find anything regarding a grid in >>Access. Come to think of it, I cannot remember that >>I've ever used a grid. >> >>Any ideas? >> >>Thnx >> >>SD >> >>__________________________________________________ >>Do You Yahoo!? >>Tired of spam? Yahoo! Mail has the best spam protection around >>http://mail.yahoo.com >>-- >>AccessD mailing list >>AccessD at databaseadvisors.com >>http://databaseadvisors.com/mailman/listinfo/accessd >>Website: http://www.databaseadvisors.com >> > From accessd666 at yahoo.com Mon Aug 1 07:08:34 2005 From: accessd666 at yahoo.com (Sad Der) Date: Mon, 1 Aug 2005 05:08:34 -0700 (PDT) Subject: [AccessD] GRID?? In-Reply-To: <200508010733.AA1042219266@tim-cms.com> Message-ID: <20050801120834.68317.qmail@web31603.mail.mud.yahoo.com> Thnx but that doesn't help me out now. It has to be Access functionality (maybe vb activeX?) I'm lookin into that now. Regards, SD --- Marcel Vreuls wrote: > SD, > > I use JanusGrid 2000 a lot. Take a look at > componentresource.com and search for Janus. They > have also included a good access example with > connected and disconnected recordsets. > > Gr. marcel > ---------- Original Message > ---------------------------------- > From: Sad Der > Reply-To: Access Developers discussion and problem > solving > Date: Mon, 1 Aug 2005 02:46:16 -0700 (PDT) > > >Hi group, > > > >??? que pasa ??? > >isn't there a grid in ms-access I can use?? > > > >I've got a recordset that returns somewhere between > 3 > >and x fields. I want to display the data in a > grid. > > > >However i cannot find anything regarding a grid in > >Access. Come to think of it, I cannot remember that > >I've ever used a grid. > > > >Any ideas? > > > >Thnx > > > >SD > > > >__________________________________________________ > >Do You Yahoo!? > >Tired of spam? Yahoo! Mail has the best spam > protection around > >http://mail.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 > ____________________________________________________ Start your day with Yahoo! - make it your home page http://www.yahoo.com/r/hs From vrm at tim-cms.com Mon Aug 1 07:47:03 2005 From: vrm at tim-cms.com (| Marcel Vreuls) Date: Mon, 1 Aug 2005 14:47:03 +0200 Subject: [AccessD] GRID?? In-Reply-To: <20050801120834.68317.qmail@web31603.mail.mud.yahoo.com> Message-ID: <000e01c59697$1e40abb0$0100000a@GALAXY.local> SD, janus is a vb active X control. If you want native access grids there are to my knowlegde only three workarrounds/solutions: - work with continues forms which give you a grid look and feel and sorting possibilities. - work with the listview and make sortopties for every column - embed excel as oleobject and fill the excel sheet. Marcel -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Sad Der Sent: maandag 1 augustus 2005 14:09 To: Access Developers discussion and problem solving Subject: Re: [AccessD] GRID?? Thnx but that doesn't help me out now. It has to be Access functionality (maybe vb activeX?) I'm lookin into that now. Regards, SD --- Marcel Vreuls wrote: > SD, > > I use JanusGrid 2000 a lot. Take a look at > componentresource.com and search for Janus. They > have also included a good access example with > connected and disconnected recordsets. > > Gr. marcel > ---------- Original Message > ---------------------------------- > From: Sad Der > Reply-To: Access Developers discussion and problem > solving > Date: Mon, 1 Aug 2005 02:46:16 -0700 (PDT) > > >Hi group, > > > >??? que pasa ??? > >isn't there a grid in ms-access I can use?? > > > >I've got a recordset that returns somewhere between > 3 > >and x fields. I want to display the data in a > grid. > > > >However i cannot find anything regarding a grid in > >Access. Come to think of it, I cannot remember that > >I've ever used a grid. > > > >Any ideas? > > > >Thnx > > > >SD > > > >__________________________________________________ > >Do You Yahoo!? > >Tired of spam? Yahoo! Mail has the best spam > protection around > >http://mail.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 > ____________________________________________________ Start your day with Yahoo! - make it your home page http://www.yahoo.com/r/hs -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From ssharkins at bellsouth.net Mon Aug 1 07:43:46 2005 From: ssharkins at bellsouth.net (Susan Harkins) Date: Mon, 1 Aug 2005 08:43:46 -0400 Subject: [AccessD] GRID?? In-Reply-To: <000e01c59697$1e40abb0$0100000a@GALAXY.local> Message-ID: <20050801124341.ZGNC24175.ibm69aec.bellsouth.net@SUSANONE> - work with the listview and make sortopties for every column ========What is a listview? Susan H. From jwcolby at colbyconsulting.com Mon Aug 1 07:56:25 2005 From: jwcolby at colbyconsulting.com (John W. Colby) Date: Mon, 1 Aug 2005 08:56:25 -0400 Subject: [AccessD] test Message-ID: <002501c59698$6d45e620$0501a8c0@ColbyM6805> John W. Colby www.ColbyConsulting.com Contribute your unused CPU cycles to a good cause: http://folding.stanford.edu/ From accessd666 at yahoo.com Mon Aug 1 08:02:08 2005 From: accessd666 at yahoo.com (Sad Der) Date: Mon, 1 Aug 2005 06:02:08 -0700 (PDT) Subject: [AccessD] GRID?? In-Reply-To: <000e01c59697$1e40abb0$0100000a@GALAXY.local> Message-ID: <20050801130208.16097.qmail@web31612.mail.mud.yahoo.com> Thnx, for the replies. I've solved the problem like this: 1 - I've created a SQL server view 2 - I've created a Pass-Through query 3 - I've created a sub-form based on step 2 Now 'all' I have to do is figure out how I can add a parameter that is filled using a form... :-) regards, SD --- | Marcel Vreuls wrote: > SD, > > janus is a vb active X control. If you want native > access grids there are > to my knowlegde only three workarrounds/solutions: > > - work with continues forms which give you a grid > look and feel and sorting > possibilities. > - work with the listview and make sortopties for > every column > - embed excel as oleobject and fill the excel sheet. > > Marcel > > > > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com]On > Behalf Of Sad Der > Sent: maandag 1 augustus 2005 14:09 > To: Access Developers discussion and problem solving > Subject: Re: [AccessD] GRID?? > > > Thnx but that doesn't help me out now. > It has to be Access functionality (maybe vb > activeX?) > I'm lookin into that now. > > Regards, > > SD > > --- Marcel Vreuls wrote: > > > SD, > > > > I use JanusGrid 2000 a lot. Take a look at > > componentresource.com and search for Janus. They > > have also included a good access example with > > connected and disconnected recordsets. > > > > Gr. marcel > > ---------- Original Message > > ---------------------------------- > > From: Sad Der > > Reply-To: Access Developers discussion and problem > > solving > > Date: Mon, 1 Aug 2005 02:46:16 -0700 (PDT) > > > > >Hi group, > > > > > >??? que pasa ??? > > >isn't there a grid in ms-access I can use?? > > > > > >I've got a recordset that returns somewhere > between > > 3 > > >and x fields. I want to display the data in a > > grid. > > > > > >However i cannot find anything regarding a grid > in > > >Access. Come to think of it, I cannot remember > that > > >I've ever used a grid. > > > > > >Any ideas? > > > > > >Thnx > > > > > >SD > > > > > > >__________________________________________________ > > >Do You Yahoo!? > > >Tired of spam? Yahoo! Mail has the best spam > > protection around > > >http://mail.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 > > > > > > > ____________________________________________________ > Start your day with Yahoo! - make it your home page > http://www.yahoo.com/r/hs > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/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! Mail - Find what you need with new enhanced search. http://info.mail.yahoo.com/mail_250 From dwaters at usinternet.com Mon Aug 1 09:15:51 2005 From: dwaters at usinternet.com (Dan Waters) Date: Mon, 1 Aug 2005 09:15:51 -0500 Subject: [AccessD] Enforcing Database Properties in Code Message-ID: <000001c596a3$898a1210$0300a8c0@danwaters> Hello to everyone! I've set up code that will detect and change database properties as the database is opened. For startup properties, you need to shut down the database and restart before they take effect - i.e., "AllowSpecialKeys". So, the code will change the property and immediately shut down the database. This happens during the startup routines so the user has to restart to get in. Each time this happens the event is stored in a log which is sent to me daily. However, I had believed that the database properties would have been stored within the application on the PC. But, with the event log I get it appears that the properties must be stored either in the BE or the workgroup file, because even though the properties have been set once on someone's PC, they may get set again a few days later. The users don't know how to change the properties manually, and the toolbar to do that is hidden anyway. And, almost all of the users don't use access for anything else. The database is in AXP, split FE/BE, and secured with a separate workgroup file. Also, the administrator needs to go manage the startup properties from time to time. My question is - How can I enforce startup properties? Thanks! Dan Waters From jmhecht at earthlink.net Mon Aug 1 09:18:56 2005 From: jmhecht at earthlink.net (Joe Hecht) Date: Mon, 1 Aug 2005 07:18:56 -0700 Subject: [AccessD] test In-Reply-To: <002501c59698$6d45e620$0501a8c0@ColbyM6805> Message-ID: <002101c596a3$f4c08320$6401a8c0@laptop1> As almost always PASS Joe Hecht Los Angeles CA -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of John W. Colby Sent: Monday, August 01, 2005 5:56 AM To: access at joe2.endjunk.com; 'Access Developers discussion and problem solving' Subject: [AccessD] test John W. Colby www.ColbyConsulting.com Contribute your unused CPU cycles to a good cause: http://folding.stanford.edu/ -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From John.Clark at niagaracounty.com Mon Aug 1 09:36:33 2005 From: John.Clark at niagaracounty.com (John Clark) Date: Mon, 01 Aug 2005 10:36:33 -0400 Subject: [AccessD] variable as object Message-ID: I am playing around with a new menu interface, and I am trying to streamline it a bit, so that it may be reused for different menus with different quantities of buttons. For instance my main menu has only three buttons, while the reports menu has nine. Basically, I have invisible buttons over labels, and I set the focus on a MouseMove and, when the focus is set, I change the BackColor and ForeColor of the label to emphasize the current button. I am trying to use the function below to set all buttons to their default state, and then set the current button to the "special" color scheme. However, I am getting the error message, "Object Required" and it refers to both the with statements. If I comment out these two statements and add in a "Label38.caption = lblst" the caption of this test label does change properly as I move the mouse over the buttons. Can I please get a fresh set of eyes to point out my failing on this? ________________________________________________________________________________________________- Public Function BtnChange(BtnNum As String, BtnQuan As Integer) '***** I call this function from each of the OnFocus events of the command buttons, using the syntax "BtnChange 1, 9" '***** 1 is the actual button number and thus changes for each button...they are named lbl01 to lbl09. '***** 9 is the total num of buttons and does not change. Dim x As Integer Dim y As String Dim lblst As Variant '*** I did have this set to string, but have changed in an effort to fix the problem *** x = 1 While x < BtnQuan y = CStr(x) lblst = "lbl0" & y With lblst .BackColor = 10066329 .ForeColor = 0 End With x = x + 1 Wend lblst = "lbl0" & BtnNum Label38.Caption = lblst '*** this is just a test statement I put in to verify up to a point. With lblst .BackColor = 6381921 .ForeColor = 6670333 End With End Function _______________________________________________________________________ Thank you! John W Clark From DWUTKA at marlow.com Mon Aug 1 10:09:11 2005 From: DWUTKA at marlow.com (DWUTKA at marlow.com) Date: Mon, 1 Aug 2005 10:09:11 -0500 Subject: [AccessD] OT: Error 550 Message-ID: <123701F54509D9119A4F00D0B747349016DB83@main2.marlow.com> Ok. Didn't catch that the first time. Is mail.colbyconsulting.com 'local'? I mean, is it residing where you are at, or is it the mail server of your hosting company? Drew -----Original Message----- From: John W. Colby [mailto:jwcolby at colbyconsulting.com] Sent: Sunday, July 31, 2005 12:31 AM To: 'Access Developers discussion and problem solving' Subject: RE: [AccessD] OT: Error 550 Yea, but it is more than that. If I just send a test message to myself, it just goes. A few minutes later it comes back in just fine. If I send to one of these other places, it INSTANTLY gets this 550 error in my inbox. If I then change from using mail.colbyconsulting.com as the smtp server address to the "local" smtp address (RR address) it goes out just fine. So it is not a case of "we don't like this destination". It is just forcing me to send through their mail server, but NOT when sending to my own mail server. Truly odd don't you think? John W. Colby www.ColbyConsulting.com Contribute your unused CPU cycles to a good cause: http://folding.stanford.edu/ -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of DWUTKA at marlow.com Sent: Sunday, July 31, 2005 12:51 AM To: accessd at databaseadvisors.com Subject: RE: [AccessD] OT: Error 550 It depends on how they have THEIR mail server setup. With the onslaught of spam, a lot of mail servers get down right finicky on what it will let through. I know my personal domain is/was blocked on several mail servers because the IP's in my domain were listed as dynamic, instead of static, which they WERE static. If the domain of the email you are sending 'from' doesn't match the IP's sending the mail, that's another big 'block'. Then there are several 'black lists' on the web, which store domains considered to be spam. Honestly, it's an issue that is a sore point for me (both spam, and the methods used to block). Drew -----Original Message----- From: John W. Colby [mailto:jwcolby at colbyconsulting.com] Sent: Saturday, July 30, 2005 11:43 PM To: 'Access Developers discussion and problem solving'; Tech - Database Advisors Inc. Subject: [AccessD] OT: Error 550 Does anyone understand what is going on with email sent from inside of specific networks. Here's the situation... I get the following error (as an example): Your message did not reach some or all of the intended recipients. Subject: RE: Logging in to George Sent: 7/29/2005 1:00 PM The following recipient(s) could not be reached: 'Jason Ralph' on 7/29/2005 1:00 PM 550 not local host invohealthcare.com, not a gateway >From my sister-in-law's house when I try to send to this specific >address, using SMPT server mail.colbyconsulting.com. If I send mail to myself I do not get this problem (to jwcolby at colbyconsulting.com). I have seen this exact same symptom if sending from my client. It never happened before from my sister-in-law's but is now. It turns out that if I look at her email smtp server (mail.rochester.rr.com), and modify my smtp server to match it works. It appears that this is the classic port 25 blocking thing. It is a royal PITA to have to find out what the correct smtp server is, modify Outlook, and send to that whenever I move from place to place. At my previous host for MY WEB SITE, they had me set up to send on a different port (26 maybe?) and then it worked regardless of where I was since only port 25 was being blocked and my web email server (mail.colbyconsulting.com) was expecting traffic on a different port. The odd part here is that I can send to myself (always), i.e. jwcolby at colbyconsulting.com. That must go on port 25 as well, so why does that go just fine, but not the other message? John W. Colby www.ColbyConsulting.com Contribute your unused CPU cycles to a good cause: http://folding.stanford.edu/ -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd 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 hudsonhealthplan.org Mon Aug 1 10:28:41 2005 From: Jdemarco at hudsonhealthplan.org (Jim DeMarco) Date: Mon, 1 Aug 2005 11:28:41 -0400 Subject: [AccessD] variable as object Message-ID: <08F823FD83787D4BA0B99CA580AD3C74016C3BFC@TTNEXCHCL2.hshhp.com> It looks like you're referring to your control via a string not a control object. Try something like: Me.Controls(lblst).BackColor HTH Jim DeMarco -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of John Clark Sent: Monday, August 01, 2005 10:37 AM To: accessd at databaseadvisors.com Subject: [AccessD] variable as object I am playing around with a new menu interface, and I am trying to streamline it a bit, so that it may be reused for different menus with different quantities of buttons. For instance my main menu has only three buttons, while the reports menu has nine. Basically, I have invisible buttons over labels, and I set the focus on a MouseMove and, when the focus is set, I change the BackColor and ForeColor of the label to emphasize the current button. I am trying to use the function below to set all buttons to their default state, and then set the current button to the "special" color scheme. However, I am getting the error message, "Object Required" and it refers to both the with statements. If I comment out these two statements and add in a "Label38.caption = lblst" the caption of this test label does change properly as I move the mouse over the buttons. Can I please get a fresh set of eyes to point out my failing on this? ________________________________________________________________________________________________- Public Function BtnChange(BtnNum As String, BtnQuan As Integer) '***** I call this function from each of the OnFocus events of the command buttons, using the syntax "BtnChange 1, 9" '***** 1 is the actual button number and thus changes for each button...they are named lbl01 to lbl09. '***** 9 is the total num of buttons and does not change. Dim x As Integer Dim y As String Dim lblst As Variant '*** I did have this set to string, but have changed in an effort to fix the problem *** x = 1 While x < BtnQuan y = CStr(x) lblst = "lbl0" & y With lblst .BackColor = 10066329 .ForeColor = 0 End With x = x + 1 Wend lblst = "lbl0" & BtnNum Label38.Caption = lblst '*** this is just a test statement I put in to verify up to a point. With lblst .BackColor = 6381921 .ForeColor = 6670333 End With End Function _______________________________________________________________________ Thank you! John W Clark -- 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 Mon Aug 1 11:08:15 2005 From: John.Clark at niagaracounty.com (John Clark) Date: Mon, 01 Aug 2005 12:08:15 -0400 Subject: [AccessD] variable as object Message-ID: Thanks Jim. This seems to be it. I'm going to have to learn about the control object a little more. I have run into similar problems other times and just "went around" the problem, and I think this would have helped me then too. Take care! John W Clark >>> Jdemarco at hudsonhealthplan.org 8/1/2005 11:28 AM >>> It looks like you're referring to your control via a string not a control object. Try something like: Me.Controls(lblst).BackColor HTH Jim DeMarco -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of John Clark Sent: Monday, August 01, 2005 10:37 AM To: accessd at databaseadvisors.com Subject: [AccessD] variable as object I am playing around with a new menu interface, and I am trying to streamline it a bit, so that it may be reused for different menus with different quantities of buttons. For instance my main menu has only three buttons, while the reports menu has nine. Basically, I have invisible buttons over labels, and I set the focus on a MouseMove and, when the focus is set, I change the BackColor and ForeColor of the label to emphasize the current button. I am trying to use the function below to set all buttons to their default state, and then set the current button to the "special" color scheme. However, I am getting the error message, "Object Required" and it refers to both the with statements. If I comment out these two statements and add in a "Label38.caption = lblst" the caption of this test label does change properly as I move the mouse over the buttons. Can I please get a fresh set of eyes to point out my failing on this? ________________________________________________________________________________________________- Public Function BtnChange(BtnNum As String, BtnQuan As Integer) '***** I call this function from each of the OnFocus events of the command buttons, using the syntax "BtnChange 1, 9" '***** 1 is the actual button number and thus changes for each button...they are named lbl01 to lbl09. '***** 9 is the total num of buttons and does not change. Dim x As Integer Dim y As String Dim lblst As Variant '*** I did have this set to string, but have changed in an effort to fix the problem *** x = 1 While x < BtnQuan y = CStr(x) lblst = "lbl0" & y With lblst .BackColor = 10066329 .ForeColor = 0 End With x = x + 1 Wend lblst = "lbl0" & BtnNum Label38.Caption = lblst '*** this is just a test statement I put in to verify up to a point. With lblst .BackColor = 6381921 .ForeColor = 6670333 End With End Function _______________________________________________________________________ Thank you! John W Clark -- 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 cfoust at infostatsystems.com Mon Aug 1 11:15:20 2005 From: cfoust at infostatsystems.com (Charlotte Foust) Date: Mon, 1 Aug 2005 09:15:20 -0700 Subject: [AccessD] mde....mdb format Message-ID: What click event on which object? There are certainly things you can't do in an mde/ade because of the nature of the container, so what exactly is the event trying to do? Charlotte Foust -----Original Message----- From: John Eget [mailto:joeget at vgernet.net] Sent: Sunday, July 31, 2005 5:02 PM To: AccessD at databaseadvisors.com Subject: [AccessD] mde....mdb format I have correctly complied and ran a mdb database with no errors, yet when i convert to mde i get the error pop that the command on a click event is not available in a mde/ade format. has anyone came across this before, what happens when i create a mde? Thanks for looking John -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From Gustav at cactus.dk Mon Aug 1 11:23:05 2005 From: Gustav at cactus.dk (Gustav Brock) Date: Mon, 01 Aug 2005 18:23:05 +0200 Subject: [AccessD] variable as object Message-ID: Hi John Also study the WithEvents Demo at Mr. Colby's site: http://www.colbyconsulting.com/ Applying WithEvents will bring your form to a new level. /gustav -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of John Clark Sent: Monday, August 01, 2005 10:37 AM To: accessd at databaseadvisors.com Subject: [AccessD] variable as object I am playing around with a new menu interface, and I am trying to streamline it a bit, so that it may be reused for different menus with different quantities of buttons. For instance my main menu has only three buttons, while the reports menu has nine. Basically, I have invisible buttons over labels, and I set the focus on a MouseMove and, when the focus is set, I change the BackColor and ForeColor of the label to emphasize the current button. .. From Jdemarco at hudsonhealthplan.org Mon Aug 1 12:05:58 2005 From: Jdemarco at hudsonhealthplan.org (Jim DeMarco) Date: Mon, 1 Aug 2005 13:05:58 -0400 Subject: [AccessD] variable as object Message-ID: <08F823FD83787D4BA0B99CA580AD3C74016C3C00@TTNEXCHCL2.hshhp.com> I should have mentioned that if you want to assign the label to a variable (which your original code attempted to do) you can do it like this: Dim lblCurrent as Access.Label Dim x As Integer x = 1 While x < BtnQuan Set lblCurrent = Me.Controls("lbl10" & CStr(x)) With lblCurrent .BackColor = 10066329 .ForeColor = 0 End With x = x + 1 Wend Jim D. -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of John Clark Sent: Monday, August 01, 2005 12:08 PM To: accessd at databaseadvisors.com Subject: RE: [AccessD] variable as object Thanks Jim. This seems to be it. I'm going to have to learn about the control object a little more. I have run into similar problems other times and just "went around" the problem, and I think this would have helped me then too. Take care! John W Clark >>> Jdemarco at hudsonhealthplan.org 8/1/2005 11:28 AM >>> It looks like you're referring to your control via a string not a control object. Try something like: Me.Controls(lblst).BackColor HTH Jim DeMarco -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of John Clark Sent: Monday, August 01, 2005 10:37 AM To: accessd at databaseadvisors.com Subject: [AccessD] variable as object I am playing around with a new menu interface, and I am trying to streamline it a bit, so that it may be reused for different menus with different quantities of buttons. For instance my main menu has only three buttons, while the reports menu has nine. Basically, I have invisible buttons over labels, and I set the focus on a MouseMove and, when the focus is set, I change the BackColor and ForeColor of the label to emphasize the current button. I am trying to use the function below to set all buttons to their default state, and then set the current button to the "special" color scheme. However, I am getting the error message, "Object Required" and it refers to both the with statements. If I comment out these two statements and add in a "Label38.caption = lblst" the caption of this test label does change properly as I move the mouse over the buttons. Can I please get a fresh set of eyes to point out my failing on this? ________________________________________________________________________________________________- Public Function BtnChange(BtnNum As String, BtnQuan As Integer) '***** I call this function from each of the OnFocus events of the command buttons, using the syntax "BtnChange 1, 9" '***** 1 is the actual button number and thus changes for each button...they are named lbl01 to lbl09. '***** 9 is the total num of buttons and does not change. Dim x As Integer Dim y As String Dim lblst As Variant '*** I did have this set to string, but have changed in an effort to fix the problem *** x = 1 While x < BtnQuan y = CStr(x) lblst = "lbl0" & y With lblst .BackColor = 10066329 .ForeColor = 0 End With x = x + 1 Wend lblst = "lbl0" & BtnNum Label38.Caption = lblst '*** this is just a test statement I put in to verify up to a point. With lblst .BackColor = 6381921 .ForeColor = 6670333 End With End Function _______________________________________________________________________ Thank you! John W Clark -- 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 John.Clark at niagaracounty.com Mon Aug 1 12:58:54 2005 From: John.Clark at niagaracounty.com (John Clark) Date: Mon, 01 Aug 2005 13:58:54 -0400 Subject: [AccessD] variable as object Message-ID: Yeah, thanks. I did figure this out, but it was your original answer which pointed me to it. >>> Jdemarco at hudsonhealthplan.org 8/1/2005 1:05 PM >>> I should have mentioned that if you want to assign the label to a variable (which your original code attempted to do) you can do it like this: Dim lblCurrent as Access.Label Dim x As Integer x = 1 While x < BtnQuan Set lblCurrent = Me.Controls("lbl10" & CStr(x)) With lblCurrent .BackColor = 10066329 .ForeColor = 0 End With x = x + 1 Wend Jim D. -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of John Clark Sent: Monday, August 01, 2005 12:08 PM To: accessd at databaseadvisors.com Subject: RE: [AccessD] variable as object Thanks Jim. This seems to be it. I'm going to have to learn about the control object a little more. I have run into similar problems other times and just "went around" the problem, and I think this would have helped me then too. Take care! John W Clark >>> Jdemarco at hudsonhealthplan.org 8/1/2005 11:28 AM >>> It looks like you're referring to your control via a string not a control object. Try something like: Me.Controls(lblst).BackColor HTH Jim DeMarco -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of John Clark Sent: Monday, August 01, 2005 10:37 AM To: accessd at databaseadvisors.com Subject: [AccessD] variable as object I am playing around with a new menu interface, and I am trying to streamline it a bit, so that it may be reused for different menus with different quantities of buttons. For instance my main menu has only three buttons, while the reports menu has nine. Basically, I have invisible buttons over labels, and I set the focus on a MouseMove and, when the focus is set, I change the BackColor and ForeColor of the label to emphasize the current button. I am trying to use the function below to set all buttons to their default state, and then set the current button to the "special" color scheme. However, I am getting the error message, "Object Required" and it refers to both the with statements. If I comment out these two statements and add in a "Label38.caption = lblst" the caption of this test label does change properly as I move the mouse over the buttons. Can I please get a fresh set of eyes to point out my failing on this? ________________________________________________________________________________________________- Public Function BtnChange(BtnNum As String, BtnQuan As Integer) '***** I call this function from each of the OnFocus events of the command buttons, using the syntax "BtnChange 1, 9" '***** 1 is the actual button number and thus changes for each button...they are named lbl01 to lbl09. '***** 9 is the total num of buttons and does not change. Dim x As Integer Dim y As String Dim lblst As Variant '*** I did have this set to string, but have changed in an effort to fix the problem *** x = 1 While x < BtnQuan y = CStr(x) lblst = "lbl0" & y With lblst .BackColor = 10066329 .ForeColor = 0 End With x = x + 1 Wend lblst = "lbl0" & BtnNum Label38.Caption = lblst '*** this is just a test statement I put in to verify up to a point. With lblst .BackColor = 6381921 .ForeColor = 6670333 End With End Function _______________________________________________________________________ Thank you! John W Clark -- 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 martyconnelly at shaw.ca Mon Aug 1 14:09:35 2005 From: martyconnelly at shaw.ca (MartyConnelly) Date: Mon, 01 Aug 2005 12:09:35 -0700 Subject: [AccessD] OT: Error 550 References: <123701F54509D9119A4F00D0B747349016DB83@main2.marlow.com> Message-ID: <42EE736F.8000106@shaw.ca> If you are running code as below, it will only run inside the domain of the ISP unless you can find an open email server that will allow redirects. ie. your cable modem is consider inside the domain of the ISP. Also the SMTP running on your machine may do a quick redirect local to your machine when checking the output email queue to transmit. Maybe just in case you bcc: yourself. Here is another email method. I am not sure of all of the ramifications of this method. One being your ISP may block. Any comments? 'The example code is using CDOSYS (CDO for Windows 2000 or XP). 'I dont think I would want to go back to CDONTS for earlier systems 'It does not depend on MAPI or CDO or Outlook 'It does not use your mailbox to send email. ' So you can send mail without a mail program or mail account ' This code builds the message and drops it into a pickup directory, ' and the SMTP service running on the machine ' picks it up and send it out to the internet. 'So why use CDO code instead of Outlook automation or Application.SendMail in VBA. ' It doesn't matter what Mail program you are using (It uses the SMTP server). ' It doesn't matter what Office version you are using. ' supposedly you can send an object or file in the body of the mail (some mail programs can't do this) ' haven't verified this ' You can send any file attachment you like. ' No Outlook Security warning so no need for Redemption ' You probably wont have your mail server full expanded smtp address 'If you go into netscape mail or outlook and look for the smtp name 'It will look like mine, "shawmail" or "shawnews" this dns resolves 'to "shawmail.cg.shawcable.net" CDO doesn't resolve this short name so 'The quickest way to get this actual address without using registry et al. 'is run cmd and ping "shawmail" to return full qualified smtp address. 'This code wont run exactly unless you are on cable and signed on in the Shaw or whatever is your domain, your cable modem is a node in their domain Sub SendCDO() ' This example use late binding of CDOSys, you don't have to set a reference ' You must be online to net when you run the sub ' You must be running WinXP or Win2000 Dim cdoMessage As Object Dim objCDOMail As Object Dim strschema As String On Error GoTo ErrorHandler ' Enable error-handling routine. ' Set cdoMessage = CreateObject("CDO.Message") Set objCDOMail = CreateObject("CDO.Configuration") strschema = "http://schemas.microsoft.com/cdo/configuration/" objCDOMail.Load -1 ' CDO Source Default 'If you have illegal or wrong smtp address here it will run for 30- 60 seconds and finally give transport error With objCDOMail.Fields .Item(strschema & "sendusing") = 2 ' cdoSendUsingPort .Item(strschema & "smtpserver") = "shawmail.cg.shawcable.net" ' "Your SMTP server address here" .Item(strschema & "smtpserverport") = 25 'specify port number .Update End With With cdoMessage Set .Configuration = objCDOMail .to = "macon at g..." .From = "Winnie The Pooh " .CC = "" .BCC = "" .Subject = "This is another test from marty" .TextBody = "This is the text in the body just cdo defaults" .AddAttachment "C:\temp2\rptSampleCount.rtf" .AddAttachment "C:\temp2\frontimage.jpeg" .send End With Set cdoMessage = Nothing Set objCDOMail = Nothing Exit Sub ' Exit to avoid handler. ErrorHandler: ' Error-handling routine. Debug.Print Err.Number & "-" & Err.Description Set cdoMessage = Nothing Set objCDOMail = Nothing Exit Sub End Sub DWUTKA at marlow.com wrote: >Ok. Didn't catch that the first time. Is mail.colbyconsulting.com 'local'? >I mean, is it residing where you are at, or is it the mail server of your >hosting company? > >Drew > >-----Original Message----- >From: John W. Colby [mailto:jwcolby at colbyconsulting.com] >Sent: Sunday, July 31, 2005 12:31 AM >To: 'Access Developers discussion and problem solving' >Subject: RE: [AccessD] OT: Error 550 > > >Yea, but it is more than that. If I just send a test message to myself, it >just goes. A few minutes later it comes back in just fine. If I send to >one of these other places, it INSTANTLY gets this 550 error in my inbox. If >I then change from using mail.colbyconsulting.com as the smtp server address >to the "local" smtp address (RR address) it goes out just fine. So it is >not a case of "we don't like this destination". It is just forcing me to >send through their mail server, but NOT when sending to my own mail server. >Truly odd don't you think? > >John W. Colby >www.ColbyConsulting.com > >Contribute your unused CPU cycles to a good cause: >http://folding.stanford.edu/ > >-----Original Message----- >From: accessd-bounces at databaseadvisors.com >[mailto:accessd-bounces at databaseadvisors.com] On Behalf Of DWUTKA at marlow.com >Sent: Sunday, July 31, 2005 12:51 AM >To: accessd at databaseadvisors.com >Subject: RE: [AccessD] OT: Error 550 > > >It depends on how they have THEIR mail server setup. With the onslaught of >spam, a lot of mail servers get down right finicky on what it will let >through. I know my personal domain is/was blocked on several mail servers >because the IP's in my domain were listed as dynamic, instead of static, >which they WERE static. If the domain of the email you are sending 'from' >doesn't match the IP's sending the mail, that's another big 'block'. Then >there are several 'black lists' on the web, which store domains considered >to be spam. > >Honestly, it's an issue that is a sore point for me (both spam, and the >methods used to block). > >Drew > >-----Original Message----- >From: John W. Colby [mailto:jwcolby at colbyconsulting.com] >Sent: Saturday, July 30, 2005 11:43 PM >To: 'Access Developers discussion and problem solving'; Tech - Database >Advisors Inc. >Subject: [AccessD] OT: Error 550 > > >Does anyone understand what is going on with email sent from inside of >specific networks. Here's the situation... > >I get the following error (as an example): > >Your message did not reach some or all of the intended recipients. > > Subject: RE: Logging in to George > Sent: 7/29/2005 1:00 PM > >The following recipient(s) could not be reached: > > 'Jason Ralph' on 7/29/2005 1:00 PM > 550 not local host invohealthcare.com, not a gateway > >>From my sister-in-law's house when I try to send to this specific > > >>address, >> >> >using SMPT server mail.colbyconsulting.com. If I send mail to myself I do >not get this problem (to jwcolby at colbyconsulting.com). I have seen this >exact same symptom if sending from my client. It never happened before from >my sister-in-law's but is now. > >It turns out that if I look at her email smtp server >(mail.rochester.rr.com), and modify my smtp server to match it works. It >appears that this is the classic port 25 blocking thing. It is a royal PITA >to have to find out what the correct smtp server is, modify Outlook, and >send to that whenever I move from place to place. > >At my previous host for MY WEB SITE, they had me set up to send on a >different port (26 maybe?) and then it worked regardless of where I was >since only port 25 was being blocked and my web email server >(mail.colbyconsulting.com) was expecting traffic on a different port. > >The odd part here is that I can send to myself (always), i.e. >jwcolby at colbyconsulting.com. That must go on port 25 as well, so why does >that go just fine, but not the other message? > >John W. Colby >www.ColbyConsulting.com > >Contribute your unused CPU cycles to a good cause: >http://folding.stanford.edu/ > > > > -- Marty Connelly Victoria, B.C. Canada From joeget at vgernet.net Mon Aug 1 15:07:39 2005 From: joeget at vgernet.net (John Eget) Date: Mon, 1 Aug 2005 16:07:39 -0400 Subject: [AccessD] Fw: ICE - In Case of Emergency Message-ID: <00a401c596d5$3a3a8000$efc2f63f@Desktop> I put an underscore in front of my _ICE and also have _ICE1, _ICE2, and _IC#3 Subject: ICE - In Case of Emergency http://abclocal.go.com/wabc/news/wabc_072605_icecellphone.html Just wanted to share some good info if it's ever needed. Mark From Susan.Klos at fldoe.org Mon Aug 1 15:16:21 2005 From: Susan.Klos at fldoe.org (Klos, Susan) Date: Mon, 1 Aug 2005 16:16:21 -0400 Subject: [AccessD] Find a record on a form Message-ID: This is more complicated that just finding a record. Let me explain my situation. I have three tables which are linked from Excel. Someone else periodically updates these tables. I don't always know when they are being updated. I am trying to create a phone log form that uses a tab control to show records from tblpeople on tab 1 and related calls on tab 2. tblpeople is populated from the three Excel tables as well as from my input when I get a call from someone who is not in the tables. My quandary is how to set a primary key to link the people with their calls. Then I want to be able to find these people on the form. I don't know whether to find by whole name, first name or last name in the combo box. Am I going to have to go to cascading combo boxes? Adding a new record goes back to what do I use for a primary key. Further complicating the issue is that many folks have more than one phone number in the table and I want to put these in a separate phone table and more than one responsibility which I want to put in a responsibility table. I know this is terribly complicated, but if anyone can give me an idea how to set this up, I would be very appreciative. Susan Klos Senior Database Analyst Evaluation and Reporting Florida Department of Education 850-245-0708 sc 205-0708 From dmcafee at pacbell.net Mon Aug 1 15:36:38 2005 From: dmcafee at pacbell.net (dmcafee at pacbell.net) Date: Mon, 1 Aug 2005 13:36:38 -0700 Subject: [AccessD] Fw: ICE - In Case of Emergency In-Reply-To: <00a401c596d5$3a3a8000$efc2f63f@Desktop> Message-ID: My sister in law just sent me this last week too. What's funny is I've always added "Home" to my address book not only for that reason but if an honest person ever found my lost cell phone. oh, and try to carry ID at all times ;) D -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of John Eget Sent: Monday, August 01, 2005 1:08 PM To: AccessD at databaseadvisors.com Subject: [AccessD] Fw: ICE - In Case of Emergency I put an underscore in front of my _ICE and also have _ICE1, _ICE2, and _IC#3 Subject: ICE - In Case of Emergency http://abclocal.go.com/wabc/news/wabc_072605_icecellphone.html Just wanted to share some good info if it's ever needed. Mark -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From jwcolby at colbyconsulting.com Mon Aug 1 17:12:52 2005 From: jwcolby at colbyconsulting.com (John W. Colby) Date: Mon, 01 Aug 2005 18:12:52 -0400 Subject: [AccessD] OT: Error 550 In-Reply-To: <123701F54509D9119A4F00D0B747349016DB83@main2.marlow.com> Message-ID: <001001c596e6$3a18de80$6c7aa8c0@ColbyM6805> Mail.colbyconsulting.com is on the server of my hosting company. John W. Colby www.ColbyConsulting.com Contribute your unused CPU cycles to a good cause: http://folding.stanford.edu/ -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of DWUTKA at marlow.com Sent: Monday, August 01, 2005 11:09 AM To: accessd at databaseadvisors.com Subject: RE: [AccessD] OT: Error 550 Ok. Didn't catch that the first time. Is mail.colbyconsulting.com 'local'? I mean, is it residing where you are at, or is it the mail server of your hosting company? Drew -----Original Message----- From: John W. Colby [mailto:jwcolby at colbyconsulting.com] Sent: Sunday, July 31, 2005 12:31 AM To: 'Access Developers discussion and problem solving' Subject: RE: [AccessD] OT: Error 550 Yea, but it is more than that. If I just send a test message to myself, it just goes. A few minutes later it comes back in just fine. If I send to one of these other places, it INSTANTLY gets this 550 error in my inbox. If I then change from using mail.colbyconsulting.com as the smtp server address to the "local" smtp address (RR address) it goes out just fine. So it is not a case of "we don't like this destination". It is just forcing me to send through their mail server, but NOT when sending to my own mail server. Truly odd don't you think? John W. Colby www.ColbyConsulting.com Contribute your unused CPU cycles to a good cause: http://folding.stanford.edu/ -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of DWUTKA at marlow.com Sent: Sunday, July 31, 2005 12:51 AM To: accessd at databaseadvisors.com Subject: RE: [AccessD] OT: Error 550 It depends on how they have THEIR mail server setup. With the onslaught of spam, a lot of mail servers get down right finicky on what it will let through. I know my personal domain is/was blocked on several mail servers because the IP's in my domain were listed as dynamic, instead of static, which they WERE static. If the domain of the email you are sending 'from' doesn't match the IP's sending the mail, that's another big 'block'. Then there are several 'black lists' on the web, which store domains considered to be spam. Honestly, it's an issue that is a sore point for me (both spam, and the methods used to block). Drew -----Original Message----- From: John W. Colby [mailto:jwcolby at colbyconsulting.com] Sent: Saturday, July 30, 2005 11:43 PM To: 'Access Developers discussion and problem solving'; Tech - Database Advisors Inc. Subject: [AccessD] OT: Error 550 Does anyone understand what is going on with email sent from inside of specific networks. Here's the situation... I get the following error (as an example): Your message did not reach some or all of the intended recipients. Subject: RE: Logging in to George Sent: 7/29/2005 1:00 PM The following recipient(s) could not be reached: 'Jason Ralph' on 7/29/2005 1:00 PM 550 not local host invohealthcare.com, not a gateway >From my sister-in-law's house when I try to send to this specific >address, using SMPT server mail.colbyconsulting.com. If I send mail to myself I do not get this problem (to jwcolby at colbyconsulting.com). I have seen this exact same symptom if sending from my client. It never happened before from my sister-in-law's but is now. It turns out that if I look at her email smtp server (mail.rochester.rr.com), and modify my smtp server to match it works. It appears that this is the classic port 25 blocking thing. It is a royal PITA to have to find out what the correct smtp server is, modify Outlook, and send to that whenever I move from place to place. At my previous host for MY WEB SITE, they had me set up to send on a different port (26 maybe?) and then it worked regardless of where I was since only port 25 was being blocked and my web email server (mail.colbyconsulting.com) was expecting traffic on a different port. The odd part here is that I can send to myself (always), i.e. jwcolby at colbyconsulting.com. That must go on port 25 as well, so why does that go just fine, but not the other message? John W. Colby www.ColbyConsulting.com Contribute your unused CPU cycles to a good cause: http://folding.stanford.edu/ -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From kimjwiggins at yahoo.com Mon Aug 1 17:17:43 2005 From: kimjwiggins at yahoo.com (Kim Wiggins) Date: Mon, 1 Aug 2005 15:17:43 -0700 (PDT) Subject: [AccessD] Problems with word Automation Message-ID: <20050801221743.27831.qmail@web53609.mail.yahoo.com> Hey everyone Hope all is well. I am not. I coded an automation report in VB6 using Word and it works fine on my work laptop and my laptop at home. But when I install it on the users computer, it gives me the standard application error and shuts down. It says "My_app_name has encountered an error and must close" and then it offers to send a report. Well that is flooring me because it runs in the development environment on both machines just fine. Can anyone think of anything that I am missing or overlooking? Thanks Kim --------------------------------- Start your day with Yahoo! - make it your home page From KP at sdsonline.net Mon Aug 1 20:04:56 2005 From: KP at sdsonline.net (Kath Pelletti) Date: Tue, 2 Aug 2005 11:04:56 +1000 Subject: [AccessD] Runtime Vs Full Access Install Message-ID: <003501c596fe$335141b0$6601a8c0@user> William - maybe I have misunderstood. I thought that by including all dll's (or other files referred to in the vba references) in the runtime install package, that it could then be standalone. By that I mean that it would run regardless of whether the user had (any version of Access) or not, as it is a packaged entity. Have I got that wrong? (And I am assuming using Sage / Wise) Kath ----- Original Message ----- From: William Hindman To: Access Developers discussion and problem solving Sent: Thursday, July 28, 2005 3:26 PM Subject: Re: [AccessD] Runtime Vs Full Access Install ..hhhmmm ...either I'm misreading you or there is a fundamental misunderstanding somewhere in here ...a runtime mdb/mde is exactly the same as a full install mdb/mde ...the difference is that Access itself is not fully installed in a runtime ...the design/coding elements are not there so a user can't change anything ...it runs exactly as you designed it to run. ..if you have an A97 mdb and an A2k runtime it should still run as long as the references are there ...but the reverse is not true ...so I use startup code to check the installed version and call the corresponding fe mdb/mde. ..if you invest in the wise install tools, they handle those issues much better than the native Access distribution tools do and the default is to let them do all the work for you. William From ldoering at symphonyinfo.com Mon Aug 1 22:44:17 2005 From: ldoering at symphonyinfo.com (Liz Doering) Date: Mon, 1 Aug 2005 22:44:17 -0500 Subject: [AccessD] Fw: ICE - In Case of Emergency Message-ID: <855499653F55AD4190B242717DF132BC083019@dewey.Symphony.local> This is probably OT, but my husband the paramedic was doubtful that ICE would be helpful. IF your phone makes it all the way to the emergency room with you and IF you are otherwise unidentified, then ER people might find it helpful. But paramedics are more concerned with you and your injuries than with who you want notified. -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of dmcafee at pacbell.net Sent: Monday, August 01, 2005 3:46 PM To: Access Developers discussion and problem solving Subject: RE: [AccessD] Fw: ICE - In Case of Emergency My sister in law just sent me this last week too. What's funny is I've always added "Home" to my address book not only for that reason but if an honest person ever found my lost cell phone. oh, and try to carry ID at all times ;) D -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of John Eget Sent: Monday, August 01, 2005 1:08 PM To: AccessD at databaseadvisors.com Subject: [AccessD] Fw: ICE - In Case of Emergency I put an underscore in front of my _ICE and also have _ICE1, _ICE2, and _IC#3 Subject: ICE - In Case of Emergency http://abclocal.go.com/wabc/news/wabc_072605_icecellphone.html Just wanted to share some good info if it's ever needed. Mark -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From dejpolsys at hotmail.com Mon Aug 1 22:53:13 2005 From: dejpolsys at hotmail.com (William Hindman) Date: Mon, 1 Aug 2005 23:53:13 -0400 Subject: [AccessD] Runtime Vs Full Access Install References: <003501c596fe$335141b0$6601a8c0@user> Message-ID: Kath ...afaik the runtime is a "package" at install only ...but if a user subsequently installs full Access ...any version ...all bets are off because your runtime files integrity is dependent upon how the user does the install ..a "default" install will screw your runtime more often than not because it defaults to removing older file versions, even if they are needed by your runtime ...Wise/Sage won't block that type of problem from happening either but when you reinstall your runtime they will handle the concurrent full version issues for you. ..I work with no full Access installs allowed on client systems with the exception of developer dedicated workstations ...and no "office" upgrades either even if they don't include Access, except by me ...the latter because the office vba modules share some common parts with Access vba. ..but I'll be the first to admit that most developers don't have that type of control over their app runtime environments and there may well be other, better ways to deal with it ...I just find that keeping it clean makes my life a lot simpler and my clients with a lot fewer problems. William ----- Original Message ----- From: "Kath Pelletti" To: Sent: Monday, August 01, 2005 9:04 PM Subject: Re: [AccessD] Runtime Vs Full Access Install William - maybe I have misunderstood. I thought that by including all dll's (or other files referred to in the vba references) in the runtime install package, that it could then be standalone. By that I mean that it would run regardless of whether the user had (any version of Access) or not, as it is a packaged entity. Have I got that wrong? (And I am assuming using Sage / Wise) Kath ----- Original Message ----- From: William Hindman To: Access Developers discussion and problem solving Sent: Thursday, July 28, 2005 3:26 PM Subject: Re: [AccessD] Runtime Vs Full Access Install ..hhhmmm ...either I'm misreading you or there is a fundamental misunderstanding somewhere in here ...a runtime mdb/mde is exactly the same as a full install mdb/mde ...the difference is that Access itself is not fully installed in a runtime ...the design/coding elements are not there so a user can't change anything ...it runs exactly as you designed it to run. ..if you have an A97 mdb and an A2k runtime it should still run as long as the references are there ...but the reverse is not true ...so I use startup code to check the installed version and call the corresponding fe mdb/mde. ..if you invest in the wise install tools, they handle those issues much better than the native Access distribution tools do and the default is to let them do all the work for you. William -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From jeff at boyes.net Mon Aug 1 23:33:55 2005 From: jeff at boyes.net (Jeff) Date: Mon, 1 Aug 2005 22:33:55 -0600 Subject: [AccessD] OT: ICE - In Case of Emergency In-Reply-To: <855499653F55AD4190B242717DF132BC083019@dewey.Symphony.local> Message-ID: <200508020433.j724XtR20165@databaseadvisors.com> The ambulance service here said just today they will start training all their employees to specifically look for this...so I guess it is all about where you live...Of course, if _I_ come upon an accident scene, guess what I am going to look for... Better safe than sorry... Jeff -----Original Message----- From: Liz Doering [mailto:ldoering at symphonyinfo.com] Sent: Monday, August 01, 2005 9:44 PM To: Access Developers discussion and problem solving Subject: RE: [AccessD] Fw: ICE - In Case of Emergency This is probably OT, but my husband the paramedic was doubtful that ICE would be helpful. IF your phone makes it all the way to the emergency room with you and IF you are otherwise unidentified, then ER people might find it helpful. But paramedics are more concerned with you and your injuries than with who you want notified. -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of dmcafee at pacbell.net Sent: Monday, August 01, 2005 3:46 PM To: Access Developers discussion and problem solving Subject: RE: [AccessD] Fw: ICE - In Case of Emergency My sister in law just sent me this last week too. What's funny is I've always added "Home" to my address book not only for that reason but if an honest person ever found my lost cell phone. oh, and try to carry ID at all times ;) D -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of John Eget Sent: Monday, August 01, 2005 1:08 PM To: AccessD at databaseadvisors.com Subject: [AccessD] Fw: ICE - In Case of Emergency I put an underscore in front of my _ICE and also have _ICE1, _ICE2, and _IC#3 Subject: ICE - In Case of Emergency http://abclocal.go.com/wabc/news/wabc_072605_icecellphone.html Just wanted to share some good info if it's ever needed. Mark -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From martyconnelly at shaw.ca Tue Aug 2 00:28:50 2005 From: martyconnelly at shaw.ca (MartyConnelly) Date: Mon, 01 Aug 2005 22:28:50 -0700 Subject: [AccessD] Problems with word Automation References: <20050801221743.27831.qmail@web53609.mail.yahoo.com> Message-ID: <42EF0492.7020501@shaw.ca> Are you using early or late binding. Set objWord = CreateObject("Word.Application") or Set objWord = New Word.Application Funny things may happen with early binding if newer versions of word installed and then uninstalled. Kim Wiggins wrote: >Hey everyone >Hope all is well. I am not. I coded an automation report in VB6 using Word and it works fine on my work laptop and my laptop at home. But when I install it on the users computer, it gives me the standard application error and shuts down. It says "My_app_name has encountered an error and must close" and then it offers to send a report. Well that is flooring me because it runs in the development environment on both machines just fine. >Can anyone think of anything that I am missing or overlooking? >Thanks >Kim > > >--------------------------------- > Start your day with Yahoo! - make it your home page > > -- Marty Connelly Victoria, B.C. Canada From accessd666 at yahoo.com Tue Aug 2 01:25:38 2005 From: accessd666 at yahoo.com (Sad Der) Date: Mon, 1 Aug 2005 23:25:38 -0700 (PDT) Subject: [AccessD] PassThrough (Creation/ Modification) Issues Message-ID: <20050802062538.54680.qmail@web31611.mail.mud.yahoo.com> Hi group, I've created a passthrough query. I searched the Microsoft MSDN site and found several nice pieces of code (see below). I modified them a bit for my personal use. I noticed the following: - The 'ModifyQuery' works like a charm. It alters the PTQ like it should and displays the records accordingly. - The 'CreatePassThroughQry'created a PTQ but I do not see it in the database container. Where is it? When I try to use the newly created PTQ as a recordsource it does not display any records. (I want to use the CreatePassThroughQry sub in my multiuser environment!) Does anybody know why the CreatePassThroughQry sub does not work and why it does not show up in the database container? The newly created query does show when I loop the ADOX views!? Url: http://msdn.microsoft.com/library/default.asp?url=/library/en-us/dnacc2k/html/adocreateq.asp Regards, SD ------------------------------------- Public Sub ModifyQuery(strDBPath As String, _ strQryName As String, _ strSQL As String) Dim catDB As ADOX.Catalog Dim cmd As ADODB.Command Set catDB = New ADOX.Catalog ' Open the Catalog object. 'catDB.ActiveConnection = "Provider=Microsoft.Jet.OLEDB.4.0;" & _ "Data Source=" & strDBPath catDB.ActiveConnection = CurrentProject.Connection Set cmd = New ADODB.Command ' Get the query from the Procedures collection. Set cmd = catDB.Procedures(strQryName).Command ' Update the query's SQL statement. cmd.CommandText = strSQL 'Save the updated query. Set catDB.Procedures(strQryName).Command = cmd Set catDB = Nothing End Sub Public Function CreatePassThroughQry(strSQL As String, _ strODBCConnect As String) As String Dim catDB As ADOX.Catalog Dim cmd As ADODB.Command Dim varProp As Variant Dim strQryName As String Dim oGeninf As cGenInf Set oGeninf = New cGenInf Set catDB = New ADOX.Catalog ' Open the Catalog object. catDB.ActiveConnection = CurrentProject.Connection Set cmd = New ADODB.Command ' Define SQL statement for query and set provider-specific ' properties for query type and ODBC connection string. With cmd .ActiveConnection = catDB.ActiveConnection .CommandText = strSQL .Properties("Jet OLEDB:ODBC Pass-Through Statement") = True .Properties("Jet OLEDB:Pass Through Query Connect String") = strODBCConnect End With strQryName = oGeninf.UserName & Format(Now(), "_hhmmss") & "_tmp" ' Name and save query to Procedures collection. catDB.Procedures.Append strQryName, cmd CreatePassThroughQry = strQryName Set catDB = Nothing End Function __________________________________________________ Do You Yahoo!? Tired of spam? Yahoo! Mail has the best spam protection around http://mail.yahoo.com From jwcolby at colbyconsulting.com Tue Aug 2 06:31:20 2005 From: jwcolby at colbyconsulting.com (John W. Colby) Date: Tue, 02 Aug 2005 07:31:20 -0400 Subject: [AccessD] OT: ICE - In Case of Emergency In-Reply-To: <200508020433.j724XtR20165@databaseadvisors.com> Message-ID: <003e01c59755$b4d80f00$6c7aa8c0@ColbyM6805> Plus, ICE information could include your name, allergies, medical conditions etc. It doesn't have to be just phone numbers to call, though it should include that. John W. Colby www.ColbyConsulting.com Contribute your unused CPU cycles to a good cause: http://folding.stanford.edu/ -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Jeff Sent: Tuesday, August 02, 2005 12:34 AM To: 'Access Developers discussion and problem solving' Subject: [AccessD] OT: ICE - In Case of Emergency The ambulance service here said just today they will start training all their employees to specifically look for this...so I guess it is all about where you live...Of course, if _I_ come upon an accident scene, guess what I am going to look for... Better safe than sorry... Jeff -----Original Message----- From: Liz Doering [mailto:ldoering at symphonyinfo.com] Sent: Monday, August 01, 2005 9:44 PM To: Access Developers discussion and problem solving Subject: RE: [AccessD] Fw: ICE - In Case of Emergency This is probably OT, but my husband the paramedic was doubtful that ICE would be helpful. IF your phone makes it all the way to the emergency room with you and IF you are otherwise unidentified, then ER people might find it helpful. But paramedics are more concerned with you and your injuries than with who you want notified. -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of dmcafee at pacbell.net Sent: Monday, August 01, 2005 3:46 PM To: Access Developers discussion and problem solving Subject: RE: [AccessD] Fw: ICE - In Case of Emergency My sister in law just sent me this last week too. What's funny is I've always added "Home" to my address book not only for that reason but if an honest person ever found my lost cell phone. oh, and try to carry ID at all times ;) D -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of John Eget Sent: Monday, August 01, 2005 1:08 PM To: AccessD at databaseadvisors.com Subject: [AccessD] Fw: ICE - In Case of Emergency I put an underscore in front of my _ICE and also have _ICE1, _ICE2, and _IC#3 Subject: ICE - In Case of Emergency http://abclocal.go.com/wabc/news/wabc_072605_icecellphone.html Just wanted to share some good info if it's ever needed. Mark -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From bhorn at pivot-mds.com Tue Aug 2 07:21:59 2005 From: bhorn at pivot-mds.com (Bruce Horn) Date: Tue, 02 Aug 2005 08:21:59 -0400 Subject: [AccessD] PERL to ASP project Message-ID: <6.2.3.4.0.20050802081139.02897490@pop.business.earthlink.net> Hello List - We have a couple of projects that require PERL to ASP expertise for one of our clients. The immediate project is to complete the transition of the client's web presence from UNIX to Windows Server platform. If anyone is interested please contact me off-list for more details. Regards, - Bruce Horn *********************************** Bruce T. Horn CIO/CTO Pivot MDS, Llc. Ph: 401-586-6422 www.pivot-mds.com www.pivotsalestrack.com *********************************** A conclusion is simply the place you got tired of thinking. *********************************** From prodevmg at yahoo.com Tue Aug 2 07:35:00 2005 From: prodevmg at yahoo.com (Lonnie Johnson) Date: Tue, 2 Aug 2005 05:35:00 -0700 (PDT) Subject: [AccessD] Writing to an excel file Message-ID: <20050802123500.12109.qmail@web33104.mail.mud.yahoo.com> I have a recordset that I would like to write as rows in an excel spreadsheet. I want to start on a certain line. The columns are already predefined and match my recordset. This will run each month so it will need to overwrite the prior month's data. What is the best way to go about this? May God bless you beyond your imagination! Lonnie Johnson ProDev, Professional Development of MS Access Databases Visit me at ==> http://www.prodev.us --------------------------------- Start your day with Yahoo! - make it your home page From vrm at tim-cms.com Tue Aug 2 08:58:49 2005 From: vrm at tim-cms.com (| Marcel Vreuls) Date: Tue, 2 Aug 2005 15:58:49 +0200 Subject: [AccessD] Writing to an excel file In-Reply-To: <20050802123500.12109.qmail@web33104.mail.mud.yahoo.com> Message-ID: <005501c5976a$4f2acde0$6c61fea9@GALAXY.local> Lonnie, I use the following function for all export to XL. The sql string you can replace with query, SP or sql string with header information. The objProgress is a progressbar you can replace with your own one. Public Function fncExportNaarExcel(strSQL As String) On Error Resume Next 'ivm het eventueel niet aanwezig zijn van de exporteren query If strSQL = "" Or IsNull(strSQL) Then MsgBox "Er kunnen geen gegevens gevonden worden", vbInformation, OopMsgboxHeader Exit Function Else Dim objProgress As New clsProgress Dim daodatabase As DAO.database Set daodatabase = CurrentDb() objProgress.ShowProgress objProgress.TextMsg = "Collect data..." daodatabase.QueryDefs.Delete ("Exporteren") objProgress.TextMsg = "Exporteren data..." daodatabase.CreateQueryDef "Exporteren", strSQL objProgress.TextMsg = "Start Microsoft Excel..." DoCmd.OutputTo acOutputQuery, "Exporteren", acFormatXLS, "c:\export.xls", True objProgress.HideProgress Set objProgress = Nothing End If Exit Function End function -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Lonnie Johnson Sent: dinsdag 2 augustus 2005 14:35 To: AccessD solving' Subject: [AccessD] Writing to an excel file I have a recordset that I would like to write as rows in an excel spreadsheet. I want to start on a certain line. The columns are already predefined and match my recordset. This will run each month so it will need to overwrite the prior month's data. What is the best way to go about this? May God bless you beyond your imagination! Lonnie Johnson ProDev, Professional Development of MS Access Databases Visit me at ==> http://www.prodev.us --------------------------------- Start your day with Yahoo! - make it your home page -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From vrm at tim-cms.com Tue Aug 2 09:13:25 2005 From: vrm at tim-cms.com (| Marcel Vreuls) Date: Tue, 2 Aug 2005 16:13:25 +0200 Subject: [AccessD] Problems with word Automation In-Reply-To: <20050801221743.27831.qmail@web53609.mail.yahoo.com> Message-ID: <008801c5976c$594b81f0$6c61fea9@GALAXY.local> Kim, I had the same experience once. This was because of early binding problem (direct crash of the app) and a different office version (reason why). I had office 97 on my development envirnment. This all works fine. on the client machine it crashes. Due to the fact that de client had office 2000 or higher. I fixed it with delivering the word 97 OLB with the application because i would not make a seperate version of my app for each office version. Built in proper logging with the debug option. It should give you a lot of information. -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Kim Wiggins Sent: dinsdag 2 augustus 2005 0:18 To: AccessD at databaseadvisors.com Subject: [AccessD] Problems with word Automation Hey everyone Hope all is well. I am not. I coded an automation report in VB6 using Word and it works fine on my work laptop and my laptop at home. But when I install it on the users computer, it gives me the standard application error and shuts down. It says "My_app_name has encountered an error and must close" and then it offers to send a report. Well that is flooring me because it runs in the development environment on both machines just fine. Can anyone think of anything that I am missing or overlooking? Thanks Kim --------------------------------- Start your day with Yahoo! - make it your home page -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From Gustav at cactus.dk Tue Aug 2 09:25:35 2005 From: Gustav at cactus.dk (Gustav Brock) Date: Tue, 02 Aug 2005 16:25:35 +0200 Subject: [AccessD] Writing to an excel file Message-ID: Hi Lonnie If you fill in the same amount of rows it should be quite easy: 1. In the worksheet, create a Named Range covering the rows and columns you write to. 2. Attach (link) that Named Range as a table in Access as, say, xlsMonthData. 3. In Access, use an update query to update the table xlsMonthData. If you write in fewer records (rows) than already filled, it is slightly more complicated as you cannot delete the excessive rows; you'll have to erase the table field by field by a double loop in VBA which nulls out field by field, row by row before you run the update query. Of course, if you prefer, you can use VBA also to update the table avoiding the update query. /gustav >>> prodevmg at yahoo.com 08/02 2:35 pm >>> I have a recordset that I would like to write as rows in an excel spreadsheet. I want to start on a certain line. The columns are already predefined and match my recordset. This will run each month so it will need to overwrite the prior month's data. What is the best way to go about this? From Lambert.Heenan at AIG.com Tue Aug 2 09:33:23 2005 From: Lambert.Heenan at AIG.com (Heenan, Lambert) Date: Tue, 2 Aug 2005 10:33:23 -0400 Subject: [AccessD] Writing to an excel file Message-ID: <1D7828CDB8350747AFE9D69E0E90DA1F13D6DF89@xlivmbx21.aig.com> I think the simplest way for you to handle this is to define a Named Range inside the Excel file which includes the column names and the rows to which you will want to write data. That done you can then go through the menu choices File/Get External Date/Link Tables and select the Excel file as your source. Then in the link table dialog check the 'Show Named Ranged' option and choose the range you defined. On the next screen hit the 'First Row Contains Column Headings' check box, and you are done. The range now shows up as a linked table and you can write to it using VBA. It seems you cannot just use append queries as that would require adding rows to the worksheet. So you get an error stating that the 'Spreadsheet is full'. However VBA works just fine. Here is some code I just threw together that does the trick... Sub WriteExcel() Dim db As DAO.Database Dim rs As DAO.Recordset Dim rsout As DAO.Recordset Dim n As Long Set db = CurrentDb Set rs = db.OpenRecordset("testQry", dbOpenDynaset) ' testQry is just a simple select query that returns the correct ' number of columns for this test. i.e. the name number as the named range has. Set rsout = db.OpenRecordset("Excel_Sheet_Area", dbOpenDynaset) ' Excel_Sheet_Area is a linked 'table' that uses a named range in the spreadsheet ' to ensure the data is written to the correct starting row. ' The range covers X columns and all the rows from the start row to the end ' of the worksheet. rsout.MoveFirst rs.MoveFirst With rs While Not .EOF rsout.Edit ' I don't care about the field names as the query has the right number ' of columns. So I just write out the data accessing it via the field number. For n = 0 To rsout.Fields.Count - 1 rsout.Fields(n) = .Fields(n) Next n rsout.Update rsout.MoveNext .MoveNext Wend End With rsout.Close rs.Close Set rs = Nothing Set rsout = Nothing Set db = Nothing End Sub Lambert -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Lonnie Johnson Sent: Tuesday, August 02, 2005 8:35 AM To: AccessD solving' Subject: [AccessD] Writing to an excel file I have a recordset that I would like to write as rows in an excel spreadsheet. I want to start on a certain line. The columns are already predefined and match my recordset. This will run each month so it will need to overwrite the prior month's data. What is the best way to go about this? May God bless you beyond your imagination! Lonnie Johnson ProDev, Professional Development of MS Access Databases Visit me at ==> http://www.prodev.us --------------------------------- Start your day with Yahoo! - make it your home page -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From ssharkins at bellsouth.net Tue Aug 2 09:40:09 2005 From: ssharkins at bellsouth.net (Susan Harkins) Date: Tue, 2 Aug 2005 10:40:09 -0400 Subject: [AccessD] PassThrough (Creation/ Modification) Issues In-Reply-To: <20050802062538.54680.qmail@web31611.mail.mud.yahoo.com> Message-ID: <20050802144012.UGPX3975.ibm66aec.bellsouth.net@SUSANONE> The most likely reason is that the code doesn't comply with the data source. Remember, a pass-thru isn't necessarily Jet SQL -- it's whatever the source requires. Susan H. Hi group, I've created a passthrough query. I searched the Microsoft MSDN site and found several nice pieces of code (see below). I modified them a bit for my personal use. I noticed the following: - The 'ModifyQuery' works like a charm. It alters the PTQ like it should and displays the records accordingly. - The 'CreatePassThroughQry'created a PTQ but I do not see it in the database container. Where is it? When I try to use the newly created PTQ as a recordsource it does not display any records. (I want to use the CreatePassThroughQry sub in my multiuser environment!) Does anybody know why the CreatePassThroughQry sub does not work and why it does not show up in the database container? The newly created query does show when I loop the ADOX views!? Url: http://msdn.microsoft.com/library/default.asp?url=/library/en-us/dnacc2k/htm l/adocreateq.asp Regards, SD ------------------------------------- Public Sub ModifyQuery(strDBPath As String, _ strQryName As String, _ strSQL As String) Dim catDB As ADOX.Catalog Dim cmd As ADODB.Command Set catDB = New ADOX.Catalog ' Open the Catalog object. 'catDB.ActiveConnection = "Provider=Microsoft.Jet.OLEDB.4.0;" & _ "Data Source=" & strDBPath catDB.ActiveConnection = CurrentProject.Connection Set cmd = New ADODB.Command ' Get the query from the Procedures collection. Set cmd = catDB.Procedures(strQryName).Command ' Update the query's SQL statement. cmd.CommandText = strSQL 'Save the updated query. Set catDB.Procedures(strQryName).Command = cmd Set catDB = Nothing End Sub Public Function CreatePassThroughQry(strSQL As String, _ strODBCConnect As String) As String Dim catDB As ADOX.Catalog Dim cmd As ADODB.Command Dim varProp As Variant Dim strQryName As String Dim oGeninf As cGenInf Set oGeninf = New cGenInf Set catDB = New ADOX.Catalog ' Open the Catalog object. catDB.ActiveConnection = CurrentProject.Connection Set cmd = New ADODB.Command ' Define SQL statement for query and set provider-specific ' properties for query type and ODBC connection string. With cmd .ActiveConnection = catDB.ActiveConnection .CommandText = strSQL .Properties("Jet OLEDB:ODBC Pass-Through Statement") = True .Properties("Jet OLEDB:Pass Through Query Connect String") = strODBCConnect End With strQryName = oGeninf.UserName & Format(Now(), "_hhmmss") & "_tmp" ' Name and save query to Procedures collection. catDB.Procedures.Append strQryName, cmd CreatePassThroughQry = strQryName Set catDB = Nothing End Function __________________________________________________ Do You Yahoo!? Tired of spam? Yahoo! Mail has the best spam protection around http://mail.yahoo.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 Aug 2 10:09:11 2005 From: DWUTKA at marlow.com (DWUTKA at marlow.com) Date: Tue, 2 Aug 2005 10:09:11 -0500 Subject: [AccessD] OT: Error 550 Message-ID: <123701F54509D9119A4F00D0B747349016DB94@main2.marlow.com> I see. Okay, so they have a problem with THEIR smtp setup. They may not be setup as a mail forwarder, which means when you send email to yourself, you are hitting their smtp server, and it is accepting email for it's domain, but when you are trying to send mail to another server, it refuses, because then it has to 'forward' your email. Most mailservers won't forward, without authentication, do you use a name and password in your smtp setup? Drew -----Original Message----- From: John W. Colby [mailto:jwcolby at colbyconsulting.com] Sent: Monday, August 01, 2005 5:13 PM To: 'Access Developers discussion and problem solving' Subject: RE: [AccessD] OT: Error 550 Mail.colbyconsulting.com is on the server of my hosting company. John W. Colby www.ColbyConsulting.com Contribute your unused CPU cycles to a good cause: http://folding.stanford.edu/ -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of DWUTKA at marlow.com Sent: Monday, August 01, 2005 11:09 AM To: accessd at databaseadvisors.com Subject: RE: [AccessD] OT: Error 550 Ok. Didn't catch that the first time. Is mail.colbyconsulting.com 'local'? I mean, is it residing where you are at, or is it the mail server of your hosting company? Drew -----Original Message----- From: John W. Colby [mailto:jwcolby at colbyconsulting.com] Sent: Sunday, July 31, 2005 12:31 AM To: 'Access Developers discussion and problem solving' Subject: RE: [AccessD] OT: Error 550 Yea, but it is more than that. If I just send a test message to myself, it just goes. A few minutes later it comes back in just fine. If I send to one of these other places, it INSTANTLY gets this 550 error in my inbox. If I then change from using mail.colbyconsulting.com as the smtp server address to the "local" smtp address (RR address) it goes out just fine. So it is not a case of "we don't like this destination". It is just forcing me to send through their mail server, but NOT when sending to my own mail server. Truly odd don't you think? John W. Colby www.ColbyConsulting.com Contribute your unused CPU cycles to a good cause: http://folding.stanford.edu/ -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of DWUTKA at marlow.com Sent: Sunday, July 31, 2005 12:51 AM To: accessd at databaseadvisors.com Subject: RE: [AccessD] OT: Error 550 It depends on how they have THEIR mail server setup. With the onslaught of spam, a lot of mail servers get down right finicky on what it will let through. I know my personal domain is/was blocked on several mail servers because the IP's in my domain were listed as dynamic, instead of static, which they WERE static. If the domain of the email you are sending 'from' doesn't match the IP's sending the mail, that's another big 'block'. Then there are several 'black lists' on the web, which store domains considered to be spam. Honestly, it's an issue that is a sore point for me (both spam, and the methods used to block). Drew -----Original Message----- From: John W. Colby [mailto:jwcolby at colbyconsulting.com] Sent: Saturday, July 30, 2005 11:43 PM To: 'Access Developers discussion and problem solving'; Tech - Database Advisors Inc. Subject: [AccessD] OT: Error 550 Does anyone understand what is going on with email sent from inside of specific networks. Here's the situation... I get the following error (as an example): Your message did not reach some or all of the intended recipients. Subject: RE: Logging in to George Sent: 7/29/2005 1:00 PM The following recipient(s) could not be reached: 'Jason Ralph' on 7/29/2005 1:00 PM 550 not local host invohealthcare.com, not a gateway >From my sister-in-law's house when I try to send to this specific >address, using SMPT server mail.colbyconsulting.com. If I send mail to myself I do not get this problem (to jwcolby at colbyconsulting.com). I have seen this exact same symptom if sending from my client. It never happened before from my sister-in-law's but is now. It turns out that if I look at her email smtp server (mail.rochester.rr.com), and modify my smtp server to match it works. It appears that this is the classic port 25 blocking thing. It is a royal PITA to have to find out what the correct smtp server is, modify Outlook, and send to that whenever I move from place to place. At my previous host for MY WEB SITE, they had me set up to send on a different port (26 maybe?) and then it worked regardless of where I was since only port 25 was being blocked and my web email server (mail.colbyconsulting.com) was expecting traffic on a different port. The odd part here is that I can send to myself (always), i.e. jwcolby at colbyconsulting.com. That must go on port 25 as well, so why does that go just fine, but not the other message? John W. Colby www.ColbyConsulting.com Contribute your unused CPU cycles to a good cause: http://folding.stanford.edu/ -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd 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 Tue Aug 2 10:17:18 2005 From: jimdettman at earthlink.net (Jim Dettman) Date: Tue, 2 Aug 2005 11:17:18 -0400 Subject: [AccessD] PassThrough (Creation/ Modification) Issues In-Reply-To: <20050802062538.54680.qmail@web31611.mail.mud.yahoo.com> Message-ID: SD, <> Read the first paragraph of the link you posted (the one that says "Important"). Jim. -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Sad Der Sent: Tuesday, August 02, 2005 2:26 AM To: Acces User Group Subject: [AccessD] PassThrough (Creation/ Modification) Issues Hi group, I've created a passthrough query. I searched the Microsoft MSDN site and found several nice pieces of code (see below). I modified them a bit for my personal use. I noticed the following: - The 'ModifyQuery' works like a charm. It alters the PTQ like it should and displays the records accordingly. - The 'CreatePassThroughQry'created a PTQ but I do not see it in the database container. Where is it? When I try to use the newly created PTQ as a recordsource it does not display any records. (I want to use the CreatePassThroughQry sub in my multiuser environment!) Does anybody know why the CreatePassThroughQry sub does not work and why it does not show up in the database container? The newly created query does show when I loop the ADOX views!? Url: http://msdn.microsoft.com/library/default.asp?url=/library/en-us/dnacc2k/htm l/adocreateq.asp Regards, SD ------------------------------------- Public Sub ModifyQuery(strDBPath As String, _ strQryName As String, _ strSQL As String) Dim catDB As ADOX.Catalog Dim cmd As ADODB.Command Set catDB = New ADOX.Catalog ' Open the Catalog object. 'catDB.ActiveConnection = "Provider=Microsoft.Jet.OLEDB.4.0;" & _ "Data Source=" & strDBPath catDB.ActiveConnection = CurrentProject.Connection Set cmd = New ADODB.Command ' Get the query from the Procedures collection. Set cmd = catDB.Procedures(strQryName).Command ' Update the query's SQL statement. cmd.CommandText = strSQL 'Save the updated query. Set catDB.Procedures(strQryName).Command = cmd Set catDB = Nothing End Sub Public Function CreatePassThroughQry(strSQL As String, _ strODBCConnect As String) As String Dim catDB As ADOX.Catalog Dim cmd As ADODB.Command Dim varProp As Variant Dim strQryName As String Dim oGeninf As cGenInf Set oGeninf = New cGenInf Set catDB = New ADOX.Catalog ' Open the Catalog object. catDB.ActiveConnection = CurrentProject.Connection Set cmd = New ADODB.Command ' Define SQL statement for query and set provider-specific ' properties for query type and ODBC connection string. With cmd .ActiveConnection = catDB.ActiveConnection .CommandText = strSQL .Properties("Jet OLEDB:ODBC Pass-Through Statement") = True .Properties("Jet OLEDB:Pass Through Query Connect String") = strODBCConnect End With strQryName = oGeninf.UserName & Format(Now(), "_hhmmss") & "_tmp" ' Name and save query to Procedures collection. catDB.Procedures.Append strQryName, cmd CreatePassThroughQry = strQryName Set catDB = Nothing End Function __________________________________________________ Do You Yahoo!? Tired of spam? Yahoo! Mail has the best spam protection around http://mail.yahoo.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From Rich_Lavsa at pghcorning.com Tue Aug 2 10:28:21 2005 From: Rich_Lavsa at pghcorning.com (Lavsa, Rich) Date: Tue, 2 Aug 2005 11:28:21 -0400 Subject: [AccessD] PassThrough (Creation/ Modification) Issues Message-ID: <2A261FF9D5EBCA46940C11688CE872EE026C9D3D@goexchange2.pghcorning.com> I get the idea of what you are trying to do but I'm not sure what you are trying to accomplish. I have a very similar routine "ModifyQuery", that I use to alter a "Template" or "Standard" PTQ. I can dynamically create a sql statement in its correct syntax Oracle, TSQL, or JET then alter the appropriate PTQ to insert the correct sql to execute. At that point you can call your report, ListBox, Forms, Queries.. whatever, which then looks at your dynamically altered PTQ. But again I am not sure what you are trying to do. If you are trying to be neat and clean, I'd suggest keeping a Template or Standard PTQ as it will retain all the connection info in it once built then all you need to do is alter the SQL Statemtent and you are good to go. But again I'm guessing on your end result. Rich -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Susan Harkins Sent: Tuesday, August 02, 2005 10:40 AM To: 'Access Developers discussion and problem solving' Subject: RE: [AccessD] PassThrough (Creation/ Modification) Issues The most likely reason is that the code doesn't comply with the data source. Remember, a pass-thru isn't necessarily Jet SQL -- it's whatever the source requires. Susan H. Hi group, I've created a passthrough query. I searched the Microsoft MSDN site and found several nice pieces of code (see below). I modified them a bit for my personal use. I noticed the following: - The 'ModifyQuery' works like a charm. It alters the PTQ like it should and displays the records accordingly. - The 'CreatePassThroughQry'created a PTQ but I do not see it in the database container. Where is it? When I try to use the newly created PTQ as a recordsource it does not display any records. (I want to use the CreatePassThroughQry sub in my multiuser environment!) Does anybody know why the CreatePassThroughQry sub does not work and why it does not show up in the database container? The newly created query does show when I loop the ADOX views!? Url: http://msdn.microsoft.com/library/default.asp?url=/library/en-us/dnacc2k /htm l/adocreateq.asp Regards, SD ------------------------------------- Public Sub ModifyQuery(strDBPath As String, _ strQryName As String, _ strSQL As String) Dim catDB As ADOX.Catalog Dim cmd As ADODB.Command Set catDB = New ADOX.Catalog ' Open the Catalog object. 'catDB.ActiveConnection = "Provider=Microsoft.Jet.OLEDB.4.0;" & _ "Data Source=" & strDBPath catDB.ActiveConnection = CurrentProject.Connection Set cmd = New ADODB.Command ' Get the query from the Procedures collection. Set cmd = catDB.Procedures(strQryName).Command ' Update the query's SQL statement. cmd.CommandText = strSQL 'Save the updated query. Set catDB.Procedures(strQryName).Command = cmd Set catDB = Nothing End Sub Public Function CreatePassThroughQry(strSQL As String, _ strODBCConnect As String) As String Dim catDB As ADOX.Catalog Dim cmd As ADODB.Command Dim varProp As Variant Dim strQryName As String Dim oGeninf As cGenInf Set oGeninf = New cGenInf Set catDB = New ADOX.Catalog ' Open the Catalog object. catDB.ActiveConnection = CurrentProject.Connection Set cmd = New ADODB.Command ' Define SQL statement for query and set provider-specific ' properties for query type and ODBC connection string. With cmd .ActiveConnection = catDB.ActiveConnection .CommandText = strSQL .Properties("Jet OLEDB:ODBC Pass-Through Statement") = True .Properties("Jet OLEDB:Pass Through Query Connect String") = strODBCConnect End With strQryName = oGeninf.UserName & Format(Now(), "_hhmmss") & "_tmp" ' Name and save query to Procedures collection. catDB.Procedures.Append strQryName, cmd CreatePassThroughQry = strQryName Set catDB = Nothing End Function __________________________________________________ Do You Yahoo!? Tired of spam? Yahoo! Mail has the best spam protection around http://mail.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 From DWUTKA at marlow.com Tue Aug 2 10:30:45 2005 From: DWUTKA at marlow.com (DWUTKA at marlow.com) Date: Tue, 2 Aug 2005 10:30:45 -0500 Subject: [AccessD] Writing to an excel file Message-ID: <123701F54509D9119A4F00D0B747349016DB96@main2.marlow.com> Do you want to start on the second line? You can treat Excel as a recordset with ADO. Drew -----Original Message----- From: Lonnie Johnson [mailto:prodevmg at yahoo.com] Sent: Tuesday, August 02, 2005 7:35 AM To: AccessD solving' Subject: [AccessD] Writing to an excel file I have a recordset that I would like to write as rows in an excel spreadsheet. I want to start on a certain line. The columns are already predefined and match my recordset. This will run each month so it will need to overwrite the prior month's data. What is the best way to go about this? May God bless you beyond your imagination! Lonnie Johnson ProDev, Professional Development of MS Access Databases Visit me at ==> http://www.prodev.us --------------------------------- Start your day with Yahoo! - make it your home page -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From kimjwiggins at yahoo.com Tue Aug 2 10:35:29 2005 From: kimjwiggins at yahoo.com (Kim Wiggins) Date: Tue, 2 Aug 2005 08:35:29 -0700 (PDT) Subject: [AccessD] Problems with word Automation In-Reply-To: <42EF0492.7020501@shaw.ca> Message-ID: <20050802153529.41110.qmail@web53604.mail.yahoo.com> I am using Set objWord = CreateObject("Word.Application") Do you think that could be the problem? Kim MartyConnelly wrote: Are you using early or late binding. Set objWord = CreateObject("Word.Application") or Set objWord = New Word.Application Funny things may happen with early binding if newer versions of word installed and then uninstalled. Kim Wiggins wrote: >Hey everyone >Hope all is well. I am not. I coded an automation report in VB6 using Word and it works fine on my work laptop and my laptop at home. But when I install it on the users computer, it gives me the standard application error and shuts down. It says "My_app_name has encountered an error and must close" and then it offers to send a report. Well that is flooring me because it runs in the development environment on both machines just fine. >Can anyone think of anything that I am missing or overlooking? >Thanks >Kim > > >--------------------------------- > Start your day with Yahoo! - make it your home page > > -- Marty Connelly Victoria, B.C. Canada -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com --------------------------------- Start your day with Yahoo! - make it your home page From cfoust at infostatsystems.com Tue Aug 2 10:40:23 2005 From: cfoust at infostatsystems.com (Charlotte Foust) Date: Tue, 2 Aug 2005 08:40:23 -0700 Subject: [AccessD] Runtime Vs Full Access Install Message-ID: Any confusion is probably in mixing issues of MDE/MDB and runtime. The two have nothing to do with each other. The runtime includes the dlls and licenses required to run an Access database without any particular version of Access installed. An MDE is a form of MDB that no longer contains any code and does not allow some operations, regardless of whether it is run using a runtime for full installed Access. Does that clear up the confusion? Charlotte Foust -----Original Message----- From: Kath Pelletti [mailto:KP at sdsonline.net] Sent: Monday, August 01, 2005 6:05 PM To: AccessD at databaseadvisors.com Subject: Re: [AccessD] Runtime Vs Full Access Install William - maybe I have misunderstood. I thought that by including all dll's (or other files referred to in the vba references) in the runtime install package, that it could then be standalone. By that I mean that it would run regardless of whether the user had (any version of Access) or not, as it is a packaged entity. Have I got that wrong? (And I am assuming using Sage / Wise) Kath ----- Original Message ----- From: William Hindman To: Access Developers discussion and problem solving Sent: Thursday, July 28, 2005 3:26 PM Subject: Re: [AccessD] Runtime Vs Full Access Install ..hhhmmm ...either I'm misreading you or there is a fundamental misunderstanding somewhere in here ...a runtime mdb/mde is exactly the same as a full install mdb/mde ...the difference is that Access itself is not fully installed in a runtime ...the design/coding elements are not there so a user can't change anything ...it runs exactly as you designed it to run. ..if you have an A97 mdb and an A2k runtime it should still run as long as the references are there ...but the reverse is not true ...so I use startup code to check the installed version and call the corresponding fe mdb/mde. ..if you invest in the wise install tools, they handle those issues much better than the native Access distribution tools do and the default is to let them do all the work for you. William -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From kimjwiggins at yahoo.com Tue Aug 2 10:40:23 2005 From: kimjwiggins at yahoo.com (Kim Wiggins) Date: Tue, 2 Aug 2005 08:40:23 -0700 (PDT) Subject: [AccessD] Problems with word Automation In-Reply-To: <008801c5976c$594b81f0$6c61fea9@GALAXY.local> Message-ID: <20050802154023.63301.qmail@web53602.mail.yahoo.com> Thanks so much. I thought that it had something to do with that. Did you then use late binding instead of early binding in that instance? How can I tell which OLB to use with the version of word they have? The OLB I used was Word 10.0 Object. That was the only one available in my references on my version of VB6. | Marcel Vreuls wrote:Kim, I had the same experience once. This was because of early binding problem (direct crash of the app) and a different office version (reason why). I had office 97 on my development envirnment. This all works fine. on the client machine it crashes. Due to the fact that de client had office 2000 or higher. I fixed it with delivering the word 97 OLB with the application because i would not make a seperate version of my app for each office version. Built in proper logging with the debug option. It should give you a lot of information. -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Kim Wiggins Sent: dinsdag 2 augustus 2005 0:18 To: AccessD at databaseadvisors.com Subject: [AccessD] Problems with word Automation Hey everyone Hope all is well. I am not. I coded an automation report in VB6 using Word and it works fine on my work laptop and my laptop at home. But when I install it on the users computer, it gives me the standard application error and shuts down. It says "My_app_name has encountered an error and must close" and then it offers to send a report. Well that is flooring me because it runs in the development environment on both machines just fine. Can anyone think of anything that I am missing or overlooking? Thanks Kim --------------------------------- Start your day with Yahoo! - make it your home page -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/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!? Tired of spam? Yahoo! Mail has the best spam protection around http://mail.yahoo.com From cfoust at infostatsystems.com Tue Aug 2 10:41:59 2005 From: cfoust at infostatsystems.com (Charlotte Foust) Date: Tue, 2 Aug 2005 08:41:59 -0700 Subject: [AccessD] Fw: ICE - In Case of Emergency Message-ID: I wear a medic-alert bracelet. They're already trained to check that and it has a phone number to access my emergency information as well as my medical history. I think that's more useful. Charlotte Foust -----Original Message----- From: Liz Doering [mailto:ldoering at symphonyinfo.com] Sent: Monday, August 01, 2005 8:44 PM To: Access Developers discussion and problem solving Subject: RE: [AccessD] Fw: ICE - In Case of Emergency This is probably OT, but my husband the paramedic was doubtful that ICE would be helpful. IF your phone makes it all the way to the emergency room with you and IF you are otherwise unidentified, then ER people might find it helpful. But paramedics are more concerned with you and your injuries than with who you want notified. -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of dmcafee at pacbell.net Sent: Monday, August 01, 2005 3:46 PM To: Access Developers discussion and problem solving Subject: RE: [AccessD] Fw: ICE - In Case of Emergency My sister in law just sent me this last week too. What's funny is I've always added "Home" to my address book not only for that reason but if an honest person ever found my lost cell phone. oh, and try to carry ID at all times ;) D -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of John Eget Sent: Monday, August 01, 2005 1:08 PM To: AccessD at databaseadvisors.com Subject: [AccessD] Fw: ICE - In Case of Emergency I put an underscore in front of my _ICE and also have _ICE1, _ICE2, and _IC#3 Subject: ICE - In Case of Emergency http://abclocal.go.com/wabc/news/wabc_072605_icecellphone.html Just wanted to share some good info if it's ever needed. Mark -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From cfoust at infostatsystems.com Tue Aug 2 10:47:20 2005 From: cfoust at infostatsystems.com (Charlotte Foust) Date: Tue, 2 Aug 2005 08:47:20 -0700 Subject: [AccessD] Runtime Vs Full Access Install Message-ID: Then you're very fortunate to have that much control, William, but I must disagree with you. Your runtime files are NOT dependent on how the user does an Access install unless you unwisely (no pun intended) install the runtime in a generic location where it can be easily mucked up. We install the runtime files in their own directory and have not run into any collisions with installed versions of Access, either before or after the installation of the runtime. We've been doing this for years through multiple versions of Access (and Windows), so I think you can say it is time tested. The only real issue with runtime and full install on the same machine is that you MUST start the application using a shortcut that specifically points to the runtime executable or Windows will try to load the last full version of Access to open the database, whether or not it is appropriate. Charlotte Foust -----Original Message----- From: William Hindman [mailto:dejpolsys at hotmail.com] Sent: Monday, August 01, 2005 8:53 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Runtime Vs Full Access Install Kath ...afaik the runtime is a "package" at install only ...but if a user subsequently installs full Access ...any version ...all bets are off because your runtime files integrity is dependent upon how the user does the install ..a "default" install will screw your runtime more often than not because it defaults to removing older file versions, even if they are needed by your runtime ...Wise/Sage won't block that type of problem from happening either but when you reinstall your runtime they will handle the concurrent full version issues for you. ..I work with no full Access installs allowed on client systems with the exception of developer dedicated workstations ...and no "office" upgrades either even if they don't include Access, except by me ...the latter because the office vba modules share some common parts with Access vba. ..but I'll be the first to admit that most developers don't have that type of control over their app runtime environments and there may well be other, better ways to deal with it ...I just find that keeping it clean makes my life a lot simpler and my clients with a lot fewer problems. William ----- Original Message ----- From: "Kath Pelletti" To: Sent: Monday, August 01, 2005 9:04 PM Subject: Re: [AccessD] Runtime Vs Full Access Install William - maybe I have misunderstood. I thought that by including all dll's (or other files referred to in the vba references) in the runtime install package, that it could then be standalone. By that I mean that it would run regardless of whether the user had (any version of Access) or not, as it is a packaged entity. Have I got that wrong? (And I am assuming using Sage / Wise) Kath ----- Original Message ----- From: William Hindman To: Access Developers discussion and problem solving Sent: Thursday, July 28, 2005 3:26 PM Subject: Re: [AccessD] Runtime Vs Full Access Install ..hhhmmm ...either I'm misreading you or there is a fundamental misunderstanding somewhere in here ...a runtime mdb/mde is exactly the same as a full install mdb/mde ...the difference is that Access itself is not fully installed in a runtime ...the design/coding elements are not there so a user can't change anything ...it runs exactly as you designed it to run. ..if you have an A97 mdb and an A2k runtime it should still run as long as the references are there ...but the reverse is not true ...so I use startup code to check the installed version and call the corresponding fe mdb/mde. ..if you invest in the wise install tools, they handle those issues much better than the native Access distribution tools do and the default is to let them do all the work for you. William -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From prodevmg at yahoo.com Tue Aug 2 10:47:16 2005 From: prodevmg at yahoo.com (Lonnie Johnson) Date: Tue, 2 Aug 2005 08:47:16 -0700 (PDT) Subject: [AccessD] Writing to an excel file In-Reply-To: <123701F54509D9119A4F00D0B747349016DB96@main2.marlow.com> Message-ID: <20050802154717.23267.qmail@web33101.mail.mud.yahoo.com> I got it to work! With a little bit from here and a little from there this is what I am doing... On Error GoTo ErrControl DoCmd.SetWarnings False Dim db As DAO.Database Dim rs As DAO.Recordset 'records to be sent to the excel sheet Dim rsStatus As DAO.Recordset 'a list of all the statuses Dim qry As DAO.QueryDef 'used to define the query for the recordset we need to send to excel Dim strSQL As String 'used to hold the fields for exporting to excel Dim tabName As String 'the name of the tab in excel and the name of the query to export Dim outputFile As String 'destination excel file Dim monthlyCopy As String 'used to create a monthly copy of the file Dim i As Integer 'counter used to determine a new line in excel Set db = CurrentDb 'select fields for excel sheet strSQL = "SELECT LNAME, FNAME, KAECSESID, [FROM], [TO], [PROCEDURE CODE], " _ & "[DIAGNOSIS CODE], [UNIT RATE], UNITS, EXTENSION, [AUTHORIZATION NUMBER] " _ & "FROM qryStandardBillingForm " 'destination outputFile = "I:\DEPTDATA\BILLING FORM\BillingForm.xls" 'open the excel spreadsheet Set xlsApp = CreateObject("Excel.Application") xlsApp.Visible = True xlsApp.UserControl = True xlsApp.Workbooks.Open (outputFile) '************************************************************************************** 'Create HOSP tab of the excel spread sheet tabName = "HOSP" Set qry = db.CreateQueryDef(tabName, strSQL _ & " WHERE PLCTYPE = 'HOSP' ORDER BY LNAME, FNAME") 'select the appropriate tab Set xlsWSheet = xlsApp.Worksheets(tabName) xlsWSheet.Activate 'select range to be cleared and clear it xlsApp.Range("A10:K65536").Select xlsApp.Selection.ClearContents 'get records for the tab from our newly made query Set rs = db.OpenRecordset(tabName) i = 10 'set counter to the line of our excel worksheet where I want it to start writing Do Until rs.EOF xlsApp.ActiveSheet.Range("A" & i).Value = rs("LNAME") xlsApp.ActiveSheet.Range("B" & i).Value = rs("FNAME") xlsApp.ActiveSheet.Range("C" & i).Value = rs("KAECSESID") xlsApp.ActiveSheet.Range("D" & i).Value = rs("FROM") xlsApp.ActiveSheet.Range("E" & i).Value = rs("TO") xlsApp.ActiveSheet.Range("F" & i).Value = rs("PROCEDURE CODE") xlsApp.ActiveSheet.Range("G" & i).Value = rs("DIAGNOSIS CODE") xlsApp.ActiveSheet.Range("H" & i).Value = rs("UNIT RATE") xlsApp.ActiveSheet.Range("I" & i).Value = rs("UNITS") xlsApp.ActiveSheet.Range("J" & i).Value = rs("EXTENSION") xlsApp.ActiveSheet.Range("K" & i).Value = rs("AUTHORIZATION NUMBER") i = i + 1 rs.MoveNext Loop DoCmd.DeleteObject acQuery, tabName 'trash the temporary query '************************************************************************************** DWUTKA at marlow.com wrote: Do you want to start on the second line? You can treat Excel as a recordset with ADO. Drew -----Original Message----- From: Lonnie Johnson [mailto:prodevmg at yahoo.com] Sent: Tuesday, August 02, 2005 7:35 AM To: AccessD solving' Subject: [AccessD] Writing to an excel file I have a recordset that I would like to write as rows in an excel spreadsheet. I want to start on a certain line. The columns are already predefined and match my recordset. This will run each month so it will need to overwrite the prior month's data. What is the best way to go about this? May God bless you beyond your imagination! Lonnie Johnson ProDev, Professional Development of MS Access Databases Visit me at ==> http://www.prodev.us --------------------------------- Start your day with Yahoo! - make it your home page -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com May God bless you beyond your imagination! Lonnie Johnson ProDev, Professional Development of MS Access Databases Visit me at ==> http://www.prodev.us __________________________________________________ Do You Yahoo!? Tired of spam? Yahoo! Mail has the best spam protection around http://mail.yahoo.com From cfoust at infostatsystems.com Tue Aug 2 10:49:00 2005 From: cfoust at infostatsystems.com (Charlotte Foust) Date: Tue, 2 Aug 2005 08:49:00 -0700 Subject: [AccessD] OT: ICE - In Case of Emergency Message-ID: I repeat, Medic Alert, John. That is specifically what it is for. Charlotte Foust -----Original Message----- From: John W. Colby [mailto:jwcolby at colbyconsulting.com] Sent: Tuesday, August 02, 2005 4:31 AM To: 'Access Developers discussion and problem solving' Subject: RE: [AccessD] OT: ICE - In Case of Emergency Plus, ICE information could include your name, allergies, medical conditions etc. It doesn't have to be just phone numbers to call, though it should include that. John W. Colby www.ColbyConsulting.com Contribute your unused CPU cycles to a good cause: http://folding.stanford.edu/ -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Jeff Sent: Tuesday, August 02, 2005 12:34 AM To: 'Access Developers discussion and problem solving' Subject: [AccessD] OT: ICE - In Case of Emergency The ambulance service here said just today they will start training all their employees to specifically look for this...so I guess it is all about where you live...Of course, if _I_ come upon an accident scene, guess what I am going to look for... Better safe than sorry... Jeff -----Original Message----- From: Liz Doering [mailto:ldoering at symphonyinfo.com] Sent: Monday, August 01, 2005 9:44 PM To: Access Developers discussion and problem solving Subject: RE: [AccessD] Fw: ICE - In Case of Emergency This is probably OT, but my husband the paramedic was doubtful that ICE would be helpful. IF your phone makes it all the way to the emergency room with you and IF you are otherwise unidentified, then ER people might find it helpful. But paramedics are more concerned with you and your injuries than with who you want notified. -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of dmcafee at pacbell.net Sent: Monday, August 01, 2005 3:46 PM To: Access Developers discussion and problem solving Subject: RE: [AccessD] Fw: ICE - In Case of Emergency My sister in law just sent me this last week too. What's funny is I've always added "Home" to my address book not only for that reason but if an honest person ever found my lost cell phone. oh, and try to carry ID at all times ;) D -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of John Eget Sent: Monday, August 01, 2005 1:08 PM To: AccessD at databaseadvisors.com Subject: [AccessD] Fw: ICE - In Case of Emergency I put an underscore in front of my _ICE and also have _ICE1, _ICE2, and _IC#3 Subject: ICE - In Case of Emergency http://abclocal.go.com/wabc/news/wabc_072605_icecellphone.html Just wanted to share some good info if it's ever needed. Mark -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From ldoering at symphonyinfo.com Tue Aug 2 11:28:15 2005 From: ldoering at symphonyinfo.com (Liz Doering) Date: Tue, 2 Aug 2005 11:28:15 -0500 Subject: [AccessD] OT: ICE - In Case of Emergency Message-ID: <855499653F55AD4190B242717DF132BC083027@dewey.Symphony.local> Medics would agree. -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Charlotte Foust Sent: Tuesday, August 02, 2005 11:01 AM To: Access Developers discussion and problem solving Subject: RE: [AccessD] OT: ICE - In Case of Emergency I repeat, Medic Alert, John. That is specifically what it is for. Charlotte Foust -----Original Message----- From: John W. Colby [mailto:jwcolby at colbyconsulting.com] Sent: Tuesday, August 02, 2005 4:31 AM To: 'Access Developers discussion and problem solving' Subject: RE: [AccessD] OT: ICE - In Case of Emergency Plus, ICE information could include your name, allergies, medical conditions etc. It doesn't have to be just phone numbers to call, though it should include that. John W. Colby www.ColbyConsulting.com Contribute your unused CPU cycles to a good cause: http://folding.stanford.edu/ -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Jeff Sent: Tuesday, August 02, 2005 12:34 AM To: 'Access Developers discussion and problem solving' Subject: [AccessD] OT: ICE - In Case of Emergency The ambulance service here said just today they will start training all their employees to specifically look for this...so I guess it is all about where you live...Of course, if _I_ come upon an accident scene, guess what I am going to look for... Better safe than sorry... Jeff -----Original Message----- From: Liz Doering [mailto:ldoering at symphonyinfo.com] Sent: Monday, August 01, 2005 9:44 PM To: Access Developers discussion and problem solving Subject: RE: [AccessD] Fw: ICE - In Case of Emergency This is probably OT, but my husband the paramedic was doubtful that ICE would be helpful. IF your phone makes it all the way to the emergency room with you and IF you are otherwise unidentified, then ER people might find it helpful. But paramedics are more concerned with you and your injuries than with who you want notified. -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of dmcafee at pacbell.net Sent: Monday, August 01, 2005 3:46 PM To: Access Developers discussion and problem solving Subject: RE: [AccessD] Fw: ICE - In Case of Emergency My sister in law just sent me this last week too. What's funny is I've always added "Home" to my address book not only for that reason but if an honest person ever found my lost cell phone. oh, and try to carry ID at all times ;) D -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of John Eget Sent: Monday, August 01, 2005 1:08 PM To: AccessD at databaseadvisors.com Subject: [AccessD] Fw: ICE - In Case of Emergency I put an underscore in front of my _ICE and also have _ICE1, _ICE2, and _IC#3 Subject: ICE - In Case of Emergency http://abclocal.go.com/wabc/news/wabc_072605_icecellphone.html Just wanted to share some good info if it's ever needed. Mark -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd 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 Aug 2 11:43:06 2005 From: cfoust at infostatsystems.com (Charlotte Foust) Date: Tue, 2 Aug 2005 09:43:06 -0700 Subject: [AccessD] OT: ICE - In Case of Emergency Message-ID: And the batteries never give out! Charlotte Foust -----Original Message----- From: Liz Doering [mailto:ldoering at symphonyinfo.com] Sent: Tuesday, August 02, 2005 9:28 AM To: Access Developers discussion and problem solving Subject: RE: [AccessD] OT: ICE - In Case of Emergency Medics would agree. -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Charlotte Foust Sent: Tuesday, August 02, 2005 11:01 AM To: Access Developers discussion and problem solving Subject: RE: [AccessD] OT: ICE - In Case of Emergency I repeat, Medic Alert, John. That is specifically what it is for. Charlotte Foust -----Original Message----- From: John W. Colby [mailto:jwcolby at colbyconsulting.com] Sent: Tuesday, August 02, 2005 4:31 AM To: 'Access Developers discussion and problem solving' Subject: RE: [AccessD] OT: ICE - In Case of Emergency Plus, ICE information could include your name, allergies, medical conditions etc. It doesn't have to be just phone numbers to call, though it should include that. John W. Colby www.ColbyConsulting.com Contribute your unused CPU cycles to a good cause: http://folding.stanford.edu/ -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Jeff Sent: Tuesday, August 02, 2005 12:34 AM To: 'Access Developers discussion and problem solving' Subject: [AccessD] OT: ICE - In Case of Emergency The ambulance service here said just today they will start training all their employees to specifically look for this...so I guess it is all about where you live...Of course, if _I_ come upon an accident scene, guess what I am going to look for... Better safe than sorry... Jeff -----Original Message----- From: Liz Doering [mailto:ldoering at symphonyinfo.com] Sent: Monday, August 01, 2005 9:44 PM To: Access Developers discussion and problem solving Subject: RE: [AccessD] Fw: ICE - In Case of Emergency This is probably OT, but my husband the paramedic was doubtful that ICE would be helpful. IF your phone makes it all the way to the emergency room with you and IF you are otherwise unidentified, then ER people might find it helpful. But paramedics are more concerned with you and your injuries than with who you want notified. -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of dmcafee at pacbell.net Sent: Monday, August 01, 2005 3:46 PM To: Access Developers discussion and problem solving Subject: RE: [AccessD] Fw: ICE - In Case of Emergency My sister in law just sent me this last week too. What's funny is I've always added "Home" to my address book not only for that reason but if an honest person ever found my lost cell phone. oh, and try to carry ID at all times ;) D -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of John Eget Sent: Monday, August 01, 2005 1:08 PM To: AccessD at databaseadvisors.com Subject: [AccessD] Fw: ICE - In Case of Emergency I put an underscore in front of my _ICE and also have _ICE1, _ICE2, and _IC#3 Subject: ICE - In Case of Emergency http://abclocal.go.com/wabc/news/wabc_072605_icecellphone.html Just wanted to share some good info if it's ever needed. Mark -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From Developer at UltraDNT.com Tue Aug 2 12:00:09 2005 From: Developer at UltraDNT.com (Steve Conklin (Developer@UltraDNT)) Date: Tue, 2 Aug 2005 13:00:09 -0400 Subject: [AccessD] Runtime Vs Full Access Install In-Reply-To: Message-ID: <003801c59783$a71af980$640fa8c0@CONKEY2000> I agree with Charlotte, and have been using the same methods for a long time. I do a runtime package for any mdb that I deliver, even the user has/will use full Access, to ensure that everything, MSCOMCTL and anything else DLL or OCX-wise, all goes in the application's folder, so I don't have to worry about any upgraded components in \system32 or anywhere else. But I late-bind my Office calls to avoid problems with versioning; I don't know the answer to Kath's original question concerning Front Page calls. Does Access runtime packager include the Office type-libs if they are called in the application? I don't know - we can provide Access apps to users w/o Access, but can we do a mail-merge if they don't have Word? (doubt it) Further, Front Page was pushed out of Office in ver. 2003, I don't know if that has any baring on the answer or not. Maybe late-binding the FP call, and trapping for "Object not created" is the best answer regardless. Just my .02, Steve -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Charlotte Foust Sent: Tuesday, August 02, 2005 11:47 AM To: Access Developers discussion and problem solving Subject: RE: [AccessD] Runtime Vs Full Access Install Then you're very fortunate to have that much control, William, but I must disagree with you. Your runtime files are NOT dependent on how the user does an Access install unless you unwisely (no pun intended) install the runtime in a generic location where it can be easily mucked up. We install the runtime files in their own directory and have not run into any collisions with installed versions of Access, either before or after the installation of the runtime. We've been doing this for years through multiple versions of Access (and Windows), so I think you can say it is time tested. The only real issue with runtime and full install on the same machine is that you MUST start the application using a shortcut that specifically points to the runtime executable or Windows will try to load the last full version of Access to open the database, whether or not it is appropriate. Charlotte Foust -----Original Message----- From: William Hindman [mailto:dejpolsys at hotmail.com] Sent: Monday, August 01, 2005 8:53 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Runtime Vs Full Access Install Kath ...afaik the runtime is a "package" at install only ...but if a user subsequently installs full Access ...any version ...all bets are off because your runtime files integrity is dependent upon how the user does the install ..a "default" install will screw your runtime more often than not because it defaults to removing older file versions, even if they are needed by your runtime ...Wise/Sage won't block that type of problem from happening either but when you reinstall your runtime they will handle the concurrent full version issues for you. ..I work with no full Access installs allowed on client systems with the exception of developer dedicated workstations ...and no "office" upgrades either even if they don't include Access, except by me ...the latter because the office vba modules share some common parts with Access vba. ..but I'll be the first to admit that most developers don't have that type of control over their app runtime environments and there may well be other, better ways to deal with it ...I just find that keeping it clean makes my life a lot simpler and my clients with a lot fewer problems. William ----- Original Message ----- From: "Kath Pelletti" To: Sent: Monday, August 01, 2005 9:04 PM Subject: Re: [AccessD] Runtime Vs Full Access Install William - maybe I have misunderstood. I thought that by including all dll's (or other files referred to in the vba references) in the runtime install package, that it could then be standalone. By that I mean that it would run regardless of whether the user had (any version of Access) or not, as it is a packaged entity. Have I got that wrong? (And I am assuming using Sage / Wise) Kath ----- Original Message ----- From: William Hindman To: Access Developers discussion and problem solving Sent: Thursday, July 28, 2005 3:26 PM Subject: Re: [AccessD] Runtime Vs Full Access Install ..hhhmmm ...either I'm misreading you or there is a fundamental misunderstanding somewhere in here ...a runtime mdb/mde is exactly the same as a full install mdb/mde ...the difference is that Access itself is not fully installed in a runtime ...the design/coding elements are not there so a user can't change anything ...it runs exactly as you designed it to run. ..if you have an A97 mdb and an A2k runtime it should still run as long as the references are there ...but the reverse is not true ...so I use startup code to check the installed version and call the corresponding fe mdb/mde. ..if you invest in the wise install tools, they handle those issues much better than the native Access distribution tools do and the default is to let them do all the work for you. William -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From cfoust at infostatsystems.com Tue Aug 2 12:07:45 2005 From: cfoust at infostatsystems.com (Charlotte Foust) Date: Tue, 2 Aug 2005 10:07:45 -0700 Subject: [AccessD] Runtime Vs Full Access Install Message-ID: The package can only include redistributable libraries. I have no idea whether the FP dlls are redistributable, but if they are not, then they can't be included in the package, period. In general, the libraries for other Office apps are not redistributable. Charlotte Foust -----Original Message----- From: Steve Conklin (Developer at UltraDNT) [mailto:Developer at ultradnt.com] Sent: Tuesday, August 02, 2005 10:00 AM To: 'Access Developers discussion and problem solving' Subject: RE: [AccessD] Runtime Vs Full Access Install I agree with Charlotte, and have been using the same methods for a long time. I do a runtime package for any mdb that I deliver, even the user has/will use full Access, to ensure that everything, MSCOMCTL and anything else DLL or OCX-wise, all goes in the application's folder, so I don't have to worry about any upgraded components in \system32 or anywhere else. But I late-bind my Office calls to avoid problems with versioning; I don't know the answer to Kath's original question concerning Front Page calls. Does Access runtime packager include the Office type-libs if they are called in the application? I don't know - we can provide Access apps to users w/o Access, but can we do a mail-merge if they don't have Word? (doubt it) Further, Front Page was pushed out of Office in ver. 2003, I don't know if that has any baring on the answer or not. Maybe late-binding the FP call, and trapping for "Object not created" is the best answer regardless. Just my .02, Steve -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Charlotte Foust Sent: Tuesday, August 02, 2005 11:47 AM To: Access Developers discussion and problem solving Subject: RE: [AccessD] Runtime Vs Full Access Install Then you're very fortunate to have that much control, William, but I must disagree with you. Your runtime files are NOT dependent on how the user does an Access install unless you unwisely (no pun intended) install the runtime in a generic location where it can be easily mucked up. We install the runtime files in their own directory and have not run into any collisions with installed versions of Access, either before or after the installation of the runtime. We've been doing this for years through multiple versions of Access (and Windows), so I think you can say it is time tested. The only real issue with runtime and full install on the same machine is that you MUST start the application using a shortcut that specifically points to the runtime executable or Windows will try to load the last full version of Access to open the database, whether or not it is appropriate. Charlotte Foust -----Original Message----- From: William Hindman [mailto:dejpolsys at hotmail.com] Sent: Monday, August 01, 2005 8:53 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Runtime Vs Full Access Install Kath ...afaik the runtime is a "package" at install only ...but if a user subsequently installs full Access ...any version ...all bets are off because your runtime files integrity is dependent upon how the user does the install ..a "default" install will screw your runtime more often than not because it defaults to removing older file versions, even if they are needed by your runtime ...Wise/Sage won't block that type of problem from happening either but when you reinstall your runtime they will handle the concurrent full version issues for you. ..I work with no full Access installs allowed on client systems with the exception of developer dedicated workstations ...and no "office" upgrades either even if they don't include Access, except by me ...the latter because the office vba modules share some common parts with Access vba. ..but I'll be the first to admit that most developers don't have that type of control over their app runtime environments and there may well be other, better ways to deal with it ...I just find that keeping it clean makes my life a lot simpler and my clients with a lot fewer problems. William ----- Original Message ----- From: "Kath Pelletti" To: Sent: Monday, August 01, 2005 9:04 PM Subject: Re: [AccessD] Runtime Vs Full Access Install William - maybe I have misunderstood. I thought that by including all dll's (or other files referred to in the vba references) in the runtime install package, that it could then be standalone. By that I mean that it would run regardless of whether the user had (any version of Access) or not, as it is a packaged entity. Have I got that wrong? (And I am assuming using Sage / Wise) Kath ----- Original Message ----- From: William Hindman To: Access Developers discussion and problem solving Sent: Thursday, July 28, 2005 3:26 PM Subject: Re: [AccessD] Runtime Vs Full Access Install ..hhhmmm ...either I'm misreading you or there is a fundamental misunderstanding somewhere in here ...a runtime mdb/mde is exactly the same as a full install mdb/mde ...the difference is that Access itself is not fully installed in a runtime ...the design/coding elements are not there so a user can't change anything ...it runs exactly as you designed it to run. ..if you have an A97 mdb and an A2k runtime it should still run as long as the references are there ...but the reverse is not true ...so I use startup code to check the installed version and call the corresponding fe mdb/mde. ..if you invest in the wise install tools, they handle those issues much better than the native Access distribution tools do and the default is to let them do all the work for you. William -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From dejpolsys at hotmail.com Tue Aug 2 12:38:13 2005 From: dejpolsys at hotmail.com (William Hindman) Date: Tue, 2 Aug 2005 13:38:13 -0400 Subject: [AccessD] Runtime Vs Full Access Install References: Message-ID: ..hhhmmm ...the default runtime install using the Access ODE is to the same directory as a full install ...and that includes the WinSys32 directory ..since I no longer allow full Access installs I've had no need to use Wise ..installing the runtime to a different directory certainly makes sense but that would still leave the dlls and ocx's in the sys32 exposed unless Wise puts the alias' in the registry, something the ms runtime wizard certainly won't do. ..even with a runtime in a different directory and with aliased references, an A2k3 full install will ask if the user wants to remove previous versions and if the user oks it, will promptly remove an older runtime ...but then I suspect Wise has a way around that as well ...the long and short of it being that if you can't control the environment then Wise is a necessity, not a convenience. ..as with anything, you live and learn ...I'm an independent ...I don't need to and therefore don't take on clients that don't want to do it my way ..makes my life much less complicated ...I don't envy anyone forced to deal with client controlled application environments ...especially notwork dba's on steroids who don't know their own jobs, much less mine ...been there, done that and like pissing into the wind, it doesn't take a repeat to know better. ..hope all this hasn't left Kath more confused :) William ----- Original Message ----- From: "Charlotte Foust" To: "Access Developers discussion and problem solving" Sent: Tuesday, August 02, 2005 11:47 AM Subject: RE: [AccessD] Runtime Vs Full Access Install > Then you're very fortunate to have that much control, William, but I > must disagree with you. Your runtime files are NOT dependent on how the > user does an Access install unless you unwisely (no pun intended) > install the runtime in a generic location where it can be easily mucked > up. We install the runtime files in their own directory and have not > run into any collisions with installed versions of Access, either before > or after the installation of the runtime. We've been doing this for > years through multiple versions of Access (and Windows), so I think you > can say it is time tested. > > The only real issue with runtime and full install on the same machine is > that you MUST start the application using a shortcut that specifically > points to the runtime executable or Windows will try to load the last > full version of Access to open the database, whether or not it is > appropriate. > > Charlotte Foust > > > -----Original Message----- > From: William Hindman [mailto:dejpolsys at hotmail.com] > Sent: Monday, August 01, 2005 8:53 PM > To: Access Developers discussion and problem solving > Subject: Re: [AccessD] Runtime Vs Full Access Install > > > Kath ...afaik the runtime is a "package" at install only ...but if a > user > subsequently installs full Access ...any version ...all bets are off > because > your runtime files integrity is dependent upon how the user does the > install > ..a "default" install will screw your runtime more often than not > because > it defaults to removing older file versions, even if they are needed by > your > runtime ...Wise/Sage won't block that type of problem from happening > either > but when you reinstall your runtime they will handle the concurrent full > > version issues for you. > > ..I work with no full Access installs allowed on client systems with the > > exception of developer dedicated workstations ...and no "office" > upgrades > either even if they don't include Access, except by me ...the latter > because > the office vba modules share some common parts with Access vba. > > ..but I'll be the first to admit that most developers don't have that > type > of control over their app runtime environments and there may well be > other, > better ways to deal with it ...I just find that keeping it clean makes > my > life a lot simpler and my clients with a lot fewer problems. > > William > > ----- Original Message ----- > From: "Kath Pelletti" > To: > Sent: Monday, August 01, 2005 9:04 PM > Subject: Re: [AccessD] Runtime Vs Full Access Install > > > William - maybe I have misunderstood. I thought that by including all > dll's > (or other files referred to in the vba references) in the runtime > install > package, that it could then be standalone. By that I mean that it would > run > regardless of whether the user had (any version of Access) or not, as it > is > a packaged entity. > > Have I got that wrong? (And I am assuming using Sage / Wise) > > Kath > > > ----- Original Message ----- > From: William Hindman > To: Access Developers discussion and problem solving > Sent: Thursday, July 28, 2005 3:26 PM > Subject: Re: [AccessD] Runtime Vs Full Access Install > > > ..hhhmmm ...either I'm misreading you or there is a fundamental > misunderstanding somewhere in here ...a runtime mdb/mde is exactly the > > same > as a full install mdb/mde ...the difference is that Access itself is > not > fully installed in a runtime ...the design/coding elements are not > there > so > a user can't change anything ...it runs exactly as you designed it to > run. > > ..if you have an A97 mdb and an A2k runtime it should still run as > long as > the references are there ...but the reverse is not true ...so I use > startup > code to check the installed version and call the corresponding fe > mdb/mde. > > ..if you invest in the wise install tools, they handle those issues > much > better than the native Access distribution tools do and the default is > to > let them do all the work for you. > > William > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > From dejpolsys at hotmail.com Tue Aug 2 12:47:56 2005 From: dejpolsys at hotmail.com (William Hindman) Date: Tue, 2 Aug 2005 13:47:56 -0400 Subject: [AccessD] Fw: ICE - In Case of Emergency References: Message-ID: Charlotte ..medic alert bracelets serve a certain purpose quite well, but most of us don't need or wear one ...ICE has a single purpose which is to tell the people trying to notify your next of kin just exactly who YOU want notified and how to do it using your own cell phone, which most of us do "wear" in one fashion or another :) ..while its true that you can become separated from your cell phone in such an emergency, most don't ...and even if you do, you're no worse off than if you didn't program the ICE numbers in the first place ...the paramedics and police around here are certainly promoting its use. William ----- Original Message ----- From: "Charlotte Foust" To: "Access Developers discussion and problem solving" Sent: Tuesday, August 02, 2005 11:41 AM Subject: RE: [AccessD] Fw: ICE - In Case of Emergency >I wear a medic-alert bracelet. They're already trained to check that > and it has a phone number to access my emergency information as well as > my medical history. I think that's more useful. > > Charlotte Foust > > > -----Original Message----- > From: Liz Doering [mailto:ldoering at symphonyinfo.com] > Sent: Monday, August 01, 2005 8:44 PM > To: Access Developers discussion and problem solving > Subject: RE: [AccessD] Fw: ICE - In Case of Emergency > > > This is probably OT, but my husband the paramedic was doubtful that ICE > would be helpful. IF your phone makes it all the way to the emergency > room with you and IF you are otherwise unidentified, then ER people > might find it helpful. But paramedics are more concerned with you and > your injuries than with who you want notified. > > > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of > dmcafee at pacbell.net > Sent: Monday, August 01, 2005 3:46 PM > To: Access Developers discussion and problem solving > Subject: RE: [AccessD] Fw: ICE - In Case of Emergency > > My sister in law just sent me this last week too. What's funny is I've > always added "Home" to my address book not only for that reason but if > an honest person ever found my lost cell phone. > > oh, and try to carry ID at all times ;) > > D > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of John Eget > Sent: Monday, August 01, 2005 1:08 PM > To: AccessD at databaseadvisors.com > Subject: [AccessD] Fw: ICE - In Case of Emergency > > > I put an underscore in front of my _ICE and also have _ICE1, _ICE2, and > _IC#3 > > Subject: ICE - In Case of Emergency > > > http://abclocal.go.com/wabc/news/wabc_072605_icecellphone.html > > > > Just wanted to share some good info if it's ever needed. > > > > Mark > > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > > > > > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > From cfoust at infostatsystems.com Tue Aug 2 13:02:44 2005 From: cfoust at infostatsystems.com (Charlotte Foust) Date: Tue, 2 Aug 2005 11:02:44 -0700 Subject: [AccessD] Runtime Vs Full Access Install Message-ID: The packaging wizard in all its versions has been a pathetic installer. It gave you no choice as to where the dlls (or pretty much anything else except the mdb itself) were installed. Wise and InstallShield have far greater flexibility and SageKey makes them hum. Actually, as I recall pretty much *every* version of Office has asked if you want to remove the previous version, including the runtime, so that isn't peculiar to 2003 and it's something the client either have to be warned about, or you have to say, "Look, dummy, you broke it. Now reinstall my application from your CD." ;-} Charlotte Foust -----Original Message----- From: William Hindman [mailto:dejpolsys at hotmail.com] Sent: Tuesday, August 02, 2005 10:38 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Runtime Vs Full Access Install ..hhhmmm ...the default runtime install using the Access ODE is to the same directory as a full install ...and that includes the WinSys32 directory ..since I no longer allow full Access installs I've had no need to use Wise ..installing the runtime to a different directory certainly makes sense but that would still leave the dlls and ocx's in the sys32 exposed unless Wise puts the alias' in the registry, something the ms runtime wizard certainly won't do. ..even with a runtime in a different directory and with aliased references, an A2k3 full install will ask if the user wants to remove previous versions and if the user oks it, will promptly remove an older runtime ...but then I suspect Wise has a way around that as well ...the long and short of it being that if you can't control the environment then Wise is a necessity, not a convenience. ..as with anything, you live and learn ...I'm an independent ...I don't need to and therefore don't take on clients that don't want to do it my way ..makes my life much less complicated ...I don't envy anyone forced to deal with client controlled application environments ...especially notwork dba's on steroids who don't know their own jobs, much less mine ...been there, done that and like pissing into the wind, it doesn't take a repeat to know better. ..hope all this hasn't left Kath more confused :) William ----- Original Message ----- From: "Charlotte Foust" To: "Access Developers discussion and problem solving" Sent: Tuesday, August 02, 2005 11:47 AM Subject: RE: [AccessD] Runtime Vs Full Access Install > Then you're very fortunate to have that much control, William, but I > must disagree with you. Your runtime files are NOT dependent on how > the user does an Access install unless you unwisely (no pun intended) > install the runtime in a generic location where it can be easily > mucked up. We install the runtime files in their own directory and > have not run into any collisions with installed versions of Access, > either before or after the installation of the runtime. We've been > doing this for years through multiple versions of Access (and > Windows), so I think you can say it is time tested. > > The only real issue with runtime and full install on the same machine > is that you MUST start the application using a shortcut that > specifically points to the runtime executable or Windows will try to > load the last full version of Access to open the database, whether or > not it is appropriate. > > Charlotte Foust > > > -----Original Message----- > From: William Hindman [mailto:dejpolsys at hotmail.com] > Sent: Monday, August 01, 2005 8:53 PM > To: Access Developers discussion and problem solving > Subject: Re: [AccessD] Runtime Vs Full Access Install > > > Kath ...afaik the runtime is a "package" at install only ...but if a > user subsequently installs full Access ...any version ...all bets are > off because > your runtime files integrity is dependent upon how the user does the > install > ..a "default" install will screw your runtime more often than not > because > it defaults to removing older file versions, even if they are needed by > your > runtime ...Wise/Sage won't block that type of problem from happening > either > but when you reinstall your runtime they will handle the concurrent full > > version issues for you. > > ..I work with no full Access installs allowed on client systems with > the > > exception of developer dedicated workstations ...and no "office" > upgrades either even if they don't include Access, except by me ...the > latter because > the office vba modules share some common parts with Access vba. > > ..but I'll be the first to admit that most developers don't have that > type of control over their app runtime environments and there may well > be other, > better ways to deal with it ...I just find that keeping it clean makes > my > life a lot simpler and my clients with a lot fewer problems. > > William > > ----- Original Message ----- > From: "Kath Pelletti" > To: > Sent: Monday, August 01, 2005 9:04 PM > Subject: Re: [AccessD] Runtime Vs Full Access Install > > > William - maybe I have misunderstood. I thought that by including all > dll's (or other files referred to in the vba references) in the > runtime install > package, that it could then be standalone. By that I mean that it would > run > regardless of whether the user had (any version of Access) or not, as it > is > a packaged entity. > > Have I got that wrong? (And I am assuming using Sage / Wise) > > Kath > > > ----- Original Message ----- > From: William Hindman > To: Access Developers discussion and problem solving > Sent: Thursday, July 28, 2005 3:26 PM > Subject: Re: [AccessD] Runtime Vs Full Access Install > > > ..hhhmmm ...either I'm misreading you or there is a fundamental > misunderstanding somewhere in here ...a runtime mdb/mde is exactly the > > same > as a full install mdb/mde ...the difference is that Access itself is > not fully installed in a runtime ...the design/coding elements are > not there > so > a user can't change anything ...it runs exactly as you designed it to > run. > > ..if you have an A97 mdb and an A2k runtime it should still run as > long as the references are there ...but the reverse is not true ...so > I use startup > code to check the installed version and call the corresponding fe > mdb/mde. > > ..if you invest in the wise install tools, they handle those issues > much better than the native Access distribution tools do and the > default is to > let them do all the work for you. > > William > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From cfoust at infostatsystems.com Tue Aug 2 13:10:04 2005 From: cfoust at infostatsystems.com (Charlotte Foust) Date: Tue, 2 Aug 2005 11:10:04 -0700 Subject: [AccessD] Fw: ICE - In Case of Emergency Message-ID: I'm not arguing against it, but unless you have a way to expose just those numbers, it also means you can't lock your phone. A lot of phones only provide that lock-bypass functionality for a single register, or sometimes that plus a 911-type emergency number. Personally, I have the police department number in that register on my phone, which won't help emergency personnel. True, most people don't wear medic alert bracelets, even those who should. It wouldn't be a bad idea if everyone who wears contact lenses or has allergies or any other mild "condition" wore a bracelet. It would certainly simplify the lives of the EMTs, paramedics, and anyone else dealing with an unconscious and unknown patient. Charlotte Foust -----Original Message----- From: William Hindman [mailto:dejpolsys at hotmail.com] Sent: Tuesday, August 02, 2005 10:48 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Fw: ICE - In Case of Emergency Charlotte ..medic alert bracelets serve a certain purpose quite well, but most of us don't need or wear one ...ICE has a single purpose which is to tell the people trying to notify your next of kin just exactly who YOU want notified and how to do it using your own cell phone, which most of us do "wear" in one fashion or another :) ..while its true that you can become separated from your cell phone in such an emergency, most don't ...and even if you do, you're no worse off than if you didn't program the ICE numbers in the first place ...the paramedics and police around here are certainly promoting its use. William ----- Original Message ----- From: "Charlotte Foust" To: "Access Developers discussion and problem solving" Sent: Tuesday, August 02, 2005 11:41 AM Subject: RE: [AccessD] Fw: ICE - In Case of Emergency >I wear a medic-alert bracelet. They're already trained to check that >and it has a phone number to access my emergency information as well as >my medical history. I think that's more useful. > > Charlotte Foust > > > -----Original Message----- > From: Liz Doering [mailto:ldoering at symphonyinfo.com] > Sent: Monday, August 01, 2005 8:44 PM > To: Access Developers discussion and problem solving > Subject: RE: [AccessD] Fw: ICE - In Case of Emergency > > > This is probably OT, but my husband the paramedic was doubtful that > ICE would be helpful. IF your phone makes it all the way to the > emergency room with you and IF you are otherwise unidentified, then > ER people might find it helpful. But paramedics are more concerned > with you and your injuries than with who you want notified. > > > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of > dmcafee at pacbell.net > Sent: Monday, August 01, 2005 3:46 PM > To: Access Developers discussion and problem solving > Subject: RE: [AccessD] Fw: ICE - In Case of Emergency > > My sister in law just sent me this last week too. What's funny is I've > always added "Home" to my address book not only for that reason but if > an honest person ever found my lost cell phone. > > oh, and try to carry ID at all times ;) > > D > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of John Eget > Sent: Monday, August 01, 2005 1:08 PM > To: AccessD at databaseadvisors.com > Subject: [AccessD] Fw: ICE - In Case of Emergency > > > I put an underscore in front of my _ICE and also have _ICE1, _ICE2, > and _IC#3 > > Subject: ICE - In Case of Emergency > > > http://abclocal.go.com/wabc/news/wabc_072605_icecellphone.html > > > > Just wanted to share some good info if it's ever needed. > > > > Mark > > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > > > > > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From Lambert.Heenan at AIG.com Tue Aug 2 13:23:40 2005 From: Lambert.Heenan at AIG.com (Heenan, Lambert) Date: Tue, 2 Aug 2005 14:23:40 -0400 Subject: [AccessD] Fw: ICE - In Case of Emergency Message-ID: <1D7828CDB8350747AFE9D69E0E90DA1F13D6E0E7@xlivmbx21.aig.com> As a proud non-cell phone user ( who *needs* them!) I would suggest a much simpler, lo-tech solution: carry a card in you wallet, right next to your kidney donor card. No privacy problems, no need for the EMT to know how to bypass your phone security, no batteries required. Lambert -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Charlotte Foust Sent: Tuesday, August 02, 2005 2:10 PM To: Access Developers discussion and problem solving Subject: RE: [AccessD] Fw: ICE - In Case of Emergency I'm not arguing against it, but unless you have a way to expose just those numbers, it also means you can't lock your phone. A lot of phones only provide that lock-bypass functionality for a single register, or sometimes that plus a 911-type emergency number. Personally, I have the police department number in that register on my phone, which won't help emergency personnel. True, most people don't wear medic alert bracelets, even those who should. It wouldn't be a bad idea if everyone who wears contact lenses or has allergies or any other mild "condition" wore a bracelet. It would certainly simplify the lives of the EMTs, paramedics, and anyone else dealing with an unconscious and unknown patient. Charlotte Foust -----Original Message----- From: William Hindman [mailto:dejpolsys at hotmail.com] Sent: Tuesday, August 02, 2005 10:48 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Fw: ICE - In Case of Emergency Charlotte ..medic alert bracelets serve a certain purpose quite well, but most of us don't need or wear one ...ICE has a single purpose which is to tell the people trying to notify your next of kin just exactly who YOU want notified and how to do it using your own cell phone, which most of us do "wear" in one fashion or another :) ..while its true that you can become separated from your cell phone in such an emergency, most don't ...and even if you do, you're no worse off than if you didn't program the ICE numbers in the first place ...the paramedics and police around here are certainly promoting its use. William ----- Original Message ----- From: "Charlotte Foust" To: "Access Developers discussion and problem solving" Sent: Tuesday, August 02, 2005 11:41 AM Subject: RE: [AccessD] Fw: ICE - In Case of Emergency >I wear a medic-alert bracelet. They're already trained to check that >and it has a phone number to access my emergency information as well as >my medical history. I think that's more useful. > > Charlotte Foust > > > -----Original Message----- > From: Liz Doering [mailto:ldoering at symphonyinfo.com] > Sent: Monday, August 01, 2005 8:44 PM > To: Access Developers discussion and problem solving > Subject: RE: [AccessD] Fw: ICE - In Case of Emergency > > > This is probably OT, but my husband the paramedic was doubtful that > ICE would be helpful. IF your phone makes it all the way to the > emergency room with you and IF you are otherwise unidentified, then > ER people might find it helpful. But paramedics are more concerned > with you and your injuries than with who you want notified. > > > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of > dmcafee at pacbell.net > Sent: Monday, August 01, 2005 3:46 PM > To: Access Developers discussion and problem solving > Subject: RE: [AccessD] Fw: ICE - In Case of Emergency > > My sister in law just sent me this last week too. What's funny is I've > always added "Home" to my address book not only for that reason but if > an honest person ever found my lost cell phone. > > oh, and try to carry ID at all times ;) > > D > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of John Eget > Sent: Monday, August 01, 2005 1:08 PM > To: AccessD at databaseadvisors.com > Subject: [AccessD] Fw: ICE - In Case of Emergency > > > I put an underscore in front of my _ICE and also have _ICE1, _ICE2, > and _IC#3 > > Subject: ICE - In Case of Emergency > > > http://abclocal.go.com/wabc/news/wabc_072605_icecellphone.html > > > > Just wanted to share some good info if it's ever needed. > > > > Mark > > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > > > > > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd 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 Tue Aug 2 15:03:11 2005 From: andy at minstersystems.co.uk (Andy Lacey) Date: Tue, 2 Aug 2005 21:03:11 +0100 Subject: [AccessD] Fw: ICE - In Case of Emergency In-Reply-To: <1D7828CDB8350747AFE9D69E0E90DA1F13D6E0E7@xlivmbx21.aig.com> Message-ID: <002501c5979d$35e2e8d0$901b0c54@minster33c3r25> I appreciate the seriousness of the issue but it still isn't Access and neither is it Friday so, interesting as it is, would you please take this thread to the OT list. Many thanks. -- Andy Lacey http://www.minstersystems.co.uk > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of > Heenan, Lambert > Sent: 02 August 2005 19:24 > To: 'Access Developers discussion and problem solving' > Subject: RE: [AccessD] Fw: ICE - In Case of Emergency > > > As a proud non-cell phone user ( who *needs* them!) I would > suggest a much simpler, lo-tech solution: carry a card in you > wallet, right next to your kidney donor card. No privacy > problems, no need for the EMT to know how to bypass your > phone security, no batteries required. > > Lambert > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of > Charlotte Foust > Sent: Tuesday, August 02, 2005 2:10 PM > To: Access Developers discussion and problem solving > Subject: RE: [AccessD] Fw: ICE - In Case of Emergency > > > I'm not arguing against it, but unless you have a way to > expose just those numbers, it also means you can't lock your > phone. A lot of phones only provide that lock-bypass > functionality for a single register, or sometimes that plus a > 911-type emergency number. Personally, I have the police > department number in that register on my phone, which won't > help emergency personnel. > > True, most people don't wear medic alert bracelets, even > those who should. It wouldn't be a bad idea if everyone who > wears contact lenses or has allergies or any other mild > "condition" wore a bracelet. It would certainly simplify the > lives of the EMTs, paramedics, and anyone else dealing with > an unconscious and unknown patient. > > Charlotte Foust > > > -----Original Message----- > From: William Hindman [mailto:dejpolsys at hotmail.com] > Sent: Tuesday, August 02, 2005 10:48 AM > To: Access Developers discussion and problem solving > Subject: Re: [AccessD] Fw: ICE - In Case of Emergency > > > Charlotte > > ..medic alert bracelets serve a certain purpose quite well, > but most of us > don't need or wear one ...ICE has a single purpose which is > to tell the > people trying to notify your next of kin just exactly who YOU > want notified > and how to do it using your own cell phone, which most of us > do "wear" in > one fashion or another :) > > ..while its true that you can become separated from your cell > phone in such > an emergency, most don't ...and even if you do, you're no > worse off than if > you didn't program the ICE numbers in the first place ...the > paramedics and > police around here are certainly promoting its use. > > William > > ----- Original Message ----- > From: "Charlotte Foust" > To: "Access Developers discussion and problem solving" > > Sent: Tuesday, August 02, 2005 11:41 AM > Subject: RE: [AccessD] Fw: ICE - In Case of Emergency > > > >I wear a medic-alert bracelet. They're already trained to > check that > >and it has a phone number to access my emergency information > as well as > > >my medical history. I think that's more useful. > > > > Charlotte Foust > > > > > > -----Original Message----- > > From: Liz Doering [mailto:ldoering at symphonyinfo.com] > > Sent: Monday, August 01, 2005 8:44 PM > > To: Access Developers discussion and problem solving > > Subject: RE: [AccessD] Fw: ICE - In Case of Emergency > > > > > > This is probably OT, but my husband the paramedic was doubtful that > > ICE would be helpful. IF your phone makes it all the way to the > > emergency room with you and IF you are otherwise > unidentified, then > > ER people might find it helpful. But paramedics are more concerned > > with you and your injuries than with who you want notified. > > > > > > > > -----Original Message----- > > From: accessd-bounces at databaseadvisors.com > > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of > > dmcafee at pacbell.net > > Sent: Monday, August 01, 2005 3:46 PM > > To: Access Developers discussion and problem solving > > Subject: RE: [AccessD] Fw: ICE - In Case of Emergency > > > > My sister in law just sent me this last week too. What's > funny is I've > > > always added "Home" to my address book not only for that > reason but if > > > an honest person ever found my lost cell phone. > > > > oh, and try to carry ID at all times ;) > > > > D > > > > -----Original Message----- > > From: accessd-bounces at databaseadvisors.com > > [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of John Eget > > Sent: Monday, August 01, 2005 1:08 PM > > To: AccessD at databaseadvisors.com > > Subject: [AccessD] Fw: ICE - In Case of Emergency > > > > > > I put an underscore in front of my _ICE and also have _ICE1, _ICE2, > > and _IC#3 > > > > Subject: ICE - In Case of Emergency > > > > > > http://abclocal.go.com/wabc/news/wabc_072605_icecellphone.html > > > > > > > > Just wanted to share some good info if it's ever needed. > > > > > > > > Mark > > > > > > -- > > AccessD mailing list > > AccessD at databaseadvisors.com > > http://databaseadvisors.com/mailman/listinfo/accessd > > Website: http://www.databaseadvisors.com > > > > -- > > AccessD mailing list > > AccessD at databaseadvisors.com > > http://databaseadvisors.com/mailman/listinfo/accessd > > Website: http://www.databaseadvisors.com > > > > > > > > > > > > -- > > AccessD mailing list > > AccessD at databaseadvisors.com > > http://databaseadvisors.com/mailman/listinfo/accessd > > Website: http://www.databaseadvisors.com > > -- > > AccessD mailing list > > AccessD at databaseadvisors.com > > http://databaseadvisors.com/mailman/listinfo/accessd > > Website: http://www.databaseadvisors.com > > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > > From jmhecht at earthlink.net Tue Aug 2 15:56:11 2005 From: jmhecht at earthlink.net (Joe Hecht) Date: Tue, 2 Aug 2005 13:56:11 -0700 Subject: [AccessD] Fw: ICE - In Case of Emergency In-Reply-To: <00a401c596d5$3a3a8000$efc2f63f@Desktop> Message-ID: <002401c597a4$9da9f880$6401a8c0@laptop1> Urban legends See Below http://www.snopes.com/crime/prevent/icephone.asp Joe Hecht Los Angeles CA -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of John Eget Sent: Monday, August 01, 2005 1:08 PM To: access at joe2.endjunk.com; AccessD at databaseadvisors.com Subject: [AccessD] Fw: ICE - In Case of Emergency I put an underscore in front of my _ICE and also have _ICE1, _ICE2, and _IC#3 Subject: ICE - In Case of Emergency http://abclocal.go.com/wabc/news/wabc_072605_icecellphone.html Just wanted to share some good info if it's ever needed. Mark -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From csphoon at pc.jaring.my Tue Aug 2 15:58:53 2005 From: csphoon at pc.jaring.my (Trisha Duke) Date: Tue, 02 Aug 2005 21:58:53 +0100 Subject: [AccessD] Access 2000 creating MDE Message-ID: <42EFDE8D.5040105@pc.jaring.my> hi everyone, Does anybody know why when i create a MDE file in Access 2000, it only allows me to save the file with a one character filename, eg A.MDE. Even if i change it to a full name , it still save as one character file name. I have completely reinstall access 2000. I can only assume it maybe a problem with winXP which i am using. Regards, Trisha From martyconnelly at shaw.ca Tue Aug 2 16:20:48 2005 From: martyconnelly at shaw.ca (MartyConnelly) Date: Tue, 02 Aug 2005 14:20:48 -0700 Subject: [AccessD] Problems with word Automation References: <20050802153529.41110.qmail@web53604.mail.yahoo.com> Message-ID: <42EFE3B0.9010305@shaw.ca> You are using late binding so you don't need any references set to Word, which maybe causing the problem It might be useful to have a reference if using intellisense or looking at object browser but you would remove the reference before deploying with late binding. With late binding it will grab the highest version of word on the system You might be using some esoteric part of word say using xml file routines that don't exist in Word 97, so you may want to check the version of word running to avoid problems with lower versions. On Error Resume Next ' grab word if already running Set objWord = GetObject(, "Word.Application") On Error GoTo 0 ' or if word not already running error Err.Number = 429 or set to nothing If objWord Is Nothing Then Set objWord = CreateObject("Word.Application") Debug.Print objWord.Version ' if Word 97 SP2 then Word Version= 8.0b ' Word 9 opens a separate window for each document. ' Prior to Word 9, all documents opened in the same window. End If Kim Wiggins wrote: >I am using >Set objWord = CreateObject("Word.Application") > >Do you think that could be the problem? >Kim > > >MartyConnelly wrote: >Are you using early or late binding. >Set objWord = CreateObject("Word.Application") >or >Set objWord = New Word.Application >Funny things may happen with early binding if newer versions of word >installed and then uninstalled. > >Kim Wiggins wrote: > > > >>Hey everyone >>Hope all is well. I am not. I coded an automation report in VB6 using Word and it works fine on my work laptop and my laptop at home. But when I install it on the users computer, it gives me the standard application error and shuts down. It says "My_app_name has encountered an error and must close" and then it offers to send a report. Well that is flooring me because it runs in the development environment on both machines just fine. >>Can anyone think of anything that I am missing or overlooking? >>Thanks >>Kim >> >> >>--------------------------------- >>Start your day with Yahoo! - make it your home page >> >> >> >> > > > -- Marty Connelly Victoria, B.C. Canada From stuart at lexacorp.com.pg Tue Aug 2 16:59:04 2005 From: stuart at lexacorp.com.pg (Stuart McLachlan) Date: Wed, 03 Aug 2005 07:59:04 +1000 Subject: [AccessD] PassThrough (Creation/ Modification) Issues In-Reply-To: References: <20050802062538.54680.qmail@web31611.mail.mud.yahoo.com> Message-ID: <42F07948.24207.EC24250@stuart.lexacorp.com.pg> On 2 Aug 2005 at 11:17, Jim Dettman wrote: > < does not work and why it does not show up in the > database container?>> > > Read the first paragraph of the link you posted (the one that says > "Important"). > That's scary! Imagine trying to maintain an application that uses queries that you can't see once you have created them! -- Stuart From vrm at tim-cms.com Tue Aug 2 17:41:14 2005 From: vrm at tim-cms.com (| Marcel Vreuls) Date: Wed, 3 Aug 2005 00:41:14 +0200 Subject: [AccessD] Problems with word Automation In-Reply-To: <20050802154023.63301.qmail@web53602.mail.yahoo.com> Message-ID: <001001c597b3$4a0c2fe0$0100000a@GALAXY.local> Kim, I used early binding with the error. But the fact is that early or late binding does not solve your problem (IF this is the problem in your case). It only gives errors in different stages within your application. With early binding it occurs by startup. With late binding it occurs when you try to create your word app with the createobject statement. Msword8.olb = Word 97 MSWORD9.OLB = Word 2000 etc but you can check it by clicking with your right mouse button on the olb file en check the version information If you use Word 10.0 (office XP) and your client uses word 2000 you get an error. It depends how your errorhandling is what your app will do. Crash, write to log and crash, etc..etc..etc.. -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Kim Wiggins Sent: dinsdag 2 augustus 2005 17:40 To: Access Developers discussion and problem solving Subject: RE: [AccessD] Problems with word Automation Thanks so much. I thought that it had something to do with that. Did you then use late binding instead of early binding in that instance? How can I tell which OLB to use with the version of word they have? The OLB I used was Word 10.0 Object. That was the only one available in my references on my version of VB6. | Marcel Vreuls wrote:Kim, I had the same experience once. This was because of early binding problem (direct crash of the app) and a different office version (reason why). I had office 97 on my development envirnment. This all works fine. on the client machine it crashes. Due to the fact that de client had office 2000 or higher. I fixed it with delivering the word 97 OLB with the application because i would not make a seperate version of my app for each office version. Built in proper logging with the debug option. It should give you a lot of information. -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Kim Wiggins Sent: dinsdag 2 augustus 2005 0:18 To: AccessD at databaseadvisors.com Subject: [AccessD] Problems with word Automation Hey everyone Hope all is well. I am not. I coded an automation report in VB6 using Word and it works fine on my work laptop and my laptop at home. But when I install it on the users computer, it gives me the standard application error and shuts down. It says "My_app_name has encountered an error and must close" and then it offers to send a report. Well that is flooring me because it runs in the development environment on both machines just fine. Can anyone think of anything that I am missing or overlooking? Thanks Kim --------------------------------- Start your day with Yahoo! - make it your home page -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/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!? Tired of spam? Yahoo! Mail has the best spam protection around http://mail.yahoo.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From kimjwiggins at yahoo.com Tue Aug 2 17:57:14 2005 From: kimjwiggins at yahoo.com (Kim Wiggins) Date: Tue, 2 Aug 2005 15:57:14 -0700 (PDT) Subject: [AccessD] Problems with word Automation In-Reply-To: <42EFE3B0.9010305@shaw.ca> Message-ID: <20050802225714.76759.qmail@web53604.mail.yahoo.com> Thanks so much Marty and Marcel for helping me to understand this better. This is my first attempt at automation. Unfortunately, I will not see this user until Saturday so I can't test it out until then but I will let you know next week if everything went well. Thanks MartyConnelly wrote:You are using late binding so you don't need any references set to Word, which maybe causing the problem It might be useful to have a reference if using intellisense or looking at object browser but you would remove the reference before deploying with late binding. With late binding it will grab the highest version of word on the system You might be using some esoteric part of word say using xml file routines that don't exist in Word 97, so you may want to check the version of word running to avoid problems with lower versions. On Error Resume Next ' grab word if already running Set objWord = GetObject(, "Word.Application") On Error GoTo 0 ' or if word not already running error Err.Number = 429 or set to nothing If objWord Is Nothing Then Set objWord = CreateObject("Word.Application") Debug.Print objWord.Version ' if Word 97 SP2 then Word Version= 8.0b ' Word 9 opens a separate window for each document. ' Prior to Word 9, all documents opened in the same window. End If Kim Wiggins wrote: >I am using >Set objWord = CreateObject("Word.Application") > >Do you think that could be the problem? >Kim > > >MartyConnelly wrote: >Are you using early or late binding. >Set objWord = CreateObject("Word.Application") >or >Set objWord = New Word.Application >Funny things may happen with early binding if newer versions of word >installed and then uninstalled. > >Kim Wiggins wrote: > > > >>Hey everyone >>Hope all is well. I am not. I coded an automation report in VB6 using Word and it works fine on my work laptop and my laptop at home. But when I install it on the users computer, it gives me the standard application error and shuts down. It says "My_app_name has encountered an error and must close" and then it offers to send a report. Well that is flooring me because it runs in the development environment on both machines just fine. >>Can anyone think of anything that I am missing or overlooking? >>Thanks >>Kim >> >> >>--------------------------------- >>Start your day with Yahoo! - make it your home page >> >> >> >> > > > -- Marty Connelly Victoria, B.C. Canada -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com __________________________________________________ Do You Yahoo!? Tired of spam? Yahoo! Mail has the best spam protection around http://mail.yahoo.com From jeff at boyes.net Tue Aug 2 18:06:19 2005 From: jeff at boyes.net (Jeff Boyes) Date: Tue, 2 Aug 2005 17:06:19 -0600 (MDT) Subject: [AccessD] Fw: ICE - In Case of Emergency In-Reply-To: <002401c597a4$9da9f880$6401a8c0@laptop1> References: <00a401c596d5$3a3a8000$efc2f63f@Desktop> <002401c597a4$9da9f880$6401a8c0@laptop1> Message-ID: <6348.192.25.240.225.1123023979.squirrel@boyes.net> Actually, Joe...NOT an Urban Legend, as the link you provided proves. Jeff > Urban legends > See Below > http://www.snopes.com/crime/prevent/icephone.asp > > Joe Hecht > Los Angeles CA > From jwcolby at colbyconsulting.com Tue Aug 2 18:54:05 2005 From: jwcolby at colbyconsulting.com (John W. Colby) Date: Tue, 02 Aug 2005 19:54:05 -0400 Subject: [AccessD] Serv-U Message-ID: <000401c597bd$7a9e6060$6c7aa8c0@ColbyM6805> I am trying to get Serv-U FTP server going on my server here in my office. The install was simple and just worked. It works just fine inside of my network, using ftp://192.168.122.106 (the server IP address) but I cannot see it going out to the internet and coming back in. I have a dlink 624 (I think) router, in which I have forwarded ports 20 and 21 to 192.168.122.106. I just cannot see the server, from my laptop, going out and back in. One of my tech assists suggested that my ISP might be blocking port 20/21, so I set up the server to look for the ftp at 59999 and then used :59999 at the end to try and force contact at that port. That does not work either. Can anyone suggest how to test this thing, coming in from the outside? If anyone out there knows this stuff, and in particular has experience with Serv-U, can you assist me in getting this working. John W. Colby www.ColbyConsulting.com Contribute your unused CPU cycles to a good cause: http://folding.stanford.edu/ From KP at sdsonline.net Tue Aug 2 19:05:34 2005 From: KP at sdsonline.net (Kath Pelletti) Date: Wed, 3 Aug 2005 10:05:34 +1000 Subject: [AccessD] Runtime Vs Full Access Install References: Message-ID: <008c01c597bf$124d2300$6601a8c0@user> Thanks everyone for this thread - I am taking from it the following: - Use late binding for the reference to Frontpage regardless to solve situation where user may / may not have Frontpage installed. - If distributing a runtime mde (app is already an mde) then include any dll's (and other files referenced by the app) that are redistributable in the package created by Sage / Wise. - Have the runtime set up to install to a separate location to the standard Access install - Use a specific shortcut to the runtime executable Kath ----- Original Message ----- From: Charlotte Foust To: Access Developers discussion and problem solving Sent: Wednesday, August 03, 2005 4:02 AM Subject: RE: [AccessD] Runtime Vs Full Access Install The packaging wizard in all its versions has been a pathetic installer. It gave you no choice as to where the dlls (or pretty much anything else except the mdb itself) were installed. Wise and InstallShield have far greater flexibility and SageKey makes them hum. Actually, as I recall pretty much *every* version of Office has asked if you want to remove the previous version, including the runtime, so that isn't peculiar to 2003 and it's something the client either have to be warned about, or you have to say, "Look, dummy, you broke it. Now reinstall my application from your CD." ;-} Charlotte Foust -----Original Message----- From: William Hindman [mailto:dejpolsys at hotmail.com] Sent: Tuesday, August 02, 2005 10:38 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Runtime Vs Full Access Install ..hhhmmm ...the default runtime install using the Access ODE is to the same directory as a full install ...and that includes the WinSys32 directory ..since I no longer allow full Access installs I've had no need to use Wise ..installing the runtime to a different directory certainly makes sense but that would still leave the dlls and ocx's in the sys32 exposed unless Wise puts the alias' in the registry, something the ms runtime wizard certainly won't do. ..even with a runtime in a different directory and with aliased references, an A2k3 full install will ask if the user wants to remove previous versions and if the user oks it, will promptly remove an older runtime ...but then I suspect Wise has a way around that as well ...the long and short of it being that if you can't control the environment then Wise is a necessity, not a convenience. ..as with anything, you live and learn ...I'm an independent ...I don't need to and therefore don't take on clients that don't want to do it my way ..makes my life much less complicated ...I don't envy anyone forced to deal with client controlled application environments ...especially notwork dba's on steroids who don't know their own jobs, much less mine ...been there, done that and like pissing into the wind, it doesn't take a repeat to know better. ..hope all this hasn't left Kath more confused :) William ----- Original Message ----- From: "Charlotte Foust" To: "Access Developers discussion and problem solving" Sent: Tuesday, August 02, 2005 11:47 AM Subject: RE: [AccessD] Runtime Vs Full Access Install > Then you're very fortunate to have that much control, William, but I > must disagree with you. Your runtime files are NOT dependent on how > the user does an Access install unless you unwisely (no pun intended) > install the runtime in a generic location where it can be easily > mucked up. We install the runtime files in their own directory and > have not run into any collisions with installed versions of Access, > either before or after the installation of the runtime. We've been > doing this for years through multiple versions of Access (and > Windows), so I think you can say it is time tested. > > The only real issue with runtime and full install on the same machine > is that you MUST start the application using a shortcut that > specifically points to the runtime executable or Windows will try to > load the last full version of Access to open the database, whether or > not it is appropriate. > > Charlotte Foust > > > -----Original Message----- > From: William Hindman [mailto:dejpolsys at hotmail.com] > Sent: Monday, August 01, 2005 8:53 PM > To: Access Developers discussion and problem solving > Subject: Re: [AccessD] Runtime Vs Full Access Install > > > Kath ...afaik the runtime is a "package" at install only ...but if a > user subsequently installs full Access ...any version ...all bets are > off because > your runtime files integrity is dependent upon how the user does the > install > ..a "default" install will screw your runtime more often than not > because > it defaults to removing older file versions, even if they are needed by > your > runtime ...Wise/Sage won't block that type of problem from happening > either > but when you reinstall your runtime they will handle the concurrent full > > version issues for you. > > ..I work with no full Access installs allowed on client systems with > the > > exception of developer dedicated workstations ...and no "office" > upgrades either even if they don't include Access, except by me ...the > latter because > the office vba modules share some common parts with Access vba. > > ..but I'll be the first to admit that most developers don't have that > type of control over their app runtime environments and there may well > be other, > better ways to deal with it ...I just find that keeping it clean makes > my > life a lot simpler and my clients with a lot fewer problems. > > William > > ----- Original Message ----- > From: "Kath Pelletti" > To: > Sent: Monday, August 01, 2005 9:04 PM > Subject: Re: [AccessD] Runtime Vs Full Access Install > > > William - maybe I have misunderstood. I thought that by including all > dll's (or other files referred to in the vba references) in the > runtime install > package, that it could then be standalone. By that I mean that it would > run > regardless of whether the user had (any version of Access) or not, as it > is > a packaged entity. > > Have I got that wrong? (And I am assuming using Sage / Wise) > > Kath > > > ----- Original Message ----- > From: William Hindman > To: Access Developers discussion and problem solving > Sent: Thursday, July 28, 2005 3:26 PM > Subject: Re: [AccessD] Runtime Vs Full Access Install > > > ..hhhmmm ...either I'm misreading you or there is a fundamental > misunderstanding somewhere in here ...a runtime mdb/mde is exactly the > > same > as a full install mdb/mde ...the difference is that Access itself is > not fully installed in a runtime ...the design/coding elements are > not there > so > a user can't change anything ...it runs exactly as you designed it to > run. > > ..if you have an A97 mdb and an A2k runtime it should still run as > long as the references are there ...but the reverse is not true ...so > I use startup > code to check the installed version and call the corresponding fe > mdb/mde. > > ..if you invest in the wise install tools, they handle those issues > much better than the native Access distribution tools do and the > default is to > let them do all the work for you. > > William > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From ebarro at afsweb.com Tue Aug 2 19:07:39 2005 From: ebarro at afsweb.com (Eric Barro) Date: Tue, 2 Aug 2005 17:07:39 -0700 Subject: [AccessD] Serv-U In-Reply-To: <000401c597bd$7a9e6060$6c7aa8c0@ColbyM6805> Message-ID: How are you trying to get back out and into your FTP server? Are you trying to get to it using a different machine? Check the firewall settings on the machine to see if it is accepting outside connections for the protocol that FTP is listening on. To check if a particular port is being used by a protocol go to the command prompt and type NETSTAT -a. -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of John W. Colby Sent: Tuesday, August 02, 2005 4:54 PM To: 'Access Developers discussion and problem solving'; Tech - Database Advisors Inc. Subject: [AccessD] Serv-U I am trying to get Serv-U FTP server going on my server here in my office. The install was simple and just worked. It works just fine inside of my network, using ftp://192.168.122.106 (the server IP address) but I cannot see it going out to the internet and coming back in. I have a dlink 624 (I think) router, in which I have forwarded ports 20 and 21 to 192.168.122.106. I just cannot see the server, from my laptop, going out and back in. One of my tech assists suggested that my ISP might be blocking port 20/21, so I set up the server to look for the ftp at 59999 and then used :59999 at the end to try and force contact at that port. That does not work either. Can anyone suggest how to test this thing, coming in from the outside? If anyone out there knows this stuff, and in particular has experience with Serv-U, can you assist me in getting this working. John W. Colby www.ColbyConsulting.com Contribute your unused CPU cycles to a good cause: http://folding.stanford.edu/ -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com ---------------------------------------------------------------- The information contained in this e-mail message and any file, document, previous e-mail message and/or attachment transmitted herewith is confidential and may be legally privileged. It is intended solely for the private use of the addressee and must not be disclosed to or used by anyone other than the addressee. If you receive this transmission by error, please immediately notify the sender by reply e-mail and destroy the original transmission and its attachments without reading or saving it in any manner. If you are not the intended recipient, or a person responsible for delivering it to the intended recipient, you are hereby notified that any disclosure, copying, distribution or use of any of the information contained in or attached to this transmission is STRICTLY PROHIBITED. E-mail transmission cannot be guaranteed to be secure or error free as information could be intercepted, corrupted, lost, destroyed, arrive late or incomplete, or contain viruses. The sender therefore does not accept liability for any errors or omissions in the contents of this message, which arise as a result of email transmission. Users and employees of the e-mail system are expressly required not to make defamatory statements and not to infringe or authorize any infringement of copyright or any other legal right by email communications. Any such communication is contrary to company policy. The company will not accept any liability in respect of such communication. From jwcolby at colbyconsulting.com Tue Aug 2 19:44:45 2005 From: jwcolby at colbyconsulting.com (John W. Colby) Date: Tue, 02 Aug 2005 20:44:45 -0400 Subject: [AccessD] Serv-U In-Reply-To: Message-ID: <000501c597c4$8e670eb0$6c7aa8c0@ColbyM6805> All of the machines in my network have Sygate personal firewall installed on them, but I have unloaded (closed) that on both the server and my laptop which I am using to test the FTP server. From my laptop, inside of my network, I can use IE to go to the server ftp address, see the ftp directories etc. I am asked for the username and password by the FTP server, and once I enter them I can see the directories. I can send files from my laptop to the directories for that username. I can move files into those directories directly on the server machine, and I can then see them using IE Explorer and FTPing into that machine (locally). As for "going out and back in, I use No-IP to discover my IP address assigned by the cable company. I then enter that at IE address bar: ftp://68.198.141.18 Doing that, IE "hangs for a long time", then comes back and says it can't find the address. One thing that I have discovered is that the WAN IP address is 192.168.102.100, and the "default gateway" is 192.168.102.1 for the WAN according to the router, whereas the interior IP group is 192.168.122.1XX - (100-199). The LAN IP address is 192.168.122.1 Why is the wan .102.100 and everything else 122.1xx? I have no clue what that means, just that is seems strange to me. The router is the DHCP server for the network (which is a workgroup) and the FTP Server is assigned .106 all of the time, with other machines also assigned specific addresses. I did this so that I could vnc / remote desktop in to my LAN from outside and count on getting to specific machines. I have had all of that working in the past, though I don't guarantee that it still does. It seems to me to be an issue with the router, port forwarding and so forth since I can do everything from inside the network. OTOH, I don't know that my request is even getting out to the internet, never mind back in. John W. Colby www.ColbyConsulting.com Contribute your unused CPU cycles to a good cause: http://folding.stanford.edu/ -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Eric Barro Sent: Tuesday, August 02, 2005 8:08 PM To: 'Access Developers discussion and problem solving' Subject: RE: [AccessD] Serv-U How are you trying to get back out and into your FTP server? Are you trying to get to it using a different machine? Check the firewall settings on the machine to see if it is accepting outside connections for the protocol that FTP is listening on. To check if a particular port is being used by a protocol go to the command prompt and type NETSTAT -a. -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of John W. Colby Sent: Tuesday, August 02, 2005 4:54 PM To: 'Access Developers discussion and problem solving'; Tech - Database Advisors Inc. Subject: [AccessD] Serv-U I am trying to get Serv-U FTP server going on my server here in my office. The install was simple and just worked. It works just fine inside of my network, using ftp://192.168.122.106 (the server IP address) but I cannot see it going out to the internet and coming back in. I have a dlink 624 (I think) router, in which I have forwarded ports 20 and 21 to 192.168.122.106. I just cannot see the server, from my laptop, going out and back in. One of my tech assists suggested that my ISP might be blocking port 20/21, so I set up the server to look for the ftp at 59999 and then used :59999 at the end to try and force contact at that port. That does not work either. Can anyone suggest how to test this thing, coming in from the outside? If anyone out there knows this stuff, and in particular has experience with Serv-U, can you assist me in getting this working. John W. Colby www.ColbyConsulting.com Contribute your unused CPU cycles to a good cause: http://folding.stanford.edu/ -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com ---------------------------------------------------------------- The information contained in this e-mail message and any file, document, previous e-mail message and/or attachment transmitted herewith is confidential and may be legally privileged. It is intended solely for the private use of the addressee and must not be disclosed to or used by anyone other than the addressee. If you receive this transmission by error, please immediately notify the sender by reply e-mail and destroy the original transmission and its attachments without reading or saving it in any manner. If you are not the intended recipient, or a person responsible for delivering it to the intended recipient, you are hereby notified that any disclosure, copying, distribution or use of any of the information contained in or attached to this transmission is STRICTLY PROHIBITED. E-mail transmission cannot be guaranteed to be secure or error free as information could be intercepted, corrupted, lost, destroyed, arrive late or incomplete, or contain viruses. The sender therefore does not accept liability for any errors or omissions in the contents of this message, which arise as a result of email transmission. Users and employees of the e-mail system are expressly required not to make defamatory statements and not to infringe or authorize any infringement of copyright or any other legal right by email communications. Any such communication is contrary to company policy. The company will not accept any liability in respect of such communication. -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From jason at purplecone.com Tue Aug 2 20:34:11 2005 From: jason at purplecone.com (Jason Strickland) Date: Tue, 2 Aug 2005 21:34:11 -0400 Subject: [AccessD] Serv-U In-Reply-To: <000501c597c4$8e670eb0$6c7aa8c0@ColbyM6805> Message-ID: <200508030134.j731Y3R07106@databaseadvisors.com> If you are physically on the inside LAN, you cannot connect to the ftp server using the outside address. You need a workstation on the outside to connect to your public IP and you should be able to get in. I tried to ftp to 68.198.141.18 but it timed out. By looking at your Ip, I am assuming you are on cable. Some cable modems issue a DHCP and I am assuming your router is getting the DHCP of 192.168.102.100 and the modem interface is 192.168.102.1 Your dlink then does nat for the other ip range. -Jason -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of John W. Colby Sent: 08/02/2005 8:45 PM To: 'Access Developers discussion and problem solving'; Tech - Database Advisors Inc. Subject: RE: [AccessD] Serv-U All of the machines in my network have Sygate personal firewall installed on them, but I have unloaded (closed) that on both the server and my laptop which I am using to test the FTP server. From my laptop, inside of my network, I can use IE to go to the server ftp address, see the ftp directories etc. I am asked for the username and password by the FTP server, and once I enter them I can see the directories. I can send files from my laptop to the directories for that username. I can move files into those directories directly on the server machine, and I can then see them using IE Explorer and FTPing into that machine (locally). As for "going out and back in, I use No-IP to discover my IP address assigned by the cable company. I then enter that at IE address bar: ftp://68.198.141.18 Doing that, IE "hangs for a long time", then comes back and says it can't find the address. One thing that I have discovered is that the WAN IP address is 192.168.102.100, and the "default gateway" is 192.168.102.1 for the WAN according to the router, whereas the interior IP group is 192.168.122.1XX - (100-199). The LAN IP address is 192.168.122.1 Why is the wan .102.100 and everything else 122.1xx? I have no clue what that means, just that is seems strange to me. The router is the DHCP server for the network (which is a workgroup) and the FTP Server is assigned .106 all of the time, with other machines also assigned specific addresses. I did this so that I could vnc / remote desktop in to my LAN from outside and count on getting to specific machines. I have had all of that working in the past, though I don't guarantee that it still does. It seems to me to be an issue with the router, port forwarding and so forth since I can do everything from inside the network. OTOH, I don't know that my request is even getting out to the internet, never mind back in. John W. Colby www.ColbyConsulting.com Contribute your unused CPU cycles to a good cause: http://folding.stanford.edu/ -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Eric Barro Sent: Tuesday, August 02, 2005 8:08 PM To: 'Access Developers discussion and problem solving' Subject: RE: [AccessD] Serv-U How are you trying to get back out and into your FTP server? Are you trying to get to it using a different machine? Check the firewall settings on the machine to see if it is accepting outside connections for the protocol that FTP is listening on. To check if a particular port is being used by a protocol go to the command prompt and type NETSTAT -a. -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of John W. Colby Sent: Tuesday, August 02, 2005 4:54 PM To: 'Access Developers discussion and problem solving'; Tech - Database Advisors Inc. Subject: [AccessD] Serv-U I am trying to get Serv-U FTP server going on my server here in my office. The install was simple and just worked. It works just fine inside of my network, using ftp://192.168.122.106 (the server IP address) but I cannot see it going out to the internet and coming back in. I have a dlink 624 (I think) router, in which I have forwarded ports 20 and 21 to 192.168.122.106. I just cannot see the server, from my laptop, going out and back in. One of my tech assists suggested that my ISP might be blocking port 20/21, so I set up the server to look for the ftp at 59999 and then used :59999 at the end to try and force contact at that port. That does not work either. Can anyone suggest how to test this thing, coming in from the outside? If anyone out there knows this stuff, and in particular has experience with Serv-U, can you assist me in getting this working. John W. Colby www.ColbyConsulting.com Contribute your unused CPU cycles to a good cause: http://folding.stanford.edu/ -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com ---------------------------------------------------------------- The information contained in this e-mail message and any file, document, previous e-mail message and/or attachment transmitted herewith is confidential and may be legally privileged. It is intended solely for the private use of the addressee and must not be disclosed to or used by anyone other than the addressee. If you receive this transmission by error, please immediately notify the sender by reply e-mail and destroy the original transmission and its attachments without reading or saving it in any manner. If you are not the intended recipient, or a person responsible for delivering it to the intended recipient, you are hereby notified that any disclosure, copying, distribution or use of any of the information contained in or attached to this transmission is STRICTLY PROHIBITED. E-mail transmission cannot be guaranteed to be secure or error free as information could be intercepted, corrupted, lost, destroyed, arrive late or incomplete, or contain viruses. The sender therefore does not accept liability for any errors or omissions in the contents of this message, which arise as a result of email transmission. Users and employees of the e-mail system are expressly required not to make defamatory statements and not to infringe or authorize any infringement of copyright or any other legal right by email communications. Any such communication is contrary to company policy. The company will not accept any liability in respect of such communication. -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd 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 Tue Aug 2 21:11:17 2005 From: ebarro at afsweb.com (Eric Barro) Date: Tue, 2 Aug 2005 19:11:17 -0700 Subject: [AccessD] Serv-U In-Reply-To: <200508030134.j731Y3R07106@databaseadvisors.com> Message-ID: Jason's right John. You can't go back into the internal network by using another machine that's on the same network subnet. The IP packets can't be routed properly because your source and destination address are going to be the same public IP. I also tried to ftp to the IP you specified but I got an error. Most cable providers block inbound port 21 and port 80 since they don't want people setting up servers behind the cable modem. -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Jason Strickland Sent: Tuesday, August 02, 2005 6:34 PM To: 'Access Developers discussion and problem solving' Subject: RE: [AccessD] Serv-U If you are physically on the inside LAN, you cannot connect to the ftp server using the outside address. You need a workstation on the outside to connect to your public IP and you should be able to get in. I tried to ftp to 68.198.141.18 but it timed out. By looking at your Ip, I am assuming you are on cable. Some cable modems issue a DHCP and I am assuming your router is getting the DHCP of 192.168.102.100 and the modem interface is 192.168.102.1 Your dlink then does nat for the other ip range. -Jason -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of John W. Colby Sent: 08/02/2005 8:45 PM To: 'Access Developers discussion and problem solving'; Tech - Database Advisors Inc. Subject: RE: [AccessD] Serv-U All of the machines in my network have Sygate personal firewall installed on them, but I have unloaded (closed) that on both the server and my laptop which I am using to test the FTP server. From my laptop, inside of my network, I can use IE to go to the server ftp address, see the ftp directories etc. I am asked for the username and password by the FTP server, and once I enter them I can see the directories. I can send files from my laptop to the directories for that username. I can move files into those directories directly on the server machine, and I can then see them using IE Explorer and FTPing into that machine (locally). As for "going out and back in, I use No-IP to discover my IP address assigned by the cable company. I then enter that at IE address bar: ftp://68.198.141.18 Doing that, IE "hangs for a long time", then comes back and says it can't find the address. One thing that I have discovered is that the WAN IP address is 192.168.102.100, and the "default gateway" is 192.168.102.1 for the WAN according to the router, whereas the interior IP group is 192.168.122.1XX - (100-199). The LAN IP address is 192.168.122.1 Why is the wan .102.100 and everything else 122.1xx? I have no clue what that means, just that is seems strange to me. The router is the DHCP server for the network (which is a workgroup) and the FTP Server is assigned .106 all of the time, with other machines also assigned specific addresses. I did this so that I could vnc / remote desktop in to my LAN from outside and count on getting to specific machines. I have had all of that working in the past, though I don't guarantee that it still does. It seems to me to be an issue with the router, port forwarding and so forth since I can do everything from inside the network. OTOH, I don't know that my request is even getting out to the internet, never mind back in. John W. Colby www.ColbyConsulting.com Contribute your unused CPU cycles to a good cause: http://folding.stanford.edu/ -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Eric Barro Sent: Tuesday, August 02, 2005 8:08 PM To: 'Access Developers discussion and problem solving' Subject: RE: [AccessD] Serv-U How are you trying to get back out and into your FTP server? Are you trying to get to it using a different machine? Check the firewall settings on the machine to see if it is accepting outside connections for the protocol that FTP is listening on. To check if a particular port is being used by a protocol go to the command prompt and type NETSTAT -a. -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of John W. Colby Sent: Tuesday, August 02, 2005 4:54 PM To: 'Access Developers discussion and problem solving'; Tech - Database Advisors Inc. Subject: [AccessD] Serv-U I am trying to get Serv-U FTP server going on my server here in my office. The install was simple and just worked. It works just fine inside of my network, using ftp://192.168.122.106 (the server IP address) but I cannot see it going out to the internet and coming back in. I have a dlink 624 (I think) router, in which I have forwarded ports 20 and 21 to 192.168.122.106. I just cannot see the server, from my laptop, going out and back in. One of my tech assists suggested that my ISP might be blocking port 20/21, so I set up the server to look for the ftp at 59999 and then used :59999 at the end to try and force contact at that port. That does not work either. Can anyone suggest how to test this thing, coming in from the outside? If anyone out there knows this stuff, and in particular has experience with Serv-U, can you assist me in getting this working. John W. Colby www.ColbyConsulting.com Contribute your unused CPU cycles to a good cause: http://folding.stanford.edu/ -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com ---------------------------------------------------------------- The information contained in this e-mail message and any file, document, previous e-mail message and/or attachment transmitted herewith is confidential and may be legally privileged. It is intended solely for the private use of the addressee and must not be disclosed to or used by anyone other than the addressee. If you receive this transmission by error, please immediately notify the sender by reply e-mail and destroy the original transmission and its attachments without reading or saving it in any manner. If you are not the intended recipient, or a person responsible for delivering it to the intended recipient, you are hereby notified that any disclosure, copying, distribution or use of any of the information contained in or attached to this transmission is STRICTLY PROHIBITED. E-mail transmission cannot be guaranteed to be secure or error free as information could be intercepted, corrupted, lost, destroyed, arrive late or incomplete, or contain viruses. The sender therefore does not accept liability for any errors or omissions in the contents of this message, which arise as a result of email transmission. Users and employees of the e-mail system are expressly required not to make defamatory statements and not to infringe or authorize any infringement of copyright or any other legal right by email communications. Any such communication is contrary to company policy. The company will not accept any liability in respect of such communication. -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com ---------------------------------------------------------------- The information contained in this e-mail message and any file, document, previous e-mail message and/or attachment transmitted herewith is confidential and may be legally privileged. It is intended solely for the private use of the addressee and must not be disclosed to or used by anyone other than the addressee. If you receive this transmission by error, please immediately notify the sender by reply e-mail and destroy the original transmission and its attachments without reading or saving it in any manner. If you are not the intended recipient, or a person responsible for delivering it to the intended recipient, you are hereby notified that any disclosure, copying, distribution or use of any of the information contained in or attached to this transmission is STRICTLY PROHIBITED. E-mail transmission cannot be guaranteed to be secure or error free as information could be intercepted, corrupted, lost, destroyed, arrive late or incomplete, or contain viruses. The sender therefore does not accept liability for any errors or omissions in the contents of this message, which arise as a result of email transmission. Users and employees of the e-mail system are expressly required not to make defamatory statements and not to infringe or authorize any infringement of copyright or any other legal right by email communications. Any such communication is contrary to company policy. The company will not accept any liability in respect of such communication. From jwcolby at colbyconsulting.com Tue Aug 2 22:06:37 2005 From: jwcolby at colbyconsulting.com (John W. Colby) Date: Tue, 02 Aug 2005 23:06:37 -0400 Subject: [AccessD] Serv-U In-Reply-To: Message-ID: <001601c597d8$601cd6c0$6c7aa8c0@ColbyM6805> >Jason's right John. You can't go back into the internal network by using another machine that's on the same network subnet. The IP packets can't be routed properly because your source and destination address are going to be the same public IP. That would explain that. What port would be appropriate to set up then? I set up 59999 (one shy of 60k) but of course I was trying to get out and back in. I can remote desktop to a client's machine and ftp back in for testing. John W. Colby www.ColbyConsulting.com Contribute your unused CPU cycles to a good cause: http://folding.stanford.edu/ -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Eric Barro Sent: Tuesday, August 02, 2005 10:11 PM To: 'Access Developers discussion and problem solving' Subject: RE: [AccessD] Serv-U Jason's right John. You can't go back into the internal network by using another machine that's on the same network subnet. The IP packets can't be routed properly because your source and destination address are going to be the same public IP. I also tried to ftp to the IP you specified but I got an error. Most cable providers block inbound port 21 and port 80 since they don't want people setting up servers behind the cable modem. -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Jason Strickland Sent: Tuesday, August 02, 2005 6:34 PM To: 'Access Developers discussion and problem solving' Subject: RE: [AccessD] Serv-U If you are physically on the inside LAN, you cannot connect to the ftp server using the outside address. You need a workstation on the outside to connect to your public IP and you should be able to get in. I tried to ftp to 68.198.141.18 but it timed out. By looking at your Ip, I am assuming you are on cable. Some cable modems issue a DHCP and I am assuming your router is getting the DHCP of 192.168.102.100 and the modem interface is 192.168.102.1 Your dlink then does nat for the other ip range. -Jason -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of John W. Colby Sent: 08/02/2005 8:45 PM To: 'Access Developers discussion and problem solving'; Tech - Database Advisors Inc. Subject: RE: [AccessD] Serv-U All of the machines in my network have Sygate personal firewall installed on them, but I have unloaded (closed) that on both the server and my laptop which I am using to test the FTP server. From my laptop, inside of my network, I can use IE to go to the server ftp address, see the ftp directories etc. I am asked for the username and password by the FTP server, and once I enter them I can see the directories. I can send files from my laptop to the directories for that username. I can move files into those directories directly on the server machine, and I can then see them using IE Explorer and FTPing into that machine (locally). As for "going out and back in, I use No-IP to discover my IP address assigned by the cable company. I then enter that at IE address bar: ftp://68.198.141.18 Doing that, IE "hangs for a long time", then comes back and says it can't find the address. One thing that I have discovered is that the WAN IP address is 192.168.102.100, and the "default gateway" is 192.168.102.1 for the WAN according to the router, whereas the interior IP group is 192.168.122.1XX - (100-199). The LAN IP address is 192.168.122.1 Why is the wan .102.100 and everything else 122.1xx? I have no clue what that means, just that is seems strange to me. The router is the DHCP server for the network (which is a workgroup) and the FTP Server is assigned .106 all of the time, with other machines also assigned specific addresses. I did this so that I could vnc / remote desktop in to my LAN from outside and count on getting to specific machines. I have had all of that working in the past, though I don't guarantee that it still does. It seems to me to be an issue with the router, port forwarding and so forth since I can do everything from inside the network. OTOH, I don't know that my request is even getting out to the internet, never mind back in. John W. Colby www.ColbyConsulting.com Contribute your unused CPU cycles to a good cause: http://folding.stanford.edu/ -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Eric Barro Sent: Tuesday, August 02, 2005 8:08 PM To: 'Access Developers discussion and problem solving' Subject: RE: [AccessD] Serv-U How are you trying to get back out and into your FTP server? Are you trying to get to it using a different machine? Check the firewall settings on the machine to see if it is accepting outside connections for the protocol that FTP is listening on. To check if a particular port is being used by a protocol go to the command prompt and type NETSTAT -a. -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of John W. Colby Sent: Tuesday, August 02, 2005 4:54 PM To: 'Access Developers discussion and problem solving'; Tech - Database Advisors Inc. Subject: [AccessD] Serv-U I am trying to get Serv-U FTP server going on my server here in my office. The install was simple and just worked. It works just fine inside of my network, using ftp://192.168.122.106 (the server IP address) but I cannot see it going out to the internet and coming back in. I have a dlink 624 (I think) router, in which I have forwarded ports 20 and 21 to 192.168.122.106. I just cannot see the server, from my laptop, going out and back in. One of my tech assists suggested that my ISP might be blocking port 20/21, so I set up the server to look for the ftp at 59999 and then used :59999 at the end to try and force contact at that port. That does not work either. Can anyone suggest how to test this thing, coming in from the outside? If anyone out there knows this stuff, and in particular has experience with Serv-U, can you assist me in getting this working. John W. Colby www.ColbyConsulting.com Contribute your unused CPU cycles to a good cause: http://folding.stanford.edu/ -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com ---------------------------------------------------------------- The information contained in this e-mail message and any file, document, previous e-mail message and/or attachment transmitted herewith is confidential and may be legally privileged. It is intended solely for the private use of the addressee and must not be disclosed to or used by anyone other than the addressee. If you receive this transmission by error, please immediately notify the sender by reply e-mail and destroy the original transmission and its attachments without reading or saving it in any manner. If you are not the intended recipient, or a person responsible for delivering it to the intended recipient, you are hereby notified that any disclosure, copying, distribution or use of any of the information contained in or attached to this transmission is STRICTLY PROHIBITED. E-mail transmission cannot be guaranteed to be secure or error free as information could be intercepted, corrupted, lost, destroyed, arrive late or incomplete, or contain viruses. The sender therefore does not accept liability for any errors or omissions in the contents of this message, which arise as a result of email transmission. Users and employees of the e-mail system are expressly required not to make defamatory statements and not to infringe or authorize any infringement of copyright or any other legal right by email communications. Any such communication is contrary to company policy. The company will not accept any liability in respect of such communication. -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com ---------------------------------------------------------------- The information contained in this e-mail message and any file, document, previous e-mail message and/or attachment transmitted herewith is confidential and may be legally privileged. It is intended solely for the private use of the addressee and must not be disclosed to or used by anyone other than the addressee. If you receive this transmission by error, please immediately notify the sender by reply e-mail and destroy the original transmission and its attachments without reading or saving it in any manner. If you are not the intended recipient, or a person responsible for delivering it to the intended recipient, you are hereby notified that any disclosure, copying, distribution or use of any of the information contained in or attached to this transmission is STRICTLY PROHIBITED. E-mail transmission cannot be guaranteed to be secure or error free as information could be intercepted, corrupted, lost, destroyed, arrive late or incomplete, or contain viruses. The sender therefore does not accept liability for any errors or omissions in the contents of this message, which arise as a result of email transmission. Users and employees of the e-mail system are expressly required not to make defamatory statements and not to infringe or authorize any infringement of copyright or any other legal right by email communications. Any such communication is contrary to company policy. The company will not accept any liability in respect of such communication. -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From jwcolby at colbyconsulting.com Tue Aug 2 22:20:13 2005 From: jwcolby at colbyconsulting.com (John W. Colby) Date: Tue, 02 Aug 2005 23:20:13 -0400 Subject: [AccessD] Serv-U In-Reply-To: <001601c597d8$601cd6c0$6c7aa8c0@ColbyM6805> Message-ID: <001701c597da$43209280$6c7aa8c0@ColbyM6805> Well, I have tried it at port 59999 as well. Port forwarding is set to the same server, Serv-U is modified to use 59999, I remote desktop to a client machine then try and ftp back in and a definite no go. Sigh. John W. Colby www.ColbyConsulting.com Contribute your unused CPU cycles to a good cause: http://folding.stanford.edu/ -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of John W. Colby Sent: Tuesday, August 02, 2005 11:07 PM To: 'Access Developers discussion and problem solving' Subject: RE: [AccessD] Serv-U >Jason's right John. You can't go back into the internal network by >using another machine that's on the same network subnet. The IP packets can't be routed properly because your source and destination address are going to be the same public IP. That would explain that. What port would be appropriate to set up then? I set up 59999 (one shy of 60k) but of course I was trying to get out and back in. I can remote desktop to a client's machine and ftp back in for testing. John W. Colby www.ColbyConsulting.com Contribute your unused CPU cycles to a good cause: http://folding.stanford.edu/ -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Eric Barro Sent: Tuesday, August 02, 2005 10:11 PM To: 'Access Developers discussion and problem solving' Subject: RE: [AccessD] Serv-U Jason's right John. You can't go back into the internal network by using another machine that's on the same network subnet. The IP packets can't be routed properly because your source and destination address are going to be the same public IP. I also tried to ftp to the IP you specified but I got an error. Most cable providers block inbound port 21 and port 80 since they don't want people setting up servers behind the cable modem. -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Jason Strickland Sent: Tuesday, August 02, 2005 6:34 PM To: 'Access Developers discussion and problem solving' Subject: RE: [AccessD] Serv-U If you are physically on the inside LAN, you cannot connect to the ftp server using the outside address. You need a workstation on the outside to connect to your public IP and you should be able to get in. I tried to ftp to 68.198.141.18 but it timed out. By looking at your Ip, I am assuming you are on cable. Some cable modems issue a DHCP and I am assuming your router is getting the DHCP of 192.168.102.100 and the modem interface is 192.168.102.1 Your dlink then does nat for the other ip range. -Jason -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of John W. Colby Sent: 08/02/2005 8:45 PM To: 'Access Developers discussion and problem solving'; Tech - Database Advisors Inc. Subject: RE: [AccessD] Serv-U All of the machines in my network have Sygate personal firewall installed on them, but I have unloaded (closed) that on both the server and my laptop which I am using to test the FTP server. From my laptop, inside of my network, I can use IE to go to the server ftp address, see the ftp directories etc. I am asked for the username and password by the FTP server, and once I enter them I can see the directories. I can send files from my laptop to the directories for that username. I can move files into those directories directly on the server machine, and I can then see them using IE Explorer and FTPing into that machine (locally). As for "going out and back in, I use No-IP to discover my IP address assigned by the cable company. I then enter that at IE address bar: ftp://68.198.141.18 Doing that, IE "hangs for a long time", then comes back and says it can't find the address. One thing that I have discovered is that the WAN IP address is 192.168.102.100, and the "default gateway" is 192.168.102.1 for the WAN according to the router, whereas the interior IP group is 192.168.122.1XX - (100-199). The LAN IP address is 192.168.122.1 Why is the wan .102.100 and everything else 122.1xx? I have no clue what that means, just that is seems strange to me. The router is the DHCP server for the network (which is a workgroup) and the FTP Server is assigned .106 all of the time, with other machines also assigned specific addresses. I did this so that I could vnc / remote desktop in to my LAN from outside and count on getting to specific machines. I have had all of that working in the past, though I don't guarantee that it still does. It seems to me to be an issue with the router, port forwarding and so forth since I can do everything from inside the network. OTOH, I don't know that my request is even getting out to the internet, never mind back in. John W. Colby www.ColbyConsulting.com Contribute your unused CPU cycles to a good cause: http://folding.stanford.edu/ -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Eric Barro Sent: Tuesday, August 02, 2005 8:08 PM To: 'Access Developers discussion and problem solving' Subject: RE: [AccessD] Serv-U How are you trying to get back out and into your FTP server? Are you trying to get to it using a different machine? Check the firewall settings on the machine to see if it is accepting outside connections for the protocol that FTP is listening on. To check if a particular port is being used by a protocol go to the command prompt and type NETSTAT -a. -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of John W. Colby Sent: Tuesday, August 02, 2005 4:54 PM To: 'Access Developers discussion and problem solving'; Tech - Database Advisors Inc. Subject: [AccessD] Serv-U I am trying to get Serv-U FTP server going on my server here in my office. The install was simple and just worked. It works just fine inside of my network, using ftp://192.168.122.106 (the server IP address) but I cannot see it going out to the internet and coming back in. I have a dlink 624 (I think) router, in which I have forwarded ports 20 and 21 to 192.168.122.106. I just cannot see the server, from my laptop, going out and back in. One of my tech assists suggested that my ISP might be blocking port 20/21, so I set up the server to look for the ftp at 59999 and then used :59999 at the end to try and force contact at that port. That does not work either. Can anyone suggest how to test this thing, coming in from the outside? If anyone out there knows this stuff, and in particular has experience with Serv-U, can you assist me in getting this working. John W. Colby www.ColbyConsulting.com Contribute your unused CPU cycles to a good cause: http://folding.stanford.edu/ -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com ---------------------------------------------------------------- The information contained in this e-mail message and any file, document, previous e-mail message and/or attachment transmitted herewith is confidential and may be legally privileged. It is intended solely for the private use of the addressee and must not be disclosed to or used by anyone other than the addressee. If you receive this transmission by error, please immediately notify the sender by reply e-mail and destroy the original transmission and its attachments without reading or saving it in any manner. If you are not the intended recipient, or a person responsible for delivering it to the intended recipient, you are hereby notified that any disclosure, copying, distribution or use of any of the information contained in or attached to this transmission is STRICTLY PROHIBITED. E-mail transmission cannot be guaranteed to be secure or error free as information could be intercepted, corrupted, lost, destroyed, arrive late or incomplete, or contain viruses. The sender therefore does not accept liability for any errors or omissions in the contents of this message, which arise as a result of email transmission. Users and employees of the e-mail system are expressly required not to make defamatory statements and not to infringe or authorize any infringement of copyright or any other legal right by email communications. Any such communication is contrary to company policy. The company will not accept any liability in respect of such communication. -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com ---------------------------------------------------------------- The information contained in this e-mail message and any file, document, previous e-mail message and/or attachment transmitted herewith is confidential and may be legally privileged. It is intended solely for the private use of the addressee and must not be disclosed to or used by anyone other than the addressee. If you receive this transmission by error, please immediately notify the sender by reply e-mail and destroy the original transmission and its attachments without reading or saving it in any manner. If you are not the intended recipient, or a person responsible for delivering it to the intended recipient, you are hereby notified that any disclosure, copying, distribution or use of any of the information contained in or attached to this transmission is STRICTLY PROHIBITED. E-mail transmission cannot be guaranteed to be secure or error free as information could be intercepted, corrupted, lost, destroyed, arrive late or incomplete, or contain viruses. The sender therefore does not accept liability for any errors or omissions in the contents of this message, which arise as a result of email transmission. Users and employees of the e-mail system are expressly required not to make defamatory statements and not to infringe or authorize any infringement of copyright or any other legal right by email communications. Any such communication is contrary to company policy. The company will not accept any liability in respect of such communication. -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd 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 Wed Aug 3 00:41:19 2005 From: accessd at shaw.ca (Jim Lawrence) Date: Tue, 02 Aug 2005 22:41:19 -0700 Subject: [AccessD] Serv-U In-Reply-To: <000501c597c4$8e670eb0$6c7aa8c0@ColbyM6805> Message-ID: <0IKM00123T4TE0@l-daemon> Hi John: Just a couple of comments: If you are using standard ftp then port 21 must be open on your router. If not there is usually a configuration, on the router, that you may have to set. (Also on the software firewalls.) When testing the ftp server (I use IIS) inside the LAN I would use something like: ftp://MyUserName:MyPassword at 192.168.102.100 After this has been thoroughly tested and when sending it outside to be used for external access to the FTP server then reconfigure like: ftp://MyUsername:MyPassword at 68.198.141.18 The above address will not work from an external station. You can test the external response by going to an external web proxy like http://www.guardster.com/ . From there you can see whether you can access your ftp server from outside. Another trick to see what is happening is to monitor your router external status page and see what ports a remote process is trying to access. If you are using a different port for the FTP site like 8888 you would have to configure the ftp address like: ftp://MyUsername:MyPassword at 68.198.141.18:8888 Have you ever considered using webdav to handle your remote access? It is not difficult to setup and according to a friend more secure. HTH Jim -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of John W. Colby Sent: Tuesday, August 02, 2005 5:45 PM To: 'Access Developers discussion and problem solving'; Tech - Database Advisors Inc. Subject: RE: [AccessD] Serv-U All of the machines in my network have Sygate personal firewall installed on them, but I have unloaded (closed) that on both the server and my laptop which I am using to test the FTP server. From my laptop, inside of my network, I can use IE to go to the server ftp address, see the ftp directories etc. I am asked for the username and password by the FTP server, and once I enter them I can see the directories. I can send files from my laptop to the directories for that username. I can move files into those directories directly on the server machine, and I can then see them using IE Explorer and FTPing into that machine (locally). As for "going out and back in, I use No-IP to discover my IP address assigned by the cable company. I then enter that at IE address bar: ftp://68.198.141.18 Doing that, IE "hangs for a long time", then comes back and says it can't find the address. One thing that I have discovered is that the WAN IP address is 192.168.102.100, and the "default gateway" is 192.168.102.1 for the WAN according to the router, whereas the interior IP group is 192.168.122.1XX - (100-199). The LAN IP address is 192.168.122.1 Why is the wan .102.100 and everything else 122.1xx? I have no clue what that means, just that is seems strange to me. The router is the DHCP server for the network (which is a workgroup) and the FTP Server is assigned .106 all of the time, with other machines also assigned specific addresses. I did this so that I could vnc / remote desktop in to my LAN from outside and count on getting to specific machines. I have had all of that working in the past, though I don't guarantee that it still does. It seems to me to be an issue with the router, port forwarding and so forth since I can do everything from inside the network. OTOH, I don't know that my request is even getting out to the internet, never mind back in. John W. Colby www.ColbyConsulting.com Contribute your unused CPU cycles to a good cause: http://folding.stanford.edu/ -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Eric Barro Sent: Tuesday, August 02, 2005 8:08 PM To: 'Access Developers discussion and problem solving' Subject: RE: [AccessD] Serv-U How are you trying to get back out and into your FTP server? Are you trying to get to it using a different machine? Check the firewall settings on the machine to see if it is accepting outside connections for the protocol that FTP is listening on. To check if a particular port is being used by a protocol go to the command prompt and type NETSTAT -a. -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of John W. Colby Sent: Tuesday, August 02, 2005 4:54 PM To: 'Access Developers discussion and problem solving'; Tech - Database Advisors Inc. Subject: [AccessD] Serv-U I am trying to get Serv-U FTP server going on my server here in my office. The install was simple and just worked. It works just fine inside of my network, using ftp://192.168.122.106 (the server IP address) but I cannot see it going out to the internet and coming back in. I have a dlink 624 (I think) router, in which I have forwarded ports 20 and 21 to 192.168.122.106. I just cannot see the server, from my laptop, going out and back in. One of my tech assists suggested that my ISP might be blocking port 20/21, so I set up the server to look for the ftp at 59999 and then used :59999 at the end to try and force contact at that port. That does not work either. Can anyone suggest how to test this thing, coming in from the outside? If anyone out there knows this stuff, and in particular has experience with Serv-U, can you assist me in getting this working. John W. Colby www.ColbyConsulting.com Contribute your unused CPU cycles to a good cause: http://folding.stanford.edu/ -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com ---------------------------------------------------------------- The information contained in this e-mail message and any file, document, previous e-mail message and/or attachment transmitted herewith is confidential and may be legally privileged. It is intended solely for the private use of the addressee and must not be disclosed to or used by anyone other than the addressee. If you receive this transmission by error, please immediately notify the sender by reply e-mail and destroy the original transmission and its attachments without reading or saving it in any manner. If you are not the intended recipient, or a person responsible for delivering it to the intended recipient, you are hereby notified that any disclosure, copying, distribution or use of any of the information contained in or attached to this transmission is STRICTLY PROHIBITED. E-mail transmission cannot be guaranteed to be secure or error free as information could be intercepted, corrupted, lost, destroyed, arrive late or incomplete, or contain viruses. The sender therefore does not accept liability for any errors or omissions in the contents of this message, which arise as a result of email transmission. Users and employees of the e-mail system are expressly required not to make defamatory statements and not to infringe or authorize any infringement of copyright or any other legal right by email communications. Any such communication is contrary to company policy. The company will not accept any liability in respect of such communication. -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From jmhecht at earthlink.net Wed Aug 3 01:48:39 2005 From: jmhecht at earthlink.net (Joe Hecht) Date: Tue, 2 Aug 2005 23:48:39 -0700 Subject: [AccessD] Found this site on excel Message-ID: <002201c597f7$61d989d0$6401a8c0@laptop1> But it has Access Stuff too http://www.fontstuff.com/downloads/index.htm Joe Hecht Los Angeles CA From vrm at tim-cms.com Wed Aug 3 02:32:15 2005 From: vrm at tim-cms.com (| Marcel Vreuls) Date: Wed, 3 Aug 2005 09:32:15 +0200 Subject: [AccessD] Menu problems In-Reply-To: <002201c597f7$61d989d0$6401a8c0@laptop1> Message-ID: <000601c597fd$7a9a2690$0100000a@GALAXY.local> Hi, I've got the strangest problem. I have a quit large frontend A2K MDB/MDE. I cannot recall since when. I guess about 4 weeks not all menus are visible anymore. For example i had a dropdown File menu a view menu and a settings menu. The view menu is working fine but the other two show no options anymore. Only a grey square like option with no menu options anymore!?!?!??!?!? I have about 300 deployed clients through the country and they are all working fine. So no worries now and It seems this problem only occurs on my pc and laptop. But it develops and tests very bad. Thx Marcel From greggs at msn.com Wed Aug 3 09:32:28 2005 From: greggs at msn.com (Gregg) Date: Wed, 3 Aug 2005 09:32:28 -0500 Subject: [AccessD] Memo field parsing References: <000601c597fd$7a9a2690$0100000a@GALAXY.local> Message-ID: I would like to parse a memo field in a A97 report such that the first three lines is on the first page and whatever is left is on the next. Any ideas? Gregg Steinbrenner From cfoust at infostatsystems.com Wed Aug 3 10:28:59 2005 From: cfoust at infostatsystems.com (Charlotte Foust) Date: Wed, 3 Aug 2005 08:28:59 -0700 Subject: [AccessD] Memo field parsing Message-ID: Define "first three lines". Is that a particular number of characters or a physical space? Charlotte Foust -----Original Message----- From: Gregg [mailto:greggs at msn.com] Sent: Wednesday, August 03, 2005 7:32 AM To: Access Developers discussion and problem solving Subject: [AccessD] Memo field parsing I would like to parse a memo field in a A97 report such that the first three lines is on the first page and whatever is left is on the next. Any ideas? Gregg Steinbrenner -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From greggs at msn.com Wed Aug 3 10:42:44 2005 From: greggs at msn.com (Gregg) Date: Wed, 3 Aug 2005 10:42:44 -0500 Subject: [AccessD] Memo field parsing References: Message-ID: Charlotte Physical space I think because I don't know how to get from one to the other. The number of characters is going to be dependant on the how many characters are lost to word wrapping isn't it? Is there a way to calculate the number of characters that will appear in the first three lines? If I knew that, I could do it. ----- Original Message ----- From: Charlotte Foust To: Access Developers discussion and problem solving Sent: Wednesday, August 03, 2005 10:28 AM Subject: RE: [AccessD] Memo field parsing Define "first three lines". Is that a particular number of characters or a physical space? Charlotte Foust -----Original Message----- From: Gregg [mailto:greggs at msn.com] Sent: Wednesday, August 03, 2005 7:32 AM To: Access Developers discussion and problem solving Subject: [AccessD] Memo field parsing I would like to parse a memo field in a A97 report such that the first three lines is on the first page and whatever is left is on the next. Any ideas? Gregg Steinbrenner -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From Gustav at cactus.dk Wed Aug 3 10:56:26 2005 From: Gustav at cactus.dk (Gustav Brock) Date: Wed, 03 Aug 2005 17:56:26 +0200 Subject: [AccessD] Memo field parsing Message-ID: Hi Gregg You may find some hints about font metrics here at Stephen Lebans: http://www.lebans.com/textwidth-height.htm Prepare for some fun ... /gustav >>> greggs at msn.com 08/03 5:42 pm >>> Charlotte Physical space I think because I don't know how to get from one to the other. The number of characters is going to be dependant on the how many characters are lost to word wrapping isn't it? Is there a way to calculate the number of characters that will appear in the first three lines? If I knew that, I could do it. From cfoust at infostatsystems.com Wed Aug 3 11:02:03 2005 From: cfoust at infostatsystems.com (Charlotte Foust) Date: Wed, 3 Aug 2005 09:02:03 -0700 Subject: [AccessD] Memo field parsing Message-ID: You can't do it by simply counting characters anyhow. You have to use the TextWidth property, which can be expressed as reportname.TextWidth(stringvariable) and compare that to the textwidth of the control ( reportname.TextWidth(controlobject) or to the maximum length you want to display. You'll also want to allow a padding factor to avoid overrunning the borders of the control and be sure and check for carriage returns because they confuse the issue. If you want to display 3 "lines", you'll have to break the memo field into the first three chunks that will fit into the textwidth of the textbox you're using to display the text on that page. Charlotte Foust -----Original Message----- From: Gregg [mailto:greggs at msn.com] Sent: Wednesday, August 03, 2005 8:43 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Memo field parsing Charlotte Physical space I think because I don't know how to get from one to the other. The number of characters is going to be dependant on the how many characters are lost to word wrapping isn't it? Is there a way to calculate the number of characters that will appear in the first three lines? If I knew that, I could do it. ----- Original Message ----- From: Charlotte Foust To: Access Developers discussion and problem solving Sent: Wednesday, August 03, 2005 10:28 AM Subject: RE: [AccessD] Memo field parsing Define "first three lines". Is that a particular number of characters or a physical space? Charlotte Foust -----Original Message----- From: Gregg [mailto:greggs at msn.com] Sent: Wednesday, August 03, 2005 7:32 AM To: Access Developers discussion and problem solving Subject: [AccessD] Memo field parsing I would like to parse a memo field in a A97 report such that the first three lines is on the first page and whatever is left is on the next. Any ideas? Gregg Steinbrenner -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd 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 Aug 3 11:01:11 2005 From: DWUTKA at marlow.com (DWUTKA at marlow.com) Date: Wed, 3 Aug 2005 11:01:11 -0500 Subject: [AccessD] Serv-U Message-ID: <123701F54509D9119A4F00D0B747349016DBC7@main2.marlow.com> What's your external IP address? Drew -----Original Message----- From: John W. Colby [mailto:jwcolby at colbyconsulting.com] Sent: Tuesday, August 02, 2005 6:54 PM To: 'Access Developers discussion and problem solving'; Tech - Database Advisors Inc. Subject: [AccessD] Serv-U I am trying to get Serv-U FTP server going on my server here in my office. The install was simple and just worked. It works just fine inside of my network, using ftp://192.168.122.106 (the server IP address) but I cannot see it going out to the internet and coming back in. I have a dlink 624 (I think) router, in which I have forwarded ports 20 and 21 to 192.168.122.106. I just cannot see the server, from my laptop, going out and back in. One of my tech assists suggested that my ISP might be blocking port 20/21, so I set up the server to look for the ftp at 59999 and then used :59999 at the end to try and force contact at that port. That does not work either. Can anyone suggest how to test this thing, coming in from the outside? If anyone out there knows this stuff, and in particular has experience with Serv-U, can you assist me in getting this working. John W. Colby www.ColbyConsulting.com Contribute your unused CPU cycles to a good cause: http://folding.stanford.edu/ -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From DWUTKA at marlow.com Wed Aug 3 11:02:51 2005 From: DWUTKA at marlow.com (DWUTKA at marlow.com) Date: Wed, 3 Aug 2005 11:02:51 -0500 Subject: [AccessD] Serv-U Message-ID: <123701F54509D9119A4F00D0B747349016DBC8@main2.marlow.com> Turn the logging on, on your router. I have a DI-624, and I know it has a decent logger. That will let you know what is coming back at it. Drew -----Original Message----- From: John W. Colby [mailto:jwcolby at colbyconsulting.com] Sent: Tuesday, August 02, 2005 7:45 PM To: 'Access Developers discussion and problem solving'; Tech - Database Advisors Inc. Subject: RE: [AccessD] Serv-U All of the machines in my network have Sygate personal firewall installed on them, but I have unloaded (closed) that on both the server and my laptop which I am using to test the FTP server. From my laptop, inside of my network, I can use IE to go to the server ftp address, see the ftp directories etc. I am asked for the username and password by the FTP server, and once I enter them I can see the directories. I can send files from my laptop to the directories for that username. I can move files into those directories directly on the server machine, and I can then see them using IE Explorer and FTPing into that machine (locally). As for "going out and back in, I use No-IP to discover my IP address assigned by the cable company. I then enter that at IE address bar: ftp://68.198.141.18 Doing that, IE "hangs for a long time", then comes back and says it can't find the address. One thing that I have discovered is that the WAN IP address is 192.168.102.100, and the "default gateway" is 192.168.102.1 for the WAN according to the router, whereas the interior IP group is 192.168.122.1XX - (100-199). The LAN IP address is 192.168.122.1 Why is the wan .102.100 and everything else 122.1xx? I have no clue what that means, just that is seems strange to me. The router is the DHCP server for the network (which is a workgroup) and the FTP Server is assigned .106 all of the time, with other machines also assigned specific addresses. I did this so that I could vnc / remote desktop in to my LAN from outside and count on getting to specific machines. I have had all of that working in the past, though I don't guarantee that it still does. It seems to me to be an issue with the router, port forwarding and so forth since I can do everything from inside the network. OTOH, I don't know that my request is even getting out to the internet, never mind back in. John W. Colby www.ColbyConsulting.com Contribute your unused CPU cycles to a good cause: http://folding.stanford.edu/ -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Eric Barro Sent: Tuesday, August 02, 2005 8:08 PM To: 'Access Developers discussion and problem solving' Subject: RE: [AccessD] Serv-U How are you trying to get back out and into your FTP server? Are you trying to get to it using a different machine? Check the firewall settings on the machine to see if it is accepting outside connections for the protocol that FTP is listening on. To check if a particular port is being used by a protocol go to the command prompt and type NETSTAT -a. -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of John W. Colby Sent: Tuesday, August 02, 2005 4:54 PM To: 'Access Developers discussion and problem solving'; Tech - Database Advisors Inc. Subject: [AccessD] Serv-U I am trying to get Serv-U FTP server going on my server here in my office. The install was simple and just worked. It works just fine inside of my network, using ftp://192.168.122.106 (the server IP address) but I cannot see it going out to the internet and coming back in. I have a dlink 624 (I think) router, in which I have forwarded ports 20 and 21 to 192.168.122.106. I just cannot see the server, from my laptop, going out and back in. One of my tech assists suggested that my ISP might be blocking port 20/21, so I set up the server to look for the ftp at 59999 and then used :59999 at the end to try and force contact at that port. That does not work either. Can anyone suggest how to test this thing, coming in from the outside? If anyone out there knows this stuff, and in particular has experience with Serv-U, can you assist me in getting this working. John W. Colby www.ColbyConsulting.com Contribute your unused CPU cycles to a good cause: http://folding.stanford.edu/ -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com ---------------------------------------------------------------- The information contained in this e-mail message and any file, document, previous e-mail message and/or attachment transmitted herewith is confidential and may be legally privileged. It is intended solely for the private use of the addressee and must not be disclosed to or used by anyone other than the addressee. If you receive this transmission by error, please immediately notify the sender by reply e-mail and destroy the original transmission and its attachments without reading or saving it in any manner. If you are not the intended recipient, or a person responsible for delivering it to the intended recipient, you are hereby notified that any disclosure, copying, distribution or use of any of the information contained in or attached to this transmission is STRICTLY PROHIBITED. E-mail transmission cannot be guaranteed to be secure or error free as information could be intercepted, corrupted, lost, destroyed, arrive late or incomplete, or contain viruses. The sender therefore does not accept liability for any errors or omissions in the contents of this message, which arise as a result of email transmission. Users and employees of the e-mail system are expressly required not to make defamatory statements and not to infringe or authorize any infringement of copyright or any other legal right by email communications. Any such communication is contrary to company policy. The company will not accept any liability in respect of such communication. -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd 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 Wed Aug 3 11:08:59 2005 From: andy at minstersystems.co.uk (Andy Lacey) Date: Wed, 3 Aug 2005 17:08:59 +0100 Subject: [AccessD] Memo field parsing Message-ID: <20050803160856.48ECC250758@smtp.nildram.co.uk> This may sound a naff solution but I reckon any clever one is going to be a lot of work. So this is a pragmatic workaround. Obviously getting the first 3 lines on the first page is easy. You just size your textbox to 3 lines height and make it not grow. Then I was thinking about the second part and thought....if you place a full height (or CanGrow) text control on page 2 it will show the first 3 lines again and then the rest. So if you can't stop it showing the first 3 lines can you blank them out? As long as you don't want the control on page 2 to be too close to the top of the sheet you just place another (empty) control, again of 3 lines height over the top of it (with background not transparent). Seems to work. -- Andy Lacey http://www.minstersystems.co.uk --------- Original Message -------- From: "Access Developers discussion and problem solving" To: "accessd at databaseadvisors.com" Subject: Re: [AccessD] Memo field parsing Date: 03/08/05 15:57 Hi Gregg You may find some hints about font metrics here at Stephen Lebans: http://www.lebans.com/textwidth-height.htm Prepare for some fun ... /gustav >>> greggs at msn.com 08/03 5:42 pm >>> Charlotte Physical space I think because I don't know how to get from one to the other. The number of characters is going to be dependant on the how many characters are lost to word wrapping isn't it? Is there a way to calculate the number of characters that will appear in the first three lines? If I knew that, I could do it. -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com ________________________________________________ Message sent using UebiMiau 2.7.2 From cfoust at infostatsystems.com Wed Aug 3 11:18:53 2005 From: cfoust at infostatsystems.com (Charlotte Foust) Date: Wed, 3 Aug 2005 09:18:53 -0700 Subject: [AccessD] Memo field parsing Message-ID: That sounds like as much work as developing a single routine to return the first three lines ... Which could also be used to REMOVE the first three lines for the next page. Charlotte Foust -----Original Message----- From: Andy Lacey [mailto:andy at minstersystems.co.uk] Sent: Wednesday, August 03, 2005 9:09 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Memo field parsing This may sound a naff solution but I reckon any clever one is going to be a lot of work. So this is a pragmatic workaround. Obviously getting the first 3 lines on the first page is easy. You just size your textbox to 3 lines height and make it not grow. Then I was thinking about the second part and thought....if you place a full height (or CanGrow) text control on page 2 it will show the first 3 lines again and then the rest. So if you can't stop it showing the first 3 lines can you blank them out? As long as you don't want the control on page 2 to be too close to the top of the sheet you just place another (empty) control, again of 3 lines height over the top of it (with background not transparent). Seems to work. -- Andy Lacey http://www.minstersystems.co.uk --------- Original Message -------- From: "Access Developers discussion and problem solving" To: "accessd at databaseadvisors.com" Subject: Re: [AccessD] Memo field parsing Date: 03/08/05 15:57 Hi Gregg You may find some hints about font metrics here at Stephen Lebans: http://www.lebans.com/textwidth-height.htm Prepare for some fun ... /gustav >>> greggs at msn.com 08/03 5:42 pm >>> Charlotte Physical space I think because I don't know how to get from one to the other. The number of characters is going to be dependant on the how many characters are lost to word wrapping isn't it? Is there a way to calculate the number of characters that will appear in the first three lines? If I knew that, I could do it. -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com ________________________________________________ Message sent using UebiMiau 2.7.2 -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From greggs at msn.com Wed Aug 3 11:41:04 2005 From: greggs at msn.com (Gregg) Date: Wed, 3 Aug 2005 11:41:04 -0500 Subject: [AccessD] Memo field parsing References: <20050803160856.48ECC250758@smtp.nildram.co.uk> Message-ID: That was exactly my first solution (naff or not). The problem is the text box is midway down the 2nd page following some other items and the customer never was very impressed with the blank space. Now they are running out of space on the second page and are limited to the 2 pages by their end user and need to use the blank space. ----- Original Message ----- From: Andy Lacey To: Access Developers discussion and problem solving Sent: Wednesday, August 03, 2005 11:08 AM Subject: Re: [AccessD] Memo field parsing This may sound a naff solution but I reckon any clever one is going to be a lot of work. So this is a pragmatic workaround. Obviously getting the first 3 lines on the first page is easy. You just size your textbox to 3 lines height and make it not grow. Then I was thinking about the second part and thought....if you place a full height (or CanGrow) text control on page 2 it will show the first 3 lines again and then the rest. So if you can't stop it showing the first 3 lines can you blank them out? As long as you don't want the control on page 2 to be too close to the top of the sheet you just place another (empty) control, again of 3 lines height over the top of it (with background not transparent). Seems to work. -- Andy Lacey http://www.minstersystems.co.uk --------- Original Message -------- From: "Access Developers discussion and problem solving" > To: "accessd at databaseadvisors.com" > Subject: Re: [AccessD] Memo field parsing Date: 03/08/05 15:57 Hi Gregg You may find some hints about font metrics here at Stephen Lebans: http://www.lebans.com/textwidth-height.htm Prepare for some fun ... /gustav >>> greggs at msn.com 08/03 5:42 pm >>> Charlotte Physical space I think because I don't know how to get from one to the other. The number of characters is going to be dependant on the how many characters are lost to word wrapping isn't it? Is there a way to calculate the number of characters that will appear in the first three lines? If I knew that, I could do it. -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com ________________________________________________ Message sent using UebiMiau 2.7.2 -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From jwcolby at colbyconsulting.com Wed Aug 3 12:17:34 2005 From: jwcolby at colbyconsulting.com (John W. Colby) Date: Wed, 03 Aug 2005 13:17:34 -0400 Subject: [AccessD] Serv-U In-Reply-To: <123701F54509D9119A4F00D0B747349016DBC8@main2.marlow.com> Message-ID: <005201c5984f$404291b0$6c7aa8c0@ColbyM6805> I have logging on already, but I am not seeing anything that looks like attempts to hit the FTP port (or the port I set up for port forwarding). John W. Colby www.ColbyConsulting.com Contribute your unused CPU cycles to a good cause: http://folding.stanford.edu/ -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of DWUTKA at marlow.com Sent: Wednesday, August 03, 2005 12:03 PM To: accessd at databaseadvisors.com Subject: RE: [AccessD] Serv-U Turn the logging on, on your router. I have a DI-624, and I know it has a decent logger. That will let you know what is coming back at it. Drew -----Original Message----- From: John W. Colby [mailto:jwcolby at colbyconsulting.com] Sent: Tuesday, August 02, 2005 7:45 PM To: 'Access Developers discussion and problem solving'; Tech - Database Advisors Inc. Subject: RE: [AccessD] Serv-U All of the machines in my network have Sygate personal firewall installed on them, but I have unloaded (closed) that on both the server and my laptop which I am using to test the FTP server. From my laptop, inside of my network, I can use IE to go to the server ftp address, see the ftp directories etc. I am asked for the username and password by the FTP server, and once I enter them I can see the directories. I can send files from my laptop to the directories for that username. I can move files into those directories directly on the server machine, and I can then see them using IE Explorer and FTPing into that machine (locally). As for "going out and back in, I use No-IP to discover my IP address assigned by the cable company. I then enter that at IE address bar: ftp://68.198.141.18 Doing that, IE "hangs for a long time", then comes back and says it can't find the address. One thing that I have discovered is that the WAN IP address is 192.168.102.100, and the "default gateway" is 192.168.102.1 for the WAN according to the router, whereas the interior IP group is 192.168.122.1XX - (100-199). The LAN IP address is 192.168.122.1 Why is the wan .102.100 and everything else 122.1xx? I have no clue what that means, just that is seems strange to me. The router is the DHCP server for the network (which is a workgroup) and the FTP Server is assigned .106 all of the time, with other machines also assigned specific addresses. I did this so that I could vnc / remote desktop in to my LAN from outside and count on getting to specific machines. I have had all of that working in the past, though I don't guarantee that it still does. It seems to me to be an issue with the router, port forwarding and so forth since I can do everything from inside the network. OTOH, I don't know that my request is even getting out to the internet, never mind back in. John W. Colby www.ColbyConsulting.com Contribute your unused CPU cycles to a good cause: http://folding.stanford.edu/ -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Eric Barro Sent: Tuesday, August 02, 2005 8:08 PM To: 'Access Developers discussion and problem solving' Subject: RE: [AccessD] Serv-U How are you trying to get back out and into your FTP server? Are you trying to get to it using a different machine? Check the firewall settings on the machine to see if it is accepting outside connections for the protocol that FTP is listening on. To check if a particular port is being used by a protocol go to the command prompt and type NETSTAT -a. -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of John W. Colby Sent: Tuesday, August 02, 2005 4:54 PM To: 'Access Developers discussion and problem solving'; Tech - Database Advisors Inc. Subject: [AccessD] Serv-U I am trying to get Serv-U FTP server going on my server here in my office. The install was simple and just worked. It works just fine inside of my network, using ftp://192.168.122.106 (the server IP address) but I cannot see it going out to the internet and coming back in. I have a dlink 624 (I think) router, in which I have forwarded ports 20 and 21 to 192.168.122.106. I just cannot see the server, from my laptop, going out and back in. One of my tech assists suggested that my ISP might be blocking port 20/21, so I set up the server to look for the ftp at 59999 and then used :59999 at the end to try and force contact at that port. That does not work either. Can anyone suggest how to test this thing, coming in from the outside? If anyone out there knows this stuff, and in particular has experience with Serv-U, can you assist me in getting this working. John W. Colby www.ColbyConsulting.com Contribute your unused CPU cycles to a good cause: http://folding.stanford.edu/ -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com ---------------------------------------------------------------- The information contained in this e-mail message and any file, document, previous e-mail message and/or attachment transmitted herewith is confidential and may be legally privileged. It is intended solely for the private use of the addressee and must not be disclosed to or used by anyone other than the addressee. If you receive this transmission by error, please immediately notify the sender by reply e-mail and destroy the original transmission and its attachments without reading or saving it in any manner. If you are not the intended recipient, or a person responsible for delivering it to the intended recipient, you are hereby notified that any disclosure, copying, distribution or use of any of the information contained in or attached to this transmission is STRICTLY PROHIBITED. E-mail transmission cannot be guaranteed to be secure or error free as information could be intercepted, corrupted, lost, destroyed, arrive late or incomplete, or contain viruses. The sender therefore does not accept liability for any errors or omissions in the contents of this message, which arise as a result of email transmission. Users and employees of the e-mail system are expressly required not to make defamatory statements and not to infringe or authorize any infringement of copyright or any other legal right by email communications. Any such communication is contrary to company policy. The company will not accept any liability in respect of such communication. -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd 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 Aug 3 12:27:07 2005 From: DWUTKA at marlow.com (DWUTKA at marlow.com) Date: Wed, 3 Aug 2005 12:27:07 -0500 Subject: [AccessD] Serv-U Message-ID: <123701F54509D9119A4F00D0B747349016DBD3@main2.marlow.com> Then if you are truly hitting it from the outside, it is getting blocked by your ISP. I'd call and ask why you can't come back into your own computer from the outside. Just tell them you want to get stuff from your home machine when you are at work... Drew -----Original Message----- From: John W. Colby [mailto:jwcolby at colbyconsulting.com] Sent: Wednesday, August 03, 2005 12:18 PM To: 'Access Developers discussion and problem solving' Subject: RE: [AccessD] Serv-U I have logging on already, but I am not seeing anything that looks like attempts to hit the FTP port (or the port I set up for port forwarding). John W. Colby www.ColbyConsulting.com Contribute your unused CPU cycles to a good cause: http://folding.stanford.edu/ -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of DWUTKA at marlow.com Sent: Wednesday, August 03, 2005 12:03 PM To: accessd at databaseadvisors.com Subject: RE: [AccessD] Serv-U Turn the logging on, on your router. I have a DI-624, and I know it has a decent logger. That will let you know what is coming back at it. Drew -----Original Message----- From: John W. Colby [mailto:jwcolby at colbyconsulting.com] Sent: Tuesday, August 02, 2005 7:45 PM To: 'Access Developers discussion and problem solving'; Tech - Database Advisors Inc. Subject: RE: [AccessD] Serv-U All of the machines in my network have Sygate personal firewall installed on them, but I have unloaded (closed) that on both the server and my laptop which I am using to test the FTP server. From my laptop, inside of my network, I can use IE to go to the server ftp address, see the ftp directories etc. I am asked for the username and password by the FTP server, and once I enter them I can see the directories. I can send files from my laptop to the directories for that username. I can move files into those directories directly on the server machine, and I can then see them using IE Explorer and FTPing into that machine (locally). As for "going out and back in, I use No-IP to discover my IP address assigned by the cable company. I then enter that at IE address bar: ftp://68.198.141.18 Doing that, IE "hangs for a long time", then comes back and says it can't find the address. One thing that I have discovered is that the WAN IP address is 192.168.102.100, and the "default gateway" is 192.168.102.1 for the WAN according to the router, whereas the interior IP group is 192.168.122.1XX - (100-199). The LAN IP address is 192.168.122.1 Why is the wan .102.100 and everything else 122.1xx? I have no clue what that means, just that is seems strange to me. The router is the DHCP server for the network (which is a workgroup) and the FTP Server is assigned .106 all of the time, with other machines also assigned specific addresses. I did this so that I could vnc / remote desktop in to my LAN from outside and count on getting to specific machines. I have had all of that working in the past, though I don't guarantee that it still does. It seems to me to be an issue with the router, port forwarding and so forth since I can do everything from inside the network. OTOH, I don't know that my request is even getting out to the internet, never mind back in. John W. Colby www.ColbyConsulting.com Contribute your unused CPU cycles to a good cause: http://folding.stanford.edu/ -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Eric Barro Sent: Tuesday, August 02, 2005 8:08 PM To: 'Access Developers discussion and problem solving' Subject: RE: [AccessD] Serv-U How are you trying to get back out and into your FTP server? Are you trying to get to it using a different machine? Check the firewall settings on the machine to see if it is accepting outside connections for the protocol that FTP is listening on. To check if a particular port is being used by a protocol go to the command prompt and type NETSTAT -a. -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of John W. Colby Sent: Tuesday, August 02, 2005 4:54 PM To: 'Access Developers discussion and problem solving'; Tech - Database Advisors Inc. Subject: [AccessD] Serv-U I am trying to get Serv-U FTP server going on my server here in my office. The install was simple and just worked. It works just fine inside of my network, using ftp://192.168.122.106 (the server IP address) but I cannot see it going out to the internet and coming back in. I have a dlink 624 (I think) router, in which I have forwarded ports 20 and 21 to 192.168.122.106. I just cannot see the server, from my laptop, going out and back in. One of my tech assists suggested that my ISP might be blocking port 20/21, so I set up the server to look for the ftp at 59999 and then used :59999 at the end to try and force contact at that port. That does not work either. Can anyone suggest how to test this thing, coming in from the outside? If anyone out there knows this stuff, and in particular has experience with Serv-U, can you assist me in getting this working. John W. Colby www.ColbyConsulting.com Contribute your unused CPU cycles to a good cause: http://folding.stanford.edu/ -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com ---------------------------------------------------------------- The information contained in this e-mail message and any file, document, previous e-mail message and/or attachment transmitted herewith is confidential and may be legally privileged. It is intended solely for the private use of the addressee and must not be disclosed to or used by anyone other than the addressee. If you receive this transmission by error, please immediately notify the sender by reply e-mail and destroy the original transmission and its attachments without reading or saving it in any manner. If you are not the intended recipient, or a person responsible for delivering it to the intended recipient, you are hereby notified that any disclosure, copying, distribution or use of any of the information contained in or attached to this transmission is STRICTLY PROHIBITED. E-mail transmission cannot be guaranteed to be secure or error free as information could be intercepted, corrupted, lost, destroyed, arrive late or incomplete, or contain viruses. The sender therefore does not accept liability for any errors or omissions in the contents of this message, which arise as a result of email transmission. Users and employees of the e-mail system are expressly required not to make defamatory statements and not to infringe or authorize any infringement of copyright or any other legal right by email communications. Any such communication is contrary to company policy. The company will not accept any liability in respect of such communication. -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From greggs at msn.com Wed Aug 3 13:34:29 2005 From: greggs at msn.com (Gregg) Date: Wed, 3 Aug 2005 13:34:29 -0500 Subject: [AccessD] Memo field parsing References: Message-ID: So, you're saying I need to loop through all the characters until I find the last whole word that will fit on the first line, the same for the second etc. until I determine what text will fit in the first page text field and use what's left for the 2nd page? ----- Original Message ----- From: Charlotte Foust To: Access Developers discussion and problem solving Sent: Wednesday, August 03, 2005 11:02 AM Subject: RE: [AccessD] Memo field parsing You can't do it by simply counting characters anyhow. You have to use the TextWidth property, which can be expressed as reportname.TextWidth(stringvariable) and compare that to the textwidth of the control ( reportname.TextWidth(controlobject) or to the maximum length you want to display. You'll also want to allow a padding factor to avoid overrunning the borders of the control and be sure and check for carriage returns because they confuse the issue. If you want to display 3 "lines", you'll have to break the memo field into the first three chunks that will fit into the textwidth of the textbox you're using to display the text on that page. Charlotte Foust -----Original Message----- From: Gregg [mailto:greggs at msn.com] Sent: Wednesday, August 03, 2005 8:43 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Memo field parsing Charlotte Physical space I think because I don't know how to get from one to the other. The number of characters is going to be dependant on the how many characters are lost to word wrapping isn't it? Is there a way to calculate the number of characters that will appear in the first three lines? If I knew that, I could do it. ----- Original Message ----- From: Charlotte Foust> To: Access Developers discussion and problem solving> Sent: Wednesday, August 03, 2005 10:28 AM Subject: RE: [AccessD] Memo field parsing Define "first three lines". Is that a particular number of characters or a physical space? Charlotte Foust -----Original Message----- From: Gregg [mailto:greggs at msn.com] Sent: Wednesday, August 03, 2005 7:32 AM To: Access Developers discussion and problem solving Subject: [AccessD] Memo field parsing I would like to parse a memo field in a A97 report such that the first three lines is on the first page and whatever is left is on the next. Any ideas? Gregg Steinbrenner -- AccessD mailing list AccessD at databaseadvisors.com> http://databaseadvisors.com/mailman/listinfo/accessd sors.com/mailman/listinfo/accessd> Website: http://www.databaseadvisors.com> -- AccessD mailing list AccessD at databaseadvisors.com> http://databaseadvisors.com/mailman/listinfo/accessd sors.com/mailman/listinfo/accessd> Website: http://www.databaseadvisors.com> -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd 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 Aug 3 14:05:39 2005 From: martyconnelly at shaw.ca (MartyConnelly) Date: Wed, 03 Aug 2005 12:05:39 -0700 Subject: [AccessD] Menu problems References: <000601c597fd$7a9a2690$0100000a@GALAXY.local> Message-ID: <42F11583.2020606@shaw.ca> Just a couple of guesses to try CTRL+F11 Toggles between the custom menu bar and the built-in menu bar There are ways to lose some bits that may require a reinstall of Access One being, not holding the ctrl key down when dragging items to create a customized bar This does a copy and not a move. A move can get lost. There is a reset button in Tools Customize Options but I have never had to use. You might try importing all objects to a band new mdb just in case mdb corruption is the cause. You can try toggling the various ToolBars through code Some are DoCmd.ShowToolbar "Database", acToolbarYes DoCmd.ShowToolbar "Menu Bar", acToolbarYes Function ShowMenu() On Error Resume Next DoCmd.ShowToolBar "Menu Bar", acToolbarYes End Function Function HideMenu() On Error Resume Next DoCmd.ShowToolBar "Menu Bar", acToolbarNo End Function Function ShowToolBar() On Error Resume Next DoCmd.ShowToolBar "Form View", acToolbarYes End Function Function HideToolBar() On Error Resume Next DoCmd.ShowToolBar "Form View", acToolbarNo End Function | Marcel Vreuls wrote: >Hi, > >I've got the strangest problem. I have a quit large frontend A2K MDB/MDE. I >cannot recall since when. I guess about 4 weeks not all menus are visible >anymore. For example i had a dropdown File menu a view menu and a settings >menu. The view menu is working fine but the other two show no options >anymore. Only a grey square like option with no menu options >anymore!?!?!??!?!? > >I have about 300 deployed clients through the country and they are all >working fine. So no worries now and It seems this problem only occurs on my >pc and laptop. But it develops and tests very bad. > >Thx Marcel > > > -- Marty Connelly Victoria, B.C. Canada From martyconnelly at shaw.ca Wed Aug 3 14:44:13 2005 From: martyconnelly at shaw.ca (MartyConnelly) Date: Wed, 03 Aug 2005 12:44:13 -0700 Subject: [AccessD] Menu problems References: <000601c597fd$7a9a2690$0100000a@GALAXY.local> Message-ID: <42F11E8D.8020101@shaw.ca> This may help too should apply to Access 2000 Restore original toolbar, button, and command settings Access 2003 http://office.microsoft.com/en-ca/assistance/HP051890321033.aspx or try Right-click on the menu bar, and select "Customize...". On the Customize dialog, select "Menu Bar", then click the "Reset ..." button. When prompted, confirm that you want to reset the tool bar. | Marcel Vreuls wrote: >Hi, > >I've got the strangest problem. I have a quit large frontend A2K MDB/MDE. I >cannot recall since when. I guess about 4 weeks not all menus are visible >anymore. For example i had a dropdown File menu a view menu and a settings >menu. The view menu is working fine but the other two show no options >anymore. Only a grey square like option with no menu options >anymore!?!?!??!?!? > >I have about 300 deployed clients through the country and they are all >working fine. So no worries now and It seems this problem only occurs on my >pc and laptop. But it develops and tests very bad. > >Thx Marcel > > > -- Marty Connelly Victoria, B.C. Canada From vrm at tim-cms.com Wed Aug 3 16:00:08 2005 From: vrm at tim-cms.com (| Marcel Vreuls) Date: Wed, 3 Aug 2005 23:00:08 +0200 Subject: [AccessD] Menu problems In-Reply-To: <42F11583.2020606@shaw.ca> Message-ID: <000e01c5986e$5502d280$0100000a@GALAXY.local> Marty, Thanks, pushing the resetbutton and remove usage data button for about 10 times. Start msaccess with the /decompile option my toolbars are back.....Strano Mavero like italians say or very strange in plain englisch. Tnxs a lot, Marcel -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of MartyConnelly Sent: woensdag 3 augustus 2005 21:06 To: Access Developers discussion and problem solving Subject: Re: [AccessD] Menu problems Just a couple of guesses to try CTRL+F11 Toggles between the custom menu bar and the built-in menu bar There are ways to lose some bits that may require a reinstall of Access One being, not holding the ctrl key down when dragging items to create a customized bar This does a copy and not a move. A move can get lost. There is a reset button in Tools Customize Options but I have never had to use. You might try importing all objects to a band new mdb just in case mdb corruption is the cause. You can try toggling the various ToolBars through code Some are DoCmd.ShowToolbar "Database", acToolbarYes DoCmd.ShowToolbar "Menu Bar", acToolbarYes Function ShowMenu() On Error Resume Next DoCmd.ShowToolBar "Menu Bar", acToolbarYes End Function Function HideMenu() On Error Resume Next DoCmd.ShowToolBar "Menu Bar", acToolbarNo End Function Function ShowToolBar() On Error Resume Next DoCmd.ShowToolBar "Form View", acToolbarYes End Function Function HideToolBar() On Error Resume Next DoCmd.ShowToolBar "Form View", acToolbarNo End Function | Marcel Vreuls wrote: >Hi, > >I've got the strangest problem. I have a quit large frontend A2K MDB/MDE. I >cannot recall since when. I guess about 4 weeks not all menus are visible >anymore. For example i had a dropdown File menu a view menu and a settings >menu. The view menu is working fine but the other two show no options >anymore. Only a grey square like option with no menu options >anymore!?!?!??!?!? > >I have about 300 deployed clients through the country and they are all >working fine. So no worries now and It seems this problem only occurs on my >pc and laptop. But it develops and tests very bad. > >Thx Marcel > > > -- Marty Connelly Victoria, B.C. Canada -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From kimjwiggins at yahoo.com Wed Aug 3 16:26:24 2005 From: kimjwiggins at yahoo.com (Kim Wiggins) Date: Wed, 3 Aug 2005 14:26:24 -0700 (PDT) Subject: [AccessD] Problems with word Automation In-Reply-To: <20050802225714.76759.qmail@web53604.mail.yahoo.com> Message-ID: <20050803212624.16392.qmail@web53605.mail.yahoo.com> When I try to remove the reference on my computer and try to run the application it errors out. Shouldn't it run on my system without a reference if I am using late binding like you said? Should I try to set the reference at runtime with a command that references the appropriate object on the system I am using? Does anyone know what the syntax is to set the reference at runtime? Does that mean I need to download msword8.olb and msword9.olb? If so, where do I get those from? Here is my code: Private Sub cmdLogEntry_Click() ' Declare the variable. Dim objWD As Word.Application Dim WordDoc As Word.Document Dim WordRange As Word.Range Dim strPath As String Dim strFile As String Dim strFile1 As String Dim strFile2 As String Dim strFile3 As String Dim strFile4 As String Dim strDate As String Dim strDate2 As Variant Dim strDate1 As String Dim strActions As String Dim strActions1 As String strDate2 = Null On Error GoTo SubErr ' Set the variable (runs new instance of Word.) Set objWD = CreateObject("Word.Application") 'make application visible objWD.Application.Visible = True 'Get Path of Current DB strPath = frmSplash.strPath 'Strip FileName to Get Path to Doc Do lngInStr = InStr(lngInStr + 1, strPath, "\") Loop While (InStr(lngInStr + 1, strPath, "\") <> 0) 'Get path up to the last ?\? strPath = Left(strPath, lngInStr) 'Append document name onto the end of the stripped path strFile = strPath & "AirframeTemplate.doc" strFile1 = strPath & "RtEngineTemplate.doc" strFile2 = strPath & "LtEngineTemplate.doc" strFile3 = strPath & "RtPropTemplate.doc" strFile4 = strPath & "LtPropTemplate.doc" 'open the word document Set doc = objWD.Documents.Open(strFile) Kim Wiggins wrote: Thanks so much Marty and Marcel for helping me to understand this better. This is my first attempt at automation. Unfortunately, I will not see this user until Saturday so I can't test it out until then but I will let you know next week if everything went well. Thanks MartyConnelly wrote:You are using late binding so you don't need any references set to Word, which maybe causing the problem It might be useful to have a reference if using intellisense or looking at object browser but you would remove the reference before deploying with late binding. With late binding it will grab the highest version of word on the system You might be using some esoteric part of word say using xml file routines that don't exist in Word 97, so you may want to check the version of word running to avoid problems with lower versions. On Error Resume Next ' grab word if already running Set objWord = GetObject(, "Word.Application") On Error GoTo 0 ' or if word not already running error Err.Number = 429 or set to nothing If objWord Is Nothing Then Set objWord = CreateObject("Word.Application") Debug.Print objWord.Version ' if Word 97 SP2 then Word Version= 8.0b ' Word 9 opens a separate window for each document. ' Prior to Word 9, all documents opened in the same window. End If Kim Wiggins wrote: >I am using >Set objWord = CreateObject("Word.Application") > >Do you think that could be the problem? >Kim > > >MartyConnelly wrote: >Are you using early or late binding. >Set objWord = CreateObject("Word.Application") >or >Set objWord = New Word.Application >Funny things may happen with early binding if newer versions of word >installed and then uninstalled. > >Kim Wiggins wrote: > > > >>Hey everyone >>Hope all is well. I am not. I coded an automation report in VB6 using Word and it works fine on my work laptop and my laptop at home. But when I install it on the users computer, it gives me the standard application error and shuts down. It says "My_app_name has encountered an error and must close" and then it offers to send a report. Well that is flooring me because it runs in the development environment on both machines just fine. >>Can anyone think of anything that I am missing or overlooking? >>Thanks >>Kim >> >> >>--------------------------------- >>Start your day with Yahoo! - make it your home page >> >> >> >> > > > -- Marty Connelly Victoria, B.C. Canada -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com __________________________________________________ Do You Yahoo!? Tired of spam? Yahoo! Mail has the best spam protection around http://mail.yahoo.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com __________________________________________________ Do You Yahoo!? Tired of spam? Yahoo! Mail has the best spam protection around http://mail.yahoo.com From cfoust at infostatsystems.com Wed Aug 3 17:33:09 2005 From: cfoust at infostatsystems.com (Charlotte Foust) Date: Wed, 3 Aug 2005 15:33:09 -0700 Subject: [AccessD] Memo field parsing Message-ID: No, get the textwidth of the control and see if the textwidth of the text is greater than that. Handle the situation where it is not and everything fits in the first control. Otherwise get the text that fits within the control textwidth and use instrRev to find the last space in that substring. Break it there. At that point, you also know the index of the starting point for the rest of the string, so all you need to do for the next page is use the Mid(text, index) to put the rest of it into the second page. Charlotte Foust -----Original Message----- From: Gregg [mailto:greggs at msn.com] Sent: Wednesday, August 03, 2005 11:34 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Memo field parsing So, you're saying I need to loop through all the characters until I find the last whole word that will fit on the first line, the same for the second etc. until I determine what text will fit in the first page text field and use what's left for the 2nd page? ----- Original Message ----- From: Charlotte Foust To: Access Developers discussion and problem solving Sent: Wednesday, August 03, 2005 11:02 AM Subject: RE: [AccessD] Memo field parsing You can't do it by simply counting characters anyhow. You have to use the TextWidth property, which can be expressed as reportname.TextWidth(stringvariable) and compare that to the textwidth of the control ( reportname.TextWidth(controlobject) or to the maximum length you want to display. You'll also want to allow a padding factor to avoid overrunning the borders of the control and be sure and check for carriage returns because they confuse the issue. If you want to display 3 "lines", you'll have to break the memo field into the first three chunks that will fit into the textwidth of the textbox you're using to display the text on that page. Charlotte Foust -----Original Message----- From: Gregg [mailto:greggs at msn.com] Sent: Wednesday, August 03, 2005 8:43 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Memo field parsing Charlotte Physical space I think because I don't know how to get from one to the other. The number of characters is going to be dependant on the how many characters are lost to word wrapping isn't it? Is there a way to calculate the number of characters that will appear in the first three lines? If I knew that, I could do it. ----- Original Message ----- From: Charlotte Foust> To: Access Developers discussion and problem solving> Sent: Wednesday, August 03, 2005 10:28 AM Subject: RE: [AccessD] Memo field parsing Define "first three lines". Is that a particular number of characters or a physical space? Charlotte Foust -----Original Message----- From: Gregg [mailto:greggs at msn.com] Sent: Wednesday, August 03, 2005 7:32 AM To: Access Developers discussion and problem solving Subject: [AccessD] Memo field parsing I would like to parse a memo field in a A97 report such that the first three lines is on the first page and whatever is left is on the next. Any ideas? Gregg Steinbrenner -- AccessD mailing list AccessD at databaseadvisors.com> http://databaseadvisors.com/mailman/listinfo/accessd sors.com/mailman/listinfo/accessd> Website: http://www.databaseadvisors.com> -- AccessD mailing list AccessD at databaseadvisors.com> http://databaseadvisors.com/mailman/listinfo/accessd sors.com/mailman/listinfo/accessd> Website: http://www.databaseadvisors.com> -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From greggs at msn.com Wed Aug 3 17:49:20 2005 From: greggs at msn.com (Gregg) Date: Wed, 3 Aug 2005 17:49:20 -0500 Subject: [AccessD] Memo field parsing References: Message-ID: Thanks Charlotte! I give it a try. ----- Original Message ----- From: Charlotte Foust To: Access Developers discussion and problem solving Sent: Wednesday, August 03, 2005 5:33 PM Subject: RE: [AccessD] Memo field parsing No, get the textwidth of the control and see if the textwidth of the text is greater than that. Handle the situation where it is not and everything fits in the first control. Otherwise get the text that fits within the control textwidth and use instrRev to find the last space in that substring. Break it there. At that point, you also know the index of the starting point for the rest of the string, so all you need to do for the next page is use the Mid(text, index) to put the rest of it into the second page. Charlotte Foust -----Original Message----- From: Gregg [mailto:greggs at msn.com] Sent: Wednesday, August 03, 2005 11:34 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Memo field parsing So, you're saying I need to loop through all the characters until I find the last whole word that will fit on the first line, the same for the second etc. until I determine what text will fit in the first page text field and use what's left for the 2nd page? ----- Original Message ----- From: Charlotte Foust> To: Access Developers discussion and problem solving> Sent: Wednesday, August 03, 2005 11:02 AM Subject: RE: [AccessD] Memo field parsing You can't do it by simply counting characters anyhow. You have to use the TextWidth property, which can be expressed as reportname.TextWidth(stringvariable) and compare that to the textwidth of the control ( reportname.TextWidth(controlobject) or to the maximum length you want to display. You'll also want to allow a padding factor to avoid overrunning the borders of the control and be sure and check for carriage returns because they confuse the issue. If you want to display 3 "lines", you'll have to break the memo field into the first three chunks that will fit into the textwidth of the textbox you're using to display the text on that page. Charlotte Foust -----Original Message----- From: Gregg [mailto:greggs at msn.com] Sent: Wednesday, August 03, 2005 8:43 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Memo field parsing Charlotte Physical space I think because I don't know how to get from one to the other. The number of characters is going to be dependant on the how many characters are lost to word wrapping isn't it? Is there a way to calculate the number of characters that will appear in the first three lines? If I knew that, I could do it. ----- Original Message ----- From: Charlotte Foust m>> To: Access Developers discussion and problem solving ors.com>> Sent: Wednesday, August 03, 2005 10:28 AM Subject: RE: [AccessD] Memo field parsing Define "first three lines". Is that a particular number of characters or a physical space? Charlotte Foust -----Original Message----- From: Gregg [mailto:greggs at msn.com] Sent: Wednesday, August 03, 2005 7:32 AM To: Access Developers discussion and problem solving Subject: [AccessD] Memo field parsing I would like to parse a memo field in a A97 report such that the first three lines is on the first page and whatever is left is on the next. Any ideas? Gregg Steinbrenner -- AccessD mailing list AccessD at databaseadvisors.com: AccessD at databaseadvisors.com>> http://databaseadvisors.com/mailman/listinfo/accessd i> sors.com/mailman/listinfo/accessd> Website: http://www.databaseadvisors.com www.databaseadvisors.com>> -- AccessD mailing list AccessD at databaseadvisors.com: AccessD at databaseadvisors.com>> http://databaseadvisors.com/mailman/listinfo/accessd i> sors.com/mailman/listinfo/accessd> Website: http://www.databaseadvisors.com www.databaseadvisors.com>> -- AccessD mailing list AccessD at databaseadvisors.com> http://databaseadvisors.com/mailman/listinfo/accessd sors.com/mailman/listinfo/accessd> Website: http://www.databaseadvisors.com> -- AccessD mailing list AccessD at databaseadvisors.com> http://databaseadvisors.com/mailman/listinfo/accessd sors.com/mailman/listinfo/accessd> Website: http://www.databaseadvisors.com> -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd 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 Aug 3 18:49:56 2005 From: martyconnelly at shaw.ca (MartyConnelly) Date: Wed, 03 Aug 2005 16:49:56 -0700 Subject: [AccessD] Problems with word Automation References: <20050803212624.16392.qmail@web53605.mail.yahoo.com> Message-ID: <42F15824.60104@shaw.ca> 'For early binding with a reference to Word ' Dim objWD As Word.Application ' Dim WordDoc As Word.Document ' Dim WordRange As Word.Range 'For Late binding without a reference to Word use generic Object Dim objWD As Object Dim WordDoc As Object Dim WordRange As Object ' In certain cases using nodes, you may have to use a variant rather than Object There is a way to handle all this with conditional compile statements but it is sometimes easier to just add and switch comment out statements as needed. Kim Wiggins wrote: >When I try to remove the reference on my computer and try to run the application it errors out. Shouldn't it run on my system without a reference if I am using late binding like you said? Should I try to set the reference at runtime with a command that references the appropriate object on the system I am using? Does anyone know what the syntax is to set the reference at runtime? Does that mean I need to download msword8.olb and msword9.olb? If so, where do I get those from? Here is my code: > >Private Sub cmdLogEntry_Click() > ' Declare the variable. > Dim objWD As Word.Application > Dim WordDoc As Word.Document > Dim WordRange As Word.Range > Dim strPath As String > Dim strFile As String > Dim strFile1 As String > Dim strFile2 As String > Dim strFile3 As String > Dim strFile4 As String > Dim strDate As String > Dim strDate2 As Variant > Dim strDate1 As String > Dim strActions As String > Dim strActions1 As String > strDate2 = Null > > On Error GoTo SubErr > ' Set the variable (runs new instance of Word.) > Set objWD = CreateObject("Word.Application") > > 'make application visible > objWD.Application.Visible = True > > 'Get Path of Current DB > strPath = frmSplash.strPath > > 'Strip FileName to Get Path to Doc > Do > lngInStr = InStr(lngInStr + 1, strPath, "\") > Loop While (InStr(lngInStr + 1, strPath, "\") <> 0) > > 'Get path up to the last \ > strPath = Left(strPath, lngInStr) > > 'Append document name onto the end of the stripped path > strFile = strPath & "AirframeTemplate.doc" > strFile1 = strPath & "RtEngineTemplate.doc" > strFile2 = strPath & "LtEngineTemplate.doc" > strFile3 = strPath & "RtPropTemplate.doc" > strFile4 = strPath & "LtPropTemplate.doc" > > 'open the word document > Set doc = objWD.Documents.Open(strFile) > > >Kim Wiggins wrote: >Thanks so much Marty and Marcel for helping me to understand this better. This is my first attempt at automation. Unfortunately, I will not see this user until Saturday so I can't test it out until then but I will let you know next week if everything went well. Thanks > >MartyConnelly wrote:You are using late binding so you don't need any references set to Word, >which maybe causing the problem >It might be useful to have a reference if using intellisense or looking >at object browser >but you would remove the reference before deploying with late binding. >With late binding it will grab the highest version of word on the system >You might be using some esoteric part of word say using xml file >routines that don't exist >in Word 97, so you may want to check the version of word running to >avoid problems >with lower versions. > >On Error Resume Next >' grab word if already running >Set objWord = GetObject(, "Word.Application") >On Error GoTo 0 >' or if word not already running error Err.Number = 429 or >set to nothing >If objWord Is Nothing Then > >Set objWord = CreateObject("Word.Application") >Debug.Print objWord.Version > >' if Word 97 SP2 then Word Version= 8.0b >' Word 9 opens a separate window for each document. >' Prior to Word 9, all documents opened in the same window. >End If > > >Kim Wiggins wrote: > > > >>I am using >>Set objWord = CreateObject("Word.Application") >> >>Do you think that could be the problem? >>Kim >> >> >>MartyConnelly wrote: >>Are you using early or late binding. >>Set objWord = CreateObject("Word.Application") >>or >>Set objWord = New Word.Application >>Funny things may happen with early binding if newer versions of word >>installed and then uninstalled. >> >>Kim Wiggins wrote: >> >> >> >> >> >>>Hey everyone >>>Hope all is well. I am not. I coded an automation report in VB6 using Word and it works fine on my work laptop and my laptop at home. But when I install it on the users computer, it gives me the standard application error and shuts down. It says "My_app_name has encountered an error and must close" and then it offers to send a report. Well that is flooring me because it runs in the development environment on both machines just fine. >>>Can anyone think of anything that I am missing or overlooking? >>>Thanks >>>Kim >>> >>> >>>--------------------------------- >>>Start your day with Yahoo! - make it your home page >>> >>> >>> >>> >>> >>> >> >> >> > > > -- Marty Connelly Victoria, B.C. Canada From pcantoni at erggroup.com Wed Aug 3 20:58:07 2005 From: pcantoni at erggroup.com (Paolo Cantoni) Date: Thu, 4 Aug 2005 09:58:07 +0800 Subject: [AccessD] A2K & Oracle10g via ODBC - wrong Primary Key Message-ID: Hi, I've found a _gotcha_ in using Access 2000 to connect to an Oracle 10g database. I haven't tested this beyond this combination. It turns out, that if you have more than one unique key defined for an Oracle table (at the time you link with ODBC), Access will get confused about which is the primary key. Accordingly, it will mark ALL the rows and columns as #Deleted. It can be worked around by splitting the table definition and loading process in two... First declare the table with only a primary key, link to it with Access, then add the rest of the table definitions (other unique constraints, foreign keys etc...) Seems to work "without loss of generality" UNTIL you re-link! Anyone else observed this or got a fix (as opposed to a workaround). Thanx, Paolo Cantoni, Data Architect ERG Group 247 Balcatta Road Balcatta WA 6021 Australia Tel: + 61 8 9273 1287 Fax: +61 8 9273 1535 Email: pcantoni at erggroup.com Website: www.erggroup.com There is no such thing as an inconsistently correct system... ...Therefore, aim for consistency; in the expectation of achieving correctness! From pcantoni at erggroup.com Wed Aug 3 21:16:45 2005 From: pcantoni at erggroup.com (Paolo Cantoni) Date: Thu, 4 Aug 2005 10:16:45 +0800 Subject: [AccessD] Cutting down on post clutter... Message-ID: Hi, I get the digest and it's very hard sometimes to read through 5 pages of repeated responses to find the 5 lines of new input... Can I please ask that posters keep only the relevant bits of previous posts? It takes only a few extra seconds and indicates a degree of etiquette - not to mention saving trees and electrons... Thanx, Paolo Cantoni, Data Architect ERG Group 247 Balcatta Road Balcatta WA 6021 Australia Tel: + 61 8 9273 1287 Fax: +61 8 9273 1535 Email: pcantoni at erggroup.com Website: www.erggroup.com There is no such thing as an inconsistently correct system... ...Therefore, aim for consistency; in the expectation of achieving correctness! From martyconnelly at shaw.ca Wed Aug 3 21:46:16 2005 From: martyconnelly at shaw.ca (MartyConnelly) Date: Wed, 03 Aug 2005 19:46:16 -0700 Subject: [AccessD] Problems with word Automation References: <20050803212624.16392.qmail@web53605.mail.yahoo.com> Message-ID: <42F18178.6070009@shaw.ca> Not to worry you will eventualy "grok this" and/or "the penny will drop". If you want to early bind, you should use the oldest MsWord olb file available to your clients and to you. as Access will upgrade the reference to the latest version available, Now this is the way it is supposed to work But if you have installed Office 2003 trial version of Word on a system that has also got Office 97 The trial expires and you remove Office 2003 Word and install Access 2003 then try and early bind to Word 97 it will complain about unregistered MSWORD8.OLB At this point you give up and use late binding also giving up some speed. I just realized something, that I hadn't understood before. In VBA the way you specify how the object is bound is by your object declaration. If you declare an object variable as "Object" you are, in fact, telling Visual Basic to use IDispatch, and are therefore late binding: So either Call method works with early binding when you set a declared object variable such as Word Dim objWD As Word.Application Set objWD = CreateObject("Word.Application") or Set objWD = New Word.Application Also Here is how to do a conditional compile to select early and late binding by just switching a constant. Option Explicit #Const LateBindWord = False 'look up condition compile in help #IF...THEN ... #Else Directive 'INFO: Using Early Binding and Late Binding in Automation 'http://support.microsoft.com/default.aspx/kb/245115 'http://support.microsoft.com/default.aspx?kbid=242375 'PRB: Office 97 Automation Client Fails After Re-compilation with Office 2000 'or Later Type Library 'http://support.microsoft.com/default.aspx?kbid=242375 'INFO: Use DISPID Binding to Automate Office Applications Whenever Possible 'http://support.microsoft.com/kb/247579 'INFO: Writing Automation Clients for Multiple Office Versions 'http://support.microsoft.com/kb/244167 Public Sub cmdLogEntry_Click() ' Declare the variable. #If LateBindWord Then 'For Late binding without a reference to Word olb use generic Object Dim objWD As Object Dim WordDoc As Object Dim WordRange As Object #Else 'For early binding with a reference to Word Dim objWD As Word.Application Dim WordDoc As Word.Document Dim WordRange As Word.Range #End If Dim strPath As String Dim strFile As String Dim strFile1 As String Dim strFile2 As String Dim strFile3 As String Dim strFile4 As String Dim strDate As String Dim strDate2 As Variant Dim strDate1 As String Dim strActions As String Dim strActions1 As String strDate2 = Null 'On Error GoTo SubErr ' Set the variable (runs new instance of Word.) #If LateBindWord Then Set objWD = CreateObject("Word.Application") #Else 'Again, in Visual Basic the way you specify how the object is bound is by your object declaration. ' If you declare an object variable as "Object" ' you are, in fact, telling Visual Basic to use IDispatch, and are therefore late binding: ' So either Call method works and this doesn't matter Set objWD = CreateObject("Word.Application") 'Set objWD = New Word.Application #End If 'make application visible objWD.Application.Visible = True 'Get Path of Current DB strFile = "C:\Access files\SharePoint\Using Microsoft Windows SharePoint Services with the Microsoft Office System.doc" 'open the word document Set WordDoc = objWD.Documents.Open(strFile) 'blah blah blah End Sub Kim Wiggins wrote: >When I try to remove the reference on my computer and try to run the application it errors out. Shouldn't it run on my system without a reference if I am using late binding like you said? Should I try to set the reference at runtime with a command that references the appropriate object on the system I am using? Does anyone know what the syntax is to set the reference at runtime? Does that mean I need to download msword8.olb and msword9.olb? If so, where do I get those from? Here is my code: > >Private Sub cmdLogEntry_Click() > ' Declare the variable. > Dim objWD As Word.Application > Dim WordDoc As Word.Document > Dim WordRange As Word.Range > Dim strPath As String > Dim strFile As String > Dim strFile1 As String > Dim strFile2 As String > Dim strFile3 As String > Dim strFile4 As String > Dim strDate As String > Dim strDate2 As Variant > Dim strDate1 As String > Dim strActions As String > Dim strActions1 As String > strDate2 = Null > > On Error GoTo SubErr > ' Set the variable (runs new instance of Word.) > Set objWD = CreateObject("Word.Application") > > 'make application visible > objWD.Application.Visible = True > > 'Get Path of Current DB > strPath = frmSplash.strPath > > 'Strip FileName to Get Path to Doc > Do > lngInStr = InStr(lngInStr + 1, strPath, "\") > Loop While (InStr(lngInStr + 1, strPath, "\") <> 0) > > 'Get path up to the last \ > strPath = Left(strPath, lngInStr) > > 'Append document name onto the end of the stripped path > strFile = strPath & "AirframeTemplate.doc" > strFile1 = strPath & "RtEngineTemplate.doc" > strFile2 = strPath & "LtEngineTemplate.doc" > strFile3 = strPath & "RtPropTemplate.doc" > strFile4 = strPath & "LtPropTemplate.doc" > > 'open the word document > Set doc = objWD.Documents.Open(strFile) > > >Kim Wiggins wrote: >Thanks so much Marty and Marcel for helping me to understand this better. This is my first attempt at automation. Unfortunately, I will not see this user until Saturday so I can't test it out until then but I will let you know next week if everything went well. Thanks > >MartyConnelly wrote:You are using late binding so you don't need any references set to Word, >which maybe causing the problem >It might be useful to have a reference if using intellisense or looking >at object browser >but you would remove the reference before deploying with late binding. >With late binding it will grab the highest version of word on the system >You might be using some esoteric part of word say using xml file >routines that don't exist >in Word 97, so you may want to check the version of word running to >avoid problems >with lower versions. > >On Error Resume Next >' grab word if already running >Set objWord = GetObject(, "Word.Application") >On Error GoTo 0 >' or if word not already running error Err.Number = 429 or >set to nothing >If objWord Is Nothing Then > >Set objWord = CreateObject("Word.Application") >Debug.Print objWord.Version > >' if Word 97 SP2 then Word Version= 8.0b >' Word 9 opens a separate window for each document. >' Prior to Word 9, all documents opened in the same window. >End If > > >Kim Wiggins wrote: > > > >>I am using >>Set objWord = CreateObject("Word.Application") >> >>Do you think that could be the problem? >>Kim >> >> >>MartyConnelly wrote: >>Are you using early or late binding. >>Set objWord = CreateObject("Word.Application") >>or >>Set objWord = New Word.Application >>Funny things may happen with early binding if newer versions of word >>installed and then uninstalled. >> >>Kim Wiggins wrote: >> >> >> >> >> >>>Hey everyone >>>Hope all is well. I am not. I coded an automation report in VB6 using Word and it works fine on my work laptop and my laptop at home. But when I install it on the users computer, it gives me the standard application error and shuts down. It says "My_app_name has encountered an error and must close" and then it offers to send a report. Well that is flooring me because it runs in the development environment on both machines just fine. >>>Can anyone think of anything that I am missing or overlooking? >>>Thanks >>>Kim >>> >>> >>>--------------------------------- >>>Start your day with Yahoo! - make it your home page >>> >>> >>> >>> >>> >>> >> >> >> > > > -- Marty Connelly Victoria, B.C. Canada From jwcolby at colbyconsulting.com Thu Aug 4 09:58:36 2005 From: jwcolby at colbyconsulting.com (John W. Colby) Date: Thu, 04 Aug 2005 10:58:36 -0400 Subject: [AccessD] Withevents article Message-ID: <008801c59905$00a18a00$6c7aa8c0@ColbyM6805> I just rediscovered this: http://vbadvisor.com/doc/13276 Which is a chapter on Withevents / RaiseEvent I wrote for Beginning Access 2002 VBA by Wrox Press. Anyone looking for an intro to Withevents / Raisevents might want to look at it. John W. Colby www.ColbyConsulting.com Contribute your unused CPU cycles to a good cause: http://folding.stanford.edu/ From cyx5 at cdc.gov Thu Aug 4 10:20:40 2005 From: cyx5 at cdc.gov (Nicholson, Karen) Date: Thu, 4 Aug 2005 11:20:40 -0400 Subject: [AccessD] Access 2003 Reports Not Working Message-ID: I have a new user, installed with Access 2003, running my XP database. All is well, the references are fine, there are no code compilation issues. However, she can not open up a report. If I go to the database container and click on any report for a report preview, it acts like I do not exist. It does nothing. What's up with this? I am googling to no avail. Thanks. From Gustav at cactus.dk Thu Aug 4 10:46:32 2005 From: Gustav at cactus.dk (Gustav Brock) Date: Thu, 04 Aug 2005 17:46:32 +0200 Subject: [AccessD] Access 2003 Reports Not Working Message-ID: Hi 65 1. Have you tried to install a(nother) printer? 2. Open the report in design view, reassign the printer and save. /gustav >>> cyx5 at cdc.gov 08/04 5:20 pm >>> I have a new user, installed with Access 2003, running my XP database. All is well, the references are fine, there are no code compilation issues. However, she can not open up a report. If I go to the database container and click on any report for a report preview, it acts like I do not exist. It does nothing. What's up with this? I am googling to no avail. Thanks. From jwcolby at colbyconsulting.com Thu Aug 4 11:01:04 2005 From: jwcolby at colbyconsulting.com (John W. Colby) Date: Thu, 04 Aug 2005 12:01:04 -0400 Subject: [AccessD] Event sink order Message-ID: <008901c5990d$b782e2c0$6c7aa8c0@ColbyM6805> When a control's events are sunk in more than one class, the order that events are sunk (which class gets control first) is determined by the order that the classes are initialized. In other words, if Class1 and Class2 sink events for ComboZ, the class that is initialized LAST gets control FIRST - IN A2K AND LATER!!!. In A97 the situation is reversed. In order to test this, I created two classes, Class1 and Class2: '************************************************** Option Compare Database Option Explicit Const cstrClassName As String = "Class1" Dim WithEvents mcbo As ComboBox Const cstrEvProc As String = "[Event Procedure]" Function Init(cbo As ComboBox) Set mcbo = cbo mcbo.AfterUpdate = cstrEvProc End Function Private Sub mcbo_AfterUpdate() debug.print cstrClassName End Sub '************************************************** Option Compare Database Option Explicit Const cstrClassName As String = "Class2" Dim WithEvents mcbo As ComboBox Const cstrEvProc As String = "[Event Procedure]" Function Init(cbo As ComboBox) Set mcbo = cbo mcbo.AfterUpdate = cstrEvProc End Function Private Sub mcbo_AfterUpdate() debug.print cstrClassName End Sub '************************************************** Notice the only difference between the classes is the string constant that "names" the class. I then created a form that uses these two classes: '************************************************** Option Compare Database Option Explicit Dim fcls1 As Class1 Dim fcls2 As Class2 Private Sub Form_Open(Cancel As Integer) Set fcls1 = New Class1 Set fcls2 = New Class2 fcls2.Init Combo0 fcls1.Init Combo0 End Sub Private Sub Combo0_AfterUpdate() debug.print "Form event sink" End Sub '************************************************** The form has a single combo box with a simple list of things to select. In order to test whether it is the SET statement or the actual initialization of the class, I SET the classes in order, but INITed the classes in reverse order. Opening the form and selecting an item in the combo caused: Form event sink Class2 Class1 To be printed in the debug window. This is in Access2K. Likewise in XP. In A97 the OPPOSITE was true, i.e. the class initialized FIRST gets control first. I finally ran into a case where the order does matter. In a client's application, they use a set of 5 check boxes to denote different attributes of a claim. There are dependencies between the checkboxes, dictated by a set of rules. Private WithEvents mchkWorkComp As CheckBox Private WithEvents mchkAutoRelated As CheckBox Private WithEvents mchkAccident As CheckBox Private WithEvents mchkIllness As CheckBox Private WithEvents mchkMaternity As CheckBox The rules go something like: A Automobile claim IS an Accident, but NOT an illness. An Illness is NOT an Accident or auto related A maternity claim is not an accident and vice versa etc. etc. I built a class using withevents that sink the click event for these check boxes, then use the following to "get it right" Private Sub mchkWorkComp_Click() mchkMaternity.Value = False RaiseEvent Finished End Sub Private Sub mchkAutoRelated_Click() mchkAccident.Value = True mchkIllness.Value = False mchkMaternity.Value = False RaiseEvent Finished End Sub Private Sub mchkAccident_Click() mchkIllness.Value = False mchkMaternity.Value = False RaiseEvent Finished End Sub Private Sub mchkIllness_Click() mchkAccident.Value = False mchkAutoRelated.Value = False RaiseEvent Finished End Sub Private Sub mchkMaternity_Click() mchkAccident.Value = False mchkIllness.Value = True mchkAutoRelated.Value = False mchkWorkComp.Value = False RaiseEvent Finished End Sub The problem now is that the Benefit effective date of the policy depends on just TWO of these check boxes, chkAccident and chkIllness. I have an entire class that performs the calculations required to calc the Benefit effective date, and that class has to sink these two check boxes (accident / illness). Thus I need the main class that manipulates ALL of the check boxes to gain control first, get the various check boxes in the desired states, then my class that calculates the dates needs to get control after the "check box states" have been determined. Given that requirement, and what we now know about sink order, I need to make sure that the main check box class is initialized LAST, so that it gets control FIRST. The order that events are sunk between classes can make a difference in how you application operates. If you get it wrong, you may have unintended consequences that are difficult to track down. John W. Colby www.ColbyConsulting.com Contribute your unused CPU cycles to a good cause: http://folding.stanford.edu/ From bheid at appdevgrp.com Thu Aug 4 12:23:33 2005 From: bheid at appdevgrp.com (Bobby Heid) Date: Thu, 4 Aug 2005 13:23:33 -0400 Subject: [AccessD] Withevents article In-Reply-To: <916187228923D311A6FE00A0CC3FAA30C4CD82@ADGSERVER> Message-ID: <916187228923D311A6FE00A0CC3FAA30ABEDF1@ADGSERVER> Thanks John. I'll check it out. Bobby -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of John W. Colby Sent: Thursday, August 04, 2005 10:59 AM To: 'Access Developers discussion and problem solving' Subject: [AccessD] Withevents article I just rediscovered this: http://vbadvisor.com/doc/13276 Which is a chapter on Withevents / RaiseEvent I wrote for Beginning Access 2002 VBA by Wrox Press. Anyone looking for an intro to Withevents / Raisevents might want to look at it. John W. Colby www.ColbyConsulting.com From Chester_Kaup at kindermorgan.com Thu Aug 4 14:15:40 2005 From: Chester_Kaup at kindermorgan.com (Kaup, Chester) Date: Thu, 4 Aug 2005 14:15:40 -0500 Subject: [AccessD] Table locked Message-ID: I have a database on my local C drive. When it opens it runs an autoexec macro to run a query to make a table. I get a message that the table can not be opened exclusively. How can this be and how do I determine what has the table open? I have tried compacting and repairing and opening the database exclusively with no success. Thanks. Chester Kaup Engineering Technician Kinder Morgan CO2 Company, LLP Office (432) 688-3797 No trees were killed in the sending of this message. However a large number of electrons were terribly inconvenienced. FAX (432) 688-3799 From Susan.Klos at fldoe.org Thu Aug 4 14:28:44 2005 From: Susan.Klos at fldoe.org (Klos, Susan) Date: Thu, 4 Aug 2005 15:28:44 -0400 Subject: [AccessD] "Find" combo box searches more than one table Message-ID: Is it possible to construct a "find" combo box that will search through more than one table in the database? Susan Klos Senior Database Analyst Evaluation and Reporting Florida Department of Education 850-245-0708 sc 205-0708 From rbgajewski at adelphia.net Thu Aug 4 14:40:05 2005 From: rbgajewski at adelphia.net (Bob Gajewski) Date: Thu, 4 Aug 2005 15:40:05 -0400 Subject: [AccessD] A2K Unbound field on report error In-Reply-To: <013801c56bf1$23408b10$0100a8c0@RazvojErvin> Message-ID: <20050804194009.HCLV24042.mta11.adelphia.net@DG1P2N21> Dear List We have a report that prints one membership card at a time. I am probably missing the most obvious thing here, but I just can't get this report to print. I keep receiving: ----------------------------------------------------- Run-time error; '2465' Microsoft Access can't find the field 'Firefighter' referred to in your expression. ----------------------------------------------------- Any assistance or guidance would be most appreciated. Thanks, Bob Gajewski, Assistant Chief (and db Administrator) Wales Center Volunteer Fire Company Details: rptMembershipCard Source: qryMembershipCard Fields: MemberNumber (bound to query field 'MemberNumber') txtFullName (bound to query field 'txtFullName') txtClass (unbound) // other fields have been not included here as they are not related to the problem qryMembershipCard Source: tblMembers Selected Fields: MemberNumber // using prompt to select one record txtFullName = [FirstName] & IIf(IsNull([MiddleInitial]),""," " & [MiddleInitial] & ",") & " " & [LastName] booFirefighter booEMSProvider booFirePolice // other fields have been not included here as they are not related to the problem The CBF is: ***************** CODE BEGIN ************************ Private Sub Detail_Format(Cancel As Integer, FormatCount As Integer) Dim booFirstClass As Boolean booFirstClass = True txtClass = "" If [Firefighter] = True Then If booFirstClass = True Then txtClass = "Firefighter" booFirstClass = False Else txtClass = " " & "Firefighter" End If End If If [EMSProvider] = True Then If booFirstClass = True Then txtClass = "EMS Provider" booFirstClass = False Else txtClass = "," & "EMS Provider" End If End If If [FirePolice] = True Then If booFirstClass = True Then txtClass = "Fire Police" booFirstClass = False Else txtClass = "," & "Fire Police" End If End If If IsNull([txtClass]) Or [txtClass] = "" Then lblClass.Visible = False End If End Sub ****************** CODE END ************************* -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Ervin Brindza Sent: Wednesday, June 08, 2005 02:13 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Insert Access Info Into Web page Adam, try to find an article in the Database Journal: Convert Access Tables Into ASP Web Pages by Danny Lesandrini HTH, Ervin ----- Original Message ----- From: "MartyConnelly" To: "Access Developers discussion and problem solving" Sent: Tuesday, June 07, 2005 6:41 PM Subject: Re: [AccessD] Insert Access Info Into Web page > > Here are a few good ASP sites: > o ASP101 Samples - http://www.asp101.com/samples o W3Schools ASP > Tutorial - http://www.w3schools.com/asp o Microsoft VBScript Language > Reference - > http://msdn.microsoft.com/scri-pting/default.htm?/scripting/V-BScript/d... > > There are several 100 dollar asp IIS Access solutions like > > http://www.access2asp.com/ > > Or for a "quick and dirty" generic ASP open source solution to putting > databases on the Web (often works well for the admin area of a Web > site) that just requires setting up a configuration page for each > table or query and uploading the database to the Web as long as there > is an autonumber field in each table (and you'll probably also > separately want to create login capabilities), perhaps try something like this: > GenericDB by Eli Robillard. It has been around for 7 years and is used > in a lot of university labs. > http://www.genericdb.com and then click on the Tips link to see an > example > > > Mail List at > http://aspadvice.com/SignUp/list.aspx?l=63&c=11 > > Res-Com Environmental wrote: > > >Dear List: > > > >Is there a way that Access information (such as names and addresses) > >can be > >inserted into a website's form fields? We are trying to use a > >businesses website that doesn't offer special connections so we have > >to manually enter > >information from our database. > > > >Adam > >ResCom > > > > > > > > > > -- > Marty Connelly > Victoria, B.C. > Canada > > > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From dwaters at usinternet.com Thu Aug 4 14:49:05 2005 From: dwaters at usinternet.com (Dan Waters) Date: Thu, 4 Aug 2005 14:49:05 -0500 Subject: [AccessD] Workgroup File Corrupt? Message-ID: <000001c5992d$941417d0$0200a8c0@danwaters> I recently had a client tell me that something went wrong with their workgroup file. The restored from a backup and all was OK. I wasn't there so I don't know more than that. Has anyone had the experience where a workgroup file became corrupt? Thanks, Dan Waters From adtp at touchtelindia.net Thu Aug 4 14:57:38 2005 From: adtp at touchtelindia.net (A.D.Tejpal) Date: Fri, 5 Aug 2005 01:27:38 +0530 Subject: [AccessD] Memo field parsing References: Message-ID: <007f01c5992e$f3bca8e0$ce1865cb@winxp> Gregg, For sake of demonstration, let the source table named T_Memo consist of two fields, named ID (primary key - Autonumber) and Mem (memo type). Create another table, named T_MemRef, with just one field named Ref (number type). Populate this table with just two records, with values 1 and 2 respectively. Query Q_Memo as given below, should be used as record source for your report. It involves Cartesian join between tables T_Memo and T_MemRef. In detail section of your report, drag Mem and Ref from the field list, so as to create bound controls named Mem and Ref. Make these controls hidden, set their CanGrow property to "No" and position the same un-obtrusively. Insert an unbound text box named TxtMemo. This is the text box that would actually display the contents of memo field. Set the width and fonts as desired. Set the CanGrow property of this control as well as the detail section as a whole, to "Yes". In VBA window, put the code given below, in Detail_Format event of the report. Make sure that the item "On Format" in Event tab of properties dialog box shows [Event Procedure] against it. Now, when you run the report, first three lines of the memo field will get displayed on first page and the balance portion on the next page. Similar pattern would get repeated for all records. Best wishes, A.D.Tejpal -------------- Source Query for the report (Q_Memo) ===================================== SELECT T_Memo.ID, T_MemRef.Ref, T_Memo.Mem FROM T_Memo, T_MemRef ORDER BY T_Memo.ID, T_MemRef.Ref; ===================================== Code in Report's Module ===================================== Private Sub Detail_Format(Cancel As Integer, _ FormatCount As Integer) Dim Wd As Long, Rw As Single, Mgn As Long Dim LenMem As Long, Txt As String, Lft As Long Dim LastSpace As Long, MaxRowsFirstPart Dim Mpf As Single MaxRowsFirstPart = 3 LenMem = Len(Mem) If LenMem > 0 Then Else Exit Sub End If With Me ' Set the scale mode to twips .ScaleMode = 1 ' Set Font values for report to match those of memo field. .FontName = TxtMemo.FontName .FontSize = TxtMemo.FontSize If TxtMemo.FontBold <> 0 Then .FontBold = True Else .FontBold = False End If End With ' Allow for necessary margin within a text box ' (Between its border and the content) Mgn = 170 ' This value may need fine tuning for ' best results ' Get effective width of control meant for ' displaying memo field Wd = TxtMemo.Width - Mgn ' Get the number of characters so as to make-up the ' required number of rows for first part of memo field. For Lft = 1 To LenMem Txt = Left(Mem, Lft) LastSpace = IIf(Right(Txt, 1) = " ", Lft, LastSpace) Rw = TextWidth(Txt) / Wd If Rw > MaxRowsFirstPart Then Lft = Lft - 1 Exit For End If Next Debug.Print Lft; ", "; LastSpace ' Get Multiplying factor for acceptable max location ' of last space. Mpf = (0.8 + (MaxRowsFirstPart - 1)) / MaxRowsFirstPart ' Shorten the first part to nearest space ' (if within 20 % of the end of line) If LastSpace > Mpf * Lft And LastSpace < Lft Then Lft = LastSpace End If ' Populate the unbound text box with appropriate ' part of memo field. If Ref = 1 Then TxtMemo = Left(Mem, Lft) ' Force New Page - Afer section, only if memo ' field contents not yet finished If LenMem > Lft Then Detail.ForceNewPage = 2 Else Detail.ForceNewPage = 0 ' No break End If Else TxtMemo = Mid(Mem, Lft + 1) ' Force New Page - Afer section Detail.ForceNewPage = 2 End If End Sub ===================================== ----- Original Message ----- From: Gregg To: Access Developers discussion and problem solving Cc: Robert Penn Sent: Thursday, August 04, 2005 04:19 Subject: Re: [AccessD] Memo field parsing Thanks Charlotte! I give it a try. ----- Original Message ----- From: Charlotte Foust To: Access Developers discussion and problem solving Sent: Wednesday, August 03, 2005 5:33 PM Subject: RE: [AccessD] Memo field parsing No, get the textwidth of the control and see if the textwidth of the text is greater than that. Handle the situation where it is not and everything fits in the first control. Otherwise get the text that fits within the control textwidth and use instrRev to find the last space in that substring. Break it there. At that point, you also know the index of the starting point for the rest of the string, so all you need to do for the next page is use the Mid(text, index) to put the rest of it into the second page. Charlotte Foust -----Original Message----- From: Gregg [mailto:greggs at msn.com] Sent: Wednesday, August 03, 2005 11:34 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Memo field parsing So, you're saying I need to loop through all the characters until I find the last whole word that will fit on the first line, the same for the second etc. until I determine what text will fit in the first page text field and use what's left for the 2nd page? ----- Original Message ----- From: Charlotte Foust> To: Access Developers discussion and problem solving> Sent: Wednesday, August 03, 2005 11:02 AM Subject: RE: [AccessD] Memo field parsing You can't do it by simply counting characters anyhow. You have to use the TextWidth property, which can be expressed as reportname.TextWidth(stringvariable) and compare that to the textwidth of the control ( reportname.TextWidth(controlobject) or to the maximum length you want to display. You'll also want to allow a padding factor to avoid overrunning the borders of the control and be sure and check for carriage returns because they confuse the issue. If you want to display 3 "lines", you'll have to break the memo field into the first three chunks that will fit into the textwidth of the textbox you're using to display the text on that page. Charlotte Foust -----Original Message----- From: Gregg [mailto:greggs at msn.com] Sent: Wednesday, August 03, 2005 8:43 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Memo field parsing Charlotte Physical space I think because I don't know how to get from one to the other. The number of characters is going to be dependant on the how many characters are lost to word wrapping isn't it? Is there a way to calculate the number of characters that will appear in the first three lines? If I knew that, I could do it. ----- Original Message ----- From: Charlotte Foust m>> To: Access Developers discussion and problem solving ors.com>> Sent: Wednesday, August 03, 2005 10:28 AM Subject: RE: [AccessD] Memo field parsing Define "first three lines". Is that a particular number of characters or a physical space? Charlotte Foust -----Original Message----- From: Gregg [mailto:greggs at msn.com] Sent: Wednesday, August 03, 2005 7:32 AM To: Access Developers discussion and problem solving Subject: [AccessD] Memo field parsing I would like to parse a memo field in a A97 report such that the first three lines is on the first page and whatever is left is on the next. Any ideas? Gregg Steinbrenner -- AccessD mailing list From RRANTHON at sentara.com Thu Aug 4 14:59:23 2005 From: RRANTHON at sentara.com (Randall R Anthony) Date: Thu, 04 Aug 2005 15:59:23 -0400 Subject: [AccessD] Workgroup File Corrupt? Message-ID: <200508041959.j74JxlR29332@databaseadvisors.com> Oh, yeah. That's why I always backed up a copy when it was updated and saved it to a secure folder hidden away from everybody. The .mdw is just another Access database and subject to the same quirky stuff. >>> dwaters at usinternet.com 08/04/05 3:49 PM >>> I recently had a client tell me that something went wrong with their workgroup file. The restored from a backup and all was OK. I wasn't there so I don't know more than that. Has anyone had the experience where a workgroup file became corrupt? Thanks, Dan Waters -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From vrm at tim-cms.com Thu Aug 4 15:10:41 2005 From: vrm at tim-cms.com (| Marcel Vreuls) Date: Thu, 4 Aug 2005 22:10:41 +0200 Subject: [AccessD] Workgroup File Corrupt? In-Reply-To: <000001c5992d$941417d0$0200a8c0@danwaters> Message-ID: <001201c59930$9755f500$0100000a@GALAXY.local> Dan, Yes i had it reproduced a few times - when a network error occurs or server (not workstations) falls out and users are still logged in or where in the middel of a batch transaction. - when a backup proces is running during work time with Backup Exec from veritas and users are still logged in - users have no delete rights so the workgroup file keeps growing. It onces was 92MB in our case with 150 users logged in on a daily basis. From then I wrote a program that run at night and compresses the workgroup file. Gr. marcel -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Dan Waters Sent: donderdag 4 augustus 2005 21:49 To: 'Database Advisors' Subject: [AccessD] Workgroup File Corrupt? I recently had a client tell me that something went wrong with their workgroup file. The restored from a backup and all was OK. I wasn't there so I don't know more than that. Has anyone had the experience where a workgroup file became corrupt? Thanks, Dan Waters -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From cfoust at infostatsystems.com Thu Aug 4 15:20:55 2005 From: cfoust at infostatsystems.com (Charlotte Foust) Date: Thu, 4 Aug 2005 13:20:55 -0700 Subject: [AccessD] "Find" combo box searches more than one table Message-ID: Sorry, but I don't understand the question. A "find" combobox works on a form and you populate it with a list that has some relationship to the current recordset of the form. Then you use the indicated record to move in that recordset. I can't see how (or why) you would use a find combo to look somewhere other than in the form's recordset. Charlotte Foust -----Original Message----- From: Klos, Susan [mailto:Susan.Klos at fldoe.org] Sent: Thursday, August 04, 2005 12:29 PM To: accessd at databaseadvisors.com Subject: [AccessD] "Find" combo box searches more than one table Is it possible to construct a "find" combo box that will search through more than one table in the database? Susan Klos Senior Database Analyst Evaluation and Reporting Florida Department of Education 850-245-0708 sc 205-0708 -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From vrm at tim-cms.com Thu Aug 4 15:36:26 2005 From: vrm at tim-cms.com (| Marcel Vreuls) Date: Thu, 4 Aug 2005 22:36:26 +0200 Subject: [AccessD] Gui for menu In-Reply-To: <001201c59930$9755f500$0100000a@GALAXY.local> Message-ID: <001b01c59935$c4672e60$0100000a@GALAXY.local> Hi, Does anyone use a nice menu solution/activex control they use for working with a panel menu within access. I am looking for a solution to create a menu with panels like the control panel menu in the XP configuration. Tnx, marcel From dmcafee at pacbell.net Thu Aug 4 15:52:01 2005 From: dmcafee at pacbell.net (David Mcafee) Date: Thu, 4 Aug 2005 13:52:01 -0700 (PDT) Subject: [AccessD] A2K Unbound field on report error In-Reply-To: <20050804194009.HCLV24042.mta11.adelphia.net@DG1P2N21> Message-ID: <20050804205202.15722.qmail@web80807.mail.yahoo.com> I would say it is a misspell somewhere. Check other places like querires and functions that may be called. have you tried stepping through in debug? David --- Bob Gajewski wrote: > Dear List > > We have a report that prints one membership card at > a time. I am probably > missing the most obvious thing here, but I just > can't get this report to > print. I keep receiving: > > ----------------------------------------------------- > > Run-time error; '2465' > > Microsoft Access can't find the field 'Firefighter' > referred to in your expression. > > ----------------------------------------------------- > > Any assistance or guidance would be most > appreciated. > > Thanks, > > Bob Gajewski, Assistant Chief (and db Administrator) > Wales Center Volunteer Fire Company > > > > Details: > > rptMembershipCard > Source: qryMembershipCard > Fields: > MemberNumber (bound to query field 'MemberNumber') > txtFullName (bound to query field 'txtFullName') > txtClass (unbound) > // other fields have been not included here as > they are not related to the > problem > > qryMembershipCard > Source: tblMembers > Selected Fields: > MemberNumber // using prompt to select one record > txtFullName = [FirstName] & > IIf(IsNull([MiddleInitial]),""," " & > [MiddleInitial] & ",") & " " & [LastName] > booFirefighter > booEMSProvider > booFirePolice > // other fields have been not included here as > they are not related to the > problem > > The CBF is: > > ***************** CODE BEGIN > ************************ > Private Sub Detail_Format(Cancel As Integer, > FormatCount As Integer) > > Dim booFirstClass As Boolean > > booFirstClass = True > > txtClass = "" > > If [Firefighter] = True Then > If booFirstClass = True Then > txtClass = "Firefighter" > booFirstClass = False > Else > txtClass = " " & "Firefighter" > End If > End If > If [EMSProvider] = True Then > If booFirstClass = True Then > txtClass = "EMS Provider" > booFirstClass = False > Else > txtClass = "," & "EMS Provider" > End If > End If > If [FirePolice] = True Then > If booFirstClass = True Then > txtClass = "Fire Police" > booFirstClass = False > Else > txtClass = "," & "Fire Police" > End If > End If > > If IsNull([txtClass]) Or [txtClass] = "" Then > lblClass.Visible = False > End If > End Sub > ****************** CODE END > ************************* > > > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On > Behalf Of Ervin Brindza > Sent: Wednesday, June 08, 2005 02:13 AM > To: Access Developers discussion and problem solving > Subject: Re: [AccessD] Insert Access Info Into Web > page > > Adam, > try to find an article in the Database Journal: > Convert Access Tables Into ASP Web Pages by Danny > Lesandrini HTH, > > Ervin > > ----- Original Message ----- > From: "MartyConnelly" > To: "Access Developers discussion and problem > solving" > > Sent: Tuesday, June 07, 2005 6:41 PM > Subject: Re: [AccessD] Insert Access Info Into Web > page > > > > > > Here are a few good ASP sites: > > o ASP101 Samples - http://www.asp101.com/samples o > W3Schools ASP > > Tutorial - http://www.w3schools.com/asp o > Microsoft VBScript Language > > Reference - > > > http://msdn.microsoft.com/scri-pting/default.htm?/scripting/V-BScript/d... > > > > There are several 100 dollar asp IIS Access > solutions like > > > > http://www.access2asp.com/ > > > > Or for a "quick and dirty" generic ASP open source > solution to putting > > databases on the Web (often works well for the > admin area of a Web > > site) that just requires setting up a > configuration page for each > > table or query and uploading the database to the > Web as long as there > > is an autonumber field in each table (and you'll > probably also > > separately want to create login capabilities), > perhaps try something like > this: > > GenericDB by Eli Robillard. It has been around for > 7 years and is used > > in a lot of university labs. > > http://www.genericdb.com and then click on the > Tips link to see an > > example > > > > > > Mail List at > > http://aspadvice.com/SignUp/list.aspx?l=63&c=11 > > > > Res-Com Environmental wrote: > > > > >Dear List: > > > > > >Is there a way that Access information (such as > names and addresses) > > >can > be > > >inserted into a website's form fields? We are > trying to use a > > >businesses website that doesn't offer special > connections so we have > > >to manually > enter > > >information from our database. > > > > > >Adam > > >ResCom > > > > > > > > > > > > > > > > -- > > Marty Connelly > > Victoria, B.C. > > Canada > > > > > > > > -- > > AccessD mailing list > > AccessD at databaseadvisors.com > > > http://databaseadvisors.com/mailman/listinfo/accessd > > Website: http://www.databaseadvisors.com > === message truncated === From stuart at lexacorp.com.pg Thu Aug 4 16:02:19 2005 From: stuart at lexacorp.com.pg (Stuart McLachlan) Date: Fri, 05 Aug 2005 07:02:19 +1000 Subject: [AccessD] A2K Unbound field on report error In-Reply-To: <20050804194009.HCLV24042.mta11.adelphia.net@DG1P2N21> References: <013801c56bf1$23408b10$0100a8c0@RazvojErvin> Message-ID: <42F30EFB.26924.18DAF76F@stuart.lexacorp.com.pg> I've trimmed the two long messages irrelevant messages and three list footers from the end of your post :-( On 4 Aug 2005 at 15:40, Bob Gajewski wrote: > > Microsoft Access can't find the field 'Firefighter' > referred to in your expression. > ..... > booFirefighter > booEMSProvider > booFirePolice .... > If [Firefighter] = True Then ..... > If [EMSProvider] = True Then .... > If [FirePolice] = True Then You call the field and presumably a control in your report "booFirefighter" etc, but test for "Firefighter" without the prefix "boo" -- Stuart From cfoust at infostatsystems.com Thu Aug 4 16:02:44 2005 From: cfoust at infostatsystems.com (Charlotte Foust) Date: Thu, 4 Aug 2005 14:02:44 -0700 Subject: [AccessD] Gui for menu Message-ID: The control panel is made up of applets, so I suspect it would be hard to create its equivalent in Access. If you don't want to go that far, you might take a look at the A Better Switchboard product offered from Peter's Software: http://www.peterssoftware.com/abs.htm Charlotte Foust -----Original Message----- From: | Marcel Vreuls [mailto:vrm at tim-cms.com] Sent: Thursday, August 04, 2005 1:36 PM To: 'Access Developers discussion and problem solving' Subject: [AccessD] Gui for menu Hi, Does anyone use a nice menu solution/activex control they use for working with a panel menu within access. I am looking for a solution to create a menu with panels like the control panel menu in the XP configuration. Tnx, marcel -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From rgajewski at wcvfc.org Thu Aug 4 16:14:58 2005 From: rgajewski at wcvfc.org (Asst. Chief R. Gajewski) Date: Thu, 4 Aug 2005 17:14:58 -0400 Subject: [AccessD] A2K Unbound field on report error In-Reply-To: <42F30EFB.26924.18DAF76F@stuart.lexacorp.com.pg> Message-ID: <20050804211501.JGNW19267.mta10.adelphia.net@DG1P2N21> Thanks, Stuart, but that's just a typo in my email. The code actually tests for boo... Regards, Bob -----Modified Message----- > I've trimmed the two long messages irrelevant messages and three list footers from the end of your post :-( > > Microsoft Access can't find the field 'Firefighter' > referred to in your expression. > ..... > booFirefighter > booEMSProvider > booFirePolice .... > If [booFirefighter] = True Then ..... > If [booEMSProvider] = True Then .... > If [booFirePolice] = True Then From stuart at lexacorp.com.pg Thu Aug 4 16:30:12 2005 From: stuart at lexacorp.com.pg (Stuart McLachlan) Date: Fri, 05 Aug 2005 07:30:12 +1000 Subject: [AccessD] A2K Unbound field on report error In-Reply-To: <20050804211501.JGNW19267.mta10.adelphia.net@DG1P2N21> References: <42F30EFB.26924.18DAF76F@stuart.lexacorp.com.pg> Message-ID: <42F31584.29011.18F4806B@stuart.lexacorp.com.pg> On 4 Aug 2005 at 17:14, Asst. Chief R. Gajewski wrote: > Thanks, Stuart, but that's just a typo in my email. The code actually tests > for boo... > Have you got bound controls (checkboxes?) on the report called boo..... ? If not, insert them and set their .visible property to false. -- Stuart From martyconnelly at shaw.ca Thu Aug 4 17:29:17 2005 From: martyconnelly at shaw.ca (MartyConnelly) Date: Thu, 04 Aug 2005 15:29:17 -0700 Subject: [AccessD] Gui for menu References: Message-ID: <42F296BD.7040905@shaw.ca> Well I know how this code from Peter is done. it is a treeview in the left pane and multiple subforms on the right selection triggered by tags on the nodes. I am trying to use this method just now for displaying records taxonomy. It does wonders on certain types of hierarchical data I poached this method from Rebbeca Riordan. There is a downloadable mdb here Along with the Smart Access article It might be cheaper to buy Peter's unlimited license than try and rewrite Rebbeca's code to fit. "Be still my beating heart" it does get complex with multiple subforms unless writing to a fixed pattern. http://msdn.microsoft.com/library/en-us/dnsmart04/html/sa04k6.asp?frame=true In the article she states all you need to do to implement an Explorer-style form in Microsoft Access. The sample application uses simple sub-forms created using the form wizard for display of the product and beverage details, but the detail forms can be arbitrarily complex. You can include tabs, nested subforms, whatever is required for your application. In fact, you can use this same basic structure as the primary navigation mechanism for your application instead of a Switchboard. Just replace the data hierarchy in the TreeView with the hierarchy of functions in your application. You can even store the functional hierarchy in one or more tables to allow the application to be configured at runtime. Just store the name of the pane as a field, and load it at runtime. Even though Microsoft Access doesn't support it directly, the Explorer-style form architecture is straightforward to implement using the TreeView Common Control. This architecture displays much of the same information as a more traditional Access form with the sub-form in datasheet view, but it's more effective when the user wants or needs to see a list of the items at all levels of the hierarchy. This isn't common during data entry, but it's extremely useful when browsing and maintaining information. Charlotte Foust wrote: >The control panel is made up of applets, so I suspect it would be hard >to create its equivalent in Access. If you don't want to go that far, >you might take a look at the A Better Switchboard product offered from >Peter's Software: http://www.peterssoftware.com/abs.htm > >Charlotte Foust > > >-----Original Message----- >From: | Marcel Vreuls [mailto:vrm at tim-cms.com] >Sent: Thursday, August 04, 2005 1:36 PM >To: 'Access Developers discussion and problem solving' >Subject: [AccessD] Gui for menu > > >Hi, > >Does anyone use a nice menu solution/activex control they use for >working with a panel menu within access. I am looking for a solution to >create a menu with panels like the control panel menu in the XP >configuration. > >Tnx, marcel > > > -- Marty Connelly Victoria, B.C. Canada From martyconnelly at shaw.ca Thu Aug 4 17:53:06 2005 From: martyconnelly at shaw.ca (MartyConnelly) Date: Thu, 04 Aug 2005 15:53:06 -0700 Subject: [AccessD] Table locked References: Message-ID: <42F29C52.9010200@shaw.ca> Check If the mdb file isn't set to readonly or the associated ldb file isn't still open (This can be safely deleted if all users are out of the database) otherwise you might import all the Access objects to a new clean database to avoid any corruption. This corruption can be common on Access 2000 mdb's without SP-3 Corrupt Microsoft Access MDBs FAQ http://www.granite.ab.ca/access/corruptmdbs.htm Kaup, Chester wrote: >I have a database on my local C drive. When it opens it runs an autoexec >macro to run a query to make a table. I get a message that the table can >not be opened exclusively. How can this be and how do I determine what >has the table open? I have tried compacting and repairing and opening >the database exclusively with no success. Thanks. > > > >Chester Kaup > >Engineering Technician > >Kinder Morgan CO2 Company, LLP > >Office (432) 688-3797 > > > >No trees were killed in the sending of this message. However a large >number of electrons were terribly inconvenienced. > >FAX (432) 688-3799 > > > > > -- Marty Connelly Victoria, B.C. Canada From cfoust at infostatsystems.com Thu Aug 4 18:05:29 2005 From: cfoust at infostatsystems.com (Charlotte Foust) Date: Thu, 4 Aug 2005 16:05:29 -0700 Subject: [AccessD] Gui for menu Message-ID: It may very well be. I have the entire suite but haven't really explored it, since I won it. In any case, it isn't the direct equivalent of the control panel cpl files, even if it might look similar, and I was replying literally. Charlotte Foust -----Original Message----- From: MartyConnelly [mailto:martyconnelly at shaw.ca] Sent: Thursday, August 04, 2005 3:29 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Gui for menu Well I know how this code from Peter is done. it is a treeview in the left pane and multiple subforms on the right selection triggered by tags on the nodes. I am trying to use this method just now for displaying records taxonomy. It does wonders on certain types of hierarchical data I poached this method from Rebbeca Riordan. There is a downloadable mdb here Along with the Smart Access article It might be cheaper to buy Peter's unlimited license than try and rewrite Rebbeca's code to fit. "Be still my beating heart" it does get complex with multiple subforms unless writing to a fixed pattern. http://msdn.microsoft.com/library/en-us/dnsmart04/html/sa04k6.asp?frame= true In the article she states all you need to do to implement an Explorer-style form in Microsoft Access. The sample application uses simple sub-forms created using the form wizard for display of the product and beverage details, but the detail forms can be arbitrarily complex. You can include tabs, nested subforms, whatever is required for your application. In fact, you can use this same basic structure as the primary navigation mechanism for your application instead of a Switchboard. Just replace the data hierarchy in the TreeView with the hierarchy of functions in your application. You can even store the functional hierarchy in one or more tables to allow the application to be configured at runtime. Just store the name of the pane as a field, and load it at runtime. Even though Microsoft Access doesn't support it directly, the Explorer-style form architecture is straightforward to implement using the TreeView Common Control. This architecture displays much of the same information as a more traditional Access form with the sub-form in datasheet view, but it's more effective when the user wants or needs to see a list of the items at all levels of the hierarchy. This isn't common during data entry, but it's extremely useful when browsing and maintaining information. Charlotte Foust wrote: >The control panel is made up of applets, so I suspect it would be hard >to create its equivalent in Access. If you don't want to go that far, >you might take a look at the A Better Switchboard product offered from >Peter's Software: http://www.peterssoftware.com/abs.htm > >Charlotte Foust > > >-----Original Message----- >From: | Marcel Vreuls [mailto:vrm at tim-cms.com] >Sent: Thursday, August 04, 2005 1:36 PM >To: 'Access Developers discussion and problem solving' >Subject: [AccessD] Gui for menu > > >Hi, > >Does anyone use a nice menu solution/activex control they use for >working with a panel menu within access. I am looking for a solution to >create a menu with panels like the control panel menu in the XP >configuration. > >Tnx, marcel > > > -- Marty Connelly Victoria, B.C. Canada -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From KP at sdsonline.net Thu Aug 4 18:33:36 2005 From: KP at sdsonline.net (Kath Pelletti) Date: Fri, 5 Aug 2005 09:33:36 +1000 Subject: [AccessD] "Find" combo box searches more than one table References: Message-ID: <004201c5994c$f0489520$6601a8c0@user> Maybe Susan means that the users would like to have a 'search function' which will find something anywhere in the database. I have had that request before, eg. for a database that tracked travel agent wholesalers, travel agent retailers, suppliers, clients etc. Users would get an inquiry from someone and wanted to type in their name and find all instances anywhere in the system. It depends whether you need to populate a combo or not. In my case I created an unbound text box and users type in any part of the person's surname and hit enter. The code then searches through the relevant tables one by one and populates a results table. Kath ----- Original Message ----- From: Charlotte Foust To: Access Developers discussion and problem solving Sent: Friday, August 05, 2005 6:20 AM Subject: RE: [AccessD] "Find" combo box searches more than one table Sorry, but I don't understand the question. A "find" combobox works on a form and you populate it with a list that has some relationship to the current recordset of the form. Then you use the indicated record to move in that recordset. I can't see how (or why) you would use a find combo to look somewhere other than in the form's recordset. Charlotte Foust -----Original Message----- From: Klos, Susan [mailto:Susan.Klos at fldoe.org] Sent: Thursday, August 04, 2005 12:29 PM To: accessd at databaseadvisors.com Subject: [AccessD] "Find" combo box searches more than one table Is it possible to construct a "find" combo box that will search through more than one table in the database? Susan Klos Senior Database Analyst Evaluation and Reporting Florida Department of Education 850-245-0708 sc 205-0708 -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd 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 Aug 4 18:53:01 2005 From: stuart at lexacorp.com.pg (Stuart McLachlan) Date: Fri, 05 Aug 2005 09:53:01 +1000 Subject: [AccessD] "Find" combo box searches more than one table In-Reply-To: <004201c5994c$f0489520$6601a8c0@user> Message-ID: <42F336FD.21211.19774104@stuart.lexacorp.com.pg> > From: Klos, Susan [mailto:Susan.Klos at fldoe.org] > Sent: Thursday, August 04, 2005 12:29 PM > To: accessd at databaseadvisors.com > Subject: [AccessD] "Find" combo box searches more than one table > > > Is it possible to construct a "find" combo box that will search through > more than one table in the database? > Populate the box with a UNION query? -- Stuart From kimjwiggins at yahoo.com Thu Aug 4 21:29:29 2005 From: kimjwiggins at yahoo.com (Kim Wiggins) Date: Thu, 4 Aug 2005 19:29:29 -0700 (PDT) Subject: [AccessD] SQL statement Message-ID: <20050805022929.64730.qmail@web53604.mail.yahoo.com> My application is telling me something is wrong with this sql statement for my Access database. Can anyone figure out what's wrong? I don't see anything. strSQL1 = "update tblRepairPartsReplaced set quantity (i) = '" & Val(txtQty(i)) & "' Where part_no = '" & txtPartsRep(i).Text & "'" Thanks Kim __________________________________________________ Do You Yahoo!? Tired of spam? Yahoo! Mail has the best spam protection around http://mail.yahoo.com From stuart at lexacorp.com.pg Thu Aug 4 21:46:04 2005 From: stuart at lexacorp.com.pg (Stuart McLachlan) Date: Fri, 05 Aug 2005 12:46:04 +1000 Subject: [AccessD] SQL statement In-Reply-To: <20050805022929.64730.qmail@web53604.mail.yahoo.com> Message-ID: <42F35F8C.9189.1A15B132@stuart.lexacorp.com.pg> On 4 Aug 2005 at 19:29, Kim Wiggins wrote: > My application is telling me something is wrong with this sql statement for my Access database. > Can anyone figure out what's wrong? I don't see anything. > strSQL1 = "update tblRepairPartsReplaced set quantity (i) = '" & Val(txtQty(i)) & "' Where part_no = '" & txtPartsRep(i).Text & "'" > Thanks > Kim > There is a space between quantity and (i). Having said that, do you really have a field called "quantity(i)" ? I'd guess you just want ...quantity = '" & ..... -- Stuart From rbgajewski at adelphia.net Thu Aug 4 22:06:46 2005 From: rbgajewski at adelphia.net (Bob Gajewski) Date: Thu, 4 Aug 2005 23:06:46 -0400 Subject: [AccessD] A2K Unbound field on report error In-Reply-To: <42F31584.29011.18F4806B@stuart.lexacorp.com.pg> Message-ID: <20050805030649.KTLU29002.mta9.adelphia.net@DG1P2N21> I knew it was going to be something simple and stupid! THANKS STUART!!! Got it working just fine now. Bob -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Stuart McLachlan Sent: Thursday, August 04, 2005 17:30 PM To: Access Developers discussion and problem solving Subject: RE: [AccessD] A2K Unbound field on report error On 4 Aug 2005 at 17:14, Asst. Chief R. Gajewski wrote: > Thanks, Stuart, but that's just a typo in my email. The code actually > tests for boo... > Have you got bound controls (checkboxes?) on the report called boo..... ? If not, insert them and set their .visible property to false. -- Stuart -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From vrm at tim-cms.com Fri Aug 5 02:19:49 2005 From: vrm at tim-cms.com (| Marcel Vreuls) Date: Fri, 5 Aug 2005 09:19:49 +0200 Subject: [AccessD] Queryfields and combobox In-Reply-To: <20050805030649.KTLU29002.mta9.adelphia.net@DG1P2N21> Message-ID: <001201c5998e$11937790$6c61fea9@GALAXY.local> Hi, i am wondering if it is possible to get the output fields of a select query into a combobox. I mean not the data of the selectquery but the columnheaders/fieldnames. Thnx, marcel From vrm at tim-cms.com Fri Aug 5 02:22:23 2005 From: vrm at tim-cms.com (| Marcel Vreuls) Date: Fri, 5 Aug 2005 09:22:23 +0200 Subject: [AccessD] Gui for menu In-Reply-To: <42F296BD.7040905@shaw.ca> Message-ID: <001301c5998e$6cee00b0$6c61fea9@GALAXY.local> Hi Martin, That is a solution that works and i have used before. The nice thing of the panels are the layout which does the listview do not have. i will keep searching and post what i found. I have found an mde with this solution and have just mailt the developer for more information. There is no activex ocx or dll deliverd so it has to be an imbedded solution. Tnx, marcel -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of MartyConnelly Sent: vrijdag 5 augustus 2005 0:29 To: Access Developers discussion and problem solving Subject: Re: [AccessD] Gui for menu Well I know how this code from Peter is done. it is a treeview in the left pane and multiple subforms on the right selection triggered by tags on the nodes. I am trying to use this method just now for displaying records taxonomy. It does wonders on certain types of hierarchical data I poached this method from Rebbeca Riordan. There is a downloadable mdb here Along with the Smart Access article It might be cheaper to buy Peter's unlimited license than try and rewrite Rebbeca's code to fit. "Be still my beating heart" it does get complex with multiple subforms unless writing to a fixed pattern. http://msdn.microsoft.com/library/en-us/dnsmart04/html/sa04k6.asp?frame=true In the article she states all you need to do to implement an Explorer-style form in Microsoft Access. The sample application uses simple sub-forms created using the form wizard for display of the product and beverage details, but the detail forms can be arbitrarily complex. You can include tabs, nested subforms, whatever is required for your application. In fact, you can use this same basic structure as the primary navigation mechanism for your application instead of a Switchboard. Just replace the data hierarchy in the TreeView with the hierarchy of functions in your application. You can even store the functional hierarchy in one or more tables to allow the application to be configured at runtime. Just store the name of the pane as a field, and load it at runtime. Even though Microsoft Access doesn't support it directly, the Explorer-style form architecture is straightforward to implement using the TreeView Common Control. This architecture displays much of the same information as a more traditional Access form with the sub-form in datasheet view, but it's more effective when the user wants or needs to see a list of the items at all levels of the hierarchy. This isn't common during data entry, but it's extremely useful when browsing and maintaining information. Charlotte Foust wrote: >The control panel is made up of applets, so I suspect it would be hard >to create its equivalent in Access. If you don't want to go that far, >you might take a look at the A Better Switchboard product offered from >Peter's Software: http://www.peterssoftware.com/abs.htm > >Charlotte Foust > > >-----Original Message----- >From: | Marcel Vreuls [mailto:vrm at tim-cms.com] >Sent: Thursday, August 04, 2005 1:36 PM >To: 'Access Developers discussion and problem solving' >Subject: [AccessD] Gui for menu > > >Hi, > >Does anyone use a nice menu solution/activex control they use for >working with a panel menu within access. I am looking for a solution to >create a menu with panels like the control panel menu in the XP >configuration. > >Tnx, marcel > > > -- Marty Connelly Victoria, B.C. Canada -- 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 Aug 5 06:40:34 2005 From: stuart at lexacorp.com.pg (Stuart McLachlan) Date: Fri, 05 Aug 2005 21:40:34 +1000 Subject: [AccessD] Queryfields and combobox In-Reply-To: <001201c5998e$11937790$6c61fea9@GALAXY.local> References: <20050805030649.KTLU29002.mta9.adelphia.net@DG1P2N21> Message-ID: <42F3DCD2.4672.1BFF0A92@stuart.lexacorp.com.pg> On 5 Aug 2005 at 9:19, | Marcel Vreuls wrote: > > Hi, > > i am wondering if it is possible to get the output fields of a select query > into a combobox. I mean not the data of the selectquery but the > columnheaders/fieldnames. > Dead simple, it's built in. Set the "Row Source Type" of the combo box to "Field List" Set the "Row Source" to the name of the query. -- Stuart From vrm at tim-cms.com Fri Aug 5 06:59:34 2005 From: vrm at tim-cms.com (| Marcel Vreuls) Date: Fri, 5 Aug 2005 13:59:34 +0200 Subject: [AccessD] Queryfields and combobox In-Reply-To: <42F3DCD2.4672.1BFF0A92@stuart.lexacorp.com.pg> Message-ID: <001c01c599b5$254d9960$6c61fea9@GALAXY.local> Duh.....i kill myself :-). It was i.d.d.deadsimple....shame on me :-) Tnxs al lot marcel -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Stuart McLachlan Sent: vrijdag 5 augustus 2005 13:41 To: Access Developers discussion and problem solving Subject: Re: [AccessD] Queryfields and combobox On 5 Aug 2005 at 9:19, | Marcel Vreuls wrote: > > Hi, > > i am wondering if it is possible to get the output fields of a select query > into a combobox. I mean not the data of the selectquery but the > columnheaders/fieldnames. > Dead simple, it's built in. Set the "Row Source Type" of the combo box to "Field List" Set the "Row Source" to the name of the query. -- Stuart -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From cyx5 at cdc.gov Fri Aug 5 06:57:29 2005 From: cyx5 at cdc.gov (Nicholson, Karen) Date: Fri, 5 Aug 2005 07:57:29 -0400 Subject: [AccessD] Access 2003 Reports Not Working Message-ID: I seem to have two problems. The first is that this user has no access to the reports in the system. She can open up forms, queries, etc. But the reports design view or preview is just not responding. Then my code for printing a report is failing. I have found this one thing about the printing code but have not found out if a solution has been discovered yet. It has been a long week. - Open Access 2003 - Create new database (2000 or 2002/2003 format) - Create a report and insert a label in its Detail section - Save the report as Report1 - Copy Report1 as Report2 - Open Report1 and insert Report2 in it as subreport - Save Report1 - Create a form and use the wizard to insert a button which can open Report1 for preview - Go to VBE and navigate to the Click event of the button - Change the following two lines stDocName = "Report1" DoCmd.OpenReport stDocName, acPreview with this four lines stDocName = "Report1" Printer.PrintQuality = acPRPQMedium DoCmd.OpenReport stDocName, acPreview Printer.BottomMargin = 5 - Save form as Form1 - Open the form normally - Click the button - Here is the bug I contacted Microsoft Italia (beacause I live in Italy). They informed Microsoft Corporation which replied confirming it's a bug for Access 2003 and will be corrected in the future. They didn't tell if the problem will be corrected with a specific patch or with Service Pack 2 for Office 2003. You will not find any documentation in internet (neither in Microsoft web site nor in MSDN nor elsewhere) until a correction will be developed. I hope this could help. -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Gustav Brock Sent: Thursday, August 04, 2005 11:47 AM To: accessd at databaseadvisors.com Subject: Re: [AccessD] Access 2003 Reports Not Working Hi 65 1. Have you tried to install a(nother) printer? 2. Open the report in design view, reassign the printer and save. /gustav >>> cyx5 at cdc.gov 08/04 5:20 pm >>> I have a new user, installed with Access 2003, running my XP database. All is well, the references are fine, there are no code compilation issues. However, she can not open up a report. If I go to the database container and click on any report for a report preview, it acts like I do not exist. It does nothing. What's up with this? I am googling to no avail. Thanks. -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From dejpolsys at hotmail.com Fri Aug 5 07:58:45 2005 From: dejpolsys at hotmail.com (William Hindman) Date: Fri, 5 Aug 2005 08:58:45 -0400 Subject: [AccessD] Gui for menu References: <001301c5998e$6cee00b0$6c61fea9@GALAXY.local> Message-ID: Marcel ..have you looked at the Toolbar control in Access? ...combined with a Treeview it should allow you to dupe the look and feel you're after. ..ms had a sample app with A97 called actctrl.mdb that had several gui demos ...including one with the toolbar ...if you can't find it I'm sure I still have it in my A97 files ...I've not seen anything similar for A2k and up but then I've not looked either. William ----- Original Message ----- From: "| Marcel Vreuls" To: "'Access Developers discussion and problem solving'" Sent: Friday, August 05, 2005 3:22 AM Subject: RE: [AccessD] Gui for menu > Hi Martin, > > That is a solution that works and i have used before. The nice thing of > the > panels are the layout which does the listview do not have. > > i will keep searching and post what i found. I have found an mde with this > solution and have just mailt the developer for more information. There is > no > activex ocx or dll deliverd so it has to be an imbedded solution. > > Tnx, marcel > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of MartyConnelly > Sent: vrijdag 5 augustus 2005 0:29 > To: Access Developers discussion and problem solving > Subject: Re: [AccessD] Gui for menu > > > Well I know how this code from Peter is done. it is a treeview in the > left pane and multiple subforms on the right > selection triggered by tags on the nodes. I am trying to use this method > just now for displaying records taxonomy. > It does wonders on certain types of hierarchical data > I poached this method from Rebbeca Riordan. There is a downloadable mdb > here > Along with the Smart Access article > It might be cheaper to buy Peter's unlimited license than try and > rewrite Rebbeca's code to fit. > "Be still my beating heart" it does get complex with multiple subforms > unless writing to a fixed pattern. > > http://msdn.microsoft.com/library/en-us/dnsmart04/html/sa04k6.asp?frame=true > > In the article she states > > all you need to do to implement an Explorer-style form in Microsoft > Access. > The sample application uses simple sub-forms created using the form > wizard for display of the product and beverage > details, but the detail forms can be arbitrarily complex. You can > include tabs, nested subforms, whatever is required > for your application. > In fact, you can use this same basic structure as the primary navigation > mechanism for your application instead of a > Switchboard. Just replace the data hierarchy in the TreeView with the > hierarchy of functions in your application. You > can even store the functional hierarchy in one or more tables to allow > the application to be configured at runtime. > Just store the name of the pane as a field, and load it at runtime. > Even though Microsoft Access doesn't support it directly, the > Explorer-style form architecture is straightforward to > implement using the TreeView Common Control. This architecture displays > much of the same information as a more > traditional Access form with the sub-form in datasheet view, but it's > more effective when the user wants or needs to > see a list of the items at all levels of the hierarchy. This isn't > common during data entry, but it's extremely useful > when browsing and maintaining information. > > > Charlotte Foust wrote: > >>The control panel is made up of applets, so I suspect it would be hard >>to create its equivalent in Access. If you don't want to go that far, >>you might take a look at the A Better Switchboard product offered from >>Peter's Software: http://www.peterssoftware.com/abs.htm >> >>Charlotte Foust >> >> >>-----Original Message----- >>From: | Marcel Vreuls [mailto:vrm at tim-cms.com] >>Sent: Thursday, August 04, 2005 1:36 PM >>To: 'Access Developers discussion and problem solving' >>Subject: [AccessD] Gui for menu >> >> >>Hi, >> >>Does anyone use a nice menu solution/activex control they use for >>working with a panel menu within access. I am looking for a solution to >>create a menu with panels like the control panel menu in the XP >>configuration. >> >>Tnx, marcel >> >> >> > > -- > Marty Connelly > Victoria, B.C. > Canada > > > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > From kimjwiggins at yahoo.com Fri Aug 5 08:09:31 2005 From: kimjwiggins at yahoo.com (Kim Wiggins) Date: Fri, 5 Aug 2005 06:09:31 -0700 (PDT) Subject: [AccessD] SQL statement In-Reply-To: <42F35F8C.9189.1A15B132@stuart.lexacorp.com.pg> Message-ID: <20050805130931.72112.qmail@web53605.mail.yahoo.com> Well yes, I do have a field called quantity(i) because I have fields that correspond to parts that are 1-8. Thanks, I didn't see that space. Stuart McLachlan wrote:On 4 Aug 2005 at 19:29, Kim Wiggins wrote: > My application is telling me something is wrong with this sql statement for my Access database. > Can anyone figure out what's wrong? I don't see anything. > strSQL1 = "update tblRepairPartsReplaced set quantity (i) = '" & Val(txtQty(i)) & "' Where part_no = '" & txtPartsRep(i).Text & "'" > Thanks > Kim > There is a space between quantity and (i). Having said that, do you really have a field called "quantity(i)" ? I'd guess you just want ...quantity = '" & ..... -- Stuart -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com __________________________________________________ Do You Yahoo!? Tired of spam? Yahoo! Mail has the best spam protection around http://mail.yahoo.com From jwcolby at colbyconsulting.com Fri Aug 5 08:21:06 2005 From: jwcolby at colbyconsulting.com (John W. Colby) Date: Fri, 05 Aug 2005 09:21:06 -0400 Subject: [AccessD] SQL statement In-Reply-To: <20050805130931.72112.qmail@web53605.mail.yahoo.com> Message-ID: <00b601c599c0$8cf03450$6c7aa8c0@ColbyM6805> Kim, It is considered "bad practice" to use "special characters" in field names. Basically only alpha characters and numbers should be used. Thus in your case, Quantity1 (or QuantityI) would be a better name. Special characters can cause unintended interactions with the VBA compiler as well as the SQL parsing. They force the developer to take extra steps to "wrap" such field names to prevent such interactions. John W. Colby www.ColbyConsulting.com Contribute your unused CPU cycles to a good cause: http://folding.stanford.edu/ -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Kim Wiggins Sent: Friday, August 05, 2005 9:10 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] SQL statement Well yes, I do have a field called quantity(i) because I have fields that correspond to parts that are 1-8. Thanks, I didn't see that space. Stuart McLachlan wrote:On 4 Aug 2005 at 19:29, Kim Wiggins wrote: > My application is telling me something is wrong with this sql > statement for my Access database. Can anyone figure out what's wrong? > I don't see anything. strSQL1 = "update tblRepairPartsReplaced set > quantity (i) = '" & Val(txtQty(i)) & "' Where part_no = '" & > txtPartsRep(i).Text & "'" Thanks Kim > There is a space between quantity and (i). Having said that, do you really have a field called "quantity(i)" ? I'd guess you just want ...quantity = '" & ..... -- Stuart -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com __________________________________________________ Do You Yahoo!? Tired of spam? Yahoo! Mail has the best spam protection around http://mail.yahoo.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From cyx5 at cdc.gov Fri Aug 5 09:08:53 2005 From: cyx5 at cdc.gov (Nicholson, Karen) Date: Fri, 5 Aug 2005 10:08:53 -0400 Subject: [AccessD] SQL Float Type Conversion and Access Message-ID: Happy Friday to all! (Humor Day Reminder). Anyway, I have an SQL backend that has a few fields defined as float(ies). When I do an Access query against these floaties, and specify, for example the criteria = 3, I get a message that my query is too complicated. So, I can either convert the SQL field to a better format that will preserve the decimals, or I can figure out how to put criteria for a floatie in Access. I tried converting the field in SQL to numeric and it stripped the decimal. (backups are golden). I don't want to go to nvarchar, I am not sure I want to go to a double. Any suggestions? Thanks. From artful at rogers.com Fri Aug 5 09:57:35 2005 From: artful at rogers.com (Arthur Fuller) Date: Fri, 5 Aug 2005 10:57:35 -0400 Subject: [AccessD] SQL Float Type Conversion and Access In-Reply-To: Message-ID: <200508051457.j75EvdR03379@databaseadvisors.com> This one puzzles me. I have not experienced it before, so I just whipped up a table to check this. I have a float field two of whose rows contain the value 3. I did a query both from Query Analyst and Access (ADP) testing the column for value 3 and I received two rows back in both cases. My FE was an ADP, mind you. Is yours an MDB using an ODBC connection? I didn't try that. -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Nicholson, Karen Sent: August 5, 2005 10:09 AM To: Access Developers discussion and problem solving Subject: [AccessD] SQL Float Type Conversion and Access Happy Friday to all! (Humor Day Reminder). Anyway, I have an SQL backend that has a few fields defined as float(ies). When I do an Access query against these floaties, and specify, for example the criteria = 3, I get a message that my query is too complicated. So, I can either convert the SQL field to a better format that will preserve the decimals, or I can figure out how to put criteria for a floatie in Access. I tried converting the field in SQL to numeric and it stripped the decimal. (backups are golden). I don't want to go to nvarchar, I am not sure I want to go to a double. Any suggestions? Thanks. -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From cyx5 at cdc.gov Fri Aug 5 10:05:12 2005 From: cyx5 at cdc.gov (Nicholson, Karen) Date: Fri, 5 Aug 2005 11:05:12 -0400 Subject: [AccessD] SQL Float Type Conversion and Access Message-ID: Yes, mine is an mdb with odbc. I have it solved now - I changed the SQL type to numeric with the scale set to 1. Now it is OK. Access totally puked on querying a float. Now, I sure wish I could figure out why the Access 2003 PCs around here are locking out the report area of the databases. Even simple code to open up the report croak. -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Arthur Fuller Sent: Friday, August 05, 2005 10:58 AM To: 'Access Developers discussion and problem solving' Subject: RE: [AccessD] SQL Float Type Conversion and Access This one puzzles me. I have not experienced it before, so I just whipped up a table to check this. I have a float field two of whose rows contain the value 3. I did a query both from Query Analyst and Access (ADP) testing the column for value 3 and I received two rows back in both cases. My FE was an ADP, mind you. Is yours an MDB using an ODBC connection? I didn't try that. -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Nicholson, Karen Sent: August 5, 2005 10:09 AM To: Access Developers discussion and problem solving Subject: [AccessD] SQL Float Type Conversion and Access Happy Friday to all! (Humor Day Reminder). Anyway, I have an SQL backend that has a few fields defined as float(ies). When I do an Access query against these floaties, and specify, for example the criteria = 3, I get a message that my query is too complicated. So, I can either convert the SQL field to a better format that will preserve the decimals, or I can figure out how to put criteria for a floatie in Access. I tried converting the field in SQL to numeric and it stripped the decimal. (backups are golden). I don't want to go to nvarchar, I am not sure I want to go to a double. Any suggestions? Thanks. -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From kimjwiggins at yahoo.com Fri Aug 5 10:06:08 2005 From: kimjwiggins at yahoo.com (Kim Wiggins) Date: Fri, 5 Aug 2005 08:06:08 -0700 (PDT) Subject: [AccessD] SQL statement In-Reply-To: <00b601c599c0$8cf03450$6c7aa8c0@ColbyM6805> Message-ID: <20050805150608.35207.qmail@web53604.mail.yahoo.com> I'm sorry John, I didn't explain that well. It is Quantity1, etc.... The (i) is the index in my program for me to loop through the fields. "John W. Colby" wrote:Kim, It is considered "bad practice" to use "special characters" in field names. Basically only alpha characters and numbers should be used. Thus in your case, Quantity1 (or QuantityI) would be a better name. Special characters can cause unintended interactions with the VBA compiler as well as the SQL parsing. They force the developer to take extra steps to "wrap" such field names to prevent such interactions. John W. Colby www.ColbyConsulting.com Contribute your unused CPU cycles to a good cause: http://folding.stanford.edu/ -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Kim Wiggins Sent: Friday, August 05, 2005 9:10 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] SQL statement Well yes, I do have a field called quantity(i) because I have fields that correspond to parts that are 1-8. Thanks, I didn't see that space. Stuart McLachlan wrote:On 4 Aug 2005 at 19:29, Kim Wiggins wrote: > My application is telling me something is wrong with this sql > statement for my Access database. Can anyone figure out what's wrong? > I don't see anything. strSQL1 = "update tblRepairPartsReplaced set > quantity (i) = '" & Val(txtQty(i)) & "' Where part_no = '" & > txtPartsRep(i).Text & "'" Thanks Kim > There is a space between quantity and (i). Having said that, do you really have a field called "quantity(i)" ? I'd guess you just want ...quantity = '" & ..... -- Stuart -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com __________________________________________________ Do You Yahoo!? Tired of spam? Yahoo! Mail has the best spam protection around http://mail.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 --------------------------------- Start your day with Yahoo! - make it your home page From Chester_Kaup at kindermorgan.com Fri Aug 5 10:43:00 2005 From: Chester_Kaup at kindermorgan.com (Kaup, Chester) Date: Fri, 5 Aug 2005 10:43:00 -0500 Subject: [AccessD] Table locked Message-ID: Problem solved. I had it set up to open a form that referenced a table that a query was trying to update. Changed the sequence of events and all is well -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of MartyConnelly Sent: Thursday, August 04, 2005 5:53 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Table locked Check If the mdb file isn't set to readonly or the associated ldb file isn't still open (This can be safely deleted if all users are out of the database) otherwise you might import all the Access objects to a new clean database to avoid any corruption. This corruption can be common on Access 2000 mdb's without SP-3 Corrupt Microsoft Access MDBs FAQ http://www.granite.ab.ca/access/corruptmdbs.htm Kaup, Chester wrote: >I have a database on my local C drive. When it opens it runs an autoexec >macro to run a query to make a table. I get a message that the table can >not be opened exclusively. How can this be and how do I determine what >has the table open? I have tried compacting and repairing and opening >the database exclusively with no success. Thanks. > > > >Chester Kaup > >Engineering Technician > >Kinder Morgan CO2 Company, LLP > >Office (432) 688-3797 > > > >No trees were killed in the sending of this message. However a large >number of electrons were terribly inconvenienced. > >FAX (432) 688-3799 > > > > > -- Marty Connelly Victoria, B.C. Canada -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From dmcafee at pacbell.net Fri Aug 5 13:03:10 2005 From: dmcafee at pacbell.net (dmcafee at pacbell.net) Date: Fri, 5 Aug 2005 11:03:10 -0700 Subject: [AccessD] RE: Friday Humor In-Reply-To: <008801c59905$00a18a00$6c7aa8c0@ColbyM6805> Message-ID: Once upon a time, there was a snake, named Nate. Rather close to Nate's house there was a great road, and next to this road was a lever. The lever was ancient, and the mythology around the lever was that if you were to push it, it would trigger the end of the world. One day, Nate was slithering down the road, and he came upon the lever, and began crossing the road so he could look at it. At the same moment, a truck came careening around a corner, and the driver found himself in a dilemma: either hit the snake or end the world. Needless to say, the driver ran over Nate and went on his merry way. Moral of the Story: Better Nate than Lever From cfoust at infostatsystems.com Fri Aug 5 13:10:31 2005 From: cfoust at infostatsystems.com (Charlotte Foust) Date: Fri, 5 Aug 2005 11:10:31 -0700 Subject: [AccessD] RE: Friday Humor Message-ID: Off with his head!! Charlotte Foust -----Original Message----- From: dmcafee at pacbell.net [mailto:dmcafee at pacbell.net] Sent: Friday, August 05, 2005 11:03 AM To: Access Developers discussion and problem solving Subject: [AccessD] RE: Friday Humor Once upon a time, there was a snake, named Nate. Rather close to Nate's house there was a great road, and next to this road was a lever. The lever was ancient, and the mythology around the lever was that if you were to push it, it would trigger the end of the world. One day, Nate was slithering down the road, and he came upon the lever, and began crossing the road so he could look at it. At the same moment, a truck came careening around a corner, and the driver found himself in a dilemma: either hit the snake or end the world. Needless to say, the driver ran over Nate and went on his merry way. Moral of the Story: Better Nate than Lever -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From BarbaraRyan at cox.net Fri Aug 5 13:32:11 2005 From: BarbaraRyan at cox.net (Barbara Ryan) Date: Fri, 5 Aug 2005 14:32:11 -0400 Subject: [AccessD] SendObject Message-ID: <009001c599ec$19867160$0a00a8c0@cx470148a> I've used Docmd.SendObject to email Snapshot files. I now need to email a .txt file and am having problems. There doesn't appear to be an object type for text files. Any ideas? Thanks, Barb Ryan From stuart at lexacorp.com.pg Fri Aug 5 16:53:47 2005 From: stuart at lexacorp.com.pg (Stuart McLachlan) Date: Sat, 06 Aug 2005 07:53:47 +1000 Subject: [AccessD] SQL statement In-Reply-To: <20050805150608.35207.qmail@web53604.mail.yahoo.com> References: <00b601c599c0$8cf03450$6c7aa8c0@ColbyM6805> Message-ID: <42F46C8B.21016.1E30726C@stuart.lexacorp.com.pg> On 5 Aug 2005 at 8:06, Kim Wiggins wrote: > I'm sorry John, I didn't explain that well. It is Quantity1, etc.... The (i) is the index in my program for me to loop through the fields. > ..... > > I don't see anything. strSQL1 = "update tblRepairPartsReplaced set > > quantity (i) = '" & Val(txtQty(i)) & "' Where part_no = '" & > > txtPartsRep(i).Text & "'" Thanks Kim > > If "i" is an index in your code,you can't have it inside strSQL1. When you build the string, you have to resolve everything the way you do Val(txtQty(i)). IOW you would need to replace "quantity(i) = " with something like "Quantity" & i & " = " -- Stuart From greggs at msn.com Fri Aug 5 17:02:15 2005 From: greggs at msn.com (Gregg) Date: Fri, 5 Aug 2005 17:02:15 -0500 Subject: [AccessD] Memo field parsing References: <007f01c5992e$f3bca8e0$ce1865cb@winxp> Message-ID: Wow... thanks A.D.... I'll give it a try. ----- Original Message ----- From: A.D.Tejpal To: Access Developers discussion and problem solving Sent: Thursday, August 04, 2005 2:57 PM Subject: Re: [AccessD] Memo field parsing Gregg, For sake of demonstration, let the source table named T_Memo consist of two fields, named ID (primary key - Autonumber) and Mem (memo type). Create another table, named T_MemRef, with just one field named Ref (number type). Populate this table with just two records, with values 1 and 2 respectively. Query Q_Memo as given below, should be used as record source for your report. It involves Cartesian join between tables T_Memo and T_MemRef. In detail section of your report, drag Mem and Ref from the field list, so as to create bound controls named Mem and Ref. Make these controls hidden, set their CanGrow property to "No" and position the same un-obtrusively. Insert an unbound text box named TxtMemo. This is the text box that would actually display the contents of memo field. Set the width and fonts as desired. Set the CanGrow property of this control as well as the detail section as a whole, to "Yes". In VBA window, put the code given below, in Detail_Format event of the report. Make sure that the item "On Format" in Event tab of properties dialog box shows [Event Procedure] against it. Now, when you run the report, first three lines of the memo field will get displayed on first page and the balance portion on the next page. Similar pattern would get repeated for all records. Best wishes, A.D.Tejpal -------------- Source Query for the report (Q_Memo) ===================================== SELECT T_Memo.ID, T_MemRef.Ref, T_Memo.Mem FROM T_Memo, T_MemRef ORDER BY T_Memo.ID, T_MemRef.Ref; ===================================== Code in Report's Module ===================================== Private Sub Detail_Format(Cancel As Integer, _ FormatCount As Integer) Dim Wd As Long, Rw As Single, Mgn As Long Dim LenMem As Long, Txt As String, Lft As Long Dim LastSpace As Long, MaxRowsFirstPart Dim Mpf As Single MaxRowsFirstPart = 3 LenMem = Len(Mem) If LenMem > 0 Then Else Exit Sub End If With Me ' Set the scale mode to twips .ScaleMode = 1 ' Set Font values for report to match those of memo field. .FontName = TxtMemo.FontName .FontSize = TxtMemo.FontSize If TxtMemo.FontBold <> 0 Then .FontBold = True Else .FontBold = False End If End With ' Allow for necessary margin within a text box ' (Between its border and the content) Mgn = 170 ' This value may need fine tuning for ' best results ' Get effective width of control meant for ' displaying memo field Wd = TxtMemo.Width - Mgn ' Get the number of characters so as to make-up the ' required number of rows for first part of memo field. For Lft = 1 To LenMem Txt = Left(Mem, Lft) LastSpace = IIf(Right(Txt, 1) = " ", Lft, LastSpace) Rw = TextWidth(Txt) / Wd If Rw > MaxRowsFirstPart Then Lft = Lft - 1 Exit For End If Next Debug.Print Lft; ", "; LastSpace ' Get Multiplying factor for acceptable max location ' of last space. Mpf = (0.8 + (MaxRowsFirstPart - 1)) / MaxRowsFirstPart ' Shorten the first part to nearest space ' (if within 20 % of the end of line) If LastSpace > Mpf * Lft And LastSpace < Lft Then Lft = LastSpace End If ' Populate the unbound text box with appropriate ' part of memo field. If Ref = 1 Then TxtMemo = Left(Mem, Lft) ' Force New Page - Afer section, only if memo ' field contents not yet finished If LenMem > Lft Then Detail.ForceNewPage = 2 Else Detail.ForceNewPage = 0 ' No break End If Else TxtMemo = Mid(Mem, Lft + 1) ' Force New Page - Afer section Detail.ForceNewPage = 2 End If End Sub ===================================== ----- Original Message ----- From: Gregg To: Access Developers discussion and problem solving Cc: Robert Penn Sent: Thursday, August 04, 2005 04:19 Subject: Re: [AccessD] Memo field parsing Thanks Charlotte! I give it a try. ----- Original Message ----- From: Charlotte Foust> To: Access Developers discussion and problem solving> Sent: Wednesday, August 03, 2005 5:33 PM Subject: RE: [AccessD] Memo field parsing No, get the textwidth of the control and see if the textwidth of the text is greater than that. Handle the situation where it is not and everything fits in the first control. Otherwise get the text that fits within the control textwidth and use instrRev to find the last space in that substring. Break it there. At that point, you also know the index of the starting point for the rest of the string, so all you need to do for the next page is use the Mid(text, index) to put the rest of it into the second page. Charlotte Foust -----Original Message----- From: Gregg [mailto:greggs at msn.com] Sent: Wednesday, August 03, 2005 11:34 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Memo field parsing So, you're saying I need to loop through all the characters until I find the last whole word that will fit on the first line, the same for the second etc. until I determine what text will fit in the first page text field and use what's left for the 2nd page? ----- Original Message ----- From: Charlotte Foust>> To: Access Developers discussion and problem solving>> Sent: Wednesday, August 03, 2005 11:02 AM Subject: RE: [AccessD] Memo field parsing You can't do it by simply counting characters anyhow. You have to use the TextWidth property, which can be expressed as reportname.TextWidth(stringvariable) and compare that to the textwidth of the control ( reportname.TextWidth(controlobject) or to the maximum length you want to display. You'll also want to allow a padding factor to avoid overrunning the borders of the control and be sure and check for carriage returns because they confuse the issue. If you want to display 3 "lines", you'll have to break the memo field into the first three chunks that will fit into the textwidth of the textbox you're using to display the text on that page. Charlotte Foust -----Original Message----- From: Gregg [mailto:greggs at msn.com] Sent: Wednesday, August 03, 2005 8:43 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Memo field parsing Charlotte Physical space I think because I don't know how to get from one to the other. The number of characters is going to be dependant on the how many characters are lost to word wrapping isn't it? Is there a way to calculate the number of characters that will appear in the first three lines? If I knew that, I could do it. ----- Original Message ----- From: Charlotte Foust> m>> To: Access Developers discussion and problem solving> ors.com>> Sent: Wednesday, August 03, 2005 10:28 AM Subject: RE: [AccessD] Memo field parsing Define "first three lines". Is that a particular number of characters or a physical space? Charlotte Foust -----Original Message----- From: Gregg [mailto:greggs at msn.com] Sent: Wednesday, August 03, 2005 7:32 AM To: Access Developers discussion and problem solving Subject: [AccessD] Memo field parsing I would like to parse a memo field in a A97 report such that the first three lines is on the first page and whatever is left is on the next. Any ideas? Gregg Steinbrenner -- AccessD mailing list -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From fhtapia at gmail.com Fri Aug 5 17:32:23 2005 From: fhtapia at gmail.com (Francisco Tapia) Date: Fri, 5 Aug 2005 15:32:23 -0700 Subject: [AccessD] Online Archives Message-ID: Drew, you used to keep an archives online, but for whatever reason I'm not able to get to it... I'm trying to find that hint to tell access to always default to code builder from the Bulild Event... context menu -- -Francisco http://pcthis.blogspot.com |PC news with out the jargon! http://sqlthis.blogspot.com | Tsql and More... From dwaters at usinternet.com Fri Aug 5 17:37:21 2005 From: dwaters at usinternet.com (Dan Waters) Date: Fri, 5 Aug 2005 17:37:21 -0500 Subject: [AccessD] RE: Friday Humor In-Reply-To: <24639750.1123264359656.JavaMail.root@sniper21> Message-ID: <000001c59a0e$3fc3e6b0$0200a8c0@danwaters> "That was just wrong!", I said to myself while rolling on the floor! Dan Waters -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of dmcafee at pacbell.net Sent: Friday, August 05, 2005 1:03 PM To: Access Developers discussion and problem solving Subject: [AccessD] RE: Friday Humor Once upon a time, there was a snake, named Nate. Rather close to Nate's house there was a great road, and next to this road was a lever. The lever was ancient, and the mythology around the lever was that if you were to push it, it would trigger the end of the world. One day, Nate was slithering down the road, and he came upon the lever, and began crossing the road so he could look at it. At the same moment, a truck came careening around a corner, and the driver found himself in a dilemma: either hit the snake or end the world. Needless to say, the driver ran over Nate and went on his merry way. Moral of the Story: Better Nate than Lever -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From dwaters at usinternet.com Fri Aug 5 17:37:21 2005 From: dwaters at usinternet.com (Dan Waters) Date: Fri, 5 Aug 2005 17:37:21 -0500 Subject: [AccessD] SendObject In-Reply-To: <14134571.1123265958309.JavaMail.root@sniper21> Message-ID: <000101c59a0e$40fa1cc0$0200a8c0@danwaters> Barbara, I'm pretty sure that the DoCmd.SendObject command can only be used to send objects that are a part of the Access database, when the command is used within an Access database. To send a different file, you'll need to use something else - like SMTP email. An example of this is vbSendMail.dll, available from FreeVBCode.com. The help file for SendObject is pretty good. Dan Waters -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Barbara Ryan Sent: Friday, August 05, 2005 1:32 PM To: Access List Subject: [AccessD] SendObject I've used Docmd.SendObject to email Snapshot files. I now need to email a .txt file and am having problems. There doesn't appear to be an object type for text files. Any ideas? Thanks, Barb Ryan -- 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 Fri Aug 5 17:40:54 2005 From: donald.a.Mcgillivray at mail.sprint.com (Mcgillivray, Don [ITS]) Date: Fri, 5 Aug 2005 17:40:54 -0500 Subject: [AccessD] Online Archives Message-ID: Francisco, Tick the box next to "Always use event procedures" under Options|Forms/Reports. HTH Don From DWUTKA at marlow.com Fri Aug 5 17:41:26 2005 From: DWUTKA at marlow.com (DWUTKA at marlow.com) Date: Fri, 5 Aug 2005 17:41:26 -0500 Subject: [AccessD] Online Archives Message-ID: <123701F54509D9119A4F00D0B747349016DC29@main2.marlow.com> Sorry, my domain is offline still. Hopefully will be back up by the end of the month. Drew -----Original Message----- From: Francisco Tapia [mailto:fhtapia at gmail.com] Sent: Friday, August 05, 2005 5:32 PM To: Access Developers discussion and problem solving Subject: [AccessD] Online Archives Drew, you used to keep an archives online, but for whatever reason I'm not able to get to it... I'm trying to find that hint to tell access to always default to code builder from the Bulild Event... context menu -- -Francisco http://pcthis.blogspot.com |PC news with out the jargon! http://sqlthis.blogspot.com | Tsql and More... -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From cfoust at infostatsystems.com Fri Aug 5 18:02:40 2005 From: cfoust at infostatsystems.com (Charlotte Foust) Date: Fri, 5 Aug 2005 16:02:40 -0700 Subject: [AccessD] Online Archives Message-ID: Hmmn .... Which month is that, Drew? Charlotte Foust -----Original Message----- From: DWUTKA at marlow.com [mailto:DWUTKA at marlow.com] Sent: Friday, August 05, 2005 3:41 PM To: accessd at databaseadvisors.com Subject: RE: [AccessD] Online Archives Sorry, my domain is offline still. Hopefully will be back up by the end of the month. Drew -----Original Message----- From: Francisco Tapia [mailto:fhtapia at gmail.com] Sent: Friday, August 05, 2005 5:32 PM To: Access Developers discussion and problem solving Subject: [AccessD] Online Archives Drew, you used to keep an archives online, but for whatever reason I'm not able to get to it... I'm trying to find that hint to tell access to always default to code builder from the Bulild Event... context menu -- -Francisco http://pcthis.blogspot.com |PC news with out the jargon! http://sqlthis.blogspot.com | Tsql and More... -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From carbonnb at sympatico.ca Fri Aug 5 18:58:32 2005 From: carbonnb at sympatico.ca (Bryan Carbonnell) Date: Fri, 05 Aug 2005 19:58:32 -0400 Subject: [AccessD] Online Archives In-Reply-To: Message-ID: On 5 Aug 2005 at 15:32, Francisco Tapia wrote: > you used to keep an archives online, but for whatever reason I'm not > able to get to it... I'm trying to find that hint to tell access to > always default to code builder from the Bulild Event... context menu There's always DBAs archive at http://databaseadvisors.com/pipermail/accessd/ -- Bryan Carbonnell - carbonnb at sympatico.ca A truly happy person is one who can enjoy the scenery on a detour. From kimjwiggins at yahoo.com Fri Aug 5 22:06:05 2005 From: kimjwiggins at yahoo.com (Kim Wiggins) Date: Fri, 5 Aug 2005 20:06:05 -0700 (PDT) Subject: [AccessD] SQL statement In-Reply-To: <42F46C8B.21016.1E30726C@stuart.lexacorp.com.pg> Message-ID: <20050806030605.53985.qmail@web53603.mail.yahoo.com> Thanks Stuart. I did figure that out after the fact You are correct because it can't resolve the field name that way. Stuart McLachlan wrote:On 5 Aug 2005 at 8:06, Kim Wiggins wrote: > I'm sorry John, I didn't explain that well. It is Quantity1, etc.... The (i) is the index in my program for me to loop through the fields. > ..... > > I don't see anything. strSQL1 = "update tblRepairPartsReplaced set > > quantity (i) = '" & Val(txtQty(i)) & "' Where part_no = '" & > > txtPartsRep(i).Text & "'" Thanks Kim > > If "i" is an index in your code,you can't have it inside strSQL1. When you build the string, you have to resolve everything the way you do Val(txtQty(i)). IOW you would need to replace "quantity(i) = " with something like "Quantity" & i & " = " -- Stuart -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com __________________________________________________ Do You Yahoo!? Tired of spam? Yahoo! Mail has the best spam protection around http://mail.yahoo.com From andy at minstersystems.co.uk Sat Aug 6 02:23:26 2005 From: andy at minstersystems.co.uk (Andy Lacey) Date: Sat, 6 Aug 2005 08:23:26 +0100 Subject: [AccessD] SendObject In-Reply-To: <000101c59a0e$40fa1cc0$0200a8c0@danwaters> Message-ID: <006a01c59a57$bc8d3450$901b0c54@minster33c3r25> Dan's right. Can't use SendObject in a case like this. If your email client is Outlook you can use the Outlook object to do it though. I can send you an example if you want. -- Andy Lacey http://www.minstersystems.co.uk > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Dan Waters > Sent: 05 August 2005 23:37 > To: 'Access Developers discussion and problem solving' > Subject: RE: [AccessD] SendObject > > > Barbara, > > I'm pretty sure that the DoCmd.SendObject command can only be > used to send objects that are a part of the Access database, > when the command is used within an Access database. To send > a different file, you'll need to use something else - like > SMTP email. An example of this is vbSendMail.dll, available > from FreeVBCode.com. > > The help file for SendObject is pretty good. > > Dan Waters > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of > Barbara Ryan > Sent: Friday, August 05, 2005 1:32 PM > To: Access List > Subject: [AccessD] SendObject > > I've used Docmd.SendObject to email Snapshot files. I now > need to email a .txt file and am having problems. There > doesn't appear to be an object type for text files. > > Any ideas? > > Thanks, > Barb Ryan > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > > From BarbaraRyan at cox.net Sat Aug 6 06:03:07 2005 From: BarbaraRyan at cox.net (Barbara Ryan) Date: Sat, 6 Aug 2005 07:03:07 -0400 Subject: [AccessD] SendObject References: <006a01c59a57$bc8d3450$901b0c54@minster33c3r25> Message-ID: <001401c59a76$6d115cc0$0a00a8c0@cx470148a> Thanks for the info. Andy, that would be great if you could send an example.....Barb ----- Original Message ----- From: "Andy Lacey" To: "'Access Developers discussion and problem solving'" Sent: Saturday, August 06, 2005 3:23 AM Subject: RE: [AccessD] SendObject > Dan's right. Can't use SendObject in a case like this. If your email client > is Outlook you can use the Outlook object to do it though. I can send you an > example if you want. > > -- Andy Lacey > http://www.minstersystems.co.uk > > > -----Original Message----- > > From: accessd-bounces at databaseadvisors.com > > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Dan Waters > > Sent: 05 August 2005 23:37 > > To: 'Access Developers discussion and problem solving' > > Subject: RE: [AccessD] SendObject > > > > > > Barbara, > > > > I'm pretty sure that the DoCmd.SendObject command can only be > > used to send objects that are a part of the Access database, > > when the command is used within an Access database. To send > > a different file, you'll need to use something else - like > > SMTP email. An example of this is vbSendMail.dll, available > > from FreeVBCode.com. > > > > The help file for SendObject is pretty good. > > > > Dan Waters > > > > -----Original Message----- > > From: accessd-bounces at databaseadvisors.com > > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of > > Barbara Ryan > > Sent: Friday, August 05, 2005 1:32 PM > > To: Access List > > Subject: [AccessD] SendObject > > > > I've used Docmd.SendObject to email Snapshot files. I now > > need to email a .txt file and am having problems. There > > doesn't appear to be an object type for text files. > > > > Any ideas? > > > > Thanks, > > Barb Ryan > > -- > > AccessD mailing list > > AccessD at databaseadvisors.com > > http://databaseadvisors.com/mailman/listinfo/accessd > > Website: http://www.databaseadvisors.com > > > > -- > > AccessD mailing list > > AccessD at databaseadvisors.com > > http://databaseadvisors.com/mailman/listinfo/accessd > > 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 Aug 6 11:16:13 2005 From: accessd at shaw.ca (Jim Lawrence) Date: Sat, 06 Aug 2005 09:16:13 -0700 Subject: [AccessD] Online Archives In-Reply-To: Message-ID: <0IKT0024Y6IZV7@l-daemon> ..or http://www.databaseadvisors.com/archive/archive.htm Jim -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Bryan Carbonnell Sent: Friday, August 05, 2005 4:59 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Online Archives On 5 Aug 2005 at 15:32, Francisco Tapia wrote: > you used to keep an archives online, but for whatever reason I'm not > able to get to it... I'm trying to find that hint to tell access to > always default to code builder from the Bulild Event... context menu There's always DBAs archive at http://databaseadvisors.com/pipermail/accessd/ -- Bryan Carbonnell - carbonnb at sympatico.ca A truly happy person is one who can enjoy the scenery on a detour. -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From andy at minstersystems.co.uk Sat Aug 6 12:44:28 2005 From: andy at minstersystems.co.uk (Andy Lacey) Date: Sat, 6 Aug 2005 18:44:28 +0100 Subject: [AccessD] SendObject In-Reply-To: <001401c59a76$6d115cc0$0a00a8c0@cx470148a> Message-ID: <008901c59aae$7f0ca7d0$901b0c54@minster33c3r25> Here you go Barbara Don't forget to set a Reference to the Outlook Object Library and put in error trapping etc Function SendOutlookMessage() Dim objOutlook As Outlook.Application Dim objOutlookMsg As Outlook.MailItem Dim objOutlookRecip As Outlook.Recipient Dim objOutlookAttach As Outlook.Attachment Dim objOutlookNameSpace As Outlook.NameSpace Dim objOutlookItem As Outlook.ContactItem Dim objOutlookFolder As Object Dim lngCounter As Long Dim astrRecipients() As String Dim astrAttachments() As String Dim strSubject As String Dim strBody As String 'Put code in here to build up array of recipients and attachments 'Create the Outlook session Set objOutlook = CreateObject("Outlook.Application") Set objOutlookNameSpace = objOutlook.GetNamespace("MAPI") Set objOutlookFolder = objOutlookNameSpace.GetDefaultFolder(olFolderContacts) 'Create the message Set objOutlookMsg = objOutlook.CreateItem(olMailItem) With objOutlookMsg 'Add recipients For lngCounter = 1 To UBound(astrRecipients) Set objOutlookRecip = .Recipients.Add(astrRecipients(lngCounter)) objOutlookRecip.Type = olTo Next 'Resolve each recipients name For Each objOutlookRecip In .Recipients objOutlookRecip.Resolve Next .Subject = strSubject .Body = strBody .Importance = olImportanceNormal For lngCounter = 1 To UBound(astrAttachments) Set objOutlookAttach = .Attachments.Add(astrAttachments(lngCounter)) Next .Save .Send End With End Function HTH -- Andy Lacey http://www.minstersystems.co.uk > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of > Barbara Ryan > Sent: 06 August 2005 12:03 > To: Access Developers discussion and problem solving > Subject: Re: [AccessD] SendObject > > > Thanks for the info. Andy, that would be great if you could > send an example.....Barb > From BarbaraRyan at cox.net Sat Aug 6 14:23:24 2005 From: BarbaraRyan at cox.net (Barbara Ryan) Date: Sat, 6 Aug 2005 15:23:24 -0400 Subject: [AccessD] SendObject References: <008901c59aae$7f0ca7d0$901b0c54@minster33c3r25> Message-ID: <002601c59abc$50a8dc20$0a00a8c0@cx470148a> Thanks, Andy.... I really appreciate it!.....Barb ----- Original Message ----- From: "Andy Lacey" To: "'Access Developers discussion and problem solving'" Sent: Saturday, August 06, 2005 1:44 PM Subject: RE: [AccessD] SendObject > Here you go Barbara > > Don't forget to set a Reference to the Outlook Object Library and put in > error trapping etc > > > > Function SendOutlookMessage() > > Dim objOutlook As Outlook.Application > Dim objOutlookMsg As Outlook.MailItem > Dim objOutlookRecip As Outlook.Recipient > Dim objOutlookAttach As Outlook.Attachment > Dim objOutlookNameSpace As Outlook.NameSpace > Dim objOutlookItem As Outlook.ContactItem > Dim objOutlookFolder As Object > Dim lngCounter As Long > Dim astrRecipients() As String > Dim astrAttachments() As String > Dim strSubject As String > Dim strBody As String > > 'Put code in here to build up array of recipients and attachments > > > 'Create the Outlook session > Set objOutlook = CreateObject("Outlook.Application") > > Set objOutlookNameSpace = objOutlook.GetNamespace("MAPI") > Set objOutlookFolder = > objOutlookNameSpace.GetDefaultFolder(olFolderContacts) > > 'Create the message > Set objOutlookMsg = objOutlook.CreateItem(olMailItem) > With objOutlookMsg > 'Add recipients > For lngCounter = 1 To UBound(astrRecipients) > Set objOutlookRecip = .Recipients.Add(astrRecipients(lngCounter)) > objOutlookRecip.Type = olTo > Next > 'Resolve each recipients name > For Each objOutlookRecip In .Recipients > objOutlookRecip.Resolve > Next > .Subject = strSubject > .Body = strBody > .Importance = olImportanceNormal > For lngCounter = 1 To UBound(astrAttachments) > Set objOutlookAttach = .Attachments.Add(astrAttachments(lngCounter)) > Next > .Save > .Send > End With > > End Function > > HTH > > -- Andy Lacey > http://www.minstersystems.co.uk > > > > > -----Original Message----- > > From: accessd-bounces at databaseadvisors.com > > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of > > Barbara Ryan > > Sent: 06 August 2005 12:03 > > To: Access Developers discussion and problem solving > > Subject: Re: [AccessD] SendObject > > > > > > Thanks for the info. Andy, that would be great if you could > > send an example.....Barb > > > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com From dmcafee at pacbell.net Sat Aug 6 16:14:48 2005 From: dmcafee at pacbell.net (dmcafee at pacbell.net) Date: Sat, 6 Aug 2005 14:14:48 -0700 Subject: [AccessD] SendObject In-Reply-To: <002601c59abc$50a8dc20$0a00a8c0@cx470148a> Message-ID: If you are using Outlook 2000 SP2 or higher, you will also have to deal with confirming that the email is good. Another thing you can try is blat. List member Francisco Tapia has a great sample on rogersaccesslibrary under other developers. Blat runs behind the scenes and we added it to the error handling. This is the way Outlook SHOULD (and used to) work. David -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Barbara Ryan Sent: Saturday, August 06, 2005 12:23 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] SendObject Thanks, Andy.... I really appreciate it!.....Barb ----- Original Message ----- From: "Andy Lacey" To: "'Access Developers discussion and problem solving'" Sent: Saturday, August 06, 2005 1:44 PM Subject: RE: [AccessD] SendObject > Here you go Barbara > > Don't forget to set a Reference to the Outlook Object Library and put in > error trapping etc > > > > Function SendOutlookMessage() > > Dim objOutlook As Outlook.Application > Dim objOutlookMsg As Outlook.MailItem > Dim objOutlookRecip As Outlook.Recipient > Dim objOutlookAttach As Outlook.Attachment > Dim objOutlookNameSpace As Outlook.NameSpace > Dim objOutlookItem As Outlook.ContactItem > Dim objOutlookFolder As Object > Dim lngCounter As Long > Dim astrRecipients() As String > Dim astrAttachments() As String > Dim strSubject As String > Dim strBody As String > > 'Put code in here to build up array of recipients and attachments > > > 'Create the Outlook session > Set objOutlook = CreateObject("Outlook.Application") > > Set objOutlookNameSpace = objOutlook.GetNamespace("MAPI") > Set objOutlookFolder = > objOutlookNameSpace.GetDefaultFolder(olFolderContacts) > > 'Create the message > Set objOutlookMsg = objOutlook.CreateItem(olMailItem) > With objOutlookMsg > 'Add recipients > For lngCounter = 1 To UBound(astrRecipients) > Set objOutlookRecip = .Recipients.Add(astrRecipients(lngCounter)) > objOutlookRecip.Type = olTo > Next > 'Resolve each recipients name > For Each objOutlookRecip In .Recipients > objOutlookRecip.Resolve > Next > .Subject = strSubject > .Body = strBody > .Importance = olImportanceNormal > For lngCounter = 1 To UBound(astrAttachments) > Set objOutlookAttach = .Attachments.Add(astrAttachments(lngCounter)) > Next > .Save > .Send > End With > > End Function > > HTH > > -- Andy Lacey > http://www.minstersystems.co.uk From BarbaraRyan at cox.net Sat Aug 6 18:20:20 2005 From: BarbaraRyan at cox.net (Barbara Ryan) Date: Sat, 6 Aug 2005 19:20:20 -0400 Subject: [AccessD] SendObject References: Message-ID: <008301c59add$6a12e400$0a00a8c0@cx470148a> David.... Does "confirming that the email is good" mean confirming that the email address is valid?....Barb ----- Original Message ----- From: To: "Access Developers discussion and problem solving" Sent: Saturday, August 06, 2005 5:14 PM Subject: RE: [AccessD] SendObject > If you are using Outlook 2000 SP2 or higher, you will also have to deal with > confirming that the email is good. > > Another thing you can try is blat. List member Francisco Tapia has a great > sample on rogersaccesslibrary under other developers. Blat runs behind the > scenes and we added it to the error handling. This is the way Outlook SHOULD > (and used to) work. > > David > > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Barbara Ryan > Sent: Saturday, August 06, 2005 12:23 PM > To: Access Developers discussion and problem solving > Subject: Re: [AccessD] SendObject > > > Thanks, Andy.... I really appreciate it!.....Barb > > > > ----- Original Message ----- > From: "Andy Lacey" > To: "'Access Developers discussion and problem solving'" > > Sent: Saturday, August 06, 2005 1:44 PM > Subject: RE: [AccessD] SendObject > > > > Here you go Barbara > > > > Don't forget to set a Reference to the Outlook Object Library and put in > > error trapping etc > > > > > > > > Function SendOutlookMessage() > > > > Dim objOutlook As Outlook.Application > > Dim objOutlookMsg As Outlook.MailItem > > Dim objOutlookRecip As Outlook.Recipient > > Dim objOutlookAttach As Outlook.Attachment > > Dim objOutlookNameSpace As Outlook.NameSpace > > Dim objOutlookItem As Outlook.ContactItem > > Dim objOutlookFolder As Object > > Dim lngCounter As Long > > Dim astrRecipients() As String > > Dim astrAttachments() As String > > Dim strSubject As String > > Dim strBody As String > > > > 'Put code in here to build up array of recipients and attachments > > > > > > 'Create the Outlook session > > Set objOutlook = CreateObject("Outlook.Application") > > > > Set objOutlookNameSpace = objOutlook.GetNamespace("MAPI") > > Set objOutlookFolder = > > objOutlookNameSpace.GetDefaultFolder(olFolderContacts) > > > > 'Create the message > > Set objOutlookMsg = objOutlook.CreateItem(olMailItem) > > With objOutlookMsg > > 'Add recipients > > For lngCounter = 1 To UBound(astrRecipients) > > Set objOutlookRecip = .Recipients.Add(astrRecipients(lngCounter)) > > objOutlookRecip.Type = olTo > > Next > > 'Resolve each recipients name > > For Each objOutlookRecip In .Recipients > > objOutlookRecip.Resolve > > Next > > .Subject = strSubject > > .Body = strBody > > .Importance = olImportanceNormal > > For lngCounter = 1 To UBound(astrAttachments) > > Set objOutlookAttach = .Attachments.Add(astrAttachments(lngCounter)) > > Next > > .Save > > .Send > > End With > > > > End Function > > > > HTH > > > > -- Andy Lacey > > http://www.minstersystems.co.uk > > -- > 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 Aug 6 18:58:07 2005 From: stuart at lexacorp.com.pg (Stuart McLachlan) Date: Sun, 07 Aug 2005 09:58:07 +1000 Subject: [AccessD] SendObject In-Reply-To: <008301c59add$6a12e400$0a00a8c0@cx470148a> Message-ID: <42F5DB2F.20473.23C896E6@stuart.lexacorp.com.pg> On 6 Aug 2005 at 19:20, Barbara Ryan wrote: > David.... Does "confirming that the email is good" mean confirming that the > email address is valid?....Barb > > No, he's talking about that annoying popup telling you that a program is trying to send a message and asking you to confirm that it is allowed to do so. -- Stuart From DWUTKA at marlow.com Sat Aug 6 22:02:23 2005 From: DWUTKA at marlow.com (DWUTKA at marlow.com) Date: Sat, 6 Aug 2005 22:02:23 -0500 Subject: [AccessD] Online Archives Message-ID: <123701F54509D9119A4F00D0B747349016DC32@main2.marlow.com> August...though it may be September the way things are going.... Drew -----Original Message----- From: Charlotte Foust [mailto:cfoust at infostatsystems.com] Sent: Friday, August 05, 2005 6:03 PM To: Access Developers discussion and problem solving Subject: RE: [AccessD] Online Archives Hmmn .... Which month is that, Drew? Charlotte Foust -----Original Message----- From: DWUTKA at marlow.com [mailto:DWUTKA at marlow.com] Sent: Friday, August 05, 2005 3:41 PM To: accessd at databaseadvisors.com Subject: RE: [AccessD] Online Archives Sorry, my domain is offline still. Hopefully will be back up by the end of the month. Drew -----Original Message----- From: Francisco Tapia [mailto:fhtapia at gmail.com] Sent: Friday, August 05, 2005 5:32 PM To: Access Developers discussion and problem solving Subject: [AccessD] Online Archives Drew, you used to keep an archives online, but for whatever reason I'm not able to get to it... I'm trying to find that hint to tell access to always default to code builder from the Bulild Event... context menu -- -Francisco http://pcthis.blogspot.com |PC news with out the jargon! http://sqlthis.blogspot.com | Tsql and More... -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd 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 Sun Aug 7 02:27:35 2005 From: andy at minstersystems.co.uk (Andy Lacey) Date: Sun, 7 Aug 2005 08:27:35 +0100 Subject: [AccessD] SendObject In-Reply-To: <42F5DB2F.20473.23C896E6@stuart.lexacorp.com.pg> Message-ID: <009c01c59b21$7b7469a0$901b0c54@minster33c3r25> Barbara If you are on Outlook XP, or SP2 of 2000, then you will get a security popup from Outlook each time you use that code, asking if it's ok for the program that's running to use Outlook. If you get it, and it's a problem to you, then there's a free 3rd-party utility called Redemption, that a lot of list members use, that gets around it. If you need it then go to http://www.dimastr.com/redemption/ and get it and install it. I can then, if you want, send another version of the code modified for Redemption. -- Andy Lacey http://www.minstersystems.co.uk > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of > Stuart McLachlan > Sent: 07 August 2005 00:58 > To: Access Developers discussion and problem solving > Subject: Re: [AccessD] SendObject > > > On 6 Aug 2005 at 19:20, Barbara Ryan wrote: > > > David.... Does "confirming that the email is good" mean confirming > > that the email address is valid?....Barb > > > > > > No, he's talking about that annoying popup telling you that a > program is > trying to send a message and asking you to confirm that it is > allowed to do > so. > > -- > Stuart > > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > > From John.Clark at niagaracounty.com Mon Aug 8 08:18:55 2005 From: John.Clark at niagaracounty.com (John Clark) Date: Mon, 08 Aug 2005 09:18:55 -0400 Subject: [AccessD] Security Problem w/existing program Message-ID: Somebody at work came to me w/a problem today. Their program, which runs on a Citrix box, is written in AXP, so they figured I could help them. I am feeling a little dumb though because I'm not getting anywhere w/it. The program is working fine actually, but the security has disappeared. Now, I don't have much experience with Access security to begin with, but I have been able to muddle my through it, in the past. However, everything I've dealt with in the past seemed to include an MDW file, but no such animal exists in this environment (did this go away with XP?). I looked at a backup directory they have and it isn't there either, which leads me to believe it is not just missing. Instead however, there are a bunch of files I have never worked with (i.e. .MDO, .MOD, .ODB, .MDA, .MOA). I found nothing, in a search, for .MDO files, but I found out that .MDA files are "Access Add-ins." I am now wondering if this is using some add-in that supercedes standard security procedures. When working though, I believe it acts the same way...they still go into DB security and manipulate workgroups and users, and their rights. Does anyone have any ideas of how I can troubleshoot this? I realize I may not be giving enough info, but I really don't know what else to add, at this point, so just ask if you need it. I am headed back into it now, but I'll check back in a bit to see what y'all might have for me. Thank you! John W Clark From jimdettman at earthlink.net Mon Aug 8 08:29:28 2005 From: jimdettman at earthlink.net (Jim Dettman) Date: Mon, 8 Aug 2005 09:29:28 -0400 Subject: [AccessD] Security Problem w/existing program In-Reply-To: Message-ID: John, <> Please define "disappeared". What is or is not happening? << I am now wondering if this is using some add-in that supercedes standard security procedures.>> Access databases can have any extention and still execute (except for LDB). It is possible that the developer has implemented their own security setup within the app and Access security is not being used. I would also ask; Has anything changed recently? Hardware, software, OS, setup, etc. Jim. -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of John Clark Sent: Monday, August 08, 2005 9:19 AM To: accessd at databaseadvisors.com Subject: [AccessD] Security Problem w/existing program Somebody at work came to me w/a problem today. Their program, which runs on a Citrix box, is written in AXP, so they figured I could help them. I am feeling a little dumb though because I'm not getting anywhere w/it. The program is working fine actually, but the security has disappeared. Now, I don't have much experience with Access security to begin with, but I have been able to muddle my through it, in the past. However, everything I've dealt with in the past seemed to include an MDW file, but no such animal exists in this environment (did this go away with XP?). I looked at a backup directory they have and it isn't there either, which leads me to believe it is not just missing. Instead however, there are a bunch of files I have never worked with (i.e. .MDO, .MOD, .ODB, .MDA, .MOA). I found nothing, in a search, for .MDO files, but I found out that .MDA files are "Access Add-ins." I am now wondering if this is using some add-in that supercedes standard security procedures. When working though, I believe it acts the same way...they still go into DB security and manipulate workgroups and users, and their rights. Does anyone have any ideas of how I can troubleshoot this? I realize I may not be giving enough info, but I really don't know what else to add, at this point, so just ask if you need it. I am headed back into it now, but I'll check back in a bit to see what y'all might have for me. Thank you! John W Clark -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From John.Clark at niagaracounty.com Mon Aug 8 09:04:33 2005 From: John.Clark at niagaracounty.com (John Clark) Date: Mon, 08 Aug 2005 10:04:33 -0400 Subject: [AccessD] Security Problem w/existing program Message-ID: We got it working. Somehow the shortcut was changed, and it was missing "/user" at the end of the command line. Without this, the program just opened up, but was the same user, with limited rights, for everyone (this is what I meant by missing...no login). Although it is now working, the user has to enter their password, which was automated before. It used to bring in their Citrix login ID or of the Windows server it is on. Maybe y'all know how to do this? What is the syntax, in a shortcut, to drag in a users Windows ID? I am glad I asked for help though, because I did learn something. I hadn't realized that the extensions could be changed. I am going to look into this a little more, because it may be useful for me. >>> jimdettman at earthlink.net 8/8/2005 9:29 AM >>> John, <> Please define "disappeared". What is or is not happening? << I am now wondering if this is using some add-in that supercedes standard security procedures.>> Access databases can have any extention and still execute (except for LDB). It is possible that the developer has implemented their own security setup within the app and Access security is not being used. I would also ask; Has anything changed recently? Hardware, software, OS, setup, etc. Jim. -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of John Clark Sent: Monday, August 08, 2005 9:19 AM To: accessd at databaseadvisors.com Subject: [AccessD] Security Problem w/existing program Somebody at work came to me w/a problem today. Their program, which runs on a Citrix box, is written in AXP, so they figured I could help them. I am feeling a little dumb though because I'm not getting anywhere w/it. The program is working fine actually, but the security has disappeared. Now, I don't have much experience with Access security to begin with, but I have been able to muddle my through it, in the past. However, everything I've dealt with in the past seemed to include an MDW file, but no such animal exists in this environment (did this go away with XP?). I looked at a backup directory they have and it isn't there either, which leads me to believe it is not just missing. Instead however, there are a bunch of files I have never worked with (i.e. .MDO, .MOD, .ODB, .MDA, .MOA). I found nothing, in a search, for .MDO files, but I found out that .MDA files are "Access Add-ins." I am now wondering if this is using some add-in that supercedes standard security procedures. When working though, I believe it acts the same way...they still go into DB security and manipulate workgroups and users, and their rights. Does anyone have any ideas of how I can troubleshoot this? I realize I may not be giving enough info, but I really don't know what else to add, at this point, so just ask if you need it. I am headed back into it now, but I'll check back in a bit to see what y'all might have for me. Thank you! John W Clark -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd 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 Aug 8 09:42:07 2005 From: jimdettman at earthlink.net (Jim Dettman) Date: Mon, 8 Aug 2005 10:42:07 -0400 Subject: [AccessD] Security Problem w/existing program In-Reply-To: Message-ID: John, <> Assuming that Access security is being used, that means that the Admin account has a blank password. Access user-level security is always on, but by default, JET tries a login with a username of admin and a blank password first. If that succeeds, then the login is bypassed. It's possible to secure a databases in such a way that you can leave the default login like this, but give the admin user limited rights. << It used to bring in their Citrix login ID or of the Windows server it is on. Maybe y'all know how to do this? What is the syntax, in a shortcut, to drag in a users Windows ID?>> They must have had some type of "launcher" app that created the shortcut on the fly. <> A lot of folks don't realize it. MDA's, MDW's, etc are all MDB's and Access really doesn't care about the extension at all. Some MDA's are distributed as an "MDE" (no source code) ala the Wizards back with A95. Like my mom always said; it's what is inside that counts. Jim. -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of John Clark Sent: Monday, August 08, 2005 10:05 AM To: accessd at databaseadvisors.com Subject: RE: [AccessD] Security Problem w/existing program We got it working. Somehow the shortcut was changed, and it was missing "/user" at the end of the command line. Without this, the program just opened up, but was the same user, with limited rights, for everyone (this is what I meant by missing...no login). Although it is now working, the user has to enter their password, which was automated before. It used to bring in their Citrix login ID or of the Windows server it is on. Maybe y'all know how to do this? What is the syntax, in a shortcut, to drag in a users Windows ID? I am glad I asked for help though, because I did learn something. I hadn't realized that the extensions could be changed. I am going to look into this a little more, because it may be useful for me. >>> jimdettman at earthlink.net 8/8/2005 9:29 AM >>> John, <> Please define "disappeared". What is or is not happening? << I am now wondering if this is using some add-in that supercedes standard security procedures.>> Access databases can have any extention and still execute (except for LDB). It is possible that the developer has implemented their own security setup within the app and Access security is not being used. I would also ask; Has anything changed recently? Hardware, software, OS, setup, etc. Jim. -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of John Clark Sent: Monday, August 08, 2005 9:19 AM To: accessd at databaseadvisors.com Subject: [AccessD] Security Problem w/existing program Somebody at work came to me w/a problem today. Their program, which runs on a Citrix box, is written in AXP, so they figured I could help them. I am feeling a little dumb though because I'm not getting anywhere w/it. The program is working fine actually, but the security has disappeared. Now, I don't have much experience with Access security to begin with, but I have been able to muddle my through it, in the past. However, everything I've dealt with in the past seemed to include an MDW file, but no such animal exists in this environment (did this go away with XP?). I looked at a backup directory they have and it isn't there either, which leads me to believe it is not just missing. Instead however, there are a bunch of files I have never worked with (i.e. .MDO, .MOD, .ODB, .MDA, .MOA). I found nothing, in a search, for .MDO files, but I found out that .MDA files are "Access Add-ins." I am now wondering if this is using some add-in that supercedes standard security procedures. When working though, I believe it acts the same way...they still go into DB security and manipulate workgroups and users, and their rights. Does anyone have any ideas of how I can troubleshoot this? I realize I may not be giving enough info, but I really don't know what else to add, at this point, so just ask if you need it. I am headed back into it now, but I'll check back in a bit to see what y'all might have for me. Thank you! John W Clark -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From cyx5 at cdc.gov Mon Aug 8 09:56:37 2005 From: cyx5 at cdc.gov (Nicholson, Karen) Date: Mon, 8 Aug 2005 10:56:37 -0400 Subject: FW: [AccessD] Access 2003 Reports Not Working Message-ID: For reference, I found out why Access 2003 was not responding to anything to do with the world of Printing on my end-user's pc. The security settings for the default printer were not set up with enough freedom for the user to do much - she could print from other applications in the 2003 suite but not Access 2003. WIERD. From fhtapia at gmail.com Mon Aug 8 10:36:08 2005 From: fhtapia at gmail.com (Francisco Tapia) Date: Mon, 8 Aug 2005 08:36:08 -0700 Subject: [AccessD] Online Archives In-Reply-To: References: Message-ID: Thanks, This is what I was looking for... On 8/5/05, Mcgillivray, Don [ITS] wrote: > > Francisco, > > Tick the box next to "Always use event procedures" under > Options|Forms/Reports. > > HTH > > Don > > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > -- -Francisco http://pcthis.blogspot.com |PC news with out the jargon! http://sqlthis.blogspot.com | Tsql and More... From roz.clarke at donnslaw.co.uk Mon Aug 8 11:31:34 2005 From: roz.clarke at donnslaw.co.uk (Roz Clarke) Date: Mon, 8 Aug 2005 17:31:34 +0100 Subject: [AccessD] ADO - 424 error Message-ID: <61F915314798D311A2F800A0C9C8318807225E4E@dibble.observatory.donnslaw.co.uk> Hi all I am getting a 424 error (object required) at the line in the code below which opens an ADO recordset: Dim cnn As New ADODB.Connection Dim rs_ReqList As ADODB.Recordset 'temp requests list for filtering rs_Req Dim strSQL As String Set cnn = CurrentProject.Connection Set rs_ReqList = New ADODB.Recordset DoCmd.RunSQL "DELETE FROM tblTemp_AddDelegates" strSQL = "SELECT * from tblTemp_AddDelegates" rsReqList.Open strSQL, cnn, adOpenDynamic, adLockOptimistic, adCmdTable In my experience, a 424 error is usually associated with a missing reference, however my ADO reference is fine and I can open other recordsets. It fails the same way if I pass the table name in instead of using a SQL string. I have identical code running in another database (different table obviously) that works fine, and the fact that the table is empty shouldn't cause a problem... Anyone got any ideas? It looks so simple I can't believe it's not working /em bangs head on table TIA Roz -------------- next part -------------- The contents of this message and any attachments are the property of Donns Solicitors and are intended for the confidential use of the named recipient only. They may be legally privileged and should not be communicated to, or relied upon, by any other party without our written consent. If you are not the addressee, please notify us immediately so that we can make arrangements for its return. You should not show this e-mail to any person or take copies as you may be committing a criminal or civil offence for which you may be liable. The statement and opinions expressed in this e-mail message are those of the writer, and do not necessarily represent that of Donns Solicitors. Although any files attached to this e-mail will have been checked with virus protection software prior to transmission, you should carry out your own virus check before opening any attachment. Donns Solicitors does not accept any liability for any damage or loss which may be caused by software viruses... From cfoust at infostatsystems.com Mon Aug 8 11:50:32 2005 From: cfoust at infostatsystems.com (Charlotte Foust) Date: Mon, 8 Aug 2005 09:50:32 -0700 Subject: [AccessD] ADO - 424 error Message-ID: What happens if you simply execute the DELETE SQL on the connection instead of reverting to DAO to RunSQL? Does that make a difference? I would expect the Open statement to need an adCmdText if you are passing in a SQL string rather than a table name. And is the table local or linked? Charlotte Foust -----Original Message----- From: Roz Clarke [mailto:roz.clarke at donnslaw.co.uk] Sent: Monday, August 08, 2005 9:32 AM To: 'Access Developers discussion and problem solving' Subject: [AccessD] ADO - 424 error Hi all I am getting a 424 error (object required) at the line in the code below which opens an ADO recordset: Dim cnn As New ADODB.Connection Dim rs_ReqList As ADODB.Recordset 'temp requests list for filtering rs_Req Dim strSQL As String Set cnn = CurrentProject.Connection Set rs_ReqList = New ADODB.Recordset DoCmd.RunSQL "DELETE FROM tblTemp_AddDelegates" strSQL = "SELECT * from tblTemp_AddDelegates" rsReqList.Open strSQL, cnn, adOpenDynamic, adLockOptimistic, adCmdTable In my experience, a 424 error is usually associated with a missing reference, however my ADO reference is fine and I can open other recordsets. It fails the same way if I pass the table name in instead of using a SQL string. I have identical code running in another database (different table obviously) that works fine, and the fact that the table is empty shouldn't cause a problem... Anyone got any ideas? It looks so simple I can't believe it's not working /em bangs head on table TIA Roz From Lambert.Heenan at AIG.com Mon Aug 8 11:50:21 2005 From: Lambert.Heenan at AIG.com (Heenan, Lambert) Date: Mon, 8 Aug 2005 12:50:21 -0400 Subject: [AccessD] Fw: ICE - In Case of Emergency Message-ID: <1D7828CDB8350747AFE9D69E0E90DA1F14254EBD@xlivmbx21.aig.com> Re " Fw: ICE - In Case of Emergency " So I watched this thread being discussed for a couple of days. I ignored it for most of the time and then finally gave in to temptation and posted a reply. BAM! Back comes your 'please take it OT' message within a couple of hours. AFAIKS no one else was offered this advice. Should I feel paranoid? Lambert From jwcolby at colbyconsulting.com Mon Aug 8 12:00:06 2005 From: jwcolby at colbyconsulting.com (John W. Colby) Date: Mon, 08 Aug 2005 13:00:06 -0400 Subject: [AccessD] Fw: ICE - In Case of Emergency In-Reply-To: <1D7828CDB8350747AFE9D69E0E90DA1F14254EBD@xlivmbx21.aig.com> Message-ID: <00d601c59c3a$a0bdb2b0$6c7aa8c0@ColbyM6805> >Should I feel paranoid? Yes, we are out to get you. John W. Colby www.ColbyConsulting.com Contribute your unused CPU cycles to a good cause: http://folding.stanford.edu/ -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Heenan, Lambert Sent: Monday, August 08, 2005 12:50 PM To: 'accessd at databaseadvisors.com' Cc: 'ACCESS-L Email (ACCESS-L at PEACH.EASE.LSOFT.COM)' Subject: [AccessD] Fw: ICE - In Case of Emergency Re " Fw: ICE - In Case of Emergency " So I watched this thread being discussed for a couple of days. I ignored it for most of the time and then finally gave in to temptation and posted a reply. BAM! Back comes your 'please take it OT' message within a couple of hours. AFAIKS no one else was offered this advice. Should I feel paranoid? Lambert -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From Gustav at cactus.dk Mon Aug 8 12:01:26 2005 From: Gustav at cactus.dk (Gustav Brock) Date: Mon, 08 Aug 2005 19:01:26 +0200 Subject: [AccessD] ADO - 424 error Message-ID: Hi Roz Try this: rsReqList.Open strSQL, cnn, adOpenKeyset, adLockOptimistic or rsReqList.Open "tblTemp_AddDelegates", cnn, adOpenKeyset, adLockOptimistic, adCmdTable And, as Charlotte suggests, use .Execute ... /gustav >>> roz.clarke at donnslaw.co.uk 08/08 6:31 pm >>> Hi all I am getting a 424 error (object required) at the line in the code below which opens an ADO recordset: Dim cnn As New ADODB.Connection Dim rs_ReqList As ADODB.Recordset 'temp requests list for filtering rs_Req Dim strSQL As String Set cnn = CurrentProject.Connection Set rs_ReqList = New ADODB.Recordset DoCmd.RunSQL "DELETE FROM tblTemp_AddDelegates" strSQL = "SELECT * from tblTemp_AddDelegates" rsReqList.Open strSQL, cnn, adOpenDynamic, adLockOptimistic, adCmdTable In my experience, a 424 error is usually associated with a missing reference, however my ADO reference is fine and I can open other recordsets. It fails the same way if I pass the table name in instead of using a SQL string. I have identical code running in another database (different table obviously) that works fine, and the fact that the table is empty shouldn't cause a problem... Anyone got any ideas? It looks so simple I can't believe it's not working /em bangs head on table TIA Roz From martyconnelly at shaw.ca Mon Aug 8 12:50:45 2005 From: martyconnelly at shaw.ca (MartyConnelly) Date: Mon, 08 Aug 2005 10:50:45 -0700 Subject: FW: [AccessD] Access 2003 Reports Not Working References: Message-ID: <42F79B75.2040800@shaw.ca> One thing I do, if I run into this problem and I have install rights is put up a PDF printer driver Adobe, cutepdf or amyuni. This guarantees there is at least one printer on the machine albeit a virtual one, that prints to a file Nicholson, Karen wrote: > For reference, I found out why Access 2003 was not responding to >anything to do with the world of Printing on my end-user's pc. The >security settings for the default printer were not set up with enough >freedom for the user to do much - she could print from other >applications in the 2003 suite but not Access 2003. WIERD. > > > -- Marty Connelly Victoria, B.C. Canada From martyconnelly at shaw.ca Mon Aug 8 13:01:59 2005 From: martyconnelly at shaw.ca (MartyConnelly) Date: Mon, 08 Aug 2005 11:01:59 -0700 Subject: [AccessD] Security Problem w/existing program References: Message-ID: <42F79E17.4080706@shaw.ca> I wouldn't mind a peek at your shortcut command line, curious if you also have a workgroup file there. or you are using the default system.mdw It could also be that your original shortcut command line was running a .vbs file to start things off like below. You could add code here to determine login id etc. I trust you have sent off the local villagers with pitchforks and torches to hunt down the original program documentor. 'Begin VBScript dim Ws dim s set Ws = CreateObject("Wscript.Shell") s = """d:\program files\microsoft office\office\msaccess""" & _ " " & """f:\access\testarea\test.mdb?""" & " /compact" ws.run s,,-1 s = """d:\program files\microsoft office\office\msaccess""" & _ " " & """f:\access\testarea\test.mdb?""" ws.run s,,0 wscript.quit(0) 'End VBScript John Clark wrote: >We got it working. Somehow the shortcut was changed, and it was missing >"/user" at the end of the command line. Without this, the program just >opened up, but was the same user, with limited rights, for everyone >(this is what I meant by missing...no login). > >Although it is now working, the user has to enter their password, which >was automated before. It used to bring in their Citrix login ID or of >the Windows server it is on. Maybe y'all know how to do this? What is >the syntax, in a shortcut, to drag in a users Windows ID? > >I am glad I asked for help though, because I did learn something. I >hadn't realized that the extensions could be changed. I am going to look >into this a little more, because it may be useful for me. > > > >>>>jimdettman at earthlink.net 8/8/2005 9:29 AM >>> >>>> >>>> >John, > ><disappeared.>> > > Please define "disappeared". What is or is not happening? > ><< I am >now wondering if this is using some add-in that supercedes standard >security procedures.>> > > Access databases can have any extention and still execute (except >for >LDB). It is possible that the developer has implemented their own >security >setup within the app and Access security is not being used. > > I would also ask; Has anything changed recently? Hardware, software, >OS, >setup, etc. > >Jim. > > >-----Original Message----- >From: accessd-bounces at databaseadvisors.com >[mailto:accessd-bounces at databaseadvisors.com]On Behalf Of John Clark >Sent: Monday, August 08, 2005 9:19 AM >To: accessd at databaseadvisors.com >Subject: [AccessD] Security Problem w/existing program > > >Somebody at work came to me w/a problem today. Their program, which >runs >on a Citrix box, is written in AXP, so they figured I could help them. >I >am feeling a little dumb though because I'm not getting anywhere w/it. > >The program is working fine actually, but the security has >disappeared. >Now, I don't have much experience with Access security to begin with, >but I have been able to muddle my through it, in the past. However, >everything I've dealt with in the past seemed to include an MDW file, >but no such animal exists in this environment (did this go away with >XP?). I looked at a backup directory they have and it isn't there >either, which leads me to believe it is not just missing. > >Instead however, there are a bunch of files I have never worked with >(i.e. .MDO, .MOD, .ODB, .MDA, .MOA). I found nothing, in a search, for >.MDO files, but I found out that .MDA files are "Access Add-ins." I am >now wondering if this is using some add-in that supercedes standard >security procedures. When working though, I believe it acts the same >way...they still go into DB security and manipulate workgroups and >users, and their rights. > >Does anyone have any ideas of how I can troubleshoot this? I realize I >may not be giving enough info, but I really don't know what else to >add, >at this point, so just ask if you need it. I am headed back into it >now, >but I'll check back in a bit to see what y'all might have for me. > >Thank you! > >John W Clark >-- >AccessD mailing list >AccessD at databaseadvisors.com >http://databaseadvisors.com/mailman/listinfo/accessd >Website: http://www.databaseadvisors.com > > > > -- Marty Connelly Victoria, B.C. Canada From Lambert.Heenan at AIG.com Mon Aug 8 13:02:57 2005 From: Lambert.Heenan at AIG.com (Heenan, Lambert) Date: Mon, 8 Aug 2005 14:02:57 -0400 Subject: [AccessD] Fw: ICE - In Case of Emergency Message-ID: <1D7828CDB8350747AFE9D69E0E90DA1F14254F0F@xlivmbx21.aig.com> But I though the saying went... 'just because everyone is out to get you it does not mean you are paranoid'? -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of John W. Colby Sent: Monday, August 08, 2005 1:00 PM To: 'Access Developers discussion and problem solving' Subject: RE: [AccessD] Fw: ICE - In Case of Emergency >Should I feel paranoid? Yes, we are out to get you. John W. Colby www.ColbyConsulting.com From jwcolby at colbyconsulting.com Mon Aug 8 13:14:05 2005 From: jwcolby at colbyconsulting.com (John W. Colby) Date: Mon, 08 Aug 2005 14:14:05 -0400 Subject: [AccessD] OT: Spread the word - USA ONLY Message-ID: <00e301c59c44$f9ef35c0$6c7aa8c0@ColbyM6805> https://www.optoutprescreen.com/?rf=t A web site to specifically opt out of credit card and insurance junk mail (USA only). John W. Colby www.ColbyConsulting.com Contribute your unused CPU cycles to a good cause: http://folding.stanford.edu/ From cfoust at infostatsystems.com Mon Aug 8 13:17:13 2005 From: cfoust at infostatsystems.com (Charlotte Foust) Date: Mon, 8 Aug 2005 11:17:13 -0700 Subject: [AccessD] Fw: ICE - In Case of Emergency Message-ID: No, you have that wrong. It's, "Just because you're paranoid it doesn't mean they're not out to get you!" Charlotte Foust -----Original Message----- From: Heenan, Lambert [mailto:Lambert.Heenan at aig.com] Sent: Monday, August 08, 2005 11:03 AM To: 'Access Developers discussion and problem solving' Subject: RE: [AccessD] Fw: ICE - In Case of Emergency But I though the saying went... 'just because everyone is out to get you it does not mean you are paranoid'? -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of John W. Colby Sent: Monday, August 08, 2005 1:00 PM To: 'Access Developers discussion and problem solving' Subject: RE: [AccessD] Fw: ICE - In Case of Emergency >Should I feel paranoid? Yes, we are out to get you. John W. Colby www.ColbyConsulting.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From Lambert.Heenan at AIG.com Mon Aug 8 13:34:14 2005 From: Lambert.Heenan at AIG.com (Heenan, Lambert) Date: Mon, 8 Aug 2005 14:34:14 -0400 Subject: [AccessD] Fw: ICE - In Case of Emergency Message-ID: <1D7828CDB8350747AFE9D69E0E90DA1F14254F31@xlivmbx21.aig.com> Ah yes. I remember now. That way just the way my therapist put it as he was hitting me over the head with a copy of the Access Developer's handbook. :-) -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Charlotte Foust Sent: Monday, August 08, 2005 2:17 PM To: Access Developers discussion and problem solving Subject: RE: [AccessD] Fw: ICE - In Case of Emergency No, you have that wrong. It's, "Just because you're paranoid it doesn't mean they're not out to get you!" Charlotte Foust -----Original Message----- From: Heenan, Lambert [mailto:Lambert.Heenan at aig.com] Sent: Monday, August 08, 2005 11:03 AM To: 'Access Developers discussion and problem solving' Subject: RE: [AccessD] Fw: ICE - In Case of Emergency But I though the saying went... 'just because everyone is out to get you it does not mean you are paranoid'? -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of John W. Colby Sent: Monday, August 08, 2005 1:00 PM To: 'Access Developers discussion and problem solving' Subject: RE: [AccessD] Fw: ICE - In Case of Emergency >Should I feel paranoid? Yes, we are out to get you. 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 andy at minstersystems.co.uk Mon Aug 8 14:15:40 2005 From: andy at minstersystems.co.uk (Andy Lacey) Date: Mon, 8 Aug 2005 20:15:40 +0100 Subject: [AccessD] Fw: ICE - In Case of Emergency In-Reply-To: <1D7828CDB8350747AFE9D69E0E90DA1F14254EBD@xlivmbx21.aig.com> Message-ID: <000001c59c4d$90e1d020$901b0c54@minster33c3r25> Hi Lambert The request to take it to OT was to the thread not to you personally. I just replied, as normally, to the last message on the thread. That just happened to be yours. So I'm sorry if you were upset/offended/taken aback or whatever but there was absolutely nothing aimed specifically at you. I was in fact responding to a direct request to the moderators to intervene, cos, for better or worse, that's our 'job'. Cheers -- Andy Lacey http://www.minstersystems.co.uk > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of > Heenan, Lambert > Sent: 08 August 2005 17:50 > To: 'accessd at databaseadvisors.com' > Cc: 'ACCESS-L Email (ACCESS-L at PEACH.EASE.LSOFT.COM)' > Subject: [AccessD] Fw: ICE - In Case of Emergency > > > Re " > Fw: ICE - In Case of Emergency " So I watched this thread being discussed for a couple of days. I ignored it for most of the time and then finally gave in to temptation and posted a reply. BAM! Back comes your 'please take it OT' message within a couple of hours. AFAIKS no one else was offered this advice. Should I feel paranoid? Lambert -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From artful at rogers.com Mon Aug 8 17:17:16 2005 From: artful at rogers.com (Arthur Fuller) Date: Mon, 8 Aug 2005 18:17:16 -0400 Subject: [AccessD] Clear Debug Window Programmatically In-Reply-To: <000001c59c4d$90e1d020$901b0c54@minster33c3r25> Message-ID: <200508082217.j78MHLR02524@databaseadvisors.com> Is there a way to clear the debug window programmatically? TIA, Arthur From dw-murphy at cox.net Mon Aug 8 18:06:37 2005 From: dw-murphy at cox.net (Doug Murphy) Date: Mon, 8 Aug 2005 16:06:37 -0700 Subject: [AccessD] Adding pdf creation capabilities to distributed runtimes. In-Reply-To: <200508082217.j78MHLR02524@databaseadvisors.com> Message-ID: <000d01c59c6d$d438aea0$0200a8c0@murphyf3vdfepi> Folks, I know there has been a lot of discussion about the various pdf print drivers that can be integrated with Access to output reports in pdf format. I am interested in what any of you has experienced with using the CutePDF SDK with an Access runtime. We distribute a product as a runtime. The installation is built with Wise using the Sagekey scripts for Access 2002. We have had good luck with this so far, but I would like to add a print to pdf capability to the product. The CutePDF SDK with unlimited distribution as part of a product is interesting since the price is about one fifth of other, similar products. Do any of you know of shortcomings or problems with using this product with runtime applications? Thanks in advance for sharing your experiences. Doug From cfoust at infostatsystems.com Mon Aug 8 19:53:42 2005 From: cfoust at infostatsystems.com (Charlotte Foust) Date: Mon, 8 Aug 2005 17:53:42 -0700 Subject: [AccessD] Clear Debug Window Programmatically Message-ID: I seem to remember someone coming up with a method, but I can't remember where! :-< It would probably require a reference to the extensibility library. Charlotte Foust -----Original Message----- From: Arthur Fuller [mailto:artful at rogers.com] Sent: Monday, August 08, 2005 3:17 PM To: 'Access Developers discussion and problem solving' Subject: [AccessD] Clear Debug Window Programmatically Is there a way to clear the debug window programmatically? TIA, Arthur -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From dejpolsys at hotmail.com Mon Aug 8 20:01:25 2005 From: dejpolsys at hotmail.com (William Hindman) Date: Mon, 8 Aug 2005 21:01:25 -0400 Subject: [AccessD] OT: Spread the word - USA ONLY References: <00e301c59c44$f9ef35c0$6c7aa8c0@ColbyM6805> Message-ID: ..but ...wouldn't this threaten the Post Office's profits? ...not very patriotic of you JC :) William ----- Original Message ----- From: "John W. Colby" To: "'Access Developers discussion and problem solving'" Sent: Monday, August 08, 2005 2:14 PM Subject: [AccessD] OT: Spread the word - USA ONLY > https://www.optoutprescreen.com/?rf=t > > A web site to specifically opt out of credit card and insurance junk mail > (USA only). > > John W. Colby > www.ColbyConsulting.com > > Contribute your unused CPU cycles to a good cause: > http://folding.stanford.edu/ > > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > From jwcolby at colbyconsulting.com Mon Aug 8 20:26:19 2005 From: jwcolby at colbyconsulting.com (John W. Colby) Date: Mon, 08 Aug 2005 21:26:19 -0400 Subject: [AccessD] OT: Spread the word - USA ONLY In-Reply-To: Message-ID: <000301c59c81$5b707ca0$6c7aa8c0@ColbyM6805> LOL, I have been called worse! John W. Colby www.ColbyConsulting.com Contribute your unused CPU cycles to a good cause: http://folding.stanford.edu/ -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of William Hindman Sent: Monday, August 08, 2005 9:01 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] OT: Spread the word - USA ONLY ..but ...wouldn't this threaten the Post Office's profits? ...not very patriotic of you JC :) William ----- Original Message ----- From: "John W. Colby" To: "'Access Developers discussion and problem solving'" Sent: Monday, August 08, 2005 2:14 PM Subject: [AccessD] OT: Spread the word - USA ONLY > https://www.optoutprescreen.com/?rf=t > > A web site to specifically opt out of credit card and insurance junk > mail (USA only). > > John W. Colby > www.ColbyConsulting.com > > Contribute your unused CPU cycles to a good cause: > http://folding.stanford.edu/ > > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From paul.hartland at isharp.co.uk Tue Aug 9 01:53:54 2005 From: paul.hartland at isharp.co.uk (Paul Hartland (ISHARP)) Date: Tue, 9 Aug 2005 07:53:54 +0100 Subject: [AccessD] ADO - 424 error In-Reply-To: Message-ID: Should there be an _ in the rs variable Dim rs_ReqList As ADODB.Recordset 'temp requests list for filtering rs_Req rsReqList.Open strSQL, cnn, adOpenDynamic, adLockOptimistic, adCmdTable -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Gustav Brock Sent: 08 August 2005 18:01 To: accessd at databaseadvisors.com Subject: Re: [AccessD] ADO - 424 error Hi Roz Try this: rsReqList.Open strSQL, cnn, adOpenKeyset, adLockOptimistic or rsReqList.Open "tblTemp_AddDelegates", cnn, adOpenKeyset, adLockOptimistic, adCmdTable And, as Charlotte suggests, use .Execute ... /gustav >>> roz.clarke at donnslaw.co.uk 08/08 6:31 pm >>> Hi all I am getting a 424 error (object required) at the line in the code below which opens an ADO recordset: Dim cnn As New ADODB.Connection Dim rs_ReqList As ADODB.Recordset 'temp requests list for filtering rs_Req Dim strSQL As String Set cnn = CurrentProject.Connection Set rs_ReqList = New ADODB.Recordset DoCmd.RunSQL "DELETE FROM tblTemp_AddDelegates" strSQL = "SELECT * from tblTemp_AddDelegates" rsReqList.Open strSQL, cnn, adOpenDynamic, adLockOptimistic, adCmdTable In my experience, a 424 error is usually associated with a missing reference, however my ADO reference is fine and I can open other recordsets. It fails the same way if I pass the table name in instead of using a SQL string. I have identical code running in another database (different table obviously) that works fine, and the fact that the table is empty shouldn't cause a problem... Anyone got any ideas? It looks so simple I can't believe it's not working /em bangs head on table TIA Roz -- 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 Tue Aug 9 03:00:39 2005 From: roz.clarke at donnslaw.co.uk (Roz Clarke) Date: Tue, 9 Aug 2005 09:00:39 +0100 Subject: [AccessD] ADO - 424 error Message-ID: <61F915314798D311A2F800A0C9C8318807225E50@dibble.observatory.donnslaw.co.uk> Thanks for answering. Urr... I'm not sure how to execute the SQL on the connection. The cmdTable was left over from when I was passing it the table name, well spotted, it didn't work either way though. The table is local. -----Original Message----- From: Charlotte Foust [mailto:cfoust at infostatsystems.com] Sent: 08 August 2005 17:51 To: Access Developers discussion and problem solving Subject: RE: [AccessD] ADO - 424 error What happens if you simply execute the DELETE SQL on the connection instead of reverting to DAO to RunSQL? Does that make a difference? I would expect the Open statement to need an adCmdText if you are passing in a SQL string rather than a table name. And is the table local or linked? Charlotte Foust -----Original Message----- From: Roz Clarke [mailto:roz.clarke at donnslaw.co.uk] Sent: Monday, August 08, 2005 9:32 AM To: 'Access Developers discussion and problem solving' Subject: [AccessD] ADO - 424 error Hi all I am getting a 424 error (object required) at the line in the code below which opens an ADO recordset: Dim cnn As New ADODB.Connection Dim rs_ReqList As ADODB.Recordset 'temp requests list for filtering rs_Req Dim strSQL As String Set cnn = CurrentProject.Connection Set rs_ReqList = New ADODB.Recordset DoCmd.RunSQL "DELETE FROM tblTemp_AddDelegates" strSQL = "SELECT * from tblTemp_AddDelegates" rsReqList.Open strSQL, cnn, adOpenDynamic, adLockOptimistic, adCmdTable In my experience, a 424 error is usually associated with a missing reference, however my ADO reference is fine and I can open other recordsets. It fails the same way if I pass the table name in instead of using a SQL string. I have identical code running in another database (different table obviously) that works fine, and the fact that the table is empty shouldn't cause a problem... Anyone got any ideas? It looks so simple I can't believe it's not working /em bangs head on table TIA Roz -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -------------- next part -------------- The contents of this message and any attachments are the property of Donns Solicitors and are intended for the confidential use of the named recipient only. They may be legally privileged and should not be communicated to, or relied upon, by any other party without our written consent. If you are not the addressee, please notify us immediately so that we can make arrangements for its return. You should not show this e-mail to any person or take copies as you may be committing a criminal or civil offence for which you may be liable. The statement and opinions expressed in this e-mail message are those of the writer, and do not necessarily represent that of Donns Solicitors. Although any files attached to this e-mail will have been checked with virus protection software prior to transmission, you should carry out your own virus check before opening any attachment. Donns Solicitors does not accept any liability for any damage or loss which may be caused by software viruses... From roz.clarke at donnslaw.co.uk Tue Aug 9 03:18:40 2005 From: roz.clarke at donnslaw.co.uk (Roz Clarke) Date: Tue, 9 Aug 2005 09:18:40 +0100 Subject: [AccessD] ADO - 424 error Message-ID: <61F915314798D311A2F800A0C9C8318807225E51@dibble.observatory.donnslaw.co.uk> You star I knew it had to be something simple :/ I will blame my stupidity on the flu - thank you, and thanks to Charlotte and Gustav for your attempts to help also. Roz -----Original Message----- From: Paul Hartland (ISHARP) [mailto:paul.hartland at isharp.co.uk] Sent: 09 August 2005 07:54 To: 'Access Developers discussion and problem solving' Subject: RE: [AccessD] ADO - 424 error Should there be an _ in the rs variable Dim rs_ReqList As ADODB.Recordset 'temp requests list for filtering rs_Req rsReqList.Open strSQL, cnn, adOpenDynamic, adLockOptimistic, adCmdTable -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Gustav Brock Sent: 08 August 2005 18:01 To: accessd at databaseadvisors.com Subject: Re: [AccessD] ADO - 424 error Hi Roz Try this: rsReqList.Open strSQL, cnn, adOpenKeyset, adLockOptimistic or rsReqList.Open "tblTemp_AddDelegates", cnn, adOpenKeyset, adLockOptimistic, adCmdTable And, as Charlotte suggests, use .Execute ... /gustav >>> roz.clarke at donnslaw.co.uk 08/08 6:31 pm >>> Hi all I am getting a 424 error (object required) at the line in the code below which opens an ADO recordset: Dim cnn As New ADODB.Connection Dim rs_ReqList As ADODB.Recordset 'temp requests list for filtering rs_Req Dim strSQL As String Set cnn = CurrentProject.Connection Set rs_ReqList = New ADODB.Recordset DoCmd.RunSQL "DELETE FROM tblTemp_AddDelegates" strSQL = "SELECT * from tblTemp_AddDelegates" rsReqList.Open strSQL, cnn, adOpenDynamic, adLockOptimistic, adCmdTable In my experience, a 424 error is usually associated with a missing reference, however my ADO reference is fine and I can open other recordsets. It fails the same way if I pass the table name in instead of using a SQL string. I have identical code running in another database (different table obviously) that works fine, and the fact that the table is empty shouldn't cause a problem... Anyone got any ideas? It looks so simple I can't believe it's not working /em bangs head on table TIA Roz -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/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 -------------- The contents of this message and any attachments are the property of Donns Solicitors and are intended for the confidential use of the named recipient only. They may be legally privileged and should not be communicated to, or relied upon, by any other party without our written consent. If you are not the addressee, please notify us immediately so that we can make arrangements for its return. You should not show this e-mail to any person or take copies as you may be committing a criminal or civil offence for which you may be liable. The statement and opinions expressed in this e-mail message are those of the writer, and do not necessarily represent that of Donns Solicitors. Although any files attached to this e-mail will have been checked with virus protection software prior to transmission, you should carry out your own virus check before opening any attachment. Donns Solicitors does not accept any liability for any damage or loss which may be caused by software viruses... From roz.clarke at donnslaw.co.uk Tue Aug 9 03:36:29 2005 From: roz.clarke at donnslaw.co.uk (Roz Clarke) Date: Tue, 9 Aug 2005 09:36:29 +0100 Subject: [AccessD] Discard changes in a query Message-ID: <61F915314798D311A2F800A0C9C8318807225E52@dibble.observatory.donnslaw.co.uk> Another stupid question from me... I have just taken over working on a databae app, nothing scary, just a training records database. In this database, unlike any other I am currently using, I do not get the option to discard an unsaved query. I have to save it with a name and then delete it. How can I set it so it just throws it away, like my other databases do? TIA Roz -------------- next part -------------- The contents of this message and any attachments are the property of Donns Solicitors and are intended for the confidential use of the named recipient only. They may be legally privileged and should not be communicated to, or relied upon, by any other party without our written consent. If you are not the addressee, please notify us immediately so that we can make arrangements for its return. You should not show this e-mail to any person or take copies as you may be committing a criminal or civil offence for which you may be liable. The statement and opinions expressed in this e-mail message are those of the writer, and do not necessarily represent that of Donns Solicitors. Although any files attached to this e-mail will have been checked with virus protection software prior to transmission, you should carry out your own virus check before opening any attachment. Donns Solicitors does not accept any liability for any damage or loss which may be caused by software viruses... From Gustav at cactus.dk Tue Aug 9 03:59:18 2005 From: Gustav at cactus.dk (Gustav Brock) Date: Tue, 09 Aug 2005 10:59:18 +0200 Subject: [AccessD] ADO - 424 error Message-ID: Hi Paul and Roz Nice catch Paul. And Roz, you know how to prevent this kind of errors, right? /gustav >>> roz.clarke at donnslaw.co.uk 08/09 10:18 am >>> You star I knew it had to be something simple :/ I will blame my stupidity on the flu - thank you, and thanks to Charlotte and Gustav for your attempts to help also. Roz -----Original Message----- From: Paul Hartland (ISHARP) [mailto:paul.hartland at isharp.co.uk] Sent: 09 August 2005 07:54 To: 'Access Developers discussion and problem solving' Subject: RE: [AccessD] ADO - 424 error Should there be an _ in the rs variable From roz.clarke at donnslaw.co.uk Tue Aug 9 04:15:10 2005 From: roz.clarke at donnslaw.co.uk (Roz Clarke) Date: Tue, 9 Aug 2005 10:15:10 +0100 Subject: [AccessD] ADO - 424 error Message-ID: <61F915314798D311A2F800A0C9C8318807225E54@dibble.observatory.donnslaw.co.uk> yeh yeh, Option Explicit /em sheepish grin I'm just tweaking someone else's application and I guess I've gone in with both eyes closed. -----Original Message----- From: Gustav Brock [mailto:Gustav at cactus.dk] Sent: 09 August 2005 09:59 To: accessd at databaseadvisors.com Subject: RE: [AccessD] ADO - 424 error Hi Paul and Roz Nice catch Paul. And Roz, you know how to prevent this kind of errors, right? /gustav >>> roz.clarke at donnslaw.co.uk 08/09 10:18 am >>> You star I knew it had to be something simple :/ I will blame my stupidity on the flu - thank you, and thanks to Charlotte and Gustav for your attempts to help also. Roz -----Original Message----- From: Paul Hartland (ISHARP) [mailto:paul.hartland at isharp.co.uk] Sent: 09 August 2005 07:54 To: 'Access Developers discussion and problem solving' Subject: RE: [AccessD] ADO - 424 error Should there be an _ in the rs variable -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -------------- next part -------------- The contents of this message and any attachments are the property of Donns Solicitors and are intended for the confidential use of the named recipient only. They may be legally privileged and should not be communicated to, or relied upon, by any other party without our written consent. If you are not the addressee, please notify us immediately so that we can make arrangements for its return. You should not show this e-mail to any person or take copies as you may be committing a criminal or civil offence for which you may be liable. The statement and opinions expressed in this e-mail message are those of the writer, and do not necessarily represent that of Donns Solicitors. Although any files attached to this e-mail will have been checked with virus protection software prior to transmission, you should carry out your own virus check before opening any attachment. Donns Solicitors does not accept any liability for any damage or loss which may be caused by software viruses... From andy at minstersystems.co.uk Tue Aug 9 04:15:32 2005 From: andy at minstersystems.co.uk (Andy Lacey) Date: Tue, 9 Aug 2005 10:15:32 +0100 Subject: [AccessD] Discard changes in a query Message-ID: <20050809091530.99B7C250282@smtp.nildram.co.uk> Hi Roz It sounds like DoCmd.SetWarnings has been left False. Just execute a DoCmd.SetWarnings True in the Immediate window and see if that cures it. If it does, and the problem cmes back, then some code somewhere is setting it False and not back to True again. -- Andy Lacey http://www.minstersystems.co.uk --------- Original Message -------- From: "Access Developers discussion and problem solving" To: "'Access Developers discussion and problem solving'" Subject: [AccessD] Discard changes in a query Date: 09/08/05 08:36 Another stupid question from me... I have just taken over working on a databae app, nothing scary, just a training records database. In this database, unlike any other I am currently using, I do not get the option to discard an unsaved query. I have to save it with a name and then delete it. How can I set it so it just throws it away, like my other databases do? TIA Roz The contents of this message and any attachments are the property of Donns Solicitors and are intended for the confidential use of the named recipient only. They may be legally privileged and should not be communicated to, or relied upon, by any other party without our written consent. If you are not the addressee, please notify us immediately so that we can make arrangements for its return. You should not show this e-mail to any person or take copies as you may be committing a criminal or civil offence for which you may be liable. The statement and opinions expressed in this e-mail message are those of the writer, and do not necessarily represent that of Donns Solicitors. Although any files attached to this e-mail will have been checked with virus protection software prior to transmission, you should carry out your own virus check before opening any attachment. Donns Solicitors does not accept any liability for any damage or loss which may be caused by software viruses... -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com ________________________________________________ Message sent using UebiMiau 2.7.2 From roz.clarke at donnslaw.co.uk Tue Aug 9 04:20:56 2005 From: roz.clarke at donnslaw.co.uk (Roz Clarke) Date: Tue, 9 Aug 2005 10:20:56 +0100 Subject: [AccessD] Discard changes in a query Message-ID: <61F915314798D311A2F800A0C9C8318807225E55@dibble.observatory.donnslaw.co.uk> Cheers Andy Remind me never to take over someone else's work, I keep falling over these weird little issues :/ -----Original Message----- From: Andy Lacey [mailto:andy at minstersystems.co.uk] Sent: 09 August 2005 10:16 To: Access Developers discussion and problem solving Subject: Re: [AccessD] Discard changes in a query Hi Roz It sounds like DoCmd.SetWarnings has been left False. Just execute a DoCmd.SetWarnings True in the Immediate window and see if that cures it. If it does, and the problem cmes back, then some code somewhere is setting it False and not back to True again. -- Andy Lacey http://www.minstersystems.co.uk --------- Original Message -------- From: "Access Developers discussion and problem solving" To: "'Access Developers discussion and problem solving'" Subject: [AccessD] Discard changes in a query Date: 09/08/05 08:36 Another stupid question from me... I have just taken over working on a databae app, nothing scary, just a training records database. In this database, unlike any other I am currently using, I do not get the option to discard an unsaved query. I have to save it with a name and then delete it. How can I set it so it just throws it away, like my other databases do? TIA Roz The contents of this message and any attachments are the property of Donns Solicitors and are intended for the confidential use of the named recipient only. They may be legally privileged and should not be communicated to, or relied upon, by any other party without our written consent. If you are not the addressee, please notify us immediately so that we can make arrangements for its return. You should not show this e-mail to any person or take copies as you may be committing a criminal or civil offence for which you may be liable. The statement and opinions expressed in this e-mail message are those of the writer, and do not necessarily represent that of Donns Solicitors. Although any files attached to this e-mail will have been checked with virus protection software prior to transmission, you should carry out your own virus check before opening any attachment. Donns Solicitors does not accept any liability for any damage or loss which may be caused by software viruses... -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com ________________________________________________ Message sent using UebiMiau 2.7.2 -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -------------- next part -------------- The contents of this message and any attachments are the property of Donns Solicitors and are intended for the confidential use of the named recipient only. They may be legally privileged and should not be communicated to, or relied upon, by any other party without our written consent. If you are not the addressee, please notify us immediately so that we can make arrangements for its return. You should not show this e-mail to any person or take copies as you may be committing a criminal or civil offence for which you may be liable. The statement and opinions expressed in this e-mail message are those of the writer, and do not necessarily represent that of Donns Solicitors. Although any files attached to this e-mail will have been checked with virus protection software prior to transmission, you should carry out your own virus check before opening any attachment. Donns Solicitors does not accept any liability for any damage or loss which may be caused by software viruses... From jimdettman at earthlink.net Tue Aug 9 06:09:57 2005 From: jimdettman at earthlink.net (Jim Dettman) Date: Tue, 9 Aug 2005 07:09:57 -0400 Subject: [AccessD] Clear Debug Window Programmatically In-Reply-To: <200508082217.j78MHLR02524@databaseadvisors.com> Message-ID: Arthur, 1. Write a autokey marco to do: Ctrl/G Crtl/A {del} 2. Write a autokey macro to do: Ctrl/G Ctrl+Home Shift+Ctrl+End {del} 3. Call a procedure: Sub ClearImmediateWindow() 'Make sure that the Immediate window is visible Application.VBE.Windows("Immediate").Visible = True 'Activate the Immediate window Application.VBE.Windows("Immediate").SetFocus 'Send keystrokes to clear the Immediate window SendKeys "^{HOME}^+{END}{DEL}" End Sub Jim. -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Arthur Fuller Sent: Monday, August 08, 2005 6:17 PM To: 'Access Developers discussion and problem solving' Subject: [AccessD] Clear Debug Window Programmatically Is there a way to clear the debug window programmatically? TIA, Arthur -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From Lambert.Heenan at AIG.com Tue Aug 9 08:12:43 2005 From: Lambert.Heenan at AIG.com (Heenan, Lambert) Date: Tue, 9 Aug 2005 09:12:43 -0400 Subject: [AccessD] Clear Debug Window Programmatically Message-ID: <1D7828CDB8350747AFE9D69E0E90DA1F1425506B@xlivmbx21.aig.com> Or... Sub clearDebug() Dim n As Long For n = 1 To 200 Debug.Print Next End Sub It works a treat, in the blink of an eye - because the Immediate window only every displays 199 lines, max. No need for the dreaded SendKeys either. Lambert -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Jim Dettman Sent: Tuesday, August 09, 2005 7:10 AM To: Access Developers discussion and problem solving Subject: RE: [AccessD] Clear Debug Window Programmatically Arthur, 1. Write a autokey marco to do: Ctrl/G Crtl/A {del} 2. Write a autokey macro to do: Ctrl/G Ctrl+Home Shift+Ctrl+End {del} 3. Call a procedure: Sub ClearImmediateWindow() 'Make sure that the Immediate window is visible Application.VBE.Windows("Immediate").Visible = True 'Activate the Immediate window Application.VBE.Windows("Immediate").SetFocus 'Send keystrokes to clear the Immediate window SendKeys "^{HOME}^+{END}{DEL}" End Sub Jim. -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Arthur Fuller Sent: Monday, August 08, 2005 6:17 PM To: 'Access Developers discussion and problem solving' Subject: [AccessD] Clear Debug Window Programmatically Is there a way to clear the debug window programmatically? TIA, Arthur -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From jimdettman at earthlink.net Tue Aug 9 08:29:59 2005 From: jimdettman at earthlink.net (Jim Dettman) Date: Tue, 9 Aug 2005 09:29:59 -0400 Subject: [AccessD] Clear Debug Window Programmatically In-Reply-To: <1D7828CDB8350747AFE9D69E0E90DA1F1425506B@xlivmbx21.aig.com> Message-ID: Lambert, Yes, that would work too, but if the size of the debug window ever changed it would fail. The other methods would not. Moot point I know as it probably never will change That method too would work in all cases where the first method I gave would fail on some international versions (the second method always works though). Jim. -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Heenan, Lambert Sent: Tuesday, August 09, 2005 9:13 AM To: 'Access Developers discussion and problem solving' Subject: RE: [AccessD] Clear Debug Window Programmatically Or... Sub clearDebug() Dim n As Long For n = 1 To 200 Debug.Print Next End Sub It works a treat, in the blink of an eye - because the Immediate window only every displays 199 lines, max. No need for the dreaded SendKeys either. Lambert -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Jim Dettman Sent: Tuesday, August 09, 2005 7:10 AM To: Access Developers discussion and problem solving Subject: RE: [AccessD] Clear Debug Window Programmatically Arthur, 1. Write a autokey marco to do: Ctrl/G Crtl/A {del} 2. Write a autokey macro to do: Ctrl/G Ctrl+Home Shift+Ctrl+End {del} 3. Call a procedure: Sub ClearImmediateWindow() 'Make sure that the Immediate window is visible Application.VBE.Windows("Immediate").Visible = True 'Activate the Immediate window Application.VBE.Windows("Immediate").SetFocus 'Send keystrokes to clear the Immediate window SendKeys "^{HOME}^+{END}{DEL}" End Sub Jim. -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Arthur Fuller Sent: Monday, August 08, 2005 6:17 PM To: 'Access Developers discussion and problem solving' Subject: [AccessD] Clear Debug Window Programmatically Is there a way to clear the debug window programmatically? TIA, Arthur -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From Lambert.Heenan at AIG.com Tue Aug 9 08:38:59 2005 From: Lambert.Heenan at AIG.com (Heenan, Lambert) Date: Tue, 9 Aug 2005 09:38:59 -0400 Subject: [AccessD] Clear Debug Window Programmatically Message-ID: <1D7828CDB8350747AFE9D69E0E90DA1F1425508A@xlivmbx21.aig.com> Totally agree Jim. My only addition to the discussion would be that I doubt if a routine to clear the debug window is going to be "mission critical" for an application. It sounds like a developers wish-list item. Lambert -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Jim Dettman Sent: Tuesday, August 09, 2005 9:30 AM To: Access Developers discussion and problem solving Subject: RE: [AccessD] Clear Debug Window Programmatically Lambert, Yes, that would work too, but if the size of the debug window ever changed it would fail. The other methods would not. Moot point I know as it probably never will change That method too would work in all cases where the first method I gave would fail on some international versions (the second method always works though). Jim. -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Heenan, Lambert Sent: Tuesday, August 09, 2005 9:13 AM To: 'Access Developers discussion and problem solving' Subject: RE: [AccessD] Clear Debug Window Programmatically Or... Sub clearDebug() Dim n As Long For n = 1 To 200 Debug.Print Next End Sub It works a treat, in the blink of an eye - because the Immediate window only every displays 199 lines, max. No need for the dreaded SendKeys either. Lambert -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Jim Dettman Sent: Tuesday, August 09, 2005 7:10 AM To: Access Developers discussion and problem solving Subject: RE: [AccessD] Clear Debug Window Programmatically Arthur, 1. Write a autokey marco to do: Ctrl/G Crtl/A {del} 2. Write a autokey macro to do: Ctrl/G Ctrl+Home Shift+Ctrl+End {del} 3. Call a procedure: Sub ClearImmediateWindow() 'Make sure that the Immediate window is visible Application.VBE.Windows("Immediate").Visible = True 'Activate the Immediate window Application.VBE.Windows("Immediate").SetFocus 'Send keystrokes to clear the Immediate window SendKeys "^{HOME}^+{END}{DEL}" End Sub Jim. -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Arthur Fuller Sent: Monday, August 08, 2005 6:17 PM To: 'Access Developers discussion and problem solving' Subject: [AccessD] Clear Debug Window Programmatically Is there a way to clear the debug window programmatically? TIA, Arthur -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- 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 Aug 9 08:44:24 2005 From: Jim.Hale at FleetPride.com (Hale, Jim) Date: Tue, 9 Aug 2005 08:44:24 -0500 Subject: [AccessD] Adding pdf creation capabilities to distributed run times. Message-ID: <6A6AA9DF57E4F046BDA1E273BDDB6772337762@corp-es01.fleetpride.com> If you have a need to switch from portrait to landscape within a document test this out to see if it works with your chosen writer. I have had problems with this in the past with various pdf writers. Jim -----Original Message----- From: Doug Murphy [mailto:dw-murphy at cox.net] Sent: Monday, August 08, 2005 6:07 PM To: 'Access Developers discussion and problem solving' Subject: [AccessD] Adding pdf creation capabilities to distributed runtimes. Folks, I know there has been a lot of discussion about the various pdf print drivers that can be integrated with Access to output reports in pdf format. I am interested in what any of you has experienced with using the CutePDF SDK with an Access runtime. We distribute a product as a runtime. The installation is built with Wise using the Sagekey scripts for Access 2002. We have had good luck with this so far, but I would like to add a print to pdf capability to the product. The CutePDF SDK with unlimited distribution as part of a product is interesting since the price is about one fifth of other, similar products. Do any of you know of shortcomings or problems with using this product with runtime applications? Thanks in advance for sharing your experiences. Doug -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com *********************************************************************** The information transmitted is intended solely for the individual or entity to which it is addressed and may contain confidential and/or privileged material. Any review, retransmission, dissemination or other use of or taking action in reliance upon this information by persons or entities other than the intended recipient is prohibited. If you have received this email in error please contact the sender and delete the material from any computer. As a recipient of this email, you are responsible for screening its contents and the contents of any attachments for the presence of viruses. No liability is accepted for any damages caused by any virus transmitted by this email. From paul.hartland at fsmail.net Tue Aug 9 08:47:36 2005 From: paul.hartland at fsmail.net (paul.hartland at fsmail.net) Date: Tue, 9 Aug 2005 15:47:36 +0200 (CEST) Subject: [AccessD] Slightly OT - Reports Slow To Open VB6 SQL Server Message-ID: <10480907.1123595256090.JavaMail.www@wwinf3203> To all, I have a VB application that over the last two days the majority of users have encountered dramatic page file size increases when opening a report, I use the same application and mine hardly moves.... Has anyone come across a similar problem to this, in the past and got any possible solutions... Many thanks in advance for any help on this Paul Hartland From prosoft6 at hotmail.com Tue Aug 9 10:04:37 2005 From: prosoft6 at hotmail.com (Julie Reardon-Taylor) Date: Tue, 09 Aug 2005 11:04:37 -0400 Subject: [AccessD] Adding pdf creation capabilities to distributed runtimes. In-Reply-To: <000d01c59c6d$d438aea0$0200a8c0@murphyf3vdfepi> Message-ID: We used deskpdf25. I'll send the link if you are interested. Julie Reardon-Taylor PRO-SOFT OF NY, INC. 44 Public Square Suite #5 Watertown, NY 13601 Phone/Fax: (315) 785-0319 www.pro-soft.net From cfoust at infostatsystems.com Tue Aug 9 10:38:58 2005 From: cfoust at infostatsystems.com (Charlotte Foust) Date: Tue, 9 Aug 2005 08:38:58 -0700 Subject: [AccessD] Clear Debug Window Programmatically Message-ID: On further thought, what's wrong with right-clicking the immediate window and selecting Clear? Charlotte Foust -----Original Message----- From: Arthur Fuller [mailto:artful at rogers.com] Sent: Monday, August 08, 2005 3:17 PM To: 'Access Developers discussion and problem solving' Subject: [AccessD] Clear Debug Window Programmatically Is there a way to clear the debug window programmatically? TIA, Arthur -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From tom.bolton at donnslaw.co.uk Tue Aug 9 10:44:31 2005 From: tom.bolton at donnslaw.co.uk (Tom Bolton) Date: Tue, 9 Aug 2005 16:44:31 +0100 Subject: [AccessD] Clear Debug Window Programmatically Message-ID: <61F915314798D311A2F800A0C9C831880802A2B7@dibble.observatory.donnslaw.co.uk> Absolutely nothing, now I know I can!! Brilliant. The things you learn :-) Tom -----Original Message----- From: Charlotte Foust [mailto:cfoust at infostatsystems.com] Sent: 09-Aug-2005 16:39 To: Access Developers discussion and problem solving Subject: RE: [AccessD] Clear Debug Window Programmatically On further thought, what's wrong with right-clicking the immediate window and selecting Clear? Charlotte Foust -----Original Message----- From: Arthur Fuller [mailto:artful at rogers.com] Sent: Monday, August 08, 2005 3:17 PM To: 'Access Developers discussion and problem solving' Subject: [AccessD] Clear Debug Window Programmatically Is there a way to clear the debug window programmatically? TIA, Arthur -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -------------- next part -------------- The contents of this message and any attachments are the property of Donns Solicitors and are intended for the confidential use of the named recipient only. They may be legally privileged and should not be communicated to, or relied upon, by any other party without our written consent. If you are not the addressee, please notify us immediately so that we can make arrangements for its return. You should not show this e-mail to any person or take copies as you may be committing a criminal or civil offence for which you may be liable. The statement and opinions expressed in this e-mail message are those of the writer, and do not necessarily represent that of Donns Solicitors. Although any files attached to this e-mail will have been checked with virus protection software prior to transmission, you should carry out your own virus check before opening any attachment. Donns Solicitors does not accept any liability for any damage or loss which may be caused by software viruses... From Jdemarco at hudsonhealthplan.org Tue Aug 9 10:48:19 2005 From: Jdemarco at hudsonhealthplan.org (Jim DeMarco) Date: Tue, 9 Aug 2005 11:48:19 -0400 Subject: [AccessD] Clear Debug Window Programmatically Message-ID: <08F823FD83787D4BA0B99CA580AD3C74016C3C68@TTNEXCHCL2.hshhp.com> Could be a problem if you're using A97 though!! Jim DeMarco -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Tom Bolton Sent: Tuesday, August 09, 2005 11:45 AM To: 'Access Developers discussion and problem solving' Subject: RE: [AccessD] Clear Debug Window Programmatically Absolutely nothing, now I know I can!! Brilliant. The things you learn :-) Tom -----Original Message----- From: Charlotte Foust [mailto:cfoust at infostatsystems.com] Sent: 09-Aug-2005 16:39 To: Access Developers discussion and problem solving Subject: RE: [AccessD] Clear Debug Window Programmatically On further thought, what's wrong with right-clicking the immediate window and selecting Clear? Charlotte Foust -----Original Message----- From: Arthur Fuller [mailto:artful at rogers.com] Sent: Monday, August 08, 2005 3:17 PM To: 'Access Developers discussion and problem solving' Subject: [AccessD] Clear Debug Window Programmatically Is there a way to clear the debug window programmatically? TIA, Arthur -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com *********************************************************************************** "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 jwcolby at colbyconsulting.com Tue Aug 9 10:51:25 2005 From: jwcolby at colbyconsulting.com (John W. Colby) Date: Tue, 09 Aug 2005 11:51:25 -0400 Subject: [AccessD] Clear Debug Window Programmatically In-Reply-To: <61F915314798D311A2F800A0C9C831880802A2B7@dibble.observatory.donnslaw.co.uk> Message-ID: <005c01c59cfa$360743d0$6c7aa8c0@ColbyM6805> LOL. the things we've never tried before. I must say I never did that either. Thanks Charlotte. John W. Colby www.ColbyConsulting.com Contribute your unused CPU cycles to a good cause: http://folding.stanford.edu/ -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Tom Bolton Sent: Tuesday, August 09, 2005 11:45 AM To: 'Access Developers discussion and problem solving' Subject: RE: [AccessD] Clear Debug Window Programmatically Absolutely nothing, now I know I can!! Brilliant. The things you learn :-) Tom -----Original Message----- From: Charlotte Foust [mailto:cfoust at infostatsystems.com] Sent: 09-Aug-2005 16:39 To: Access Developers discussion and problem solving Subject: RE: [AccessD] Clear Debug Window Programmatically On further thought, what's wrong with right-clicking the immediate window and selecting Clear? Charlotte Foust -----Original Message----- From: Arthur Fuller [mailto:artful at rogers.com] Sent: Monday, August 08, 2005 3:17 PM To: 'Access Developers discussion and problem solving' Subject: [AccessD] Clear Debug Window Programmatically Is there a way to clear the debug window programmatically? TIA, Arthur -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From cfoust at infostatsystems.com Tue Aug 9 10:56:50 2005 From: cfoust at infostatsystems.com (Charlotte Foust) Date: Tue, 9 Aug 2005 08:56:50 -0700 Subject: [AccessD] Clear Debug Window Programmatically Message-ID: True, but in that case, you have bigger problems! LOL Charlotte Foust -----Original Message----- From: Jim DeMarco [mailto:Jdemarco at hudsonhealthplan.org] Sent: Tuesday, August 09, 2005 8:48 AM To: Access Developers discussion and problem solving Subject: RE: [AccessD] Clear Debug Window Programmatically Could be a problem if you're using A97 though!! Jim DeMarco -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Tom Bolton Sent: Tuesday, August 09, 2005 11:45 AM To: 'Access Developers discussion and problem solving' Subject: RE: [AccessD] Clear Debug Window Programmatically Absolutely nothing, now I know I can!! Brilliant. The things you learn :-) Tom -----Original Message----- From: Charlotte Foust [mailto:cfoust at infostatsystems.com] Sent: 09-Aug-2005 16:39 To: Access Developers discussion and problem solving Subject: RE: [AccessD] Clear Debug Window Programmatically On further thought, what's wrong with right-clicking the immediate window and selecting Clear? Charlotte Foust -----Original Message----- From: Arthur Fuller [mailto:artful at rogers.com] Sent: Monday, August 08, 2005 3:17 PM To: 'Access Developers discussion and problem solving' Subject: [AccessD] Clear Debug Window Programmatically Is there a way to clear the debug window programmatically? TIA, Arthur -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com ************************************************************************ *********** "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 artful at rogers.com Tue Aug 9 10:59:39 2005 From: artful at rogers.com (Arthur Fuller) Date: Tue, 9 Aug 2005 11:59:39 -0400 Subject: [AccessD] Clear Debug Window Programmatically In-Reply-To: <005c01c59cfa$360743d0$6c7aa8c0@ColbyM6805> Message-ID: <200508091559.j79FxjR05200@databaseadvisors.com> All the ostensible gurus gather around Charlotte and genuflect -- me most of all. I never thought of that either. -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of John W. Colby Sent: August 9, 2005 11:51 AM To: 'Access Developers discussion and problem solving' Subject: RE: [AccessD] Clear Debug Window Programmatically LOL. the things we've never tried before. I must say I never did that either. Thanks Charlotte. John W. Colby www.ColbyConsulting.com Contribute your unused CPU cycles to a good cause: http://folding.stanford.edu/ -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Tom Bolton Sent: Tuesday, August 09, 2005 11:45 AM To: 'Access Developers discussion and problem solving' Subject: RE: [AccessD] Clear Debug Window Programmatically Absolutely nothing, now I know I can!! Brilliant. The things you learn :-) Tom -----Original Message----- From: Charlotte Foust [mailto:cfoust at infostatsystems.com] Sent: 09-Aug-2005 16:39 To: Access Developers discussion and problem solving Subject: RE: [AccessD] Clear Debug Window Programmatically On further thought, what's wrong with right-clicking the immediate window and selecting Clear? Charlotte Foust -----Original Message----- From: Arthur Fuller [mailto:artful at rogers.com] Sent: Monday, August 08, 2005 3:17 PM To: 'Access Developers discussion and problem solving' Subject: [AccessD] Clear Debug Window Programmatically Is there a way to clear the debug window programmatically? TIA, Arthur -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From Jdemarco at hudsonhealthplan.org Tue Aug 9 11:30:10 2005 From: Jdemarco at hudsonhealthplan.org (Jim DeMarco) Date: Tue, 9 Aug 2005 12:30:10 -0400 Subject: [AccessD] Clear Debug Window Programmatically Message-ID: <08F823FD83787D4BA0B99CA580AD3C74016C3C6C@TTNEXCHCL2.hshhp.com> I knew that was coming ;-) Jim D. -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Charlotte Foust Sent: Tuesday, August 09, 2005 11:57 AM To: Access Developers discussion and problem solving Subject: RE: [AccessD] Clear Debug Window Programmatically True, but in that case, you have bigger problems! LOL Charlotte Foust -----Original Message----- From: Jim DeMarco [mailto:Jdemarco at hudsonhealthplan.org] Sent: Tuesday, August 09, 2005 8:48 AM To: Access Developers discussion and problem solving Subject: RE: [AccessD] Clear Debug Window Programmatically Could be a problem if you're using A97 though!! Jim DeMarco -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Tom Bolton Sent: Tuesday, August 09, 2005 11:45 AM To: 'Access Developers discussion and problem solving' Subject: RE: [AccessD] Clear Debug Window Programmatically Absolutely nothing, now I know I can!! Brilliant. The things you learn :-) Tom -----Original Message----- From: Charlotte Foust [mailto:cfoust at infostatsystems.com] Sent: 09-Aug-2005 16:39 To: Access Developers discussion and problem solving Subject: RE: [AccessD] Clear Debug Window Programmatically On further thought, what's wrong with right-clicking the immediate window and selecting Clear? Charlotte Foust -----Original Message----- From: Arthur Fuller [mailto:artful at rogers.com] Sent: Monday, August 08, 2005 3:17 PM To: 'Access Developers discussion and problem solving' Subject: [AccessD] Clear Debug Window Programmatically Is there a way to clear the debug window programmatically? TIA, Arthur -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com ************************************************************************ *********** "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 cfoust at infostatsystems.com Tue Aug 9 11:37:39 2005 From: cfoust at infostatsystems.com (Charlotte Foust) Date: Tue, 9 Aug 2005 09:37:39 -0700 Subject: [AccessD] Clear Debug Window Programmatically Message-ID: Now, Arthur, there's no need to genuflect. Just lighting a few candles, burning some incense, that sort of thing will suffice. Charlotte Foust -----Original Message----- From: Arthur Fuller [mailto:artful at rogers.com] Sent: Tuesday, August 09, 2005 9:00 AM To: 'Access Developers discussion and problem solving' Subject: RE: [AccessD] Clear Debug Window Programmatically All the ostensible gurus gather around Charlotte and genuflect -- me most of all. I never thought of that either. From ssharkins at bellsouth.net Tue Aug 9 14:04:43 2005 From: ssharkins at bellsouth.net (Susan Harkins) Date: Tue, 9 Aug 2005 15:04:43 -0400 Subject: [AccessD] Conversion to adp Message-ID: <20050809190444.ZWLD25678.ibm61aec.bellsouth.net@SUSANONE> I'm wondering what you guys would charge to convert an mdb file to an adp? No code upgrade, just the objects? How would you determine what to charge -- I'm sure you'd have to see the mdb first -- but what would you be looking for? Susan H. From BarbaraRyan at cox.net Tue Aug 9 14:20:20 2005 From: BarbaraRyan at cox.net (Barbara Ryan) Date: Tue, 9 Aug 2005 15:20:20 -0400 Subject: [AccessD] Query difference between Access 97 and 2002 Message-ID: <006401c59d17$629ea560$0a00a8c0@cx470148a> I have converted an Access 97 application to Access 2002 (XP). A query that works in 97 will no longer work in XP. The field in the query causing the problem is referencing an unbound text box on an open form, i.e., the field name in the query is "PeriodEndDate:[Forms]![frmPerDiemEntry]![txtPeriodEndDate]". When I execute the query in 97, I see the contents of txtPeriodEndDate; however, in XP, it is blank/null. Any ideas? Thanks, Barb Ryan From jimdettman at earthlink.net Tue Aug 9 14:21:16 2005 From: jimdettman at earthlink.net (Jim Dettman) Date: Tue, 9 Aug 2005 15:21:16 -0400 Subject: [AccessD] Query difference between Access 97 and 2002 In-Reply-To: <006401c59d17$629ea560$0a00a8c0@cx470148a> Message-ID: Barb, Make sure you explicitly type (text, date, integer) the data expected in the control (in query design, goto query/parameters). Jim. -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Barbara Ryan Sent: Tuesday, August 09, 2005 3:20 PM To: Access List Subject: [AccessD] Query difference between Access 97 and 2002 I have converted an Access 97 application to Access 2002 (XP). A query that works in 97 will no longer work in XP. The field in the query causing the problem is referencing an unbound text box on an open form, i.e., the field name in the query is "PeriodEndDate:[Forms]![frmPerDiemEntry]![txtPeriodEndDate]". When I execute the query in 97, I see the contents of txtPeriodEndDate; however, in XP, it is blank/null. Any ideas? Thanks, Barb Ryan -- 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 Aug 9 15:12:12 2005 From: stuart at lexacorp.com.pg (Stuart McLachlan) Date: Wed, 10 Aug 2005 06:12:12 +1000 Subject: [AccessD] Clear Debug Window Programmatically In-Reply-To: <200508091559.j79FxjR05200@databaseadvisors.com> References: <005c01c59cfa$360743d0$6c7aa8c0@ColbyM6805> Message-ID: <42F99ABC.23040.326CC562@stuart.lexacorp.com.pg> On 9 Aug 2005 at 11:59, Arthur Fuller wrote: > All the ostensible gurus gather around Charlotte and genuflect -- me most of > all. I never thought of that either. > ..... > > On further thought, what's wrong with right-clicking the immediate window > and selecting Clear? > > Charlotte Foust > Two things: 1. It's only works in XP and above. 2. It is not programmatic, which was what was asked for. -- Stuart From cfoust at infostatsystems.com Tue Aug 9 15:32:06 2005 From: cfoust at infostatsystems.com (Charlotte Foust) Date: Tue, 9 Aug 2005 13:32:06 -0700 Subject: [AccessD] Query difference between Access 97 and 2002 Message-ID: In addition to Jin's suggestion, check the query parameter for that reference and make sure all the square brackets are in the right places. In 97 you could leave them out entirely or put them around a single element of the reference. In 2000 and later, the query engine will insert a pair of square brackets around the entire reference if any of the brackets around the individual elements were skipped. I've run into this repeatedly. Charlotte Foust -----Original Message----- From: Jim Dettman [mailto:jimdettman at earthlink.net] Sent: Tuesday, August 09, 2005 12:21 PM To: Access Developers discussion and problem solving Subject: RE: [AccessD] Query difference between Access 97 and 2002 Barb, Make sure you explicitly type (text, date, integer) the data expected in the control (in query design, goto query/parameters). Jim. -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Barbara Ryan Sent: Tuesday, August 09, 2005 3:20 PM To: Access List Subject: [AccessD] Query difference between Access 97 and 2002 I have converted an Access 97 application to Access 2002 (XP). A query that works in 97 will no longer work in XP. The field in the query causing the problem is referencing an unbound text box on an open form, i.e., the field name in the query is "PeriodEndDate:[Forms]![frmPerDiemEntry]![txtPeriodEndDate]". When I execute the query in 97, I see the contents of txtPeriodEndDate; however, in XP, it is blank/null. Any ideas? Thanks, Barb Ryan -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd 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 Aug 9 15:34:34 2005 From: cfoust at infostatsystems.com (Charlotte Foust) Date: Tue, 9 Aug 2005 13:34:34 -0700 Subject: [AccessD] Clear Debug Window Programmatically Message-ID: I realize that you asked for a programmatic method. However, since the debug window is only available in the VBE, I didn't see any purpose in a programmatic method ... In XP and above, of course. You didn't indicate the version or WHY you needed it, so it's your own fault if we wandered off in another direction! LOL Charlotte Foust -----Original Message----- From: Stuart McLachlan [mailto:stuart at lexacorp.com.pg] Sent: Tuesday, August 09, 2005 1:12 PM To: Access Developers discussion and problem solving Subject: RE: [AccessD] Clear Debug Window Programmatically On 9 Aug 2005 at 11:59, Arthur Fuller wrote: > All the ostensible gurus gather around Charlotte and genuflect -- me > most of all. I never thought of that either. > ..... > > On further thought, what's wrong with right-clicking the immediate > window and selecting Clear? > > Charlotte Foust > Two things: 1. It's only works in XP and above. 2. It is not programmatic, which was what was asked for. -- Stuart -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From BarbaraRyan at cox.net Tue Aug 9 15:39:30 2005 From: BarbaraRyan at cox.net (Barbara Ryan) Date: Tue, 9 Aug 2005 16:39:30 -0400 Subject: [AccessD] Query difference between Access 97 and 2002 References: Message-ID: <007701c59d22$71aded80$0a00a8c0@cx470148a> Thanks, Jim.... That was part of my problem. The query is still not working in Access 2002 --- it's an append query to a table in another database. I need to investigate some more! .....Thanks, Barb ----- Original Message ----- From: "Jim Dettman" To: "Access Developers discussion and problem solving" Sent: Tuesday, August 09, 2005 3:21 PM Subject: RE: [AccessD] Query difference between Access 97 and 2002 > Barb, > > Make sure you explicitly type (text, date, integer) the data expected in > the control (in query design, goto query/parameters). > > Jim. > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Barbara Ryan > Sent: Tuesday, August 09, 2005 3:20 PM > To: Access List > Subject: [AccessD] Query difference between Access 97 and 2002 > > > I have converted an Access 97 application to Access 2002 (XP). A query that > works in 97 will no longer work in XP. The field in the query causing the > problem is referencing an unbound text box on an open form, i.e., the field > name in the query is > "PeriodEndDate:[Forms]![frmPerDiemEntry]![txtPeriodEndDate]". When I > execute the query in 97, I see the contents of txtPeriodEndDate; however, in > XP, it is blank/null. > > Any ideas? > > Thanks, > Barb Ryan > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > 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 Aug 9 16:10:57 2005 From: martyconnelly at shaw.ca (MartyConnelly) Date: Tue, 09 Aug 2005 14:10:57 -0700 Subject: [AccessD] Conversion to adp References: <20050809190444.ZWLD25678.ibm61aec.bellsouth.net@SUSANONE> Message-ID: <42F91BE1.7070308@shaw.ca> These guys will give you a quote roughly 5 days under $10,000. for mdb to adp conversion. I'll bet they use data modeling reverse engineering tools. http://www.upsizewizard.com/ They also give a long list of considerations to look at re conversion mdb to adp and links to MS upsizing wizard white paper. http://www.upsizewizard.com/index.cfm?fuseaction=browse&id=5036&pageid=22 You may want to consider keeping the mdb format and hooking to sql server via ado or dao. rather than doing an adp conversion. But a lot of the above considerations apply. One reason being SQL Express the new version of MSDE or SQL Server 2005 wont hook to ADP's unless they are installed in crippled SQL 2000 compatibilty mode. "You will not be able to use any of the designers with SQLS 2005 databases, whether it's SQL Express or the Developer edition. IOW, you won't be able to create databases, tables, views or any other database objects from an ADP. The only support that is envisioned is that you will be able to connect an Access front-end to a SQLS 2005 back end if it is running in SQLS 2000 compatibility mode, so your forms, reports and other local Access objects should still run. FAQ: How to connect to SQL Express from "downlevel clients"(Access 2003, VS 2003, VB 6, etc http://blogs.msdn.com/sqlexpress/archive/2004/07/23/192044.aspx Susan Harkins wrote: >I'm wondering what you guys would charge to convert an mdb file to an adp? >No code upgrade, just the objects? How would you determine what to charge -- >I'm sure you'd have to see the mdb first -- but what would you be looking >for? > >Susan H. > > -- Marty Connelly Victoria, B.C. Canada From Chester_Kaup at kindermorgan.com Tue Aug 9 16:13:50 2005 From: Chester_Kaup at kindermorgan.com (Kaup, Chester) Date: Tue, 9 Aug 2005 16:13:50 -0500 Subject: [AccessD] Query asks for input - why? Message-ID: This query is asking for input of [qry Pattern WAG Scheme]![Cum_Toti_hcpv] yet this query when I run it by itself does not. Maybe a query syntax error but I don't see it. SELECT [tbl Actual Injectivities Daily].Pattern, [tbl Actual Injectivities Daily].Date, [tbl Actual Injectivities Daily].[TotI (%HCPV/Yr)], (Select Fluid from [tbl Wag] where [qry Pattern WAG Scheme]![Cum_Toti_hcpv] = (Select Max (Cum_Toti_hcpv) from [qry Pattern WAG Scheme] where [qry Pattern WAG Scheme]![Cum_Toti_hcpv] <= [tbl Actual Injectivities Daily]![TotI (%HCPV/Yr)] )) AS FluidType FROM [tbl Actual Injectivities Daily]; Chester Kaup Engineering Technician Kinder Morgan CO2 Company, LLP Office (432) 688-3797 FAX (432) 688-3799 No trees were killed in the sending of this message. However a large number of electrons were terribly inconvenienced. From Chester_Kaup at kindermorgan.com Tue Aug 9 16:23:51 2005 From: Chester_Kaup at kindermorgan.com (Kaup, Chester) Date: Tue, 9 Aug 2005 16:23:51 -0500 Subject: [AccessD] Query asks for input - why? Message-ID: I found the problem. A wrong table name. Thanks to anyone who looked. -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Kaup, Chester Sent: Tuesday, August 09, 2005 4:14 PM To: Access Developers discussion and problem solving Subject: [AccessD] Query asks for input - why? This query is asking for input of [qry Pattern WAG Scheme]![Cum_Toti_hcpv] yet this query when I run it by itself does not. Maybe a query syntax error but I don't see it. SELECT [tbl Actual Injectivities Daily].Pattern, [tbl Actual Injectivities Daily].Date, [tbl Actual Injectivities Daily].[TotI (%HCPV/Yr)], (Select Fluid from [tbl Wag] where [qry Pattern WAG Scheme]![Cum_Toti_hcpv] = (Select Max (Cum_Toti_hcpv) from [qry Pattern WAG Scheme] where [qry Pattern WAG Scheme]![Cum_Toti_hcpv] <= [tbl Actual Injectivities Daily]![TotI (%HCPV/Yr)] )) AS FluidType FROM [tbl Actual Injectivities Daily]; Chester Kaup Engineering Technician Kinder Morgan CO2 Company, LLP Office (432) 688-3797 FAX (432) 688-3799 No trees were killed in the sending of this message. However a large number of electrons were terribly inconvenienced. -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From artful at rogers.com Tue Aug 9 19:23:24 2005 From: artful at rogers.com (Arthur Fuller) Date: Tue, 9 Aug 2005 20:23:24 -0400 Subject: [AccessD] Conversion to adp In-Reply-To: <20050809190444.ZWLD25678.ibm61aec.bellsouth.net@SUSANONE> Message-ID: <200508100023.j7A0NPR13719@databaseadvisors.com> LOTS. -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Susan Harkins Sent: August 9, 2005 3:05 PM To: 'Access Developers discussion and problem solving' Subject: [AccessD] Conversion to adp I'm wondering what you guys would charge to convert an mdb file to an adp? No code upgrade, just the objects? How would you determine what to charge -- I'm sure you'd have to see the mdb first -- but what would you be looking for? Susan H. -- 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 Tue Aug 9 20:52:41 2005 From: D.Dick at uws.edu.au (Darren Dick) Date: Wed, 10 Aug 2005 11:52:41 +1000 Subject: [AccessD] RE: Discard changes in a query Message-ID: <2FDE83AF1A69C84796CBD13788DDA883703099@BONHAM.AD.UWS.EDU.AU> Hi Roz In addition to Andy's statement. I have been burned in the past by the Docmd.Setwarning false statement too. (Actually it's my bad coding :-)) I've been burned by not the actual statement ) Especially if your code fails (goes to the error handler) after running that line But before running the line that turns it back on I am in the habit of putting Docmd.setwarnings true at the Head of every error handler that has the Docmd.setwarning false statement somewhere in its preceding module Just in case I get a redirect to the Error Handler before I can 'turn it back on' Hope this helps See ya Darren PS Andy - I Can't wait for Thursday - Brett Lee or Not - McGrath or not Bring it on See ya DD -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Roz Clarke Sent: Tuesday, August 09, 2005 7:21 PM To: 'Access Developers discussion and problem solving' Subject: RE: [AccessD] Discard changes in a query Cheers Andy Remind me never to take over someone else's work, I keep falling over these weird little issues :/ -----Original Message----- From: Andy Lacey [mailto:andy at minstersystems.co.uk] Sent: 09 August 2005 10:16 To: Access Developers discussion and problem solving Subject: Re: [AccessD] Discard changes in a query Hi Roz It sounds like DoCmd.SetWarnings has been left False. Just execute a DoCmd.SetWarnings True in the Immediate window and see if that cures it. If it does, and the problem cmes back, then some code somewhere is setting it False and not back to True again. -- Andy Lacey http://www.minstersystems.co.uk --------- Original Message -------- From: "Access Developers discussion and problem solving" To: "'Access Developers discussion and problem solving'" Subject: [AccessD] Discard changes in a query Date: 09/08/05 08:36 Another stupid question from me... I have just taken over working on a databae app, nothing scary, just a training records database. In this database, unlike any other I am currently using, I do not get the option to discard an unsaved query. I have to save it with a name and then delete it. How can I set it so it just throws it away, like my other databases do? TIA Roz The contents of this message and any attachments are the property of Donns Solicitors and are intended for the confidential use of the named recipient only. They may be legally privileged and should not be communicated to, or relied upon, by any other party without our written consent. If you are not the addressee, please notify us immediately so that we can make arrangements for its return. You should not show this e-mail to any person or take copies as you may be committing a criminal or civil offence for which you may be liable. The statement and opinions expressed in this e-mail message are those of the writer, and do not necessarily represent that of Donns Solicitors. Although any files attached to this e-mail will have been checked with virus protection software prior to transmission, you should carry out your own virus check before opening any attachment. Donns Solicitors does not accept any liability for any damage or loss which may be caused by software viruses... -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com ________________________________________________ Message sent using UebiMiau 2.7.2 -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From cfoust at infostatsystems.com Wed Aug 10 11:21:31 2005 From: cfoust at infostatsystems.com (Charlotte Foust) Date: Wed, 10 Aug 2005 09:21:31 -0700 Subject: [AccessD] Where is everyone? Message-ID: I haven't seen a message since yesterday afternoon. Charlotte Foust Infostat Systems, Inc. From andy at minstersystems.co.uk Wed Aug 10 11:30:51 2005 From: andy at minstersystems.co.uk (Andy Lacey) Date: Wed, 10 Aug 2005 17:30:51 +0100 Subject: [AccessD] Where is everyone? In-Reply-To: Message-ID: <000c01c59dc8$df980870$2c1f0c54@minster33c3r25> Well you have now :-) -- Andy Lacey http://www.minstersystems.co.uk > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of > Charlotte Foust > Sent: 10 August 2005 17:22 > To: AccessD at databaseadvisors.com > Subject: [AccessD] Where is everyone? > > > I haven't seen a message since yesterday afternoon. > > Charlotte Foust > Infostat Systems, Inc. > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > > From tom.bolton at donnslaw.co.uk Wed Aug 10 11:33:58 2005 From: tom.bolton at donnslaw.co.uk (Tom Bolton) Date: Wed, 10 Aug 2005 17:33:58 +0100 Subject: [AccessD] Where is everyone? Message-ID: <61F915314798D311A2F800A0C9C831880802A2BE@dibble.observatory.donnslaw.co.uk> Me neither, I'm sat in an empty office with an empty AccessD folder Marie Celeste springs to mind :-) -----Original Message----- From: Charlotte Foust [mailto:cfoust at infostatsystems.com] Sent: 10-Aug-2005 17:22 To: AccessD at databaseadvisors.com Subject: [AccessD] Where is everyone? I haven't seen a message since yesterday afternoon. Charlotte Foust Infostat Systems, Inc. -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -------------- next part -------------- The contents of this message and any attachments are the property of Donns Solicitors and are intended for the confidential use of the named recipient only. They may be legally privileged and should not be communicated to, or relied upon, by any other party without our written consent. If you are not the addressee, please notify us immediately so that we can make arrangements for its return. You should not show this e-mail to any person or take copies as you may be committing a criminal or civil offence for which you may be liable. The statement and opinions expressed in this e-mail message are those of the writer, and do not necessarily represent that of Donns Solicitors. Although any files attached to this e-mail will have been checked with virus protection software prior to transmission, you should carry out your own virus check before opening any attachment. Donns Solicitors does not accept any liability for any damage or loss which may be caused by software viruses... From jwcolby at colbyconsulting.com Wed Aug 10 11:35:57 2005 From: jwcolby at colbyconsulting.com (John W. Colby) Date: Wed, 10 Aug 2005 12:35:57 -0400 Subject: [AccessD] Where is everyone? In-Reply-To: Message-ID: <00ad01c59dc9$95fb9f50$6c7aa8c0@ColbyM6805> No one wants to talk to you. ;-) John W. Colby www.ColbyConsulting.com Contribute your unused CPU cycles to a good cause: http://folding.stanford.edu/ -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Charlotte Foust Sent: Wednesday, August 10, 2005 12:22 PM To: AccessD at databaseadvisors.com Subject: [AccessD] Where is everyone? I haven't seen a message since yesterday afternoon. Charlotte Foust Infostat Systems, Inc. -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From papparuff at comcast.net Wed Aug 10 11:48:42 2005 From: papparuff at comcast.net (John Ruff) Date: Wed, 10 Aug 2005 09:48:42 -0700 Subject: [AccessD] Where is everyone? In-Reply-To: Message-ID: <200508101648.j7AGmnR24450@databaseadvisors.com> We're waiting for you to provide us with some new insights and tells us something new and exciting. John V. Ruff - The Eternal Optimist :-) "Commit to the Lord whatever you do, and your plans will succeed." Proverbs 16:3 -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Charlotte Foust Sent: Wednesday, August 10, 2005 9:22 AM To: AccessD at databaseadvisors.com Subject: [AccessD] Where is everyone? I haven't seen a message since yesterday afternoon. Charlotte Foust Infostat Systems, Inc. -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From djkr at msn.com Wed Aug 10 11:53:20 2005 From: djkr at msn.com (DJK(John) Robinson) Date: Wed, 10 Aug 2005 17:53:20 +0100 Subject: [AccessD] Where is everyone? In-Reply-To: Message-ID: Up ladders cutting hedges while printer-repairman does his stuff (more than three hours)! All in a short gap between returning from Italy and getting back to contract work tomorrow morning (groan) - an Access nightmare / disaster area like you've never seen before, trust me! Hence not enough time to read AccessD often enough to respond usefully, at least until November. Hey ho. John > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of > Charlotte Foust > Sent: 10 August 2005 17:22 > To: AccessD at databaseadvisors.com > Subject: [AccessD] Where is everyone? > > > I haven't seen a message since yesterday afternoon. > > Charlotte Foust > Infostat Systems, Inc. > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > From cfoust at infostatsystems.com Wed Aug 10 12:04:09 2005 From: cfoust at infostatsystems.com (Charlotte Foust) Date: Wed, 10 Aug 2005 10:04:09 -0700 Subject: [AccessD] Where is everyone? Message-ID: ROTFL It's because of clearing the immediate window from yesterday, right? Charlotte Foust -----Original Message----- From: John W. Colby [mailto:jwcolby at colbyconsulting.com] Sent: Wednesday, August 10, 2005 9:36 AM To: 'Access Developers discussion and problem solving' Subject: RE: [AccessD] Where is everyone? No one wants to talk to you. ;-) John W. Colby www.ColbyConsulting.com Contribute your unused CPU cycles to a good cause: http://folding.stanford.edu/ -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Charlotte Foust Sent: Wednesday, August 10, 2005 12:22 PM To: AccessD at databaseadvisors.com Subject: [AccessD] Where is everyone? I haven't seen a message since yesterday afternoon. Charlotte Foust Infostat Systems, Inc. -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd 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 Aug 10 12:06:34 2005 From: john at winhaven.net (John Bartow) Date: Wed, 10 Aug 2005 12:06:34 -0500 Subject: [AccessD] Where is everyone? In-Reply-To: Message-ID: <200508101706.j7AH6aTg192542@pimout1-ext.prodigy.net> Had this come through while I was away: The Access Unlimited Newsletter - Edition 58 GOOD READING Tony Jacoby from Solutions On Hand in Sydney says "Have you ever come across Be-Up the Backend Updater from Database Advisors? It's free and it's also "open source" and the developers are pretty helpful with support and enhancements. If you haven't already seen it, go to" http://www.databaseadvisors.com/downloads.htm. Hey, we get press coverage! :o) -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Charlotte Foust Sent: Wednesday, August 10, 2005 11:22 AM To: AccessD at databaseadvisors.com Subject: [AccessD] Where is everyone? I haven't seen a message since yesterday afternoon. Charlotte Foust Infostat Systems, Inc. -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From Jim.Hale at FleetPride.com Wed Aug 10 13:23:55 2005 From: Jim.Hale at FleetPride.com (Hale, Jim) Date: Wed, 10 Aug 2005 13:23:55 -0500 Subject: [AccessD] Where is everyone? Message-ID: <6A6AA9DF57E4F046BDA1E273BDDB677233776F@corp-es01.fleetpride.com> Nah, we're still genuflecting in reverent silence. You forgot to say "rise" :-) Jim Hale -----Original Message----- From: Charlotte Foust [mailto:cfoust at infostatsystems.com] Sent: Wednesday, August 10, 2005 12:04 PM To: Access Developers discussion and problem solving Subject: RE: [AccessD] Where is everyone? ROTFL It's because of clearing the immediate window from yesterday, right? Charlotte Foust -----Original Message----- From: John W. Colby [mailto:jwcolby at colbyconsulting.com] Sent: Wednesday, August 10, 2005 9:36 AM To: 'Access Developers discussion and problem solving' Subject: RE: [AccessD] Where is everyone? No one wants to talk to you. ;-) John W. Colby www.ColbyConsulting.com Contribute your unused CPU cycles to a good cause: http://folding.stanford.edu/ -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Charlotte Foust Sent: Wednesday, August 10, 2005 12:22 PM To: AccessD at databaseadvisors.com Subject: [AccessD] Where is everyone? I haven't seen a message since yesterday afternoon. Charlotte Foust Infostat Systems, Inc. -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com *********************************************************************** The information transmitted is intended solely for the individual or entity to which it is addressed and may contain confidential and/or privileged material. Any review, retransmission, dissemination or other use of or taking action in reliance upon this information by persons or entities other than the intended recipient is prohibited. If you have received this email in error please contact the sender and delete the material from any computer. As a recipient of this email, you are responsible for screening its contents and the contents of any attachments for the presence of viruses. No liability is accepted for any damages caused by any virus transmitted by this email. From lembit.soobik at t-online.de Wed Aug 10 13:59:27 2005 From: lembit.soobik at t-online.de (Lembit Soobik) Date: Wed, 10 Aug 2005 20:59:27 +0200 Subject: [AccessD] Where is everyone? References: <200508101706.j7AH6aTg192542@pimout1-ext.prodigy.net> Message-ID: <00de01c59ddd$a1e17dd0$0700a8c0@s1800> WOW! we need to ask for some donations from them :) Lembit ----- Original Message ----- From: "John Bartow" To: "'Access Developers discussion and problem solving'" Sent: Wednesday, August 10, 2005 7:06 PM Subject: RE: [AccessD] Where is everyone? > Had this come through while I was away: > > The Access Unlimited Newsletter - Edition 58 > > GOOD READING > > Tony Jacoby from Solutions On Hand in Sydney says > > "Have you ever come across Be-Up the Backend Updater from Database > Advisors? > It's free and it's also "open source" and the developers are pretty > helpful > with support and enhancements. If you haven't already seen it, go to" > > http://www.databaseadvisors.com/downloads.htm. > > Hey, we get press coverage! > :o) > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Charlotte Foust > Sent: Wednesday, August 10, 2005 11:22 AM > To: AccessD at databaseadvisors.com > Subject: [AccessD] Where is everyone? > > I haven't seen a message since yesterday afternoon. > > Charlotte Foust > Infostat Systems, Inc. > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > > > -- > No virus found in this incoming message. > Checked by AVG Anti-Virus. > Version: 7.0.338 / Virus Database: 267.10.5/67 - Release Date: 09.08.2005 > > From mmattys at rochester.rr.com Wed Aug 10 14:21:40 2005 From: mmattys at rochester.rr.com (Michael R Mattys) Date: Wed, 10 Aug 2005 15:21:40 -0400 Subject: [AccessD] Where is everyone? References: <200508101706.j7AH6aTg192542@pimout1-ext.prodigy.net> Message-ID: <017701c59de0$bdde8840$0302a8c0@default> I was going through my old email and found a couple on my trip down Memory Lane: From: David Scott [mailto:davidscott at mtgroup.com] Sent: Tuesday, June 13, 2000 11:56 AM To: Christopher Hawkins Subject: RE: Help! My posts are getting bounced! I only pop in on the list maybe once every month or two to see what's going on. Today I signed on and received a mailbox full of some of the most ridiculous posts I've ever seen. People lobbing insults at each other, flames, etc. I have a very limited amount of bandwidth, and accessd takes most of it. I'll be darned if I'm going to take bandwidth away from my customers who need it to support this kind of list traffic. As of today, accessd is dead. I may bring it back up later, depending on the response I get. When (if) I do, the people who were active members this morning will be back on then. I don't want to come across to you too harsh - personally you may have not contributed to this incident at all, but I'm pretty miffed at the whole thing. Dave ----------- And A Little Humor ... ----------- ACTUAL BUMPER STICKERS (Rec'd 7/17/2000 from x-gf) 1. Constipated People Don't Give A Crap. 2. Practice Safe Sex, Go Screw Yourself. 3. If You Drink Don't Park, Accidents Cause People. 4. Honk If You've Never Seen An Uzi Fired From A Car Window. 5. My Kid Got Your Honor Roll Student Pregnant. 6. To All You Virgins, Thanks For Nothing. 7. If At First You Don't Succeed ... Blame Someone Else And Seek Counseling. 8. Impotence: Nature's Way Of Saying, "No Hard Feelings." 9. If You Can Read This, I've Lost My Trailer. 10. Warning! Driver Only Carries $20.00 In Ammunition. 11. How Many Roads Must A Man Travel Down Before He Admits He Is Lost? 12. The Earth Is Full -- Go Home. 13. I Have The Body Of A God ... Buddha. 14. This Would Be Really Funny If It Weren't Happening To Me. 15. So Many Pedestrians -- So Little Time. 16. Cleverly Disguised As A Responsible Adult 17. If We Quit Voting Will They All Go Away? 18. Eat Right, Exercise, Die Anyway. 19. Illiterate? Write For Help. From greggs at msn.com Wed Aug 10 14:32:30 2005 From: greggs at msn.com (Gregg) Date: Wed, 10 Aug 2005 14:32:30 -0500 Subject: [AccessD] Memo field parsing References: <007f01c5992e$f3bca8e0$ce1865cb@winxp> Message-ID: Worked like a charm A.D. thanks again! ----- Original Message ----- From: A.D.Tejpal To: Access Developers discussion and problem solving Sent: Thursday, August 04, 2005 2:57 PM Subject: Re: [AccessD] Memo field parsing Gregg, For sake of demonstration, let the source table named T_Memo consist of two fields, named ID (primary key - Autonumber) and Mem (memo type). Create another table, named T_MemRef, with just one field named Ref (number type). Populate this table with just two records, with values 1 and 2 respectively. Query Q_Memo as given below, should be used as record source for your report. It involves Cartesian join between tables T_Memo and T_MemRef. In detail section of your report, drag Mem and Ref from the field list, so as to create bound controls named Mem and Ref. Make these controls hidden, set their CanGrow property to "No" and position the same un-obtrusively. Insert an unbound text box named TxtMemo. This is the text box that would actually display the contents of memo field. Set the width and fonts as desired. Set the CanGrow property of this control as well as the detail section as a whole, to "Yes". In VBA window, put the code given below, in Detail_Format event of the report. Make sure that the item "On Format" in Event tab of properties dialog box shows [Event Procedure] against it. Now, when you run the report, first three lines of the memo field will get displayed on first page and the balance portion on the next page. Similar pattern would get repeated for all records. Best wishes, A.D.Tejpal -------------- Source Query for the report (Q_Memo) ===================================== SELECT T_Memo.ID, T_MemRef.Ref, T_Memo.Mem FROM T_Memo, T_MemRef ORDER BY T_Memo.ID, T_MemRef.Ref; ===================================== Code in Report's Module ===================================== Private Sub Detail_Format(Cancel As Integer, _ FormatCount As Integer) Dim Wd As Long, Rw As Single, Mgn As Long Dim LenMem As Long, Txt As String, Lft As Long Dim LastSpace As Long, MaxRowsFirstPart Dim Mpf As Single MaxRowsFirstPart = 3 LenMem = Len(Mem) If LenMem > 0 Then Else Exit Sub End If With Me ' Set the scale mode to twips .ScaleMode = 1 ' Set Font values for report to match those of memo field. .FontName = TxtMemo.FontName .FontSize = TxtMemo.FontSize If TxtMemo.FontBold <> 0 Then .FontBold = True Else .FontBold = False End If End With ' Allow for necessary margin within a text box ' (Between its border and the content) Mgn = 170 ' This value may need fine tuning for ' best results ' Get effective width of control meant for ' displaying memo field Wd = TxtMemo.Width - Mgn ' Get the number of characters so as to make-up the ' required number of rows for first part of memo field. For Lft = 1 To LenMem Txt = Left(Mem, Lft) LastSpace = IIf(Right(Txt, 1) = " ", Lft, LastSpace) Rw = TextWidth(Txt) / Wd If Rw > MaxRowsFirstPart Then Lft = Lft - 1 Exit For End If Next Debug.Print Lft; ", "; LastSpace ' Get Multiplying factor for acceptable max location ' of last space. Mpf = (0.8 + (MaxRowsFirstPart - 1)) / MaxRowsFirstPart ' Shorten the first part to nearest space ' (if within 20 % of the end of line) If LastSpace > Mpf * Lft And LastSpace < Lft Then Lft = LastSpace End If ' Populate the unbound text box with appropriate ' part of memo field. If Ref = 1 Then TxtMemo = Left(Mem, Lft) ' Force New Page - Afer section, only if memo ' field contents not yet finished If LenMem > Lft Then Detail.ForceNewPage = 2 Else Detail.ForceNewPage = 0 ' No break End If Else TxtMemo = Mid(Mem, Lft + 1) ' Force New Page - Afer section Detail.ForceNewPage = 2 End If End Sub ===================================== ----- Original Message ----- From: Gregg To: Access Developers discussion and problem solving Cc: Robert Penn Sent: Thursday, August 04, 2005 04:19 Subject: Re: [AccessD] Memo field parsing Thanks Charlotte! I give it a try. ----- Original Message ----- From: Charlotte Foust> To: Access Developers discussion and problem solving> Sent: Wednesday, August 03, 2005 5:33 PM Subject: RE: [AccessD] Memo field parsing No, get the textwidth of the control and see if the textwidth of the text is greater than that. Handle the situation where it is not and everything fits in the first control. Otherwise get the text that fits within the control textwidth and use instrRev to find the last space in that substring. Break it there. At that point, you also know the index of the starting point for the rest of the string, so all you need to do for the next page is use the Mid(text, index) to put the rest of it into the second page. Charlotte Foust -----Original Message----- From: Gregg [mailto:greggs at msn.com] Sent: Wednesday, August 03, 2005 11:34 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Memo field parsing So, you're saying I need to loop through all the characters until I find the last whole word that will fit on the first line, the same for the second etc. until I determine what text will fit in the first page text field and use what's left for the 2nd page? ----- Original Message ----- From: Charlotte Foust>> To: Access Developers discussion and problem solving>> Sent: Wednesday, August 03, 2005 11:02 AM Subject: RE: [AccessD] Memo field parsing You can't do it by simply counting characters anyhow. You have to use the TextWidth property, which can be expressed as reportname.TextWidth(stringvariable) and compare that to the textwidth of the control ( reportname.TextWidth(controlobject) or to the maximum length you want to display. You'll also want to allow a padding factor to avoid overrunning the borders of the control and be sure and check for carriage returns because they confuse the issue. If you want to display 3 "lines", you'll have to break the memo field into the first three chunks that will fit into the textwidth of the textbox you're using to display the text on that page. Charlotte Foust -----Original Message----- From: Gregg [mailto:greggs at msn.com] Sent: Wednesday, August 03, 2005 8:43 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Memo field parsing Charlotte Physical space I think because I don't know how to get from one to the other. The number of characters is going to be dependant on the how many characters are lost to word wrapping isn't it? Is there a way to calculate the number of characters that will appear in the first three lines? If I knew that, I could do it. ----- Original Message ----- From: Charlotte Foust> m>> To: Access Developers discussion and problem solving> ors.com>> Sent: Wednesday, August 03, 2005 10:28 AM Subject: RE: [AccessD] Memo field parsing Define "first three lines". Is that a particular number of characters or a physical space? Charlotte Foust -----Original Message----- From: Gregg [mailto:greggs at msn.com] Sent: Wednesday, August 03, 2005 7:32 AM To: Access Developers discussion and problem solving Subject: [AccessD] Memo field parsing I would like to parse a memo field in a A97 report such that the first three lines is on the first page and whatever is left is on the next. Any ideas? Gregg Steinbrenner -- AccessD mailing list -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From jwcolby at colbyconsulting.com Wed Aug 10 14:31:53 2005 From: jwcolby at colbyconsulting.com (John W. Colby) Date: Wed, 10 Aug 2005 15:31:53 -0400 Subject: [AccessD] Where is everyone? In-Reply-To: <017701c59de0$bdde8840$0302a8c0@default> Message-ID: <00c101c59de2$296bd670$6c7aa8c0@ColbyM6805> Ahhhh... The beginning of DatabaseAdvisors. I remember it well. John W. Colby www.ColbyConsulting.com Contribute your unused CPU cycles to a good cause: http://folding.stanford.edu/ -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Michael R Mattys Sent: Wednesday, August 10, 2005 3:22 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Where is everyone? I was going through my old email and found a couple on my trip down Memory Lane: From: David Scott [mailto:davidscott at mtgroup.com] Sent: Tuesday, June 13, 2000 11:56 AM To: Christopher Hawkins Subject: RE: Help! My posts are getting bounced! I only pop in on the list maybe once every month or two to see what's going on. Today I signed on and received a mailbox full of some of the most ridiculous posts I've ever seen. People lobbing insults at each other, flames, etc. I have a very limited amount of bandwidth, and accessd takes most of it. I'll be darned if I'm going to take bandwidth away from my customers who need it to support this kind of list traffic. As of today, accessd is dead. I may bring it back up later, depending on the response I get. When (if) I do, the people who were active members this morning will be back on then. I don't want to come across to you too harsh - personally you may have not contributed to this incident at all, but I'm pretty miffed at the whole thing. Dave From mikedorism at verizon.net Wed Aug 10 14:37:41 2005 From: mikedorism at verizon.net (Mike & Doris Manning) Date: Wed, 10 Aug 2005 15:37:41 -0400 Subject: [AccessD] Where is everyone? In-Reply-To: <00c101c59de2$296bd670$6c7aa8c0@ColbyM6805> Message-ID: <001801c59de2$f9d89e60$2e01a8c0@dorismanning> Has it really been that long? Seems like only yesterday to me.... Doris Manning Database Administrator Hargrove Inc. -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of John W. Colby Sent: Wednesday, August 10, 2005 3:32 PM To: 'Access Developers discussion and problem solving' Subject: RE: [AccessD] Where is everyone? Ahhhh... The beginning of DatabaseAdvisors. I remember it well. John W. Colby www.ColbyConsulting.com Contribute your unused CPU cycles to a good cause: http://folding.stanford.edu/ -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Michael R Mattys Sent: Wednesday, August 10, 2005 3:22 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Where is everyone? I was going through my old email and found a couple on my trip down Memory Lane: From: David Scott [mailto:davidscott at mtgroup.com] Sent: Tuesday, June 13, 2000 11:56 AM To: Christopher Hawkins Subject: RE: Help! My posts are getting bounced! I only pop in on the list maybe once every month or two to see what's going on. Today I signed on and received a mailbox full of some of the most ridiculous posts I've ever seen. People lobbing insults at each other, flames, etc. I have a very limited amount of bandwidth, and accessd takes most of it. I'll be darned if I'm going to take bandwidth away from my customers who need it to support this kind of list traffic. As of today, accessd is dead. I may bring it back up later, depending on the response I get. When (if) I do, the people who were active members this morning will be back on then. I don't want to come across to you too harsh - personally you may have not contributed to this incident at all, but I'm pretty miffed at the whole thing. Dave -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From JRojas at tnco-inc.com Wed Aug 10 14:55:58 2005 From: JRojas at tnco-inc.com (Joe Rojas) Date: Wed, 10 Aug 2005 15:55:58 -0400 Subject: [AccessD] Access 2000 Charts Message-ID: <0CC84C9461AE6445AD5A602001C41C4B05A42E@mercury.tnco-inc.com> Hi all, I have two problems that are driving me crazy with the charting control that Access 2000 uses. 1) When I had a chart using the wizard, the datasheet for the chart is using the East, West, North data that is there by default despite the fact that my Row Source is correct. Is there a way to have the control update to reflect "real" data? 2) I resized my chart so that it fills up most of the area on my report and then changed the size mode to zoom. When I do this the text is monstrous despite the fact that the font size is set to 8. Is there a way to have the chart use the font size that is specified? Thanks! JR 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. From greggs at msn.com Wed Aug 10 15:29:35 2005 From: greggs at msn.com (Gregg) Date: Wed, 10 Aug 2005 15:29:35 -0500 Subject: [AccessD] Where is everyone? References: Message-ID: Since everyone is so lonely... I have a general question about setting up printers/networks/Access. The client wants to print copies of Vendor Purchase Orders to multiple locations. I have total latitude with the customer on printer setup, network setup and Access. Thus far, I have been creating a report for each printer, each having the same subreport. I know there is code out there to help me a little with that. The part I really hate is setting up every user with every printer and the ongoing maintenance associated with it. I need a magic button that prints a report to the network printers I have specified in a table and doesn't care if the printer is configured on that workstation or not. Any ideas????? Gregg Steinbrenner ----- Original Message ----- From: Charlotte Foust To: AccessD at databaseadvisors.com Sent: Wednesday, August 10, 2005 11:21 AM Subject: [AccessD] Where is everyone? I haven't seen a message since yesterday afternoon. Charlotte Foust Infostat Systems, Inc. -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From greggs at msn.com Wed Aug 10 15:32:03 2005 From: greggs at msn.com (Gregg) Date: Wed, 10 Aug 2005 15:32:03 -0500 Subject: [AccessD] Printing multiple copies to multiple printers. References: Message-ID: Sorry... should have changed the subject line. ----- Original Message ----- From: Gregg To: Access Developers discussion and problem solving Sent: Wednesday, August 10, 2005 3:29 PM Subject: Re: [AccessD] Where is everyone? Since everyone is so lonely... I have a general question about setting up printers/networks/Access. The client wants to print copies of Vendor Purchase Orders to multiple locations. I have total latitude with the customer on printer setup, network setup and Access. Thus far, I have been creating a report for each printer, each having the same subreport. I know there is code out there to help me a little with that. The part I really hate is setting up every user with every printer and the ongoing maintenance associated with it. I need a magic button that prints a report to the network printers I have specified in a table and doesn't care if the printer is configured on that workstation or not. Any ideas????? Gregg Steinbrenner ----- Original Message ----- From: Charlotte Foust> To: AccessD at databaseadvisors.com> Sent: Wednesday, August 10, 2005 11:21 AM Subject: [AccessD] Where is everyone? I haven't seen a message since yesterday afternoon. Charlotte Foust Infostat Systems, Inc. -- AccessD mailing list AccessD at databaseadvisors.com> http://databaseadvisors.com/mailman/listinfo/accessd> Website: http://www.databaseadvisors.com> -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From Chester_Kaup at kindermorgan.com Wed Aug 10 15:56:31 2005 From: Chester_Kaup at kindermorgan.com (Kaup, Chester) Date: Wed, 10 Aug 2005 15:56:31 -0500 Subject: [AccessD] OK here is some VBA for someone to ponder Message-ID: I have the following at the start of a module: Dim MyQDef5 as QueryDef DIM myds7 as Recordset Set MyQDef5 = MyDb.QueryDefs("qry Fluid Type One Pattern") Later in the code I have the following: Set myds7 = MyQDef5.OpenRecordset() FluidType = myds7.Fields(3) The SQL of the query "qry Fluid Type One Pattern" is as follows SELECT Pattern, Date, CumTotalInj, (Select Fluid from [qry Pattern WAG Scheme] where [qry Pattern WAG Scheme]![Cum_Toti_hcpv] =(Select Max (Cum_Toti_hcpv) from [qry Pattern WAG Scheme] where [qry Pattern WAG Scheme]![Cum_Toti_hcpv] <= [tbl Cum Total Injection One Pattern]![CumTotalInj] )) AS FluidType FROM [tbl Cum Total Injection One Pattern]; The table "tbl Cum Total Injection One Pattern" has 617 records in it but the query only returns one record. I would expect to see 617 records. Chester Kaup Engineering Technician Kinder Morgan CO2 Company, LLP Office (432) 688-3797 FAX (432) 688-3799 No trees were killed in the sending of this message. However a large number of electrons were terribly inconvenienced. From greggs at msn.com Wed Aug 10 16:20:53 2005 From: greggs at msn.com (Gregg) Date: Wed, 10 Aug 2005 16:20:53 -0500 Subject: [AccessD] Printing multiple copies to multiple printers. References: Message-ID: Sorry again... I realize now I don't have to setup the printers. Just chalk this post up to Friday humor. ----- Original Message ----- From: Gregg To: Access Developers discussion and problem solving Sent: Wednesday, August 10, 2005 3:32 PM Subject: [AccessD] Printing multiple copies to multiple printers. Sorry... should have changed the subject line. ----- Original Message ----- From: Gregg> To: Access Developers discussion and problem solving> Sent: Wednesday, August 10, 2005 3:29 PM Subject: Re: [AccessD] Where is everyone? Since everyone is so lonely... I have a general question about setting up printers/networks/Access. The client wants to print copies of Vendor Purchase Orders to multiple locations. I have total latitude with the customer on printer setup, network setup and Access. Thus far, I have been creating a report for each printer, each having the same subreport. I know there is code out there to help me a little with that. The part I really hate is setting up every user with every printer and the ongoing maintenance associated with it. I need a magic button that prints a report to the network printers I have specified in a table and doesn't care if the printer is configured on that workstation or not. Any ideas????? Gregg Steinbrenner ----- Original Message ----- From: Charlotte Foust>> To: AccessD at databaseadvisors.com>> Sent: Wednesday, August 10, 2005 11:21 AM Subject: [AccessD] Where is everyone? I haven't seen a message since yesterday afternoon. Charlotte Foust Infostat Systems, Inc. -- AccessD mailing list AccessD at databaseadvisors.com>> http://databaseadvisors.com/mailman/listinfo/accessd>> Website: http://www.databaseadvisors.com>> -- AccessD mailing list AccessD at databaseadvisors.com> http://databaseadvisors.com/mailman/listinfo/accessd> Website: http://www.databaseadvisors.com> -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From dwaters at usinternet.com Wed Aug 10 19:20:33 2005 From: dwaters at usinternet.com (Dan Waters) Date: Wed, 10 Aug 2005 17:20:33 -0700 Subject: [AccessD] Access 2000 Charts In-Reply-To: <19434215.1123704006325.JavaMail.root@sniper18> Message-ID: <000001c59e0a$7e443cf0$0518820a@danwaters> Joe - do you have the reference to Graph 9.0 set? Dan Waters -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Joe Rojas Sent: Wednesday, August 10, 2005 12:56 PM To: 'Access Developers discussion and problem solving' Subject: [AccessD] Access 2000 Charts Hi all, I have two problems that are driving me crazy with the charting control that Access 2000 uses. 1) When I had a chart using the wizard, the datasheet for the chart is using the East, West, North data that is there by default despite the fact that my Row Source is correct. Is there a way to have the control update to reflect "real" data? 2) I resized my chart so that it fills up most of the area on my report and then changed the size mode to zoom. When I do this the text is monstrous despite the fact that the font size is set to 8. Is there a way to have the chart use the font size that is specified? Thanks! JR 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. -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From lmrazek at lcm-res.com Wed Aug 10 21:17:05 2005 From: lmrazek at lcm-res.com (Lawrence Mrazek) Date: Wed, 10 Aug 2005 21:17:05 -0500 Subject: [AccessD] Access 2000 Charts In-Reply-To: <0CC84C9461AE6445AD5A602001C41C4B05A42E@mercury.tnco-inc.com> Message-ID: <20050810221786.SM00672@hplaptop> Hi Joe: Question 2: Check the properties of the text boxes (menus, headings, etc.). Click on a heading and bring up the properties (EX: format axis title). Click on the "fonts" tab and make sure that "auto scale" is not checked. The Auto Scale property "helps" you out by resizing everything you edited ... . Hope this helps. Larry Mrazek LCM Research, Inc. www.lcm-res.com lmrazek at lcm-res.com ph. 314-432-5886 fx. 314-432-3304 -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Joe Rojas Sent: Wednesday, August 10, 2005 2:56 PM To: 'Access Developers discussion and problem solving' Subject: [AccessD] Access 2000 Charts Hi all, I have two problems that are driving me crazy with the charting control that Access 2000 uses. 1) When I had a chart using the wizard, the datasheet for the chart is using the East, West, North data that is there by default despite the fact that my Row Source is correct. Is there a way to have the control update to reflect "real" data? 2) I resized my chart so that it fills up most of the area on my report and then changed the size mode to zoom. When I do this the text is monstrous despite the fact that the font size is set to 8. Is there a way to have the chart use the font size that is specified? Thanks! JR 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. -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From jwcolby at colbyconsulting.com Thu Aug 11 07:30:07 2005 From: jwcolby at colbyconsulting.com (John W. Colby) Date: Thu, 11 Aug 2005 08:30:07 -0400 Subject: [AccessD] OT: Outlook calendar Message-ID: <000001c59e70$6bbc3770$6c7aa8c0@ColbyM6805> When I click on the calendar in outlook, I am shown the day (or the week) in yellow with the hours etc. To the right of that I am shown NOTES. I want to see the monthly calendar there. I know this is possible because in the archive calendar, that is the view. How do I display the monthly calendars instead of notes? John W. Colby www.ColbyConsulting.com Contribute your unused CPU cycles to a good cause: http://folding.stanford.edu/ From JRojas at tnco-inc.com Thu Aug 11 07:48:15 2005 From: JRojas at tnco-inc.com (Joe Rojas) Date: Thu, 11 Aug 2005 08:48:15 -0400 Subject: [AccessD] OT: Outlook calendar Message-ID: <0CC84C9461AE6445AD5A602001C41C4B05A42F@mercury.tnco-inc.com> On the same row of icons that starts with New, there should be an icon that says Month. Click that and it should give you what you want. JR -----Original Message----- From: John W. Colby [mailto:jwcolby at colbyconsulting.com] Sent: Thursday, August 11, 2005 8:30 AM To: 'Access Developers discussion and problem solving' Subject: [AccessD] OT: Outlook calendar When I click on the calendar in outlook, I am shown the day (or the week) in yellow with the hours etc. To the right of that I am shown NOTES. I want to see the monthly calendar there. I know this is possible because in the archive calendar, that is the view. How do I display the monthly calendars instead of notes? John W. Colby www.ColbyConsulting.com Contribute your unused CPU cycles to a good cause: http://folding.stanford.edu/ -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com 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. From garykjos at gmail.com Thu Aug 11 07:51:17 2005 From: garykjos at gmail.com (Gary Kjos) Date: Thu, 11 Aug 2005 07:51:17 -0500 Subject: [AccessD] OT: Outlook calendar In-Reply-To: <000001c59e70$6bbc3770$6c7aa8c0@ColbyM6805> References: <000001c59e70$6bbc3770$6c7aa8c0@ColbyM6805> Message-ID: Hi John Try dragging the border of the notes box down so there is room for the month calendar box. The month calendar may be underneath. It is on mine only it's the Taskpad that I have over there on the right with the calendar above it. Gary On 8/11/05, John W. Colby wrote: > When I click on the calendar in outlook, I am shown the day (or the week) in > yellow with the hours etc. To the right of that I am shown NOTES. I want > to see the monthly calendar there. I know this is possible because in the > archive calendar, that is the view. > > How do I display the monthly calendars instead of notes? > > John W. Colby > www.ColbyConsulting.com > > Contribute your unused CPU cycles to a good cause: > http://folding.stanford.edu/ > > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > -- Gary Kjos garykjos at gmail.com From adtp at touchtelindia.net Thu Aug 11 07:47:08 2005 From: adtp at touchtelindia.net (A.D.Tejpal) Date: Thu, 11 Aug 2005 18:17:08 +0530 Subject: [AccessD] Access 2000 Charts References: <0CC84C9461AE6445AD5A602001C41C4B05A42E@mercury.tnco-inc.com> Message-ID: <004b01c59e73$01192560$921865cb@winxp> Joe, The problem faced by you indicates that the desired values of RowSource have not yet sunk in. What you are seeing, are the default values. As a remedial action, direct editing of source datasheet for the chart object has to be undertaken. My sample database named ChartsDemo might be of interest to you. It is available at Rogers Access Library (other developers library). Link - http://www.rogersaccesslibrary.com This db demonstrates handling of charts on forms as well as reports. Items 1 & 6 of the tips provided therein should be of special relevance to your case. Best wishes, A.D.Tejpal -------------- ----- Original Message ----- From: Joe Rojas To: 'Access Developers discussion and problem solving' Sent: Thursday, August 11, 2005 01:25 Subject: [AccessD] Access 2000 Charts Hi all, I have two problems that are driving me crazy with the charting control that Access 2000 uses. 1) When I had a chart using the wizard, the datasheet for the chart is using the East, West, North data that is there by default despite the fact that my Row Source is correct. Is there a way to have the control update to reflect "real" data? 2) I resized my chart so that it fills up most of the area on my report and then changed the size mode to zoom. When I do this the text is monstrous despite the fact that the font size is set to 8. Is there a way to have the chart use the font size that is specified? Thanks! JR From jwcolby at colbyconsulting.com Thu Aug 11 08:01:15 2005 From: jwcolby at colbyconsulting.com (John W. Colby) Date: Thu, 11 Aug 2005 09:01:15 -0400 Subject: [AccessD] OT: Outlook calendar In-Reply-To: <0CC84C9461AE6445AD5A602001C41C4B05A42F@mercury.tnco-inc.com> Message-ID: <000301c59e74$c1a6b490$6c7aa8c0@ColbyM6805> It turns out that I had to grab the notes and drag the top down. It was a dividable window and the bottom section (notes) had been dragged all the way up to cover the top section (the calendar). I would NEVER have discovered that if I hadn't just happened to be watching the screen as I moved my mouse around and noticed the cursor change to the "drag boundary" cursor. John W. Colby www.ColbyConsulting.com Contribute your unused CPU cycles to a good cause: http://folding.stanford.edu/ -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Joe Rojas Sent: Thursday, August 11, 2005 8:48 AM To: 'Access Developers discussion and problem solving' Subject: RE: [AccessD] OT: Outlook calendar On the same row of icons that starts with New, there should be an icon that says Month. Click that and it should give you what you want. JR -----Original Message----- From: John W. Colby [mailto:jwcolby at colbyconsulting.com] Sent: Thursday, August 11, 2005 8:30 AM To: 'Access Developers discussion and problem solving' Subject: [AccessD] OT: Outlook calendar When I click on the calendar in outlook, I am shown the day (or the week) in yellow with the hours etc. To the right of that I am shown NOTES. I want to see the monthly calendar there. I know this is possible because in the archive calendar, that is the view. How do I display the monthly calendars instead of notes? John W. Colby www.ColbyConsulting.com Contribute your unused CPU cycles to a good cause: http://folding.stanford.edu/ -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com 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. -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From jwcolby at colbyconsulting.com Thu Aug 11 08:01:29 2005 From: jwcolby at colbyconsulting.com (John W. Colby) Date: Thu, 11 Aug 2005 09:01:29 -0400 Subject: [AccessD] OT: Outlook calendar In-Reply-To: Message-ID: <000401c59e74$cd7cf2c0$6c7aa8c0@ColbyM6805> Yep, that was it!!! John W. Colby www.ColbyConsulting.com Contribute your unused CPU cycles to a good cause: http://folding.stanford.edu/ -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Gary Kjos Sent: Thursday, August 11, 2005 8:51 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] OT: Outlook calendar Hi John Try dragging the border of the notes box down so there is room for the month calendar box. The month calendar may be underneath. It is on mine only it's the Taskpad that I have over there on the right with the calendar above it. Gary On 8/11/05, John W. Colby wrote: > When I click on the calendar in outlook, I am shown the day (or the > week) in yellow with the hours etc. To the right of that I am shown > NOTES. I want to see the monthly calendar there. I know this is > possible because in the archive calendar, that is the view. > > How do I display the monthly calendars instead of notes? > > John W. Colby > www.ColbyConsulting.com > > Contribute your unused CPU cycles to a good cause: > http://folding.stanford.edu/ > > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > -- Gary Kjos garykjos at gmail.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From JRojas at tnco-inc.com Thu Aug 11 08:07:26 2005 From: JRojas at tnco-inc.com (Joe Rojas) Date: Thu, 11 Aug 2005 09:07:26 -0400 Subject: [AccessD] Access 2000 Charts Message-ID: <0CC84C9461AE6445AD5A602001C41C4B05A431@mercury.tnco-inc.com> Thanks A.D.! This solved my datasheet problem! Thanks, Joe Rojas IT Manager TNCO, Inc. 781-447-6661 x7506 jrojas at tnco-inc.com -----Original Message----- From: A.D.Tejpal [mailto:adtp at touchtelindia.net] Sent: Thursday, August 11, 2005 8:47 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Access 2000 Charts Joe, The problem faced by you indicates that the desired values of RowSource have not yet sunk in. What you are seeing, are the default values. As a remedial action, direct editing of source datasheet for the chart object has to be undertaken. My sample database named ChartsDemo might be of interest to you. It is available at Rogers Access Library (other developers library). Link - http://www.rogersaccesslibrary.com This db demonstrates handling of charts on forms as well as reports. Items 1 & 6 of the tips provided therein should be of special relevance to your case. Best wishes, A.D.Tejpal -------------- ----- Original Message ----- From: Joe Rojas To: 'Access Developers discussion and problem solving' Sent: Thursday, August 11, 2005 01:25 Subject: [AccessD] Access 2000 Charts Hi all, I have two problems that are driving me crazy with the charting control that Access 2000 uses. 1) When I had a chart using the wizard, the datasheet for the chart is using the East, West, North data that is there by default despite the fact that my Row Source is correct. Is there a way to have the control update to reflect "real" data? 2) I resized my chart so that it fills up most of the area on my report and then changed the size mode to zoom. When I do this the text is monstrous despite the fact that the font size is set to 8. Is there a way to have the chart use the font size that is specified? Thanks! JR -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com 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. From JRojas at tnco-inc.com Thu Aug 11 08:08:55 2005 From: JRojas at tnco-inc.com (Joe Rojas) Date: Thu, 11 Aug 2005 09:08:55 -0400 Subject: [AccessD] Access 2000 Charts Message-ID: <0CC84C9461AE6445AD5A602001C41C4B05A432@mercury.tnco-inc.com> Hi Larry, Thanks for the response! I tried what you said but it still scales and it is still huge. Any other ideas? Thanks, Joe Rojas IT Manager TNCO, Inc. 781-447-6661 x7506 jrojas at tnco-inc.com -----Original Message----- From: Lawrence Mrazek [mailto:lmrazek at lcm-res.com] Sent: Wednesday, August 10, 2005 10:17 PM To: 'Access Developers discussion and problem solving' Subject: RE: [AccessD] Access 2000 Charts Hi Joe: Question 2: Check the properties of the text boxes (menus, headings, etc.). Click on a heading and bring up the properties (EX: format axis title). Click on the "fonts" tab and make sure that "auto scale" is not checked. The Auto Scale property "helps" you out by resizing everything you edited ... . Hope this helps. Larry Mrazek LCM Research, Inc. www.lcm-res.com lmrazek at lcm-res.com ph. 314-432-5886 fx. 314-432-3304 -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Joe Rojas Sent: Wednesday, August 10, 2005 2:56 PM To: 'Access Developers discussion and problem solving' Subject: [AccessD] Access 2000 Charts Hi all, I have two problems that are driving me crazy with the charting control that Access 2000 uses. 1) When I had a chart using the wizard, the datasheet for the chart is using the East, West, North data that is there by default despite the fact that my Row Source is correct. Is there a way to have the control update to reflect "real" data? 2) I resized my chart so that it fills up most of the area on my report and then changed the size mode to zoom. When I do this the text is monstrous despite the fact that the font size is set to 8. Is there a way to have the chart use the font size that is specified? Thanks! JR 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. -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/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 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. From Developer at UltraDNT.com Thu Aug 11 09:01:42 2005 From: Developer at UltraDNT.com (Steve Conklin (Developer@UltraDNT)) Date: Thu, 11 Aug 2005 10:01:42 -0400 Subject: [AccessD] Print Reports to Specific Printers WAS Where is everyone? In-Reply-To: Message-ID: <00a101c59e7d$36ce0860$640fa8c0@CONKEY2000> Didn't see if this got answered - are you using Access 2002 or higher? Much easier if the answer is yes. Each report has a printer property that is changeable at run-time: DoCmd.OpenReport strName, acViewPreview, , "invoiceid=" & lngInvID Set rpt = Reports(strName) rpt.Printer = Application.Printers(DLOOKUP ("INVOICEPRINTER","usysUSERSETTINGS","UserID='" & GetUserID & "'")) I did an article at http://my.advisor.com/doc/14608 if you are a subscriber. (I can send it off-line - if I can find it) If you are using 2000 or lower, you need PrtDevMode API code (http://support.microsoft.com/?id=129397) Either way, though, the driver has to get to the workstation, even if printing to a network printer via its share name. These 2 methods can only give you a list of printers that properly show up in Ctl Panel/Printers. Hth Steve -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Gregg Sent: Wednesday, August 10, 2005 4:30 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Where is everyone? Since everyone is so lonely... I have a general question about setting up printers/networks/Access. The client wants to print copies of Vendor Purchase Orders to multiple locations. I have total latitude with the customer on printer setup, network setup and Access. Thus far, I have been creating a report for each printer, each having the same subreport. I know there is code out there to help me a little with that. The part I really hate is setting up every user with every printer and the ongoing maintenance associated with it. I need a magic button that prints a report to the network printers I have specified in a table and doesn't care if the printer is configured on that workstation or not. Any ideas????? Gregg Steinbrenner ----- Original Message ----- From: Charlotte Foust To: AccessD at databaseadvisors.com Sent: Wednesday, August 10, 2005 11:21 AM Subject: [AccessD] Where is everyone? I haven't seen a message since yesterday afternoon. Charlotte Foust Infostat Systems, Inc. -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From JRojas at tnco-inc.com Thu Aug 11 09:14:22 2005 From: JRojas at tnco-inc.com (Joe Rojas) Date: Thu, 11 Aug 2005 10:14:22 -0400 Subject: [AccessD] Access 2000 Charts Message-ID: <0CC84C9461AE6445AD5A602001C41C4B05A434@mercury.tnco-inc.com> Out of frustration, I started to drag the edges of the chart outward. As I did this, the text magically updated to the correct size! I can't figure it out but at least it work. Any ideas on what is going on? Thanks, Joe Rojas IT Manager TNCO, Inc. 781-447-6661 x7506 jrojas at tnco-inc.com -----Original Message----- From: Joe Rojas [mailto:JRojas at tnco-inc.com] Sent: Thursday, August 11, 2005 9:09 AM To: 'Access Developers discussion and problem solving' Subject: RE: [AccessD] Access 2000 Charts Hi Larry, Thanks for the response! I tried what you said but it still scales and it is still huge. Any other ideas? Thanks, Joe Rojas IT Manager TNCO, Inc. 781-447-6661 x7506 jrojas at tnco-inc.com -----Original Message----- From: Lawrence Mrazek [mailto:lmrazek at lcm-res.com] Sent: Wednesday, August 10, 2005 10:17 PM To: 'Access Developers discussion and problem solving' Subject: RE: [AccessD] Access 2000 Charts Hi Joe: Question 2: Check the properties of the text boxes (menus, headings, etc.). Click on a heading and bring up the properties (EX: format axis title). Click on the "fonts" tab and make sure that "auto scale" is not checked. The Auto Scale property "helps" you out by resizing everything you edited ... . Hope this helps. Larry Mrazek LCM Research, Inc. www.lcm-res.com lmrazek at lcm-res.com ph. 314-432-5886 fx. 314-432-3304 -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Joe Rojas Sent: Wednesday, August 10, 2005 2:56 PM To: 'Access Developers discussion and problem solving' Subject: [AccessD] Access 2000 Charts Hi all, I have two problems that are driving me crazy with the charting control that Access 2000 uses. 1) When I had a chart using the wizard, the datasheet for the chart is using the East, West, North data that is there by default despite the fact that my Row Source is correct. Is there a way to have the control update to reflect "real" data? 2) I resized my chart so that it fills up most of the area on my report and then changed the size mode to zoom. When I do this the text is monstrous despite the fact that the font size is set to 8. Is there a way to have the chart use the font size that is specified? Thanks! JR 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. -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/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 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. -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com 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. From paul.hartland at fsmail.net Thu Aug 11 09:38:17 2005 From: paul.hartland at fsmail.net (paul.hartland at fsmail.net) Date: Thu, 11 Aug 2005 16:38:17 +0200 (CEST) Subject: [AccessD] OT - Excel Find next highest number above 0 Message-ID: <14753344.1123771097583.JavaMail.www@wwinf3001> To all, I am writing out to an Excel sheet a list of our counters names and their count rate on a specific job (ordered by CountRate DESC) by specific clients (9 clients, one sheet for each). What I need to do is get the percentage between the two extreme count rates ( (highest-lowest)/highest ) To do this I had an excel template which had the formula ( (MAX(D2:D10000)-MIN(D2:D10000))/MAX(D2:D10000) ) and thought this would do the job, however if we haven't got the count data the lowest value is 0 which results in 100%.... How can I find the next highest value to the 0, I can loop backwards up the column but thought I would ask just in case there is a much cleaning/better way of acheiving this... Paul Hartland Database Developer From Gustav at cactus.dk Thu Aug 11 10:16:07 2005 From: Gustav at cactus.dk (Gustav Brock) Date: Thu, 11 Aug 2005 17:16:07 +0200 Subject: [AccessD] OT - Excel Find next highest number above 0 Message-ID: Hi Paul Couldn't you follow this route: (max(value) - IIf(min(value) = 0, max(value), min(value))) / max(value) That would return zero if Min() is missing. /gustav >>> paul.hartland at fsmail.net 08/11 4:38 pm >>> To all, I am writing out to an Excel sheet a list of our counters names and their count rate on a specific job (ordered by CountRate DESC) by specific clients (9 clients, one sheet for each). What I need to do is get the percentage between the two extreme count rates ( (highest-lowest)/highest ) To do this I had an excel template which had the formula ( (MAX(D2:D10000)-MIN(D2:D10000))/MAX(D2:D10000) ) and thought this would do the job, however if we haven't got the count data the lowest value is 0 which results in 100%.... How can I find the next highest value to the 0, I can loop backwards up the column but thought I would ask just in case there is a much cleaning/better way of acheiving this... Paul Hartland Database Developer From paul.hartland at isharp.co.uk Thu Aug 11 10:24:10 2005 From: paul.hartland at isharp.co.uk (Paul Hartland (ISHARP)) Date: Thu, 11 Aug 2005 16:24:10 +0100 Subject: [AccessD] OT - Excel Find next highest number above 0 In-Reply-To: Message-ID: Not really, I need to calculate the two extreme values, so say if Row12 ColumnD =0 I would have to got to Row11 ColumnD and see that value, if that was also a zero then row 10, 9, 8 etc until I reach a cell with a value inside -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Gustav Brock Sent: 11 August 2005 16:16 To: accessd at databaseadvisors.com Subject: Re: [AccessD] OT - Excel Find next highest number above 0 Hi Paul Couldn't you follow this route: (max(value) - IIf(min(value) = 0, max(value), min(value))) / max(value) That would return zero if Min() is missing. /gustav >>> paul.hartland at fsmail.net 08/11 4:38 pm >>> To all, I am writing out to an Excel sheet a list of our counters names and their count rate on a specific job (ordered by CountRate DESC) by specific clients (9 clients, one sheet for each). What I need to do is get the percentage between the two extreme count rates ( (highest-lowest)/highest ) To do this I had an excel template which had the formula ( (MAX(D2:D10000)-MIN(D2:D10000))/MAX(D2:D10000) ) and thought this would do the job, however if we haven't got the count data the lowest value is 0 which results in 100%.... How can I find the next highest value to the 0, I can loop backwards up the column but thought I would ask just in case there is a much cleaning/better way of acheiving this... Paul Hartland Database Developer -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From darsant at gmail.com Thu Aug 11 10:33:34 2005 From: darsant at gmail.com (Josh McFarlane) Date: Thu, 11 Aug 2005 10:33:34 -0500 Subject: [AccessD] OT - Excel Find next highest number above 0 In-Reply-To: References: Message-ID: <53c8e05a050811083365757446@mail.gmail.com> On 8/11/05, Paul Hartland (ISHARP) wrote: > Not really, I need to calculate the two extreme values, so say if Row12 > ColumnD =0 I would have to got to Row11 ColumnD and see that value, if that > was also a zero then row 10, 9, 8 etc until I reach a cell with a value > inside Sounds like you might need to throw together a VBA function to do it, you should be able to iterate through the rows until you find the value you need that way and then return it to the cell. Granted, may be a little more work, but it's guaranteed to work, and probably will end up being less time than trying to get the built-ins to work. -- Josh McFarlane "Peace cannot be kept by force. It can only be achieved by understanding." -Albert Einstein From greggs at msn.com Thu Aug 11 12:31:01 2005 From: greggs at msn.com (Gregg) Date: Thu, 11 Aug 2005 12:31:01 -0500 Subject: [AccessD] Print Reports to Specific Printers WAS Where iseveryone? References: <00a101c59e7d$36ce0860$640fa8c0@CONKEY2000> Message-ID: I didn't know that. This customer uses 2000 but that would be handy for others if you can find it. Thanks! ----- Original Message ----- From: Steve Conklin (Developer at UltraDNT) To: 'Access Developers discussion and problem solving' Sent: Thursday, August 11, 2005 9:01 AM Subject: RE: [AccessD] Print Reports to Specific Printers WAS Where iseveryone? Didn't see if this got answered - are you using Access 2002 or higher? Much easier if the answer is yes. Each report has a printer property that is changeable at run-time: DoCmd.OpenReport strName, acViewPreview, , "invoiceid=" & lngInvID Set rpt = Reports(strName) rpt.Printer = Application.Printers(DLOOKUP ("INVOICEPRINTER","usysUSERSETTINGS","UserID='" & GetUserID & "'")) I did an article at http://my.advisor.com/doc/14608 if you are a subscriber. (I can send it off-line - if I can find it) If you are using 2000 or lower, you need PrtDevMode API code (http://support.microsoft.com/?id=129397) Either way, though, the driver has to get to the workstation, even if printing to a network printer via its share name. These 2 methods can only give you a list of printers that properly show up in Ctl Panel/Printers. Hth Steve -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Gregg Sent: Wednesday, August 10, 2005 4:30 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Where is everyone? Since everyone is so lonely... I have a general question about setting up printers/networks/Access. The client wants to print copies of Vendor Purchase Orders to multiple locations. I have total latitude with the customer on printer setup, network setup and Access. Thus far, I have been creating a report for each printer, each having the same subreport. I know there is code out there to help me a little with that. The part I really hate is setting up every user with every printer and the ongoing maintenance associated with it. I need a magic button that prints a report to the network printers I have specified in a table and doesn't care if the printer is configured on that workstation or not. Any ideas????? Gregg Steinbrenner ----- Original Message ----- From: Charlotte Foust> To: AccessD at databaseadvisors.com> Sent: Wednesday, August 10, 2005 11:21 AM Subject: [AccessD] Where is everyone? I haven't seen a message since yesterday afternoon. Charlotte Foust Infostat Systems, Inc. -- AccessD mailing list AccessD at databaseadvisors.com> http://databaseadvisors.com/mailman/listinfo/accessd sors.com/mailman/listinfo/accessd> Website: http://www.databaseadvisors.com> -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd 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 Thu Aug 11 12:55:05 2005 From: Jim.Hale at FleetPride.com (Hale, Jim) Date: Thu, 11 Aug 2005 12:55:05 -0500 Subject: [AccessD] OT - Excel Find next highest number above 0 Message-ID: <6A6AA9DF57E4F046BDA1E273BDDB6772337776@corp-es01.fleetpride.com> Look at the DMAX and DMIN functions which allow for criteria such as >0 Jim Hale -----Original Message----- From: paul.hartland at fsmail.net [mailto:paul.hartland at fsmail.net] Sent: Thursday, August 11, 2005 9:38 AM To: accessd Subject: [AccessD] OT - Excel Find next highest number above 0 To all, I am writing out to an Excel sheet a list of our counters names and their count rate on a specific job (ordered by CountRate DESC) by specific clients (9 clients, one sheet for each). What I need to do is get the percentage between the two extreme count rates ( (highest-lowest)/highest ) To do this I had an excel template which had the formula ( (MAX(D2:D10000)-MIN(D2:D10000))/MAX(D2:D10000) ) and thought this would do the job, however if we haven't got the count data the lowest value is 0 which results in 100%.... How can I find the next highest value to the 0, I can loop backwards up the column but thought I would ask just in case there is a much cleaning/better way of acheiving this... Paul Hartland Database Developer -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com *********************************************************************** The information transmitted is intended solely for the individual or entity to which it is addressed and may contain confidential and/or privileged material. Any review, retransmission, dissemination or other use of or taking action in reliance upon this information by persons or entities other than the intended recipient is prohibited. If you have received this email in error please contact the sender and delete the material from any computer. As a recipient of this email, you are responsible for screening its contents and the contents of any attachments for the presence of viruses. No liability is accepted for any damages caused by any virus transmitted by this email. From Lambert.Heenan at AIG.com Thu Aug 11 15:02:18 2005 From: Lambert.Heenan at AIG.com (Heenan, Lambert) Date: Thu, 11 Aug 2005 16:02:18 -0400 Subject: [AccessD] OT - Excel Find next highest number above 0 Message-ID: <1D7828CDB8350747AFE9D69E0E90DA1F142558BA@xlivmbx21.aig.com> So presumably you have a query that selects one client's counters and sorts them by the count rate and it is the results of this query that is being output to Excel. Something like this... SELECT tblCounters.nCountRate FROM tblCounters WHERE (((tblCounters.nClientID)=1)) ORDER BY tblCounters.nCountRate DESC; Say this is qryCountRates You could just as easily write a Totals query to do the calculation of the percentage. This query would use the first query as its data source, and it would have a criteria that would specify that the count rate must be > 0. Like this... SELECT Max(qryCountRates.nCountRate) AS MaxNo, Min(qryCountRates.nCountRate) AS MinNo, ([MaxNo]-[MinNo])/[MaxNo] AS Perc FROM qryCountRates WHERE (((qryCountRates.nCountRate)>0)); This (with some dummy data I cobbled together) produced results like this in just a few seconds: probably much faster than running a custom VBA function thousands of times. MaxNo MinNo Perc 100000 58 0.999419987201691 HTH Lambert -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of paul.hartland at fsmail.net Sent: Thursday, August 11, 2005 10:38 AM To: accessd Subject: [AccessD] OT - Excel Find next highest number above 0 To all, I am writing out to an Excel sheet a list of our counters names and their count rate on a specific job (ordered by CountRate DESC) by specific clients (9 clients, one sheet for each). What I need to do is get the percentage between the two extreme count rates ( (highest-lowest)/highest ) To do this I had an excel template which had the formula ( (MAX(D2:D10000)-MIN(D2:D10000))/MAX(D2:D10000) ) and thought this would do the job, however if we haven't got the count data the lowest value is 0 which results in 100%.... How can I find the next highest value to the 0, I can loop backwards up the column but thought I would ask just in case there is a much cleaning/better way of acheiving this... Paul Hartland Database Developer -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From Bruce.Bruen at railcorp.nsw.gov.au Thu Aug 11 20:57:57 2005 From: Bruce.Bruen at railcorp.nsw.gov.au (Bruen, Bruce) Date: Fri, 12 Aug 2005 11:57:57 +1000 Subject: [AccessD] Tagged value query Message-ID: I'm having a total mental blank on this, please help. I have an object that has 0-n tagged value pairs associated with it. Object is is one table, the tagged values are in another. There is a simple FK relationship. Here's the problem. I want to produce a report (list) of object and values for a set of the possible tagged values. An example may make it clearer. Object table tuples include a set of usecases UC1, UC2,....UCn UC1 has tagged values: InFirstRelease=true; TestPriority=2;... UC2 has tagged value: InFirstRelease=false UC3 has tagged values: InFirstRelease=true; DocumentVer=2.0; Approved=No;... The report should look like: Case blah blah InFirstRelease TestPriority UC1 .......................... TICK 2 UC2 .......................... NoTICK UC3 .......................... TICK - ... I just cannot get to 1st base on the query. Any ideas gratefully requested bruce This e-mail and any attachments may contain confidential information that is intended solely for the use of the intended recipient and may be subject to copyright. If you receive this e-mail in error, please notify the sender immediately and delete the e-mail and its attachments from your system. You must not disclose, copy or use any part of this e-mail if you are not the intended recipient. Any opinion expressed in this e-mail and any attachments is not an opinion of RailCorp unless stated or apparent from its content. RailCorp is not responsible for any unauthorised alterations to this e-mail or any attachments. RailCorp will not incur any liability resulting directly or indirectly as a result of the recipient accessing any of the attached files that may contain a virus. From ssharkins at bellsouth.net Thu Aug 11 21:19:58 2005 From: ssharkins at bellsouth.net (Susan Harkins) Date: Thu, 11 Aug 2005 22:19:58 -0400 Subject: [AccessD] Tagged value query In-Reply-To: Message-ID: <20050812021958.SIFE3975.ibm66aec.bellsouth.net@SUSANONE> You want all objects, even if they have no tags? Susan H. I'm having a total mental blank on this, please help. I have an object that has 0-n tagged value pairs associated with it. Object is is one table, the tagged values are in another. There is a simple FK relationship. Here's the problem. I want to produce a report (list) of object and values for a set of the possible tagged values. An example may make it clearer. Object table tuples include a set of usecases UC1, UC2,....UCn UC1 has tagged values: InFirstRelease=true; TestPriority=2;... UC2 has tagged value: InFirstRelease=false UC3 has tagged values: InFirstRelease=true; DocumentVer=2.0; Approved=No;... The report should look like: Case blah blah InFirstRelease TestPriority UC1 .......................... TICK 2 UC2 .......................... NoTICK UC3 .......................... TICK - ... I just cannot get to 1st base on the query. Any ideas gratefully requested bruce This e-mail and any attachments may contain confidential information that is intended solely for the use of the intended recipient and may be subject to copyright. If you receive this e-mail in error, please notify the sender immediately and delete the e-mail and its attachments from your system. You must not disclose, copy or use any part of this e-mail if you are not the intended recipient. Any opinion expressed in this e-mail and any attachments is not an opinion of RailCorp unless stated or apparent from its content. RailCorp is not responsible for any unauthorised alterations to this e-mail or any attachments. RailCorp will not incur any liability resulting directly or indirectly as a result of the recipient accessing any of the attached files that may contain a virus. -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From Bruce.Bruen at railcorp.nsw.gov.au Thu Aug 11 22:09:17 2005 From: Bruce.Bruen at railcorp.nsw.gov.au (Bruen, Bruce) Date: Fri, 12 Aug 2005 13:09:17 +1000 Subject: [AccessD] Tagged value query Message-ID: Yes. -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Susan Harkins Sent: Friday, 12 August 2005 12:20 PM To: 'Access Developers discussion and problem solving' Subject: RE: [AccessD] Tagged value query You want all objects, even if they have no tags? Susan H. I'm having a total mental blank on this, please help. I have an object that has 0-n tagged value pairs associated with it. Object is is one table, the tagged values are in another. There is a simple FK relationship. Here's the problem. I want to produce a report (list) of object and values for a set of the possible tagged values. An example may make it clearer. Object table tuples include a set of usecases UC1, UC2,....UCn UC1 has tagged values: InFirstRelease=true; TestPriority=2;... UC2 has tagged value: InFirstRelease=false UC3 has tagged values: InFirstRelease=true; DocumentVer=2.0; Approved=No;... The report should look like: Case blah blah InFirstRelease TestPriority UC1 .......................... TICK 2 UC2 .......................... NoTICK UC3 .......................... TICK - ... I just cannot get to 1st base on the query. Any ideas gratefully requested bruce This e-mail and any attachments may contain confidential information that is intended solely for the use of the intended recipient and may be subject to copyright. If you receive this e-mail in error, please notify the sender immediately and delete the e-mail and its attachments from your system. You must not disclose, copy or use any part of this e-mail if you are not the intended recipient. Any opinion expressed in this e-mail and any attachments is not an opinion of RailCorp unless stated or apparent from its content. RailCorp is not responsible for any unauthorised alterations to this e-mail or any attachments. RailCorp will not incur any liability resulting directly or indirectly as a result of the recipient accessing any of the attached files that may contain a virus. -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/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 e-mail and any attachments may contain confidential information that is intended solely for the use of the intended recipient and may be subject to copyright. If you receive this e-mail in error, please notify the sender immediately and delete the e-mail and its attachments from your system. You must not disclose, copy or use any part of this e-mail if you are not the intended recipient. Any opinion expressed in this e-mail and any attachments is not an opinion of RailCorp unless stated or apparent from its content. RailCorp is not responsible for any unauthorised alterations to this e-mail or any attachments. RailCorp will not incur any liability resulting directly or indirectly as a result of the recipient accessing any of the attached files that may contain a virus. From ssharkins at bellsouth.net Fri Aug 12 00:02:19 2005 From: ssharkins at bellsouth.net (Susan Harkins) Date: Fri, 12 Aug 2005 01:02:19 -0400 Subject: [AccessD] Tagged value query In-Reply-To: Message-ID: <20050812050218.QKCP4854.ibm57aec.bellsouth.net@SUSANONE> Have you tried an outer join? Left outer will retrieve all the primary key values in the one table. Right outer will retrieve all the foreign key values in the many table. Susan H. Yes. You want all objects, even if they have no tags? From Johncliviger at aol.com Sat Aug 13 06:13:15 2005 From: Johncliviger at aol.com (Johncliviger at aol.com) Date: Sat, 13 Aug 2005 07:13:15 EDT Subject: [AccessD] Upsize wizard MDB to SQL Message-ID: <55.792af042.302f2fcb@aol.com> Hi all I've asked to migrate an Access 2002 BE to SQL 2000 server. Not having done this before and not wanting fans and brown stuff to meet. So I 'm looking for a some documentation on this. My initial view is to apply the upsize wizard to the BE and keep the FE as it is and link it via odbc to SQL BE. Comments and pointers most welcome. johnb From JHewson at karta.com Sat Aug 13 13:14:28 2005 From: JHewson at karta.com (Jim Hewson) Date: Sat, 13 Aug 2005 13:14:28 -0500 Subject: [AccessD] SQL Server BE - Access FE Message-ID: <9C382E065F54AE48BC3AA7925DCBB01C036B66CA@karta-exc-int.Karta.com> Works good.... I can't seem to figure out how the security on the SQL Database can be used. When I first go into the FE, the forms work... when I need to look at any of the data, I get an error message about the login failed for the user. I click the OK button and get another screen with Server visible and the Use Trusted Connection checked. When I uncheck the box, the Login ID and Password are available to enter the correct information. I've looked into the help and couldn't find what I needed. I have one user in SQL Server with the correct security (Read-Only). How do I connect without going through that sequence? TIA Jim From mikedorism at verizon.net Sat Aug 13 14:29:42 2005 From: mikedorism at verizon.net (Mike & Doris Manning) Date: Sat, 13 Aug 2005 15:29:42 -0400 Subject: [AccessD] SQL Server BE - Access FE In-Reply-To: <9C382E065F54AE48BC3AA7925DCBB01C036B66CA@karta-exc-int.Karta.com> Message-ID: <000001c5a03d$5b997500$2e01a8c0@dorismanning> If you use an ADP with Windows authentication, you will get around that. Otherwise you'll have to pop-up a login box each time you open the database to set the connection. Doris Manning mikedorism at verizon.net -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Jim Hewson Sent: Saturday, August 13, 2005 2:14 PM To: AccessD Subject: [AccessD] SQL Server BE - Access FE Works good.... I can't seem to figure out how the security on the SQL Database can be used. When I first go into the FE, the forms work... when I need to look at any of the data, I get an error message about the login failed for the user. I click the OK button and get another screen with Server visible and the Use Trusted Connection checked. When I uncheck the box, the Login ID and Password are available to enter the correct information. I've looked into the help and couldn't find what I needed. I have one user in SQL Server with the correct security (Read-Only). How do I connect without going through that sequence? TIA Jim -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From martyconnelly at shaw.ca Sat Aug 13 14:30:06 2005 From: martyconnelly at shaw.ca (MartyConnelly) Date: Sat, 13 Aug 2005 12:30:06 -0700 Subject: [AccessD] Upsize wizard MDB to SQL References: <55.792af042.302f2fcb@aol.com> Message-ID: <42FE4A3E.2090400@shaw.ca> Here is a list of considerations to look at re conversion mdb be to sql and links to MS upsizing wizard white paper. http://www.upsizewizard.com/index.cfm?fuseaction=browse&id=5036&pageid=22 Here is a method of relinking SQL Server via DAO ODBC via DSN-Less Connections It also has a coding method to ensure SQL Backend tables have an Index. A common problem otherwise your SQL tables are not updateable. http://www.accessmvp.com/djsteele/DSNLessLinks.html It is not so easy if you go with ADO and SQL Stored Procedures, you will have to change forms etc. and queries. Easy . Well it is is easy to repair space shuttle heat tiles, if you have the right tool - an opposable thumb. Also make sure you understand, how to do proper SQL Backup procedures. This book might help SQL: Access to SQL Server (Paperback) by Susan Sales Harkins, Martin W.P. Reid Johncliviger at aol.com wrote: >Hi all > >I've asked to migrate an Access 2002 BE to SQL 2000 server. Not having done >this before and not wanting fans and brown stuff to meet. So I 'm looking for >a some documentation on this. > >My initial view is to apply the upsize wizard to the BE and keep the FE as >it is and link it via odbc to SQL BE. > >Comments and pointers most welcome. > >johnb > > -- Marty Connelly Victoria, B.C. Canada From martyconnelly at shaw.ca Sat Aug 13 14:30:06 2005 From: martyconnelly at shaw.ca (MartyConnelly) Date: Sat, 13 Aug 2005 12:30:06 -0700 Subject: [AccessD] Upsize wizard MDB to SQL References: <55.792af042.302f2fcb@aol.com> Message-ID: <42FE4A3E.2090400@shaw.ca> Here is a list of considerations to look at re conversion mdb be to sql and links to MS upsizing wizard white paper. http://www.upsizewizard.com/index.cfm?fuseaction=browse&id=5036&pageid=22 Here is a method of relinking SQL Server via DAO ODBC via DSN-Less Connections It also has a coding method to ensure SQL Backend tables have an Index. A common problem otherwise your SQL tables are not updateable. http://www.accessmvp.com/djsteele/DSNLessLinks.html It is not so easy if you go with ADO and SQL Stored Procedures, you will have to change forms etc. and queries. Easy . Well it is is easy to repair space shuttle heat tiles, if you have the right tool - an opposable thumb. Also make sure you understand, how to do proper SQL Backup procedures. This book might help SQL: Access to SQL Server (Paperback) by Susan Sales Harkins, Martin W.P. Reid Johncliviger at aol.com wrote: >Hi all > >I've asked to migrate an Access 2002 BE to SQL 2000 server. Not having done >this before and not wanting fans and brown stuff to meet. So I 'm looking for >a some documentation on this. > >My initial view is to apply the upsize wizard to the BE and keep the FE as >it is and link it via odbc to SQL BE. > >Comments and pointers most welcome. > >johnb > > -- Marty Connelly Victoria, B.C. Canada From martyconnelly at shaw.ca Sat Aug 13 17:01:15 2005 From: martyconnelly at shaw.ca (MartyConnelly) Date: Sat, 13 Aug 2005 15:01:15 -0700 Subject: [AccessD] Upsize wizard MDB to SQL References: <55.792af042.302f2fcb@aol.com> <42FE4A3E.2090400@shaw.ca> Message-ID: <42FE6DAB.3060506@shaw.ca> Couple of other books that might come in handy Good explanation on how to use SP's from Access Microsoft Access Developer's Guide to SQL Server (Paperback) by Andy Baron, Mary Chipman Don Celko's series on SQL for Smarties I think there are 4 in series Good if you need to anything complex in SQL like storing hierarchial structures ie relational tables to XML. I see Mary Chipman has gone to work at Microsoft, along with Michael Kaplan. MartyConnelly wrote: > Here is a list of considerations to look at re conversion mdb be to sql > and links to MS upsizing wizard white paper. > > http://www.upsizewizard.com/index.cfm?fuseaction=browse&id=5036&pageid=22 > > > Here is a method of relinking SQL Server via DAO ODBC via DSN-Less > Connections > It also has a coding method to ensure SQL Backend tables have an Index. > A common problem otherwise your SQL tables are not updateable. > > http://www.accessmvp.com/djsteele/DSNLessLinks.html > > It is not so easy if you go with ADO and SQL Stored Procedures, you > will have to change forms etc. > and queries. > > Easy . Well it is is easy to repair space shuttle heat tiles, if you > have the right tool - an opposable thumb. > > Also make sure you understand, how to do proper SQL Backup procedures. > > This book might help SQL: Access to SQL Server (Paperback) > by Susan Sales Harkins, Martin W.P. Reid > > > Johncliviger at aol.com wrote: > >> Hi all >> >> I've asked to migrate an Access 2002 BE to SQL 2000 server. Not >> having done this before and not wanting fans and brown stuff to >> meet. So I 'm looking for a some documentation on this. >> >> My initial view is to apply the upsize wizard to the BE and keep the >> FE as it is and link it via odbc to SQL BE. >> Comments and pointers most welcome. >> johnb >> >> > -- Marty Connelly Victoria, B.C. Canada From jwcolby at colbyconsulting.com Sat Aug 13 17:25:57 2005 From: jwcolby at colbyconsulting.com (John W. Colby) Date: Sat, 13 Aug 2005 18:25:57 -0400 Subject: [AccessD] Reporting a bug to Microsoft Message-ID: <002c01c5a055$f9d1fcc0$6c7aa8c0@ColbyM6805> Have you ever wanted to report a bug to MS but didn't know how? MSWish at Microsoft.com Is an email address for doing so. I am told (by MS Developer tech support) that you can send email to this address and they will respond. I just sent a rather long email to them outlining an "Access crashes" bug. We shall see. John W. Colby www.ColbyConsulting.com Contribute your unused CPU cycles to a good cause: http://folding.stanford.edu/ From jwcolby at colbyconsulting.com Sat Aug 13 17:28:31 2005 From: jwcolby at colbyconsulting.com (John W. Colby) Date: Sat, 13 Aug 2005 18:28:31 -0400 Subject: [AccessD] Report a bug Message-ID: <002d01c5a056$55c5dfb0$6c7aa8c0@ColbyM6805> BTW, the web site with the phone number (wade through a long phone menu) is: http://support.microsoft.com/gp/contactbug John W. Colby www.ColbyConsulting.com Contribute your unused CPU cycles to a good cause: http://folding.stanford.edu/ From dwaters at usinternet.com Sat Aug 13 19:59:01 2005 From: dwaters at usinternet.com (Dan Waters) Date: Sat, 13 Aug 2005 19:59:01 -0500 Subject: [AccessD] Reporting a bug to Microsoft In-Reply-To: <23354458.1123972196196.JavaMail.root@sniper15> Message-ID: <000001c5a06b$60b6ba60$0300a8c0@danwaters> John, I once reported an Access bug and my workaround to MS (had to do with conditional formatting). They duplicated the problem perfectly, and told me they passed it on to the development group. At the end of the email conversation, I was told, "Mr. Waters, because you were able to resolve this problem yourself, we won't reduce the number of free tech help support hours you have." Gee - Thanks! I did resolve the error myself (by multiplying a numeric field value by the number 1), and I didn't know I had any free tech support hours to begin with. So - be careful you don't lose any of those hours! Dan Waters -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of John W. Colby Sent: Saturday, August 13, 2005 5:26 PM To: 'Access Developers discussion and problem solving' Subject: [AccessD] Reporting a bug to Microsoft Have you ever wanted to report a bug to MS but didn't know how? MSWish at Microsoft.com Is an email address for doing so. I am told (by MS Developer tech support) that you can send email to this address and they will respond. I just sent a rather long email to them outlining an "Access crashes" bug. We shall see. John W. Colby www.ColbyConsulting.com Contribute your unused CPU cycles to a good cause: http://folding.stanford.edu/ -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From artful at rogers.com Sat Aug 13 21:07:52 2005 From: artful at rogers.com (Arthur Fuller) Date: Sat, 13 Aug 2005 22:07:52 -0400 Subject: [AccessD] Query difference between Access 97 and 2002 In-Reply-To: Message-ID: <200508140207.j7E27nR05729@databaseadvisors.com> You could also use a static function to put this problem in a nice little package and forget about it forever. Check the archives for my previous rants on static functions. If you can't find one, I'll send you the sample code off-list. Arthur -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Charlotte Foust Sent: August 9, 2005 4:32 PM To: Access Developers discussion and problem solving Subject: RE: [AccessD] Query difference between Access 97 and 2002 In addition to Jin's suggestion, check the query parameter for that reference and make sure all the square brackets are in the right places. In 97 you could leave them out entirely or put them around a single element of the reference. In 2000 and later, the query engine will insert a pair of square brackets around the entire reference if any of the brackets around the individual elements were skipped. I've run into this repeatedly. Charlotte Foust -----Original Message----- From: Jim Dettman [mailto:jimdettman at earthlink.net] Sent: Tuesday, August 09, 2005 12:21 PM To: Access Developers discussion and problem solving Subject: RE: [AccessD] Query difference between Access 97 and 2002 Barb, Make sure you explicitly type (text, date, integer) the data expected in the control (in query design, goto query/parameters). Jim. -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Barbara Ryan Sent: Tuesday, August 09, 2005 3:20 PM To: Access List Subject: [AccessD] Query difference between Access 97 and 2002 I have converted an Access 97 application to Access 2002 (XP). A query that works in 97 will no longer work in XP. The field in the query causing the problem is referencing an unbound text box on an open form, i.e., the field name in the query is "PeriodEndDate:[Forms]![frmPerDiemEntry]![txtPeriodEndDate]". When I execute the query in 97, I see the contents of txtPeriodEndDate; however, in XP, it is blank/null. Any ideas? Thanks, Barb Ryan -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From jwcolby at colbyconsulting.com Sat Aug 13 21:11:19 2005 From: jwcolby at colbyconsulting.com (John W. Colby) Date: Sat, 13 Aug 2005 22:11:19 -0400 Subject: [AccessD] Reporting a bug to Microsoft In-Reply-To: <000001c5a06b$60b6ba60$0300a8c0@danwaters> Message-ID: <003801c5a075$79aa7840$6c7aa8c0@ColbyM6805> LOL, reduce the number of free support hours because you report a BUG to them. That's classic. John W. Colby www.ColbyConsulting.com Contribute your unused CPU cycles to a good cause: http://folding.stanford.edu/ -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Dan Waters Sent: Saturday, August 13, 2005 8:59 PM To: 'Access Developers discussion and problem solving' Subject: RE: [AccessD] Reporting a bug to Microsoft John, I once reported an Access bug and my workaround to MS (had to do with conditional formatting). They duplicated the problem perfectly, and told me they passed it on to the development group. At the end of the email conversation, I was told, "Mr. Waters, because you were able to resolve this problem yourself, we won't reduce the number of free tech help support hours you have." Gee - Thanks! I did resolve the error myself (by multiplying a numeric field value by the number 1), and I didn't know I had any free tech support hours to begin with. So - be careful you don't lose any of those hours! Dan Waters -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of John W. Colby Sent: Saturday, August 13, 2005 5:26 PM To: 'Access Developers discussion and problem solving' Subject: [AccessD] Reporting a bug to Microsoft Have you ever wanted to report a bug to MS but didn't know how? MSWish at Microsoft.com Is an email address for doing so. I am told (by MS Developer tech support) that you can send email to this address and they will respond. I just sent a rather long email to them outlining an "Access crashes" bug. We shall see. John W. Colby www.ColbyConsulting.com Contribute your unused CPU cycles to a good cause: http://folding.stanford.edu/ -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd 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 Aug 13 21:11:52 2005 From: artful at rogers.com (Arthur Fuller) Date: Sat, 13 Aug 2005 22:11:52 -0400 Subject: [AccessD] Clear Debug Window Programmatically In-Reply-To: Message-ID: <200508140211.j7E2BnR06568@databaseadvisors.com> I thought that I had explained why I want to do it programmatically, but in case I didn't or it was missed, I shall repeat: I sprinkle my code with liberal doses of Debug.Print statements, particularly when debugging or exploring new corners. I might put a breakpoint on several statements at the end of a string of such Debug.Print statements. The window rapidly fills up. I want to be able to do housecleaning at certain points, such that the debug window contains only the results since my last housecleaning. It's not a big deal. I can survive as I have been doing. I simply wondered whether there was a statement equivalent to clearing the debug window. Arthur -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Charlotte Foust Sent: August 9, 2005 4:35 PM To: Access Developers discussion and problem solving Subject: RE: [AccessD] Clear Debug Window Programmatically I realize that you asked for a programmatic method. However, since the debug window is only available in the VBE, I didn't see any purpose in a programmatic method ... In XP and above, of course. You didn't indicate the version or WHY you needed it, so it's your own fault if we wandered off in another direction! LOL Charlotte Foust From artful at rogers.com Sat Aug 13 21:36:54 2005 From: artful at rogers.com (Arthur Fuller) Date: Sat, 13 Aug 2005 22:36:54 -0400 Subject: [AccessD] Memo field parsing In-Reply-To: Message-ID: <200508140236.j7E2aqR12730@databaseadvisors.com> What a nice and beautifully explained piece of code, A.D. My compliments! Arthur -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Gregg Sent: August 10, 2005 3:33 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Memo field parsing Worked like a charm A.D. thanks again! ----- Original Message ----- From: A.D.Tejpal To: Access Developers discussion and problem solving Sent: Thursday, August 04, 2005 2:57 PM Subject: Re: [AccessD] Memo field parsing Gregg, For sake of demonstration, let the source table named T_Memo consist of two fields, named ID (primary key - Autonumber) and Mem (memo type). Create another table, named T_MemRef, with just one field named Ref (number type). Populate this table with just two records, with values 1 and 2 respectively. Query Q_Memo as given below, should be used as record source for your report. It involves Cartesian join between tables T_Memo and T_MemRef. In detail section of your report, drag Mem and Ref from the field list, so as to create bound controls named Mem and Ref. Make these controls hidden, set their CanGrow property to "No" and position the same un-obtrusively. Insert an unbound text box named TxtMemo. This is the text box that would actually display the contents of memo field. Set the width and fonts as desired. Set the CanGrow property of this control as well as the detail section as a whole, to "Yes". In VBA window, put the code given below, in Detail_Format event of the report. Make sure that the item "On Format" in Event tab of properties dialog box shows [Event Procedure] against it. Now, when you run the report, first three lines of the memo field will get displayed on first page and the balance portion on the next page. Similar pattern would get repeated for all records. Best wishes, A.D.Tejpal -------------- Source Query for the report (Q_Memo) ===================================== SELECT T_Memo.ID, T_MemRef.Ref, T_Memo.Mem FROM T_Memo, T_MemRef ORDER BY T_Memo.ID, T_MemRef.Ref; ===================================== Code in Report's Module ===================================== Private Sub Detail_Format(Cancel As Integer, _ FormatCount As Integer) Dim Wd As Long, Rw As Single, Mgn As Long Dim LenMem As Long, Txt As String, Lft As Long Dim LastSpace As Long, MaxRowsFirstPart Dim Mpf As Single MaxRowsFirstPart = 3 LenMem = Len(Mem) If LenMem > 0 Then Else Exit Sub End If With Me ' Set the scale mode to twips .ScaleMode = 1 ' Set Font values for report to match those of memo field. .FontName = TxtMemo.FontName .FontSize = TxtMemo.FontSize If TxtMemo.FontBold <> 0 Then .FontBold = True Else .FontBold = False End If End With ' Allow for necessary margin within a text box ' (Between its border and the content) Mgn = 170 ' This value may need fine tuning for ' best results ' Get effective width of control meant for ' displaying memo field Wd = TxtMemo.Width - Mgn ' Get the number of characters so as to make-up the ' required number of rows for first part of memo field. For Lft = 1 To LenMem Txt = Left(Mem, Lft) LastSpace = IIf(Right(Txt, 1) = " ", Lft, LastSpace) Rw = TextWidth(Txt) / Wd If Rw > MaxRowsFirstPart Then Lft = Lft - 1 Exit For End If Next Debug.Print Lft; ", "; LastSpace ' Get Multiplying factor for acceptable max location ' of last space. Mpf = (0.8 + (MaxRowsFirstPart - 1)) / MaxRowsFirstPart ' Shorten the first part to nearest space ' (if within 20 % of the end of line) If LastSpace > Mpf * Lft And LastSpace < Lft Then Lft = LastSpace End If ' Populate the unbound text box with appropriate ' part of memo field. If Ref = 1 Then TxtMemo = Left(Mem, Lft) ' Force New Page - Afer section, only if memo ' field contents not yet finished If LenMem > Lft Then Detail.ForceNewPage = 2 Else Detail.ForceNewPage = 0 ' No break End If Else TxtMemo = Mid(Mem, Lft + 1) ' Force New Page - Afer section Detail.ForceNewPage = 2 End If End Sub ===================================== ----- Original Message ----- From: Gregg To: Access Developers discussion and problem solving Cc: Robert Penn Sent: Thursday, August 04, 2005 04:19 Subject: Re: [AccessD] Memo field parsing Thanks Charlotte! I give it a try. ----- Original Message ----- From: Charlotte Foust> To: Access Developers discussion and problem solving> Sent: Wednesday, August 03, 2005 5:33 PM Subject: RE: [AccessD] Memo field parsing No, get the textwidth of the control and see if the textwidth of the text is greater than that. Handle the situation where it is not and everything fits in the first control. Otherwise get the text that fits within the control textwidth and use instrRev to find the last space in that substring. Break it there. At that point, you also know the index of the starting point for the rest of the string, so all you need to do for the next page is use the Mid(text, index) to put the rest of it into the second page. Charlotte Foust -----Original Message----- From: Gregg [mailto:greggs at msn.com] Sent: Wednesday, August 03, 2005 11:34 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Memo field parsing So, you're saying I need to loop through all the characters until I find the last whole word that will fit on the first line, the same for the second etc. until I determine what text will fit in the first page text field and use what's left for the 2nd page? ----- Original Message ----- From: Charlotte Foust>> To: Access Developers discussion and problem solving >> Sent: Wednesday, August 03, 2005 11:02 AM Subject: RE: [AccessD] Memo field parsing You can't do it by simply counting characters anyhow. You have to use the TextWidth property, which can be expressed as reportname.TextWidth(stringvariable) and compare that to the textwidth of the control ( reportname.TextWidth(controlobject) or to the maximum length you want to display. You'll also want to allow a padding factor to avoid overrunning the borders of the control and be sure and check for carriage returns because they confuse the issue. If you want to display 3 "lines", you'll have to break the memo field into the first three chunks that will fit into the textwidth of the textbox you're using to display the text on that page. Charlotte Foust -----Original Message----- From: Gregg [mailto:greggs at msn.com] Sent: Wednesday, August 03, 2005 8:43 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Memo field parsing Charlotte Physical space I think because I don't know how to get from one to the other. The number of characters is going to be dependant on the how many characters are lost to word wrapping isn't it? Is there a way to calculate the number of characters that will appear in the first three lines? If I knew that, I could do it. ----- Original Message ----- From: Charlotte Foust> m>> To: Access Developers discussion and problem solving> ors.com>> Sent: Wednesday, August 03, 2005 10:28 AM Subject: RE: [AccessD] Memo field parsing Define "first three lines". Is that a particular number of characters or a physical space? Charlotte Foust -----Original Message----- From: Gregg [mailto:greggs at msn.com] Sent: Wednesday, August 03, 2005 7:32 AM To: Access Developers discussion and problem solving Subject: [AccessD] Memo field parsing I would like to parse a memo field in a A97 report such that the first three lines is on the first page and whatever is left is on the next. Any ideas? Gregg Steinbrenner -- AccessD mailing list -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd 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 Aug 13 21:38:04 2005 From: artful at rogers.com (Arthur Fuller) Date: Sat, 13 Aug 2005 22:38:04 -0400 Subject: [AccessD] Where is everyone? In-Reply-To: <00c101c59de2$296bd670$6c7aa8c0@ColbyM6805> Message-ID: <200508140238.j7E2c0R13359@databaseadvisors.com> Somebody should write up the history of AccessD for publication in the newsletter, and for posterity. -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of John W. Colby Sent: August 10, 2005 3:32 PM To: 'Access Developers discussion and problem solving' Subject: RE: [AccessD] Where is everyone? Ahhhh... The beginning of DatabaseAdvisors. I remember it well. John W. Colby www.ColbyConsulting.com Contribute your unused CPU cycles to a good cause: http://folding.stanford.edu/ -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Michael R Mattys Sent: Wednesday, August 10, 2005 3:22 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Where is everyone? I was going through my old email and found a couple on my trip down Memory Lane: From: David Scott [mailto:davidscott at mtgroup.com] Sent: Tuesday, June 13, 2000 11:56 AM To: Christopher Hawkins Subject: RE: Help! My posts are getting bounced! I only pop in on the list maybe once every month or two to see what's going on. Today I signed on and received a mailbox full of some of the most ridiculous posts I've ever seen. People lobbing insults at each other, flames, etc. I have a very limited amount of bandwidth, and accessd takes most of it. I'll be darned if I'm going to take bandwidth away from my customers who need it to support this kind of list traffic. As of today, accessd is dead. I may bring it back up later, depending on the response I get. When (if) I do, the people who were active members this morning will be back on then. I don't want to come across to you too harsh - personally you may have not contributed to this incident at all, but I'm pretty miffed at the whole thing. Dave -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From jwcolby at colbyconsulting.com Sat Aug 13 21:38:58 2005 From: jwcolby at colbyconsulting.com (John W. Colby) Date: Sat, 13 Aug 2005 22:38:58 -0400 Subject: [AccessD] Query difference between Access 97 and 2002 In-Reply-To: <200508140207.j7E27nR05729@databaseadvisors.com> Message-ID: <003901c5a079$557b2d30$6c7aa8c0@ColbyM6805> And look at mine where I replace Arthur's static variable with a collection to turn the function into single function with many storage locations. ' 'Fltr takes two parameters - the filter name, and the filter value (which is optional). ' 'The first syntax can be used to set the filter value: ' 'fltr "MyFltr1", MyFltrValue ' 'The filter lstrName is used as the key into the collection, i.e. when lvarValue 'is stored, it is stored with a key of lstrName. ' 'The second syntax can be used to retrieve the value of the filter: ' 'fltr("MyFltr1") ' 'The fact that the second parameter is Optional allows us to check whether a value 'has been passed in. If no value is passed in, then the assumption is that the filter 'is expecting to return a value. ' 'Because the filter uses a collection internally to save the values, this single 'function can store up to 32K different filter values. ' 'Because lvarValue is a variant, the value stored can be pretty much anything. 'In fact it is necessary to use ctl.VALUE if you want to store an unchanging value 'from a control, since passing in a pointer to a control will then return the value 'of the control, which may change over time. ' Public Function Fltr(lstrName As String, Optional lvarValue As Variant) As Variant On Error GoTo Err_Fltr Static mcolFilter As Collection Static blnFltrInitialized As Boolean If Not blnFltrInitialized Then Set mcolFilter = New Collection blnFltrInitialized = True End If If IsMissing(lvarValue) Then On Error Resume Next Fltr = mcolFilter(lstrName) If Err <> 0 Then Fltr = Null End If Else On Error Resume Next mcolFilter.Remove lstrName mcolFilter.Add lvarValue, lstrName Fltr = lvarValue End If Exit_Fltr: Exit Function Err_Fltr: MsgBox Err.Description, , "Error in Function basFltrFunctions.Fltr" Resume Exit_Fltr Resume 0 '.FOR TROUBLESHOOTING End Function John W. Colby www.ColbyConsulting.com Contribute your unused CPU cycles to a good cause: http://folding.stanford.edu/ -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Arthur Fuller Sent: Saturday, August 13, 2005 10:08 PM To: 'Access Developers discussion and problem solving' Subject: RE: [AccessD] Query difference between Access 97 and 2002 You could also use a static function to put this problem in a nice little package and forget about it forever. Check the archives for my previous rants on static functions. If you can't find one, I'll send you the sample code off-list. Arthur From stuart at lexacorp.com.pg Sat Aug 13 21:44:55 2005 From: stuart at lexacorp.com.pg (Stuart McLachlan) Date: Sun, 14 Aug 2005 12:44:55 +1000 Subject: [AccessD] Clear Debug Window Programmatically In-Reply-To: <200508140211.j7E2BnR06568@databaseadvisors.com> References: Message-ID: <42FF3CC7.27650.4BD2ACD@stuart.lexacorp.com.pg> On 13 Aug 2005 at 22:11, Arthur Fuller wrote: > > It's not a big deal. I can survive as I have been doing. I simply wondered > whether there was a statement equivalent to clearing the debug window. Try googling "Debug.Clear" :-( It appears on just about every VB/VBA wishlist I've seen since VB3 and it's never been implemented. -- Stuart From newsgrps at dalyn.co.nz Sat Aug 13 21:57:36 2005 From: newsgrps at dalyn.co.nz (David Emerson) Date: Sun, 14 Aug 2005 14:57:36 +1200 Subject: [AccessD] Clear Debug Window Programmatically In-Reply-To: <42FF3CC7.27650.4BD2ACD@stuart.lexacorp.com.pg> References: <42FF3CC7.27650.4BD2ACD@stuart.lexacorp.com.pg> Message-ID: <6.2.1.2.0.20050814145616.03114b30@mail.dalyn.co.nz> As a cheap option, how about sending a few character returns to move the existing text down out of the way? David At 08/14/2005, you wrote: >On 13 Aug 2005 at 22:11, Arthur Fuller wrote: > > > > > It's not a big deal. I can survive as I have been doing. I simply wondered > > whether there was a statement equivalent to clearing the debug window. > >Try googling "Debug.Clear" :-( > >It appears on just about every VB/VBA wishlist I've seen since VB3 and it's >never been implemented. > >-- >Stuart From adtp at touchtelindia.net Sat Aug 13 23:08:44 2005 From: adtp at touchtelindia.net (A.D.Tejpal) Date: Sun, 14 Aug 2005 09:38:44 +0530 Subject: [AccessD] Memo field parsing References: <200508140236.j7E2aqR12730@databaseadvisors.com> Message-ID: <004201c5a086$3b0d8210$af1865cb@winxp> Thanks Arthur! - for your kind words. So nice of you. A.D.Tejpal -------------- ----- Original Message ----- From: Arthur Fuller To: 'Access Developers discussion and problem solving' Sent: Sunday, August 14, 2005 08:06 Subject: RE: [AccessD] Memo field parsing What a nice and beautifully explained piece of code, A.D. My compliments! Arthur -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Gregg Sent: August 10, 2005 3:33 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Memo field parsing Worked like a charm A.D. thanks again! ----- Original Message ----- From: A.D.Tejpal To: Access Developers discussion and problem solving Sent: Thursday, August 04, 2005 2:57 PM Subject: Re: [AccessD] Memo field parsing Gregg, For sake of demonstration, let the source table named T_Memo consist of two fields, named ID (primary key - Autonumber) and Mem (memo type). Create another table, named T_MemRef, with just one field named Ref (number type). Populate this table with just two records, with values 1 and 2 respectively. Query Q_Memo as given below, should be used as record source for your report. It involves Cartesian join between tables T_Memo and T_MemRef. In detail section of your report, drag Mem and Ref from the field list, so as to create bound controls named Mem and Ref. Make these controls hidden, set their CanGrow property to "No" and position the same un-obtrusively. Insert an unbound text box named TxtMemo. This is the text box that would actually display the contents of memo field. Set the width and fonts as desired. Set the CanGrow property of this control as well as the detail section as a whole, to "Yes". In VBA window, put the code given below, in Detail_Format event of the report. Make sure that the item "On Format" in Event tab of properties dialog box shows [Event Procedure] against it. Now, when you run the report, first three lines of the memo field will get displayed on first page and the balance portion on the next page. Similar pattern would get repeated for all records. Best wishes, A.D.Tejpal -------------- Source Query for the report (Q_Memo) ===================================== SELECT T_Memo.ID, T_MemRef.Ref, T_Memo.Mem FROM T_Memo, T_MemRef ORDER BY T_Memo.ID, T_MemRef.Ref; ===================================== Code in Report's Module ===================================== Private Sub Detail_Format(Cancel As Integer, _ FormatCount As Integer) Dim Wd As Long, Rw As Single, Mgn As Long Dim LenMem As Long, Txt As String, Lft As Long Dim LastSpace As Long, MaxRowsFirstPart Dim Mpf As Single MaxRowsFirstPart = 3 LenMem = Len(Mem) If LenMem > 0 Then Else Exit Sub End If With Me ' Set the scale mode to twips .ScaleMode = 1 ' Set Font values for report to match those of memo field. .FontName = TxtMemo.FontName .FontSize = TxtMemo.FontSize If TxtMemo.FontBold <> 0 Then .FontBold = True Else .FontBold = False End If End With ' Allow for necessary margin within a text box ' (Between its border and the content) Mgn = 170 ' This value may need fine tuning for ' best results ' Get effective width of control meant for ' displaying memo field Wd = TxtMemo.Width - Mgn ' Get the number of characters so as to make-up the ' required number of rows for first part of memo field. For Lft = 1 To LenMem Txt = Left(Mem, Lft) LastSpace = IIf(Right(Txt, 1) = " ", Lft, LastSpace) Rw = TextWidth(Txt) / Wd If Rw > MaxRowsFirstPart Then Lft = Lft - 1 Exit For End If Next Debug.Print Lft; ", "; LastSpace ' Get Multiplying factor for acceptable max location ' of last space. Mpf = (0.8 + (MaxRowsFirstPart - 1)) / MaxRowsFirstPart ' Shorten the first part to nearest space ' (if within 20 % of the end of line) If LastSpace > Mpf * Lft And LastSpace < Lft Then Lft = LastSpace End If ' Populate the unbound text box with appropriate ' part of memo field. If Ref = 1 Then TxtMemo = Left(Mem, Lft) ' Force New Page - Afer section, only if memo ' field contents not yet finished If LenMem > Lft Then Detail.ForceNewPage = 2 Else Detail.ForceNewPage = 0 ' No break End If Else TxtMemo = Mid(Mem, Lft + 1) ' Force New Page - Afer section Detail.ForceNewPage = 2 End If End Sub ===================================== From Johncliviger at aol.com Sun Aug 14 05:42:23 2005 From: Johncliviger at aol.com (Johncliviger at aol.com) Date: Sun, 14 Aug 2005 06:42:23 EDT Subject: [AccessD] Upsize wizard MDB to SQL Message-ID: <1fb.e9ff7bd.30307a0f@aol.com> Hi Martin Thanks for the pointers. They should keep me busy for a while. Its going to be a steep learning curve. Kind regards johnc From listmaster at databaseadvisors.com Sun Aug 14 08:50:58 2005 From: listmaster at databaseadvisors.com (Bryan Carbonnell) Date: Sun, 14 Aug 2005 09:50:58 -0400 Subject: [AccessD] Administrivia - Lists Temporarily Down Message-ID: <42FF1402.5531.150D8B@listmaster.databaseadvisors.com> The company that hosts our lists will be doing some maintenance on their network from 11PM Aug 16 to 6 AM Aug 17 CST (04:00 to 11:00 on Aug 17 UTC - http://www.timezoneconverter.com/cgi-bin/tzc.tzc to find out what time it is in your timezone)) They are upgrading their core routers, which will cause dba's list, and associated web pages (not the Website, but the list pages, including archives) to be down, anywhere from a few minutes to an hour. Hopefully this does not cause anyone too much of an inconvenience. -- Bryan Carbonnell - listmaster at databaseadvisors.com If you can't be a good example, then you'll just have to be a horrible warning. From john at winhaven.net Sun Aug 14 16:11:28 2005 From: john at winhaven.net (John Bartow) Date: Sun, 14 Aug 2005 16:11:28 -0500 Subject: [AccessD] Where is everyone? In-Reply-To: <200508140238.j7E2c0R13359@databaseadvisors.com> Message-ID: <200508142111.j7ELBYkr209474@pimout1-ext.prodigy.net> Go for it! -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Arthur Fuller Sent: Saturday, August 13, 2005 9:38 PM To: 'Access Developers discussion and problem solving' Subject: RE: [AccessD] Where is everyone? Somebody should write up the history of AccessD for publication in the newsletter, and for posterity. From jwcolby at colbyconsulting.com Sun Aug 14 18:41:17 2005 From: jwcolby at colbyconsulting.com (John W. Colby) Date: Sun, 14 Aug 2005 19:41:17 -0400 Subject: [AccessD] Bug Report Message-ID: <004801c5a129$aa5d00c0$6c7aa8c0@ColbyM6805> The following is the response I got to my bug report: Hello John, Thank you for contacting Microsoft Online Customer Service. I appreciate the time you have taken to provide us with the feedback. As a Customer Service Representative, I can assist you with the support options available with your Microsoft product. You can report bugs by postal mail to the following address: Attn: Office Development Group Microsoft Corporation One Microsoft Way Redmond, WA 98052 The letter should include a complete description of the bug including the actions, software, and hardware associated with the bug and whether or not it is consistently reproducible. You may also contact Microsoft Customer Service and speak with a support professional about the issue and have a support case created. This method will require you to utilize the standard options of support that are available for your copy of Microsoft product initially. Once the support professional is able to determine that the problem is a bug with the software, they will not decrement the incident from warranty support or account or issue a refund of any credit card charges if applicable. You may contact Microsoft Developer Support Team at (800) 936-5800. They are available 24 hours a day. They will be able to assist you. John, I hope your issue gets resolved. Thank you for using Microsoft products and services. Benoy Microsoft Online Customer Service Representative If you have any feedback about your Online Customer Service experience please E-mail my manager Rahul Rajgopal at managers at microsoft.com John W. Colby www.ColbyConsulting.com Contribute your unused CPU cycles to a good cause: http://folding.stanford.edu/ From bchacc at san.rr.com Sun Aug 14 18:50:48 2005 From: bchacc at san.rr.com (Rocky Smolin - Beach Access Software) Date: Sun, 14 Aug 2005 16:50:48 -0700 Subject: [AccessD] Bug Report References: <004801c5a129$aa5d00c0$6c7aa8c0@ColbyM6805> Message-ID: <024301c5a12a$fef2f1c0$6501a8c0@HAL9004> You're on a first name basis with Benoy? Not many of us have that kind of clout. Rocky ----- Original Message ----- From: "John W. Colby" To: "'Access Developers discussion and problem solving'" Sent: Sunday, August 14, 2005 4:41 PM Subject: [AccessD] Bug Report > The following is the response I got to my bug report: > > Hello John, > > Thank you for contacting Microsoft Online Customer Service. > > I appreciate the time you have taken to provide us with the feedback. > As a Customer Service Representative, I can assist you with the support > options available with your Microsoft product. You can report bugs by > postal > mail to the following address: > > Attn: Office Development Group > Microsoft Corporation > One Microsoft Way > Redmond, WA 98052 > > The letter should include a complete description of the bug including the > actions, software, and hardware associated with the bug and whether or not > it is consistently reproducible. > > You may also contact Microsoft Customer Service and speak with a support > professional about the issue and have a support case created. This method > will require you to utilize the standard options of support that are > available for your copy of Microsoft product initially. Once the support > professional is able to determine that the problem is a bug with the > software, they will not decrement the incident from warranty support or > account or issue a refund of any credit card charges if applicable. > > You may contact Microsoft Developer Support Team at (800) 936-5800. They > are available 24 hours a day. They will be able to assist you. > > John, I hope your issue gets resolved. > > Thank you for using Microsoft products and services. > > Benoy > Microsoft Online Customer Service Representative > > If you have any feedback about your Online Customer Service experience > please E-mail my manager Rahul Rajgopal at managers at microsoft.com > > > > John W. Colby > www.ColbyConsulting.com > > Contribute your unused CPU cycles to a good cause: > http://folding.stanford.edu/ > > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > From jwcolby at colbyconsulting.com Sun Aug 14 18:53:23 2005 From: jwcolby at colbyconsulting.com (John W. Colby) Date: Sun, 14 Aug 2005 19:53:23 -0400 Subject: [AccessD] Bug Report In-Reply-To: <024301c5a12a$fef2f1c0$6501a8c0@HAL9004> Message-ID: <004901c5a12b$5b23b6a0$6c7aa8c0@ColbyM6805> LOL. All you have to do is pay them money to tell them about their bugs and you too can be on a first name basis. John W. Colby www.ColbyConsulting.com Contribute your unused CPU cycles to a good cause: http://folding.stanford.edu/ -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Rocky Smolin - Beach Access Software Sent: Sunday, August 14, 2005 7:51 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Bug Report You're on a first name basis with Benoy? Not many of us have that kind of clout. Rocky ----- Original Message ----- From: "John W. Colby" To: "'Access Developers discussion and problem solving'" Sent: Sunday, August 14, 2005 4:41 PM Subject: [AccessD] Bug Report > The following is the response I got to my bug report: > > Hello John, > > Thank you for contacting Microsoft Online Customer Service. > > I appreciate the time you have taken to provide us with the feedback. > As a Customer Service Representative, I can assist you with the > support options available with your Microsoft product. You can report > bugs by postal mail to the following address: > > Attn: Office Development Group > Microsoft Corporation > One Microsoft Way > Redmond, WA 98052 > > The letter should include a complete description of the bug including > the actions, software, and hardware associated with the bug and > whether or not it is consistently reproducible. > > You may also contact Microsoft Customer Service and speak with a > support professional about the issue and have a support case created. > This method will require you to utilize the standard options of > support that are available for your copy of Microsoft product > initially. Once the support professional is able to determine that the > problem is a bug with the software, they will not decrement the > incident from warranty support or account or issue a refund of any > credit card charges if applicable. > > You may contact Microsoft Developer Support Team at (800) 936-5800. > They are available 24 hours a day. They will be able to assist you. > > John, I hope your issue gets resolved. > > Thank you for using Microsoft products and services. > > Benoy > Microsoft Online Customer Service Representative > > If you have any feedback about your Online Customer Service experience > please E-mail my manager Rahul Rajgopal at managers at microsoft.com > > > > John W. Colby > www.ColbyConsulting.com > > Contribute your unused CPU cycles to a good cause: > http://folding.stanford.edu/ > > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From jwcolby at colbyconsulting.com Sun Aug 14 19:03:49 2005 From: jwcolby at colbyconsulting.com (John W. Colby) Date: Sun, 14 Aug 2005 20:03:49 -0400 Subject: [AccessD] Bug Report In-Reply-To: <004901c5a12b$5b23b6a0$6c7aa8c0@ColbyM6805> Message-ID: <004a01c5a12c$d61e9a90$6c7aa8c0@ColbyM6805> Because I am an action pack subscriber, and because the problem occurs under OfficeXp and Windows XP received from them in the Action Pack, I have 2 available support incidents free of charge, which I am using the first of for this bug report. We shall see if I get it back. John W. Colby www.ColbyConsulting.com Contribute your unused CPU cycles to a good cause: http://folding.stanford.edu/ -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of John W. Colby Sent: Sunday, August 14, 2005 7:53 PM To: 'Access Developers discussion and problem solving' Subject: RE: [AccessD] Bug Report LOL. All you have to do is pay them money to tell them about their bugs and you too can be on a first name basis. John W. Colby www.ColbyConsulting.com Contribute your unused CPU cycles to a good cause: http://folding.stanford.edu/ -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Rocky Smolin - Beach Access Software Sent: Sunday, August 14, 2005 7:51 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Bug Report You're on a first name basis with Benoy? Not many of us have that kind of clout. Rocky ----- Original Message ----- From: "John W. Colby" To: "'Access Developers discussion and problem solving'" Sent: Sunday, August 14, 2005 4:41 PM Subject: [AccessD] Bug Report > The following is the response I got to my bug report: > > Hello John, > > Thank you for contacting Microsoft Online Customer Service. > > I appreciate the time you have taken to provide us with the feedback. > As a Customer Service Representative, I can assist you with the > support options available with your Microsoft product. You can report > bugs by postal mail to the following address: > > Attn: Office Development Group > Microsoft Corporation > One Microsoft Way > Redmond, WA 98052 > > The letter should include a complete description of the bug including > the actions, software, and hardware associated with the bug and > whether or not it is consistently reproducible. > > You may also contact Microsoft Customer Service and speak with a > support professional about the issue and have a support case created. > This method will require you to utilize the standard options of > support that are available for your copy of Microsoft product > initially. Once the support professional is able to determine that the > problem is a bug with the software, they will not decrement the > incident from warranty support or account or issue a refund of any > credit card charges if applicable. > > You may contact Microsoft Developer Support Team at (800) 936-5800. > They are available 24 hours a day. They will be able to assist you. > > John, I hope your issue gets resolved. > > Thank you for using Microsoft products and services. > > Benoy > Microsoft Online Customer Service Representative > > If you have any feedback about your Online Customer Service experience > please E-mail my manager Rahul Rajgopal at managers at microsoft.com > > > > John W. Colby > www.ColbyConsulting.com > > Contribute your unused CPU cycles to a good cause: > http://folding.stanford.edu/ > > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd 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 Aug 14 19:44:29 2005 From: dwaters at usinternet.com (Dan Waters) Date: Sun, 14 Aug 2005 19:44:29 -0500 Subject: [AccessD] Bug Report In-Reply-To: <18161758.1124063022734.JavaMail.root@sniper15> Message-ID: <000001c5a132$80bdb440$0300a8c0@danwaters> Well - MS is really loosening up! They won't charge you if it really does turn out to be a bug. I had to solve my bug myself for them to not charge me! Best of Luck! Dan Waters -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of John W. Colby Sent: Sunday, August 14, 2005 6:41 PM To: 'Access Developers discussion and problem solving' Subject: [AccessD] Bug Report The following is the response I got to my bug report: Hello John, Thank you for contacting Microsoft Online Customer Service. I appreciate the time you have taken to provide us with the feedback. As a Customer Service Representative, I can assist you with the support options available with your Microsoft product. You can report bugs by postal mail to the following address: Attn: Office Development Group Microsoft Corporation One Microsoft Way Redmond, WA 98052 The letter should include a complete description of the bug including the actions, software, and hardware associated with the bug and whether or not it is consistently reproducible. You may also contact Microsoft Customer Service and speak with a support professional about the issue and have a support case created. This method will require you to utilize the standard options of support that are available for your copy of Microsoft product initially. Once the support professional is able to determine that the problem is a bug with the software, they will not decrement the incident from warranty support or account or issue a refund of any credit card charges if applicable. You may contact Microsoft Developer Support Team at (800) 936-5800. They are available 24 hours a day. They will be able to assist you. John, I hope your issue gets resolved. Thank you for using Microsoft products and services. Benoy Microsoft Online Customer Service Representative If you have any feedback about your Online Customer Service experience please E-mail my manager Rahul Rajgopal at managers at microsoft.com John W. Colby www.ColbyConsulting.com Contribute your unused CPU cycles to a good cause: http://folding.stanford.edu/ -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From jwcolby at colbyconsulting.com Sun Aug 14 19:52:30 2005 From: jwcolby at colbyconsulting.com (John W. Colby) Date: Sun, 14 Aug 2005 20:52:30 -0400 Subject: [AccessD] Bug Report In-Reply-To: <000001c5a132$80bdb440$0300a8c0@danwaters> Message-ID: <004c01c5a133$9d38da40$6c7aa8c0@ColbyM6805> LOL. There is no resolving this bug. Access just shuts down. Step through the code and hit one specific line it just closes. Not exactly something I can fix. John W. Colby www.ColbyConsulting.com Contribute your unused CPU cycles to a good cause: http://folding.stanford.edu/ -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Dan Waters Sent: Sunday, August 14, 2005 8:44 PM To: 'Access Developers discussion and problem solving' Subject: RE: [AccessD] Bug Report Well - MS is really loosening up! They won't charge you if it really does turn out to be a bug. I had to solve my bug myself for them to not charge me! Best of Luck! Dan Waters -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of John W. Colby Sent: Sunday, August 14, 2005 6:41 PM To: 'Access Developers discussion and problem solving' Subject: [AccessD] Bug Report The following is the response I got to my bug report: Hello John, Thank you for contacting Microsoft Online Customer Service. I appreciate the time you have taken to provide us with the feedback. As a Customer Service Representative, I can assist you with the support options available with your Microsoft product. You can report bugs by postal mail to the following address: Attn: Office Development Group Microsoft Corporation One Microsoft Way Redmond, WA 98052 The letter should include a complete description of the bug including the actions, software, and hardware associated with the bug and whether or not it is consistently reproducible. You may also contact Microsoft Customer Service and speak with a support professional about the issue and have a support case created. This method will require you to utilize the standard options of support that are available for your copy of Microsoft product initially. Once the support professional is able to determine that the problem is a bug with the software, they will not decrement the incident from warranty support or account or issue a refund of any credit card charges if applicable. You may contact Microsoft Developer Support Team at (800) 936-5800. They are available 24 hours a day. They will be able to assist you. John, I hope your issue gets resolved. Thank you for using Microsoft products and services. Benoy Microsoft Online Customer Service Representative If you have any feedback about your Online Customer Service experience please E-mail my manager Rahul Rajgopal at managers at microsoft.com John W. Colby www.ColbyConsulting.com Contribute your unused CPU cycles to a good cause: http://folding.stanford.edu/ -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd 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 Mon Aug 15 01:22:15 2005 From: bchacc at san.rr.com (Rocky Smolin - Beach Access Software) Date: Sun, 14 Aug 2005 23:22:15 -0700 Subject: [AccessD] Bug Report References: <004a01c5a12c$d61e9a90$6c7aa8c0@ColbyM6805> Message-ID: <02d301c5a161$ae37a870$6501a8c0@HAL9004> I subscribed to the Action Pack as well this year. Is there any advantage to subscribing every year? Rocky ----- Original Message ----- From: "John W. Colby" To: "'Access Developers discussion and problem solving'" Sent: Sunday, August 14, 2005 5:03 PM Subject: RE: [AccessD] Bug Report > Because I am an action pack subscriber, and because the problem occurs > under > OfficeXp and Windows XP received from them in the Action Pack, I have 2 > available support incidents free of charge, which I am using the first of > for this bug report. We shall see if I get it back. > > John W. Colby > www.ColbyConsulting.com > > Contribute your unused CPU cycles to a good cause: > http://folding.stanford.edu/ > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of John W. Colby > Sent: Sunday, August 14, 2005 7:53 PM > To: 'Access Developers discussion and problem solving' > Subject: RE: [AccessD] Bug Report > > > LOL. All you have to do is pay them money to tell them about their bugs > and > you too can be on a first name basis. > > John W. Colby > www.ColbyConsulting.com > > Contribute your unused CPU cycles to a good cause: > http://folding.stanford.edu/ > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Rocky Smolin - > Beach Access Software > Sent: Sunday, August 14, 2005 7:51 PM > To: Access Developers discussion and problem solving > Subject: Re: [AccessD] Bug Report > > > You're on a first name basis with Benoy? Not many of us have that kind of > clout. > > Rocky > > ----- Original Message ----- > From: "John W. Colby" > To: "'Access Developers discussion and problem solving'" > > Sent: Sunday, August 14, 2005 4:41 PM > Subject: [AccessD] Bug Report > > >> The following is the response I got to my bug report: >> >> Hello John, >> >> Thank you for contacting Microsoft Online Customer Service. >> >> I appreciate the time you have taken to provide us with the feedback. >> As a Customer Service Representative, I can assist you with the >> support options available with your Microsoft product. You can report >> bugs by postal mail to the following address: >> >> Attn: Office Development Group >> Microsoft Corporation >> One Microsoft Way >> Redmond, WA 98052 >> >> The letter should include a complete description of the bug including >> the actions, software, and hardware associated with the bug and >> whether or not it is consistently reproducible. >> >> You may also contact Microsoft Customer Service and speak with a >> support professional about the issue and have a support case created. >> This method will require you to utilize the standard options of >> support that are available for your copy of Microsoft product >> initially. Once the support professional is able to determine that the >> problem is a bug with the software, they will not decrement the >> incident from warranty support or account or issue a refund of any >> credit card charges if applicable. >> >> You may contact Microsoft Developer Support Team at (800) 936-5800. >> They are available 24 hours a day. They will be able to assist you. >> >> John, I hope your issue gets resolved. >> >> Thank you for using Microsoft products and services. >> >> Benoy >> Microsoft Online Customer Service Representative >> >> If you have any feedback about your Online Customer Service experience >> please E-mail my manager Rahul Rajgopal at managers at microsoft.com >> >> >> >> John W. Colby >> www.ColbyConsulting.com >> >> Contribute your unused CPU cycles to a good cause: >> http://folding.stanford.edu/ >> >> >> -- >> AccessD mailing list >> AccessD at databaseadvisors.com >> http://databaseadvisors.com/mailman/listinfo/accessd >> Website: http://www.databaseadvisors.com >> > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > > > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > 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 Mon Aug 15 01:23:23 2005 From: bchacc at san.rr.com (Rocky Smolin - Beach Access Software) Date: Sun, 14 Aug 2005 23:23:23 -0700 Subject: [AccessD] Bug Report References: <004c01c5a133$9d38da40$6c7aa8c0@ColbyM6805> Message-ID: <02da01c5a161$d6d2b540$6501a8c0@HAL9004> I was away on vacation last week and missed the description of the bug. Could you repost the original? Thanks. Rocky ----- Original Message ----- From: "John W. Colby" To: "'Access Developers discussion and problem solving'" Sent: Sunday, August 14, 2005 5:52 PM Subject: RE: [AccessD] Bug Report > LOL. There is no resolving this bug. Access just shuts down. Step > through > the code and hit one specific line it just closes. Not exactly something > I > can fix. > > John W. Colby > www.ColbyConsulting.com > > Contribute your unused CPU cycles to a good cause: > http://folding.stanford.edu/ > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Dan Waters > Sent: Sunday, August 14, 2005 8:44 PM > To: 'Access Developers discussion and problem solving' > Subject: RE: [AccessD] Bug Report > > > Well - MS is really loosening up! They won't charge you if it really does > turn out to be a bug. I had to solve my bug myself for them to not charge > me! > > Best of Luck! > > Dan Waters > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of John W. Colby > Sent: Sunday, August 14, 2005 6:41 PM > To: 'Access Developers discussion and problem solving' > Subject: [AccessD] Bug Report > > The following is the response I got to my bug report: > > Hello John, > > Thank you for contacting Microsoft Online Customer Service. > > I appreciate the time you have taken to provide us with the feedback. As a > Customer Service Representative, I can assist you with the support options > available with your Microsoft product. You can report bugs by postal mail > to > the following address: > > Attn: Office Development Group > Microsoft Corporation > One Microsoft Way > Redmond, WA 98052 > > The letter should include a complete description of the bug including the > actions, software, and hardware associated with the bug and whether or not > it is consistently reproducible. > > You may also contact Microsoft Customer Service and speak with a support > professional about the issue and have a support case created. This method > will require you to utilize the standard options of support that are > available for your copy of Microsoft product initially. Once the support > professional is able to determine that the problem is a bug with the > software, they will not decrement the incident from warranty support or > account or issue a refund of any credit card charges if applicable. > > You may contact Microsoft Developer Support Team at (800) 936-5800. They > are available 24 hours a day. They will be able to assist you. > > John, I hope your issue gets resolved. > > Thank you for using Microsoft products and services. > > Benoy > Microsoft Online Customer Service Representative > > If you have any feedback about your Online Customer Service experience > please E-mail my manager Rahul Rajgopal at managers at microsoft.com > > > > John W. Colby > www.ColbyConsulting.com > > Contribute your unused CPU cycles to a good cause: > http://folding.stanford.edu/ > > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > 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 Mon Aug 15 09:34:40 2005 From: DElam at jenkens.com (Elam, Debbie) Date: Mon, 15 Aug 2005 09:34:40 -0500 Subject: [AccessD] Upsize wizard MDB to SQL Message-ID: <7B1961ED924D1A459E378C9B1BB22B4C0492CC71@natexch.jenkens.com> The wizard is acceptable, but I have usually found that I need to almost start from scratch. The tables migrate beautifully, but the best way to handle most everything else as far as data sources and pulling specific data is different. Concentrate on data handling, that is where the biggest differences are. Take advantage of triggers to handle hard data validation rules, they are more robust than code in forms. Do as much filtering as possible on the server side. Pass through queries can help with this a lot. Debbie -----Original Message----- From: Johncliviger at aol.com [mailto:Johncliviger at aol.com] Sent: Saturday, August 13, 2005 6:13 AM To: accessd at databaseadvisors.com Subject: [AccessD] Upsize wizard MDB to SQL Hi all I've asked to migrate an Access 2002 BE to SQL 2000 server. Not having done this before and not wanting fans and brown stuff to meet. So I 'm looking for a some documentation on this. My initial view is to apply the upsize wizard to the BE and keep the FE as it is and link it via odbc to SQL BE. Comments and pointers most welcome. johnb -- 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 jwcolby at colbyconsulting.com Mon Aug 15 09:56:19 2005 From: jwcolby at colbyconsulting.com (John W. Colby) Date: Mon, 15 Aug 2005 10:56:19 -0400 Subject: [AccessD] Bug Report In-Reply-To: <02da01c5a161$d6d2b540$6501a8c0@HAL9004> Message-ID: <001001c5a1a9$7eb5dd40$6c7aa8c0@ColbyM6805> I did not post the bug description, however here is what I sent MS: Dear Sirs, I am a professional developer using Microsoft Access. I have a specific Access front end that has a particular (pretty complex) form - tfrmClaim - that when opened sometimes causes Access to close, no warning. A little background: The issue happens both at my client's office and on my development machine which is a laptop with all the pieces right on the machine. The application is a FE/BE split system, with an MDA holding an application framework (written by me). The application uses classes and Withevents (a LOT). My client uses Office 2K. They have about 40-50 workstations running a pretty good mix of Windows 98, Windows 2K and Windows XP. AFAICT the issue does not occur on Win98 but does occur on Win2K and WinXP. The system is a call center for the disability insurance industry. They search for a claimant, and when found open a very complex form that displays all aspects of the claim. This claim form has about 10 tabs, some of which are hidden. The tabs load subforms when clicked on etc to reduce loading time. All of that information is just background for you to understand the situation. The issue is that the OnOpen event occasionally causes the entire database to shut down, no warning, no page fault screen nothing. Just gone. I have been able to insert debug statements and find where the shutdown occurs. It occurs in the same location every time that the shutdown occurs, at least until you "do something" (developer code wise). Unfortunately because it does not happen every time, it is not possible to step through the code and watch it close, but it is possible to nail it down to a specific line of code whenever it does shutdown. In attempting to troubleshoot this issue, I have done all of the typical decompile / compact / repair, open a new database and import all the objects, etc. One day I spent hours working on it, and watched the shutdown "move" through the OnOpen event until I finally "pushed it out the end sub" and it started closing back in the form that opens this complex form (the search result form) - when control returned to that sub. I thought I had it nailed at that point but no, awhile later it was back to shutting down in the OnCurrent of the tfrmClaim. My client thinks it has something to do with XPSP3, although it does occur (much less frequently) on other Oses. It was happening a LOT on the XP SP3 machines, they backed out the SP3 and the occurrence dropped radically - from every 30 minutes to once a day or so. My dev machine (laptop) BTW is XP SP3 and it happens a lot. I have not attempted to back out the SP3 and don't really want to do so. Also, I have OfficeXP on my dev machine and the bug also occurs under OfficeXP as well. The problem will occur on the first search, or the 3rd search or the 10th search, but rarely less often than every 10 searches - at least on my dev machine. It does not appear to be data dependent, i.e. I see no pattern as to which record(s) triggers the shutdown. BTW, I have "commented out" my application framework such that most of the functionality of the MDA is not being run - just trying to narrow down the issue. There are about a dozen classes that load in OnOpen of the form, classes that use WithEvents to handle groups of controls and cause specific interactions to occur. I have not yet commented all of them out, although if I did there would be no code left to run. ;-) John W. Colby www.ColbyConsulting.com Contribute your unused CPU cycles to a good cause: http://folding.stanford.edu/ -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Rocky Smolin - Beach Access Software Sent: Monday, August 15, 2005 2:23 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Bug Report I was away on vacation last week and missed the description of the bug. Could you repost the original? Thanks. Rocky From cfoust at infostatsystems.com Mon Aug 15 10:26:40 2005 From: cfoust at infostatsystems.com (Charlotte Foust) Date: Mon, 15 Aug 2005 08:26:40 -0700 Subject: [AccessD] Bug Report Message-ID: Read the EULA, Rocky. If you DON'T subscribe, then you agree to remove all the software from your machine. That's the reason I don't use the action pack. Charlotte Foust -----Original Message----- From: Rocky Smolin - Beach Access Software [mailto:bchacc at san.rr.com] Sent: Sunday, August 14, 2005 11:22 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Bug Report I subscribed to the Action Pack as well this year. Is there any advantage to subscribing every year? Rocky ----- Original Message ----- From: "John W. Colby" To: "'Access Developers discussion and problem solving'" Sent: Sunday, August 14, 2005 5:03 PM Subject: RE: [AccessD] Bug Report > Because I am an action pack subscriber, and because the problem occurs > under > OfficeXp and Windows XP received from them in the Action Pack, I have 2 > available support incidents free of charge, which I am using the first of > for this bug report. We shall see if I get it back. > > John W. Colby > www.ColbyConsulting.com > > Contribute your unused CPU cycles to a good cause: > http://folding.stanford.edu/ > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of John W. > Colby > Sent: Sunday, August 14, 2005 7:53 PM > To: 'Access Developers discussion and problem solving' > Subject: RE: [AccessD] Bug Report > > > LOL. All you have to do is pay them money to tell them about their > bugs > and > you too can be on a first name basis. > > John W. Colby > www.ColbyConsulting.com > > Contribute your unused CPU cycles to a good cause: > http://folding.stanford.edu/ > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Rocky > Smolin - Beach Access Software > Sent: Sunday, August 14, 2005 7:51 PM > To: Access Developers discussion and problem solving > Subject: Re: [AccessD] Bug Report > > > You're on a first name basis with Benoy? Not many of us have that > kind of clout. > > Rocky > > ----- Original Message ----- > From: "John W. Colby" > To: "'Access Developers discussion and problem solving'" > > Sent: Sunday, August 14, 2005 4:41 PM > Subject: [AccessD] Bug Report > > >> The following is the response I got to my bug report: >> >> Hello John, >> >> Thank you for contacting Microsoft Online Customer Service. >> >> I appreciate the time you have taken to provide us with the feedback. >> As a Customer Service Representative, I can assist you with the >> support options available with your Microsoft product. You can report >> bugs by postal mail to the following address: >> >> Attn: Office Development Group >> Microsoft Corporation >> One Microsoft Way >> Redmond, WA 98052 >> >> The letter should include a complete description of the bug including >> the actions, software, and hardware associated with the bug and >> whether or not it is consistently reproducible. >> >> You may also contact Microsoft Customer Service and speak with a >> support professional about the issue and have a support case created. >> This method will require you to utilize the standard options of >> support that are available for your copy of Microsoft product >> initially. Once the support professional is able to determine that >> the problem is a bug with the software, they will not decrement the >> incident from warranty support or account or issue a refund of any >> credit card charges if applicable. >> >> You may contact Microsoft Developer Support Team at (800) 936-5800. >> They are available 24 hours a day. They will be able to assist you. >> >> John, I hope your issue gets resolved. >> >> Thank you for using Microsoft products and services. >> >> Benoy >> Microsoft Online Customer Service Representative >> >> If you have any feedback about your Online Customer Service >> experience please E-mail my manager Rahul Rajgopal at >> managers at microsoft.com >> >> >> >> John W. Colby >> www.ColbyConsulting.com >> >> Contribute your unused CPU cycles to a good cause: >> http://folding.stanford.edu/ >> >> >> -- >> AccessD mailing list >> AccessD at databaseadvisors.com >> http://databaseadvisors.com/mailman/listinfo/accessd >> Website: http://www.databaseadvisors.com >> > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > > > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > > > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > 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 Aug 15 10:29:31 2005 From: cfoust at infostatsystems.com (Charlotte Foust) Date: Mon, 15 Aug 2005 08:29:31 -0700 Subject: [AccessD] Bug Report Message-ID: I saw behavior like that in one of my apps once, John. I finally tracked it down to mixing DAO and ADO, that is, a DAO code block calling out to an ADO block, or vice versa. I scrubbed my code thoroughly to prevent said circumstance and the problem went away. One of the steps I took was to rename my routines so that I could tell at a glance whether they were ADO or DAO. Charlotte Foust -----Original Message----- From: John W. Colby [mailto:jwcolby at colbyconsulting.com] Sent: Sunday, August 14, 2005 5:52 PM To: 'Access Developers discussion and problem solving' Subject: RE: [AccessD] Bug Report LOL. There is no resolving this bug. Access just shuts down. Step through the code and hit one specific line it just closes. Not exactly something I can fix. John W. Colby www.ColbyConsulting.com Contribute your unused CPU cycles to a good cause: http://folding.stanford.edu/ -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Dan Waters Sent: Sunday, August 14, 2005 8:44 PM To: 'Access Developers discussion and problem solving' Subject: RE: [AccessD] Bug Report Well - MS is really loosening up! They won't charge you if it really does turn out to be a bug. I had to solve my bug myself for them to not charge me! Best of Luck! Dan Waters -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of John W. Colby Sent: Sunday, August 14, 2005 6:41 PM To: 'Access Developers discussion and problem solving' Subject: [AccessD] Bug Report The following is the response I got to my bug report: Hello John, Thank you for contacting Microsoft Online Customer Service. I appreciate the time you have taken to provide us with the feedback. As a Customer Service Representative, I can assist you with the support options available with your Microsoft product. You can report bugs by postal mail to the following address: Attn: Office Development Group Microsoft Corporation One Microsoft Way Redmond, WA 98052 The letter should include a complete description of the bug including the actions, software, and hardware associated with the bug and whether or not it is consistently reproducible. You may also contact Microsoft Customer Service and speak with a support professional about the issue and have a support case created. This method will require you to utilize the standard options of support that are available for your copy of Microsoft product initially. Once the support professional is able to determine that the problem is a bug with the software, they will not decrement the incident from warranty support or account or issue a refund of any credit card charges if applicable. You may contact Microsoft Developer Support Team at (800) 936-5800. They are available 24 hours a day. They will be able to assist you. John, I hope your issue gets resolved. Thank you for using Microsoft products and services. Benoy Microsoft Online Customer Service Representative If you have any feedback about your Online Customer Service experience please E-mail my manager Rahul Rajgopal at managers at microsoft.com John W. Colby www.ColbyConsulting.com Contribute your unused CPU cycles to a good cause: http://folding.stanford.edu/ -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd 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 Mon Aug 15 10:36:41 2005 From: bchacc at san.rr.com (Rocky Smolin - Beach Access Software) Date: Mon, 15 Aug 2005 08:36:41 -0700 Subject: [AccessD] Bug Report References: <001001c5a1a9$7eb5dd40$6c7aa8c0@ColbyM6805> Message-ID: <03d101c5a1af$22966ec0$6501a8c0@HAL9004> Interesting. What's your speculation on where it's happening? In the interpretation of your classes? They obviously have no clue and cannot track it down without getting your app and running it themselves. At first it behaves like a bad NIC - I've had apps go south with corruptions and shutdowns and traced it to a cheap NIC on the network - but you're running this standalone, yes? Rocky ----- Original Message ----- From: "John W. Colby" To: "'Access Developers discussion and problem solving'" Sent: Monday, August 15, 2005 7:56 AM Subject: RE: [AccessD] Bug Report >I did not post the bug description, however here is what I sent MS: > > Dear Sirs, > > I am a professional developer using Microsoft Access. I have a specific > Access front end that has a particular (pretty complex) form - > tfrmClaim - > that when opened sometimes causes Access to close, no warning. A little > background: > > The issue happens both at my client's office and on my development machine > which is a laptop with all the pieces right on the machine. The > application > is a FE/BE split system, with an MDA holding an application framework > (written by me). The application uses classes and Withevents (a LOT). > > My client uses Office 2K. They have about 40-50 workstations running a > pretty good mix of Windows 98, Windows 2K and Windows XP. AFAICT the > issue > does not occur on Win98 but does occur on Win2K and WinXP. > > The system is a call center for the disability insurance industry. They > search for a claimant, and when found open a very complex form that > displays > all aspects of the claim. This claim form has about 10 tabs, some of > which > are hidden. The tabs load subforms when clicked on etc to reduce loading > time. All of that information is just background for you to understand > the > situation. > > The issue is that the OnOpen event occasionally causes the entire database > to shut down, no warning, no page fault screen nothing. Just gone. > > I have been able to insert debug statements and find where the shutdown > occurs. It occurs in the same location every time that the shutdown > occurs, > at least until you "do something" (developer code wise). Unfortunately > because it does not happen every time, it is not possible to step through > the code and watch it close, but it is possible to nail it down to a > specific line of code whenever it does shutdown. > > In attempting to troubleshoot this issue, I have done all of the typical > decompile / compact / repair, open a new database and import all the > objects, etc. One day I spent hours working on it, and watched the > shutdown > "move" through the OnOpen event until I finally "pushed it out the end > sub" > and it started closing back in the form that opens this complex form (the > search result form) - when control returned to that sub. I thought I had > it > nailed at that point but no, awhile later it was back to shutting down in > the OnCurrent of the tfrmClaim. > > My client thinks it has something to do with XPSP3, although it does occur > (much less frequently) on other Oses. It was happening a LOT on the XP > SP3 > machines, they backed out the SP3 and the occurrence dropped radically - > from every 30 minutes to once a day or so. My dev machine (laptop) BTW is > XP SP3 and it happens a lot. I have not attempted to back out the SP3 and > don't really want to do so. Also, I have OfficeXP on my dev machine and > the > bug also occurs under OfficeXP as well. > > The problem will occur on the first search, or the 3rd search or the 10th > search, but rarely less often than every 10 searches - at least on my dev > machine. It does not appear to be data dependent, i.e. I see no pattern > as > to which record(s) triggers the shutdown. > > BTW, I have "commented out" my application framework such that most of the > functionality of the MDA is not being run - just trying to narrow down the > issue. There are about a dozen classes that load in OnOpen of the form, > classes that use WithEvents to handle groups of controls and cause > specific > interactions to occur. I have not yet commented all of them out, although > if I did there would be no code left to run. ;-) > > John W. Colby > www.ColbyConsulting.com > > Contribute your unused CPU cycles to a good cause: > http://folding.stanford.edu/ > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Rocky Smolin - > Beach Access Software > Sent: Monday, August 15, 2005 2:23 AM > To: Access Developers discussion and problem solving > Subject: Re: [AccessD] Bug Report > > > I was away on vacation last week and missed the description of the bug. > Could you repost the original? > > Thanks. > > Rocky > > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > From cfoust at infostatsystems.com Mon Aug 15 10:46:56 2005 From: cfoust at infostatsystems.com (Charlotte Foust) Date: Mon, 15 Aug 2005 08:46:56 -0700 Subject: [AccessD] Clear Debug Window Programmatically Message-ID: Yes, Arthur, you did specify programmatically. However, since there isn't any direct way to do it programmatically and you left out the version information, I answered a different question. I think you would have to use code to switch to the immediate window, select all and then perhaps use a SendKeys {Enter} to remove the existing text. Charlotte Foust -----Original Message----- From: Arthur Fuller [mailto:artful at rogers.com] Sent: Saturday, August 13, 2005 7:12 PM To: 'Access Developers discussion and problem solving' Subject: RE: [AccessD] Clear Debug Window Programmatically I thought that I had explained why I want to do it programmatically, but in case I didn't or it was missed, I shall repeat: I sprinkle my code with liberal doses of Debug.Print statements, particularly when debugging or exploring new corners. I might put a breakpoint on several statements at the end of a string of such Debug.Print statements. The window rapidly fills up. I want to be able to do housecleaning at certain points, such that the debug window contains only the results since my last housecleaning. It's not a big deal. I can survive as I have been doing. I simply wondered whether there was a statement equivalent to clearing the debug window. Arthur -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Charlotte Foust Sent: August 9, 2005 4:35 PM To: Access Developers discussion and problem solving Subject: RE: [AccessD] Clear Debug Window Programmatically I realize that you asked for a programmatic method. However, since the debug window is only available in the VBE, I didn't see any purpose in a programmatic method ... In XP and above, of course. You didn't indicate the version or WHY you needed it, so it's your own fault if we wandered off in another direction! LOL Charlotte Foust -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From jwcolby at colbyconsulting.com Mon Aug 15 10:53:08 2005 From: jwcolby at colbyconsulting.com (John W. Colby) Date: Mon, 15 Aug 2005 11:53:08 -0400 Subject: [AccessD] Bug Report In-Reply-To: Message-ID: <001501c5a1b1$6e634510$6c7aa8c0@ColbyM6805> Was it the actual line that called the other block? This one is just "any old line of code". It always occurs in the OnOpen of the form, where I am initializing classes, etc. By setting up debug.Print statements through the OnOpen I am able to nail down what exact line of code it is, but it doesn't occur every time the form opens so it is a pita to step through to actually watch the close happen. I have caused the close to move around however, even "pushing it out the end" of the OnOpen back into the function that opens the form. Truly bizarre. I have seen this kind of stuff before however. Back when I was working on C2DbFrameWiz (the error handler insertion wizard) I would get instances where the code that inserted the code into a module would just cause a close. It was very similar, I could "track it down" to a single line of code. I could go up to the previous line, type in the same code character for character, then delete the line causing the code and the problem would "go away" for awhile. OTOH, If I cut the line out to the paste buffer and pasted it back in again, I would still have the issue. I am convinced that the source code that you see on the screen has other things in the text stream, things that are not visible to you, the developer. Kind of like the old Word Perfect "show codes" where you would cause other formatting stuff to appear. I am convinced that the text stream gets something embedded in it and once that something is in the string, you are hosed. In this case (my current application) I have gone so far as to import the entire FE into a new blank MDB and the problem still exists. I do not get the "corrupted form" kind of thing that occurs with the A2K / AXP vb dll version issue, i.e. the form module is not "corrupted" at least not corrupted so badly that it won't export. This is a bizarre one and very irritating to my users as you might imagine. John W. Colby www.ColbyConsulting.com Contribute your unused CPU cycles to a good cause: http://folding.stanford.edu/ -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Charlotte Foust Sent: Monday, August 15, 2005 11:30 AM To: Access Developers discussion and problem solving Subject: RE: [AccessD] Bug Report I saw behavior like that in one of my apps once, John. I finally tracked it down to mixing DAO and ADO, that is, a DAO code block calling out to an ADO block, or vice versa. I scrubbed my code thoroughly to prevent said circumstance and the problem went away. One of the steps I took was to rename my routines so that I could tell at a glance whether they were ADO or DAO. Charlotte Foust -----Original Message----- From: John W. Colby [mailto:jwcolby at colbyconsulting.com] Sent: Sunday, August 14, 2005 5:52 PM To: 'Access Developers discussion and problem solving' Subject: RE: [AccessD] Bug Report LOL. There is no resolving this bug. Access just shuts down. Step through the code and hit one specific line it just closes. Not exactly something I can fix. John W. Colby www.ColbyConsulting.com Contribute your unused CPU cycles to a good cause: http://folding.stanford.edu/ -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Dan Waters Sent: Sunday, August 14, 2005 8:44 PM To: 'Access Developers discussion and problem solving' Subject: RE: [AccessD] Bug Report Well - MS is really loosening up! They won't charge you if it really does turn out to be a bug. I had to solve my bug myself for them to not charge me! Best of Luck! Dan Waters -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of John W. Colby Sent: Sunday, August 14, 2005 6:41 PM To: 'Access Developers discussion and problem solving' Subject: [AccessD] Bug Report The following is the response I got to my bug report: Hello John, Thank you for contacting Microsoft Online Customer Service. I appreciate the time you have taken to provide us with the feedback. As a Customer Service Representative, I can assist you with the support options available with your Microsoft product. You can report bugs by postal mail to the following address: Attn: Office Development Group Microsoft Corporation One Microsoft Way Redmond, WA 98052 The letter should include a complete description of the bug including the actions, software, and hardware associated with the bug and whether or not it is consistently reproducible. You may also contact Microsoft Customer Service and speak with a support professional about the issue and have a support case created. This method will require you to utilize the standard options of support that are available for your copy of Microsoft product initially. Once the support professional is able to determine that the problem is a bug with the software, they will not decrement the incident from warranty support or account or issue a refund of any credit card charges if applicable. You may contact Microsoft Developer Support Team at (800) 936-5800. They are available 24 hours a day. They will be able to assist you. John, I hope your issue gets resolved. Thank you for using Microsoft products and services. Benoy Microsoft Online Customer Service Representative If you have any feedback about your Online Customer Service experience please E-mail my manager Rahul Rajgopal at managers at microsoft.com John W. Colby www.ColbyConsulting.com Contribute your unused CPU cycles to a good cause: http://folding.stanford.edu/ -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd 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 Aug 15 10:59:25 2005 From: cfoust at infostatsystems.com (Charlotte Foust) Date: Mon, 15 Aug 2005 08:59:25 -0700 Subject: [AccessD] Clear Debug Window Programmatically Message-ID: Arthur, Here's a link to an older VB routine for this: http://www.vb-helper.com/howto_clear_debug_window.html And here's one in VBA, but it requires the extensibility library to reference the VBE: http://chrisrae.com/vba/routines/deletetextindebugwindow2.html Charlotte -----Original Message----- From: Arthur Fuller [mailto:artful at rogers.com] Sent: Saturday, August 13, 2005 7:12 PM To: 'Access Developers discussion and problem solving' Subject: RE: [AccessD] Clear Debug Window Programmatically I thought that I had explained why I want to do it programmatically, but in case I didn't or it was missed, I shall repeat: I sprinkle my code with liberal doses of Debug.Print statements, particularly when debugging or exploring new corners. I might put a breakpoint on several statements at the end of a string of such Debug.Print statements. The window rapidly fills up. I want to be able to do housecleaning at certain points, such that the debug window contains only the results since my last housecleaning. It's not a big deal. I can survive as I have been doing. I simply wondered whether there was a statement equivalent to clearing the debug window. Arthur -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Charlotte Foust Sent: August 9, 2005 4:35 PM To: Access Developers discussion and problem solving Subject: RE: [AccessD] Clear Debug Window Programmatically I realize that you asked for a programmatic method. However, since the debug window is only available in the VBE, I didn't see any purpose in a programmatic method ... In XP and above, of course. You didn't indicate the version or WHY you needed it, so it's your own fault if we wandered off in another direction! LOL Charlotte Foust -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From cfoust at infostatsystems.com Mon Aug 15 11:03:34 2005 From: cfoust at infostatsystems.com (Charlotte Foust) Date: Mon, 15 Aug 2005 09:03:34 -0700 Subject: [AccessD] Bug Report Message-ID: If you could track it down to a particular line, you're very thorough. I couldn't get that close, and I was never sure whether the crash happened on the call out or when the other routine accepted the call, since the whole application evaporated and left me looking at the Windows desktop when it happened. In my case, the antithetical routine wasn't necessarily being called directly, it could be several layers down ... And I had a deadline! LOL Charlotte Foust -----Original Message----- From: John W. Colby [mailto:jwcolby at colbyconsulting.com] Sent: Monday, August 15, 2005 8:53 AM To: 'Access Developers discussion and problem solving' Subject: RE: [AccessD] Bug Report Was it the actual line that called the other block? This one is just "any old line of code". It always occurs in the OnOpen of the form, where I am initializing classes, etc. By setting up debug.Print statements through the OnOpen I am able to nail down what exact line of code it is, but it doesn't occur every time the form opens so it is a pita to step through to actually watch the close happen. I have caused the close to move around however, even "pushing it out the end" of the OnOpen back into the function that opens the form. Truly bizarre. I have seen this kind of stuff before however. Back when I was working on C2DbFrameWiz (the error handler insertion wizard) I would get instances where the code that inserted the code into a module would just cause a close. It was very similar, I could "track it down" to a single line of code. I could go up to the previous line, type in the same code character for character, then delete the line causing the code and the problem would "go away" for awhile. OTOH, If I cut the line out to the paste buffer and pasted it back in again, I would still have the issue. I am convinced that the source code that you see on the screen has other things in the text stream, things that are not visible to you, the developer. Kind of like the old Word Perfect "show codes" where you would cause other formatting stuff to appear. I am convinced that the text stream gets something embedded in it and once that something is in the string, you are hosed. In this case (my current application) I have gone so far as to import the entire FE into a new blank MDB and the problem still exists. I do not get the "corrupted form" kind of thing that occurs with the A2K / AXP vb dll version issue, i.e. the form module is not "corrupted" at least not corrupted so badly that it won't export. This is a bizarre one and very irritating to my users as you might imagine. John W. Colby www.ColbyConsulting.com Contribute your unused CPU cycles to a good cause: http://folding.stanford.edu/ -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Charlotte Foust Sent: Monday, August 15, 2005 11:30 AM To: Access Developers discussion and problem solving Subject: RE: [AccessD] Bug Report I saw behavior like that in one of my apps once, John. I finally tracked it down to mixing DAO and ADO, that is, a DAO code block calling out to an ADO block, or vice versa. I scrubbed my code thoroughly to prevent said circumstance and the problem went away. One of the steps I took was to rename my routines so that I could tell at a glance whether they were ADO or DAO. Charlotte Foust -----Original Message----- From: John W. Colby [mailto:jwcolby at colbyconsulting.com] Sent: Sunday, August 14, 2005 5:52 PM To: 'Access Developers discussion and problem solving' Subject: RE: [AccessD] Bug Report LOL. There is no resolving this bug. Access just shuts down. Step through the code and hit one specific line it just closes. Not exactly something I can fix. John W. Colby www.ColbyConsulting.com Contribute your unused CPU cycles to a good cause: http://folding.stanford.edu/ -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Dan Waters Sent: Sunday, August 14, 2005 8:44 PM To: 'Access Developers discussion and problem solving' Subject: RE: [AccessD] Bug Report Well - MS is really loosening up! They won't charge you if it really does turn out to be a bug. I had to solve my bug myself for them to not charge me! Best of Luck! Dan Waters -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of John W. Colby Sent: Sunday, August 14, 2005 6:41 PM To: 'Access Developers discussion and problem solving' Subject: [AccessD] Bug Report The following is the response I got to my bug report: Hello John, Thank you for contacting Microsoft Online Customer Service. I appreciate the time you have taken to provide us with the feedback. As a Customer Service Representative, I can assist you with the support options available with your Microsoft product. You can report bugs by postal mail to the following address: Attn: Office Development Group Microsoft Corporation One Microsoft Way Redmond, WA 98052 The letter should include a complete description of the bug including the actions, software, and hardware associated with the bug and whether or not it is consistently reproducible. You may also contact Microsoft Customer Service and speak with a support professional about the issue and have a support case created. This method will require you to utilize the standard options of support that are available for your copy of Microsoft product initially. Once the support professional is able to determine that the problem is a bug with the software, they will not decrement the incident from warranty support or account or issue a refund of any credit card charges if applicable. You may contact Microsoft Developer Support Team at (800) 936-5800. They are available 24 hours a day. They will be able to assist you. John, I hope your issue gets resolved. Thank you for using Microsoft products and services. Benoy Microsoft Online Customer Service Representative If you have any feedback about your Online Customer Service experience please E-mail my manager Rahul Rajgopal at managers at microsoft.com John W. Colby www.ColbyConsulting.com Contribute your unused CPU cycles to a good cause: http://folding.stanford.edu/ -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd 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 Aug 15 11:08:51 2005 From: jimdettman at earthlink.net (Jim Dettman) Date: Mon, 15 Aug 2005 12:08:51 -0400 Subject: [AccessD] Bug Report In-Reply-To: <001501c5a1b1$6e634510$6c7aa8c0@ColbyM6805> Message-ID: John, I've seen what your seeing. I've also had cases where code breaks on a line where a breakpoint was but is no longer after the code has been changed (lines inserted or deleted). I've even had it break on *blank* lines in some cases. I can push the lines around as you say and watch things change. <> Basically it boils down to the fact that the source code is out of synch with the p-code or as your saying, the p-code is hosed. Since they are stored separately, it is easy for this to happen. Good time to use /decompile. Jim. -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of John W. Colby Sent: Monday, August 15, 2005 11:53 AM To: 'Access Developers discussion and problem solving' Subject: RE: [AccessD] Bug Report Was it the actual line that called the other block? This one is just "any old line of code". It always occurs in the OnOpen of the form, where I am initializing classes, etc. By setting up debug.Print statements through the OnOpen I am able to nail down what exact line of code it is, but it doesn't occur every time the form opens so it is a pita to step through to actually watch the close happen. I have caused the close to move around however, even "pushing it out the end" of the OnOpen back into the function that opens the form. Truly bizarre. I have seen this kind of stuff before however. Back when I was working on C2DbFrameWiz (the error handler insertion wizard) I would get instances where the code that inserted the code into a module would just cause a close. It was very similar, I could "track it down" to a single line of code. I could go up to the previous line, type in the same code character for character, then delete the line causing the code and the problem would "go away" for awhile. OTOH, If I cut the line out to the paste buffer and pasted it back in again, I would still have the issue. I am convinced that the source code that you see on the screen has other things in the text stream, things that are not visible to you, the developer. Kind of like the old Word Perfect "show codes" where you would cause other formatting stuff to appear. I am convinced that the text stream gets something embedded in it and once that something is in the string, you are hosed. In this case (my current application) I have gone so far as to import the entire FE into a new blank MDB and the problem still exists. I do not get the "corrupted form" kind of thing that occurs with the A2K / AXP vb dll version issue, i.e. the form module is not "corrupted" at least not corrupted so badly that it won't export. This is a bizarre one and very irritating to my users as you might imagine. John W. Colby www.ColbyConsulting.com Contribute your unused CPU cycles to a good cause: http://folding.stanford.edu/ -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Charlotte Foust Sent: Monday, August 15, 2005 11:30 AM To: Access Developers discussion and problem solving Subject: RE: [AccessD] Bug Report I saw behavior like that in one of my apps once, John. I finally tracked it down to mixing DAO and ADO, that is, a DAO code block calling out to an ADO block, or vice versa. I scrubbed my code thoroughly to prevent said circumstance and the problem went away. One of the steps I took was to rename my routines so that I could tell at a glance whether they were ADO or DAO. Charlotte Foust -----Original Message----- From: John W. Colby [mailto:jwcolby at colbyconsulting.com] Sent: Sunday, August 14, 2005 5:52 PM To: 'Access Developers discussion and problem solving' Subject: RE: [AccessD] Bug Report LOL. There is no resolving this bug. Access just shuts down. Step through the code and hit one specific line it just closes. Not exactly something I can fix. John W. Colby www.ColbyConsulting.com Contribute your unused CPU cycles to a good cause: http://folding.stanford.edu/ -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Dan Waters Sent: Sunday, August 14, 2005 8:44 PM To: 'Access Developers discussion and problem solving' Subject: RE: [AccessD] Bug Report Well - MS is really loosening up! They won't charge you if it really does turn out to be a bug. I had to solve my bug myself for them to not charge me! Best of Luck! Dan Waters -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of John W. Colby Sent: Sunday, August 14, 2005 6:41 PM To: 'Access Developers discussion and problem solving' Subject: [AccessD] Bug Report The following is the response I got to my bug report: Hello John, Thank you for contacting Microsoft Online Customer Service. I appreciate the time you have taken to provide us with the feedback. As a Customer Service Representative, I can assist you with the support options available with your Microsoft product. You can report bugs by postal mail to the following address: Attn: Office Development Group Microsoft Corporation One Microsoft Way Redmond, WA 98052 The letter should include a complete description of the bug including the actions, software, and hardware associated with the bug and whether or not it is consistently reproducible. You may also contact Microsoft Customer Service and speak with a support professional about the issue and have a support case created. This method will require you to utilize the standard options of support that are available for your copy of Microsoft product initially. Once the support professional is able to determine that the problem is a bug with the software, they will not decrement the incident from warranty support or account or issue a refund of any credit card charges if applicable. You may contact Microsoft Developer Support Team at (800) 936-5800. They are available 24 hours a day. They will be able to assist you. John, I hope your issue gets resolved. Thank you for using Microsoft products and services. Benoy Microsoft Online Customer Service Representative If you have any feedback about your Online Customer Service experience please E-mail my manager Rahul Rajgopal at managers at microsoft.com John W. Colby www.ColbyConsulting.com Contribute your unused CPU cycles to a good cause: http://folding.stanford.edu/ -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From Johncliviger at aol.com Mon Aug 15 11:10:35 2005 From: Johncliviger at aol.com (Johncliviger at aol.com) Date: Mon, 15 Aug 2005 12:10:35 EDT Subject: [AccessD] Upsize wizard MDB to SQL Message-ID: Thanks Debbie for your comments johnc From bchacc at san.rr.com Mon Aug 15 11:13:38 2005 From: bchacc at san.rr.com (Rocky Smolin - Beach Access Software) Date: Mon, 15 Aug 2005 09:13:38 -0700 Subject: [AccessD] Bug Report References: Message-ID: <03da01c5a1b4$4c166b10$6501a8c0@HAL9004> D'oh! ----- Original Message ----- From: "Charlotte Foust" To: "Access Developers discussion and problem solving" Sent: Monday, August 15, 2005 8:26 AM Subject: RE: [AccessD] Bug Report > Read the EULA, Rocky. If you DON'T subscribe, then you agree to remove > all the software from your machine. That's the reason I don't use the > action pack. > > Charlotte Foust > > > -----Original Message----- > From: Rocky Smolin - Beach Access Software [mailto:bchacc at san.rr.com] > Sent: Sunday, August 14, 2005 11:22 PM > To: Access Developers discussion and problem solving > Subject: Re: [AccessD] Bug Report > > > I subscribed to the Action Pack as well this year. Is there any > advantage > to subscribing every year? > > Rocky > > ----- Original Message ----- > From: "John W. Colby" > To: "'Access Developers discussion and problem solving'" > > Sent: Sunday, August 14, 2005 5:03 PM > Subject: RE: [AccessD] Bug Report > > >> Because I am an action pack subscriber, and because the problem occurs >> under >> OfficeXp and Windows XP received from them in the Action Pack, I have > 2 >> available support incidents free of charge, which I am using the first > of >> for this bug report. We shall see if I get it back. >> >> John W. Colby >> www.ColbyConsulting.com >> >> Contribute your unused CPU cycles to a good cause: >> http://folding.stanford.edu/ >> >> -----Original Message----- >> From: accessd-bounces at databaseadvisors.com >> [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of John W. >> Colby >> Sent: Sunday, August 14, 2005 7:53 PM >> To: 'Access Developers discussion and problem solving' >> Subject: RE: [AccessD] Bug Report >> >> >> LOL. All you have to do is pay them money to tell them about their >> bugs >> and >> you too can be on a first name basis. >> >> John W. Colby >> www.ColbyConsulting.com >> >> Contribute your unused CPU cycles to a good cause: >> http://folding.stanford.edu/ >> >> -----Original Message----- >> From: accessd-bounces at databaseadvisors.com >> [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Rocky >> Smolin - Beach Access Software >> Sent: Sunday, August 14, 2005 7:51 PM >> To: Access Developers discussion and problem solving >> Subject: Re: [AccessD] Bug Report >> >> >> You're on a first name basis with Benoy? Not many of us have that >> kind of clout. >> >> Rocky >> >> ----- Original Message ----- >> From: "John W. Colby" >> To: "'Access Developers discussion and problem solving'" >> >> Sent: Sunday, August 14, 2005 4:41 PM >> Subject: [AccessD] Bug Report >> >> >>> The following is the response I got to my bug report: >>> >>> Hello John, >>> >>> Thank you for contacting Microsoft Online Customer Service. >>> >>> I appreciate the time you have taken to provide us with the feedback. > >>> As a Customer Service Representative, I can assist you with the >>> support options available with your Microsoft product. You can report > >>> bugs by postal mail to the following address: >>> >>> Attn: Office Development Group >>> Microsoft Corporation >>> One Microsoft Way >>> Redmond, WA 98052 >>> >>> The letter should include a complete description of the bug including > >>> the actions, software, and hardware associated with the bug and >>> whether or not it is consistently reproducible. >>> >>> You may also contact Microsoft Customer Service and speak with a >>> support professional about the issue and have a support case created. > >>> This method will require you to utilize the standard options of >>> support that are available for your copy of Microsoft product >>> initially. Once the support professional is able to determine that >>> the problem is a bug with the software, they will not decrement the >>> incident from warranty support or account or issue a refund of any >>> credit card charges if applicable. >>> >>> You may contact Microsoft Developer Support Team at (800) 936-5800. >>> They are available 24 hours a day. They will be able to assist you. >>> >>> John, I hope your issue gets resolved. >>> >>> Thank you for using Microsoft products and services. >>> >>> Benoy >>> Microsoft Online Customer Service Representative >>> >>> If you have any feedback about your Online Customer Service >>> experience please E-mail my manager Rahul Rajgopal at >>> managers at microsoft.com >>> >>> >>> >>> John W. Colby >>> www.ColbyConsulting.com >>> >>> Contribute your unused CPU cycles to a good cause: >>> http://folding.stanford.edu/ >>> >>> >>> -- >>> AccessD mailing list >>> AccessD at databaseadvisors.com >>> http://databaseadvisors.com/mailman/listinfo/accessd >>> Website: http://www.databaseadvisors.com >>> >> >> -- >> AccessD mailing list >> AccessD at databaseadvisors.com >> http://databaseadvisors.com/mailman/listinfo/accessd >> Website: http://www.databaseadvisors.com >> >> >> >> -- >> AccessD mailing list >> AccessD at databaseadvisors.com >> http://databaseadvisors.com/mailman/listinfo/accessd >> Website: http://www.databaseadvisors.com >> >> >> >> -- >> AccessD mailing list >> AccessD at databaseadvisors.com >> http://databaseadvisors.com/mailman/listinfo/accessd >> Website: http://www.databaseadvisors.com >> > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > From jwcolby at colbyconsulting.com Mon Aug 15 11:19:20 2005 From: jwcolby at colbyconsulting.com (John W. Colby) Date: Mon, 15 Aug 2005 12:19:20 -0400 Subject: [AccessD] Bug Report In-Reply-To: Message-ID: <001601c5a1b5$176c1940$6c7aa8c0@ColbyM6805> >I've also had cases where code breaks on a line where a breakpoint was but is no longer after the code has been changed (lines inserted or deleted). Yea, I've seen this too. Breaks even though the breakbpoint was removed. I think it is the same issue, i.e. "invisible stuff" in the source code that is not properly stripped out. Unfortunately /decompile does not help in this case. All that /decompile does is throw out the pcode stream forcing a recompile of the entire source code stream. If the source stream is bad then the next compile will just recreate the bad pcode. John W. Colby www.ColbyConsulting.com Contribute your unused CPU cycles to a good cause: http://folding.stanford.edu/ -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Jim Dettman Sent: Monday, August 15, 2005 12:09 PM To: Access Developers discussion and problem solving Subject: RE: [AccessD] Bug Report John, I've seen what your seeing. I've also had cases where code breaks on a line where a breakpoint was but is no longer after the code has been changed (lines inserted or deleted). I've even had it break on *blank* lines in some cases. I can push the lines around as you say and watch things change. <> Basically it boils down to the fact that the source code is out of synch with the p-code or as your saying, the p-code is hosed. Since they are stored separately, it is easy for this to happen. Good time to use /decompile. Jim. -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of John W. Colby Sent: Monday, August 15, 2005 11:53 AM To: 'Access Developers discussion and problem solving' Subject: RE: [AccessD] Bug Report Was it the actual line that called the other block? This one is just "any old line of code". It always occurs in the OnOpen of the form, where I am initializing classes, etc. By setting up debug.Print statements through the OnOpen I am able to nail down what exact line of code it is, but it doesn't occur every time the form opens so it is a pita to step through to actually watch the close happen. I have caused the close to move around however, even "pushing it out the end" of the OnOpen back into the function that opens the form. Truly bizarre. I have seen this kind of stuff before however. Back when I was working on C2DbFrameWiz (the error handler insertion wizard) I would get instances where the code that inserted the code into a module would just cause a close. It was very similar, I could "track it down" to a single line of code. I could go up to the previous line, type in the same code character for character, then delete the line causing the code and the problem would "go away" for awhile. OTOH, If I cut the line out to the paste buffer and pasted it back in again, I would still have the issue. I am convinced that the source code that you see on the screen has other things in the text stream, things that are not visible to you, the developer. Kind of like the old Word Perfect "show codes" where you would cause other formatting stuff to appear. I am convinced that the text stream gets something embedded in it and once that something is in the string, you are hosed. In this case (my current application) I have gone so far as to import the entire FE into a new blank MDB and the problem still exists. I do not get the "corrupted form" kind of thing that occurs with the A2K / AXP vb dll version issue, i.e. the form module is not "corrupted" at least not corrupted so badly that it won't export. This is a bizarre one and very irritating to my users as you might imagine. John W. Colby www.ColbyConsulting.com Contribute your unused CPU cycles to a good cause: http://folding.stanford.edu/ -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Charlotte Foust Sent: Monday, August 15, 2005 11:30 AM To: Access Developers discussion and problem solving Subject: RE: [AccessD] Bug Report I saw behavior like that in one of my apps once, John. I finally tracked it down to mixing DAO and ADO, that is, a DAO code block calling out to an ADO block, or vice versa. I scrubbed my code thoroughly to prevent said circumstance and the problem went away. One of the steps I took was to rename my routines so that I could tell at a glance whether they were ADO or DAO. Charlotte Foust -----Original Message----- From: John W. Colby [mailto:jwcolby at colbyconsulting.com] Sent: Sunday, August 14, 2005 5:52 PM To: 'Access Developers discussion and problem solving' Subject: RE: [AccessD] Bug Report LOL. There is no resolving this bug. Access just shuts down. Step through the code and hit one specific line it just closes. Not exactly something I can fix. John W. Colby www.ColbyConsulting.com Contribute your unused CPU cycles to a good cause: http://folding.stanford.edu/ -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Dan Waters Sent: Sunday, August 14, 2005 8:44 PM To: 'Access Developers discussion and problem solving' Subject: RE: [AccessD] Bug Report Well - MS is really loosening up! They won't charge you if it really does turn out to be a bug. I had to solve my bug myself for them to not charge me! Best of Luck! Dan Waters -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of John W. Colby Sent: Sunday, August 14, 2005 6:41 PM To: 'Access Developers discussion and problem solving' Subject: [AccessD] Bug Report The following is the response I got to my bug report: Hello John, Thank you for contacting Microsoft Online Customer Service. I appreciate the time you have taken to provide us with the feedback. As a Customer Service Representative, I can assist you with the support options available with your Microsoft product. You can report bugs by postal mail to the following address: Attn: Office Development Group Microsoft Corporation One Microsoft Way Redmond, WA 98052 The letter should include a complete description of the bug including the actions, software, and hardware associated with the bug and whether or not it is consistently reproducible. You may also contact Microsoft Customer Service and speak with a support professional about the issue and have a support case created. This method will require you to utilize the standard options of support that are available for your copy of Microsoft product initially. Once the support professional is able to determine that the problem is a bug with the software, they will not decrement the incident from warranty support or account or issue a refund of any credit card charges if applicable. You may contact Microsoft Developer Support Team at (800) 936-5800. They are available 24 hours a day. They will be able to assist you. John, I hope your issue gets resolved. Thank you for using Microsoft products and services. Benoy Microsoft Online Customer Service Representative If you have any feedback about your Online Customer Service experience please E-mail my manager Rahul Rajgopal at managers at microsoft.com John W. Colby www.ColbyConsulting.com Contribute your unused CPU cycles to a good cause: http://folding.stanford.edu/ -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From jwcolby at colbyconsulting.com Mon Aug 15 11:24:36 2005 From: jwcolby at colbyconsulting.com (John W. Colby) Date: Mon, 15 Aug 2005 12:24:36 -0400 Subject: [AccessD] Bug Report In-Reply-To: Message-ID: <001701c5a1b5$d3cf7c30$6c7aa8c0@ColbyM6805> OTOH, how much would it cost to buy 10 licenses to Windows XP Pro, OfficeXP Pro, and SQL Server with 10 CALs? I think that paying 300 / year is waaaaaaay cheaper than paying all of those licenses, even if you have to subscribe for many years. If you use any of the other programs in the Action pack, the balance tips even further towards the Action Pack side. I have 6 machines in my Home Office, all of which have Windows XP Pro. All have OfficeXP Pro installed, although only 3 really need it. Three have SQL Server installed although only one really needs it. My dev work could use the free version. Anyway, it made sense for me. John W. Colby www.ColbyConsulting.com Contribute your unused CPU cycles to a good cause: http://folding.stanford.edu/ -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Charlotte Foust Sent: Monday, August 15, 2005 11:27 AM To: Access Developers discussion and problem solving Subject: RE: [AccessD] Bug Report Read the EULA, Rocky. If you DON'T subscribe, then you agree to remove all the software from your machine. That's the reason I don't use the action pack. Charlotte Foust -----Original Message----- From: Rocky Smolin - Beach Access Software [mailto:bchacc at san.rr.com] Sent: Sunday, August 14, 2005 11:22 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Bug Report I subscribed to the Action Pack as well this year. Is there any advantage to subscribing every year? Rocky ----- Original Message ----- From: "John W. Colby" To: "'Access Developers discussion and problem solving'" Sent: Sunday, August 14, 2005 5:03 PM Subject: RE: [AccessD] Bug Report > Because I am an action pack subscriber, and because the problem occurs > under OfficeXp and Windows XP received from them in the Action Pack, I > have 2 > available support incidents free of charge, which I am using the first of > for this bug report. We shall see if I get it back. > > John W. Colby > www.ColbyConsulting.com > > Contribute your unused CPU cycles to a good cause: > http://folding.stanford.edu/ > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of John W. > Colby > Sent: Sunday, August 14, 2005 7:53 PM > To: 'Access Developers discussion and problem solving' > Subject: RE: [AccessD] Bug Report > > > LOL. All you have to do is pay them money to tell them about their > bugs > and > you too can be on a first name basis. > > John W. Colby > www.ColbyConsulting.com > > Contribute your unused CPU cycles to a good cause: > http://folding.stanford.edu/ > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Rocky > Smolin - Beach Access Software > Sent: Sunday, August 14, 2005 7:51 PM > To: Access Developers discussion and problem solving > Subject: Re: [AccessD] Bug Report > > > You're on a first name basis with Benoy? Not many of us have that > kind of clout. > > Rocky > > ----- Original Message ----- > From: "John W. Colby" > To: "'Access Developers discussion and problem solving'" > > Sent: Sunday, August 14, 2005 4:41 PM > Subject: [AccessD] Bug Report > > >> The following is the response I got to my bug report: >> >> Hello John, >> >> Thank you for contacting Microsoft Online Customer Service. >> >> I appreciate the time you have taken to provide us with the feedback. >> As a Customer Service Representative, I can assist you with the >> support options available with your Microsoft product. You can report >> bugs by postal mail to the following address: >> >> Attn: Office Development Group >> Microsoft Corporation >> One Microsoft Way >> Redmond, WA 98052 >> >> The letter should include a complete description of the bug including >> the actions, software, and hardware associated with the bug and >> whether or not it is consistently reproducible. >> >> You may also contact Microsoft Customer Service and speak with a >> support professional about the issue and have a support case created. >> This method will require you to utilize the standard options of >> support that are available for your copy of Microsoft product >> initially. Once the support professional is able to determine that >> the problem is a bug with the software, they will not decrement the >> incident from warranty support or account or issue a refund of any >> credit card charges if applicable. >> >> You may contact Microsoft Developer Support Team at (800) 936-5800. >> They are available 24 hours a day. They will be able to assist you. >> >> John, I hope your issue gets resolved. >> >> Thank you for using Microsoft products and services. >> >> Benoy >> Microsoft Online Customer Service Representative >> >> If you have any feedback about your Online Customer Service >> experience please E-mail my manager Rahul Rajgopal at >> managers at microsoft.com >> >> >> >> John W. Colby >> www.ColbyConsulting.com >> >> Contribute your unused CPU cycles to a good cause: >> http://folding.stanford.edu/ >> >> >> -- >> AccessD mailing list >> AccessD at databaseadvisors.com >> http://databaseadvisors.com/mailman/listinfo/accessd >> Website: http://www.databaseadvisors.com >> > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > > > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > > > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From jwcolby at colbyconsulting.com Mon Aug 15 11:29:26 2005 From: jwcolby at colbyconsulting.com (John W. Colby) Date: Mon, 15 Aug 2005 12:29:26 -0400 Subject: [AccessD] Bug Report In-Reply-To: <03d101c5a1af$22966ec0$6501a8c0@HAL9004> Message-ID: <001801c5a1b6$80e3a6d0$6c7aa8c0@ColbyM6805> Rocky, This is indeed fascinating. I am at a loss on this one. I am no lightweight at this stuff and I just can't figure it out. I know that the Windows98 users do not have the problem, the Win2K users do see it but rarely, the WinXP users see it occasionally, and apparently more often with SP3. So is it an Access bug or a Windows bug? In this specific case (the only place I am seeing it), it is in the OnOpen of this one specific form. The form is a bound form, VERY complex, with probably 50-100 controls. 18 tabs using JIT subforms to only load the subforms if the tabs are clicked. The form has a clsForm that ties the form into my framework. That class passes a pointer to the form into the class and the class then iterates the form for every control, loading a withevents class for each control found. I have however commented out that specific class such that the framework is not triggered for the form and the problem still exists. In addition to that class, I also have 9 other classes loading, mostly classes that are passed in controls and enforce rules regarding sets of controls. I have not yet dimmed out those classes to see if the issue goes away. And yes, it also occurs on my laptop where the FE/BE are both on the same machine. HOWEVER, the BE (and FE for that matter) resides on a mapped (mounted) drive. On my laptop I use an encryption program to set up a big file which is "turned into a drive". IOW, this file is mounted as a drive by a driver. The driver asks for a password before mounting the "drive". I do this so that I can carry sensitive customer data on my machine without exposing the data if the laptop is lost or stolen. Furthermore I can just backup the source file that is a drive, to backup the entire development drive. These drives are mounted as drive K, M and X. Does that count as a network drive? The driver performs the mounting at specific drive letters. Anyway, it is not AFAIK going out over the network, so I do not think it is a NIC problem. This is NOT going to be easy for them to troubleshoot. The BE is now approaching 400 mbytes and contains sensitive personal and medical data on tens of thousands of people. I am guessing that if they are going to do it at all they will have to remote in to my laptop at my office and work on it remotely. It should be interesting to see what happens. Just in... I got this email this morning: CASE_ID_NUM: SRZ050815000001 MESSAGE: ********************** The message for you follows ************************ Hi John, Thank you for using Microsoft Online Assisted Support. In order to route your case to a Support Professional we will need to re-entitle your case. The product ID that you supplied indicates that your software came part of an Open License Agreement. This is a special license agreement tha t your company purchased so they could obtain many copies of the software at a significant cost savings. This allows your company to save money by purchasing the software in volume. However, the software does not come with any free technical support. If you would like to have a support profession al troubleshoot your issue, we must process a retail PID for Office (w/Access), an access ID identifying a pre-paid support account, or a credit card charge ($99 over the web, $245 over the phone). IOW, the action pack does not get free support incidents. Sigh. John W. Colby www.ColbyConsulting.com Contribute your unused CPU cycles to a good cause: http://folding.stanford.edu/ -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Rocky Smolin - Beach Access Software Sent: Monday, August 15, 2005 11:37 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Bug Report Interesting. What's your speculation on where it's happening? In the interpretation of your classes? They obviously have no clue and cannot track it down without getting your app and running it themselves. At first it behaves like a bad NIC - I've had apps go south with corruptions and shutdowns and traced it to a cheap NIC on the network - but you're running this standalone, yes? Rocky From cyx5 at cdc.gov Mon Aug 15 11:30:06 2005 From: cyx5 at cdc.gov (Nicholson, Karen) Date: Mon, 15 Aug 2005 12:30:06 -0400 Subject: [AccessD] Access Bugs Message-ID: Here is a good one. I have Access 2003 with an SQL 2000 backend. Many of my subforms are based on queries. The data was not updating the correct record. After going nuts for a few weeks. I find it is a bug. nice. http://support.microsoft.com/kb/903074/en-us?spid=2509 From cfoust at infostatsystems.com Mon Aug 15 11:33:53 2005 From: cfoust at infostatsystems.com (Charlotte Foust) Date: Mon, 15 Aug 2005 09:33:53 -0700 Subject: [AccessD] Bug Report Message-ID: It definitely makes sense for you, as it does for our office. It just doesn't make sense for me personally, even though I'm a Microsoft Partner too. I can't use all those apps, will never load them and can't be bothered to keep them straight from the full licenses I hold. Charlotte Foust -----Original Message----- From: John W. Colby [mailto:jwcolby at colbyconsulting.com] Sent: Monday, August 15, 2005 9:25 AM To: 'Access Developers discussion and problem solving' Subject: RE: [AccessD] Bug Report OTOH, how much would it cost to buy 10 licenses to Windows XP Pro, OfficeXP Pro, and SQL Server with 10 CALs? I think that paying 300 / year is waaaaaaay cheaper than paying all of those licenses, even if you have to subscribe for many years. If you use any of the other programs in the Action pack, the balance tips even further towards the Action Pack side. I have 6 machines in my Home Office, all of which have Windows XP Pro. All have OfficeXP Pro installed, although only 3 really need it. Three have SQL Server installed although only one really needs it. My dev work could use the free version. Anyway, it made sense for me. John W. Colby www.ColbyConsulting.com Contribute your unused CPU cycles to a good cause: http://folding.stanford.edu/ -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Charlotte Foust Sent: Monday, August 15, 2005 11:27 AM To: Access Developers discussion and problem solving Subject: RE: [AccessD] Bug Report Read the EULA, Rocky. If you DON'T subscribe, then you agree to remove all the software from your machine. That's the reason I don't use the action pack. Charlotte Foust -----Original Message----- From: Rocky Smolin - Beach Access Software [mailto:bchacc at san.rr.com] Sent: Sunday, August 14, 2005 11:22 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Bug Report I subscribed to the Action Pack as well this year. Is there any advantage to subscribing every year? Rocky ----- Original Message ----- From: "John W. Colby" To: "'Access Developers discussion and problem solving'" Sent: Sunday, August 14, 2005 5:03 PM Subject: RE: [AccessD] Bug Report > Because I am an action pack subscriber, and because the problem occurs > under OfficeXp and Windows XP received from them in the Action Pack, I > have 2 > available support incidents free of charge, which I am using the first of > for this bug report. We shall see if I get it back. > > John W. Colby > www.ColbyConsulting.com > > Contribute your unused CPU cycles to a good cause: > http://folding.stanford.edu/ > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of John W. > Colby > Sent: Sunday, August 14, 2005 7:53 PM > To: 'Access Developers discussion and problem solving' > Subject: RE: [AccessD] Bug Report > > > LOL. All you have to do is pay them money to tell them about their > bugs and > you too can be on a first name basis. > > John W. Colby > www.ColbyConsulting.com > > Contribute your unused CPU cycles to a good cause: > http://folding.stanford.edu/ > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Rocky > Smolin - Beach Access Software > Sent: Sunday, August 14, 2005 7:51 PM > To: Access Developers discussion and problem solving > Subject: Re: [AccessD] Bug Report > > > You're on a first name basis with Benoy? Not many of us have that > kind of clout. > > Rocky > > ----- Original Message ----- > From: "John W. Colby" > To: "'Access Developers discussion and problem solving'" > > Sent: Sunday, August 14, 2005 4:41 PM > Subject: [AccessD] Bug Report > > >> The following is the response I got to my bug report: >> >> Hello John, >> >> Thank you for contacting Microsoft Online Customer Service. >> >> I appreciate the time you have taken to provide us with the feedback. >> As a Customer Service Representative, I can assist you with the >> support options available with your Microsoft product. You can report >> bugs by postal mail to the following address: >> >> Attn: Office Development Group >> Microsoft Corporation >> One Microsoft Way >> Redmond, WA 98052 >> >> The letter should include a complete description of the bug including >> the actions, software, and hardware associated with the bug and >> whether or not it is consistently reproducible. >> >> You may also contact Microsoft Customer Service and speak with a >> support professional about the issue and have a support case created. >> This method will require you to utilize the standard options of >> support that are available for your copy of Microsoft product >> initially. Once the support professional is able to determine that >> the problem is a bug with the software, they will not decrement the >> incident from warranty support or account or issue a refund of any >> credit card charges if applicable. >> >> You may contact Microsoft Developer Support Team at (800) 936-5800. >> They are available 24 hours a day. They will be able to assist you. >> >> John, I hope your issue gets resolved. >> >> Thank you for using Microsoft products and services. >> >> Benoy >> Microsoft Online Customer Service Representative >> >> If you have any feedback about your Online Customer Service >> experience please E-mail my manager Rahul Rajgopal at >> managers at microsoft.com >> >> >> >> John W. Colby >> www.ColbyConsulting.com >> >> Contribute your unused CPU cycles to a good cause: >> http://folding.stanford.edu/ >> >> >> -- >> AccessD mailing list >> AccessD at databaseadvisors.com >> http://databaseadvisors.com/mailman/listinfo/accessd >> Website: http://www.databaseadvisors.com >> > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > > > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > > > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd 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 Aug 15 11:41:15 2005 From: cfoust at infostatsystems.com (Charlotte Foust) Date: Mon, 15 Aug 2005 09:41:15 -0700 Subject: [AccessD] ActionPack Tech Support Message-ID: John, I believe we've used their free tech support, but perhaps it is associated with the kind of partner you are rather than the action pack itself. I wasn't the one doing the calling, so I can't say for sure. Charlotte Foust -----Original Message----- From: John W. Colby [mailto:jwcolby at colbyconsulting.com] Sent: Monday, August 15, 2005 9:29 AM To: 'Access Developers discussion and problem solving' Subject: RE: [AccessD] Bug Report Rocky, This is indeed fascinating. I am at a loss on this one. I am no lightweight at this stuff and I just can't figure it out. I know that the Windows98 users do not have the problem, the Win2K users do see it but rarely, the WinXP users see it occasionally, and apparently more often with SP3. So is it an Access bug or a Windows bug? In this specific case (the only place I am seeing it), it is in the OnOpen of this one specific form. The form is a bound form, VERY complex, with probably 50-100 controls. 18 tabs using JIT subforms to only load the subforms if the tabs are clicked. The form has a clsForm that ties the form into my framework. That class passes a pointer to the form into the class and the class then iterates the form for every control, loading a withevents class for each control found. I have however commented out that specific class such that the framework is not triggered for the form and the problem still exists. In addition to that class, I also have 9 other classes loading, mostly classes that are passed in controls and enforce rules regarding sets of controls. I have not yet dimmed out those classes to see if the issue goes away. And yes, it also occurs on my laptop where the FE/BE are both on the same machine. HOWEVER, the BE (and FE for that matter) resides on a mapped (mounted) drive. On my laptop I use an encryption program to set up a big file which is "turned into a drive". IOW, this file is mounted as a drive by a driver. The driver asks for a password before mounting the "drive". I do this so that I can carry sensitive customer data on my machine without exposing the data if the laptop is lost or stolen. Furthermore I can just backup the source file that is a drive, to backup the entire development drive. These drives are mounted as drive K, M and X. Does that count as a network drive? The driver performs the mounting at specific drive letters. Anyway, it is not AFAIK going out over the network, so I do not think it is a NIC problem. This is NOT going to be easy for them to troubleshoot. The BE is now approaching 400 mbytes and contains sensitive personal and medical data on tens of thousands of people. I am guessing that if they are going to do it at all they will have to remote in to my laptop at my office and work on it remotely. It should be interesting to see what happens. Just in... I got this email this morning: CASE_ID_NUM: SRZ050815000001 MESSAGE: ********************** The message for you follows ************************ Hi John, Thank you for using Microsoft Online Assisted Support. In order to route your case to a Support Professional we will need to re-entitle your case. The product ID that you supplied indicates that your software came part of an Open License Agreement. This is a special license agreement tha t your company purchased so they could obtain many copies of the software at a significant cost savings. This allows your company to save money by purchasing the software in volume. However, the software does not come with any free technical support. If you would like to have a support profession al troubleshoot your issue, we must process a retail PID for Office (w/Access), an access ID identifying a pre-paid support account, or a credit card charge ($99 over the web, $245 over the phone). IOW, the action pack does not get free support incidents. Sigh. John W. Colby www.ColbyConsulting.com Contribute your unused CPU cycles to a good cause: http://folding.stanford.edu/ -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Rocky Smolin - Beach Access Software Sent: Monday, August 15, 2005 11:37 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Bug Report Interesting. What's your speculation on where it's happening? In the interpretation of your classes? They obviously have no clue and cannot track it down without getting your app and running it themselves. At first it behaves like a bad NIC - I've had apps go south with corruptions and shutdowns and traced it to a cheap NIC on the network - but you're running this standalone, yes? Rocky -- 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 Aug 15 11:41:58 2005 From: Erwin.Craps at ithelps.be (Erwin Craps - IT Helps) Date: Mon, 15 Aug 2005 18:41:58 +0200 Subject: [AccessD] Access Bugs Message-ID: <46B976F2B698FF46A4FE7636509B22DF1B5DDB@stekelbes.ithelps.local> So if I understand correctly, all of your data is a mess right now??? Men can become woman and a 16 year old kid can become 86 thanks to this bug. Should somebody shoot someone for this??? How can one trust an application if the wrong record is updated? Erwin -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Nicholson, Karen Sent: Monday, August 15, 2005 6:30 PM To: Access Developers discussion and problem solving Subject: [AccessD] Access Bugs Here is a good one. I have Access 2003 with an SQL 2000 backend. Many of my subforms are based on queries. The data was not updating the correct record. After going nuts for a few weeks. I find it is a bug. nice. http://support.microsoft.com/kb/903074/en-us?spid=2509 -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From cfoust at infostatsystems.com Mon Aug 15 11:52:30 2005 From: cfoust at infostatsystems.com (Charlotte Foust) Date: Mon, 15 Aug 2005 09:52:30 -0700 Subject: [AccessD] Access Bugs Message-ID: That's not a bug, it's a FEATURE! Didn't you read the press release on the new virtual reality capabilities of 2003?? Charlotte Foust -----Original Message----- From: Erwin Craps - IT Helps [mailto:Erwin.Craps at ithelps.be] Sent: Monday, August 15, 2005 9:42 AM To: Access Developers discussion and problem solving Subject: RE: [AccessD] Access Bugs So if I understand correctly, all of your data is a mess right now??? Men can become woman and a 16 year old kid can become 86 thanks to this bug. Should somebody shoot someone for this??? How can one trust an application if the wrong record is updated? Erwin -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Nicholson, Karen Sent: Monday, August 15, 2005 6:30 PM To: Access Developers discussion and problem solving Subject: [AccessD] Access Bugs Here is a good one. I have Access 2003 with an SQL 2000 backend. Many of my subforms are based on queries. The data was not updating the correct record. After going nuts for a few weeks. I find it is a bug. nice. http://support.microsoft.com/kb/903074/en-us?spid=2509 From ssharkins at bellsouth.net Mon Aug 15 12:05:49 2005 From: ssharkins at bellsouth.net (Susan Harkins) Date: Mon, 15 Aug 2005 13:05:49 -0400 Subject: [AccessD] Registry Keys Message-ID: <20050815170548.MMD3503.ibm70aec.bellsouth.net@SUSANONE> Someone asked last week if there was a utility to find all registry entries for a particular piece of software. I didn't think so, but asked Mike G -- figured if there was one, he'd know about it -- anyway, the following was his suggestion: RegMon (http://www.sysinternals.com/Utilities/Regmon.html) It finds which registry entries a particular piece of software actually uses when it runs. Hope that's helpful. Susan H. From cyx5 at cdc.gov Mon Aug 15 12:16:47 2005 From: cyx5 at cdc.gov (Nicholson, Karen) Date: Mon, 15 Aug 2005 13:16:47 -0400 Subject: [AccessD] Access Bugs Message-ID: My data is not a mess that I know of. We just turned our first user into straight Access 2003. She is a new employee so has not had much time to hit our critical data. I found four bad records that she affected. Then I shut her off and backed her down to Access 2002. I was developing at home in 2003 and couldn't figure out why the records looked wierd. I was using my own new tables. I was just lucky that they didn't roll this whole place out at once or my data would have been trashed. -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Charlotte Foust Sent: Monday, August 15, 2005 12:53 PM To: Access Developers discussion and problem solving Subject: RE: [AccessD] Access Bugs That's not a bug, it's a FEATURE! Didn't you read the press release on the new virtual reality capabilities of 2003?? Charlotte Foust -----Original Message----- From: Erwin Craps - IT Helps [mailto:Erwin.Craps at ithelps.be] Sent: Monday, August 15, 2005 9:42 AM To: Access Developers discussion and problem solving Subject: RE: [AccessD] Access Bugs So if I understand correctly, all of your data is a mess right now??? Men can become woman and a 16 year old kid can become 86 thanks to this bug. Should somebody shoot someone for this??? How can one trust an application if the wrong record is updated? Erwin -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Nicholson, Karen Sent: Monday, August 15, 2005 6:30 PM To: Access Developers discussion and problem solving Subject: [AccessD] Access Bugs Here is a good one. I have Access 2003 with an SQL 2000 backend. Many of my subforms are based on queries. The data was not updating the correct record. After going nuts for a few weeks. I find it is a bug. nice. http://support.microsoft.com/kb/903074/en-us?spid=2509 -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From Gustav at cactus.dk Mon Aug 15 12:17:49 2005 From: Gustav at cactus.dk (Gustav Brock) Date: Mon, 15 Aug 2005 19:17:49 +0200 Subject: [AccessD] Bug Report Message-ID: Hi John Some things for you to try: 1. Remove any line containing Debug.Print from the code of the OnOpen event. This one once consistently crashed an Access XP app for me. 2. Remove any graphics from the form. I've seen this crash an A97 app. Just by moving the object (I don't recall if it was a Line or a bitmap) cured the problem. 3. Read out the form using SaveAsText: Call SaveAsText(acForm, "tfrmClaim", "c:\tfrmClaim.txt") Study the text. Clean possible printer information. Or rearrange some objects (the file contains a checksum but it appears to not be checked when loading). Remove the form from the database, decompile it, compress. Read back the form using LoadFromText: Call LoadFromText(acForm, "tfrmClaim", "c:\tfrmClaim.txt") compile and compress. Further, but this is a long shot, you may try to replace the standard printer with an old trusted "clean" driver like "HP LaserJet II", and/or to reduce the colour setting of Windows to 256 colours. /gustav >>> jwcolby at colbyconsulting.com 08/15 4:56 pm >>> I did not post the bug description, however here is what I sent MS: Dear Sirs, I am a professional developer using Microsoft Access. I have a specific Access front end that has a particular (pretty complex) form - tfrmClaim - that when opened sometimes causes Access to close, no warning. A little background: The issue happens both at my client's office and on my development machine which is a laptop with all the pieces right on the machine. The application is a FE/BE split system, with an MDA holding an application framework (written by me). The application uses classes and Withevents (a LOT). My client uses Office 2K. They have about 40-50 workstations running a pretty good mix of Windows 98, Windows 2K and Windows XP. AFAICT the issue does not occur on Win98 but does occur on Win2K and WinXP. The system is a call center for the disability insurance industry. They search for a claimant, and when found open a very complex form that displays all aspects of the claim. This claim form has about 10 tabs, some of which are hidden. The tabs load subforms when clicked on etc to reduce loading time. All of that information is just background for you to understand the situation. The issue is that the OnOpen event occasionally causes the entire database to shut down, no warning, no page fault screen nothing. Just gone. I have been able to insert debug statements and find where the shutdown occurs. It occurs in the same location every time that the shutdown occurs, at least until you "do something" (developer code wise). Unfortunately because it does not happen every time, it is not possible to step through the code and watch it close, but it is possible to nail it down to a specific line of code whenever it does shutdown. In attempting to troubleshoot this issue, I have done all of the typical decompile / compact / repair, open a new database and import all the objects, etc. One day I spent hours working on it, and watched the shutdown "move" through the OnOpen event until I finally "pushed it out the end sub" and it started closing back in the form that opens this complex form (the search result form) - when control returned to that sub. I thought I had it nailed at that point but no, awhile later it was back to shutting down in the OnCurrent of the tfrmClaim. My client thinks it has something to do with XPSP3, although it does occur (much less frequently) on other Oses. It was happening a LOT on the XP SP3 machines, they backed out the SP3 and the occurrence dropped radically - from every 30 minutes to once a day or so. My dev machine (laptop) BTW is XP SP3 and it happens a lot. I have not attempted to back out the SP3 and don't really want to do so. Also, I have OfficeXP on my dev machine and the bug also occurs under OfficeXP as well. The problem will occur on the first search, or the 3rd search or the 10th search, but rarely less often than every 10 searches - at least on my dev machine. It does not appear to be data dependent, i.e. I see no pattern as to which record(s) triggers the shutdown. BTW, I have "commented out" my application framework such that most of the functionality of the MDA is not being run - just trying to narrow down the issue. There are about a dozen classes that load in OnOpen of the form, classes that use WithEvents to handle groups of controls and cause specific interactions to occur. I have not yet commented all of them out, although if I did there would be no code left to run. ;-) John W. Colby www.ColbyConsulting.com From jwcolby at colbyconsulting.com Mon Aug 15 12:30:57 2005 From: jwcolby at colbyconsulting.com (John W. Colby) Date: Mon, 15 Aug 2005 13:30:57 -0400 Subject: [AccessD] Bug Report In-Reply-To: Message-ID: <001c01c5a1bf$1c14ae30$6c7aa8c0@ColbyM6805> > Call SaveAsText(acForm, "tfrmClaim", "c:\tfrmClaim.txt") That was cool. The text file is 390 kbytes so it seems unliekly I can "scan it closely" And unfortunately, remember I said I had "pushed it out of the OnOpen" - the close is now back in the calling function that opens the form. The truly strange part is that there is no code left in that function, i.e. it just exits the sub. Sigh. I was going to try retyping in the offending line of code to see if I could clean the source stream. John W. Colby www.ColbyConsulting.com Contribute your unused CPU cycles to a good cause: http://folding.stanford.edu/ -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Gustav Brock Sent: Monday, August 15, 2005 1:18 PM To: accessd at databaseadvisors.com Subject: RE: [AccessD] Bug Report Hi John Some things for you to try: 1. Remove any line containing Debug.Print from the code of the OnOpen event. This one once consistently crashed an Access XP app for me. 2. Remove any graphics from the form. I've seen this crash an A97 app. Just by moving the object (I don't recall if it was a Line or a bitmap) cured the problem. 3. Read out the form using SaveAsText: Call SaveAsText(acForm, "tfrmClaim", "c:\tfrmClaim.txt") Study the text. Clean possible printer information. Or rearrange some objects (the file contains a checksum but it appears to not be checked when loading). Remove the form from the database, decompile it, compress. Read back the form using LoadFromText: Call LoadFromText(acForm, "tfrmClaim", "c:\tfrmClaim.txt") compile and compress. Further, but this is a long shot, you may try to replace the standard printer with an old trusted "clean" driver like "HP LaserJet II", and/or to reduce the colour setting of Windows to 256 colours. /gustav >>> jwcolby at colbyconsulting.com 08/15 4:56 pm >>> I did not post the bug description, however here is what I sent MS: Dear Sirs, I am a professional developer using Microsoft Access. I have a specific Access front end that has a particular (pretty complex) form - tfrmClaim - that when opened sometimes causes Access to close, no warning. A little background: The issue happens both at my client's office and on my development machine which is a laptop with all the pieces right on the machine. The application is a FE/BE split system, with an MDA holding an application framework (written by me). The application uses classes and Withevents (a LOT). My client uses Office 2K. They have about 40-50 workstations running a pretty good mix of Windows 98, Windows 2K and Windows XP. AFAICT the issue does not occur on Win98 but does occur on Win2K and WinXP. The system is a call center for the disability insurance industry. They search for a claimant, and when found open a very complex form that displays all aspects of the claim. This claim form has about 10 tabs, some of which are hidden. The tabs load subforms when clicked on etc to reduce loading time. All of that information is just background for you to understand the situation. The issue is that the OnOpen event occasionally causes the entire database to shut down, no warning, no page fault screen nothing. Just gone. I have been able to insert debug statements and find where the shutdown occurs. It occurs in the same location every time that the shutdown occurs, at least until you "do something" (developer code wise). Unfortunately because it does not happen every time, it is not possible to step through the code and watch it close, but it is possible to nail it down to a specific line of code whenever it does shutdown. In attempting to troubleshoot this issue, I have done all of the typical decompile / compact / repair, open a new database and import all the objects, etc. One day I spent hours working on it, and watched the shutdown "move" through the OnOpen event until I finally "pushed it out the end sub" and it started closing back in the form that opens this complex form (the search result form) - when control returned to that sub. I thought I had it nailed at that point but no, awhile later it was back to shutting down in the OnCurrent of the tfrmClaim. My client thinks it has something to do with XPSP3, although it does occur (much less frequently) on other Oses. It was happening a LOT on the XP SP3 machines, they backed out the SP3 and the occurrence dropped radically - from every 30 minutes to once a day or so. My dev machine (laptop) BTW is XP SP3 and it happens a lot. I have not attempted to back out the SP3 and don't really want to do so. Also, I have OfficeXP on my dev machine and the bug also occurs under OfficeXP as well. The problem will occur on the first search, or the 3rd search or the 10th search, but rarely less often than every 10 searches - at least on my dev machine. It does not appear to be data dependent, i.e. I see no pattern as to which record(s) triggers the shutdown. BTW, I have "commented out" my application framework such that most of the functionality of the MDA is not being run - just trying to narrow down the issue. There are about a dozen classes that load in OnOpen of the form, classes that use WithEvents to handle groups of controls and cause specific interactions to occur. I have not yet commented all of them out, although if I did there would be no code left to run. ;-) 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 jmhecht at earthlink.net Mon Aug 15 12:51:57 2005 From: jmhecht at earthlink.net (Joe Hecht) Date: Mon, 15 Aug 2005 10:51:57 -0700 Subject: [AccessD] Access and XP MEDIA or Tablet Message-ID: <000d01c5a1c2$08e0e150$6401a8c0@laptop1> Has anyone seen any gotchas when running an Access App developed on XP home or PRO if it is run on XP Media or Tablet OS? Joe Hecht Los Angeles CA From Gustav at cactus.dk Mon Aug 15 13:08:24 2005 From: Gustav at cactus.dk (Gustav Brock) Date: Mon, 15 Aug 2005 20:08:24 +0200 Subject: [AccessD] Bug Report Message-ID: Hi John But at 390K I guess your form contains some graphics - can't you skip that part? Also, if no code is run and the app still crashes, it looks like just the loading of the form causes the crash. The reason could be loading of graphics. Not likely, I know, but quick and easy to test. /gustav >>> jwcolby at colbyconsulting.com 08/15 7:30 pm >>> > Call SaveAsText(acForm, "tfrmClaim", "c:\tfrmClaim.txt") That was cool. The text file is 390 kbytes so it seems unliekly I can "scan it closely" And unfortunately, remember I said I had "pushed it out of the OnOpen" - the close is now back in the calling function that opens the form. The truly strange part is that there is no code left in that function, i.e. it just exits the sub. Sigh. I was going to try retyping in the offending line of code to see if I could clean the source stream. From jwcolby at colbyconsulting.com Mon Aug 15 13:18:53 2005 From: jwcolby at colbyconsulting.com (John W. Colby) Date: Mon, 15 Aug 2005 14:18:53 -0400 Subject: [AccessD] Bug Report In-Reply-To: Message-ID: <002201c5a1c5$ce682c50$6c7aa8c0@ColbyM6805> The size of the file is caused by the VB for all the controls. No, no graphics at all AFAIK. MAYBE a button... Hmmm I just looked at it and yea, I have graphics in the tabs - little pictures like can be found in buttons generated by the wizards. No pictures other than those. I will certainly take those out to see what happens. BTW, I went in and commented out all of the classes loaded by the form and the crashing has stopped. At least it looks like it. That is one of the problems, you can open the form 19 times and the 20th it will close the database. So every time you make a change you have to do a TON of searches (opening the form) before you are almost sure that you have managed to change the symptoms. John W. Colby www.ColbyConsulting.com Contribute your unused CPU cycles to a good cause: http://folding.stanford.edu/ -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Gustav Brock Sent: Monday, August 15, 2005 2:08 PM To: accessd at databaseadvisors.com Subject: RE: [AccessD] Bug Report Hi John But at 390K I guess your form contains some graphics - can't you skip that part? Also, if no code is run and the app still crashes, it looks like just the loading of the form causes the crash. The reason could be loading of graphics. Not likely, I know, but quick and easy to test. /gustav >>> jwcolby at colbyconsulting.com 08/15 7:30 pm >>> > Call SaveAsText(acForm, "tfrmClaim", "c:\tfrmClaim.txt") That was cool. The text file is 390 kbytes so it seems unliekly I can "scan it closely" And unfortunately, remember I said I had "pushed it out of the OnOpen" - the close is now back in the calling function that opens the form. The truly strange part is that there is no code left in that function, i.e. it just exits the sub. Sigh. I was going to try retyping in the offending line of code to see if I could clean the source stream. -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From Gustav at cactus.dk Mon Aug 15 13:56:15 2005 From: Gustav at cactus.dk (Gustav Brock) Date: Mon, 15 Aug 2005 20:56:15 +0200 Subject: [AccessD] Bug Report Message-ID: Hi John OK. I can count to "a dozen classes" times 20 and all the combinations of these 20 ... How about creating a macro to load the form 25 times and beep when unloading the form?? /gustav >>> jwcolby at colbyconsulting.com 08/15 8:18 pm >>> The size of the file is caused by the VB for all the controls. No, no graphics at all AFAIK. MAYBE a button... Hmmm I just looked at it and yea, I have graphics in the tabs - little pictures like can be found in buttons generated by the wizards. No pictures other than those. I will certainly take those out to see what happens. BTW, I went in and commented out all of the classes loaded by the form and the crashing has stopped. At least it looks like it. That is one of the problems, you can open the form 19 times and the 20th it will close the database. So every time you make a change you have to do a TON of searches (opening the form) before you are almost sure that you have managed to change the symptoms. John W. Colby www.ColbyConsulting.com Contribute your unused CPU cycles to a good cause: http://folding.stanford.edu/ -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Gustav Brock Sent: Monday, August 15, 2005 2:08 PM To: accessd at databaseadvisors.com Subject: RE: [AccessD] Bug Report Hi John But at 390K I guess your form contains some graphics - can't you skip that part? Also, if no code is run and the app still crashes, it looks like just the loading of the form causes the crash. The reason could be loading of graphics. Not likely, I know, but quick and easy to test. /gustav >>> jwcolby at colbyconsulting.com 08/15 7:30 pm >>> > Call SaveAsText(acForm, "tfrmClaim", "c:\tfrmClaim.txt") That was cool. The text file is 390 kbytes so it seems unliekly I can "scan it closely" And unfortunately, remember I said I had "pushed it out of the OnOpen" - the close is now back in the calling function that opens the form. The truly strange part is that there is no code left in that function, i.e. it just exits the sub. Sigh. I was going to try retyping in the offending line of code to see if I could clean the source stream. From jwcolby at colbyconsulting.com Mon Aug 15 14:21:57 2005 From: jwcolby at colbyconsulting.com (John W. Colby) Date: Mon, 15 Aug 2005 15:21:57 -0400 Subject: [AccessD] Bug Report In-Reply-To: Message-ID: <002301c5a1ce$9a743890$6c7aa8c0@ColbyM6805> Well... In fact I may have found the culprit. I commented out all of the classes, including my framework form class and the crashing stopped. Slowly and painfully started uncommenting them one by one, testing each one about 25 times and found one class that seems to cause the crashing. I am continuing past that point, uncommenting all the rest one by one to see if I can get them all (except that one) back in without bringing the crash back. It's just painful, slow, piece by piece work. In the end Access shouldn't just close like it does, and it would be nice to actually get MS to find and fix the bug behind my bug, but I also have to be realistic... ;-) John W. Colby www.ColbyConsulting.com Contribute your unused CPU cycles to a good cause: http://folding.stanford.edu/ -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Gustav Brock Sent: Monday, August 15, 2005 2:56 PM To: accessd at databaseadvisors.com Subject: RE: [AccessD] Bug Report Hi John OK. I can count to "a dozen classes" times 20 and all the combinations of these 20 ... How about creating a macro to load the form 25 times and beep when unloading the form?? /gustav >>> jwcolby at colbyconsulting.com 08/15 8:18 pm >>> The size of the file is caused by the VB for all the controls. No, no graphics at all AFAIK. MAYBE a button... Hmmm I just looked at it and yea, I have graphics in the tabs - little pictures like can be found in buttons generated by the wizards. No pictures other than those. I will certainly take those out to see what happens. BTW, I went in and commented out all of the classes loaded by the form and the crashing has stopped. At least it looks like it. That is one of the problems, you can open the form 19 times and the 20th it will close the database. So every time you make a change you have to do a TON of searches (opening the form) before you are almost sure that you have managed to change the symptoms. John W. Colby www.ColbyConsulting.com Contribute your unused CPU cycles to a good cause: http://folding.stanford.edu/ -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Gustav Brock Sent: Monday, August 15, 2005 2:08 PM To: accessd at databaseadvisors.com Subject: RE: [AccessD] Bug Report Hi John But at 390K I guess your form contains some graphics - can't you skip that part? Also, if no code is run and the app still crashes, it looks like just the loading of the form causes the crash. The reason could be loading of graphics. Not likely, I know, but quick and easy to test. /gustav >>> jwcolby at colbyconsulting.com 08/15 7:30 pm >>> > Call SaveAsText(acForm, "tfrmClaim", "c:\tfrmClaim.txt") That was cool. The text file is 390 kbytes so it seems unliekly I can "scan it closely" And unfortunately, remember I said I had "pushed it out of the OnOpen" - the close is now back in the calling function that opens the form. The truly strange part is that there is no code left in that function, i.e. it just exits the sub. Sigh. I was going to try retyping in the offending line of code to see if I could clean the source stream. -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From mikedorism at verizon.net Mon Aug 15 14:41:36 2005 From: mikedorism at verizon.net (Mike & Doris Manning) Date: Mon, 15 Aug 2005 15:41:36 -0400 Subject: [AccessD] Bug Report In-Reply-To: <002301c5a1ce$9a743890$6c7aa8c0@ColbyM6805> Message-ID: <000201c5a1d1$5a06a970$2e01a8c0@dorismanning> AMEN to "In the end Access shouldn't just close like it does". This is my biggest pet peeve because the only way around it is to use "On Error" behind every single form and report (whether the object needs a module or not). Doris Manning Database Administrator Hargrove Inc.com mikedorism at verizon.net From Erwin.Craps at ithelps.be Mon Aug 15 15:03:43 2005 From: Erwin.Craps at ithelps.be (Erwin Craps - IT Helps) Date: Mon, 15 Aug 2005 22:03:43 +0200 Subject: [AccessD] Access and XP MEDIA or Tablet Message-ID: <46B976F2B698FF46A4FE7636509B22DF1B5DDC@stekelbes.ithelps.local> I got one... The portrait/landscape mode.... One of the big advantages and often used is working in portrait mode for holding the tablet and beeing simular to a regular paper size. But as a developer you always develop in landscape mode. This can result the user to always have to scroll which is very very anoying when holding your tablet... Erwin. -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Joe Hecht Sent: Monday, August 15, 2005 7:52 PM To: 'Access Developers discussion and problem solving' Subject: [AccessD] Access and XP MEDIA or Tablet Has anyone seen any gotchas when running an Access App developed on XP home or PRO if it is run on XP Media or Tablet OS? Joe Hecht Los Angeles CA -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From max at sherman.org.uk Mon Aug 15 15:06:35 2005 From: max at sherman.org.uk (Max Sherman) Date: Mon, 15 Aug 2005 21:06:35 +0100 Subject: [AccessD] Bug Report In-Reply-To: <001c01c5a1bf$1c14ae30$6c7aa8c0@ColbyM6805> Message-ID: Don't retype it, just cut-n-paste into Notepad. This will drop any non-normal-text characters. Then reverse it back in. HTH Max -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of John W. Colby Sent: 15 August 2005 18:31 To: 'Access Developers discussion and problem solving' Subject: RE: [AccessD] Bug Report > Call SaveAsText(acForm, "tfrmClaim", "c:\tfrmClaim.txt") That was cool. The text file is 390 kbytes so it seems unliekly I can "scan it closely" And unfortunately, remember I said I had "pushed it out of the OnOpen" - the close is now back in the calling function that opens the form. The truly strange part is that there is no code left in that function, i.e. it just exits the sub. Sigh. I was going to try retyping in the offending line of code to see if I could clean the source stream. John W. Colby www.ColbyConsulting.com Contribute your unused CPU cycles to a good cause: http://folding.stanford.edu/ -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Gustav Brock Sent: Monday, August 15, 2005 1:18 PM To: accessd at databaseadvisors.com Subject: RE: [AccessD] Bug Report Hi John Some things for you to try: 1. Remove any line containing Debug.Print from the code of the OnOpen event. This one once consistently crashed an Access XP app for me. 2. Remove any graphics from the form. I've seen this crash an A97 app. Just by moving the object (I don't recall if it was a Line or a bitmap) cured the problem. 3. Read out the form using SaveAsText: Call SaveAsText(acForm, "tfrmClaim", "c:\tfrmClaim.txt") Study the text. Clean possible printer information. Or rearrange some objects (the file contains a checksum but it appears to not be checked when loading). Remove the form from the database, decompile it, compress. Read back the form using LoadFromText: Call LoadFromText(acForm, "tfrmClaim", "c:\tfrmClaim.txt") compile and compress. Further, but this is a long shot, you may try to replace the standard printer with an old trusted "clean" driver like "HP LaserJet II", and/or to reduce the colour setting of Windows to 256 colours. /gustav >>> jwcolby at colbyconsulting.com 08/15 4:56 pm >>> I did not post the bug description, however here is what I sent MS: Dear Sirs, I am a professional developer using Microsoft Access. I have a specific Access front end that has a particular (pretty complex) form - tfrmClaim - that when opened sometimes causes Access to close, no warning. A little background: The issue happens both at my client's office and on my development machine which is a laptop with all the pieces right on the machine. The application is a FE/BE split system, with an MDA holding an application framework (written by me). The application uses classes and Withevents (a LOT). My client uses Office 2K. They have about 40-50 workstations running a pretty good mix of Windows 98, Windows 2K and Windows XP. AFAICT the issue does not occur on Win98 but does occur on Win2K and WinXP. The system is a call center for the disability insurance industry. They search for a claimant, and when found open a very complex form that displays all aspects of the claim. This claim form has about 10 tabs, some of which are hidden. The tabs load subforms when clicked on etc to reduce loading time. All of that information is just background for you to understand the situation. The issue is that the OnOpen event occasionally causes the entire database to shut down, no warning, no page fault screen nothing. Just gone. I have been able to insert debug statements and find where the shutdown occurs. It occurs in the same location every time that the shutdown occurs, at least until you "do something" (developer code wise). Unfortunately because it does not happen every time, it is not possible to step through the code and watch it close, but it is possible to nail it down to a specific line of code whenever it does shutdown. In attempting to troubleshoot this issue, I have done all of the typical decompile / compact / repair, open a new database and import all the objects, etc. One day I spent hours working on it, and watched the shutdown "move" through the OnOpen event until I finally "pushed it out the end sub" and it started closing back in the form that opens this complex form (the search result form) - when control returned to that sub. I thought I had it nailed at that point but no, awhile later it was back to shutting down in the OnCurrent of the tfrmClaim. My client thinks it has something to do with XPSP3, although it does occur (much less frequently) on other Oses. It was happening a LOT on the XP SP3 machines, they backed out the SP3 and the occurrence dropped radically - from every 30 minutes to once a day or so. My dev machine (laptop) BTW is XP SP3 and it happens a lot. I have not attempted to back out the SP3 and don't really want to do so. Also, I have OfficeXP on my dev machine and the bug also occurs under OfficeXP as well. The problem will occur on the first search, or the 3rd search or the 10th search, but rarely less often than every 10 searches - at least on my dev machine. It does not appear to be data dependent, i.e. I see no pattern as to which record(s) triggers the shutdown. BTW, I have "commented out" my application framework such that most of the functionality of the MDA is not being run - just trying to narrow down the issue. There are about a dozen classes that load in OnOpen of the form, classes that use WithEvents to handle groups of controls and cause specific interactions to occur. I have not yet commented all of them out, although if I did there would be no code left to run. ;-) 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 darsant at gmail.com Mon Aug 15 15:11:44 2005 From: darsant at gmail.com (Josh McFarlane) Date: Mon, 15 Aug 2005 15:11:44 -0500 Subject: [AccessD] Bug Report In-Reply-To: <000201c5a1d1$5a06a970$2e01a8c0@dorismanning> References: <002301c5a1ce$9a743890$6c7aa8c0@ColbyM6805> <000201c5a1d1$5a06a970$2e01a8c0@dorismanning> Message-ID: <53c8e05a05081513113a7977fb@mail.gmail.com> On 8/15/05, Mike & Doris Manning wrote: > AMEN to "In the end Access shouldn't just close like it does". This is my > biggest pet peeve because the only way around it is to use "On Error" behind > every single form and report (whether the object needs a module or not). Well, it could be worse. It could be like Visual Studio 2005, and as soon as you attempt to modify any part of the code... BANG, it's gone. No error, nothing running, just wham bam, no more VS. Try to report it and they can't reproduce it, as it's intermittent, but everyone knows it's there! -- Josh McFarlane "Peace cannot be kept by force. It can only be achieved by understanding." -Albert Einstein From darsant at gmail.com Mon Aug 15 15:16:48 2005 From: darsant at gmail.com (Josh McFarlane) Date: Mon, 15 Aug 2005 15:16:48 -0500 Subject: [AccessD] OT: Bug Reporting for SQL Server 2005 / Visual Studio and other Visual Products Message-ID: <53c8e05a05081513166bdf208e@mail.gmail.com> Since we're on the topic of reporting bugs, For those of you using Visual Studio, SQL Server, or any other Visual programming products, you can report your bugs fairly easily without the normal Micro$oft money for bugs program by visiting www.msdn.com/feedback. So far, I've reported roughly 5 bugs on upcoming releases and all were dealt with fairly quickly. Now if they only had something like this for Access... -- Josh McFarlane "Peace cannot be kept by force. It can only be achieved by understanding." -Albert Einstein From bchacc at san.rr.com Mon Aug 15 15:35:44 2005 From: bchacc at san.rr.com (Rocky Smolin - Beach Access Software) Date: Mon, 15 Aug 2005 13:35:44 -0700 Subject: [AccessD] Bug Report References: Message-ID: <056a01c5a1d8$e902cd50$6501a8c0@HAL9004> Jim: "code breaks on a line where a breakpoint was but is no longer" I've had this happen as well, even more embarrassing, at the customer when suddenly they find themselves in the code page with a yellow highlight. Has there been no fix for this from MS? Rocky ----- Original Message ----- From: "Jim Dettman" To: "Access Developers discussion and problem solving" Sent: Monday, August 15, 2005 9:08 AM Subject: RE: [AccessD] Bug Report > John, > > I've seen what your seeing. I've also had cases where code breaks on a > line where a breakpoint was but is no longer after the code has been > changed > (lines inserted or deleted). I've even had it break on *blank* lines in > some cases. I can push the lines around as you say and watch things > change. > > < things in the text stream, things that are not visible to you, the > developer. >> > > Basically it boils down to the fact that the source code is out of synch > with the p-code or as your saying, the p-code is hosed. Since they are > stored separately, it is easy for this to happen. > > Good time to use /decompile. > > Jim. > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of John W. Colby > Sent: Monday, August 15, 2005 11:53 AM > To: 'Access Developers discussion and problem solving' > Subject: RE: [AccessD] Bug Report > > > Was it the actual line that called the other block? This one is just "any > old line of code". It always occurs in the OnOpen of the form, where I am > initializing classes, etc. By setting up debug.Print statements through > the > OnOpen I am able to nail down what exact line of code it is, but it > doesn't > occur every time the form opens so it is a pita to step through to > actually > watch the close happen. I have caused the close to move around however, > even "pushing it out the end" of the OnOpen back into the function that > opens the form. Truly bizarre. > > I have seen this kind of stuff before however. Back when I was working on > C2DbFrameWiz (the error handler insertion wizard) I would get instances > where the code that inserted the code into a module would just cause a > close. It was very similar, I could "track it down" to a single line of > code. I could go up to the previous line, type in the same code character > for character, then delete the line causing the code and the problem would > "go away" for awhile. OTOH, If I cut the line out to the paste buffer and > pasted it back in again, I would still have the issue. > > I am convinced that the source code that you see on the screen has other > things in the text stream, things that are not visible to you, the > developer. Kind of like the old Word Perfect "show codes" where you would > cause other formatting stuff to appear. I am convinced that the text > stream > gets something embedded in it and once that something is in the string, > you > are hosed. > > In this case (my current application) I have gone so far as to import the > entire FE into a new blank MDB and the problem still exists. I do not get > the "corrupted form" kind of thing that occurs with the A2K / AXP vb dll > version issue, i.e. the form module is not "corrupted" at least not > corrupted so badly that it won't export. > > This is a bizarre one and very irritating to my users as you might > imagine. > > John W. Colby > www.ColbyConsulting.com > > Contribute your unused CPU cycles to a good cause: > http://folding.stanford.edu/ > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Charlotte Foust > Sent: Monday, August 15, 2005 11:30 AM > To: Access Developers discussion and problem solving > Subject: RE: [AccessD] Bug Report > > > I saw behavior like that in one of my apps once, John. I finally tracked > it > down to mixing DAO and ADO, that is, a DAO code block calling out to an > ADO > block, or vice versa. I scrubbed my code thoroughly to prevent said > circumstance and the problem went away. One of the steps I took was to > rename my routines so that I could tell at a glance whether they were ADO > or > DAO. > > Charlotte Foust > > > -----Original Message----- > From: John W. Colby [mailto:jwcolby at colbyconsulting.com] > Sent: Sunday, August 14, 2005 5:52 PM > To: 'Access Developers discussion and problem solving' > Subject: RE: [AccessD] Bug Report > > > LOL. There is no resolving this bug. Access just shuts down. Step > through > the code and hit one specific line it just closes. Not exactly something > I > can fix. > > John W. Colby > www.ColbyConsulting.com > > Contribute your unused CPU cycles to a good cause: > http://folding.stanford.edu/ > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Dan Waters > Sent: Sunday, August 14, 2005 8:44 PM > To: 'Access Developers discussion and problem solving' > Subject: RE: [AccessD] Bug Report > > > Well - MS is really loosening up! They won't charge you if it really does > turn out to be a bug. I had to solve my bug myself for them to not charge > me! > > Best of Luck! > > Dan Waters > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of John W. Colby > Sent: Sunday, August 14, 2005 6:41 PM > To: 'Access Developers discussion and problem solving' > Subject: [AccessD] Bug Report > > The following is the response I got to my bug report: > > Hello John, > > Thank you for contacting Microsoft Online Customer Service. > > I appreciate the time you have taken to provide us with the feedback. As a > Customer Service Representative, I can assist you with the support options > available with your Microsoft product. You can report bugs by postal mail > to > the following address: > > Attn: Office Development Group > Microsoft Corporation > One Microsoft Way > Redmond, WA 98052 > > The letter should include a complete description of the bug including the > actions, software, and hardware associated with the bug and whether or not > it is consistently reproducible. > > You may also contact Microsoft Customer Service and speak with a support > professional about the issue and have a support case created. This method > will require you to utilize the standard options of support that are > available for your copy of Microsoft product initially. Once the support > professional is able to determine that the problem is a bug with the > software, they will not decrement the incident from warranty support or > account or issue a refund of any credit card charges if applicable. > > You may contact Microsoft Developer Support Team at (800) 936-5800. They > are available 24 hours a day. They will be able to assist you. > > John, I hope your issue gets resolved. > > Thank you for using Microsoft products and services. > > Benoy > Microsoft Online Customer Service Representative > > If you have any feedback about your Online Customer Service experience > please E-mail my manager Rahul Rajgopal at managers at microsoft.com > > > > John W. Colby > www.ColbyConsulting.com > > Contribute your unused CPU cycles to a good cause: > http://folding.stanford.edu/ > > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > > > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > > > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > 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 Mon Aug 15 15:38:54 2005 From: bchacc at san.rr.com (Rocky Smolin - Beach Access Software) Date: Mon, 15 Aug 2005 13:38:54 -0700 Subject: [AccessD] Bug Report References: <001801c5a1b6$80e3a6d0$6c7aa8c0@ColbyM6805> Message-ID: <057b01c5a1d9$5d06a960$6501a8c0@HAL9004> John: At that level of form complexity could you be bumping up against any of the (undocumented) Access limitations that the SQL and Oracle folks are always ragging us about? Rocky ----- Original Message ----- From: "John W. Colby" To: "'Access Developers discussion and problem solving'" Sent: Monday, August 15, 2005 9:29 AM Subject: RE: [AccessD] Bug Report > Rocky, > > This is indeed fascinating. I am at a loss on this one. I am no > lightweight at this stuff and I just can't figure it out. I know that the > Windows98 users do not have the problem, the Win2K users do see it but > rarely, the WinXP users see it occasionally, and apparently more often > with > SP3. So is it an Access bug or a Windows bug? > > In this specific case (the only place I am seeing it), it is in the OnOpen > of this one specific form. The form is a bound form, VERY complex, with > probably 50-100 controls. 18 tabs using JIT subforms to only load the > subforms if the tabs are clicked. > > The form has a clsForm that ties the form into my framework. That class > passes a pointer to the form into the class and the class then iterates > the > form for every control, loading a withevents class for each control found. > I have however commented out that specific class such that the framework > is > not triggered for the form and the problem still exists. > > In addition to that class, I also have 9 other classes loading, mostly > classes that are passed in controls and enforce rules regarding sets of > controls. I have not yet dimmed out those classes to see if the issue > goes > away. > > And yes, it also occurs on my laptop where the FE/BE are both on the same > machine. HOWEVER, the BE (and FE for that matter) resides on a mapped > (mounted) drive. On my laptop I use an encryption program to set up a big > file which is "turned into a drive". IOW, this file is mounted as a drive > by a driver. The driver asks for a password before mounting the "drive". > I > do this so that I can carry sensitive customer data on my machine without > exposing the data if the laptop is lost or stolen. Furthermore I can just > backup the source file that is a drive, to backup the entire development > drive. > > These drives are mounted as drive K, M and X. Does that count as a > network > drive? The driver performs the mounting at specific drive letters. > > Anyway, it is not AFAIK going out over the network, so I do not think it > is > a NIC problem. > > This is NOT going to be easy for them to troubleshoot. The BE is now > approaching 400 mbytes and contains sensitive personal and medical data on > tens of thousands of people. I am guessing that if they are going to do > it > at all they will have to remote in to my laptop at my office and work on > it > remotely. It should be interesting to see what happens. > > Just in... I got this email this morning: > > CASE_ID_NUM: SRZ050815000001 > MESSAGE: > ********************** The message for you follows > ************************ > Hi John, > > Thank you for using Microsoft Online Assisted Support. In order > to route your case to a Support Professional we will need to re-entitle > your > case. The product ID that you supplied indicates that your software came > part of an Open License Agreement. This is a special license agreement tha > t > your company purchased so they could obtain many copies of the software at > a > significant cost savings. This allows your company to save money by > purchasing the software in volume. However, the software does not come > with > any free technical support. If you would like to have a support > profession > al troubleshoot your issue, we must process a retail PID for Office > (w/Access), an access ID identifying a pre-paid support account, or a > credit > card charge ($99 over the web, $245 over the phone). > > IOW, the action pack does not get free support incidents. Sigh. > > John W. Colby > www.ColbyConsulting.com > > Contribute your unused CPU cycles to a good cause: > http://folding.stanford.edu/ > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Rocky Smolin - > Beach Access Software > Sent: Monday, August 15, 2005 11:37 AM > To: Access Developers discussion and problem solving > Subject: Re: [AccessD] Bug Report > > > Interesting. What's your speculation on where it's happening? In the > interpretation of your classes? They obviously have no clue and cannot > track it down without getting your app and running it themselves. At > first > it behaves like a bad NIC - I've had apps go south with corruptions and > shutdowns and traced it to a cheap NIC on the network - but you're running > this standalone, yes? > > Rocky > > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > From artful at rogers.com Mon Aug 15 16:21:25 2005 From: artful at rogers.com (Arthur Fuller) Date: Mon, 15 Aug 2005 17:21:25 -0400 Subject: [AccessD] Where is everyone? In-Reply-To: <200508142111.j7ELBYkr209474@pimout1-ext.prodigy.net> Message-ID: <200508152121.j7FLLQR26737@databaseadvisors.com> I would but I can't. Compared to some of the listers here, I am a newcomer. -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of John Bartow Sent: August 14, 2005 5:11 PM To: 'Access Developers discussion and problem solving' Subject: RE: [AccessD] Where is everyone? Go for it! -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Arthur Fuller Sent: Saturday, August 13, 2005 9:38 PM To: 'Access Developers discussion and problem solving' Subject: RE: [AccessD] Where is everyone? Somebody should write up the history of AccessD for publication in the newsletter, and for posterity. -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From dwaters at usinternet.com Mon Aug 15 16:59:18 2005 From: dwaters at usinternet.com (Dan Waters) Date: Mon, 15 Aug 2005 16:59:18 -0500 Subject: [AccessD] Access 2006 Message-ID: <000001c5a1e4$990452e0$0300a8c0@danwaters> Does anyone know when MS will be releasing information on Access 2006? I know the release date is around July 2006. Dan Waters From cfoust at infostatsystems.com Mon Aug 15 17:21:45 2005 From: cfoust at infostatsystems.com (Charlotte Foust) Date: Mon, 15 Aug 2005 15:21:45 -0700 Subject: [AccessD] Bug Report Message-ID: On Error won't necessarily do it, though. I discovered that with the ADO/DAO problem I ran into. Even having a form open didn't stop it from crashing all the way back to windows with never an error thrown. Charlotte Foust -----Original Message----- From: Mike & Doris Manning [mailto:mikedorism at verizon.net] Sent: Monday, August 15, 2005 12:42 PM To: 'Access Developers discussion and problem solving' Subject: RE: [AccessD] Bug Report AMEN to "In the end Access shouldn't just close like it does". This is my biggest pet peeve because the only way around it is to use "On Error" behind every single form and report (whether the object needs a module or not). Doris Manning Database Administrator Hargrove Inc.com mikedorism at verizon.net -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From robert at servicexp.com Mon Aug 15 18:16:25 2005 From: robert at servicexp.com (Robert Gracie) Date: Mon, 15 Aug 2005 19:16:25 -0400 Subject: [AccessD] Bug Report Message-ID: <3C6BD610FA11044CADFC8C13E6D5508F4EF5@gbsserver.GBS.local> John, Do you have any timers running in this db? Robert -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of John W. Colby Sent: Monday, August 15, 2005 3:46 PM To: 'Access Developers discussion and problem solving' Subject: RE: [AccessD] Bug Report Well... In fact I may have found the culprit. I commented out all of the classes, including my framework form class and the crashing stopped. Slowly and painfully started uncommenting them one by one, testing each one about 25 times and found one class that seems to cause the crashing. I am continuing past that point, uncommenting all the rest one by one to see if I can get them all (except that one) back in without bringing the crash back. It's just painful, slow, piece by piece work. In the end Access shouldn't just close like it does, and it would be nice to actually get MS to find and fix the bug behind my bug, but I also have to be realistic... ;-) John W. Colby www.ColbyConsulting.com Contribute your unused CPU cycles to a good cause: http://folding.stanford.edu/ -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Gustav Brock Sent: Monday, August 15, 2005 2:56 PM To: accessd at databaseadvisors.com Subject: RE: [AccessD] Bug Report Hi John OK. I can count to "a dozen classes" times 20 and all the combinations of these 20 ... How about creating a macro to load the form 25 times and beep when unloading the form?? /gustav >>> jwcolby at colbyconsulting.com 08/15 8:18 pm >>> The size of the file is caused by the VB for all the controls. No, no graphics at all AFAIK. MAYBE a button... Hmmm I just looked at it and yea, I have graphics in the tabs - little pictures like can be found in buttons generated by the wizards. No pictures other than those. I will certainly take those out to see what happens. BTW, I went in and commented out all of the classes loaded by the form and the crashing has stopped. At least it looks like it. That is one of the problems, you can open the form 19 times and the 20th it will close the database. So every time you make a change you have to do a TON of searches (opening the form) before you are almost sure that you have managed to change the symptoms. John W. Colby www.ColbyConsulting.com Contribute your unused CPU cycles to a good cause: http://folding.stanford.edu/ -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Gustav Brock Sent: Monday, August 15, 2005 2:08 PM To: accessd at databaseadvisors.com Subject: RE: [AccessD] Bug Report Hi John But at 390K I guess your form contains some graphics - can't you skip that part? Also, if no code is run and the app still crashes, it looks like just the loading of the form causes the crash. The reason could be loading of graphics. Not likely, I know, but quick and easy to test. /gustav >>> jwcolby at colbyconsulting.com 08/15 7:30 pm >>> > Call SaveAsText(acForm, "tfrmClaim", "c:\tfrmClaim.txt") That was cool. The text file is 390 kbytes so it seems unliekly I can "scan it closely" And unfortunately, remember I said I had "pushed it out of the OnOpen" - the close is now back in the calling function that opens the form. The truly strange part is that there is no code left in that function, i.e. it just exits the sub. Sigh. I was going to try retyping in the offending line of code to see if I could clean the source stream. -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From jwcolby at colbyconsulting.com Mon Aug 15 18:47:44 2005 From: jwcolby at colbyconsulting.com (John W. Colby) Date: Mon, 15 Aug 2005 19:47:44 -0400 Subject: [AccessD] Bug Report In-Reply-To: <3C6BD610FA11044CADFC8C13E6D5508F4EF5@gbsserver.GBS.local> Message-ID: <002401c5a1f3$bb52ae50$6c7aa8c0@ColbyM6805> Nope, no timers. John W. Colby www.ColbyConsulting.com Contribute your unused CPU cycles to a good cause: http://folding.stanford.edu/ -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Robert Gracie Sent: Monday, August 15, 2005 7:16 PM To: Access Developers discussion and problem solving Subject: RE: [AccessD] Bug Report John, Do you have any timers running in this db? Robert -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of John W. Colby Sent: Monday, August 15, 2005 3:46 PM To: 'Access Developers discussion and problem solving' Subject: RE: [AccessD] Bug Report Well... In fact I may have found the culprit. I commented out all of the classes, including my framework form class and the crashing stopped. Slowly and painfully started uncommenting them one by one, testing each one about 25 times and found one class that seems to cause the crashing. I am continuing past that point, uncommenting all the rest one by one to see if I can get them all (except that one) back in without bringing the crash back. It's just painful, slow, piece by piece work. In the end Access shouldn't just close like it does, and it would be nice to actually get MS to find and fix the bug behind my bug, but I also have to be realistic... ;-) John W. Colby www.ColbyConsulting.com Contribute your unused CPU cycles to a good cause: http://folding.stanford.edu/ -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Gustav Brock Sent: Monday, August 15, 2005 2:56 PM To: accessd at databaseadvisors.com Subject: RE: [AccessD] Bug Report Hi John OK. I can count to "a dozen classes" times 20 and all the combinations of these 20 ... How about creating a macro to load the form 25 times and beep when unloading the form?? /gustav >>> jwcolby at colbyconsulting.com 08/15 8:18 pm >>> The size of the file is caused by the VB for all the controls. No, no graphics at all AFAIK. MAYBE a button... Hmmm I just looked at it and yea, I have graphics in the tabs - little pictures like can be found in buttons generated by the wizards. No pictures other than those. I will certainly take those out to see what happens. BTW, I went in and commented out all of the classes loaded by the form and the crashing has stopped. At least it looks like it. That is one of the problems, you can open the form 19 times and the 20th it will close the database. So every time you make a change you have to do a TON of searches (opening the form) before you are almost sure that you have managed to change the symptoms. John W. Colby www.ColbyConsulting.com Contribute your unused CPU cycles to a good cause: http://folding.stanford.edu/ -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Gustav Brock Sent: Monday, August 15, 2005 2:08 PM To: accessd at databaseadvisors.com Subject: RE: [AccessD] Bug Report Hi John But at 390K I guess your form contains some graphics - can't you skip that part? Also, if no code is run and the app still crashes, it looks like just the loading of the form causes the crash. The reason could be loading of graphics. Not likely, I know, but quick and easy to test. /gustav >>> jwcolby at colbyconsulting.com 08/15 7:30 pm >>> > Call SaveAsText(acForm, "tfrmClaim", "c:\tfrmClaim.txt") That was cool. The text file is 390 kbytes so it seems unliekly I can "scan it closely" And unfortunately, remember I said I had "pushed it out of the OnOpen" - the close is now back in the calling function that opens the form. The truly strange part is that there is no code left in that function, i.e. it just exits the sub. Sigh. I was going to try retyping in the offending line of code to see if I could clean the source stream. -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From jwcolby at colbyconsulting.com Mon Aug 15 20:02:49 2005 From: jwcolby at colbyconsulting.com (John W. Colby) Date: Mon, 15 Aug 2005 21:02:49 -0400 Subject: [AccessD] Database close bug (apparently) resolved Message-ID: <002501c5a1fe$388e4460$6c7aa8c0@ColbyM6805> Well... It appears that my bug has been resolved. The form in question has a combo, the list for which is a result of a state machine. IOW, if you are in state A, then you can go to state B, D, F or G but not C, E etc. Thus the list for the combo has to be calculated as the form opens based on the current state, a SQL statement generated and placed in the combo rowsource property. In fact, for troubleshooting purposes, I had a saved querydef which I modified with the results of this calculated SQL Statement, then placed the name of the saved query in the combo's RowSource property after the calculation, and modification of the querydef. Once I knew that it was this class that was causing the issue, I was able to "divide and conquer" (comment out statements until it was found) and discovered that it was the process of modifying the saved querydef that was causing the unexpected close. The combo RowSource is set to the name of the saved query when the form opens, then the RowSource is set to "" (cleared), the querydef opened and the SQL property modified with the calculated SQL statement and closed, then the name of the query placed back in the combo which causes the combo to "requery" and pull the data per the SQL statement and display that dataset. For whatever reason, that modify/save/store in combo process was causing the close issue. By simply deleting the named query from the combo's RowSource, then placing the SQL statement itself directly in the combo, the database no longer closes unexpectedly. Now I have to do a "Find" to make sure that the stored query is not used any where else after the combo is loaded, and if not, I can just leave things as they are with a note in the commented out code to indicate that it caused my "database close" issue. What a PITA. And why doesn't Access close immediately (or better yet, throw an error if it doesn't like this?) when I am screwing around with the querydef instead of after OnCurrent finishes? And what is it that makes it OS sensitive? All things I will no doubt never see the answer to. But... I have fixed my problem. John W. Colby www.ColbyConsulting.com Contribute your unused CPU cycles to a good cause: http://folding.stanford.edu/ From carbonnb at sympatico.ca Mon Aug 15 20:45:19 2005 From: carbonnb at sympatico.ca (Bryan Carbonnell) Date: Mon, 15 Aug 2005 21:45:19 -0400 Subject: [AccessD] I Need Some Ideas Message-ID: I have found myself in a situation that gives me an inordinate amount of free time and I'm looking for some ideas to fill my time. I am thinking of something that would make development easier or a specifc app that would greatly help developers. I need something to keep my mind active and fingers busy :) It can be anything from Access to Word to Excel (Office 2K), even VB 6. I'm open to any and all suggestion. And If I can learn something new, that would be even better. Let the flood gates open :-) -- Bryan Carbonnell - carbonnb at sympatico.ca Don't cry because it's over; smile because it happened. From jwcolby at colbyconsulting.com Mon Aug 15 20:52:22 2005 From: jwcolby at colbyconsulting.com (John W. Colby) Date: Mon, 15 Aug 2005 21:52:22 -0400 Subject: [AccessD] I Need Some Ideas In-Reply-To: Message-ID: <002601c5a205$27d95d60$6c7aa8c0@ColbyM6805> Why don't I ever get these situations? 8-( John W. Colby www.ColbyConsulting.com Contribute your unused CPU cycles to a good cause: http://folding.stanford.edu/ -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Bryan Carbonnell Sent: Monday, August 15, 2005 9:45 PM To: access Developers discussion and problem solving Subject: [AccessD] I Need Some Ideas I have found myself in a situation that gives me an inordinate amount of free time and I'm looking for some ideas to fill my time. I am thinking of something that would make development easier or a specifc app that would greatly help developers. I need something to keep my mind active and fingers busy :) It can be anything from Access to Word to Excel (Office 2K), even VB 6. I'm open to any and all suggestion. And If I can learn something new, that would be even better. Let the flood gates open :-) -- Bryan Carbonnell - carbonnb at sympatico.ca Don't cry because it's over; smile because it happened. -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From carbonnb at sympatico.ca Mon Aug 15 21:05:29 2005 From: carbonnb at sympatico.ca (Bryan Carbonnell) Date: Mon, 15 Aug 2005 22:05:29 -0400 Subject: [AccessD] I Need Some Ideas In-Reply-To: <002601c5a205$27d95d60$6c7aa8c0@ColbyM6805> References: Message-ID: On 15 Aug 2005 at 21:52, John W. Colby wrote: > Why don't I ever get these situations? 8-( Cause you really don't want to be in this situation. :)) -- Bryan Carbonnell - carbonnb at sympatico.ca Never test for a bug you don't know how to fix. From Bruce.Bruen at railcorp.nsw.gov.au Mon Aug 15 21:06:39 2005 From: Bruce.Bruen at railcorp.nsw.gov.au (Bruen, Bruce) Date: Tue, 16 Aug 2005 12:06:39 +1000 Subject: [AccessD] Tagged value query Message-ID: Might not be expressing myself well here. On reconsidering the problem, I can ignore the join completely. What I have is a table with a set of optional tagged value pairs: Table=t_objectproperties Attribs= Objkey (NOT unique) parentID (FK but lets ignore it) Name (name of the tag) Value (value of the tag) Objkey can have mulitple entries. What I need to do is: For a given set of tag names (i.e. more than 1, eg "InFirstRelease" and "TestPriority") list ObjKey, name1.value, name2.value; The case of a single translation putting the value of a particular name in a column is trivial. IOW its easy to get: Objkey InFirstRelease ------- --------------- 2313 Yes 2365 No ... What I cant get is how to do it for multiple tags. :-( Initially, I can get away with a fixed number of tags. But in the long term it would be nice to be able to have a generalisation that allowed the number of tags to be variable. SELECT objkey, value as V1, value as V2 FROM t_objectproperties WHERE name="InFirstRelease" or name="TestPriority"; ????????Obviously not it!???????? I must be getting too old for this job..... Tia bruce -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Susan Harkins Sent: Friday, 12 August 2005 3:02 PM To: 'Access Developers discussion and problem solving' Subject: RE: [AccessD] Tagged value query Have you tried an outer join? Left outer will retrieve all the primary key values in the one table. Right outer will retrieve all the foreign key values in the many table. Susan H. Yes. You want all objects, even if they have no tags? -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com This e-mail and any attachments may contain confidential information that is intended solely for the use of the intended recipient and may be subject to copyright. If you receive this e-mail in error, please notify the sender immediately and delete the e-mail and its attachments from your system. You must not disclose, copy or use any part of this e-mail if you are not the intended recipient. Any opinion expressed in this e-mail and any attachments is not an opinion of RailCorp unless stated or apparent from its content. RailCorp is not responsible for any unauthorised alterations to this e-mail or any attachments. RailCorp will not incur any liability resulting directly or indirectly as a result of the recipient accessing any of the attached files that may contain a virus. From Bruce.Bruen at railcorp.nsw.gov.au Mon Aug 15 21:12:39 2005 From: Bruce.Bruen at railcorp.nsw.gov.au (Bruen, Bruce) Date: Tue, 16 Aug 2005 12:12:39 +1000 Subject: [AccessD] Tagged value query - IGNORE THIS THREAD Message-ID: Talk about embarrased. It's a straightforward crosstab. Must be too old. Sorry for the waste of time and bandwidth. bruce This e-mail and any attachments may contain confidential information that is intended solely for the use of the intended recipient and may be subject to copyright. If you receive this e-mail in error, please notify the sender immediately and delete the e-mail and its attachments from your system. You must not disclose, copy or use any part of this e-mail if you are not the intended recipient. Any opinion expressed in this e-mail and any attachments is not an opinion of RailCorp unless stated or apparent from its content. RailCorp is not responsible for any unauthorised alterations to this e-mail or any attachments. RailCorp will not incur any liability resulting directly or indirectly as a result of the recipient accessing any of the attached files that may contain a virus. From jwcolby at colbyconsulting.com Mon Aug 15 21:18:58 2005 From: jwcolby at colbyconsulting.com (John W. Colby) Date: Mon, 15 Aug 2005 22:18:58 -0400 Subject: [AccessD] I Need Some Ideas In-Reply-To: Message-ID: <002a01c5a208$df717540$6c7aa8c0@ColbyM6805> I am working on a bunch of different things myself. I'm taking a client's project and porting it to VB.Net. Slowly working on a book about reusable code in VBA for Access, stuff like that. John W. Colby www.ColbyConsulting.com Contribute your unused CPU cycles to a good cause: http://folding.stanford.edu/ -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Bryan Carbonnell Sent: Monday, August 15, 2005 10:05 PM To: Access Developers discussion and problem solving Subject: RE: [AccessD] I Need Some Ideas On 15 Aug 2005 at 21:52, John W. Colby wrote: > Why don't I ever get these situations? 8-( Cause you really don't want to be in this situation. :)) -- Bryan Carbonnell - carbonnb at sympatico.ca Never test for a bug you don't know how to fix. -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From accessd at shaw.ca Mon Aug 15 21:34:52 2005 From: accessd at shaw.ca (Jim Lawrence) Date: Mon, 15 Aug 2005 19:34:52 -0700 Subject: [AccessD] I Need Some Ideas In-Reply-To: Message-ID: <0ILA0086LN63B7@l-daemon> Hi Bryan: Our web site needs a lot of work to move to the next level. A few simple things that would require a bit of research... 1. Create the definitive link list for the site. You know most of the sites from but there are a few out there that are not obvious but definitely should be counted... like 'http://www.colbyconsulting.com/' or 'http://www.rogersaccesslibrary.com' or 'http://www.mvps.org/access/' and many more. It would be great to be able to create the ultimate Access research page. 2. Putting some of the great comments and code snippets into either a gazette or new article for upcoming issues(s). 3 List member advertisement pages stores on a MS SQL DB. This is not confirmed by the executive yet but I believe it makes sense. We should be supporting our list members' accomplishment like their books, articles, programs or even design and support companies. We are a way from implementing this but the format, design, and coding can be started as it will be a lengthy development from creation to implementation. 4. There is of course .Net... and XML/HXML/AJAX... where much of Access development is heading/expanding. It is a truly distributive application development platform and the performance is really awesome when using ASP.Net client side is coupled with ADO.Net... 'a thousand users are serviced as fast as one' (Not mine but a quote from a book.). Should we be looking seriously at this? Articles, new lists, roll our own? These are just a few of the web site work that is waiting to be started and implemented. Our current web site owners are having some problems getting our MS SQL server up and running again but we will be getting MS SQL support one way or the other. So you can work/plan for/with a MS SQL set of option/solutions. Keep me posted as I am enjoying a 'fairly' flexible time constraint as well. Jim -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Bryan Carbonnell Sent: Monday, August 15, 2005 6:45 PM To: access Developers discussion and problem solving Subject: [AccessD] I Need Some Ideas I have found myself in a situation that gives me an inordinate amount of free time and I'm looking for some ideas to fill my time. I am thinking of something that would make development easier or a specifc app that would greatly help developers. I need something to keep my mind active and fingers busy :) It can be anything from Access to Word to Excel (Office 2K), even VB 6. I'm open to any and all suggestion. And If I can learn something new, that would be even better. Let the flood gates open :-) -- Bryan Carbonnell - carbonnb at sympatico.ca Don't cry because it's over; smile because it happened. -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From andy at minstersystems.co.uk Tue Aug 16 01:59:14 2005 From: andy at minstersystems.co.uk (Andy Lacey) Date: Tue, 16 Aug 2005 07:59:14 +0100 Subject: [AccessD] I Need Some Ideas In-Reply-To: Message-ID: <000e01c5a230$049f5d10$2c1f0c54@minster33c3r25> Hi Bryan Really sorry to hear that. How about the long-awaited v2 of BEU? -- Andy Lacey http://www.minstersystems.co.uk > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of > Bryan Carbonnell > Sent: 16 August 2005 03:05 > To: Access Developers discussion and problem solving > Subject: RE: [AccessD] I Need Some Ideas > > > On 15 Aug 2005 at 21:52, John W. Colby wrote: > > > Why don't I ever get these situations? 8-( > > Cause you really don't want to be in this situation. :)) > > -- > Bryan Carbonnell - carbonnb at sympatico.ca > Never test for a bug you don't know how to fix. > > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > > From Gustav at cactus.dk Tue Aug 16 02:13:16 2005 From: Gustav at cactus.dk (Gustav Brock) Date: Tue, 16 Aug 2005 09:13:16 +0200 Subject: [AccessD] I Need Some Ideas Message-ID: Hi Bryan So no job? Or wife?? Is that what you are trying to tell? On the other hand (for the job option, cannot tell for the wife option), with your knowledge I would expect it to be easy for you to find some "new challenges" except, of course, if things are a little more complicated than they may appear to be ... Currently I'm facing some XML work. Haven't done anything with this and Access and hardly know where to look except browsing this list ... So an XML cookbook or guide is a suggestion. /gustav >>> carbonnb at sympatico.ca 08/16 3:45 am >>> I have found myself in a situation that gives me an inordinate amount of free time and I'm looking for some ideas to fill my time. I am thinking of something that would make development easier or a specifc app that would greatly help developers. I need something to keep my mind active and fingers busy :) It can be anything from Access to Word to Excel (Office 2K), even VB 6. I'm open to any and all suggestion. And If I can learn something new, that would be even better. Let the flood gates open :-) -- Bryan Carbonnell - carbonnb at sympatico.ca Don't cry because it's over; smile because it happened. From jimdettman at earthlink.net Tue Aug 16 05:16:41 2005 From: jimdettman at earthlink.net (Jim Dettman) Date: Tue, 16 Aug 2005 06:16:41 -0400 Subject: [AccessD] Bug Report In-Reply-To: <056a01c5a1d8$e902cd50$6501a8c0@HAL9004> Message-ID: Rocky, None that I'm aware of. I usually do a /decompile as soon as I see the weird stuff start to happen. That pretty much clears it up. If not, I go to a backup. Jim. -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Rocky Smolin - Beach Access Software Sent: Monday, August 15, 2005 4:36 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Bug Report Jim: "code breaks on a line where a breakpoint was but is no longer" I've had this happen as well, even more embarrassing, at the customer when suddenly they find themselves in the code page with a yellow highlight. Has there been no fix for this from MS? Rocky ----- Original Message ----- From: "Jim Dettman" To: "Access Developers discussion and problem solving" Sent: Monday, August 15, 2005 9:08 AM Subject: RE: [AccessD] Bug Report > John, > > I've seen what your seeing. I've also had cases where code breaks on a > line where a breakpoint was but is no longer after the code has been > changed > (lines inserted or deleted). I've even had it break on *blank* lines in > some cases. I can push the lines around as you say and watch things > change. > > < things in the text stream, things that are not visible to you, the > developer. >> > > Basically it boils down to the fact that the source code is out of synch > with the p-code or as your saying, the p-code is hosed. Since they are > stored separately, it is easy for this to happen. > > Good time to use /decompile. > > Jim. > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of John W. Colby > Sent: Monday, August 15, 2005 11:53 AM > To: 'Access Developers discussion and problem solving' > Subject: RE: [AccessD] Bug Report > > > Was it the actual line that called the other block? This one is just "any > old line of code". It always occurs in the OnOpen of the form, where I am > initializing classes, etc. By setting up debug.Print statements through > the > OnOpen I am able to nail down what exact line of code it is, but it > doesn't > occur every time the form opens so it is a pita to step through to > actually > watch the close happen. I have caused the close to move around however, > even "pushing it out the end" of the OnOpen back into the function that > opens the form. Truly bizarre. > > I have seen this kind of stuff before however. Back when I was working on > C2DbFrameWiz (the error handler insertion wizard) I would get instances > where the code that inserted the code into a module would just cause a > close. It was very similar, I could "track it down" to a single line of > code. I could go up to the previous line, type in the same code character > for character, then delete the line causing the code and the problem would > "go away" for awhile. OTOH, If I cut the line out to the paste buffer and > pasted it back in again, I would still have the issue. > > I am convinced that the source code that you see on the screen has other > things in the text stream, things that are not visible to you, the > developer. Kind of like the old Word Perfect "show codes" where you would > cause other formatting stuff to appear. I am convinced that the text > stream > gets something embedded in it and once that something is in the string, > you > are hosed. > > In this case (my current application) I have gone so far as to import the > entire FE into a new blank MDB and the problem still exists. I do not get > the "corrupted form" kind of thing that occurs with the A2K / AXP vb dll > version issue, i.e. the form module is not "corrupted" at least not > corrupted so badly that it won't export. > > This is a bizarre one and very irritating to my users as you might > imagine. > > John W. Colby > www.ColbyConsulting.com > > Contribute your unused CPU cycles to a good cause: > http://folding.stanford.edu/ > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Charlotte Foust > Sent: Monday, August 15, 2005 11:30 AM > To: Access Developers discussion and problem solving > Subject: RE: [AccessD] Bug Report > > > I saw behavior like that in one of my apps once, John. I finally tracked > it > down to mixing DAO and ADO, that is, a DAO code block calling out to an > ADO > block, or vice versa. I scrubbed my code thoroughly to prevent said > circumstance and the problem went away. One of the steps I took was to > rename my routines so that I could tell at a glance whether they were ADO > or > DAO. > > Charlotte Foust > > > -----Original Message----- > From: John W. Colby [mailto:jwcolby at colbyconsulting.com] > Sent: Sunday, August 14, 2005 5:52 PM > To: 'Access Developers discussion and problem solving' > Subject: RE: [AccessD] Bug Report > > > LOL. There is no resolving this bug. Access just shuts down. Step > through > the code and hit one specific line it just closes. Not exactly something > I > can fix. > > John W. Colby > www.ColbyConsulting.com > > Contribute your unused CPU cycles to a good cause: > http://folding.stanford.edu/ > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Dan Waters > Sent: Sunday, August 14, 2005 8:44 PM > To: 'Access Developers discussion and problem solving' > Subject: RE: [AccessD] Bug Report > > > Well - MS is really loosening up! They won't charge you if it really does > turn out to be a bug. I had to solve my bug myself for them to not charge > me! > > Best of Luck! > > Dan Waters > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of John W. Colby > Sent: Sunday, August 14, 2005 6:41 PM > To: 'Access Developers discussion and problem solving' > Subject: [AccessD] Bug Report > > The following is the response I got to my bug report: > > Hello John, > > Thank you for contacting Microsoft Online Customer Service. > > I appreciate the time you have taken to provide us with the feedback. As a > Customer Service Representative, I can assist you with the support options > available with your Microsoft product. You can report bugs by postal mail > to > the following address: > > Attn: Office Development Group > Microsoft Corporation > One Microsoft Way > Redmond, WA 98052 > > The letter should include a complete description of the bug including the > actions, software, and hardware associated with the bug and whether or not > it is consistently reproducible. > > You may also contact Microsoft Customer Service and speak with a support > professional about the issue and have a support case created. This method > will require you to utilize the standard options of support that are > available for your copy of Microsoft product initially. Once the support > professional is able to determine that the problem is a bug with the > software, they will not decrement the incident from warranty support or > account or issue a refund of any credit card charges if applicable. > > You may contact Microsoft Developer Support Team at (800) 936-5800. They > are available 24 hours a day. They will be able to assist you. > > John, I hope your issue gets resolved. > > Thank you for using Microsoft products and services. > > Benoy > Microsoft Online Customer Service Representative > > If you have any feedback about your Online Customer Service experience > please E-mail my manager Rahul Rajgopal at managers at microsoft.com > > > > John W. Colby > www.ColbyConsulting.com > > Contribute your unused CPU cycles to a good cause: > http://folding.stanford.edu/ > > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > > > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > > > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From jwcolby at colbyconsulting.com Tue Aug 16 06:14:30 2005 From: jwcolby at colbyconsulting.com (John W. Colby) Date: Tue, 16 Aug 2005 07:14:30 -0400 Subject: [AccessD] I Need Some Ideas In-Reply-To: <000e01c5a230$049f5d10$2c1f0c54@minster33c3r25> Message-ID: <004001c5a253$afa50520$6c7aa8c0@ColbyM6805> Oooooohhh I have a great idea for that one. John W. Colby www.ColbyConsulting.com Contribute your unused CPU cycles to a good cause: http://folding.stanford.edu/ -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Andy Lacey Sent: Tuesday, August 16, 2005 2:59 AM To: 'Access Developers discussion and problem solving' Subject: RE: [AccessD] I Need Some Ideas Hi Bryan Really sorry to hear that. How about the long-awaited v2 of BEU? -- Andy Lacey http://www.minstersystems.co.uk > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of > Bryan Carbonnell > Sent: 16 August 2005 03:05 > To: Access Developers discussion and problem solving > Subject: RE: [AccessD] I Need Some Ideas > > > On 15 Aug 2005 at 21:52, John W. Colby wrote: > > > Why don't I ever get these situations? 8-( > > Cause you really don't want to be in this situation. :)) > > -- > Bryan Carbonnell - carbonnb at sympatico.ca > Never test for a bug you don't know how to fix. > > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > > -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From jwcolby at colbyconsulting.com Tue Aug 16 06:16:33 2005 From: jwcolby at colbyconsulting.com (John W. Colby) Date: Tue, 16 Aug 2005 07:16:33 -0400 Subject: [AccessD] Bug Report In-Reply-To: Message-ID: <004101c5a253$f8ef1310$6c7aa8c0@ColbyM6805> A /decompile / compile / compact / repair has always fixed it for me. John W. Colby www.ColbyConsulting.com Contribute your unused CPU cycles to a good cause: http://folding.stanford.edu/ -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Jim Dettman Sent: Tuesday, August 16, 2005 6:17 AM To: Access Developers discussion and problem solving Subject: RE: [AccessD] Bug Report Rocky, None that I'm aware of. I usually do a /decompile as soon as I see the weird stuff start to happen. That pretty much clears it up. If not, I go to a backup. Jim. -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Rocky Smolin - Beach Access Software Sent: Monday, August 15, 2005 4:36 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Bug Report Jim: "code breaks on a line where a breakpoint was but is no longer" I've had this happen as well, even more embarrassing, at the customer when suddenly they find themselves in the code page with a yellow highlight. Has there been no fix for this from MS? Rocky From jimdettman at earthlink.net Tue Aug 16 06:31:08 2005 From: jimdettman at earthlink.net (Jim Dettman) Date: Tue, 16 Aug 2005 07:31:08 -0400 Subject: [AccessD] Bug Report In-Reply-To: <004101c5a253$f8ef1310$6c7aa8c0@ColbyM6805> Message-ID: John, I thought you said the other day that this didn't work for you? "Yea, I've seen this too. Breaks even though the breakbpoint was removed. I think it is the same issue, i.e. "invisible stuff" in the source code that is not properly stripped out. Unfortunately /decompile does not help in this case. All that /decompile does is throw out the pcode stream forcing a recompile of the entire source code stream. If the source stream is bad then the next compile will just recreate the bad pcode." Jim. -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of John W. Colby Sent: Tuesday, August 16, 2005 7:17 AM To: 'Access Developers discussion and problem solving' Subject: RE: [AccessD] Bug Report A /decompile / compile / compact / repair has always fixed it for me. John W. Colby www.ColbyConsulting.com Contribute your unused CPU cycles to a good cause: http://folding.stanford.edu/ -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Jim Dettman Sent: Tuesday, August 16, 2005 6:17 AM To: Access Developers discussion and problem solving Subject: RE: [AccessD] Bug Report Rocky, None that I'm aware of. I usually do a /decompile as soon as I see the weird stuff start to happen. That pretty much clears it up. If not, I go to a backup. Jim. -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Rocky Smolin - Beach Access Software Sent: Monday, August 15, 2005 4:36 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Bug Report Jim: "code breaks on a line where a breakpoint was but is no longer" I've had this happen as well, even more embarrassing, at the customer when suddenly they find themselves in the code page with a yellow highlight. Has there been no fix for this from MS? Rocky -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From Erwin.Craps at ithelps.be Tue Aug 16 06:39:48 2005 From: Erwin.Craps at ithelps.be (Erwin Craps - IT Helps) Date: Tue, 16 Aug 2005 13:39:48 +0200 Subject: [AccessD] Bug Report Message-ID: <46B976F2B698FF46A4FE7636509B22DF1B5DE4@stekelbes.ithelps.local> Had this dozen of times. Enter a extra line (may be blanc) before or after the invisible breakpoint and compile/save again. Erwin -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Jim Dettman Sent: Tuesday, August 16, 2005 1:31 PM To: Access Developers discussion and problem solving Subject: RE: [AccessD] Bug Report John, I thought you said the other day that this didn't work for you? "Yea, I've seen this too. Breaks even though the breakbpoint was removed. I think it is the same issue, i.e. "invisible stuff" in the source code that is not properly stripped out. Unfortunately /decompile does not help in this case. All that /decompile does is throw out the pcode stream forcing a recompile of the entire source code stream. If the source stream is bad then the next compile will just recreate the bad pcode." Jim. -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of John W. Colby Sent: Tuesday, August 16, 2005 7:17 AM To: 'Access Developers discussion and problem solving' Subject: RE: [AccessD] Bug Report A /decompile / compile / compact / repair has always fixed it for me. John W. Colby www.ColbyConsulting.com Contribute your unused CPU cycles to a good cause: http://folding.stanford.edu/ -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Jim Dettman Sent: Tuesday, August 16, 2005 6:17 AM To: Access Developers discussion and problem solving Subject: RE: [AccessD] Bug Report Rocky, None that I'm aware of. I usually do a /decompile as soon as I see the weird stuff start to happen. That pretty much clears it up. If not, I go to a backup. Jim. -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Rocky Smolin - Beach Access Software Sent: Monday, August 15, 2005 4:36 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Bug Report Jim: "code breaks on a line where a breakpoint was but is no longer" I've had this happen as well, even more embarrassing, at the customer when suddenly they find themselves in the code page with a yellow highlight. Has there been no fix for this from MS? Rocky -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From jwcolby at colbyconsulting.com Tue Aug 16 06:57:35 2005 From: jwcolby at colbyconsulting.com (John W. Colby) Date: Tue, 16 Aug 2005 07:57:35 -0400 Subject: [AccessD] Bug Report In-Reply-To: Message-ID: <004201c5a259$b0d252d0$6c7aa8c0@ColbyM6805> Oh, sorry. I was discussing my particular bug, not the "breakpoint" case. /decompile definitely has always solved the cases I've seen of the "breakpoint" issue. And I see it quite often. John W. Colby www.ColbyConsulting.com Contribute your unused CPU cycles to a good cause: http://folding.stanford.edu/ -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Jim Dettman Sent: Tuesday, August 16, 2005 7:31 AM To: Access Developers discussion and problem solving Subject: RE: [AccessD] Bug Report John, I thought you said the other day that this didn't work for you? "Yea, I've seen this too. Breaks even though the breakbpoint was removed. I think it is the same issue, i.e. "invisible stuff" in the source code that is not properly stripped out. Unfortunately /decompile does not help in this case. All that /decompile does is throw out the pcode stream forcing a recompile of the entire source code stream. If the source stream is bad then the next compile will just recreate the bad pcode." Jim. -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of John W. Colby Sent: Tuesday, August 16, 2005 7:17 AM To: 'Access Developers discussion and problem solving' Subject: RE: [AccessD] Bug Report A /decompile / compile / compact / repair has always fixed it for me. John W. Colby www.ColbyConsulting.com Contribute your unused CPU cycles to a good cause: http://folding.stanford.edu/ -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Jim Dettman Sent: Tuesday, August 16, 2005 6:17 AM To: Access Developers discussion and problem solving Subject: RE: [AccessD] Bug Report Rocky, None that I'm aware of. I usually do a /decompile as soon as I see the weird stuff start to happen. That pretty much clears it up. If not, I go to a backup. Jim. -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Rocky Smolin - Beach Access Software Sent: Monday, August 15, 2005 4:36 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Bug Report Jim: "code breaks on a line where a breakpoint was but is no longer" I've had this happen as well, even more embarrassing, at the customer when suddenly they find themselves in the code page with a yellow highlight. Has there been no fix for this from MS? Rocky -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From prosoft6 at hotmail.com Tue Aug 16 07:50:52 2005 From: prosoft6 at hotmail.com (Julie Reardon-Taylor) Date: Tue, 16 Aug 2005 08:50:52 -0400 Subject: [AccessD] I Need Some Ideas In-Reply-To: Message-ID: Bryan, Where are you located? I know of a company who is trying to fill sixteen IT positions this fall. Julie Reardon-Taylor PRO-SOFT OF NY, INC. 44 Public Square Suite #5 Watertown, NY 13601 Phone/Fax: (315) 785-0319 www.pro-soft.net From garykjos at gmail.com Tue Aug 16 07:57:55 2005 From: garykjos at gmail.com (Gary Kjos) Date: Tue, 16 Aug 2005 07:57:55 -0500 Subject: [AccessD] Database close bug (apparently) resolved In-Reply-To: <002501c5a1fe$388e4460$6c7aa8c0@ColbyM6805> References: <002501c5a1fe$388e4460$6c7aa8c0@ColbyM6805> Message-ID: Hooray! Perseverance wins again John! On 8/15/05, John W. Colby wrote: > Well... > > It appears that my bug has been resolved. > -- Gary Kjos garykjos at gmail.com From prosoft6 at hotmail.com Tue Aug 16 08:35:07 2005 From: prosoft6 at hotmail.com (Julie Reardon-Taylor) Date: Tue, 16 Aug 2005 09:35:07 -0400 Subject: [AccessD] New Record Appearing on Top Message-ID: I have seen this question posted before and cannot remember the response. A client has asked that the "new" record in a continuous form appear at the top. I know that Access doesn't work that way.....but is there a way to do this? Julie Reardon-Taylor PRO-SOFT OF NY, INC. 44 Public Square Suite #5 Watertown, NY 13601 Phone/Fax: (315) 785-0319 www.pro-soft.net From paul.hartland at isharp.co.uk Tue Aug 16 08:41:49 2005 From: paul.hartland at isharp.co.uk (Paul Hartland (ISHARP)) Date: Tue, 16 Aug 2005 14:41:49 +0100 Subject: [AccessD] New Record Appearing on Top In-Reply-To: Message-ID: The way I used to do this is if you have something like an autonumber on the table for the new record, is sort the subform on the Autonumber in descending order -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Julie Reardon-Taylor Sent: 16 August 2005 14:35 To: accessd at databaseadvisors.com Subject: [AccessD] New Record Appearing on Top I have seen this question posted before and cannot remember the response. A client has asked that the "new" record in a continuous form appear at the top. I know that Access doesn't work that way.....but is there a way to do this? Julie Reardon-Taylor PRO-SOFT OF NY, INC. 44 Public Square Suite #5 Watertown, NY 13601 Phone/Fax: (315) 785-0319 www.pro-soft.net -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From dwaters at usinternet.com Tue Aug 16 08:48:20 2005 From: dwaters at usinternet.com (Dan Waters) Date: Tue, 16 Aug 2005 08:48:20 -0500 Subject: [AccessD] New Record Appearing on Top In-Reply-To: <4640397.1124198665347.JavaMail.root@sniper21> Message-ID: <000001c5a269$2bb3b2f0$0300a8c0@danwaters> Julie, Yes - and it's a nice feature. The way to do this is to create fields directly above the subform container that mimic the fields in the continuous form. These fields will be unbound. A user will fill in these fields and push a Save button when done. The save button will cause the data in the unbound fields to be inserted into the table behind the subform. If your subform is sorted in descending order by it's autonumber field, then the new record will display at the top of the subform. I use this method in an hours tracking database. The Save button's click event code is shown below: Private Sub butSaveHours_Click() Dim stgSQL As String stgSQL = "INSERT INTO tblHours (ClientID, Category, SubCategory, Hours, ActivityDate, Description)" _ & " VALUES (" & txtClientID & ", '" & cboCategory & "', '" & cboSubCategory & "', " & txtHours & ", '" & txtActivityDate & "', '" & memDescription & "');" DoCmd.SetWarnings False DoCmd.RunSQL stgSQL DoCmd.SetWarnings True cboCategory = Null cboSubCategory = Null txtHours = Null txtActivityDate = Null memDescription = Null Me.Refresh cboCategory.SetFocus butSaveHours.Enabled = False End Sub Note that the ClientID field is the Primary Key for the main table and is also the Foreign Key for the related sub table. HTH, Dan Waters -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Julie Reardon-Taylor Sent: Tuesday, August 16, 2005 8:35 AM To: accessd at databaseadvisors.com Subject: [AccessD] New Record Appearing on Top I have seen this question posted before and cannot remember the response. A client has asked that the "new" record in a continuous form appear at the top. I know that Access doesn't work that way.....but is there a way to do this? Julie Reardon-Taylor PRO-SOFT OF NY, INC. 44 Public Square Suite #5 Watertown, NY 13601 Phone/Fax: (315) 785-0319 www.pro-soft.net -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From prosoft6 at hotmail.com Tue Aug 16 09:10:05 2005 From: prosoft6 at hotmail.com (Julie Reardon-Taylor) Date: Tue, 16 Aug 2005 10:10:05 -0400 Subject: [AccessD] New Record Appearing on Top In-Reply-To: Message-ID: Thanks Dan and Paul. Very useful info, I'll try it. As always, this group is awesome!!!!! Julie Reardon-Taylor PRO-SOFT OF NY, INC. 44 Public Square Suite #5 Watertown, NY 13601 Phone/Fax: (315) 785-0319 www.pro-soft.net From adtp at touchtelindia.net Tue Aug 16 09:27:37 2005 From: adtp at touchtelindia.net (A.D.Tejpal) Date: Tue, 16 Aug 2005 19:57:37 +0530 Subject: [AccessD] New Record Appearing on Top References: Message-ID: <009401c5a26e$cee95e70$891865cb@winxp> Julie, My sample db named AddDataAtTop might be of interest to you. It is available at Rogers Access Library (other developers library). Link - http://www.rogersaccesslibrary.com The sample demonstrates three styles of data entry at top of a subform - (a) Continuous Form Display (Using Command Button) - Data is entered via unbound text boxes in subform header, using command button on the parent form. Freshly added Record is highlighted in green, while other recent records added in current session are shown in orange. (b) Datasheet Display (Using Command Button) - On clicking the command button on parent form, fresh blank record (highlighted in green) is presented at the top of subform for enabling data entry. Recent records added in current session are shown in orange. (c) Datasheet Display (Auto - No command button) - On opening the main form, user is presented with fresh blank record (highlighted in green) at the top of subform. As soon as data entry commences in this record, its back color changes to yellow, while another fresh blank record (in green) is offered at top. All other recent records added in current session are shown in orange. You could adapt the underlying approach suitably, for your specific needs. Best wishes, A.D.Tejpal -------------- ----- Original Message ----- From: Julie Reardon-Taylor To: accessd at databaseadvisors.com Sent: Tuesday, August 16, 2005 19:05 Subject: [AccessD] New Record Appearing on Top I have seen this question posted before and cannot remember the response. A client has asked that the "new" record in a continuous form appear at the top. I know that Access doesn't work that way.....but is there a way to do this? Julie Reardon-Taylor PRO-SOFT OF NY, INC. 44 Public Square Suite #5 Watertown, NY 13601 Phone/Fax: (315) 785-0319 www.pro-soft.net From andy at minstersystems.co.uk Tue Aug 16 09:31:15 2005 From: andy at minstersystems.co.uk (Andy Lacey) Date: Tue, 16 Aug 2005 15:31:15 +0100 Subject: [AccessD] New Record Appearing on Top Message-ID: <20050816143112.85AC024DEB6@smtp.nildram.co.uk> I don't know if you use BEU, Julie, but if you do that gives an example of what Dan's describing. -- Andy Lacey http://www.minstersystems.co.uk --------- Original Message -------- From: "Access Developers discussion and problem solving" To: "accessd at databaseadvisors.com" Subject: RE: [AccessD] New Record Appearing on Top Date: 16/08/05 14:11 Thanks Dan and Paul. Very useful info, I'll try it. As always, this group is awesome!!!!! Julie Reardon-Taylor PRO-SOFT OF NY, INC. 44 Public Square Suite #5 Watertown, NY 13601 Phone/Fax: (315) 785-0319 www.pro-soft.net -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com ________________________________________________ Message sent using UebiMiau 2.7.2 From dwaters at usinternet.com Tue Aug 16 09:47:11 2005 From: dwaters at usinternet.com (Dan Waters) Date: Tue, 16 Aug 2005 09:47:11 -0500 Subject: [AccessD] OT - Excel VBA Cell Selection Syntax (x-posted) Message-ID: <000201c5a271$63f85370$0300a8c0@danwaters> Hello to All, I'm struggling with syntax for the selection of cells when trying to use row and column indexes. Below is an example: Example A: Worksheets("Available Items").Range("A2:B123").Select Example B: Worksheets("Available Items").Range(Cells(2, 1), Cells(123, 2)).Select Example A works fine, but B does not. Both are from Excel Help files (see the Range Property). Once this works I will substitute a variable for the 123 value. Thanks! Dan Waters From cfoust at infostatsystems.com Tue Aug 16 10:39:33 2005 From: cfoust at infostatsystems.com (Charlotte Foust) Date: Tue, 16 Aug 2005 08:39:33 -0700 Subject: [AccessD] New Record Appearing on Top Message-ID: Others have given you chapter and verse on approaches to this, so let me ask you a question: Is the client going to be happy with the new rows falling to the bottom of the list after they're added "at the top"? Depending on the default sort for the form/subform, that row just added at the top may disappear entirely from the visible records. That is something clients frequently overlook when asking for a feature like this, and it needs to be discussed before you go to a lot of effort to provide something they're going to decide they don't like. Charlotte Foust -----Original Message----- From: Julie Reardon-Taylor [mailto:prosoft6 at hotmail.com] Sent: Tuesday, August 16, 2005 6:35 AM To: accessd at databaseadvisors.com Subject: [AccessD] New Record Appearing on Top I have seen this question posted before and cannot remember the response. A client has asked that the "new" record in a continuous form appear at the top. I know that Access doesn't work that way.....but is there a way to do this? Julie Reardon-Taylor PRO-SOFT OF NY, INC. 44 Public Square Suite #5 Watertown, NY 13601 Phone/Fax: (315) 785-0319 www.pro-soft.net -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From cfoust at infostatsystems.com Tue Aug 16 10:43:17 2005 From: cfoust at infostatsystems.com (Charlotte Foust) Date: Tue, 16 Aug 2005 08:43:17 -0700 Subject: [AccessD] I Need Some Ideas Message-ID: Bryan, Get the student version and dive into VB.Net. It takes time to learn but the results are well worth it. Charlotte Foust -----Original Message----- From: Bryan Carbonnell [mailto:carbonnb at sympatico.ca] Sent: Monday, August 15, 2005 6:45 PM To: access Developers discussion and problem solving Subject: [AccessD] I Need Some Ideas I have found myself in a situation that gives me an inordinate amount of free time and I'm looking for some ideas to fill my time. I am thinking of something that would make development easier or a specifc app that would greatly help developers. I need something to keep my mind active and fingers busy :) It can be anything from Access to Word to Excel (Office 2K), even VB 6. I'm open to any and all suggestion. And If I can learn something new, that would be even better. Let the flood gates open :-) -- Bryan Carbonnell - carbonnb at sympatico.ca Don't cry because it's over; smile because it happened. -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From R.Griffiths at bury.gov.uk Tue Aug 16 10:46:56 2005 From: R.Griffiths at bury.gov.uk (Griffiths, Richard) Date: Tue, 16 Aug 2005 16:46:56 +0100 Subject: [AccessD] Update BE Message-ID: <200508161536.j7GFan926891@smarthost.yourcomms.net> Hi After advice/resources. I have written an application using vb.net which is to run with A2K BE and SQL 2000 BE. I am trying to think about how to update the back end. I have a number of options, one being to write VB code and using DAO or ADO update the BE. But I think this will involve further deployment of VB and Jet/Vba and MS Access (runtime) etc. The other option (no doubt there are others) is to write CREATE TABLE and ALTER TABLE statements (and this can be deployed within a exe running vb.net). I think this is tidier, however there is not much documentation on this process ( CREATE TABLE and ALTER TABLE etc) for MS Access. Does anyone have code and/or can offer good sources on the web to help me here. Any other solutions? Many thanks Richard From Jim.Hale at FleetPride.com Tue Aug 16 10:44:29 2005 From: Jim.Hale at FleetPride.com (Hale, Jim) Date: Tue, 16 Aug 2005 10:44:29 -0500 Subject: [AccessD] OT - Excel VBA Cell Selection Syntax (x-posted) Message-ID: <6A6AA9DF57E4F046BDA1E273BDDB6772337787@corp-es01.fleetpride.com> try (runs from within Excel. If you want to run from inside Access you will need an Excel object) Function test() Dim wsItems As Worksheet Set wsItems = Worksheets("Available Items") wsItems.Range(wsItems.Cells(2, 1), wsItems.Cells(123, 2)).Select Set wsItems = Nothing End Function Jim Hale -----Original Message----- From: Dan Waters [mailto:dwaters at usinternet.com] Sent: Tuesday, August 16, 2005 9:47 AM To: DBA-Tech; AccessD Subject: [AccessD] OT - Excel VBA Cell Selection Syntax (x-posted) Hello to All, I'm struggling with syntax for the selection of cells when trying to use row and column indexes. Below is an example: Example A: Worksheets("Available Items").Range("A2:B123").Select Example B: Worksheets("Available Items").Range(Cells(2, 1), Cells(123, 2)).Select Example A works fine, but B does not. Both are from Excel Help files (see the Range Property). Once this works I will substitute a variable for the 123 value. Thanks! Dan Waters -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com *********************************************************************** The information transmitted is intended solely for the individual or entity to which it is addressed and may contain confidential and/or privileged material. Any review, retransmission, dissemination or other use of or taking action in reliance upon this information by persons or entities other than the intended recipient is prohibited. If you have received this email in error please contact the sender and delete the material from any computer. As a recipient of this email, you are responsible for screening its contents and the contents of any attachments for the presence of viruses. No liability is accepted for any damages caused by any virus transmitted by this email. From cfoust at infostatsystems.com Tue Aug 16 10:46:51 2005 From: cfoust at infostatsystems.com (Charlotte Foust) Date: Tue, 16 Aug 2005 08:46:51 -0700 Subject: [AccessD] Database close bug (apparently) resolved Message-ID: Glad you found the problem and the answer, John. One of the plagues on my existence is when all the code runs as you step through it and then throws an error on the End Sub line!! Tracking that down usually has me beating my head against the walls because the error in question is often entirely unrelated to the sub itself! :-{ Charlotte Foust -----Original Message----- From: John W. Colby [mailto:jwcolby at colbyconsulting.com] Sent: Monday, August 15, 2005 6:03 PM To: 'Access Developers discussion and problem solving' Subject: [AccessD] Database close bug (apparently) resolved Well... It appears that my bug has been resolved. The form in question has a combo, the list for which is a result of a state machine. IOW, if you are in state A, then you can go to state B, D, F or G but not C, E etc. Thus the list for the combo has to be calculated as the form opens based on the current state, a SQL statement generated and placed in the combo rowsource property. In fact, for troubleshooting purposes, I had a saved querydef which I modified with the results of this calculated SQL Statement, then placed the name of the saved query in the combo's RowSource property after the calculation, and modification of the querydef. Once I knew that it was this class that was causing the issue, I was able to "divide and conquer" (comment out statements until it was found) and discovered that it was the process of modifying the saved querydef that was causing the unexpected close. The combo RowSource is set to the name of the saved query when the form opens, then the RowSource is set to "" (cleared), the querydef opened and the SQL property modified with the calculated SQL statement and closed, then the name of the query placed back in the combo which causes the combo to "requery" and pull the data per the SQL statement and display that dataset. For whatever reason, that modify/save/store in combo process was causing the close issue. By simply deleting the named query from the combo's RowSource, then placing the SQL statement itself directly in the combo, the database no longer closes unexpectedly. Now I have to do a "Find" to make sure that the stored query is not used any where else after the combo is loaded, and if not, I can just leave things as they are with a note in the commented out code to indicate that it caused my "database close" issue. What a PITA. And why doesn't Access close immediately (or better yet, throw an error if it doesn't like this?) when I am screwing around with the querydef instead of after OnCurrent finishes? And what is it that makes it OS sensitive? All things I will no doubt never see the answer to. But... I have fixed my problem. John W. Colby www.ColbyConsulting.com Contribute your unused CPU cycles to a good cause: http://folding.stanford.edu/ -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From dwaters at usinternet.com Tue Aug 16 11:13:52 2005 From: dwaters at usinternet.com (Dan Waters) Date: Tue, 16 Aug 2005 11:13:52 -0500 Subject: [AccessD] OT - Excel VBA Cell Selection Syntax (x-posted) In-Reply-To: <4467491.1124207341552.JavaMail.root@sniper17> Message-ID: <000001c5a27d$813b0e30$0300a8c0@danwaters> Hi Jim, Well - I got the same 1004 (Select Method of Range Class Failed) error. I am running from within Excel. However, when I held the mouse over the wsItems.Cells phrase, intellisense displayed the value of that cell. Seems like a step forward but more is needed. Dan Waters -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Hale, Jim Sent: Tuesday, August 16, 2005 10:44 AM To: 'Access Developers discussion and problem solving' Subject: RE: [AccessD] OT - Excel VBA Cell Selection Syntax (x-posted) try (runs from within Excel. If you want to run from inside Access you will need an Excel object) Function test() Dim wsItems As Worksheet Set wsItems = Worksheets("Available Items") wsItems.Range(wsItems.Cells(2, 1), wsItems.Cells(123, 2)).Select Set wsItems = Nothing End Function Jim Hale -----Original Message----- From: Dan Waters [mailto:dwaters at usinternet.com] Sent: Tuesday, August 16, 2005 9:47 AM To: DBA-Tech; AccessD Subject: [AccessD] OT - Excel VBA Cell Selection Syntax (x-posted) Hello to All, I'm struggling with syntax for the selection of cells when trying to use row and column indexes. Below is an example: Example A: Worksheets("Available Items").Range("A2:B123").Select Example B: Worksheets("Available Items").Range(Cells(2, 1), Cells(123, 2)).Select Example A works fine, but B does not. Both are from Excel Help files (see the Range Property). Once this works I will substitute a variable for the 123 value. Thanks! Dan Waters -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com *********************************************************************** The information transmitted is intended solely for the individual or entity to which it is addressed and may contain confidential and/or privileged material. Any review, retransmission, dissemination or other use of or taking action in reliance upon this information by persons or entities other than the intended recipient is prohibited. If you have received this email in error please contact the sender and delete the material from any computer. As a recipient of this email, you are responsible for screening its contents and the contents of any attachments for the presence of viruses. No liability is accepted for any damages caused by any virus transmitted by this email. From prosoft6 at hotmail.com Tue Aug 16 11:31:48 2005 From: prosoft6 at hotmail.com (Julie Reardon-Taylor) Date: Tue, 16 Aug 2005 12:31:48 -0400 Subject: [AccessD] New Record Appearing on Top In-Reply-To: Message-ID: Good point Charlotte. I don't really like it either.....and certainly have given the client what they want, only to have to turn around and "re-do" what they thought was a great thing. Thank you for your thoughts. Julie Reardon-Taylor PRO-SOFT OF NY, INC. 44 Public Square Suite #5 Watertown, NY 13601 Phone/Fax: (315) 785-0319 www.pro-soft.net From DWUTKA at marlow.com Tue Aug 16 11:29:48 2005 From: DWUTKA at marlow.com (DWUTKA at marlow.com) Date: Tue, 16 Aug 2005 11:29:48 -0500 Subject: [AccessD] I Need Some Ideas Message-ID: <123701F54509D9119A4F00D0B747349016DD4A@main2.marlow.com> How about a master table-linker service? Create a service that can be run on any machine in the network, which 'knows' the location of all linked tables. One module in the database runs at startup, 'scans' the network for the 'server' which tells it if it needs to relink it's tables or not. I've got code for the scanning portion..... Drew -----Original Message----- From: Bryan Carbonnell [mailto:carbonnb at sympatico.ca] Sent: Monday, August 15, 2005 8:45 PM To: access Developers discussion and problem solving Subject: [AccessD] I Need Some Ideas I have found myself in a situation that gives me an inordinate amount of free time and I'm looking for some ideas to fill my time. I am thinking of something that would make development easier or a specifc app that would greatly help developers. I need something to keep my mind active and fingers busy :) It can be anything from Access to Word to Excel (Office 2K), even VB 6. I'm open to any and all suggestion. And If I can learn something new, that would be even better. Let the flood gates open :-) -- Bryan Carbonnell - carbonnb at sympatico.ca Don't cry because it's over; smile because it happened. -- 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 Aug 16 11:43:49 2005 From: Jim.Hale at FleetPride.com (Hale, Jim) Date: Tue, 16 Aug 2005 11:43:49 -0500 Subject: [AccessD] OT - Excel VBA Cell Selection Syntax (x-posted) Message-ID: <6A6AA9DF57E4F046BDA1E273BDDB6772337789@corp-es01.fleetpride.com> This function works fine in my test workbook. Is "available items" correct, ie. no leading or trailing spaces in the name? Also, make sure wsItems is dimmed as a worksheet not worksheets. Jim Hale -----Original Message----- From: Dan Waters [mailto:dwaters at usinternet.com] Sent: Tuesday, August 16, 2005 11:14 AM To: 'Access Developers discussion and problem solving' Subject: RE: [AccessD] OT - Excel VBA Cell Selection Syntax (x-posted) Hi Jim, Well - I got the same 1004 (Select Method of Range Class Failed) error. I am running from within Excel. However, when I held the mouse over the wsItems.Cells phrase, intellisense displayed the value of that cell. Seems like a step forward but more is needed. Dan Waters -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Hale, Jim Sent: Tuesday, August 16, 2005 10:44 AM To: 'Access Developers discussion and problem solving' Subject: RE: [AccessD] OT - Excel VBA Cell Selection Syntax (x-posted) try (runs from within Excel. If you want to run from inside Access you will need an Excel object) Function test() Dim wsItems As Worksheet Set wsItems = Worksheets("Available Items") wsItems.Range(wsItems.Cells(2, 1), wsItems.Cells(123, 2)).Select Set wsItems = Nothing End Function Jim Hale -----Original Message----- From: Dan Waters [mailto:dwaters at usinternet.com] Sent: Tuesday, August 16, 2005 9:47 AM To: DBA-Tech; AccessD Subject: [AccessD] OT - Excel VBA Cell Selection Syntax (x-posted) Hello to All, I'm struggling with syntax for the selection of cells when trying to use row and column indexes. Below is an example: Example A: Worksheets("Available Items").Range("A2:B123").Select Example B: Worksheets("Available Items").Range(Cells(2, 1), Cells(123, 2)).Select Example A works fine, but B does not. Both are from Excel Help files (see the Range Property). Once this works I will substitute a variable for the 123 value. Thanks! Dan Waters -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com *********************************************************************** The information transmitted is intended solely for the individual or entity to which it is addressed and may contain confidential and/or privileged material. Any review, retransmission, dissemination or other use of or taking action in reliance upon this information by persons or entities other than the intended recipient is prohibited. If you have received this email in error please contact the sender and delete the material from any computer. As a recipient of this email, you are responsible for screening its contents and the contents of any attachments for the presence of viruses. No liability is accepted for any damages caused by any virus transmitted by this email. -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com *********************************************************************** The information transmitted is intended solely for the individual or entity to which it is addressed and may contain confidential and/or privileged material. Any review, retransmission, dissemination or other use of or taking action in reliance upon this information by persons or entities other than the intended recipient is prohibited. If you have received this email in error please contact the sender and delete the material from any computer. As a recipient of this email, you are responsible for screening its contents and the contents of any attachments for the presence of viruses. No liability is accepted for any damages caused by any virus transmitted by this email. From dwaters at usinternet.com Tue Aug 16 13:53:38 2005 From: dwaters at usinternet.com (Dan Waters) Date: Tue, 16 Aug 2005 13:53:38 -0500 Subject: [AccessD] OT - Excel VBA Cell Selection Syntax (x-posted) In-Reply-To: <23876804.1124210819788.JavaMail.root@sniper17> Message-ID: <000001c5a293$d2132750$0300a8c0@danwaters> Yes, it is correct. I'm going to try creating a new workbook and copy everything over, just in case there is something wrong with the file itself. Dan Waters -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Hale, Jim Sent: Tuesday, August 16, 2005 11:44 AM To: 'Access Developers discussion and problem solving' Subject: RE: [AccessD] OT - Excel VBA Cell Selection Syntax (x-posted) This function works fine in my test workbook. Is "available items" correct, ie. no leading or trailing spaces in the name? Also, make sure wsItems is dimmed as a worksheet not worksheets. Jim Hale -----Original Message----- From: Dan Waters [mailto:dwaters at usinternet.com] Sent: Tuesday, August 16, 2005 11:14 AM To: 'Access Developers discussion and problem solving' Subject: RE: [AccessD] OT - Excel VBA Cell Selection Syntax (x-posted) Hi Jim, Well - I got the same 1004 (Select Method of Range Class Failed) error. I am running from within Excel. However, when I held the mouse over the wsItems.Cells phrase, intellisense displayed the value of that cell. Seems like a step forward but more is needed. Dan Waters -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Hale, Jim Sent: Tuesday, August 16, 2005 10:44 AM To: 'Access Developers discussion and problem solving' Subject: RE: [AccessD] OT - Excel VBA Cell Selection Syntax (x-posted) try (runs from within Excel. If you want to run from inside Access you will need an Excel object) Function test() Dim wsItems As Worksheet Set wsItems = Worksheets("Available Items") wsItems.Range(wsItems.Cells(2, 1), wsItems.Cells(123, 2)).Select Set wsItems = Nothing End Function Jim Hale -----Original Message----- From: Dan Waters [mailto:dwaters at usinternet.com] Sent: Tuesday, August 16, 2005 9:47 AM To: DBA-Tech; AccessD Subject: [AccessD] OT - Excel VBA Cell Selection Syntax (x-posted) Hello to All, I'm struggling with syntax for the selection of cells when trying to use row and column indexes. Below is an example: Example A: Worksheets("Available Items").Range("A2:B123").Select Example B: Worksheets("Available Items").Range(Cells(2, 1), Cells(123, 2)).Select Example A works fine, but B does not. Both are from Excel Help files (see the Range Property). Once this works I will substitute a variable for the 123 value. Thanks! Dan Waters -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com *********************************************************************** The information transmitted is intended solely for the individual or entity to which it is addressed and may contain confidential and/or privileged material. Any review, retransmission, dissemination or other use of or taking action in reliance upon this information by persons or entities other than the intended recipient is prohibited. If you have received this email in error please contact the sender and delete the material from any computer. As a recipient of this email, you are responsible for screening its contents and the contents of any attachments for the presence of viruses. No liability is accepted for any damages caused by any virus transmitted by this email. -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com *********************************************************************** The information transmitted is intended solely for the individual or entity to which it is addressed and may contain confidential and/or privileged material. Any review, retransmission, dissemination or other use of or taking action in reliance upon this information by persons or entities other than the intended recipient is prohibited. If you have received this email in error please contact the sender and delete the material from any computer. As a recipient of this email, you are responsible for screening its contents and the contents of any attachments for the presence of viruses. No liability is accepted for any damages caused by any virus transmitted by this email. From jwcolby at colbyconsulting.com Tue Aug 16 13:56:30 2005 From: jwcolby at colbyconsulting.com (John W. Colby) Date: Tue, 16 Aug 2005 14:56:30 -0400 Subject: [AccessD] I Need Some Ideas In-Reply-To: Message-ID: <001f01c5a294$39f4ef20$6c7aa8c0@ColbyM6805> What kind of wages? John W. Colby www.ColbyConsulting.com Contribute your unused CPU cycles to a good cause: http://folding.stanford.edu/ -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Julie Reardon-Taylor Sent: Tuesday, August 16, 2005 8:51 AM To: accessd at databaseadvisors.com Subject: Re: [AccessD] I Need Some Ideas Bryan, Where are you located? I know of a company who is trying to fill sixteen IT positions this fall. Julie Reardon-Taylor PRO-SOFT OF NY, INC. 44 Public Square Suite #5 Watertown, NY 13601 Phone/Fax: (315) 785-0319 www.pro-soft.net -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From john at winhaven.net Tue Aug 16 14:08:35 2005 From: john at winhaven.net (John Bartow) Date: Tue, 16 Aug 2005 14:08:35 -0500 Subject: [AccessD] I Need Some Ideas In-Reply-To: Message-ID: <200508161908.j7GJ8aR24489@databaseadvisors.com> Hi Bryan, An ambitiuos question! How about a set of classes for easily automating Word from Access? -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Bryan Carbonnell Sent: Monday, August 15, 2005 8:45 PM To: access Developers discussion and problem solving Subject: [AccessD] I Need Some Ideas I have found myself in a situation that gives me an inordinate amount of free time and I'm looking for some ideas to fill my time. I am thinking of something that would make development easier or a specifc app that would greatly help developers. I need something to keep my mind active and fingers busy :) It can be anything from Access to Word to Excel (Office 2K), even VB 6. I'm open to any and all suggestion. And If I can learn something new, that would be even better. Let the flood gates open :-) -- Bryan Carbonnell - carbonnb at sympatico.ca Don't cry because it's over; smile because it happened. -- 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 Aug 16 14:25:20 2005 From: Jim.Hale at FleetPride.com (Hale, Jim) Date: Tue, 16 Aug 2005 14:25:20 -0500 Subject: [AccessD] I Need Some Ideas Message-ID: <6A6AA9DF57E4F046BDA1E273BDDB677233778A@corp-es01.fleetpride.com> One of my favorite Access books was "Access 95 How-To" by Ken Getz and Paul Litwin. It was updated and re-released as the "Access Cookbook" by O'Reilly in 2002. This book posed a problem and provided the solution together with a detailed explanation. No extraneous junk. The reason I bring this up is that I think an AccessD book organized along the same lines would make a fantastic project. After all, the archives have hundreds of solution unavailable elsewhere. AccessD could receive royalties along with the author to allow the group to continue paying its modest bills. I presume releases would be required from posters since some material (such as John's framework tutorials) are intended for publication in their own book. As the authors on this list can attest no book is an "easy" project but I think this would be a win for AccessD, developers, and the author willing to take on the job. My 2 cents. Jim Hale -----Original Message----- From: DWUTKA at marlow.com [mailto:DWUTKA at marlow.com] Sent: Tuesday, August 16, 2005 11:30 AM To: accessd at databaseadvisors.com Subject: RE: [AccessD] I Need Some Ideas How about a master table-linker service? Create a service that can be run on any machine in the network, which 'knows' the location of all linked tables. One module in the database runs at startup, 'scans' the network for the 'server' which tells it if it needs to relink it's tables or not. I've got code for the scanning portion..... Drew -----Original Message----- From: Bryan Carbonnell [mailto:carbonnb at sympatico.ca] Sent: Monday, August 15, 2005 8:45 PM To: access Developers discussion and problem solving Subject: [AccessD] I Need Some Ideas I have found myself in a situation that gives me an inordinate amount of free time and I'm looking for some ideas to fill my time. I am thinking of something that would make development easier or a specifc app that would greatly help developers. I need something to keep my mind active and fingers busy :) It can be anything from Access to Word to Excel (Office 2K), even VB 6. I'm open to any and all suggestion. And If I can learn something new, that would be even better. Let the flood gates open :-) -- Bryan Carbonnell - carbonnb at sympatico.ca Don't cry because it's over; smile because it happened. -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com *********************************************************************** The information transmitted is intended solely for the individual or entity to which it is addressed and may contain confidential and/or privileged material. Any review, retransmission, dissemination or other use of or taking action in reliance upon this information by persons or entities other than the intended recipient is prohibited. If you have received this email in error please contact the sender and delete the material from any computer. As a recipient of this email, you are responsible for screening its contents and the contents of any attachments for the presence of viruses. No liability is accepted for any damages caused by any virus transmitted by this email. From john at winhaven.net Tue Aug 16 14:25:46 2005 From: john at winhaven.net (John Bartow) Date: Tue, 16 Aug 2005 14:25:46 -0500 Subject: [AccessD] Welcome to New Subscribers Message-ID: <200508161925.j7GJPmR28409@databaseadvisors.com> We've had quite a few new subscribers lately and I just want to say welcome to all of you! Although you are welcome to just read the mail coming through from others, or browse our archives, please feel free to ask questions or post comments. We strive for a friendly, community-like attitude here and we all try to help each other as much as possible. No one gets flamed here for asking Access related questions at any level! Once again, Welcome to our group, John Bartow, President Database Advisors, Inc. Email: mailto:president at databaseadvisors.com Website: http://www.databaseadvisors.com From jmhecht at earthlink.net Tue Aug 16 14:45:23 2005 From: jmhecht at earthlink.net (Joe Hecht) Date: Tue, 16 Aug 2005 12:45:23 -0700 Subject: [AccessD] I Need Some Ideas In-Reply-To: Message-ID: <001b01c5a29b$0b6d4bf0$6401a8c0@laptop1> Voice command app that would automatically write John Colby Classes and code for you. Joe Hecht Los Angeles CA -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Bryan Carbonnell Sent: Monday, August 15, 2005 6:45 PM To: access at joe2.endjunk.com; access Developers discussion and problem solving Subject: [AccessD] I Need Some Ideas I have found myself in a situation that gives me an inordinate amount of free time and I'm looking for some ideas to fill my time. I am thinking of something that would make development easier or a specifc app that would greatly help developers. I need something to keep my mind active and fingers busy :) It can be anything from Access to Word to Excel (Office 2K), even VB 6. I'm open to any and all suggestion. And If I can learn something new, that would be even better. Let the flood gates open :-) -- Bryan Carbonnell - carbonnb at sympatico.ca Don't cry because it's over; smile because it happened. -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From jmhecht at earthlink.net Tue Aug 16 14:47:11 2005 From: jmhecht at earthlink.net (Joe Hecht) Date: Tue, 16 Aug 2005 12:47:11 -0700 Subject: [AccessD] I Need Some Ideas In-Reply-To: Message-ID: <001c01c5a29b$4bb39ca0$6401a8c0@laptop1> Julie Here in Los Angeles Maybe? Joe Hecht Los Angeles CA -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Julie Reardon-Taylor Sent: Tuesday, August 16, 2005 5:51 AM To: accessd at databaseadvisors.com Subject: Re: [AccessD] I Need Some Ideas Bryan, Where are you located? I know of a company who is trying to fill sixteen IT positions this fall. Julie Reardon-Taylor PRO-SOFT OF NY, INC. 44 Public Square Suite #5 Watertown, NY 13601 Phone/Fax: (315) 785-0319 www.pro-soft.net -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From martyconnelly at shaw.ca Tue Aug 16 14:49:43 2005 From: martyconnelly at shaw.ca (MartyConnelly) Date: Tue, 16 Aug 2005 12:49:43 -0700 Subject: [AccessD] Ajax and Atlas with XML References: Message-ID: <43024357.8060104@shaw.ca> If looking for xml info starter sites. http://www.xml.org http://www.xml.com A vb oriented site was once vbxml.com http://www.topxml.com Try to buy XML books published in last 3 years otherwise you wont get latest in XSLT and XQuery. Old books maybe based on old XSL patterns which might prove confusing. Now here is the latest buzz in XML development with AJAX. In computer programming, AJAX (Asynchronous JavaScript and XML) is a method of building interactive applications for the Web that process user requests immediately.Ajax allows content on Web pages to update immediately when a user performs an action, unlike an HTTP request, during which users must wait for a whole new page to load. For example, a weather forecasting site could display local conditions on one side of the page without delay after a user types in a zip code. Google Map works this way. ATLAS is a downloadable javascript engine Microsoft is supposed to bring out in September at some convention. How difficult is this stuff well it is not rocket science. But an amalgam of 4 or 5 techniques. Ajax combines several programming tools including JavaScript, dynamic HTML (DHTML), Extensible Markup Language (XML), cascading style sheets (CSS), the Document Object Model (DOM), and the Microsoft object, XMLHttpRequest. After that you can use Web Services to grab the xml data. You could modify javascript to VBA too for use in Access. Some sites where you can grab javascript source and examples of Ajax or download them http://www.clearnova.com/ajax/index.html http://developer.apple.com/internet/webcontent/XMLHttpRequestExample/example.html Articles Dynamic HTML and xmlhttpRequest object http://developer.apple.com/internet/webcontent/xmlhttpreq.html Jesse Garrett What is Ajax? (The guy that gave it the name) http://www.adaptivepath.com/publications/essays/archives/000385.php Here is a elementary ajax sample just place the two files on your web server and run with java script enabled through your favourite browser. You can also run from hard disk directly in Netscape 7.0 but IE locally has security stops and uses file: protocol and not http: protocol so wont run correctly without a lot of fiddling with settings. Rather than use a object; might use document.innerhtml to get around for local use. On my server these two files http://www5.brinkster.com/mconnelly/ajax/ajax.html Save this file as UTF-8 not ANSI ajax.html Developing Web Applications with Ajax - Example

Developing Web Applications with Ajax

This page demonstrates the use of Asynchronous Javascript and XML (Ajax) technology to update a web page's content by reading from a remote file dynamically -- no page reloading is required. Note that this operation does not work for users without JavaScript enabled.

This is some sample data. It is the default data for this web page. View XML data.

Save this file below as UTF-8 data.xml This is some sample data. It is stored in an XML file and retrieved by JavaScript. Gustav Brock wrote: >Hi Bryan > >So no job? Or wife?? Is that what you are trying to tell? >On the other hand (for the job option, cannot tell for the wife >option), with your knowledge I would expect it to be easy for you to >find some "new challenges" except, of course, if things are a little >more complicated than they may appear to be ... > >Currently I'm facing some XML work. Haven't done anything with this and >Access and hardly know where to look except browsing this list ... >So an XML cookbook or guide is a suggestion. > >/gustav > > > >>>>carbonnb at sympatico.ca 08/16 3:45 am >>> >>>> >>>> >I have found myself in a situation that gives me an inordinate amount >of free time and I'm looking for some ideas to fill my time. > >I am thinking of something that would make development easier or a >specifc app that would greatly help developers. I need something to >keep my mind active and fingers busy :) > >It can be anything from Access to Word to Excel (Office 2K), even VB >6. > >I'm open to any and all suggestion. And If I can learn something new, >that would be even better. > >Let the flood gates open :-) > > > -- Marty Connelly Victoria, B.C. Canada From DWUTKA at marlow.com Tue Aug 16 14:59:57 2005 From: DWUTKA at marlow.com (DWUTKA at marlow.com) Date: Tue, 16 Aug 2005 14:59:57 -0500 Subject: [AccessD] I Need Some Ideas Message-ID: <123701F54509D9119A4F00D0B747349016DD4C@main2.marlow.com> That's easy, and requires no code or special hardware. Just call up JC, and tell him that you don't think his framework would hand XYZ...and let him prove you wrong. When he has given you proof, thank him, tell him he's stellar, and a god among mortals, and walk away with completed JC Classes. Of course, the same method will work on me too.... Drew -----Original Message----- From: Joe Hecht [mailto:jmhecht at earthlink.net] Sent: Tuesday, August 16, 2005 2:45 PM To: 'Access Developers discussion and problem solving' Subject: RE: [AccessD] I Need Some Ideas Voice command app that would automatically write John Colby Classes and code for you. Joe Hecht Los Angeles CA -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Bryan Carbonnell Sent: Monday, August 15, 2005 6:45 PM To: access at joe2.endjunk.com; access Developers discussion and problem solving Subject: [AccessD] I Need Some Ideas I have found myself in a situation that gives me an inordinate amount of free time and I'm looking for some ideas to fill my time. I am thinking of something that would make development easier or a specifc app that would greatly help developers. I need something to keep my mind active and fingers busy :) It can be anything from Access to Word to Excel (Office 2K), even VB 6. I'm open to any and all suggestion. And If I can learn something new, that would be even better. Let the flood gates open :-) -- Bryan Carbonnell - carbonnb at sympatico.ca Don't cry because it's over; smile because it happened. -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From Chester_Kaup at kindermorgan.com Tue Aug 16 16:23:58 2005 From: Chester_Kaup at kindermorgan.com (Kaup, Chester) Date: Tue, 16 Aug 2005 16:23:58 -0500 Subject: [AccessD] Why is function being called?? Message-ID: Below is a piece of code. DaysInMonth is a function. When the code runs and hits the line myds1.Fields(2) = Nz(myds4.Fields(8)) the function runs. I don't see anything that is calling it. Your thoughts appreciated. Do Until myds4.EOF DaysinMonth = DaysInMonth2(myds3.Fields(1)) If Day(myds3.Fields(1)) < DaysinMonth And RecordCounter = 1 Then StartCounter = Day(myds3.Fields(1)) ProdDate = myds3.Fields(1) Else StartCounter = 1 ProdDate = myds4.Fields(1) End If For I = StartCounter To DaysinMonth myds1.AddNew myds1.Fields(0) = ProdDate myds1.Fields(1) = myds4.Fields(0) myds1.Fields(2) = Nz(myds4.Fields(8)) myds1.Update ProdDate = ProdDate + 1 Next I RecordCounter = RecordCounter + 1 myds4.MoveNext Loop Chester Kaup Engineering Technician Kinder Morgan CO2 Company, LLP Office (432) 688-3797 FAX (432) 688-3799 No trees were killed in the sending of this message. However a large number of electrons were terribly inconvenienced. From jwcolby at colbyconsulting.com Tue Aug 16 16:25:58 2005 From: jwcolby at colbyconsulting.com (John W. Colby) Date: Tue, 16 Aug 2005 17:25:58 -0400 Subject: [AccessD] I Need Some Ideas In-Reply-To: <123701F54509D9119A4F00D0B747349016DD4C@main2.marlow.com> Message-ID: <004e01c5a2a9$1bf1a080$6c7aa8c0@ColbyM6805> ROTFLMAO. John W. Colby www.ColbyConsulting.com Contribute your unused CPU cycles to a good cause: http://folding.stanford.edu/ -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of DWUTKA at marlow.com Sent: Tuesday, August 16, 2005 4:00 PM To: accessd at databaseadvisors.com Subject: RE: [AccessD] I Need Some Ideas That's easy, and requires no code or special hardware. Just call up JC, and tell him that you don't think his framework would hand XYZ...and let him prove you wrong. When he has given you proof, thank him, tell him he's stellar, and a god among mortals, and walk away with completed JC Classes. Of course, the same method will work on me too.... Drew -----Original Message----- From: Joe Hecht [mailto:jmhecht at earthlink.net] Sent: Tuesday, August 16, 2005 2:45 PM To: 'Access Developers discussion and problem solving' Subject: RE: [AccessD] I Need Some Ideas Voice command app that would automatically write John Colby Classes and code for you. Joe Hecht Los Angeles CA -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From pedro at plex.nl Tue Aug 16 16:36:04 2005 From: pedro at plex.nl (Pedro Janssen) Date: Tue, 16 Aug 2005 23:36:04 +0200 Subject: [AccessD] checkboxes aren't functioning Message-ID: <00aa01c5a2aa$8221f250$fac581d5@pedro> Hello Group, how is it possible that suddenly on a form in almost al records certain checkboxes are working but in some records they don't function (are greyed out and can't make them "true" or "not true"). Nothing strange happened before. Pedro Janssen From DWUTKA at marlow.com Tue Aug 16 16:36:35 2005 From: DWUTKA at marlow.com (DWUTKA at marlow.com) Date: Tue, 16 Aug 2005 16:36:35 -0500 Subject: [AccessD] I Need Some Ideas Message-ID: <123701F54509D9119A4F00D0B747349016DD50@main2.marlow.com> , I was hoping you were going to get a good chuckle out of that. Personally, I think that is one of the main factors why this list puts out good tips, and is so helpful to people. It's the 'chest pounding' factor. Whether we want to admit it or not, we'll fall all over each other trying to help someone because we want to show off a bit. This is one of the rare parts of our lives where people actually CAN appreciate how brilliant we all our.... ;) I tried explaining a process I was working on involving custom events and classes to a fellow computer geek, and I got the glassy eyed look of complete confusion. So to everyone on the list, we're all geniuses....so pat someone on the back when you can, and get ready to be patted yourself. Yes, to the rest of the world we're a bunch of 'nerds', but wear that label with pride. (a few tattoos and a decent weight training program will keep most of the 'nerd' remarks in check....) ;) Just keep in mind that while we all like to impress with our ideas, genius comes with a lot of prejudice, so the occasional bound/unbound, natural/surrogate key, and naming convention argument are simply a way of maintaining our individuality in the world of massive neuron flux. ;) Drew -----Original Message----- From: John W. Colby [mailto:jwcolby at colbyconsulting.com] Sent: Tuesday, August 16, 2005 4:26 PM To: 'Access Developers discussion and problem solving' Subject: RE: [AccessD] I Need Some Ideas ROTFLMAO. John W. Colby www.ColbyConsulting.com Contribute your unused CPU cycles to a good cause: http://folding.stanford.edu/ -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of DWUTKA at marlow.com Sent: Tuesday, August 16, 2005 4:00 PM To: accessd at databaseadvisors.com Subject: RE: [AccessD] I Need Some Ideas That's easy, and requires no code or special hardware. Just call up JC, and tell him that you don't think his framework would hand XYZ...and let him prove you wrong. When he has given you proof, thank him, tell him he's stellar, and a god among mortals, and walk away with completed JC Classes. Of course, the same method will work on me too.... Drew -----Original Message----- From: Joe Hecht [mailto:jmhecht at earthlink.net] Sent: Tuesday, August 16, 2005 2:45 PM To: 'Access Developers discussion and problem solving' Subject: RE: [AccessD] I Need Some Ideas Voice command app that would automatically write John Colby Classes and code for you. Joe Hecht Los Angeles CA -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd 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 Aug 16 16:54:03 2005 From: cfoust at infostatsystems.com (Charlotte Foust) Date: Tue, 16 Aug 2005 14:54:03 -0700 Subject: [AccessD] checkboxes aren't functioning Message-ID: Not enough information to provide an answer. If the checkboxes are actually disabled on existing records, then I would suspect code behind the form disabling them depending on specific circumstances. Charlotte Foust -----Original Message----- From: Pedro Janssen [mailto:pedro at plex.nl] Sent: Tuesday, August 16, 2005 2:36 PM To: AccessD at databaseadvisors.com Subject: [AccessD] checkboxes aren't functioning Hello Group, how is it possible that suddenly on a form in almost al records certain checkboxes are working but in some records they don't function (are greyed out and can't make them "true" or "not true"). Nothing strange happened before. Pedro Janssen -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From karenr7 at oz.net Tue Aug 16 17:14:16 2005 From: karenr7 at oz.net (Karen Rosenstiel) Date: Tue, 16 Aug 2005 15:14:16 -0700 Subject: [AccessD] WIERD little problem In-Reply-To: <7B1961ED924D1A459E378C9B1BB22B4C0492CC71@natexch.jenkens.com> Message-ID: <200508162214.j7GMEER15199@databaseadvisors.com> I have a simple little scheduling database, front end and back end. I tried to print a report for tomorrow - a simple list - the database crashed. For some strange reason I cannot print the reports I need for tomorrow, although I could print reports for different dates - just not for tomorrow. It closed itself down and tried to compact itself and send a report to MS. At that point, I discovered that one of staff left open the front end with a little popup form from which you can view or print the reports wide open. I got her out of a meeting to shut down her open Access and then deleted the backup copies and the .ldb files. I could compact/repair the BE but not the FE. Has anybody had anything like this happen before? Any suggestions? I need to mention that I can't send the database to anybody for inspection because of confidentiality restrictions (I work in a jail health clinic). Thanks in advance. Regards, Karen Rosenstiel Seattle WA USA From jwcolby at colbyconsulting.com Tue Aug 16 17:26:45 2005 From: jwcolby at colbyconsulting.com (John W. Colby) Date: Tue, 16 Aug 2005 18:26:45 -0400 Subject: [AccessD] I Need Some Ideas In-Reply-To: <123701F54509D9119A4F00D0B747349016DD50@main2.marlow.com> Message-ID: <004f01c5a2b1$961ad860$6c7aa8c0@ColbyM6805> >so the occasional bound/unbound, natural/surrogate key, and naming convention argument are simply a way of maintaining our individuality in the world of massive neuron flux. ;) No, unbound forms and surrogate keys are just superior. ;-0 And of course anyone who doesn't use a naming convention, specifically MY naming convention is... a dolt. John W. Colby www.ColbyConsulting.com Contribute your unused CPU cycles to a good cause: http://folding.stanford.edu/ -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of DWUTKA at marlow.com Sent: Tuesday, August 16, 2005 5:37 PM To: accessd at databaseadvisors.com Subject: RE: [AccessD] I Need Some Ideas , I was hoping you were going to get a good chuckle out of that. Personally, I think that is one of the main factors why this list puts out good tips, and is so helpful to people. It's the 'chest pounding' factor. Whether we want to admit it or not, we'll fall all over each other trying to help someone because we want to show off a bit. This is one of the rare parts of our lives where people actually CAN appreciate how brilliant we all our.... ;) I tried explaining a process I was working on involving custom events and classes to a fellow computer geek, and I got the glassy eyed look of complete confusion. So to everyone on the list, we're all geniuses....so pat someone on the back when you can, and get ready to be patted yourself. Yes, to the rest of the world we're a bunch of 'nerds', but wear that label with pride. (a few tattoos and a decent weight training program will keep most of the 'nerd' remarks in check....) ;) Just keep in mind that while we all like to impress with our ideas, genius comes with a lot of prejudice, so the occasional bound/unbound, natural/surrogate key, and naming convention argument are simply a way of maintaining our individuality in the world of massive neuron flux. ;) Drew -----Original Message----- From: John W. Colby [mailto:jwcolby at colbyconsulting.com] Sent: Tuesday, August 16, 2005 4:26 PM To: 'Access Developers discussion and problem solving' Subject: RE: [AccessD] I Need Some Ideas ROTFLMAO. John W. Colby www.ColbyConsulting.com Contribute your unused CPU cycles to a good cause: http://folding.stanford.edu/ -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of DWUTKA at marlow.com Sent: Tuesday, August 16, 2005 4:00 PM To: accessd at databaseadvisors.com Subject: RE: [AccessD] I Need Some Ideas That's easy, and requires no code or special hardware. Just call up JC, and tell him that you don't think his framework would hand XYZ...and let him prove you wrong. When he has given you proof, thank him, tell him he's stellar, and a god among mortals, and walk away with completed JC Classes. Of course, the same method will work on me too.... Drew -----Original Message----- From: Joe Hecht [mailto:jmhecht at earthlink.net] Sent: Tuesday, August 16, 2005 2:45 PM To: 'Access Developers discussion and problem solving' Subject: RE: [AccessD] I Need Some Ideas Voice command app that would automatically write John Colby Classes and code for you. Joe Hecht Los Angeles CA -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd 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 Tue Aug 16 17:34:36 2005 From: dwaters at usinternet.com (Dan Waters) Date: Tue, 16 Aug 2005 17:34:36 -0500 Subject: [AccessD] I Need Some Ideas In-Reply-To: <2947593.1124231500466.JavaMail.root@sniper15> Message-ID: <000001c5a2b2$b055f970$0300a8c0@danwaters> And one more idea is . . . Create a Database Advisors approved naming convention! JC - Can you publish the 1st draft? Dan Waters -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of John W. Colby Sent: Tuesday, August 16, 2005 5:27 PM To: 'Access Developers discussion and problem solving' Subject: RE: [AccessD] I Need Some Ideas >so the occasional bound/unbound, natural/surrogate key, and naming convention argument are simply a way of maintaining our individuality in the world of massive neuron flux. ;) No, unbound forms and surrogate keys are just superior. ;-0 And of course anyone who doesn't use a naming convention, specifically MY naming convention is... a dolt. John W. Colby www.ColbyConsulting.com Contribute your unused CPU cycles to a good cause: http://folding.stanford.edu/ -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of DWUTKA at marlow.com Sent: Tuesday, August 16, 2005 5:37 PM To: accessd at databaseadvisors.com Subject: RE: [AccessD] I Need Some Ideas , I was hoping you were going to get a good chuckle out of that. Personally, I think that is one of the main factors why this list puts out good tips, and is so helpful to people. It's the 'chest pounding' factor. Whether we want to admit it or not, we'll fall all over each other trying to help someone because we want to show off a bit. This is one of the rare parts of our lives where people actually CAN appreciate how brilliant we all our.... ;) I tried explaining a process I was working on involving custom events and classes to a fellow computer geek, and I got the glassy eyed look of complete confusion. So to everyone on the list, we're all geniuses....so pat someone on the back when you can, and get ready to be patted yourself. Yes, to the rest of the world we're a bunch of 'nerds', but wear that label with pride. (a few tattoos and a decent weight training program will keep most of the 'nerd' remarks in check....) ;) Just keep in mind that while we all like to impress with our ideas, genius comes with a lot of prejudice, so the occasional bound/unbound, natural/surrogate key, and naming convention argument are simply a way of maintaining our individuality in the world of massive neuron flux. ;) Drew -----Original Message----- From: John W. Colby [mailto:jwcolby at colbyconsulting.com] Sent: Tuesday, August 16, 2005 4:26 PM To: 'Access Developers discussion and problem solving' Subject: RE: [AccessD] I Need Some Ideas ROTFLMAO. John W. Colby www.ColbyConsulting.com Contribute your unused CPU cycles to a good cause: http://folding.stanford.edu/ -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of DWUTKA at marlow.com Sent: Tuesday, August 16, 2005 4:00 PM To: accessd at databaseadvisors.com Subject: RE: [AccessD] I Need Some Ideas That's easy, and requires no code or special hardware. Just call up JC, and tell him that you don't think his framework would hand XYZ...and let him prove you wrong. When he has given you proof, thank him, tell him he's stellar, and a god among mortals, and walk away with completed JC Classes. Of course, the same method will work on me too.... Drew -----Original Message----- From: Joe Hecht [mailto:jmhecht at earthlink.net] Sent: Tuesday, August 16, 2005 2:45 PM To: 'Access Developers discussion and problem solving' Subject: RE: [AccessD] I Need Some Ideas Voice command app that would automatically write John Colby Classes and code for you. Joe Hecht Los Angeles CA -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd 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 Aug 16 17:34:17 2005 From: martyconnelly at shaw.ca (MartyConnelly) Date: Tue, 16 Aug 2005 15:34:17 -0700 Subject: [AccessD] Win 2000 R-bot worm out there References: <200508162214.j7GMEER15199@databaseadvisors.com> Message-ID: <430269E9.4050809@shaw.ca> CNN and ABC news reporting a baddy out there shutting down news networks on Win 2000 machines -- Marty Connelly Victoria, B.C. Canada From accessd at shaw.ca Tue Aug 16 17:39:15 2005 From: accessd at shaw.ca (Jim Lawrence) Date: Tue, 16 Aug 2005 15:39:15 -0700 Subject: [AccessD] Ajax and Atlas with XML In-Reply-To: <43024357.8060104@shaw.ca> Message-ID: <0ILC009076XD12@l-daemon> Hi Marty: Just a note the Server page update sample. It initially shows the following line: This is some sample data. It is the default data for this web page. View XML data. .. and when clicking on the link: View XML data .. the line then displays: This is some sample data. It is stored in an XML file and retrieved by JavaScript. .. and that is all. Is there supposed to be more displayed? Jim -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of MartyConnelly Sent: Tuesday, August 16, 2005 12:50 PM To: Access Developers discussion and problem solving Subject: [AccessD] Ajax and Atlas with XML If looking for xml info starter sites. http://www.xml.org http://www.xml.com A vb oriented site was once vbxml.com http://www.topxml.com Try to buy XML books published in last 3 years otherwise you wont get latest in XSLT and XQuery. Old books maybe based on old XSL patterns which might prove confusing. Now here is the latest buzz in XML development with AJAX. In computer programming, AJAX (Asynchronous JavaScript and XML) is a method of building interactive applications for the Web that process user requests immediately.Ajax allows content on Web pages to update immediately when a user performs an action, unlike an HTTP request, during which users must wait for a whole new page to load. For example, a weather forecasting site could display local conditions on one side of the page without delay after a user types in a zip code. Google Map works this way. ATLAS is a downloadable javascript engine Microsoft is supposed to bring out in September at some convention. How difficult is this stuff well it is not rocket science. But an amalgam of 4 or 5 techniques. Ajax combines several programming tools including JavaScript, dynamic HTML (DHTML), Extensible Markup Language (XML), cascading style sheets (CSS), the Document Object Model (DOM), and the Microsoft object, XMLHttpRequest. After that you can use Web Services to grab the xml data. You could modify javascript to VBA too for use in Access. Some sites where you can grab javascript source and examples of Ajax or download them http://www.clearnova.com/ajax/index.html http://developer.apple.com/internet/webcontent/XMLHttpRequestExample/example .html Articles Dynamic HTML and xmlhttpRequest object http://developer.apple.com/internet/webcontent/xmlhttpreq.html Jesse Garrett What is Ajax? (The guy that gave it the name) http://www.adaptivepath.com/publications/essays/archives/000385.php Here is a elementary ajax sample just place the two files on your web server and run with java script enabled through your favourite browser. You can also run from hard disk directly in Netscape 7.0 but IE locally has security stops and uses file: protocol and not http: protocol so wont run correctly without a lot of fiddling with settings. Rather than use a object; might use document.innerhtml to get around for local use. On my server these two files http://www5.brinkster.com/mconnelly/ajax/ajax.html Save this file as UTF-8 not ANSI ajax.html Developing Web Applications with Ajax - Example

Developing Web Applications with Ajax

This page demonstrates the use of Asynchronous Javascript and XML (Ajax) technology to update a web page's content by reading from a remote file dynamically -- no page reloading is required. Note that this operation does not work for users without JavaScript enabled.

This is some sample data. It is the default data for this web page. View XML data.

Save this file below as UTF-8 data.xml This is some sample data. It is stored in an XML file and retrieved by JavaScript. Gustav Brock wrote: >Hi Bryan > >So no job? Or wife?? Is that what you are trying to tell? >On the other hand (for the job option, cannot tell for the wife >option), with your knowledge I would expect it to be easy for you to >find some "new challenges" except, of course, if things are a little >more complicated than they may appear to be ... > >Currently I'm facing some XML work. Haven't done anything with this and >Access and hardly know where to look except browsing this list ... >So an XML cookbook or guide is a suggestion. > >/gustav > > > >>>>carbonnb at sympatico.ca 08/16 3:45 am >>> >>>> >>>> >I have found myself in a situation that gives me an inordinate amount >of free time and I'm looking for some ideas to fill my time. > >I am thinking of something that would make development easier or a >specifc app that would greatly help developers. I need something to >keep my mind active and fingers busy :) > >It can be anything from Access to Word to Excel (Office 2K), even VB >6. > >I'm open to any and all suggestion. And If I can learn something new, >that would be even better. > >Let the flood gates open :-) > > > -- Marty Connelly Victoria, B.C. Canada -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From john at winhaven.net Tue Aug 16 17:48:42 2005 From: john at winhaven.net (John Bartow) Date: Tue, 16 Aug 2005 17:48:42 -0500 Subject: [AccessD] I Need Some Ideas In-Reply-To: <001b01c5a29b$0b6d4bf0$6401a8c0@laptop1> Message-ID: <200508162248.j7GMmgR24777@databaseadvisors.com> LOL! :o))) -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Joe Hecht Voice command app that would automatically write John Colby Classes and code for you. Joe Hecht Los Angeles CA From accessd at shaw.ca Tue Aug 16 17:53:15 2005 From: accessd at shaw.ca (Jim Lawrence) Date: Tue, 16 Aug 2005 15:53:15 -0700 Subject: [AccessD] WIERD little problem In-Reply-To: <200508162214.j7GMEER15199@databaseadvisors.com> Message-ID: <0ILC0058G7KQM8@l-daemon> Hi Karen: Coming at this slightly differently... I worked on a system where if a user stays on a station with no activity for say, 1 hour, the station, unloads the tables, closes the forms and places them back at the application login prompt. (This method was developed at a client's request who got tired of always discovering one of her employees had left the 'Invoicing' application open, running on the station and had gone back into the warehouse or off for lunch.) Would a process like this resolve similar db application issues before they can develop? Jim -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Karen Rosenstiel Sent: Tuesday, August 16, 2005 3:14 PM To: 'Access Developers discussion and problem solving' Subject: [AccessD] WIERD little problem I have a simple little scheduling database, front end and back end. I tried to print a report for tomorrow - a simple list - the database crashed. For some strange reason I cannot print the reports I need for tomorrow, although I could print reports for different dates - just not for tomorrow. It closed itself down and tried to compact itself and send a report to MS. At that point, I discovered that one of staff left open the front end with a little popup form from which you can view or print the reports wide open. I got her out of a meeting to shut down her open Access and then deleted the backup copies and the .ldb files. I could compact/repair the BE but not the FE. Has anybody had anything like this happen before? Any suggestions? I need to mention that I can't send the database to anybody for inspection because of confidentiality restrictions (I work in a jail health clinic). Thanks in advance. Regards, Karen Rosenstiel Seattle WA USA -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From jmhecht at earthlink.net Tue Aug 16 18:11:12 2005 From: jmhecht at earthlink.net (Joe Hecht) Date: Tue, 16 Aug 2005 16:11:12 -0700 Subject: [AccessD] I Need Some Ideas In-Reply-To: <004e01c5a2a9$1bf1a080$6c7aa8c0@ColbyM6805> Message-ID: <000301c5a2b7$d0dc98c0$6401a8c0@laptop1> Well John, Your classes depend on my keyboard skills and ability to explain things. Can you do it? vbg Joe Hecht Los Angeles CA -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of John W. Colby Sent: Tuesday, August 16, 2005 2:26 PM To: access at joe2.endjunk.com; 'Access Developers discussion and problem solving' Subject: RE: [AccessD] I Need Some Ideas ROTFLMAO. John W. Colby www.ColbyConsulting.com Contribute your unused CPU cycles to a good cause: http://folding.stanford.edu/ -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of DWUTKA at marlow.com Sent: Tuesday, August 16, 2005 4:00 PM To: accessd at databaseadvisors.com Subject: RE: [AccessD] I Need Some Ideas That's easy, and requires no code or special hardware. Just call up JC, and tell him that you don't think his framework would hand XYZ...and let him prove you wrong. When he has given you proof, thank him, tell him he's stellar, and a god among mortals, and walk away with completed JC Classes. Of course, the same method will work on me too.... Drew -----Original Message----- From: Joe Hecht [mailto:jmhecht at earthlink.net] Sent: Tuesday, August 16, 2005 2:45 PM To: 'Access Developers discussion and problem solving' Subject: RE: [AccessD] I Need Some Ideas Voice command app that would automatically write John Colby Classes and code for you. Joe Hecht Los Angeles CA -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From karenr7 at oz.net Tue Aug 16 18:21:52 2005 From: karenr7 at oz.net (Karen Rosenstiel) Date: Tue, 16 Aug 2005 16:21:52 -0700 Subject: [AccessD] WIERD little problem In-Reply-To: <0ILC0058G7KQM8@l-daemon> Message-ID: <200508162321.j7GNLmR32551@databaseadvisors.com> Yes, that sounds interesting. It's a small office, and only 5 people would be using this database. I'd like to look at your programming if you could share it. Meanwhile...Why would I not be able to print a report for 1 date and not another. A puzzlement! Regards, Karen Rosenstiel Seattle WA USA -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Jim Lawrence Sent: Tuesday, August 16, 2005 3:53 PM To: 'Access Developers discussion and problem solving' Subject: RE: [AccessD] WIERD little problem Hi Karen: Coming at this slightly differently... I worked on a system where if a user stays on a station with no activity for say, 1 hour, the station, unloads the tables, closes the forms and places them back at the application login prompt. (This method was developed at a client's request who got tired of always discovering one of her employees had left the 'Invoicing' application open, running on the station and had gone back into the warehouse or off for lunch.) Would a process like this resolve similar db application issues before they can develop? Jim -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Karen Rosenstiel Sent: Tuesday, August 16, 2005 3:14 PM To: 'Access Developers discussion and problem solving' Subject: [AccessD] WIERD little problem I have a simple little scheduling database, front end and back end. I tried to print a report for tomorrow - a simple list - the database crashed. For some strange reason I cannot print the reports I need for tomorrow, although I could print reports for different dates - just not for tomorrow. It closed itself down and tried to compact itself and send a report to MS. At that point, I discovered that one of staff left open the front end with a little popup form from which you can view or print the reports wide open. I got her out of a meeting to shut down her open Access and then deleted the backup copies and the .ldb files. I could compact/repair the BE but not the FE. Has anybody had anything like this happen before? Any suggestions? I need to mention that I can't send the database to anybody for inspection because of confidentiality restrictions (I work in a jail health clinic). Thanks in advance. Regards, Karen Rosenstiel Seattle WA USA -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From jwcolby at colbyconsulting.com Tue Aug 16 18:23:16 2005 From: jwcolby at colbyconsulting.com (John W. Colby) Date: Tue, 16 Aug 2005 19:23:16 -0400 Subject: [AccessD] I Need Some Ideas In-Reply-To: <000301c5a2b7$d0dc98c0$6401a8c0@laptop1> Message-ID: <005201c5a2b9$7e409ba0$6c7aa8c0@ColbyM6805> It looks like I am going to be doing a series of lectures for the CT Access Users Group. That should be interesting. I haven't done a lecture since the first AccessD conference at Rocky's house. John W. Colby www.ColbyConsulting.com Contribute your unused CPU cycles to a good cause: http://folding.stanford.edu/ -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Joe Hecht Sent: Tuesday, August 16, 2005 7:11 PM To: 'Access Developers discussion and problem solving' Subject: RE: [AccessD] I Need Some Ideas Well John, Your classes depend on my keyboard skills and ability to explain things. Can you do it? vbg Joe Hecht Los Angeles CA -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of John W. Colby Sent: Tuesday, August 16, 2005 2:26 PM To: access at joe2.endjunk.com; 'Access Developers discussion and problem solving' Subject: RE: [AccessD] I Need Some Ideas ROTFLMAO. John W. Colby www.ColbyConsulting.com Contribute your unused CPU cycles to a good cause: http://folding.stanford.edu/ -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of DWUTKA at marlow.com Sent: Tuesday, August 16, 2005 4:00 PM To: accessd at databaseadvisors.com Subject: RE: [AccessD] I Need Some Ideas That's easy, and requires no code or special hardware. Just call up JC, and tell him that you don't think his framework would hand XYZ...and let him prove you wrong. When he has given you proof, thank him, tell him he's stellar, and a god among mortals, and walk away with completed JC Classes. Of course, the same method will work on me too.... Drew -----Original Message----- From: Joe Hecht [mailto:jmhecht at earthlink.net] Sent: Tuesday, August 16, 2005 2:45 PM To: 'Access Developers discussion and problem solving' Subject: RE: [AccessD] I Need Some Ideas Voice command app that would automatically write John Colby Classes and code for you. Joe Hecht Los Angeles CA -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd 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 pacbell.net Tue Aug 16 18:45:08 2005 From: dmcafee at pacbell.net (David Mcafee) Date: Tue, 16 Aug 2005 16:45:08 -0700 (PDT) Subject: [AccessD] I Need Some Ideas In-Reply-To: <005201c5a2b9$7e409ba0$6c7aa8c0@ColbyM6805> Message-ID: <20050816234508.20273.qmail@web80802.mail.yahoo.com> Speaking of which, isn't it that time again? :) David --- "John W. Colby" wrote: I haven't > done a lecture since > the first AccessD conference at Rocky's house. > > John W. Colby > www.ColbyConsulting.com From martyconnelly at shaw.ca Tue Aug 16 19:10:28 2005 From: martyconnelly at shaw.ca (MartyConnelly) Date: Tue, 16 Aug 2005 17:10:28 -0700 Subject: [AccessD] Ajax and Atlas with XML References: <0ILC009076XD12@l-daemon> Message-ID: <43028074.3090706@shaw.ca> Nope that is it, all there is in the one xml element, no dancing hamsters This site will give you a better idea but more html code needed Click on Drop Downs & Form Handling then click states states http://www.clearnova.com/ajax/index.html Jim Lawrence wrote: >Hi Marty: > >Just a note the Server page update sample. > >It initially shows the following line: This is some sample data. It is the >default data for this web page. View XML data. > >.. and when clicking on the link: View XML data > >.. the line then displays: This is some sample data. It is stored in an XML >file and retrieved by JavaScript. > >.. and that is all. Is there supposed to be more displayed? > >Jim > >-----Original Message----- >From: accessd-bounces at databaseadvisors.com >[mailto:accessd-bounces at databaseadvisors.com] On Behalf Of MartyConnelly >Sent: Tuesday, August 16, 2005 12:50 PM >To: Access Developers discussion and problem solving >Subject: [AccessD] Ajax and Atlas with XML > >If looking for xml info starter sites. > >http://www.xml.org >http://www.xml.com >A vb oriented site was once vbxml.com >http://www.topxml.com > >Try to buy XML books published in last 3 years otherwise >you wont get latest in XSLT and XQuery. Old books maybe based on old >XSL patterns >which might prove confusing. > > >Now here is the latest buzz in XML development with AJAX. > >In computer programming, AJAX (Asynchronous JavaScript and XML) is a >method of building interactive applications for the Web that process >user requests immediately.Ajax allows content on Web pages to update >immediately when a user performs an action, unlike an HTTP request, >during which users must wait for a whole new page to load. For example, >a weather forecasting site could display local conditions on one side of >the page without delay after a user types in a zip code. >Google Map works this way. ATLAS is a downloadable javascript engine >Microsoft is supposed to bring out in September at some convention. > >How difficult is this stuff well it is not rocket science. But an >amalgam of 4 or 5 techniques. Ajax combines several programming tools >including JavaScript, dynamic HTML (DHTML), Extensible Markup Language >(XML), cascading style sheets (CSS), the Document Object Model (DOM), >and the Microsoft object, XMLHttpRequest. After that you can use Web >Services to grab the xml data. You could modify javascript to VBA too >for use in Access. > >Some sites where you can grab javascript source and examples of Ajax or >download them > >http://www.clearnova.com/ajax/index.html >http://developer.apple.com/internet/webcontent/XMLHttpRequestExample/example >.html > >Articles >Dynamic HTML and xmlhttpRequest object >http://developer.apple.com/internet/webcontent/xmlhttpreq.html > >Jesse Garrett What is Ajax? (The guy that gave it the name) >http://www.adaptivepath.com/publications/essays/archives/000385.php > > >Here is a elementary ajax sample just place the two files on your web >server and run with java script enabled >through your favourite browser. > >You can also run from hard disk directly in Netscape 7.0 but IE locally >has security stops and uses file: protocol and not http: protocol so >wont run correctly >without a lot of fiddling with settings. Rather than use a object; >might use document.innerhtml to get around for local use. > >On my server these two files >http://www5.brinkster.com/mconnelly/ajax/ajax.html > >Save this file as UTF-8 not ANSI ajax.html > > "http://www.w3.org/TR/html4/strict.dtd"> > > > > Developing Web Applications with Ajax - Example > > > >

Developing Web Applications with Ajax

>

This page demonstrates the use of Asynchronous Javascript and XML >(Ajax) technology to > update a web page's content by reading from a remote file >dynamically -- no page reloading > is required. Note that this operation does not work for users >without JavaScript enabled.

>

> This is some sample data. It is the default data for this web page. > title="View the XML data." onclick="ajaxRead('data.xml'); >this.style.display='none'; return false">View XML data. >

> > > > > Save this file below as UTF-8 data.xml > > > > > This is some sample data. It is stored in an XML file and retrieved >by JavaScript. > > > > > > >Gustav Brock wrote: > > > >>Hi Bryan >> >>So no job? Or wife?? Is that what you are trying to tell? >>On the other hand (for the job option, cannot tell for the wife >>option), with your knowledge I would expect it to be easy for you to >>find some "new challenges" except, of course, if things are a little >>more complicated than they may appear to be ... >> >>Currently I'm facing some XML work. Haven't done anything with this and >>Access and hardly know where to look except browsing this list ... >>So an XML cookbook or guide is a suggestion. >> >>/gustav >> >> >> >> >> >>>>>carbonnb at sympatico.ca 08/16 3:45 am >>> >>>>> >>>>> >>>>> >>>>> >>I have found myself in a situation that gives me an inordinate amount >>of free time and I'm looking for some ideas to fill my time. >> >>I am thinking of something that would make development easier or a >>specifc app that would greatly help developers. I need something to >>keep my mind active and fingers busy :) >> >>It can be anything from Access to Word to Excel (Office 2K), even VB >>6. >> >>I'm open to any and all suggestion. And If I can learn something new, >>that would be even better. >> >>Let the flood gates open :-) >> >> >> >> >> > > > -- Marty Connelly Victoria, B.C. Canada From accessd at shaw.ca Tue Aug 16 20:45:01 2005 From: accessd at shaw.ca (Jim Lawrence) Date: Tue, 16 Aug 2005 18:45:01 -0700 Subject: [AccessD] Ajax and Atlas with XML In-Reply-To: <43028074.3090706@shaw.ca> Message-ID: <0ILC0076JFIZDV@l-daemon> Marty what do you mean 'No dancing Hamster'! :-( What is your opinion on the AJAX.Net variation on AJAX which seems to be the hottest ticket? Jim -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of MartyConnelly Sent: Tuesday, August 16, 2005 5:10 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Ajax and Atlas with XML Nope that is it, all there is in the one xml element, no dancing hamsters This site will give you a better idea but more html code needed Click on Drop Downs & Form Handling then click states states http://www.clearnova.com/ajax/index.html Jim Lawrence wrote: >Hi Marty: > >Just a note the Server page update sample. > >It initially shows the following line: This is some sample data. It is the >default data for this web page. View XML data. > >.. and when clicking on the link: View XML data > >.. the line then displays: This is some sample data. It is stored in an XML >file and retrieved by JavaScript. > >.. and that is all. Is there supposed to be more displayed? > >Jim > >-----Original Message----- >From: accessd-bounces at databaseadvisors.com >[mailto:accessd-bounces at databaseadvisors.com] On Behalf Of MartyConnelly >Sent: Tuesday, August 16, 2005 12:50 PM >To: Access Developers discussion and problem solving >Subject: [AccessD] Ajax and Atlas with XML > >If looking for xml info starter sites. > >http://www.xml.org >http://www.xml.com >A vb oriented site was once vbxml.com >http://www.topxml.com > >Try to buy XML books published in last 3 years otherwise >you wont get latest in XSLT and XQuery. Old books maybe based on old >XSL patterns >which might prove confusing. > > >Now here is the latest buzz in XML development with AJAX. > >In computer programming, AJAX (Asynchronous JavaScript and XML) is a >method of building interactive applications for the Web that process >user requests immediately.Ajax allows content on Web pages to update >immediately when a user performs an action, unlike an HTTP request, >during which users must wait for a whole new page to load. For example, >a weather forecasting site could display local conditions on one side of >the page without delay after a user types in a zip code. >Google Map works this way. ATLAS is a downloadable javascript engine >Microsoft is supposed to bring out in September at some convention. > >How difficult is this stuff well it is not rocket science. But an >amalgam of 4 or 5 techniques. Ajax combines several programming tools >including JavaScript, dynamic HTML (DHTML), Extensible Markup Language >(XML), cascading style sheets (CSS), the Document Object Model (DOM), >and the Microsoft object, XMLHttpRequest. After that you can use Web >Services to grab the xml data. You could modify javascript to VBA too >for use in Access. > >Some sites where you can grab javascript source and examples of Ajax or >download them > >http://www.clearnova.com/ajax/index.html >http://developer.apple.com/internet/webcontent/XMLHttpRequestExample/exampl e >.html > >Articles >Dynamic HTML and xmlhttpRequest object >http://developer.apple.com/internet/webcontent/xmlhttpreq.html > >Jesse Garrett What is Ajax? (The guy that gave it the name) >http://www.adaptivepath.com/publications/essays/archives/000385.php > > >Here is a elementary ajax sample just place the two files on your web >server and run with java script enabled >through your favourite browser. > >You can also run from hard disk directly in Netscape 7.0 but IE locally >has security stops and uses file: protocol and not http: protocol so >wont run correctly >without a lot of fiddling with settings. Rather than use a object; >might use document.innerhtml to get around for local use. > >On my server these two files >http://www5.brinkster.com/mconnelly/ajax/ajax.html > >Save this file as UTF-8 not ANSI ajax.html > > "http://www.w3.org/TR/html4/strict.dtd"> > > > > Developing Web Applications with Ajax - Example > > > >

Developing Web Applications with Ajax

>

This page demonstrates the use of Asynchronous Javascript and XML >(Ajax) technology to > update a web page's content by reading from a remote file >dynamically -- no page reloading > is required. Note that this operation does not work for users >without JavaScript enabled.

>

> This is some sample data. It is the default data for this web page. > title="View the XML data." onclick="ajaxRead('data.xml'); >this.style.display='none'; return false">View XML data. >

> > > > > Save this file below as UTF-8 data.xml > > > > > This is some sample data. It is stored in an XML file and retrieved >by JavaScript. > > > > > > >Gustav Brock wrote: > > > >>Hi Bryan >> >>So no job? Or wife?? Is that what you are trying to tell? >>On the other hand (for the job option, cannot tell for the wife >>option), with your knowledge I would expect it to be easy for you to >>find some "new challenges" except, of course, if things are a little >>more complicated than they may appear to be ... >> >>Currently I'm facing some XML work. Haven't done anything with this and >>Access and hardly know where to look except browsing this list ... >>So an XML cookbook or guide is a suggestion. >> >>/gustav >> >> >> >> >> >>>>>carbonnb at sympatico.ca 08/16 3:45 am >>> >>>>> >>>>> >>>>> >>>>> >>I have found myself in a situation that gives me an inordinate amount >>of free time and I'm looking for some ideas to fill my time. >> >>I am thinking of something that would make development easier or a >>specifc app that would greatly help developers. I need something to >>keep my mind active and fingers busy :) >> >>It can be anything from Access to Word to Excel (Office 2K), even VB >>6. >> >>I'm open to any and all suggestion. And If I can learn something new, >>that would be even better. >> >>Let the flood gates open :-) >> >> >> >> >> > > > -- Marty Connelly Victoria, B.C. Canada -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From dejpolsys at hotmail.com Tue Aug 16 22:28:00 2005 From: dejpolsys at hotmail.com (William Hindman) Date: Tue, 16 Aug 2005 23:28:00 -0400 Subject: [AccessD] I Need Some Ideas References: <005201c5a2b9$7e409ba0$6c7aa8c0@ColbyM6805> Message-ID: "I haven't done a lecture since the first AccessD conference at Rocky's house." JC ..took the victims this long to recover, eh :) William ----- Original Message ----- From: "John W. Colby" To: "'Access Developers discussion and problem solving'" Sent: Tuesday, August 16, 2005 7:23 PM Subject: RE: [AccessD] I Need Some Ideas > It looks like I am going to be doing a series of lectures for the CT > Access > Users Group. That should be interesting. I haven't done a lecture since > the first AccessD conference at Rocky's house. > > John W. Colby > www.ColbyConsulting.com > > Contribute your unused CPU cycles to a good cause: > http://folding.stanford.edu/ > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Joe Hecht > Sent: Tuesday, August 16, 2005 7:11 PM > To: 'Access Developers discussion and problem solving' > Subject: RE: [AccessD] I Need Some Ideas > > > Well John, > > Your classes depend on my keyboard skills and ability to explain things. > Can > you do it? vbg > > Joe Hecht > Los Angeles CA > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of John W. Colby > Sent: Tuesday, August 16, 2005 2:26 PM > To: access at joe2.endjunk.com; 'Access Developers discussion and problem > solving' > Subject: RE: [AccessD] I Need Some Ideas > > ROTFLMAO. > > John W. Colby > www.ColbyConsulting.com > > Contribute your unused CPU cycles to a good cause: > http://folding.stanford.edu/ > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of > DWUTKA at marlow.com > Sent: Tuesday, August 16, 2005 4:00 PM > To: accessd at databaseadvisors.com > Subject: RE: [AccessD] I Need Some Ideas > > > That's easy, and requires no code or special hardware. Just call up JC, > and > tell him that you don't think his framework would hand XYZ...and let him > prove you wrong. When he has given you proof, thank him, tell him he's > stellar, and a god among mortals, and walk away with completed JC Classes. > > > > Of course, the same method will work on me too.... > > Drew > > -----Original Message----- > From: Joe Hecht [mailto:jmhecht at earthlink.net] > Sent: Tuesday, August 16, 2005 2:45 PM > To: 'Access Developers discussion and problem solving' > Subject: RE: [AccessD] I Need Some Ideas > > > Voice command app that would automatically write John Colby Classes and > code > for you. > > Joe Hecht > Los Angeles CA > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > > > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > > > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > From jwcolby at colbyconsulting.com Tue Aug 16 22:34:19 2005 From: jwcolby at colbyconsulting.com (John W. Colby) Date: Tue, 16 Aug 2005 23:34:19 -0400 Subject: [AccessD] I Need Some Ideas In-Reply-To: Message-ID: <005601c5a2dc$903c1a50$6c7aa8c0@ColbyM6805> LOL, yea, you don't recover from my lectures that easily. ;-) Just kinda numbs the whole body. John W. Colby www.ColbyConsulting.com Contribute your unused CPU cycles to a good cause: http://folding.stanford.edu/ -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of William Hindman Sent: Tuesday, August 16, 2005 11:28 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] I Need Some Ideas "I haven't done a lecture since the first AccessD conference at Rocky's house." JC ..took the victims this long to recover, eh :) William From dejpolsys at hotmail.com Tue Aug 16 22:35:28 2005 From: dejpolsys at hotmail.com (William Hindman) Date: Tue, 16 Aug 2005 23:35:28 -0400 Subject: [AccessD] WIERD little problem References: <200508162321.j7GNLmR32551@databaseadvisors.com> Message-ID: Karen ..have you done a decompile ...ect.? William ----- Original Message ----- From: "Karen Rosenstiel" To: "'Access Developers discussion and problem solving'" Sent: Tuesday, August 16, 2005 7:21 PM Subject: RE: [AccessD] WIERD little problem > Yes, that sounds interesting. It's a small office, and only 5 people would > be using this database. I'd like to look at your programming if you could > share it. > > Meanwhile...Why would I not be able to print a report for 1 date and not > another. A puzzlement! > > Regards, > > Karen Rosenstiel > Seattle WA USA > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Jim Lawrence > Sent: Tuesday, August 16, 2005 3:53 PM > To: 'Access Developers discussion and problem solving' > Subject: RE: [AccessD] WIERD little problem > > Hi Karen: > > Coming at this slightly differently... I worked on a system where if a > user > stays on a station with no activity for say, 1 hour, the station, unloads > the tables, closes the forms and places them back at the application login > prompt. (This method was developed at a client's request who got tired of > always discovering one of her employees had left the 'Invoicing' > application > open, running on the station and had gone back into the warehouse or off > for > lunch.) > > Would a process like this resolve similar db application issues before > they > can develop? > > Jim > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Karen > Rosenstiel > Sent: Tuesday, August 16, 2005 3:14 PM > To: 'Access Developers discussion and problem solving' > Subject: [AccessD] WIERD little problem > > I have a simple little scheduling database, front end and back end. I > tried > to print a report for tomorrow - a simple list - the database crashed. For > some strange reason I cannot print the reports I need for tomorrow, > although > I could print reports for different dates - just not for tomorrow. It > closed > itself down and tried to compact itself and send a report to MS. > > At that point, I discovered that one of staff left open the front end with > a > little popup form from which you can view or print the reports wide open. > I > got her out of a meeting to shut down her open Access and then deleted the > backup copies and the .ldb files. I could compact/repair the BE but not > the > FE. > > Has anybody had anything like this happen before? Any suggestions? I need > to > mention that I can't send the database to anybody for inspection because > of > confidentiality restrictions (I work in a jail health clinic). > > Thanks in advance. > > Regards, > > Karen Rosenstiel > Seattle WA USA > > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > 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 Aug 16 23:59:42 2005 From: martyconnelly at shaw.ca (MartyConnelly) Date: Tue, 16 Aug 2005 21:59:42 -0700 Subject: [AccessD] Ajax and Atlas with XML References: <0ILC0076JFIZDV@l-daemon> Message-ID: <4302C43E.3030505@shaw.ca> I realize Victoria is little out date but this is archived from the net 10 years ago, It is now considered a net classic. The Original Hampster Dance Dance the night away! http://www.hamsterdance.com/classorig.html Haven't looked at .net variation but probably the same basic theme and methods with a bit more class. Jim Lawrence wrote: >Marty what do you mean 'No dancing Hamster'! :-( > >What is your opinion on the AJAX.Net variation on AJAX which seems to be the >hottest ticket? > >Jim > >-----Original Message----- >From: accessd-bounces at databaseadvisors.com >[mailto:accessd-bounces at databaseadvisors.com] On Behalf Of MartyConnelly >Sent: Tuesday, August 16, 2005 5:10 PM >To: Access Developers discussion and problem solving >Subject: Re: [AccessD] Ajax and Atlas with XML > >Nope that is it, all there is in the one xml element, no dancing hamsters > >This site will give you a better idea but more html code needed >Click on > >Drop Downs & Form Handling > >then click states states > >http://www.clearnova.com/ajax/index.html > > >Jim Lawrence wrote: > > > >>Hi Marty: >> >>Just a note the Server page update sample. >> >>It initially shows the following line: This is some sample data. It is the >>default data for this web page. View XML data. >> >>.. and when clicking on the link: View XML data >> >>.. the line then displays: This is some sample data. It is stored in an XML >>file and retrieved by JavaScript. >> >>.. and that is all. Is there supposed to be more displayed? >> >>Jim >> >>-----Original Message----- >>From: accessd-bounces at databaseadvisors.com >>[mailto:accessd-bounces at databaseadvisors.com] On Behalf Of MartyConnelly >>Sent: Tuesday, August 16, 2005 12:50 PM >>To: Access Developers discussion and problem solving >>Subject: [AccessD] Ajax and Atlas with XML >> >>If looking for xml info starter sites. >> >>http://www.xml.org >>http://www.xml.com >>A vb oriented site was once vbxml.com >>http://www.topxml.com >> >>Try to buy XML books published in last 3 years otherwise >>you wont get latest in XSLT and XQuery. Old books maybe based on old >>XSL patterns >>which might prove confusing. >> >> >>Now here is the latest buzz in XML development with AJAX. >> >>In computer programming, AJAX (Asynchronous JavaScript and XML) is a >>method of building interactive applications for the Web that process >>user requests immediately.Ajax allows content on Web pages to update >>immediately when a user performs an action, unlike an HTTP request, >>during which users must wait for a whole new page to load. For example, >>a weather forecasting site could display local conditions on one side of >>the page without delay after a user types in a zip code. >>Google Map works this way. ATLAS is a downloadable javascript engine >>Microsoft is supposed to bring out in September at some convention. >> >>How difficult is this stuff well it is not rocket science. But an >>amalgam of 4 or 5 techniques. Ajax combines several programming tools >>including JavaScript, dynamic HTML (DHTML), Extensible Markup Language >>(XML), cascading style sheets (CSS), the Document Object Model (DOM), >>and the Microsoft object, XMLHttpRequest. After that you can use Web >>Services to grab the xml data. You could modify javascript to VBA too >>for use in Access. >> >>Some sites where you can grab javascript source and examples of Ajax or >>download them >> >>http://www.clearnova.com/ajax/index.html >>http://developer.apple.com/internet/webcontent/XMLHttpRequestExample/exampl >> >> >e > > >>.html >> >>Articles >>Dynamic HTML and xmlhttpRequest object >>http://developer.apple.com/internet/webcontent/xmlhttpreq.html >> >>Jesse Garrett What is Ajax? (The guy that gave it the name) >>http://www.adaptivepath.com/publications/essays/archives/000385.php >> >> >>Here is a elementary ajax sample just place the two files on your web >>server and run with java script enabled >>through your favourite browser. >> >>You can also run from hard disk directly in Netscape 7.0 but IE locally >>has security stops and uses file: protocol and not http: protocol so >>wont run correctly >>without a lot of fiddling with settings. Rather than use a object; >>might use document.innerhtml to get around for local use. >> >>On my server these two files >>http://www5.brinkster.com/mconnelly/ajax/ajax.html >> >>Save this file as UTF-8 not ANSI ajax.html >> >>> "http://www.w3.org/TR/html4/strict.dtd"> >> >> >> > > >> Developing Web Applications with Ajax - Example >> >> >> >>

Developing Web Applications with Ajax

>>

This page demonstrates the use of Asynchronous Javascript and XML >>(Ajax) technology to >> update a web page's content by reading from a remote file >>dynamically -- no page reloading >> is required. Note that this operation does not work for users >>without JavaScript enabled.

>>

>> This is some sample data. It is the default data for this web page. >>> title="View the XML data." onclick="ajaxRead('data.xml'); >>this.style.display='none'; return false">View XML data. >>

>> >> >> >> >>Save this file below as UTF-8 data.xml >> >> >> >> >> This is some sample data. It is stored in an XML file and retrieved >>by JavaScript. >> >> >> >> >> >> >>Gustav Brock wrote: >> >> >> >> >> >>>Hi Bryan >>> >>>So no job? Or wife?? Is that what you are trying to tell? >>>On the other hand (for the job option, cannot tell for the wife >>>option), with your knowledge I would expect it to be easy for you to >>>find some "new challenges" except, of course, if things are a little >>>more complicated than they may appear to be ... >>> >>>Currently I'm facing some XML work. Haven't done anything with this and >>>Access and hardly know where to look except browsing this list ... >>>So an XML cookbook or guide is a suggestion. >>> >>>/gustav >>> >>> >>> >>> >>> >>> >>> >>>>>>carbonnb at sympatico.ca 08/16 3:45 am >>> >>>>>> >>>>>> >>>>>> >>>>>> >>>>>> >>>>>> >>>I have found myself in a situation that gives me an inordinate amount >>>of free time and I'm looking for some ideas to fill my time. >>> >>>I am thinking of something that would make development easier or a >>>specifc app that would greatly help developers. I need something to >>>keep my mind active and fingers busy :) >>> >>>It can be anything from Access to Word to Excel (Office 2K), even VB >>>6. >>> >>>I'm open to any and all suggestion. And If I can learn something new, >>>that would be even better. >>> >>>Let the flood gates open :-) >>> >>> >>> >>> >>> >>> >>> >> >> >> >> > > > -- Marty Connelly Victoria, B.C. Canada From adtp at touchtelindia.net Wed Aug 17 00:15:23 2005 From: adtp at touchtelindia.net (A.D.Tejpal) Date: Wed, 17 Aug 2005 10:45:23 +0530 Subject: [AccessD] New Record Appearing on Top References: Message-ID: <013001c5a2ea$dc87a010$071865cb@winxp> Julie, It so happens that the point raised by Charlotte has already been taken care of in my sample db (AddDataAtTop) mentioned in my earlier post dated 16-Aug-2005. For the ongoing session, recently added records are highlighted suitably and continue to be in view at the top. As and when a new session is taken up (on re-opening the switchboard form), all existing records get re-positioned in prescribed sort order. Best wishes, A.D.Tejpal -------------- ----- Original Message ----- From: Julie Reardon-Taylor To: accessd at databaseadvisors.com Sent: Tuesday, August 16, 2005 22:01 Subject: RE: [AccessD] New Record Appearing on Top Good point Charlotte. I don't really like it either.....and certainly have given the client what they want, only to have to turn around and "re-do" what they thought was a great thing. Thank you for your thoughts. Julie Reardon-Taylor PRO-SOFT OF NY, INC. 44 Public Square Suite #5 Watertown, NY 13601 Phone/Fax: (315) 785-0319 www.pro-soft.net ----- Original Message ----- From: Charlotte Foust To: Access Developers discussion and problem solving Sent: Tuesday, August 16, 2005 21:09 Subject: RE: [AccessD] New Record Appearing on Top Others have given you chapter and verse on approaches to this, so let me ask you a question: Is the client going to be happy with the new rows falling to the bottom of the list after they're added "at the top"? Depending on the default sort for the form/subform, that row just added at the top may disappear entirely from the visible records. That is something clients frequently overlook when asking for a feature like this, and it needs to be discussed before you go to a lot of effort to provide something they're going to decide they don't like. Charlotte Foust From martyconnelly at shaw.ca Wed Aug 17 00:54:10 2005 From: martyconnelly at shaw.ca (MartyConnelly) Date: Tue, 16 Aug 2005 22:54:10 -0700 Subject: [AccessD] Ajax and Atlas with XML References: <0ILC0076JFIZDV@l-daemon> <4302C43E.3030505@shaw.ca> Message-ID: <4302D102.80607@shaw.ca> I have seen variations of Ajax.Net on Source Forge and this one where the C# source was recently released I think they are all still in Alpha even MS is yet to release their javascript engine. http://ajax.schwarz-interactive.de/csharpsample/default.aspx MartyConnelly wrote: > I realize Victoria is little out date but this is archived from the > net 10 years ago, > It is now considered a net classic. The Original Hampster Dance > Dance the night away! > > http://www.hamsterdance.com/classorig.html > > Haven't looked at .net variation but probably the same basic theme and > methods with a bit more class. > > Jim Lawrence wrote: > >> Marty what do you mean 'No dancing Hamster'! :-( >> >> What is your opinion on the AJAX.Net variation on AJAX which seems to >> be the >> hottest ticket? >> >> Jim >> >> -----Original Message----- >> From: accessd-bounces at databaseadvisors.com >> [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of MartyConnelly >> Sent: Tuesday, August 16, 2005 5:10 PM >> To: Access Developers discussion and problem solving >> Subject: Re: [AccessD] Ajax and Atlas with XML >> >> Nope that is it, all there is in the one xml element, no dancing >> hamsters >> >> This site will give you a better idea but more html code needed >> Click on >> Drop Downs & Form Handling >> >> then click states states >> >> http://www.clearnova.com/ajax/index.html >> >> >> Jim Lawrence wrote: >> >> >> >>> Hi Marty: >>> >>> Just a note the Server page update sample. >>> It initially shows the following line: This is some sample data. It >>> is the >>> default data for this web page. View XML data. >>> >>> .. and when clicking on the link: View XML data >>> >>> .. the line then displays: This is some sample data. It is stored in >>> an XML >>> file and retrieved by JavaScript. >>> >>> .. and that is all. Is there supposed to be more displayed? >>> >>> Jim >>> >>> -----Original Message----- >>> From: accessd-bounces at databaseadvisors.com >>> [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of >>> MartyConnelly >>> Sent: Tuesday, August 16, 2005 12:50 PM >>> To: Access Developers discussion and problem solving >>> Subject: [AccessD] Ajax and Atlas with XML >>> >>> If looking for xml info starter sites. >>> >>> http://www.xml.org >>> http://www.xml.com >>> A vb oriented site was once vbxml.com >>> http://www.topxml.com >>> >>> Try to buy XML books published in last 3 years otherwise >>> you wont get latest in XSLT and XQuery. Old books maybe based on >>> old XSL patterns >>> which might prove confusing. >>> >>> >>> Now here is the latest buzz in XML development with AJAX. >>> >>> In computer programming, AJAX (Asynchronous JavaScript and XML) is a >>> method of building interactive applications for the Web that process >>> user requests immediately.Ajax allows content on Web pages to update >>> immediately when a user performs an action, unlike an HTTP request, >>> during which users must wait for a whole new page to load. For >>> example, a weather forecasting site could display local conditions >>> on one side of the page without delay after a user types in a zip code. >>> Google Map works this way. ATLAS is a downloadable javascript engine >>> Microsoft is supposed to bring out in September at some convention. >>> >>> How difficult is this stuff well it is not rocket science. But an >>> amalgam of 4 or 5 techniques. Ajax combines several programming >>> tools including JavaScript, dynamic HTML (DHTML), Extensible Markup >>> Language (XML), cascading style sheets (CSS), the Document Object >>> Model (DOM), and the Microsoft object, XMLHttpRequest. After that >>> you can use Web Services to grab the xml data. You could modify >>> javascript to VBA too for use in Access. >>> >>> Some sites where you can grab javascript source and examples of >>> Ajax or download them >>> >>> http://www.clearnova.com/ajax/index.html >>> http://developer.apple.com/internet/webcontent/XMLHttpRequestExample/exampl >>> >>> >> >> e >> >> >>> .html >>> >>> Articles >>> Dynamic HTML and xmlhttpRequest object >>> http://developer.apple.com/internet/webcontent/xmlhttpreq.html >>> >>> Jesse Garrett What is Ajax? (The guy that gave it the name) >>> http://www.adaptivepath.com/publications/essays/archives/000385.php >>> >>> >>> Here is a elementary ajax sample just place the two files on your >>> web server and run with java script enabled >>> through your favourite browser. >>> >>> You can also run from hard disk directly in Netscape 7.0 but IE >>> locally has security stops and uses file: protocol and not http: >>> protocol so wont run correctly >>> without a lot of fiddling with settings. Rather than use a object; >>> might use document.innerhtml to get around for local use. >>> >>> On my server these two files >>> http://www5.brinkster.com/mconnelly/ajax/ajax.html >>> >>> Save this file as UTF-8 not ANSI ajax.html >>> >>> >> "http://www.w3.org/TR/html4/strict.dtd"> >>> >>> >>> >> >> >>> Developing Web Applications with Ajax - Example >>> >>> >>> >>>

Developing Web Applications with Ajax

>>>

This page demonstrates the use of Asynchronous Javascript and >>> XML (Ajax) technology to >>> update a web page's content by reading from a remote file >>> dynamically -- no page reloading >>> is required. Note that this operation does not work for users >>> without JavaScript enabled.

>>>

>>> This is some sample data. It is the default data for this web >>> page. >> title="View the XML data." onclick="ajaxRead('data.xml'); >>> this.style.display='none'; return false">View XML data. >>>

>>> >>> >>> >>> >>> Save this file below as UTF-8 data.xml >>> >>> >>> >>> >>> This is some sample data. It is stored in an XML file and >>> retrieved by JavaScript. >>> >>> >>> >>> >>> >>> >>> Gustav Brock wrote: >>> >>> >>> >>> >>> >>>> Hi Bryan >>>> >>>> So no job? Or wife?? Is that what you are trying to tell? >>>> On the other hand (for the job option, cannot tell for the wife >>>> option), with your knowledge I would expect it to be easy for you to >>>> find some "new challenges" except, of course, if things are a little >>>> more complicated than they may appear to be ... >>>> >>>> Currently I'm facing some XML work. Haven't done anything with this >>>> and >>>> Access and hardly know where to look except browsing this list ... >>>> So an XML cookbook or guide is a suggestion. >>>> >>>> /gustav >>>> >>>> >>>> >>>> >>>> >>>> >>>>>>> carbonnb at sympatico.ca 08/16 3:45 am >>> >>>>>>> >>>>>>> >>>>>>> >>>>>> >>>> I have found myself in a situation that gives me an inordinate >>>> amount of free time and I'm looking for some ideas to fill my time. >>>> >>>> I am thinking of something that would make development easier or a >>>> specifc app that would greatly help developers. I need something to >>>> keep my mind active and fingers busy :) >>>> >>>> It can be anything from Access to Word to Excel (Office 2K), even >>>> VB 6. >>>> >>>> I'm open to any and all suggestion. And If I can learn something >>>> new, that would be even better. >>>> >>>> Let the flood gates open :-) >>>> >>>> >>>> >>>> >>>> >>> >>> >>> >>> >> >> >> >> > -- Marty Connelly Victoria, B.C. Canada From pedro at plex.nl Wed Aug 17 08:57:39 2005 From: pedro at plex.nl (pedro at plex.nl) Date: Wed, 17 Aug 2005 08:57:39 (MET DST) Subject: [AccessD] checkboxes aren't functioning Message-ID: <200508170700.j7H6vdja016582@mailhostC.plex.net> Hi, There isn't a code behind the form where the checkboxes are involved in it. This form has worked a year without any problems. Now suddenly the checkboxes are giving troubles. Could the database (front-end or back-end) be corrupt? Pedro Janssen In antwoord op: > From: "Charlotte Foust" > To: "Access Developers discussion and problem solving" > Date: Tue, 16 Aug 2005 14:54:03 -0700 > Subject: RE: [AccessD] checkboxes aren't functioning > > > Not enough information to provide an answer. If the checkboxes are > actually disabled on existing records, then I would suspect code behind > the form disabling them depending on specific circumstances. > > Charlotte Foust > > > -----Original Message----- > From: Pedro Janssen [mailto:pedro at plex.nl] > Sent: Tuesday, August 16, 2005 2:36 PM > To: AccessD at databaseadvisors.com > Subject: [AccessD] checkboxes aren't functioning > > > Hello Group, > > how is it possible that suddenly on a form in almost al records certain > checkboxes are working but in some records they don't function (are > greyed out and can't make them "true" or "not true"). Nothing strange > happened before. > > Pedro Janssen > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > > From pedro at plex.nl Wed Aug 17 08:58:52 2005 From: pedro at plex.nl (pedro at plex.nl) Date: Wed, 17 Aug 2005 08:58:52 (MET DST) Subject: [AccessD] checkboxes aren't functioning Message-ID: <200508170701.j7H6wqPo016629@mailhostC.plex.net> Hi, There isn't a code behind the form where the checkboxes are involved in it. This form has worked a year without any problems. Now suddenly the checkboxes are giving troubles. Could the database (front-end or back-end) be corrupt? Pedro Janssen In antwoord op: > From: "Charlotte Foust" > To: "Access Developers discussion and problem solving" > Date: Tue, 16 Aug 2005 14:54:03 -0700 > Subject: RE: [AccessD] checkboxes aren't functioning > > > Not enough information to provide an answer. If the checkboxes are > actually disabled on existing records, then I would suspect code behind > the form disabling them depending on specific circumstances. > > Charlotte Foust > > > -----Original Message----- > From: Pedro Janssen [mailto:pedro at plex.nl] > Sent: Tuesday, August 16, 2005 2:36 PM > To: AccessD at databaseadvisors.com > Subject: [AccessD] checkboxes aren't functioning > > > Hello Group, > > how is it possible that suddenly on a form in almost al records certain > checkboxes are working but in some records they don't function (are > greyed out and can't make them "true" or "not true"). Nothing strange > happened before. > > Pedro Janssen > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > > From pedro at plex.nl Wed Aug 17 08:59:08 2005 From: pedro at plex.nl (pedro at plex.nl) Date: Wed, 17 Aug 2005 08:59:08 (MET DST) Subject: [AccessD] checkboxes aren't functioning Message-ID: <200508170700.j7H6x84l016673@mailhostC.plex.net> Hi, There isn't a code behind the form where the checkboxes are involved in it. This form has worked a year without any problems. Now suddenly the checkboxes are giving troubles. Could the database (front-end or back-end) be corrupt? Pedro Janssen In antwoord op: > From: "Charlotte Foust" > To: "Access Developers discussion and problem solving" > Date: Tue, 16 Aug 2005 14:54:03 -0700 > Subject: RE: [AccessD] checkboxes aren't functioning > > > Not enough information to provide an answer. If the checkboxes are > actually disabled on existing records, then I would suspect code behind > the form disabling them depending on specific circumstances. > > Charlotte Foust > > > -----Original Message----- > From: Pedro Janssen [mailto:pedro at plex.nl] > Sent: Tuesday, August 16, 2005 2:36 PM > To: AccessD at databaseadvisors.com > Subject: [AccessD] checkboxes aren't functioning > > > Hello Group, > > how is it possible that suddenly on a form in almost al records certain > checkboxes are working but in some records they don't function (are > greyed out and can't make them "true" or "not true"). Nothing strange > happened before. > > Pedro Janssen > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > 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 Wed Aug 17 05:18:23 2005 From: andy at minstersystems.co.uk (Andy Lacey) Date: Wed, 17 Aug 2005 11:18:23 +0100 Subject: [AccessD] checkboxes aren't functioning Message-ID: <20050817101821.3D41525093E@smtp.nildram.co.uk> Not sure why we got your last post 3 times Pedro, but I should think there's a fair chance of a corruption, more likely of the BE given your description. I'd certainly try repairing (and probably compacting) the BE before you look further. -- Andy Lacey http://www.minstersystems.co.uk --------- Original Message -------- From: "Access Developers discussion and problem solving" To: "AccessD at databaseadvisors.com" Subject: RE: [AccessD] checkboxes aren't functioning Date: 17/08/05 08:29 Hi, There isn't a code behind the form where the checkboxes are involved in it. This form has worked a year without any problems. Now suddenly the checkboxes are giving troubles. Could the database (front-end or back-end) be corrupt? Pedro Janssen In antwoord op: > From: "Charlotte Foust" > To: "Access Developers discussion and problem solving" > Date: Tue, 16 Aug 2005 14:54:03 -0700 > Subject: RE: [AccessD] checkboxes aren't functioning > > > Not enough information to provide an answer. If the checkboxes are > actually disabled on existing records, then I would suspect code behind > the form disabling them depending on specific circumstances. > > Charlotte Foust > > > -----Original Message----- > From: Pedro Janssen [mailto:pedro at plex.nl] > Sent: Tuesday, August 16, 2005 2:36 PM > To: AccessD at databaseadvisors.com > Subject: [AccessD] checkboxes aren't functioning > > > Hello Group, > > how is it possible that suddenly on a form in almost al records certain > checkboxes are working but in some records they don't function (are > greyed out and can't make them "true" or "not true"). Nothing strange > happened before. > > Pedro Janssen > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > > -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com ________________________________________________ Message sent using UebiMiau 2.7.2 From Gustav at cactus.dk Wed Aug 17 06:05:41 2005 From: Gustav at cactus.dk (Gustav Brock) Date: Wed, 17 Aug 2005 13:05:41 +0200 Subject: [AccessD] Ajax and Atlas with XML Message-ID: Hi Marty Thanks! Great links. /gustav >>> martyconnelly at shaw.ca 08/16 9:49 pm >>> If looking for xml info starter sites. http://www.xml.org http://www.xml.com A vb oriented site was once vbxml.com http://www.topxml.com Try to buy XML books published in last 3 years otherwise you wont get latest in XSLT and XQuery. Old books maybe based on old XSL patterns which might prove confusing. Now here is the latest buzz in XML development with AJAX. In computer programming, AJAX (Asynchronous JavaScript and XML) is a method of building interactive applications for the Web that process user requests immediately.Ajax allows content on Web pages to update immediately when a user performs an action, unlike an HTTP request, during which users must wait for a whole new page to load. For example, a weather forecasting site could display local conditions on one side of the page without delay after a user types in a zip code. Google Map works this way. ATLAS is a downloadable javascript engine Microsoft is supposed to bring out in September at some convention. How difficult is this stuff well it is not rocket science. But an amalgam of 4 or 5 techniques. Ajax combines several programming tools including JavaScript, dynamic HTML (DHTML), Extensible Markup Language (XML), cascading style sheets (CSS), the Document Object Model (DOM), and the Microsoft object, XMLHttpRequest. After that you can use Web Services to grab the xml data. You could modify javascript to VBA too for use in Access. Some sites where you can grab javascript source and examples of Ajax or download them http://www.clearnova.com/ajax/index.html http://developer.apple.com/internet/webcontent/XMLHttpRequestExample/example.html Articles Dynamic HTML and xmlhttpRequest object http://developer.apple.com/internet/webcontent/xmlhttpreq.html Jesse Garrett What is Ajax? (The guy that gave it the name) http://www.adaptivepath.com/publications/essays/archives/000385.php From bheid at appdevgrp.com Wed Aug 17 06:51:11 2005 From: bheid at appdevgrp.com (Bobby Heid) Date: Wed, 17 Aug 2005 07:51:11 -0400 Subject: [AccessD] Why is function being called?? In-Reply-To: <916187228923D311A6FE00A0CC3FAA30C5E2E7@ADGSERVER> Message-ID: <916187228923D311A6FE00A0CC3FAA30ABEE57@ADGSERVER> I don't understand. You are saying that DaysInMonth is a function. Yet your code has: DaysinMonth = DaysInMonth2(myds3.Fields(1)) By this, DaysInMonth2 is the function. How is DaysInMonth declared? Bobby -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Kaup, Chester Sent: Tuesday, August 16, 2005 5:24 PM To: Access Developers discussion and problem solving Subject: [AccessD] Why is function being called?? Below is a piece of code. DaysInMonth is a function. When the code runs and hits the line myds1.Fields(2) = Nz(myds4.Fields(8)) the function runs. I don't see anything that is calling it. Your thoughts appreciated. Do Until myds4.EOF DaysinMonth = DaysInMonth2(myds3.Fields(1)) If Day(myds3.Fields(1)) < DaysinMonth And RecordCounter = 1 Then StartCounter = Day(myds3.Fields(1)) ProdDate = myds3.Fields(1) Else StartCounter = 1 ProdDate = myds4.Fields(1) End If For I = StartCounter To DaysinMonth myds1.AddNew myds1.Fields(0) = ProdDate myds1.Fields(1) = myds4.Fields(0) myds1.Fields(2) = Nz(myds4.Fields(8)) myds1.Update ProdDate = ProdDate + 1 Next I RecordCounter = RecordCounter + 1 myds4.MoveNext Loop Chester Kaup From Chester_Kaup at kindermorgan.com Wed Aug 17 07:11:59 2005 From: Chester_Kaup at kindermorgan.com (Kaup, Chester) Date: Wed, 17 Aug 2005 07:11:59 -0500 Subject: [AccessD] Why is function being called?? Message-ID: My mistake DaysInMonth2 is a function. It is declared as an integer. Thanks for looking. -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Bobby Heid Sent: Wednesday, August 17, 2005 6:51 AM To: 'Access Developers discussion and problem solving' Subject: RE: [AccessD] Why is function being called?? I don't understand. You are saying that DaysInMonth is a function. Yet your code has: DaysinMonth = DaysInMonth2(myds3.Fields(1)) By this, DaysInMonth2 is the function. How is DaysInMonth declared? Bobby -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Kaup, Chester Sent: Tuesday, August 16, 2005 5:24 PM To: Access Developers discussion and problem solving Subject: [AccessD] Why is function being called?? Below is a piece of code. DaysInMonth is a function. When the code runs and hits the line myds1.Fields(2) = Nz(myds4.Fields(8)) the function runs. I don't see anything that is calling it. Your thoughts appreciated. Do Until myds4.EOF DaysinMonth = DaysInMonth2(myds3.Fields(1)) If Day(myds3.Fields(1)) < DaysinMonth And RecordCounter = 1 Then StartCounter = Day(myds3.Fields(1)) ProdDate = myds3.Fields(1) Else StartCounter = 1 ProdDate = myds4.Fields(1) End If For I = StartCounter To DaysinMonth myds1.AddNew myds1.Fields(0) = ProdDate myds1.Fields(1) = myds4.Fields(0) myds1.Fields(2) = Nz(myds4.Fields(8)) myds1.Update ProdDate = ProdDate + 1 Next I RecordCounter = RecordCounter + 1 myds4.MoveNext Loop Chester Kaup -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From ssharkins at bellsouth.net Wed Aug 17 07:44:11 2005 From: ssharkins at bellsouth.net (Susan Harkins) Date: Wed, 17 Aug 2005 08:44:11 -0400 Subject: [AccessD] checkboxes aren't functioning In-Reply-To: <00aa01c5a2aa$8221f250$fac581d5@pedro> Message-ID: <20050817124430.HRTS24175.ibm69aec.bellsouth.net@SUSANONE> Checkboxes have a tri-state, on, off, and Null. You might want to check that -- perhaps someone accidentally changed it? Although, if I'm not mistaken, even if the control is Null, you should still be able to change it. Susan H. how is it possible that suddenly on a form in almost al records certain checkboxes are working but in some records they don't function (are greyed out and can't make them "true" or "not true"). Nothing strange happened before. From jwcolby at colbyconsulting.com Wed Aug 17 07:51:34 2005 From: jwcolby at colbyconsulting.com (John W. Colby) Date: Wed, 17 Aug 2005 08:51:34 -0400 Subject: [AccessD] checkboxes aren't functioning In-Reply-To: <20050817124430.HRTS24175.ibm69aec.bellsouth.net@SUSANONE> Message-ID: <00b101c5a32a$6628a1e0$6c7aa8c0@ColbyM6805> However what if it is bound to a non-boolean field. For example it is bound to an integer, the integer can contain 0 and -1 (and null) so it looks like it works just fine. But what happens if the field gets set to something other than null, 0 or -1? Note I have never tested this, just throwing it out.... John W. Colby www.ColbyConsulting.com Contribute your unused CPU cycles to a good cause: http://folding.stanford.edu/ -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Susan Harkins Sent: Wednesday, August 17, 2005 8:44 AM To: 'Access Developers discussion and problem solving' Subject: RE: [AccessD] checkboxes aren't functioning Checkboxes have a tri-state, on, off, and Null. You might want to check that -- perhaps someone accidentally changed it? Although, if I'm not mistaken, even if the control is Null, you should still be able to change it. Susan H. how is it possible that suddenly on a form in almost al records certain checkboxes are working but in some records they don't function (are greyed out and can't make them "true" or "not true"). Nothing strange happened before. -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From prosoft6 at hotmail.com Wed Aug 17 07:57:42 2005 From: prosoft6 at hotmail.com (Julie Reardon-Taylor) Date: Wed, 17 Aug 2005 08:57:42 -0400 Subject: [AccessD] I Need Some Ideas In-Reply-To: <001c01c5a29b$4bb39ca0$6401a8c0@laptop1> Message-ID: No. The company is in NY. The salaries range from $37,000 to $65,000. Julie Reardon-Taylor PRO-SOFT OF NY, INC. 44 Public Square Suite #5 Watertown, NY 13601 Phone/Fax: (315) 785-0319 www.pro-soft.net From Chester_Kaup at kindermorgan.com Wed Aug 17 07:59:37 2005 From: Chester_Kaup at kindermorgan.com (Kaup, Chester) Date: Wed, 17 Aug 2005 07:59:37 -0500 Subject: FW: [AccessD] Why is function being called?? Message-ID: Problem resolved. Myds4 is the result of a select query that uses the DaysInMonth2 function. Might speed things up if the query was a make table and DaysInMonth2 would not have to recalculate all the time. -----Original Message----- From: Kaup, Chester Sent: Wednesday, August 17, 2005 7:11 AM To: 'Access Developers discussion and problem solving' Subject: RE: [AccessD] Why is function being called?? My mistake DaysInMonth2 is a function. It is declared as an integer. Thanks for looking. -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Bobby Heid Sent: Wednesday, August 17, 2005 6:51 AM To: 'Access Developers discussion and problem solving' Subject: RE: [AccessD] Why is function being called?? I don't understand. You are saying that DaysInMonth is a function. Yet your code has: DaysinMonth = DaysInMonth2(myds3.Fields(1)) By this, DaysInMonth2 is the function. How is DaysInMonth declared? Bobby -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Kaup, Chester Sent: Tuesday, August 16, 2005 5:24 PM To: Access Developers discussion and problem solving Subject: [AccessD] Why is function being called?? Below is a piece of code. DaysInMonth is a function. When the code runs and hits the line myds1.Fields(2) = Nz(myds4.Fields(8)) the function runs. I don't see anything that is calling it. Your thoughts appreciated. Do Until myds4.EOF DaysinMonth = DaysInMonth2(myds3.Fields(1)) If Day(myds3.Fields(1)) < DaysinMonth And RecordCounter = 1 Then StartCounter = Day(myds3.Fields(1)) ProdDate = myds3.Fields(1) Else StartCounter = 1 ProdDate = myds4.Fields(1) End If For I = StartCounter To DaysinMonth myds1.AddNew myds1.Fields(0) = ProdDate myds1.Fields(1) = myds4.Fields(0) myds1.Fields(2) = Nz(myds4.Fields(8)) myds1.Update ProdDate = ProdDate + 1 Next I RecordCounter = RecordCounter + 1 myds4.MoveNext Loop Chester Kaup -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From bheid at appdevgrp.com Wed Aug 17 08:02:53 2005 From: bheid at appdevgrp.com (Bobby Heid) Date: Wed, 17 Aug 2005 09:02:53 -0400 Subject: [AccessD] Why is function being called?? In-Reply-To: <916187228923D311A6FE00A0CC3FAA30C5E38D@ADGSERVER> Message-ID: <916187228923D311A6FE00A0CC3FAA30ABEE58@ADGSERVER> I figured so, I was just making sure. So you are saying that DaysInMonth2 is being called when you execute the line myds1.Fields(2) = Nz(myds4.Fields(8)) If so, the only thing that I can think of that might cause this is some sort of corruption in the FE. Have you tried a decompile/compile or importing the FE into a new FE? Bobby -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Kaup, Chester Sent: Wednesday, August 17, 2005 8:12 AM To: Access Developers discussion and problem solving Subject: RE: [AccessD] Why is function being called?? My mistake DaysInMonth2 is a function. It is declared as an integer. Thanks for looking. -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Bobby Heid Sent: Wednesday, August 17, 2005 6:51 AM To: 'Access Developers discussion and problem solving' Subject: RE: [AccessD] Why is function being called?? I don't understand. You are saying that DaysInMonth is a function. Yet your code has: DaysinMonth = DaysInMonth2(myds3.Fields(1)) By this, DaysInMonth2 is the function. How is DaysInMonth declared? Bobby -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Kaup, Chester Sent: Tuesday, August 16, 2005 5:24 PM To: Access Developers discussion and problem solving Subject: [AccessD] Why is function being called?? Below is a piece of code. DaysInMonth is a function. When the code runs and hits the line myds1.Fields(2) = Nz(myds4.Fields(8)) the function runs. I don't see anything that is calling it. Your thoughts appreciated. Do Until myds4.EOF DaysinMonth = DaysInMonth2(myds3.Fields(1)) If Day(myds3.Fields(1)) < DaysinMonth And RecordCounter = 1 Then StartCounter = Day(myds3.Fields(1)) ProdDate = myds3.Fields(1) Else StartCounter = 1 ProdDate = myds4.Fields(1) End If For I = StartCounter To DaysinMonth myds1.AddNew myds1.Fields(0) = ProdDate myds1.Fields(1) = myds4.Fields(0) myds1.Fields(2) = Nz(myds4.Fields(8)) myds1.Update ProdDate = ProdDate + 1 Next I RecordCounter = RecordCounter + 1 myds4.MoveNext Loop Chester Kaup From jimdettman at earthlink.net Wed Aug 17 08:10:00 2005 From: jimdettman at earthlink.net (Jim Dettman) Date: Wed, 17 Aug 2005 09:10:00 -0400 Subject: [AccessD] Bug Report In-Reply-To: <004201c5a259$b0d252d0$6c7aa8c0@ColbyM6805> Message-ID: John, OK. Just wanted to make sure I was understanding correctly. Jim. -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of John W. Colby Sent: Tuesday, August 16, 2005 7:58 AM To: 'Access Developers discussion and problem solving' Subject: RE: [AccessD] Bug Report Oh, sorry. I was discussing my particular bug, not the "breakpoint" case. /decompile definitely has always solved the cases I've seen of the "breakpoint" issue. And I see it quite often. John W. Colby www.ColbyConsulting.com Contribute your unused CPU cycles to a good cause: http://folding.stanford.edu/ -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Jim Dettman Sent: Tuesday, August 16, 2005 7:31 AM To: Access Developers discussion and problem solving Subject: RE: [AccessD] Bug Report John, I thought you said the other day that this didn't work for you? "Yea, I've seen this too. Breaks even though the breakbpoint was removed. I think it is the same issue, i.e. "invisible stuff" in the source code that is not properly stripped out. Unfortunately /decompile does not help in this case. All that /decompile does is throw out the pcode stream forcing a recompile of the entire source code stream. If the source stream is bad then the next compile will just recreate the bad pcode." Jim. -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of John W. Colby Sent: Tuesday, August 16, 2005 7:17 AM To: 'Access Developers discussion and problem solving' Subject: RE: [AccessD] Bug Report A /decompile / compile / compact / repair has always fixed it for me. John W. Colby www.ColbyConsulting.com Contribute your unused CPU cycles to a good cause: http://folding.stanford.edu/ -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Jim Dettman Sent: Tuesday, August 16, 2005 6:17 AM To: Access Developers discussion and problem solving Subject: RE: [AccessD] Bug Report Rocky, None that I'm aware of. I usually do a /decompile as soon as I see the weird stuff start to happen. That pretty much clears it up. If not, I go to a backup. Jim. -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Rocky Smolin - Beach Access Software Sent: Monday, August 15, 2005 4:36 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Bug Report Jim: "code breaks on a line where a breakpoint was but is no longer" I've had this happen as well, even more embarrassing, at the customer when suddenly they find themselves in the code page with a yellow highlight. Has there been no fix for this from MS? Rocky -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From carbonnb at sympatico.ca Wed Aug 17 08:14:42 2005 From: carbonnb at sympatico.ca (Bryan Carbonnell) Date: Wed, 17 Aug 2005 09:14:42 -0400 Subject: [AccessD] I Need Some Ideas In-Reply-To: <0ILA0086LN63B7@l-daemon> References: Message-ID: On 15 Aug 2005 at 19:34, Jim Lawrence wrote: > Our web site needs a lot of work to move to the next level. > > A few simple things that would require a bit of research... > > 1. Create the definitive link list for the site. You know most of the > sites from but there are a few out there that are not obvious but > definitely should be counted... like 'http://www.colbyconsulting.com/' > or 'http://www.rogersaccesslibrary.com' or > 'http://www.mvps.org/access/' and many more. It would be great to be > able to create the ultimate Access research page. You just listed the only sites I use for Access stuff. :) I do have a series of links in my favourites at work that I can't get access to at the moment :( Ya just gotta love union negotiations that end in lockouts instead of a new contract :( > 2. Putting some of the great comments and code snippets into either a > gazette or new article for upcoming issues(s). Hmmmm, this could be an interesting challenge > 3 List member advertisement pages stores on a MS SQL DB. This is not > confirmed by the executive yet but I believe it makes sense. We should > be supporting our list members' accomplishment like their books, > articles, programs or even design and support companies. We are a way > from implementing this but the format, design, and coding can be > started as it will be a lengthy development from creation to > implementation. The problem is that I don't know anything about MS SQL of interfacing in with the web. Nor do I have access to a box with MS SQL and IIS. > 4. There is of course .Net... and XML/HXML/AJAX... where much of > Access development is heading/expanding. It is a truly distributive > application development platform and the performance is really awesome > when using ASP.Net client side is coupled with ADO.Net... 'a thousand > users are serviced as fast as one' (Not mine but a quote from a > book.). Should we be looking seriously at this? Articles, new lists, > roll our own? Too many acronymns :) Seriously, I think it would be just a bit too much for me to learn all at once right now. > These are just a few of the web site work that is waiting to be > started and implemented. There are some good ideas there Jim. I may plug away at some of them. > Our current web site owners are having some problems getting our MS > SQL server up and running again but we will be getting MS SQL support > one way or the other. So you can work/plan for/with a MS SQL set of > option/solutions. See above :( -- Bryan Carbonnell - carbonnb at sympatico.ca Failure is not an option. It comes bundled with the software. From andy at minstersystems.co.uk Wed Aug 17 08:17:12 2005 From: andy at minstersystems.co.uk (Andy Lacey) Date: Wed, 17 Aug 2005 14:17:12 +0100 Subject: [AccessD] checkboxes aren't functioning Message-ID: <20050817131709.1F6D024E99C@smtp.nildram.co.uk> IIRC it shows tick if -1 and no tick (ie False) if anything else, or vice-versa. I don't think it'd cause this, though like you I haven't tested. And Susan's right. If the value is Null it shows a grey tick box but allows you to tick/untick. -- 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] checkboxes aren't functioning Date: 17/08/05 12:54 However what if it is bound to a non-boolean field. For example it is bound to an integer, the integer can contain 0 and -1 (and null) so it looks like it works just fine. But what happens if the field gets set to something other than null, 0 or -1? Note I have never tested this, just throwing it out.... John W. Colby www.ColbyConsulting.com Contribute your unused CPU cycles to a good cause: http://folding.stanford.edu/ -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Susan Harkins Sent: Wednesday, August 17, 2005 8:44 AM To: 'Access Developers discussion and problem solving' Subject: RE: [AccessD] checkboxes aren't functioning Checkboxes have a tri-state, on, off, and Null. You might want to check that -- perhaps someone accidentally changed it? Although, if I'm not mistaken, even if the control is Null, you should still be able to change it. Susan H. how is it possible that suddenly on a form in almost al records certain checkboxes are working but in some records they don't function (are greyed out and can't make them "true" or "not true"). Nothing strange happened before. -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com ________________________________________________ Message sent using UebiMiau 2.7.2 From carbonnb at sympatico.ca Wed Aug 17 08:19:49 2005 From: carbonnb at sympatico.ca (Bryan Carbonnell) Date: Wed, 17 Aug 2005 09:19:49 -0400 Subject: [AccessD] I Need Some Ideas In-Reply-To: <004001c5a253$afa50520$6c7aa8c0@ColbyM6805> References: <000e01c5a230$049f5d10$2c1f0c54@minster33c3r25> Message-ID: On 16 Aug 2005 at 7:14, John W. Colby wrote: > Oooooohhh I have a great idea for that one. So, what is it? > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Andy Lacey > Hi Bryan > Really sorry to hear that. > > How about the long-awaited v2 of BEU? -- Bryan Carbonnell - carbonnb at sympatico.ca An unkind remark is like a killing frost. No matter how much it warms up later, the damage remains. From carbonnb at sympatico.ca Wed Aug 17 08:19:49 2005 From: carbonnb at sympatico.ca (Bryan Carbonnell) Date: Wed, 17 Aug 2005 09:19:49 -0400 Subject: [AccessD] I Need Some Ideas In-Reply-To: <000e01c5a230$049f5d10$2c1f0c54@minster33c3r25> References: Message-ID: On 16 Aug 2005 at 7:59, Andy Lacey wrote: > Really sorry to hear that. > > How about the long-awaited v2 of BEU? We were just going to make V2 an library? Or was that V 3? I don't remember. I suppose I could always go back and look at the archives, eh? :) -- 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 carbonnb at sympatico.ca Wed Aug 17 08:19:49 2005 From: carbonnb at sympatico.ca (Bryan Carbonnell) Date: Wed, 17 Aug 2005 09:19:49 -0400 Subject: [AccessD] I Need Some Ideas In-Reply-To: Message-ID: On 16 Aug 2005 at 8:43, Charlotte Foust wrote: > Get the student version and dive into VB.Net. It takes time to learn > but the results are well worth it. Money is in short supply so purchasing new software is out of the question. Have you looked at #develop, the Open Source .Net IDE (http://www.sharpdevelop.net/OpenSource/SD/Default.aspx)? Would that be as effective at learning VB.Net as MS.Net? -- Bryan Carbonnell - carbonnb at sympatico.ca Birthdays are good for you; the more you have, the longer you live. From carbonnb at sympatico.ca Wed Aug 17 08:19:49 2005 From: carbonnb at sympatico.ca (Bryan Carbonnell) Date: Wed, 17 Aug 2005 09:19:49 -0400 Subject: [AccessD] I Need Some Ideas In-Reply-To: References: Message-ID: On 16 Aug 2005 at 8:50, Julie Reardon-Taylor wrote: > Where are you located? I know of a company who is trying to fill > sixteen IT positions this fall. I'm in Toronto, Canada. Close to NY, but not close enough to work there :( -- Bryan Carbonnell - carbonnb at sympatico.ca Don't be irreplaceable. If you can't be replaced, you can't be promoted. From carbonnb at sympatico.ca Wed Aug 17 08:24:58 2005 From: carbonnb at sympatico.ca (Bryan Carbonnell) Date: Wed, 17 Aug 2005 09:24:58 -0400 Subject: [AccessD] I Need Some Ideas In-Reply-To: <6A6AA9DF57E4F046BDA1E273BDDB677233778A@corp-es01.fleetpride.com> Message-ID: On 16 Aug 2005 at 14:25, Hale, Jim wrote: > One of my favorite Access books was "Access 95 How-To" by Ken Getz and > Paul Litwin. It was updated and re-released as the "Access Cookbook" > by O'Reilly in 2002. This book posed a problem and provided the > solution together with a detailed explanation. No extraneous junk. The > reason I bring this up is that I think an AccessD book organized along > the same lines would make a fantastic project. After all, the archives > have hundreds of solution unavailable elsewhere. AccessD could receive > royalties along with the author to allow the group to continue paying > its modest bills. I presume releases would be required from posters > since some material (such as John's framework tutorials) are intended > for publication in their own book. As the authors on this list can > attest no book is an "easy" project but I think this would be a win > for AccessD, developers, and the author willing to take on the job. My > 2 cents. This sounds quite interesting. I think a DBA sponsored book would need the BOD's approval prior to starting though. -- Bryan Carbonnell - carbonnb at sympatico.ca Learn from the mistakes of others. You can't live long enough to make them all yourself. From carbonnb at sympatico.ca Wed Aug 17 08:24:58 2005 From: carbonnb at sympatico.ca (Bryan Carbonnell) Date: Wed, 17 Aug 2005 09:24:58 -0400 Subject: [AccessD] I Need Some Ideas In-Reply-To: <123701F54509D9119A4F00D0B747349016DD4C@main2.marlow.com> Message-ID: On 16 Aug 2005 at 14:59, DWUTKA at marlow.com wrote: > That's easy, and requires no code or special hardware. Just call up > JC, and tell him that you don't think his framework would hand > XYZ...and let him prove you wrong. When he has given you proof, thank > him, tell him he's stellar, and a god among mortals, and walk away > with completed JC Classes. Even easier solution, just send an e-mail to JC :) -- Bryan Carbonnell - carbonnb at sympatico.ca We've all heard that a million monkeys banging on a million typewriters will eventually reproduce the entire works of Shakespeare. Now, thanks to the Internet, we know this is not true." [Robert Wilensky (1997)] From carbonnb at sympatico.ca Wed Aug 17 08:24:58 2005 From: carbonnb at sympatico.ca (Bryan Carbonnell) Date: Wed, 17 Aug 2005 09:24:58 -0400 Subject: [AccessD] I Need Some Ideas In-Reply-To: <200508161908.j7GJ8aR24489@databaseadvisors.com> References: Message-ID: On 16 Aug 2005 at 14:08, John Bartow wrote: > An ambitiuos question! Ambitious is good, if I know the content :) > How about a set of classes for easily automating Word from Access? What benefit would that be, instead of just using the Word Object model directly? And more importantly, what would you like to see in it? -- Bryan Carbonnell - carbonnb at sympatico.ca A good friend will come bail you out of jail.... but a true friend will be sitting next to you saying "Damn... We ****ed up." From carbonnb at sympatico.ca Wed Aug 17 08:24:58 2005 From: carbonnb at sympatico.ca (Bryan Carbonnell) Date: Wed, 17 Aug 2005 09:24:58 -0400 Subject: [AccessD] I Need Some Ideas In-Reply-To: <123701F54509D9119A4F00D0B747349016DD4A@main2.marlow.com> Message-ID: On 16 Aug 2005 at 11:29, DWUTKA at marlow.com wrote: > How about a master table-linker service? Create a service that can be > run on any machine in the network, which 'knows' the location of all > linked tables. One module in the database runs at startup, 'scans' > the network for the 'server' which tells it if it needs to relink it's > tables or not. Besides running as a service, how would that be much different from any of the other relinkers out there? Wouldn't something that scans the network put a heavy load on the network? -- Bryan Carbonnell - carbonnb at sympatico.ca If you're too open-minded, your brains will fall out. From carbonnb at sympatico.ca Wed Aug 17 08:30:12 2005 From: carbonnb at sympatico.ca (Bryan Carbonnell) Date: Wed, 17 Aug 2005 09:30:12 -0400 Subject: [AccessD] I Need Some Ideas In-Reply-To: <20050816234508.20273.qmail@web80802.mail.yahoo.com> References: <005201c5a2b9$7e409ba0$6c7aa8c0@ColbyM6805> Message-ID: On 16 Aug 2005 at 16:45, David Mcafee wrote: > Speaking of which, isn't it that time again? Yep. I think so. The last one, IIRC, was at Lembit's place in Germany last summer. I think we need one in Canada this time. Somewhere in Southern Ontario is my suggestion :) -- Bryan Carbonnell - carbonnb at sympatico.ca I've learned.... That the less time I have to work with, the more things I get done. From carbonnb at sympatico.ca Wed Aug 17 08:30:11 2005 From: carbonnb at sympatico.ca (Bryan Carbonnell) Date: Wed, 17 Aug 2005 09:30:11 -0400 Subject: [AccessD] I Need Some Ideas In-Reply-To: References: <001c01c5a29b$4bb39ca0$6401a8c0@laptop1> Message-ID: On 17 Aug 2005 at 8:57, Julie Reardon-Taylor wrote: > No. The company is in NY. The salaries range from $37,000 to > $65,000. Decent salaries, but too far for me :-(( -- Bryan Carbonnell - carbonnb at sympatico.ca You're just jealous because the voices only talk to me. From mikedorism at verizon.net Wed Aug 17 08:36:13 2005 From: mikedorism at verizon.net (Mike & Doris Manning) Date: Wed, 17 Aug 2005 09:36:13 -0400 Subject: [AccessD] checkboxes aren't functioning In-Reply-To: <20050817131709.1F6D024E99C@smtp.nildram.co.uk> Message-ID: <000d01c5a330$a41674e0$2e01a8c0@dorismanning> Are you sure the controls haven't been set to Enabled = False and Locked = True? Doris Manning Database Administrator Hargrove Inc. mikedorism at verizon.net From Chester_Kaup at kindermorgan.com Wed Aug 17 08:37:32 2005 From: Chester_Kaup at kindermorgan.com (Kaup, Chester) Date: Wed, 17 Aug 2005 08:37:32 -0500 Subject: [AccessD] Why is function being called?? Message-ID: Myds4 is the result of a select query that uses the DayInMonth2 function. I appears that each time a record that the query generates is accessed it runs the function. Just as a test I changed the query to a make table query and changed the code to use the make table query. Now no calling of the function occurs. Go figure? -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Bobby Heid Sent: Wednesday, August 17, 2005 8:03 AM To: 'Access Developers discussion and problem solving' Subject: RE: [AccessD] Why is function being called?? I figured so, I was just making sure. So you are saying that DaysInMonth2 is being called when you execute the line myds1.Fields(2) = Nz(myds4.Fields(8)) If so, the only thing that I can think of that might cause this is some sort of corruption in the FE. Have you tried a decompile/compile or importing the FE into a new FE? Bobby -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Kaup, Chester Sent: Wednesday, August 17, 2005 8:12 AM To: Access Developers discussion and problem solving Subject: RE: [AccessD] Why is function being called?? My mistake DaysInMonth2 is a function. It is declared as an integer. Thanks for looking. -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Bobby Heid Sent: Wednesday, August 17, 2005 6:51 AM To: 'Access Developers discussion and problem solving' Subject: RE: [AccessD] Why is function being called?? I don't understand. You are saying that DaysInMonth is a function. Yet your code has: DaysinMonth = DaysInMonth2(myds3.Fields(1)) By this, DaysInMonth2 is the function. How is DaysInMonth declared? Bobby -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Kaup, Chester Sent: Tuesday, August 16, 2005 5:24 PM To: Access Developers discussion and problem solving Subject: [AccessD] Why is function being called?? Below is a piece of code. DaysInMonth is a function. When the code runs and hits the line myds1.Fields(2) = Nz(myds4.Fields(8)) the function runs. I don't see anything that is calling it. Your thoughts appreciated. Do Until myds4.EOF DaysinMonth = DaysInMonth2(myds3.Fields(1)) If Day(myds3.Fields(1)) < DaysinMonth And RecordCounter = 1 Then StartCounter = Day(myds3.Fields(1)) ProdDate = myds3.Fields(1) Else StartCounter = 1 ProdDate = myds4.Fields(1) End If For I = StartCounter To DaysinMonth myds1.AddNew myds1.Fields(0) = ProdDate myds1.Fields(1) = myds4.Fields(0) myds1.Fields(2) = Nz(myds4.Fields(8)) myds1.Update ProdDate = ProdDate + 1 Next I RecordCounter = RecordCounter + 1 myds4.MoveNext Loop Chester Kaup -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From ssharkins at bellsouth.net Wed Aug 17 08:39:30 2005 From: ssharkins at bellsouth.net (Susan Harkins) Date: Wed, 17 Aug 2005 09:39:30 -0400 Subject: [AccessD] checkboxes aren't functioning In-Reply-To: <20050817131709.1F6D024E99C@smtp.nildram.co.uk> Message-ID: <20050817133927.NVUV3975.ibm66aec.bellsouth.net@SUSANONE> I usually don't do this -- but I forgot who asked the original question. I don't think there's anything in here to solve the original problem, but thought some of you might find it helpful. There are two articles (no figures unfortunately, and the copyrights are intact at the bottom of each). If anyone has a subscription, I'll be glad to send the links so you can get figures and all. The first article isn't exactly relevant, but more an extension of the second article, which is specifically about the Tri-state property. I should've copied them in reverse order -- sorry about that. Susan H. Tweak combobox settings to appropriately display and store Boolean values by Susan Sales Harkins and Gustav Brock Application(s): Microsoft Access 97/2000/2002/2003 Operating System(s): Microsoft Windows Access lets you define a field as a Yes/No data type, which denotes a Boolean value. That means the field stores only two values: -1 and 0. The checkbox control is the natural and logical choice to interact with this data type. In fact, the Form wizards automatically use a check box to present the Yes/No data type in a form. However, there may be times when you want to use a different control, such as a combobox control. Unfortunately, other controls aren't as inherently compatible with Boolean values and might need a bit of tweaking to handle them appropriately. In this article, we'll show you how to trick both a bound and an unbound combo box into displaying Boolean values. No place for maybes In the Boolean world, there's no maybe-there's only -1 and 0. The Boolean data type, named Yes/No in Access, represents a two-position state of activity: True/False, On/Off, Yes/No, and so on. Regardless of the format you use to display a Yes/No field's values to the user, the underlying values will always be -1 or 0, where -1 represents the active position (Yes) and 0 represents the inactive position (No). As mentioned before, the checkbox control is a natural choice for displaying Boolean values in a bound control. Like the data type, the check box has two positions: selected and deselected. Using a control such as a combobox requires a little work because the combobox control isn't restricted to just two values. The combobox bound to a Boolean field is the easiest to adapt, so that's where we'll start. Then, we'll look at a special problem that crops up when using an unbound combobox with Boolean values. Related article For another way to visually present Boolean values, see the De-cember 2003 article "Using the Triple State property to express a Null value in Boolean controls." You can view the article online at http://www.elementkjournals.com%2fpremier%2fjournal_archive.asp?vwJournalID= IMA#200312. Examining the problems with combobox controls bound to Yes/No fields The first problem that appears when you bind a combobox control to a Yes/No field is that the con-trol displays the Boolean values, -1 and 0, instead of Yes and No. In addition, although the bound combo box displays the underlying values, the list compo-nent is empty, as shown in Figure A. The control is actually performing properly by displaying the ac-tual values and not any representative text, since no representative text has been supplied yet. Figure A: A combo box bound to a Yes/No field displays the numeric Boolean values by default. Making bound combobox controls Boolean-friendly Fortunately, it's easy to get a combo box to appropriately display a Boolean value. To demonstrate, create a table that includes some Yes/No fields, similar to the ones shown in Figure A. Add a few records and then create a new form that's bound to the table. Instead of dragging the Yes/No fields from the field list, add combobox controls to the form and bind the controls to the fields by setting the Control Source property appropriately. Once you've finished setting up the form, switch to Form view and experiment with the combobox controls. You'll find that they exhibit the behavior described in the previous section. Now, switch back to Design view and we'll address the issues. First, set the control's Format property to Yes/No. The modified control interprets the underlying value and displays the appropriate text value: Yes or No. However, the list is still empty. To create an appropriate list, change the control's Row Source Type property to Value List. Then, enter a Row Source setting of Yes;No Figure B shows the impact that just these few changes have on the control. The combo box now displays the representative text value in the text box, and it displays appropriate values as list items. Figure B: Use the control's Format property to determine the text values and the Row Source property to set the list values. Note that you don't have to choose an item from the control's list. If you type -1 in the combo box and then press [Enter], the control displays Yes; type 0 in the combo box and press [Enter] and the control displays No. Keep in mind that the control's text box accepts any value, not just the values -1 and 0. Any numeric value other than 0, including negative values, returns a true result (Yes, True, and On). If you must restrict data input to just -1 and 0, add a validation rule or use VBA. An unbound combobox behaves in the same way. Handling Boolean values in an unbound combobox control An unbound combobox that displays just Boolean values is a bit unusual, but certainly acceptable. You can use the properties reviewed in the previous section to get the unbound control to behave the same way as far as displaying values is concerned. Just remember, you must use the Format property to determine the displayed value. If you don't set the Format property, the control displays the actual input value. Unlike the bound control, the unbound control has no underlying data type to force a compatible Boolean entry. The main difference of concern is the control's value. If you open the table bound to your sample form, you'll find that the control updated the bound fields as you'd expect-the Yes/No field stores only -1 and 0. The Yes and No strings in the combo box are just for show. The bound combobox will always equal a true or false value (-1 or 0). An unbound control isn't as predictable. For this example, create a form and add two unbound combobox controls. Set the Format property as before and rename the first control cbo1. Then, open the VBE and add the following event procedure: Private Sub Cbo1_LostFocus() Debug.Print cbo1.Value End Sub Return to the form in Form view and enter the value -1 in the first combobox and move focus to the second control. The text box component returns the value Yes, as you expect. Return to the VBE and you'll see the value -1 in the Immediate window (the result of the event procedure). Return to the form and enter the value True in the first combobox. The text box component again correctly interprets the value as Yes, but the control actually equals the value True, as shown in Figure C. Return to the form and enter any numeric value, and then check the Immediate window. You'll see that the control itself always equals the input value and not the Boolean values -1 or 0. Remember, the bound example accepted values other than -1 and 0, but the underlying Boolean data type forced the control to interpret the value as either -1 or 0. The unbound control won't force a Boolean value. The Format property forces the displayed value, but it doesn't convert the input value. Figure C: The unbound control equals the input value, not a Boolean value. Forcing valid Boolean values in an unbound combobox control There's an easy solution to the unbound problem. Force the control to equal either -1 or 0 by changing the Row Source setting to -1;Yes;0;No Then, change the Row Source Type property to Value List. Finally, change the Column Count property to 2 and change the Column Widths property to 0". As a result, the unbound control continues to display Yes and No in the list and it equals the appropriate Boolean value. However, the control itself is a bit limited. The control accepts only the values Yes and No. This limitation could be good or bad depending on your needs. After modifying the properties, enter the value Yes in the combo box and then check the Immediate window. This time the value in the Immediate window is -1; enter No and the value is 0. Formatting choices besides Yes/No Both of our examples use the Yes/No format set at the control level. The True/False or On/Off formats behave similarly, in keeping with the underlying Boolean values. Just remember that -1 equals Yes, True, and On; 0 equals No, False, and Off. Additional considerations may be needed if your application serves an international audience, as described in the accompanying article "Automatically localize Boolean values in control lists." (https://www.elementkjournals.com%2fpremier%2fjournal_archive.asp?vwJournalI D=IMA#20051) Expanding your control choice options Although it's probably easiest to use a check box to represent Boolean values, there can be times when another control is better suited to an entry form or interface. As we've shown you, a combobox control can be a viable alternative-with just a bit of coercion. Gustav Brock is a consultant who has been working with Microsoft Access since version 1.0. Gustav is a developer at Cactus Data ApS, an independent software house specializing in accounting and time billing systems and custom database applications. You can contact Gustav at gustav at cactus.dk.Back to top Questions? Email the editor. If you're having problems viewing this article please email us. Please be aware of our copyright policy. C 2005 Element K Journals, a division of Element K Press LLC ("Element K"). The content published on this site ("Content") is the property of Element K or its affiliates or third party licensors and is protected by copyright law in the U.S. and elsewhere. Using the Triple State property to express a Null value in Boolean controls by Susan Sales Harkins Application(s): Microsoft Access 97/2000/2002 Operating System(s): There are several native Access controls that are typically used to imply one setting of a dual state. The check box, toggle button, and even the option button are all usually used to display or offer a choice between two settings: yes and no, true and false, on and off, and so on. Occasionally, you'll find that two states aren't enough-sometimes a Null value can be just as critical as true and false. In this article, we'll show you how to flip that on/off switch a third way to also accommodate Null values. Showing three states with one control Before directly working with any controls, we'll start with a quick rundown of the key behaviors associated with controls that are used to indicate true or false states and discuss how to influence the way in which Null values are handled. Then, we'll examine the default control behavior firsthand using a form and some unbound controls. Finally, we'll show you how to accommodate Null values, which is especially important to know when your controls are bound to a data source. About Boolean type controls Access has a robust set of interface controls and knowing all the little behaviors and special properties is a lot of work. For instance, there are a few controls, referred to as Boolean controls because they accept or display only Boolean values-true and false. Internally, Access actually stores the values -1 and 0, respectively, but the purpose is the same. That purpose is to act somewhat like a switch between two states, such as on and off, yes and no, and true and false. The matter can be confusing once you throw the Null value into the mix because the control must somehow handle three values. All three of Access' Boolean controls, the check box, the toggle button, and the option button (known to some as a radio button), can display two states. Fortunately, all three controls can also handle a third state if you simply set the Triple State property to Yes. The Triple State property With the Triple State property set to No (the default state), each of the three controls will interpret a Null value as a False value. Although a Null value isn't the same as a False value, the arrangement works well, most of the time. However, when your need to know that Null really means Null, the default state just won't do. Setting the control's Triple State property to Yes allows the control to interpret a Null value in addition to the traditional Boolean values of True and False. Examining an unbound example Working with an unbound form is the best way to illustrate how these controls work. To do so, create a new form and add one of each of the three Boolean type controls: a check box, a toggle button, and an option button (don't worry about including the latter within an option group). Name the controls chk, tgl, and opt, respectively. Then, insert a label control containing a few blank spaces to the right of each Boolean control. Name the label controls lblChk, lblTgl, and lblOpt, accordingly. You'll use these labels to display the numeric value of each control as you cycle through True and False (and later the Null) states. Next, open the form's module and add the event procedures in Listing A. Close the VBE and save the form as frmUnbound. Now, switch to Form view. When you switch to Form view for the first time, the check box and option button will be dimmed (or grayed out). Listing A: Control Click event procedures Private Sub chk_Click() lblChk.Caption = chk.Value End Sub Private Sub tgl_Click() lblTgl.Caption = tgl.Value End Sub Private Sub opt_Click() lblOpt.Caption = opt.Value End Sub By default, the controls' Triple State properties are set to No. As such, the controls display only two states-True and False. Select the check box, click the toggle button, and select the option button. This selected or clicked state is shown in the form on the left in Figure A. Now, deselect the check box, unclick the toggle button, and deselect the option button to display the second state, as represented in the form on the right. Figure A: By default, the Boolean type controls display only two states. The visual state is a clue to the control's value. As you can see in each control's corresponding label, a clicked or selected control represents a True value (-1) and an unclicked or deselected state represents a False value (0). A third set of clicks cycles the controls to the True state again. Working with a bound example Now, let's see how they handle a Null value. At this point, it's important to note that the underlying data type must accept at least three values: -1, 0, and Null. To set up the example, close the form and create a new table. Add three Numeric fields to the table named chk, tgl, and opt. Finally, save the table as tblBound and close it. Next, open your form in Design view and save it as frmBound to create a copy. Then, set the form's Record Source property to tblBound. Set each control's Control Source property to its corresponding field in tblBound. Save the form and then switch to Form view. At first, the controls appear empty because their bound fields contain no values. At this point, cycling through the controls' states will have the same effect as you saw earlier-the controls display just the two states of True and False. Now, set all of the controls to a False state and switch the form to Design view. Next, change each of the Boolean type controls' Triple State properties to Yes. Then, replace the previous event procedures with the ones shown in Listing B. If you don't use the new procedures, the old ones will return an error when the control equals Null. Listing B: Code to reflect three states Private Sub chk_Click() If IsNull(chk) Then lblChk.Caption = "Null" Else lblChk.Caption = chk.Value End If End Sub Private Sub opt_Click() If IsNull(opt) Then lblOpt.Caption = "Null" Else lblOpt.Caption = opt.Value End If End Sub Private Sub tgl_Click() If IsNull(tgl) Then lblTgl.Caption = "Null" Else lblTgl.Caption = tgl.Value End If End Sub Close the VBE, save the form, and switch to Form view. Click on each control to cycle past the False state and you'll see that they display the newly enabled Null state, as shown in Figure B. Figure B: These controls accept and display a Null value. Using VBA to set the TripleState property Setting a control's Triple State property programmatically is simple, just identify the control and set the TripleState property to True or False as follows: control.TripleState = True | False where True sets the property to Yes, forcing the control to accept and display Null values. A False setting, or No, is the default setting, which displays just the True and False states. A quick trip to the state of either, or, and Null The Null value is a mystery to most and many avoid it because they simply don't know how to handle it. However, knowing it's out and about is the safest way to deal with Null values. When you need to know the difference between True, False, and Null, use a Boolean type control and set its Triple State property to Yes. As a result, the control will accommodate the Null value and visually alert you to its presence.Back to top Questions? Email the editor. If you're having problems viewing this article please email us. Please be aware of our copyright policy. C 2005 Element K Journals, a division of Element K Press LLC ("Element K"). The content published on this site ("Content") is the property of Element K or its affiliates or third party licensors and is protected by copyright law in the U.S. and elsewhere. IIRC it shows tick if -1 and no tick (ie False) if anything else, or vice-versa. I don't think it'd cause this, though like you I haven't tested. And Susan's right. If the value is Null it shows a grey tick box but allows you to tick/untick. From ldoering at symphonyinfo.com Wed Aug 17 08:45:01 2005 From: ldoering at symphonyinfo.com (Liz Doering) Date: Wed, 17 Aug 2005 08:45:01 -0500 Subject: [AccessD] WIERD little problem Message-ID: <855499653F55AD4190B242717DF132BC08317F@dewey.Symphony.local> Karen, Have you checked the tables used in the report for a corrupt record? 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 Karen Rosenstiel Sent: Tuesday, August 16, 2005 5:31 PM To: 'Access Developers discussion and problem solving' Subject: [AccessD] WIERD little problem I have a simple little scheduling database, front end and back end. I tried to print a report for tomorrow - a simple list - the database crashed. For some strange reason I cannot print the reports I need for tomorrow, although I could print reports for different dates - just not for tomorrow. It closed itself down and tried to compact itself and send a report to MS. At that point, I discovered that one of staff left open the front end with a little popup form from which you can view or print the reports wide open. I got her out of a meeting to shut down her open Access and then deleted the backup copies and the .ldb files. I could compact/repair the BE but not the FE. Has anybody had anything like this happen before? Any suggestions? I need to mention that I can't send the database to anybody for inspection because of confidentiality restrictions (I work in a jail health clinic). Thanks in advance. Regards, Karen Rosenstiel Seattle WA USA -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From prosoft6 at hotmail.com Wed Aug 17 08:40:22 2005 From: prosoft6 at hotmail.com (Julie Reardon-Taylor) Date: Wed, 17 Aug 2005 09:40:22 -0400 Subject: [AccessD] I Need Some Ideas In-Reply-To: <430303A4.15885.683255@carbonnb.sympatico.ca> Message-ID: Yes. Definitely Canada....Ontario would be great! It's only 40 miles away. Julie Reardon-Taylor PRO-SOFT OF NY, INC. 44 Public Square Suite #5 Watertown, NY 13601 Phone/Fax: (315) 785-0319 www.pro-soft.net From dejpolsys at hotmail.com Wed Aug 17 08:42:19 2005 From: dejpolsys at hotmail.com (William Hindman) Date: Wed, 17 Aug 2005 09:42:19 -0400 Subject: [AccessD] I Need Some Ideas References: Message-ID: ..with Harkins, Colby, and Martin among others here already published, the idea of an "AccessD" book with you doing the grunt work and using the list members as your resource and critic, getting approval shouldn't be a problem ..if just the list members bought copies, and you gave AccessD a share of the profits, it should put a cushion under the list finances for quite a while ...besides which, think how a really good Access book would look on your resume :) William ----- Original Message ----- From: "Bryan Carbonnell" To: "Access Developers discussion and problem solving" Sent: Wednesday, August 17, 2005 9:24 AM Subject: RE: [AccessD] I Need Some Ideas > On 16 Aug 2005 at 14:25, Hale, Jim wrote: > >> One of my favorite Access books was "Access 95 How-To" by Ken Getz and >> Paul Litwin. It was updated and re-released as the "Access Cookbook" >> by O'Reilly in 2002. This book posed a problem and provided the >> solution together with a detailed explanation. No extraneous junk. The >> reason I bring this up is that I think an AccessD book organized along >> the same lines would make a fantastic project. After all, the archives >> have hundreds of solution unavailable elsewhere. AccessD could receive >> royalties along with the author to allow the group to continue paying >> its modest bills. I presume releases would be required from posters >> since some material (such as John's framework tutorials) are intended >> for publication in their own book. As the authors on this list can >> attest no book is an "easy" project but I think this would be a win >> for AccessD, developers, and the author willing to take on the job. My >> 2 cents. > > This sounds quite interesting. I think a DBA sponsored book would > need the BOD's approval prior to starting though. > > -- > Bryan Carbonnell - carbonnb at sympatico.ca > Learn from the mistakes of others. You can't live long enough to make > them all yourself. > > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > From EdTesiny at oasas.state.ny.us Wed Aug 17 08:41:31 2005 From: EdTesiny at oasas.state.ny.us (Tesiny, Ed) Date: Wed, 17 Aug 2005 09:41:31 -0400 Subject: [AccessD] I Need Some Ideas Message-ID: Good excuse to take a test drive on The Cat Ed Tesiny EdTesiny at oasas.state.ny.us > > I think we need one in Canada this time. Somewhere in Southern > Ontario is my suggestion :) > > -- > Bryan Carbonnell - carbonnb at sympatico.ca > I've learned.... > That the less time I have to work with, the more things I get done. > > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > From JHewson at karta.com Wed Aug 17 08:53:22 2005 From: JHewson at karta.com (Jim Hewson) Date: Wed, 17 Aug 2005 08:53:22 -0500 Subject: [AccessD] SQL Server BE - Access FE Message-ID: <9C382E065F54AE48BC3AA7925DCBB01C036B677D@karta-exc-int.Karta.com> Doris, I appreciate the response. Sorry, I have been remiss in replying sooner. I started to create an ADP and then talked with one of my co-workers. He suggested that using a System DSN in the ODBC Data Source Administrator located under Control Panel -> Administrative Tools would work. Since we have about five users that get some benefit from this database, we used that method. It worked great... No login and Access pulls just what is needed from the SQL server. Thanks for your help. Jim -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Mike & Doris Manning Sent: Saturday, August 13, 2005 2:30 PM To: 'Access Developers discussion and problem solving' Subject: RE: [AccessD] SQL Server BE - Access FE If you use an ADP with Windows authentication, you will get around that. Otherwise you'll have to pop-up a login box each time you open the database to set the connection. Doris Manning mikedorism at verizon.net -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Jim Hewson Sent: Saturday, August 13, 2005 2:14 PM To: AccessD Subject: [AccessD] SQL Server BE - Access FE Works good.... I can't seem to figure out how the security on the SQL Database can be used. When I first go into the FE, the forms work... when I need to look at any of the data, I get an error message about the login failed for the user. I click the OK button and get another screen with Server visible and the Use Trusted Connection checked. When I uncheck the box, the Login ID and Password are available to enter the correct information. I've looked into the help and couldn't find what I needed. I have one user in SQL Server with the correct security (Read-Only). How do I connect without going through that sequence? TIA Jim -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From stuart at lexacorp.com.pg Wed Aug 17 09:10:45 2005 From: stuart at lexacorp.com.pg (Stuart McLachlan) Date: Thu, 18 Aug 2005 00:10:45 +1000 Subject: [AccessD] checkboxes aren't functioning In-Reply-To: <00b101c5a32a$6628a1e0$6c7aa8c0@ColbyM6805> References: <20050817124430.HRTS24175.ibm69aec.bellsouth.net@SUSANONE> Message-ID: <4303D205.23074.170ACFB@stuart.lexacorp.com.pg> On 17 Aug 2005 at 8:51, John W. Colby wrote: > However what if it is bound to a non-boolean field. For example it is bound > to an integer, the integer can contain 0 and -1 (and null) so it looks like > it works just fine. But what happens if the field gets set to something > other than null, 0 or -1? > 0 is false, anything else (other than Null) is "Not False" ie ticked. -- Stuart From andy at minstersystems.co.uk Wed Aug 17 09:52:48 2005 From: andy at minstersystems.co.uk (Andy Lacey) Date: Wed, 17 Aug 2005 15:52:48 +0100 Subject: [AccessD] I Need Some Ideas Message-ID: <20050817145245.08C7B251515@smtp.nildram.co.uk> I think we had quite a few suggestions/ideas and between us we could probably dig them out. But I do realise that this would only be a time-filler for you, nothing to pay the bills, so you (or others) may have better ideas. -- 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] I Need Some Ideas Date: 17/08/05 13:21 On 16 Aug 2005 at 7:59, Andy Lacey wrote: > Really sorry to hear that. > > How about the long-awaited v2 of BEU? We were just going to make V2 an library? Or was that V 3? I don't remember. I suppose I could always go back and look at the archives, eh? :) -- 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? -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com ________________________________________________ Message sent using UebiMiau 2.7.2 From DWUTKA at marlow.com Wed Aug 17 10:07:48 2005 From: DWUTKA at marlow.com (DWUTKA at marlow.com) Date: Wed, 17 Aug 2005 10:07:48 -0500 Subject: [AccessD] I Need Some Ideas Message-ID: <123701F54509D9119A4F00D0B747349016DD57@main2.marlow.com> Since when did you become an unbounder? I'm a little shocked at that. I guess you finally came across to the dark side! ;) Drew -----Original Message----- From: John W. Colby [mailto:jwcolby at colbyconsulting.com] Sent: Tuesday, August 16, 2005 5:27 PM To: 'Access Developers discussion and problem solving' Subject: RE: [AccessD] I Need Some Ideas >so the occasional bound/unbound, natural/surrogate key, and naming convention argument are simply a way of maintaining our individuality in the world of massive neuron flux. ;) No, unbound forms and surrogate keys are just superior. ;-0 And of course anyone who doesn't use a naming convention, specifically MY naming convention is... a dolt. John W. Colby www.ColbyConsulting.com Contribute your unused CPU cycles to a good cause: http://folding.stanford.edu/ -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of DWUTKA at marlow.com Sent: Tuesday, August 16, 2005 5:37 PM To: accessd at databaseadvisors.com Subject: RE: [AccessD] I Need Some Ideas , I was hoping you were going to get a good chuckle out of that. Personally, I think that is one of the main factors why this list puts out good tips, and is so helpful to people. It's the 'chest pounding' factor. Whether we want to admit it or not, we'll fall all over each other trying to help someone because we want to show off a bit. This is one of the rare parts of our lives where people actually CAN appreciate how brilliant we all our.... ;) I tried explaining a process I was working on involving custom events and classes to a fellow computer geek, and I got the glassy eyed look of complete confusion. So to everyone on the list, we're all geniuses....so pat someone on the back when you can, and get ready to be patted yourself. Yes, to the rest of the world we're a bunch of 'nerds', but wear that label with pride. (a few tattoos and a decent weight training program will keep most of the 'nerd' remarks in check....) ;) Just keep in mind that while we all like to impress with our ideas, genius comes with a lot of prejudice, so the occasional bound/unbound, natural/surrogate key, and naming convention argument are simply a way of maintaining our individuality in the world of massive neuron flux. ;) Drew -----Original Message----- From: John W. Colby [mailto:jwcolby at colbyconsulting.com] Sent: Tuesday, August 16, 2005 4:26 PM To: 'Access Developers discussion and problem solving' Subject: RE: [AccessD] I Need Some Ideas ROTFLMAO. John W. Colby www.ColbyConsulting.com Contribute your unused CPU cycles to a good cause: http://folding.stanford.edu/ -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of DWUTKA at marlow.com Sent: Tuesday, August 16, 2005 4:00 PM To: accessd at databaseadvisors.com Subject: RE: [AccessD] I Need Some Ideas That's easy, and requires no code or special hardware. Just call up JC, and tell him that you don't think his framework would hand XYZ...and let him prove you wrong. When he has given you proof, thank him, tell him he's stellar, and a god among mortals, and walk away with completed JC Classes. Of course, the same method will work on me too.... Drew -----Original Message----- From: Joe Hecht [mailto:jmhecht at earthlink.net] Sent: Tuesday, August 16, 2005 2:45 PM To: 'Access Developers discussion and problem solving' Subject: RE: [AccessD] I Need Some Ideas Voice command app that would automatically write John Colby Classes and code for you. Joe Hecht Los Angeles CA -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd 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 Aug 17 10:18:09 2005 From: cfoust at infostatsystems.com (Charlotte Foust) Date: Wed, 17 Aug 2005 08:18:09 -0700 Subject: [AccessD] I Need Some Ideas Message-ID: Sssshhhh, Drew. Don't point that out and we'll have it to use as evidence the next time a bound/unbound battle rages. Charlotte Foust -----Original Message----- From: DWUTKA at marlow.com [mailto:DWUTKA at marlow.com] Sent: Wednesday, August 17, 2005 8:08 AM To: accessd at databaseadvisors.com Subject: RE: [AccessD] I Need Some Ideas Since when did you become an unbounder? I'm a little shocked at that. I guess you finally came across to the dark side! ;) Drew -----Original Message----- From: John W. Colby [mailto:jwcolby at colbyconsulting.com] Sent: Tuesday, August 16, 2005 5:27 PM To: 'Access Developers discussion and problem solving' Subject: RE: [AccessD] I Need Some Ideas >so the occasional bound/unbound, natural/surrogate key, and naming convention argument are simply a way of maintaining our individuality in the world of massive neuron flux. ;) No, unbound forms and surrogate keys are just superior. ;-0 And of course anyone who doesn't use a naming convention, specifically MY naming convention is... a dolt. John W. Colby www.ColbyConsulting.com Contribute your unused CPU cycles to a good cause: http://folding.stanford.edu/ -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of DWUTKA at marlow.com Sent: Tuesday, August 16, 2005 5:37 PM To: accessd at databaseadvisors.com Subject: RE: [AccessD] I Need Some Ideas , I was hoping you were going to get a good chuckle out of that. Personally, I think that is one of the main factors why this list puts out good tips, and is so helpful to people. It's the 'chest pounding' factor. Whether we want to admit it or not, we'll fall all over each other trying to help someone because we want to show off a bit. This is one of the rare parts of our lives where people actually CAN appreciate how brilliant we all our.... ;) I tried explaining a process I was working on involving custom events and classes to a fellow computer geek, and I got the glassy eyed look of complete confusion. So to everyone on the list, we're all geniuses....so pat someone on the back when you can, and get ready to be patted yourself. Yes, to the rest of the world we're a bunch of 'nerds', but wear that label with pride. (a few tattoos and a decent weight training program will keep most of the 'nerd' remarks in check....) ;) Just keep in mind that while we all like to impress with our ideas, genius comes with a lot of prejudice, so the occasional bound/unbound, natural/surrogate key, and naming convention argument are simply a way of maintaining our individuality in the world of massive neuron flux. ;) Drew -----Original Message----- From: John W. Colby [mailto:jwcolby at colbyconsulting.com] Sent: Tuesday, August 16, 2005 4:26 PM To: 'Access Developers discussion and problem solving' Subject: RE: [AccessD] I Need Some Ideas ROTFLMAO. John W. Colby www.ColbyConsulting.com Contribute your unused CPU cycles to a good cause: http://folding.stanford.edu/ -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of DWUTKA at marlow.com Sent: Tuesday, August 16, 2005 4:00 PM To: accessd at databaseadvisors.com Subject: RE: [AccessD] I Need Some Ideas That's easy, and requires no code or special hardware. Just call up JC, and tell him that you don't think his framework would hand XYZ...and let him prove you wrong. When he has given you proof, thank him, tell him he's stellar, and a god among mortals, and walk away with completed JC Classes. Of course, the same method will work on me too.... Drew -----Original Message----- From: Joe Hecht [mailto:jmhecht at earthlink.net] Sent: Tuesday, August 16, 2005 2:45 PM To: 'Access Developers discussion and problem solving' Subject: RE: [AccessD] I Need Some Ideas Voice command app that would automatically write John Colby Classes and code for you. Joe Hecht Los Angeles CA -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From jmhecht at earthlink.net Wed Aug 17 10:29:44 2005 From: jmhecht at earthlink.net (Joe Hecht) Date: Wed, 17 Aug 2005 08:29:44 -0700 Subject: [AccessD] I Need Some Ideas In-Reply-To: <005601c5a2dc$903c1a50$6c7aa8c0@ColbyM6805> Message-ID: <000201c5a340$8003e320$6401a8c0@laptop1> And some of us are just thick and near need to have sysvars explained a few times before we can make it work in our apps? Joe Hecht Los Angeles CA -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of John W. Colby Sent: Tuesday, August 16, 2005 8:34 PM To: 'Access Developers discussion and problem solving' Subject: RE: [AccessD] I Need Some Ideas LOL, yea, you don't recover from my lectures that easily. ;-) Just kinda numbs the whole body. John W. Colby www.ColbyConsulting.com Contribute your unused CPU cycles to a good cause: http://folding.stanford.edu/ -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of William Hindman Sent: Tuesday, August 16, 2005 11:28 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] I Need Some Ideas "I haven't done a lecture since the first AccessD conference at Rocky's house." JC ..took the victims this long to recover, eh :) William -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From jwcolby at colbyconsulting.com Wed Aug 17 11:12:09 2005 From: jwcolby at colbyconsulting.com (John W. Colby) Date: Wed, 17 Aug 2005 12:12:09 -0400 Subject: [AccessD] I Need Some Ideas In-Reply-To: <123701F54509D9119A4F00D0B747349016DD57@main2.marlow.com> Message-ID: <00bb01c5a346$6b965660$6c7aa8c0@ColbyM6805> LOL. Nope, typo. John W. Colby www.ColbyConsulting.com Contribute your unused CPU cycles to a good cause: http://folding.stanford.edu/ -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of DWUTKA at marlow.com Sent: Wednesday, August 17, 2005 11:08 AM To: accessd at databaseadvisors.com Subject: RE: [AccessD] I Need Some Ideas Since when did you become an unbounder? I'm a little shocked at that. I guess you finally came across to the dark side! ;) Drew -----Original Message----- From: John W. Colby [mailto:jwcolby at colbyconsulting.com] Sent: Tuesday, August 16, 2005 5:27 PM To: 'Access Developers discussion and problem solving' Subject: RE: [AccessD] I Need Some Ideas >so the occasional bound/unbound, natural/surrogate key, and naming convention argument are simply a way of maintaining our individuality in the world of massive neuron flux. ;) No, unbound forms and surrogate keys are just superior. ;-0 And of course anyone who doesn't use a naming convention, specifically MY naming convention is... a dolt. John W. Colby www.ColbyConsulting.com Contribute your unused CPU cycles to a good cause: http://folding.stanford.edu/ -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of DWUTKA at marlow.com Sent: Tuesday, August 16, 2005 5:37 PM To: accessd at databaseadvisors.com Subject: RE: [AccessD] I Need Some Ideas , I was hoping you were going to get a good chuckle out of that. Personally, I think that is one of the main factors why this list puts out good tips, and is so helpful to people. It's the 'chest pounding' factor. Whether we want to admit it or not, we'll fall all over each other trying to help someone because we want to show off a bit. This is one of the rare parts of our lives where people actually CAN appreciate how brilliant we all our.... ;) I tried explaining a process I was working on involving custom events and classes to a fellow computer geek, and I got the glassy eyed look of complete confusion. So to everyone on the list, we're all geniuses....so pat someone on the back when you can, and get ready to be patted yourself. Yes, to the rest of the world we're a bunch of 'nerds', but wear that label with pride. (a few tattoos and a decent weight training program will keep most of the 'nerd' remarks in check....) ;) Just keep in mind that while we all like to impress with our ideas, genius comes with a lot of prejudice, so the occasional bound/unbound, natural/surrogate key, and naming convention argument are simply a way of maintaining our individuality in the world of massive neuron flux. ;) Drew -----Original Message----- From: John W. Colby [mailto:jwcolby at colbyconsulting.com] Sent: Tuesday, August 16, 2005 4:26 PM To: 'Access Developers discussion and problem solving' Subject: RE: [AccessD] I Need Some Ideas ROTFLMAO. John W. Colby www.ColbyConsulting.com Contribute your unused CPU cycles to a good cause: http://folding.stanford.edu/ -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of DWUTKA at marlow.com Sent: Tuesday, August 16, 2005 4:00 PM To: accessd at databaseadvisors.com Subject: RE: [AccessD] I Need Some Ideas That's easy, and requires no code or special hardware. Just call up JC, and tell him that you don't think his framework would hand XYZ...and let him prove you wrong. When he has given you proof, thank him, tell him he's stellar, and a god among mortals, and walk away with completed JC Classes. Of course, the same method will work on me too.... Drew -----Original Message----- From: Joe Hecht [mailto:jmhecht at earthlink.net] Sent: Tuesday, August 16, 2005 2:45 PM To: 'Access Developers discussion and problem solving' Subject: RE: [AccessD] I Need Some Ideas Voice command app that would automatically write John Colby Classes and code for you. Joe Hecht Los Angeles CA -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd 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 Aug 17 11:32:36 2005 From: cfoust at infostatsystems.com (Charlotte Foust) Date: Wed, 17 Aug 2005 09:32:36 -0700 Subject: [AccessD] I Need Some Ideas Message-ID: Hah! More like a Freudian slip! LOL Charlotte Foust -----Original Message----- From: John W. Colby [mailto:jwcolby at colbyconsulting.com] Sent: Wednesday, August 17, 2005 9:12 AM To: 'Access Developers discussion and problem solving' Subject: RE: [AccessD] I Need Some Ideas LOL. Nope, typo. John W. Colby www.ColbyConsulting.com Contribute your unused CPU cycles to a good cause: http://folding.stanford.edu/ -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of DWUTKA at marlow.com Sent: Wednesday, August 17, 2005 11:08 AM To: accessd at databaseadvisors.com Subject: RE: [AccessD] I Need Some Ideas Since when did you become an unbounder? I'm a little shocked at that. I guess you finally came across to the dark side! ;) Drew -----Original Message----- From: John W. Colby [mailto:jwcolby at colbyconsulting.com] Sent: Tuesday, August 16, 2005 5:27 PM To: 'Access Developers discussion and problem solving' Subject: RE: [AccessD] I Need Some Ideas >so the occasional bound/unbound, natural/surrogate key, and naming convention argument are simply a way of maintaining our individuality in the world of massive neuron flux. ;) No, unbound forms and surrogate keys are just superior. ;-0 And of course anyone who doesn't use a naming convention, specifically MY naming convention is... a dolt. John W. Colby www.ColbyConsulting.com Contribute your unused CPU cycles to a good cause: http://folding.stanford.edu/ -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of DWUTKA at marlow.com Sent: Tuesday, August 16, 2005 5:37 PM To: accessd at databaseadvisors.com Subject: RE: [AccessD] I Need Some Ideas , I was hoping you were going to get a good chuckle out of that. Personally, I think that is one of the main factors why this list puts out good tips, and is so helpful to people. It's the 'chest pounding' factor. Whether we want to admit it or not, we'll fall all over each other trying to help someone because we want to show off a bit. This is one of the rare parts of our lives where people actually CAN appreciate how brilliant we all our.... ;) I tried explaining a process I was working on involving custom events and classes to a fellow computer geek, and I got the glassy eyed look of complete confusion. So to everyone on the list, we're all geniuses....so pat someone on the back when you can, and get ready to be patted yourself. Yes, to the rest of the world we're a bunch of 'nerds', but wear that label with pride. (a few tattoos and a decent weight training program will keep most of the 'nerd' remarks in check....) ;) Just keep in mind that while we all like to impress with our ideas, genius comes with a lot of prejudice, so the occasional bound/unbound, natural/surrogate key, and naming convention argument are simply a way of maintaining our individuality in the world of massive neuron flux. ;) Drew -----Original Message----- From: John W. Colby [mailto:jwcolby at colbyconsulting.com] Sent: Tuesday, August 16, 2005 4:26 PM To: 'Access Developers discussion and problem solving' Subject: RE: [AccessD] I Need Some Ideas ROTFLMAO. John W. Colby www.ColbyConsulting.com Contribute your unused CPU cycles to a good cause: http://folding.stanford.edu/ -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of DWUTKA at marlow.com Sent: Tuesday, August 16, 2005 4:00 PM To: accessd at databaseadvisors.com Subject: RE: [AccessD] I Need Some Ideas That's easy, and requires no code or special hardware. Just call up JC, and tell him that you don't think his framework would hand XYZ...and let him prove you wrong. When he has given you proof, thank him, tell him he's stellar, and a god among mortals, and walk away with completed JC Classes. Of course, the same method will work on me too.... Drew -----Original Message----- From: Joe Hecht [mailto:jmhecht at earthlink.net] Sent: Tuesday, August 16, 2005 2:45 PM To: 'Access Developers discussion and problem solving' Subject: RE: [AccessD] I Need Some Ideas Voice command app that would automatically write John Colby Classes and code for you. Joe Hecht Los Angeles CA -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From marklbreen at gmail.com Wed Aug 17 11:37:14 2005 From: marklbreen at gmail.com (Mark Breen) Date: Wed, 17 Aug 2005 17:37:14 +0100 Subject: [AccessD] How to Manage Maintenance Mode - Auto shutdown Message-ID: Hello Group, I have an app uses MS SQL 2000 Server as it's backend database. I want to run some maintenance routines on the db and they require that I switch the db into single user mode. This is easily done and once I have it in Single User Mode, it is easy to kick off the maintenance routines. My question is what ways you may have handled a polite automatic shutdown of the application in your worlds. Technically, I do not have to shut down my app, I could just break the connection to SQL server, but I think that I may as well shut down the entire app. I could use timers, and I could insert 'activity' updates and only shut down the FE app when the app is not being used. So for example, I could update a database field and when the field has not been used for more than 30 minutes I can assume that it is in-active. This would allow me to auto shut down the app, but I would like to leave some message behind me to let the user know where their app went rather than just killing it! I could also break the connection to the db, then display a message box saying the db has been shutdown and allow the user to click OK to continue. I am not seeking detailed technical help here, more philosophically how you guys handle this type of situation. Any thoughts or comments are appreciated, I hope you and your family are all well, Mark Breen From DWUTKA at marlow.com Wed Aug 17 11:38:42 2005 From: DWUTKA at marlow.com (DWUTKA at marlow.com) Date: Wed, 17 Aug 2005 11:38:42 -0500 Subject: [AccessD] I Need Some Ideas Message-ID: <123701F54509D9119A4F00D0B747349016DD5E@main2.marlow.com> Nope. Here's the scenario: Main Service (runs on any NT machine on the subnet...listens to whatever port you want to designate with UDP). Has a simple table with 'command' and 'return' values. An incoming 'command' is cross referenced to the 'return' values list and the return value is sent back. Control program. 'Finds' the Main Service and allows for changing the commands and returns. Added code for a project. Scans the subnet for the Main Service. Sends a designated command, and gets the return. Uses the return value to relink tables (or whatever else you want to do). Advantages. There doesn't have to be any hard reference at all. With UDP, that project I mentioned on the OT list scans our entire subnet is a split second. Not kidding, it looks instantaneous, but I'm sure it is closer to half a second. Our subnet was 255.255.254.0 (512 addresses), but a few weeks ago it shifted to 255.255.240.0 (4096 addresses), and there is no significant change in 'scan time'. The advantage of 'scanning' is that the Main Service could be placed on any machine, and moved at will. And the 'added code' portion to an Access project wouldn't care what subnet it's on, as long as it has the 'main service' in the same subnet. Practical example: Command: 'InventoryDBPath' Return: (At company 1):'\\SomeServer\SomeShare\AccessDB\Inventory.mdb' Return: (At Company 2):'T:\InventorySystem\Databases\Inventory.mdb' Return: (At Developer's site): 'D:\ProjectDatabases\Inventory\Inventory2a.mdb' Now, with the added code in the Front End .mdb, the exact same .mdb can be run in all three places, and the tables would be automatically relinked with no prompting for information. If a local site needs to move the database, simply copy it to the new location, 'update' the return value (using the control program), and the next time the front ends are started, they are linked to the new location. To show you the comm portion of this, I just whipped up two sample projects (a client and a server). You can download them at http://www.marlow.com/UDPTest.zip . A few things to note with these projects. UDP doesn't jive well on the same machine. So if you run the server and client on the same machine, you're not going to be able to send information through UDP. TCP to the rescue on that. You can trap the specific error when the client and server are on the same machine. So in this test project, if you run both .exe's on the same machine, it fails over to a TCP connection, which does the same thing as the UDP process. (The server .exe has a text box to put in sample data, and it sends the data to the client when 'asked'. Another thing to note, is that when you press the button on the client service, there are two 'issues'. One, for the sake of development speed, I have it build the subnet list when the button is pressed. So that is responsible for about half of the delay (depending on the size of your subnet). Here at work, we have 4096 addresses, so there is about a half a second delay in getting a response. The other half is scanning the subnet. The delay would be reduced to a quarter of a second if you built the subnet collection on load, which would speed up future 'scans'. The other issue is that with UDP, it is a connectionless protocol, and since it scans the entire subnet, if the server has multiple IP addresses, it would receive multiple return hits. To compensate, it only does something for the first 'hit'. Drew -----Original Message----- From: Bryan Carbonnell [mailto:carbonnb at sympatico.ca] Sent: Wednesday, August 17, 2005 8:25 AM To: Access Developers discussion and problem solving Subject: RE: [AccessD] I Need Some Ideas On 16 Aug 2005 at 11:29, DWUTKA at marlow.com wrote: > How about a master table-linker service? Create a service that can be > run on any machine in the network, which 'knows' the location of all > linked tables. One module in the database runs at startup, 'scans' > the network for the 'server' which tells it if it needs to relink it's > tables or not. Besides running as a service, how would that be much different from any of the other relinkers out there? Wouldn't something that scans the network put a heavy load on the network? -- Bryan Carbonnell - carbonnb at sympatico.ca If you're too open-minded, your brains will fall out. -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From DWUTKA at marlow.com Wed Aug 17 11:41:02 2005 From: DWUTKA at marlow.com (DWUTKA at marlow.com) Date: Wed, 17 Aug 2005 11:41:02 -0500 Subject: [AccessD] I Need Some Ideas Message-ID: <123701F54509D9119A4F00D0B747349016DD5F@main2.marlow.com> Oh, it has not only been archived, but I've alerted the local press.....it'll be on CNN as soon as they clean up the worm from their computers! ;) Drew -----Original Message----- From: Charlotte Foust [mailto:cfoust at infostatsystems.com] Sent: Wednesday, August 17, 2005 10:18 AM To: Access Developers discussion and problem solving Subject: RE: [AccessD] I Need Some Ideas Sssshhhh, Drew. Don't point that out and we'll have it to use as evidence the next time a bound/unbound battle rages. Charlotte Foust -----Original Message----- From: DWUTKA at marlow.com [mailto:DWUTKA at marlow.com] Sent: Wednesday, August 17, 2005 8:08 AM To: accessd at databaseadvisors.com Subject: RE: [AccessD] I Need Some Ideas Since when did you become an unbounder? I'm a little shocked at that. I guess you finally came across to the dark side! ;) Drew -----Original Message----- From: John W. Colby [mailto:jwcolby at colbyconsulting.com] Sent: Tuesday, August 16, 2005 5:27 PM To: 'Access Developers discussion and problem solving' Subject: RE: [AccessD] I Need Some Ideas >so the occasional bound/unbound, natural/surrogate key, and naming convention argument are simply a way of maintaining our individuality in the world of massive neuron flux. ;) No, unbound forms and surrogate keys are just superior. ;-0 And of course anyone who doesn't use a naming convention, specifically MY naming convention is... a dolt. John W. Colby www.ColbyConsulting.com Contribute your unused CPU cycles to a good cause: http://folding.stanford.edu/ -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of DWUTKA at marlow.com Sent: Tuesday, August 16, 2005 5:37 PM To: accessd at databaseadvisors.com Subject: RE: [AccessD] I Need Some Ideas , I was hoping you were going to get a good chuckle out of that. Personally, I think that is one of the main factors why this list puts out good tips, and is so helpful to people. It's the 'chest pounding' factor. Whether we want to admit it or not, we'll fall all over each other trying to help someone because we want to show off a bit. This is one of the rare parts of our lives where people actually CAN appreciate how brilliant we all our.... ;) I tried explaining a process I was working on involving custom events and classes to a fellow computer geek, and I got the glassy eyed look of complete confusion. So to everyone on the list, we're all geniuses....so pat someone on the back when you can, and get ready to be patted yourself. Yes, to the rest of the world we're a bunch of 'nerds', but wear that label with pride. (a few tattoos and a decent weight training program will keep most of the 'nerd' remarks in check....) ;) Just keep in mind that while we all like to impress with our ideas, genius comes with a lot of prejudice, so the occasional bound/unbound, natural/surrogate key, and naming convention argument are simply a way of maintaining our individuality in the world of massive neuron flux. ;) Drew -----Original Message----- From: John W. Colby [mailto:jwcolby at colbyconsulting.com] Sent: Tuesday, August 16, 2005 4:26 PM To: 'Access Developers discussion and problem solving' Subject: RE: [AccessD] I Need Some Ideas ROTFLMAO. John W. Colby www.ColbyConsulting.com Contribute your unused CPU cycles to a good cause: http://folding.stanford.edu/ -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of DWUTKA at marlow.com Sent: Tuesday, August 16, 2005 4:00 PM To: accessd at databaseadvisors.com Subject: RE: [AccessD] I Need Some Ideas That's easy, and requires no code or special hardware. Just call up JC, and tell him that you don't think his framework would hand XYZ...and let him prove you wrong. When he has given you proof, thank him, tell him he's stellar, and a god among mortals, and walk away with completed JC Classes. Of course, the same method will work on me too.... Drew -----Original Message----- From: Joe Hecht [mailto:jmhecht at earthlink.net] Sent: Tuesday, August 16, 2005 2:45 PM To: 'Access Developers discussion and problem solving' Subject: RE: [AccessD] I Need Some Ideas Voice command app that would automatically write John Colby Classes and code for you. Joe Hecht Los Angeles CA -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd 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 Aug 17 11:41:42 2005 From: DWUTKA at marlow.com (DWUTKA at marlow.com) Date: Wed, 17 Aug 2005 11:41:42 -0500 Subject: [AccessD] I Need Some Ideas Message-ID: <123701F54509D9119A4F00D0B747349016DD60@main2.marlow.com> I think it was a subconsious statement. Listen to your feelings Luke. ;) Drew -----Original Message----- From: John W. Colby [mailto:jwcolby at colbyconsulting.com] Sent: Wednesday, August 17, 2005 11:12 AM To: 'Access Developers discussion and problem solving' Subject: RE: [AccessD] I Need Some Ideas LOL. Nope, typo. John W. Colby www.ColbyConsulting.com Contribute your unused CPU cycles to a good cause: http://folding.stanford.edu/ -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of DWUTKA at marlow.com Sent: Wednesday, August 17, 2005 11:08 AM To: accessd at databaseadvisors.com Subject: RE: [AccessD] I Need Some Ideas Since when did you become an unbounder? I'm a little shocked at that. I guess you finally came across to the dark side! ;) Drew -----Original Message----- From: John W. Colby [mailto:jwcolby at colbyconsulting.com] Sent: Tuesday, August 16, 2005 5:27 PM To: 'Access Developers discussion and problem solving' Subject: RE: [AccessD] I Need Some Ideas >so the occasional bound/unbound, natural/surrogate key, and naming convention argument are simply a way of maintaining our individuality in the world of massive neuron flux. ;) No, unbound forms and surrogate keys are just superior. ;-0 And of course anyone who doesn't use a naming convention, specifically MY naming convention is... a dolt. John W. Colby www.ColbyConsulting.com Contribute your unused CPU cycles to a good cause: http://folding.stanford.edu/ -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of DWUTKA at marlow.com Sent: Tuesday, August 16, 2005 5:37 PM To: accessd at databaseadvisors.com Subject: RE: [AccessD] I Need Some Ideas , I was hoping you were going to get a good chuckle out of that. Personally, I think that is one of the main factors why this list puts out good tips, and is so helpful to people. It's the 'chest pounding' factor. Whether we want to admit it or not, we'll fall all over each other trying to help someone because we want to show off a bit. This is one of the rare parts of our lives where people actually CAN appreciate how brilliant we all our.... ;) I tried explaining a process I was working on involving custom events and classes to a fellow computer geek, and I got the glassy eyed look of complete confusion. So to everyone on the list, we're all geniuses....so pat someone on the back when you can, and get ready to be patted yourself. Yes, to the rest of the world we're a bunch of 'nerds', but wear that label with pride. (a few tattoos and a decent weight training program will keep most of the 'nerd' remarks in check....) ;) Just keep in mind that while we all like to impress with our ideas, genius comes with a lot of prejudice, so the occasional bound/unbound, natural/surrogate key, and naming convention argument are simply a way of maintaining our individuality in the world of massive neuron flux. ;) Drew -----Original Message----- From: John W. Colby [mailto:jwcolby at colbyconsulting.com] Sent: Tuesday, August 16, 2005 4:26 PM To: 'Access Developers discussion and problem solving' Subject: RE: [AccessD] I Need Some Ideas ROTFLMAO. John W. Colby www.ColbyConsulting.com Contribute your unused CPU cycles to a good cause: http://folding.stanford.edu/ -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of DWUTKA at marlow.com Sent: Tuesday, August 16, 2005 4:00 PM To: accessd at databaseadvisors.com Subject: RE: [AccessD] I Need Some Ideas That's easy, and requires no code or special hardware. Just call up JC, and tell him that you don't think his framework would hand XYZ...and let him prove you wrong. When he has given you proof, thank him, tell him he's stellar, and a god among mortals, and walk away with completed JC Classes. Of course, the same method will work on me too.... Drew -----Original Message----- From: Joe Hecht [mailto:jmhecht at earthlink.net] Sent: Tuesday, August 16, 2005 2:45 PM To: 'Access Developers discussion and problem solving' Subject: RE: [AccessD] I Need Some Ideas Voice command app that would automatically write John Colby Classes and code for you. Joe Hecht Los Angeles CA -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From jwcolby at colbyconsulting.com Wed Aug 17 11:58:08 2005 From: jwcolby at colbyconsulting.com (John W. Colby) Date: Wed, 17 Aug 2005 12:58:08 -0400 Subject: [AccessD] I Need Some Ideas In-Reply-To: <123701F54509D9119A4F00D0B747349016DD60@main2.marlow.com> Message-ID: <00bd01c5a34c$d7e135f0$6c7aa8c0@ColbyM6805> ROTFL. I thought I was the master. John W. Colby www.ColbyConsulting.com Contribute your unused CPU cycles to a good cause: http://folding.stanford.edu/ -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of DWUTKA at marlow.com Sent: Wednesday, August 17, 2005 12:42 PM To: accessd at databaseadvisors.com Subject: RE: [AccessD] I Need Some Ideas I think it was a subconsious statement. Listen to your feelings Luke. ;) Drew -----Original Message----- From: John W. Colby [mailto:jwcolby at colbyconsulting.com] Sent: Wednesday, August 17, 2005 11:12 AM To: 'Access Developers discussion and problem solving' Subject: RE: [AccessD] I Need Some Ideas LOL. Nope, typo. John W. Colby www.ColbyConsulting.com Contribute your unused CPU cycles to a good cause: http://folding.stanford.edu/ From cfoust at infostatsystems.com Wed Aug 17 12:00:20 2005 From: cfoust at infostatsystems.com (Charlotte Foust) Date: Wed, 17 Aug 2005 10:00:20 -0700 Subject: [AccessD] How to Manage Maintenance Mode - Auto shutdown Message-ID: We generally don't have polite automatic shutdowns, since our software could run for hours waiting for someone to finish a task and enter the data associated with it. If we have something along those lines (or we need to compact/repair the front end) we set normally up the code to run when it can get an exclusive lock on the database. That just means that when it thinks it should do this, as when the user is closing down, it checks to see whether it can. The same checks will happen on any machine, so the last one to close down wins the prize of running the maintenance routines. What specific kinds of maintenance were you going to run? Charlotte Foust -----Original Message----- From: Mark Breen [mailto:marklbreen at gmail.com] Sent: Wednesday, August 17, 2005 9:37 AM To: accessd at databaseadvisors.com Subject: [AccessD] How to Manage Maintenance Mode - Auto shutdown Hello Group, I have an app uses MS SQL 2000 Server as it's backend database. I want to run some maintenance routines on the db and they require that I switch the db into single user mode. This is easily done and once I have it in Single User Mode, it is easy to kick off the maintenance routines. My question is what ways you may have handled a polite automatic shutdown of the application in your worlds. Technically, I do not have to shut down my app, I could just break the connection to SQL server, but I think that I may as well shut down the entire app. I could use timers, and I could insert 'activity' updates and only shut down the FE app when the app is not being used. So for example, I could update a database field and when the field has not been used for more than 30 minutes I can assume that it is in-active. This would allow me to auto shut down the app, but I would like to leave some message behind me to let the user know where their app went rather than just killing it! I could also break the connection to the db, then display a message box saying the db has been shutdown and allow the user to click OK to continue. I am not seeking detailed technical help here, more philosophically how you guys handle this type of situation. Any thoughts or comments are appreciated, I hope you and your family are all well, Mark Breen -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From cfoust at infostatsystems.com Wed Aug 17 12:01:23 2005 From: cfoust at infostatsystems.com (Charlotte Foust) Date: Wed, 17 Aug 2005 10:01:23 -0700 Subject: [AccessD] I Need Some Ideas Message-ID: Pride goeth before the fall. Charlotte Foust -----Original Message----- From: John W. Colby [mailto:jwcolby at colbyconsulting.com] Sent: Wednesday, August 17, 2005 9:58 AM To: 'Access Developers discussion and problem solving' Subject: RE: [AccessD] I Need Some Ideas ROTFL. I thought I was the master. John W. Colby www.ColbyConsulting.com Contribute your unused CPU cycles to a good cause: http://folding.stanford.edu/ -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of DWUTKA at marlow.com Sent: Wednesday, August 17, 2005 12:42 PM To: accessd at databaseadvisors.com Subject: RE: [AccessD] I Need Some Ideas I think it was a subconsious statement. Listen to your feelings Luke. ;) Drew -----Original Message----- From: John W. Colby [mailto:jwcolby at colbyconsulting.com] Sent: Wednesday, August 17, 2005 11:12 AM To: 'Access Developers discussion and problem solving' Subject: RE: [AccessD] I Need Some Ideas LOL. Nope, typo. John W. Colby www.ColbyConsulting.com Contribute your unused CPU cycles to a good cause: http://folding.stanford.edu/ -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From jwcolby at colbyconsulting.com Wed Aug 17 12:13:22 2005 From: jwcolby at colbyconsulting.com (John W. Colby) Date: Wed, 17 Aug 2005 13:13:22 -0400 Subject: [AccessD] How to Manage Maintenance Mode - Auto shutdown In-Reply-To: Message-ID: <00c301c5a34e$fb7eb990$6c7aa8c0@ColbyM6805> The problem with that method is that if anyone leaves their FE open overnight (always on) the task can never run. The only alternative that I know of is to have a form always open in every FE, running a timer. The timer tick can do one of several things, including just checking a table for a shutdown flag and informing the user that a shutdown will occur etc. In the end though the form and its timer has to do the shutdown. John W. Colby www.ColbyConsulting.com Contribute your unused CPU cycles to a good cause: http://folding.stanford.edu/ -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Charlotte Foust Sent: Wednesday, August 17, 2005 1:00 PM To: Access Developers discussion and problem solving Subject: RE: [AccessD] How to Manage Maintenance Mode - Auto shutdown We generally don't have polite automatic shutdowns, since our software could run for hours waiting for someone to finish a task and enter the data associated with it. If we have something along those lines (or we need to compact/repair the front end) we set normally up the code to run when it can get an exclusive lock on the database. That just means that when it thinks it should do this, as when the user is closing down, it checks to see whether it can. The same checks will happen on any machine, so the last one to close down wins the prize of running the maintenance routines. What specific kinds of maintenance were you going to run? Charlotte Foust -----Original Message----- From: Mark Breen [mailto:marklbreen at gmail.com] Sent: Wednesday, August 17, 2005 9:37 AM To: accessd at databaseadvisors.com Subject: [AccessD] How to Manage Maintenance Mode - Auto shutdown Hello Group, I have an app uses MS SQL 2000 Server as it's backend database. I want to run some maintenance routines on the db and they require that I switch the db into single user mode. This is easily done and once I have it in Single User Mode, it is easy to kick off the maintenance routines. My question is what ways you may have handled a polite automatic shutdown of the application in your worlds. Technically, I do not have to shut down my app, I could just break the connection to SQL server, but I think that I may as well shut down the entire app. I could use timers, and I could insert 'activity' updates and only shut down the FE app when the app is not being used. So for example, I could update a database field and when the field has not been used for more than 30 minutes I can assume that it is in-active. This would allow me to auto shut down the app, but I would like to leave some message behind me to let the user know where their app went rather than just killing it! I could also break the connection to the db, then display a message box saying the db has been shutdown and allow the user to click OK to continue. I am not seeking detailed technical help here, more philosophically how you guys handle this type of situation. Any thoughts or comments are appreciated, I hope you and your family are all well, Mark Breen -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd 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 Wed Aug 17 12:18:02 2005 From: Lambert.Heenan at AIG.com (Heenan, Lambert) Date: Wed, 17 Aug 2005 13:18:02 -0400 Subject: [AccessD] How to Manage Maintenance Mode - Auto shutdown Message-ID: <1D7828CDB8350747AFE9D69E0E90DA1F1484B89C@xlivmbx21.aig.com> Go here to get the code to perform an automated shutdown. http://support.microsoft.com/default.aspx?scid=kb;en-us;304408 The code used is dependant on a form timer, and only looks for inactivity. But it is very simple to modify it to also check a flag value in a table periodically to see if the app. is being forced to close by the administrator. I use this method all the time. Lambert -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Mark Breen Sent: Wednesday, August 17, 2005 12:37 PM To: accessd at databaseadvisors.com Subject: [AccessD] How to Manage Maintenance Mode - Auto shutdown Hello Group, I have an app uses MS SQL 2000 Server as it's backend database. I want to run some maintenance routines on the db and they require that I switch the db into single user mode. This is easily done and once I have it in Single User Mode, it is easy to kick off the maintenance routines. My question is what ways you may have handled a polite automatic shutdown of the application in your worlds. Technically, I do not have to shut down my app, I could just break the connection to SQL server, but I think that I may as well shut down the entire app. I could use timers, and I could insert 'activity' updates and only shut down the FE app when the app is not being used. So for example, I could update a database field and when the field has not been used for more than 30 minutes I can assume that it is in-active. This would allow me to auto shut down the app, but I would like to leave some message behind me to let the user know where their app went rather than just killing it! I could also break the connection to the db, then display a message box saying the db has been shutdown and allow the user to click OK to continue. I am not seeking detailed technical help here, more philosophically how you guys handle this type of situation. Any thoughts or comments are appreciated, I hope you and your family are all well, Mark Breen -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From DWUTKA at marlow.com Wed Aug 17 12:30:23 2005 From: DWUTKA at marlow.com (DWUTKA at marlow.com) Date: Wed, 17 Aug 2005 12:30:23 -0500 Subject: [AccessD] I Need Some Ideas Message-ID: <123701F54509D9119A4F00D0B747349016DD62@main2.marlow.com> Man, there are so many ways I could reply to this, and I haven't come up with a single one that won't get me in trouble! Drew -----Original Message----- From: John W. Colby [mailto:jwcolby at colbyconsulting.com] Sent: Wednesday, August 17, 2005 11:58 AM To: 'Access Developers discussion and problem solving' Subject: RE: [AccessD] I Need Some Ideas ROTFL. I thought I was the master. John W. Colby www.ColbyConsulting.com Contribute your unused CPU cycles to a good cause: http://folding.stanford.edu/ -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of DWUTKA at marlow.com Sent: Wednesday, August 17, 2005 12:42 PM To: accessd at databaseadvisors.com Subject: RE: [AccessD] I Need Some Ideas I think it was a subconsious statement. Listen to your feelings Luke. ;) Drew -----Original Message----- From: John W. Colby [mailto:jwcolby at colbyconsulting.com] Sent: Wednesday, August 17, 2005 11:12 AM To: 'Access Developers discussion and problem solving' Subject: RE: [AccessD] I Need Some Ideas LOL. Nope, typo. John W. Colby www.ColbyConsulting.com Contribute your unused CPU cycles to a good cause: http://folding.stanford.edu/ -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From DWUTKA at marlow.com Wed Aug 17 12:32:13 2005 From: DWUTKA at marlow.com (DWUTKA at marlow.com) Date: Wed, 17 Aug 2005 12:32:13 -0500 Subject: [AccessD] How to Manage Maintenance Mode - Auto shutdown Message-ID: <123701F54509D9119A4F00D0B747349016DD63@main2.marlow.com> Actually, with the UDP comm stuff I am talking about in the 'I Need Some Ideas' thread, a listening with UDP to a specific port would provide a way to 'shutdown' remote FE's relatively instantenously, from a central point. Drew -----Original Message----- From: John W. Colby [mailto:jwcolby at colbyconsulting.com] Sent: Wednesday, August 17, 2005 12:13 PM To: 'Access Developers discussion and problem solving' Subject: RE: [AccessD] How to Manage Maintenance Mode - Auto shutdown The problem with that method is that if anyone leaves their FE open overnight (always on) the task can never run. The only alternative that I know of is to have a form always open in every FE, running a timer. The timer tick can do one of several things, including just checking a table for a shutdown flag and informing the user that a shutdown will occur etc. In the end though the form and its timer has to do the shutdown. John W. Colby www.ColbyConsulting.com Contribute your unused CPU cycles to a good cause: http://folding.stanford.edu/ -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Charlotte Foust Sent: Wednesday, August 17, 2005 1:00 PM To: Access Developers discussion and problem solving Subject: RE: [AccessD] How to Manage Maintenance Mode - Auto shutdown We generally don't have polite automatic shutdowns, since our software could run for hours waiting for someone to finish a task and enter the data associated with it. If we have something along those lines (or we need to compact/repair the front end) we set normally up the code to run when it can get an exclusive lock on the database. That just means that when it thinks it should do this, as when the user is closing down, it checks to see whether it can. The same checks will happen on any machine, so the last one to close down wins the prize of running the maintenance routines. What specific kinds of maintenance were you going to run? Charlotte Foust -----Original Message----- From: Mark Breen [mailto:marklbreen at gmail.com] Sent: Wednesday, August 17, 2005 9:37 AM To: accessd at databaseadvisors.com Subject: [AccessD] How to Manage Maintenance Mode - Auto shutdown Hello Group, I have an app uses MS SQL 2000 Server as it's backend database. I want to run some maintenance routines on the db and they require that I switch the db into single user mode. This is easily done and once I have it in Single User Mode, it is easy to kick off the maintenance routines. My question is what ways you may have handled a polite automatic shutdown of the application in your worlds. Technically, I do not have to shut down my app, I could just break the connection to SQL server, but I think that I may as well shut down the entire app. I could use timers, and I could insert 'activity' updates and only shut down the FE app when the app is not being used. So for example, I could update a database field and when the field has not been used for more than 30 minutes I can assume that it is in-active. This would allow me to auto shut down the app, but I would like to leave some message behind me to let the user know where their app went rather than just killing it! I could also break the connection to the db, then display a message box saying the db has been shutdown and allow the user to click OK to continue. I am not seeking detailed technical help here, more philosophically how you guys handle this type of situation. Any thoughts or comments are appreciated, I hope you and your family are all well, Mark Breen -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From jwcolby at colbyconsulting.com Wed Aug 17 12:44:25 2005 From: jwcolby at colbyconsulting.com (John W. Colby) Date: Wed, 17 Aug 2005 13:44:25 -0400 Subject: [AccessD] How to Manage Maintenance Mode - Auto shutdown In-Reply-To: <123701F54509D9119A4F00D0B747349016DD63@main2.marlow.com> Message-ID: <00cd01c5a353$4f07ee20$6c7aa8c0@ColbyM6805> Woa, talk to me. A dll or something which sources events, which can be sunk by a class in the FE? I am in need of something non-timer related. Timers just suck in Access. John W. Colby www.ColbyConsulting.com Contribute your unused CPU cycles to a good cause: http://folding.stanford.edu/ -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of DWUTKA at marlow.com Sent: Wednesday, August 17, 2005 1:32 PM To: accessd at databaseadvisors.com Subject: RE: [AccessD] How to Manage Maintenance Mode - Auto shutdown Actually, with the UDP comm stuff I am talking about in the 'I Need Some Ideas' thread, a listening with UDP to a specific port would provide a way to 'shutdown' remote FE's relatively instantenously, from a central point. Drew -----Original Message----- From: John W. Colby [mailto:jwcolby at colbyconsulting.com] Sent: Wednesday, August 17, 2005 12:13 PM To: 'Access Developers discussion and problem solving' Subject: RE: [AccessD] How to Manage Maintenance Mode - Auto shutdown The problem with that method is that if anyone leaves their FE open overnight (always on) the task can never run. The only alternative that I know of is to have a form always open in every FE, running a timer. The timer tick can do one of several things, including just checking a table for a shutdown flag and informing the user that a shutdown will occur etc. In the end though the form and its timer has to do the shutdown. John W. Colby www.ColbyConsulting.com Contribute your unused CPU cycles to a good cause: http://folding.stanford.edu/ -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Charlotte Foust Sent: Wednesday, August 17, 2005 1:00 PM To: Access Developers discussion and problem solving Subject: RE: [AccessD] How to Manage Maintenance Mode - Auto shutdown We generally don't have polite automatic shutdowns, since our software could run for hours waiting for someone to finish a task and enter the data associated with it. If we have something along those lines (or we need to compact/repair the front end) we set normally up the code to run when it can get an exclusive lock on the database. That just means that when it thinks it should do this, as when the user is closing down, it checks to see whether it can. The same checks will happen on any machine, so the last one to close down wins the prize of running the maintenance routines. What specific kinds of maintenance were you going to run? Charlotte Foust -----Original Message----- From: Mark Breen [mailto:marklbreen at gmail.com] Sent: Wednesday, August 17, 2005 9:37 AM To: accessd at databaseadvisors.com Subject: [AccessD] How to Manage Maintenance Mode - Auto shutdown Hello Group, I have an app uses MS SQL 2000 Server as it's backend database. I want to run some maintenance routines on the db and they require that I switch the db into single user mode. This is easily done and once I have it in Single User Mode, it is easy to kick off the maintenance routines. My question is what ways you may have handled a polite automatic shutdown of the application in your worlds. Technically, I do not have to shut down my app, I could just break the connection to SQL server, but I think that I may as well shut down the entire app. I could use timers, and I could insert 'activity' updates and only shut down the FE app when the app is not being used. So for example, I could update a database field and when the field has not been used for more than 30 minutes I can assume that it is in-active. This would allow me to auto shut down the app, but I would like to leave some message behind me to let the user know where their app went rather than just killing it! I could also break the connection to the db, then display a message box saying the db has been shutdown and allow the user to click OK to continue. I am not seeking detailed technical help here, more philosophically how you guys handle this type of situation. Any thoughts or comments are appreciated, I hope you and your family are all well, Mark Breen -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd 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 Aug 17 13:07:40 2005 From: DWUTKA at marlow.com (DWUTKA at marlow.com) Date: Wed, 17 Aug 2005 13:07:40 -0500 Subject: [AccessD] How to Manage Maintenance Mode - Auto shutdown Message-ID: <123701F54509D9119A4F00D0B747349016DD65@main2.marlow.com> download the demo I whipped up this morning. http://www.marlow.com/UDPTest.zip it's a VB project. Actually 2. Ones a client, ones a server. In the other thread, I was discussing that you could set up a VB NT Service as the 'server', and the Front End's as the 'clients'. The Front Ends can then query the server (with no hard link, the code I have in the demo 'scans' the entire subnet/LAN in a split second, and receives the response if there is an active 'server'. I suggested using this as a table linker, where the 'server' has a list of database paths, and with the correct 'prompt' from the client, it would return the correct path for that network. If you use this process in reverse, making the Front End's the 'server' (so you would have multiple servers, with one client), and make a 'control client', you could send out (from the client) a message that the servers would receive, and deal with as you wish. ie, 'ShutDownNow' or 'AskToShutDown', or 'AreYouActive'. The message would simply be sent out, and the online clients could then react to the message. No timer. Now, as an FYI, the VB projects I have in there use the Winsock OCX. For me, that is no issue at all, since I have a VB program installed on all client machines here, which uses it, so it's registered on every machine we setup here. However, I know in the pure Access world, OCX's are sometimes frowned upon due to their requirement to be set up on client machines they don't exist on. Winsock code can be done strictly through API's though, which eliminates the need for the Winsock OCX. However, and this is the catch with Access, the API's for window's sockets use the Window Messaging queue for receiving data from TCP/IP comms. To do that, you have to use callback functions. (when you subclass a form/window, to put it in the system tray, you use the windows messaging callback to determine what is happening to the icon in the system tray). Callbacks in Access 2000 and up (not sure if it is fixed in later versions of Access, I know 97 is fine, and 2000 is not, so I'm not sure if 2002 or 2003 work correctly or not....) make development a little quirky. In a finished state, there is nothing wrong. However, if a callback procedure is 'hooked', and you go into debug mode with the VBA code, you'll lock up Access 2000 (again, don't know if this is fixed with later versions). Drew -----Original Message----- From: John W. Colby [mailto:jwcolby at colbyconsulting.com] Sent: Wednesday, August 17, 2005 12:44 PM To: 'Access Developers discussion and problem solving' Subject: RE: [AccessD] How to Manage Maintenance Mode - Auto shutdown Woa, talk to me. A dll or something which sources events, which can be sunk by a class in the FE? I am in need of something non-timer related. Timers just suck in Access. John W. Colby www.ColbyConsulting.com Contribute your unused CPU cycles to a good cause: http://folding.stanford.edu/ -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of DWUTKA at marlow.com Sent: Wednesday, August 17, 2005 1:32 PM To: accessd at databaseadvisors.com Subject: RE: [AccessD] How to Manage Maintenance Mode - Auto shutdown Actually, with the UDP comm stuff I am talking about in the 'I Need Some Ideas' thread, a listening with UDP to a specific port would provide a way to 'shutdown' remote FE's relatively instantenously, from a central point. Drew -----Original Message----- From: John W. Colby [mailto:jwcolby at colbyconsulting.com] Sent: Wednesday, August 17, 2005 12:13 PM To: 'Access Developers discussion and problem solving' Subject: RE: [AccessD] How to Manage Maintenance Mode - Auto shutdown The problem with that method is that if anyone leaves their FE open overnight (always on) the task can never run. The only alternative that I know of is to have a form always open in every FE, running a timer. The timer tick can do one of several things, including just checking a table for a shutdown flag and informing the user that a shutdown will occur etc. In the end though the form and its timer has to do the shutdown. John W. Colby www.ColbyConsulting.com Contribute your unused CPU cycles to a good cause: http://folding.stanford.edu/ -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Charlotte Foust Sent: Wednesday, August 17, 2005 1:00 PM To: Access Developers discussion and problem solving Subject: RE: [AccessD] How to Manage Maintenance Mode - Auto shutdown We generally don't have polite automatic shutdowns, since our software could run for hours waiting for someone to finish a task and enter the data associated with it. If we have something along those lines (or we need to compact/repair the front end) we set normally up the code to run when it can get an exclusive lock on the database. That just means that when it thinks it should do this, as when the user is closing down, it checks to see whether it can. The same checks will happen on any machine, so the last one to close down wins the prize of running the maintenance routines. What specific kinds of maintenance were you going to run? Charlotte Foust -----Original Message----- From: Mark Breen [mailto:marklbreen at gmail.com] Sent: Wednesday, August 17, 2005 9:37 AM To: accessd at databaseadvisors.com Subject: [AccessD] How to Manage Maintenance Mode - Auto shutdown Hello Group, I have an app uses MS SQL 2000 Server as it's backend database. I want to run some maintenance routines on the db and they require that I switch the db into single user mode. This is easily done and once I have it in Single User Mode, it is easy to kick off the maintenance routines. My question is what ways you may have handled a polite automatic shutdown of the application in your worlds. Technically, I do not have to shut down my app, I could just break the connection to SQL server, but I think that I may as well shut down the entire app. I could use timers, and I could insert 'activity' updates and only shut down the FE app when the app is not being used. So for example, I could update a database field and when the field has not been used for more than 30 minutes I can assume that it is in-active. This would allow me to auto shut down the app, but I would like to leave some message behind me to let the user know where their app went rather than just killing it! I could also break the connection to the db, then display a message box saying the db has been shutdown and allow the user to click OK to continue. I am not seeking detailed technical help here, more philosophically how you guys handle this type of situation. Any thoughts or comments are appreciated, I hope you and your family are all well, Mark Breen -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd 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 Aug 17 13:56:28 2005 From: cfoust at infostatsystems.com (Charlotte Foust) Date: Wed, 17 Aug 2005 11:56:28 -0700 Subject: [AccessD] How to Manage Maintenance Mode - Auto shutdown Message-ID: True, but since drilling rigs usually have only one or possibly two laptops running our software, and since the laptops are somewhat associated with the shift, it doesn't work that way for us. My point was that it isn't an issue for everyone. We make that a procedural issue for our clients rather than trying to outwit them. Charlotte Foust -----Original Message----- From: John W. Colby [mailto:jwcolby at colbyconsulting.com] Sent: Wednesday, August 17, 2005 10:13 AM To: 'Access Developers discussion and problem solving' Subject: RE: [AccessD] How to Manage Maintenance Mode - Auto shutdown The problem with that method is that if anyone leaves their FE open overnight (always on) the task can never run. The only alternative that I know of is to have a form always open in every FE, running a timer. The timer tick can do one of several things, including just checking a table for a shutdown flag and informing the user that a shutdown will occur etc. In the end though the form and its timer has to do the shutdown. John W. Colby www.ColbyConsulting.com Contribute your unused CPU cycles to a good cause: http://folding.stanford.edu/ -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Charlotte Foust Sent: Wednesday, August 17, 2005 1:00 PM To: Access Developers discussion and problem solving Subject: RE: [AccessD] How to Manage Maintenance Mode - Auto shutdown We generally don't have polite automatic shutdowns, since our software could run for hours waiting for someone to finish a task and enter the data associated with it. If we have something along those lines (or we need to compact/repair the front end) we set normally up the code to run when it can get an exclusive lock on the database. That just means that when it thinks it should do this, as when the user is closing down, it checks to see whether it can. The same checks will happen on any machine, so the last one to close down wins the prize of running the maintenance routines. What specific kinds of maintenance were you going to run? Charlotte Foust -----Original Message----- From: Mark Breen [mailto:marklbreen at gmail.com] Sent: Wednesday, August 17, 2005 9:37 AM To: accessd at databaseadvisors.com Subject: [AccessD] How to Manage Maintenance Mode - Auto shutdown Hello Group, I have an app uses MS SQL 2000 Server as it's backend database. I want to run some maintenance routines on the db and they require that I switch the db into single user mode. This is easily done and once I have it in Single User Mode, it is easy to kick off the maintenance routines. My question is what ways you may have handled a polite automatic shutdown of the application in your worlds. Technically, I do not have to shut down my app, I could just break the connection to SQL server, but I think that I may as well shut down the entire app. I could use timers, and I could insert 'activity' updates and only shut down the FE app when the app is not being used. So for example, I could update a database field and when the field has not been used for more than 30 minutes I can assume that it is in-active. This would allow me to auto shut down the app, but I would like to leave some message behind me to let the user know where their app went rather than just killing it! I could also break the connection to the db, then display a message box saying the db has been shutdown and allow the user to click OK to continue. I am not seeking detailed technical help here, more philosophically how you guys handle this type of situation. Any thoughts or comments are appreciated, I hope you and your family are all well, Mark Breen -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From jwcolby at colbyconsulting.com Wed Aug 17 14:06:07 2005 From: jwcolby at colbyconsulting.com (John W. Colby) Date: Wed, 17 Aug 2005 15:06:07 -0400 Subject: [AccessD] How to Manage Maintenance Mode - Auto shutdown In-Reply-To: Message-ID: <00df01c5a35e$bc385970$6c7aa8c0@ColbyM6805> I understand. Unfortunately as the number of users goes up, the ability to get 100% compliance goes down. John W. Colby www.ColbyConsulting.com Contribute your unused CPU cycles to a good cause: http://folding.stanford.edu/ -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Charlotte Foust Sent: Wednesday, August 17, 2005 2:56 PM To: Access Developers discussion and problem solving Subject: RE: [AccessD] How to Manage Maintenance Mode - Auto shutdown True, but since drilling rigs usually have only one or possibly two laptops running our software, and since the laptops are somewhat associated with the shift, it doesn't work that way for us. My point was that it isn't an issue for everyone. We make that a procedural issue for our clients rather than trying to outwit them. Charlotte Foust -----Original Message----- From: John W. Colby [mailto:jwcolby at colbyconsulting.com] Sent: Wednesday, August 17, 2005 10:13 AM To: 'Access Developers discussion and problem solving' Subject: RE: [AccessD] How to Manage Maintenance Mode - Auto shutdown The problem with that method is that if anyone leaves their FE open overnight (always on) the task can never run. The only alternative that I know of is to have a form always open in every FE, running a timer. The timer tick can do one of several things, including just checking a table for a shutdown flag and informing the user that a shutdown will occur etc. In the end though the form and its timer has to do the shutdown. John W. Colby www.ColbyConsulting.com Contribute your unused CPU cycles to a good cause: http://folding.stanford.edu/ -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Charlotte Foust Sent: Wednesday, August 17, 2005 1:00 PM To: Access Developers discussion and problem solving Subject: RE: [AccessD] How to Manage Maintenance Mode - Auto shutdown We generally don't have polite automatic shutdowns, since our software could run for hours waiting for someone to finish a task and enter the data associated with it. If we have something along those lines (or we need to compact/repair the front end) we set normally up the code to run when it can get an exclusive lock on the database. That just means that when it thinks it should do this, as when the user is closing down, it checks to see whether it can. The same checks will happen on any machine, so the last one to close down wins the prize of running the maintenance routines. What specific kinds of maintenance were you going to run? Charlotte Foust -----Original Message----- From: Mark Breen [mailto:marklbreen at gmail.com] Sent: Wednesday, August 17, 2005 9:37 AM To: accessd at databaseadvisors.com Subject: [AccessD] How to Manage Maintenance Mode - Auto shutdown Hello Group, I have an app uses MS SQL 2000 Server as it's backend database. I want to run some maintenance routines on the db and they require that I switch the db into single user mode. This is easily done and once I have it in Single User Mode, it is easy to kick off the maintenance routines. My question is what ways you may have handled a polite automatic shutdown of the application in your worlds. Technically, I do not have to shut down my app, I could just break the connection to SQL server, but I think that I may as well shut down the entire app. I could use timers, and I could insert 'activity' updates and only shut down the FE app when the app is not being used. So for example, I could update a database field and when the field has not been used for more than 30 minutes I can assume that it is in-active. This would allow me to auto shut down the app, but I would like to leave some message behind me to let the user know where their app went rather than just killing it! I could also break the connection to the db, then display a message box saying the db has been shutdown and allow the user to click OK to continue. I am not seeking detailed technical help here, more philosophically how you guys handle this type of situation. Any thoughts or comments are appreciated, I hope you and your family are all well, Mark Breen -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From dwaters at usinternet.com Wed Aug 17 14:37:13 2005 From: dwaters at usinternet.com (Dan Waters) Date: Wed, 17 Aug 2005 14:37:13 -0500 Subject: [AccessD] How to Manage Maintenance Mode - Auto shutdown In-Reply-To: <23347901.1124298423851.JavaMail.root@sniper21> Message-ID: <001301c5a363$12f6c860$0300a8c0@danwaters> I've done this for several years and it works very well. The user gets a five-minute warning (fine in this app), their data is saved due to a 120 second refresh rate, and no complaints. This being a form timer in Access doesn't really matter. If it's 5 minutes +/- 30 seconds, users won't know or care. Also, my db will pop up a form on the admin's PC to let them know when everyone is logged out (and this is just a counted 7 minutes after the shutdown sequence). Dan Waters -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Heenan, Lambert Sent: Wednesday, August 17, 2005 12:18 PM To: 'Access Developers discussion and problem solving' Cc: 'Mark Breen' Subject: RE: [AccessD] How to Manage Maintenance Mode - Auto shutdown Go here to get the code to perform an automated shutdown. http://support.microsoft.com/default.aspx?scid=kb;en-us;304408 The code used is dependant on a form timer, and only looks for inactivity. But it is very simple to modify it to also check a flag value in a table periodically to see if the app. is being forced to close by the administrator. I use this method all the time. Lambert -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Mark Breen Sent: Wednesday, August 17, 2005 12:37 PM To: accessd at databaseadvisors.com Subject: [AccessD] How to Manage Maintenance Mode - Auto shutdown Hello Group, I have an app uses MS SQL 2000 Server as it's backend database. I want to run some maintenance routines on the db and they require that I switch the db into single user mode. This is easily done and once I have it in Single User Mode, it is easy to kick off the maintenance routines. My question is what ways you may have handled a polite automatic shutdown of the application in your worlds. Technically, I do not have to shut down my app, I could just break the connection to SQL server, but I think that I may as well shut down the entire app. I could use timers, and I could insert 'activity' updates and only shut down the FE app when the app is not being used. So for example, I could update a database field and when the field has not been used for more than 30 minutes I can assume that it is in-active. This would allow me to auto shut down the app, but I would like to leave some message behind me to let the user know where their app went rather than just killing it! I could also break the connection to the db, then display a message box saying the db has been shutdown and allow the user to click OK to continue. I am not seeking detailed technical help here, more philosophically how you guys handle this type of situation. Any thoughts or comments are appreciated, I hope you and your family are all well, Mark Breen -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd 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 Aug 17 15:18:28 2005 From: DWUTKA at marlow.com (DWUTKA at marlow.com) Date: Wed, 17 Aug 2005 15:18:28 -0500 Subject: [AccessD] Force Remote Shutdown Instantly! No timers (sort of) WAS:RE: [Ac cessD] How to Manage Maintenance Mode - Auto shutdown Message-ID: <123701F54509D9119A4F00D0B747349016DD66@main2.marlow.com> Okay, JC asked about using UDP in reverse. Since I don't know how experienced ya'all are with winsocks and TCP/IP communications, I decided to whip something up. http://www.marlow.com/RemoteShutdown.zip Here's how this works. Inside that zip you'll find an Access 2000 database with one form and an AutoExec macro (sorry, not writing complete startup code just for a sample). The AutoExec opens frmUDPServer 'hidden'. That form just sits there, and does absolutely nothing, until UDP comms come into port 9999. When the comms come in, there are three options, it will either directly shutdown (docmd.Quit), it will display itself and give the user 10 seconds to cancel the shutdown (that is why this uses a timer, the timer event only starts running during the 'prompted shutdown'), or it will display a message (msgbox). Also, inside the zip, you'll fine testclient.exe (along with the VB source code for that .exe). When you run that, you'll find that a textbox, listbox, and three command buttons. The three buttons do what they say. Click Shutdown Clients, and ALL Access sessions on your network, that have frmUDPServer running in the background will close. Click 'Ask To Shutdown', and ALL Access sessions with frmUDPServer running in the background will now display frmUDPServer, and give the user 10 seconds to cancel the shutdown. Click 'Send Message To Clients', and a msgbox will appear on all of the same machines with the text of what is in the 'Data To Send' labeled textbox. A few special items to note. Pressing Any of the three buttons, while running an Access .mdb with frmUDPServer on the same machine will result in a 'Cannot use this if a server is running locally!' message, and nothing will happen. It's a limitation of UDP comms, but that DOES NOT limit this application. (You don't NEED to shut down a LOCAL machine's application REMOTELY! Eh? LOL). So if you want to test this, you will need two machines, one to run the .mdb, and one to run the .exe. Next note, this uses the winsock .ocx. As I mentioned in a reply to JC earlier, this could all be done with API's if so desired, but honestly, I just don't have time to write this all out with API calls. Next note, almost forgot the listbox. When frmUDPServer gets a message from the network, it sends back it's computer name. So the listbox will populate with all of the machines running frmUDPServer that have received a message from the .exe through the network. A note about subnets/lans/NICs. If frmUDPServer is running on a machine that has multiple NICs, it is going to receive a message for each NIC it has. This isn't a concern for the shutdown, and the prompted shutdown (though the prompted shutdown will delay a little longer, because the first hit will start it, and the second, third, fourth, etc hits will reset the time on it....so the countdown won't really countdown until all of the hits come in. (Unless your network is literally crawling, this will all take less then a second....). Sending messages, however, will popup on their machine for each NIC they have (and on the listbox, you'll see that computername show up for each message 'received'. Last note, BE CAREFUL. This is a SAMPLE project, and I personally wouldn't use it in a live system as is. (That is why I sent the VB source). frmUDPServer has absolutely no safeguards in place. It receives a particular string, it stops Access. I personally would recommend a little tighter 'confirmation'. For sample purposes, I'm simply sending out a simple string 'ShutdownNow' (I think). I would make that a little more complex, so that you don't provide an easy method for a hacker to go around shutting down your applications. Enjoy! Drew From pedro at plex.nl Wed Aug 17 15:56:55 2005 From: pedro at plex.nl (Pedro Janssen) Date: Wed, 17 Aug 2005 22:56:55 +0200 Subject: [AccessD] checkboxes aren't functioning References: <20050817124430.HRTS24175.ibm69aec.bellsouth.net@SUSANONE> <4303D205.23074.170ACFB@stuart.lexacorp.com.pg> Message-ID: <005d01c5a370$885e8e50$fac581d5@pedro> Hello All who responded, thanks for the advise, but al fieldproperties are ok. The database worked fine, nothing changed, but the checkboxes stopped working correctly. The strange part is that for example in record 1 the checkboxes are working, in record 2 they aren't and in record 3 they work again. I also heard today that suddenly you can't make new records with this form. I heven't seen this yet, but i will come back on this tommorrow. Pedro Janssen ----- Original Message ----- From: "Stuart McLachlan" To: "Access Developers discussion and problem solving" Sent: Wednesday, August 17, 2005 4:10 PM Subject: RE: [AccessD] checkboxes aren't functioning > On 17 Aug 2005 at 8:51, John W. Colby wrote: > > > However what if it is bound to a non-boolean field. For example it is bound > > to an integer, the integer can contain 0 and -1 (and null) so it looks like > > it works just fine. But what happens if the field gets set to something > > other than null, 0 or -1? > > > > 0 is false, anything else (other than Null) is "Not False" ie ticked. > > > > -- > Stuart > > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > > From Chester_Kaup at kindermorgan.com Wed Aug 17 16:27:25 2005 From: Chester_Kaup at kindermorgan.com (Kaup, Chester) Date: Wed, 17 Aug 2005 16:27:25 -0500 Subject: [AccessD] Parameter make table query Message-ID: I try to run the following code for a make table query but it still asks for a parameter. Why? Do I need to run it differently? Thanks. PatternName = "123-4" Set MyQDef1 = MyDb.QueryDefs("qry Actual Production after Inj Start Date") MyQDef1.Parameters![Pattern Name] = PatternName DoCmd.OpenQuery "qry Actual Production after Inj Start Date", acViewNormal, acEdit Chester Kaup Engineering Technician Kinder Morgan CO2 Company, LLP Office (432) 688-3797 FAX (432) 688-3799 No trees were killed in the sending of this message. However a large number of electrons were terribly inconvenienced. From jwcolby at colbyconsulting.com Wed Aug 17 16:36:29 2005 From: jwcolby at colbyconsulting.com (John W. Colby) Date: Wed, 17 Aug 2005 17:36:29 -0400 Subject: [AccessD] Force Remote Shutdown Instantly! No timers (sort of)WAS:RE: [Ac cessD] How to Manage Maintenance Mode - Auto shutdown In-Reply-To: <123701F54509D9119A4F00D0B747349016DD66@main2.marlow.com> Message-ID: <00f401c5a373$bf863f60$6c7aa8c0@ColbyM6805> >You don't NEED to shut down a LOCAL machine's application REMOTELY! Eh? LOL) Just goes to show, you never know. I have a server running an application. I would be running this udp server exe on that server, and it would need to shutdown that app. But who's quibbling. John W. Colby www.ColbyConsulting.com Contribute your unused CPU cycles to a good cause: http://folding.stanford.edu/ -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of DWUTKA at marlow.com Sent: Wednesday, August 17, 2005 4:18 PM To: accessd at databaseadvisors.com Subject: [AccessD] Force Remote Shutdown Instantly! No timers (sort of)WAS:RE: [Ac cessD] How to Manage Maintenance Mode - Auto shutdown Okay, JC asked about using UDP in reverse. Since I don't know how experienced ya'all are with winsocks and TCP/IP communications, I decided to whip something up. http://www.marlow.com/RemoteShutdown.zip Here's how this works. Inside that zip you'll find an Access 2000 database with one form and an AutoExec macro (sorry, not writing complete startup code just for a sample). The AutoExec opens frmUDPServer 'hidden'. That form just sits there, and does absolutely nothing, until UDP comms come into port 9999. When the comms come in, there are three options, it will either directly shutdown (docmd.Quit), it will display itself and give the user 10 seconds to cancel the shutdown (that is why this uses a timer, the timer event only starts running during the 'prompted shutdown'), or it will display a message (msgbox). Also, inside the zip, you'll fine testclient.exe (along with the VB source code for that .exe). When you run that, you'll find that a textbox, listbox, and three command buttons. The three buttons do what they say. Click Shutdown Clients, and ALL Access sessions on your network, that have frmUDPServer running in the background will close. Click 'Ask To Shutdown', and ALL Access sessions with frmUDPServer running in the background will now display frmUDPServer, and give the user 10 seconds to cancel the shutdown. Click 'Send Message To Clients', and a msgbox will appear on all of the same machines with the text of what is in the 'Data To Send' labeled textbox. A few special items to note. Pressing Any of the three buttons, while running an Access .mdb with frmUDPServer on the same machine will result in a 'Cannot use this if a server is running locally!' message, and nothing will happen. It's a limitation of UDP comms, but that DOES NOT limit this application. (You don't NEED to shut down a LOCAL machine's application REMOTELY! Eh? LOL). So if you want to test this, you will need two machines, one to run the .mdb, and one to run the .exe. Next note, this uses the winsock .ocx. As I mentioned in a reply to JC earlier, this could all be done with API's if so desired, but honestly, I just don't have time to write this all out with API calls. Next note, almost forgot the listbox. When frmUDPServer gets a message from the network, it sends back it's computer name. So the listbox will populate with all of the machines running frmUDPServer that have received a message from the .exe through the network. A note about subnets/lans/NICs. If frmUDPServer is running on a machine that has multiple NICs, it is going to receive a message for each NIC it has. This isn't a concern for the shutdown, and the prompted shutdown (though the prompted shutdown will delay a little longer, because the first hit will start it, and the second, third, fourth, etc hits will reset the time on it....so the countdown won't really countdown until all of the hits come in. (Unless your network is literally crawling, this will all take less then a second....). Sending messages, however, will popup on their machine for each NIC they have (and on the listbox, you'll see that computername show up for each message 'received'. Last note, BE CAREFUL. This is a SAMPLE project, and I personally wouldn't use it in a live system as is. (That is why I sent the VB source). frmUDPServer has absolutely no safeguards in place. It receives a particular string, it stops Access. I personally would recommend a little tighter 'confirmation'. For sample purposes, I'm simply sending out a simple string 'ShutdownNow' (I think). I would make that a little more complex, so that you don't provide an easy method for a hacker to go around shutting down your applications. Enjoy! Drew -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From karenr7 at oz.net Wed Aug 17 16:45:11 2005 From: karenr7 at oz.net (Karen Rosenstiel) Date: Wed, 17 Aug 2005 14:45:11 -0700 Subject: [AccessD] WIERD little problem In-Reply-To: <855499653F55AD4190B242717DF132BC08317F@dewey.Symphony.local> Message-ID: <200508172145.j7HLj9R02626@databaseadvisors.com> You got it. I finally found it today and deleted the record. Voila! Gawd, isn't Access fun.... :( Regards, Karen Rosenstiel Seattle WA USA -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Liz Doering Sent: Wednesday, August 17, 2005 6:45 AM To: Access Developers discussion and problem solving Subject: RE: [AccessD] WIERD little problem Karen, Have you checked the tables used in the report for a corrupt record? 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 Karen Rosenstiel Sent: Tuesday, August 16, 2005 5:31 PM To: 'Access Developers discussion and problem solving' Subject: [AccessD] WIERD little problem I have a simple little scheduling database, front end and back end. I tried to print a report for tomorrow - a simple list - the database crashed. For some strange reason I cannot print the reports I need for tomorrow, although I could print reports for different dates - just not for tomorrow. It closed itself down and tried to compact itself and send a report to MS. At that point, I discovered that one of staff left open the front end with a little popup form from which you can view or print the reports wide open. I got her out of a meeting to shut down her open Access and then deleted the backup copies and the .ldb files. I could compact/repair the BE but not the FE. Has anybody had anything like this happen before? Any suggestions? I need to mention that I can't send the database to anybody for inspection because of confidentiality restrictions (I work in a jail health clinic). Thanks in advance. Regards, Karen Rosenstiel Seattle WA USA -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd 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 Aug 17 16:50:09 2005 From: ssharkins at bellsouth.net (Susan Harkins) Date: Wed, 17 Aug 2005 17:50:09 -0400 Subject: [AccessD] checkboxes aren't functioning In-Reply-To: <005d01c5a370$885e8e50$fac581d5@pedro> Message-ID: <20050817215006.BPBZ10832.ibm63aec.bellsouth.net@SUSANONE> You said there's no code affecting the controls? Not just behind the control itself, but nothing trying to alter it anywhere at all? This will happen in a continuous form if you change a format/property using code, based on another value in the record. For instance, if you want to enable/disable a checkbox based on the value in a text box -- in a continuous form, such code would enable/disable all of the check box controls, depending on the current record -- I think (without testing, but pretty sure). Not in a continuous form? Susan H. Hello All who responded, thanks for the advise, but al fieldproperties are ok. The database worked fine, nothing changed, but the checkboxes stopped working correctly. The strange part is that for example in record 1 the checkboxes are working, in record 2 they aren't and in record 3 they work again. I also heard today that suddenly you can't make new records with this form. I heven't seen this yet, but i will come back on this tommorrow. Pedro Janssen ----- Original Message ----- From: "Stuart McLachlan" To: "Access Developers discussion and problem solving" Sent: Wednesday, August 17, 2005 4:10 PM Subject: RE: [AccessD] checkboxes aren't functioning > On 17 Aug 2005 at 8:51, John W. Colby wrote: > > > However what if it is bound to a non-boolean field. For example it > > is bound > > to an integer, the integer can contain 0 and -1 (and null) so it > > looks like > > it works just fine. But what happens if the field gets set to > > something other than null, 0 or -1? > > > > 0 is false, anything else (other than Null) is "Not False" ie ticked. > > > > -- > Stuart > > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > > -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- No virus found in this incoming message. Checked by AVG Anti-Virus. Version: 7.0.338 / Virus Database: 267.10.11/74 - Release Date: 8/17/2005 From DWUTKA at marlow.com Wed Aug 17 16:51:50 2005 From: DWUTKA at marlow.com (DWUTKA at marlow.com) Date: Wed, 17 Aug 2005 16:51:50 -0500 Subject: [AccessD] Force Remote Shutdown Instantly! No timers (sort of )WAS:RE: [Ac cessD] How to Manage Maintenance Mode - Auto shutdown Message-ID: <123701F54509D9119A4F00D0B747349016DD6D@main2.marlow.com> Huh? You have an application on a machine, let's call it 'ServerA'. That application is an .mdb, running in the Access environment, right? And you need a way to to that application off.....from ServerA? Why not just turn it off? Now, if you are running two processes, both on ServerA, and you want one process to 'shutdown' the other, okay, that's easy, switch from UDP to TCP. You can easily connect to an app on the same machine with TCP. (The first sample I posted today does that, if it determines the client is on the same machine as the server). Drew -----Original Message----- From: John W. Colby [mailto:jwcolby at colbyconsulting.com] Sent: Wednesday, August 17, 2005 4:36 PM To: 'Access Developers discussion and problem solving' Subject: RE: [AccessD] Force Remote Shutdown Instantly! No timers (sort of)WAS:RE: [Ac cessD] How to Manage Maintenance Mode - Auto shutdown >You don't NEED to shut down a LOCAL machine's application REMOTELY! Eh? LOL) Just goes to show, you never know. I have a server running an application. I would be running this udp server exe on that server, and it would need to shutdown that app. But who's quibbling. John W. Colby www.ColbyConsulting.com Contribute your unused CPU cycles to a good cause: http://folding.stanford.edu/ -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of DWUTKA at marlow.com Sent: Wednesday, August 17, 2005 4:18 PM To: accessd at databaseadvisors.com Subject: [AccessD] Force Remote Shutdown Instantly! No timers (sort of)WAS:RE: [Ac cessD] How to Manage Maintenance Mode - Auto shutdown Okay, JC asked about using UDP in reverse. Since I don't know how experienced ya'all are with winsocks and TCP/IP communications, I decided to whip something up. http://www.marlow.com/RemoteShutdown.zip Here's how this works. Inside that zip you'll find an Access 2000 database with one form and an AutoExec macro (sorry, not writing complete startup code just for a sample). The AutoExec opens frmUDPServer 'hidden'. That form just sits there, and does absolutely nothing, until UDP comms come into port 9999. When the comms come in, there are three options, it will either directly shutdown (docmd.Quit), it will display itself and give the user 10 seconds to cancel the shutdown (that is why this uses a timer, the timer event only starts running during the 'prompted shutdown'), or it will display a message (msgbox). Also, inside the zip, you'll fine testclient.exe (along with the VB source code for that .exe). When you run that, you'll find that a textbox, listbox, and three command buttons. The three buttons do what they say. Click Shutdown Clients, and ALL Access sessions on your network, that have frmUDPServer running in the background will close. Click 'Ask To Shutdown', and ALL Access sessions with frmUDPServer running in the background will now display frmUDPServer, and give the user 10 seconds to cancel the shutdown. Click 'Send Message To Clients', and a msgbox will appear on all of the same machines with the text of what is in the 'Data To Send' labeled textbox. A few special items to note. Pressing Any of the three buttons, while running an Access .mdb with frmUDPServer on the same machine will result in a 'Cannot use this if a server is running locally!' message, and nothing will happen. It's a limitation of UDP comms, but that DOES NOT limit this application. (You don't NEED to shut down a LOCAL machine's application REMOTELY! Eh? LOL). So if you want to test this, you will need two machines, one to run the .mdb, and one to run the .exe. Next note, this uses the winsock .ocx. As I mentioned in a reply to JC earlier, this could all be done with API's if so desired, but honestly, I just don't have time to write this all out with API calls. Next note, almost forgot the listbox. When frmUDPServer gets a message from the network, it sends back it's computer name. So the listbox will populate with all of the machines running frmUDPServer that have received a message from the .exe through the network. A note about subnets/lans/NICs. If frmUDPServer is running on a machine that has multiple NICs, it is going to receive a message for each NIC it has. This isn't a concern for the shutdown, and the prompted shutdown (though the prompted shutdown will delay a little longer, because the first hit will start it, and the second, third, fourth, etc hits will reset the time on it....so the countdown won't really countdown until all of the hits come in. (Unless your network is literally crawling, this will all take less then a second....). Sending messages, however, will popup on their machine for each NIC they have (and on the listbox, you'll see that computername show up for each message 'received'. Last note, BE CAREFUL. This is a SAMPLE project, and I personally wouldn't use it in a live system as is. (That is why I sent the VB source). frmUDPServer has absolutely no safeguards in place. It receives a particular string, it stops Access. I personally would recommend a little tighter 'confirmation'. For sample purposes, I'm simply sending out a simple string 'ShutdownNow' (I think). I would make that a little more complex, so that you don't provide an easy method for a hacker to go around shutting down your applications. Enjoy! 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 accessd at shaw.ca Wed Aug 17 17:18:56 2005 From: accessd at shaw.ca (Jim Lawrence) Date: Wed, 17 Aug 2005 15:18:56 -0700 Subject: OT [AccessD] Ajax and Atlas with XML In-Reply-To: <4302C43E.3030505@shaw.ca> Message-ID: <0ILE00K170NKCI@l-daemon> Hi Marty: I was just joking about the Hamsters... but my god it is still around. Created a row of cows doing the can-can for the late dairy named 'Royal Oak' (you will remember as you are from here). I do not have it anymore so you are all safe. Jim -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of MartyConnelly Sent: Tuesday, August 16, 2005 10:00 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Ajax and Atlas with XML I realize Victoria is little out date but this is archived from the net 10 years ago, It is now considered a net classic. The Original Hampster Dance Dance the night away! http://www.hamsterdance.com/classorig.html Haven't looked at .net variation but probably the same basic theme and methods with a bit more class. Jim Lawrence wrote: >Marty what do you mean 'No dancing Hamster'! :-( > >What is your opinion on the AJAX.Net variation on AJAX which seems to be the >hottest ticket? > >Jim > From accessd at shaw.ca Wed Aug 17 17:43:44 2005 From: accessd at shaw.ca (Jim Lawrence) Date: Wed, 17 Aug 2005 15:43:44 -0700 Subject: [AccessD] I Need Some Ideas In-Reply-To: Message-ID: <0ILE00KAD1SV52@l-daemon> That I might be able to get on board with.... Jim -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Bryan Carbonnell Sent: Wednesday, August 17, 2005 6:30 AM To: Access Developers discussion and problem solving Subject: RE: [AccessD] I Need Some Ideas On 16 Aug 2005 at 16:45, David Mcafee wrote: > Speaking of which, isn't it that time again? Yep. I think so. The last one, IIRC, was at Lembit's place in Germany last summer. I think we need one in Canada this time. Somewhere in Southern Ontario is my suggestion :) -- Bryan Carbonnell - carbonnb at sympatico.ca I've learned.... That the less time I have to work with, the more things I get done. From jwcolby at colbyconsulting.com Wed Aug 17 17:56:05 2005 From: jwcolby at colbyconsulting.com (John W. Colby) Date: Wed, 17 Aug 2005 18:56:05 -0400 Subject: [AccessD] Force Remote Shutdown Instantly! No timers (sort of)WAS:RE: [Ac cessD] How to Manage Maintenance Mode - Auto shutdown In-Reply-To: <123701F54509D9119A4F00D0B747349016DD6D@main2.marlow.com> Message-ID: <00f501c5a37e$d9088c30$6c7aa8c0@ColbyM6805> >Why not just turn it off? Because it is an unattended server. The server is a file server serving the BE to the main application running on workstations. The server also runs an application that sends documents to my client's client via email. At specific times of day the application runs a process to send out the email with a report attached. John W. Colby www.ColbyConsulting.com Contribute your unused CPU cycles to a good cause: http://folding.stanford.edu/ -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of DWUTKA at marlow.com Sent: Wednesday, August 17, 2005 5:52 PM To: accessd at databaseadvisors.com Subject: RE: [AccessD] Force Remote Shutdown Instantly! No timers (sort of)WAS:RE: [Ac cessD] How to Manage Maintenance Mode - Auto shutdown Huh? You have an application on a machine, let's call it 'ServerA'. That application is an .mdb, running in the Access environment, right? And you need a way to to that application off.....from ServerA? Why not just turn it off? Now, if you are running two processes, both on ServerA, and you want one process to 'shutdown' the other, okay, that's easy, switch from UDP to TCP. You can easily connect to an app on the same machine with TCP. (The first sample I posted today does that, if it determines the client is on the same machine as the server). Drew -----Original Message----- From: John W. Colby [mailto:jwcolby at colbyconsulting.com] Sent: Wednesday, August 17, 2005 4:36 PM To: 'Access Developers discussion and problem solving' Subject: RE: [AccessD] Force Remote Shutdown Instantly! No timers (sort of)WAS:RE: [Ac cessD] How to Manage Maintenance Mode - Auto shutdown >You don't NEED to shut down a LOCAL machine's application REMOTELY! Eh? LOL) Just goes to show, you never know. I have a server running an application. I would be running this udp server exe on that server, and it would need to shutdown that app. But who's quibbling. John W. Colby www.ColbyConsulting.com Contribute your unused CPU cycles to a good cause: http://folding.stanford.edu/ -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of DWUTKA at marlow.com Sent: Wednesday, August 17, 2005 4:18 PM To: accessd at databaseadvisors.com Subject: [AccessD] Force Remote Shutdown Instantly! No timers (sort of)WAS:RE: [Ac cessD] How to Manage Maintenance Mode - Auto shutdown Okay, JC asked about using UDP in reverse. Since I don't know how experienced ya'all are with winsocks and TCP/IP communications, I decided to whip something up. http://www.marlow.com/RemoteShutdown.zip Here's how this works. Inside that zip you'll find an Access 2000 database with one form and an AutoExec macro (sorry, not writing complete startup code just for a sample). The AutoExec opens frmUDPServer 'hidden'. That form just sits there, and does absolutely nothing, until UDP comms come into port 9999. When the comms come in, there are three options, it will either directly shutdown (docmd.Quit), it will display itself and give the user 10 seconds to cancel the shutdown (that is why this uses a timer, the timer event only starts running during the 'prompted shutdown'), or it will display a message (msgbox). Also, inside the zip, you'll fine testclient.exe (along with the VB source code for that .exe). When you run that, you'll find that a textbox, listbox, and three command buttons. The three buttons do what they say. Click Shutdown Clients, and ALL Access sessions on your network, that have frmUDPServer running in the background will close. Click 'Ask To Shutdown', and ALL Access sessions with frmUDPServer running in the background will now display frmUDPServer, and give the user 10 seconds to cancel the shutdown. Click 'Send Message To Clients', and a msgbox will appear on all of the same machines with the text of what is in the 'Data To Send' labeled textbox. A few special items to note. Pressing Any of the three buttons, while running an Access .mdb with frmUDPServer on the same machine will result in a 'Cannot use this if a server is running locally!' message, and nothing will happen. It's a limitation of UDP comms, but that DOES NOT limit this application. (You don't NEED to shut down a LOCAL machine's application REMOTELY! Eh? LOL). So if you want to test this, you will need two machines, one to run the .mdb, and one to run the .exe. Next note, this uses the winsock .ocx. As I mentioned in a reply to JC earlier, this could all be done with API's if so desired, but honestly, I just don't have time to write this all out with API calls. Next note, almost forgot the listbox. When frmUDPServer gets a message from the network, it sends back it's computer name. So the listbox will populate with all of the machines running frmUDPServer that have received a message from the .exe through the network. A note about subnets/lans/NICs. If frmUDPServer is running on a machine that has multiple NICs, it is going to receive a message for each NIC it has. This isn't a concern for the shutdown, and the prompted shutdown (though the prompted shutdown will delay a little longer, because the first hit will start it, and the second, third, fourth, etc hits will reset the time on it....so the countdown won't really countdown until all of the hits come in. (Unless your network is literally crawling, this will all take less then a second....). Sending messages, however, will popup on their machine for each NIC they have (and on the listbox, you'll see that computername show up for each message 'received'. Last note, BE CAREFUL. This is a SAMPLE project, and I personally wouldn't use it in a live system as is. (That is why I sent the VB source). frmUDPServer has absolutely no safeguards in place. It receives a particular string, it stops Access. I personally would recommend a little tighter 'confirmation'. For sample purposes, I'm simply sending out a simple string 'ShutdownNow' (I think). I would make that a little more complex, so that you don't provide an easy method for a hacker to go around shutting down your applications. Enjoy! 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 Wed Aug 17 18:13:50 2005 From: DWUTKA at marlow.com (DWUTKA at marlow.com) Date: Wed, 17 Aug 2005 18:13:50 -0500 Subject: [AccessD] Force Remote Shutdown Instantly! No timers (sort of )WAS:RE: [Ac cessD] How to Manage Maintenance Mode - Auto shutdown Message-ID: <123701F54509D9119A4F00D0B747349016DD71@main2.marlow.com> Okay, and what is it that you want to shutdown? I'm a little confused. If the backend is an .mdb, there is nothing to shut off, it's a file share, not a service. The workstations running off of that backend (with their frontends) could be shutdown with the sample I posted. The application that sends emails, which is running on the server (and I'll assume it's an Access application being fired off by the scheduler service), that sounds like it's a start, run, stop process. If you need to interupt it, (not sure how long it takes to run), but you could use the TCP protocol approach, if it needs to be interrupted from another application (but you haven't listed another application....so far it's only the report/email application...the .mdb itself is not a 'running' application. Now, if you want to have the application on the server (which runs and emails the reports) to have the ability of shutting down the client front ends on the network workstations, then just port the VB .exe I posted into it, so that IT sends out the message for the clients to shut down. That portion CAN run from a machine running anything you want. The clash is in the UDP protocol, since it is connectionless, it has to have both the local and remote ports set, so you can't have two applications (the .exe and an .mdb) running the same ports on the same machine, they will clash! Drew -----Original Message----- From: John W. Colby [mailto:jwcolby at colbyconsulting.com] Sent: Wednesday, August 17, 2005 5:56 PM To: 'Access Developers discussion and problem solving' Subject: RE: [AccessD] Force Remote Shutdown Instantly! No timers (sort of)WAS:RE: [Ac cessD] How to Manage Maintenance Mode - Auto shutdown >Why not just turn it off? Because it is an unattended server. The server is a file server serving the BE to the main application running on workstations. The server also runs an application that sends documents to my client's client via email. At specific times of day the application runs a process to send out the email with a report attached. John W. Colby www.ColbyConsulting.com Contribute your unused CPU cycles to a good cause: http://folding.stanford.edu/ -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of DWUTKA at marlow.com Sent: Wednesday, August 17, 2005 5:52 PM To: accessd at databaseadvisors.com Subject: RE: [AccessD] Force Remote Shutdown Instantly! No timers (sort of)WAS:RE: [Ac cessD] How to Manage Maintenance Mode - Auto shutdown Huh? You have an application on a machine, let's call it 'ServerA'. That application is an .mdb, running in the Access environment, right? And you need a way to to that application off.....from ServerA? Why not just turn it off? Now, if you are running two processes, both on ServerA, and you want one process to 'shutdown' the other, okay, that's easy, switch from UDP to TCP. You can easily connect to an app on the same machine with TCP. (The first sample I posted today does that, if it determines the client is on the same machine as the server). Drew -----Original Message----- From: John W. Colby [mailto:jwcolby at colbyconsulting.com] Sent: Wednesday, August 17, 2005 4:36 PM To: 'Access Developers discussion and problem solving' Subject: RE: [AccessD] Force Remote Shutdown Instantly! No timers (sort of)WAS:RE: [Ac cessD] How to Manage Maintenance Mode - Auto shutdown >You don't NEED to shut down a LOCAL machine's application REMOTELY! Eh? LOL) Just goes to show, you never know. I have a server running an application. I would be running this udp server exe on that server, and it would need to shutdown that app. But who's quibbling. John W. Colby www.ColbyConsulting.com Contribute your unused CPU cycles to a good cause: http://folding.stanford.edu/ -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of DWUTKA at marlow.com Sent: Wednesday, August 17, 2005 4:18 PM To: accessd at databaseadvisors.com Subject: [AccessD] Force Remote Shutdown Instantly! No timers (sort of)WAS:RE: [Ac cessD] How to Manage Maintenance Mode - Auto shutdown Okay, JC asked about using UDP in reverse. Since I don't know how experienced ya'all are with winsocks and TCP/IP communications, I decided to whip something up. http://www.marlow.com/RemoteShutdown.zip Here's how this works. Inside that zip you'll find an Access 2000 database with one form and an AutoExec macro (sorry, not writing complete startup code just for a sample). The AutoExec opens frmUDPServer 'hidden'. That form just sits there, and does absolutely nothing, until UDP comms come into port 9999. When the comms come in, there are three options, it will either directly shutdown (docmd.Quit), it will display itself and give the user 10 seconds to cancel the shutdown (that is why this uses a timer, the timer event only starts running during the 'prompted shutdown'), or it will display a message (msgbox). Also, inside the zip, you'll fine testclient.exe (along with the VB source code for that .exe). When you run that, you'll find that a textbox, listbox, and three command buttons. The three buttons do what they say. Click Shutdown Clients, and ALL Access sessions on your network, that have frmUDPServer running in the background will close. Click 'Ask To Shutdown', and ALL Access sessions with frmUDPServer running in the background will now display frmUDPServer, and give the user 10 seconds to cancel the shutdown. Click 'Send Message To Clients', and a msgbox will appear on all of the same machines with the text of what is in the 'Data To Send' labeled textbox. A few special items to note. Pressing Any of the three buttons, while running an Access .mdb with frmUDPServer on the same machine will result in a 'Cannot use this if a server is running locally!' message, and nothing will happen. It's a limitation of UDP comms, but that DOES NOT limit this application. (You don't NEED to shut down a LOCAL machine's application REMOTELY! Eh? LOL). So if you want to test this, you will need two machines, one to run the .mdb, and one to run the .exe. Next note, this uses the winsock .ocx. As I mentioned in a reply to JC earlier, this could all be done with API's if so desired, but honestly, I just don't have time to write this all out with API calls. Next note, almost forgot the listbox. When frmUDPServer gets a message from the network, it sends back it's computer name. So the listbox will populate with all of the machines running frmUDPServer that have received a message from the .exe through the network. A note about subnets/lans/NICs. If frmUDPServer is running on a machine that has multiple NICs, it is going to receive a message for each NIC it has. This isn't a concern for the shutdown, and the prompted shutdown (though the prompted shutdown will delay a little longer, because the first hit will start it, and the second, third, fourth, etc hits will reset the time on it....so the countdown won't really countdown until all of the hits come in. (Unless your network is literally crawling, this will all take less then a second....). Sending messages, however, will popup on their machine for each NIC they have (and on the listbox, you'll see that computername show up for each message 'received'. Last note, BE CAREFUL. This is a SAMPLE project, and I personally wouldn't use it in a live system as is. (That is why I sent the VB source). frmUDPServer has absolutely no safeguards in place. It receives a particular string, it stops Access. I personally would recommend a little tighter 'confirmation'. For sample purposes, I'm simply sending out a simple string 'ShutdownNow' (I think). I would make that a little more complex, so that you don't provide an easy method for a hacker to go around shutting down your applications. Enjoy! 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 shamil at users.mns.ru Wed Aug 17 18:28:31 2005 From: shamil at users.mns.ru (Shamil Salakhetdinov) Date: Thu, 18 Aug 2005 03:28:31 +0400 Subject: [AccessD] Disconnected MS Access cient applications.. Message-ID: <004b01c5a383$7bdab060$6401a8c0@fincomplex.spb.ru> Hi All, I wanted to ask you - what about the subject? Anybody uses/interested to use MS Access client applications this way? Do I miss obvious (RTFM) stuff and such a disconnected mode is already implemented in MS Access and broadly used by MS Access developers? Yes, I know ADO recordsets can be used with bound MS Access forms etc. but this looks like a rather limited feature - am I wrong? What I mean is cashing data locally into mdbs, only the data needed for the currently open form(s) etc., processing this data and then updating backend database(mdb, MSDE, MS SQL, whatever...) - with all this cashing and updating made mostly automatically by a tiny framework code, based on ADO.NET...(yes, this local caching of data is not a new subject but nowadays it can be (re-)implement really scalable way with a way less efforts than before) Maybe MS plans to do something like that? Is that a wheel reinvention or anybody here sees such opportunity like a really useful feature in their real life projects? For me it looks like a useful feature because it could help: to get MS Access back into mainstream development area because it will allow to easily scale applications with MS Access front-ends... There are many other ideas but most of them in this "ideas pool" based on the subject one - if it doesn't make sense for real-life projects then I'd better stop working on it... What is your opinion about the subject? When you expect MS will do something like that in MS Access? Thank you, Shamil From accessd at shaw.ca Wed Aug 17 18:17:05 2005 From: accessd at shaw.ca (Jim Lawrence) Date: Wed, 17 Aug 2005 16:17:05 -0700 Subject: OT [AccessD] I Need Some Ideas In-Reply-To: <00bb01c5a346$6b965660$6c7aa8c0@ColbyM6805> Message-ID: <0ILE00K6S3CH4O@l-daemon> John: It is on record now and will never be forgotten. Even M$ is moving all their data processing to the disconnected data model. Mind you the locally held data can be manipulated and bound but a reconnection must be made be the source data can be updated. Jim -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of John W. Colby Sent: Wednesday, August 17, 2005 9:12 AM To: 'Access Developers discussion and problem solving' Subject: RE: [AccessD] I Need Some Ideas LOL. Nope, typo. John W. Colby www.ColbyConsulting.com Contribute your unused CPU cycles to a good cause: http://folding.stanford.edu/ -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of DWUTKA at marlow.com Sent: Wednesday, August 17, 2005 11:08 AM To: accessd at databaseadvisors.com Subject: RE: [AccessD] I Need Some Ideas Since when did you become an unbounder? I'm a little shocked at that. I guess you finally came across to the dark side! ;) Drew -----Original Message----- From: John W. Colby [mailto:jwcolby at colbyconsulting.com] Sent: Tuesday, August 16, 2005 5:27 PM To: 'Access Developers discussion and problem solving' Subject: RE: [AccessD] I Need Some Ideas >so the occasional bound/unbound, natural/surrogate key, and naming convention argument are simply a way of maintaining our individuality in the world of massive neuron flux. ;) No, unbound forms and surrogate keys are just superior. ;-0 And of course anyone who doesn't use a naming convention, specifically MY naming convention is... a dolt. John W. Colby www.ColbyConsulting.com Contribute your unused CPU cycles to a good cause: http://folding.stanford.edu/ -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of DWUTKA at marlow.com Sent: Tuesday, August 16, 2005 5:37 PM To: accessd at databaseadvisors.com Subject: RE: [AccessD] I Need Some Ideas , I was hoping you were going to get a good chuckle out of that. Personally, I think that is one of the main factors why this list puts out good tips, and is so helpful to people. It's the 'chest pounding' factor. Whether we want to admit it or not, we'll fall all over each other trying to help someone because we want to show off a bit. This is one of the rare parts of our lives where people actually CAN appreciate how brilliant we all our.... ;) I tried explaining a process I was working on involving custom events and classes to a fellow computer geek, and I got the glassy eyed look of complete confusion. So to everyone on the list, we're all geniuses....so pat someone on the back when you can, and get ready to be patted yourself. Yes, to the rest of the world we're a bunch of 'nerds', but wear that label with pride. (a few tattoos and a decent weight training program will keep most of the 'nerd' remarks in check....) ;) Just keep in mind that while we all like to impress with our ideas, genius comes with a lot of prejudice, so the occasional bound/unbound, natural/surrogate key, and naming convention argument are simply a way of maintaining our individuality in the world of massive neuron flux. ;) Drew -----Original Message----- From: John W. Colby [mailto:jwcolby at colbyconsulting.com] Sent: Tuesday, August 16, 2005 4:26 PM To: 'Access Developers discussion and problem solving' Subject: RE: [AccessD] I Need Some Ideas ROTFLMAO. John W. Colby www.ColbyConsulting.com Contribute your unused CPU cycles to a good cause: http://folding.stanford.edu/ -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of DWUTKA at marlow.com Sent: Tuesday, August 16, 2005 4:00 PM To: accessd at databaseadvisors.com Subject: RE: [AccessD] I Need Some Ideas That's easy, and requires no code or special hardware. Just call up JC, and tell him that you don't think his framework would hand XYZ...and let him prove you wrong. When he has given you proof, thank him, tell him he's stellar, and a god among mortals, and walk away with completed JC Classes. Of course, the same method will work on me too.... Drew -----Original Message----- From: Joe Hecht [mailto:jmhecht at earthlink.net] Sent: Tuesday, August 16, 2005 2:45 PM To: 'Access Developers discussion and problem solving' Subject: RE: [AccessD] I Need Some Ideas Voice command app that would automatically write John Colby Classes and code for you. Joe Hecht Los Angeles CA -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From dejpolsys at hotmail.com Wed Aug 17 18:47:19 2005 From: dejpolsys at hotmail.com (William Hindman) Date: Wed, 17 Aug 2005 19:47:19 -0400 Subject: [AccessD] Disconnected MS Access cient applications.. References: <004b01c5a383$7bdab060$6401a8c0@fincomplex.spb.ru> Message-ID: Shamil ..I must be missing something ...that sounds like replication to me. William ----- Original Message ----- From: "Shamil Salakhetdinov" To: "!DBA-MAIN" Sent: Wednesday, August 17, 2005 7:28 PM Subject: [AccessD] Disconnected MS Access cient applications.. > Hi All, > > I wanted to ask you - what about the subject? > Anybody uses/interested to use MS Access client applications this way? > > Do I miss obvious (RTFM) stuff and such a disconnected mode is already > implemented in MS Access and broadly used by MS Access developers? Yes, I > know ADO recordsets can be used with bound MS Access forms etc. but this > looks like a rather limited feature - am I wrong? > > What I mean is cashing data locally into mdbs, only the data needed for > the > currently open form(s) etc., processing this data and then updating > backend > database(mdb, MSDE, MS SQL, whatever...) - with all this cashing and > updating made mostly automatically by a tiny framework code, based on > ADO.NET...(yes, this local caching of data is not a new subject but > nowadays > it can be (re-)implement really scalable way with a way less efforts than > before) > > Maybe MS plans to do something like that? > > Is that a wheel reinvention or anybody here sees such opportunity like a > really useful feature in their real life projects? > > For me it looks like a useful feature because it could help: to get MS > Access back into mainstream development area because it will allow to > easily > scale applications with MS Access front-ends... > > There are many other ideas but most of them in this "ideas pool" based on > the subject one - if it doesn't make sense for real-life projects then I'd > better stop working on it... > > What is your opinion about the subject? > When you expect MS will do something like that in MS Access? > > Thank you, > Shamil > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > From jwcolby at colbyconsulting.com Wed Aug 17 18:47:33 2005 From: jwcolby at colbyconsulting.com (John W. Colby) Date: Wed, 17 Aug 2005 19:47:33 -0400 Subject: [AccessD] Force Remote Shutdown Instantly! No timers (sort of)WAS:RE: [Ac cessD] How to Manage Maintenance Mode - Auto shutdown In-Reply-To: <123701F54509D9119A4F00D0B747349016DD71@main2.marlow.com> Message-ID: <00f601c5a386$0cafa530$6c7aa8c0@ColbyM6805> I have workstations running an application (call center for AIG Insurance company - Disability claims division) that hit the BE on the server. I have an entirely different application (email reporting FE, reports new claims and authorizations to pay claims back to AIG Insurance company) running only on the server that hits the be on the server. It is NOT being fired off by the Windows scheduler, it runs 24/7 and has it's own logic to decide when reports need to go. In fact that same application also RECEIVES emails from AIG Insurance company which contain Excel attachments containing payment information. These emails cause an outlook object to fire events that are sunk in one of my classes, which then process the emails. These payment files get stripped off the email, placed into directories on the server, linked to the Email Reporting FE, and subsequently appended into tables in the same BE that the call center software is hitting. This payment info is then available to the call center personnel when the person filing a claim calls and asks "where's my check". Everything hitting the BE on the server needs to shut down when I ask it to. I do NOT want MY application running on the server to shut down the workstations, I want your EXE (SOME APPLICATION) (running on the server) that shuts down the workstation Fes to also shut down the Server Email Reporting FE. Three things running. Call Center Fes on workstations (often left on overnight). Email Reporting application. Payment Import application. ALL this stuff needs to shut down when I need access to the BE. John W. Colby www.ColbyConsulting.com Contribute your unused CPU cycles to a good cause: http://folding.stanford.edu/ -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of DWUTKA at marlow.com Sent: Wednesday, August 17, 2005 7:14 PM To: accessd at databaseadvisors.com Subject: RE: [AccessD] Force Remote Shutdown Instantly! No timers (sort of)WAS:RE: [Ac cessD] How to Manage Maintenance Mode - Auto shutdown Okay, and what is it that you want to shutdown? I'm a little confused. If the backend is an .mdb, there is nothing to shut off, it's a file share, not a service. The workstations running off of that backend (with their frontends) could be shutdown with the sample I posted. The application that sends emails, which is running on the server (and I'll assume it's an Access application being fired off by the scheduler service), that sounds like it's a start, run, stop process. If you need to interupt it, (not sure how long it takes to run), but you could use the TCP protocol approach, if it needs to be interrupted from another application (but you haven't listed another application....so far it's only the report/email application...the .mdb itself is not a 'running' application. Now, if you want to have the application on the server (which runs and emails the reports) to have the ability of shutting down the client front ends on the network workstations, then just port the VB .exe I posted into it, so that IT sends out the message for the clients to shut down. That portion CAN run from a machine running anything you want. The clash is in the UDP protocol, since it is connectionless, it has to have both the local and remote ports set, so you can't have two applications (the .exe and an .mdb) running the same ports on the same machine, they will clash! Drew -----Original Message----- From: John W. Colby [mailto:jwcolby at colbyconsulting.com] Sent: Wednesday, August 17, 2005 5:56 PM To: 'Access Developers discussion and problem solving' Subject: RE: [AccessD] Force Remote Shutdown Instantly! No timers (sort of)WAS:RE: [Ac cessD] How to Manage Maintenance Mode - Auto shutdown >Why not just turn it off? Because it is an unattended server. The server is a file server serving the BE to the main application running on workstations. The server also runs an application that sends documents to my client's client via email. At specific times of day the application runs a process to send out the email with a report attached. John W. Colby www.ColbyConsulting.com Contribute your unused CPU cycles to a good cause: http://folding.stanford.edu/ -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of DWUTKA at marlow.com Sent: Wednesday, August 17, 2005 5:52 PM To: accessd at databaseadvisors.com Subject: RE: [AccessD] Force Remote Shutdown Instantly! No timers (sort of)WAS:RE: [Ac cessD] How to Manage Maintenance Mode - Auto shutdown Huh? You have an application on a machine, let's call it 'ServerA'. That application is an .mdb, running in the Access environment, right? And you need a way to to that application off.....from ServerA? Why not just turn it off? Now, if you are running two processes, both on ServerA, and you want one process to 'shutdown' the other, okay, that's easy, switch from UDP to TCP. You can easily connect to an app on the same machine with TCP. (The first sample I posted today does that, if it determines the client is on the same machine as the server). Drew -----Original Message----- From: John W. Colby [mailto:jwcolby at colbyconsulting.com] Sent: Wednesday, August 17, 2005 4:36 PM To: 'Access Developers discussion and problem solving' Subject: RE: [AccessD] Force Remote Shutdown Instantly! No timers (sort of)WAS:RE: [Ac cessD] How to Manage Maintenance Mode - Auto shutdown >You don't NEED to shut down a LOCAL machine's application REMOTELY! Eh? LOL) Just goes to show, you never know. I have a server running an application. I would be running this udp server exe on that server, and it would need to shutdown that app. But who's quibbling. John W. Colby www.ColbyConsulting.com Contribute your unused CPU cycles to a good cause: http://folding.stanford.edu/ -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of DWUTKA at marlow.com Sent: Wednesday, August 17, 2005 4:18 PM To: accessd at databaseadvisors.com Subject: [AccessD] Force Remote Shutdown Instantly! No timers (sort of)WAS:RE: [Ac cessD] How to Manage Maintenance Mode - Auto shutdown Okay, JC asked about using UDP in reverse. Since I don't know how experienced ya'all are with winsocks and TCP/IP communications, I decided to whip something up. http://www.marlow.com/RemoteShutdown.zip Here's how this works. Inside that zip you'll find an Access 2000 database with one form and an AutoExec macro (sorry, not writing complete startup code just for a sample). The AutoExec opens frmUDPServer 'hidden'. That form just sits there, and does absolutely nothing, until UDP comms come into port 9999. When the comms come in, there are three options, it will either directly shutdown (docmd.Quit), it will display itself and give the user 10 seconds to cancel the shutdown (that is why this uses a timer, the timer event only starts running during the 'prompted shutdown'), or it will display a message (msgbox). Also, inside the zip, you'll fine testclient.exe (along with the VB source code for that .exe). When you run that, you'll find that a textbox, listbox, and three command buttons. The three buttons do what they say. Click Shutdown Clients, and ALL Access sessions on your network, that have frmUDPServer running in the background will close. Click 'Ask To Shutdown', and ALL Access sessions with frmUDPServer running in the background will now display frmUDPServer, and give the user 10 seconds to cancel the shutdown. Click 'Send Message To Clients', and a msgbox will appear on all of the same machines with the text of what is in the 'Data To Send' labeled textbox. A few special items to note. Pressing Any of the three buttons, while running an Access .mdb with frmUDPServer on the same machine will result in a 'Cannot use this if a server is running locally!' message, and nothing will happen. It's a limitation of UDP comms, but that DOES NOT limit this application. (You don't NEED to shut down a LOCAL machine's application REMOTELY! Eh? LOL). So if you want to test this, you will need two machines, one to run the .mdb, and one to run the .exe. Next note, this uses the winsock .ocx. As I mentioned in a reply to JC earlier, this could all be done with API's if so desired, but honestly, I just don't have time to write this all out with API calls. Next note, almost forgot the listbox. When frmUDPServer gets a message from the network, it sends back it's computer name. So the listbox will populate with all of the machines running frmUDPServer that have received a message from the .exe through the network. A note about subnets/lans/NICs. If frmUDPServer is running on a machine that has multiple NICs, it is going to receive a message for each NIC it has. This isn't a concern for the shutdown, and the prompted shutdown (though the prompted shutdown will delay a little longer, because the first hit will start it, and the second, third, fourth, etc hits will reset the time on it....so the countdown won't really countdown until all of the hits come in. (Unless your network is literally crawling, this will all take less then a second....). Sending messages, however, will popup on their machine for each NIC they have (and on the listbox, you'll see that computername show up for each message 'received'. Last note, BE CAREFUL. This is a SAMPLE project, and I personally wouldn't use it in a live system as is. (That is why I sent the VB source). frmUDPServer has absolutely no safeguards in place. It receives a particular string, it stops Access. I personally would recommend a little tighter 'confirmation'. For sample purposes, I'm simply sending out a simple string 'ShutdownNow' (I think). I would make that a little more complex, so that you don't provide an easy method for a hacker to go around shutting down your applications. Enjoy! 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 jwcolby at colbyconsulting.com Wed Aug 17 18:50:24 2005 From: jwcolby at colbyconsulting.com (John W. Colby) Date: Wed, 17 Aug 2005 19:50:24 -0400 Subject: OT [AccessD] I Need Some Ideas In-Reply-To: <0ILE00K6S3CH4O@l-daemon> Message-ID: <00f701c5a386$6ff96e50$6c7aa8c0@ColbyM6805> Yea, yea, yea. I know all about it. And of course it all makes sense when the data is going out over the internet, but when there are a small number of workstations on a LAN the argument is much less compelling. And IF you are going to do unbound stuff then Access may no longer be the optimum dev environment. John W. Colby www.ColbyConsulting.com Contribute your unused CPU cycles to a good cause: http://folding.stanford.edu/ -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Jim Lawrence Sent: Wednesday, August 17, 2005 7:17 PM To: 'Access Developers discussion and problem solving' Subject: OT [AccessD] I Need Some Ideas John: It is on record now and will never be forgotten. Even M$ is moving all their data processing to the disconnected data model. Mind you the locally held data can be manipulated and bound but a reconnection must be made be the source data can be updated. Jim -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of John W. Colby Sent: Wednesday, August 17, 2005 9:12 AM To: 'Access Developers discussion and problem solving' Subject: RE: [AccessD] I Need Some Ideas LOL. Nope, typo. John W. Colby www.ColbyConsulting.com Contribute your unused CPU cycles to a good cause: http://folding.stanford.edu/ -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of DWUTKA at marlow.com Sent: Wednesday, August 17, 2005 11:08 AM To: accessd at databaseadvisors.com Subject: RE: [AccessD] I Need Some Ideas Since when did you become an unbounder? I'm a little shocked at that. I guess you finally came across to the dark side! ;) Drew -----Original Message----- From: John W. Colby [mailto:jwcolby at colbyconsulting.com] Sent: Tuesday, August 16, 2005 5:27 PM To: 'Access Developers discussion and problem solving' Subject: RE: [AccessD] I Need Some Ideas >so the occasional bound/unbound, natural/surrogate key, and naming convention argument are simply a way of maintaining our individuality in the world of massive neuron flux. ;) No, unbound forms and surrogate keys are just superior. ;-0 And of course anyone who doesn't use a naming convention, specifically MY naming convention is... a dolt. John W. Colby www.ColbyConsulting.com Contribute your unused CPU cycles to a good cause: http://folding.stanford.edu/ -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of DWUTKA at marlow.com Sent: Tuesday, August 16, 2005 5:37 PM To: accessd at databaseadvisors.com Subject: RE: [AccessD] I Need Some Ideas , I was hoping you were going to get a good chuckle out of that. Personally, I think that is one of the main factors why this list puts out good tips, and is so helpful to people. It's the 'chest pounding' factor. Whether we want to admit it or not, we'll fall all over each other trying to help someone because we want to show off a bit. This is one of the rare parts of our lives where people actually CAN appreciate how brilliant we all our.... ;) I tried explaining a process I was working on involving custom events and classes to a fellow computer geek, and I got the glassy eyed look of complete confusion. So to everyone on the list, we're all geniuses....so pat someone on the back when you can, and get ready to be patted yourself. Yes, to the rest of the world we're a bunch of 'nerds', but wear that label with pride. (a few tattoos and a decent weight training program will keep most of the 'nerd' remarks in check....) ;) Just keep in mind that while we all like to impress with our ideas, genius comes with a lot of prejudice, so the occasional bound/unbound, natural/surrogate key, and naming convention argument are simply a way of maintaining our individuality in the world of massive neuron flux. ;) Drew -----Original Message----- From: John W. Colby [mailto:jwcolby at colbyconsulting.com] Sent: Tuesday, August 16, 2005 4:26 PM To: 'Access Developers discussion and problem solving' Subject: RE: [AccessD] I Need Some Ideas ROTFLMAO. John W. Colby www.ColbyConsulting.com Contribute your unused CPU cycles to a good cause: http://folding.stanford.edu/ -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of DWUTKA at marlow.com Sent: Tuesday, August 16, 2005 4:00 PM To: accessd at databaseadvisors.com Subject: RE: [AccessD] I Need Some Ideas That's easy, and requires no code or special hardware. Just call up JC, and tell him that you don't think his framework would hand XYZ...and let him prove you wrong. When he has given you proof, thank him, tell him he's stellar, and a god among mortals, and walk away with completed JC Classes. Of course, the same method will work on me too.... Drew -----Original Message----- From: Joe Hecht [mailto:jmhecht at earthlink.net] Sent: Tuesday, August 16, 2005 2:45 PM To: 'Access Developers discussion and problem solving' Subject: RE: [AccessD] I Need Some Ideas Voice command app that would automatically write John Colby Classes and code for you. Joe Hecht Los Angeles CA -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd 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 Wed Aug 17 19:02:34 2005 From: accessd at shaw.ca (Jim Lawrence) Date: Wed, 17 Aug 2005 17:02:34 -0700 Subject: [AccessD] I Need Some Ideas In-Reply-To: Message-ID: <0ILE00H5K5GAOO@l-daemon> Hi Bryan: I am just throwing out ideas. Any database designs and management is directly translatable to MS SQL so that is no problem. (Check-out DBDesigner, an open source visual DB tool.) Connecting remotely to an operation MS SQL server is no problem and there is even a free EM that can run on any PC. If you are interested I can always send along a link. (I could be talked into helping or prototyping just not initiating at this moment.) Where is your back-door when you need it. :-( I think someone else mentioned an expedition gathering great code samples and solutions from our huge DBA lists. There are some real gems in there and they could go into creating an unrivalled Access library. (We might be able to trade Linux help for MS SQL help... off-line as I have just setup a Linux station and am current finding some simple issues that take days.) Jim -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Bryan Carbonnell Sent: Wednesday, August 17, 2005 6:15 AM To: Access Developers discussion and problem solving Subject: RE: [AccessD] I Need Some Ideas On 15 Aug 2005 at 19:34, Jim Lawrence wrote: > Our web site needs a lot of work to move to the next level. > > A few simple things that would require a bit of research... > > 1. Create the definitive link list for the site. You know most of the > sites from but there are a few out there that are not obvious but > definitely should be counted... like 'http://www.colbyconsulting.com/' > or 'http://www.rogersaccesslibrary.com' or > 'http://www.mvps.org/access/' and many more. It would be great to be > able to create the ultimate Access research page. You just listed the only sites I use for Access stuff. :) I do have a series of links in my favourites at work that I can't get access to at the moment :( Ya just gotta love union negotiations that end in lockouts instead of a new contract :( > 2. Putting some of the great comments and code snippets into either a > gazette or new article for upcoming issues(s). Hmmmm, this could be an interesting challenge > 3 List member advertisement pages stores on a MS SQL DB. This is not > confirmed by the executive yet but I believe it makes sense. We should > be supporting our list members' accomplishment like their books, > articles, programs or even design and support companies. We are a way > from implementing this but the format, design, and coding can be > started as it will be a lengthy development from creation to > implementation. The problem is that I don't know anything about MS SQL of interfacing in with the web. Nor do I have access to a box with MS SQL and IIS. > 4. There is of course .Net... and XML/HXML/AJAX... where much of > Access development is heading/expanding. It is a truly distributive > application development platform and the performance is really awesome > when using ASP.Net client side is coupled with ADO.Net... 'a thousand > users are serviced as fast as one' (Not mine but a quote from a > book.). Should we be looking seriously at this? Articles, new lists, > roll our own? Too many acronymns :) Seriously, I think it would be just a bit too much for me to learn all at once right now. > These are just a few of the web site work that is waiting to be > started and implemented. There are some good ideas there Jim. I may plug away at some of them. > Our current web site owners are having some problems getting our MS > SQL server up and running again but we will be getting MS SQL support > one way or the other. So you can work/plan for/with a MS SQL set of > option/solutions. See above :( -- Bryan Carbonnell - carbonnb at sympatico.ca Failure is not an option. It comes bundled with the software. -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From accessd at shaw.ca Wed Aug 17 19:00:08 2005 From: accessd at shaw.ca (Jim Lawrence) Date: Wed, 17 Aug 2005 17:00:08 -0700 Subject: [AccessD] Disconnected MS Access cient applications.. In-Reply-To: <004b01c5a383$7bdab060$6401a8c0@fincomplex.spb.ru> Message-ID: <0ILE00F3C5C7HZ@l-daemon> Hi Shamil: I have only (mostly) been using a style of disconnected ADO recordsets with Access since 97-98. I use an Access FE for all sorts of DBs like Oracle/MS SQL, MySQL* (*though it needs an ODBC connection :-( ) and even MDB (but mostly just for temp files), singularly or in groups. The process is just so fast, attaches through any reasonable connection and requires very few BE DB licenses... clients save a bundle. I think ADO.Net is the same thing but with an automatic transmission and slick features. It should eliminate a lot of coding. M$ has finally, fully embraced this concept and I feel that is where the next versions of Access are going. This is all my opinion of course and not meant to insight a riot. Jim -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Shamil Salakhetdinov Sent: Wednesday, August 17, 2005 4:29 PM To: !DBA-MAIN Subject: [AccessD] Disconnected MS Access cient applications.. Hi All, I wanted to ask you - what about the subject? Anybody uses/interested to use MS Access client applications this way? Do I miss obvious (RTFM) stuff and such a disconnected mode is already implemented in MS Access and broadly used by MS Access developers? Yes, I know ADO recordsets can be used with bound MS Access forms etc. but this looks like a rather limited feature - am I wrong? What I mean is cashing data locally into mdbs, only the data needed for the currently open form(s) etc., processing this data and then updating backend database(mdb, MSDE, MS SQL, whatever...) - with all this cashing and updating made mostly automatically by a tiny framework code, based on ADO.NET...(yes, this local caching of data is not a new subject but nowadays it can be (re-)implement really scalable way with a way less efforts than before) Maybe MS plans to do something like that? Is that a wheel reinvention or anybody here sees such opportunity like a really useful feature in their real life projects? For me it looks like a useful feature because it could help: to get MS Access back into mainstream development area because it will allow to easily scale applications with MS Access front-ends... There are many other ideas but most of them in this "ideas pool" based on the subject one - if it doesn't make sense for real-life projects then I'd better stop working on it... What is your opinion about the subject? When you expect MS will do something like that in MS Access? Thank you, Shamil -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From cfoust at infostatsystems.com Wed Aug 17 19:42:56 2005 From: cfoust at infostatsystems.com (Charlotte Foust) Date: Wed, 17 Aug 2005 17:42:56 -0700 Subject: [AccessD] Disconnected MS Access cient applications.. Message-ID: Shamil, It looks to me like that is where MS is going with .Net, so it would be logical to take Access in that direction as well ... If they would only consider it a development tool instead of a power user toy. I've certainly built applications in the past using that concept with ADO and unbound forms. (Hush, John, I don't want to hear about it!) I think we often fall back to the built in stuff because it is quick and easy, even though it is not necessarily efficient. MS is moving toward XML as their datastore of choice for this kind of caching, and it certainly works and has been fairly easy to implement since at least Access 2000. I would expect the capability to be expanded in the next version of Access when it starts to catch up with Word and Excel, but that's just a SWAG based on working extensively with VB.Net and speculating. Given that the next version of Access may not be available for a year or so and is bound to have problems at first, I think something that could be used now and with versions earlier than 2003 (which has its own problems!) is entirely sensible. Charlotte Foust -----Original Message----- From: Shamil Salakhetdinov [mailto:shamil at users.mns.ru] Sent: Wednesday, August 17, 2005 4:29 PM To: !DBA-MAIN Subject: [AccessD] Disconnected MS Access cient applications.. Hi All, I wanted to ask you - what about the subject? Anybody uses/interested to use MS Access client applications this way? Do I miss obvious (RTFM) stuff and such a disconnected mode is already implemented in MS Access and broadly used by MS Access developers? Yes, I know ADO recordsets can be used with bound MS Access forms etc. but this looks like a rather limited feature - am I wrong? What I mean is cashing data locally into mdbs, only the data needed for the currently open form(s) etc., processing this data and then updating backend database(mdb, MSDE, MS SQL, whatever...) - with all this cashing and updating made mostly automatically by a tiny framework code, based on ADO.NET...(yes, this local caching of data is not a new subject but nowadays it can be (re-)implement really scalable way with a way less efforts than before) Maybe MS plans to do something like that? Is that a wheel reinvention or anybody here sees such opportunity like a really useful feature in their real life projects? For me it looks like a useful feature because it could help: to get MS Access back into mainstream development area because it will allow to easily scale applications with MS Access front-ends... There are many other ideas but most of them in this "ideas pool" based on the subject one - if it doesn't make sense for real-life projects then I'd better stop working on it... What is your opinion about the subject? When you expect MS will do something like that in MS Access? Thank you, Shamil From Bruce.Bruen at railcorp.nsw.gov.au Wed Aug 17 21:28:33 2005 From: Bruce.Bruen at railcorp.nsw.gov.au (Bruen, Bruce) Date: Thu, 18 Aug 2005 12:28:33 +1000 Subject: [AccessD] copy string to clipboard Message-ID: This must! be simple. I have a string variable created by concatenating the values of several form fields. So how can I copy the value of this string to the clipboard? Private Sub Command35_Click() Dim refstr As String refstr = "RCRef=|" & Me.ucref & "|" & Me.testname & "|" & Me.TestID & "|" Debug.Print refstr Stop ':-( Runcmd accmdStickTheStringInTheClipboard :-( End Sub tia bruce This e-mail and any attachments may contain confidential information that is intended solely for the use of the intended recipient and may be subject to copyright. If you receive this e-mail in error, please notify the sender immediately and delete the e-mail and its attachments from your system. You must not disclose, copy or use any part of this e-mail if you are not the intended recipient. Any opinion expressed in this e-mail and any attachments is not an opinion of RailCorp unless stated or apparent from its content. RailCorp is not responsible for any unauthorised alterations to this e-mail or any attachments. RailCorp will not incur any liability resulting directly or indirectly as a result of the recipient accessing any of the attached files that may contain a virus. From carbonnb at sympatico.ca Wed Aug 17 21:32:29 2005 From: carbonnb at sympatico.ca (Bryan Carbonnell) Date: Wed, 17 Aug 2005 22:32:29 -0400 Subject: [AccessD] copy string to clipboard In-Reply-To: Message-ID: On 18 Aug 2005 at 12:28, Bruen, Bruce wrote: > This must! be simple. > > I have a string variable created by concatenating the values of > several form fields. So how can I copy the value of this string to > the clipboard? > > Private Sub Command35_Click() > Dim refstr As String > refstr = "RCRef=|" & Me.ucref & "|" & Me.testname & "|" & > Me.TestID > & "|" > Debug.Print refstr > Stop > ':-( Runcmd accmdStickTheStringInTheClipboard :-( > End Sub It's an API call. Have a look at http://www.mvps.org/access/api/api0049.htm for the gory details. -- Bryan Carbonnell - carbonnb at sympatico.ca "When they put 'unknown' at the end of a quote, that means they probably don't know how to spell 'anonymous'." ~Author Unknown From stuart at lexacorp.com.pg Wed Aug 17 22:09:55 2005 From: stuart at lexacorp.com.pg (Stuart McLachlan) Date: Thu, 18 Aug 2005 13:09:55 +1000 Subject: [AccessD] copy string to clipboard In-Reply-To: <4303BAFD.19602.192DD92@carbonnb.sympatico.ca> References: Message-ID: <430488A3.30663.1015707@stuart.lexacorp.com.pg> On 17 Aug 2005 at 22:32, Bryan Carbonnell wrote: > On 18 Aug 2005 at 12:28, Bruen, Bruce wrote: > > > This must! be simple. > > > > I have a string variable created by concatenating the values of > > several form fields. So how can I copy the value of this string to > > the clipboard? > > > > Private Sub Command35_Click() > > Dim refstr As String > > refstr = "RCRef=|" & Me.ucref & "|" & Me.testname & "|" & > > Me.TestID > > & "|" > > Debug.Print refstr > > Stop > > ':-( Runcmd accmdStickTheStringInTheClipboard :-( > > End Sub > > It's an API call. > > Have a look at http://www.mvps.org/access/api/api0049.htm for the > gory details. > I'm trying to dig up some code I have to do this - can't find it at the moment. As Brian says, it's fairly gory. It needs memallocs and deallocs plus determining the correct datatype. As a quick and dirty workaround, you may be able to put the string in a control, set focus to the control and use Docmd.RunCommand acCmdCopy -- Stuart From Bruce.Bruen at railcorp.nsw.gov.au Wed Aug 17 22:19:58 2005 From: Bruce.Bruen at railcorp.nsw.gov.au (Bruen, Bruce) Date: Thu, 18 Aug 2005 13:19:58 +1000 Subject: [AccessD] copy string to clipboard Message-ID: Stuart, Stop looking. Tery Krefts code su7ggested by Bryan is just the ticket. Thanks to all. bruce P.s. Although I've never needed to do this before, its amazing that its not a comon function! -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Stuart McLachlan Sent: Thursday, 18 August 2005 1:10 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] copy string to clipboard On 17 Aug 2005 at 22:32, Bryan Carbonnell wrote: > On 18 Aug 2005 at 12:28, Bruen, Bruce wrote: > > > This must! be simple. > > > > I have a string variable created by concatenating the values of > > several form fields. So how can I copy the value of this string to > > the clipboard? > > > > Private Sub Command35_Click() > > Dim refstr As String > > refstr = "RCRef=|" & Me.ucref & "|" & Me.testname & "|" & > > Me.TestID > > & "|" > > Debug.Print refstr > > Stop > > ':-( Runcmd accmdStickTheStringInTheClipboard :-( End Sub > > It's an API call. > > Have a look at http://www.mvps.org/access/api/api0049.htm for the gory > details. > I'm trying to dig up some code I have to do this - can't find it at the moment. As Brian says, it's fairly gory. It needs memallocs and deallocs plus determining the correct datatype. As a quick and dirty workaround, you may be able to put the string in a control, set focus to the control and use Docmd.RunCommand acCmdCopy -- Stuart -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com This e-mail and any attachments may contain confidential information that is intended solely for the use of the intended recipient and may be subject to copyright. If you receive this e-mail in error, please notify the sender immediately and delete the e-mail and its attachments from your system. You must not disclose, copy or use any part of this e-mail if you are not the intended recipient. Any opinion expressed in this e-mail and any attachments is not an opinion of RailCorp unless stated or apparent from its content. RailCorp is not responsible for any unauthorised alterations to this e-mail or any attachments. RailCorp will not incur any liability resulting directly or indirectly as a result of the recipient accessing any of the attached files that may contain a virus. From jmhecht at earthlink.net Wed Aug 17 23:53:57 2005 From: jmhecht at earthlink.net (Joe Hecht) Date: Wed, 17 Aug 2005 21:53:57 -0700 Subject: [AccessD] MDE question Message-ID: <000001c5a3b0$dfc37f30$6401a8c0@laptop1> If I do an app in Access 2K3 and make an .mde out if it will older versions of Access be able to use it? I guess the question is what is the effect on backwards compatibility with mde Joe Hecht Los Angeles CA From stuart at lexacorp.com.pg Thu Aug 18 01:10:11 2005 From: stuart at lexacorp.com.pg (Stuart McLachlan) Date: Thu, 18 Aug 2005 16:10:11 +1000 Subject: [AccessD] MDE question In-Reply-To: <000001c5a3b0$dfc37f30$6401a8c0@laptop1> Message-ID: <4304B2E3.16275.1A65F03@stuart.lexacorp.com.pg> On 17 Aug 2005 at 21:53, Joe Hecht wrote: > If I do an app in Access 2K3 and make an .mde out if it will older versions > of Access be able to use it? > No, and future versions probably won't be able to either - at least that's been the case up to now. -- Stuart From accessd at shaw.ca Thu Aug 18 01:25:02 2005 From: accessd at shaw.ca (Jim Lawrence) Date: Wed, 17 Aug 2005 23:25:02 -0700 Subject: [AccessD] copy string to clipboard In-Reply-To: Message-ID: <0ILE00H0HN5QPV@l-daemon> Hi Bruce: I have some code that I have been using for years, mostly for debugging purposes. It just copies a string up into the clip board and it doesn't look as ugly as the code from Terry Kreft. The following code resides in a miodule declaration area: 'Whole bunch of APIs which allow text to be copied to clipboard... Private Declare Function OpenClipboard Lib "User32" (ByVal hWnd&) As Long Private Declare Function EmptyClipboard Lib "User32" () As Long Private Declare Function GetClipboardData Lib "User32" (ByVal wFormat&) As Long Private Declare Function SetClipboardData Lib "User32" (ByVal wFormat&, _ ByVal hMem&) As Long Private Declare Function CloseClipboard Lib "User32" () As Long ' Private Declare Function GlobalAlloc Lib "kernel32" (ByVal wFlags&, _ ByVal dwBytes&) As Long Private Declare Function GlobalLock Lib "kernel32" (ByVal hMem&) As Long Private Declare Function GlobalUnlock Lib "kernel32" (ByVal hMem&) As Long ' Private Declare Function lstrcpy Lib "kernel32" (ByVal lpString1 As Any, _ ByVal lpString2 As Any) As Long And the remainder is place in a module's function area: Public Sub ClipPutText(lsText As String) ' Stores text on the clipboard Dim hMem As Long Const GHND = &H42 hMem = GlobalAlloc(GHND, Len(lsText) + 1) lstrcpy GlobalLock(hMem), lsText If GlobalUnlock(hMem) = 0 Then If OpenClipboard(0&) <> 0 Then EmptyClipboard SetClipboardData 1, hMem CloseClipboard End If End If End Sub And it can be called from anywhere; forms, reports or modules like so: ClipPutText MyString 'Place the string 'MyString into the clipboard HTH Jim -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Bruen, Bruce Sent: Wednesday, August 17, 2005 7:29 PM To: Access Developers discussion and problem solving Subject: [AccessD] copy string to clipboard This must! be simple. I have a string variable created by concatenating the values of several form fields. So how can I copy the value of this string to the clipboard? Private Sub Command35_Click() Dim refstr As String refstr = "RCRef=|" & Me.ucref & "|" & Me.testname & "|" & Me.TestID & "|" Debug.Print refstr Stop ':-( Runcmd accmdStickTheStringInTheClipboard :-( End Sub tia bruce This e-mail and any attachments may contain confidential information that is intended solely for the use of the intended recipient and may be subject to copyright. If you receive this e-mail in error, please notify the sender immediately and delete the e-mail and its attachments from your system. You must not disclose, copy or use any part of this e-mail if you are not the intended recipient. Any opinion expressed in this e-mail and any attachments is not an opinion of RailCorp unless stated or apparent from its content. RailCorp is not responsible for any unauthorised alterations to this e-mail or any attachments. RailCorp will not incur any liability resulting directly or indirectly as a result of the recipient accessing any of the attached files that may contain a virus. -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From shamil at users.mns.ru Thu Aug 18 04:50:27 2005 From: shamil at users.mns.ru (Shamil Salakhetdinov) Date: Thu, 18 Aug 2005 13:50:27 +0400 Subject: [AccessD] OT(?): Big Design Up Front (BDUF) vs. XP any comments, ideas, experience? Message-ID: <002501c5a3da$451f62d0$6401a8c0@fincomplex.spb.ru> Hi All, I've got this this today from JoelOnSoftware subscription list: <<<<<< "As I worked through the screens that would be needed to allow either party to initiate the process, I realized that Aardvark would be just as useful, and radically simpler, if the helper was required to start the whole process. Making this change in the spec took an hour or two. If we had made this change in code, it would have added weeks to the schedule. I can't tell you how strongly I believe in Big Design Up Front, which the proponents of Extreme Programming consider anathema. I have consistently saved time and made better products by using BDUF and I'm proud to use it, no matter what the XP fanatics claim. They're just wrong on this point and I can't be any clearer than that." - From my latest article: The Project Aardvark Spec http://www.joelonsoftware.com/articles/AardvarkSpec.html >>>>> No comments. It happened that I'm currently reading: "Microsoft Object Thinking" by David West ISBN:0735619654 Microsoft Press ? 2004 and "Extreme Programming Adventures in C# " by Ron Jeffries ISBN:0735619492 Microsoft Press ? 2004 These two books are from Microsoft Press and they have a lot of useful information on eXterme Programming, Unit Testing and Classical(Behavioral) vs. currently existing in most implementations "real life" UML-based(RUP) OOD&P. When MS Press publishes books on such more computer-science than used in real life projects subjects then they are very probably "cultivating the ground" for the soon to become true "dreams". (I remember I watched a movie "Microsoft, Year 2004"(form MS of course) somewhere in year 1995 or so - and as I see now their by that time science-fiction is now real-life, exactly in year 2004-2005. I must say I impressed with both books (and there are just a few technical books I liked because most of them are just "chewing" MSDN or other docs without almost any new ideas). The more I read them the more I like them and I see a lot of sense in what is written in them and I see a lot of my own ideas and experience are there too. I'm glad my thinking is in the mainstream (of course what they say is much more elaborated and thought through and based on their own rich experience). So my guess/thinking is that XP, Unit Testing and Behavioral (Extreme) OOD&P are becoming mainstream for real-life development of the projects of any size - in fact as authors of these books state (based on their experience) that the stuff they are writing about is the "only" agile way to solve the challenges of nowadays customers and projects requests. And they are not fanatics I think - they base their writing on deep analysis of all the previous 50 years experience in software development and not only in software - "Microsoft Object Thinking" is more philosophical than technical book and it has quotes from Plato (year 400 B.C.) - these quotes are used to explain how to "attack" complicated/vague projects' requirements... What do you think about the subject and related issues? Do we need Access/VBA Unit Testing added here - http://opensourcetesting.org/unit_misc.php (Open source tools for software testing professionals) - it can be done - does it make sense? Shamil From shamil at users.mns.ru Thu Aug 18 05:37:22 2005 From: shamil at users.mns.ru (Shamil Salakhetdinov) Date: Thu, 18 Aug 2005 14:37:22 +0400 Subject: [AccessD] OT: 17 August 2005: TechWorld: Alert over Acrobat bug Message-ID: <001c01c5a3e0$d54d9380$6401a8c0@fincomplex.spb.ru> http://www.techworld.com/security/news/index.cfm?RSS&NewsID=4233 <<< The bug went from disclosure to widespread worm attacks within a week, one of the fastest-developing security threats so far, security experts said. >>> Shamil From andy at minstersystems.co.uk Thu Aug 18 06:01:10 2005 From: andy at minstersystems.co.uk (Andy Lacey) Date: Thu, 18 Aug 2005 12:01:10 +0100 Subject: [AccessD] OT: 17 August 2005: TechWorld: Alert over Acrobat bug Message-ID: <20050818110108.278E92528C6@smtp.nildram.co.uk> Thanks for the warning Shamil. -- Andy Lacey http://www.minstersystems.co.uk --------- Original Message -------- From: "Access Developers discussion and problem solving" To: "!dba-Tech" Cc: "!DBA-MAIN" Subject: [AccessD] OT: 17 August 2005: TechWorld: Alert over Acrobat bug Date: 18/08/05 10:34 http://www.techworld.com/security/news/index.cfm?RSS&NewsID=4233 <<< The bug went from disclosure to widespread worm attacks within a week, one of the fastest-developing security threats so far, security experts said. >>> Shamil -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com ________________________________________________ Message sent using UebiMiau 2.7.2 From Johncliviger at aol.com Thu Aug 18 06:39:54 2005 From: Johncliviger at aol.com (Johncliviger at aol.com) Date: Thu, 18 Aug 2005 07:39:54 EDT Subject: [AccessD] Access to SQL Message-ID: <1f9.1014c331.3035cd8a@aol.com> Hi all I've moved Access XP FE to ADP FE and the tables to SQL 2000 BE. I now find that Select DistinctRow thats in Access XP has no equivalent in SQL 2000. What is the equivalent syntax? for example have the following sql string works in Access without a problem. Load it into ADP ...and its a no no. Any suggestions? SELECT DISTINCTROW ApplicantPersonalDetails.*, OrderDetails.CourseCounter, OrderDetails.OrderID, Orders.ClientID, Orders.OrderDate, Orders.InvoiceRequired, ClientPurchaser.ClientCode, ClientPurchaser.Purchasers, ClientPurchaser.FirstName, ClientPurchaser.LastName, PostBasicCourseDetails.CourseID, PostBasicCourseDetails.Date, PostBasicCourseDetails.Course, PostBasicCourseDetails.Level, PostBasicCourseDetails.Location, PostBasicCourseDetails.Code, PostBasicCourseDetails.Length, PostBasicCourseDetails.Places, PostBasicCourseDetails.CourseLeader1, PostBasicCourseDetails.CourseLeader2, PostBasicCourseDetails.Cost, PostBasicCourseDetails.Selection FROM PostBasicCourseDetails INNER JOIN (((ClientPurchaser INNER JOIN Orders ON ClientPurchaser.ClientID = Orders.ClientID) INNER JOIN OrderDetails ON Orders.OrderID = OrderDetails.OrderID) INNER JOIN ApplicantPersonalDetails ON OrderDetails.OrderDetailID = ApplicantPersonalDetails.OrderDetailID) ON PostBasicCourseDetails.CourseCounter = OrderDetails.CourseCounter; Regards johnc From shamil at users.mns.ru Thu Aug 18 06:45:56 2005 From: shamil at users.mns.ru (Shamil Salakhetdinov) Date: Thu, 18 Aug 2005 15:45:56 +0400 Subject: [AccessD] Disconnected MS Access cient applications.. References: <004b01c5a383$7bdab060$6401a8c0@fincomplex.spb.ru> Message-ID: <002001c5a3ea$66b59c60$6401a8c0@fincomplex.spb.ru> No, William, this is not replication - here is what I mean in short: http://www.smsconsulting.spb.ru/shamil_s/articles/ddo.htm Shamil ----- Original Message ----- From: "William Hindman" To: "Access Developers discussion and problem solving" Sent: Thursday, August 18, 2005 3:47 AM Subject: Re: [AccessD] Disconnected MS Access cient applications.. > Shamil > > ..I must be missing something ...that sounds like replication to me. > > William > > ----- Original Message ----- > From: "Shamil Salakhetdinov" > To: "!DBA-MAIN" > Sent: Wednesday, August 17, 2005 7:28 PM > Subject: [AccessD] Disconnected MS Access cient applications.. > > > > Hi All, > > > > I wanted to ask you - what about the subject? > > Anybody uses/interested to use MS Access client applications this way? > > > > Do I miss obvious (RTFM) stuff and such a disconnected mode is already > > implemented in MS Access and broadly used by MS Access developers? Yes, I > > know ADO recordsets can be used with bound MS Access forms etc. but this > > looks like a rather limited feature - am I wrong? > > > > What I mean is cashing data locally into mdbs, only the data needed for > > the > > currently open form(s) etc., processing this data and then updating > > backend > > database(mdb, MSDE, MS SQL, whatever...) - with all this cashing and > > updating made mostly automatically by a tiny framework code, based on > > ADO.NET...(yes, this local caching of data is not a new subject but > > nowadays > > it can be (re-)implement really scalable way with a way less efforts than > > before) > > > > Maybe MS plans to do something like that? > > > > Is that a wheel reinvention or anybody here sees such opportunity like a > > really useful feature in their real life projects? > > > > For me it looks like a useful feature because it could help: to get MS > > Access back into mainstream development area because it will allow to > > easily > > scale applications with MS Access front-ends... > > > > There are many other ideas but most of them in this "ideas pool" based on > > the subject one - if it doesn't make sense for real-life projects then I'd > > better stop working on it... > > > > What is your opinion about the subject? > > When you expect MS will do something like that in MS Access? > > > > Thank you, > > Shamil > > > > -- > > AccessD mailing list > > AccessD at databaseadvisors.com > > http://databaseadvisors.com/mailman/listinfo/accessd > > Website: http://www.databaseadvisors.com > > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com From paul.hartland at isharp.co.uk Thu Aug 18 06:49:41 2005 From: paul.hartland at isharp.co.uk (Paul Hartland (ISHARP)) Date: Thu, 18 Aug 2005 12:49:41 +0100 Subject: [AccessD] Access to SQL In-Reply-To: <1f9.1014c331.3035cd8a@aol.com> Message-ID: Can't quite remember off hand but I think if you change DISTINCTROW to just DISTINCT that may work -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Johncliviger at aol.com Sent: 18 August 2005 12:40 To: accessD at databaseadvisors.com Subject: [AccessD] Access to SQL Hi all I've moved Access XP FE to ADP FE and the tables to SQL 2000 BE. I now find that Select DistinctRow thats in Access XP has no equivalent in SQL 2000. What is the equivalent syntax? for example have the following sql string works in Access without a problem. Load it into ADP ...and its a no no. Any suggestions? SELECT DISTINCTROW ApplicantPersonalDetails.*, OrderDetails.CourseCounter, OrderDetails.OrderID, Orders.ClientID, Orders.OrderDate, Orders.InvoiceRequired, ClientPurchaser.ClientCode, ClientPurchaser.Purchasers, ClientPurchaser.FirstName, ClientPurchaser.LastName, PostBasicCourseDetails.CourseID, PostBasicCourseDetails.Date, PostBasicCourseDetails.Course, PostBasicCourseDetails.Level, PostBasicCourseDetails.Location, PostBasicCourseDetails.Code, PostBasicCourseDetails.Length, PostBasicCourseDetails.Places, PostBasicCourseDetails.CourseLeader1, PostBasicCourseDetails.CourseLeader2, PostBasicCourseDetails.Cost, PostBasicCourseDetails.Selection FROM PostBasicCourseDetails INNER JOIN (((ClientPurchaser INNER JOIN Orders ON ClientPurchaser.ClientID = Orders.ClientID) INNER JOIN OrderDetails ON Orders.OrderID = OrderDetails.OrderID) INNER JOIN ApplicantPersonalDetails ON OrderDetails.OrderDetailID = ApplicantPersonalDetails.OrderDetailID) ON PostBasicCourseDetails.CourseCounter = OrderDetails.CourseCounter; Regards johnc -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From dwaters at usinternet.com Thu Aug 18 07:01:55 2005 From: dwaters at usinternet.com (Dan Waters) Date: Thu, 18 Aug 2005 07:01:55 -0500 Subject: [AccessD] OT(?): Big Design Up Front (BDUF) vs. XP any comments, ideas, experience? In-Reply-To: <2394097.1124357866442.JavaMail.root@sniper21> Message-ID: <000301c5a3ec$a2806520$0300a8c0@danwaters> I agree wholeheartedly with Joel. I developed a spec where instead of the Quality Dept. initiating a record, it was initiated by the Purchasing Dept. because they were the first group to become aware of the issue. I wouldn't have known that without investigating and understanding up front what the whole process was. The Purchasing Dept. agreed pretty quickly that they could do this, particularly because having a software application to use instead of paper forms made it easy. The Quality Dept. was initiating because everyone assumed that it was a Quality process. That was departmental thinking - it's whole company process thinking that really works. Dan Waters -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Shamil Salakhetdinov Sent: Thursday, August 18, 2005 4:50 AM To: !DBA-MAIN Subject: [AccessD] OT(?): Big Design Up Front (BDUF) vs. XP any comments,ideas, experience? Hi All, I've got this this today from JoelOnSoftware subscription list: <<<<<< "As I worked through the screens that would be needed to allow either party to initiate the process, I realized that Aardvark would be just as useful, and radically simpler, if the helper was required to start the whole process. Making this change in the spec took an hour or two. If we had made this change in code, it would have added weeks to the schedule. I can't tell you how strongly I believe in Big Design Up Front, which the proponents of Extreme Programming consider anathema. I have consistently saved time and made better products by using BDUF and I'm proud to use it, no matter what the XP fanatics claim. They're just wrong on this point and I can't be any clearer than that." - From my latest article: The Project Aardvark Spec http://www.joelonsoftware.com/articles/AardvarkSpec.html >>>>> No comments. It happened that I'm currently reading: "Microsoft Object Thinking" by David West ISBN:0735619654 Microsoft Press C 2004 and "Extreme Programming Adventures in C# " by Ron Jeffries ISBN:0735619492 Microsoft Press C 2004 These two books are from Microsoft Press and they have a lot of useful information on eXterme Programming, Unit Testing and Classical(Behavioral) vs. currently existing in most implementations "real life" UML-based(RUP) OOD&P. When MS Press publishes books on such more computer-science than used in real life projects subjects then they are very probably "cultivating the ground" for the soon to become true "dreams". (I remember I watched a movie "Microsoft, Year 2004"(form MS of course) somewhere in year 1995 or so - and as I see now their by that time science-fiction is now real-life, exactly in year 2004-2005. I must say I impressed with both books (and there are just a few technical books I liked because most of them are just "chewing" MSDN or other docs without almost any new ideas). The more I read them the more I like them and I see a lot of sense in what is written in them and I see a lot of my own ideas and experience are there too. I'm glad my thinking is in the mainstream (of course what they say is much more elaborated and thought through and based on their own rich experience). So my guess/thinking is that XP, Unit Testing and Behavioral (Extreme) OOD&P are becoming mainstream for real-life development of the projects of any size - in fact as authors of these books state (based on their experience) that the stuff they are writing about is the "only" agile way to solve the challenges of nowadays customers and projects requests. And they are not fanatics I think - they base their writing on deep analysis of all the previous 50 years experience in software development and not only in software - "Microsoft Object Thinking" is more philosophical than technical book and it has quotes from Plato (year 400 B.C.) - these quotes are used to explain how to "attack" complicated/vague projects' requirements... What do you think about the subject and related issues? Do we need Access/VBA Unit Testing added here - http://opensourcetesting.org/unit_misc.php (Open source tools for software testing professionals) - it can be done - does it make sense? Shamil -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From dejpolsys at hotmail.com Thu Aug 18 07:10:14 2005 From: dejpolsys at hotmail.com (William Hindman) Date: Thu, 18 Aug 2005 08:10:14 -0400 Subject: [AccessD] Disconnected MS Access cient applications.. References: <004b01c5a383$7bdab060$6401a8c0@fincomplex.spb.ru> <002001c5a3ea$66b59c60$6401a8c0@fincomplex.spb.ru> Message-ID: ..thanks Shamil ...you work in another world ...and I don't mean Russia :) ..SQL Server is about as far afield as I ever get ...and unbound forms in Access, with few exceptions, are a curse upon mankind ...imnsho :) William ----- Original Message ----- From: "Shamil Salakhetdinov" To: "Access Developers discussion and problem solving" Sent: Thursday, August 18, 2005 7:45 AM Subject: Re: [AccessD] Disconnected MS Access cient applications.. > No, William, this is not replication - here is what I mean in short: > > http://www.smsconsulting.spb.ru/shamil_s/articles/ddo.htm > > Shamil > > ----- Original Message ----- > From: "William Hindman" > To: "Access Developers discussion and problem solving" > > Sent: Thursday, August 18, 2005 3:47 AM > Subject: Re: [AccessD] Disconnected MS Access cient applications.. > > >> Shamil >> >> ..I must be missing something ...that sounds like replication to me. >> >> William >> >> ----- Original Message ----- >> From: "Shamil Salakhetdinov" >> To: "!DBA-MAIN" >> Sent: Wednesday, August 17, 2005 7:28 PM >> Subject: [AccessD] Disconnected MS Access cient applications.. >> >> >> > Hi All, >> > >> > I wanted to ask you - what about the subject? >> > Anybody uses/interested to use MS Access client applications this way? >> > >> > Do I miss obvious (RTFM) stuff and such a disconnected mode is already >> > implemented in MS Access and broadly used by MS Access developers? Yes, > I >> > know ADO recordsets can be used with bound MS Access forms etc. but >> > this >> > looks like a rather limited feature - am I wrong? >> > >> > What I mean is cashing data locally into mdbs, only the data needed for >> > the >> > currently open form(s) etc., processing this data and then updating >> > backend >> > database(mdb, MSDE, MS SQL, whatever...) - with all this cashing and >> > updating made mostly automatically by a tiny framework code, based on >> > ADO.NET...(yes, this local caching of data is not a new subject but >> > nowadays >> > it can be (re-)implement really scalable way with a way less efforts > than >> > before) >> > >> > Maybe MS plans to do something like that? >> > >> > Is that a wheel reinvention or anybody here sees such opportunity like >> > a >> > really useful feature in their real life projects? >> > >> > For me it looks like a useful feature because it could help: to get MS >> > Access back into mainstream development area because it will allow to >> > easily >> > scale applications with MS Access front-ends... >> > >> > There are many other ideas but most of them in this "ideas pool" based > on >> > the subject one - if it doesn't make sense for real-life projects then > I'd >> > better stop working on it... >> > >> > What is your opinion about the subject? >> > When you expect MS will do something like that in MS Access? >> > >> > Thank you, >> > Shamil >> > >> > -- >> > AccessD mailing list >> > AccessD at databaseadvisors.com >> > http://databaseadvisors.com/mailman/listinfo/accessd >> > Website: http://www.databaseadvisors.com >> > >> -- >> AccessD mailing list >> AccessD at databaseadvisors.com >> http://databaseadvisors.com/mailman/listinfo/accessd >> Website: http://www.databaseadvisors.com > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > From jwcolby at colbyconsulting.com Thu Aug 18 07:44:01 2005 From: jwcolby at colbyconsulting.com (John W. Colby) Date: Thu, 18 Aug 2005 08:44:01 -0400 Subject: [AccessD] MDE question In-Reply-To: <000001c5a3b0$dfc37f30$6401a8c0@laptop1> Message-ID: <00fd01c5a3f2$82c37d70$6c7aa8c0@ColbyM6805> Joe, Compatibility between versions depends on two factors, the container version used for the MDE and use of features specific to that version. Let's discuss this in two parts: CONTAINER: If your users use A97, A2K, AXP and A2003, it should be possible to build the mde in and A97 container and all of these versions should be able to open the thing and use it. IIRC, there is a "great divide" between A97 and anything after where if the container is opened in any version AFTER A97 the user will be able to open (and use it) but not make changes to it, i.e. it is opened read only. For this reason alone it is convenient if you can assure that all clients will use A2K or later. If you use A2K and later, then it becomes a "simple" rule: Access can only open the version it creates or earlier. For example, A2K can only open A2K containers, it cannot open AXP containers. If you create an MDE using a native AXP container then A2K users will get a "bad database format" error message if they try to open it. If you use an A2K container, then A2K and all versions after will be able to open the container, and also to read / write to it. RULE: Use only A2K containers to build databases that need to be read/writeable by Access versions A2K and above. VERSION SPECIFIC FEATURES: Microsoft takes great care to try and ensure backwards compatibility (No, I don't work for them). For that reason, virtually any feature used in an A97 database can be used in A2K or above. However, Each version can and does add features. Obviously in general these features cannot be used by previous versions. A good example of this is raising events. A97 could SINK events in classes which were raised by objects passed in to the class. However A97 cannot RAISE events of its own. A2K and above can raise events. Thus if your code raises events, that will not be useable in A97. RULE: Discover whether you are using version specific capabilities and either not use these capabilities or be prepared to limit your distribution to versions of Access at least the version you are developing in or later. I use AXP and A2K. I don't know of any capabilities in AXP that are not useable in A2K. I think once you get out to A2003 you start to run into things like XML import/export which is just not available in AXP and previous versions. Obviously if you were to develop in A2003 and you use these features, even if you use an A2K container neither A2K nor AXP will function correctly. Hopefully this discussion has given you a better idea of how to approach compatibility issues. AFAIK, using an MDE in and of itself does not place any restrictions on which version of Access can use the database. The container type and Version Specific Functionality will be the sticking points. John W. Colby www.ColbyConsulting.com Contribute your unused CPU cycles to a good cause: http://folding.stanford.edu/ -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Joe Hecht Sent: Thursday, August 18, 2005 12:54 AM To: 'Access Developers discussion and problem solving' Subject: [AccessD] MDE question If I do an app in Access 2K3 and make an .mde out if it will older versions of Access be able to use it? I guess the question is what is the effect on backwards compatibility with mde Joe Hecht Los Angeles CA -- 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 Aug 18 08:11:24 2005 From: stuart at lexacorp.com.pg (Stuart McLachlan) Date: Thu, 18 Aug 2005 23:11:24 +1000 Subject: [AccessD] MDE question In-Reply-To: <00fd01c5a3f2$82c37d70$6c7aa8c0@ColbyM6805> References: <000001c5a3b0$dfc37f30$6401a8c0@laptop1> Message-ID: <4305159C.15609.389644@stuart.lexacorp.com.pg> On 18 Aug 2005 at 8:44, John W. Colby wrote: > CONTAINER: If your users use A97, A2K, AXP and A2003, it should be possible > to build the mde in and A97 container and all of these versions should be > able to open the thing and use it. No! Definitely not. A2K/XP can't open an A97 MDE. If you try, will be asked whether you want to open or convert it, but which ever option you choose, you will then get a msgbox saying "You can't convert or enable an MDE file." You can link to it or import the tables and queries from it but you can't open or run it. I'm running into this frequently at present. I'm upgrading all the inhouse applications for a group of companies. Many of these were created by dabblers and they are a real mess. Unfortunately some of them are only available as MDEs and they are totally unconvertible. Best I can do is extract the data and recreate the functionality in a new FE. -- Stuart From jwcolby at colbyconsulting.com Thu Aug 18 08:16:03 2005 From: jwcolby at colbyconsulting.com (John W. Colby) Date: Thu, 18 Aug 2005 09:16:03 -0400 Subject: [AccessD] MDE question In-Reply-To: <4305159C.15609.389644@stuart.lexacorp.com.pg> Message-ID: <010601c5a3f6$fede9710$6c7aa8c0@ColbyM6805> Ahh.. OK, I did not know that. That is not true for later versions correct? I.e. AXP does not even attempt to "convert" an A2K app to AXP so this isn't an issue, correct? As for "having to start from scratch" on those amateur apps, believe me that is a blessing! John W. Colby www.ColbyConsulting.com Contribute your unused CPU cycles to a good cause: http://folding.stanford.edu/ -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Stuart McLachlan Sent: Thursday, August 18, 2005 9:11 AM To: Access Developers discussion and problem solving Subject: RE: [AccessD] MDE question On 18 Aug 2005 at 8:44, John W. Colby wrote: > CONTAINER: If your users use A97, A2K, AXP and A2003, it should be > possible to build the mde in and A97 container and all of these > versions should be able to open the thing and use it. No! Definitely not. A2K/XP can't open an A97 MDE. If you try, will be asked whether you want to open or convert it, but which ever option you choose, you will then get a msgbox saying "You can't convert or enable an MDE file." You can link to it or import the tables and queries from it but you can't open or run it. I'm running into this frequently at present. I'm upgrading all the inhouse applications for a group of companies. Many of these were created by dabblers and they are a real mess. Unfortunately some of them are only available as MDEs and they are totally unconvertible. Best I can do is extract the data and recreate the functionality in a new FE. -- Stuart -- 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 Aug 18 08:19:31 2005 From: stuart at lexacorp.com.pg (Stuart McLachlan) Date: Thu, 18 Aug 2005 23:19:31 +1000 Subject: [AccessD] MDE question In-Reply-To: <00fd01c5a3f2$82c37d70$6c7aa8c0@ColbyM6805> References: <000001c5a3b0$dfc37f30$6401a8c0@laptop1> Message-ID: <43051783.7751.400354@stuart.lexacorp.com.pg> On 18 Aug 2005 at 8:44, John W. Colby wrote: > I use AXP and A2K. I don't know of any capabilities in AXP that are not > useable in A2K. PivotTable and PivotChart views Binding of reports, listboxes and combo boxes to ADO recordsets Very long SQL statements as RecordSource or RowSource (over 2K characters) -- Stuart From stuart at lexacorp.com.pg Thu Aug 18 08:27:21 2005 From: stuart at lexacorp.com.pg (Stuart McLachlan) Date: Thu, 18 Aug 2005 23:27:21 +1000 Subject: [AccessD] MDE question In-Reply-To: <010601c5a3f6$fede9710$6c7aa8c0@ColbyM6805> References: <4305159C.15609.389644@stuart.lexacorp.com.pg> Message-ID: <43051959.31312.473138@stuart.lexacorp.com.pg> On 18 Aug 2005 at 9:16, John W. Colby wrote: > Ahh.. OK, I did not know that. That is not true for later versions correct? > I.e. AXP does not even attempt to "convert" an A2K app to AXP so this isn't > an issue, correct? > Correct. AXP has no dificulty opening an A2K MDE. > As for "having to start from scratch" on those amateur apps, believe me that > is a blessing! > Don't I know it. I' was just handed a new one yesterday to do some work on: Natural Keys, Fieldnames "Date" and 'Name" as well as included spaces, tables not normalised, macros galore etc, etc. And this one was apparently built for a government entity by an AusAID consultant! -- Stuart From D.Dick at uws.edu.au Thu Aug 18 07:45:48 2005 From: D.Dick at uws.edu.au (Darren Dick) Date: Thu, 18 Aug 2005 22:45:48 +1000 Subject: [AccessD] A2000/3:Connecting to SQL Server Message-ID: <2FDE83AF1A69C84796CBD13788DDA88326D81B@BONHAM.AD.UWS.EDU.AU> Hello all New Job - Have to Learn SQL Server ASAP and MS Reporting Services. (Anyone know any good resources on MS Reporting Services?) Also I would like someone to hold my hand getting an ACCESS front end to talk with a SQL Server Backend. never done it - never had to - and I have no clue on how to do it. :-)) Anyone wanna hold my hand (No sweaty palms - I promise) or failing that some simple (and it really does have to be simple for me) tutorials? Many thanks Darren From Jdemarco at hudsonhealthplan.org Thu Aug 18 08:55:30 2005 From: Jdemarco at hudsonhealthplan.org (Jim DeMarco) Date: Thu, 18 Aug 2005 09:55:30 -0400 Subject: [AccessD] copy string to clipboard Message-ID: <08F823FD83787D4BA0B99CA580AD3C74016C3CCA@TTNEXCHCL2.hshhp.com> If you have VB and don't mind shipping a dll with your app it's much simpler. Clipboard.SetText "Jim D" Me.Text1.Text = Clipboard.GetText Jim DeMarco -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Jim Lawrence Sent: Thursday, August 18, 2005 2:25 AM To: 'Access Developers discussion and problem solving' Subject: RE: [AccessD] copy string to clipboard Hi Bruce: I have some code that I have been using for years, mostly for debugging purposes. It just copies a string up into the clip board and it doesn't look as ugly as the code from Terry Kreft. The following code resides in a miodule declaration area: 'Whole bunch of APIs which allow text to be copied to clipboard... Private Declare Function OpenClipboard Lib "User32" (ByVal hWnd&) As Long Private Declare Function EmptyClipboard Lib "User32" () As Long Private Declare Function GetClipboardData Lib "User32" (ByVal wFormat&) As Long Private Declare Function SetClipboardData Lib "User32" (ByVal wFormat&, _ ByVal hMem&) As Long Private Declare Function CloseClipboard Lib "User32" () As Long ' Private Declare Function GlobalAlloc Lib "kernel32" (ByVal wFlags&, _ ByVal dwBytes&) As Long Private Declare Function GlobalLock Lib "kernel32" (ByVal hMem&) As Long Private Declare Function GlobalUnlock Lib "kernel32" (ByVal hMem&) As Long ' Private Declare Function lstrcpy Lib "kernel32" (ByVal lpString1 As Any, _ ByVal lpString2 As Any) As Long And the remainder is place in a module's function area: Public Sub ClipPutText(lsText As String) ' Stores text on the clipboard Dim hMem As Long Const GHND = &H42 hMem = GlobalAlloc(GHND, Len(lsText) + 1) lstrcpy GlobalLock(hMem), lsText If GlobalUnlock(hMem) = 0 Then If OpenClipboard(0&) <> 0 Then EmptyClipboard SetClipboardData 1, hMem CloseClipboard End If End If End Sub And it can be called from anywhere; forms, reports or modules like so: ClipPutText MyString 'Place the string 'MyString into the clipboard HTH Jim -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Bruen, Bruce Sent: Wednesday, August 17, 2005 7:29 PM To: Access Developers discussion and problem solving Subject: [AccessD] copy string to clipboard This must! be simple. I have a string variable created by concatenating the values of several form fields. So how can I copy the value of this string to the clipboard? Private Sub Command35_Click() Dim refstr As String refstr = "RCRef=|" & Me.ucref & "|" & Me.testname & "|" & Me.TestID & "|" Debug.Print refstr Stop ':-( Runcmd accmdStickTheStringInTheClipboard :-( End Sub tia bruce This e-mail and any attachments may contain confidential information that is intended solely for the use of the intended recipient and may be subject to copyright. If you receive this e-mail in error, please notify the sender immediately and delete the e-mail and its attachments from your system. You must not disclose, copy or use any part of this e-mail if you are not the intended recipient. Any opinion expressed in this e-mail and any attachments is not an opinion of RailCorp unless stated or apparent from its content. RailCorp is not responsible for any unauthorised alterations to this e-mail or any attachments. RailCorp will not incur any liability resulting directly or indirectly as a result of the recipient accessing any of the attached files that may contain a virus. -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/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 jwcolby at colbyconsulting.com Thu Aug 18 09:00:55 2005 From: jwcolby at colbyconsulting.com (John W. Colby) Date: Thu, 18 Aug 2005 10:00:55 -0400 Subject: [AccessD] A2000/3:Connecting to SQL Server In-Reply-To: <2FDE83AF1A69C84796CBD13788DDA88326D81B@BONHAM.AD.UWS.EDU.AU> Message-ID: <010701c5a3fd$40a7f690$6c7aa8c0@ColbyM6805> Darren, If the BE is in Access and needs to be upgraded to SQL Server, try the upgrade wizard. I have run this on some fairly major Access Bes and it works pretty well. The only issue I had was dates which have different ranges between Access and SQL. The idea is to get the BE upgrading without any issues (data all moves without errors), then put the FE back in the BE and run it one more time. The wizard will place the data in SQL Server and create ODBC connections between the FE (no data anymore) and SQL Server. The ODBC connections look for all the world like normal links and at that point your FE should operate normally. At least the FE will work now. You can then start doing other things to make it faster, more robust etc. That's the "nutshell" version of the process. John W. Colby www.ColbyConsulting.com Contribute your unused CPU cycles to a good cause: http://folding.stanford.edu/ -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Darren Dick Sent: Thursday, August 18, 2005 8:46 AM To: Access Developers discussion and problem solving; Database Advisors Subject: [AccessD] A2000/3:Connecting to SQL Server Hello all New Job - Have to Learn SQL Server ASAP and MS Reporting Services. (Anyone know any good resources on MS Reporting Services?) Also I would like someone to hold my hand getting an ACCESS front end to talk with a SQL Server Backend. never done it - never had to - and I have no clue on how to do it. :-)) Anyone wanna hold my hand (No sweaty palms - I promise) or failing that some simple (and it really does have to be simple for me) tutorials? Many thanks Darren -- 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 Aug 18 09:53:32 2005 From: Lambert.Heenan at AIG.com (Heenan, Lambert) Date: Thu, 18 Aug 2005 10:53:32 -0400 Subject: [AccessD] copy string to clipboard Message-ID: <1D7828CDB8350747AFE9D69E0E90DA1F1484BAA4@xlivmbx21.aig.com> Which is simpler ClipPutText MyString Or Clipboard.SetText "Jim D" Answer: they are both real simple. But In the first case all you need is the code for the ClipPutText routine stashed away in a module, which you can then treat as a black box, and in the second case you have to distribute a DLL and ensure that it gets registered properly (assuming the user has privileges to register DLLs). I know which way I would go! :-) Lambert -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Jim DeMarco Sent: Thursday, August 18, 2005 9:56 AM To: Access Developers discussion and problem solving Subject: RE: [AccessD] copy string to clipboard If you have VB and don't mind shipping a dll with your app it's much simpler. Clipboard.SetText "Jim D" Me.Text1.Text = Clipboard.GetText Jim DeMarco -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Jim Lawrence Sent: Thursday, August 18, 2005 2:25 AM To: 'Access Developers discussion and problem solving' Subject: RE: [AccessD] copy string to clipboard Hi Bruce: I have some code that I have been using for years, mostly for debugging purposes. It just copies a string up into the clip board and it doesn't look as ugly as the code from Terry Kreft. The following code resides in a miodule declaration area: 'Whole bunch of APIs which allow text to be copied to clipboard... Private Declare Function OpenClipboard Lib "User32" (ByVal hWnd&) As Long Private Declare Function EmptyClipboard Lib "User32" () As Long Private Declare Function GetClipboardData Lib "User32" (ByVal wFormat&) As Long Private Declare Function SetClipboardData Lib "User32" (ByVal wFormat&, _ ByVal hMem&) As Long Private Declare Function CloseClipboard Lib "User32" () As Long ' Private Declare Function GlobalAlloc Lib "kernel32" (ByVal wFlags&, _ ByVal dwBytes&) As Long Private Declare Function GlobalLock Lib "kernel32" (ByVal hMem&) As Long Private Declare Function GlobalUnlock Lib "kernel32" (ByVal hMem&) As Long ' Private Declare Function lstrcpy Lib "kernel32" (ByVal lpString1 As Any, _ ByVal lpString2 As Any) As Long And the remainder is place in a module's function area: Public Sub ClipPutText(lsText As String) ' Stores text on the clipboard Dim hMem As Long Const GHND = &H42 hMem = GlobalAlloc(GHND, Len(lsText) + 1) lstrcpy GlobalLock(hMem), lsText If GlobalUnlock(hMem) = 0 Then If OpenClipboard(0&) <> 0 Then EmptyClipboard SetClipboardData 1, hMem CloseClipboard End If End If End Sub And it can be called from anywhere; forms, reports or modules like so: ClipPutText MyString 'Place the string 'MyString into the clipboard HTH Jim -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Bruen, Bruce Sent: Wednesday, August 17, 2005 7:29 PM To: Access Developers discussion and problem solving Subject: [AccessD] copy string to clipboard This must! be simple. I have a string variable created by concatenating the values of several form fields. So how can I copy the value of this string to the clipboard? Private Sub Command35_Click() Dim refstr As String refstr = "RCRef=|" & Me.ucref & "|" & Me.testname & "|" & Me.TestID & "|" Debug.Print refstr Stop ':-( Runcmd accmdStickTheStringInTheClipboard :-( End Sub tia bruce This e-mail and any attachments may contain confidential information that is intended solely for the use of the intended recipient and may be subject to copyright. If you receive this e-mail in error, please notify the sender immediately and delete the e-mail and its attachments from your system. You must not disclose, copy or use any part of this e-mail if you are not the intended recipient. Any opinion expressed in this e-mail and any attachments is not an opinion of RailCorp unless stated or apparent from its content. RailCorp is not responsible for any unauthorised alterations to this e-mail or any attachments. RailCorp will not incur any liability resulting directly or indirectly as a result of the recipient accessing any of the attached files that may contain a virus. -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/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 jwcolby at colbyconsulting.com Thu Aug 18 10:00:26 2005 From: jwcolby at colbyconsulting.com (John W. Colby) Date: Thu, 18 Aug 2005 11:00:26 -0400 Subject: [AccessD] copy string to clipboard In-Reply-To: <1D7828CDB8350747AFE9D69E0E90DA1F1484BAA4@xlivmbx21.aig.com> Message-ID: <010e01c5a405$90f58b50$6c7aa8c0@ColbyM6805> Where is the matching ClipGetText? John W. Colby www.ColbyConsulting.com Contribute your unused CPU cycles to a good cause: http://folding.stanford.edu/ -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Heenan, Lambert Sent: Thursday, August 18, 2005 10:54 AM To: 'Access Developers discussion and problem solving' Subject: RE: [AccessD] copy string to clipboard Which is simpler ClipPutText MyString Or Clipboard.SetText "Jim D" Answer: they are both real simple. But In the first case all you need is the code for the ClipPutText routine stashed away in a module, which you can then treat as a black box, and in the second case you have to distribute a DLL and ensure that it gets registered properly (assuming the user has privileges to register DLLs). I know which way I would go! :-) Lambert -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Jim DeMarco Sent: Thursday, August 18, 2005 9:56 AM To: Access Developers discussion and problem solving Subject: RE: [AccessD] copy string to clipboard If you have VB and don't mind shipping a dll with your app it's much simpler. Clipboard.SetText "Jim D" Me.Text1.Text = Clipboard.GetText Jim DeMarco -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Jim Lawrence Sent: Thursday, August 18, 2005 2:25 AM To: 'Access Developers discussion and problem solving' Subject: RE: [AccessD] copy string to clipboard Hi Bruce: I have some code that I have been using for years, mostly for debugging purposes. It just copies a string up into the clip board and it doesn't look as ugly as the code from Terry Kreft. The following code resides in a miodule declaration area: 'Whole bunch of APIs which allow text to be copied to clipboard... Private Declare Function OpenClipboard Lib "User32" (ByVal hWnd&) As Long Private Declare Function EmptyClipboard Lib "User32" () As Long Private Declare Function GetClipboardData Lib "User32" (ByVal wFormat&) As Long Private Declare Function SetClipboardData Lib "User32" (ByVal wFormat&, _ ByVal hMem&) As Long Private Declare Function CloseClipboard Lib "User32" () As Long ' Private Declare Function GlobalAlloc Lib "kernel32" (ByVal wFlags&, _ ByVal dwBytes&) As Long Private Declare Function GlobalLock Lib "kernel32" (ByVal hMem&) As Long Private Declare Function GlobalUnlock Lib "kernel32" (ByVal hMem&) As Long ' Private Declare Function lstrcpy Lib "kernel32" (ByVal lpString1 As Any, _ ByVal lpString2 As Any) As Long And the remainder is place in a module's function area: Public Sub ClipPutText(lsText As String) ' Stores text on the clipboard Dim hMem As Long Const GHND = &H42 hMem = GlobalAlloc(GHND, Len(lsText) + 1) lstrcpy GlobalLock(hMem), lsText If GlobalUnlock(hMem) = 0 Then If OpenClipboard(0&) <> 0 Then EmptyClipboard SetClipboardData 1, hMem CloseClipboard End If End If End Sub And it can be called from anywhere; forms, reports or modules like so: ClipPutText MyString 'Place the string 'MyString into the clipboard HTH Jim -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Bruen, Bruce Sent: Wednesday, August 17, 2005 7:29 PM To: Access Developers discussion and problem solving Subject: [AccessD] copy string to clipboard This must! be simple. I have a string variable created by concatenating the values of several form fields. So how can I copy the value of this string to the clipboard? Private Sub Command35_Click() Dim refstr As String refstr = "RCRef=|" & Me.ucref & "|" & Me.testname & "|" & Me.TestID & "|" Debug.Print refstr Stop ':-( Runcmd accmdStickTheStringInTheClipboard :-( End Sub tia bruce This e-mail and any attachments may contain confidential information that is intended solely for the use of the intended recipient and may be subject to copyright. If you receive this e-mail in error, please notify the sender immediately and delete the e-mail and its attachments from your system. You must not disclose, copy or use any part of this e-mail if you are not the intended recipient. Any opinion expressed in this e-mail and any attachments is not an opinion of RailCorp unless stated or apparent from its content. RailCorp is not responsible for any unauthorised alterations to this e-mail or any attachments. RailCorp will not incur any liability resulting directly or indirectly as a result of the recipient accessing any of the attached files that may contain a virus. -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/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 Thu Aug 18 10:10:32 2005 From: DWUTKA at marlow.com (DWUTKA at marlow.com) Date: Thu, 18 Aug 2005 10:10:32 -0500 Subject: [AccessD] MDE question Message-ID: <123701F54509D9119A4F00D0B747349016DD9E@main2.marlow.com> I was going to post about that. From what I understand, the big change was 97 to 2000. 2000 and up has the ability of using the '2000' format, so you should be able to make a 2000 format mde that could be used in 2000, XP and 2003. But I don't have the later versions to try that on. Drew -----Original Message----- From: Stuart McLachlan [mailto:stuart at lexacorp.com.pg] Sent: Thursday, August 18, 2005 8:27 AM To: Access Developers discussion and problem solving Subject: RE: [AccessD] MDE question On 18 Aug 2005 at 9:16, John W. Colby wrote: > Ahh.. OK, I did not know that. That is not true for later versions correct? > I.e. AXP does not even attempt to "convert" an A2K app to AXP so this isn't > an issue, correct? > Correct. AXP has no dificulty opening an A2K MDE. > As for "having to start from scratch" on those amateur apps, believe me that > is a blessing! > Don't I know it. I' was just handed a new one yesterday to do some work on: Natural Keys, Fieldnames "Date" and 'Name" as well as included spaces, tables not normalised, macros galore etc, etc. And this one was apparently built for a government entity by an AusAID consultant! -- Stuart -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From cfoust at infostatsystems.com Thu Aug 18 10:25:09 2005 From: cfoust at infostatsystems.com (Charlotte Foust) Date: Thu, 18 Aug 2005 08:25:09 -0700 Subject: [AccessD] MDE question Message-ID: The real difference is the VBA version behind Access. Access 97 was VBA5, which used a different IDE and was non-standard to the rest of Office 97/VB5. Access 2000 - 2003 is built on VBA6 and shares the standard VBA6 IDE. Even in 2003, the 2000 file format is the default. There is a difference in the structures (i.e., 2002 and 2003 have an additional system table that doesn't exist in 2000) but each version includes backward (not forward) compatibility. Charlotte Foust -----Original Message----- From: DWUTKA at marlow.com [mailto:DWUTKA at marlow.com] Sent: Thursday, August 18, 2005 8:11 AM To: accessd at databaseadvisors.com Subject: RE: [AccessD] MDE question I was going to post about that. From what I understand, the big change was 97 to 2000. 2000 and up has the ability of using the '2000' format, so you should be able to make a 2000 format mde that could be used in 2000, XP and 2003. But I don't have the later versions to try that on. Drew -----Original Message----- From: Stuart McLachlan [mailto:stuart at lexacorp.com.pg] Sent: Thursday, August 18, 2005 8:27 AM To: Access Developers discussion and problem solving Subject: RE: [AccessD] MDE question On 18 Aug 2005 at 9:16, John W. Colby wrote: > Ahh.. OK, I did not know that. That is not true for later versions correct? > I.e. AXP does not even attempt to "convert" an A2K app to AXP so this isn't > an issue, correct? > Correct. AXP has no dificulty opening an A2K MDE. > As for "having to start from scratch" on those amateur apps, believe > me that > is a blessing! > Don't I know it. I' was just handed a new one yesterday to do some work on: Natural Keys, Fieldnames "Date" and 'Name" as well as included spaces, tables not normalised, macros galore etc, etc. And this one was apparently built for a government entity by an AusAID consultant! -- Stuart -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd 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 Aug 18 10:27:14 2005 From: cfoust at infostatsystems.com (Charlotte Foust) Date: Thu, 18 Aug 2005 08:27:14 -0700 Subject: [AccessD] Access to SQL Message-ID: There is no DISTINCTROW keyword in SQL because you don't need it. Just drop that from your SQL statement and check the results. Charlotte Foust -----Original Message----- From: Johncliviger at aol.com [mailto:Johncliviger at aol.com] Sent: Thursday, August 18, 2005 4:40 AM To: accessD at databaseadvisors.com Subject: [AccessD] Access to SQL Hi all I've moved Access XP FE to ADP FE and the tables to SQL 2000 BE. I now find that Select DistinctRow thats in Access XP has no equivalent in SQL 2000. What is the equivalent syntax? for example have the following sql string works in Access without a problem. Load it into ADP ...and its a no no. Any suggestions? SELECT DISTINCTROW ApplicantPersonalDetails.*, OrderDetails.CourseCounter, OrderDetails.OrderID, Orders.ClientID, Orders.OrderDate, Orders.InvoiceRequired, ClientPurchaser.ClientCode, ClientPurchaser.Purchasers, ClientPurchaser.FirstName, ClientPurchaser.LastName, PostBasicCourseDetails.CourseID, PostBasicCourseDetails.Date, PostBasicCourseDetails.Course, PostBasicCourseDetails.Level, PostBasicCourseDetails.Location, PostBasicCourseDetails.Code, PostBasicCourseDetails.Length, PostBasicCourseDetails.Places, PostBasicCourseDetails.CourseLeader1, PostBasicCourseDetails.CourseLeader2, PostBasicCourseDetails.Cost, PostBasicCourseDetails.Selection FROM PostBasicCourseDetails INNER JOIN (((ClientPurchaser INNER JOIN Orders ON ClientPurchaser.ClientID = Orders.ClientID) INNER JOIN OrderDetails ON Orders.OrderID = OrderDetails.OrderID) INNER JOIN ApplicantPersonalDetails ON OrderDetails.OrderDetailID = ApplicantPersonalDetails.OrderDetailID) ON PostBasicCourseDetails.CourseCounter = OrderDetails.CourseCounter; Regards johnc -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From jwcolby at colbyconsulting.com Thu Aug 18 10:32:27 2005 From: jwcolby at colbyconsulting.com (John W. Colby) Date: Thu, 18 Aug 2005 11:32:27 -0400 Subject: [AccessD] Running an app from a service Message-ID: <011101c5a40a$0d5a3110$6c7aa8c0@ColbyM6805> I have created a service using VB.Net. The service can be registered, once registered I can start it etc. It runs, with a timer tick writing a log to application.log so I can see that the timer tick is happening. Once I got that working I went looking for how to run an external application from the service. The code I found looks like: Dim p As System.Diagnostics.Process p = System.Diagnostics.Process.Start("notepad.exe", "sample.txt") p.WaitForExit() A couple of things. Notepad is running, it can bee seen as a process in Task Manager, but it is not visible, and it has not created sample.txt AFAICT. I found other code (in C# unfortunately) that looks something like: Dim p As System.Diagnostics.Process Dim psi As System.Diagnostics.ProcessStartInfo psi = System.Diagnostics.ProcessStartInfo psi.FileName = "notepad.exe" psi.Arguments = "sample.txt" psi.WorkingDirectory = "x:\Luminex" psi.WindowStyle = System.Diagnostics.ProcessWindowStyle.Maximized p = System.Diagnostics.Process.Start(psi) p.WaitForExit() PSI appears to be a structure for loading properties that P will use. Even when done this way, the notepad is not visible. Furthermore, in either case the code does not wait... Or maybe the timer spawns a thread and will fire again spawning another thread. In other words, next timer tick I get another instance of Notepad. However... If I place a line of code that writes to the log file before and after the call to the sub that opens notebook, the line before the call to open the notepad does log, the line after does not log. So, I do not understand all that I know about this stuff. If anyone has any ideas how to make the process visible I would appreciate it. I also do need the code not run again until the app shuts down. I think I can just shut off the timer so I can handle it that way if the timer will fire again even if the p.WaitFor() is in place. Any comments? Has anyone done this? John W. Colby www.ColbyConsulting.com Contribute your unused CPU cycles to a good cause: http://folding.stanford.edu/ From cfoust at infostatsystems.com Thu Aug 18 10:35:18 2005 From: cfoust at infostatsystems.com (Charlotte Foust) Date: Thu, 18 Aug 2005 08:35:18 -0700 Subject: [AccessD] Disconnected MS Access cient applications.. Message-ID: Oooohhh, I think I'm in love! Charlotte Foust -----Original Message----- From: Shamil Salakhetdinov [mailto:shamil at users.mns.ru] Sent: Thursday, August 18, 2005 4:46 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Disconnected MS Access cient applications.. No, William, this is not replication - here is what I mean in short: http://www.smsconsulting.spb.ru/shamil_s/articles/ddo.htm Shamil ----- Original Message ----- From: "William Hindman" To: "Access Developers discussion and problem solving" Sent: Thursday, August 18, 2005 3:47 AM Subject: Re: [AccessD] Disconnected MS Access cient applications.. > Shamil > > ..I must be missing something ...that sounds like replication to me. > > William > > ----- Original Message ----- > From: "Shamil Salakhetdinov" > To: "!DBA-MAIN" > Sent: Wednesday, August 17, 2005 7:28 PM > Subject: [AccessD] Disconnected MS Access cient applications.. > > > > Hi All, > > > > I wanted to ask you - what about the subject? > > Anybody uses/interested to use MS Access client applications this > > way? > > > > Do I miss obvious (RTFM) stuff and such a disconnected mode is > > already implemented in MS Access and broadly used by MS Access > > developers? Yes, I > > know ADO recordsets can be used with bound MS Access forms etc. but > > this looks like a rather limited feature - am I wrong? > > > > What I mean is cashing data locally into mdbs, only the data needed > > for the currently open form(s) etc., processing this data and then > > updating backend > > database(mdb, MSDE, MS SQL, whatever...) - with all this cashing and > > updating made mostly automatically by a tiny framework code, based on > > ADO.NET...(yes, this local caching of data is not a new subject but > > nowadays > > it can be (re-)implement really scalable way with a way less efforts than > > before) > > > > Maybe MS plans to do something like that? > > > > Is that a wheel reinvention or anybody here sees such opportunity > > like a really useful feature in their real life projects? > > > > For me it looks like a useful feature because it could help: to get > > MS Access back into mainstream development area because it will > > allow to easily scale applications with MS Access front-ends... > > > > There are many other ideas but most of them in this "ideas pool" > > based on > > the subject one - if it doesn't make sense for real-life projects > > then I'd > > better stop working on it... > > > > What is your opinion about the subject? > > When you expect MS will do something like that in MS Access? > > > > Thank you, > > Shamil > > > > -- > > AccessD mailing list > > AccessD at databaseadvisors.com > > http://databaseadvisors.com/mailman/listinfo/accessd > > Website: http://www.databaseadvisors.com > > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From shamil at users.mns.ru Thu Aug 18 10:24:24 2005 From: shamil at users.mns.ru (Shamil Salakhetdinov) Date: Thu, 18 Aug 2005 19:24:24 +0400 Subject: [AccessD] Disconnected MS Access cient applications.. References: <004b01c5a383$7bdab060$6401a8c0@fincomplex.spb.ru><002001c5a3ea$66b59c60$6401a8c0@fincomplex.spb.ru> Message-ID: <003a01c5a40c$1e328f80$6401a8c0@fincomplex.spb.ru> William, In fact this is an attempt to converge two Worlds.... And I don't mean USA and Russia :) ... It can be done almost transparently to your World, MS Access real life programming World I mean... No, I'm not talking about unbound vs. bound Worlds here - I have just said this technique can be used by both these Worlds.... What is important to note I think is that MS is moving to "disconnected World" (had moved in fact at last in .NET). MS is moving also into "decoupled and highly cohesive "intelligent" objects World" - and programming in such environment is very different experience... ...and it may become real World with the next version of MS Office/MS Access (although I doubt it - to make MS Access working with ADO.NET they need to have .NET Framework preinstalled on all the target PCs, which could be a problem until W98, W2K, WinXP, which do not have native support for .NET Framework are here and supported by MS (I can be wrong).).. Yes, I know no need to care now probably about these coming changes. When they will become reality then we will take care of that. I undertsand this position. Although with not that much efforts MS Access coupled with disconnected ADO.NET World may become nowadays reality... And when MS comes with their solution the transition could be almost effortless and transparent because the current trend is rather clearly seen as others answered to this thread approved... Shamil ----- Original Message ----- From: "William Hindman" To: "Access Developers discussion and problem solving" Sent: Thursday, August 18, 2005 4:10 PM Subject: Re: [AccessD] Disconnected MS Access cient applications.. > ..thanks Shamil ...you work in another world ...and I don't mean Russia :) > > ..SQL Server is about as far afield as I ever get ...and unbound forms in > Access, with few exceptions, are a curse upon mankind ...imnsho :) > > William > > ----- Original Message ----- > From: "Shamil Salakhetdinov" > To: "Access Developers discussion and problem solving" > > Sent: Thursday, August 18, 2005 7:45 AM > Subject: Re: [AccessD] Disconnected MS Access cient applications.. > > > > No, William, this is not replication - here is what I mean in short: > > > > http://www.smsconsulting.spb.ru/shamil_s/articles/ddo.htm > > > > Shamil > > > > ----- Original Message ----- > > From: "William Hindman" > > To: "Access Developers discussion and problem solving" > > > > Sent: Thursday, August 18, 2005 3:47 AM > > Subject: Re: [AccessD] Disconnected MS Access cient applications.. > > > > > >> Shamil > >> > >> ..I must be missing something ...that sounds like replication to me. > >> > >> William > >> > >> ----- Original Message ----- > >> From: "Shamil Salakhetdinov" > >> To: "!DBA-MAIN" > >> Sent: Wednesday, August 17, 2005 7:28 PM > >> Subject: [AccessD] Disconnected MS Access cient applications.. > >> > >> > >> > Hi All, > >> > > >> > I wanted to ask you - what about the subject? > >> > Anybody uses/interested to use MS Access client applications this way? > >> > > >> > Do I miss obvious (RTFM) stuff and such a disconnected mode is already > >> > implemented in MS Access and broadly used by MS Access developers? Yes, > > I > >> > know ADO recordsets can be used with bound MS Access forms etc. but > >> > this > >> > looks like a rather limited feature - am I wrong? > >> > > >> > What I mean is cashing data locally into mdbs, only the data needed for > >> > the > >> > currently open form(s) etc., processing this data and then updating > >> > backend > >> > database(mdb, MSDE, MS SQL, whatever...) - with all this cashing and > >> > updating made mostly automatically by a tiny framework code, based on > >> > ADO.NET...(yes, this local caching of data is not a new subject but > >> > nowadays > >> > it can be (re-)implement really scalable way with a way less efforts > > than > >> > before) > >> > > >> > Maybe MS plans to do something like that? > >> > > >> > Is that a wheel reinvention or anybody here sees such opportunity like > >> > a > >> > really useful feature in their real life projects? > >> > > >> > For me it looks like a useful feature because it could help: to get MS > >> > Access back into mainstream development area because it will allow to > >> > easily > >> > scale applications with MS Access front-ends... > >> > > >> > There are many other ideas but most of them in this "ideas pool" based > > on > >> > the subject one - if it doesn't make sense for real-life projects then > > I'd > >> > better stop working on it... > >> > > >> > What is your opinion about the subject? > >> > When you expect MS will do something like that in MS Access? > >> > > >> > Thank you, > >> > Shamil > >> > > >> > -- > >> > AccessD mailing list > >> > AccessD at databaseadvisors.com > >> > http://databaseadvisors.com/mailman/listinfo/accessd > >> > Website: http://www.databaseadvisors.com > >> > > >> -- > >> AccessD mailing list > >> AccessD at databaseadvisors.com > >> http://databaseadvisors.com/mailman/listinfo/accessd > >> Website: http://www.databaseadvisors.com > > > > -- > > AccessD mailing list > > AccessD at databaseadvisors.com > > http://databaseadvisors.com/mailman/listinfo/accessd > > Website: http://www.databaseadvisors.com > > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com From shamil at users.mns.ru Thu Aug 18 10:45:54 2005 From: shamil at users.mns.ru (Shamil Salakhetdinov) Date: Thu, 18 Aug 2005 19:45:54 +0400 Subject: [AccessD] OT(?): Big Design Up Front (BDUF) vs. XP any comments, ideas, experience? References: <000301c5a3ec$a2806520$0300a8c0@danwaters> Message-ID: <003b01c5a40c$1e5fe110$6401a8c0@fincomplex.spb.ru> Dan, And I can't agree with Joel (and I usually admire most of his writing).... I can't agree just because he used the words "anathema" and "fanatics". When I hear such words I'm getting very suspicious... No, XP "fanatics" do not refuse completely upfront design and specs. They just say that any such designs and specs are a "subject to go nowehere" while the project evolves - therefore designs and specs should be just enough to not make severe design errors. They do use some upfront analysis and design but they do use and apply it differently... I'd better not talk here about all that - the books I referred are the best advocates for XP and related subjects. And the authors are very tolerant to other experience and techniques, in fact they base there methodology on all the best experience from IT projects developments of the last 50 years and on many other sources... This is mentality shift, and I think it's coming - as I noted VS.NET 2005 acquired a lot of XP ideas and the trend is to develop them even more in coming versions on VS.NET and MS Windows and MS Windows based middleware and MS SQL Server.... Of course the truth is somewhere in between, if such truth exists at all and I expect XP practioners are more close to this truth than BDUF advocates - I think many of your have seen big specification books, which were written by experts and which were paid big bucks to have been written but which were thownn away almost immediately after first prototype was written - I have seen that in a big software house in Germany, I did have such thick specs from them with a lot of well written text and even screenshots - in three months ater the project was started only the core idea of this project was true, most of the specs stuff was obsolete, even more - it was wrong and it didn't describe well real life customer's business. And the specs were written IN CLOSE CONTACT with the customer. I have seen/heard about many of such stories... Once again XP practioners don't refuse upfront analysis and design - they do it differently and they work in very close contact with the customer and they usually (always) have in their teams subject business area expert(s).... "The time will put all the dots on 'I' "... Shamil ----- Original Message ----- From: "Dan Waters" To: "'Access Developers discussion and problem solving'" Sent: Thursday, August 18, 2005 4:01 PM Subject: RE: [AccessD] OT(?): Big Design Up Front (BDUF) vs. XP any comments,ideas, experience? > I agree wholeheartedly with Joel. I developed a spec where instead of the > Quality Dept. initiating a record, it was initiated by the Purchasing Dept. > because they were the first group to become aware of the issue. I wouldn't > have known that without investigating and understanding up front what the > whole process was. The Purchasing Dept. agreed pretty quickly that they > could do this, particularly because having a software application to use > instead of paper forms made it easy. > > The Quality Dept. was initiating because everyone assumed that it was a > Quality process. That was departmental thinking - it's whole company > process thinking that really works. > > Dan Waters > > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Shamil > Salakhetdinov > Sent: Thursday, August 18, 2005 4:50 AM > To: !DBA-MAIN > Subject: [AccessD] OT(?): Big Design Up Front (BDUF) vs. XP any > comments,ideas, experience? > > Hi All, > > I've got this this today from JoelOnSoftware subscription list: > > <<<<<< > "As I worked through the screens that would be needed to allow > either party to initiate the process, I realized that Aardvark > would be just as useful, and radically simpler, if the helper > was required to start the whole process. Making this change in > the spec took an hour or two. If we had made this change in code, > it would have added weeks to the schedule. I can't tell you how > strongly I believe in Big Design Up Front, which the proponents > of Extreme Programming consider anathema. I have consistently > saved time and made better products by using BDUF and I'm proud > to use it, no matter what the XP fanatics claim. They're just > wrong on this point and I can't be any clearer than that." > > - From my latest article: > > The Project Aardvark Spec > http://www.joelonsoftware.com/articles/AardvarkSpec.html > >>>>> > No comments. > > It happened that I'm currently reading: > > "Microsoft Object Thinking" > by David West > ISBN:0735619654 > Microsoft Press C 2004 > > and > > "Extreme Programming Adventures in C# " > by Ron Jeffries > ISBN:0735619492 > Microsoft Press C 2004 > > These two books are from Microsoft Press and they have a lot of useful > information on eXterme Programming, Unit Testing and Classical(Behavioral) > vs. currently existing in most implementations "real life" UML-based(RUP) > OOD&P. > > When MS Press publishes books on such more computer-science than > used in real life projects subjects then they are very probably "cultivating > the ground" for the soon to become true "dreams". (I remember I watched a > movie "Microsoft, Year 2004"(form MS of course) somewhere in year 1995 or > so - and as I see now their by that time science-fiction is now real-life, > exactly in year 2004-2005. > > I must say I impressed with both books (and there are just a few technical > books I liked because most of them are just "chewing" MSDN or other docs > without almost any new ideas). > The more I read them the more I like them and I see a lot of sense in what > is written in them and I see a lot of my own ideas and experience are there > too. I'm glad my thinking is in the mainstream (of course what they say is > much more elaborated and thought through and based on their own rich > experience). > > So my guess/thinking is that XP, Unit Testing and Behavioral (Extreme) > OOD&P are becoming mainstream for real-life development of the projects of > any size - in fact as authors of these books state (based on their > experience) that the stuff they are writing about is the "only" agile way > to solve the challenges of nowadays customers and projects requests. And > they are not fanatics I think - they base their writing on deep analysis of > all the previous 50 years experience in software development and not only in > software - "Microsoft Object Thinking" is more philosophical than > technical book and it has quotes from Plato (year 400 B.C.) - these quotes > are used to explain how to "attack" complicated/vague projects' > requirements... > > > What do you think about the subject and related issues? > > Do we need Access/VBA Unit Testing added here - > http://opensourcetesting.org/unit_misc.php (Open source tools for software > testing professionals) - it can be done - does it make sense? > > Shamil > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > 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 Aug 18 10:48:39 2005 From: Lambert.Heenan at AIG.com (Heenan, Lambert) Date: Thu, 18 Aug 2005 11:48:39 -0400 Subject: [AccessD] copy string to clipboard Message-ID: <1D7828CDB8350747AFE9D69E0E90DA1F1484BAEA@xlivmbx21.aig.com> The original question was 'So how can I copy the value of this string to the clipboard?' -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of John W. Colby Sent: Thursday, August 18, 2005 11:00 AM To: 'Access Developers discussion and problem solving' Subject: RE: [AccessD] copy string to clipboard Where is the matching ClipGetText? John W. Colby www.ColbyConsulting.com Contribute your unused CPU cycles to a good cause: http://folding.stanford.edu/ -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Heenan, Lambert Sent: Thursday, August 18, 2005 10:54 AM To: 'Access Developers discussion and problem solving' Subject: RE: [AccessD] copy string to clipboard Which is simpler ClipPutText MyString Or Clipboard.SetText "Jim D" Answer: they are both real simple. But In the first case all you need is the code for the ClipPutText routine stashed away in a module, which you can then treat as a black box, and in the second case you have to distribute a DLL and ensure that it gets registered properly (assuming the user has privileges to register DLLs). I know which way I would go! :-) Lambert -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Jim DeMarco Sent: Thursday, August 18, 2005 9:56 AM To: Access Developers discussion and problem solving Subject: RE: [AccessD] copy string to clipboard If you have VB and don't mind shipping a dll with your app it's much simpler. Clipboard.SetText "Jim D" Me.Text1.Text = Clipboard.GetText Jim DeMarco -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Jim Lawrence Sent: Thursday, August 18, 2005 2:25 AM To: 'Access Developers discussion and problem solving' Subject: RE: [AccessD] copy string to clipboard Hi Bruce: I have some code that I have been using for years, mostly for debugging purposes. It just copies a string up into the clip board and it doesn't look as ugly as the code from Terry Kreft. The following code resides in a miodule declaration area: 'Whole bunch of APIs which allow text to be copied to clipboard... Private Declare Function OpenClipboard Lib "User32" (ByVal hWnd&) As Long Private Declare Function EmptyClipboard Lib "User32" () As Long Private Declare Function GetClipboardData Lib "User32" (ByVal wFormat&) As Long Private Declare Function SetClipboardData Lib "User32" (ByVal wFormat&, _ ByVal hMem&) As Long Private Declare Function CloseClipboard Lib "User32" () As Long ' Private Declare Function GlobalAlloc Lib "kernel32" (ByVal wFlags&, _ ByVal dwBytes&) As Long Private Declare Function GlobalLock Lib "kernel32" (ByVal hMem&) As Long Private Declare Function GlobalUnlock Lib "kernel32" (ByVal hMem&) As Long ' Private Declare Function lstrcpy Lib "kernel32" (ByVal lpString1 As Any, _ ByVal lpString2 As Any) As Long And the remainder is place in a module's function area: Public Sub ClipPutText(lsText As String) ' Stores text on the clipboard Dim hMem As Long Const GHND = &H42 hMem = GlobalAlloc(GHND, Len(lsText) + 1) lstrcpy GlobalLock(hMem), lsText If GlobalUnlock(hMem) = 0 Then If OpenClipboard(0&) <> 0 Then EmptyClipboard SetClipboardData 1, hMem CloseClipboard End If End If End Sub And it can be called from anywhere; forms, reports or modules like so: ClipPutText MyString 'Place the string 'MyString into the clipboard HTH Jim -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Bruen, Bruce Sent: Wednesday, August 17, 2005 7:29 PM To: Access Developers discussion and problem solving Subject: [AccessD] copy string to clipboard This must! be simple. I have a string variable created by concatenating the values of several form fields. So how can I copy the value of this string to the clipboard? Private Sub Command35_Click() Dim refstr As String refstr = "RCRef=|" & Me.ucref & "|" & Me.testname & "|" & Me.TestID & "|" Debug.Print refstr Stop ':-( Runcmd accmdStickTheStringInTheClipboard :-( End Sub tia bruce This e-mail and any attachments may contain confidential information that is intended solely for the use of the intended recipient and may be subject to copyright. If you receive this e-mail in error, please notify the sender immediately and delete the e-mail and its attachments from your system. You must not disclose, copy or use any part of this e-mail if you are not the intended recipient. Any opinion expressed in this e-mail and any attachments is not an opinion of RailCorp unless stated or apparent from its content. RailCorp is not responsible for any unauthorised alterations to this e-mail or any attachments. RailCorp will not incur any liability resulting directly or indirectly as a result of the recipient accessing any of the attached files that may contain a virus. -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/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 jwcolby at colbyconsulting.com Thu Aug 18 11:02:08 2005 From: jwcolby at colbyconsulting.com (John W. Colby) Date: Thu, 18 Aug 2005 12:02:08 -0400 Subject: [AccessD] copy string to clipboard In-Reply-To: <1D7828CDB8350747AFE9D69E0E90DA1F1484BAEA@xlivmbx21.aig.com> Message-ID: <011701c5a40e$2f728960$6c7aa8c0@ColbyM6805> LOL, OK, so now the question is... How can I copy the clipboard back to a string... John W. Colby www.ColbyConsulting.com Contribute your unused CPU cycles to a good cause: http://folding.stanford.edu/ -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Heenan, Lambert Sent: Thursday, August 18, 2005 11:49 AM To: 'Access Developers discussion and problem solving' Subject: RE: [AccessD] copy string to clipboard The original question was 'So how can I copy the value of this string to the clipboard?' -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of John W. Colby Sent: Thursday, August 18, 2005 11:00 AM To: 'Access Developers discussion and problem solving' Subject: RE: [AccessD] copy string to clipboard Where is the matching ClipGetText? John W. Colby www.ColbyConsulting.com Contribute your unused CPU cycles to a good cause: http://folding.stanford.edu/ -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Heenan, Lambert Sent: Thursday, August 18, 2005 10:54 AM To: 'Access Developers discussion and problem solving' Subject: RE: [AccessD] copy string to clipboard Which is simpler ClipPutText MyString Or Clipboard.SetText "Jim D" Answer: they are both real simple. But In the first case all you need is the code for the ClipPutText routine stashed away in a module, which you can then treat as a black box, and in the second case you have to distribute a DLL and ensure that it gets registered properly (assuming the user has privileges to register DLLs). I know which way I would go! :-) Lambert -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Jim DeMarco Sent: Thursday, August 18, 2005 9:56 AM To: Access Developers discussion and problem solving Subject: RE: [AccessD] copy string to clipboard If you have VB and don't mind shipping a dll with your app it's much simpler. Clipboard.SetText "Jim D" Me.Text1.Text = Clipboard.GetText Jim DeMarco -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Jim Lawrence Sent: Thursday, August 18, 2005 2:25 AM To: 'Access Developers discussion and problem solving' Subject: RE: [AccessD] copy string to clipboard Hi Bruce: I have some code that I have been using for years, mostly for debugging purposes. It just copies a string up into the clip board and it doesn't look as ugly as the code from Terry Kreft. The following code resides in a miodule declaration area: 'Whole bunch of APIs which allow text to be copied to clipboard... Private Declare Function OpenClipboard Lib "User32" (ByVal hWnd&) As Long Private Declare Function EmptyClipboard Lib "User32" () As Long Private Declare Function GetClipboardData Lib "User32" (ByVal wFormat&) As Long Private Declare Function SetClipboardData Lib "User32" (ByVal wFormat&, _ ByVal hMem&) As Long Private Declare Function CloseClipboard Lib "User32" () As Long ' Private Declare Function GlobalAlloc Lib "kernel32" (ByVal wFlags&, _ ByVal dwBytes&) As Long Private Declare Function GlobalLock Lib "kernel32" (ByVal hMem&) As Long Private Declare Function GlobalUnlock Lib "kernel32" (ByVal hMem&) As Long ' Private Declare Function lstrcpy Lib "kernel32" (ByVal lpString1 As Any, _ ByVal lpString2 As Any) As Long And the remainder is place in a module's function area: Public Sub ClipPutText(lsText As String) ' Stores text on the clipboard Dim hMem As Long Const GHND = &H42 hMem = GlobalAlloc(GHND, Len(lsText) + 1) lstrcpy GlobalLock(hMem), lsText If GlobalUnlock(hMem) = 0 Then If OpenClipboard(0&) <> 0 Then EmptyClipboard SetClipboardData 1, hMem CloseClipboard End If End If End Sub And it can be called from anywhere; forms, reports or modules like so: ClipPutText MyString 'Place the string 'MyString into the clipboard HTH Jim -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Bruen, Bruce Sent: Wednesday, August 17, 2005 7:29 PM To: Access Developers discussion and problem solving Subject: [AccessD] copy string to clipboard This must! be simple. I have a string variable created by concatenating the values of several form fields. So how can I copy the value of this string to the clipboard? Private Sub Command35_Click() Dim refstr As String refstr = "RCRef=|" & Me.ucref & "|" & Me.testname & "|" & Me.TestID & "|" Debug.Print refstr Stop ':-( Runcmd accmdStickTheStringInTheClipboard :-( End Sub tia bruce This e-mail and any attachments may contain confidential information that is intended solely for the use of the intended recipient and may be subject to copyright. If you receive this e-mail in error, please notify the sender immediately and delete the e-mail and its attachments from your system. You must not disclose, copy or use any part of this e-mail if you are not the intended recipient. Any opinion expressed in this e-mail and any attachments is not an opinion of RailCorp unless stated or apparent from its content. RailCorp is not responsible for any unauthorised alterations to this e-mail or any attachments. RailCorp will not incur any liability resulting directly or indirectly as a result of the recipient accessing any of the attached files that may contain a virus. -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/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 Lambert.Heenan at AIG.com Thu Aug 18 11:03:23 2005 From: Lambert.Heenan at AIG.com (Heenan, Lambert) Date: Thu, 18 Aug 2005 12:03:23 -0400 Subject: [AccessD] copy string to clipboard Message-ID: <1D7828CDB8350747AFE9D69E0E90DA1F1484BAFA@xlivmbx21.aig.com> -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of John W. Colby Sent: Thursday, August 18, 2005 11:00 AM To: 'Access Developers discussion and problem solving' Subject: RE: [AccessD] copy string to clipboard Where is the matching ClipGetText? John W. Colby www.ColbyConsulting.com ------------------------ It's another simple API call... Private Declare Function GetClipboardData Lib "user32" (ByVal wFormat As Long) As Long I've even got a simple class to take care of text to and from the clipboard '*************************** clsClipBoard ************* Option Compare Database Option Explicit ' Obtaining Clipboard Data using API ' (needed for VBA since no Clipboard Object) -- can also paste the data to a control ' ************************************************************* ' ******* Place following in declarations ********* Private Declare Function OpenClipboard Lib "user32" (ByVal hWnd As Long) As Long Private Declare Function CloseClipboard Lib "user32" () As Long Private Declare Function EmptyClipboard Lib "user32" () As Long Private Declare Function SetClipboardData Lib "user32" (ByVal wFormat As Long, ByVal hMem As Long) As Long Private Declare Function GetClipboardData Lib "user32" (ByVal wFormat As Long) As Long Private Declare Function GlobalAlloc Lib "kernel32" (ByVal wFlags&, ByVal dwBytes As Long) As Long Private Declare Function GlobalLock Lib "kernel32" (ByVal hMem As Long) As Long Private Declare Function GlobalUnlock Lib "kernel32" (ByVal hMem As Long) As Long Private Declare Function GlobalSize Lib "kernel32" (ByVal hMem As Long) As Long Private Declare Function lstrcpy Lib "kernel32" (ByVal lpString1 As Any, ByVal lpString2 As Any) As Long Const GHND = &H42 Const CF_TEXT = 1 Const MAXSIZE = 4096 Function GetTextData() As String Dim hClipMemory As Long Dim lpClipMemory As Long Dim MyString As String Dim RetVal As Long If OpenClipboard(0&) = 0 Then MsgBox "Cannot open Clipboard. Another app. may have it open", , "Clipboard" Exit Function End If ' Obtain the handle to the global memory ' block that is referencing the text. hClipMemory = GetClipboardData(CF_TEXT) If IsNull(hClipMemory) Then MsgBox "Could not allocate memory", , "Clipboard" Else ' Lock Clipboard memory so we can reference ' the actual data string. lpClipMemory = GlobalLock(hClipMemory) If Not IsNull(lpClipMemory) Then MyString = SPACE$(MAXSIZE) RetVal = lstrcpy(MyString, lpClipMemory) RetVal = GlobalUnlock(hClipMemory) ' Peel off the null terminating character. MyString = uMid(MyString, 1, InStr(1, MyString, Chr$(0), 0) - 1) Else MsgBox "Could not lock memory to copy string from.", , "Clipboard" End If End If RetVal = CloseClipboard() GetTextData = MyString End Function Sub SetTextData(MyString As String) Dim hGlobalMemory As Long, lpGlobalMemory As Long Dim hClipMemory As Long, x As Long ' Allocate movable global memory. '------------------------------------------- hGlobalMemory = GlobalAlloc(GHND, Len(MyString) + 1) ' Lock the block to get a far pointer ' to this memory. lpGlobalMemory = GlobalLock(hGlobalMemory) ' Copy the string to this global memory. lpGlobalMemory = lstrcpy(lpGlobalMemory, MyString) ' Unlock the memory. If GlobalUnlock(hGlobalMemory) <> 0 Then MsgBox "Could not unlock memory location. Copy aborted.", , "Clipboard" Else ' Open the Clipboard to copy data to. If OpenClipboard(0&) = 0 Then MsgBox "Could not open the Clipboard. Copy aborted.", , "Clipboard" Exit Sub End If ' Clear the Clipboard. x = EmptyClipboard() ' Copy the data to the Clipboard. hClipMemory = SetClipboardData(CF_TEXT, hGlobalMemory) End If If CloseClipboard() = 0 Then MsgBox "Could not close Clipboard.", , "Clipboard" End If End Sub '******************************************** From jwcolby at colbyconsulting.com Thu Aug 18 11:06:26 2005 From: jwcolby at colbyconsulting.com (John W. Colby) Date: Thu, 18 Aug 2005 12:06:26 -0400 Subject: [AccessD] copy string to clipboard In-Reply-To: <1D7828CDB8350747AFE9D69E0E90DA1F1484BAFA@xlivmbx21.aig.com> Message-ID: <011801c5a40e$c9819fa0$6c7aa8c0@ColbyM6805> >I've even got a simple class to take care of text to and from the clipboard And of course, so do I now, thanks to you. This is what makes this group great. John W. Colby www.ColbyConsulting.com Contribute your unused CPU cycles to a good cause: http://folding.stanford.edu/ -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Heenan, Lambert Sent: Thursday, August 18, 2005 12:03 PM To: 'Access Developers discussion and problem solving' Subject: RE: [AccessD] copy string to clipboard -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of John W. Colby Sent: Thursday, August 18, 2005 11:00 AM To: 'Access Developers discussion and problem solving' Subject: RE: [AccessD] copy string to clipboard Where is the matching ClipGetText? John W. Colby www.ColbyConsulting.com ------------------------ It's another simple API call... Private Declare Function GetClipboardData Lib "user32" (ByVal wFormat As Long) As Long I've even got a simple class to take care of text to and from the clipboard '*************************** clsClipBoard ************* Option Compare Database Option Explicit ' Obtaining Clipboard Data using API ' (needed for VBA since no Clipboard Object) -- can also paste the data to a control ' ************************************************************* ' ******* Place following in declarations ********* Private Declare Function OpenClipboard Lib "user32" (ByVal hWnd As Long) As Long Private Declare Function CloseClipboard Lib "user32" () As Long Private Declare Function EmptyClipboard Lib "user32" () As Long Private Declare Function SetClipboardData Lib "user32" (ByVal wFormat As Long, ByVal hMem As Long) As Long Private Declare Function GetClipboardData Lib "user32" (ByVal wFormat As Long) As Long Private Declare Function GlobalAlloc Lib "kernel32" (ByVal wFlags&, ByVal dwBytes As Long) As Long Private Declare Function GlobalLock Lib "kernel32" (ByVal hMem As Long) As Long Private Declare Function GlobalUnlock Lib "kernel32" (ByVal hMem As Long) As Long Private Declare Function GlobalSize Lib "kernel32" (ByVal hMem As Long) As Long Private Declare Function lstrcpy Lib "kernel32" (ByVal lpString1 As Any, ByVal lpString2 As Any) As Long Const GHND = &H42 Const CF_TEXT = 1 Const MAXSIZE = 4096 Function GetTextData() As String Dim hClipMemory As Long Dim lpClipMemory As Long Dim MyString As String Dim RetVal As Long If OpenClipboard(0&) = 0 Then MsgBox "Cannot open Clipboard. Another app. may have it open", , "Clipboard" Exit Function End If ' Obtain the handle to the global memory ' block that is referencing the text. hClipMemory = GetClipboardData(CF_TEXT) If IsNull(hClipMemory) Then MsgBox "Could not allocate memory", , "Clipboard" Else ' Lock Clipboard memory so we can reference ' the actual data string. lpClipMemory = GlobalLock(hClipMemory) If Not IsNull(lpClipMemory) Then MyString = SPACE$(MAXSIZE) RetVal = lstrcpy(MyString, lpClipMemory) RetVal = GlobalUnlock(hClipMemory) ' Peel off the null terminating character. MyString = uMid(MyString, 1, InStr(1, MyString, Chr$(0), 0) - 1) Else MsgBox "Could not lock memory to copy string from.", , "Clipboard" End If End If RetVal = CloseClipboard() GetTextData = MyString End Function Sub SetTextData(MyString As String) Dim hGlobalMemory As Long, lpGlobalMemory As Long Dim hClipMemory As Long, x As Long ' Allocate movable global memory. '------------------------------------------- hGlobalMemory = GlobalAlloc(GHND, Len(MyString) + 1) ' Lock the block to get a far pointer ' to this memory. lpGlobalMemory = GlobalLock(hGlobalMemory) ' Copy the string to this global memory. lpGlobalMemory = lstrcpy(lpGlobalMemory, MyString) ' Unlock the memory. If GlobalUnlock(hGlobalMemory) <> 0 Then MsgBox "Could not unlock memory location. Copy aborted.", , "Clipboard" Else ' Open the Clipboard to copy data to. If OpenClipboard(0&) = 0 Then MsgBox "Could not open the Clipboard. Copy aborted.", , "Clipboard" Exit Sub End If ' Clear the Clipboard. x = EmptyClipboard() ' Copy the data to the Clipboard. hClipMemory = SetClipboardData(CF_TEXT, hGlobalMemory) End If If CloseClipboard() = 0 Then MsgBox "Could not close Clipboard.", , "Clipboard" End If End Sub '******************************************** -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From dejpolsys at hotmail.com Thu Aug 18 11:07:12 2005 From: dejpolsys at hotmail.com (William Hindman) Date: Thu, 18 Aug 2005 12:07:12 -0400 Subject: [AccessD] A2000/3:Connecting to SQL Server References: <010701c5a3fd$40a7f690$6c7aa8c0@ColbyM6805> Message-ID: Darren ..AccessD members Harkins and Martin have a book out "SQL: Access to SQL Server" that walks you right through this while holding your hand, and squeezing when necessary ...and if that isn't enough, they're both right here to dumb it down to where even I could understand it :) http://www.amazon.com/gp/product/customer-reviews/1893115305/ref=cm_cr_dp_pt/102-6279525-3247338?%5Fencoding=UTF8&n=507846&s=books William ----- Original Message ----- From: "John W. Colby" To: "'Access Developers discussion and problem solving'" Sent: Thursday, August 18, 2005 10:00 AM Subject: RE: [AccessD] A2000/3:Connecting to SQL Server > Darren, > > If the BE is in Access and needs to be upgraded to SQL Server, try the > upgrade wizard. I have run this on some fairly major Access Bes and it > works pretty well. The only issue I had was dates which have different > ranges between Access and SQL. > > > The idea is to get the BE upgrading without any issues (data all moves > without errors), then put the FE back in the BE and run it one more time. > The wizard will place the data in SQL Server and create ODBC connections > between the FE (no data anymore) and SQL Server. The ODBC connections > look > for all the world like normal links and at that point your FE should > operate > normally. At least the FE will work now. You can then start doing other > things to make it faster, more robust etc. > > That's the "nutshell" version of the process. > > John W. Colby > www.ColbyConsulting.com > > Contribute your unused CPU cycles to a good cause: > http://folding.stanford.edu/ > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Darren Dick > Sent: Thursday, August 18, 2005 8:46 AM > To: Access Developers discussion and problem solving; Database Advisors > Subject: [AccessD] A2000/3:Connecting to SQL Server > > > Hello all > > New Job - Have to Learn SQL Server ASAP and MS Reporting Services. > > (Anyone know any good resources on MS Reporting Services?) > > Also I would like someone to hold my hand getting an ACCESS front end to > talk with a SQL Server Backend. > > never done it - never had to - and I have no clue on how to do it. :-)) > > Anyone wanna hold my hand (No sweaty palms - I promise) or failing that > some simple > > (and it really does have to be simple for me) tutorials? > > Many thanks > > 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 cyx5 at cdc.gov Thu Aug 18 11:08:02 2005 From: cyx5 at cdc.gov (Nicholson, Karen) Date: Thu, 18 Aug 2005 12:08:02 -0400 Subject: [AccessD] Access to SQL Message-ID: Be careful when using the converter of its tendency to convert numbers to BIT types. Eventually, someone will put a null value in the field, and Access gets mad. Also, make sure if you are using SQL 2000 backend with an Access 2003 front end that you watch out for the bug that updates the wrong records in subforms if you base your query on a form. With the nasty dates, I convert them in Access before updating to SQL to avoid those headaches. -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Charlotte Foust Sent: Thursday, August 18, 2005 11:27 AM To: Access Developers discussion and problem solving Subject: RE: [AccessD] Access to SQL There is no DISTINCTROW keyword in SQL because you don't need it. Just drop that from your SQL statement and check the results. Charlotte Foust -----Original Message----- From: Johncliviger at aol.com [mailto:Johncliviger at aol.com] Sent: Thursday, August 18, 2005 4:40 AM To: accessD at databaseadvisors.com Subject: [AccessD] Access to SQL Hi all I've moved Access XP FE to ADP FE and the tables to SQL 2000 BE. I now find that Select DistinctRow thats in Access XP has no equivalent in SQL 2000. What is the equivalent syntax? for example have the following sql string works in Access without a problem. Load it into ADP ...and its a no no. Any suggestions? SELECT DISTINCTROW ApplicantPersonalDetails.*, OrderDetails.CourseCounter, OrderDetails.OrderID, Orders.ClientID, Orders.OrderDate, Orders.InvoiceRequired, ClientPurchaser.ClientCode, ClientPurchaser.Purchasers, ClientPurchaser.FirstName, ClientPurchaser.LastName, PostBasicCourseDetails.CourseID, PostBasicCourseDetails.Date, PostBasicCourseDetails.Course, PostBasicCourseDetails.Level, PostBasicCourseDetails.Location, PostBasicCourseDetails.Code, PostBasicCourseDetails.Length, PostBasicCourseDetails.Places, PostBasicCourseDetails.CourseLeader1, PostBasicCourseDetails.CourseLeader2, PostBasicCourseDetails.Cost, PostBasicCourseDetails.Selection FROM PostBasicCourseDetails INNER JOIN (((ClientPurchaser INNER JOIN Orders ON ClientPurchaser.ClientID = Orders.ClientID) INNER JOIN OrderDetails ON Orders.OrderID = OrderDetails.OrderID) INNER JOIN ApplicantPersonalDetails ON OrderDetails.OrderDetailID = ApplicantPersonalDetails.OrderDetailID) ON PostBasicCourseDetails.CourseCounter = OrderDetails.CourseCounter; Regards johnc -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd 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 Thu Aug 18 11:21:00 2005 From: artful at rogers.com (Arthur Fuller) Date: Thu, 18 Aug 2005 12:21:00 -0400 Subject: [AccessD] OT(?): Big Design Up Front (BDUF) vs. XP any comments, ideas, experience? In-Reply-To: <002501c5a3da$451f62d0$6401a8c0@fincomplex.spb.ru> Message-ID: <200508181621.j7IGL3R26856@databaseadvisors.com> About a decade ago I headed a development team for an insurance company. Half the job was to take some mainframe programmers and acquaint them with PC development tools and best practices. XP was not a big thing then, but I improvised an approximation of it at that time. I started with 2 programmers, and had them sit with me as I coded. They were learning lots of things at once -- syntax, editor keystrokes, shortcuts, etc. At first I was moving so quickly that they couldn't even see what I was doing (particularly in the editor itself), but a few explanations and we were over that hump. The hardest thing to teach them was "1 proc does exactly one thing"... No, upon reflection, the hardest thing to teach them was "avoid coding until the last possible moment." The first two programmers then took on a programmer each and repeated the "semester", as it were, and then those two took on a programmer each. By the end of the project, we had a team of capable programmers, and we stuck to the rule of "two programmers per keyboard" all the way through the project. It worked brilliantly -- about equivalent to debugging while writing the code. The second programmer might watch the first start a recursive routine and say, "Hey, wait, let's break it out into two routines and avoid the recursion problems." They might kick it around for a bit before choosing one or the other approach, and also document why they elected that choice. I am _way_ big on BDUF! Avoid coding until the last possible moment -- that's my motto. I started out as a cowboy coder, but no more. I spend a _lot_ of time db-design tools such as DeZign, and I don't even begin creating sample data until I've been through about 3 revisions of the given DB design. Then I write use-cases describing each function the software must perform, using English not pseudo-code -- in fact, I have learned to avoid any specific references to tables, and instead to write such statements as, "When the user selects a product and quantity she wishes to buy, place a 5-minute hold on that quantity. When the user's credit card payment is authorized, deplete inventory by the specified quantity and remove the hold." Once the DB design is finalized, and the purpose of each table, view, sproc and UDF described, then even a relatively new hire can take the spec described above and implement it easily. In the example I gave, there are the following steps: 1. Obtain the product ID and desired quantity 2. Check to see said quantity exists (we'll sidestep the issue of back-orders for now). 3. Place a hold on said quantity, with a timer mechanism of some sort (SQL Server is great at this, much better than an Access timer). 4. Obtain the credit card info, fire it off and check the return status. 5. If the payment went through, deplete the quantity available. 6. Remove the hold. Each of these steps can be reduced to exactly one procedure. You (as manager) could even assign each step to a different programmer. So long as the DB design is solid, there should be no issues. I haven't read either book you mentioned, but I'll put them on my list of things to read. Arthur -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Shamil Salakhetdinov Sent: August 18, 2005 5:50 AM To: !DBA-MAIN Subject: [AccessD] OT(?): Big Design Up Front (BDUF) vs. XP any comments,ideas, experience? Hi All, I've got this this today from JoelOnSoftware subscription list: <<<<<< "As I worked through the screens that would be needed to allow either party to initiate the process, I realized that Aardvark would be just as useful, and radically simpler, if the helper was required to start the whole process. Making this change in the spec took an hour or two. If we had made this change in code, it would have added weeks to the schedule. I can't tell you how strongly I believe in Big Design Up Front, which the proponents of Extreme Programming consider anathema. I have consistently saved time and made better products by using BDUF and I'm proud to use it, no matter what the XP fanatics claim. They're just wrong on this point and I can't be any clearer than that." - From my latest article: The Project Aardvark Spec http://www.joelonsoftware.com/articles/AardvarkSpec.html >>>>> No comments. It happened that I'm currently reading: "Microsoft Object Thinking" by David West ISBN:0735619654 Microsoft Press C 2004 and "Extreme Programming Adventures in C# " by Ron Jeffries ISBN:0735619492 Microsoft Press C 2004 These two books are from Microsoft Press and they have a lot of useful information on eXterme Programming, Unit Testing and Classical(Behavioral) vs. currently existing in most implementations "real life" UML-based(RUP) OOD&P. When MS Press publishes books on such more computer-science than used in real life projects subjects then they are very probably "cultivating the ground" for the soon to become true "dreams". (I remember I watched a movie "Microsoft, Year 2004"(form MS of course) somewhere in year 1995 or so - and as I see now their by that time science-fiction is now real-life, exactly in year 2004-2005. I must say I impressed with both books (and there are just a few technical books I liked because most of them are just "chewing" MSDN or other docs without almost any new ideas). The more I read them the more I like them and I see a lot of sense in what is written in them and I see a lot of my own ideas and experience are there too. I'm glad my thinking is in the mainstream (of course what they say is much more elaborated and thought through and based on their own rich experience). So my guess/thinking is that XP, Unit Testing and Behavioral (Extreme) OOD&P are becoming mainstream for real-life development of the projects of any size - in fact as authors of these books state (based on their experience) that the stuff they are writing about is the "only" agile way to solve the challenges of nowadays customers and projects requests. And they are not fanatics I think - they base their writing on deep analysis of all the previous 50 years experience in software development and not only in software - "Microsoft Object Thinking" is more philosophical than technical book and it has quotes from Plato (year 400 B.C.) - these quotes are used to explain how to "attack" complicated/vague projects' requirements... What do you think about the subject and related issues? Do we need Access/VBA Unit Testing added here - http://opensourcetesting.org/unit_misc.php (Open source tools for software testing professionals) - it can be done - does it make sense? Shamil -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From ssharkins at bellsouth.net Thu Aug 18 11:22:12 2005 From: ssharkins at bellsouth.net (Susan Harkins) Date: Thu, 18 Aug 2005 12:22:12 -0400 Subject: [AccessD] A2000/3:Connecting to SQL Server In-Reply-To: Message-ID: <20050818162214.CQHN11342.ibm68aec.bellsouth.net@SUSANONE> Martin is the mastermind of that section. :) Thanks William! Susan H. Darren ..AccessD members Harkins and Martin have a book out "SQL: Access to SQL Server" that walks you right through this while holding your hand, and squeezing when necessary ...and if that isn't enough, they're both right here to dumb it down to where even I could understand it :) http://www.amazon.com/gp/product/customer-reviews/1893115305/ref=cm_cr_dp_pt /102-6279525-3247338?%5Fencoding=UTF8&n=507846&s=books From dejpolsys at hotmail.com Thu Aug 18 11:31:58 2005 From: dejpolsys at hotmail.com (William Hindman) Date: Thu, 18 Aug 2005 12:31:58 -0400 Subject: [AccessD] A2000/3:Connecting to SQL Server References: <20050818162214.CQHN11342.ibm68aec.bellsouth.net@SUSANONE> Message-ID: ..de nada ...I used it again this morning which is why it was on my mind ..walk in the park :) William ----- Original Message ----- From: "Susan Harkins" To: "'Access Developers discussion and problem solving'" Sent: Thursday, August 18, 2005 12:22 PM Subject: RE: [AccessD] A2000/3:Connecting to SQL Server > Martin is the mastermind of that section. :) > > Thanks William! > > Susan H. > > Darren > > ..AccessD members Harkins and Martin have a book out "SQL: Access to SQL > Server" that walks you right through this while holding your hand, and > squeezing when necessary ...and if that isn't enough, they're both right > here to dumb it down to where even I could understand it :) > > http://www.amazon.com/gp/product/customer-reviews/1893115305/ref=cm_cr_dp_pt > /102-6279525-3247338?%5Fencoding=UTF8&n=507846&s=books > > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > From jwcolby at colbyconsulting.com Thu Aug 18 11:33:59 2005 From: jwcolby at colbyconsulting.com (John W. Colby) Date: Thu, 18 Aug 2005 12:33:59 -0400 Subject: [AccessD] copy string to clipboard In-Reply-To: <1D7828CDB8350747AFE9D69E0E90DA1F1484BAFA@xlivmbx21.aig.com> Message-ID: <011a01c5a412$a2a69580$6c7aa8c0@ColbyM6805> Lambert, Doesn't the clipboard allow multiple things to be placed in it? I see this effect with certain applications where the clipboard offers you the ability to choose which item on the clipboard is the one you want. John W. Colby www.ColbyConsulting.com Contribute your unused CPU cycles to a good cause: http://folding.stanford.edu/ -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Heenan, Lambert Sent: Thursday, August 18, 2005 12:03 PM To: 'Access Developers discussion and problem solving' Subject: RE: [AccessD] copy string to clipboard -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of John W. Colby Sent: Thursday, August 18, 2005 11:00 AM To: 'Access Developers discussion and problem solving' Subject: RE: [AccessD] copy string to clipboard Where is the matching ClipGetText? John W. Colby www.ColbyConsulting.com ------------------------ It's another simple API call... Private Declare Function GetClipboardData Lib "user32" (ByVal wFormat As Long) As Long I've even got a simple class to take care of text to and from the clipboard '*************************** clsClipBoard ************* Option Compare Database Option Explicit ' Obtaining Clipboard Data using API ' (needed for VBA since no Clipboard Object) -- can also paste the data to a control ' ************************************************************* ' ******* Place following in declarations ********* Private Declare Function OpenClipboard Lib "user32" (ByVal hWnd As Long) As Long Private Declare Function CloseClipboard Lib "user32" () As Long Private Declare Function EmptyClipboard Lib "user32" () As Long Private Declare Function SetClipboardData Lib "user32" (ByVal wFormat As Long, ByVal hMem As Long) As Long Private Declare Function GetClipboardData Lib "user32" (ByVal wFormat As Long) As Long Private Declare Function GlobalAlloc Lib "kernel32" (ByVal wFlags&, ByVal dwBytes As Long) As Long Private Declare Function GlobalLock Lib "kernel32" (ByVal hMem As Long) As Long Private Declare Function GlobalUnlock Lib "kernel32" (ByVal hMem As Long) As Long Private Declare Function GlobalSize Lib "kernel32" (ByVal hMem As Long) As Long Private Declare Function lstrcpy Lib "kernel32" (ByVal lpString1 As Any, ByVal lpString2 As Any) As Long Const GHND = &H42 Const CF_TEXT = 1 Const MAXSIZE = 4096 Function GetTextData() As String Dim hClipMemory As Long Dim lpClipMemory As Long Dim MyString As String Dim RetVal As Long If OpenClipboard(0&) = 0 Then MsgBox "Cannot open Clipboard. Another app. may have it open", , "Clipboard" Exit Function End If ' Obtain the handle to the global memory ' block that is referencing the text. hClipMemory = GetClipboardData(CF_TEXT) If IsNull(hClipMemory) Then MsgBox "Could not allocate memory", , "Clipboard" Else ' Lock Clipboard memory so we can reference ' the actual data string. lpClipMemory = GlobalLock(hClipMemory) If Not IsNull(lpClipMemory) Then MyString = SPACE$(MAXSIZE) RetVal = lstrcpy(MyString, lpClipMemory) RetVal = GlobalUnlock(hClipMemory) ' Peel off the null terminating character. MyString = uMid(MyString, 1, InStr(1, MyString, Chr$(0), 0) - 1) Else MsgBox "Could not lock memory to copy string from.", , "Clipboard" End If End If RetVal = CloseClipboard() GetTextData = MyString End Function Sub SetTextData(MyString As String) Dim hGlobalMemory As Long, lpGlobalMemory As Long Dim hClipMemory As Long, x As Long ' Allocate movable global memory. '------------------------------------------- hGlobalMemory = GlobalAlloc(GHND, Len(MyString) + 1) ' Lock the block to get a far pointer ' to this memory. lpGlobalMemory = GlobalLock(hGlobalMemory) ' Copy the string to this global memory. lpGlobalMemory = lstrcpy(lpGlobalMemory, MyString) ' Unlock the memory. If GlobalUnlock(hGlobalMemory) <> 0 Then MsgBox "Could not unlock memory location. Copy aborted.", , "Clipboard" Else ' Open the Clipboard to copy data to. If OpenClipboard(0&) = 0 Then MsgBox "Could not open the Clipboard. Copy aborted.", , "Clipboard" Exit Sub End If ' Clear the Clipboard. x = EmptyClipboard() ' Copy the data to the Clipboard. hClipMemory = SetClipboardData(CF_TEXT, hGlobalMemory) End If If CloseClipboard() = 0 Then MsgBox "Could not close Clipboard.", , "Clipboard" End If End Sub '******************************************** -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From martyconnelly at shaw.ca Thu Aug 18 11:27:33 2005 From: martyconnelly at shaw.ca (MartyConnelly) Date: Thu, 18 Aug 2005 09:27:33 -0700 Subject: [AccessD] Ajax and Atlas with XML References: <0ILC0076JFIZDV@l-daemon> Message-ID: <4304B6F5.6030708@shaw.ca> Ah, I knew why I didn't look at AJAX and ASP.Net 1.0 way back when. It is a lot easier to do now with ASP.Net 2.0 but it is still Beta 2.0 ASP.NET V1.0 and V1.1 have no explicit support for this technology ASP.NET V2.0 contains out-of-the-box support for asynchronous client script callbacks and provides a fairly simple way to register the callback methods, invoke them, and handle any associated errors with RaiseCallbackEvent However the xmlhttp request object does have a deferred callback. From this months Simple Talk The journal for Microsoft technology developers and DBAs Asynchronous client script callback for ASP.Net 2.0 http://www.simple-talk.com/2005/08/10/asynchronous-client-script-callbacks/ Asynchronous Web Service Calls over HTTP with the .NET Framework using ASP.Net 1.0 Old ASP.Net 1.0 method complicated and falls over in certain situations http://msdn.microsoft.com/library/default.asp?url=/library/en-us/dnservice/html/service09032002.asp This article gives good diagrams on asynch/synch methods Jesse James Garrett http://www.adaptivepath.com/publications/essays/archives/000385.php Jim Lawrence wrote: >Marty what do you mean 'No dancing Hamster'! :-( > >What is your opinion on the AJAX.Net variation on AJAX which seems to be the >hottest ticket? > >Jim > >-----Original Message----- >From: accessd-bounces at databaseadvisors.com >[mailto:accessd-bounces at databaseadvisors.com] On Behalf Of MartyConnelly >Sent: Tuesday, August 16, 2005 5:10 PM >To: Access Developers discussion and problem solving >Subject: Re: [AccessD] Ajax and Atlas with XML > >Nope that is it, all there is in the one xml element, no dancing hamsters > >This site will give you a better idea but more html code needed >Click on > >Drop Downs & Form Handling > >then click states states > >http://www.clearnova.com/ajax/index.html > > >Jim Lawrence wrote: > > > >>Hi Marty: >> >>Just a note the Server page update sample. >> >>It initially shows the following line: This is some sample data. It is the >>default data for this web page. View XML data. >> >>.. and when clicking on the link: View XML data >> >>.. the line then displays: This is some sample data. It is stored in an XML >>file and retrieved by JavaScript. >> >>.. and that is all. Is there supposed to be more displayed? >> >>Jim >> >>-----Original Message----- >>From: accessd-bounces at databaseadvisors.com >>[mailto:accessd-bounces at databaseadvisors.com] On Behalf Of MartyConnelly >>Sent: Tuesday, August 16, 2005 12:50 PM >>To: Access Developers discussion and problem solving >>Subject: [AccessD] Ajax and Atlas with XML >> >>If looking for xml info starter sites. >> >>http://www.xml.org >>http://www.xml.com >>A vb oriented site was once vbxml.com >>http://www.topxml.com >> >>Try to buy XML books published in last 3 years otherwise >>you wont get latest in XSLT and XQuery. Old books maybe based on old >>XSL patterns >>which might prove confusing. >> >> >>Now here is the latest buzz in XML development with AJAX. >> >>In computer programming, AJAX (Asynchronous JavaScript and XML) is a >>method of building interactive applications for the Web that process >>user requests immediately.Ajax allows content on Web pages to update >>immediately when a user performs an action, unlike an HTTP request, >>during which users must wait for a whole new page to load. For example, >>a weather forecasting site could display local conditions on one side of >>the page without delay after a user types in a zip code. >>Google Map works this way. ATLAS is a downloadable javascript engine >>Microsoft is supposed to bring out in September at some convention. >> >>How difficult is this stuff well it is not rocket science. But an >>amalgam of 4 or 5 techniques. Ajax combines several programming tools >>including JavaScript, dynamic HTML (DHTML), Extensible Markup Language >>(XML), cascading style sheets (CSS), the Document Object Model (DOM), >>and the Microsoft object, XMLHttpRequest. After that you can use Web >>Services to grab the xml data. You could modify javascript to VBA too >>for use in Access. >> >>Some sites where you can grab javascript source and examples of Ajax or >>download them >> >>http://www.clearnova.com/ajax/index.html >>http://developer.apple.com/internet/webcontent/XMLHttpRequestExample/exampl >> >> >e > > >>.html >> >>Articles >>Dynamic HTML and xmlhttpRequest object >>http://developer.apple.com/internet/webcontent/xmlhttpreq.html >> >>Jesse Garrett What is Ajax? (The guy that gave it the name) >>http://www.adaptivepath.com/publications/essays/archives/000385.php >> >> >>Here is a elementary ajax sample just place the two files on your web >>server and run with java script enabled >>through your favourite browser. >> >>You can also run from hard disk directly in Netscape 7.0 but IE locally >>has security stops and uses file: protocol and not http: protocol so >>wont run correctly >>without a lot of fiddling with settings. Rather than use a object; >>might use document.innerhtml to get around for local use. >> >>On my server these two files >>http://www5.brinkster.com/mconnelly/ajax/ajax.html >> >>Save this file as UTF-8 not ANSI ajax.html >> >>> "http://www.w3.org/TR/html4/strict.dtd"> >> >> >> > > >> Developing Web Applications with Ajax - Example >> >> >> >>

Developing Web Applications with Ajax

>>

This page demonstrates the use of Asynchronous Javascript and XML >>(Ajax) technology to >> update a web page's content by reading from a remote file >>dynamically -- no page reloading >> is required. Note that this operation does not work for users >>without JavaScript enabled.

>>

>> This is some sample data. It is the default data for this web page. >>> title="View the XML data." onclick="ajaxRead('data.xml'); >>this.style.display='none'; return false">View XML data. >>

>> >> >> >> >>Save this file below as UTF-8 data.xml >> >> >> >> >> This is some sample data. It is stored in an XML file and retrieved >>by JavaScript. >> >> >> >> >> >> >>Gustav Brock wrote: >> >> >> >> >> >>>Hi Bryan >>> >>>So no job? Or wife?? Is that what you are trying to tell? >>>On the other hand (for the job option, cannot tell for the wife >>>option), with your knowledge I would expect it to be easy for you to >>>find some "new challenges" except, of course, if things are a little >>>more complicated than they may appear to be ... >>> >>>Currently I'm facing some XML work. Haven't done anything with this and >>>Access and hardly know where to look except browsing this list ... >>>So an XML cookbook or guide is a suggestion. >>> >>>/gustav >>> >>> >>> >>> >>> >>> >>> >>>>>>carbonnb at sympatico.ca 08/16 3:45 am >>> >>>>>> >>>>>> >>>>>> >>>>>> >>>>>> >>>>>> >>>I have found myself in a situation that gives me an inordinate amount >>>of free time and I'm looking for some ideas to fill my time. >>> >>>I am thinking of something that would make development easier or a >>>specifc app that would greatly help developers. I need something to >>>keep my mind active and fingers busy :) >>> >>>It can be anything from Access to Word to Excel (Office 2K), even VB >>>6. >>> >>>I'm open to any and all suggestion. And If I can learn something new, >>>that would be even better. >>> >>>Let the flood gates open :-) >>> >>> >>> >>> >>> >>> >>> >> >> >> >> > > > -- Marty Connelly Victoria, B.C. Canada From Lambert.Heenan at AIG.com Thu Aug 18 11:49:20 2005 From: Lambert.Heenan at AIG.com (Heenan, Lambert) Date: Thu, 18 Aug 2005 12:49:20 -0400 Subject: [AccessD] copy string to clipboard Message-ID: <1D7828CDB8350747AFE9D69E0E90DA1F1484BB2B@xlivmbx21.aig.com> It sure does, but my simple class only handles text. With sufficient research it could be extended to handle other types of data. Lambert -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of John W. Colby Sent: Thursday, August 18, 2005 12:34 PM To: 'Access Developers discussion and problem solving' Subject: RE: [AccessD] copy string to clipboard Lambert, Doesn't the clipboard allow multiple things to be placed in it? I see this effect with certain applications where the clipboard offers you the ability to choose which item on the clipboard is the one you want. John W. Colby www.ColbyConsulting.com Contribute your unused CPU cycles to a good cause: http://folding.stanford.edu/ From shamil at users.mns.ru Thu Aug 18 12:02:24 2005 From: shamil at users.mns.ru (Shamil Salakhetdinov) Date: Thu, 18 Aug 2005 21:02:24 +0400 Subject: [AccessD] Disconnected MS Access cient applications.. References: Message-ID: <005201c5a416$a43268d0$6401a8c0@fincomplex.spb.ru> Charlotte, Your means you're interested in continuation of this subject/thread or...? In my plans is to extend and make all the source code available. How soon it will happen this is an open question - I have an urgent project here. But I do plan to continue this thread and work if this looks interesting for you and others here. Maybe even make it open source project here when first useful results will be achieved? It would be interesting I guess to make it also XP(eXtreme Programming) style work with your being subject area expert - I mean your best knowing in what scenarios and in what business areas is the best to use MS Access in bound but disconnected mode with most of the software (MS Access FE databases) developed by power users but integrated by "mighty MS Access developers"? :) I know how to do all that, I know how to make MS Access applications assembly factories etc. - I have all that experience and I can share it if/when I will have spare time - is that interesting? Shamil ----- Original Message ----- From: "Charlotte Foust" To: "Access Developers discussion and problem solving" Sent: Thursday, August 18, 2005 7:35 PM Subject: RE: [AccessD] Disconnected MS Access cient applications.. > Oooohhh, I think I'm in love! > > Charlotte Foust > > > -----Original Message----- > From: Shamil Salakhetdinov [mailto:shamil at users.mns.ru] > Sent: Thursday, August 18, 2005 4:46 AM > To: Access Developers discussion and problem solving > Subject: Re: [AccessD] Disconnected MS Access cient applications.. > > > No, William, this is not replication - here is what I mean in short: > > http://www.smsconsulting.spb.ru/shamil_s/articles/ddo.htm > > Shamil > > ----- Original Message ----- > From: "William Hindman" > To: "Access Developers discussion and problem solving" > > Sent: Thursday, August 18, 2005 3:47 AM > Subject: Re: [AccessD] Disconnected MS Access cient applications.. > > > > Shamil > > > > ..I must be missing something ...that sounds like replication to me. > > > > William > > > > ----- Original Message ----- > > From: "Shamil Salakhetdinov" > > To: "!DBA-MAIN" > > Sent: Wednesday, August 17, 2005 7:28 PM > > Subject: [AccessD] Disconnected MS Access cient applications.. > > > > > > > Hi All, > > > > > > I wanted to ask you - what about the subject? > > > Anybody uses/interested to use MS Access client applications this > > > way? > > > > > > Do I miss obvious (RTFM) stuff and such a disconnected mode is > > > already implemented in MS Access and broadly used by MS Access > > > developers? Yes, > I > > > know ADO recordsets can be used with bound MS Access forms etc. but > > > this looks like a rather limited feature - am I wrong? > > > > > > What I mean is cashing data locally into mdbs, only the data needed > > > for the currently open form(s) etc., processing this data and then > > > updating backend > > > database(mdb, MSDE, MS SQL, whatever...) - with all this cashing and > > > updating made mostly automatically by a tiny framework code, based > on > > > ADO.NET...(yes, this local caching of data is not a new subject but > > > nowadays > > > it can be (re-)implement really scalable way with a way less efforts > than > > > before) > > > > > > Maybe MS plans to do something like that? > > > > > > Is that a wheel reinvention or anybody here sees such opportunity > > > like a really useful feature in their real life projects? > > > > > > For me it looks like a useful feature because it could help: to get > > > MS Access back into mainstream development area because it will > > > allow to easily scale applications with MS Access front-ends... > > > > > > There are many other ideas but most of them in this "ideas pool" > > > based > on > > > the subject one - if it doesn't make sense for real-life projects > > > then > I'd > > > better stop working on it... > > > > > > What is your opinion about the subject? > > > When you expect MS will do something like that in MS Access? > > > > > > Thank you, > > > Shamil > > > > > > -- > > > AccessD mailing list > > > AccessD at databaseadvisors.com > > > http://databaseadvisors.com/mailman/listinfo/accessd > > > Website: http://www.databaseadvisors.com > > > > > -- > > AccessD mailing list > > AccessD at databaseadvisors.com > > http://databaseadvisors.com/mailman/listinfo/accessd > > Website: http://www.databaseadvisors.com > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com From shamil at users.mns.ru Thu Aug 18 11:45:01 2005 From: shamil at users.mns.ru (Shamil Salakhetdinov) Date: Thu, 18 Aug 2005 20:45:01 +0400 Subject: [AccessD] Disconnected MS Access cient applications.. References: Message-ID: <005101c5a416$a4051740$6401a8c0@fincomplex.spb.ru> > If they would only consider it a development > tool instead of a power user toy. They(MS) seems to have VS.NET as a mainstream development tool with MS Access becoming just a power-user toy? > MS is moving toward XML as > their datastore of choice for this kind of caching, and it certainly > works and has been fairly easy to implement since at least Access 2000. OK, what I see as the problem with all that is that when cached locally as XML/ADO.NET datasets(behind WinForms) and one needs to implement front-end advanced business logic they need to program a lot using navigational data processing methods. And even ADO.NET isn' a solution here. And if cached locally in MDB or MSDE database SQL-based(SQL as data manipulation language I mean) set-oriented data processing methods can be used - so in an ideal case there will be no need to program that much business logic for front-end applications because SQL is a very powerful language... > SWAG based on working extensively with VB.Net and speculating. Sorry, what SWAG means? > Given > that the next version of Access may not be available for a year or so > and is bound to have problems at first, I think something that could be > used now and with versions earlier than 2003 (which has its own > problems!) is entirely sensible. Agreed! :) Thank you for your approval of my expectations in this area! Shamil ----- Original Message ----- From: "Charlotte Foust" To: "Access Developers discussion and problem solving" Sent: Thursday, August 18, 2005 4:42 AM Subject: RE: [AccessD] Disconnected MS Access cient applications.. > Shamil, > > It looks to me like that is where MS is going with .Net, so it would be > logical to take Access in that direction as well ... If they would only > consider it a development tool instead of a power user toy. I've > certainly built applications in the past using that concept with ADO and > unbound forms. (Hush, John, I don't want to hear about it!) I think > we often fall back to the built in stuff because it is quick and easy, > even though it is not necessarily efficient. MS is moving toward XML as > their datastore of choice for this kind of caching, and it certainly > works and has been fairly easy to implement since at least Access 2000. > I would expect the capability to be expanded in the next version of > Access when it starts to catch up with Word and Excel, but that's just a > SWAG based on working extensively with VB.Net and speculating. Given > that the next version of Access may not be available for a year or so > and is bound to have problems at first, I think something that could be > used now and with versions earlier than 2003 (which has its own > problems!) is entirely sensible. > > Charlotte Foust > > > -----Original Message----- > From: Shamil Salakhetdinov [mailto:shamil at users.mns.ru] > Sent: Wednesday, August 17, 2005 4:29 PM > To: !DBA-MAIN > Subject: [AccessD] Disconnected MS Access cient applications.. > > > Hi All, > > I wanted to ask you - what about the subject? > Anybody uses/interested to use MS Access client applications this way? > > Do I miss obvious (RTFM) stuff and such a disconnected mode is already > implemented in MS Access and broadly used by MS Access developers? Yes, > I know ADO recordsets can be used with bound MS Access forms etc. but > this looks like a rather limited feature - am I wrong? > > What I mean is cashing data locally into mdbs, only the data needed for > the currently open form(s) etc., processing this data and then updating > backend database(mdb, MSDE, MS SQL, whatever...) - with all this cashing > and updating made mostly automatically by a tiny framework code, based > on ADO.NET...(yes, this local caching of data is not a new subject but > nowadays it can be (re-)implement really scalable way with a way less > efforts than > before) > > Maybe MS plans to do something like that? > > Is that a wheel reinvention or anybody here sees such opportunity like a > really useful feature in their real life projects? > > For me it looks like a useful feature because it could help: to get MS > Access back into mainstream development area because it will allow to > easily scale applications with MS Access front-ends... > > There are many other ideas but most of them in this "ideas pool" based > on the subject one - if it doesn't make sense for real-life projects > then I'd better stop working on it... > > What is your opinion about the subject? > When you expect MS will do something like that in MS Access? > > Thank you, > Shamil > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com From shamil at users.mns.ru Thu Aug 18 11:31:08 2005 From: shamil at users.mns.ru (Shamil Salakhetdinov) Date: Thu, 18 Aug 2005 20:31:08 +0400 Subject: [AccessD] Disconnected MS Access cient applications.. References: <0ILE00F3C5C7HZ@l-daemon> Message-ID: <005001c5a416$a3d7ecc0$6401a8c0@fincomplex.spb.ru> Jim, I did also work disconnected but mainly bound way since MS Access 2.0. This wasn't my wish - customer wanted that, or I'd better say they did have a spec where diconnected mode was used, then they decided to use MS Access 2.0 as a development tool and then they found myself and I have had nothing to do that implement this disconnedt mode in MS Access 2.0. It worked well. Then I worked as a small team manager here and we used disconnected bound solution with MS Access 97 for a big accounting project etc. > I think ADO.Net is the same thing but > with an automatic transmission and slick features ADO.NET and .NET Framework allow to implement this mode in a tiny framework, which can be used from within MS Access or other applications. This isn't possible with ADO - or I'd better say it's a complicated and time consuming task if ADO is used. > M$ has finally, fully embraced this concept and I feel that is > where the next versions of Access are going. My bet they will have that not in the next version of MS Access but the one after it :) Thank you for your sharing of your experience in this area and for your opinion! Shamil ----- Original Message ----- From: "Jim Lawrence" To: "'Access Developers discussion and problem solving'" Sent: Thursday, August 18, 2005 4:00 AM Subject: RE: [AccessD] Disconnected MS Access cient applications.. > Hi Shamil: > > I have only (mostly) been using a style of disconnected ADO recordsets with > Access since 97-98. I use an Access FE for all sorts of DBs like Oracle/MS > SQL, MySQL* (*though it needs an ODBC connection :-( ) and even MDB (but > mostly just for temp files), singularly or in groups. The process is just so > fast, attaches through any reasonable connection and requires very few BE DB > licenses... clients save a bundle. I think ADO.Net is the same thing but > with an automatic transmission and slick features. It should eliminate a lot > of coding. M$ has finally, fully embraced this concept and I feel that is > where the next versions of Access are going. > > This is all my opinion of course and not meant to insight a riot. > > Jim > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Shamil > Salakhetdinov > Sent: Wednesday, August 17, 2005 4:29 PM > To: !DBA-MAIN > Subject: [AccessD] Disconnected MS Access cient applications.. > > Hi All, > > I wanted to ask you - what about the subject? > Anybody uses/interested to use MS Access client applications this way? > > Do I miss obvious (RTFM) stuff and such a disconnected mode is already > implemented in MS Access and broadly used by MS Access developers? Yes, I > know ADO recordsets can be used with bound MS Access forms etc. but this > looks like a rather limited feature - am I wrong? > > What I mean is cashing data locally into mdbs, only the data needed for the > currently open form(s) etc., processing this data and then updating backend > database(mdb, MSDE, MS SQL, whatever...) - with all this cashing and > updating made mostly automatically by a tiny framework code, based on > ADO.NET...(yes, this local caching of data is not a new subject but nowadays > it can be (re-)implement really scalable way with a way less efforts than > before) > > Maybe MS plans to do something like that? > > Is that a wheel reinvention or anybody here sees such opportunity like a > really useful feature in their real life projects? > > For me it looks like a useful feature because it could help: to get MS > Access back into mainstream development area because it will allow to easily > scale applications with MS Access front-ends... > > There are many other ideas but most of them in this "ideas pool" based on > the subject one - if it doesn't make sense for real-life projects then I'd > better stop working on it... > > What is your opinion about the subject? > When you expect MS will do something like that in MS Access? > > Thank you, > Shamil > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com From shamil at users.mns.ru Thu Aug 18 12:15:16 2005 From: shamil at users.mns.ru (Shamil Salakhetdinov) Date: Thu, 18 Aug 2005 21:15:16 +0400 Subject: [AccessD] OT(?): Big Design Up Front (BDUF) vs. XP any comments, ideas, experience? References: <200508181621.j7IGL3R26856@databaseadvisors.com> Message-ID: <009401c5a418$6a77e5a0$6401a8c0@fincomplex.spb.ru> <<< I am _way_ big on BDUF! Avoid coding until the last possible moment -- that's my motto. >>> Arthur, but what you described and you said "it worked brilliantly" - this is more XP than anything else, isn't it? Yes, I understand you're writing specs and you do a lot of upfront design - it may happen it's not needed to do them that much upfront? I'm not XP advocate (yet) - I'm just learning it and yet to see really big projects developed this way but my feelings are that it's very promising and it should give higher percent of positive results than BDUF does give - 60% of projects fail, many go a way out of budget etc. - these are statistics... No, I do not want to make "BDUF vs. XP" yet another "religious" debate here - I'm trying to find my best way "in between" of these two working approaches by sharing my experience and by acquiring yours... Shamil ----- Original Message ----- From: "Arthur Fuller" To: "'Access Developers discussion and problem solving'" Sent: Thursday, August 18, 2005 8:21 PM Subject: RE: [AccessD] OT(?): Big Design Up Front (BDUF) vs. XP any comments,ideas, experience? > About a decade ago I headed a development team for an insurance company. > Half the job was to take some mainframe programmers and acquaint them with > PC development tools and best practices. XP was not a big thing then, but I > improvised an approximation of it at that time. I started with 2 > programmers, and had them sit with me as I coded. They were learning lots of > things at once -- syntax, editor keystrokes, shortcuts, etc. At first I was > moving so quickly that they couldn't even see what I was doing (particularly > in the editor itself), but a few explanations and we were over that hump. > The hardest thing to teach them was "1 proc does exactly one thing"... No, > upon reflection, the hardest thing to teach them was "avoid coding until the > last possible moment." The first two programmers then took on a programmer > each and repeated the "semester", as it were, and then those two took on a > programmer each. By the end of the project, we had a team of capable > programmers, and we stuck to the rule of "two programmers per keyboard" all > the way through the project. It worked brilliantly -- about equivalent to > debugging while writing the code. The second programmer might watch the > first start a recursive routine and say, "Hey, wait, let's break it out into > two routines and avoid the recursion problems." They might kick it around > for a bit before choosing one or the other approach, and also document why > they elected that choice. > > I am _way_ big on BDUF! Avoid coding until the last possible moment -- > that's my motto. I started out as a cowboy coder, but no more. I spend a > _lot_ of time db-design tools such as DeZign, and I don't even begin > creating sample data until I've been through about 3 revisions of the given > DB design. Then I write use-cases describing each function the software must > perform, using English not pseudo-code -- in fact, I have learned to avoid > any specific references to tables, and instead to write such statements as, > "When the user selects a product and quantity she wishes to buy, place a > 5-minute hold on that quantity. When the user's credit card payment is > authorized, deplete inventory by the specified quantity and remove the > hold." > > Once the DB design is finalized, and the purpose of each table, view, sproc > and UDF described, then even a relatively new hire can take the spec > described above and implement it easily. In the example I gave, there are > the following steps: > > 1. Obtain the product ID and desired quantity > 2. Check to see said quantity exists (we'll sidestep the issue of > back-orders for now). > 3. Place a hold on said quantity, with a timer mechanism of some sort (SQL > Server is great at this, much better than an Access timer). > 4. Obtain the credit card info, fire it off and check the return status. > 5. If the payment went through, deplete the quantity available. > 6. Remove the hold. > > Each of these steps can be reduced to exactly one procedure. You (as > manager) could even assign each step to a different programmer. So long as > the DB design is solid, there should be no issues. > > I haven't read either book you mentioned, but I'll put them on my list of > things to read. > > Arthur > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Shamil > Salakhetdinov > Sent: August 18, 2005 5:50 AM > To: !DBA-MAIN > Subject: [AccessD] OT(?): Big Design Up Front (BDUF) vs. XP any > comments,ideas, experience? > > Hi All, > > I've got this this today from JoelOnSoftware subscription list: > > <<<<<< > "As I worked through the screens that would be needed to allow > either party to initiate the process, I realized that Aardvark > would be just as useful, and radically simpler, if the helper > was required to start the whole process. Making this change in > the spec took an hour or two. If we had made this change in code, > it would have added weeks to the schedule. I can't tell you how > strongly I believe in Big Design Up Front, which the proponents > of Extreme Programming consider anathema. I have consistently > saved time and made better products by using BDUF and I'm proud > to use it, no matter what the XP fanatics claim. They're just > wrong on this point and I can't be any clearer than that." > > - From my latest article: > > The Project Aardvark Spec > http://www.joelonsoftware.com/articles/AardvarkSpec.html > >>>>> > No comments. > > It happened that I'm currently reading: > > "Microsoft Object Thinking" > by David West > ISBN:0735619654 > Microsoft Press C 2004 > > and > > "Extreme Programming Adventures in C# " > by Ron Jeffries > ISBN:0735619492 > Microsoft Press C 2004 > > These two books are from Microsoft Press and they have a lot of useful > information on eXterme Programming, Unit Testing and Classical(Behavioral) > vs. currently existing in most implementations "real life" UML-based(RUP) > OOD&P. > > When MS Press publishes books on such more computer-science than > used in real life projects subjects then they are very probably "cultivating > the ground" for the soon to become true "dreams". (I remember I watched a > movie "Microsoft, Year 2004"(form MS of course) somewhere in year 1995 or > so - and as I see now their by that time science-fiction is now real-life, > exactly in year 2004-2005. > > I must say I impressed with both books (and there are just a few technical > books I liked because most of them are just "chewing" MSDN or other docs > without almost any new ideas). > The more I read them the more I like them and I see a lot of sense in what > is written in them and I see a lot of my own ideas and experience are there > too. I'm glad my thinking is in the mainstream (of course what they say is > much more elaborated and thought through and based on their own rich > experience). > > So my guess/thinking is that XP, Unit Testing and Behavioral (Extreme) > OOD&P are becoming mainstream for real-life development of the projects of > any size - in fact as authors of these books state (based on their > experience) that the stuff they are writing about is the "only" agile way > to solve the challenges of nowadays customers and projects requests. And > they are not fanatics I think - they base their writing on deep analysis of > all the previous 50 years experience in software development and not only in > software - "Microsoft Object Thinking" is more philosophical than > technical book and it has quotes from Plato (year 400 B.C.) - these quotes > are used to explain how to "attack" complicated/vague projects' > requirements... > > > What do you think about the subject and related issues? > > Do we need Access/VBA Unit Testing added here - > http://opensourcetesting.org/unit_misc.php (Open source tools for software > testing professionals) - it can be done - does it make sense? > > Shamil > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com From jmhecht at earthlink.net Thu Aug 18 12:20:07 2005 From: jmhecht at earthlink.net (Joe Hecht) Date: Thu, 18 Aug 2005 10:20:07 -0700 Subject: [AccessD] MDE question In-Reply-To: <4304B2E3.16275.1A65F03@stuart.lexacorp.com.pg> Message-ID: So I should write in XP and then port up to 2K3. Ten user would need to select proper version for their system. Or start in 2K3 and go down to XP. I would have 2 mde files of same app. -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Stuart McLachlan Sent: Wednesday, August 17, 2005 11:10 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] MDE question On 17 Aug 2005 at 21:53, Joe Hecht wrote: > If I do an app in Access 2K3 and make an .mde out if it will older versions > of Access be able to use it? > No, and future versions probably won't be able to either - at least that's been the case up to now. -- Stuart -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From cfoust at infostatsystems.com Thu Aug 18 12:27:05 2005 From: cfoust at infostatsystems.com (Charlotte Foust) Date: Thu, 18 Aug 2005 10:27:05 -0700 Subject: [AccessD] MDE question Message-ID: You can use an XP mde in either XP or 2003. You cannot create an XP mde in 2003 or vice versa, and you cannot use a 2003 mde in XP. Charlotte Foust -----Original Message----- From: Joe Hecht [mailto:jmhecht at earthlink.net] Sent: Thursday, August 18, 2005 10:20 AM To: 'Access Developers discussion and problem solving' Subject: RE: [AccessD] MDE question So I should write in XP and then port up to 2K3. Ten user would need to select proper version for their system. Or start in 2K3 and go down to XP. I would have 2 mde files of same app. -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Stuart McLachlan Sent: Wednesday, August 17, 2005 11:10 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] MDE question On 17 Aug 2005 at 21:53, Joe Hecht wrote: > If I do an app in Access 2K3 and make an .mde out if it will older versions > of Access be able to use it? > No, and future versions probably won't be able to either - at least that's been the case up to now. -- Stuart -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd 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 Aug 18 12:30:33 2005 From: cfoust at infostatsystems.com (Charlotte Foust) Date: Thu, 18 Aug 2005 10:30:33 -0700 Subject: [AccessD] Disconnected MS Access cient applications.. Message-ID: Not interesting, Shamil, FASCINATING! Yes, I do hope you continue this thread. Please! I've often thought of this kind of thing but have never had time to really pursue it. Charlotte Foust -----Original Message----- From: Shamil Salakhetdinov [mailto:shamil at users.mns.ru] Sent: Thursday, August 18, 2005 10:02 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Disconnected MS Access cient applications.. Charlotte, Your means you're interested in continuation of this subject/thread or...? In my plans is to extend and make all the source code available. How soon it will happen this is an open question - I have an urgent project here. But I do plan to continue this thread and work if this looks interesting for you and others here. Maybe even make it open source project here when first useful results will be achieved? It would be interesting I guess to make it also XP(eXtreme Programming) style work with your being subject area expert - I mean your best knowing in what scenarios and in what business areas is the best to use MS Access in bound but disconnected mode with most of the software (MS Access FE databases) developed by power users but integrated by "mighty MS Access developers"? :) I know how to do all that, I know how to make MS Access applications assembly factories etc. - I have all that experience and I can share it if/when I will have spare time - is that interesting? Shamil ----- Original Message ----- From: "Charlotte Foust" To: "Access Developers discussion and problem solving" Sent: Thursday, August 18, 2005 7:35 PM Subject: RE: [AccessD] Disconnected MS Access cient applications.. > Oooohhh, I think I'm in love! > > Charlotte Foust > > > -----Original Message----- > From: Shamil Salakhetdinov [mailto:shamil at users.mns.ru] > Sent: Thursday, August 18, 2005 4:46 AM > To: Access Developers discussion and problem solving > Subject: Re: [AccessD] Disconnected MS Access cient applications.. > > > No, William, this is not replication - here is what I mean in short: > > http://www.smsconsulting.spb.ru/shamil_s/articles/ddo.htm > > Shamil > > ----- Original Message ----- > From: "William Hindman" > To: "Access Developers discussion and problem solving" > > Sent: Thursday, August 18, 2005 3:47 AM > Subject: Re: [AccessD] Disconnected MS Access cient applications.. > > > > Shamil > > > > ..I must be missing something ...that sounds like replication to me. > > > > William > > > > ----- Original Message ----- > > From: "Shamil Salakhetdinov" > > To: "!DBA-MAIN" > > Sent: Wednesday, August 17, 2005 7:28 PM > > Subject: [AccessD] Disconnected MS Access cient applications.. > > > > > > > Hi All, > > > > > > I wanted to ask you - what about the subject? > > > Anybody uses/interested to use MS Access client applications this > > > way? > > > > > > Do I miss obvious (RTFM) stuff and such a disconnected mode is > > > already implemented in MS Access and broadly used by MS Access > > > developers? Yes, > I > > > know ADO recordsets can be used with bound MS Access forms etc. > > > but this looks like a rather limited feature - am I wrong? > > > > > > What I mean is cashing data locally into mdbs, only the data > > > needed for the currently open form(s) etc., processing this data > > > and then updating backend database(mdb, MSDE, MS SQL, whatever...) > > > - with all this cashing and updating made mostly automatically by > > > a tiny framework code, based > on > > > ADO.NET...(yes, this local caching of data is not a new subject > > > but nowadays it can be (re-)implement really scalable way with a > > > way less efforts > than > > > before) > > > > > > Maybe MS plans to do something like that? > > > > > > Is that a wheel reinvention or anybody here sees such opportunity > > > like a really useful feature in their real life projects? > > > > > > For me it looks like a useful feature because it could help: to > > > get MS Access back into mainstream development area because it > > > will allow to easily scale applications with MS Access > > > front-ends... > > > > > > There are many other ideas but most of them in this "ideas pool" > > > based > on > > > the subject one - if it doesn't make sense for real-life projects > > > then > I'd > > > better stop working on it... > > > > > > What is your opinion about the subject? > > > When you expect MS will do something like that in MS Access? > > > > > > Thank you, > > > Shamil > > > > > > -- > > > AccessD mailing list > > > AccessD at databaseadvisors.com > > > http://databaseadvisors.com/mailman/listinfo/accessd > > > Website: http://www.databaseadvisors.com > > > > > -- > > AccessD mailing list > > AccessD at databaseadvisors.com > > http://databaseadvisors.com/mailman/listinfo/accessd > > Website: http://www.databaseadvisors.com > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > 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 Aug 18 12:34:02 2005 From: cfoust at infostatsystems.com (Charlotte Foust) Date: Thu, 18 Aug 2005 10:34:02 -0700 Subject: [AccessD] Disconnected MS Access cient applications.. Message-ID: >MS Access becoming just a power-user toy? I believe the actual MS quote described Access as "a landing pad for data"! SWAG: Scientific Wild A** Guess Charlotte -----Original Message----- From: Shamil Salakhetdinov [mailto:shamil at users.mns.ru] Sent: Thursday, August 18, 2005 9:45 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Disconnected MS Access cient applications.. > If they would only consider it a development > tool instead of a power user toy. They(MS) seems to have VS.NET as a mainstream development tool with MS Access becoming just a power-user toy? > MS is moving toward XML as > their datastore of choice for this kind of caching, and it certainly > works and has been fairly easy to implement since at least Access > 2000. OK, what I see as the problem with all that is that when cached locally as XML/ADO.NET datasets(behind WinForms) and one needs to implement front-end advanced business logic they need to program a lot using navigational data processing methods. And even ADO.NET isn' a solution here. And if cached locally in MDB or MSDE database SQL-based(SQL as data manipulation language I mean) set-oriented data processing methods can be used - so in an ideal case there will be no need to program that much business logic for front-end applications because SQL is a very powerful language... > SWAG based on working extensively with VB.Net and speculating. Sorry, what SWAG means? > Given > that the next version of Access may not be available for a year or so > and is bound to have problems at first, I think something that could > be used now and with versions earlier than 2003 (which has its own > problems!) is entirely sensible. Agreed! :) Thank you for your approval of my expectations in this area! Shamil ----- Original Message ----- From: "Charlotte Foust" To: "Access Developers discussion and problem solving" Sent: Thursday, August 18, 2005 4:42 AM Subject: RE: [AccessD] Disconnected MS Access cient applications.. > Shamil, > > It looks to me like that is where MS is going with .Net, so it would > be logical to take Access in that direction as well ... If they would > only consider it a development tool instead of a power user toy. I've > certainly built applications in the past using that concept with ADO > and unbound forms. (Hush, John, I don't want to hear about it!) I > think we often fall back to the built in stuff because it is quick and > easy, even though it is not necessarily efficient. MS is moving > toward XML as their datastore of choice for this kind of caching, and > it certainly works and has been fairly easy to implement since at > least Access 2000. I would expect the capability to be expanded in the > next version of Access when it starts to catch up with Word and Excel, > but that's just a SWAG based on working extensively with VB.Net and > speculating. Given that the next version of Access may not be > available for a year or so and is bound to have problems at first, I > think something that could be used now and with versions earlier than > 2003 (which has its own > problems!) is entirely sensible. > > Charlotte Foust > > > -----Original Message----- > From: Shamil Salakhetdinov [mailto:shamil at users.mns.ru] > Sent: Wednesday, August 17, 2005 4:29 PM > To: !DBA-MAIN > Subject: [AccessD] Disconnected MS Access cient applications.. > > > Hi All, > > I wanted to ask you - what about the subject? > Anybody uses/interested to use MS Access client applications this way? > > Do I miss obvious (RTFM) stuff and such a disconnected mode is already > implemented in MS Access and broadly used by MS Access developers? > Yes, I know ADO recordsets can be used with bound MS Access forms etc. > but this looks like a rather limited feature - am I wrong? > > What I mean is cashing data locally into mdbs, only the data needed > for the currently open form(s) etc., processing this data and then > updating backend database(mdb, MSDE, MS SQL, whatever...) - with all > this cashing and updating made mostly automatically by a tiny > framework code, based on ADO.NET...(yes, this local caching of data is > not a new subject but nowadays it can be (re-)implement really > scalable way with a way less efforts than > before) > > Maybe MS plans to do something like that? > > Is that a wheel reinvention or anybody here sees such opportunity like > a really useful feature in their real life projects? > > For me it looks like a useful feature because it could help: to get MS > Access back into mainstream development area because it will allow to > easily scale applications with MS Access front-ends... > > There are many other ideas but most of them in this "ideas pool" based > on the subject one - if it doesn't make sense for real-life projects > then I'd better stop working on it... > > What is your opinion about the subject? > When you expect MS will do something like that in MS Access? > > Thank you, > Shamil > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From accessd at shaw.ca Thu Aug 18 12:40:25 2005 From: accessd at shaw.ca (Jim Lawrence) Date: Thu, 18 Aug 2005 10:40:25 -0700 Subject: [AccessD] Disconnected MS Access cient applications.. In-Reply-To: <002001c5a3ea$66b59c60$6401a8c0@fincomplex.spb.ru> Message-ID: <0ILF00G64IFD9M@l-daemon> Hi Shamil: It looks very interesting. Wonder what object was referenced in Access to allow access to FrameWorks' ADO.Net library. Jim -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Shamil Salakhetdinov Sent: Thursday, August 18, 2005 4:46 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Disconnected MS Access cient applications.. No, William, this is not replication - here is what I mean in short: http://www.smsconsulting.spb.ru/shamil_s/articles/ddo.htm Shamil ----- Original Message ----- From: "William Hindman" To: "Access Developers discussion and problem solving" Sent: Thursday, August 18, 2005 3:47 AM Subject: Re: [AccessD] Disconnected MS Access cient applications.. > Shamil > > ..I must be missing something ...that sounds like replication to me. > > William > > ----- Original Message ----- > From: "Shamil Salakhetdinov" > To: "!DBA-MAIN" > Sent: Wednesday, August 17, 2005 7:28 PM > Subject: [AccessD] Disconnected MS Access cient applications.. > > > > Hi All, > > > > I wanted to ask you - what about the subject? > > Anybody uses/interested to use MS Access client applications this way? > > > > Do I miss obvious (RTFM) stuff and such a disconnected mode is already > > implemented in MS Access and broadly used by MS Access developers? Yes, I > > know ADO recordsets can be used with bound MS Access forms etc. but this > > looks like a rather limited feature - am I wrong? > > > > What I mean is cashing data locally into mdbs, only the data needed for > > the > > currently open form(s) etc., processing this data and then updating > > backend > > database(mdb, MSDE, MS SQL, whatever...) - with all this cashing and > > updating made mostly automatically by a tiny framework code, based on > > ADO.NET...(yes, this local caching of data is not a new subject but > > nowadays > > it can be (re-)implement really scalable way with a way less efforts than > > before) > > > > Maybe MS plans to do something like that? > > > > Is that a wheel reinvention or anybody here sees such opportunity like a > > really useful feature in their real life projects? > > > > For me it looks like a useful feature because it could help: to get MS > > Access back into mainstream development area because it will allow to > > easily > > scale applications with MS Access front-ends... > > > > There are many other ideas but most of them in this "ideas pool" based on > > the subject one - if it doesn't make sense for real-life projects then I'd > > better stop working on it... > > > > What is your opinion about the subject? > > When you expect MS will do something like that in MS Access? > > > > Thank you, > > Shamil > > > > -- > > AccessD mailing list > > AccessD at databaseadvisors.com > > http://databaseadvisors.com/mailman/listinfo/accessd > > Website: http://www.databaseadvisors.com > > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From shamil at users.mns.ru Thu Aug 18 13:04:12 2005 From: shamil at users.mns.ru (Shamil Salakhetdinov) Date: Thu, 18 Aug 2005 22:04:12 +0400 Subject: [AccessD] Disconnected MS Access cient applications.. References: Message-ID: <002a01c5a41f$40083bb0$6401a8c0@fincomplex.spb.ru> > but have never had time to really pursue it. Yes, the same thoughts/experience here. Finally ADO.NET and WithEvents should make it rather easy to implement... I think/plan, I will return to this subject end of the next week, hopefully with some new results to publish as public domain/open source... Meanwhile I have to finish reading two books about XP in C# and "MS Object Thinking" and make some experiments in ADO.NET and a good progress in a pending urgent project... Any ideas about directions in which to develop this small project are very welcome! Thank you for your support! Shamil ----- Original Message ----- From: "Charlotte Foust" To: "Access Developers discussion and problem solving" Sent: Thursday, August 18, 2005 9:30 PM Subject: RE: [AccessD] Disconnected MS Access cient applications.. > Not interesting, Shamil, FASCINATING! Yes, I do hope you continue this > thread. Please! I've often thought of this kind of thing but have > never had time to really pursue it. > > Charlotte Foust > > > -----Original Message----- > From: Shamil Salakhetdinov [mailto:shamil at users.mns.ru] > Sent: Thursday, August 18, 2005 10:02 AM > To: Access Developers discussion and problem solving > Subject: Re: [AccessD] Disconnected MS Access cient applications.. > > > Charlotte, > > Your means you're interested in continuation of this > subject/thread or...? In my plans is to extend and make all the source > code available. How soon it will happen this is an open question - I > have an urgent project here. But I do plan to continue this thread and > work if this looks interesting for you and others here. Maybe even make > it open source project here when first useful results will be achieved? > It would be interesting I guess to make it also XP(eXtreme Programming) > style work with your being subject area expert - I mean your best > knowing in what scenarios and in what business areas is the best to use > MS Access in bound but disconnected mode with most of the software (MS > Access FE > databases) developed by power users but integrated by "mighty MS Access > developers"? :) > > I know how to do all that, I know how to make MS Access applications > assembly factories etc. - I have all that experience and I can share it > if/when I will have spare time - is that interesting? > > Shamil > > > ----- Original Message ----- > From: "Charlotte Foust" > To: "Access Developers discussion and problem solving" > > Sent: Thursday, August 18, 2005 7:35 PM > Subject: RE: [AccessD] Disconnected MS Access cient applications.. > > > > Oooohhh, I think I'm in love! > > > > Charlotte Foust > > > > > > -----Original Message----- > > From: Shamil Salakhetdinov [mailto:shamil at users.mns.ru] > > Sent: Thursday, August 18, 2005 4:46 AM > > To: Access Developers discussion and problem solving > > Subject: Re: [AccessD] Disconnected MS Access cient applications.. > > > > > > No, William, this is not replication - here is what I mean in short: > > > > http://www.smsconsulting.spb.ru/shamil_s/articles/ddo.htm > > > > Shamil > > > > ----- Original Message ----- > > From: "William Hindman" > > To: "Access Developers discussion and problem solving" > > > > Sent: Thursday, August 18, 2005 3:47 AM > > Subject: Re: [AccessD] Disconnected MS Access cient applications.. > > > > > > > Shamil > > > > > > ..I must be missing something ...that sounds like replication to me. > > > > > > William > > > > > > ----- Original Message ----- > > > From: "Shamil Salakhetdinov" > > > To: "!DBA-MAIN" > > > Sent: Wednesday, August 17, 2005 7:28 PM > > > Subject: [AccessD] Disconnected MS Access cient applications.. > > > > > > > > > > Hi All, > > > > > > > > I wanted to ask you - what about the subject? > > > > Anybody uses/interested to use MS Access client applications this > > > > way? > > > > > > > > Do I miss obvious (RTFM) stuff and such a disconnected mode is > > > > already implemented in MS Access and broadly used by MS Access > > > > developers? Yes, > > I > > > > know ADO recordsets can be used with bound MS Access forms etc. > > > > but this looks like a rather limited feature - am I wrong? > > > > > > > > What I mean is cashing data locally into mdbs, only the data > > > > needed for the currently open form(s) etc., processing this data > > > > and then updating backend database(mdb, MSDE, MS SQL, whatever...) > > > > > - with all this cashing and updating made mostly automatically by > > > > a tiny framework code, based > > on > > > > ADO.NET...(yes, this local caching of data is not a new subject > > > > but nowadays it can be (re-)implement really scalable way with a > > > > way less efforts > > than > > > > before) > > > > > > > > Maybe MS plans to do something like that? > > > > > > > > Is that a wheel reinvention or anybody here sees such opportunity > > > > like a really useful feature in their real life projects? > > > > > > > > For me it looks like a useful feature because it could help: to > > > > get MS Access back into mainstream development area because it > > > > will allow to easily scale applications with MS Access > > > > front-ends... > > > > > > > > There are many other ideas but most of them in this "ideas pool" > > > > based > > on > > > > the subject one - if it doesn't make sense for real-life projects > > > > then > > I'd > > > > better stop working on it... > > > > > > > > What is your opinion about the subject? > > > > When you expect MS will do something like that in MS Access? > > > > > > > > Thank you, > > > > Shamil > > > > > > > > -- > > > > AccessD mailing list > > > > AccessD at databaseadvisors.com > > > > http://databaseadvisors.com/mailman/listinfo/accessd > > > > Website: http://www.databaseadvisors.com > > > > > > > -- > > > AccessD mailing list > > > AccessD at databaseadvisors.com > > > http://databaseadvisors.com/mailman/listinfo/accessd > > > Website: http://www.databaseadvisors.com > > > > -- > > AccessD mailing list > > AccessD at databaseadvisors.com > > http://databaseadvisors.com/mailman/listinfo/accessd > > Website: http://www.databaseadvisors.com > > -- > > AccessD mailing list > > AccessD at databaseadvisors.com > > http://databaseadvisors.com/mailman/listinfo/accessd > > Website: http://www.databaseadvisors.com > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > 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 Thu Aug 18 13:01:43 2005 From: artful at rogers.com (Arthur Fuller) Date: Thu, 18 Aug 2005 14:01:43 -0400 Subject: [AccessD] Storing Files in Directories In-Reply-To: Message-ID: <200508181801.j7II1oR20260@databaseadvisors.com> The current client has distinct preferences about how files ought to be stored. A client has 1:M projects. A project has 1:M assessments. An assessment concerns exactly one workstation. The resulting document must come out reflecting all workstations involved in said project for said client (this part is trivial). The client app's native directory is c:\MyClient. The subdir for said reports is c:\MyClient\reports. The client wants me to create a dir for each project and then plant the related documents in said project-subdir. This says to me that the Client table contains a directory name, and that the ClientProjects table also contains a directory name, and that given project 12356 I concatenate the above two values, plus the unique identifier, and create a file called "c:\MyClient\HerClient\Reports\" & Unique_ID & ".doc" (the resultant docs are all Word files). 1. I have so far created the said doc from a template: no problems there. But I would like also to supply the concatenated filename so that a simple click on the Save button causes the file to be saved. (I should mention that the docs spit out by the Access app _always_ require editing; else we would simply dump an Access report.) Given that the client is CharlotteFoust and that her docs get sent to c:\MyClient\HerClient\CharlotteFoust, then I want Word to realize that the created document should be called "c:\MyClient\HerClient\CharlotteFoust\" & Unique_ID & ".doc" -- and placed in subdir (create if required) Project 20050818. I don't want the user to have to name the file. I want that to have already been done, so she can click Save after her edits and that's that. Had I been granted the discretion to design this particular model, I would not have chosen this path. That however is not the issue. The issue is that the client and her employees want to do it this way. Advice, guidance, assaults on the model, all gratefully accepted. From DWUTKA at marlow.com Thu Aug 18 13:05:22 2005 From: DWUTKA at marlow.com (DWUTKA at marlow.com) Date: Thu, 18 Aug 2005 13:05:22 -0500 Subject: [AccessD] Storing Files in Directories Message-ID: <123701F54509D9119A4F00D0B747349016DDAB@main2.marlow.com> Not sure where you are having problems. Code produces data, which you write to file in appropriate place (checking for existance of path...creating as necessary). File written, open file for editing in Word. File is already saved in correct place with correct name, so the default 'save' in Word will write to the same spot. Drew -----Original Message----- From: Arthur Fuller [mailto:artful at rogers.com] Sent: Thursday, August 18, 2005 1:02 PM To: 'Access Developers discussion and problem solving' Subject: [AccessD] Storing Files in Directories The current client has distinct preferences about how files ought to be stored. A client has 1:M projects. A project has 1:M assessments. An assessment concerns exactly one workstation. The resulting document must come out reflecting all workstations involved in said project for said client (this part is trivial). The client app's native directory is c:\MyClient. The subdir for said reports is c:\MyClient\reports. The client wants me to create a dir for each project and then plant the related documents in said project-subdir. This says to me that the Client table contains a directory name, and that the ClientProjects table also contains a directory name, and that given project 12356 I concatenate the above two values, plus the unique identifier, and create a file called "c:\MyClient\HerClient\Reports\" & Unique_ID & ".doc" (the resultant docs are all Word files). 1. I have so far created the said doc from a template: no problems there. But I would like also to supply the concatenated filename so that a simple click on the Save button causes the file to be saved. (I should mention that the docs spit out by the Access app _always_ require editing; else we would simply dump an Access report.) Given that the client is CharlotteFoust and that her docs get sent to c:\MyClient\HerClient\CharlotteFoust, then I want Word to realize that the created document should be called "c:\MyClient\HerClient\CharlotteFoust\" & Unique_ID & ".doc" -- and placed in subdir (create if required) Project 20050818. I don't want the user to have to name the file. I want that to have already been done, so she can click Save after her edits and that's that. Had I been granted the discretion to design this particular model, I would not have chosen this path. That however is not the issue. The issue is that the client and her employees want to do it this way. Advice, guidance, assaults on the model, all gratefully accepted. -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From shamil at users.mns.ru Thu Aug 18 13:24:15 2005 From: shamil at users.mns.ru (Shamil Salakhetdinov) Date: Thu, 18 Aug 2005 22:24:15 +0400 Subject: [AccessD] Disconnected MS Access cient applications.. References: <0ILF00G64IFD9M@l-daemon> Message-ID: <008501c5a422$1e7dee60$6401a8c0@fincomplex.spb.ru> > Wonder what object was referenced in Access to > allow access to FrameWorks' ADO.Net library I did write these objects (classes to instantiate and use these objects): DDO.Database DDO.Dataset in C# and I did put them in a Class Library. Compiled Class Library is a .NET Framework DLL. And this class library's classes and interfaces can be exposed as COM objects/interfaces using attributes and being exported in a COM type library - these are called COM Callable Wrappers (CCW) . Therefore they can be used from MS Access VBA as COM objects. This is well known and rather easy stuff in .NET Framework. I plan to publish all this Class Library source code and more, hopefully end of the next week... Shamil ----- Original Message ----- From: "Jim Lawrence" To: "'Access Developers discussion and problem solving'" Sent: Thursday, August 18, 2005 9:40 PM Subject: RE: [AccessD] Disconnected MS Access cient applications.. > Hi Shamil: > > It looks very interesting. Wonder what object was referenced in Access to > allow access to FrameWorks' ADO.Net library. > > Jim > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Shamil > Salakhetdinov > Sent: Thursday, August 18, 2005 4:46 AM > To: Access Developers discussion and problem solving > Subject: Re: [AccessD] Disconnected MS Access cient applications.. > > No, William, this is not replication - here is what I mean in short: > > http://www.smsconsulting.spb.ru/shamil_s/articles/ddo.htm > > Shamil > > ----- Original Message ----- > From: "William Hindman" > To: "Access Developers discussion and problem solving" > > Sent: Thursday, August 18, 2005 3:47 AM > Subject: Re: [AccessD] Disconnected MS Access cient applications.. > > > > Shamil > > > > ..I must be missing something ...that sounds like replication to me. > > > > William > > > > ----- Original Message ----- > > From: "Shamil Salakhetdinov" > > To: "!DBA-MAIN" > > Sent: Wednesday, August 17, 2005 7:28 PM > > Subject: [AccessD] Disconnected MS Access cient applications.. > > > > > > > Hi All, > > > > > > I wanted to ask you - what about the subject? > > > Anybody uses/interested to use MS Access client applications this way? > > > > > > Do I miss obvious (RTFM) stuff and such a disconnected mode is already > > > implemented in MS Access and broadly used by MS Access developers? Yes, > I > > > know ADO recordsets can be used with bound MS Access forms etc. but this > > > looks like a rather limited feature - am I wrong? > > > > > > What I mean is cashing data locally into mdbs, only the data needed for > > > the > > > currently open form(s) etc., processing this data and then updating > > > backend > > > database(mdb, MSDE, MS SQL, whatever...) - with all this cashing and > > > updating made mostly automatically by a tiny framework code, based on > > > ADO.NET...(yes, this local caching of data is not a new subject but > > > nowadays > > > it can be (re-)implement really scalable way with a way less efforts > than > > > before) > > > > > > Maybe MS plans to do something like that? > > > > > > Is that a wheel reinvention or anybody here sees such opportunity like a > > > really useful feature in their real life projects? > > > > > > For me it looks like a useful feature because it could help: to get MS > > > Access back into mainstream development area because it will allow to > > > easily > > > scale applications with MS Access front-ends... > > > > > > There are many other ideas but most of them in this "ideas pool" based > on > > > the subject one - if it doesn't make sense for real-life projects then > I'd > > > better stop working on it... > > > > > > What is your opinion about the subject? > > > When you expect MS will do something like that in MS Access? > > > > > > Thank you, > > > Shamil > > > > > > -- > > > AccessD mailing list > > > AccessD at databaseadvisors.com > > > http://databaseadvisors.com/mailman/listinfo/accessd > > > Website: http://www.databaseadvisors.com > > > > > -- > > AccessD mailing list > > AccessD at databaseadvisors.com > > http://databaseadvisors.com/mailman/listinfo/accessd > > Website: http://www.databaseadvisors.com > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > 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 Aug 18 13:23:58 2005 From: cfoust at infostatsystems.com (Charlotte Foust) Date: Thu, 18 Aug 2005 11:23:58 -0700 Subject: [AccessD] Disconnected MS Access cient applications.. Message-ID: Yes, I work with ADO.Net a lot, but in VB.Net, not Access, and I haven't even looked at C#. Most of my time is now spent in VB.Net, but I keep thinking of how nice it would be to be able to do some of these things with Access ... Like Nunit testing, for instance. Now THERE's a topic I could get excited about if someone would like to rewrite it to work with VBA ... Hint, hint, hint. ;-} Charlotte -----Original Message----- From: Shamil Salakhetdinov [mailto:shamil at users.mns.ru] Sent: Thursday, August 18, 2005 11:04 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Disconnected MS Access cient applications.. > but have never had time to really pursue it. Yes, the same thoughts/experience here. Finally ADO.NET and WithEvents should make it rather easy to implement... I think/plan, I will return to this subject end of the next week, hopefully with some new results to publish as public domain/open source... Meanwhile I have to finish reading two books about XP in C# and "MS Object Thinking" and make some experiments in ADO.NET and a good progress in a pending urgent project... Any ideas about directions in which to develop this small project are very welcome! Thank you for your support! Shamil ----- Original Message ----- From: "Charlotte Foust" To: "Access Developers discussion and problem solving" Sent: Thursday, August 18, 2005 9:30 PM Subject: RE: [AccessD] Disconnected MS Access cient applications.. > Not interesting, Shamil, FASCINATING! Yes, I do hope you continue > this thread. Please! I've often thought of this kind of thing but > have never had time to really pursue it. > > Charlotte Foust > > > -----Original Message----- > From: Shamil Salakhetdinov [mailto:shamil at users.mns.ru] > Sent: Thursday, August 18, 2005 10:02 AM > To: Access Developers discussion and problem solving > Subject: Re: [AccessD] Disconnected MS Access cient applications.. > > > Charlotte, > > Your means you're interested in continuation of this > subject/thread or...? In my plans is to extend and make all the source > code available. How soon it will happen this is an open question - I > have an urgent project here. But I do plan to continue this thread and > work if this looks interesting for you and others here. Maybe even > make it open source project here when first useful results will be > achieved? It would be interesting I guess to make it also XP(eXtreme > Programming) style work with your being subject area expert - I mean > your best knowing in what scenarios and in what business areas is the > best to use MS Access in bound but disconnected mode with most of the > software (MS Access FE > databases) developed by power users but integrated by "mighty MS > Access developers"? :) > > I know how to do all that, I know how to make MS Access applications > assembly factories etc. - I have all that experience and I can share > it if/when I will have spare time - is that interesting? > > Shamil > > > ----- Original Message ----- > From: "Charlotte Foust" > To: "Access Developers discussion and problem solving" > > Sent: Thursday, August 18, 2005 7:35 PM > Subject: RE: [AccessD] Disconnected MS Access cient applications.. > > > > Oooohhh, I think I'm in love! > > > > Charlotte Foust > > > > > > -----Original Message----- > > From: Shamil Salakhetdinov [mailto:shamil at users.mns.ru] > > Sent: Thursday, August 18, 2005 4:46 AM > > To: Access Developers discussion and problem solving > > Subject: Re: [AccessD] Disconnected MS Access cient applications.. > > > > > > No, William, this is not replication - here is what I mean in short: > > > > http://www.smsconsulting.spb.ru/shamil_s/articles/ddo.htm > > > > Shamil > > > > ----- Original Message ----- > > From: "William Hindman" > > To: "Access Developers discussion and problem solving" > > > > Sent: Thursday, August 18, 2005 3:47 AM > > Subject: Re: [AccessD] Disconnected MS Access cient applications.. > > > > > > > Shamil > > > > > > ..I must be missing something ...that sounds like replication to > > > me. > > > > > > William > > > > > > ----- Original Message ----- > > > From: "Shamil Salakhetdinov" > > > To: "!DBA-MAIN" > > > Sent: Wednesday, August 17, 2005 7:28 PM > > > Subject: [AccessD] Disconnected MS Access cient applications.. > > > > > > > > > > Hi All, > > > > > > > > I wanted to ask you - what about the subject? > > > > Anybody uses/interested to use MS Access client applications > > > > this way? > > > > > > > > Do I miss obvious (RTFM) stuff and such a disconnected mode is > > > > already implemented in MS Access and broadly used by MS Access > > > > developers? Yes, > > I > > > > know ADO recordsets can be used with bound MS Access forms etc. > > > > but this looks like a rather limited feature - am I wrong? > > > > > > > > What I mean is cashing data locally into mdbs, only the data > > > > needed for the currently open form(s) etc., processing this data > > > > and then updating backend database(mdb, MSDE, MS SQL, > > > > whatever...) > > > > > - with all this cashing and updating made mostly automatically > > > > by a tiny framework code, based > > on > > > > ADO.NET...(yes, this local caching of data is not a new subject > > > > but nowadays it can be (re-)implement really scalable way with a > > > > way less efforts > > than > > > > before) > > > > > > > > Maybe MS plans to do something like that? > > > > > > > > Is that a wheel reinvention or anybody here sees such > > > > opportunity like a really useful feature in their real life > > > > projects? > > > > > > > > For me it looks like a useful feature because it could help: to > > > > get MS Access back into mainstream development area because it > > > > will allow to easily scale applications with MS Access > > > > front-ends... > > > > > > > > There are many other ideas but most of them in this "ideas pool" > > > > based > > on > > > > the subject one - if it doesn't make sense for real-life > > > > projects then > > I'd > > > > better stop working on it... > > > > > > > > What is your opinion about the subject? > > > > When you expect MS will do something like that in MS Access? > > > > > > > > Thank you, > > > > Shamil > > > > > > > > -- > > > > AccessD mailing list > > > > AccessD at databaseadvisors.com > > > > http://databaseadvisors.com/mailman/listinfo/accessd > > > > Website: http://www.databaseadvisors.com > > > > > > > -- > > > AccessD mailing list > > > AccessD at databaseadvisors.com > > > http://databaseadvisors.com/mailman/listinfo/accessd > > > Website: http://www.databaseadvisors.com > > > > -- > > AccessD mailing list > > AccessD at databaseadvisors.com > > http://databaseadvisors.com/mailman/listinfo/accessd > > Website: http://www.databaseadvisors.com > > -- > > AccessD mailing list > > AccessD at databaseadvisors.com > > http://databaseadvisors.com/mailman/listinfo/accessd > > Website: http://www.databaseadvisors.com > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > 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 Thu Aug 18 13:25:44 2005 From: artful at rogers.com (Arthur Fuller) Date: Thu, 18 Aug 2005 14:25:44 -0400 Subject: [AccessD] OT(?): Big Design Up Front (BDUF) vs. XP any comments, ideas, experience? In-Reply-To: <009401c5a418$6a77e5a0$6401a8c0@fincomplex.spb.ru> Message-ID: <200508181825.j7IIPjR26281@databaseadvisors.com> Good reply, Shamil. I am not a fanatic (at least I don't think so LOL), but I AM very big on BDUF -- this opinion qualified by the realization (as captured in a famous N.A. ad wherein the guy tells you that GoodYear does tires but now tune-ups as well. So we are caught between rock and roll and and a hard disk: by the time you write the software, the company is in a new business. No doubt about it, this happens! And more than once to me. So the architecture has to be something like the correct way to design a house: you should be able to add rooms at any moment without destroying the scheme. Your next child might be triplets, which would in time radically alter the design of your home. Without wanting to lead this thread too far astray, I will mention that my two principal influences in software design are Moshe Safde and Zakir Hussain, the former the architect who designed Habitat and many other great buildings, the latter probably the greatest tabla player who has ever lived. Both are into highest-level improvisation, working from a basic set of rules that can combine in thousands of ways. Habitat, IMO, is one of the greatest edifices ever built. And Zakir, in the realm of music and more specifically drumming, is without parallel. These two men are the goalposts of my software ambitions. So perhaps you may think that I am contradicting myself, but I don't see it that way. Architecture locked in space and time is dead. It must be as fluid as improvised music -- and more importantly to this discussion, so must software. Software must be designed with the anticipation that you will have another child next year, and be ready to bend and fold and otherwise enhance said child's life. If we have to rewrite, the design was wrong. We should simply accommodate, adding a new bedroom if required but not changing the structure of the house and neither betraying its aesthetics. This is not simple to do. I appreciate that. I mention it as my goal not my resume. Now and then I have come close. That is the best I can say. I am neither Safde nor Hussain. Look at Habitat. Listen to Track 3 on the first Shakti CD. These are my goalposts. Arthur -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Shamil Salakhetdinov Sent: August 18, 2005 1:15 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] OT(?): Big Design Up Front (BDUF) vs. XP any comments,ideas, experience? <<< I am _way_ big on BDUF! Avoid coding until the last possible moment -- that's my motto. >>> Arthur, but what you described and you said "it worked brilliantly" - this is more XP than anything else, isn't it? Yes, I understand you're writing specs and you do a lot of upfront design - it may happen it's not needed to do them that much upfront? I'm not XP advocate (yet) - I'm just learning it and yet to see really big projects developed this way but my feelings are that it's very promising and it should give higher percent of positive results than BDUF does give - 60% of projects fail, many go a way out of budget etc. - these are statistics... No, I do not want to make "BDUF vs. XP" yet another "religious" debate here - I'm trying to find my best way "in between" of these two working approaches by sharing my experience and by acquiring yours... Shamil ----- Original Message ----- From: "Arthur Fuller" To: "'Access Developers discussion and problem solving'" Sent: Thursday, August 18, 2005 8:21 PM Subject: RE: [AccessD] OT(?): Big Design Up Front (BDUF) vs. XP any comments,ideas, experience? > About a decade ago I headed a development team for an insurance company. > Half the job was to take some mainframe programmers and acquaint them with > PC development tools and best practices. XP was not a big thing then, but I > improvised an approximation of it at that time. I started with 2 > programmers, and had them sit with me as I coded. They were learning lots of > things at once -- syntax, editor keystrokes, shortcuts, etc. At first I was > moving so quickly that they couldn't even see what I was doing (particularly > in the editor itself), but a few explanations and we were over that hump. > The hardest thing to teach them was "1 proc does exactly one thing"... No, > upon reflection, the hardest thing to teach them was "avoid coding until the > last possible moment." The first two programmers then took on a programmer > each and repeated the "semester", as it were, and then those two took on a > programmer each. By the end of the project, we had a team of capable > programmers, and we stuck to the rule of "two programmers per keyboard" all > the way through the project. It worked brilliantly -- about equivalent to > debugging while writing the code. The second programmer might watch the > first start a recursive routine and say, "Hey, wait, let's break it out into > two routines and avoid the recursion problems." They might kick it around > for a bit before choosing one or the other approach, and also document why > they elected that choice. > > I am _way_ big on BDUF! Avoid coding until the last possible moment -- > that's my motto. I started out as a cowboy coder, but no more. I spend a > _lot_ of time db-design tools such as DeZign, and I don't even begin > creating sample data until I've been through about 3 revisions of the given > DB design. Then I write use-cases describing each function the software must > perform, using English not pseudo-code -- in fact, I have learned to avoid > any specific references to tables, and instead to write such statements as, > "When the user selects a product and quantity she wishes to buy, place a > 5-minute hold on that quantity. When the user's credit card payment is > authorized, deplete inventory by the specified quantity and remove the > hold." > > Once the DB design is finalized, and the purpose of each table, view, sproc > and UDF described, then even a relatively new hire can take the spec > described above and implement it easily. In the example I gave, there are > the following steps: > > 1. Obtain the product ID and desired quantity > 2. Check to see said quantity exists (we'll sidestep the issue of > back-orders for now). > 3. Place a hold on said quantity, with a timer mechanism of some sort (SQL > Server is great at this, much better than an Access timer). > 4. Obtain the credit card info, fire it off and check the return status. > 5. If the payment went through, deplete the quantity available. > 6. Remove the hold. > > Each of these steps can be reduced to exactly one procedure. You (as > manager) could even assign each step to a different programmer. So long as > the DB design is solid, there should be no issues. > > I haven't read either book you mentioned, but I'll put them on my list of > things to read. > > Arthur > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Shamil > Salakhetdinov > Sent: August 18, 2005 5:50 AM > To: !DBA-MAIN > Subject: [AccessD] OT(?): Big Design Up Front (BDUF) vs. XP any > comments,ideas, experience? > > Hi All, > > I've got this this today from JoelOnSoftware subscription list: > > <<<<<< > "As I worked through the screens that would be needed to allow > either party to initiate the process, I realized that Aardvark > would be just as useful, and radically simpler, if the helper > was required to start the whole process. Making this change in > the spec took an hour or two. If we had made this change in code, > it would have added weeks to the schedule. I can't tell you how > strongly I believe in Big Design Up Front, which the proponents > of Extreme Programming consider anathema. I have consistently > saved time and made better products by using BDUF and I'm proud > to use it, no matter what the XP fanatics claim. They're just > wrong on this point and I can't be any clearer than that." > > - From my latest article: > > The Project Aardvark Spec > http://www.joelonsoftware.com/articles/AardvarkSpec.html > >>>>> > No comments. > > It happened that I'm currently reading: > > "Microsoft Object Thinking" > by David West > ISBN:0735619654 > Microsoft Press C 2004 > > and > > "Extreme Programming Adventures in C# " > by Ron Jeffries > ISBN:0735619492 > Microsoft Press C 2004 > > These two books are from Microsoft Press and they have a lot of useful > information on eXterme Programming, Unit Testing and Classical(Behavioral) > vs. currently existing in most implementations "real life" UML-based(RUP) > OOD&P. > > When MS Press publishes books on such more computer-science than > used in real life projects subjects then they are very probably "cultivating > the ground" for the soon to become true "dreams". (I remember I watched a > movie "Microsoft, Year 2004"(form MS of course) somewhere in year 1995 or > so - and as I see now their by that time science-fiction is now real-life, > exactly in year 2004-2005. > > I must say I impressed with both books (and there are just a few technical > books I liked because most of them are just "chewing" MSDN or other docs > without almost any new ideas). > The more I read them the more I like them and I see a lot of sense in what > is written in them and I see a lot of my own ideas and experience are there > too. I'm glad my thinking is in the mainstream (of course what they say is > much more elaborated and thought through and based on their own rich > experience). > > So my guess/thinking is that XP, Unit Testing and Behavioral (Extreme) > OOD&P are becoming mainstream for real-life development of the projects of > any size - in fact as authors of these books state (based on their > experience) that the stuff they are writing about is the "only" agile way > to solve the challenges of nowadays customers and projects requests. And > they are not fanatics I think - they base their writing on deep analysis of > all the previous 50 years experience in software development and not only in > software - "Microsoft Object Thinking" is more philosophical than > technical book and it has quotes from Plato (year 400 B.C.) - these quotes > are used to explain how to "attack" complicated/vague projects' > requirements... > > > What do you think about the subject and related issues? > > Do we need Access/VBA Unit Testing added here - > http://opensourcetesting.org/unit_misc.php (Open source tools for software > testing professionals) - it can be done - does it make sense? > > Shamil > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From cyx5 at cdc.gov Thu Aug 18 13:24:30 2005 From: cyx5 at cdc.gov (Nicholson, Karen) Date: Thu, 18 Aug 2005 14:24:30 -0400 Subject: [AccessD] Storing Files in Directories Message-ID: This is code that I have to create directories and then move files into the directories. My TN number is my unique identifier which creates a unique directory if needed. How are you grabbing your unique file name? Looks like a date. How about Date and Time so you don't get duplicate file names? Private Function fcnMakeDestFolder(vTNNum As Variant) As Boolean On Error GoTo ErrorHandler Dim fsoDir As Object Dim strMsgText As String strMsgText = "Creating Final Project Destination Folder" DoCmd.OpenForm "Status Display", , , , acFormReadOnly, acDialog, strMsgText 'Check and/or create the manufacturer basic folder structure Set fsoDir = CreateObject("Scripting.FileSystemObject") If Not fsoDir.FolderExists(cProjects & strMfrCode) Then fsoDir.CreateFolder (cProjects & strMfrCode) End If If Not fsoDir.FolderExists(cProjects & strMfrCode & "\Approved") Then fsoDir.CreateFolder (cProjects & strMfrCode & "\Approved") End If If Not fsoDir.FolderExists(cProjects & strMfrCode & "\Unapproved") Then fsoDir.CreateFolder (cProjects & strMfrCode & "\Unapproved") End If If Not fsoDir.FolderExists(cProjects & strMfrCode & "\Post Approval") Then fsoDir.CreateFolder (cProjects & strMfrCode & "\Post Approval") End If 'Now create the new folder If Not fsoDir.FolderExists(cProjects & strMfrCode & "\TN" & Format(vTNNum, "000000")) Then fsoDir.CreateFolder (cProjects & strMfrCode & "\TN" & Format(vTNNum, "000000")) End If 'Finally move all of the files from the standard application directory 'to the newly created folder. strMsgText = "Moving Project To Final Project Destination Folder" DoCmd.OpenForm "Status Display", , , , acFormReadOnly, acDialog, strMsgText If fcnCopyFolders(cStdDir, cProjects & strMfrCode & "\TN" & Format(vTNNum, "000000")) Then fcnMakeDestFolder = True Else fcnMakeDestFolder = False End If ProcExit: If Not fsoDir Is Nothing Then Set fsoDir = Nothing End If Exit Function ErrorHandler: MsgBox "The following error has occured:" & vbCrLf & _ "Error Number: " & Err.Number & vbCrLf & _ "Description: " & Err.Description & vbCrLf & _ "Please contact the DEIMS system administrator with this information.", vbOKOnly + vbCritical, _ "Standard Application: Function Make Destination Folder" fcnMakeDestFolder = False GoTo ProcExit End Function '***************** This is the function fcnCopyFolders Public Function fcnCopyFolders(strFolderName As String, strStdDir As String) As Boolean On Error GoTo ErrorHandler 'Declare Local Variables Dim fsoDir As Object, fsoSearchDir As Object Dim Folder As Object, SubFolders As Object, SubFolder As Object Set fsoDir = CreateObject("Scripting.FileSystemObject") Set Folder = fsoDir.GetFolder(strFolderName) Set SubFolders = Folder.SubFolders 'Copy all of the subfolder objects to the standard directory If SubFolders.Count <> 0 Then For Each SubFolder In SubFolders fsoDir.CopyFile SubFolder.Path & "\*.*", strStdDir Next SubFolder End If 'Copy all of the main folder objects to the standard directory fsoDir.CopyFile strFolderName & "\*.*", strStdDir fcnCopyFolders = True Exit Function ErrorHandler: fcnCopyFolders = False End Function -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Arthur Fuller Sent: Thursday, August 18, 2005 2:02 PM To: 'Access Developers discussion and problem solving' Subject: [AccessD] Storing Files in Directories The current client has distinct preferences about how files ought to be stored. A client has 1:M projects. A project has 1:M assessments. An assessment concerns exactly one workstation. The resulting document must come out reflecting all workstations involved in said project for said client (this part is trivial). The client app's native directory is c:\MyClient. The subdir for said reports is c:\MyClient\reports. The client wants me to create a dir for each project and then plant the related documents in said project-subdir. This says to me that the Client table contains a directory name, and that the ClientProjects table also contains a directory name, and that given project 12356 I concatenate the above two values, plus the unique identifier, and create a file called "c:\MyClient\HerClient\Reports\" & Unique_ID & ".doc" (the resultant docs are all Word files). 1. I have so far created the said doc from a template: no problems there. But I would like also to supply the concatenated filename so that a simple click on the Save button causes the file to be saved. (I should mention that the docs spit out by the Access app _always_ require editing; else we would simply dump an Access report.) Given that the client is CharlotteFoust and that her docs get sent to c:\MyClient\HerClient\CharlotteFoust, then I want Word to realize that the created document should be called "c:\MyClient\HerClient\CharlotteFoust\" & Unique_ID & ".doc" -- and placed in subdir (create if required) Project 20050818. I don't want the user to have to name the file. I want that to have already been done, so she can click Save after her edits and that's that. Had I been granted the discretion to design this particular model, I would not have chosen this path. That however is not the issue. The issue is that the client and her employees want to do it this way. Advice, guidance, assaults on the model, all gratefully accepted. -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From martyconnelly at shaw.ca Thu Aug 18 13:32:56 2005 From: martyconnelly at shaw.ca (MartyConnelly) Date: Thu, 18 Aug 2005 11:32:56 -0700 Subject: [AccessD] copy string to clipboard References: <011801c5a40e$c9819fa0$6c7aa8c0@ColbyM6805> Message-ID: <4304D458.6080109@shaw.ca> Long way around for a shortcut. But this might not be so safe. 'set reference to FM20.dll in windows/system32 'MS Forms 2.0 Object Library function getclipboard() as string Dim dobD As DataObject Dim strS As String Set dobD = New DataObject dobD.GetFromClipboard strS = dobD.GetText 'or put in formatted see object browser ' dobD.SetText ("Huh??") ' dobD.PutInClipboard Debug.Print strS getclipboard= strS Set dobD = Nothing End Sub John W. Colby wrote: >>I've even got a simple class to take care of text to and from the clipboard >> >> > > >And of course, so do I now, thanks to you. This is what makes this >group great. > >John W. Colby >www.ColbyConsulting.com > >Contribute your unused CPU cycles to a good cause: >http://folding.stanford.edu/ > >-----Original Message----- >From: accessd-bounces at databaseadvisors.com >[mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Heenan, Lambert >Sent: Thursday, August 18, 2005 12:03 PM >To: 'Access Developers discussion and problem solving' >Subject: RE: [AccessD] copy string to clipboard > > > >-----Original Message----- >From: accessd-bounces at databaseadvisors.com >[mailto:accessd-bounces at databaseadvisors.com] On Behalf Of John W. Colby >Sent: Thursday, August 18, 2005 11:00 AM >To: 'Access Developers discussion and problem solving' >Subject: RE: [AccessD] copy string to clipboard > > >Where is the matching ClipGetText? > >John W. Colby >www.ColbyConsulting.com > >------------------------ >It's another simple API call... > >Private Declare Function GetClipboardData Lib "user32" (ByVal wFormat As >Long) As Long > >I've even got a simple class to take care of text to and from the clipboard > > >'*************************** clsClipBoard ************* > >Option Compare Database >Option Explicit > > > >' Obtaining Clipboard Data using API >' (needed for VBA since no Clipboard Object) -- can also paste the data to a >control ' ************************************************************* > >' ******* Place following in declarations ********* >Private Declare Function OpenClipboard Lib "user32" (ByVal hWnd As Long) As >Long Private Declare Function CloseClipboard Lib "user32" () As Long Private >Declare Function EmptyClipboard Lib "user32" () As Long Private Declare >Function SetClipboardData Lib "user32" (ByVal wFormat As Long, ByVal hMem As >Long) As Long Private Declare Function GetClipboardData Lib "user32" (ByVal >wFormat As >Long) As Long >Private Declare Function GlobalAlloc Lib "kernel32" (ByVal wFlags&, ByVal >dwBytes As Long) As Long Private Declare Function GlobalLock Lib "kernel32" >(ByVal hMem As Long) As Long Private Declare Function GlobalUnlock Lib >"kernel32" (ByVal hMem As Long) As Long Private Declare Function GlobalSize >Lib "kernel32" (ByVal hMem As Long) As Long Private Declare Function lstrcpy >Lib "kernel32" (ByVal lpString1 As Any, ByVal lpString2 As Any) As Long > >Const GHND = &H42 >Const CF_TEXT = 1 >Const MAXSIZE = 4096 > >Function GetTextData() As String > Dim hClipMemory As Long > Dim lpClipMemory As Long > Dim MyString As String > Dim RetVal As Long > > If OpenClipboard(0&) = 0 Then > MsgBox "Cannot open Clipboard. Another app. may have it open", , >"Clipboard" > > Exit Function > End If > > ' Obtain the handle to the global memory > ' block that is referencing the text. > hClipMemory = GetClipboardData(CF_TEXT) > If IsNull(hClipMemory) Then > MsgBox "Could not allocate memory", , "Clipboard" > Else > > ' Lock Clipboard memory so we can reference > ' the actual data string. > lpClipMemory = GlobalLock(hClipMemory) > > If Not IsNull(lpClipMemory) Then > > MyString = SPACE$(MAXSIZE) > RetVal = lstrcpy(MyString, lpClipMemory) > RetVal = GlobalUnlock(hClipMemory) > > ' Peel off the null terminating character. > MyString = uMid(MyString, 1, InStr(1, MyString, Chr$(0), 0) - 1) > Else > MsgBox "Could not lock memory to copy string from.", , "Clipboard" > End If > > End If > > RetVal = CloseClipboard() > GetTextData = MyString > >End Function > >Sub SetTextData(MyString As String) > Dim hGlobalMemory As Long, lpGlobalMemory As Long > Dim hClipMemory As Long, x As Long > > ' Allocate movable global memory. > '------------------------------------------- > hGlobalMemory = GlobalAlloc(GHND, Len(MyString) + 1) > > ' Lock the block to get a far pointer > ' to this memory. > lpGlobalMemory = GlobalLock(hGlobalMemory) > > ' Copy the string to this global memory. > lpGlobalMemory = lstrcpy(lpGlobalMemory, MyString) > > ' Unlock the memory. > If GlobalUnlock(hGlobalMemory) <> 0 Then > MsgBox "Could not unlock memory location. Copy aborted.", , >"Clipboard" > Else > ' Open the Clipboard to copy data to. > If OpenClipboard(0&) = 0 Then > MsgBox "Could not open the Clipboard. Copy aborted.", , "Clipboard" > Exit Sub > End If > > ' Clear the Clipboard. > x = EmptyClipboard() > > ' Copy the data to the Clipboard. > hClipMemory = SetClipboardData(CF_TEXT, hGlobalMemory) > End If > > If CloseClipboard() = 0 Then > MsgBox "Could not close Clipboard.", , "Clipboard" > End If > >End Sub > >'******************************************** > > -- Marty Connelly Victoria, B.C. Canada From shamil at users.mns.ru Thu Aug 18 13:48:09 2005 From: shamil at users.mns.ru (Shamil Salakhetdinov) Date: Thu, 18 Aug 2005 22:48:09 +0400 Subject: [AccessD] Disconnected MS Access cient applications.. References: Message-ID: <002101c5a429$00e15930$6401a8c0@fincomplex.spb.ru> > Like Nunit testing, for instance. Now THERE's a topic I > could get excited about if someone would like to rewrite it to work with > VBA ... So, you wanted JUnit/NUnit ideas ported to MS Access/VBA? We're thinking in the same direction :) Do you think it could be broadly used? (VBA is getting "dead" language?) Yes, VBA/Access Unit testing can be done several ways. I'd use open source NUnit sources for starters.... Rough estimation: not that much work - one/a couple of months - anybody to sponsor? :) What about NDoc(http://ndoc.sourceforge.net/) ? Also wanted to port it to VBA? - no problem - any sponsors? :) Shamil ----- Original Message ----- From: "Charlotte Foust" To: "Access Developers discussion and problem solving" Sent: Thursday, August 18, 2005 10:23 PM Subject: RE: [AccessD] Disconnected MS Access cient applications.. > Yes, I work with ADO.Net a lot, but in VB.Net, not Access, and I haven't > even looked at C#. Most of my time is now spent in VB.Net, but I keep > thinking of how nice it would be to be able to do some of these things > with Access ... Like Nunit testing, for instance. Now THERE's a topic I > could get excited about if someone would like to rewrite it to work with > VBA ... Hint, hint, hint. ;-} > > Charlotte > > > -----Original Message----- > From: Shamil Salakhetdinov [mailto:shamil at users.mns.ru] > Sent: Thursday, August 18, 2005 11:04 AM > To: Access Developers discussion and problem solving > Subject: Re: [AccessD] Disconnected MS Access cient applications.. > > > > but have never had time to really pursue it. > Yes, the same thoughts/experience here. > Finally ADO.NET and WithEvents should make it rather easy to > implement... > > I think/plan, I will return to this subject end of the next week, > hopefully with some new results to publish as public domain/open > source... > > Meanwhile I have to finish reading two books about XP in C# and "MS > Object Thinking" and make some experiments in ADO.NET and a good > progress in a pending urgent project... > > Any ideas about directions in which to develop this small project are > very welcome! > > Thank you for your support! > > Shamil > > > ----- Original Message ----- > From: "Charlotte Foust" > To: "Access Developers discussion and problem solving" > > Sent: Thursday, August 18, 2005 9:30 PM > Subject: RE: [AccessD] Disconnected MS Access cient applications.. > > > > Not interesting, Shamil, FASCINATING! Yes, I do hope you continue > > this thread. Please! I've often thought of this kind of thing but > > have never had time to really pursue it. > > > > Charlotte Foust > > > > > > -----Original Message----- > > From: Shamil Salakhetdinov [mailto:shamil at users.mns.ru] > > Sent: Thursday, August 18, 2005 10:02 AM > > To: Access Developers discussion and problem solving > > Subject: Re: [AccessD] Disconnected MS Access cient applications.. > > > > > > Charlotte, > > > > Your means you're interested in continuation of this > > subject/thread or...? In my plans is to extend and make all the source > > > code available. How soon it will happen this is an open question - I > > have an urgent project here. But I do plan to continue this thread and > > > work if this looks interesting for you and others here. Maybe even > > make it open source project here when first useful results will be > > achieved? It would be interesting I guess to make it also XP(eXtreme > > Programming) style work with your being subject area expert - I mean > > your best knowing in what scenarios and in what business areas is the > > best to use MS Access in bound but disconnected mode with most of the > > software (MS Access FE > > databases) developed by power users but integrated by "mighty MS > > Access developers"? :) > > > > I know how to do all that, I know how to make MS Access applications > > assembly factories etc. - I have all that experience and I can share > > it if/when I will have spare time - is that interesting? > > > > Shamil > > > > > > ----- Original Message ----- > > From: "Charlotte Foust" > > To: "Access Developers discussion and problem solving" > > > > Sent: Thursday, August 18, 2005 7:35 PM > > Subject: RE: [AccessD] Disconnected MS Access cient applications.. > > > > > > > Oooohhh, I think I'm in love! > > > > > > Charlotte Foust > > > > > > > > > -----Original Message----- > > > From: Shamil Salakhetdinov [mailto:shamil at users.mns.ru] > > > Sent: Thursday, August 18, 2005 4:46 AM > > > To: Access Developers discussion and problem solving > > > Subject: Re: [AccessD] Disconnected MS Access cient applications.. > > > > > > > > > No, William, this is not replication - here is what I mean in short: > > > > > > http://www.smsconsulting.spb.ru/shamil_s/articles/ddo.htm > > > > > > Shamil > > > > > > ----- Original Message ----- > > > From: "William Hindman" > > > To: "Access Developers discussion and problem solving" > > > > > > Sent: Thursday, August 18, 2005 3:47 AM > > > Subject: Re: [AccessD] Disconnected MS Access cient applications.. > > > > > > > > > > Shamil > > > > > > > > ..I must be missing something ...that sounds like replication to > > > > me. > > > > > > > > William > > > > > > > > ----- Original Message ----- > > > > From: "Shamil Salakhetdinov" > > > > To: "!DBA-MAIN" > > > > Sent: Wednesday, August 17, 2005 7:28 PM > > > > Subject: [AccessD] Disconnected MS Access cient applications.. > > > > > > > > > > > > > Hi All, > > > > > > > > > > I wanted to ask you - what about the subject? > > > > > Anybody uses/interested to use MS Access client applications > > > > > this way? > > > > > > > > > > Do I miss obvious (RTFM) stuff and such a disconnected mode is > > > > > already implemented in MS Access and broadly used by MS Access > > > > > developers? Yes, > > > I > > > > > know ADO recordsets can be used with bound MS Access forms etc. > > > > > but this looks like a rather limited feature - am I wrong? > > > > > > > > > > What I mean is cashing data locally into mdbs, only the data > > > > > needed for the currently open form(s) etc., processing this data > > > > > > and then updating backend database(mdb, MSDE, MS SQL, > > > > > whatever...) > > > > > > > - with all this cashing and updating made mostly automatically > > > > > by a tiny framework code, based > > > on > > > > > ADO.NET...(yes, this local caching of data is not a new subject > > > > > but nowadays it can be (re-)implement really scalable way with a > > > > > > way less efforts > > > than > > > > > before) > > > > > > > > > > Maybe MS plans to do something like that? > > > > > > > > > > Is that a wheel reinvention or anybody here sees such > > > > > opportunity like a really useful feature in their real life > > > > > projects? > > > > > > > > > > For me it looks like a useful feature because it could help: to > > > > > get MS Access back into mainstream development area because it > > > > > will allow to easily scale applications with MS Access > > > > > front-ends... > > > > > > > > > > There are many other ideas but most of them in this "ideas pool" > > > > > > based > > > on > > > > > the subject one - if it doesn't make sense for real-life > > > > > projects then > > > I'd > > > > > better stop working on it... > > > > > > > > > > What is your opinion about the subject? > > > > > When you expect MS will do something like that in MS Access? > > > > > > > > > > Thank you, > > > > > Shamil > > > > > > > > > > -- > > > > > AccessD mailing list > > > > > AccessD at databaseadvisors.com > > > > > http://databaseadvisors.com/mailman/listinfo/accessd > > > > > Website: http://www.databaseadvisors.com > > > > > > > > > -- > > > > AccessD mailing list > > > > AccessD at databaseadvisors.com > > > > http://databaseadvisors.com/mailman/listinfo/accessd > > > > Website: http://www.databaseadvisors.com > > > > > > -- > > > AccessD mailing list > > > AccessD at databaseadvisors.com > > > http://databaseadvisors.com/mailman/listinfo/accessd > > > Website: http://www.databaseadvisors.com > > > -- > > > AccessD mailing list > > > AccessD at databaseadvisors.com > > > http://databaseadvisors.com/mailman/listinfo/accessd > > > Website: http://www.databaseadvisors.com > > > > -- > > AccessD mailing list > > AccessD at databaseadvisors.com > > http://databaseadvisors.com/mailman/listinfo/accessd > > Website: http://www.databaseadvisors.com > > -- > > AccessD mailing list > > AccessD at databaseadvisors.com > > http://databaseadvisors.com/mailman/listinfo/accessd > > Website: http://www.databaseadvisors.com > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com From shamil at users.mns.ru Thu Aug 18 14:13:20 2005 From: shamil at users.mns.ru (Shamil Salakhetdinov) Date: Thu, 18 Aug 2005 23:13:20 +0400 Subject: [AccessD] OT(?): Big Design Up Front (BDUF) vs. XP any comments, ideas, experience? References: <200508181825.j7IIPjR26281@databaseadvisors.com> Message-ID: <002201c5a429$0121bd90$6401a8c0@fincomplex.spb.ru> > Both are into highest-level improvisation, working from a basic set of rules > that can combine in thousands of ways. XP DOES base its core practices on improvisation and basic set of proven rules/patterns, which can be combined in thousand ways! And it's well known that high level improvisation is "1% inspiration, and 99% perspiration."... > So perhaps you may think that I am contradicting myself, but I don't see > it that way Yes :) > If we have to rewrite, the design was wrong. We should > simply accommodate, adding a new bedroom if required but not changing the > structure of the house and neither betraying its aesthetics. I think that XP and true Classical (Behavioral) OOD&P gurus have knowledge and experience I, mere mortal, still to try to get acquired and used in my practice. They do state the way they work will not create any problems with adapting software to the constantly changing business and customer requirements. They do have experience in real life projects with very impressive results - read the book "MS Object Thinking"... Just think - they create low coupled, highly cohesive (with a few exposed methods) "interlligent" objects. These objects are independent and they just react predicted way (because their functionality is unit tested "to death") on external signals/messages. They subsribe to/know about/react on only the known for them signals/messages. They do use proven design patterns to combine all that stuff.... The often methaphor they use to explain how this system works is a traffic light on crossroad and cars and pedestrians - they are all independent - they just react on traffic light signals - and this system works very well... > Look at Habitat. Listen to Track 3 on the first Shakti CD. These are my > goalposts. Will do, thanks! Shamil ----- Original Message ----- From: "Arthur Fuller" To: "'Access Developers discussion and problem solving'" Sent: Thursday, August 18, 2005 10:25 PM Subject: RE: [AccessD] OT(?): Big Design Up Front (BDUF) vs. XP any comments,ideas, experience? > Good reply, Shamil. I am not a fanatic (at least I don't think so LOL), but > I AM very big on BDUF -- this opinion qualified by the realization (as > captured in a famous N.A. ad wherein the guy tells you that GoodYear does > tires but now tune-ups as well. So we are caught between rock and roll and > and a hard disk: by the time you write the software, the company is in a new > business. No doubt about it, this happens! And more than once to me. > > So the architecture has to be something like the correct way to design a > house: you should be able to add rooms at any moment without destroying the > scheme. Your next child might be triplets, which would in time radically > alter the design of your home. > > Without wanting to lead this thread too far astray, I will mention that my > two principal influences in software design are Moshe Safde and Zakir > Hussain, the former the architect who designed Habitat and many other great > buildings, the latter probably the greatest tabla player who has ever lived. > Both are into highest-level improvisation, working from a basic set of rules > that can combine in thousands of ways. Habitat, IMO, is one of the greatest > edifices ever built. And Zakir, in the realm of music and more specifically > drumming, is without parallel. These two men are the goalposts of my > software ambitions. > > So perhaps you may think that I am contradicting myself, but I don't see it > that way. Architecture locked in space and time is dead. It must be as fluid > as improvised music -- and more importantly to this discussion, so must > software. Software must be designed with the anticipation that you will have > another child next year, and be ready to bend and fold and otherwise enhance > said child's life. If we have to rewrite, the design was wrong. We should > simply accommodate, adding a new bedroom if required but not changing the > structure of the house and neither betraying its aesthetics. > > This is not simple to do. I appreciate that. I mention it as my goal not my > resume. Now and then I have come close. That is the best I can say. I am > neither Safde nor Hussain. > > Look at Habitat. Listen to Track 3 on the first Shakti CD. These are my > goalposts. > > Arthur > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Shamil > Salakhetdinov > Sent: August 18, 2005 1:15 PM > To: Access Developers discussion and problem solving > Subject: Re: [AccessD] OT(?): Big Design Up Front (BDUF) vs. XP any > comments,ideas, experience? > > <<< > I am _way_ big on BDUF! Avoid coding until the last possible moment -- > that's my motto. > >>> > Arthur, but what you described and you said "it worked brilliantly" - this > is more XP than anything else, isn't it? > > Yes, I understand you're writing specs and you do a lot of upfront design - > it may happen it's not needed to do them that much upfront? > I'm not XP advocate (yet) - I'm just learning it and yet to see really big > projects developed this way but my feelings are that it's very promising and > it should give higher percent of positive results than BDUF does give - 60% > of projects fail, many go a way out of budget etc. - these are > statistics... > > No, I do not want to make "BDUF vs. XP" yet another "religious" debate > here - I'm trying to find my best way "in between" of these two working > approaches by sharing my experience and by acquiring yours... > > Shamil > > ----- Original Message ----- > From: "Arthur Fuller" > To: "'Access Developers discussion and problem solving'" > > Sent: Thursday, August 18, 2005 8:21 PM > Subject: RE: [AccessD] OT(?): Big Design Up Front (BDUF) vs. XP any > comments,ideas, experience? > > > > About a decade ago I headed a development team for an insurance company. > > Half the job was to take some mainframe programmers and acquaint them with > > PC development tools and best practices. XP was not a big thing then, but > I > > improvised an approximation of it at that time. I started with 2 > > programmers, and had them sit with me as I coded. They were learning lots > of > > things at once -- syntax, editor keystrokes, shortcuts, etc. At first I > was > > moving so quickly that they couldn't even see what I was doing > (particularly > > in the editor itself), but a few explanations and we were over that hump. > > The hardest thing to teach them was "1 proc does exactly one thing"... No, > > upon reflection, the hardest thing to teach them was "avoid coding until > the > > last possible moment." The first two programmers then took on a programmer > > each and repeated the "semester", as it were, and then those two took on a > > programmer each. By the end of the project, we had a team of capable > > programmers, and we stuck to the rule of "two programmers per keyboard" > all > > the way through the project. It worked brilliantly -- about equivalent to > > debugging while writing the code. The second programmer might watch the > > first start a recursive routine and say, "Hey, wait, let's break it out > into > > two routines and avoid the recursion problems." They might kick it around > > for a bit before choosing one or the other approach, and also document why > > they elected that choice. > > > > I am _way_ big on BDUF! Avoid coding until the last possible moment -- > > that's my motto. I started out as a cowboy coder, but no more. I spend a > > _lot_ of time db-design tools such as DeZign, and I don't even begin > > creating sample data until I've been through about 3 revisions of the > given > > DB design. Then I write use-cases describing each function the software > must > > perform, using English not pseudo-code -- in fact, I have learned to avoid > > any specific references to tables, and instead to write such statements > as, > > "When the user selects a product and quantity she wishes to buy, place a > > 5-minute hold on that quantity. When the user's credit card payment is > > authorized, deplete inventory by the specified quantity and remove the > > hold." > > > > Once the DB design is finalized, and the purpose of each table, view, > sproc > > and UDF described, then even a relatively new hire can take the spec > > described above and implement it easily. In the example I gave, there are > > the following steps: > > > > 1. Obtain the product ID and desired quantity > > 2. Check to see said quantity exists (we'll sidestep the issue of > > back-orders for now). > > 3. Place a hold on said quantity, with a timer mechanism of some sort (SQL > > Server is great at this, much better than an Access timer). > > 4. Obtain the credit card info, fire it off and check the return status. > > 5. If the payment went through, deplete the quantity available. > > 6. Remove the hold. > > > > Each of these steps can be reduced to exactly one procedure. You (as > > manager) could even assign each step to a different programmer. So long as > > the DB design is solid, there should be no issues. > > > > I haven't read either book you mentioned, but I'll put them on my list of > > things to read. > > > > Arthur > > > > -----Original Message----- > > From: accessd-bounces at databaseadvisors.com > > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Shamil > > Salakhetdinov > > Sent: August 18, 2005 5:50 AM > > To: !DBA-MAIN > > Subject: [AccessD] OT(?): Big Design Up Front (BDUF) vs. XP any > > comments,ideas, experience? > > > > Hi All, > > > > I've got this this today from JoelOnSoftware subscription list: > > > > <<<<<< > > "As I worked through the screens that would be needed to allow > > either party to initiate the process, I realized that Aardvark > > would be just as useful, and radically simpler, if the helper > > was required to start the whole process. Making this change in > > the spec took an hour or two. If we had made this change in code, > > it would have added weeks to the schedule. I can't tell you how > > strongly I believe in Big Design Up Front, which the proponents > > of Extreme Programming consider anathema. I have consistently > > saved time and made better products by using BDUF and I'm proud > > to use it, no matter what the XP fanatics claim. They're just > > wrong on this point and I can't be any clearer than that." > > > > - From my latest article: > > > > The Project Aardvark Spec > > http://www.joelonsoftware.com/articles/AardvarkSpec.html > > >>>>> > > No comments. > > > > It happened that I'm currently reading: > > > > "Microsoft Object Thinking" > > by David West > > ISBN:0735619654 > > Microsoft Press C 2004 > > > > and > > > > "Extreme Programming Adventures in C# " > > by Ron Jeffries > > ISBN:0735619492 > > Microsoft Press C 2004 > > > > These two books are from Microsoft Press and they have a lot of useful > > information on eXterme Programming, Unit Testing and Classical(Behavioral) > > vs. currently existing in most implementations "real life" UML-based(RUP) > > OOD&P. > > > > When MS Press publishes books on such more computer-science than > > used in real life projects subjects then they are very probably > "cultivating > > the ground" for the soon to become true "dreams". (I remember I watched a > > movie "Microsoft, Year 2004"(form MS of course) somewhere in year 1995 or > > so - and as I see now their by that time science-fiction is now real-life, > > exactly in year 2004-2005. > > > > I must say I impressed with both books (and there are just a few technical > > books I liked because most of them are just "chewing" MSDN or other docs > > without almost any new ideas). > > The more I read them the more I like them and I see a lot of sense in what > > is written in them and I see a lot of my own ideas and experience are > there > > too. I'm glad my thinking is in the mainstream (of course what they say > is > > much more elaborated and thought through and based on their own rich > > experience). > > > > So my guess/thinking is that XP, Unit Testing and Behavioral (Extreme) > > OOD&P are becoming mainstream for real-life development of the projects of > > any size - in fact as authors of these books state (based on their > > experience) that the stuff they are writing about is the "only" agile way > > to solve the challenges of nowadays customers and projects requests. And > > they are not fanatics I think - they base their writing on deep analysis > of > > all the previous 50 years experience in software development and not only > in > > software - "Microsoft Object Thinking" is more philosophical than > > technical book and it has quotes from Plato (year 400 B.C.) - these quotes > > are used to explain how to "attack" complicated/vague projects' > > requirements... > > > > > > What do you think about the subject and related issues? > > > > Do we need Access/VBA Unit Testing added here - > > http://opensourcetesting.org/unit_misc.php (Open source tools for software > > testing professionals) - it can be done - does it make sense? > > > > Shamil > > > > -- > > AccessD mailing list > > AccessD at databaseadvisors.com > > http://databaseadvisors.com/mailman/listinfo/accessd > > Website: http://www.databaseadvisors.com > > > > -- > > AccessD mailing list > > AccessD at databaseadvisors.com > > http://databaseadvisors.com/mailman/listinfo/accessd > > Website: http://www.databaseadvisors.com > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com From jwcolby at colbyconsulting.com Thu Aug 18 14:23:06 2005 From: jwcolby at colbyconsulting.com (John W. Colby) Date: Thu, 18 Aug 2005 15:23:06 -0400 Subject: [AccessD] Disconnected MS Access cient applications.. In-Reply-To: <002101c5a429$00e15930$6401a8c0@fincomplex.spb.ru> Message-ID: <012501c5a42a$42856fb0$6c7aa8c0@ColbyM6805> Shamil, Do you use Ndoc? I was just about to post a question on how to figure that out and tie it in to my VB.Net projects. John W. Colby www.ColbyConsulting.com Contribute your unused CPU cycles to a good cause: http://folding.stanford.edu/ -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Shamil Salakhetdinov Sent: Thursday, August 18, 2005 2:48 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Disconnected MS Access cient applications.. > Like Nunit testing, for instance. Now THERE's a topic I could get > excited about if someone would like to rewrite it to work with VBA ... So, you wanted JUnit/NUnit ideas ported to MS Access/VBA? We're thinking in the same direction :) Do you think it could be broadly used? (VBA is getting "dead" language?) Yes, VBA/Access Unit testing can be done several ways. I'd use open source NUnit sources for starters.... Rough estimation: not that much work - one/a couple of months - anybody to sponsor? :) What about NDoc(http://ndoc.sourceforge.net/) ? Also wanted to port it to VBA? - no problem - any sponsors? :) Shamil ----- Original Message ----- From: "Charlotte Foust" To: "Access Developers discussion and problem solving" Sent: Thursday, August 18, 2005 10:23 PM Subject: RE: [AccessD] Disconnected MS Access cient applications.. > Yes, I work with ADO.Net a lot, but in VB.Net, not Access, and I > haven't even looked at C#. Most of my time is now spent in VB.Net, > but I keep thinking of how nice it would be to be able to do some of > these things with Access ... Like Nunit testing, for instance. Now > THERE's a topic I could get excited about if someone would like to > rewrite it to work with VBA ... Hint, hint, hint. ;-} > > Charlotte > > > -----Original Message----- > From: Shamil Salakhetdinov [mailto:shamil at users.mns.ru] > Sent: Thursday, August 18, 2005 11:04 AM > To: Access Developers discussion and problem solving > Subject: Re: [AccessD] Disconnected MS Access cient applications.. > > > > but have never had time to really pursue it. > Yes, the same thoughts/experience here. > Finally ADO.NET and WithEvents should make it rather easy to > implement... > > I think/plan, I will return to this subject end of the next week, > hopefully with some new results to publish as public domain/open > source... > > Meanwhile I have to finish reading two books about XP in C# and "MS > Object Thinking" and make some experiments in ADO.NET and a good > progress in a pending urgent project... > > Any ideas about directions in which to develop this small project are > very welcome! > > Thank you for your support! > > Shamil > > > ----- Original Message ----- > From: "Charlotte Foust" > To: "Access Developers discussion and problem solving" > > Sent: Thursday, August 18, 2005 9:30 PM > Subject: RE: [AccessD] Disconnected MS Access cient applications.. > > > > Not interesting, Shamil, FASCINATING! Yes, I do hope you continue > > this thread. Please! I've often thought of this kind of thing but > > have never had time to really pursue it. > > > > Charlotte Foust > > > > > > -----Original Message----- > > From: Shamil Salakhetdinov [mailto:shamil at users.mns.ru] > > Sent: Thursday, August 18, 2005 10:02 AM > > To: Access Developers discussion and problem solving > > Subject: Re: [AccessD] Disconnected MS Access cient applications.. > > > > > > Charlotte, > > > > Your means you're interested in continuation of this > > subject/thread or...? In my plans is to extend and make all the > > source > > > code available. How soon it will happen this is an open question - I > > have an urgent project here. But I do plan to continue this thread > > and > > > work if this looks interesting for you and others here. Maybe even > > make it open source project here when first useful results will be > > achieved? It would be interesting I guess to make it also XP(eXtreme > > Programming) style work with your being subject area expert - I mean > > your best knowing in what scenarios and in what business areas is > > the best to use MS Access in bound but disconnected mode with most > > of the software (MS Access FE > > databases) developed by power users but integrated by "mighty MS > > Access developers"? :) > > > > I know how to do all that, I know how to make MS Access applications > > assembly factories etc. - I have all that experience and I can share > > it if/when I will have spare time - is that interesting? > > > > Shamil > > > > > > ----- Original Message ----- > > From: "Charlotte Foust" > > To: "Access Developers discussion and problem solving" > > > > Sent: Thursday, August 18, 2005 7:35 PM > > Subject: RE: [AccessD] Disconnected MS Access cient applications.. > > > > > > > Oooohhh, I think I'm in love! > > > > > > Charlotte Foust > > > > > > > > > -----Original Message----- > > > From: Shamil Salakhetdinov [mailto:shamil at users.mns.ru] > > > Sent: Thursday, August 18, 2005 4:46 AM > > > To: Access Developers discussion and problem solving > > > Subject: Re: [AccessD] Disconnected MS Access cient applications.. > > > > > > > > > No, William, this is not replication - here is what I mean in > > > short: > > > > > > http://www.smsconsulting.spb.ru/shamil_s/articles/ddo.htm > > > > > > Shamil > > > > > > ----- Original Message ----- > > > From: "William Hindman" > > > To: "Access Developers discussion and problem solving" > > > > > > Sent: Thursday, August 18, 2005 3:47 AM > > > Subject: Re: [AccessD] Disconnected MS Access cient applications.. > > > > > > > > > > Shamil > > > > > > > > ..I must be missing something ...that sounds like replication to > > > > me. > > > > > > > > William > > > > > > > > ----- Original Message ----- > > > > From: "Shamil Salakhetdinov" > > > > To: "!DBA-MAIN" > > > > Sent: Wednesday, August 17, 2005 7:28 PM > > > > Subject: [AccessD] Disconnected MS Access cient applications.. > > > > > > > > > > > > > Hi All, > > > > > > > > > > I wanted to ask you - what about the subject? > > > > > Anybody uses/interested to use MS Access client applications > > > > > this way? > > > > > > > > > > Do I miss obvious (RTFM) stuff and such a disconnected mode is > > > > > already implemented in MS Access and broadly used by MS Access > > > > > developers? Yes, > > > I > > > > > know ADO recordsets can be used with bound MS Access forms > > > > > etc. but this looks like a rather limited feature - am I > > > > > wrong? > > > > > > > > > > What I mean is cashing data locally into mdbs, only the data > > > > > needed for the currently open form(s) etc., processing this > > > > > data > > > > > > and then updating backend database(mdb, MSDE, MS SQL, > > > > > whatever...) > > > > > > > - with all this cashing and updating made mostly automatically > > > > > by a tiny framework code, based > > > on > > > > > ADO.NET...(yes, this local caching of data is not a new > > > > > subject but nowadays it can be (re-)implement really scalable > > > > > way with a > > > > > > way less efforts > > > than > > > > > before) > > > > > > > > > > Maybe MS plans to do something like that? > > > > > > > > > > Is that a wheel reinvention or anybody here sees such > > > > > opportunity like a really useful feature in their real life > > > > > projects? > > > > > > > > > > For me it looks like a useful feature because it could help: > > > > > to get MS Access back into mainstream development area because > > > > > it will allow to easily scale applications with MS Access > > > > > front-ends... > > > > > > > > > > There are many other ideas but most of them in this "ideas > > > > > pool" > > > > > > based > > > on > > > > > the subject one - if it doesn't make sense for real-life > > > > > projects then > > > I'd > > > > > better stop working on it... > > > > > > > > > > What is your opinion about the subject? > > > > > When you expect MS will do something like that in MS Access? > > > > > > > > > > Thank you, > > > > > Shamil > > > > > > > > > > -- > > > > > AccessD mailing list > > > > > AccessD at databaseadvisors.com > > > > > http://databaseadvisors.com/mailman/listinfo/accessd > > > > > Website: http://www.databaseadvisors.com > > > > > > > > > -- > > > > AccessD mailing list > > > > AccessD at databaseadvisors.com > > > > http://databaseadvisors.com/mailman/listinfo/accessd > > > > Website: http://www.databaseadvisors.com > > > > > > -- > > > AccessD mailing list > > > AccessD at databaseadvisors.com > > > http://databaseadvisors.com/mailman/listinfo/accessd > > > Website: http://www.databaseadvisors.com > > > -- > > > AccessD mailing list > > > AccessD at databaseadvisors.com > > > http://databaseadvisors.com/mailman/listinfo/accessd > > > Website: http://www.databaseadvisors.com > > > > -- > > AccessD mailing list > > AccessD at databaseadvisors.com > > http://databaseadvisors.com/mailman/listinfo/accessd > > Website: http://www.databaseadvisors.com > > -- > > AccessD mailing list > > AccessD at databaseadvisors.com > > http://databaseadvisors.com/mailman/listinfo/accessd > > Website: http://www.databaseadvisors.com > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From shamil at users.mns.ru Thu Aug 18 14:46:42 2005 From: shamil at users.mns.ru (Shamil Salakhetdinov) Date: Thu, 18 Aug 2005 23:46:42 +0400 Subject: [AccessD] Disconnected MS Access cient applications.. References: <012501c5a42a$42856fb0$6c7aa8c0@ColbyM6805> Message-ID: <006601c5a42d$9f720320$6401a8c0@fincomplex.spb.ru> Yes, I do use it with but with C# projects. They (MS) have XML comments in VS.NET 2005's VB.NET (to be released this November?) As for VB.NET in VS.NET 2003 - I have heard there is a tool to work with XML comments in it but I don't know how good it's - this is VBCommenter - http://www.gotdotnet.com/workspaces/workspace.aspx?id=112b5449-f702-46e2-87fa-86bdf39a17dd - And it exports XML comments to be used by NDoc? I didn't check that but it's stated here: "NDoc generates class library documentation from .NET assemblies and the XML documentation files generated by the C# compiler (or with an add-on tool for VB.NET)." http://ndoc.sourceforge.net/ Sorry, I don't have any more info on NDoc - I did start to use it just last month... HTH, Shamil ----- Original Message ----- From: "John W. Colby" To: "'Access Developers discussion and problem solving'" Sent: Thursday, August 18, 2005 11:23 PM Subject: RE: [AccessD] Disconnected MS Access cient applications.. > Shamil, > > Do you use Ndoc? I was just about to post a question on how to figure that > out and tie it in to my VB.Net projects. > > John W. Colby > www.ColbyConsulting.com > > Contribute your unused CPU cycles to a good cause: > http://folding.stanford.edu/ > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Shamil > Salakhetdinov > Sent: Thursday, August 18, 2005 2:48 PM > To: Access Developers discussion and problem solving > Subject: Re: [AccessD] Disconnected MS Access cient applications.. > > > > Like Nunit testing, for instance. Now THERE's a topic I could get > > excited about if someone would like to rewrite it to work with VBA ... > So, you wanted JUnit/NUnit ideas ported to MS Access/VBA? > We're thinking in the same direction :) > Do you think it could be broadly used? (VBA is getting "dead" language?) > > Yes, VBA/Access Unit testing can be done several ways. > I'd use open source NUnit sources for starters.... > Rough estimation: not that much work - one/a couple of months - anybody to > sponsor? :) > > What about NDoc(http://ndoc.sourceforge.net/) ? > Also wanted to port it to VBA? - no problem - any sponsors? :) > > Shamil > > ----- Original Message ----- > From: "Charlotte Foust" > To: "Access Developers discussion and problem solving" > > Sent: Thursday, August 18, 2005 10:23 PM > Subject: RE: [AccessD] Disconnected MS Access cient applications.. > > > > Yes, I work with ADO.Net a lot, but in VB.Net, not Access, and I > > haven't even looked at C#. Most of my time is now spent in VB.Net, > > but I keep thinking of how nice it would be to be able to do some of > > these things with Access ... Like Nunit testing, for instance. Now > > THERE's a topic I could get excited about if someone would like to > > rewrite it to work with VBA ... Hint, hint, hint. ;-} > > > > Charlotte > > > > > > -----Original Message----- > > From: Shamil Salakhetdinov [mailto:shamil at users.mns.ru] > > Sent: Thursday, August 18, 2005 11:04 AM > > To: Access Developers discussion and problem solving > > Subject: Re: [AccessD] Disconnected MS Access cient applications.. > > > > > > > but have never had time to really pursue it. > > Yes, the same thoughts/experience here. > > Finally ADO.NET and WithEvents should make it rather easy to > > implement... > > > > I think/plan, I will return to this subject end of the next week, > > hopefully with some new results to publish as public domain/open > > source... > > > > Meanwhile I have to finish reading two books about XP in C# and "MS > > Object Thinking" and make some experiments in ADO.NET and a good > > progress in a pending urgent project... > > > > Any ideas about directions in which to develop this small project are > > very welcome! > > > > Thank you for your support! > > > > Shamil > > > > > > ----- Original Message ----- > > From: "Charlotte Foust" > > To: "Access Developers discussion and problem solving" > > > > Sent: Thursday, August 18, 2005 9:30 PM > > Subject: RE: [AccessD] Disconnected MS Access cient applications.. > > > > > > > Not interesting, Shamil, FASCINATING! Yes, I do hope you continue > > > this thread. Please! I've often thought of this kind of thing but > > > have never had time to really pursue it. > > > > > > Charlotte Foust > > > > > > > > > -----Original Message----- > > > From: Shamil Salakhetdinov [mailto:shamil at users.mns.ru] > > > Sent: Thursday, August 18, 2005 10:02 AM > > > To: Access Developers discussion and problem solving > > > Subject: Re: [AccessD] Disconnected MS Access cient applications.. > > > > > > > > > Charlotte, > > > > > > Your means you're interested in continuation of this > > > subject/thread or...? In my plans is to extend and make all the > > > source > > > > > code available. How soon it will happen this is an open question - I > > > have an urgent project here. But I do plan to continue this thread > > > and > > > > > work if this looks interesting for you and others here. Maybe even > > > make it open source project here when first useful results will be > > > achieved? It would be interesting I guess to make it also XP(eXtreme > > > Programming) style work with your being subject area expert - I mean > > > your best knowing in what scenarios and in what business areas is > > > the best to use MS Access in bound but disconnected mode with most > > > of the software (MS Access FE > > > databases) developed by power users but integrated by "mighty MS > > > Access developers"? :) > > > > > > I know how to do all that, I know how to make MS Access applications > > > assembly factories etc. - I have all that experience and I can share > > > it if/when I will have spare time - is that interesting? > > > > > > Shamil > > > > > > > > > ----- Original Message ----- > > > From: "Charlotte Foust" > > > To: "Access Developers discussion and problem solving" > > > > > > Sent: Thursday, August 18, 2005 7:35 PM > > > Subject: RE: [AccessD] Disconnected MS Access cient applications.. > > > > > > > > > > Oooohhh, I think I'm in love! > > > > > > > > Charlotte Foust > > > > > > > > > > > > -----Original Message----- > > > > From: Shamil Salakhetdinov [mailto:shamil at users.mns.ru] > > > > Sent: Thursday, August 18, 2005 4:46 AM > > > > To: Access Developers discussion and problem solving > > > > Subject: Re: [AccessD] Disconnected MS Access cient applications.. > > > > > > > > > > > > No, William, this is not replication - here is what I mean in > > > > short: > > > > > > > > http://www.smsconsulting.spb.ru/shamil_s/articles/ddo.htm > > > > > > > > Shamil > > > > > > > > ----- Original Message ----- > > > > From: "William Hindman" > > > > To: "Access Developers discussion and problem solving" > > > > > > > > Sent: Thursday, August 18, 2005 3:47 AM > > > > Subject: Re: [AccessD] Disconnected MS Access cient applications.. > > > > > > > > > > > > > Shamil > > > > > > > > > > ..I must be missing something ...that sounds like replication to > > > > > me. > > > > > > > > > > William > > > > > > > > > > ----- Original Message ----- > > > > > From: "Shamil Salakhetdinov" > > > > > To: "!DBA-MAIN" > > > > > Sent: Wednesday, August 17, 2005 7:28 PM > > > > > Subject: [AccessD] Disconnected MS Access cient applications.. > > > > > > > > > > > > > > > > Hi All, > > > > > > > > > > > > I wanted to ask you - what about the subject? > > > > > > Anybody uses/interested to use MS Access client applications > > > > > > this way? > > > > > > > > > > > > Do I miss obvious (RTFM) stuff and such a disconnected mode is > > > > > > already implemented in MS Access and broadly used by MS Access > > > > > > developers? Yes, > > > > I > > > > > > know ADO recordsets can be used with bound MS Access forms > > > > > > etc. but this looks like a rather limited feature - am I > > > > > > wrong? > > > > > > > > > > > > What I mean is cashing data locally into mdbs, only the data > > > > > > needed for the currently open form(s) etc., processing this > > > > > > data > > > > > > > > and then updating backend database(mdb, MSDE, MS SQL, > > > > > > whatever...) > > > > > > > > > - with all this cashing and updating made mostly automatically > > > > > > by a tiny framework code, based > > > > on > > > > > > ADO.NET...(yes, this local caching of data is not a new > > > > > > subject but nowadays it can be (re-)implement really scalable > > > > > > way with a > > > > > > > > way less efforts > > > > than > > > > > > before) > > > > > > > > > > > > Maybe MS plans to do something like that? > > > > > > > > > > > > Is that a wheel reinvention or anybody here sees such > > > > > > opportunity like a really useful feature in their real life > > > > > > projects? > > > > > > > > > > > > For me it looks like a useful feature because it could help: > > > > > > to get MS Access back into mainstream development area because > > > > > > it will allow to easily scale applications with MS Access > > > > > > front-ends... > > > > > > > > > > > > There are many other ideas but most of them in this "ideas > > > > > > pool" > > > > > > > > based > > > > on > > > > > > the subject one - if it doesn't make sense for real-life > > > > > > projects then > > > > I'd > > > > > > better stop working on it... > > > > > > > > > > > > What is your opinion about the subject? > > > > > > When you expect MS will do something like that in MS Access? > > > > > > > > > > > > Thank you, > > > > > > Shamil > > > > > > > > > > > > -- > > > > > > AccessD mailing list > > > > > > AccessD at databaseadvisors.com > > > > > > http://databaseadvisors.com/mailman/listinfo/accessd > > > > > > Website: http://www.databaseadvisors.com > > > > > > > > > > > -- > > > > > AccessD mailing list > > > > > AccessD at databaseadvisors.com > > > > > http://databaseadvisors.com/mailman/listinfo/accessd > > > > > Website: http://www.databaseadvisors.com > > > > > > > > -- > > > > AccessD mailing list > > > > AccessD at databaseadvisors.com > > > > http://databaseadvisors.com/mailman/listinfo/accessd > > > > Website: http://www.databaseadvisors.com > > > > -- > > > > AccessD mailing list > > > > AccessD at databaseadvisors.com > > > > http://databaseadvisors.com/mailman/listinfo/accessd > > > > Website: http://www.databaseadvisors.com > > > > > > -- > > > AccessD mailing list > > > AccessD at databaseadvisors.com > > > http://databaseadvisors.com/mailman/listinfo/accessd > > > Website: http://www.databaseadvisors.com > > > -- > > > AccessD mailing list > > > AccessD at databaseadvisors.com > > > http://databaseadvisors.com/mailman/listinfo/accessd > > > Website: http://www.databaseadvisors.com > > > > -- > > AccessD mailing list > > AccessD at databaseadvisors.com > > http://databaseadvisors.com/mailman/listinfo/accessd > > Website: http://www.databaseadvisors.com > > -- > > AccessD mailing list > > AccessD at databaseadvisors.com > > http://databaseadvisors.com/mailman/listinfo/accessd > > Website: http://www.databaseadvisors.com > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > 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 Aug 18 14:51:44 2005 From: cfoust at infostatsystems.com (Charlotte Foust) Date: Thu, 18 Aug 2005 12:51:44 -0700 Subject: [AccessD] Disconnected MS Access cient applications.. Message-ID: I don't think it would be "broadly" used because it isn't used enough now even in languages that support it, but developers who become familiar with it, would evangalize like crazy! ;-} I LOVE being able to build methods and properties in the abstract and test them extensively before I ever create a UI object that uses them. It is really an extension of spec writing, since you can easily model a spec and test to see if the results you get are the ones you expect. I've looked at the Ndoc stuff, but I am NOT a C (any flavor) programmer and don't want to become one. Charlotte -----Original Message----- From: Shamil Salakhetdinov [mailto:shamil at users.mns.ru] Sent: Thursday, August 18, 2005 11:48 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Disconnected MS Access cient applications.. > Like Nunit testing, for instance. Now THERE's a topic I could get > excited about if someone would like to rewrite it to work with VBA ... So, you wanted JUnit/NUnit ideas ported to MS Access/VBA? We're thinking in the same direction :) Do you think it could be broadly used? (VBA is getting "dead" language?) Yes, VBA/Access Unit testing can be done several ways. I'd use open source NUnit sources for starters.... Rough estimation: not that much work - one/a couple of months - anybody to sponsor? :) What about NDoc(http://ndoc.sourceforge.net/) ? Also wanted to port it to VBA? - no problem - any sponsors? :) Shamil ----- Original Message ----- From: "Charlotte Foust" To: "Access Developers discussion and problem solving" Sent: Thursday, August 18, 2005 10:23 PM Subject: RE: [AccessD] Disconnected MS Access cient applications.. > Yes, I work with ADO.Net a lot, but in VB.Net, not Access, and I > haven't even looked at C#. Most of my time is now spent in VB.Net, > but I keep thinking of how nice it would be to be able to do some of > these things with Access ... Like Nunit testing, for instance. Now > THERE's a topic I could get excited about if someone would like to > rewrite it to work with VBA ... Hint, hint, hint. ;-} > > Charlotte > > > -----Original Message----- > From: Shamil Salakhetdinov [mailto:shamil at users.mns.ru] > Sent: Thursday, August 18, 2005 11:04 AM > To: Access Developers discussion and problem solving > Subject: Re: [AccessD] Disconnected MS Access cient applications.. > > > > but have never had time to really pursue it. > Yes, the same thoughts/experience here. > Finally ADO.NET and WithEvents should make it rather easy to > implement... > > I think/plan, I will return to this subject end of the next week, > hopefully with some new results to publish as public domain/open > source... > > Meanwhile I have to finish reading two books about XP in C# and "MS > Object Thinking" and make some experiments in ADO.NET and a good > progress in a pending urgent project... > > Any ideas about directions in which to develop this small project are > very welcome! > > Thank you for your support! > > Shamil > > > ----- Original Message ----- > From: "Charlotte Foust" > To: "Access Developers discussion and problem solving" > > Sent: Thursday, August 18, 2005 9:30 PM > Subject: RE: [AccessD] Disconnected MS Access cient applications.. > > > > Not interesting, Shamil, FASCINATING! Yes, I do hope you continue > > this thread. Please! I've often thought of this kind of thing but > > have never had time to really pursue it. > > > > Charlotte Foust > > > > > > -----Original Message----- > > From: Shamil Salakhetdinov [mailto:shamil at users.mns.ru] > > Sent: Thursday, August 18, 2005 10:02 AM > > To: Access Developers discussion and problem solving > > Subject: Re: [AccessD] Disconnected MS Access cient applications.. > > > > > > Charlotte, > > > > Your means you're interested in continuation of this > > subject/thread or...? In my plans is to extend and make all the > > source > > > code available. How soon it will happen this is an open question - I > > have an urgent project here. But I do plan to continue this thread > > and > > > work if this looks interesting for you and others here. Maybe even > > make it open source project here when first useful results will be > > achieved? It would be interesting I guess to make it also XP(eXtreme > > Programming) style work with your being subject area expert - I mean > > your best knowing in what scenarios and in what business areas is > > the best to use MS Access in bound but disconnected mode with most > > of the software (MS Access FE > > databases) developed by power users but integrated by "mighty MS > > Access developers"? :) > > > > I know how to do all that, I know how to make MS Access applications > > assembly factories etc. - I have all that experience and I can share > > it if/when I will have spare time - is that interesting? > > > > Shamil > > > > > > ----- Original Message ----- > > From: "Charlotte Foust" > > To: "Access Developers discussion and problem solving" > > > > Sent: Thursday, August 18, 2005 7:35 PM > > Subject: RE: [AccessD] Disconnected MS Access cient applications.. > > > > > > > Oooohhh, I think I'm in love! > > > > > > Charlotte Foust > > > > > > > > > -----Original Message----- > > > From: Shamil Salakhetdinov [mailto:shamil at users.mns.ru] > > > Sent: Thursday, August 18, 2005 4:46 AM > > > To: Access Developers discussion and problem solving > > > Subject: Re: [AccessD] Disconnected MS Access cient applications.. > > > > > > > > > No, William, this is not replication - here is what I mean in > > > short: > > > > > > http://www.smsconsulting.spb.ru/shamil_s/articles/ddo.htm > > > > > > Shamil > > > > > > ----- Original Message ----- > > > From: "William Hindman" > > > To: "Access Developers discussion and problem solving" > > > > > > Sent: Thursday, August 18, 2005 3:47 AM > > > Subject: Re: [AccessD] Disconnected MS Access cient applications.. > > > > > > > > > > Shamil > > > > > > > > ..I must be missing something ...that sounds like replication to > > > > me. > > > > > > > > William > > > > > > > > ----- Original Message ----- > > > > From: "Shamil Salakhetdinov" > > > > To: "!DBA-MAIN" > > > > Sent: Wednesday, August 17, 2005 7:28 PM > > > > Subject: [AccessD] Disconnected MS Access cient applications.. > > > > > > > > > > > > > Hi All, > > > > > > > > > > I wanted to ask you - what about the subject? > > > > > Anybody uses/interested to use MS Access client applications > > > > > this way? > > > > > > > > > > Do I miss obvious (RTFM) stuff and such a disconnected mode is > > > > > already implemented in MS Access and broadly used by MS Access > > > > > developers? Yes, > > > I > > > > > know ADO recordsets can be used with bound MS Access forms > > > > > etc. but this looks like a rather limited feature - am I > > > > > wrong? > > > > > > > > > > What I mean is cashing data locally into mdbs, only the data > > > > > needed for the currently open form(s) etc., processing this > > > > > data > > > > > > and then updating backend database(mdb, MSDE, MS SQL, > > > > > whatever...) > > > > > > > - with all this cashing and updating made mostly automatically > > > > > by a tiny framework code, based > > > on > > > > > ADO.NET...(yes, this local caching of data is not a new > > > > > subject but nowadays it can be (re-)implement really scalable > > > > > way with a > > > > > > way less efforts > > > than > > > > > before) > > > > > > > > > > Maybe MS plans to do something like that? > > > > > > > > > > Is that a wheel reinvention or anybody here sees such > > > > > opportunity like a really useful feature in their real life > > > > > projects? > > > > > > > > > > For me it looks like a useful feature because it could help: > > > > > to get MS Access back into mainstream development area because > > > > > it will allow to easily scale applications with MS Access > > > > > front-ends... > > > > > > > > > > There are many other ideas but most of them in this "ideas > > > > > pool" > > > > > > based > > > on > > > > > the subject one - if it doesn't make sense for real-life > > > > > projects then > > > I'd > > > > > better stop working on it... > > > > > > > > > > What is your opinion about the subject? > > > > > When you expect MS will do something like that in MS Access? > > > > > > > > > > Thank you, > > > > > Shamil > > > > > > > > > > -- > > > > > AccessD mailing list > > > > > AccessD at databaseadvisors.com > > > > > http://databaseadvisors.com/mailman/listinfo/accessd > > > > > Website: http://www.databaseadvisors.com > > > > > > > > > -- > > > > AccessD mailing list > > > > AccessD at databaseadvisors.com > > > > http://databaseadvisors.com/mailman/listinfo/accessd > > > > Website: http://www.databaseadvisors.com > > > > > > -- > > > AccessD mailing list > > > AccessD at databaseadvisors.com > > > http://databaseadvisors.com/mailman/listinfo/accessd > > > Website: http://www.databaseadvisors.com > > > -- > > > AccessD mailing list > > > AccessD at databaseadvisors.com > > > http://databaseadvisors.com/mailman/listinfo/accessd > > > Website: http://www.databaseadvisors.com > > > > -- > > AccessD mailing list > > AccessD at databaseadvisors.com > > http://databaseadvisors.com/mailman/listinfo/accessd > > Website: http://www.databaseadvisors.com > > -- > > AccessD mailing list > > AccessD at databaseadvisors.com > > http://databaseadvisors.com/mailman/listinfo/accessd > > Website: http://www.databaseadvisors.com > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From jwcolby at colbyconsulting.com Thu Aug 18 15:01:57 2005 From: jwcolby at colbyconsulting.com (John W. Colby) Date: Thu, 18 Aug 2005 16:01:57 -0400 Subject: [AccessD] Disconnected MS Access cient applications.. In-Reply-To: <006601c5a42d$9f720320$6401a8c0@fincomplex.spb.ru> Message-ID: <012601c5a42f$b4751f80$6c7aa8c0@ColbyM6805> I have VS.Net 2002 and it isn't clear that it works with that. I also have VB.Net Express (2005). In either case all I know at this point is that if you comment your code in some unknown format a tool will allow you to export the comments to a help file. Sigh. So much to know, so few years remaining. John W. Colby www.ColbyConsulting.com Contribute your unused CPU cycles to a good cause: http://folding.stanford.edu/ -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Shamil Salakhetdinov Sent: Thursday, August 18, 2005 3:47 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Disconnected MS Access cient applications.. Yes, I do use it with but with C# projects. They (MS) have XML comments in VS.NET 2005's VB.NET (to be released this November?) As for VB.NET in VS.NET 2003 - I have heard there is a tool to work with XML comments in it but I don't know how good it's - this is VBCommenter - http://www.gotdotnet.com/workspaces/workspace.aspx?id=112b5449-f702-46e2-87f a-86bdf39a17dd - And it exports XML comments to be used by NDoc? I didn't check that but it's stated here: "NDoc generates class library documentation from .NET assemblies and the XML documentation files generated by the C# compiler (or with an add-on tool for VB.NET)." http://ndoc.sourceforge.net/ Sorry, I don't have any more info on NDoc - I did start to use it just last month... HTH, Shamil ----- Original Message ----- From: "John W. Colby" To: "'Access Developers discussion and problem solving'" Sent: Thursday, August 18, 2005 11:23 PM Subject: RE: [AccessD] Disconnected MS Access cient applications.. > Shamil, > > Do you use Ndoc? I was just about to post a question on how to figure that > out and tie it in to my VB.Net projects. > > John W. Colby > www.ColbyConsulting.com > > Contribute your unused CPU cycles to a good cause: > http://folding.stanford.edu/ > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Shamil > Salakhetdinov > Sent: Thursday, August 18, 2005 2:48 PM > To: Access Developers discussion and problem solving > Subject: Re: [AccessD] Disconnected MS Access cient applications.. > > > > Like Nunit testing, for instance. Now THERE's a topic I could get > > excited about if someone would like to rewrite it to work with VBA > > ... > So, you wanted JUnit/NUnit ideas ported to MS Access/VBA? We're > thinking in the same direction :) Do you think it could be broadly > used? (VBA is getting "dead" language?) > > Yes, VBA/Access Unit testing can be done several ways. > I'd use open source NUnit sources for starters.... > Rough estimation: not that much work - one/a couple of months - > anybody to > sponsor? :) > > What about NDoc(http://ndoc.sourceforge.net/) ? > Also wanted to port it to VBA? - no problem - any sponsors? :) > > Shamil > > ----- Original Message ----- > From: "Charlotte Foust" > To: "Access Developers discussion and problem solving" > > Sent: Thursday, August 18, 2005 10:23 PM > Subject: RE: [AccessD] Disconnected MS Access cient applications.. > > > > Yes, I work with ADO.Net a lot, but in VB.Net, not Access, and I > > haven't even looked at C#. Most of my time is now spent in VB.Net, > > but I keep thinking of how nice it would be to be able to do some of > > these things with Access ... Like Nunit testing, for instance. Now > > THERE's a topic I could get excited about if someone would like to > > rewrite it to work with VBA ... Hint, hint, hint. ;-} > > > > Charlotte > > > > > > -----Original Message----- > > From: Shamil Salakhetdinov [mailto:shamil at users.mns.ru] > > Sent: Thursday, August 18, 2005 11:04 AM > > To: Access Developers discussion and problem solving > > Subject: Re: [AccessD] Disconnected MS Access cient applications.. > > > > > > > but have never had time to really pursue it. > > Yes, the same thoughts/experience here. > > Finally ADO.NET and WithEvents should make it rather easy to > > implement... > > > > I think/plan, I will return to this subject end of the next week, > > hopefully with some new results to publish as public domain/open > > source... > > > > Meanwhile I have to finish reading two books about XP in C# and "MS > > Object Thinking" and make some experiments in ADO.NET and a good > > progress in a pending urgent project... > > > > Any ideas about directions in which to develop this small project > > are very welcome! > > > > Thank you for your support! > > > > Shamil > > > > > > ----- Original Message ----- > > From: "Charlotte Foust" > > To: "Access Developers discussion and problem solving" > > > > Sent: Thursday, August 18, 2005 9:30 PM > > Subject: RE: [AccessD] Disconnected MS Access cient applications.. > > > > > > > Not interesting, Shamil, FASCINATING! Yes, I do hope you continue > > > this thread. Please! I've often thought of this kind of thing > > > but have never had time to really pursue it. > > > > > > Charlotte Foust > > > > > > > > > -----Original Message----- > > > From: Shamil Salakhetdinov [mailto:shamil at users.mns.ru] > > > Sent: Thursday, August 18, 2005 10:02 AM > > > To: Access Developers discussion and problem solving > > > Subject: Re: [AccessD] Disconnected MS Access cient applications.. > > > > > > > > > Charlotte, > > > > > > Your means you're interested in continuation of this > > > subject/thread or...? In my plans is to extend and make all the > > > source > > > > > code available. How soon it will happen this is an open question - > > > I have an urgent project here. But I do plan to continue this > > > thread and > > > > > work if this looks interesting for you and others here. Maybe even > > > make it open source project here when first useful results will be > > > achieved? It would be interesting I guess to make it also > > > XP(eXtreme > > > Programming) style work with your being subject area expert - I mean > > > your best knowing in what scenarios and in what business areas is > > > the best to use MS Access in bound but disconnected mode with most > > > of the software (MS Access FE > > > databases) developed by power users but integrated by "mighty MS > > > Access developers"? :) > > > > > > I know how to do all that, I know how to make MS Access > > > applications assembly factories etc. - I have all that experience > > > and I can share it if/when I will have spare time - is that > > > interesting? > > > > > > Shamil > > > > > > > > > ----- Original Message ----- > > > From: "Charlotte Foust" > > > To: "Access Developers discussion and problem solving" > > > > > > Sent: Thursday, August 18, 2005 7:35 PM > > > Subject: RE: [AccessD] Disconnected MS Access cient applications.. > > > > > > > > > > Oooohhh, I think I'm in love! > > > > > > > > Charlotte Foust > > > > > > > > > > > > -----Original Message----- > > > > From: Shamil Salakhetdinov [mailto:shamil at users.mns.ru] > > > > Sent: Thursday, August 18, 2005 4:46 AM > > > > To: Access Developers discussion and problem solving > > > > Subject: Re: [AccessD] Disconnected MS Access cient > > > > applications.. > > > > > > > > > > > > No, William, this is not replication - here is what I mean in > > > > short: > > > > > > > > http://www.smsconsulting.spb.ru/shamil_s/articles/ddo.htm > > > > > > > > Shamil > > > > > > > > ----- Original Message ----- > > > > From: "William Hindman" > > > > To: "Access Developers discussion and problem solving" > > > > > > > > Sent: Thursday, August 18, 2005 3:47 AM > > > > Subject: Re: [AccessD] Disconnected MS Access cient > > > > applications.. > > > > > > > > > > > > > Shamil > > > > > > > > > > ..I must be missing something ...that sounds like replication > > > > > to me. > > > > > > > > > > William > > > > > > > > > > ----- Original Message ----- > > > > > From: "Shamil Salakhetdinov" > > > > > To: "!DBA-MAIN" > > > > > Sent: Wednesday, August 17, 2005 7:28 PM > > > > > Subject: [AccessD] Disconnected MS Access cient applications.. > > > > > > > > > > > > > > > > Hi All, > > > > > > > > > > > > I wanted to ask you - what about the subject? Anybody > > > > > > uses/interested to use MS Access client applications this > > > > > > way? > > > > > > > > > > > > Do I miss obvious (RTFM) stuff and such a disconnected mode > > > > > > is already implemented in MS Access and broadly used by MS > > > > > > Access developers? Yes, > > > > I > > > > > > know ADO recordsets can be used with bound MS Access forms > > > > > > etc. but this looks like a rather limited feature - am I > > > > > > wrong? > > > > > > > > > > > > What I mean is cashing data locally into mdbs, only the data > > > > > > needed for the currently open form(s) etc., processing this > > > > > > data > > > > > > > > and then updating backend database(mdb, MSDE, MS SQL, > > > > > > whatever...) > > > > > > > > > - with all this cashing and updating made mostly > > > > > > automatically by a tiny framework code, based > > > > on > > > > > > ADO.NET...(yes, this local caching of data is not a new > > > > > > subject but nowadays it can be (re-)implement really > > > > > > scalable way with a > > > > > > > > way less efforts > > > > than > > > > > > before) > > > > > > > > > > > > Maybe MS plans to do something like that? > > > > > > > > > > > > Is that a wheel reinvention or anybody here sees such > > > > > > opportunity like a really useful feature in their real life > > > > > > projects? > > > > > > > > > > > > For me it looks like a useful feature because it could help: > > > > > > to get MS Access back into mainstream development area > > > > > > because it will allow to easily scale applications with MS > > > > > > Access front-ends... > > > > > > > > > > > > There are many other ideas but most of them in this "ideas > > > > > > pool" > > > > > > > > based > > > > on > > > > > > the subject one - if it doesn't make sense for real-life > > > > > > projects then > > > > I'd > > > > > > better stop working on it... > > > > > > > > > > > > What is your opinion about the subject? > > > > > > When you expect MS will do something like that in MS Access? > > > > > > > > > > > > Thank you, > > > > > > Shamil > > > > > > > > > > > > -- > > > > > > AccessD mailing list > > > > > > AccessD at databaseadvisors.com > > > > > > http://databaseadvisors.com/mailman/listinfo/accessd > > > > > > Website: http://www.databaseadvisors.com > > > > > > > > > > > -- > > > > > AccessD mailing list > > > > > AccessD at databaseadvisors.com > > > > > http://databaseadvisors.com/mailman/listinfo/accessd > > > > > Website: http://www.databaseadvisors.com > > > > > > > > -- > > > > AccessD mailing list > > > > AccessD at databaseadvisors.com > > > > http://databaseadvisors.com/mailman/listinfo/accessd > > > > Website: http://www.databaseadvisors.com > > > > -- > > > > AccessD mailing list > > > > AccessD at databaseadvisors.com > > > > http://databaseadvisors.com/mailman/listinfo/accessd > > > > Website: http://www.databaseadvisors.com > > > > > > -- > > > AccessD mailing list > > > AccessD at databaseadvisors.com > > > http://databaseadvisors.com/mailman/listinfo/accessd > > > Website: http://www.databaseadvisors.com > > > -- > > > AccessD mailing list > > > AccessD at databaseadvisors.com > > > http://databaseadvisors.com/mailman/listinfo/accessd > > > Website: http://www.databaseadvisors.com > > > > -- > > AccessD mailing list > > AccessD at databaseadvisors.com > > http://databaseadvisors.com/mailman/listinfo/accessd > > Website: http://www.databaseadvisors.com > > -- > > AccessD mailing list > > AccessD at databaseadvisors.com > > http://databaseadvisors.com/mailman/listinfo/accessd > > Website: http://www.databaseadvisors.com > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > > > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From shamil at users.mns.ru Thu Aug 18 15:07:28 2005 From: shamil at users.mns.ru (Shamil Salakhetdinov) Date: Fri, 19 Aug 2005 00:07:28 +0400 Subject: [AccessD] OT: JFYI: XP and Wiki Founder Ward Cunningham is currently working at MS... Message-ID: <008401c5a430$810ff7e0$6401a8c0@fincomplex.spb.ru> http://www.c2.com/cgi/wiki?TipsForWardAtMicrosoft Quote from "Microsoft Object Thinking" by David West: <<< Ward Cunningham and Kent Beck Ward Cunningham is an almost mythical figure in the world of objects and extreme programming. Excepting a few papers, usually coauthored by Kent Beck, he has published little. His influence, however, has been monumental. He is considered to be the inspiration for most of the extreme programming practices, is a legendary coder and designer, and is a great mentor. Mathematicians use an "Erdos Number" as an indicator of their association with Paul Erdos, one of the most prolific and brilliant mathematicians of the past century. Erdos himself had the number 0, those who coauthored a paper with him had the number 1, coauthoring with a coauthor yielded 2, and so on. Extreme programmers are given a "Ward Number" based on pair programming with him (1), pair programming with someone who paired with him (2), and so forth. Kent Beck is to Cunningham as Plato was to Socrates-the extender of ideas, contributor in his own right, and, in an interesting parallel, the one who published. The preeminent figure in the world of extreme programming today, Beck was equally active in object programming. Although he did not publish a book on behavioral object modeling, he did publish works on programming style and idiom (for Smalltalk). Kent Beck and Ward Cunningham were a team when objects first became a hot technology, collaborating both as developers and as creative thinkers about object technology. Both will become quite familiar to the reader, as their ideas are central to many of the themes in this book. >>> Shamil From martyconnelly at shaw.ca Thu Aug 18 14:46:29 2005 From: martyconnelly at shaw.ca (MartyConnelly) Date: Thu, 18 Aug 2005 12:46:29 -0700 Subject: [AccessD] Storing Files in Directories References: <200508181801.j7II1oR20260@databaseadvisors.com> Message-ID: <4304E595.6020806@shaw.ca> I have done something similar for records management but I create the directory name structures from a table easier to maintain.. One funny is trying to delete the upper root directory if created by the program it may require a reboot to lose NFTS file handle of the root.. You may need this routine to check for illegal DOS filename characters And perhaps change spaces to underscores. If your directory filename string greater than 256, there is trouble burning to Joliet CD-ROM format. Function NameFix(NameIn As String) As String Const ILLEGAL_CHARACTERS = "/\:*?<>|""" ' = /\:*?<>|" Dim i As Integer Dim iTmp As Integer 'replaces illegal DOS filename character with an underscore NameFix = NameIn For i = 1 To Len(ILLEGAL_CHARACTERS) iTmp = InStr(1, NameFix, Mid$(ILLEGAL_CHARACTERS, i, 1)) If iTmp > 0 Then Mid$(NameFix, iTmp, 1) = "_" End If Next 'non ascii printing characters ' Just realized this code will also replace spaces with 'underscores. 'to accept spaces, change '> If iTmp < 33 Or iTmp > 126 Then to '> If iTmp < 32 Or iTmp > 126 Then For i = 1 To Len(NameFix) iTmp = Asc(Mid$(NameFix, i, 1)) If iTmp < 32 Or iTmp > 126 Then Mid$(NameFix, i, 1) = "_" End If Next End Function '============ This routine creates the directories and upper path structure if non-existant '************************************** ' Name: CreateDirectoryStruct ' Description:Creates all non-existing folders in a path. ' Local or network UNC path. ' ' Inputs:CreateThisPath as string ' 'CreateDirectoryStruct("c:\temp\c\b\a") Sub CreateDirectoryStruct(CreateThisPath As String) 'do initial check Dim ret As Boolean, temp$, ComputerName As String, IntoItCount As Integer, X%, _ WakeString As String Dim MadeIt As Integer If Dir$(CreateThisPath, vbDirectory) <> "" Then Exit Sub 'is this a network path? If Left$(CreateThisPath, 2) = "\\" Then ' this is a UNC NetworkPath 'must extract the machine name first, th ' en get to the first folder IntoItCount = 3 ComputerName = Mid$(CreateThisPath, IntoItCount, InStr(IntoItCount, _ CreateThisPath, "\") - IntoItCount) IntoItCount = IntoItCount + Len(ComputerName) + 1 IntoItCount = InStr(IntoItCount, CreateThisPath, "\") + 1 'temp = Mid$(CreateThisPath, IntoItCount ' , x) Else ' this is a regular path IntoItCount = 4 End If WakeString = Left$(CreateThisPath, IntoItCount - 1) 'start a loop through the CreateThisPath ' string Do X = InStr(IntoItCount, CreateThisPath, "\") If X <> 0 Then X = X - IntoItCount temp = Mid$(CreateThisPath, IntoItCount, X) Else temp = Mid$(CreateThisPath, IntoItCount) End If IntoItCount = IntoItCount + Len(temp) + 1 temp = WakeString + temp 'Create a directory if it doesn't alread ' y exist ret = (Dir$(temp, vbDirectory) <> "") If Not ret Then 'ret& = CreateDirectory(temp, Security) MkDir temp End If IntoItCount = IntoItCount 'track where we are in the String WakeString = Left$(CreateThisPath, IntoItCount - 1) Loop While WakeString <> CreateThisPath End Sub Arthur Fuller wrote: >The current client has distinct preferences about how files ought to be >stored. > >A client has 1:M projects. >A project has 1:M assessments. >An assessment concerns exactly one workstation. >The resulting document must come out reflecting all workstations involved in >said project for said client (this part is trivial). > >The client app's native directory is c:\MyClient. The subdir for said >reports is c:\MyClient\reports. > >The client wants me to create a dir for each project and then plant the >related documents in said project-subdir. > >This says to me that the Client table contains a directory name, and that >the ClientProjects table also contains a directory name, and that given >project 12356 I concatenate the above two values, plus the unique >identifier, and create a file called "c:\MyClient\HerClient\Reports\" & >Unique_ID & ".doc" (the resultant docs are all Word files). > >1. I have so far created the said doc from a template: no problems there. >But I would like also to supply the concatenated filename so that a simple >click on the Save button causes the file to be saved. (I should mention that >the docs spit out by the Access app _always_ require editing; else we would >simply dump an Access report.) > >Given that the client is CharlotteFoust and that her docs get sent to >c:\MyClient\HerClient\CharlotteFoust, then I want Word to realize that the >created document should be called "c:\MyClient\HerClient\CharlotteFoust\" & >Unique_ID & ".doc" -- and placed in subdir (create if required) Project >20050818. > >I don't want the user to have to name the file. I want that to have already >been done, so she can click Save after her edits and that's that. > >Had I been granted the discretion to design this particular model, I would >not have chosen this path. That however is not the issue. The issue is that >the client and her employees want to do it this way. > >Advice, guidance, assaults on the model, all gratefully accepted. > > > > -- Marty Connelly Victoria, B.C. Canada From shamil at users.mns.ru Thu Aug 18 15:30:09 2005 From: shamil at users.mns.ru (Shamil Salakhetdinov) Date: Fri, 19 Aug 2005 00:30:09 +0400 Subject: [AccessD] Disconnected MS Access cient applications.. References: Message-ID: <009101c5a433$a26b3730$6401a8c0@fincomplex.spb.ru> <<< would evangalize like crazy! ;-} >>> Exciting perspective! Anybody has money to pay for this work to accept evangelizing crowds together? :) (I'm sorry, I have no free resources and spare time right now but I'd make it implemented quickly for moderate payment after I finish the current project - somewhere middle of the next month I expect.) <<< I LOVE being able to > build methods and properties in the abstract and test them extensively > before I ever create a UI object that uses them >>> Yes, this is one of XP's core ideas/methods - unit testing - and it gives a lot of confidence that developed software will be stable.... <<< It is really an extension of spec writing, since you can easily model a spec >>> Yes, and acceptance tests are getting created while you're coding.... And regression testing when new features are implemented becomes just a childish game opposed to traditional development/testing when it usually takes a lot of time... <<< > Ndoc stuff, but I am NOT a C (any flavor) programmer and don't want to > become one. >>> I don't see big difference between C# and VB.NET - they both like VB6/VBA for me:) Even easier to use them in fact - no need usually to care about grabage collection, which have to be manually done in VB6/VBA advanced programming... Just give it a try to program on C# - I guess you will need just a few days to start programming on it ... As for XML comments - they say VBCommenter can help here - http://www.gotdotnet.com/workspaces/workspace.aspx?id=112b5449-f702-46e2-87fa-86bdf39a17dd (I didn't try it). And the docs NDoc (and the like) create are very good. I think it would be very useful addition to your Unit Testing/XP pratices - to create impressive and useful program documentation while you are coding.... Shamil ----- Original Message ----- From: "Charlotte Foust" To: "Access Developers discussion and problem solving" Sent: Thursday, August 18, 2005 11:51 PM Subject: RE: [AccessD] Disconnected MS Access cient applications.. > I don't think it would be "broadly" used because it isn't used enough > now even in languages that support it, but developers who become > familiar with it, would evangalize like crazy! ;-} I LOVE being able to > build methods and properties in the abstract and test them extensively > before I ever create a UI object that uses them. It is really an > extension of spec writing, since you can easily model a spec and test to > see if the results you get are the ones you expect. I've looked at the > Ndoc stuff, but I am NOT a C (any flavor) programmer and don't want to > become one. > > Charlotte > > > -----Original Message----- > From: Shamil Salakhetdinov [mailto:shamil at users.mns.ru] > Sent: Thursday, August 18, 2005 11:48 AM > To: Access Developers discussion and problem solving > Subject: Re: [AccessD] Disconnected MS Access cient applications.. > > > > Like Nunit testing, for instance. Now THERE's a topic I could get > > excited about if someone would like to rewrite it to work with VBA ... > So, you wanted JUnit/NUnit ideas ported to MS Access/VBA? > We're thinking in the same direction :) > Do you think it could be broadly used? (VBA is getting "dead" language?) > > Yes, VBA/Access Unit testing can be done several ways. > I'd use open source NUnit sources for starters.... > Rough estimation: not that much work - one/a couple of months - anybody > to sponsor? :) > > What about NDoc(http://ndoc.sourceforge.net/) ? > Also wanted to port it to VBA? - no problem - any sponsors? :) > > Shamil > > ----- Original Message ----- > From: "Charlotte Foust" > To: "Access Developers discussion and problem solving" > > Sent: Thursday, August 18, 2005 10:23 PM > Subject: RE: [AccessD] Disconnected MS Access cient applications.. > > > > Yes, I work with ADO.Net a lot, but in VB.Net, not Access, and I > > haven't even looked at C#. Most of my time is now spent in VB.Net, > > but I keep thinking of how nice it would be to be able to do some of > > these things with Access ... Like Nunit testing, for instance. Now > > THERE's a topic I could get excited about if someone would like to > > rewrite it to work with VBA ... Hint, hint, hint. ;-} > > > > Charlotte > > > > > > -----Original Message----- > > From: Shamil Salakhetdinov [mailto:shamil at users.mns.ru] > > Sent: Thursday, August 18, 2005 11:04 AM > > To: Access Developers discussion and problem solving > > Subject: Re: [AccessD] Disconnected MS Access cient applications.. > > > > > > > but have never had time to really pursue it. > > Yes, the same thoughts/experience here. > > Finally ADO.NET and WithEvents should make it rather easy to > > implement... > > > > I think/plan, I will return to this subject end of the next week, > > hopefully with some new results to publish as public domain/open > > source... > > > > Meanwhile I have to finish reading two books about XP in C# and "MS > > Object Thinking" and make some experiments in ADO.NET and a good > > progress in a pending urgent project... > > > > Any ideas about directions in which to develop this small project are > > very welcome! > > > > Thank you for your support! > > > > Shamil > > > > > > ----- Original Message ----- > > From: "Charlotte Foust" > > To: "Access Developers discussion and problem solving" > > > > Sent: Thursday, August 18, 2005 9:30 PM > > Subject: RE: [AccessD] Disconnected MS Access cient applications.. > > > > > > > Not interesting, Shamil, FASCINATING! Yes, I do hope you continue > > > this thread. Please! I've often thought of this kind of thing but > > > have never had time to really pursue it. > > > > > > Charlotte Foust > > > > > > > > > -----Original Message----- > > > From: Shamil Salakhetdinov [mailto:shamil at users.mns.ru] > > > Sent: Thursday, August 18, 2005 10:02 AM > > > To: Access Developers discussion and problem solving > > > Subject: Re: [AccessD] Disconnected MS Access cient applications.. > > > > > > > > > Charlotte, > > > > > > Your means you're interested in continuation of this > > > subject/thread or...? In my plans is to extend and make all the > > > source > > > > > code available. How soon it will happen this is an open question - I > > > > have an urgent project here. But I do plan to continue this thread > > > and > > > > > work if this looks interesting for you and others here. Maybe even > > > make it open source project here when first useful results will be > > > achieved? It would be interesting I guess to make it also XP(eXtreme > > > Programming) style work with your being subject area expert - I mean > > > > your best knowing in what scenarios and in what business areas is > > > the best to use MS Access in bound but disconnected mode with most > > > of the software (MS Access FE > > > databases) developed by power users but integrated by "mighty MS > > > Access developers"? :) > > > > > > I know how to do all that, I know how to make MS Access applications > > > > assembly factories etc. - I have all that experience and I can share > > > > it if/when I will have spare time - is that interesting? > > > > > > Shamil > > > > > > > > > ----- Original Message ----- > > > From: "Charlotte Foust" > > > To: "Access Developers discussion and problem solving" > > > > > > Sent: Thursday, August 18, 2005 7:35 PM > > > Subject: RE: [AccessD] Disconnected MS Access cient applications.. > > > > > > > > > > Oooohhh, I think I'm in love! > > > > > > > > Charlotte Foust > > > > > > > > > > > > -----Original Message----- > > > > From: Shamil Salakhetdinov [mailto:shamil at users.mns.ru] > > > > Sent: Thursday, August 18, 2005 4:46 AM > > > > To: Access Developers discussion and problem solving > > > > Subject: Re: [AccessD] Disconnected MS Access cient applications.. > > > > > > > > > > > > No, William, this is not replication - here is what I mean in > > > > short: > > > > > > > > http://www.smsconsulting.spb.ru/shamil_s/articles/ddo.htm > > > > > > > > Shamil > > > > > > > > ----- Original Message ----- > > > > From: "William Hindman" > > > > To: "Access Developers discussion and problem solving" > > > > > > > > Sent: Thursday, August 18, 2005 3:47 AM > > > > Subject: Re: [AccessD] Disconnected MS Access cient applications.. > > > > > > > > > > > > > Shamil > > > > > > > > > > ..I must be missing something ...that sounds like replication to > > > > > > me. > > > > > > > > > > William > > > > > > > > > > ----- Original Message ----- > > > > > From: "Shamil Salakhetdinov" > > > > > To: "!DBA-MAIN" > > > > > Sent: Wednesday, August 17, 2005 7:28 PM > > > > > Subject: [AccessD] Disconnected MS Access cient applications.. > > > > > > > > > > > > > > > > Hi All, > > > > > > > > > > > > I wanted to ask you - what about the subject? > > > > > > Anybody uses/interested to use MS Access client applications > > > > > > this way? > > > > > > > > > > > > Do I miss obvious (RTFM) stuff and such a disconnected mode is > > > > > > > already implemented in MS Access and broadly used by MS Access > > > > > > > developers? Yes, > > > > I > > > > > > know ADO recordsets can be used with bound MS Access forms > > > > > > etc. but this looks like a rather limited feature - am I > > > > > > wrong? > > > > > > > > > > > > What I mean is cashing data locally into mdbs, only the data > > > > > > needed for the currently open form(s) etc., processing this > > > > > > data > > > > > > > > and then updating backend database(mdb, MSDE, MS SQL, > > > > > > whatever...) > > > > > > > > > - with all this cashing and updating made mostly automatically > > > > > > > by a tiny framework code, based > > > > on > > > > > > ADO.NET...(yes, this local caching of data is not a new > > > > > > subject but nowadays it can be (re-)implement really scalable > > > > > > way with a > > > > > > > > way less efforts > > > > than > > > > > > before) > > > > > > > > > > > > Maybe MS plans to do something like that? > > > > > > > > > > > > Is that a wheel reinvention or anybody here sees such > > > > > > opportunity like a really useful feature in their real life > > > > > > projects? > > > > > > > > > > > > For me it looks like a useful feature because it could help: > > > > > > to get MS Access back into mainstream development area because > > > > > > > it will allow to easily scale applications with MS Access > > > > > > front-ends... > > > > > > > > > > > > There are many other ideas but most of them in this "ideas > > > > > > pool" > > > > > > > > based > > > > on > > > > > > the subject one - if it doesn't make sense for real-life > > > > > > projects then > > > > I'd > > > > > > better stop working on it... > > > > > > > > > > > > What is your opinion about the subject? > > > > > > When you expect MS will do something like that in MS Access? > > > > > > > > > > > > Thank you, > > > > > > Shamil > > > > > > > > > > > > -- > > > > > > AccessD mailing list > > > > > > AccessD at databaseadvisors.com > > > > > > http://databaseadvisors.com/mailman/listinfo/accessd > > > > > > Website: http://www.databaseadvisors.com > > > > > > > > > > > -- > > > > > AccessD mailing list > > > > > AccessD at databaseadvisors.com > > > > > http://databaseadvisors.com/mailman/listinfo/accessd > > > > > Website: http://www.databaseadvisors.com > > > > > > > > -- > > > > AccessD mailing list > > > > AccessD at databaseadvisors.com > > > > http://databaseadvisors.com/mailman/listinfo/accessd > > > > Website: http://www.databaseadvisors.com > > > > -- > > > > AccessD mailing list > > > > AccessD at databaseadvisors.com > > > > http://databaseadvisors.com/mailman/listinfo/accessd > > > > Website: http://www.databaseadvisors.com > > > > > > -- > > > AccessD mailing list > > > AccessD at databaseadvisors.com > > > http://databaseadvisors.com/mailman/listinfo/accessd > > > Website: http://www.databaseadvisors.com > > > -- > > > AccessD mailing list > > > AccessD at databaseadvisors.com > > > http://databaseadvisors.com/mailman/listinfo/accessd > > > Website: http://www.databaseadvisors.com > > > > -- > > AccessD mailing list > > AccessD at databaseadvisors.com > > http://databaseadvisors.com/mailman/listinfo/accessd > > Website: http://www.databaseadvisors.com > > -- > > AccessD mailing list > > AccessD at databaseadvisors.com > > http://databaseadvisors.com/mailman/listinfo/accessd > > Website: http://www.databaseadvisors.com > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com From shamil at users.mns.ru Thu Aug 18 15:43:07 2005 From: shamil at users.mns.ru (Shamil Salakhetdinov) Date: Fri, 19 Aug 2005 00:43:07 +0400 Subject: [AccessD] Disconnected MS Access cient applications.. References: <012601c5a42f$b4751f80$6c7aa8c0@ColbyM6805> Message-ID: <009d01c5a435$79dd10c0$6401a8c0@fincomplex.spb.ru> > So much to know, so few years remaining. The same problem here :( Go C#! - just a week to start with it - and it's as high level programming language as VB6/VBA, even higher. And you will save a lot of time. And the "cutest and coolest" stuff appears first of all in .NET Framework for C#... As for VB.NET -> C# conversion I recently used one of free online tools like this one - http://www.carlosag.net/Tools/CodeTranslator/Default.aspx to convert a lot of VB.NET code. In fact I did convert last autumn a lot of VBA code to VB.NET(three big MS Excel Add-Ins) using VS.NET 2003 converter + of course manual conversion. And then this July I converted VB.NET to C# using free online tools. Quite some manual work is still needed but it's mostly mechanical. And I did spend about two months to write original VBA code of these three MS Excel add-ins VBA-> VB.NET conversion was done in a week and all worked OK. C#->VB.NET conversion - it took a couple of days and all worked OK also of course (but I didn't convert all the VB.NET code) Shamil ----- Original Message ----- From: "John W. Colby" To: "'Access Developers discussion and problem solving'" Sent: Friday, August 19, 2005 12:01 AM Subject: RE: [AccessD] Disconnected MS Access cient applications.. > I have VS.Net 2002 and it isn't clear that it works with that. I also have > VB.Net Express (2005). In either case all I know at this point is that if > you comment your code in some unknown format a tool will allow you to export > the comments to a help file. Sigh. > > So much to know, so few years remaining. > > John W. Colby > www.ColbyConsulting.com > > Contribute your unused CPU cycles to a good cause: > http://folding.stanford.edu/ > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Shamil > Salakhetdinov > Sent: Thursday, August 18, 2005 3:47 PM > To: Access Developers discussion and problem solving > Subject: Re: [AccessD] Disconnected MS Access cient applications.. > > > Yes, I do use it with but with C# projects. > > They (MS) have XML comments in VS.NET 2005's VB.NET (to be released this > November?) > > As for VB.NET in VS.NET 2003 - I have heard there is a tool to work with XML > comments in it but I don't know how good it's - this is VBCommenter - > http://www.gotdotnet.com/workspaces/workspace.aspx?id=112b5449-f702-46e2-87f > a-86bdf39a17dd - And it exports XML comments to be used by NDoc? I didn't > check that but it's stated here: > > "NDoc generates class library documentation from .NET assemblies and the XML > documentation files generated by the C# compiler (or with an add-on tool for > VB.NET)." http://ndoc.sourceforge.net/ > > Sorry, I don't have any more info on NDoc - I did start to use it just last > month... > > HTH, > Shamil > > ----- Original Message ----- > From: "John W. Colby" > To: "'Access Developers discussion and problem solving'" > > Sent: Thursday, August 18, 2005 11:23 PM > Subject: RE: [AccessD] Disconnected MS Access cient applications.. > > > > Shamil, > > > > Do you use Ndoc? I was just about to post a question on how to figure > that > > out and tie it in to my VB.Net projects. > > > > John W. Colby > > www.ColbyConsulting.com > > > > Contribute your unused CPU cycles to a good cause: > > http://folding.stanford.edu/ > > > > -----Original Message----- > > From: accessd-bounces at databaseadvisors.com > > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Shamil > > Salakhetdinov > > Sent: Thursday, August 18, 2005 2:48 PM > > To: Access Developers discussion and problem solving > > Subject: Re: [AccessD] Disconnected MS Access cient applications.. > > > > > > > Like Nunit testing, for instance. Now THERE's a topic I could get > > > excited about if someone would like to rewrite it to work with VBA > > > ... > > So, you wanted JUnit/NUnit ideas ported to MS Access/VBA? We're > > thinking in the same direction :) Do you think it could be broadly > > used? (VBA is getting "dead" language?) > > > > Yes, VBA/Access Unit testing can be done several ways. > > I'd use open source NUnit sources for starters.... > > Rough estimation: not that much work - one/a couple of months - > > anybody > to > > sponsor? :) > > > > What about NDoc(http://ndoc.sourceforge.net/) ? > > Also wanted to port it to VBA? - no problem - any sponsors? :) > > > > Shamil > > > > ----- Original Message ----- > > From: "Charlotte Foust" > > To: "Access Developers discussion and problem solving" > > > > Sent: Thursday, August 18, 2005 10:23 PM > > Subject: RE: [AccessD] Disconnected MS Access cient applications.. > > > > > > > Yes, I work with ADO.Net a lot, but in VB.Net, not Access, and I > > > haven't even looked at C#. Most of my time is now spent in VB.Net, > > > but I keep thinking of how nice it would be to be able to do some of > > > these things with Access ... Like Nunit testing, for instance. Now > > > THERE's a topic I could get excited about if someone would like to > > > rewrite it to work with VBA ... Hint, hint, hint. ;-} > > > > > > Charlotte > > > > > > > > > -----Original Message----- > > > From: Shamil Salakhetdinov [mailto:shamil at users.mns.ru] > > > Sent: Thursday, August 18, 2005 11:04 AM > > > To: Access Developers discussion and problem solving > > > Subject: Re: [AccessD] Disconnected MS Access cient applications.. > > > > > > > > > > but have never had time to really pursue it. > > > Yes, the same thoughts/experience here. > > > Finally ADO.NET and WithEvents should make it rather easy to > > > implement... > > > > > > I think/plan, I will return to this subject end of the next week, > > > hopefully with some new results to publish as public domain/open > > > source... > > > > > > Meanwhile I have to finish reading two books about XP in C# and "MS > > > Object Thinking" and make some experiments in ADO.NET and a good > > > progress in a pending urgent project... > > > > > > Any ideas about directions in which to develop this small project > > > are very welcome! > > > > > > Thank you for your support! > > > > > > Shamil > > > > > > > > > ----- Original Message ----- > > > From: "Charlotte Foust" > > > To: "Access Developers discussion and problem solving" > > > > > > Sent: Thursday, August 18, 2005 9:30 PM > > > Subject: RE: [AccessD] Disconnected MS Access cient applications.. > > > > > > > > > > Not interesting, Shamil, FASCINATING! Yes, I do hope you continue > > > > this thread. Please! I've often thought of this kind of thing > > > > but have never had time to really pursue it. > > > > > > > > Charlotte Foust > > > > > > > > > > > > -----Original Message----- > > > > From: Shamil Salakhetdinov [mailto:shamil at users.mns.ru] > > > > Sent: Thursday, August 18, 2005 10:02 AM > > > > To: Access Developers discussion and problem solving > > > > Subject: Re: [AccessD] Disconnected MS Access cient applications.. > > > > > > > > > > > > Charlotte, > > > > > > > > Your means you're interested in continuation of this > > > > subject/thread or...? In my plans is to extend and make all the > > > > source > > > > > > > code available. How soon it will happen this is an open question - > > > > I have an urgent project here. But I do plan to continue this > > > > thread and > > > > > > > work if this looks interesting for you and others here. Maybe even > > > > make it open source project here when first useful results will be > > > > achieved? It would be interesting I guess to make it also > > > > XP(eXtreme > > > > Programming) style work with your being subject area expert - I mean > > > > your best knowing in what scenarios and in what business areas is > > > > the best to use MS Access in bound but disconnected mode with most > > > > of the software (MS Access FE > > > > databases) developed by power users but integrated by "mighty MS > > > > Access developers"? :) > > > > > > > > I know how to do all that, I know how to make MS Access > > > > applications assembly factories etc. - I have all that experience > > > > and I can share it if/when I will have spare time - is that > > > > interesting? > > > > > > > > Shamil > > > > > > > > > > > > ----- Original Message ----- > > > > From: "Charlotte Foust" > > > > To: "Access Developers discussion and problem solving" > > > > > > > > Sent: Thursday, August 18, 2005 7:35 PM > > > > Subject: RE: [AccessD] Disconnected MS Access cient applications.. > > > > > > > > > > > > > Oooohhh, I think I'm in love! > > > > > > > > > > Charlotte Foust > > > > > > > > > > > > > > > -----Original Message----- > > > > > From: Shamil Salakhetdinov [mailto:shamil at users.mns.ru] > > > > > Sent: Thursday, August 18, 2005 4:46 AM > > > > > To: Access Developers discussion and problem solving > > > > > Subject: Re: [AccessD] Disconnected MS Access cient > > > > > applications.. > > > > > > > > > > > > > > > No, William, this is not replication - here is what I mean in > > > > > short: > > > > > > > > > > http://www.smsconsulting.spb.ru/shamil_s/articles/ddo.htm > > > > > > > > > > Shamil > > > > > > > > > > ----- Original Message ----- > > > > > From: "William Hindman" > > > > > To: "Access Developers discussion and problem solving" > > > > > > > > > > Sent: Thursday, August 18, 2005 3:47 AM > > > > > Subject: Re: [AccessD] Disconnected MS Access cient > > > > > applications.. > > > > > > > > > > > > > > > > Shamil > > > > > > > > > > > > ..I must be missing something ...that sounds like replication > > > > > > to me. > > > > > > > > > > > > William > > > > > > > > > > > > ----- Original Message ----- > > > > > > From: "Shamil Salakhetdinov" > > > > > > To: "!DBA-MAIN" > > > > > > Sent: Wednesday, August 17, 2005 7:28 PM > > > > > > Subject: [AccessD] Disconnected MS Access cient applications.. > > > > > > > > > > > > > > > > > > > Hi All, > > > > > > > > > > > > > > I wanted to ask you - what about the subject? Anybody > > > > > > > uses/interested to use MS Access client applications this > > > > > > > way? > > > > > > > > > > > > > > Do I miss obvious (RTFM) stuff and such a disconnected mode > > > > > > > is already implemented in MS Access and broadly used by MS > > > > > > > Access developers? Yes, > > > > > I > > > > > > > know ADO recordsets can be used with bound MS Access forms > > > > > > > etc. but this looks like a rather limited feature - am I > > > > > > > wrong? > > > > > > > > > > > > > > What I mean is cashing data locally into mdbs, only the data > > > > > > > needed for the currently open form(s) etc., processing this > > > > > > > data > > > > > > > > > > and then updating backend database(mdb, MSDE, MS SQL, > > > > > > > whatever...) > > > > > > > > > > > - with all this cashing and updating made mostly > > > > > > > automatically by a tiny framework code, based > > > > > on > > > > > > > ADO.NET...(yes, this local caching of data is not a new > > > > > > > subject but nowadays it can be (re-)implement really > > > > > > > scalable way with a > > > > > > > > > > way less efforts > > > > > than > > > > > > > before) > > > > > > > > > > > > > > Maybe MS plans to do something like that? > > > > > > > > > > > > > > Is that a wheel reinvention or anybody here sees such > > > > > > > opportunity like a really useful feature in their real life > > > > > > > projects? > > > > > > > > > > > > > > For me it looks like a useful feature because it could help: > > > > > > > to get MS Access back into mainstream development area > > > > > > > because it will allow to easily scale applications with MS > > > > > > > Access front-ends... > > > > > > > > > > > > > > There are many other ideas but most of them in this "ideas > > > > > > > pool" > > > > > > > > > > based > > > > > on > > > > > > > the subject one - if it doesn't make sense for real-life > > > > > > > projects then > > > > > I'd > > > > > > > better stop working on it... > > > > > > > > > > > > > > What is your opinion about the subject? > > > > > > > When you expect MS will do something like that in MS Access? > > > > > > > > > > > > > > Thank you, > > > > > > > Shamil > > > > > > > > > > > > > > -- > > > > > > > AccessD mailing list > > > > > > > AccessD at databaseadvisors.com > > > > > > > http://databaseadvisors.com/mailman/listinfo/accessd > > > > > > > Website: http://www.databaseadvisors.com > > > > > > > > > > > > > -- > > > > > > AccessD mailing list > > > > > > AccessD at databaseadvisors.com > > > > > > http://databaseadvisors.com/mailman/listinfo/accessd > > > > > > Website: http://www.databaseadvisors.com > > > > > > > > > > -- > > > > > AccessD mailing list > > > > > AccessD at databaseadvisors.com > > > > > http://databaseadvisors.com/mailman/listinfo/accessd > > > > > Website: http://www.databaseadvisors.com > > > > > -- > > > > > AccessD mailing list > > > > > AccessD at databaseadvisors.com > > > > > http://databaseadvisors.com/mailman/listinfo/accessd > > > > > Website: http://www.databaseadvisors.com > > > > > > > > -- > > > > AccessD mailing list > > > > AccessD at databaseadvisors.com > > > > http://databaseadvisors.com/mailman/listinfo/accessd > > > > Website: http://www.databaseadvisors.com > > > > -- > > > > AccessD mailing list > > > > AccessD at databaseadvisors.com > > > > http://databaseadvisors.com/mailman/listinfo/accessd > > > > Website: http://www.databaseadvisors.com > > > > > > -- > > > AccessD mailing list > > > AccessD at databaseadvisors.com > > > http://databaseadvisors.com/mailman/listinfo/accessd > > > Website: http://www.databaseadvisors.com > > > -- > > > AccessD mailing list > > > AccessD at databaseadvisors.com > > > http://databaseadvisors.com/mailman/listinfo/accessd > > > Website: http://www.databaseadvisors.com > > > > -- > > AccessD mailing list > > AccessD at databaseadvisors.com > > http://databaseadvisors.com/mailman/listinfo/accessd > > Website: http://www.databaseadvisors.com > > > > > > > > -- > > AccessD mailing list > > AccessD at databaseadvisors.com > > http://databaseadvisors.com/mailman/listinfo/accessd > > Website: http://www.databaseadvisors.com > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > 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 Aug 18 16:00:44 2005 From: cfoust at infostatsystems.com (Charlotte Foust) Date: Thu, 18 Aug 2005 14:00:44 -0700 Subject: [AccessD] Disconnected MS Access cient applications.. Message-ID: I'm still getting proficient at VB.Net and my object to C# is more the punctuation than anything. I am constrained to VB.Net where I work, and I don't have the energy to teach myself C# at the same time. :-{ Charlotte -----Original Message----- From: Shamil Salakhetdinov [mailto:shamil at users.mns.ru] Sent: Thursday, August 18, 2005 1:30 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Disconnected MS Access cient applications.. <<< would evangalize like crazy! ;-} >>> Exciting perspective! Anybody has money to pay for this work to accept evangelizing crowds together? :) (I'm sorry, I have no free resources and spare time right now but I'd make it implemented quickly for moderate payment after I finish the current project - somewhere middle of the next month I expect.) <<< I LOVE being able to > build methods and properties in the abstract and test them extensively > before I ever create a UI object that uses them >>> Yes, this is one of XP's core ideas/methods - unit testing - and it gives a lot of confidence that developed software will be stable.... <<< It is really an extension of spec writing, since you can easily model a spec >>> Yes, and acceptance tests are getting created while you're coding.... And regression testing when new features are implemented becomes just a childish game opposed to traditional development/testing when it usually takes a lot of time... <<< > Ndoc stuff, but I am NOT a C (any flavor) programmer and don't want > to become one. >>> I don't see big difference between C# and VB.NET - they both like VB6/VBA for me:) Even easier to use them in fact - no need usually to care about grabage collection, which have to be manually done in VB6/VBA advanced programming... Just give it a try to program on C# - I guess you will need just a few days to start programming on it ... As for XML comments - they say VBCommenter can help here - http://www.gotdotnet.com/workspaces/workspace.aspx?id=112b5449-f702-46e2 -87fa-86bdf39a17dd (I didn't try it). And the docs NDoc (and the like) create are very good. I think it would be very useful addition to your Unit Testing/XP pratices - to create impressive and useful program documentation while you are coding.... Shamil From fhtapia at gmail.com Thu Aug 18 18:10:03 2005 From: fhtapia at gmail.com (Francisco Tapia) Date: Thu, 18 Aug 2005 16:10:03 -0700 Subject: [AccessD] Opening an XML recordset Message-ID: I have an XML document that I obtain from a webservice, I was able to creat the schema and using XMLPad I can see that it is infact a valid document, (see below). However the error Message I get from Access (2000) is that "Recordset cannot be created. Source XML is incomplete or invalid." How can I make the following document a valid xml document for opening as an ado recordset, ie: rst.Open "C:\ShipVia.xml", "Provider=MSPersist;", adOpenDynamic, adLockReadOnly, adCmdFile thanks, I abbreviated the doc for simplyfing the post. 10 FED EX P1176208147 (SKINNER) -- -Francisco http://pcthis.blogspot.com |PC news with out the jargon! http://sqlthis.blogspot.com | Tsql and More... From accessd at shaw.ca Thu Aug 18 19:18:25 2005 From: accessd at shaw.ca (Jim Lawrence) Date: Thu, 18 Aug 2005 17:18:25 -0700 Subject: [AccessD] copy string to clipboard In-Reply-To: <4304D458.6080109@shaw.ca> Message-ID: <0ILG007540UO6X@l-daemon> Marty: I just do not know where you come up with all this great stuff... impressive :-) ... like many of the other awesome individuals that lurk this list. Jim -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of MartyConnelly Sent: Thursday, August 18, 2005 11:33 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] copy string to clipboard Long way around for a shortcut. But this might not be so safe. 'set reference to FM20.dll in windows/system32 'MS Forms 2.0 Object Library function getclipboard() as string Dim dobD As DataObject Dim strS As String Set dobD = New DataObject dobD.GetFromClipboard strS = dobD.GetText 'or put in formatted see object browser ' dobD.SetText ("Huh??") ' dobD.PutInClipboard Debug.Print strS getclipboard= strS Set dobD = Nothing End Sub John W. Colby wrote: >>I've even got a simple class to take care of text to and from the clipboard >> >> > > >And of course, so do I now, thanks to you. This is what makes this >group great. > >John W. Colby >www.ColbyConsulting.com > >Contribute your unused CPU cycles to a good cause: >http://folding.stanford.edu/ > >-----Original Message----- >From: accessd-bounces at databaseadvisors.com >[mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Heenan, Lambert >Sent: Thursday, August 18, 2005 12:03 PM >To: 'Access Developers discussion and problem solving' >Subject: RE: [AccessD] copy string to clipboard > > > >-----Original Message----- >From: accessd-bounces at databaseadvisors.com >[mailto:accessd-bounces at databaseadvisors.com] On Behalf Of John W. Colby >Sent: Thursday, August 18, 2005 11:00 AM >To: 'Access Developers discussion and problem solving' >Subject: RE: [AccessD] copy string to clipboard > > >Where is the matching ClipGetText? > >John W. Colby >www.ColbyConsulting.com > >------------------------ >It's another simple API call... > >Private Declare Function GetClipboardData Lib "user32" (ByVal wFormat As >Long) As Long > >I've even got a simple class to take care of text to and from the clipboard > > >'*************************** clsClipBoard ************* > >Option Compare Database >Option Explicit > > > >' Obtaining Clipboard Data using API >' (needed for VBA since no Clipboard Object) -- can also paste the data to a >control ' ************************************************************* > >' ******* Place following in declarations ********* >Private Declare Function OpenClipboard Lib "user32" (ByVal hWnd As Long) As >Long Private Declare Function CloseClipboard Lib "user32" () As Long Private >Declare Function EmptyClipboard Lib "user32" () As Long Private Declare >Function SetClipboardData Lib "user32" (ByVal wFormat As Long, ByVal hMem As >Long) As Long Private Declare Function GetClipboardData Lib "user32" (ByVal >wFormat As >Long) As Long >Private Declare Function GlobalAlloc Lib "kernel32" (ByVal wFlags&, ByVal >dwBytes As Long) As Long Private Declare Function GlobalLock Lib "kernel32" >(ByVal hMem As Long) As Long Private Declare Function GlobalUnlock Lib >"kernel32" (ByVal hMem As Long) As Long Private Declare Function GlobalSize >Lib "kernel32" (ByVal hMem As Long) As Long Private Declare Function lstrcpy >Lib "kernel32" (ByVal lpString1 As Any, ByVal lpString2 As Any) As Long > >Const GHND = &H42 >Const CF_TEXT = 1 >Const MAXSIZE = 4096 > >Function GetTextData() As String > Dim hClipMemory As Long > Dim lpClipMemory As Long > Dim MyString As String > Dim RetVal As Long > > If OpenClipboard(0&) = 0 Then > MsgBox "Cannot open Clipboard. Another app. may have it open", , >"Clipboard" > > Exit Function > End If > > ' Obtain the handle to the global memory > ' block that is referencing the text. > hClipMemory = GetClipboardData(CF_TEXT) > If IsNull(hClipMemory) Then > MsgBox "Could not allocate memory", , "Clipboard" > Else > > ' Lock Clipboard memory so we can reference > ' the actual data string. > lpClipMemory = GlobalLock(hClipMemory) > > If Not IsNull(lpClipMemory) Then > > MyString = SPACE$(MAXSIZE) > RetVal = lstrcpy(MyString, lpClipMemory) > RetVal = GlobalUnlock(hClipMemory) > > ' Peel off the null terminating character. > MyString = uMid(MyString, 1, InStr(1, MyString, Chr$(0), 0) - 1) > Else > MsgBox "Could not lock memory to copy string from.", , "Clipboard" > End If > > End If > > RetVal = CloseClipboard() > GetTextData = MyString > >End Function > >Sub SetTextData(MyString As String) > Dim hGlobalMemory As Long, lpGlobalMemory As Long > Dim hClipMemory As Long, x As Long > > ' Allocate movable global memory. > '------------------------------------------- > hGlobalMemory = GlobalAlloc(GHND, Len(MyString) + 1) > > ' Lock the block to get a far pointer > ' to this memory. > lpGlobalMemory = GlobalLock(hGlobalMemory) > > ' Copy the string to this global memory. > lpGlobalMemory = lstrcpy(lpGlobalMemory, MyString) > > ' Unlock the memory. > If GlobalUnlock(hGlobalMemory) <> 0 Then > MsgBox "Could not unlock memory location. Copy aborted.", , >"Clipboard" > Else > ' Open the Clipboard to copy data to. > If OpenClipboard(0&) = 0 Then > MsgBox "Could not open the Clipboard. Copy aborted.", , "Clipboard" > Exit Sub > End If > > ' Clear the Clipboard. > x = EmptyClipboard() > > ' Copy the data to the Clipboard. > hClipMemory = SetClipboardData(CF_TEXT, hGlobalMemory) > End If > > If CloseClipboard() = 0 Then > MsgBox "Could not close Clipboard.", , "Clipboard" > End If > >End Sub > >'******************************************** > > -- Marty Connelly Victoria, B.C. Canada -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From accessd at shaw.ca Thu Aug 18 19:29:39 2005 From: accessd at shaw.ca (Jim Lawrence) Date: Thu, 18 Aug 2005 17:29:39 -0700 Subject: [AccessD] OT: Why did Mac switch to Intel revisted In-Reply-To: Message-ID: <0ILG00CAK1DE5C@l-daemon> OT: Another reason why Mac switched? http://www.theinquirer.net/?article=25496 Jim From accessd at shaw.ca Thu Aug 18 19:15:25 2005 From: accessd at shaw.ca (Jim Lawrence) Date: Thu, 18 Aug 2005 17:15:25 -0700 Subject: [AccessD] Disconnected MS Access cient applications.. In-Reply-To: <009d01c5a435$79dd10c0$6401a8c0@fincomplex.spb.ru> Message-ID: <0ILG00BMU0POGD@l-daemon> Hi Shamil: But do not get too fancy with the code your wish to translate or it bales quite unceremoniously. Straight forward stuff works great but be careful with different references and/or 'using' assemblies. Great information Shamil :-) Jim -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Shamil Salakhetdinov Sent: Thursday, August 18, 2005 1:43 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Disconnected MS Access cient applications.. > So much to know, so few years remaining. The same problem here :( Go C#! - just a week to start with it - and it's as high level programming language as VB6/VBA, even higher. And you will save a lot of time. And the "cutest and coolest" stuff appears first of all in .NET Framework for C#... As for VB.NET -> C# conversion I recently used one of free online tools like this one - http://www.carlosag.net/Tools/CodeTranslator/Default.aspx to convert a lot of VB.NET code. In fact I did convert last autumn a lot of VBA code to VB.NET(three big MS Excel Add-Ins) using VS.NET 2003 converter + of course manual conversion. And then this July I converted VB.NET to C# using free online tools. Quite some manual work is still needed but it's mostly mechanical. And I did spend about two months to write original VBA code of these three MS Excel add-ins VBA-> VB.NET conversion was done in a week and all worked OK. C#->VB.NET conversion - it took a couple of days and all worked OK also of course (but I didn't convert all the VB.NET code) Shamil ----- Original Message ----- From: "John W. Colby" To: "'Access Developers discussion and problem solving'" Sent: Friday, August 19, 2005 12:01 AM Subject: RE: [AccessD] Disconnected MS Access cient applications.. > I have VS.Net 2002 and it isn't clear that it works with that. I also have > VB.Net Express (2005). In either case all I know at this point is that if > you comment your code in some unknown format a tool will allow you to export > the comments to a help file. Sigh. > > So much to know, so few years remaining. > > John W. Colby > www.ColbyConsulting.com > > Contribute your unused CPU cycles to a good cause: > http://folding.stanford.edu/ > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Shamil > Salakhetdinov > Sent: Thursday, August 18, 2005 3:47 PM > To: Access Developers discussion and problem solving > Subject: Re: [AccessD] Disconnected MS Access cient applications.. > > > Yes, I do use it with but with C# projects. > > They (MS) have XML comments in VS.NET 2005's VB.NET (to be released this > November?) > > As for VB.NET in VS.NET 2003 - I have heard there is a tool to work with XML > comments in it but I don't know how good it's - this is VBCommenter - > http://www.gotdotnet.com/workspaces/workspace.aspx?id=112b5449-f702-46e2-87f > a-86bdf39a17dd - And it exports XML comments to be used by NDoc? I didn't > check that but it's stated here: > > "NDoc generates class library documentation from .NET assemblies and the XML > documentation files generated by the C# compiler (or with an add-on tool for > VB.NET)." http://ndoc.sourceforge.net/ > > Sorry, I don't have any more info on NDoc - I did start to use it just last > month... > > HTH, > Shamil > > ----- Original Message ----- > From: "John W. Colby" > To: "'Access Developers discussion and problem solving'" > > Sent: Thursday, August 18, 2005 11:23 PM > Subject: RE: [AccessD] Disconnected MS Access cient applications.. > > > > Shamil, > > > > Do you use Ndoc? I was just about to post a question on how to figure > that > > out and tie it in to my VB.Net projects. > > > > John W. Colby > > www.ColbyConsulting.com > > > > Contribute your unused CPU cycles to a good cause: > > http://folding.stanford.edu/ > > > > -----Original Message----- > > From: accessd-bounces at databaseadvisors.com > > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Shamil > > Salakhetdinov > > Sent: Thursday, August 18, 2005 2:48 PM > > To: Access Developers discussion and problem solving > > Subject: Re: [AccessD] Disconnected MS Access cient applications.. > > > > > > > Like Nunit testing, for instance. Now THERE's a topic I could get > > > excited about if someone would like to rewrite it to work with VBA > > > ... > > So, you wanted JUnit/NUnit ideas ported to MS Access/VBA? We're > > thinking in the same direction :) Do you think it could be broadly > > used? (VBA is getting "dead" language?) > > > > Yes, VBA/Access Unit testing can be done several ways. > > I'd use open source NUnit sources for starters.... > > Rough estimation: not that much work - one/a couple of months - > > anybody > to > > sponsor? :) > > > > What about NDoc(http://ndoc.sourceforge.net/) ? > > Also wanted to port it to VBA? - no problem - any sponsors? :) > > > > Shamil > > > > ----- Original Message ----- > > From: "Charlotte Foust" > > To: "Access Developers discussion and problem solving" > > > > Sent: Thursday, August 18, 2005 10:23 PM > > Subject: RE: [AccessD] Disconnected MS Access cient applications.. > > > > > > > Yes, I work with ADO.Net a lot, but in VB.Net, not Access, and I > > > haven't even looked at C#. Most of my time is now spent in VB.Net, > > > but I keep thinking of how nice it would be to be able to do some of > > > these things with Access ... Like Nunit testing, for instance. Now > > > THERE's a topic I could get excited about if someone would like to > > > rewrite it to work with VBA ... Hint, hint, hint. ;-} > > > > > > Charlotte > > > > > > > > > -----Original Message----- > > > From: Shamil Salakhetdinov [mailto:shamil at users.mns.ru] > > > Sent: Thursday, August 18, 2005 11:04 AM > > > To: Access Developers discussion and problem solving > > > Subject: Re: [AccessD] Disconnected MS Access cient applications.. > > > > > > > > > > but have never had time to really pursue it. > > > Yes, the same thoughts/experience here. > > > Finally ADO.NET and WithEvents should make it rather easy to > > > implement... > > > > > > I think/plan, I will return to this subject end of the next week, > > > hopefully with some new results to publish as public domain/open > > > source... > > > > > > Meanwhile I have to finish reading two books about XP in C# and "MS > > > Object Thinking" and make some experiments in ADO.NET and a good > > > progress in a pending urgent project... > > > > > > Any ideas about directions in which to develop this small project > > > are very welcome! > > > > > > Thank you for your support! > > > > > > Shamil > > > > > > > > > ----- Original Message ----- > > > From: "Charlotte Foust" > > > To: "Access Developers discussion and problem solving" > > > > > > Sent: Thursday, August 18, 2005 9:30 PM > > > Subject: RE: [AccessD] Disconnected MS Access cient applications.. > > > > > > > > > > Not interesting, Shamil, FASCINATING! Yes, I do hope you continue > > > > this thread. Please! I've often thought of this kind of thing > > > > but have never had time to really pursue it. > > > > > > > > Charlotte Foust > > > > > > > > > > > > -----Original Message----- > > > > From: Shamil Salakhetdinov [mailto:shamil at users.mns.ru] > > > > Sent: Thursday, August 18, 2005 10:02 AM > > > > To: Access Developers discussion and problem solving > > > > Subject: Re: [AccessD] Disconnected MS Access cient applications.. > > > > > > > > > > > > Charlotte, > > > > > > > > Your means you're interested in continuation of this > > > > subject/thread or...? In my plans is to extend and make all the > > > > source > > > > > > > code available. How soon it will happen this is an open question - > > > > I have an urgent project here. But I do plan to continue this > > > > thread and > > > > > > > work if this looks interesting for you and others here. Maybe even > > > > make it open source project here when first useful results will be > > > > achieved? It would be interesting I guess to make it also > > > > XP(eXtreme > > > > Programming) style work with your being subject area expert - I mean > > > > your best knowing in what scenarios and in what business areas is > > > > the best to use MS Access in bound but disconnected mode with most > > > > of the software (MS Access FE > > > > databases) developed by power users but integrated by "mighty MS > > > > Access developers"? :) > > > > > > > > I know how to do all that, I know how to make MS Access > > > > applications assembly factories etc. - I have all that experience > > > > and I can share it if/when I will have spare time - is that > > > > interesting? > > > > > > > > Shamil > > > > > > > > > > > > ----- Original Message ----- > > > > From: "Charlotte Foust" > > > > To: "Access Developers discussion and problem solving" > > > > > > > > Sent: Thursday, August 18, 2005 7:35 PM > > > > Subject: RE: [AccessD] Disconnected MS Access cient applications.. > > > > > > > > > > > > > Oooohhh, I think I'm in love! > > > > > > > > > > Charlotte Foust > > > > > > > > > > > > > > > -----Original Message----- > > > > > From: Shamil Salakhetdinov [mailto:shamil at users.mns.ru] > > > > > Sent: Thursday, August 18, 2005 4:46 AM > > > > > To: Access Developers discussion and problem solving > > > > > Subject: Re: [AccessD] Disconnected MS Access cient > > > > > applications.. > > > > > > > > > > > > > > > No, William, this is not replication - here is what I mean in > > > > > short: > > > > > > > > > > http://www.smsconsulting.spb.ru/shamil_s/articles/ddo.htm > > > > > > > > > > Shamil > > > > > > > > > > ----- Original Message ----- > > > > > From: "William Hindman" > > > > > To: "Access Developers discussion and problem solving" > > > > > > > > > > Sent: Thursday, August 18, 2005 3:47 AM > > > > > Subject: Re: [AccessD] Disconnected MS Access cient > > > > > applications.. > > > > > > > > > > > > > > > > Shamil > > > > > > > > > > > > ..I must be missing something ...that sounds like replication > > > > > > to me. > > > > > > > > > > > > William > > > > > > > > > > > > ----- Original Message ----- > > > > > > From: "Shamil Salakhetdinov" > > > > > > To: "!DBA-MAIN" > > > > > > Sent: Wednesday, August 17, 2005 7:28 PM > > > > > > Subject: [AccessD] Disconnected MS Access cient applications.. > > > > > > > > > > > > > > > > > > > Hi All, > > > > > > > > > > > > > > I wanted to ask you - what about the subject? Anybody > > > > > > > uses/interested to use MS Access client applications this > > > > > > > way? > > > > > > > > > > > > > > Do I miss obvious (RTFM) stuff and such a disconnected mode > > > > > > > is already implemented in MS Access and broadly used by MS > > > > > > > Access developers? Yes, > > > > > I > > > > > > > know ADO recordsets can be used with bound MS Access forms > > > > > > > etc. but this looks like a rather limited feature - am I > > > > > > > wrong? > > > > > > > > > > > > > > What I mean is cashing data locally into mdbs, only the data > > > > > > > needed for the currently open form(s) etc., processing this > > > > > > > data > > > > > > > > > > and then updating backend database(mdb, MSDE, MS SQL, > > > > > > > whatever...) > > > > > > > > > > > - with all this cashing and updating made mostly > > > > > > > automatically by a tiny framework code, based > > > > > on > > > > > > > ADO.NET...(yes, this local caching of data is not a new > > > > > > > subject but nowadays it can be (re-)implement really > > > > > > > scalable way with a > > > > > > > > > > way less efforts > > > > > than > > > > > > > before) > > > > > > > > > > > > > > Maybe MS plans to do something like that? > > > > > > > > > > > > > > Is that a wheel reinvention or anybody here sees such > > > > > > > opportunity like a really useful feature in their real life > > > > > > > projects? > > > > > > > > > > > > > > For me it looks like a useful feature because it could help: > > > > > > > to get MS Access back into mainstream development area > > > > > > > because it will allow to easily scale applications with MS > > > > > > > Access front-ends... > > > > > > > > > > > > > > There are many other ideas but most of them in this "ideas > > > > > > > pool" > > > > > > > > > > based > > > > > on > > > > > > > the subject one - if it doesn't make sense for real-life > > > > > > > projects then > > > > > I'd > > > > > > > better stop working on it... > > > > > > > > > > > > > > What is your opinion about the subject? > > > > > > > When you expect MS will do something like that in MS Access? > > > > > > > > > > > > > > Thank you, > > > > > > > Shamil > > > > > > > > > > > > > > -- > > > > > > > AccessD mailing list > > > > > > > AccessD at databaseadvisors.com > > > > > > > http://databaseadvisors.com/mailman/listinfo/accessd > > > > > > > Website: http://www.databaseadvisors.com > > > > > > > > > > > > > -- > > > > > > AccessD mailing list > > > > > > AccessD at databaseadvisors.com > > > > > > http://databaseadvisors.com/mailman/listinfo/accessd > > > > > > Website: http://www.databaseadvisors.com > > > > > > > > > > -- > > > > > AccessD mailing list > > > > > AccessD at databaseadvisors.com > > > > > http://databaseadvisors.com/mailman/listinfo/accessd > > > > > Website: http://www.databaseadvisors.com > > > > > -- > > > > > AccessD mailing list > > > > > AccessD at databaseadvisors.com > > > > > http://databaseadvisors.com/mailman/listinfo/accessd > > > > > Website: http://www.databaseadvisors.com > > > > > > > > -- > > > > AccessD mailing list > > > > AccessD at databaseadvisors.com > > > > http://databaseadvisors.com/mailman/listinfo/accessd > > > > Website: http://www.databaseadvisors.com > > > > -- > > > > AccessD mailing list > > > > AccessD at databaseadvisors.com > > > > http://databaseadvisors.com/mailman/listinfo/accessd > > > > Website: http://www.databaseadvisors.com > > > > > > -- > > > AccessD mailing list > > > AccessD at databaseadvisors.com > > > http://databaseadvisors.com/mailman/listinfo/accessd > > > Website: http://www.databaseadvisors.com > > > -- > > > AccessD mailing list > > > AccessD at databaseadvisors.com > > > http://databaseadvisors.com/mailman/listinfo/accessd > > > Website: http://www.databaseadvisors.com > > > > -- > > AccessD mailing list > > AccessD at databaseadvisors.com > > http://databaseadvisors.com/mailman/listinfo/accessd > > Website: http://www.databaseadvisors.com > > > > > > > > -- > > AccessD mailing list > > AccessD at databaseadvisors.com > > http://databaseadvisors.com/mailman/listinfo/accessd > > Website: http://www.databaseadvisors.com > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > > > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > 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 Aug 18 20:16:40 2005 From: cfoust at infostatsystems.com (Charlotte Foust) Date: Thu, 18 Aug 2005 18:16:40 -0700 Subject: [AccessD] Opening an XML recordset Message-ID: I've never tried to do what you're doing, but here's a sample of the relevant part of an xml doc persisted from Access using the MSPersist driver. Is that useful at all? Charlotte -----Original Message----- From: Francisco Tapia [mailto:fhtapia at gmail.com] Sent: Thursday, August 18, 2005 4:10 PM To: Access Developers discussion and problem solving Subject: [AccessD] Opening an XML recordset I have an XML document that I obtain from a webservice, I was able to creat the schema and using XMLPad I can see that it is infact a valid document, (see below). However the error Message I get from Access (2000) is that "Recordset cannot be created. Source XML is incomplete or invalid." How can I make the following document a valid xml document for opening as an ado recordset, ie: rst.Open "C:\ShipVia.xml", "Provider=MSPersist;", adOpenDynamic, adLockReadOnly, adCmdFile thanks, I abbreviated the doc for simplyfing the post. 10 FED EX P1176208147 (SKINNER) -- -Francisco From martyconnelly at shaw.ca Thu Aug 18 22:57:14 2005 From: martyconnelly at shaw.ca (MartyConnelly) Date: Thu, 18 Aug 2005 20:57:14 -0700 Subject: [AccessD] Opening an XML recordset References: Message-ID: <4305589A.1030003@shaw.ca> The XML parses okay but you are trying to bring in a flat xml file with a self-contained xsd file The ado call is expecting an ADTG formatted xml (MS special xml format definition for an ado recordset) As Charlotte said. You are going to have to parse each element out to a recordset field via the DOM. Not a pleasant task. Generally when I use SOAP from a web service I parse out the relevant field strings via XPATH from the DOM, if am I getting a limited amount of data say less than 1 K.. This is a lot easier to do with SQLXML You could apply this xslt transform to remove all the ADTG junk to create a flat xml. but that is not what you need. ADOGeneric.xsl <row> < > </ > </row> Francisco Tapia wrote: >I have an XML document that I obtain from a webservice, I was able to creat >the schema and using XMLPad I can see that it is infact a valid document, >(see below). However the error Message I get from Access (2000) is that >"Recordset cannot be created. Source XML is incomplete or invalid." > >How can I make the following document a valid xml document for opening as an >ado recordset, ie: >rst.Open "C:\ShipVia.xml", "Provider=MSPersist;", adOpenDynamic, >adLockReadOnly, adCmdFile > > >thanks, > >I abbreviated the doc for simplyfing the post. > > >xmlns:od="urn:schemas-microsoft-com:officedata"> > > > > > > > > > > > > > > > >od:sqlSType="nvarchar"> > > > > > > >od:sqlSType="nvarchar"> > > > > > > > > > > >xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns=" >http://HAASService.org//WSAvanteData"> > >10 >FED EX P1176208147 (SKINNER) > > > > > > > -- Marty Connelly Victoria, B.C. Canada From shamil at users.mns.ru Fri Aug 19 00:54:24 2005 From: shamil at users.mns.ru (Shamil Salakhetdinov) Date: Fri, 19 Aug 2005 09:54:24 +0400 Subject: [AccessD] OT: Why did Mac switch to Intel revisted References: <0ILG00CAK1DE5C@l-daemon> Message-ID: <004701c5a482$793d9570$6401a8c0@fincomplex.spb.ru> > Another reason why Mac switched? I did read about multi-core Intel processors but I didn't know Interl acquired Russian Elbrus team and technology to design them: http://www.ournet.md/~hi-tech/elbrus_e2k.html <<< The new processor is expected to perform from three to five times faster than Merced processor from Intel. E2K will require lower power, and its manufacturing will appear considerably cheaper than that of Merced; >>> Before that Intel used one of the former Elbrus engineers... <<< Vladimir Pentkovski is a Principal Engineer in the Microprocessor Product Group in Folsom. He was one of the architects in the core team, which defined the Internet Streaming SIMD Extensions of IA-32 architecture. Vladimir led the development of Pentium III processor architecture and performance analysis. Previously he led the development of compilers and software and hardware support for programming languages for Elbrus multi-processor computers in Russia. Vladimir holds a Doctor of Science degree and Ph.D. degree in computer science and engineering from Russia >>> ...now, they got all of them. (That's a pity of course this country, wonderland Russia, is selling out and loosing her best people :( Just a few left when I look around. Sad story...) BTW, IMO one of the reasons to closely look on what eXtreme Programmers practiones say and do: Intel processors are getting multi-core. Therefore the trend is to write software, which can be executed on several processors in parallel - these are exactly "low coupled, highly cohesive" "intelligent" objects. MS will make it possible for sure in one of the next versions of VS.NET to execute .NET Framework assemblies' object instances on different processors on multi-core Intel systems: traffic light on crossroads metaphor I mentioned already - traffic light object runs on one processor, every car object coming to crossroad - run on another processor or shared processors if there are a few of them - all of them independent and all their independent behavior is simulated on parallel processors... - now you see the endless performance boost possibility here? The quantity of cores on multi-core Intel systems will grow endlessly with time - and so the overall performance will grow.... Be ready and prepare your brain to this "mentality shift" in programming - to stay competetive on the market... And VS.NET is already using broadly declarative programming with attributes - to mark an object as an "independent entity" belonging to this or that category (read running on independent core) is by just adding some attributes to the object code. Even more - .NET Assemblies can be changed on the fly using Reflection therefore such attributes can be "injected" on run-time. Even more.... yes, what they are doing with C# 2.0 and what they plan to do with C# 3.0 - all that becoming more and more "crazy" and flexible - real SOFTware can be written using this current and coming development tools... Shamil ----- Original Message ----- From: "Jim Lawrence" To: "'Access Developers discussion and problem solving'" Sent: Friday, August 19, 2005 4:29 AM Subject: [AccessD] OT: Why did Mac switch to Intel revisted > OT: > > Another reason why Mac switched? http://www.theinquirer.net/?article=25496 > > Jim > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com From Jdemarco at hudsonhealthplan.org Fri Aug 19 07:22:39 2005 From: Jdemarco at hudsonhealthplan.org (Jim DeMarco) Date: Fri, 19 Aug 2005 08:22:39 -0400 Subject: [AccessD] copy string to clipboard Message-ID: <08F823FD83787D4BA0B99CA580AD3C74016C3CDE@TTNEXCHCL2.hshhp.com> I meant gaining access to the clipboard. Obviously a method call is a method call. Jim D. -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Heenan, Lambert Sent: Thursday, August 18, 2005 10:54 AM To: 'Access Developers discussion and problem solving' Subject: RE: [AccessD] copy string to clipboard Which is simpler ClipPutText MyString Or Clipboard.SetText "Jim D" Answer: they are both real simple. But In the first case all you need is the code for the ClipPutText routine stashed away in a module, which you can then treat as a black box, and in the second case you have to distribute a DLL and ensure that it gets registered properly (assuming the user has privileges to register DLLs). I know which way I would go! :-) Lambert -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Jim DeMarco Sent: Thursday, August 18, 2005 9:56 AM To: Access Developers discussion and problem solving Subject: RE: [AccessD] copy string to clipboard If you have VB and don't mind shipping a dll with your app it's much simpler. Clipboard.SetText "Jim D" Me.Text1.Text = Clipboard.GetText Jim DeMarco -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Jim Lawrence Sent: Thursday, August 18, 2005 2:25 AM To: 'Access Developers discussion and problem solving' Subject: RE: [AccessD] copy string to clipboard Hi Bruce: I have some code that I have been using for years, mostly for debugging purposes. It just copies a string up into the clip board and it doesn't look as ugly as the code from Terry Kreft. The following code resides in a miodule declaration area: 'Whole bunch of APIs which allow text to be copied to clipboard... Private Declare Function OpenClipboard Lib "User32" (ByVal hWnd&) As Long Private Declare Function EmptyClipboard Lib "User32" () As Long Private Declare Function GetClipboardData Lib "User32" (ByVal wFormat&) As Long Private Declare Function SetClipboardData Lib "User32" (ByVal wFormat&, _ ByVal hMem&) As Long Private Declare Function CloseClipboard Lib "User32" () As Long ' Private Declare Function GlobalAlloc Lib "kernel32" (ByVal wFlags&, _ ByVal dwBytes&) As Long Private Declare Function GlobalLock Lib "kernel32" (ByVal hMem&) As Long Private Declare Function GlobalUnlock Lib "kernel32" (ByVal hMem&) As Long ' Private Declare Function lstrcpy Lib "kernel32" (ByVal lpString1 As Any, _ ByVal lpString2 As Any) As Long And the remainder is place in a module's function area: Public Sub ClipPutText(lsText As String) ' Stores text on the clipboard Dim hMem As Long Const GHND = &H42 hMem = GlobalAlloc(GHND, Len(lsText) + 1) lstrcpy GlobalLock(hMem), lsText If GlobalUnlock(hMem) = 0 Then If OpenClipboard(0&) <> 0 Then EmptyClipboard SetClipboardData 1, hMem CloseClipboard End If End If End Sub And it can be called from anywhere; forms, reports or modules like so: ClipPutText MyString 'Place the string 'MyString into the clipboard HTH Jim -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Bruen, Bruce Sent: Wednesday, August 17, 2005 7:29 PM To: Access Developers discussion and problem solving Subject: [AccessD] copy string to clipboard This must! be simple. I have a string variable created by concatenating the values of several form fields. So how can I copy the value of this string to the clipboard? Private Sub Command35_Click() Dim refstr As String refstr = "RCRef=|" & Me.ucref & "|" & Me.testname & "|" & Me.TestID & "|" Debug.Print refstr Stop ':-( Runcmd accmdStickTheStringInTheClipboard :-( End Sub tia bruce This e-mail and any attachments may contain confidential information that is intended solely for the use of the intended recipient and may be subject to copyright. If you receive this e-mail in error, please notify the sender immediately and delete the e-mail and its attachments from your system. You must not disclose, copy or use any part of this e-mail if you are not the intended recipient. Any opinion expressed in this e-mail and any attachments is not an opinion of RailCorp unless stated or apparent from its content. RailCorp is not responsible for any unauthorised alterations to this e-mail or any attachments. RailCorp will not incur any liability resulting directly or indirectly as a result of the recipient accessing any of the attached files that may contain a virus. -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/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 tinanfields at torchlake.com Fri Aug 19 08:23:10 2005 From: tinanfields at torchlake.com (Tina Norris Fields) Date: Fri, 19 Aug 2005 09:23:10 -0400 Subject: [AccessD] New Record Appearing on Top References: <000001c5a269$2bb3b2f0$0300a8c0@danwaters> Message-ID: <4305DD3E.2080103@torchlake.com> Dan, that is great. I often have my subform records sorted in descending order, but I never knew how I could make the new record appear to be at the top while it was being created. Thank you. I have a new tool. Tina Norris Fields Dan Waters wrote: >Julie, > >Yes - and it's a nice feature. > >The way to do this is to create fields directly above the subform container >that mimic the fields in the continuous form. These fields will be unbound. >A user will fill in these fields and push a Save button when done. The save >button will cause the data in the unbound fields to be inserted into the >table behind the subform. If your subform is sorted in descending order by >it's autonumber field, then the new record will display at the top of the >subform. > >I use this method in an hours tracking database. The Save button's click >event code is shown below: > >Private Sub butSaveHours_Click() > > Dim stgSQL As String > > stgSQL = "INSERT INTO tblHours (ClientID, Category, SubCategory, Hours, >ActivityDate, Description)" _ > & " VALUES (" & txtClientID & ", '" & cboCategory & "', '" & >cboSubCategory & "', " & txtHours & ", '" & txtActivityDate & "', '" & >memDescription & "');" > DoCmd.SetWarnings False > DoCmd.RunSQL stgSQL > DoCmd.SetWarnings True > > cboCategory = Null > cboSubCategory = Null > txtHours = Null > txtActivityDate = Null > memDescription = Null > > Me.Refresh > > cboCategory.SetFocus > butSaveHours.Enabled = False > >End Sub > >Note that the ClientID field is the Primary Key for the main table and is >also the Foreign Key for the related sub table. > >HTH, >Dan Waters > >-----Original Message----- >From: accessd-bounces at databaseadvisors.com >[mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Julie >Reardon-Taylor >Sent: Tuesday, August 16, 2005 8:35 AM >To: accessd at databaseadvisors.com >Subject: [AccessD] New Record Appearing on Top > >I have seen this question posted before and cannot remember the response. A > >client has asked that the "new" record in a continuous form appear at the >top. I know that Access doesn't work that way.....but is there a way to do >this? > > > >Julie Reardon-Taylor >PRO-SOFT OF NY, INC. >44 Public Square Suite #5 >Watertown, NY 13601 >Phone/Fax: (315) 785-0319 >www.pro-soft.net > > > > From dwaters at usinternet.com Fri Aug 19 08:47:45 2005 From: dwaters at usinternet.com (Dan Waters) Date: Fri, 19 Aug 2005 08:47:45 -0500 Subject: [AccessD] New Record Appearing on Top In-Reply-To: <10616264.1124457249642.JavaMail.root@sniper21> Message-ID: <000601c5a4c4$95b41700$0300a8c0@danwaters> Tina - you are most welcome. Dan Waters -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Tina Norris Fields Sent: Friday, August 19, 2005 8:23 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] New Record Appearing on Top Dan, that is great. I often have my subform records sorted in descending order, but I never knew how I could make the new record appear to be at the top while it was being created. Thank you. I have a new tool. Tina Norris Fields Dan Waters wrote: >Julie, > >Yes - and it's a nice feature. > >The way to do this is to create fields directly above the subform container >that mimic the fields in the continuous form. These fields will be unbound. >A user will fill in these fields and push a Save button when done. The save >button will cause the data in the unbound fields to be inserted into the >table behind the subform. If your subform is sorted in descending order by >it's autonumber field, then the new record will display at the top of the >subform. > >I use this method in an hours tracking database. The Save button's click >event code is shown below: > >Private Sub butSaveHours_Click() > > Dim stgSQL As String > > stgSQL = "INSERT INTO tblHours (ClientID, Category, SubCategory, Hours, >ActivityDate, Description)" _ > & " VALUES (" & txtClientID & ", '" & cboCategory & "', '" & >cboSubCategory & "', " & txtHours & ", '" & txtActivityDate & "', '" & >memDescription & "');" > DoCmd.SetWarnings False > DoCmd.RunSQL stgSQL > DoCmd.SetWarnings True > > cboCategory = Null > cboSubCategory = Null > txtHours = Null > txtActivityDate = Null > memDescription = Null > > Me.Refresh > > cboCategory.SetFocus > butSaveHours.Enabled = False > >End Sub > >Note that the ClientID field is the Primary Key for the main table and is >also the Foreign Key for the related sub table. > >HTH, >Dan Waters > >-----Original Message----- >From: accessd-bounces at databaseadvisors.com >[mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Julie >Reardon-Taylor >Sent: Tuesday, August 16, 2005 8:35 AM >To: accessd at databaseadvisors.com >Subject: [AccessD] New Record Appearing on Top > >I have seen this question posted before and cannot remember the response. A > >client has asked that the "new" record in a continuous form appear at the >top. I know that Access doesn't work that way.....but is there a way to do >this? > > > >Julie Reardon-Taylor >PRO-SOFT OF NY, INC. >44 Public Square Suite #5 >Watertown, NY 13601 >Phone/Fax: (315) 785-0319 >www.pro-soft.net > > > > -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From darsant at gmail.com Fri Aug 19 10:25:38 2005 From: darsant at gmail.com (Josh McFarlane) Date: Fri, 19 Aug 2005 10:25:38 -0500 Subject: [AccessD] OT: Why did Mac switch to Intel revisted In-Reply-To: <004701c5a482$793d9570$6401a8c0@fincomplex.spb.ru> References: <0ILG00CAK1DE5C@l-daemon> <004701c5a482$793d9570$6401a8c0@fincomplex.spb.ru> Message-ID: <53c8e05a05081908257c783205@mail.gmail.com> On 8/19/05, Shamil Salakhetdinov wrote: > And VS.NET is already using broadly declarative programming with > attributes - to mark an object as an "independent entity" belonging to this > or that category (read running on independent core) is by just adding some > attributes to the object code. Even more - .NET Assemblies can be changed on > the fly using Reflection therefore such attributes can be "injected" on > run-time. Even more.... yes, what they are doing with C# 2.0 and what they > plan to do with C# 3.0 - all that becoming more and more "crazy" and > flexible - real SOFTware can be written using this current and coming > development tools... > > Shamil The question you have to ask yourself is if the added reflection will bring more problems than it fixes. Modifying already-running code has never been one of Microsoft's strong points. The Edit and Continue compiler of VS 2005 is horribly horribly buggy, but not much can be done to fix it, as it doesn't crash at defined points, it just randomly crashes everything, including the compiler and the program that is running. Due to reflection and JIT compiling, .NET Assemblies are still very reverse engineerable also, and tend to make it appear like a Java-similar language. What I'd like to see Microsoft work more towards is the actual refinement of their other libraries, which they seem to have left in the dust in .NET. MFC and ATL still have huge defficiencies in some of their classes (CSocket / CSocketFile / CArchive comes to mind as a huge one that has never worked as intented). Prioritizing threads to logical processors, and even restricting them, is nothing particularly new. The commands were added when HyperThreading first hit language support, and it's actually quite easy to do both hardcoded and real-time. Good software design policies can always help make your software more flexible and "crazy".High-level languages can make this apparent by restricting the design policies you have control over, and making you more dependant on the language rather than your own design ideas. Josh McFarlane From Susan.Klos at fldoe.org Fri Aug 19 10:26:32 2005 From: Susan.Klos at fldoe.org (Klos, Susan) Date: Fri, 19 Aug 2005 11:26:32 -0400 Subject: [AccessD] "Find" combo box searches more than one table Message-ID: Yes, Kath, I think that is what I am looking for. Can you send me a copy of the code? Susan Klos Senior Database Analyst Evaluation and Reporting Florida Department of Education 850-245-0708 sc 205-0708 Maybe Susan means that the users would like to have a 'search function' which will find something anywhere in the database. I have had that request before, eg. for a database that tracked travel agent wholesalers, travel agent retailers, suppliers, clients etc. Users would get an inquiry from someone and wanted to type in their name and find all instances anywhere in the system. It depends whether you need to populate a combo or not. In my case I created an unbound text box and users type in any part of the person's surname and hit enter. The code then searches through the relevant tables one by one and populates a results table. Kath From cyx5 at cdc.gov Fri Aug 19 10:35:54 2005 From: cyx5 at cdc.gov (Nicholson, Karen) Date: Fri, 19 Aug 2005 11:35:54 -0400 Subject: [AccessD] "Find" combo box searches more than one table Message-ID: Oooh.... I want to see it too! I have over 1235 tables that I am putting into one table but this code would be great in the meantime. -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Klos, Susan Sent: Friday, August 19, 2005 11:27 AM To: accessd at databaseadvisors.com Subject: [AccessD] "Find" combo box searches more than one table Yes, Kath, I think that is what I am looking for. Can you send me a copy of the code? Susan Klos Senior Database Analyst Evaluation and Reporting Florida Department of Education 850-245-0708 sc 205-0708 Maybe Susan means that the users would like to have a 'search function' which will find something anywhere in the database. I have had that request before, eg. for a database that tracked travel agent wholesalers, travel agent retailers, suppliers, clients etc. Users would get an inquiry from someone and wanted to type in their name and find all instances anywhere in the system. It depends whether you need to populate a combo or not. In my case I created an unbound text box and users type in any part of the person's surname and hit enter. The code then searches through the relevant tables one by one and populates a results table. Kath -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From cfoust at infostatsystems.com Fri Aug 19 10:47:45 2005 From: cfoust at infostatsystems.com (Charlotte Foust) Date: Fri, 19 Aug 2005 08:47:45 -0700 Subject: [AccessD] "Find" combo box searches more than one table Message-ID: I never understood what the user expected to "find" in such a search function. Did they want to know every table the value appeared in, did they want to magically "see" each record in some form? Are they expected a treeview showing all the hits in each record in each table? It isn't hard to find a value by walking the tables, but what did you want to do with the results? Charlotte Foust -----Original Message----- From: Klos, Susan [mailto:Susan.Klos at fldoe.org] Sent: Friday, August 19, 2005 8:27 AM To: accessd at databaseadvisors.com Subject: [AccessD] "Find" combo box searches more than one table Yes, Kath, I think that is what I am looking for. Can you send me a copy of the code? Susan Klos Senior Database Analyst Evaluation and Reporting Florida Department of Education 850-245-0708 sc 205-0708 Maybe Susan means that the users would like to have a 'search function' which will find something anywhere in the database. I have had that request before, eg. for a database that tracked travel agent wholesalers, travel agent retailers, suppliers, clients etc. Users would get an inquiry from someone and wanted to type in their name and find all instances anywhere in the system. It depends whether you need to populate a combo or not. In my case I created an unbound text box and users type in any part of the person's surname and hit enter. The code then searches through the relevant tables one by one and populates a results table. Kath -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From shamil at users.mns.ru Fri Aug 19 11:09:33 2005 From: shamil at users.mns.ru (Shamil Salakhetdinov) Date: Fri, 19 Aug 2005 20:09:33 +0400 Subject: [AccessD] OT: Why did Mac switch to Intel revisted References: <0ILG00CAK1DE5C@l-daemon><004701c5a482$793d9570$6401a8c0@fincomplex.spb.ru> <53c8e05a05081908257c783205@mail.gmail.com> Message-ID: <000f01c5a4d8$69f78ed0$6401a8c0@fincomplex.spb.ru> Josh, Do you mean VS.NET 2005 Beta 2 when you talk about Edit & Continue feature? You guess they will never be able to make it stable? (they managed to do that with VB6 and even in MS Access 2003 (although both VB6 and MS Access 2003 still may crash unexpectedly in complicated cases) - they will probably make it working stable somewhere in not that far future? No any hopes you think? By using reflection I mean injecting specific attributes BEFORE Just-in-time compilation, just as one of thr possible ways to do that, in fact it will not be needed probably because attributes will be inline with the source code... Did you try any of obfuscators or other methods to protect compiled code from reverse engineering? - I did - and I found they are good enough even the cheap ones, and expensive ones are very good. I have heard they made good progress with ATL in VS.NET 2005. But I can't judge here because I do use ATL a few. I didn't know that much about prioritizing threads to logical processors and HyperThreading. Yes, I may also say that what MS and Intel are doing now - a lot of that is deja' vue - they got acuiqred a lot of that from the companies they bought etc. but they are compiling all that stuff now and adding their own very well IMO and they are developing very promising new technologies on top of that "deja' vue" knowledge and experience. (and no, I was never "crazy" about technologies...) "Good software design policies" if I got that correctly is a very broad term Do you mean they can restrict also the quantity of attributes and methods of a class? If yes - could you please post an example of such software design ploicy here or give a reference to it, which also shows that it worked in a real life project? Shamil ----- Original Message ----- From: "Josh McFarlane" To: "Access Developers discussion and problem solving" Sent: Friday, August 19, 2005 7:25 PM Subject: Re: [AccessD] OT: Why did Mac switch to Intel revisted > On 8/19/05, Shamil Salakhetdinov wrote: > > And VS.NET is already using broadly declarative programming with > > attributes - to mark an object as an "independent entity" belonging to this > > or that category (read running on independent core) is by just adding some > > attributes to the object code. Even more - .NET Assemblies can be changed on > > the fly using Reflection therefore such attributes can be "injected" on > > run-time. Even more.... yes, what they are doing with C# 2.0 and what they > > plan to do with C# 3.0 - all that becoming more and more "crazy" and > > flexible - real SOFTware can be written using this current and coming > > development tools... > > > > Shamil > > The question you have to ask yourself is if the added reflection will > bring more problems than it fixes. Modifying already-running code has > never been one of Microsoft's strong points. The Edit and Continue > compiler of VS 2005 is horribly horribly buggy, but not much can be > done to fix it, as it doesn't crash at defined points, it just > randomly crashes everything, including the compiler and the program > that is running. > > Due to reflection and JIT compiling, .NET Assemblies are still very > reverse engineerable also, and tend to make it appear like a > Java-similar language. What I'd like to see Microsoft work more > towards is the actual refinement of their other libraries, which they > seem to have left in the dust in .NET. MFC and ATL still have huge > defficiencies in some of their classes (CSocket / CSocketFile / > CArchive comes to mind as a huge one that has never worked as > intented). > > Prioritizing threads to logical processors, and even restricting them, > is nothing particularly new. The commands were added when > HyperThreading first hit language support, and it's actually quite > easy to do both hardcoded and real-time. > > Good software design policies can always help make your software more > flexible and "crazy".High-level languages can make this apparent by > restricting the design policies you have control over, and making you > more dependant on the language rather than your own design ideas. > > Josh McFarlane > -- > 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 Aug 19 11:15:42 2005 From: Jim.Hale at FleetPride.com (Hale, Jim) Date: Fri, 19 Aug 2005 11:15:42 -0500 Subject: [AccessD] AS400 data upload (Lost in Translation) Message-ID: <6A6AA9DF57E4F046BDA1E273BDDB677233779F@corp-es01.fleetpride.com> I imported tables into Access from the AS400 using IBM's client Access ODBC driver. I updated the tables in Access, emptied the tables on the AS400 and uploaded the Updated Access data to the AS400 via an append query (the AS400 tables were linked via the ODBC driver). This worked fine except for one table. The table came from the AS400 with blank fields. When I tried to upload it back the AS400 puked saying I was trying to place nulls in the field. The AS400 guys tell me the AS400 does not have nulls, that the field is really a blank (hex 40?). How can I change my query so that the AS400 will accept it? Use an empty string? Use the ASC equivalent of hex 40? TIA Jim Hale *********************************************************************** The information transmitted is intended solely for the individual or entity to which it is addressed and may contain confidential and/or privileged material. Any review, retransmission, dissemination or other use of or taking action in reliance upon this information by persons or entities other than the intended recipient is prohibited. If you have received this email in error please contact the sender and delete the material from any computer. As a recipient of this email, you are responsible for screening its contents and the contents of any attachments for the presence of viruses. No liability is accepted for any damages caused by any virus transmitted by this email. From Jdemarco at hudsonhealthplan.org Fri Aug 19 11:43:20 2005 From: Jdemarco at hudsonhealthplan.org (Jim DeMarco) Date: Fri, 19 Aug 2005 12:43:20 -0400 Subject: [AccessD] OT : Friday Freebie Message-ID: <08F823FD83787D4BA0B99CA580AD3C74016C3CE9@TTNEXCHCL2.hshhp.com> Hello All, I'm in the process of revamping my web site but I posted a couple of new downloads one of which is very temporary (but I'll make available to this list for the rest of today). 1. A new drum solo by son Jimmy 2. The first completed track from my upcoming solo EP - this will be replaced by a short clip of the tune this evening so if you want it get it now Both are recorded at my home studio and I welcome comments from any recording enthusiasts (music fans are welcome to comment as well). Jimmy has been kind enough to record these solos to help me get my recording chops together. Everytime I get new gear he records another track for me!! The site you'll see is temporary so please NO comments on that!!! Enjoy, Jim (preparing to ride my motorcycle home in the rain) DeMarco *********************************************************************************** "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 marcus at tsstech.com Fri Aug 19 12:10:49 2005 From: marcus at tsstech.com (Scott Marcus) Date: Fri, 19 Aug 2005 13:10:49 -0400 Subject: [AccessD] OT : Friday Freebie Message-ID: And your website URL would be... Scott Marcus IT Programmer TSS Technologies Inc. www.tss.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Jim DeMarco Sent: Friday, August 19, 2005 12:43 PM To: Access Developers discussion and problem solving Subject: [AccessD] OT : Friday Freebie Hello All, I'm in the process of revamping my web site but I posted a couple of new downloads one of which is very temporary (but I'll make available to this list for the rest of today). 1. A new drum solo by son Jimmy 2. The first completed track from my upcoming solo EP - this will be replaced by a short clip of the tune this evening so if you want it get it now Both are recorded at my home studio and I welcome comments from any recording enthusiasts (music fans are welcome to comment as well). Jimmy has been kind enough to record these solos to help me get my recording chops together. Everytime I get new gear he records another track for me!! The site you'll see is temporary so please NO comments on that!!! Enjoy, Jim (preparing to ride my motorcycle home in the rain) DeMarco ************************************************************************ *********** "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 cyx5 at cdc.gov Fri Aug 19 12:13:10 2005 From: cyx5 at cdc.gov (Nicholson, Karen) Date: Fri, 19 Aug 2005 13:13:10 -0400 Subject: [AccessD] "Find" combo box searches more than one table Message-ID: In my case, I have part numbers that are stored in over 1000 different tables. Management wants to find a part number. It is not (yet) in a central location, but I am working on it. To find a part number, the person would have to know the manufacturer before they can find the part number. Management does not know that. -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Charlotte Foust Sent: Friday, August 19, 2005 11:48 AM To: Access Developers discussion and problem solving Subject: RE: [AccessD] "Find" combo box searches more than one table I never understood what the user expected to "find" in such a search function. Did they want to know every table the value appeared in, did they want to magically "see" each record in some form? Are they expected a treeview showing all the hits in each record in each table? It isn't hard to find a value by walking the tables, but what did you want to do with the results? Charlotte Foust -----Original Message----- From: Klos, Susan [mailto:Susan.Klos at fldoe.org] Sent: Friday, August 19, 2005 8:27 AM To: accessd at databaseadvisors.com Subject: [AccessD] "Find" combo box searches more than one table Yes, Kath, I think that is what I am looking for. Can you send me a copy of the code? Susan Klos Senior Database Analyst Evaluation and Reporting Florida Department of Education 850-245-0708 sc 205-0708 Maybe Susan means that the users would like to have a 'search function' which will find something anywhere in the database. I have had that request before, eg. for a database that tracked travel agent wholesalers, travel agent retailers, suppliers, clients etc. Users would get an inquiry from someone and wanted to type in their name and find all instances anywhere in the system. It depends whether you need to populate a combo or not. In my case I created an unbound text box and users type in any part of the person's surname and hit enter. The code then searches through the relevant tables one by one and populates a results table. Kath -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd 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 hudsonhealthplan.org Fri Aug 19 12:14:49 2005 From: Jdemarco at hudsonhealthplan.org (Jim DeMarco) Date: Fri, 19 Aug 2005 13:14:49 -0400 Subject: [AccessD] OT : Friday Freebie Message-ID: <08F823FD83787D4BA0B99CA580AD3C74016C3CEC@TTNEXCHCL2.hshhp.com> Details, details... http://www.rocktillyadrop.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Scott Marcus Sent: Friday, August 19, 2005 1:11 PM To: Access Developers discussion and problem solving Subject: RE: [AccessD] OT : Friday Freebie And your website URL would be... Scott Marcus IT Programmer TSS Technologies Inc. www.tss.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Jim DeMarco Sent: Friday, August 19, 2005 12:43 PM To: Access Developers discussion and problem solving Subject: [AccessD] OT : Friday Freebie Hello All, I'm in the process of revamping my web site but I posted a couple of new downloads one of which is very temporary (but I'll make available to this list for the rest of today). 1. A new drum solo by son Jimmy 2. The first completed track from my upcoming solo EP - this will be replaced by a short clip of the tune this evening so if you want it get it now Both are recorded at my home studio and I welcome comments from any recording enthusiasts (music fans are welcome to comment as well). Jimmy has been kind enough to record these solos to help me get my recording chops together. Everytime I get new gear he records another track for me!! The site you'll see is temporary so please NO comments on that!!! Enjoy, Jim (preparing to ride my motorcycle home in the rain) DeMarco ************************************************************************ *********** "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 Susan.Klos at fldoe.org Fri Aug 19 12:24:15 2005 From: Susan.Klos at fldoe.org (Klos, Susan) Date: Fri, 19 Aug 2005 13:24:15 -0400 Subject: [AccessD] (no subject) Message-ID: Once I have found the record in the table I want to open a form that shows me that record. Let me go back to my original problem. I have several tables of contacts. I have a form with a tabbed subform. Once I have used my find form to search my various contacts tables and found the contact, I want the first tab to show me all the data about the contact, then I want the second tab to show me the data from the phone conversations I have had with that contact. These are linked through a linking table by contactID. If the person I am trying to find is not in one of those contact tables, then I want the form to open up blank so I can type in the information which would be loaded into a different 'people' table. If anyone can help me on this, I would be very grateful. Thank.s Date: Fri, 19 Aug 2005 08:47:45 -0700 From: "Charlotte Foust" Subject: RE: [AccessD] "Find" combo box searches more than one table To: "Access Developers discussion and problem solving" Message-ID: Content-Type: text/plain; charset="us-ascii" I never understood what the user expected to "find" in such a search function. Did they want to know every table the value appeared in, did they want to magically "see" each record in some form? Are they expected a treeview showing all the hits in each record in each table? It isn't hard to find a value by walking the tables, but what did you want to do with the results? Charlotte Foust Susan Klos Senior Database Analyst Evaluation and Reporting Florida Department of Education 850-245-0708 sc 205-0708 From garykjos at gmail.com Fri Aug 19 13:01:53 2005 From: garykjos at gmail.com (Gary Kjos) Date: Fri, 19 Aug 2005 13:01:53 -0500 Subject: [AccessD] AS400 data upload (Lost in Translation) In-Reply-To: <6A6AA9DF57E4F046BDA1E273BDDB677233779F@corp-es01.fleetpride.com> References: <6A6AA9DF57E4F046BDA1E273BDDB677233779F@corp-es01.fleetpride.com> Message-ID: Hi Jim, I think not an empty string but a single space character surrounded by the appropriate quotation marks is what I would use. Hex 40 is EBCDIC for a space. ASCII space is hex 20. Evidently the space it originally contained got stripped as part of a "trim" trailing spaces that the file transfer did for you - which you would have preferred in this case that it hadn't done. Give it a space and you should be good to go. Gary On 8/19/05, Hale, Jim wrote: > I imported tables into Access from the AS400 using IBM's client Access ODBC > driver. I updated the tables in Access, emptied the tables on the AS400 and > uploaded the Updated Access data to the AS400 via an append query (the AS400 > tables were linked via the ODBC driver). This worked fine except for one > table. The table came from the AS400 with blank fields. When I tried to > upload it back the AS400 puked saying I was trying to place nulls in the > field. The AS400 guys tell me the AS400 does not have nulls, that the field > is really a blank (hex 40?). How can I change my query so that the AS400 > will accept it? Use an empty string? Use the ASC equivalent of hex 40? TIA > > Jim Hale > > *********************************************************************** > The information transmitted is intended solely for the individual or > entity to which it is addressed and may contain confidential and/or > privileged material. Any review, retransmission, dissemination or > other use of or taking action in reliance upon this information by > persons or entities other than the intended recipient is prohibited. > If you have received this email in error please contact the sender and > delete the material from any computer. As a recipient of this email, > you are responsible for screening its contents and the contents of any > attachments for the presence of viruses. No liability is accepted for > any damages caused by any virus transmitted by this email. > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > > > -- Gary Kjos garykjos at gmail.com From Jim.Hale at FleetPride.com Fri Aug 19 13:13:14 2005 From: Jim.Hale at FleetPride.com (Hale, Jim) Date: Fri, 19 Aug 2005 13:13:14 -0500 Subject: [AccessD] (no subject) Message-ID: <6A6AA9DF57E4F046BDA1E273BDDB67723377A0@corp-es01.fleetpride.com> If the contact tables have the same structure why not create a union query and in the criteria put the key of the record you are looking for so the result set would have the record(s) you want. Jim Hale -----Original Message----- From: Klos, Susan [mailto:Susan.Klos at fldoe.org] Sent: Friday, August 19, 2005 12:24 PM To: accessd at databaseadvisors.com Subject: [AccessD] (no subject) Once I have found the record in the table I want to open a form that shows me that record. Let me go back to my original problem. I have several tables of contacts. I have a form with a tabbed subform. Once I have used my find form to search my various contacts tables and found the contact, I want the first tab to show me all the data about the contact, then I want the second tab to show me the data from the phone conversations I have had with that contact. These are linked through a linking table by contactID. If the person I am trying to find is not in one of those contact tables, then I want the form to open up blank so I can type in the information which would be loaded into a different 'people' table. If anyone can help me on this, I would be very grateful. Thank.s Date: Fri, 19 Aug 2005 08:47:45 -0700 From: "Charlotte Foust" Subject: RE: [AccessD] "Find" combo box searches more than one table To: "Access Developers discussion and problem solving" Message-ID: Content-Type: text/plain; charset="us-ascii" I never understood what the user expected to "find" in such a search function. Did they want to know every table the value appeared in, did they want to magically "see" each record in some form? Are they expected a treeview showing all the hits in each record in each table? It isn't hard to find a value by walking the tables, but what did you want to do with the results? Charlotte Foust Susan Klos Senior Database Analyst Evaluation and Reporting Florida Department of Education 850-245-0708 sc 205-0708 -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com *********************************************************************** The information transmitted is intended solely for the individual or entity to which it is addressed and may contain confidential and/or privileged material. Any review, retransmission, dissemination or other use of or taking action in reliance upon this information by persons or entities other than the intended recipient is prohibited. If you have received this email in error please contact the sender and delete the material from any computer. As a recipient of this email, you are responsible for screening its contents and the contents of any attachments for the presence of viruses. No liability is accepted for any damages caused by any virus transmitted by this email. From Jim.Hale at FleetPride.com Fri Aug 19 13:14:29 2005 From: Jim.Hale at FleetPride.com (Hale, Jim) Date: Fri, 19 Aug 2005 13:14:29 -0500 Subject: [AccessD] AS400 data upload (Lost in Translation) Message-ID: <6A6AA9DF57E4F046BDA1E273BDDB67723377A1@corp-es01.fleetpride.com> Thanks! Jim Hale -----Original Message----- From: Gary Kjos [mailto:garykjos at gmail.com] Sent: Friday, August 19, 2005 1:02 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] AS400 data upload (Lost in Translation) Hi Jim, I think not an empty string but a single space character surrounded by the appropriate quotation marks is what I would use. Hex 40 is EBCDIC for a space. ASCII space is hex 20. Evidently the space it originally contained got stripped as part of a "trim" trailing spaces that the file transfer did for you - which you would have preferred in this case that it hadn't done. Give it a space and you should be good to go. Gary On 8/19/05, Hale, Jim wrote: > I imported tables into Access from the AS400 using IBM's client Access ODBC > driver. I updated the tables in Access, emptied the tables on the AS400 and > uploaded the Updated Access data to the AS400 via an append query (the AS400 > tables were linked via the ODBC driver). This worked fine except for one > table. The table came from the AS400 with blank fields. When I tried to > upload it back the AS400 puked saying I was trying to place nulls in the > field. The AS400 guys tell me the AS400 does not have nulls, that the field > is really a blank (hex 40?). How can I change my query so that the AS400 > will accept it? Use an empty string? Use the ASC equivalent of hex 40? TIA > > Jim Hale > > *********************************************************************** > The information transmitted is intended solely for the individual or > entity to which it is addressed and may contain confidential and/or > privileged material. Any review, retransmission, dissemination or > other use of or taking action in reliance upon this information by > persons or entities other than the intended recipient is prohibited. > If you have received this email in error please contact the sender and > delete the material from any computer. As a recipient of this email, > you are responsible for screening its contents and the contents of any > attachments for the presence of viruses. No liability is accepted for > any damages caused by any virus transmitted by this email. > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > > > -- Gary Kjos garykjos at gmail.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com *********************************************************************** The information transmitted is intended solely for the individual or entity to which it is addressed and may contain confidential and/or privileged material. Any review, retransmission, dissemination or other use of or taking action in reliance upon this information by persons or entities other than the intended recipient is prohibited. If you have received this email in error please contact the sender and delete the material from any computer. As a recipient of this email, you are responsible for screening its contents and the contents of any attachments for the presence of viruses. No liability is accepted for any damages caused by any virus transmitted by this email. From darsant at gmail.com Fri Aug 19 13:40:34 2005 From: darsant at gmail.com (Josh McFarlane) Date: Fri, 19 Aug 2005 13:40:34 -0500 Subject: [AccessD] OT: Why did Mac switch to Intel revisted In-Reply-To: <000f01c5a4d8$69f78ed0$6401a8c0@fincomplex.spb.ru> References: <0ILG00CAK1DE5C@l-daemon> <004701c5a482$793d9570$6401a8c0@fincomplex.spb.ru> <53c8e05a05081908257c783205@mail.gmail.com> <000f01c5a4d8$69f78ed0$6401a8c0@fincomplex.spb.ru> Message-ID: <53c8e05a0508191140494fb148@mail.gmail.com> On 8/19/05, Shamil Salakhetdinov wrote: > Josh, > > Do you mean VS.NET 2005 Beta 2 when you talk about Edit & Continue feature? > You guess they will never be able to make it stable? (they managed to do > that with VB6 and even in MS Access 2003 (although both VB6 and MS Access > 2003 still may crash unexpectedly in complicated cases) - they will probably > make it working stable somewhere in not that far future? No any hopes you > think? Well, I'm using it mainly in reference to VC++, and having tried it on VS.NET 2002, 2003, and now 2005, they all have inherient crash issues even when doing simple things (for example, the crash I described can even happen when you just begin to type on a line while the program is at a breakpoint. > By using reflection I mean injecting specific attributes BEFORE Just-in-time > compilation, just as one of thr possible ways to do that, in fact it will > not be needed probably because attributes will be inline with the source > code... Ah, I misunderstood you there. > Did you try any of obfuscators or other methods to protect compiled code > from reverse engineering? - I did - and I found they are good enough even > the cheap ones, and expensive ones are very good. I've tried a few different ones, and while some parts of the code would be obfuscatied, core components such as algorithms were still semi-reproducable in some test cases. Granted, this was a little bit ago and they may have made improvements to the obfuscators now. > I have heard they made good progress with ATL in VS.NET 2005. But I can't > judge here because I do use ATL a few. > I didn't know that much about prioritizing threads to logical processors and > HyperThreading. Basically the way the multicore processors work at this moment (at least to the current library of MS code) is that they are just treated as hyper-threading processors. If you search the MSDN docs you should be able to find easy ways to build this implementation in. > "Good software design policies" if I got that correctly is a very broad term > Do you mean they can restrict also the quantity of attributes and methods of > a class? If yes - could you please post an example of such software design > ploicy here or give a reference to it, which also shows that it worked in a > real life project? Well, the classic example I like to use is the garbage collector. Normally in C++ you handle allocation / deallocation of objects on the heap yourself. In managed C++ with .NET you can use the garbage collector so you don't have to worry about memory leaks from heap allocated objects, restricting you from a common easy error, but at the cost of speed and efficiency. I wasn't trying to promote the .NET as a restrictive language. I was trying to state that MS and others can make framework seem more flexible and easier to maintain, but that the same effect can also be achieved by good coding practices and software design policy. In the example of the garbage collector: It is unnecessary to use the collector if you manage your resources of your classes and code properly so that you do not leak any resources. Microsoft seems to be taking the approach towards creating an easier-to-use interface (.NET) and it seems that the more default customizable interfaces are being left in the dust because of it. -- Josh McFarlane "Peace cannot be kept by force. It can only be achieved by understanding." -Albert Einstein From cfoust at infostatsystems.com Fri Aug 19 13:46:05 2005 From: cfoust at infostatsystems.com (Charlotte Foust) Date: Fri, 19 Aug 2005 11:46:05 -0700 Subject: [AccessD] (no subject) Message-ID: So do you have forms that match all the various table data structures to use in displaying that record? Or do you have multiple tables that are all the same structure with merely different data in them (NAUGHTY!!)? Actually even if you have different data structures, you should have a single "people" table that contains the part of the data structure that will be consistent for all different types of people in your database. If you have special data to capture about a particular kind of "people" that can be captured in a separate table. That would simplifiy your life a lot when it came to finding someone, since regardless of their category, the basic information would all be in one table. Charlotte Foust -----Original Message----- From: Klos, Susan [mailto:Susan.Klos at fldoe.org] Sent: Friday, August 19, 2005 10:24 AM To: accessd at databaseadvisors.com Subject: [AccessD] (no subject) Once I have found the record in the table I want to open a form that shows me that record. Let me go back to my original problem. I have several tables of contacts. I have a form with a tabbed subform. Once I have used my find form to search my various contacts tables and found the contact, I want the first tab to show me all the data about the contact, then I want the second tab to show me the data from the phone conversations I have had with that contact. These are linked through a linking table by contactID. If the person I am trying to find is not in one of those contact tables, then I want the form to open up blank so I can type in the information which would be loaded into a different 'people' table. If anyone can help me on this, I would be very grateful. Thank.s Date: Fri, 19 Aug 2005 08:47:45 -0700 From: "Charlotte Foust" Subject: RE: [AccessD] "Find" combo box searches more than one table To: "Access Developers discussion and problem solving" Message-ID: Content-Type: text/plain; charset="us-ascii" I never understood what the user expected to "find" in such a search function. Did they want to know every table the value appeared in, did they want to magically "see" each record in some form? Are they expected a treeview showing all the hits in each record in each table? It isn't hard to find a value by walking the tables, but what did you want to do with the results? Charlotte Foust Susan Klos Senior Database Analyst Evaluation and Reporting Florida Department of Education 850-245-0708 sc 205-0708 -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From BarbaraRyan at cox.net Fri Aug 19 13:51:50 2005 From: BarbaraRyan at cox.net (Barbara Ryan) Date: Fri, 19 Aug 2005 14:51:50 -0400 Subject: [AccessD] Close All Forms Message-ID: <00cb01c5a4ef$0f3fb6e0$0a00a8c0@cx470148a> I have used the following code successfully in Access 97 to close all forms when a specific function key is pressed. However, in Access 2002, this code causes the error box to appear (with the 2 options to send an error report to Microsoft or not) and then closes Access. Does anyone know why? Function CloseAllForms() Dim i As Integer ' Loop through the collection of open forms and close them (except for the main menu) If Forms.Count > 0 Then For i = Forms.Count - 1 To 0 Step -1 If Forms(i).Name <> "frmMainMenu" Then DoCmd.Close acForm, Forms(i).Name End If Next i End If End Function Thanks, Barb Ryan From darsant at gmail.com Fri Aug 19 13:50:54 2005 From: darsant at gmail.com (Josh McFarlane) Date: Fri, 19 Aug 2005 13:50:54 -0500 Subject: [AccessD] Close All Forms In-Reply-To: <00cb01c5a4ef$0f3fb6e0$0a00a8c0@cx470148a> References: <00cb01c5a4ef$0f3fb6e0$0a00a8c0@cx470148a> Message-ID: <53c8e05a0508191150df2f4af@mail.gmail.com> On 8/19/05, Barbara Ryan wrote: > I have used the following code successfully in Access 97 to close all forms when a specific function key is pressed. However, in Access 2002, this code causes the error box to appear (with the 2 options to send an error report to Microsoft or not) and then closes Access. Does anyone know why? > > Function CloseAllForms() > Dim i As Integer > ' Loop through the collection of open forms and close them (except for the main menu) > If Forms.Count > 0 Then > For i = Forms.Count - 1 To 0 Step -1 > If Forms(i).Name <> "frmMainMenu" Then > DoCmd.Close acForm, Forms(i).Name > End If > Next i > End If > End Function Can you trace the specific line that it dies on? (IE Set a breakpoint on DoCmd and see if it ever fires for each form.) -- Josh McFarlane "Peace cannot be kept by force. It can only be achieved by understanding." -Albert Einstein From BarbaraRyan at cox.net Fri Aug 19 14:11:13 2005 From: BarbaraRyan at cox.net (Barbara Ryan) Date: Fri, 19 Aug 2005 15:11:13 -0400 Subject: [AccessD] Close All Forms References: <00cb01c5a4ef$0f3fb6e0$0a00a8c0@cx470148a> <53c8e05a0508191150df2f4af@mail.gmail.com> Message-ID: <00f201c5a4f1$c41f8200$0a00a8c0@cx470148a> It dies after the "End Function" line is executed. ----- Original Message ----- From: "Josh McFarlane" To: "Access Developers discussion and problem solving" Sent: Friday, August 19, 2005 2:50 PM Subject: Re: [AccessD] Close All Forms > On 8/19/05, Barbara Ryan wrote: > > I have used the following code successfully in Access 97 to close all forms when a specific function key is pressed. However, in Access 2002, this code causes the error box to appear (with the 2 options to send an error report to Microsoft or not) and then closes Access. Does anyone know why? > > > > Function CloseAllForms() > > Dim i As Integer > > ' Loop through the collection of open forms and close them (except for the main menu) > > If Forms.Count > 0 Then > > For i = Forms.Count - 1 To 0 Step -1 > > If Forms(i).Name <> "frmMainMenu" Then > > DoCmd.Close acForm, Forms(i).Name > > End If > > Next i > > End If > > End Function > > Can you trace the specific line that it dies on? (IE Set a breakpoint > on DoCmd and see if it ever fires for each form.) > > -- > Josh McFarlane > > "Peace cannot be kept by force. It can only be achieved by understanding." > -Albert Einstein > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com From bheid at appdevgrp.com Fri Aug 19 14:14:34 2005 From: bheid at appdevgrp.com (Bobby Heid) Date: Fri, 19 Aug 2005 15:14:34 -0400 Subject: [AccessD] Close All Forms In-Reply-To: <916187228923D311A6FE00A0CC3FAA30C5E9C5@ADGSERVER> Message-ID: <916187228923D311A6FE00A0CC3FAA30ABEE82@ADGSERVER> Is it possible it is closing one of the standard access windows? Bobby -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Barbara Ryan Sent: Friday, August 19, 2005 3:11 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Close All Forms It dies after the "End Function" line is executed. From BarbaraRyan at cox.net Fri Aug 19 14:35:34 2005 From: BarbaraRyan at cox.net (Barbara Ryan) Date: Fri, 19 Aug 2005 15:35:34 -0400 Subject: [AccessD] Close All Forms References: <916187228923D311A6FE00A0CC3FAA30ABEE82@ADGSERVER> Message-ID: <011101c5a4f5$2aec5000$0a00a8c0@cx470148a> I don't know..... is there something new in Access 2002 that would allow this? Barb ----- Original Message ----- From: "Bobby Heid" To: "'Access Developers discussion and problem solving'" Sent: Friday, August 19, 2005 3:14 PM Subject: RE: [AccessD] Close All Forms > Is it possible it is closing one of the standard access windows? > > Bobby > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Barbara Ryan > Sent: Friday, August 19, 2005 3:11 PM > To: Access Developers discussion and problem solving > Subject: Re: [AccessD] Close All Forms > > > It dies after the "End Function" line is executed. > > > -- > 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 Aug 19 14:35:53 2005 From: Jim.Hale at FleetPride.com (Hale, Jim) Date: Fri, 19 Aug 2005 14:35:53 -0500 Subject: [AccessD] Close All Forms Message-ID: <6A6AA9DF57E4F046BDA1E273BDDB67723377A3@corp-es01.fleetpride.com> Aren't you iterating through the entire forms collection? So even if a form is closed you are attempting to close it? How about Function CloseAllForms() Dim i As Integer, strFrmName as string ' Loop through the collection of open forms and close them (except for the main menu) If Forms.Count > 0 Then For i = Forms.Count - 1 To 0 Step -1 strFrmName=Forms(i).Name If strFrmName <> "frmMainMenu" Then If IsFormOpen(strFrmName)= true then DoCmd.Close acForm, strFrmName End If Next i End If End Function Public Function IsFormOpen(strFormName As String) As Boolean On Error GoTo PROC_ERR IsFormOpen = (SysCmd(acSysCmdGetObjectState, acForm, strFormName) <> 0) PROC_EXIT: Exit Function PROC_ERR: MsgBox "Error: " & Err.Number & ". " & Err.Description, , _ "IsFormOpen" Resume PROC_EXIT End Function Jim Hale -----Original Message----- From: Barbara Ryan [mailto:BarbaraRyan at cox.net] Sent: Friday, August 19, 2005 2:11 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Close All Forms It dies after the "End Function" line is executed. ----- Original Message ----- From: "Josh McFarlane" To: "Access Developers discussion and problem solving" Sent: Friday, August 19, 2005 2:50 PM Subject: Re: [AccessD] Close All Forms > On 8/19/05, Barbara Ryan wrote: > > I have used the following code successfully in Access 97 to close all forms when a specific function key is pressed. However, in Access 2002, this code causes the error box to appear (with the 2 options to send an error report to Microsoft or not) and then closes Access. Does anyone know why? > > > > Function CloseAllForms() > > Dim i As Integer > > ' Loop through the collection of open forms and close them (except for the main menu) > > If Forms.Count > 0 Then > > For i = Forms.Count - 1 To 0 Step -1 > > If Forms(i).Name <> "frmMainMenu" Then > > DoCmd.Close acForm, Forms(i).Name > > End If > > Next i > > End If > > End Function > > Can you trace the specific line that it dies on? (IE Set a breakpoint > on DoCmd and see if it ever fires for each form.) > > -- > Josh McFarlane > > "Peace cannot be kept by force. It can only be achieved by understanding." > -Albert Einstein > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com *********************************************************************** The information transmitted is intended solely for the individual or entity to which it is addressed and may contain confidential and/or privileged material. Any review, retransmission, dissemination or other use of or taking action in reliance upon this information by persons or entities other than the intended recipient is prohibited. If you have received this email in error please contact the sender and delete the material from any computer. As a recipient of this email, you are responsible for screening its contents and the contents of any attachments for the presence of viruses. No liability is accepted for any damages caused by any virus transmitted by this email. From BarbaraRyan at cox.net Fri Aug 19 15:09:45 2005 From: BarbaraRyan at cox.net (Barbara Ryan) Date: Fri, 19 Aug 2005 16:09:45 -0400 Subject: [AccessD] Close All Forms References: <6A6AA9DF57E4F046BDA1E273BDDB67723377A3@corp-es01.fleetpride.com> Message-ID: <013b01c5a4fa$0c88d340$0a00a8c0@cx470148a> Forms.Count is equal to the number of open forms, so if 3 forms are open, the For loop executes 3 times.. Barb ----- Original Message ----- From: "Hale, Jim" To: "'Access Developers discussion and problem solving'" Sent: Friday, August 19, 2005 3:35 PM Subject: RE: [AccessD] Close All Forms > Aren't you iterating through the entire forms collection? So even if a form > is closed you are attempting to close it? > How about > Function CloseAllForms() > Dim i As Integer, strFrmName as string > ' Loop through the collection of open forms and close them (except > for the main menu) > If Forms.Count > 0 Then > For i = Forms.Count - 1 To 0 Step -1 > strFrmName=Forms(i).Name > If strFrmName <> "frmMainMenu" Then > If IsFormOpen(strFrmName)= true then DoCmd.Close > acForm, strFrmName > End If > Next i > End If > End Function > > Public Function IsFormOpen(strFormName As String) As Boolean > On Error GoTo PROC_ERR > > IsFormOpen = (SysCmd(acSysCmdGetObjectState, acForm, strFormName) <> 0) > > PROC_EXIT: > Exit Function > > PROC_ERR: > MsgBox "Error: " & Err.Number & ". " & Err.Description, , _ > "IsFormOpen" > Resume PROC_EXIT > > End Function > > Jim Hale > > -----Original Message----- > From: Barbara Ryan [mailto:BarbaraRyan at cox.net] > Sent: Friday, August 19, 2005 2:11 PM > To: Access Developers discussion and problem solving > Subject: Re: [AccessD] Close All Forms > > > It dies after the "End Function" line is executed. > > > ----- Original Message ----- > From: "Josh McFarlane" > To: "Access Developers discussion and problem solving" > > Sent: Friday, August 19, 2005 2:50 PM > Subject: Re: [AccessD] Close All Forms > > > > On 8/19/05, Barbara Ryan wrote: > > > I have used the following code successfully in Access 97 to close all > forms when a specific function key is pressed. However, in Access 2002, > this code causes the error box to appear (with the 2 options to send an > error report to Microsoft or not) and then closes Access. Does anyone know > why? > > > > > > Function CloseAllForms() > > > Dim i As Integer > > > ' Loop through the collection of open forms and close them > (except for the main menu) > > > If Forms.Count > 0 Then > > > For i = Forms.Count - 1 To 0 Step -1 > > > If Forms(i).Name <> "frmMainMenu" Then > > > DoCmd.Close acForm, Forms(i).Name > > > End If > > > Next i > > > End If > > > End Function > > > > Can you trace the specific line that it dies on? (IE Set a breakpoint > > on DoCmd and see if it ever fires for each form.) > > > > -- > > Josh McFarlane > > > > "Peace cannot be kept by force. It can only be achieved by understanding." > > -Albert Einstein > > -- > > AccessD mailing list > > AccessD at databaseadvisors.com > > http://databaseadvisors.com/mailman/listinfo/accessd > > Website: http://www.databaseadvisors.com > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > > *********************************************************************** > The information transmitted is intended solely for the individual or > entity to which it is addressed and may contain confidential and/or > privileged material. Any review, retransmission, dissemination or > other use of or taking action in reliance upon this information by > persons or entities other than the intended recipient is prohibited. > If you have received this email in error please contact the sender and > delete the material from any computer. As a recipient of this email, > you are responsible for screening its contents and the contents of any > attachments for the presence of viruses. No liability is accepted for > any damages caused by any virus transmitted by this email. ---------------------------------------------------------------------------- ---- > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > From shamil at users.mns.ru Fri Aug 19 15:28:29 2005 From: shamil at users.mns.ru (Shamil Salakhetdinov) Date: Sat, 20 Aug 2005 00:28:29 +0400 Subject: [AccessD] OT: Why did Mac switch to Intel revisted References: <0ILG00CAK1DE5C@l-daemon><004701c5a482$793d9570$6401a8c0@fincomplex.spb.ru><53c8e05a05081908257c783205@mail.gmail.com><000f01c5a4d8$69f78ed0$6401a8c0@fincomplex.spb.ru> <53c8e05a0508191140494fb148@mail.gmail.com> Message-ID: <001501c5a4fc$91e38c90$6401a8c0@fincomplex.spb.ru> > the crash I described can > even happen when you just begin to type on a line while the program is > at a breakpoint. They probably reuse some MS Access 97 interpretator code - just kidding :) Seriously they had similar problem in MS Access 97, in MS Access 2000 it was better, in MS Access XP/2003 it's even better but they disallowed to save modules in MS Acces while debugging in "Edit & Continue" mode. MS Acces 2003 is still crashing in complicated cases of "Edit & Continue" and you never know when... (And in MS Access 97 it was exactly like you describe - as soon as you start typing it crashes. Another famous problem when the last edited line of "Edit and Continue" mode in MS Access 97 was lost etc - never believe them! In fact eXtreme Programming is an answer here too - XP doesn't need Edit and continue development mode... > Granted, this was a little bit > ago and they may have made improvements to the obfuscators now. I did use/try several obfuscators this spring (April) - the best of them make code absolutely unreproducable I think. After tests my customer decided that Xenocode in standard mode ($99) is good enough. >If you search the MSDN docs you should >be able to find easy ways to build this implementation in. OK, thanks, I will read about that... > restricting you from a common easy error, but at > the cost of speed and efficiency. But if the code doesn't have custom memory allocation/deallocation calls i.e. it uses garbage collector like .NET then by definition it should be more efficient - right? Or do you mean that .NET garbage collector is slow? > In the example of the garbage collector: It is unnecessary to use the > collector if you manage your resources of your classes and code > properly so that you do not leak any resources. Well, the cost to manage resources properly is high - I did do that in MS Access 97/2000/XP/2003 and VB6 and in C/C++/Delphi. Automaic intelligent garbage collector is a real "life saver". Of course in complicated cases one has to force resources deallocation - .NET has IDisposable interface for that as it's well known.... > I wasn't trying to promote the .NET as a restrictive language. I was > trying to state that MS and others can make framework seem more > flexible and easier to maintain, but that the same effect can also be > achieved by good coding practices and software design policy. We probably talk about different subjects here - when I asked "how do you will restrict the quantity of attributes and methods of a class using good coding pratices and software design policy?" (this is what happening "automagically" when one uses XP and classical behavioral OO design and development) I meant that there is no probably any other good coding practice and software design policy except XP, which allows to do that so flexibly and almost seamlessly - of course this work needs really "high pilotage design & development experience" - I'm not there yet, rather far from there I think.... Whatever else good coding design practice and software design policy one invents they inevitably go XP way - that's what I meant.... As for .NET Framework vs. something "home made" - I'm not MS advocate but I'd say that programming in VS.NET is like a "dream come true" - finally, after 20+ years of my programming experience... Shamil ----- Original Message ----- From: "Josh McFarlane" To: "Access Developers discussion and problem solving" Sent: Friday, August 19, 2005 10:40 PM Subject: Re: [AccessD] OT: Why did Mac switch to Intel revisted > On 8/19/05, Shamil Salakhetdinov wrote: > > Josh, > > > > Do you mean VS.NET 2005 Beta 2 when you talk about Edit & Continue feature? > > You guess they will never be able to make it stable? (they managed to do > > that with VB6 and even in MS Access 2003 (although both VB6 and MS Access > > 2003 still may crash unexpectedly in complicated cases) - they will probably > > make it working stable somewhere in not that far future? No any hopes you > > think? > > Well, I'm using it mainly in reference to VC++, and having tried it on > VS.NET 2002, 2003, and now 2005, they all have inherient crash issues > even when doing simple things (for example, the crash I described can > even happen when you just begin to type on a line while the program is > at a breakpoint. > > > By using reflection I mean injecting specific attributes BEFORE Just-in-time > > compilation, just as one of thr possible ways to do that, in fact it will > > not be needed probably because attributes will be inline with the source > > code... > > Ah, I misunderstood you there. > > > Did you try any of obfuscators or other methods to protect compiled code > > from reverse engineering? - I did - and I found they are good enough even > > the cheap ones, and expensive ones are very good. > > I've tried a few different ones, and while some parts of the code > would be obfuscatied, core components such as algorithms were still > semi-reproducable in some test cases. Granted, this was a little bit > ago and they may have made improvements to the obfuscators now. > > > I have heard they made good progress with ATL in VS.NET 2005. But I can't > > judge here because I do use ATL a few. > > I didn't know that much about prioritizing threads to logical processors and > > HyperThreading. > > Basically the way the multicore processors work at this moment (at > least to the current library of MS code) is that they are just treated > as hyper-threading processors. If you search the MSDN docs you should > be able to find easy ways to build this implementation in. > > > > "Good software design policies" if I got that correctly is a very broad term > > Do you mean they can restrict also the quantity of attributes and methods of > > a class? If yes - could you please post an example of such software design > > ploicy here or give a reference to it, which also shows that it worked in a > > real life project? > > Well, the classic example I like to use is the garbage collector. > Normally in C++ you handle allocation / deallocation of objects on the > heap yourself. In managed C++ with .NET you can use the garbage > collector so you don't have to worry about memory leaks from heap > allocated objects, restricting you from a common easy error, but at > the cost of speed and efficiency. > > I wasn't trying to promote the .NET as a restrictive language. I was > trying to state that MS and others can make framework seem more > flexible and easier to maintain, but that the same effect can also be > achieved by good coding practices and software design policy. > > In the example of the garbage collector: It is unnecessary to use the > collector if you manage your resources of your classes and code > properly so that you do not leak any resources. > > Microsoft seems to be taking the approach towards creating an > easier-to-use interface (.NET) and it seems that the more default > customizable interfaces are being left in the dust because of it. > > -- > Josh McFarlane > "Peace cannot be kept by force. It can only be achieved by understanding." > -Albert Einstein > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com From cfoust at infostatsystems.com Fri Aug 19 15:36:24 2005 From: cfoust at infostatsystems.com (Charlotte Foust) Date: Fri, 19 Aug 2005 13:36:24 -0700 Subject: [AccessD] Close All Forms Message-ID: Is there any particular reason you're using a reverse step in this? Have you tried it like this: For i = 0 to Forms.Count - 1 If Forms(i).Name <> "frmMainMenu" Then DoCmd.Close acForm, Forms(i).Name End If Next i Does that also bail out on End Function? Charlotte Foust -----Original Message----- From: Barbara Ryan [mailto:BarbaraRyan at cox.net] Sent: Friday, August 19, 2005 11:52 AM To: Access List Subject: [AccessD] Close All Forms I have used the following code successfully in Access 97 to close all forms when a specific function key is pressed. However, in Access 2002, this code causes the error box to appear (with the 2 options to send an error report to Microsoft or not) and then closes Access. Does anyone know why? Function CloseAllForms() Dim i As Integer ' Loop through the collection of open forms and close them (except for the main menu) If Forms.Count > 0 Then For i = Forms.Count - 1 To 0 Step -1 If Forms(i).Name <> "frmMainMenu" Then DoCmd.Close acForm, Forms(i).Name End If Next i End If End Function Thanks, Barb Ryan -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From Lambert.Heenan at AIG.com Fri Aug 19 16:14:02 2005 From: Lambert.Heenan at AIG.com (Heenan, Lambert) Date: Fri, 19 Aug 2005 17:14:02 -0400 Subject: [AccessD] Close All Forms Message-ID: <1D7828CDB8350747AFE9D69E0E90DA1F1484BE41@xlivmbx21.aig.com> It's normal practice to go in reverse when destroying items in a collection. Here's why... Say there are three forms open. With this code For i = Forms.Count - 1 To 0 Step -1 On the first time through Forms.Count - 1 is evaluated as 2, and I is set to 2. Then DoCmd.Close acForm, Forms(i).Name will close some form in the collection (which is closed is unspecified as collections are not sorted). Next time round the loop i is set to 1 and another form is closed. Etc. etc. But if we try doing this in a 'forward' direction we have... For i = 0 to Forms.Count - 1 If Forms(i).Name <> "frmMainMenu" Then DoCmd.Close acForm, Forms(i).Name End If Next i First time round Count = 3, i is set to 0 and "forms(0)" closes. Next time round Count = 2, i = 1 and "forms(1)" closes Next time round Count = 1, i = 2 and "Forms(2).Name" generates an error 2456, "The number you user to refer to the form is invalid", which is the collection's equivalent of "Subscript out of range" The For loop is optimized by the compiler so that the termination condition (Forms.Count-1) is only evaluated once. That's why you do it in reverse. None of this explains why Barbara is seeing Access crash though. Her code is totally legitimate. It's not even anything to do with the fact that the 'Function' does not return a value. I'm sure she's set it up like that so it can be called from an AutoKey macro. So we are left with the possibility that the applications p-code is corrupt. Time to back it up, then decompile and compact. With any luck that will fix it. If not, import all the objects into a new database. Lambert -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Charlotte Foust Sent: Friday, August 19, 2005 4:36 PM To: Access Developers discussion and problem solving Subject: RE: [AccessD] Close All Forms Is there any particular reason you're using a reverse step in this? Have you tried it like this: For i = 0 to Forms.Count - 1 If Forms(i).Name <> "frmMainMenu" Then DoCmd.Close acForm, Forms(i).Name End If Next i Does that also bail out on End Function? Charlotte Foust -----Original Message----- From: Barbara Ryan [mailto:BarbaraRyan at cox.net] Sent: Friday, August 19, 2005 11:52 AM To: Access List Subject: [AccessD] Close All Forms I have used the following code successfully in Access 97 to close all forms when a specific function key is pressed. However, in Access 2002, this code causes the error box to appear (with the 2 options to send an error report to Microsoft or not) and then closes Access. Does anyone know why? Function CloseAllForms() Dim i As Integer ' Loop through the collection of open forms and close them (except for the main menu) If Forms.Count > 0 Then For i = Forms.Count - 1 To 0 Step -1 If Forms(i).Name <> "frmMainMenu" Then DoCmd.Close acForm, Forms(i).Name End If Next i End If End Function Thanks, Barb Ryan -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From BarbaraRyan at cox.net Fri Aug 19 16:27:25 2005 From: BarbaraRyan at cox.net (Barbara Ryan) Date: Fri, 19 Aug 2005 17:27:25 -0400 Subject: [AccessD] Close All Forms References: Message-ID: <015401c5a504$cb6d0920$0a00a8c0@cx470148a> That blew up, too. The code has a reverse step only because I copied it from someone else! Barb ----- Original Message ----- From: "Charlotte Foust" To: "Access Developers discussion and problem solving" Sent: Friday, August 19, 2005 4:36 PM Subject: RE: [AccessD] Close All Forms > Is there any particular reason you're using a reverse step in this? > Have you tried it like this: > > For i = 0 to Forms.Count - 1 > If Forms(i).Name <> "frmMainMenu" Then > DoCmd.Close acForm, Forms(i).Name > End If > Next i > > Does that also bail out on End Function? > > Charlotte Foust > > > -----Original Message----- > From: Barbara Ryan [mailto:BarbaraRyan at cox.net] > Sent: Friday, August 19, 2005 11:52 AM > To: Access List > Subject: [AccessD] Close All Forms > > > I have used the following code successfully in Access 97 to close all > forms when a specific function key is pressed. However, in Access 2002, > this code causes the error box to appear (with the 2 options to send an > error report to Microsoft or not) and then closes Access. Does anyone > know why? > > Function CloseAllForms() > Dim i As Integer > ' Loop through the collection of open forms and close them > (except for the main menu) > If Forms.Count > 0 Then > For i = Forms.Count - 1 To 0 Step -1 > If Forms(i).Name <> "frmMainMenu" Then > DoCmd.Close acForm, Forms(i).Name > End If > Next i > End If > End Function > > Thanks, > Barb Ryan > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com From accessd at shaw.ca Fri Aug 19 16:32:09 2005 From: accessd at shaw.ca (Jim Lawrence) Date: Fri, 19 Aug 2005 14:32:09 -0700 Subject: [AccessD] Close All Forms In-Reply-To: <00f201c5a4f1$c41f8200$0a00a8c0@cx470148a> Message-ID: <0ILH00F0ANTJP0@l-daemon> It wouldn't be because you have just closed the form that you are on or have called this function from and the system is having a problem getting back?? HTH Jim -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Barbara Ryan Sent: Friday, August 19, 2005 12:11 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Close All Forms It dies after the "End Function" line is executed. ----- Original Message ----- From: "Josh McFarlane" To: "Access Developers discussion and problem solving" Sent: Friday, August 19, 2005 2:50 PM Subject: Re: [AccessD] Close All Forms > On 8/19/05, Barbara Ryan wrote: > > I have used the following code successfully in Access 97 to close all forms when a specific function key is pressed. However, in Access 2002, this code causes the error box to appear (with the 2 options to send an error report to Microsoft or not) and then closes Access. Does anyone know why? > > > > Function CloseAllForms() > > Dim i As Integer > > ' Loop through the collection of open forms and close them (except for the main menu) > > If Forms.Count > 0 Then > > For i = Forms.Count - 1 To 0 Step -1 > > If Forms(i).Name <> "frmMainMenu" Then > > DoCmd.Close acForm, Forms(i).Name > > End If > > Next i > > End If > > End Function > > Can you trace the specific line that it dies on? (IE Set a breakpoint > on DoCmd and see if it ever fires for each form.) > > -- > Josh McFarlane > > "Peace cannot be kept by force. It can only be achieved by understanding." > -Albert Einstein > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > 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 Fri Aug 19 16:45:56 2005 From: martyconnelly at shaw.ca (MartyConnelly) Date: Fri, 19 Aug 2005 14:45:56 -0700 Subject: [AccessD] Close All Forms References: <916187228923D311A6FE00A0CC3FAA30ABEE82@ADGSERVER> <011101c5a4f5$2aec5000$0a00a8c0@cx470148a> Message-ID: <43065314.3010807@shaw.ca> Code runs okay in Access 2003 with or without any forms open Do you have a timer running on one of the forms. Perhaps you can narrow it down to a specific form. Also here is some code from solutions.mdb that you could modify It uses database container's collection rather than form's collection. It is used to close everything on exit and checks for open recordsets. Function CloseObject(strContainerName As String, intContainerType As Integer) 'From the Developer Solutions database 'Close open database objects of the specified type Dim dbs As Database, ctr As Container Dim intX As Integer Dim rstfind As Variant Set dbs = CurrentDb Set ctr = dbs.Containers(strContainerName) For intX = 0 To ctr.Documents.Count - 1 ' DoCmd.Close intContainerType, ctr.Documents(intX).Name Debug.Print intContainerType, ctr.Documents(intX).Name Next intX For Each rstfind In CurrentDb.Recordsets MsgBox "Recordset Found: " & rstfind.Name Next rstfind End Function Sub cmdExit_Click() On Error GoTo Err_cmdExit_Click Dim bolExitDatabase As Boolean If MsgBox("Exit database? (No='Exit Form')", vbYesNo) = vbYes Then On Error Resume Next bolExitDatabase = True 'Close all database objects, then exit application CloseObject "Tables", acTable CloseObject "Tables", acQuery CloseObject "Forms", acForm CloseObject "Reports", acReport CloseObject "Scripts", acMacro CloseObject "Modules", acModule 'CloseCurrentDatabase Else DoCmd.Close End If Exit_cmdExit_Click: Exit Sub Err_cmdExit_Click: MsgBox Err.Description, , "cmdExit_Click: " & Err.Number Resume Exit_cmdExit_Click End Sub Barbara Ryan wrote: >I don't know..... is there something new in Access 2002 that would allow >this? > >Barb > >----- Original Message ----- >From: "Bobby Heid" >To: "'Access Developers discussion and problem solving'" > >Sent: Friday, August 19, 2005 3:14 PM >Subject: RE: [AccessD] Close All Forms > > > > >>Is it possible it is closing one of the standard access windows? >> >>Bobby >> >>-----Original Message----- >>From: accessd-bounces at databaseadvisors.com >>[mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Barbara Ryan >>Sent: Friday, August 19, 2005 3:11 PM >>To: Access Developers discussion and problem solving >>Subject: Re: [AccessD] Close All Forms >> >> >>It dies after the "End Function" line is executed. >> >> >>-- >>AccessD mailing list >>AccessD at databaseadvisors.com >>http://databaseadvisors.com/mailman/listinfo/accessd >>Website: http://www.databaseadvisors.com >> >> > > > -- Marty Connelly Victoria, B.C. Canada From cfoust at infostatsystems.com Fri Aug 19 17:33:32 2005 From: cfoust at infostatsystems.com (Charlotte Foust) Date: Fri, 19 Aug 2005 15:33:32 -0700 Subject: [AccessD] Close All Forms Message-ID: Yes, I know that Lambert. I just wondered if it blew up the other way too, because if so it suggests something is corrupted. Of course, there is an entirely different way to do it in Access 2000 and later: use the AccessObject and loop through the Application.CurrentProject.AllForms collection test the form's IsLoaded property before closing it. ;-} Charlotte -----Original Message----- From: Heenan, Lambert [mailto:Lambert.Heenan at aig.com] Sent: Friday, August 19, 2005 2:14 PM To: 'Access Developers discussion and problem solving' Subject: RE: [AccessD] Close All Forms It's normal practice to go in reverse when destroying items in a collection. Here's why... Say there are three forms open. With this code For i = Forms.Count - 1 To 0 Step -1 On the first time through Forms.Count - 1 is evaluated as 2, and I is set to 2. Then DoCmd.Close acForm, Forms(i).Name will close some form in the collection (which is closed is unspecified as collections are not sorted). Next time round the loop i is set to 1 and another form is closed. Etc. etc. But if we try doing this in a 'forward' direction we have... For i = 0 to Forms.Count - 1 If Forms(i).Name <> "frmMainMenu" Then DoCmd.Close acForm, Forms(i).Name End If Next i First time round Count = 3, i is set to 0 and "forms(0)" closes. Next time round Count = 2, i = 1 and "forms(1)" closes Next time round Count = 1, i = 2 and "Forms(2).Name" generates an error 2456, "The number you user to refer to the form is invalid", which is the collection's equivalent of "Subscript out of range" The For loop is optimized by the compiler so that the termination condition (Forms.Count-1) is only evaluated once. That's why you do it in reverse. None of this explains why Barbara is seeing Access crash though. Her code is totally legitimate. It's not even anything to do with the fact that the 'Function' does not return a value. I'm sure she's set it up like that so it can be called from an AutoKey macro. So we are left with the possibility that the applications p-code is corrupt. Time to back it up, then decompile and compact. With any luck that will fix it. If not, import all the objects into a new database. Lambert -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Charlotte Foust Sent: Friday, August 19, 2005 4:36 PM To: Access Developers discussion and problem solving Subject: RE: [AccessD] Close All Forms Is there any particular reason you're using a reverse step in this? Have you tried it like this: For i = 0 to Forms.Count - 1 If Forms(i).Name <> "frmMainMenu" Then DoCmd.Close acForm, Forms(i).Name End If Next i Does that also bail out on End Function? Charlotte Foust -----Original Message----- From: Barbara Ryan [mailto:BarbaraRyan at cox.net] Sent: Friday, August 19, 2005 11:52 AM To: Access List Subject: [AccessD] Close All Forms I have used the following code successfully in Access 97 to close all forms when a specific function key is pressed. However, in Access 2002, this code causes the error box to appear (with the 2 options to send an error report to Microsoft or not) and then closes Access. Does anyone know why? Function CloseAllForms() Dim i As Integer ' Loop through the collection of open forms and close them (except for the main menu) If Forms.Count > 0 Then For i = Forms.Count - 1 To 0 Step -1 If Forms(i).Name <> "frmMainMenu" Then DoCmd.Close acForm, Forms(i).Name End If Next i End If End Function Thanks, Barb Ryan -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From jwcolby at colbyconsulting.com Fri Aug 19 18:40:21 2005 From: jwcolby at colbyconsulting.com (John W. Colby) Date: Fri, 19 Aug 2005 19:40:21 -0400 Subject: [AccessD] Close All Forms In-Reply-To: <1D7828CDB8350747AFE9D69E0E90DA1F1484BE41@xlivmbx21.aig.com> Message-ID: <002401c5a517$5d80cc40$6c7aa8c0@ColbyM6805> In general with collections I use: While col.count > 0 col.remove(0) wend Thus for open forms Function CloseAllForms() With Forms While .Count > 0 DoCmd.Close acForm, .Item(0).Name Wend End With End Function Or alternately: Public Sub CloseAllForms() On Error GoTo Err_CloseAllForms Dim f As AccessObject For Each f In CurrentProject.AllForms DoCmd.Close acForm, f.Name Next End sub John W. Colby www.ColbyConsulting.com Contribute your unused CPU cycles to a good cause: http://folding.stanford.edu/ -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Heenan, Lambert Sent: Friday, August 19, 2005 5:14 PM To: 'Access Developers discussion and problem solving' Subject: RE: [AccessD] Close All Forms It's normal practice to go in reverse when destroying items in a collection. Here's why... Say there are three forms open. With this code For i = Forms.Count - 1 To 0 Step -1 On the first time through Forms.Count - 1 is evaluated as 2, and I is set to 2. Then DoCmd.Close acForm, Forms(i).Name will close some form in the collection (which is closed is unspecified as collections are not sorted). Next time round the loop i is set to 1 and another form is closed. Etc. etc. But if we try doing this in a 'forward' direction we have... For i = 0 to Forms.Count - 1 If Forms(i).Name <> "frmMainMenu" Then DoCmd.Close acForm, Forms(i).Name End If Next i First time round Count = 3, i is set to 0 and "forms(0)" closes. Next time round Count = 2, i = 1 and "forms(1)" closes Next time round Count = 1, i = 2 and "Forms(2).Name" generates an error 2456, "The number you user to refer to the form is invalid", which is the collection's equivalent of "Subscript out of range" The For loop is optimized by the compiler so that the termination condition (Forms.Count-1) is only evaluated once. That's why you do it in reverse. None of this explains why Barbara is seeing Access crash though. Her code is totally legitimate. It's not even anything to do with the fact that the 'Function' does not return a value. I'm sure she's set it up like that so it can be called from an AutoKey macro. So we are left with the possibility that the applications p-code is corrupt. Time to back it up, then decompile and compact. With any luck that will fix it. If not, import all the objects into a new database. Lambert -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Charlotte Foust Sent: Friday, August 19, 2005 4:36 PM To: Access Developers discussion and problem solving Subject: RE: [AccessD] Close All Forms Is there any particular reason you're using a reverse step in this? Have you tried it like this: For i = 0 to Forms.Count - 1 If Forms(i).Name <> "frmMainMenu" Then DoCmd.Close acForm, Forms(i).Name End If Next i Does that also bail out on End Function? Charlotte Foust -----Original Message----- From: Barbara Ryan [mailto:BarbaraRyan at cox.net] Sent: Friday, August 19, 2005 11:52 AM To: Access List Subject: [AccessD] Close All Forms I have used the following code successfully in Access 97 to close all forms when a specific function key is pressed. However, in Access 2002, this code causes the error box to appear (with the 2 options to send an error report to Microsoft or not) and then closes Access. Does anyone know why? Function CloseAllForms() Dim i As Integer ' Loop through the collection of open forms and close them (except for the main menu) If Forms.Count > 0 Then For i = Forms.Count - 1 To 0 Step -1 If Forms(i).Name <> "frmMainMenu" Then DoCmd.Close acForm, Forms(i).Name End If Next i End If End Function Thanks, Barb Ryan -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From BarbaraRyan at cox.net Fri Aug 19 19:14:45 2005 From: BarbaraRyan at cox.net (Barbara Ryan) Date: Fri, 19 Aug 2005 20:14:45 -0400 Subject: [AccessD] Close All Forms References: Message-ID: <018901c5a51c$46927d80$0a00a8c0@cx470148a> Since the application is now Access 2002, I can ditch the code I'm using and use Charlotte's approach or Marty's....Thanks! Barb ----- Original Message ----- From: "Charlotte Foust" To: "Access Developers discussion and problem solving" Sent: Friday, August 19, 2005 6:33 PM Subject: RE: [AccessD] Close All Forms > Yes, I know that Lambert. I just wondered if it blew up the other way > too, because if so it suggests something is corrupted. Of course, there > is an entirely different way to do it in Access 2000 and later: use the > AccessObject and loop through the Application.CurrentProject.AllForms > collection test the form's IsLoaded property before closing it. ;-} > > Charlotte > > > -----Original Message----- > From: Heenan, Lambert [mailto:Lambert.Heenan at aig.com] > Sent: Friday, August 19, 2005 2:14 PM > To: 'Access Developers discussion and problem solving' > Subject: RE: [AccessD] Close All Forms > > > It's normal practice to go in reverse when destroying items in a > collection. Here's why... > > Say there are three forms open. With this code > > For i = Forms.Count - 1 To 0 Step -1 > > On the first time through Forms.Count - 1 is evaluated as 2, and I is > set to 2. > > Then DoCmd.Close acForm, Forms(i).Name will close some form in the > collection (which is closed is unspecified as collections are not > sorted). > > Next time round the loop i is set to 1 and another form is closed. Etc. > etc. > > But if we try doing this in a 'forward' direction we have... > > For i = 0 to Forms.Count - 1 > If Forms(i).Name <> "frmMainMenu" Then > DoCmd.Close acForm, Forms(i).Name > End If > Next i > > First time round Count = 3, i is set to 0 and "forms(0)" closes. Next > time round Count = 2, i = 1 and "forms(1)" closes Next time round Count > = 1, i = 2 and "Forms(2).Name" generates an error 2456, "The number you > user to refer to the form is invalid", which is the collection's > equivalent of "Subscript out of range" > > The For loop is optimized by the compiler so that the termination > condition > (Forms.Count-1) is only evaluated once. That's why you do it in reverse. > > > > None of this explains why Barbara is seeing Access crash though. Her > code is totally legitimate. It's not even anything to do with the fact > that the 'Function' does not return a value. I'm sure she's set it up > like that so it can be called from an AutoKey macro. > > So we are left with the possibility that the applications p-code is > corrupt. Time to back it up, then decompile and compact. With any luck > that will fix it. If not, import all the objects into a new database. > > Lambert > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Charlotte > Foust > Sent: Friday, August 19, 2005 4:36 PM > To: Access Developers discussion and problem solving > Subject: RE: [AccessD] Close All Forms > > > Is there any particular reason you're using a reverse step in this? Have > you tried it like this: > > For i = 0 to Forms.Count - 1 > If Forms(i).Name <> "frmMainMenu" Then > DoCmd.Close acForm, Forms(i).Name > End If > Next i > > Does that also bail out on End Function? > > Charlotte Foust > > > -----Original Message----- > From: Barbara Ryan [mailto:BarbaraRyan at cox.net] > Sent: Friday, August 19, 2005 11:52 AM > To: Access List > Subject: [AccessD] Close All Forms > > > I have used the following code successfully in Access 97 to close all > forms when a specific function key is pressed. However, in Access 2002, > this code causes the error box to appear (with the 2 options to send an > error report to Microsoft or not) and then closes Access. Does anyone > know why? > > Function CloseAllForms() > Dim i As Integer > ' Loop through the collection of open forms and close them > (except for the main menu) > If Forms.Count > 0 Then > For i = Forms.Count - 1 To 0 Step -1 > If Forms(i).Name <> "frmMainMenu" Then > DoCmd.Close acForm, Forms(i).Name > End If > Next i > End If > End Function > > Thanks, > Barb Ryan > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > 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 Fri Aug 19 23:29:14 2005 From: martyconnelly at shaw.ca (MartyConnelly) Date: Fri, 19 Aug 2005 21:29:14 -0700 Subject: [AccessD] Close All Forms References: <018901c5a51c$46927d80$0a00a8c0@cx470148a> Message-ID: <4306B19A.8060705@shaw.ca> You could also try a decompile just in case something flakey happened in the p-code Barbara Ryan wrote: >Since the application is now Access 2002, I can ditch the code I'm using and >use Charlotte's approach or Marty's....Thanks! Barb > > >----- Original Message ----- >From: "Charlotte Foust" >To: "Access Developers discussion and problem solving" > >Sent: Friday, August 19, 2005 6:33 PM >Subject: RE: [AccessD] Close All Forms > > > > >>Yes, I know that Lambert. I just wondered if it blew up the other way >>too, because if so it suggests something is corrupted. Of course, there >>is an entirely different way to do it in Access 2000 and later: use the >>AccessObject and loop through the Application.CurrentProject.AllForms >>collection test the form's IsLoaded property before closing it. ;-} >> >>Charlotte >> >> >>-----Original Message----- >>From: Heenan, Lambert [mailto:Lambert.Heenan at aig.com] >>Sent: Friday, August 19, 2005 2:14 PM >>To: 'Access Developers discussion and problem solving' >>Subject: RE: [AccessD] Close All Forms >> >> >>It's normal practice to go in reverse when destroying items in a >>collection. Here's why... >> >>Say there are three forms open. With this code >> >>For i = Forms.Count - 1 To 0 Step -1 >> >>On the first time through Forms.Count - 1 is evaluated as 2, and I is >>set to 2. >> >>Then DoCmd.Close acForm, Forms(i).Name will close some form in the >>collection (which is closed is unspecified as collections are not >>sorted). >> >>Next time round the loop i is set to 1 and another form is closed. Etc. >>etc. >> >>But if we try doing this in a 'forward' direction we have... >> >> For i = 0 to Forms.Count - 1 >> If Forms(i).Name <> "frmMainMenu" Then >> DoCmd.Close acForm, Forms(i).Name >> End If >> Next i >> >>First time round Count = 3, i is set to 0 and "forms(0)" closes. Next >>time round Count = 2, i = 1 and "forms(1)" closes Next time round Count >>= 1, i = 2 and "Forms(2).Name" generates an error 2456, "The number you >>user to refer to the form is invalid", which is the collection's >>equivalent of "Subscript out of range" >> >>The For loop is optimized by the compiler so that the termination >>condition >>(Forms.Count-1) is only evaluated once. That's why you do it in reverse. >> >> >> >>None of this explains why Barbara is seeing Access crash though. Her >>code is totally legitimate. It's not even anything to do with the fact >>that the 'Function' does not return a value. I'm sure she's set it up >>like that so it can be called from an AutoKey macro. >> >>So we are left with the possibility that the applications p-code is >>corrupt. Time to back it up, then decompile and compact. With any luck >>that will fix it. If not, import all the objects into a new database. >> >>Lambert >> >>-----Original Message----- >>From: accessd-bounces at databaseadvisors.com >>[mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Charlotte >>Foust >>Sent: Friday, August 19, 2005 4:36 PM >>To: Access Developers discussion and problem solving >>Subject: RE: [AccessD] Close All Forms >> >> >>Is there any particular reason you're using a reverse step in this? Have >>you tried it like this: >> >> For i = 0 to Forms.Count - 1 >> If Forms(i).Name <> "frmMainMenu" Then >> DoCmd.Close acForm, Forms(i).Name >> End If >> Next i >> >>Does that also bail out on End Function? >> >>Charlotte Foust >> >> >>-----Original Message----- >>From: Barbara Ryan [mailto:BarbaraRyan at cox.net] >>Sent: Friday, August 19, 2005 11:52 AM >>To: Access List >>Subject: [AccessD] Close All Forms >> >> >>I have used the following code successfully in Access 97 to close all >>forms when a specific function key is pressed. However, in Access 2002, >>this code causes the error box to appear (with the 2 options to send an >>error report to Microsoft or not) and then closes Access. Does anyone >>know why? >> >> Function CloseAllForms() >> Dim i As Integer >> ' Loop through the collection of open forms and close them >>(except for the main menu) >> If Forms.Count > 0 Then >> For i = Forms.Count - 1 To 0 Step -1 >> If Forms(i).Name <> "frmMainMenu" Then >> DoCmd.Close acForm, Forms(i).Name >> End If >> Next i >> End If >> End Function >> >>Thanks, >>Barb Ryan >> >>-- >>AccessD mailing list >>AccessD at databaseadvisors.com >>http://databaseadvisors.com/mailman/listinfo/accessd >>Website: http://www.databaseadvisors.com >>-- >>AccessD mailing list >>AccessD at databaseadvisors.com >>http://databaseadvisors.com/mailman/listinfo/accessd >>Website: http://www.databaseadvisors.com >>-- >>AccessD mailing list >>AccessD at databaseadvisors.com >>http://databaseadvisors.com/mailman/listinfo/accessd >>Website: http://www.databaseadvisors.com >>-- >>AccessD mailing list >>AccessD at databaseadvisors.com >>http://databaseadvisors.com/mailman/listinfo/accessd >>Website: http://www.databaseadvisors.com >> >> > > > -- Marty Connelly Victoria, B.C. Canada From dwaters at usinternet.com Sat Aug 20 08:59:08 2005 From: dwaters at usinternet.com (Dan Waters) Date: Sat, 20 Aug 2005 08:59:08 -0500 Subject: [AccessD] Close All Forms In-Reply-To: <28733657.1124512556545.JavaMail.root@sniper18> Message-ID: <000001c5a58f$57735610$0300a8c0@danwaters> I once solved a 'form corruption' problem by: 1) Comment ALL the code in the form 2) Decompile 3) Exit Access 4) Open Application 5) Uncomment all the code 6) Compile The reason I did this was because a form on one user's PC was erroring out on a line of code, but no one else's was doing that. The above solved the problem. I'm guessing that commenting out the VBA code and decompiling completely removed the offending p-code, then uncommenting and compiling created completely new p-code. A note - the form had been originally created in A95, had been modified heavily, and was being used in AXP. HTH, Dan Waters -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of MartyConnelly Sent: Friday, August 19, 2005 11:29 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Close All Forms You could also try a decompile just in case something flakey happened in the p-code Barbara Ryan wrote: >Since the application is now Access 2002, I can ditch the code I'm using and >use Charlotte's approach or Marty's....Thanks! Barb > > >----- Original Message ----- >From: "Charlotte Foust" >To: "Access Developers discussion and problem solving" > >Sent: Friday, August 19, 2005 6:33 PM >Subject: RE: [AccessD] Close All Forms > > > > >>Yes, I know that Lambert. I just wondered if it blew up the other way >>too, because if so it suggests something is corrupted. Of course, there >>is an entirely different way to do it in Access 2000 and later: use the >>AccessObject and loop through the Application.CurrentProject.AllForms >>collection test the form's IsLoaded property before closing it. ;-} >> >>Charlotte >> >> >>-----Original Message----- >>From: Heenan, Lambert [mailto:Lambert.Heenan at aig.com] >>Sent: Friday, August 19, 2005 2:14 PM >>To: 'Access Developers discussion and problem solving' >>Subject: RE: [AccessD] Close All Forms >> >> >>It's normal practice to go in reverse when destroying items in a >>collection. Here's why... >> >>Say there are three forms open. With this code >> >>For i = Forms.Count - 1 To 0 Step -1 >> >>On the first time through Forms.Count - 1 is evaluated as 2, and I is >>set to 2. >> >>Then DoCmd.Close acForm, Forms(i).Name will close some form in the >>collection (which is closed is unspecified as collections are not >>sorted). >> >>Next time round the loop i is set to 1 and another form is closed. Etc. >>etc. >> >>But if we try doing this in a 'forward' direction we have... >> >> For i = 0 to Forms.Count - 1 >> If Forms(i).Name <> "frmMainMenu" Then >> DoCmd.Close acForm, Forms(i).Name >> End If >> Next i >> >>First time round Count = 3, i is set to 0 and "forms(0)" closes. Next >>time round Count = 2, i = 1 and "forms(1)" closes Next time round Count >>= 1, i = 2 and "Forms(2).Name" generates an error 2456, "The number you >>user to refer to the form is invalid", which is the collection's >>equivalent of "Subscript out of range" >> >>The For loop is optimized by the compiler so that the termination >>condition >>(Forms.Count-1) is only evaluated once. That's why you do it in reverse. >> >> >> >>None of this explains why Barbara is seeing Access crash though. Her >>code is totally legitimate. It's not even anything to do with the fact >>that the 'Function' does not return a value. I'm sure she's set it up >>like that so it can be called from an AutoKey macro. >> >>So we are left with the possibility that the applications p-code is >>corrupt. Time to back it up, then decompile and compact. With any luck >>that will fix it. If not, import all the objects into a new database. >> >>Lambert >> >>-----Original Message----- >>From: accessd-bounces at databaseadvisors.com >>[mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Charlotte >>Foust >>Sent: Friday, August 19, 2005 4:36 PM >>To: Access Developers discussion and problem solving >>Subject: RE: [AccessD] Close All Forms >> >> >>Is there any particular reason you're using a reverse step in this? Have >>you tried it like this: >> >> For i = 0 to Forms.Count - 1 >> If Forms(i).Name <> "frmMainMenu" Then >> DoCmd.Close acForm, Forms(i).Name >> End If >> Next i >> >>Does that also bail out on End Function? >> >>Charlotte Foust >> >> >>-----Original Message----- >>From: Barbara Ryan [mailto:BarbaraRyan at cox.net] >>Sent: Friday, August 19, 2005 11:52 AM >>To: Access List >>Subject: [AccessD] Close All Forms >> >> >>I have used the following code successfully in Access 97 to close all >>forms when a specific function key is pressed. However, in Access 2002, >>this code causes the error box to appear (with the 2 options to send an >>error report to Microsoft or not) and then closes Access. Does anyone >>know why? >> >> Function CloseAllForms() >> Dim i As Integer >> ' Loop through the collection of open forms and close them >>(except for the main menu) >> If Forms.Count > 0 Then >> For i = Forms.Count - 1 To 0 Step -1 >> If Forms(i).Name <> "frmMainMenu" Then >> DoCmd.Close acForm, Forms(i).Name >> End If >> Next i >> End If >> End Function >> >>Thanks, >>Barb Ryan >> >>-- >>AccessD mailing list >>AccessD at databaseadvisors.com >>http://databaseadvisors.com/mailman/listinfo/accessd >>Website: http://www.databaseadvisors.com >>-- >>AccessD mailing list >>AccessD at databaseadvisors.com >>http://databaseadvisors.com/mailman/listinfo/accessd >>Website: http://www.databaseadvisors.com >>-- >>AccessD mailing list >>AccessD at databaseadvisors.com >>http://databaseadvisors.com/mailman/listinfo/accessd >>Website: http://www.databaseadvisors.com >>-- >>AccessD mailing list >>AccessD at databaseadvisors.com >>http://databaseadvisors.com/mailman/listinfo/accessd >>Website: http://www.databaseadvisors.com >> >> > > > -- Marty Connelly Victoria, B.C. Canada -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From gustav at cactus.dk Sat Aug 20 12:46:51 2005 From: gustav at cactus.dk (Gustav Brock) Date: Sat, 20 Aug 2005 19:46:51 +0200 Subject: [AccessD] Parameter make table query Message-ID: Hi Chester You could use this syntax for populating a recordset: MyQDef1.Parameters("Pattern Name").Value = PatternName However, this opens a new instance of the query knowing nothing of the parameter setting above: DoCmd.OpenQuery MyQDef1.Name, acViewNormal, acEdit You will need to set the parameter to a public variable (or static function), then create a function to retrieve that value; now, remove the parameter and use this function in the query to supply the value (after setting it in your code as previously). /gustav >>> Chester_Kaup at kindermorgan.com 17-08-05 23:27 >>> I try to run the following code for a make table query but it still asks for a parameter. Why? Do I need to run it differently? Thanks. PatternName = "123-4" Set MyQDef1 = MyDb.QueryDefs("qry Actual Production after Inj Start Date") MyQDef1.Parameters![Pattern Name] = PatternName DoCmd.OpenQuery "qry Actual Production after Inj Start Date", acViewNormal, acEdit From gustav at cactus.dk Sat Aug 20 12:53:12 2005 From: gustav at cactus.dk (Gustav Brock) Date: Sat, 20 Aug 2005 19:53:12 +0200 Subject: Svar: [AccessD] Disconnected MS Access cient applications.. Message-ID: Hi Shamil First, welcome back to AccessD! Then, I find this a very interesting topic with a lot of perspective. /gustav >>> shamil at users.mns.ru 18-08-05 1:28 >>> Hi All, I wanted to ask you - what about the subject? Anybody uses/interested to use MS Access client applications this way? Do I miss obvious (RTFM) stuff and such a disconnected mode is already implemented in MS Access and broadly used by MS Access developers? Yes, I know ADO recordsets can be used with bound MS Access forms etc. but this looks like a rather limited feature - am I wrong? What I mean is cashing data locally into mdbs, only the data needed for the currently open form(s) etc., processing this data and then updating backend database(mdb, MSDE, MS SQL, whatever...) - with all this cashing and updating made mostly automatically by a tiny framework code, based on ADO.NET...(yes, this local caching of data is not a new subject but nowadays it can be (re-)implement really scalable way with a way less efforts than before) Maybe MS plans to do something like that? Is that a wheel reinvention or anybody here sees such opportunity like a really useful feature in their real life projects? For me it looks like a useful feature because it could help: to get MS Access back into mainstream development area because it will allow to easily scale applications with MS Access front-ends... There are many other ideas but most of them in this "ideas pool" based on the subject one - if it doesn't make sense for real-life projects then I'd better stop working on it... What is your opinion about the subject? When you expect MS will do something like that in MS Access? Thank you, Shamil From shamil at users.mns.ru Sat Aug 20 15:34:27 2005 From: shamil at users.mns.ru (Shamil Salakhetdinov) Date: Sun, 21 Aug 2005 00:34:27 +0400 Subject: [AccessD] Disconnected MS Access cient applications.. References: Message-ID: <003801c5a5c6$91e41a00$6401a8c0@fincomplex.spb.ru> Hi Gustav, Thank you for your welcoming and support! I have intentions to start approaching and implementing this idea here beginning next week with progress results published as a blog. I decided to codename this project (and its main object) as "Virtual Data Vault". It sounds generic but nothing more than making MS Access clients working in disconnected mode via ADO.NET with MS Access backends is planned on first steps. I mean first of all MS Access clients using bounds forms with data cached into local mdb tables... I don't have a lot of spare time but I do plan to find at least 20-30 minutes per day for this project. To make this project possible and progressing in such small chunks I see the only way to go is to use XP with Unit testing. I hope Charlotte Foust will assist me and will be my peer reviewer becaue she seems to be most interested in this project. How about that opportunity Charlotte? - if you will find 10 minutes per day for this peroject - very fine, if just 10 minutes per week - would be good too! If this project fails or "dies", which may happen of course - this will be all my fault... Most of the programming is planned to be done in C#... For blogging bBlog is currently planned - http://www.bblog.com/ - but still to find out will it be possible to install it here on my ISP hosting.... Any other good and simple to install blogging engines/opportunities? Thank you, Shamil ----- Original Message ----- From: "Gustav Brock" To: Sent: Saturday, August 20, 2005 9:53 PM Subject: Svar: [AccessD] Disconnected MS Access cient applications.. > Hi Shamil > > First, welcome back to AccessD! > Then, I find this a very interesting topic with a lot of perspective. > > /gustav > > >>> shamil at users.mns.ru 18-08-05 1:28 >>> > Hi All, > > I wanted to ask you - what about the subject? > Anybody uses/interested to use MS Access client applications this way? > > Do I miss obvious (RTFM) stuff and such a disconnected mode is already > implemented in MS Access and broadly used by MS Access developers? Yes, > I > know ADO recordsets can be used with bound MS Access forms etc. but this > looks like a rather limited feature - am I wrong? > > What I mean is cashing data locally into mdbs, only the data needed for > the > currently open form(s) etc., processing this data and then updating > backend > database(mdb, MSDE, MS SQL, whatever...) - with all this cashing and > updating made mostly automatically by a tiny framework code, based on > ADO.NET...(yes, this local caching of data is not a new subject but > nowadays > it can be (re-)implement really scalable way with a way less efforts > than > before) > > Maybe MS plans to do something like that? > > Is that a wheel reinvention or anybody here sees such opportunity like a > really useful feature in their real life projects? > > For me it looks like a useful feature because it could help: to get MS > Access back into mainstream development area because it will allow to > easily > scale applications with MS Access front-ends... > > There are many other ideas but most of them in this "ideas pool" based > on > the subject one - if it doesn't make sense for real-life projects then > I'd > better stop working on it... > > What is your opinion about the subject? > When you expect MS will do something like that in MS Access? > > Thank you, > Shamil > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com From gustav at cactus.dk Sat Aug 20 16:53:28 2005 From: gustav at cactus.dk (Gustav Brock) Date: Sat, 20 Aug 2005 23:53:28 +0200 Subject: [AccessD] Close All Forms Message-ID: Hi Barbara First, there's no need to retrieve the Form collection count that many times. Second, your main form is probably the first form to open, so why not just leave it? Thus: Function CloseAllForms() Dim lngForms As Long Dim lngForm As Long lngForms = Forms.Count ' Loop through the collection of forms and close ' them except for the first opened (main form). For lngForm = lngForms - 1 To 1 Step -1 DoCmd.Close acForm, Forms(lngForm).Name Next End Function You cannot do this forward because if you close form N all form indexes above N will be shifted one down to fill the hole in numbers. This could, however, be taken advantage of: Function CloseAllForms() ' Close all forms except the first opened. While Forms.Count > 1 DoCmd.Close acForm, Forms(1).Name Wend End Function As you can see, your function seems to be a mix of these two approaches. /gustav >>> BarbaraRyan at cox.net 19-08-05 20:51 >>> I have used the following code successfully in Access 97 to close all forms when a specific function key is pressed. However, in Access 2002, this code causes the error box to appear (with the 2 options to send an error report to Microsoft or not) and then closes Access. Does anyone know why? Function CloseAllForms() Dim i As Integer ' Loop through the collection of open forms and close them (except for the main menu) If Forms.Count > 0 Then For i = Forms.Count - 1 To 0 Step -1 If Forms(i).Name <> "frmMainMenu" Then DoCmd.Close acForm, Forms(i).Name End If Next i End If End Function Thanks, Barb Ryan From artful at rogers.com Sat Aug 20 18:19:08 2005 From: artful at rogers.com (Arthur Fuller) Date: Sat, 20 Aug 2005 19:19:08 -0400 Subject: [AccessD] Friday Humour a Day Late Message-ID: <200508202319.j7KNJ7R10658@databaseadvisors.com> A very old Italian gentleman with a son Vito in prison, wrote him a letter. Vito, I wish you were here with me. I want to dig up the garden and plant some tomatoes and olive trees. But the garden is rocky and I am old and infirm and have no energy to do it. If you were here, I know you would dig the garden for me, and I could plant the tomatoes and olives and grow them to fruition. Vito, receiving the letter in prison, writes back: DO NOT dig up the garden. That is where I planted the bodies. Next morning, 5am, the FBI arrives with bulldozers, scoop-shovels and various equipment. They dig up the entire garden 12 meters deep and find nothing. They depart. Next morning, the old man receives another letter from Vito. Plant your tomatoes, Father. Under the circumstances, this is the best I could do. A. From artful at rogers.com Sun Aug 21 15:42:52 2005 From: artful at rogers.com (Arthur Fuller) Date: Sun, 21 Aug 2005 16:42:52 -0400 Subject: [AccessD] "Find" combo box searches more than one table In-Reply-To: Message-ID: <200508212042.j7LKgrR30343@databaseadvisors.com> UNION the pair of SELECT statements, each point to one table. Grab the second column to know the location of the hit. Assuming that both tables have similar structures, open the edit form passing the appropriate args, i.e. DoCmd.OpenForm FormName:= {arg1}, WhereClause:= {PK-column} = "your value" HTH, Arthur From cfoust at infostatsystems.com Mon Aug 22 10:29:58 2005 From: cfoust at infostatsystems.com (Charlotte Foust) Date: Mon, 22 Aug 2005 08:29:58 -0700 Subject: [AccessD] Disconnected MS Access cient applications.. Message-ID: Shamil, I would be deeply honored to work with you on this ... Especially if any failures are all *your* fault! LOL I suppose this means that I have to get better are reading C# code, right? bBlog looks awesome, and this looks like fun! Charlotte -----Original Message----- From: Shamil Salakhetdinov [mailto:shamil at users.mns.ru] Sent: Saturday, August 20, 2005 1:34 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Disconnected MS Access cient applications.. Hi Gustav, Thank you for your welcoming and support! I have intentions to start approaching and implementing this idea here beginning next week with progress results published as a blog. I decided to codename this project (and its main object) as "Virtual Data Vault". It sounds generic but nothing more than making MS Access clients working in disconnected mode via ADO.NET with MS Access backends is planned on first steps. I mean first of all MS Access clients using bounds forms with data cached into local mdb tables... I don't have a lot of spare time but I do plan to find at least 20-30 minutes per day for this project. To make this project possible and progressing in such small chunks I see the only way to go is to use XP with Unit testing. I hope Charlotte Foust will assist me and will be my peer reviewer becaue she seems to be most interested in this project. How about that opportunity Charlotte? - if you will find 10 minutes per day for this peroject - very fine, if just 10 minutes per week - would be good too! If this project fails or "dies", which may happen of course - this will be all my fault... Most of the programming is planned to be done in C#... For blogging bBlog is currently planned - http://www.bblog.com/ - but still to find out will it be possible to install it here on my ISP hosting.... Any other good and simple to install blogging engines/opportunities? Thank you, Shamil ----- Original Message ----- From: "Gustav Brock" To: Sent: Saturday, August 20, 2005 9:53 PM Subject: Svar: [AccessD] Disconnected MS Access cient applications.. > Hi Shamil > > First, welcome back to AccessD! > Then, I find this a very interesting topic with a lot of perspective. > > /gustav > > >>> shamil at users.mns.ru 18-08-05 1:28 >>> > Hi All, > > I wanted to ask you - what about the subject? > Anybody uses/interested to use MS Access client applications this way? > > Do I miss obvious (RTFM) stuff and such a disconnected mode is already > implemented in MS Access and broadly used by MS Access developers? > Yes, I know ADO recordsets can be used with bound MS Access forms etc. > but this looks like a rather limited feature - am I wrong? > > What I mean is cashing data locally into mdbs, only the data needed > for the currently open form(s) etc., processing this data and then > updating backend > database(mdb, MSDE, MS SQL, whatever...) - with all this cashing and > updating made mostly automatically by a tiny framework code, based on > ADO.NET...(yes, this local caching of data is not a new subject but > nowadays > it can be (re-)implement really scalable way with a way less efforts > than > before) > > Maybe MS plans to do something like that? > > Is that a wheel reinvention or anybody here sees such opportunity like > a really useful feature in their real life projects? > > For me it looks like a useful feature because it could help: to get MS > Access back into mainstream development area because it will allow to > easily scale applications with MS Access front-ends... > > There are many other ideas but most of them in this "ideas pool" based > on the subject one - if it doesn't make sense for real-life projects > then I'd > better stop working on it... > > What is your opinion about the subject? > When you expect MS will do something like that in MS Access? > > Thank you, > Shamil > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > 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 Aug 22 10:31:38 2005 From: cfoust at infostatsystems.com (Charlotte Foust) Date: Mon, 22 Aug 2005 08:31:38 -0700 Subject: [AccessD] Friday Humour a Day Late Message-ID: ROTFL It's good, even late! Charlotte Foust -----Original Message----- From: Arthur Fuller [mailto:artful at rogers.com] Sent: Saturday, August 20, 2005 4:19 PM To: 'Access Developers discussion and problem solving' Subject: [AccessD] Friday Humour a Day Late A very old Italian gentleman with a son Vito in prison, wrote him a letter. Vito, I wish you were here with me. I want to dig up the garden and plant some tomatoes and olive trees. But the garden is rocky and I am old and infirm and have no energy to do it. If you were here, I know you would dig the garden for me, and I could plant the tomatoes and olives and grow them to fruition. Vito, receiving the letter in prison, writes back: DO NOT dig up the garden. That is where I planted the bodies. Next morning, 5am, the FBI arrives with bulldozers, scoop-shovels and various equipment. They dig up the entire garden 12 meters deep and find nothing. They depart. Next morning, the old man receives another letter from Vito. Plant your tomatoes, Father. Under the circumstances, this is the best I could do. A. -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From Chester_Kaup at kindermorgan.com Mon Aug 22 10:30:26 2005 From: Chester_Kaup at kindermorgan.com (Kaup, Chester) Date: Mon, 22 Aug 2005 10:30:26 -0500 Subject: [AccessD] Table does not open to first record Message-ID: I use the following code to open a table (myds) which is indexed on the date field. When I pull a record in code it gets record 127. I tried a movefirst command and the table still starts on record 127. Any ideas what is happening appreciated. Dim MyDb As Database, myds As Recordset Set MyDb = CurrentDb() Set myds = MyDb.OpenRecordset("tbl Produced HCPV% One Pattern", dbOpenTable) myds.MoveFirst myds1.AddNew myds1.Fields(0) = myds.Fields(0) 'Date myds1.Fields(1) = myds.Fields(1) 'Pattern name myds1.Fields(2) = myds.Fields(2) 'Cum total injection myds1.Fields(3) = myds.Fields(3) 'Cum based HCPV% myds1.Fields(4) = myds.Fields(4) 'Derivative based HCPV% myds1.Update Chester Kaup Engineering Technician Kinder Morgan CO2 Company, LLP Office (432) 688-3797 FAX (432) 688-3799 No trees were killed in the sending of this message. However a large number of electrons were terribly inconvenienced. From cfoust at infostatsystems.com Mon Aug 22 10:48:25 2005 From: cfoust at infostatsystems.com (Charlotte Foust) Date: Mon, 22 Aug 2005 08:48:25 -0700 Subject: [AccessD] Table does not open to first record Message-ID: Sorry but I don't know what you mean by "pull a record in code". Do you mean that when you move to the first record in myds, it isn't the earliest date in the table? You don't indicate why myds1 is or how it's populated either. Charlotte Foust -----Original Message----- From: Kaup, Chester [mailto:Chester_Kaup at kindermorgan.com] Sent: Monday, August 22, 2005 8:30 AM To: Access Developers discussion and problem solving Subject: [AccessD] Table does not open to first record I use the following code to open a table (myds) which is indexed on the date field. When I pull a record in code it gets record 127. I tried a movefirst command and the table still starts on record 127. Any ideas what is happening appreciated. Dim MyDb As Database, myds As Recordset Set MyDb = CurrentDb() Set myds = MyDb.OpenRecordset("tbl Produced HCPV% One Pattern", dbOpenTable) myds.MoveFirst myds1.AddNew myds1.Fields(0) = myds.Fields(0) 'Date myds1.Fields(1) = myds.Fields(1) 'Pattern name myds1.Fields(2) = myds.Fields(2) 'Cum total injection myds1.Fields(3) = myds.Fields(3) 'Cum based HCPV% myds1.Fields(4) = myds.Fields(4) 'Derivative based HCPV% myds1.Update Chester Kaup Engineering Technician Kinder Morgan CO2 Company, LLP Office (432) 688-3797 FAX (432) 688-3799 No trees were killed in the sending of this message. However a large number of electrons were terribly inconvenienced. -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From Chester_Kaup at kindermorgan.com Mon Aug 22 10:56:26 2005 From: Chester_Kaup at kindermorgan.com (Kaup, Chester) Date: Mon, 22 Aug 2005 10:56:26 -0500 Subject: [AccessD] Table does not open to first record Message-ID: Myds is a table that has been populated in previous code one record at a time. When I view my list of tables and double click on the table it opens in ascending date order. When I open the table in code it does not open on the first record which is the one with the earliest date. Hope that makes sense. -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Charlotte Foust Sent: Monday, August 22, 2005 10:48 AM To: Access Developers discussion and problem solving Subject: RE: [AccessD] Table does not open to first record Sorry but I don't know what you mean by "pull a record in code". Do you mean that when you move to the first record in myds, it isn't the earliest date in the table? You don't indicate why myds1 is or how it's populated either. Charlotte Foust -----Original Message----- From: Kaup, Chester [mailto:Chester_Kaup at kindermorgan.com] Sent: Monday, August 22, 2005 8:30 AM To: Access Developers discussion and problem solving Subject: [AccessD] Table does not open to first record I use the following code to open a table (myds) which is indexed on the date field. When I pull a record in code it gets record 127. I tried a movefirst command and the table still starts on record 127. Any ideas what is happening appreciated. Dim MyDb As Database, myds As Recordset Set MyDb = CurrentDb() Set myds = MyDb.OpenRecordset("tbl Produced HCPV% One Pattern", dbOpenTable) myds.MoveFirst myds1.AddNew myds1.Fields(0) = myds.Fields(0) 'Date myds1.Fields(1) = myds.Fields(1) 'Pattern name myds1.Fields(2) = myds.Fields(2) 'Cum total injection myds1.Fields(3) = myds.Fields(3) 'Cum based HCPV% myds1.Fields(4) = myds.Fields(4) 'Derivative based HCPV% myds1.Update Chester Kaup Engineering Technician Kinder Morgan CO2 Company, LLP Office (432) 688-3797 FAX (432) 688-3799 No trees were killed in the sending of this message. However a large number of electrons were terribly inconvenienced. -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From andy at minstersystems.co.uk Mon Aug 22 11:02:14 2005 From: andy at minstersystems.co.uk (Andy Lacey) Date: Mon, 22 Aug 2005 17:02:14 +0100 Subject: [AccessD] Table does not open to first record Message-ID: <20050822160210.9B0B8254BCF@smtp.nildram.co.uk> Chester Try inserting myds.index="yourindexname" after the Open -- 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] Table does not open to first record Date: 22/08/05 15:57 Myds is a table that has been populated in previous code one record at a time. When I view my list of tables and double click on the table it opens in ascending date order. When I open the table in code it does not open on the first record which is the one with the earliest date. Hope that makes sense. -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Charlotte Foust Sent: Monday, August 22, 2005 10:48 AM To: Access Developers discussion and problem solving Subject: RE: [AccessD] Table does not open to first record Sorry but I don't know what you mean by "pull a record in code". Do you mean that when you move to the first record in myds, it isn't the earliest date in the table? You don't indicate why myds1 is or how it's populated either. Charlotte Foust -----Original Message----- From: Kaup, Chester [mailto:Chester_Kaup at kindermorgan.com] Sent: Monday, August 22, 2005 8:30 AM To: Access Developers discussion and problem solving Subject: [AccessD] Table does not open to first record I use the following code to open a table (myds) which is indexed on the date field. When I pull a record in code it gets record 127. I tried a movefirst command and the table still starts on record 127. Any ideas what is happening appreciated. Dim MyDb As Database, myds As Recordset Set MyDb = CurrentDb() Set myds = MyDb.OpenRecordset("tbl Produced HCPV% One Pattern", dbOpenTable) myds.MoveFirst myds1.AddNew myds1.Fields(0) = myds.Fields(0) 'Date myds1.Fields(1) = myds.Fields(1) 'Pattern name myds1.Fields(2) = myds.Fields(2) 'Cum total injection myds1.Fields(3) = myds.Fields(3) 'Cum based HCPV% myds1.Fields(4) = myds.Fields(4) 'Derivative based HCPV% myds1.Update Chester Kaup Engineering Technician Kinder Morgan CO2 Company, LLP Office (432) 688-3797 FAX (432) 688-3799 No trees were killed in the sending of this message. However a large number of electrons were terribly inconvenienced. -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com ________________________________________________ Message sent using UebiMiau 2.7.2 From Chester_Kaup at kindermorgan.com Mon Aug 22 11:21:02 2005 From: Chester_Kaup at kindermorgan.com (Kaup, Chester) Date: Mon, 22 Aug 2005 11:21:02 -0500 Subject: [AccessD] Table does not open to first record Message-ID: Thanks that fixed it. Learn something new every day. -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Andy Lacey Sent: Monday, August 22, 2005 11:02 AM To: Access Developers discussion and problem solving Subject: RE: [AccessD] Table does not open to first record Chester Try inserting myds.index="yourindexname" after the Open -- 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] Table does not open to first record Date: 22/08/05 15:57 Myds is a table that has been populated in previous code one record at a time. When I view my list of tables and double click on the table it opens in ascending date order. When I open the table in code it does not open on the first record which is the one with the earliest date. Hope that makes sense. -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Charlotte Foust Sent: Monday, August 22, 2005 10:48 AM To: Access Developers discussion and problem solving Subject: RE: [AccessD] Table does not open to first record Sorry but I don't know what you mean by "pull a record in code". Do you mean that when you move to the first record in myds, it isn't the earliest date in the table? You don't indicate why myds1 is or how it's populated either. Charlotte Foust -----Original Message----- From: Kaup, Chester [mailto:Chester_Kaup at kindermorgan.com] Sent: Monday, August 22, 2005 8:30 AM To: Access Developers discussion and problem solving Subject: [AccessD] Table does not open to first record I use the following code to open a table (myds) which is indexed on the date field. When I pull a record in code it gets record 127. I tried a movefirst command and the table still starts on record 127. Any ideas what is happening appreciated. Dim MyDb As Database, myds As Recordset Set MyDb = CurrentDb() Set myds = MyDb.OpenRecordset("tbl Produced HCPV% One Pattern", dbOpenTable) myds.MoveFirst myds1.AddNew myds1.Fields(0) = myds.Fields(0) 'Date myds1.Fields(1) = myds.Fields(1) 'Pattern name myds1.Fields(2) = myds.Fields(2) 'Cum total injection myds1.Fields(3) = myds.Fields(3) 'Cum based HCPV% myds1.Fields(4) = myds.Fields(4) 'Derivative based HCPV% myds1.Update Chester Kaup Engineering Technician Kinder Morgan CO2 Company, LLP Office (432) 688-3797 FAX (432) 688-3799 No trees were killed in the sending of this message. However a large number of electrons were terribly inconvenienced. -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com ________________________________________________ Message sent using UebiMiau 2.7.2 -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From martyconnelly at shaw.ca Mon Aug 22 11:43:26 2005 From: martyconnelly at shaw.ca (MartyConnelly) Date: Mon, 22 Aug 2005 09:43:26 -0700 Subject: [AccessD] Table does not open to first record References: Message-ID: <430A00AE.2070306@shaw.ca> An index won't guarantee the order in which the rows are returned from a table unless it is applied. otherwise the table will be just like a shuffled deck of cards. To apply an index use OrderBy and dbOpenDynaset rather than dbOpenTable If you don't specify the second parameter in Openrecordset , by default Access looks at the table and uses dbOpenTable, if a local Table or dbOpenDynaSet , if a query or linked backend table. So you would want to apply a dynamic query to establish indexed order like so. Or you can create your own named query in place of strSQL. dim strSQL as String strSQL = "SELECT * FROM [tbl Produced HCPV% One Pattern] OrderBy MyDateFieldname", debug.print strSQL ' just to check you got it right Set myds = MyDb.OpenRecordset(strSQL, dbOpenDynaset) Kaup, Chester wrote: >I use the following code to open a table (myds) which is indexed on the >date field. When I pull a record in code it gets record 127. I tried a >movefirst command and the table still starts on record 127. Any ideas >what is happening appreciated. > > > >Dim MyDb As Database, myds As Recordset > >Set MyDb = CurrentDb() > >Set myds = MyDb.OpenRecordset("tbl Produced HCPV% One Pattern", >dbOpenTable) > > > >myds.MoveFirst > >myds1.AddNew > > myds1.Fields(0) = myds.Fields(0) 'Date > > myds1.Fields(1) = myds.Fields(1) 'Pattern name > > myds1.Fields(2) = myds.Fields(2) 'Cum total injection > > myds1.Fields(3) = myds.Fields(3) 'Cum based HCPV% > > myds1.Fields(4) = myds.Fields(4) 'Derivative based HCPV% > >myds1.Update > > > >Chester Kaup > >Engineering Technician > >Kinder Morgan CO2 Company, LLP > >Office (432) 688-3797 > >FAX (432) 688-3799 > > > > > >No trees were killed in the sending of this message. However a large >number of electrons were terribly inconvenienced. > > > > > -- Marty Connelly Victoria, B.C. Canada From martyconnelly at shaw.ca Mon Aug 22 12:04:31 2005 From: martyconnelly at shaw.ca (MartyConnelly) Date: Mon, 22 Aug 2005 10:04:31 -0700 Subject: [AccessD] Table does not open to first record References: <20050822160210.9B0B8254BCF@smtp.nildram.co.uk> Message-ID: <430A059F.8070101@shaw.ca> Me too, learn something again you had long forgotten about. Andy Lacey wrote: >Chester >Try inserting > >myds.index="yourindexname" > >after the Open >-- >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] Table does not open to first record >Date: 22/08/05 15:57 > > >Myds is a table that has been populated in previous code one record at a >time. When I view my list of tables and double click on the table it >opens in ascending date order. When I open the table in code it does not >open on the first record which is the one with the earliest date. Hope >that makes sense. > >-----Original Message----- >From: accessd-bounces at databaseadvisors.com >[mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Charlotte >Foust >Sent: Monday, August 22, 2005 10:48 AM >To: Access Developers discussion and problem solving >Subject: RE: [AccessD] Table does not open to first record > >Sorry but I don't know what you mean by "pull a record in code". Do you >mean that when you move to the first record in myds, it isn't the >earliest date in the table? You don't indicate why myds1 is or how it's >populated either. > >Charlotte Foust > > >-----Original Message----- >From: Kaup, Chester [mailto:Chester_Kaup at kindermorgan.com] >Sent: Monday, August 22, 2005 8:30 AM >To: Access Developers discussion and problem solving >Subject: [AccessD] Table does not open to first record > > >I use the following code to open a table (myds) which is indexed on the >date field. When I pull a record in code it gets record 127. I tried a >movefirst command and the table still starts on record 127. Any ideas >what is happening appreciated. > > > >Dim MyDb As Database, myds As Recordset > >Set MyDb = CurrentDb() > >Set myds = MyDb.OpenRecordset("tbl Produced HCPV% One Pattern", >dbOpenTable) > > > >myds.MoveFirst > >myds1.AddNew > >myds1.Fields(0) = myds.Fields(0) 'Date > >myds1.Fields(1) = myds.Fields(1) 'Pattern name > >myds1.Fields(2) = myds.Fields(2) 'Cum total injection > >myds1.Fields(3) = myds.Fields(3) 'Cum based HCPV% > >myds1.Fields(4) = myds.Fields(4) 'Derivative based HCPV% > >myds1.Update > > > >Chester Kaup > >Engineering Technician > >Kinder Morgan CO2 Company, LLP > >Office (432) 688-3797 > >FAX (432) 688-3799 > > > > > >No trees were killed in the sending of this message. However a large >number of electrons were terribly inconvenienced. > > > >-- >AccessD mailing list >AccessD at databaseadvisors.com >http://databaseadvisors.com/mailman/listinfo/accessd >Website: http://www.databaseadvisors.com >-- >AccessD mailing list >AccessD at databaseadvisors.com >http://databaseadvisors.com/mailman/listinfo/accessd >Website: http://www.databaseadvisors.com > > > >-- >AccessD mailing list >AccessD at databaseadvisors.com >http://databaseadvisors.com/mailman/listinfo/accessd >Website: http://www.databaseadvisors.com > >________________________________________________ >Message sent using UebiMiau 2.7.2 > > > -- Marty Connelly Victoria, B.C. Canada From shamil at users.mns.ru Mon Aug 22 12:26:43 2005 From: shamil at users.mns.ru (Shamil Salakhetdinov) Date: Mon, 22 Aug 2005 21:26:43 +0400 Subject: [AccessD] Disconnected MS Access cient applications.. References: Message-ID: <004c01c5a741$49098280$6501a8c0@fincomplex.spb.ru> > I would be deeply honored to work with you on this ... Thank you, Charlotte, for your confirmation that you're interested to work in this project! > Especially if any failures are all *your* fault! LOL Yes, all the failures will be mine if you don't mind. Glorious results - common :) > I suppose this means that I have to get better > are reading C# code, right? Please don't do any preliminary work like starting to train yourself in coding in C#... > and this looks like fun! ...because you're right - it should be fun. If you program on VB.NET then running C# unit tests and samples will not be a problem at all I think. And I think you'll get good experience in C# "automagically" while we will be developing this project, therefore no need to worry about that now... So, now it's my duty to prepare everything to start this project somewhere end of this week. Installing bBlog on my ISP hosting is the main task for me now. Hopefully it will go smoothly. I'm setting deadline to have it running: this Thursday, August 23, 2005, evening... Thank you, Shamil ----- Original Message ----- From: "Charlotte Foust" To: "Access Developers discussion and problem solving" Sent: Monday, August 22, 2005 7:29 PM Subject: RE: [AccessD] Disconnected MS Access cient applications.. > Shamil, > > I would be deeply honored to work with you on this ... Especially if any > failures are all *your* fault! LOL > > I suppose this means that I have to get better are reading C# code, > right? > > bBlog looks awesome, and this looks like fun! > > > Charlotte > > > -----Original Message----- > From: Shamil Salakhetdinov [mailto:shamil at users.mns.ru] > Sent: Saturday, August 20, 2005 1:34 PM > To: Access Developers discussion and problem solving > Subject: Re: [AccessD] Disconnected MS Access cient applications.. > > > Hi Gustav, > > Thank you for your welcoming and support! > > I have intentions to start approaching and implementing this idea here > beginning next week with progress results published as a blog. > > I decided to codename this project (and its main object) as > > "Virtual Data Vault". > > It sounds generic but nothing more than making MS Access clients working > in disconnected mode via ADO.NET with MS Access backends is planned on > first steps. I mean first of all MS Access clients using bounds forms > with data cached into local mdb tables... > > I don't have a lot of spare time but I do plan to find at least 20-30 > minutes per day for this project. To make this project possible and > progressing in such small chunks I see the only way to go is to use XP > with Unit testing. I hope Charlotte Foust will assist me and will be my > peer reviewer becaue she seems to be most interested in this project. > How about that opportunity Charlotte? - if you will find 10 minutes per > day for this peroject - very fine, if just 10 minutes per week - would > be good too! If this project fails or "dies", which may happen of course > - this will be all my fault... > > Most of the programming is planned to be done in C#... > > For blogging bBlog is currently planned - http://www.bblog.com/ - but > still to find out will it be possible to install it here on my ISP > hosting.... > > Any other good and simple to install blogging engines/opportunities? > > Thank you, > Shamil > > ----- Original Message ----- > From: "Gustav Brock" > To: > Sent: Saturday, August 20, 2005 9:53 PM > Subject: Svar: [AccessD] Disconnected MS Access cient applications.. > > > > Hi Shamil > > > > First, welcome back to AccessD! > > Then, I find this a very interesting topic with a lot of perspective. > > > > /gustav > > > > >>> shamil at users.mns.ru 18-08-05 1:28 >>> > > Hi All, > > > > I wanted to ask you - what about the subject? > > Anybody uses/interested to use MS Access client applications this way? > > > > Do I miss obvious (RTFM) stuff and such a disconnected mode is already > > > implemented in MS Access and broadly used by MS Access developers? > > Yes, I know ADO recordsets can be used with bound MS Access forms etc. > > > but this looks like a rather limited feature - am I wrong? > > > > What I mean is cashing data locally into mdbs, only the data needed > > for the currently open form(s) etc., processing this data and then > > updating backend > > database(mdb, MSDE, MS SQL, whatever...) - with all this cashing and > > updating made mostly automatically by a tiny framework code, based on > > ADO.NET...(yes, this local caching of data is not a new subject but > > nowadays > > it can be (re-)implement really scalable way with a way less efforts > > than > > before) > > > > Maybe MS plans to do something like that? > > > > Is that a wheel reinvention or anybody here sees such opportunity like > > > a really useful feature in their real life projects? > > > > For me it looks like a useful feature because it could help: to get MS > > > Access back into mainstream development area because it will allow to > > easily scale applications with MS Access front-ends... > > > > There are many other ideas but most of them in this "ideas pool" based > > > on the subject one - if it doesn't make sense for real-life projects > > then I'd > > better stop working on it... > > > > What is your opinion about the subject? > > When you expect MS will do something like that in MS Access? > > > > Thank you, > > Shamil > > > > -- > > AccessD mailing list > > AccessD at databaseadvisors.com > > http://databaseadvisors.com/mailman/listinfo/accessd > > Website: http://www.databaseadvisors.com > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com From shamil at users.mns.ru Mon Aug 22 12:57:05 2005 From: shamil at users.mns.ru (Shamil Salakhetdinov) Date: Mon, 22 Aug 2005 21:57:05 +0400 Subject: [AccessD] Disconnected MS Access cient applications.. References: <004c01c5a741$49098280$6501a8c0@fincomplex.spb.ru> Message-ID: <000501c5a742$ea36b0a0$6501a8c0@fincomplex.spb.ru> > I'm setting deadline to have it running: this Thursday, August 23, 2005, > evening... Sorry, Thursday is 25 of August not 23th - I meant 25th as a deadline date for bBlog up&running here... Shamil ----- Original Message ----- From: "Shamil Salakhetdinov" To: "Access Developers discussion and problem solving" Sent: Monday, August 22, 2005 9:26 PM Subject: Re: [AccessD] Disconnected MS Access cient applications.. > > I would be deeply honored to work with you on this ... > Thank you, Charlotte, for your confirmation that you're interested to work > in this project! > > > Especially if any failures are all *your* fault! LOL > Yes, all the failures will be mine if you don't mind. > Glorious results - common :) > > > I suppose this means that I have to get better > > are reading C# code, right? > Please don't do any preliminary work like starting to train yourself in > coding in C#... > > > and this looks like fun! > ...because you're right - it should be fun. > > If you program on VB.NET then running C# unit tests and samples will not be > a problem at all I think. > And I think you'll get good experience in C# "automagically" while we will > be developing this project, therefore no need to worry about that now... > > So, now it's my duty to prepare everything to start this project somewhere > end of this week. > Installing bBlog on my ISP hosting is the main task for me now. > Hopefully it will go smoothly. > I'm setting deadline to have it running: this Thursday, August 23, 2005, > evening... > > Thank you, > Shamil > > ----- Original Message ----- > From: "Charlotte Foust" > To: "Access Developers discussion and problem solving" > > Sent: Monday, August 22, 2005 7:29 PM > Subject: RE: [AccessD] Disconnected MS Access cient applications.. > > > > Shamil, > > > > I would be deeply honored to work with you on this ... Especially if any > > failures are all *your* fault! LOL > > > > I suppose this means that I have to get better are reading C# code, > > right? > > > > bBlog looks awesome, and this looks like fun! > > > > > > Charlotte > > > > > > -----Original Message----- > > From: Shamil Salakhetdinov [mailto:shamil at users.mns.ru] > > Sent: Saturday, August 20, 2005 1:34 PM > > To: Access Developers discussion and problem solving > > Subject: Re: [AccessD] Disconnected MS Access cient applications.. > > > > > > Hi Gustav, > > > > Thank you for your welcoming and support! > > > > I have intentions to start approaching and implementing this idea here > > beginning next week with progress results published as a blog. > > > > I decided to codename this project (and its main object) as > > > > "Virtual Data Vault". > > > > It sounds generic but nothing more than making MS Access clients working > > in disconnected mode via ADO.NET with MS Access backends is planned on > > first steps. I mean first of all MS Access clients using bounds forms > > with data cached into local mdb tables... > > > > I don't have a lot of spare time but I do plan to find at least 20-30 > > minutes per day for this project. To make this project possible and > > progressing in such small chunks I see the only way to go is to use XP > > with Unit testing. I hope Charlotte Foust will assist me and will be my > > peer reviewer becaue she seems to be most interested in this project. > > How about that opportunity Charlotte? - if you will find 10 minutes per > > day for this peroject - very fine, if just 10 minutes per week - would > > be good too! If this project fails or "dies", which may happen of course > > - this will be all my fault... > > > > Most of the programming is planned to be done in C#... > > > > For blogging bBlog is currently planned - http://www.bblog.com/ - but > > still to find out will it be possible to install it here on my ISP > > hosting.... > > > > Any other good and simple to install blogging engines/opportunities? > > > > Thank you, > > Shamil > > > > ----- Original Message ----- > > From: "Gustav Brock" > > To: > > Sent: Saturday, August 20, 2005 9:53 PM > > Subject: Svar: [AccessD] Disconnected MS Access cient applications.. > > > > > > > Hi Shamil > > > > > > First, welcome back to AccessD! > > > Then, I find this a very interesting topic with a lot of perspective. > > > > > > /gustav > > > > > > >>> shamil at users.mns.ru 18-08-05 1:28 >>> > > > Hi All, > > > > > > I wanted to ask you - what about the subject? > > > Anybody uses/interested to use MS Access client applications this way? > > > > > > Do I miss obvious (RTFM) stuff and such a disconnected mode is already > > > > > implemented in MS Access and broadly used by MS Access developers? > > > Yes, I know ADO recordsets can be used with bound MS Access forms etc. > > > > > but this looks like a rather limited feature - am I wrong? > > > > > > What I mean is cashing data locally into mdbs, only the data needed > > > for the currently open form(s) etc., processing this data and then > > > updating backend > > > database(mdb, MSDE, MS SQL, whatever...) - with all this cashing and > > > updating made mostly automatically by a tiny framework code, based on > > > ADO.NET...(yes, this local caching of data is not a new subject but > > > nowadays > > > it can be (re-)implement really scalable way with a way less efforts > > > than > > > before) > > > > > > Maybe MS plans to do something like that? > > > > > > Is that a wheel reinvention or anybody here sees such opportunity like > > > > > a really useful feature in their real life projects? > > > > > > For me it looks like a useful feature because it could help: to get MS > > > > > Access back into mainstream development area because it will allow to > > > easily scale applications with MS Access front-ends... > > > > > > There are many other ideas but most of them in this "ideas pool" based > > > > > on the subject one - if it doesn't make sense for real-life projects > > > then I'd > > > better stop working on it... > > > > > > What is your opinion about the subject? > > > When you expect MS will do something like that in MS Access? > > > > > > Thank you, > > > Shamil > > > > > > -- > > > AccessD mailing list > > > AccessD at databaseadvisors.com > > > http://databaseadvisors.com/mailman/listinfo/accessd > > > Website: http://www.databaseadvisors.com > > > > -- > > AccessD mailing list > > AccessD at databaseadvisors.com > > http://databaseadvisors.com/mailman/listinfo/accessd > > Website: http://www.databaseadvisors.com > > -- > > AccessD mailing list > > AccessD at databaseadvisors.com > > http://databaseadvisors.com/mailman/listinfo/accessd > > Website: http://www.databaseadvisors.com > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com From Chester_Kaup at kindermorgan.com Mon Aug 22 16:17:01 2005 From: Chester_Kaup at kindermorgan.com (Kaup, Chester) Date: Mon, 22 Aug 2005 16:17:01 -0500 Subject: [AccessD] Table does not open to first record Message-ID: Doesn't order by just sort the records. Would I not still want an index on the table for speed of processing and searching? Why does access ask for a sort order when creating an index if it is not used in data retrieval? Help me understand. Thanks. -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of MartyConnelly Sent: Monday, August 22, 2005 11:43 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Table does not open to first record An index won't guarantee the order in which the rows are returned from a table unless it is applied. otherwise the table will be just like a shuffled deck of cards. To apply an index use OrderBy and dbOpenDynaset rather than dbOpenTable If you don't specify the second parameter in Openrecordset , by default Access looks at the table and uses dbOpenTable, if a local Table or dbOpenDynaSet , if a query or linked backend table. So you would want to apply a dynamic query to establish indexed order like so. Or you can create your own named query in place of strSQL. dim strSQL as String strSQL = "SELECT * FROM [tbl Produced HCPV% One Pattern] OrderBy MyDateFieldname", debug.print strSQL ' just to check you got it right Set myds = MyDb.OpenRecordset(strSQL, dbOpenDynaset) Kaup, Chester wrote: >I use the following code to open a table (myds) which is indexed on the >date field. When I pull a record in code it gets record 127. I tried a >movefirst command and the table still starts on record 127. Any ideas >what is happening appreciated. > > > >Dim MyDb As Database, myds As Recordset > >Set MyDb = CurrentDb() > >Set myds = MyDb.OpenRecordset("tbl Produced HCPV% One Pattern", >dbOpenTable) > > > >myds.MoveFirst > >myds1.AddNew > > myds1.Fields(0) = myds.Fields(0) 'Date > > myds1.Fields(1) = myds.Fields(1) 'Pattern name > > myds1.Fields(2) = myds.Fields(2) 'Cum total injection > > myds1.Fields(3) = myds.Fields(3) 'Cum based HCPV% > > myds1.Fields(4) = myds.Fields(4) 'Derivative based HCPV% > >myds1.Update > > > >Chester Kaup > >Engineering Technician > >Kinder Morgan CO2 Company, LLP > >Office (432) 688-3797 > >FAX (432) 688-3799 > > > > > >No trees were killed in the sending of this message. However a large >number of electrons were terribly inconvenienced. > > > > > -- Marty Connelly Victoria, B.C. Canada -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From prodevmg at yahoo.com Mon Aug 22 16:42:46 2005 From: prodevmg at yahoo.com (Lonnie Johnson) Date: Mon, 22 Aug 2005 14:42:46 -0700 (PDT) Subject: [AccessD] VBA to ActiveX Message-ID: <20050822214246.41640.qmail@web33114.mail.mud.yahoo.com> I have lots of VBA code in an Access datatabase that runs each night to update various tables and values based on certain conditions. Some of it is complicated such as calculating distance based on longitude and latitude and it is why I use VBA. However, I would like to move this processing over to our SQL Server. Would it be easy to convert some of the functions to DTS ActiveX packages? Is this even the way to go? I am looking to increase the performance and figured I could do so by moving it to the SQL Server side. May God bless you beyond your imagination! Lonnie Johnson ProDev, Professional Development of MS Access Databases Visit me at ==> http://www.prodev.us --------------------------------- Start your day with Yahoo! - make it your home page From stuart at lexacorp.com.pg Mon Aug 22 17:03:01 2005 From: stuart at lexacorp.com.pg (Stuart McLachlan) Date: Tue, 23 Aug 2005 08:03:01 +1000 Subject: [AccessD] Table does not open to first record In-Reply-To: Message-ID: <430AD835.9142.11AB50@stuart.lexacorp.com.pg> On 22 Aug 2005 at 16:17, Kaup, Chester wrote: > Doesn't order by just sort the records. Yes >Would I not still want an index > on the table for speed of processing and searching? Yes. >Why does access ask > for a sort order when creating an index if it is not used in data > retrieval? It is. Generally, Access is smart enough to work out what index(es) to use when sorting data, as long as you tell it what order you want it in. You can have many different indexes on a table in order to retreive data in a particular order quickly but until you tell it to do so, Access will not know what order you want and will just give you the records one at a time in the order they are stored (which can change at any time depnending on what you are doing with deletes/inserts/amends to the data) -- Stuart From artful at rogers.com Mon Aug 22 17:52:41 2005 From: artful at rogers.com (Arthur Fuller) Date: Mon, 22 Aug 2005 18:52:41 -0400 Subject: [AccessD] Cannot Compact and Repaid (Access 2003) Message-ID: <200508222252.j7MMqfR07523@databaseadvisors.com> I have an app that reports ``Invalid operation` when I attempt to compact and repair. I already tried creating a new one and importing everything, and I get the same error on the new one. I can however successfully compile the app. I am puzzled. There are lots of forms, queries, reports and modules, so I really do not want to import them one by one to see where the problem lies. Any other suggestions? TIA, Arthur From dwaters at usinternet.com Mon Aug 22 18:08:44 2005 From: dwaters at usinternet.com (Dan Waters) Date: Mon, 22 Aug 2005 16:08:44 -0700 Subject: [AccessD] Cannot Compact and Repaid (Access 2003) In-Reply-To: <29946311.1124750563727.JavaMail.root@sniper21> Message-ID: <000001c5a76e$71f80d10$38018e0a@danwaters> Arthur, Import each group of objects separately. Test after each import. I'd try tables first since nothing else compacts. Then import say, 10 of each object to narrow down to the offending single object. HTH, Dan Waters -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Arthur Fuller Sent: Monday, August 22, 2005 3:53 PM To: 'Access Developers discussion and problem solving' Subject: [AccessD] Cannot Compact and Repaid (Access 2003) I have an app that reports ``Invalid operation` when I attempt to compact and repair. I already tried creating a new one and importing everything, and I get the same error on the new one. I can however successfully compile the app. I am puzzled. There are lots of forms, queries, reports and modules, so I really do not want to import them one by one to see where the problem lies. Any other suggestions? TIA, Arthur -- 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 Aug 22 19:44:17 2005 From: bchacc at san.rr.com (Rocky Smolin - Beach Access Software) Date: Mon, 22 Aug 2005 17:44:17 -0700 Subject: [AccessD] Cannot Compact and Repaid (Access 2003) References: <200508222252.j7MMqfR07523@databaseadvisors.com> Message-ID: <03cd01c5a77b$cb11bb00$6501a8c0@HAL9004> Binary search? Import half the objects into one database, half into another. Compact and repair both. See which one fails. Eventually you'll find the culprit? But I'd try decompile first on the whole mdb. Then C&R. See if that clears up the problem. Rocky ----- Original Message ----- From: "Arthur Fuller" To: "'Access Developers discussion and problem solving'" Sent: Monday, August 22, 2005 3:52 PM Subject: [AccessD] Cannot Compact and Repaid (Access 2003) >I have an app that reports ``Invalid operation` when I attempt to compact > and repair. I already tried creating a new one and importing everything, > and > I get the same error on the new one. I can however successfully compile > the > app. I am puzzled. There are lots of forms, queries, reports and modules, > so > I really do not want to import them one by one to see where the problem > lies. Any other suggestions? > > TIA, > > Arthur > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > From artful at rogers.com Mon Aug 22 19:47:46 2005 From: artful at rogers.com (Arthur Fuller) Date: Mon, 22 Aug 2005 20:47:46 -0400 Subject: [AccessD] Cannot Compact and Repaid (Access 2003) In-Reply-To: <000001c5a76e$71f80d10$38018e0a@danwaters> Message-ID: <200508230047.j7N0ljR02969@databaseadvisors.com> All the tables are linked, not resident in the FE itself. But I guess that you are correct, I should import group by group and compact after each. Bummer! Arthur -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Dan Waters Sent: August 22, 2005 7:09 PM To: 'Access Developers discussion and problem solving' Subject: RE: [AccessD] Cannot Compact and Repaid (Access 2003) Arthur, Import each group of objects separately. Test after each import. I'd try tables first since nothing else compacts. Then import say, 10 of each object to narrow down to the offending single object. HTH, Dan Waters From itsame2000 at sbcglobal.net Mon Aug 22 23:30:45 2005 From: itsame2000 at sbcglobal.net (Jeremy Toves) Date: Mon, 22 Aug 2005 21:30:45 -0700 (PDT) Subject: [AccessD] Filter Problems Message-ID: <20050823043045.67936.qmail@web81501.mail.yahoo.com> I have a popup form that lists work orders as a continuous form. When it comes up, I want it only to list the active work orders. There is a check box on the popup that I can check to display all. This check box is meant to toggle back and forth between showing all and just the active work orders. The check box works, except when the form first comes up, it displays nothing. How can I have it display the actives without having to rewrite the SQL statement in VBA each time? I'm thinking there is a quick filter that can be used. Thanks, Jeremy From artful at rogers.com Tue Aug 23 00:53:24 2005 From: artful at rogers.com (Arthur Fuller) Date: Tue, 23 Aug 2005 01:53:24 -0400 Subject: [AccessD] Cannot Compact and Repaid (Access 2003) In-Reply-To: <200508230047.j7N0ljR02969@databaseadvisors.com> Message-ID: <200508230553.j7N5rKR12711@databaseadvisors.com> Truly weird. I pulled all the objects into a new MDB, 10 at a time, compacting after each pull. Everything came in and everything compiled, and the file size went from 31 MB to 5 MB. All is bliss, all is bliss. -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Arthur Fuller Sent: August 22, 2005 8:48 PM To: 'Access Developers discussion and problem solving' Subject: RE: [AccessD] Cannot Compact and Repaid (Access 2003) All the tables are linked, not resident in the FE itself. But I guess that you are correct, I should import group by group and compact after each. Bummer! Arthur From dwaters at usinternet.com Tue Aug 23 08:26:10 2005 From: dwaters at usinternet.com (Dan Waters) Date: Tue, 23 Aug 2005 06:26:10 -0700 Subject: [AccessD] Cannot Compact and Repaid (Access 2003) In-Reply-To: <33360566.1124776587796.JavaMail.root@sniper18> Message-ID: <000901c5a7e6$3af182b0$8d05a8c0@danwaters> It's weird, but not unusual. :-( Glad to hear to hear you got it all back!! Dan -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Arthur Fuller Sent: Monday, August 22, 2005 10:53 PM To: 'Access Developers discussion and problem solving' Subject: RE: [AccessD] Cannot Compact and Repaid (Access 2003) Truly weird. I pulled all the objects into a new MDB, 10 at a time, compacting after each pull. Everything came in and everything compiled, and the file size went from 31 MB to 5 MB. All is bliss, all is bliss. -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Arthur Fuller Sent: August 22, 2005 8:48 PM To: 'Access Developers discussion and problem solving' Subject: RE: [AccessD] Cannot Compact and Repaid (Access 2003) All the tables are linked, not resident in the FE itself. But I guess that you are correct, I should import group by group and compact after each. Bummer! Arthur -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From jwcolby at colbyconsulting.com Tue Aug 23 08:42:35 2005 From: jwcolby at colbyconsulting.com (John W. Colby) Date: Tue, 23 Aug 2005 09:42:35 -0400 Subject: [AccessD] Filter Problems In-Reply-To: <20050823043045.67936.qmail@web81501.mail.yahoo.com> Message-ID: <002701c5a7e8$87da7760$6c7aa8c0@ColbyM6805> Open the form with the checkbox set to a default value, then in OnOpen requery the form - me.requery. John W. Colby www.ColbyConsulting.com Contribute your unused CPU cycles to a good cause: http://folding.stanford.edu/ -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Jeremy Toves Sent: Tuesday, August 23, 2005 12:31 AM To: Access Developers Subject: [AccessD] Filter Problems I have a popup form that lists work orders as a continuous form. When it comes up, I want it only to list the active work orders. There is a check box on the popup that I can check to display all. This check box is meant to toggle back and forth between showing all and just the active work orders. The check box works, except when the form first comes up, it displays nothing. How can I have it display the actives without having to rewrite the SQL statement in VBA each time? I'm thinking there is a quick filter that can be used. Thanks, Jeremy -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From itsame2000 at sbcglobal.net Tue Aug 23 08:48:42 2005 From: itsame2000 at sbcglobal.net (Jeremy Toves) Date: Tue, 23 Aug 2005 06:48:42 -0700 (PDT) Subject: [AccessD] Filter Problems In-Reply-To: <002701c5a7e8$87da7760$6c7aa8c0@ColbyM6805> Message-ID: <20050823134842.54268.qmail@web81502.mail.yahoo.com> Thanks! That sounds like an easy solution. I will try that tonight. Jeremy "John W. Colby" wrote: Open the form with the checkbox set to a default value, then in OnOpen requery the form - me.requery. John W. Colby www.ColbyConsulting.com Contribute your unused CPU cycles to a good cause: http://folding.stanford.edu/ -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Jeremy Toves Sent: Tuesday, August 23, 2005 12:31 AM To: Access Developers Subject: [AccessD] Filter Problems I have a popup form that lists work orders as a continuous form. When it comes up, I want it only to list the active work orders. There is a check box on the popup that I can check to display all. This check box is meant to toggle back and forth between showing all and just the active work orders. The check box works, except when the form first comes up, it displays nothing. How can I have it display the actives without having to rewrite the SQL statement in VBA each time? I'm thinking there is a quick filter that can be used. Thanks, Jeremy -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From jwcolby at colbyconsulting.com Tue Aug 23 09:02:23 2005 From: jwcolby at colbyconsulting.com (John W. Colby) Date: Tue, 23 Aug 2005 10:02:23 -0400 Subject: [AccessD] Filter Problems In-Reply-To: <20050823134842.54268.qmail@web81502.mail.yahoo.com> Message-ID: <002901c5a7eb$4bdff9d0$6c7aa8c0@ColbyM6805> The other way to do this is to open the form with no recordset, or with a recordset (SQL Statement) with a where clause that pulls no records - perhaps with a WHERE WorkOrder = "Nonsense" or something like that. This causes the form to open with no records. Then in OnOpen just place the name of a saved query into the form's RecordSource. Doing that will cause the form to requery, displaying the records that match the checkbox. John W. Colby www.ColbyConsulting.com Contribute your unused CPU cycles to a good cause: http://folding.stanford.edu/ -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Jeremy Toves Sent: Tuesday, August 23, 2005 9:49 AM To: Access Developers discussion and problem solving Subject: RE: [AccessD] Filter Problems Thanks! That sounds like an easy solution. I will try that tonight. Jeremy "John W. Colby" wrote: Open the form with the checkbox set to a default value, then in OnOpen requery the form - me.requery. John W. Colby www.ColbyConsulting.com Contribute your unused CPU cycles to a good cause: http://folding.stanford.edu/ -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Jeremy Toves Sent: Tuesday, August 23, 2005 12:31 AM To: Access Developers Subject: [AccessD] Filter Problems I have a popup form that lists work orders as a continuous form. When it comes up, I want it only to list the active work orders. There is a check box on the popup that I can check to display all. This check box is meant to toggle back and forth between showing all and just the active work orders. The check box works, except when the form first comes up, it displays nothing. How can I have it display the actives without having to rewrite the SQL statement in VBA each time? I'm thinking there is a quick filter that can be used. Thanks, Jeremy -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From itsame2000 at sbcglobal.net Tue Aug 23 09:07:46 2005 From: itsame2000 at sbcglobal.net (Jeremy Toves) Date: Tue, 23 Aug 2005 07:07:46 -0700 (PDT) Subject: [AccessD] Filter Problems In-Reply-To: <002901c5a7eb$4bdff9d0$6c7aa8c0@ColbyM6805> Message-ID: <20050823140746.25506.qmail@web81507.mail.yahoo.com> Thanks again. The first solution seems more simple. If it has problems, then I will try this one. Jeremy "John W. Colby" wrote: The other way to do this is to open the form with no recordset, or with a recordset (SQL Statement) with a where clause that pulls no records - perhaps with a WHERE WorkOrder = "Nonsense" or something like that. This causes the form to open with no records. Then in OnOpen just place the name of a saved query into the form's RecordSource. Doing that will cause the form to requery, displaying the records that match the checkbox. John W. Colby www.ColbyConsulting.com Contribute your unused CPU cycles to a good cause: http://folding.stanford.edu/ -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Jeremy Toves Sent: Tuesday, August 23, 2005 9:49 AM To: Access Developers discussion and problem solving Subject: RE: [AccessD] Filter Problems Thanks! That sounds like an easy solution. I will try that tonight. Jeremy "John W. Colby" wrote: Open the form with the checkbox set to a default value, then in OnOpen requery the form - me.requery. John W. Colby www.ColbyConsulting.com Contribute your unused CPU cycles to a good cause: http://folding.stanford.edu/ -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Jeremy Toves Sent: Tuesday, August 23, 2005 12:31 AM To: Access Developers Subject: [AccessD] Filter Problems I have a popup form that lists work orders as a continuous form. When it comes up, I want it only to list the active work orders. There is a check box on the popup that I can check to display all. This check box is meant to toggle back and forth between showing all and just the active work orders. The check box works, except when the form first comes up, it displays nothing. How can I have it display the actives without having to rewrite the SQL statement in VBA each time? I'm thinking there is a quick filter that can be used. Thanks, Jeremy -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From jwcolby at colbyconsulting.com Tue Aug 23 09:15:30 2005 From: jwcolby at colbyconsulting.com (John W. Colby) Date: Tue, 23 Aug 2005 10:15:30 -0400 Subject: [AccessD] Filter Problems In-Reply-To: <20050823140746.25506.qmail@web81507.mail.yahoo.com> Message-ID: <002a01c5a7ed$1e59da60$6c7aa8c0@ColbyM6805> LOL, that is true. The first solution pulls all the records twice. If the form is simple and only pulls a handful of records this won't be an issue. If the form were to pull a large complex recordset it could cause a lot of network traffic and take a long time to open, then a long time to requery. John W. Colby www.ColbyConsulting.com Contribute your unused CPU cycles to a good cause: http://folding.stanford.edu/ -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Jeremy Toves Sent: Tuesday, August 23, 2005 10:08 AM To: Access Developers discussion and problem solving Subject: RE: [AccessD] Filter Problems Thanks again. The first solution seems more simple. If it has problems, then I will try this one. Jeremy "John W. Colby" wrote: The other way to do this is to open the form with no recordset, or with a recordset (SQL Statement) with a where clause that pulls no records - perhaps with a WHERE WorkOrder = "Nonsense" or something like that. This causes the form to open with no records. Then in OnOpen just place the name of a saved query into the form's RecordSource. Doing that will cause the form to requery, displaying the records that match the checkbox. John W. Colby www.ColbyConsulting.com Contribute your unused CPU cycles to a good cause: http://folding.stanford.edu/ -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Jeremy Toves Sent: Tuesday, August 23, 2005 9:49 AM To: Access Developers discussion and problem solving Subject: RE: [AccessD] Filter Problems Thanks! That sounds like an easy solution. I will try that tonight. Jeremy "John W. Colby" wrote: Open the form with the checkbox set to a default value, then in OnOpen requery the form - me.requery. John W. Colby www.ColbyConsulting.com Contribute your unused CPU cycles to a good cause: http://folding.stanford.edu/ -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Jeremy Toves Sent: Tuesday, August 23, 2005 12:31 AM To: Access Developers Subject: [AccessD] Filter Problems I have a popup form that lists work orders as a continuous form. When it comes up, I want it only to list the active work orders. There is a check box on the popup that I can check to display all. This check box is meant to toggle back and forth between showing all and just the active work orders. The check box works, except when the form first comes up, it displays nothing. How can I have it display the actives without having to rewrite the SQL statement in VBA each time? I'm thinking there is a quick filter that can be used. Thanks, Jeremy -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From shamil at users.mns.ru Tue Aug 23 10:27:30 2005 From: shamil at users.mns.ru (Shamil Salakhetdinov) Date: Tue, 23 Aug 2005 19:27:30 +0400 Subject: [AccessD] Disconnected MS Access cient applications.. References: <004c01c5a741$49098280$6501a8c0@fincomplex.spb.ru> Message-ID: <002001c5a7f7$3c8ecf40$6501a8c0@fincomplex.spb.ru> > I'm setting deadline to have it running: this Thursday, August 23, 2005, > evening... bBlog is installed today two days before planned schedule - http://smsconsulting.spb.ru/vdv/ You're welcome to visit it to see it's working and to post your comments! But nothing there yet - just the first welcome message. First posting is planned on this Friday. Till then I will play a little with bBlog to see how it can be tuned to make the blog more feature-rich.. Shamil ----- Original Message ----- From: "Shamil Salakhetdinov" To: "Access Developers discussion and problem solving" Sent: Monday, August 22, 2005 9:26 PM Subject: Re: [AccessD] Disconnected MS Access cient applications.. > > I would be deeply honored to work with you on this ... > Thank you, Charlotte, for your confirmation that you're interested to work > in this project! > > > Especially if any failures are all *your* fault! LOL > Yes, all the failures will be mine if you don't mind. > Glorious results - common :) > > > I suppose this means that I have to get better > > are reading C# code, right? > Please don't do any preliminary work like starting to train yourself in > coding in C#... > > > and this looks like fun! > ...because you're right - it should be fun. > > If you program on VB.NET then running C# unit tests and samples will not be > a problem at all I think. > And I think you'll get good experience in C# "automagically" while we will > be developing this project, therefore no need to worry about that now... > > So, now it's my duty to prepare everything to start this project somewhere > end of this week. > Installing bBlog on my ISP hosting is the main task for me now. > Hopefully it will go smoothly. > I'm setting deadline to have it running: this Thursday, August 23, 2005, > evening... > > Thank you, > Shamil > <<< tail skipped>>> From bheid at appdevgrp.com Tue Aug 23 12:47:22 2005 From: bheid at appdevgrp.com (Bobby Heid) Date: Tue, 23 Aug 2005 13:47:22 -0400 Subject: [AccessD] Weird VSS issue - again. X-posted to Access-L. Message-ID: <916187228923D311A6FE00A0CC3FAA30ABEE9B@ADGSERVER> Hey all, We have a fairly large FE with hundreds of queries in it (Acc XP). There is this one set of queries that use a pretty complex sub-query. By complex, I mean that there are a lot of joins and criteria in it. Whomever did the original design then self-joined the sub-query 5 times. This is to handle the tiering of the data. Any way, after building from source in VSS, this one query would sometimes be blank. We finally tracked down how to prevent it from happening. We had to view the query in SQL view and then save it. Well, we just had to add another tier to some other queries (which are like the ones above) and the same thing happened upon building from source. I believe it has something to do with the complexity of the queries. Does anyone know what might be going on and what we can do to stop it from happening? It's becoming a real PIA. Thanks, Bobby From Gustav at cactus.dk Tue Aug 23 13:18:55 2005 From: Gustav at cactus.dk (Gustav Brock) Date: Tue, 23 Aug 2005 20:18:55 +0200 Subject: [AccessD] Weird VSS issue - again. X-posted to Access-L. Message-ID: Hi Bobby I don't use VSS, but could it be that some of the field names of the subqueries are not known at design time? This may happen if one or more of these are crosstab queries, and it will cause troubles if you cannot specify (hardcode) the output columns or have not done so. /gustav >>> bheid at appdevgrp.com 08/23 7:47 pm >>> Hey all, We have a fairly large FE with hundreds of queries in it (Acc XP). There is this one set of queries that use a pretty complex sub-query. By complex, I mean that there are a lot of joins and criteria in it. Whomever did the original design then self-joined the sub-query 5 times. This is to handle the tiering of the data. Any way, after building from source in VSS, this one query would sometimes be blank. We finally tracked down how to prevent it from happening. We had to view the query in SQL view and then save it. Well, we just had to add another tier to some other queries (which are like the ones above) and the same thing happened upon building from source. I believe it has something to do with the complexity of the queries. Does anyone know what might be going on and what we can do to stop it from happening? It's becoming a real PIA. Thanks, Bobby From cfoust at infostatsystems.com Tue Aug 23 13:34:18 2005 From: cfoust at infostatsystems.com (Charlotte Foust) Date: Tue, 23 Aug 2005 11:34:18 -0700 Subject: [AccessD] Weird VSS issue - again. X-posted to Access-L. Message-ID: I've never seen anything like this as an artifact of VSS, but are you using in-line subqueries? I have seen weirdness occur when you view that query in design view and then save it because the query engine insists on changing the punctuation around the subquery to something that breaks later on. Charlotte Foust -----Original Message----- From: Bobby Heid [mailto:bheid at appdevgrp.com] Sent: Tuesday, August 23, 2005 10:47 AM To: 'Access Developers discussion and problem solving' Subject: [AccessD] Weird VSS issue - again. X-posted to Access-L. Hey all, We have a fairly large FE with hundreds of queries in it (Acc XP). There is this one set of queries that use a pretty complex sub-query. By complex, I mean that there are a lot of joins and criteria in it. Whomever did the original design then self-joined the sub-query 5 times. This is to handle the tiering of the data. Any way, after building from source in VSS, this one query would sometimes be blank. We finally tracked down how to prevent it from happening. We had to view the query in SQL view and then save it. Well, we just had to add another tier to some other queries (which are like the ones above) and the same thing happened upon building from source. I believe it has something to do with the complexity of the queries. Does anyone know what might be going on and what we can do to stop it from happening? It's becoming a real PIA. Thanks, Bobby -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From bheid at appdevgrp.com Tue Aug 23 13:42:49 2005 From: bheid at appdevgrp.com (Bobby Heid) Date: Tue, 23 Aug 2005 14:42:49 -0400 Subject: [AccessD] Weird VSS issue - again. X-posted to Access-L. In-Reply-To: <916187228923D311A6FE00A0CC3FAA30C6DAE9@ADGSERVER> Message-ID: <916187228923D311A6FE00A0CC3FAA30ABEE9F@ADGSERVER> Hey Gustav, At the time of creation/editing/saving all of the field names are known. These are not cross-tab queries. The weird thing is that it works ok most of the time. And when it does mess up, it messes up for all of the seven queries (that are usually affected) that have been edited (at least the 7 queries that it now affects). All of the other queries are fine. Bobby -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Gustav Brock Sent: Tuesday, August 23, 2005 2:19 PM To: accessd at databaseadvisors.com Subject: Re: [AccessD] Weird VSS issue - again. X-posted to Access-L. Hi Bobby I don't use VSS, but could it be that some of the field names of the subqueries are not known at design time? This may happen if one or more of these are crosstab queries, and it will cause troubles if you cannot specify (hardcode) the output columns or have not done so. /gustav >>> bheid at appdevgrp.com 08/23 7:47 pm >>> Hey all, We have a fairly large FE with hundreds of queries in it (Acc XP). There is this one set of queries that use a pretty complex sub-query. By complex, I mean that there are a lot of joins and criteria in it. Whomever did the original design then self-joined the sub-query 5 times. This is to handle the tiering of the data. Any way, after building from source in VSS, this one query would sometimes be blank. We finally tracked down how to prevent it from happening. We had to view the query in SQL view and then save it. Well, we just had to add another tier to some other queries (which are like the ones above) and the same thing happened upon building from source. I believe it has something to do with the complexity of the queries. Does anyone know what might be going on and what we can do to stop it from happening? It's becoming a real PIA. Thanks, Bobby From bheid at appdevgrp.com Tue Aug 23 13:44:04 2005 From: bheid at appdevgrp.com (Bobby Heid) Date: Tue, 23 Aug 2005 14:44:04 -0400 Subject: [AccessD] Weird VSS issue - again. X-posted to Access-L. In-Reply-To: <916187228923D311A6FE00A0CC3FAA30C6DAF5@ADGSERVER> Message-ID: <916187228923D311A6FE00A0CC3FAA30ABEEA0@ADGSERVER> Hey Charlotte, No, no inline queries. We create the sub queries as a separate query. But I do think it has to do with the complexity of the queries. Thanks, Bobby -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Charlotte Foust Sent: Tuesday, August 23, 2005 2:34 PM To: Access Developers discussion and problem solving Subject: RE: [AccessD] Weird VSS issue - again. X-posted to Access-L. I've never seen anything like this as an artifact of VSS, but are you using in-line subqueries? I have seen weirdness occur when you view that query in design view and then save it because the query engine insists on changing the punctuation around the subquery to something that breaks later on. Charlotte Foust -----Original Message----- From: Bobby Heid [mailto:bheid at appdevgrp.com] Sent: Tuesday, August 23, 2005 10:47 AM To: 'Access Developers discussion and problem solving' Subject: [AccessD] Weird VSS issue - again. X-posted to Access-L. Hey all, We have a fairly large FE with hundreds of queries in it (Acc XP). There is this one set of queries that use a pretty complex sub-query. By complex, I mean that there are a lot of joins and criteria in it. Whomever did the original design then self-joined the sub-query 5 times. This is to handle the tiering of the data. Any way, after building from source in VSS, this one query would sometimes be blank. We finally tracked down how to prevent it from happening. We had to view the query in SQL view and then save it. Well, we just had to add another tier to some other queries (which are like the ones above) and the same thing happened upon building from source. I believe it has something to do with the complexity of the queries. Does anyone know what might be going on and what we can do to stop it from happening? It's becoming a real PIA. Thanks, Bobby From martyconnelly at shaw.ca Tue Aug 23 14:29:42 2005 From: martyconnelly at shaw.ca (MartyConnelly) Date: Tue, 23 Aug 2005 12:29:42 -0700 Subject: [AccessD] Weird VSS issue - again. X-posted to Access-L. References: <916187228923D311A6FE00A0CC3FAA30ABEE9B@ADGSERVER> Message-ID: <430B7926.6070706@shaw.ca> I don't know if this will help but you can compile and decompile queries. http://www.trigeminal.com/lang/1033/codes.asp?ItemID=15#15 Bobby Heid wrote: >Hey all, > >We have a fairly large FE with hundreds of queries in it (Acc XP). There is >this one set of queries that use a pretty complex sub-query. By complex, I >mean that there are a lot of joins and criteria in it. > >Whomever did the original design then self-joined the sub-query 5 times. >This is to handle the tiering of the data. > >Any way, after building from source in VSS, this one query would sometimes >be blank. We finally tracked down how to prevent it from happening. We had >to view the query in SQL view and then save it. > >Well, we just had to add another tier to some other queries (which are like >the ones above) and the same thing happened upon building from source. I >believe it has something to do with the complexity of the queries. > >Does anyone know what might be going on and what we can do to stop it from >happening? It's becoming a real PIA. > >Thanks, >Bobby > > > -- Marty Connelly Victoria, B.C. Canada From itsame2000 at sbcglobal.net Tue Aug 23 20:46:33 2005 From: itsame2000 at sbcglobal.net (Jeremy Toves) Date: Tue, 23 Aug 2005 18:46:33 -0700 (PDT) Subject: [AccessD] Filter Problems In-Reply-To: <002701c5a7e8$87da7760$6c7aa8c0@ColbyM6805> Message-ID: <20050824014633.7815.qmail@web81504.mail.yahoo.com> John, This worked perfectly. There isn't much data. I'm just tracking work orders. There is no noticeable degradation in speed. Thanks, Jeremy "John W. Colby" wrote: Open the form with the checkbox set to a default value, then in OnOpen requery the form - me.requery. John W. Colby www.ColbyConsulting.com Contribute your unused CPU cycles to a good cause: http://folding.stanford.edu/ -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Jeremy Toves Sent: Tuesday, August 23, 2005 12:31 AM To: Access Developers Subject: [AccessD] Filter Problems I have a popup form that lists work orders as a continuous form. When it comes up, I want it only to list the active work orders. There is a check box on the popup that I can check to display all. This check box is meant to toggle back and forth between showing all and just the active work orders. The check box works, except when the form first comes up, it displays nothing. How can I have it display the actives without having to rewrite the SQL statement in VBA each time? I'm thinking there is a quick filter that can be used. Thanks, Jeremy -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From jwcolby at colbyconsulting.com Tue Aug 23 20:53:06 2005 From: jwcolby at colbyconsulting.com (John W. Colby) Date: Tue, 23 Aug 2005 21:53:06 -0400 Subject: [AccessD] Filter Problems In-Reply-To: <20050824014633.7815.qmail@web81504.mail.yahoo.com> Message-ID: <003e01c5a84e$95669290$6c7aa8c0@ColbyM6805> Yea, go. Glad I could help. John W. Colby www.ColbyConsulting.com Contribute your unused CPU cycles to a good cause: http://folding.stanford.edu/ -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Jeremy Toves Sent: Tuesday, August 23, 2005 9:47 PM To: Access Developers discussion and problem solving Subject: RE: [AccessD] Filter Problems John, This worked perfectly. There isn't much data. I'm just tracking work orders. There is no noticeable degradation in speed. Thanks, Jeremy "John W. Colby" wrote: Open the form with the checkbox set to a default value, then in OnOpen requery the form - me.requery. John W. Colby www.ColbyConsulting.com Contribute your unused CPU cycles to a good cause: http://folding.stanford.edu/ -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Jeremy Toves Sent: Tuesday, August 23, 2005 12:31 AM To: Access Developers Subject: [AccessD] Filter Problems I have a popup form that lists work orders as a continuous form. When it comes up, I want it only to list the active work orders. There is a check box on the popup that I can check to display all. This check box is meant to toggle back and forth between showing all and just the active work orders. The check box works, except when the form first comes up, it displays nothing. How can I have it display the actives without having to rewrite the SQL statement in VBA each time? I'm thinking there is a quick filter that can be used. Thanks, Jeremy -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From Gustav at cactus.dk Wed Aug 24 04:08:09 2005 From: Gustav at cactus.dk (Gustav Brock) Date: Wed, 24 Aug 2005 11:08:09 +0200 Subject: [AccessD] the dreaded n-recursive parts explosion (BOM) query...again Message-ID: Hi Bruce and Marty A recent article from MySQL covers this topic: http://dev.mysql.com/tech-resources/articles/hierarchical-data.html Still, I'm not sure these nested sets are pure happiness - on average you have to update 50% of all records when inserting or deleting a record. /gustav >>> martyconnelly at shaw.ca 07/20 1:49 am >>> Do you mean the nested set solution from Joe Celko It is further written up in his book "SQL for Smarties" http://www.mvps.org/access/queries/qry0023.htm or this one http://www.mvps.org/access/modules/mdl0027.htm Bruen, Bruce wrote: >Hi folks, > >I thought I had got over this one years ago and can't find the SQL query >template someone (Lembit???) here kindly supplied last time. > >But it has come back to get me again, so.... > >Does someone have a "template" query to return all the parts in an >n-level parts explosion, preferably in binary-tree pre-order order. >* all components, subcomponents and parts are held in the same table, >* it is a one way tree - i.e. parts that are used in multiple assemblies >appear multiple times in the table (i.e.i.e. the pkey for the tree table >is not the SKU) > > >tia >bruce > > > -- Marty Connelly Victoria, B.C. Canada From paul.hartland at fsmail.net Wed Aug 24 05:32:25 2005 From: paul.hartland at fsmail.net (paul.hartland at fsmail.net) Date: Wed, 24 Aug 2005 12:32:25 +0200 (CEST) Subject: [AccessD] Detecting CD Drive Letter Message-ID: <30292505.1124879545237.JavaMail.www@wwinf3101> To all, Is there a way of detecting via VBA or VB code the drive letter of the CD on a PC ? Thanks in advance for any help on this Paul Hartland Database Developer From tom.bolton at donnslaw.co.uk Wed Aug 24 05:44:57 2005 From: tom.bolton at donnslaw.co.uk (Tom Bolton) Date: Wed, 24 Aug 2005 11:44:57 +0100 Subject: [AccessD] Detecting CD Drive Letter Message-ID: <61F915314798D311A2F800A0C9C831880802A318@dibble.observatory.donnslaw.co.uk> There is - there's an API to do it. Not done this for a long while now, but I remember using a huge VB app with a database that lived on the CD; a bit like a rudimentary CD key. Anyhoo: http://support.microsoft.com/default.aspx?scid=kb;en-us;291575 This'll give you all the info. HTH Tom -----Original Message----- From: paul.hartland at fsmail.net [mailto:paul.hartland at fsmail.net] Sent: 24-Aug-2005 11:32 To: accessd Subject: [AccessD] Detecting CD Drive Letter To all, Is there a way of detecting via VBA or VB code the drive letter of the CD on a PC ? Thanks in advance for any help on this Paul Hartland Database Developer -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -------------- next part -------------- The contents of this message and any attachments are the property of Donns Solicitors and are intended for the confidential use of the named recipient only. They may be legally privileged and should not be communicated to, or relied upon, by any other party without our written consent. If you are not the addressee, please notify us immediately so that we can make arrangements for its return. You should not show this e-mail to any person or take copies as you may be committing a criminal or civil offence for which you may be liable. The statement and opinions expressed in this e-mail message are those of the writer, and do not necessarily represent that of Donns Solicitors. Although any files attached to this e-mail will have been checked with virus protection software prior to transmission, you should carry out your own virus check before opening any attachment. Donns Solicitors does not accept any liability for any damage or loss which may be caused by software viruses... From paul.hartland at isharp.co.uk Wed Aug 24 05:50:44 2005 From: paul.hartland at isharp.co.uk (Paul Hartland (ISHARP)) Date: Wed, 24 Aug 2005 11:50:44 +0100 Subject: [AccessD] Detecting CD Drive Letter In-Reply-To: <61F915314798D311A2F800A0C9C831880802A318@dibble.observatory.donnslaw.co.uk> Message-ID: Thanks a lot, forever in AccessD's debt I am -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Tom Bolton Sent: 24 August 2005 11:45 To: 'Access Developers discussion and problem solving' Subject: RE: [AccessD] Detecting CD Drive Letter There is - there's an API to do it. Not done this for a long while now, but I remember using a huge VB app with a database that lived on the CD; a bit like a rudimentary CD key. Anyhoo: http://support.microsoft.com/default.aspx?scid=kb;en-us;291575 This'll give you all the info. HTH Tom -----Original Message----- From: paul.hartland at fsmail.net [mailto:paul.hartland at fsmail.net] Sent: 24-Aug-2005 11:32 To: accessd Subject: [AccessD] Detecting CD Drive Letter To all, Is there a way of detecting via VBA or VB code the drive letter of the CD on a PC ? Thanks in advance for any help on this Paul Hartland Database Developer -- 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 Aug 24 05:53:05 2005 From: roz.clarke at donnslaw.co.uk (Roz Clarke) Date: Wed, 24 Aug 2005 11:53:05 +0100 Subject: [AccessD] Change of circumstances Message-ID: <61F915314798D311A2F800A0C9C8318807225F0D@dibble.observatory.donnslaw.co.uk> Dear all Like so many access-d members before me, I will shortly be giving up my day job and looking for freelance work. The trouble is I don't want to work 24/7 - I am starting a masters degree this autumn, and writing a novel. But it would be nice to keep my hand in with a bit of analysis &/or development work, and of course the money would not go amiss. Does anyone have any suggestions as to how I could do this? I have 10 years experience with Access but I'm no guru, as you know. I've extended into other Office apps a good deal, including Outlook. I have some SQL dev skills and a smattering of SQL DBA knowledge. I'm getting into ASP.NET. I'm a good analyst and I think I'm a decent team leader, (whatever Tom says). My real strength is project management. I'd like to work 2 days a week, but I appreciate that freelance work never respects that kind of wish. :) Any advice would be much appreciated TIA Roz -------------- next part -------------- The contents of this message and any attachments are the property of Donns Solicitors and are intended for the confidential use of the named recipient only. They may be legally privileged and should not be communicated to, or relied upon, by any other party without our written consent. If you are not the addressee, please notify us immediately so that we can make arrangements for its return. You should not show this e-mail to any person or take copies as you may be committing a criminal or civil offence for which you may be liable. The statement and opinions expressed in this e-mail message are those of the writer, and do not necessarily represent that of Donns Solicitors. Although any files attached to this e-mail will have been checked with virus protection software prior to transmission, you should carry out your own virus check before opening any attachment. Donns Solicitors does not accept any liability for any damage or loss which may be caused by software viruses... From Johncliviger at aol.com Wed Aug 24 06:23:40 2005 From: Johncliviger at aol.com (Johncliviger at aol.com) Date: Wed, 24 Aug 2005 07:23:40 EDT Subject: [AccessD] Change of circumstances Message-ID: <1e9.42c472d8.303db2bc@aol.com> Roz I think your are in the Manchester, England area, if I'm right email me a cv at _databaseuk at aol.com_ (mailto:databaseuk at aol.com) John From paul.hartland at isharp.co.uk Wed Aug 24 06:34:20 2005 From: paul.hartland at isharp.co.uk (Paul Hartland (ISHARP)) Date: Wed, 24 Aug 2005 12:34:20 +0100 Subject: [AccessD] Change of circumstances In-Reply-To: <1e9.42c472d8.303db2bc@aol.com> Message-ID: John, Forgive me for getting involved in this conversation, I am currently full time employed but will shortly be looking to do some freelance work outside hours...If you think I could be for anything, email me at paul.hartland at fsmail.net and I will send my CV in reply. Paul Hartland -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Johncliviger at aol.com Sent: 24 August 2005 12:24 To: accessd at databaseadvisors.com Subject: Re: [AccessD] Change of circumstances Roz I think your are in the Manchester, England area, if I'm right email me a cv at _databaseuk at aol.com_ (mailto:databaseuk at aol.com) John -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From andy at minstersystems.co.uk Wed Aug 24 06:53:04 2005 From: andy at minstersystems.co.uk (Andy Lacey) Date: Wed, 24 Aug 2005 12:53:04 +0100 Subject: [AccessD] Change of circumstances Message-ID: <20050824115301.A9E7624EEF6@smtp.nildram.co.uk> Hi Roz Don't have anything practical to add (you spotted the obvious one about freelance work not readily fitting round personal timetables) but just wanted to say good luck. What's the Masters in, and more intriguingly what's the novel? Is it your first? Do you have a publisher? etc etc When can we look to see Roz Clarke in Waterstones? And I hope you'll be sticking around AccessD. -- Andy Lacey http://www.minstersystems.co.uk --------- Original Message -------- From: "Access Developers discussion and problem solving" To: "'Access Developers discussion and problem solving'" Subject: [AccessD] Change of circumstances Date: 24/08/05 10:52 Dear all Like so many access-d members before me, I will shortly be giving up my day job and looking for freelance work. The trouble is I don't want to work 24/7 - I am starting a masters degree this autumn, and writing a novel. But it would be nice to keep my hand in with a bit of analysis &/or development work, and of course the money would not go amiss. Does anyone have any suggestions as to how I could do this? I have 10 years experience with Access but I'm no guru, as you know. I've extended into other Office apps a good deal, including Outlook. I have some SQL dev skills and a smattering of SQL DBA knowledge. I'm getting into ASP.NET. I'm a good analyst and I think I'm a decent team leader, (whatever Tom says). My real strength is project management. I'd like to work 2 days a week, but I appreciate that freelance work never respects that kind of wish. :) Any advice would be much appreciated TIA Roz The contents of this message and any attachments are the property of Donns Solicitors and are intended for the confidential use of the named recipient only. They may be legally privileged and should not be communicated to, or relied upon, by any other party without our written consent. If you are not the addressee, please notify us immediately so that we can make arrangements for its return. You should not show this e-mail to any person or take copies as you may be committing a criminal or civil offence for which you may be liable. The statement and opinions expressed in this e-mail message are those of the writer, and do not necessarily represent that of Donns Solicitors. Although any files attached to this e-mail will have been checked with virus protection software prior to transmission, you should carry out your own virus check before opening any attachment. Donns Solicitors does not accept any liability for any damage or loss which may be caused by software viruses... -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com ________________________________________________ Message sent using UebiMiau 2.7.2 From tom.bolton at donnslaw.co.uk Wed Aug 24 07:01:08 2005 From: tom.bolton at donnslaw.co.uk (Tom Bolton) Date: Wed, 24 Aug 2005 13:01:08 +0100 Subject: [AccessD] Change of circumstances Message-ID: <61F915314798D311A2F800A0C9C831880802A319@dibble.observatory.donnslaw.co.uk> "A Query Too Far" - Clarke, R. *hides under desk* -----Original Message----- From: Andy Lacey [mailto:andy at minstersystems.co.uk] Sent: 24-Aug-2005 12:53 To: Access Developers discussion and problem solving Subject: Re: [AccessD] Change of circumstances Hi Roz Don't have anything practical to add (you spotted the obvious one about freelance work not readily fitting round personal timetables) but just wanted to say good luck. What's the Masters in, and more intriguingly what's the novel? Is it your first? Do you have a publisher? etc etc When can we look to see Roz Clarke in Waterstones? And I hope you'll be sticking around AccessD. -- Andy Lacey http://www.minstersystems.co.uk -------------- next part -------------- The contents of this message and any attachments are the property of Donns Solicitors and are intended for the confidential use of the named recipient only. They may be legally privileged and should not be communicated to, or relied upon, by any other party without our written consent. If you are not the addressee, please notify us immediately so that we can make arrangements for its return. You should not show this e-mail to any person or take copies as you may be committing a criminal or civil offence for which you may be liable. The statement and opinions expressed in this e-mail message are those of the writer, and do not necessarily represent that of Donns Solicitors. Although any files attached to this e-mail will have been checked with virus protection software prior to transmission, you should carry out your own virus check before opening any attachment. Donns Solicitors does not accept any liability for any damage or loss which may be caused by software viruses... From roz.clarke at donnslaw.co.uk Wed Aug 24 07:13:34 2005 From: roz.clarke at donnslaw.co.uk (Roz Clarke) Date: Wed, 24 Aug 2005 13:13:34 +0100 Subject: [AccessD] Change of circumstances Message-ID: <61F915314798D311A2F800A0C9C8318807225F12@dibble.observatory.donnslaw.co.uk> Well remembered John, I will do :) -----Original Message----- From: Johncliviger at aol.com [mailto:Johncliviger at aol.com] Sent: 24 August 2005 12:24 To: accessd at databaseadvisors.com Subject: Re: [AccessD] Change of circumstances Roz I think your are in the Manchester, England area, if I'm right email me a cv at _databaseuk at aol.com_ (mailto:databaseuk at aol.com) John -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -------------- next part -------------- The contents of this message and any attachments are the property of Donns Solicitors and are intended for the confidential use of the named recipient only. They may be legally privileged and should not be communicated to, or relied upon, by any other party without our written consent. If you are not the addressee, please notify us immediately so that we can make arrangements for its return. You should not show this e-mail to any person or take copies as you may be committing a criminal or civil offence for which you may be liable. The statement and opinions expressed in this e-mail message are those of the writer, and do not necessarily represent that of Donns Solicitors. Although any files attached to this e-mail will have been checked with virus protection software prior to transmission, you should carry out your own virus check before opening any attachment. Donns Solicitors does not accept any liability for any damage or loss which may be caused by software viruses... From andy at minstersystems.co.uk Wed Aug 24 07:13:11 2005 From: andy at minstersystems.co.uk (Andy Lacey) Date: Wed, 24 Aug 2005 13:13:11 +0100 Subject: [AccessD] Change of circumstances Message-ID: <20050824121308.CA27124F43D@smtp.nildram.co.uk> ROTFL Oh God I'm really really tempted now, but it'll start something and as a responsible moderator I'd have to tell myself to shut up. Darn. -- 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] Change of circumstances Date: 24/08/05 12:00 "A Query Too Far" - Clarke, R. *hides under desk* -----Original Message----- From: Andy Lacey [mailto:andy at minstersystems.co.uk] Sent: 24-Aug-2005 12:53 To: Access Developers discussion and problem solving Subject: Re: [AccessD] Change of circumstances Hi Roz Don't have anything practical to add (you spotted the obvious one about freelance work not readily fitting round personal timetables) but just wanted to say good luck. What's the Masters in, and more intriguingly what's the novel? Is it your first? Do you have a publisher? etc etc When can we look to see Roz Clarke in Waterstones? And I hope you'll be sticking around AccessD. -- Andy Lacey http://www.minstersystems.co.uk The contents of this message and any attachments are the property of Donns Solicitors and are intended for the confidential use of the named recipient only. They may be legally privileged and should not be communicated to, or relied upon, by any other party without our written consent. If you are not the addressee, please notify us immediately so that we can make arrangements for its return. You should not show this e-mail to any person or take copies as you may be committing a criminal or civil offence for which you may be liable. The statement and opinions expressed in this e-mail message are those of the writer, and do not necessarily represent that of Donns Solicitors. Although any files attached to this e-mail will have been checked with virus protection software prior to transmission, you should carry out your own virus check before opening any attachment. Donns Solicitors does not accept any liability for any damage or loss which may be caused by software viruses... -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com ________________________________________________ Message sent using UebiMiau 2.7.2 From roz.clarke at donnslaw.co.uk Wed Aug 24 07:19:46 2005 From: roz.clarke at donnslaw.co.uk (Roz Clarke) Date: Wed, 24 Aug 2005 13:19:46 +0100 Subject: [AccessD] Change of circumstances Message-ID: <61F915314798D311A2F800A0C9C8318807225F13@dibble.observatory.donnslaw.co.uk> Hiya Thank you for the good wishes. The masters is in Creative Writing and the novel is one I started several years ago but have never found the time to finish, it's about erm... I guess it's about the nobility of truth versus the attractions of artifice. It's a very silly book really but I'm enjoying working on it. No publisher yet; I need a second draft before I share with anyone. I will certainly stick around - can't imagine life without y'all - though I might have to go to digest mode and resign my modship :( Roz -----Original Message----- From: Andy Lacey [mailto:andy at minstersystems.co.uk] Sent: 24 August 2005 12:53 To: Access Developers discussion and problem solving Subject: Re: [AccessD] Change of circumstances Hi Roz Don't have anything practical to add (you spotted the obvious one about freelance work not readily fitting round personal timetables) but just wanted to say good luck. What's the Masters in, and more intriguingly what's the novel? Is it your first? Do you have a publisher? etc etc When can we look to see Roz Clarke in Waterstones? And I hope you'll be sticking around AccessD. -- Andy Lacey http://www.minstersystems.co.uk --------- Original Message -------- From: "Access Developers discussion and problem solving" To: "'Access Developers discussion and problem solving'" Subject: [AccessD] Change of circumstances Date: 24/08/05 10:52 Dear all Like so many access-d members before me, I will shortly be giving up my day job and looking for freelance work. The trouble is I don't want to work 24/7 - I am starting a masters degree this autumn, and writing a novel. But it would be nice to keep my hand in with a bit of analysis &/or development work, and of course the money would not go amiss. Does anyone have any suggestions as to how I could do this? I have 10 years experience with Access but I'm no guru, as you know. I've extended into other Office apps a good deal, including Outlook. I have some SQL dev skills and a smattering of SQL DBA knowledge. I'm getting into ASP.NET. I'm a good analyst and I think I'm a decent team leader, (whatever Tom says). My real strength is project management. I'd like to work 2 days a week, but I appreciate that freelance work never respects that kind of wish. :) Any advice would be much appreciated TIA Roz The contents of this message and any attachments are the property of Donns Solicitors and are intended for the confidential use of the named recipient only. They may be legally privileged and should not be communicated to, or relied upon, by any other party without our written consent. If you are not the addressee, please notify us immediately so that we can make arrangements for its return. You should not show this e-mail to any person or take copies as you may be committing a criminal or civil offence for which you may be liable. The statement and opinions expressed in this e-mail message are those of the writer, and do not necessarily represent that of Donns Solicitors. Although any files attached to this e-mail will have been checked with virus protection software prior to transmission, you should carry out your own virus check before opening any attachment. Donns Solicitors does not accept any liability for any damage or loss which may be caused by software viruses... -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com ________________________________________________ Message sent using UebiMiau 2.7.2 -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -------------- next part -------------- The contents of this message and any attachments are the property of Donns Solicitors and are intended for the confidential use of the named recipient only. They may be legally privileged and should not be communicated to, or relied upon, by any other party without our written consent. If you are not the addressee, please notify us immediately so that we can make arrangements for its return. You should not show this e-mail to any person or take copies as you may be committing a criminal or civil offence for which you may be liable. The statement and opinions expressed in this e-mail message are those of the writer, and do not necessarily represent that of Donns Solicitors. Although any files attached to this e-mail will have been checked with virus protection software prior to transmission, you should carry out your own virus check before opening any attachment. Donns Solicitors does not accept any liability for any damage or loss which may be caused by software viruses... From roz.clarke at donnslaw.co.uk Wed Aug 24 07:21:00 2005 From: roz.clarke at donnslaw.co.uk (Roz Clarke) Date: Wed, 24 Aug 2005 13:21:00 +0100 Subject: [AccessD] Change of circumstances Message-ID: <61F915314798D311A2F800A0C9C8318807225F14@dibble.observatory.donnslaw.co.uk> LMFAO We can revisit the subject on Friday... -----Original Message----- From: Andy Lacey [mailto:andy at minstersystems.co.uk] Sent: 24 August 2005 13:13 To: Access Developers discussion and problem solving Subject: RE: [AccessD] Change of circumstances ROTFL Oh God I'm really really tempted now, but it'll start something and as a responsible moderator I'd have to tell myself to shut up. Darn. -- 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] Change of circumstances Date: 24/08/05 12:00 "A Query Too Far" - Clarke, R. *hides under desk* -----Original Message----- From: Andy Lacey [mailto:andy at minstersystems.co.uk] Sent: 24-Aug-2005 12:53 To: Access Developers discussion and problem solving Subject: Re: [AccessD] Change of circumstances Hi Roz Don't have anything practical to add (you spotted the obvious one about freelance work not readily fitting round personal timetables) but just wanted to say good luck. What's the Masters in, and more intriguingly what's the novel? Is it your first? Do you have a publisher? etc etc When can we look to see Roz Clarke in Waterstones? And I hope you'll be sticking around AccessD. -- Andy Lacey http://www.minstersystems.co.uk The contents of this message and any attachments are the property of Donns Solicitors and are intended for the confidential use of the named recipient only. They may be legally privileged and should not be communicated to, or relied upon, by any other party without our written consent. If you are not the addressee, please notify us immediately so that we can make arrangements for its return. You should not show this e-mail to any person or take copies as you may be committing a criminal or civil offence for which you may be liable. The statement and opinions expressed in this e-mail message are those of the writer, and do not necessarily represent that of Donns Solicitors. Although any files attached to this e-mail will have been checked with virus protection software prior to transmission, you should carry out your own virus check before opening any attachment. Donns Solicitors does not accept any liability for any damage or loss which may be caused by software viruses... -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com ________________________________________________ Message sent using UebiMiau 2.7.2 -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -------------- next part -------------- The contents of this message and any attachments are the property of Donns Solicitors and are intended for the confidential use of the named recipient only. They may be legally privileged and should not be communicated to, or relied upon, by any other party without our written consent. If you are not the addressee, please notify us immediately so that we can make arrangements for its return. You should not show this e-mail to any person or take copies as you may be committing a criminal or civil offence for which you may be liable. The statement and opinions expressed in this e-mail message are those of the writer, and do not necessarily represent that of Donns Solicitors. Although any files attached to this e-mail will have been checked with virus protection software prior to transmission, you should carry out your own virus check before opening any attachment. Donns Solicitors does not accept any liability for any damage or loss which may be caused by software viruses... From jwcolby at colbyconsulting.com Wed Aug 24 07:28:35 2005 From: jwcolby at colbyconsulting.com (John W. Colby) Date: Wed, 24 Aug 2005 08:28:35 -0400 Subject: [AccessD] Change of circumstances In-Reply-To: <61F915314798D311A2F800A0C9C8318807225F13@dibble.observatory.donnslaw.co.uk> Message-ID: <008a01c5a8a7$58f89ca0$6c7aa8c0@ColbyM6805> What, no Roz tickling my back with her cat-0-nine? Where will I get my titillation? John W. Colby www.ColbyConsulting.com Contribute your unused CPU cycles to a good cause: http://folding.stanford.edu/ -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Roz Clarke Sent: Wednesday, August 24, 2005 8:20 AM To: 'Access Developers discussion and problem solving' Subject: RE: [AccessD] Change of circumstances Hiya Thank you for the good wishes. The masters is in Creative Writing and the novel is one I started several years ago but have never found the time to finish, it's about erm... I guess it's about the nobility of truth versus the attractions of artifice. It's a very silly book really but I'm enjoying working on it. No publisher yet; I need a second draft before I share with anyone. I will certainly stick around - can't imagine life without y'all - though I might have to go to digest mode and resign my modship :( Roz -----Original Message----- From: Andy Lacey [mailto:andy at minstersystems.co.uk] Sent: 24 August 2005 12:53 To: Access Developers discussion and problem solving Subject: Re: [AccessD] Change of circumstances Hi Roz Don't have anything practical to add (you spotted the obvious one about freelance work not readily fitting round personal timetables) but just wanted to say good luck. What's the Masters in, and more intriguingly what's the novel? Is it your first? Do you have a publisher? etc etc When can we look to see Roz Clarke in Waterstones? And I hope you'll be sticking around AccessD. -- Andy Lacey http://www.minstersystems.co.uk --------- Original Message -------- From: "Access Developers discussion and problem solving" To: "'Access Developers discussion and problem solving'" Subject: [AccessD] Change of circumstances Date: 24/08/05 10:52 Dear all Like so many access-d members before me, I will shortly be giving up my day job and looking for freelance work. The trouble is I don't want to work 24/7 - I am starting a masters degree this autumn, and writing a novel. But it would be nice to keep my hand in with a bit of analysis &/or development work, and of course the money would not go amiss. Does anyone have any suggestions as to how I could do this? I have 10 years experience with Access but I'm no guru, as you know. I've extended into other Office apps a good deal, including Outlook. I have some SQL dev skills and a smattering of SQL DBA knowledge. I'm getting into ASP.NET. I'm a good analyst and I think I'm a decent team leader, (whatever Tom says). My real strength is project management. I'd like to work 2 days a week, but I appreciate that freelance work never respects that kind of wish. :) Any advice would be much appreciated TIA Roz The contents of this message and any attachments are the property of Donns Solicitors and are intended for the confidential use of the named recipient only. They may be legally privileged and should not be communicated to, or relied upon, by any other party without our written consent. If you are not the addressee, please notify us immediately so that we can make arrangements for its return. You should not show this e-mail to any person or take copies as you may be committing a criminal or civil offence for which you may be liable. The statement and opinions expressed in this e-mail message are those of the writer, and do not necessarily represent that of Donns Solicitors. Although any files attached to this e-mail will have been checked with virus protection software prior to transmission, you should carry out your own virus check before opening any attachment. Donns Solicitors does not accept any liability for any damage or loss which may be caused by software viruses... -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com ________________________________________________ Message sent using UebiMiau 2.7.2 -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From roz.clarke at donnslaw.co.uk Wed Aug 24 07:42:30 2005 From: roz.clarke at donnslaw.co.uk (Roz Clarke) Date: Wed, 24 Aug 2005 13:42:30 +0100 Subject: [AccessD] Change of circumstances Message-ID: <61F915314798D311A2F800A0C9C8318807225F17@dibble.observatory.donnslaw.co.uk> Well maybe I could rejoin the BOD, heheh. I don't finish here until 14th October though, so for now... That's *quite* enough from you Mr. Colby, this thread is getting dangerously off-topic! Back to your reusable code, forthwith! -----Original Message----- From: John W. Colby [mailto:jwcolby at colbyconsulting.com] Sent: 24 August 2005 13:29 To: 'Access Developers discussion and problem solving' Subject: RE: [AccessD] Change of circumstances What, no Roz tickling my back with her cat-0-nine? Where will I get my titillation? John W. Colby www.ColbyConsulting.com Contribute your unused CPU cycles to a good cause: http://folding.stanford.edu/ -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Roz Clarke Sent: Wednesday, August 24, 2005 8:20 AM To: 'Access Developers discussion and problem solving' Subject: RE: [AccessD] Change of circumstances Hiya Thank you for the good wishes. The masters is in Creative Writing and the novel is one I started several years ago but have never found the time to finish, it's about erm... I guess it's about the nobility of truth versus the attractions of artifice. It's a very silly book really but I'm enjoying working on it. No publisher yet; I need a second draft before I share with anyone. I will certainly stick around - can't imagine life without y'all - though I might have to go to digest mode and resign my modship :( Roz -----Original Message----- From: Andy Lacey [mailto:andy at minstersystems.co.uk] Sent: 24 August 2005 12:53 To: Access Developers discussion and problem solving Subject: Re: [AccessD] Change of circumstances Hi Roz Don't have anything practical to add (you spotted the obvious one about freelance work not readily fitting round personal timetables) but just wanted to say good luck. What's the Masters in, and more intriguingly what's the novel? Is it your first? Do you have a publisher? etc etc When can we look to see Roz Clarke in Waterstones? And I hope you'll be sticking around AccessD. -- Andy Lacey http://www.minstersystems.co.uk --------- Original Message -------- From: "Access Developers discussion and problem solving" To: "'Access Developers discussion and problem solving'" Subject: [AccessD] Change of circumstances Date: 24/08/05 10:52 Dear all Like so many access-d members before me, I will shortly be giving up my day job and looking for freelance work. The trouble is I don't want to work 24/7 - I am starting a masters degree this autumn, and writing a novel. But it would be nice to keep my hand in with a bit of analysis &/or development work, and of course the money would not go amiss. Does anyone have any suggestions as to how I could do this? I have 10 years experience with Access but I'm no guru, as you know. I've extended into other Office apps a good deal, including Outlook. I have some SQL dev skills and a smattering of SQL DBA knowledge. I'm getting into ASP.NET. I'm a good analyst and I think I'm a decent team leader, (whatever Tom says). My real strength is project management. I'd like to work 2 days a week, but I appreciate that freelance work never respects that kind of wish. :) Any advice would be much appreciated TIA Roz The contents of this message and any attachments are the property of Donns Solicitors and are intended for the confidential use of the named recipient only. They may be legally privileged and should not be communicated to, or relied upon, by any other party without our written consent. If you are not the addressee, please notify us immediately so that we can make arrangements for its return. You should not show this e-mail to any person or take copies as you may be committing a criminal or civil offence for which you may be liable. The statement and opinions expressed in this e-mail message are those of the writer, and do not necessarily represent that of Donns Solicitors. Although any files attached to this e-mail will have been checked with virus protection software prior to transmission, you should carry out your own virus check before opening any attachment. Donns Solicitors does not accept any liability for any damage or loss which may be caused by software viruses... -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com ________________________________________________ Message sent using UebiMiau 2.7.2 -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -------------- next part -------------- The contents of this message and any attachments are the property of Donns Solicitors and are intended for the confidential use of the named recipient only. They may be legally privileged and should not be communicated to, or relied upon, by any other party without our written consent. If you are not the addressee, please notify us immediately so that we can make arrangements for its return. You should not show this e-mail to any person or take copies as you may be committing a criminal or civil offence for which you may be liable. The statement and opinions expressed in this e-mail message are those of the writer, and do not necessarily represent that of Donns Solicitors. Although any files attached to this e-mail will have been checked with virus protection software prior to transmission, you should carry out your own virus check before opening any attachment. Donns Solicitors does not accept any liability for any damage or loss which may be caused by software viruses... From roz.clarke at donnslaw.co.uk Wed Aug 24 07:50:31 2005 From: roz.clarke at donnslaw.co.uk (Roz Clarke) Date: Wed, 24 Aug 2005 13:50:31 +0100 Subject: [AccessD] test Message-ID: <61F915314798D311A2F800A0C9C8318807225F18@dibble.observatory.donnslaw.co.uk> testing - not seeing my own mails to the list today -------------- next part -------------- The contents of this message and any attachments are the property of Donns Solicitors and are intended for the confidential use of the named recipient only. They may be legally privileged and should not be communicated to, or relied upon, by any other party without our written consent. If you are not the addressee, please notify us immediately so that we can make arrangements for its return. You should not show this e-mail to any person or take copies as you may be committing a criminal or civil offence for which you may be liable. The statement and opinions expressed in this e-mail message are those of the writer, and do not necessarily represent that of Donns Solicitors. Although any files attached to this e-mail will have been checked with virus protection software prior to transmission, you should carry out your own virus check before opening any attachment. Donns Solicitors does not accept any liability for any damage or loss which may be caused by software viruses... From jwcolby at colbyconsulting.com Wed Aug 24 07:49:37 2005 From: jwcolby at colbyconsulting.com (John W. Colby) Date: Wed, 24 Aug 2005 08:49:37 -0400 Subject: [AccessD] Change of circumstances In-Reply-To: <61F915314798D311A2F800A0C9C8318807225F17@dibble.observatory.donnslaw.co.uk> Message-ID: <00e401c5a8aa$4c726800$6c7aa8c0@ColbyM6805> Ahhhhhh.... That velvet touch I do so love... ;-) And good luck in your future endeavors, although to be quite honest, the book subject matter does not sound like it will make you the next female billionaire to come out of England. Or perhaps you just need good marketing. Anyway, don't be a stranger. John W. Colby www.ColbyConsulting.com Contribute your unused CPU cycles to a good cause: http://folding.stanford.edu/ -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Roz Clarke Sent: Wednesday, August 24, 2005 8:43 AM To: 'Access Developers discussion and problem solving' Subject: RE: [AccessD] Change of circumstances Well maybe I could rejoin the BOD, heheh. I don't finish here until 14th October though, so for now... That's *quite* enough from you Mr. Colby, this thread is getting dangerously off-topic! Back to your reusable code, forthwith! -----Original Message----- From: John W. Colby [mailto:jwcolby at colbyconsulting.com] Sent: 24 August 2005 13:29 To: 'Access Developers discussion and problem solving' Subject: RE: [AccessD] Change of circumstances What, no Roz tickling my back with her cat-0-nine? Where will I get my titillation? John W. Colby www.ColbyConsulting.com Contribute your unused CPU cycles to a good cause: http://folding.stanford.edu/ -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Roz Clarke Sent: Wednesday, August 24, 2005 8:20 AM To: 'Access Developers discussion and problem solving' Subject: RE: [AccessD] Change of circumstances Hiya Thank you for the good wishes. The masters is in Creative Writing and the novel is one I started several years ago but have never found the time to finish, it's about erm... I guess it's about the nobility of truth versus the attractions of artifice. It's a very silly book really but I'm enjoying working on it. No publisher yet; I need a second draft before I share with anyone. I will certainly stick around - can't imagine life without y'all - though I might have to go to digest mode and resign my modship :( Roz -----Original Message----- From: Andy Lacey [mailto:andy at minstersystems.co.uk] Sent: 24 August 2005 12:53 To: Access Developers discussion and problem solving Subject: Re: [AccessD] Change of circumstances Hi Roz Don't have anything practical to add (you spotted the obvious one about freelance work not readily fitting round personal timetables) but just wanted to say good luck. What's the Masters in, and more intriguingly what's the novel? Is it your first? Do you have a publisher? etc etc When can we look to see Roz Clarke in Waterstones? And I hope you'll be sticking around AccessD. -- Andy Lacey http://www.minstersystems.co.uk --------- Original Message -------- From: "Access Developers discussion and problem solving" To: "'Access Developers discussion and problem solving'" Subject: [AccessD] Change of circumstances Date: 24/08/05 10:52 Dear all Like so many access-d members before me, I will shortly be giving up my day job and looking for freelance work. The trouble is I don't want to work 24/7 - I am starting a masters degree this autumn, and writing a novel. But it would be nice to keep my hand in with a bit of analysis &/or development work, and of course the money would not go amiss. Does anyone have any suggestions as to how I could do this? I have 10 years experience with Access but I'm no guru, as you know. I've extended into other Office apps a good deal, including Outlook. I have some SQL dev skills and a smattering of SQL DBA knowledge. I'm getting into ASP.NET. I'm a good analyst and I think I'm a decent team leader, (whatever Tom says). My real strength is project management. I'd like to work 2 days a week, but I appreciate that freelance work never respects that kind of wish. :) Any advice would be much appreciated TIA Roz The contents of this message and any attachments are the property of Donns Solicitors and are intended for the confidential use of the named recipient only. They may be legally privileged and should not be communicated to, or relied upon, by any other party without our written consent. If you are not the addressee, please notify us immediately so that we can make arrangements for its return. You should not show this e-mail to any person or take copies as you may be committing a criminal or civil offence for which you may be liable. The statement and opinions expressed in this e-mail message are those of the writer, and do not necessarily represent that of Donns Solicitors. Although any files attached to this e-mail will have been checked with virus protection software prior to transmission, you should carry out your own virus check before opening any attachment. Donns Solicitors does not accept any liability for any damage or loss which may be caused by software viruses... -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com ________________________________________________ Message sent using UebiMiau 2.7.2 -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From andy at minstersystems.co.uk Wed Aug 24 07:57:20 2005 From: andy at minstersystems.co.uk (Andy Lacey) Date: Wed, 24 Aug 2005 13:57:20 +0100 Subject: [AccessD] Change of circumstances Message-ID: <20050824125717.54AE52A3686@smtp.nildram.co.uk> Not exactly airport pulp fiction then eh? Ok, other discussions and suggested titles on hold til Friday. -- 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] Change of circumstances Date: 24/08/05 12:19 Hiya Thank you for the good wishes. The masters is in Creative Writing and the novel is one I started several years ago but have never found the time to finish, it's about erm... I guess it's about the nobility of truth versus the attractions of artifice. It's a very silly book really but I'm enjoying working on it. No publisher yet; I need a second draft before I share with anyone. I will certainly stick around - can't imagine life without y'all - though I might have to go to digest mode and resign my modship :( Roz -----Original Message----- From: Andy Lacey [mailto:andy at minstersystems.co.uk] Sent: 24 August 2005 12:53 To: Access Developers discussion and problem solving Subject: Re: [AccessD] Change of circumstances Hi Roz Don't have anything practical to add (you spotted the obvious one about freelance work not readily fitting round personal timetables) but just wanted to say good luck. What's the Masters in, and more intriguingly what's the novel? Is it your first? Do you have a publisher? etc etc When can we look to see Roz Clarke in Waterstones? And I hope you'll be sticking around AccessD. -- Andy Lacey http://www.minstersystems.co.uk --------- Original Message -------- From: "Access Developers discussion and problem solving" To: "'Access Developers discussion and problem solving'" Subject: [AccessD] Change of circumstances Date: 24/08/05 10:52 Dear all Like so many access-d members before me, I will shortly be giving up my day job and looking for freelance work. The trouble is I don't want to work 24/7 - I am starting a masters degree this autumn, and writing a novel. But it would be nice to keep my hand in with a bit of analysis &/or development work, and of course the money would not go amiss. Does anyone have any suggestions as to how I could do this? I have 10 years experience with Access but I'm no guru, as you know. I've extended into other Office apps a good deal, including Outlook. I have some SQL dev skills and a smattering of SQL DBA knowledge. I'm getting into ASP.NET. I'm a good analyst and I think I'm a decent team leader, (whatever Tom says). My real strength is project management. I'd like to work 2 days a week, but I appreciate that freelance work never respects that kind of wish. :) Any advice would be much appreciated TIA Roz The contents of this message and any attachments are the property of Donns Solicitors and are intended for the confidential use of the named recipient only. They may be legally privileged and should not be communicated to, or relied upon, by any other party without our written consent. If you are not the addressee, please notify us immediately so that we can make arrangements for its return. You should not show this e-mail to any person or take copies as you may be committing a criminal or civil offence for which you may be liable. The statement and opinions expressed in this e-mail message are those of the writer, and do not necessarily represent that of Donns Solicitors. Although any files attached to this e-mail will have been checked with virus protection software prior to transmission, you should carry out your own virus check before opening any attachment. Donns Solicitors does not accept any liability for any damage or loss which may be caused by software viruses... -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com ________________________________________________ Message sent using UebiMiau 2.7.2 -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com The contents of this message and any attachments are the property of Donns Solicitors and are intended for the confidential use of the named recipient only. They may be legally privileged and should not be communicated to, or relied upon, by any other party without our written consent. If you are not the addressee, please notify us immediately so that we can make arrangements for its return. You should not show this e-mail to any person or take copies as you may be committing a criminal or civil offence for which you may be liable. The statement and opinions expressed in this e-mail message are those of the writer, and do not necessarily represent that of Donns Solicitors. Although any files attached to this e-mail will have been checked with virus protection software prior to transmission, you should carry out your own virus check before opening any attachment. Donns Solicitors does not accept any liability for any damage or loss which may be caused by software viruses... -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com ________________________________________________ Message sent using UebiMiau 2.7.2 From john at winhaven.net Wed Aug 24 08:25:42 2005 From: john at winhaven.net (John Bartow) Date: Wed, 24 Aug 2005 08:25:42 -0500 Subject: [AccessD] test In-Reply-To: <61F915314798D311A2F800A0C9C8318807225F18@dibble.observatory.donnslaw.co.uk> Message-ID: <200508241325.j7ODPlR01803@databaseadvisors.com> passed -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Roz Clarke Sent: Wednesday, August 24, 2005 7:51 AM To: 'Access Developers discussion and problem solving' Subject: [AccessD] test testing - not seeing my own mails to the list today From Jim.Hale at FleetPride.com Wed Aug 24 08:31:39 2005 From: Jim.Hale at FleetPride.com (Hale, Jim) Date: Wed, 24 Aug 2005 08:31:39 -0500 Subject: [AccessD] Change of circumstances Message-ID: <6A6AA9DF57E4F046BDA1E273BDDB67723377AD@corp-es01.fleetpride.com> Don't worry, I'll bet you're in the book :-> Good luck Roz! Jim Hale -----Original Message----- From: John W. Colby [mailto:jwcolby at colbyconsulting.com] Sent: Wednesday, August 24, 2005 7:29 AM To: 'Access Developers discussion and problem solving' Subject: RE: [AccessD] Change of circumstances What, no Roz tickling my back with her cat-0-nine? Where will I get my titillation? John W. Colby www.ColbyConsulting.com Contribute your unused CPU cycles to a good cause: http://folding.stanford.edu/ -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Roz Clarke Sent: Wednesday, August 24, 2005 8:20 AM To: 'Access Developers discussion and problem solving' Subject: RE: [AccessD] Change of circumstances Hiya Thank you for the good wishes. The masters is in Creative Writing and the novel is one I started several years ago but have never found the time to finish, it's about erm... I guess it's about the nobility of truth versus the attractions of artifice. It's a very silly book really but I'm enjoying working on it. No publisher yet; I need a second draft before I share with anyone. I will certainly stick around - can't imagine life without y'all - though I might have to go to digest mode and resign my modship :( Roz -----Original Message----- From: Andy Lacey [mailto:andy at minstersystems.co.uk] Sent: 24 August 2005 12:53 To: Access Developers discussion and problem solving Subject: Re: [AccessD] Change of circumstances Hi Roz Don't have anything practical to add (you spotted the obvious one about freelance work not readily fitting round personal timetables) but just wanted to say good luck. What's the Masters in, and more intriguingly what's the novel? Is it your first? Do you have a publisher? etc etc When can we look to see Roz Clarke in Waterstones? And I hope you'll be sticking around AccessD. -- Andy Lacey http://www.minstersystems.co.uk --------- Original Message -------- From: "Access Developers discussion and problem solving" To: "'Access Developers discussion and problem solving'" Subject: [AccessD] Change of circumstances Date: 24/08/05 10:52 Dear all Like so many access-d members before me, I will shortly be giving up my day job and looking for freelance work. The trouble is I don't want to work 24/7 - I am starting a masters degree this autumn, and writing a novel. But it would be nice to keep my hand in with a bit of analysis &/or development work, and of course the money would not go amiss. Does anyone have any suggestions as to how I could do this? I have 10 years experience with Access but I'm no guru, as you know. I've extended into other Office apps a good deal, including Outlook. I have some SQL dev skills and a smattering of SQL DBA knowledge. I'm getting into ASP.NET. I'm a good analyst and I think I'm a decent team leader, (whatever Tom says). My real strength is project management. I'd like to work 2 days a week, but I appreciate that freelance work never respects that kind of wish. :) Any advice would be much appreciated TIA Roz The contents of this message and any attachments are the property of Donns Solicitors and are intended for the confidential use of the named recipient only. They may be legally privileged and should not be communicated to, or relied upon, by any other party without our written consent. If you are not the addressee, please notify us immediately so that we can make arrangements for its return. You should not show this e-mail to any person or take copies as you may be committing a criminal or civil offence for which you may be liable. The statement and opinions expressed in this e-mail message are those of the writer, and do not necessarily represent that of Donns Solicitors. Although any files attached to this e-mail will have been checked with virus protection software prior to transmission, you should carry out your own virus check before opening any attachment. Donns Solicitors does not accept any liability for any damage or loss which may be caused by software viruses... -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com ________________________________________________ Message sent using UebiMiau 2.7.2 -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com *********************************************************************** The information transmitted is intended solely for the individual or entity to which it is addressed and may contain confidential and/or privileged material. Any review, retransmission, dissemination or other use of or taking action in reliance upon this information by persons or entities other than the intended recipient is prohibited. If you have received this email in error please contact the sender and delete the material from any computer. As a recipient of this email, you are responsible for screening its contents and the contents of any attachments for the presence of viruses. No liability is accepted for any damages caused by any virus transmitted by this email. From roz.clarke at donnslaw.co.uk Wed Aug 24 08:33:29 2005 From: roz.clarke at donnslaw.co.uk (Roz Clarke) Date: Wed, 24 Aug 2005 14:33:29 +0100 Subject: [AccessD] test Message-ID: <61F915314798D311A2F800A0C9C8318807225F1B@dibble.observatory.donnslaw.co.uk> Still didn't get my own email - and I have checked my list settings - but it could be something at this end. -----Original Message----- From: John Bartow [mailto:john at winhaven.net] Sent: 24 August 2005 14:26 To: 'Access Developers discussion and problem solving' Subject: RE: [AccessD] test passed -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Roz Clarke Sent: Wednesday, August 24, 2005 7:51 AM To: 'Access Developers discussion and problem solving' Subject: [AccessD] test testing - not seeing my own mails to the list today -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -------------- next part -------------- The contents of this message and any attachments are the property of Donns Solicitors and are intended for the confidential use of the named recipient only. They may be legally privileged and should not be communicated to, or relied upon, by any other party without our written consent. If you are not the addressee, please notify us immediately so that we can make arrangements for its return. You should not show this e-mail to any person or take copies as you may be committing a criminal or civil offence for which you may be liable. The statement and opinions expressed in this e-mail message are those of the writer, and do not necessarily represent that of Donns Solicitors. Although any files attached to this e-mail will have been checked with virus protection software prior to transmission, you should carry out your own virus check before opening any attachment. Donns Solicitors does not accept any liability for any damage or loss which may be caused by software viruses... From john at winhaven.net Wed Aug 24 09:02:31 2005 From: john at winhaven.net (John Bartow) Date: Wed, 24 Aug 2005 09:02:31 -0500 Subject: [AccessD] test In-Reply-To: <61F915314798D311A2F800A0C9C8318807225F1B@dibble.observatory.donnslaw.co.uk> Message-ID: <200508241402.j7OE2ZR12144@databaseadvisors.com> Just a thought, check your spam filter folders (sometimes ISPs do this and don't inform people). Lately when I send messages with test as a subject they get filtered. -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Roz Clarke Sent: Wednesday, August 24, 2005 8:33 AM To: 'Access Developers discussion and problem solving' Subject: RE: [AccessD] test Still didn't get my own email - and I have checked my list settings - but it could be something at this end. -----Original Message----- From: John Bartow [mailto:john at winhaven.net] Sent: 24 August 2005 14:26 To: 'Access Developers discussion and problem solving' Subject: RE: [AccessD] test passed -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Roz Clarke Sent: Wednesday, August 24, 2005 7:51 AM To: 'Access Developers discussion and problem solving' Subject: [AccessD] test testing - not seeing my own mails to the list today -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From iggy at nanaimo.ark.com Wed Aug 24 09:20:31 2005 From: iggy at nanaimo.ark.com (Tony Septav) Date: Wed, 24 Aug 2005 07:20:31 -0700 Subject: [AccessD] TreeView A97 Message-ID: <430C822F.4040705@nanaimo.ark.com> Hey All I am updating an old project. Does anyone know how to turn off the navigation keys (PgUp,PgDn, Up/Down arrow etc.) in a treeview. I have tried On Key Down Keycode=0 for both the form and control, but it doesn't seem to have any effect. Thanks Tony Septav Nanaimo, BC From DWUTKA at marlow.com Wed Aug 24 10:03:34 2005 From: DWUTKA at marlow.com (DWUTKA at marlow.com) Date: Wed, 24 Aug 2005 10:03:34 -0500 Subject: [AccessD] Change of circumstances Message-ID: <123701F54509D9119A4F00D0B747349016DE34@main2.marlow.com> You could always join OT, just to keep in touch...of course...I would make sure you are fully prepared to do so. OT is not for the faint of heart! ;) Good luck on the novel by the way. On occasion I get side jobs that I just don't have time for. Are you keeping the address below? If so, I'll keep you on my list of 'pass it on'. Haven't had anything in months, but since I am now salaried at my full time job, I have less time for side stuff. Drew -----Original Message----- From: Roz Clarke [mailto:roz.clarke at donnslaw.co.uk] Sent: Wednesday, August 24, 2005 7:20 AM To: 'Access Developers discussion and problem solving' Subject: RE: [AccessD] Change of circumstances Hiya Thank you for the good wishes. The masters is in Creative Writing and the novel is one I started several years ago but have never found the time to finish, it's about erm... I guess it's about the nobility of truth versus the attractions of artifice. It's a very silly book really but I'm enjoying working on it. No publisher yet; I need a second draft before I share with anyone. I will certainly stick around - can't imagine life without y'all - though I might have to go to digest mode and resign my modship :( Roz -----Original Message----- From: Andy Lacey [mailto:andy at minstersystems.co.uk] Sent: 24 August 2005 12:53 To: Access Developers discussion and problem solving Subject: Re: [AccessD] Change of circumstances Hi Roz Don't have anything practical to add (you spotted the obvious one about freelance work not readily fitting round personal timetables) but just wanted to say good luck. What's the Masters in, and more intriguingly what's the novel? Is it your first? Do you have a publisher? etc etc When can we look to see Roz Clarke in Waterstones? And I hope you'll be sticking around AccessD. -- Andy Lacey http://www.minstersystems.co.uk --------- Original Message -------- From: "Access Developers discussion and problem solving" To: "'Access Developers discussion and problem solving'" Subject: [AccessD] Change of circumstances Date: 24/08/05 10:52 Dear all Like so many access-d members before me, I will shortly be giving up my day job and looking for freelance work. The trouble is I don't want to work 24/7 - I am starting a masters degree this autumn, and writing a novel. But it would be nice to keep my hand in with a bit of analysis &/or development work, and of course the money would not go amiss. Does anyone have any suggestions as to how I could do this? I have 10 years experience with Access but I'm no guru, as you know. I've extended into other Office apps a good deal, including Outlook. I have some SQL dev skills and a smattering of SQL DBA knowledge. I'm getting into ASP.NET. I'm a good analyst and I think I'm a decent team leader, (whatever Tom says). My real strength is project management. I'd like to work 2 days a week, but I appreciate that freelance work never respects that kind of wish. :) Any advice would be much appreciated TIA Roz The contents of this message and any attachments are the property of Donns Solicitors and are intended for the confidential use of the named recipient only. They may be legally privileged and should not be communicated to, or relied upon, by any other party without our written consent. If you are not the addressee, please notify us immediately so that we can make arrangements for its return. You should not show this e-mail to any person or take copies as you may be committing a criminal or civil offence for which you may be liable. The statement and opinions expressed in this e-mail message are those of the writer, and do not necessarily represent that of Donns Solicitors. Although any files attached to this e-mail will have been checked with virus protection software prior to transmission, you should carry out your own virus check before opening any attachment. Donns Solicitors does not accept any liability for any damage or loss which may be caused by software viruses... -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com ________________________________________________ Message sent using UebiMiau 2.7.2 -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From DWUTKA at marlow.com Wed Aug 24 10:14:57 2005 From: DWUTKA at marlow.com (DWUTKA at marlow.com) Date: Wed, 24 Aug 2005 10:14:57 -0500 Subject: [AccessD] Change of circumstances Message-ID: <123701F54509D9119A4F00D0B747349016DE37@main2.marlow.com> Um....I'm speechless. Drew -----Original Message----- From: John W. Colby [mailto:jwcolby at colbyconsulting.com] Sent: Wednesday, August 24, 2005 7:29 AM To: 'Access Developers discussion and problem solving' Subject: RE: [AccessD] Change of circumstances What, no Roz tickling my back with her cat-0-nine? Where will I get my titillation? John W. Colby www.ColbyConsulting.com Contribute your unused CPU cycles to a good cause: http://folding.stanford.edu/ -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Roz Clarke Sent: Wednesday, August 24, 2005 8:20 AM To: 'Access Developers discussion and problem solving' Subject: RE: [AccessD] Change of circumstances Hiya Thank you for the good wishes. The masters is in Creative Writing and the novel is one I started several years ago but have never found the time to finish, it's about erm... I guess it's about the nobility of truth versus the attractions of artifice. It's a very silly book really but I'm enjoying working on it. No publisher yet; I need a second draft before I share with anyone. I will certainly stick around - can't imagine life without y'all - though I might have to go to digest mode and resign my modship :( Roz -----Original Message----- From: Andy Lacey [mailto:andy at minstersystems.co.uk] Sent: 24 August 2005 12:53 To: Access Developers discussion and problem solving Subject: Re: [AccessD] Change of circumstances Hi Roz Don't have anything practical to add (you spotted the obvious one about freelance work not readily fitting round personal timetables) but just wanted to say good luck. What's the Masters in, and more intriguingly what's the novel? Is it your first? Do you have a publisher? etc etc When can we look to see Roz Clarke in Waterstones? And I hope you'll be sticking around AccessD. -- Andy Lacey http://www.minstersystems.co.uk --------- Original Message -------- From: "Access Developers discussion and problem solving" To: "'Access Developers discussion and problem solving'" Subject: [AccessD] Change of circumstances Date: 24/08/05 10:52 Dear all Like so many access-d members before me, I will shortly be giving up my day job and looking for freelance work. The trouble is I don't want to work 24/7 - I am starting a masters degree this autumn, and writing a novel. But it would be nice to keep my hand in with a bit of analysis &/or development work, and of course the money would not go amiss. Does anyone have any suggestions as to how I could do this? I have 10 years experience with Access but I'm no guru, as you know. I've extended into other Office apps a good deal, including Outlook. I have some SQL dev skills and a smattering of SQL DBA knowledge. I'm getting into ASP.NET. I'm a good analyst and I think I'm a decent team leader, (whatever Tom says). My real strength is project management. I'd like to work 2 days a week, but I appreciate that freelance work never respects that kind of wish. :) Any advice would be much appreciated TIA Roz The contents of this message and any attachments are the property of Donns Solicitors and are intended for the confidential use of the named recipient only. They may be legally privileged and should not be communicated to, or relied upon, by any other party without our written consent. If you are not the addressee, please notify us immediately so that we can make arrangements for its return. You should not show this e-mail to any person or take copies as you may be committing a criminal or civil offence for which you may be liable. The statement and opinions expressed in this e-mail message are those of the writer, and do not necessarily represent that of Donns Solicitors. Although any files attached to this e-mail will have been checked with virus protection software prior to transmission, you should carry out your own virus check before opening any attachment. Donns Solicitors does not accept any liability for any damage or loss which may be caused by software viruses... -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com ________________________________________________ Message sent using UebiMiau 2.7.2 -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From DWUTKA at marlow.com Wed Aug 24 10:15:29 2005 From: DWUTKA at marlow.com (DWUTKA at marlow.com) Date: Wed, 24 Aug 2005 10:15:29 -0500 Subject: [AccessD] Change of circumstances Message-ID: <123701F54509D9119A4F00D0B747349016DE38@main2.marlow.com> Did anyone else hear the crack of a whip after reading this post? ;) Drew -----Original Message----- From: Roz Clarke [mailto:roz.clarke at donnslaw.co.uk] Sent: Wednesday, August 24, 2005 7:43 AM To: 'Access Developers discussion and problem solving' Subject: RE: [AccessD] Change of circumstances Well maybe I could rejoin the BOD, heheh. I don't finish here until 14th October though, so for now... That's *quite* enough from you Mr. Colby, this thread is getting dangerously off-topic! Back to your reusable code, forthwith! -----Original Message----- From: John W. Colby [mailto:jwcolby at colbyconsulting.com] Sent: 24 August 2005 13:29 To: 'Access Developers discussion and problem solving' Subject: RE: [AccessD] Change of circumstances What, no Roz tickling my back with her cat-0-nine? Where will I get my titillation? John W. Colby www.ColbyConsulting.com Contribute your unused CPU cycles to a good cause: http://folding.stanford.edu/ -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Roz Clarke Sent: Wednesday, August 24, 2005 8:20 AM To: 'Access Developers discussion and problem solving' Subject: RE: [AccessD] Change of circumstances Hiya Thank you for the good wishes. The masters is in Creative Writing and the novel is one I started several years ago but have never found the time to finish, it's about erm... I guess it's about the nobility of truth versus the attractions of artifice. It's a very silly book really but I'm enjoying working on it. No publisher yet; I need a second draft before I share with anyone. I will certainly stick around - can't imagine life without y'all - though I might have to go to digest mode and resign my modship :( Roz -----Original Message----- From: Andy Lacey [mailto:andy at minstersystems.co.uk] Sent: 24 August 2005 12:53 To: Access Developers discussion and problem solving Subject: Re: [AccessD] Change of circumstances Hi Roz Don't have anything practical to add (you spotted the obvious one about freelance work not readily fitting round personal timetables) but just wanted to say good luck. What's the Masters in, and more intriguingly what's the novel? Is it your first? Do you have a publisher? etc etc When can we look to see Roz Clarke in Waterstones? And I hope you'll be sticking around AccessD. -- Andy Lacey http://www.minstersystems.co.uk --------- Original Message -------- From: "Access Developers discussion and problem solving" To: "'Access Developers discussion and problem solving'" Subject: [AccessD] Change of circumstances Date: 24/08/05 10:52 Dear all Like so many access-d members before me, I will shortly be giving up my day job and looking for freelance work. The trouble is I don't want to work 24/7 - I am starting a masters degree this autumn, and writing a novel. But it would be nice to keep my hand in with a bit of analysis &/or development work, and of course the money would not go amiss. Does anyone have any suggestions as to how I could do this? I have 10 years experience with Access but I'm no guru, as you know. I've extended into other Office apps a good deal, including Outlook. I have some SQL dev skills and a smattering of SQL DBA knowledge. I'm getting into ASP.NET. I'm a good analyst and I think I'm a decent team leader, (whatever Tom says). My real strength is project management. I'd like to work 2 days a week, but I appreciate that freelance work never respects that kind of wish. :) Any advice would be much appreciated TIA Roz The contents of this message and any attachments are the property of Donns Solicitors and are intended for the confidential use of the named recipient only. They may be legally privileged and should not be communicated to, or relied upon, by any other party without our written consent. If you are not the addressee, please notify us immediately so that we can make arrangements for its return. You should not show this e-mail to any person or take copies as you may be committing a criminal or civil offence for which you may be liable. The statement and opinions expressed in this e-mail message are those of the writer, and do not necessarily represent that of Donns Solicitors. Although any files attached to this e-mail will have been checked with virus protection software prior to transmission, you should carry out your own virus check before opening any attachment. Donns Solicitors does not accept any liability for any damage or loss which may be caused by software viruses... -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com ________________________________________________ Message sent using UebiMiau 2.7.2 -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From roz.clarke at donnslaw.co.uk Wed Aug 24 10:23:04 2005 From: roz.clarke at donnslaw.co.uk (Roz Clarke) Date: Wed, 24 Aug 2005 16:23:04 +0100 Subject: [AccessD] Change of circumstances Message-ID: <61F915314798D311A2F800A0C9C8318807225F23@dibble.observatory.donnslaw.co.uk> I've tried OT. I wouldn't say I'm faint hearted, but I think I lasted about a fortnight. I won't get to keep this address. I'll be using zora_db at yahoo.com. Thanks for the offer, it's much appreciated. -----Original Message----- From: DWUTKA at marlow.com [mailto:DWUTKA at marlow.com] Sent: 24 August 2005 16:04 To: accessd at databaseadvisors.com Subject: RE: [AccessD] Change of circumstances You could always join OT, just to keep in touch...of course...I would make sure you are fully prepared to do so. OT is not for the faint of heart! ;) Good luck on the novel by the way. On occasion I get side jobs that I just don't have time for. Are you keeping the address below? If so, I'll keep you on my list of 'pass it on'. Haven't had anything in months, but since I am now salaried at my full time job, I have less time for side stuff. Drew -----Original Message----- From: Roz Clarke [mailto:roz.clarke at donnslaw.co.uk] Sent: Wednesday, August 24, 2005 7:20 AM To: 'Access Developers discussion and problem solving' Subject: RE: [AccessD] Change of circumstances Hiya Thank you for the good wishes. The masters is in Creative Writing and the novel is one I started several years ago but have never found the time to finish, it's about erm... I guess it's about the nobility of truth versus the attractions of artifice. It's a very silly book really but I'm enjoying working on it. No publisher yet; I need a second draft before I share with anyone. I will certainly stick around - can't imagine life without y'all - though I might have to go to digest mode and resign my modship :( Roz -----Original Message----- From: Andy Lacey [mailto:andy at minstersystems.co.uk] Sent: 24 August 2005 12:53 To: Access Developers discussion and problem solving Subject: Re: [AccessD] Change of circumstances Hi Roz Don't have anything practical to add (you spotted the obvious one about freelance work not readily fitting round personal timetables) but just wanted to say good luck. What's the Masters in, and more intriguingly what's the novel? Is it your first? Do you have a publisher? etc etc When can we look to see Roz Clarke in Waterstones? And I hope you'll be sticking around AccessD. -- Andy Lacey http://www.minstersystems.co.uk --------- Original Message -------- From: "Access Developers discussion and problem solving" To: "'Access Developers discussion and problem solving'" Subject: [AccessD] Change of circumstances Date: 24/08/05 10:52 Dear all Like so many access-d members before me, I will shortly be giving up my day job and looking for freelance work. The trouble is I don't want to work 24/7 - I am starting a masters degree this autumn, and writing a novel. But it would be nice to keep my hand in with a bit of analysis &/or development work, and of course the money would not go amiss. Does anyone have any suggestions as to how I could do this? I have 10 years experience with Access but I'm no guru, as you know. I've extended into other Office apps a good deal, including Outlook. I have some SQL dev skills and a smattering of SQL DBA knowledge. I'm getting into ASP.NET. I'm a good analyst and I think I'm a decent team leader, (whatever Tom says). My real strength is project management. I'd like to work 2 days a week, but I appreciate that freelance work never respects that kind of wish. :) Any advice would be much appreciated TIA Roz The contents of this message and any attachments are the property of Donns Solicitors and are intended for the confidential use of the named recipient only. They may be legally privileged and should not be communicated to, or relied upon, by any other party without our written consent. If you are not the addressee, please notify us immediately so that we can make arrangements for its return. You should not show this e-mail to any person or take copies as you may be committing a criminal or civil offence for which you may be liable. The statement and opinions expressed in this e-mail message are those of the writer, and do not necessarily represent that of Donns Solicitors. Although any files attached to this e-mail will have been checked with virus protection software prior to transmission, you should carry out your own virus check before opening any attachment. Donns Solicitors does not accept any liability for any damage or loss which may be caused by software viruses... -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com ________________________________________________ Message sent using UebiMiau 2.7.2 -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -------------- next part -------------- The contents of this message and any attachments are the property of Donns Solicitors and are intended for the confidential use of the named recipient only. They may be legally privileged and should not be communicated to, or relied upon, by any other party without our written consent. If you are not the addressee, please notify us immediately so that we can make arrangements for its return. You should not show this e-mail to any person or take copies as you may be committing a criminal or civil offence for which you may be liable. The statement and opinions expressed in this e-mail message are those of the writer, and do not necessarily represent that of Donns Solicitors. Although any files attached to this e-mail will have been checked with virus protection software prior to transmission, you should carry out your own virus check before opening any attachment. Donns Solicitors does not accept any liability for any damage or loss which may be caused by software viruses... From jwcolby at colbyconsulting.com Wed Aug 24 10:42:14 2005 From: jwcolby at colbyconsulting.com (John W. Colby) Date: Wed, 24 Aug 2005 11:42:14 -0400 Subject: [AccessD] Change of circumstances In-Reply-To: <61F915314798D311A2F800A0C9C8318807225F23@dibble.observatory.donnslaw.co.uk> Message-ID: <011a01c5a8c2$665fbfc0$6c7aa8c0@ColbyM6805> Roz, If you are tired of the "new email address" dance, may I recommend going to 1and1.com and buying their email only package. You select an unused domain (I found jwcolby still available - and took it) which you will have to pay $5 to maintain. Then for 99c / month you get up to 5 pop email accounts, and up to 1gb storage for those accounts. I thought that $17 / year was a pretty good price for a domain and 5 permanent email addresses with lots of storage. John W. Colby www.ColbyConsulting.com Contribute your unused CPU cycles to a good cause: http://folding.stanford.edu/ -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Roz Clarke Sent: Wednesday, August 24, 2005 11:23 AM To: 'Access Developers discussion and problem solving' Subject: RE: [AccessD] Change of circumstances I've tried OT. I wouldn't say I'm faint hearted, but I think I lasted about a fortnight. I won't get to keep this address. I'll be using zora_db at yahoo.com. Thanks for the offer, it's much appreciated. -----Original Message----- From: DWUTKA at marlow.com [mailto:DWUTKA at marlow.com] Sent: 24 August 2005 16:04 To: accessd at databaseadvisors.com Subject: RE: [AccessD] Change of circumstances You could always join OT, just to keep in touch...of course...I would make sure you are fully prepared to do so. OT is not for the faint of heart! ;) Good luck on the novel by the way. On occasion I get side jobs that I just don't have time for. Are you keeping the address below? If so, I'll keep you on my list of 'pass it on'. Haven't had anything in months, but since I am now salaried at my full time job, I have less time for side stuff. Drew -----Original Message----- From: Roz Clarke [mailto:roz.clarke at donnslaw.co.uk] Sent: Wednesday, August 24, 2005 7:20 AM To: 'Access Developers discussion and problem solving' Subject: RE: [AccessD] Change of circumstances Hiya Thank you for the good wishes. The masters is in Creative Writing and the novel is one I started several years ago but have never found the time to finish, it's about erm... I guess it's about the nobility of truth versus the attractions of artifice. It's a very silly book really but I'm enjoying working on it. No publisher yet; I need a second draft before I share with anyone. I will certainly stick around - can't imagine life without y'all - though I might have to go to digest mode and resign my modship :( Roz -----Original Message----- From: Andy Lacey [mailto:andy at minstersystems.co.uk] Sent: 24 August 2005 12:53 To: Access Developers discussion and problem solving Subject: Re: [AccessD] Change of circumstances Hi Roz Don't have anything practical to add (you spotted the obvious one about freelance work not readily fitting round personal timetables) but just wanted to say good luck. What's the Masters in, and more intriguingly what's the novel? Is it your first? Do you have a publisher? etc etc When can we look to see Roz Clarke in Waterstones? And I hope you'll be sticking around AccessD. -- Andy Lacey http://www.minstersystems.co.uk --------- Original Message -------- From: "Access Developers discussion and problem solving" To: "'Access Developers discussion and problem solving'" Subject: [AccessD] Change of circumstances Date: 24/08/05 10:52 Dear all Like so many access-d members before me, I will shortly be giving up my day job and looking for freelance work. The trouble is I don't want to work 24/7 - I am starting a masters degree this autumn, and writing a novel. But it would be nice to keep my hand in with a bit of analysis &/or development work, and of course the money would not go amiss. Does anyone have any suggestions as to how I could do this? I have 10 years experience with Access but I'm no guru, as you know. I've extended into other Office apps a good deal, including Outlook. I have some SQL dev skills and a smattering of SQL DBA knowledge. I'm getting into ASP.NET. I'm a good analyst and I think I'm a decent team leader, (whatever Tom says). My real strength is project management. I'd like to work 2 days a week, but I appreciate that freelance work never respects that kind of wish. :) Any advice would be much appreciated TIA Roz The contents of this message and any attachments are the property of Donns Solicitors and are intended for the confidential use of the named recipient only. They may be legally privileged and should not be communicated to, or relied upon, by any other party without our written consent. If you are not the addressee, please notify us immediately so that we can make arrangements for its return. You should not show this e-mail to any person or take copies as you may be committing a criminal or civil offence for which you may be liable. The statement and opinions expressed in this e-mail message are those of the writer, and do not necessarily represent that of Donns Solicitors. Although any files attached to this e-mail will have been checked with virus protection software prior to transmission, you should carry out your own virus check before opening any attachment. Donns Solicitors does not accept any liability for any damage or loss which may be caused by software viruses... -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com ________________________________________________ Message sent using UebiMiau 2.7.2 -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From jwcolby at colbyconsulting.com Wed Aug 24 10:43:25 2005 From: jwcolby at colbyconsulting.com (John W. Colby) Date: Wed, 24 Aug 2005 11:43:25 -0400 Subject: [AccessD] Change of circumstances In-Reply-To: <123701F54509D9119A4F00D0B747349016DE38@main2.marlow.com> Message-ID: <011b01c5a8c2$90d2e7f0$6c7aa8c0@ColbyM6805> And it felt sooooo good. ;-) It's a darned good thing Roz has a sense of humor. John W. Colby www.ColbyConsulting.com Contribute your unused CPU cycles to a good cause: http://folding.stanford.edu/ -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of DWUTKA at marlow.com Sent: Wednesday, August 24, 2005 11:15 AM To: accessd at databaseadvisors.com Subject: RE: [AccessD] Change of circumstances Did anyone else hear the crack of a whip after reading this post? ;) Drew -----Original Message----- From: Roz Clarke [mailto:roz.clarke at donnslaw.co.uk] Sent: Wednesday, August 24, 2005 7:43 AM To: 'Access Developers discussion and problem solving' Subject: RE: [AccessD] Change of circumstances Well maybe I could rejoin the BOD, heheh. I don't finish here until 14th October though, so for now... That's *quite* enough from you Mr. Colby, this thread is getting dangerously off-topic! Back to your reusable code, forthwith! -----Original Message----- From: John W. Colby [mailto:jwcolby at colbyconsulting.com] Sent: 24 August 2005 13:29 To: 'Access Developers discussion and problem solving' Subject: RE: [AccessD] Change of circumstances What, no Roz tickling my back with her cat-0-nine? Where will I get my titillation? John W. Colby www.ColbyConsulting.com Contribute your unused CPU cycles to a good cause: http://folding.stanford.edu/ -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Roz Clarke Sent: Wednesday, August 24, 2005 8:20 AM To: 'Access Developers discussion and problem solving' Subject: RE: [AccessD] Change of circumstances Hiya Thank you for the good wishes. The masters is in Creative Writing and the novel is one I started several years ago but have never found the time to finish, it's about erm... I guess it's about the nobility of truth versus the attractions of artifice. It's a very silly book really but I'm enjoying working on it. No publisher yet; I need a second draft before I share with anyone. I will certainly stick around - can't imagine life without y'all - though I might have to go to digest mode and resign my modship :( Roz -----Original Message----- From: Andy Lacey [mailto:andy at minstersystems.co.uk] Sent: 24 August 2005 12:53 To: Access Developers discussion and problem solving Subject: Re: [AccessD] Change of circumstances Hi Roz Don't have anything practical to add (you spotted the obvious one about freelance work not readily fitting round personal timetables) but just wanted to say good luck. What's the Masters in, and more intriguingly what's the novel? Is it your first? Do you have a publisher? etc etc When can we look to see Roz Clarke in Waterstones? And I hope you'll be sticking around AccessD. -- Andy Lacey http://www.minstersystems.co.uk --------- Original Message -------- From: "Access Developers discussion and problem solving" To: "'Access Developers discussion and problem solving'" Subject: [AccessD] Change of circumstances Date: 24/08/05 10:52 Dear all Like so many access-d members before me, I will shortly be giving up my day job and looking for freelance work. The trouble is I don't want to work 24/7 - I am starting a masters degree this autumn, and writing a novel. But it would be nice to keep my hand in with a bit of analysis &/or development work, and of course the money would not go amiss. Does anyone have any suggestions as to how I could do this? I have 10 years experience with Access but I'm no guru, as you know. I've extended into other Office apps a good deal, including Outlook. I have some SQL dev skills and a smattering of SQL DBA knowledge. I'm getting into ASP.NET. I'm a good analyst and I think I'm a decent team leader, (whatever Tom says). My real strength is project management. I'd like to work 2 days a week, but I appreciate that freelance work never respects that kind of wish. :) Any advice would be much appreciated TIA Roz The contents of this message and any attachments are the property of Donns Solicitors and are intended for the confidential use of the named recipient only. They may be legally privileged and should not be communicated to, or relied upon, by any other party without our written consent. If you are not the addressee, please notify us immediately so that we can make arrangements for its return. You should not show this e-mail to any person or take copies as you may be committing a criminal or civil offence for which you may be liable. The statement and opinions expressed in this e-mail message are those of the writer, and do not necessarily represent that of Donns Solicitors. Although any files attached to this e-mail will have been checked with virus protection software prior to transmission, you should carry out your own virus check before opening any attachment. Donns Solicitors does not accept any liability for any damage or loss which may be caused by software viruses... -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com ________________________________________________ Message sent using UebiMiau 2.7.2 -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From DWUTKA at marlow.com Wed Aug 24 10:42:01 2005 From: DWUTKA at marlow.com (DWUTKA at marlow.com) Date: Wed, 24 Aug 2005 10:42:01 -0500 Subject: [AccessD] Change of circumstances Message-ID: <123701F54509D9119A4F00D0B747349016DE3B@main2.marlow.com> LOL, OT can scare some people away. You have to stick to it for a week or so, and have some thick skin. ;) I put your email address in my address book. I'll let you know if anything comes my way. I put in the notes on the contact that you do Access and ASP.NET. Anything else? (VB, normal ASP, etc?) Drew -----Original Message----- From: Roz Clarke [mailto:roz.clarke at donnslaw.co.uk] Sent: Wednesday, August 24, 2005 10:23 AM To: 'Access Developers discussion and problem solving' Subject: RE: [AccessD] Change of circumstances I've tried OT. I wouldn't say I'm faint hearted, but I think I lasted about a fortnight. I won't get to keep this address. I'll be using zora_db at yahoo.com. Thanks for the offer, it's much appreciated. -----Original Message----- From: DWUTKA at marlow.com [mailto:DWUTKA at marlow.com] Sent: 24 August 2005 16:04 To: accessd at databaseadvisors.com Subject: RE: [AccessD] Change of circumstances You could always join OT, just to keep in touch...of course...I would make sure you are fully prepared to do so. OT is not for the faint of heart! ;) Good luck on the novel by the way. On occasion I get side jobs that I just don't have time for. Are you keeping the address below? If so, I'll keep you on my list of 'pass it on'. Haven't had anything in months, but since I am now salaried at my full time job, I have less time for side stuff. Drew -----Original Message----- From: Roz Clarke [mailto:roz.clarke at donnslaw.co.uk] Sent: Wednesday, August 24, 2005 7:20 AM To: 'Access Developers discussion and problem solving' Subject: RE: [AccessD] Change of circumstances Hiya Thank you for the good wishes. The masters is in Creative Writing and the novel is one I started several years ago but have never found the time to finish, it's about erm... I guess it's about the nobility of truth versus the attractions of artifice. It's a very silly book really but I'm enjoying working on it. No publisher yet; I need a second draft before I share with anyone. I will certainly stick around - can't imagine life without y'all - though I might have to go to digest mode and resign my modship :( Roz -----Original Message----- From: Andy Lacey [mailto:andy at minstersystems.co.uk] Sent: 24 August 2005 12:53 To: Access Developers discussion and problem solving Subject: Re: [AccessD] Change of circumstances Hi Roz Don't have anything practical to add (you spotted the obvious one about freelance work not readily fitting round personal timetables) but just wanted to say good luck. What's the Masters in, and more intriguingly what's the novel? Is it your first? Do you have a publisher? etc etc When can we look to see Roz Clarke in Waterstones? And I hope you'll be sticking around AccessD. -- Andy Lacey http://www.minstersystems.co.uk --------- Original Message -------- From: "Access Developers discussion and problem solving" To: "'Access Developers discussion and problem solving'" Subject: [AccessD] Change of circumstances Date: 24/08/05 10:52 Dear all Like so many access-d members before me, I will shortly be giving up my day job and looking for freelance work. The trouble is I don't want to work 24/7 - I am starting a masters degree this autumn, and writing a novel. But it would be nice to keep my hand in with a bit of analysis &/or development work, and of course the money would not go amiss. Does anyone have any suggestions as to how I could do this? I have 10 years experience with Access but I'm no guru, as you know. I've extended into other Office apps a good deal, including Outlook. I have some SQL dev skills and a smattering of SQL DBA knowledge. I'm getting into ASP.NET. I'm a good analyst and I think I'm a decent team leader, (whatever Tom says). My real strength is project management. I'd like to work 2 days a week, but I appreciate that freelance work never respects that kind of wish. :) Any advice would be much appreciated TIA Roz The contents of this message and any attachments are the property of Donns Solicitors and are intended for the confidential use of the named recipient only. They may be legally privileged and should not be communicated to, or relied upon, by any other party without our written consent. If you are not the addressee, please notify us immediately so that we can make arrangements for its return. You should not show this e-mail to any person or take copies as you may be committing a criminal or civil offence for which you may be liable. The statement and opinions expressed in this e-mail message are those of the writer, and do not necessarily represent that of Donns Solicitors. Although any files attached to this e-mail will have been checked with virus protection software prior to transmission, you should carry out your own virus check before opening any attachment. Donns Solicitors does not accept any liability for any damage or loss which may be caused by software viruses... -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com ________________________________________________ Message sent using UebiMiau 2.7.2 -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From Jim.Hale at FleetPride.com Wed Aug 24 10:51:52 2005 From: Jim.Hale at FleetPride.com (Hale, Jim) Date: Wed, 24 Aug 2005 10:51:52 -0500 Subject: [AccessD] SQL to count delimiters in a string Message-ID: <6A6AA9DF57E4F046BDA1E273BDDB67723377AE@corp-es01.fleetpride.com> Assume I have a text field in a table. Further assume that the text strings are delimited by the pipe character "|". I want to know how many pipe characters occur in each field, ie. the select statement should return: fldText Occurrences test|ddd|ww|ex 3 fff|sss 1 eenie|meenie|minie|moe 3 What is the correct SQL to produce the desired result? TIA Jim Hale *********************************************************************** The information transmitted is intended solely for the individual or entity to which it is addressed and may contain confidential and/or privileged material. Any review, retransmission, dissemination or other use of or taking action in reliance upon this information by persons or entities other than the intended recipient is prohibited. If you have received this email in error please contact the sender and delete the material from any computer. As a recipient of this email, you are responsible for screening its contents and the contents of any attachments for the presence of viruses. No liability is accepted for any damages caused by any virus transmitted by this email. From DWUTKA at marlow.com Wed Aug 24 10:52:18 2005 From: DWUTKA at marlow.com (DWUTKA at marlow.com) Date: Wed, 24 Aug 2005 10:52:18 -0500 Subject: [AccessD] Change of circumstances Message-ID: <123701F54509D9119A4F00D0B747349016DE3F@main2.marlow.com> I hear the whip coming again, you are a glutton for punishment JC, that is why you are Darth Vader, eh? Drew -----Original Message----- From: John W. Colby [mailto:jwcolby at colbyconsulting.com] Sent: Wednesday, August 24, 2005 10:43 AM To: 'Access Developers discussion and problem solving' Subject: RE: [AccessD] Change of circumstances And it felt sooooo good. ;-) It's a darned good thing Roz has a sense of humor. John W. Colby www.ColbyConsulting.com Contribute your unused CPU cycles to a good cause: http://folding.stanford.edu/ -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of DWUTKA at marlow.com Sent: Wednesday, August 24, 2005 11:15 AM To: accessd at databaseadvisors.com Subject: RE: [AccessD] Change of circumstances Did anyone else hear the crack of a whip after reading this post? ;) Drew -----Original Message----- From: Roz Clarke [mailto:roz.clarke at donnslaw.co.uk] Sent: Wednesday, August 24, 2005 7:43 AM To: 'Access Developers discussion and problem solving' Subject: RE: [AccessD] Change of circumstances Well maybe I could rejoin the BOD, heheh. I don't finish here until 14th October though, so for now... That's *quite* enough from you Mr. Colby, this thread is getting dangerously off-topic! Back to your reusable code, forthwith! -----Original Message----- From: John W. Colby [mailto:jwcolby at colbyconsulting.com] Sent: 24 August 2005 13:29 To: 'Access Developers discussion and problem solving' Subject: RE: [AccessD] Change of circumstances What, no Roz tickling my back with her cat-0-nine? Where will I get my titillation? John W. Colby www.ColbyConsulting.com Contribute your unused CPU cycles to a good cause: http://folding.stanford.edu/ -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Roz Clarke Sent: Wednesday, August 24, 2005 8:20 AM To: 'Access Developers discussion and problem solving' Subject: RE: [AccessD] Change of circumstances Hiya Thank you for the good wishes. The masters is in Creative Writing and the novel is one I started several years ago but have never found the time to finish, it's about erm... I guess it's about the nobility of truth versus the attractions of artifice. It's a very silly book really but I'm enjoying working on it. No publisher yet; I need a second draft before I share with anyone. I will certainly stick around - can't imagine life without y'all - though I might have to go to digest mode and resign my modship :( Roz -----Original Message----- From: Andy Lacey [mailto:andy at minstersystems.co.uk] Sent: 24 August 2005 12:53 To: Access Developers discussion and problem solving Subject: Re: [AccessD] Change of circumstances Hi Roz Don't have anything practical to add (you spotted the obvious one about freelance work not readily fitting round personal timetables) but just wanted to say good luck. What's the Masters in, and more intriguingly what's the novel? Is it your first? Do you have a publisher? etc etc When can we look to see Roz Clarke in Waterstones? And I hope you'll be sticking around AccessD. -- Andy Lacey http://www.minstersystems.co.uk --------- Original Message -------- From: "Access Developers discussion and problem solving" To: "'Access Developers discussion and problem solving'" Subject: [AccessD] Change of circumstances Date: 24/08/05 10:52 Dear all Like so many access-d members before me, I will shortly be giving up my day job and looking for freelance work. The trouble is I don't want to work 24/7 - I am starting a masters degree this autumn, and writing a novel. But it would be nice to keep my hand in with a bit of analysis &/or development work, and of course the money would not go amiss. Does anyone have any suggestions as to how I could do this? I have 10 years experience with Access but I'm no guru, as you know. I've extended into other Office apps a good deal, including Outlook. I have some SQL dev skills and a smattering of SQL DBA knowledge. I'm getting into ASP.NET. I'm a good analyst and I think I'm a decent team leader, (whatever Tom says). My real strength is project management. I'd like to work 2 days a week, but I appreciate that freelance work never respects that kind of wish. :) Any advice would be much appreciated TIA Roz The contents of this message and any attachments are the property of Donns Solicitors and are intended for the confidential use of the named recipient only. They may be legally privileged and should not be communicated to, or relied upon, by any other party without our written consent. If you are not the addressee, please notify us immediately so that we can make arrangements for its return. You should not show this e-mail to any person or take copies as you may be committing a criminal or civil offence for which you may be liable. The statement and opinions expressed in this e-mail message are those of the writer, and do not necessarily represent that of Donns Solicitors. Although any files attached to this e-mail will have been checked with virus protection software prior to transmission, you should carry out your own virus check before opening any attachment. Donns Solicitors does not accept any liability for any damage or loss which may be caused by software viruses... -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com ________________________________________________ Message sent using UebiMiau 2.7.2 -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From accessd at shaw.ca Wed Aug 24 12:20:10 2005 From: accessd at shaw.ca (Jim Lawrence) Date: Wed, 24 Aug 2005 10:20:10 -0700 Subject: [AccessD] test In-Reply-To: <61F915314798D311A2F800A0C9C8318807225F1B@dibble.observatory.donnslaw.co.uk> Message-ID: <0ILQ00A4LLHLFB@l-daemon> Hi Roz: Check, your company they might have started removing a 'past' employee from the email accounts a tad early. :-) Jim PS Great move; so what is the working title of new book? -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Roz Clarke Sent: Wednesday, August 24, 2005 6:33 AM To: 'Access Developers discussion and problem solving' Subject: RE: [AccessD] test Still didn't get my own email - and I have checked my list settings - but it could be something at this end. -----Original Message----- From: John Bartow [mailto:john at winhaven.net] Sent: 24 August 2005 14:26 To: 'Access Developers discussion and problem solving' Subject: RE: [AccessD] test passed -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Roz Clarke Sent: Wednesday, August 24, 2005 7:51 AM To: 'Access Developers discussion and problem solving' Subject: [AccessD] test testing - not seeing my own mails to the list today -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From John.Clark at niagaracounty.com Wed Aug 24 12:36:14 2005 From: John.Clark at niagaracounty.com (John Clark) Date: Wed, 24 Aug 2005 13:36:14 -0400 Subject: [AccessD] Logic issue Message-ID: Hi all I am having trouble working out how I want to go about something, and I am hoping somebody here can give me a nudge. It doesn't sound difficult, but I'm running into dead-ends. I am starting to think that I will just have to go ahead and finish up with "whatever" and work around things. I am doing a project for a district attorney's office, and it will basically just keep tabs on everybody that passes through the system. The problem is though that there are "Defendants", defense lawyers, prosecuting lawyers, judges, and victims, and it isn't rare for a single person to cross into multiple lists. And, theoretically, it is possible to be in all lists. For instance there are many prosecuting lawyers that become defense attorneys, and it is not unlikely that one of these attorneys could be a judge in the future. That scenario is very possible, and you can add it that a lawyer is very able to be a victim, and hell, we all know they can be criminals ;) Another scenario that happens very frequently, is that a person is both a defendant and a victim. I don't want the person entering data to scroll through hundreds, and eventually thousands, of names to pick an attorney's name from among the list of everybody else in the system. The idea I am working on presently is to add logical fields for each designation to the table of names. For instances: kNameID txtLastName txtFirstName txtMI txtSuffix logAttorney logADA logJudge logVictim logDefendant If I do this, I will have removed some fields that are currently there, such as: txtAddress1 txtAddress2 txtCity txtSt txtZip txtPhone And, I will put these in another linked table. There may be a need to have multiple addresses for the defendants, so this would be best I think. The problem that I am foreseeing here...I'm not at that point, so my fears could be unfounded...is setting these fields to true and/or false, as needed. Basically, thinking of victims for a minute here, the defendant screen, which will actually be an "Indictment" screen, will have a subform to hold potentially many victims for the indictment. If a victim IS already in the system as something else, I will need to tag that name as a victim and I'm wondering if this will present difficulties. Well, I hope I am being clear enough. If anyone out there has any tips for me, I would greatly appreciate it if you would pass them along. Thank you! John W Clark From ssharkins at bellsouth.net Wed Aug 24 12:43:21 2005 From: ssharkins at bellsouth.net (Susan Harkins) Date: Wed, 24 Aug 2005 13:43:21 -0400 Subject: [AccessD] Logic issue In-Reply-To: Message-ID: <20050824174329.GHHT21411.ibm70aec.bellsouth.net@SUSANONE> logAttorney logADA logJudge logVictim logDefendant ========What kind of values are these? If they're simply descriptive, you might consider kNameID Status Where you can have as many records as necessary to identify kNameID as Attorny, ADA, Judge, etc... Susan H. From DElam at jenkens.com Wed Aug 24 12:47:03 2005 From: DElam at jenkens.com (Elam, Debbie) Date: Wed, 24 Aug 2005 12:47:03 -0500 Subject: [AccessD] Logic issue Message-ID: <7B1961ED924D1A459E378C9B1BB22B4C0492CCD8@natexch.jenkens.com> I would actually have a table of people that includes everyone. Second, a table of trials. Link those two with a third table that has the trialID, personID and an ID indicating what role they had in the trial. Given the cross connections and likely possibility of multiple people in one role for a trial, this is the only scalable solution. Debbie -----Original Message----- From: John Clark [mailto:John.Clark at niagaracounty.com] Sent: Wednesday, August 24, 2005 12:36 PM To: accessd at databaseadvisors.com Subject: [AccessD] Logic issue Hi all I am having trouble working out how I want to go about something, and I am hoping somebody here can give me a nudge. It doesn't sound difficult, but I'm running into dead-ends. I am starting to think that I will just have to go ahead and finish up with "whatever" and work around things. I am doing a project for a district attorney's office, and it will basically just keep tabs on everybody that passes through the system. The problem is though that there are "Defendants", defense lawyers, prosecuting lawyers, judges, and victims, and it isn't rare for a single person to cross into multiple lists. And, theoretically, it is possible to be in all lists. For instance there are many prosecuting lawyers that become defense attorneys, and it is not unlikely that one of these attorneys could be a judge in the future. That scenario is very possible, and you can add it that a lawyer is very able to be a victim, and hell, we all know they can be criminals ;) Another scenario that happens very frequently, is that a person is both a defendant and a victim. I don't want the person entering data to scroll through hundreds, and eventually thousands, of names to pick an attorney's name from among the list of everybody else in the system. The idea I am working on presently is to add logical fields for each designation to the table of names. For instances: kNameID txtLastName txtFirstName txtMI txtSuffix logAttorney logADA logJudge logVictim logDefendant If I do this, I will have removed some fields that are currently there, such as: txtAddress1 txtAddress2 txtCity txtSt txtZip txtPhone And, I will put these in another linked table. There may be a need to have multiple addresses for the defendants, so this would be best I think. The problem that I am foreseeing here...I'm not at that point, so my fears could be unfounded...is setting these fields to true and/or false, as needed. Basically, thinking of victims for a minute here, the defendant screen, which will actually be an "Indictment" screen, will have a subform to hold potentially many victims for the indictment. If a victim IS already in the system as something else, I will need to tag that name as a victim and I'm wondering if this will present difficulties. Well, I hope I am being clear enough. If anyone out there has any tips for me, I would greatly appreciate it if you would pass them along. Thank you! John W Clark -- 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 Lambert.Heenan at AIG.com Wed Aug 24 12:32:20 2005 From: Lambert.Heenan at AIG.com (Heenan, Lambert) Date: Wed, 24 Aug 2005 13:32:20 -0400 Subject: [AccessD] SQL to count delimiters in a string Message-ID: <1D7828CDB8350747AFE9D69E0E90DA1F14EA3F42@xlivmbx21.aig.com> Yu need to use a VBA Function to do that, which you would call from the query. Here's an example... Function CountDelimiters(strSource As String, strDelim As String) As Long Dim nCount As Long Dim nPos As Long nPos = InStr(strSource, strDelim) While nPos > 0 nCount = nCount + 1 nPos = InStr(nPos + Len(strDelim), strSource, strDelim) Wend CountDelimiters = nCount End Function Lambert -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Hale, Jim Sent: Wednesday, August 24, 2005 11:52 AM To: 'Accessd (E-mail) Subject: [AccessD] SQL to count delimiters in a string Assume I have a text field in a table. Further assume that the text strings are delimited by the pipe character "|". I want to know how many pipe characters occur in each field, ie. the select statement should return: fldText Occurrences test|ddd|ww|ex 3 fff|sss 1 eenie|meenie|minie|moe 3 What is the correct SQL to produce the desired result? TIA Jim Hale *********************************************************************** The information transmitted is intended solely for the individual or entity to which it is addressed and may contain confidential and/or privileged material. Any review, retransmission, dissemination or other use of or taking action in reliance upon this information by persons or entities other than the intended recipient is prohibited. If you have received this email in error please contact the sender and delete the material from any computer. As a recipient of this email, you are responsible for screening its contents and the contents of any attachments for the presence of viruses. No liability is accepted for any damages caused by any virus transmitted by this email. From prosoft6 at hotmail.com Wed Aug 24 12:51:24 2005 From: prosoft6 at hotmail.com (Julie Reardon-Taylor) Date: Wed, 24 Aug 2005 13:51:24 -0400 Subject: [AccessD] Logic issue In-Reply-To: Message-ID: John, Have you thought about using an associative table, where the many to many problems are conquered? What does the rest of the list think about associative tables? Julie Reardon-Taylor PRO-SOFT OF NY, INC. 44 Public Square Suite #5 Watertown, NY 13601 Phone/Fax: (315) 785-0319 www.pro-soft.net From adtp at touchtelindia.net Wed Aug 24 12:58:01 2005 From: adtp at touchtelindia.net (A.D.Tejpal) Date: Wed, 24 Aug 2005 23:28:01 +0530 Subject: [AccessD] SQL to count delimiters in a string References: <6A6AA9DF57E4F046BDA1E273BDDB67723377AE@corp-es01.fleetpride.com > Message-ID: <01dc01c5a8d5$9c230b90$451865cb@winxp> Jim, Sample query given below should get you the count of specified delimiter in field named fldText. T_Data is the name of table. It makes use of function Fn_CountDelimiters() given below. Best wishes, A.D.Tejpal -------------- Select Query (Count of specified delimiter in field fldText) ================================= SELECT T_Data.fldText, Fn_CountDelimiters([fldText],"|") AS Occurences FROM T_Data; ================================= User-Defined Function (Count of specified delimiter (TxtDelimiter) in a given string (TxtMain)) ================================= Function Fn_CountDelimiters(ByVal TxtMain _ As String, ByVal TxtDelimiter _ As String) As Long Fn_CountDelimiters = UBound(Split(TxtMain, TxtDelimiter)) End Function ================================= ----- Original Message ----- From: Hale, Jim To: 'Accessd (E-mail) Sent: Wednesday, August 24, 2005 21:21 Subject: [AccessD] SQL to count delimiters in a string Assume I have a text field in a table. Further assume that the text strings are delimited by the pipe character "|". I want to know how many pipe characters occur in each field, ie. the select statement should return: fldText Occurrences test|ddd|ww|ex 3 fff|sss 1 eenie|meenie|minie|moe 3 What is the correct SQL to produce the desired result? TIA Jim Hale From John.Clark at niagaracounty.com Wed Aug 24 13:03:24 2005 From: John.Clark at niagaracounty.com (John Clark) Date: Wed, 24 Aug 2005 14:03:24 -0400 Subject: [AccessD] Logic issue Message-ID: I'm not sure what you mean >>> prosoft6 at hotmail.com 8/24/2005 1:51 PM >>> John, Have you thought about using an associative table, where the many to many problems are conquered? What does the rest of the list think about associative tables? Julie Reardon-Taylor PRO-SOFT OF NY, INC. 44 Public Square Suite #5 Watertown, NY 13601 Phone/Fax: (315) 785-0319 www.pro-soft.net -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From John.Clark at niagaracounty.com Wed Aug 24 13:05:48 2005 From: John.Clark at niagaracounty.com (John Clark) Date: Wed, 24 Aug 2005 14:05:48 -0400 Subject: [AccessD] Logic issue Message-ID: They are sort of just descriptive designations, however they will be useful later in the program. For instance, if they are entering a victims name into the db, they would like to know if this victim was also a defendant for something. And, I will be giving them drop downs that contain lawyers, judges, etc. that will be based on these fields. >>> ssharkins at bellsouth.net 8/24/2005 1:43 PM >>> logAttorney logADA logJudge logVictim logDefendant ========What kind of values are these? If they're simply descriptive, you might consider kNameID Status Where you can have as many records as necessary to identify kNameID as Attorny, ADA, Judge, etc... Susan H. -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From John.Clark at niagaracounty.com Wed Aug 24 13:12:36 2005 From: John.Clark at niagaracounty.com (John Clark) Date: Wed, 24 Aug 2005 14:12:36 -0400 Subject: [AccessD] Logic issue Message-ID: It isn't really based on trials though. It is based on indictment numbers, and these may or may not go to court...a defendant could plea out before it hits trial, or charges could be dropped. I think we are on the same page though, except it seems like you would pull all from this table, which I would too, but I want to filter it for certain lists (i.e. I don't want a thousand names showing up when I want to basically choose from three judges). I don't mind including all names when adding defendants, because it is probably necessary. >>> DElam at jenkens.com 8/24/2005 1:47 PM >>> I would actually have a table of people that includes everyone. Second, a table of trials. Link those two with a third table that has the trialID, personID and an ID indicating what role they had in the trial. Given the cross connections and likely possibility of multiple people in one role for a trial, this is the only scalable solution. Debbie -----Original Message----- From: John Clark [mailto:John.Clark at niagaracounty.com] Sent: Wednesday, August 24, 2005 12:36 PM To: accessd at databaseadvisors.com Subject: [AccessD] Logic issue Hi all I am having trouble working out how I want to go about something, and I am hoping somebody here can give me a nudge. It doesn't sound difficult, but I'm running into dead-ends. I am starting to think that I will just have to go ahead and finish up with "whatever" and work around things. I am doing a project for a district attorney's office, and it will basically just keep tabs on everybody that passes through the system. The problem is though that there are "Defendants", defense lawyers, prosecuting lawyers, judges, and victims, and it isn't rare for a single person to cross into multiple lists. And, theoretically, it is possible to be in all lists. For instance there are many prosecuting lawyers that become defense attorneys, and it is not unlikely that one of these attorneys could be a judge in the future. That scenario is very possible, and you can add it that a lawyer is very able to be a victim, and hell, we all know they can be criminals ;) Another scenario that happens very frequently, is that a person is both a defendant and a victim. I don't want the person entering data to scroll through hundreds, and eventually thousands, of names to pick an attorney's name from among the list of everybody else in the system. The idea I am working on presently is to add logical fields for each designation to the table of names. For instances: kNameID txtLastName txtFirstName txtMI txtSuffix logAttorney logADA logJudge logVictim logDefendant If I do this, I will have removed some fields that are currently there, such as: txtAddress1 txtAddress2 txtCity txtSt txtZip txtPhone And, I will put these in another linked table. There may be a need to have multiple addresses for the defendants, so this would be best I think. The problem that I am foreseeing here...I'm not at that point, so my fears could be unfounded...is setting these fields to true and/or false, as needed. Basically, thinking of victims for a minute here, the defendant screen, which will actually be an "Indictment" screen, will have a subform to hold potentially many victims for the indictment. If a victim IS already in the system as something else, I will need to tag that name as a victim and I'm wondering if this will present difficulties. Well, I hope I am being clear enough. If anyone out there has any tips for me, I would greatly appreciate it if you would pass them along. Thank you! John W Clark -- 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 From Jim.Hale at FleetPride.com Wed Aug 24 13:14:56 2005 From: Jim.Hale at FleetPride.com (Hale, Jim) Date: Wed, 24 Aug 2005 13:14:56 -0500 Subject: [AccessD] SQL to count delimiters in a string Message-ID: <6A6AA9DF57E4F046BDA1E273BDDB67723377B2@corp-es01.fleetpride.com> Thank you Jim Hale -----Original Message----- From: A.D.Tejpal [mailto:adtp at touchtelindia.net] Sent: Wednesday, August 24, 2005 12:58 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] SQL to count delimiters in a string Jim, Sample query given below should get you the count of specified delimiter in field named fldText. T_Data is the name of table. It makes use of function Fn_CountDelimiters() given below. Best wishes, A.D.Tejpal -------------- Select Query (Count of specified delimiter in field fldText) ================================= SELECT T_Data.fldText, Fn_CountDelimiters([fldText],"|") AS Occurences FROM T_Data; ================================= User-Defined Function (Count of specified delimiter (TxtDelimiter) in a given string (TxtMain)) ================================= Function Fn_CountDelimiters(ByVal TxtMain _ As String, ByVal TxtDelimiter _ As String) As Long Fn_CountDelimiters = UBound(Split(TxtMain, TxtDelimiter)) End Function ================================= ----- Original Message ----- From: Hale, Jim To: 'Accessd (E-mail) Sent: Wednesday, August 24, 2005 21:21 Subject: [AccessD] SQL to count delimiters in a string Assume I have a text field in a table. Further assume that the text strings are delimited by the pipe character "|". I want to know how many pipe characters occur in each field, ie. the select statement should return: fldText Occurrences test|ddd|ww|ex 3 fff|sss 1 eenie|meenie|minie|moe 3 What is the correct SQL to produce the desired result? TIA Jim Hale -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com *********************************************************************** The information transmitted is intended solely for the individual or entity to which it is addressed and may contain confidential and/or privileged material. Any review, retransmission, dissemination or other use of or taking action in reliance upon this information by persons or entities other than the intended recipient is prohibited. If you have received this email in error please contact the sender and delete the material from any computer. As a recipient of this email, you are responsible for screening its contents and the contents of any attachments for the presence of viruses. No liability is accepted for any damages caused by any virus transmitted by this email. From shamil at users.mns.ru Wed Aug 24 13:19:36 2005 From: shamil at users.mns.ru (Shamil Salakhetdinov) Date: Wed, 24 Aug 2005 22:19:36 +0400 Subject: [AccessD] SQL to count delimiters in a string References: <1D7828CDB8350747AFE9D69E0E90DA1F14EA3F42@xlivmbx21.aig.com> Message-ID: <002e01c5a8d8$6626d370$6501a8c0@fincomplex.spb.ru> Jim, It can be done in one line - so it should be possible to do it in MS Access SQL I think. Inline test in immediate window: ?IIf(Len("Just|a|test") > 0, UBound(Split("Just|a|test", "|")), 0) 2 One of the possible solutions as VBA function (lines wrapped this tricky way to let this code copy from this message and to paste it into VBA module and compile it without errors): Public Function CountDelimiters( _ ByVal vstrSource As String, _ ByVal vstrDelimiter As String) As Long CountDelimiters = IIf(Len(vstrSource) > 0, _ UBound(Split(vstrSource, _ vstrDelimiter)), 0) End Function HTH, Shamil > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Hale, Jim > Sent: Wednesday, August 24, 2005 11:52 AM > To: 'Accessd (E-mail) > Subject: [AccessD] SQL to count delimiters in a string > > > Assume I have a text field in a table. Further assume that the text strings > are delimited by the pipe character "|". I want to know how many pipe > characters occur in each field, ie. the select statement should return: > > fldText Occurrences > test|ddd|ww|ex 3 > fff|sss 1 > eenie|meenie|minie|moe 3 > > What is the correct SQL to produce the desired result? TIA > Jim Hale > > *********************************************************************** > The information transmitted is intended solely for the individual or entity > to which it is addressed and may contain confidential and/or privileged > material. Any review, retransmission, dissemination or other use of or > taking action in reliance upon this information by persons or entities other > than the intended recipient is prohibited. If you have received this email > in error please contact the sender and delete the material from any > computer. As a recipient of this email, you are responsible for screening > its contents and the contents of any attachments for the presence of > viruses. No liability is accepted for any damages caused by any virus > transmitted by this email. > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com From Jim.Hale at FleetPride.com Wed Aug 24 13:16:09 2005 From: Jim.Hale at FleetPride.com (Hale, Jim) Date: Wed, 24 Aug 2005 13:16:09 -0500 Subject: FW: [AccessD] SQL to count delimiters in a string Message-ID: <6A6AA9DF57E4F046BDA1E273BDDB67723377B3@corp-es01.fleetpride.com> This looks interesting. I'll give it a try, thanks Jim Hale -----Original Message----- From: catchrest at denverdb.com [mailto:catchrest at denverdb.com] Sent: Wednesday, August 24, 2005 11:25 AM To: Jim.Hale at fleetpride.com Subject: Re: [AccessD] SQL to count delimiters in a string Jim, Please feel free to post this to the group, my webmail does not work with the proper Reply To Settings. This SQl will get you what you want, I would convert it to a Function, but here's the code: DECLARE @str VarChar(500) DECLARE @x INT DECLARE @Count INT SET @str = 'st|ddd|ww|ex 3 fff|sss 1 eenie|meenie|minie|moe 3' SET @x = CharIndex('|', @str, 1) SET @Count = 0 WHILE @x <> 0 BEGIN SET @Count = @Count + 1 SET @str = SubString(@str, @x + 1, 500) SET @x = CharIndex('|', @str) END PRINT @Count -- Chris Mackin > > Assume I have a text field in a table. Further assume > that the text strings > are delimited by the pipe chara > cter "|". I want to know how many pipe > characters occ > ur in each field, ie. the select statement should retu > rn: > > fldText Occurrences > te > st|ddd|ww|ex 3 > fff|sss > 1 > eenie|meenie|minie|moe 3 > > What is > the correct SQL to produce the desired result? TIA > Ji > m Hale > > ******************************************** > *************************** > The information transmitt > ed is intended solely for the individual or > entity to > which it is addressed and may contain confidential an > d/or > privileged material. Any review, retransmission, > dissemination or > other use of or taking action in re > liance upon this information by > persons or entities o > ther than the intended recipient is prohibited. > If yo > u have received this email in error please contact the > sender and > delete the material from any computer. As > a recipient of this email, > you are responsible for s > creening its contents and the contents of any > attachm > ents for the presence of viruses. No liability is acce > pted for > any damages caused by any virus transmitted > by this email. > > > > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > > ______________________________________ This E-Mail was sent with MailMax/WEB. http://www.smartmax.com *********************************************************************** The information transmitted is intended solely for the individual or entity to which it is addressed and may contain confidential and/or privileged material. Any review, retransmission, dissemination or other use of or taking action in reliance upon this information by persons or entities other than the intended recipient is prohibited. If you have received this email in error please contact the sender and delete the material from any computer. As a recipient of this email, you are responsible for screening its contents and the contents of any attachments for the presence of viruses. No liability is accepted for any damages caused by any virus transmitted by this email. From DElam at jenkens.com Wed Aug 24 13:20:07 2005 From: DElam at jenkens.com (Elam, Debbie) Date: Wed, 24 Aug 2005 13:20:07 -0500 Subject: [AccessD] Logic issue Message-ID: <7B1961ED924D1A459E378C9B1BB22B4C0492CCD9@natexch.jenkens.com> Hmm, to get a smaller list you may need to have a field in person with their "default" role. As long as you allow for getting a larger list, this could work nicely. Debbie -----Original Message----- From: John Clark [mailto:John.Clark at niagaracounty.com] Sent: Wednesday, August 24, 2005 1:13 PM To: accessd at databaseadvisors.com Subject: RE: [AccessD] Logic issue It isn't really based on trials though. It is based on indictment numbers, and these may or may not go to court...a defendant could plea out before it hits trial, or charges could be dropped. I think we are on the same page though, except it seems like you would pull all from this table, which I would too, but I want to filter it for certain lists (i.e. I don't want a thousand names showing up when I want to basically choose from three judges). I don't mind including all names when adding defendants, because it is probably necessary. >>> DElam at jenkens.com 8/24/2005 1:47 PM >>> I would actually have a table of people that includes everyone. Second, a table of trials. Link those two with a third table that has the trialID, personID and an ID indicating what role they had in the trial. Given the cross connections and likely possibility of multiple people in one role for a trial, this is the only scalable solution. Debbie -----Original Message----- From: John Clark [mailto:John.Clark at niagaracounty.com] Sent: Wednesday, August 24, 2005 12:36 PM To: accessd at databaseadvisors.com Subject: [AccessD] Logic issue Hi all I am having trouble working out how I want to go about something, and I am hoping somebody here can give me a nudge. It doesn't sound difficult, but I'm running into dead-ends. I am starting to think that I will just have to go ahead and finish up with "whatever" and work around things. I am doing a project for a district attorney's office, and it will basically just keep tabs on everybody that passes through the system. The problem is though that there are "Defendants", defense lawyers, prosecuting lawyers, judges, and victims, and it isn't rare for a single person to cross into multiple lists. And, theoretically, it is possible to be in all lists. For instance there are many prosecuting lawyers that become defense attorneys, and it is not unlikely that one of these attorneys could be a judge in the future. That scenario is very possible, and you can add it that a lawyer is very able to be a victim, and hell, we all know they can be criminals ;) Another scenario that happens very frequently, is that a person is both a defendant and a victim. I don't want the person entering data to scroll through hundreds, and eventually thousands, of names to pick an attorney's name from among the list of everybody else in the system. The idea I am working on presently is to add logical fields for each designation to the table of names. For instances: kNameID txtLastName txtFirstName txtMI txtSuffix logAttorney logADA logJudge logVictim logDefendant If I do this, I will have removed some fields that are currently there, such as: txtAddress1 txtAddress2 txtCity txtSt txtZip txtPhone And, I will put these in another linked table. There may be a need to have multiple addresses for the defendants, so this would be best I think. The problem that I am foreseeing here...I'm not at that point, so my fears could be unfounded...is setting these fields to true and/or false, as needed. Basically, thinking of victims for a minute here, the defendant screen, which will actually be an "Indictment" screen, will have a subform to hold potentially many victims for the indictment. If a victim IS already in the system as something else, I will need to tag that name as a victim and I'm wondering if this will present difficulties. Well, I hope I am being clear enough. If anyone out there has any tips for me, I would greatly appreciate it if you would pass them along. Thank you! John W Clark -- 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 -- 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 DWUTKA at marlow.com Wed Aug 24 13:15:37 2005 From: DWUTKA at marlow.com (DWUTKA at marlow.com) Date: Wed, 24 Aug 2005 13:15:37 -0500 Subject: [AccessD] Logic issue Message-ID: <123701F54509D9119A4F00D0B747349016DE55@main2.marlow.com> I think you need to have a 'people' table. Whether a person is a judge, lawyer, defendant should be determined by relationships to the tables relating to those designations. Drew -----Original Message----- From: John Clark [mailto:John.Clark at niagaracounty.com] Sent: Wednesday, August 24, 2005 12:36 PM To: accessd at databaseadvisors.com Subject: [AccessD] Logic issue Hi all I am having trouble working out how I want to go about something, and I am hoping somebody here can give me a nudge. It doesn't sound difficult, but I'm running into dead-ends. I am starting to think that I will just have to go ahead and finish up with "whatever" and work around things. I am doing a project for a district attorney's office, and it will basically just keep tabs on everybody that passes through the system. The problem is though that there are "Defendants", defense lawyers, prosecuting lawyers, judges, and victims, and it isn't rare for a single person to cross into multiple lists. And, theoretically, it is possible to be in all lists. For instance there are many prosecuting lawyers that become defense attorneys, and it is not unlikely that one of these attorneys could be a judge in the future. That scenario is very possible, and you can add it that a lawyer is very able to be a victim, and hell, we all know they can be criminals ;) Another scenario that happens very frequently, is that a person is both a defendant and a victim. I don't want the person entering data to scroll through hundreds, and eventually thousands, of names to pick an attorney's name from among the list of everybody else in the system. The idea I am working on presently is to add logical fields for each designation to the table of names. For instances: kNameID txtLastName txtFirstName txtMI txtSuffix logAttorney logADA logJudge logVictim logDefendant If I do this, I will have removed some fields that are currently there, such as: txtAddress1 txtAddress2 txtCity txtSt txtZip txtPhone And, I will put these in another linked table. There may be a need to have multiple addresses for the defendants, so this would be best I think. The problem that I am foreseeing here...I'm not at that point, so my fears could be unfounded...is setting these fields to true and/or false, as needed. Basically, thinking of victims for a minute here, the defendant screen, which will actually be an "Indictment" screen, will have a subform to hold potentially many victims for the indictment. If a victim IS already in the system as something else, I will need to tag that name as a victim and I'm wondering if this will present difficulties. Well, I hope I am being clear enough. If anyone out there has any tips for me, I would greatly appreciate it if you would pass them along. Thank you! John W Clark -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From John.Clark at niagaracounty.com Wed Aug 24 13:50:23 2005 From: John.Clark at niagaracounty.com (John Clark) Date: Wed, 24 Aug 2005 14:50:23 -0400 Subject: [AccessD] Logic issue Message-ID: Well, I don't know if they so much need a "default" role. I've got to enter the name in at some point, and I guess at that time they could get their initial designation...maybe even automatically, dependant on where I call it from. Since writing my initial "cry for help," I've been experimenting with a "names" table (close to a person table Drew) that has the fields I mentioned. I then made a query for each logical field, which I would probably make a single sql statement for if I go this way, to test it out. It works pretty well and gives me proper results. Now I've just got to experiment w/getting data in...believe it or not I don't use recordsets very much and I think that is what I'll need to do here. I've gotta leave here soon for the night and take my kids to music lessons, but I'll be hitting it again tomorrow AM. >>> DElam at jenkens.com 8/24/2005 2:20 PM >>> Hmm, to get a smaller list you may need to have a field in person with their "default" role. As long as you allow for getting a larger list, this could work nicely. Debbie -----Original Message----- From: John Clark [mailto:John.Clark at niagaracounty.com] Sent: Wednesday, August 24, 2005 1:13 PM To: accessd at databaseadvisors.com Subject: RE: [AccessD] Logic issue It isn't really based on trials though. It is based on indictment numbers, and these may or may not go to court...a defendant could plea out before it hits trial, or charges could be dropped. I think we are on the same page though, except it seems like you would pull all from this table, which I would too, but I want to filter it for certain lists (i.e. I don't want a thousand names showing up when I want to basically choose from three judges). I don't mind including all names when adding defendants, because it is probably necessary. >>> DElam at jenkens.com 8/24/2005 1:47 PM >>> I would actually have a table of people that includes everyone. Second, a table of trials. Link those two with a third table that has the trialID, personID and an ID indicating what role they had in the trial. Given the cross connections and likely possibility of multiple people in one role for a trial, this is the only scalable solution. Debbie -----Original Message----- From: John Clark [mailto:John.Clark at niagaracounty.com] Sent: Wednesday, August 24, 2005 12:36 PM To: accessd at databaseadvisors.com Subject: [AccessD] Logic issue Hi all I am having trouble working out how I want to go about something, and I am hoping somebody here can give me a nudge. It doesn't sound difficult, but I'm running into dead-ends. I am starting to think that I will just have to go ahead and finish up with "whatever" and work around things. I am doing a project for a district attorney's office, and it will basically just keep tabs on everybody that passes through the system. The problem is though that there are "Defendants", defense lawyers, prosecuting lawyers, judges, and victims, and it isn't rare for a single person to cross into multiple lists. And, theoretically, it is possible to be in all lists. For instance there are many prosecuting lawyers that become defense attorneys, and it is not unlikely that one of these attorneys could be a judge in the future. That scenario is very possible, and you can add it that a lawyer is very able to be a victim, and hell, we all know they can be criminals ;) Another scenario that happens very frequently, is that a person is both a defendant and a victim. I don't want the person entering data to scroll through hundreds, and eventually thousands, of names to pick an attorney's name from among the list of everybody else in the system. The idea I am working on presently is to add logical fields for each designation to the table of names. For instances: kNameID txtLastName txtFirstName txtMI txtSuffix logAttorney logADA logJudge logVictim logDefendant If I do this, I will have removed some fields that are currently there, such as: txtAddress1 txtAddress2 txtCity txtSt txtZip txtPhone And, I will put these in another linked table. There may be a need to have multiple addresses for the defendants, so this would be best I think. The problem that I am foreseeing here...I'm not at that point, so my fears could be unfounded...is setting these fields to true and/or false, as needed. Basically, thinking of victims for a minute here, the defendant screen, which will actually be an "Indictment" screen, will have a subform to hold potentially many victims for the indictment. If a victim IS already in the system as something else, I will need to tag that name as a victim and I'm wondering if this will present difficulties. Well, I hope I am being clear enough. If anyone out there has any tips for me, I would greatly appreciate it if you would pass them along. Thank you! John W Clark -- 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 -- 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 From cfoust at infostatsystems.com Wed Aug 24 15:00:41 2005 From: cfoust at infostatsystems.com (Charlotte Foust) Date: Wed, 24 Aug 2005 13:00:41 -0700 Subject: [AccessD] Logic issue Message-ID: An associative table is also called a join table. It contains one record for each combination of keys that occurs in a many to many relationship. So if you have a tblPeople and a tblIndictments, you could have a tblPeopleIndictments that would contain a record for each occuring people-indictment combination. Charlotte Foust -----Original Message----- From: John Clark [mailto:John.Clark at niagaracounty.com] Sent: Wednesday, August 24, 2005 11:03 AM To: accessd at databaseadvisors.com Subject: RE: [AccessD] Logic issue I'm not sure what you mean >>> prosoft6 at hotmail.com 8/24/2005 1:51 PM >>> John, Have you thought about using an associative table, where the many to many problems are conquered? What does the rest of the list think about associative tables? Julie Reardon-Taylor PRO-SOFT OF NY, INC. 44 Public Square Suite #5 Watertown, NY 13601 Phone/Fax: (315) 785-0319 www.pro-soft.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 dejpolsys at hotmail.com Wed Aug 24 15:31:39 2005 From: dejpolsys at hotmail.com (William Hindman) Date: Wed, 24 Aug 2005 16:31:39 -0400 Subject: [AccessD] Logic issue References: Message-ID: ..list filters ...your opening form becomes a text box and a list to select from ...you open the form with no recordset ...you user types the first two characters of the last name in the text box ...the change event capture the 2nd letter entry, appends an asterisk to it and requeries the list box using the XX* as your SQL recordset filter ...as the list box fills the user can either select from it to open a new form using opening arguments ...or they can continue adding letters to the text box and the list box requeries each time with a shorter and shorter list to select from. ..I use this approach in most of my mdbs where there are thousands of names to select from but I don't want to pull them all across the network. ..it sounds complicated but once setup, it works like a charm ...I usually place an option group at the top that defaults to what people are commonly looking for but allows them to filter on other sets if needed. ..the table design ...normalization says if its not unique it belongs in a separate table ...we all try but fall short ...but if the focus of the mdb is indictments then you start there ...and you keep it simple ...an INDICTID AN and a type field ...then the entity table ...not names or people because companies and orgs get charged as well as people ...so an ENTID AN and a type ...individual or company or organization, etc. and any other fields that would be unique ...and then an address table, and a "role" type table. ..then you create a join table with the INDICTID and ENTID and add a role type ID and start and end dates. ..the join table weds the Indictment with the Entity and the role they played in the indictment process with dates ...thus if an Entity changes roles during the indictment process, you can capture the change and display it in a tabbed subform without a lot of hassle. ..this is off the top of my head of course but I've built more than a few on that basic structure ...hth :) William ----- Original Message ----- From: "John Clark" To: Sent: Wednesday, August 24, 2005 2:12 PM Subject: RE: [AccessD] Logic issue > It isn't really based on trials though. It is based on indictment > numbers, and these may or may not go to court...a defendant could plea > out before it hits trial, or charges could be dropped. I think we are on > the same page though, except it seems like you would pull all from this > table, which I would too, but I want to filter it for certain lists > (i.e. I don't want a thousand names showing up when I want to basically > choose from three judges). I don't mind including all names when adding > defendants, because it is probably necessary. > >>>> DElam at jenkens.com 8/24/2005 1:47 PM >>> > I would actually have a table of people that includes everyone. > Second, a > table of trials. Link those two with a third table that has the > trialID, > personID and an ID indicating what role they had in the trial. Given > the > cross connections and likely possibility of multiple people in one role > for > a trial, this is the only scalable solution. > > Debbie > > -----Original Message----- > From: John Clark [mailto:John.Clark at niagaracounty.com] > Sent: Wednesday, August 24, 2005 12:36 PM > To: accessd at databaseadvisors.com > Subject: [AccessD] Logic issue > > > Hi all > > I am having trouble working out how I want to go about something, and > I > am hoping somebody here can give me a nudge. It doesn't sound > difficult, > but I'm running into dead-ends. I am starting to think that I will > just > have to go ahead and finish up with "whatever" and work around things. > > I am doing a project for a district attorney's office, and it will > basically just keep tabs on everybody that passes through the system. > The problem is though that there are "Defendants", defense lawyers, > prosecuting lawyers, judges, and victims, and it isn't rare for a > single > person to cross into multiple lists. And, theoretically, it is > possible > to be in all lists. For instance there are many prosecuting lawyers > that > become defense attorneys, and it is not unlikely that one of these > attorneys could be a judge in the future. That scenario is very > possible, and you can add it that a lawyer is very able to be a > victim, > and hell, we all know they can be criminals ;) Another scenario that > happens very frequently, is that a person is both a defendant and a > victim. > > I don't want the person entering data to scroll through hundreds, and > eventually thousands, of names to pick an attorney's name from among > the > list of everybody else in the system. > > The idea I am working on presently is to add logical fields for each > designation to the table of names. For instances: > > kNameID > txtLastName > txtFirstName > txtMI > txtSuffix > logAttorney > logADA > logJudge > logVictim > logDefendant > > If I do this, I will have removed some fields that are currently > there, > such as: > > txtAddress1 > txtAddress2 > txtCity > txtSt > txtZip > txtPhone > > And, I will put these in another linked table. There may be a need to > have multiple addresses for the defendants, so this would be best I > think. > > The problem that I am foreseeing here...I'm not at that point, so my > fears could be unfounded...is setting these fields to true and/or > false, > as needed. Basically, thinking of victims for a minute here, the > defendant screen, which will actually be an "Indictment" screen, will > have a subform to hold potentially many victims for the indictment. If > a > victim IS already in the system as something else, I will need to tag > that name as a victim and I'm wondering if this will present > difficulties. > > Well, I hope I am being clear enough. If anyone out there has any tips > for me, I would greatly appreciate it if you would pass them along. > > Thank you! > > John W Clark > -- > 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 > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > From Chester_Kaup at kindermorgan.com Wed Aug 24 15:36:22 2005 From: Chester_Kaup at kindermorgan.com (Kaup, Chester) Date: Wed, 24 Aug 2005 15:36:22 -0500 Subject: [AccessD] Do While Loop Problem Message-ID: The following code generates a no current record error on the do while line. I thought it should exit the do loop when EOF = false was reached. Thanks. Do While myds.Fields(2) < myds5.Fields(2) Or myds.EOF = True 'some lines of code myds.MoveNext Loop Chester Kaup Engineering Technician Kinder Morgan CO2 Company, LLP Office (432) 688-3797 FAX (432) 688-3799 No trees were killed in the sending of this message. However a large number of electrons were terribly inconvenienced. From cfoust at infostatsystems.com Wed Aug 24 15:48:55 2005 From: cfoust at infostatsystems.com (Charlotte Foust) Date: Wed, 24 Aug 2005 13:48:55 -0700 Subject: [AccessD] Do While Loop Problem Message-ID: The problem is that it tries to evalute the first conditon before it checks for EOF. Try this instead: Do While myds.EOF = false If myds.Fields(2) < myds5.Fields(2) Then 'some lines of code End If myds.MoveNext Loop Charlotte -----Original Message----- From: Kaup, Chester [mailto:Chester_Kaup at kindermorgan.com] Sent: Wednesday, August 24, 2005 1:36 PM To: Access Developers discussion and problem solving Subject: [AccessD] Do While Loop Problem The following code generates a no current record error on the do while line. I thought it should exit the do loop when EOF = false was reached. Thanks. Do While myds.Fields(2) < myds5.Fields(2) Or myds.EOF = True 'some lines of code myds.MoveNext Loop Chester Kaup Engineering Technician Kinder Morgan CO2 Company, LLP Office (432) 688-3797 FAX (432) 688-3799 No trees were killed in the sending of this message. However a large number of electrons were terribly inconvenienced. -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From Lambert.Heenan at AIG.com Wed Aug 24 15:49:33 2005 From: Lambert.Heenan at AIG.com (Heenan, Lambert) Date: Wed, 24 Aug 2005 16:49:33 -0400 Subject: [AccessD] Do While Loop Problem Message-ID: <1D7828CDB8350747AFE9D69E0E90DA1F14EA4034@xlivmbx21.aig.com> When you hit EOF the expression myds.Fields(2) cannot be evaluated. You need two distinct tests... Do While Not myds.EOF If myds.Fields(2) < myds5.Fields(2) 'some lines of code End If myds.MoveNext Loop Now if access had 'short circuit' conditional testing you could have written... Do While Not myds.EOF And myds.Fields(2) < myds5.Fields(2) ...which would have exited the loop when the EOF condition failed, and before the other test was done. But alas you can't. Access does checks all the conditions, even if the first one would terminate the loop. Lambert -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Kaup, Chester Sent: Wednesday, August 24, 2005 4:36 PM To: Access Developers discussion and problem solving Subject: [AccessD] Do While Loop Problem The following code generates a no current record error on the do while line. I thought it should exit the do loop when EOF = false was reached. Thanks. Do While myds.Fields(2) < myds5.Fields(2) Or myds.EOF = True 'some lines of code myds.MoveNext Loop Chester Kaup Engineering Technician Kinder Morgan CO2 Company, LLP Office (432) 688-3797 FAX (432) 688-3799 No trees were killed in the sending of this message. However a large number of electrons were terribly inconvenienced. -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From pharold at proftesting.com Wed Aug 24 15:53:02 2005 From: pharold at proftesting.com (Perry L Harold) Date: Wed, 24 Aug 2005 16:53:02 -0400 Subject: [AccessD] Do While Loop Problem Message-ID: <00F5FCB4F80FDB4EB03FBAAEAD97CEAD0A955D@EXCHANGE.ptiorl.local> If myds.eof = true can't movenext ? Perry Harold -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Kaup, Chester Sent: Wednesday, August 24, 2005 4:36 PM To: Access Developers discussion and problem solving Subject: [AccessD] Do While Loop Problem The following code generates a no current record error on the do while line. I thought it should exit the do loop when EOF = false was reached. Thanks. Do While myds.Fields(2) < myds5.Fields(2) Or myds.EOF = True 'some lines of code myds.MoveNext Loop Chester Kaup Engineering Technician Kinder Morgan CO2 Company, LLP Office (432) 688-3797 FAX (432) 688-3799 No trees were killed in the sending of this message. However a large number of electrons were terribly inconvenienced. -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From frank at fhsservices.co.uk Wed Aug 24 16:21:59 2005 From: frank at fhsservices.co.uk (Frank Hill) Date: Wed, 24 Aug 2005 22:21:59 +0100 Subject: [AccessD] Logic issue In-Reply-To: Message-ID: <20050824212808.97DB113C6BD@smtp-node1.griffin.com> Here's a different solution! If you have a checkbox for each title or position that can be applicable to each person represented through the database then, on the client form of any of people the list the checkboxes will indicate positives for the applicable option. So, Jack Jones can have the boxes ticked for Defence attorney, prosecuting attorney, Judge etc. etc. The final checkbox (no 9 on my sample) can be set to "Other" and have an associated textbox in the table which will only be displayed it no 9 is ticked and the text will be entered into the open, blank textbox for storage and later retrieval. The trick here is to combine the bit value of each checkbox to obtain a unique value for the combination of boxes ticked. I have a small database of the principle as a working example which I can forward to anybody who would like to see it. The AccessD list is limited to a 30K unit size and will not allow me to attach the sample to this text Kind regards, Frank Hill Kind regards, Frank Hill -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of John Clark Sent: 24 August 2005 18:36 To: accessd at databaseadvisors.com Subject: [AccessD] Logic issue Hi all I am having trouble working out how I want to go about something, and I am hoping somebody here can give me a nudge. It doesn't sound difficult, but I'm running into dead-ends. I am starting to think that I will just have to go ahead and finish up with "whatever" and work around things. I am doing a project for a district attorney's office, and it will basically just keep tabs on everybody that passes through the system. The problem is though that there are "Defendants", defense lawyers, prosecuting lawyers, judges, and victims, and it isn't rare for a single person to cross into multiple lists. And, theoretically, it is possible to be in all lists. For instance there are many prosecuting lawyers that become defense attorneys, and it is not unlikely that one of these attorneys could be a judge in the future. That scenario is very possible, and you can add it that a lawyer is very able to be a victim, and hell, we all know they can be criminals ;) Another scenario that happens very frequently, is that a person is both a defendant and a victim. I don't want the person entering data to scroll through hundreds, and eventually thousands, of names to pick an attorney's name from among the list of everybody else in the system. The idea I am working on presently is to add logical fields for each designation to the table of names. For instances: kNameID txtLastName txtFirstName txtMI txtSuffix logAttorney logADA logJudge logVictim logDefendant If I do this, I will have removed some fields that are currently there, such as: txtAddress1 txtAddress2 txtCity txtSt txtZip txtPhone And, I will put these in another linked table. There may be a need to have multiple addresses for the defendants, so this would be best I think. The problem that I am foreseeing here...I'm not at that point, so my fears could be unfounded...is setting these fields to true and/or false, as needed. Basically, thinking of victims for a minute here, the defendant screen, which will actually be an "Indictment" screen, will have a subform to hold potentially many victims for the indictment. If a victim IS already in the system as something else, I will need to tag that name as a victim and I'm wondering if this will present difficulties. Well, I hope I am being clear enough. If anyone out there has any tips for me, I would greatly appreciate it if you would pass them along. Thank you! John W Clark -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From jwcolby at colbyconsulting.com Wed Aug 24 16:29:36 2005 From: jwcolby at colbyconsulting.com (John W. Colby) Date: Wed, 24 Aug 2005 17:29:36 -0400 Subject: [AccessD] Control codes to a printer Message-ID: <014701c5a8f2$ed496790$6c7aa8c0@ColbyM6805> I need to send a series of hex characters to an Epson receipt printer to execute the cutting. Hex characters are 1d 56 42 20 The printer is TCP/IP so I have an IP address stored in a table and hidden in a form that is open when the print command is executed. This is a Win98 environment. Does anyone already have something similar. John W. Colby www.ColbyConsulting.com Contribute your unused CPU cycles to a good cause: http://folding.stanford.edu/ From Chester_Kaup at kindermorgan.com Wed Aug 24 16:30:30 2005 From: Chester_Kaup at kindermorgan.com (Kaup, Chester) Date: Wed, 24 Aug 2005 16:30:30 -0500 Subject: [AccessD] Do While Loop Problem Message-ID: Thanks all! -----Original Message----- From: Heenan, Lambert [mailto:Lambert.Heenan at AIG.com] Sent: Wednesday, August 24, 2005 3:50 PM To: 'Access Developers discussion and problem solving' Cc: Kaup, Chester Subject: RE: [AccessD] Do While Loop Problem When you hit EOF the expression myds.Fields(2) cannot be evaluated. You need two distinct tests... Do While Not myds.EOF If myds.Fields(2) < myds5.Fields(2) 'some lines of code End If myds.MoveNext Loop Now if access had 'short circuit' conditional testing you could have written... Do While Not myds.EOF And myds.Fields(2) < myds5.Fields(2) ...which would have exited the loop when the EOF condition failed, and before the other test was done. But alas you can't. Access does checks all the conditions, even if the first one would terminate the loop. Lambert -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Kaup, Chester Sent: Wednesday, August 24, 2005 4:36 PM To: Access Developers discussion and problem solving Subject: [AccessD] Do While Loop Problem The following code generates a no current record error on the do while line. I thought it should exit the do loop when EOF = false was reached. Thanks. Do While myds.Fields(2) < myds5.Fields(2) Or myds.EOF = True 'some lines of code myds.MoveNext Loop Chester Kaup Engineering Technician Kinder Morgan CO2 Company, LLP Office (432) 688-3797 FAX (432) 688-3799 No trees were killed in the sending of this message. However a large number of electrons were terribly inconvenienced. -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From martyconnelly at shaw.ca Wed Aug 24 12:16:52 2005 From: martyconnelly at shaw.ca (MartyConnelly) Date: Wed, 24 Aug 2005 10:16:52 -0700 Subject: [AccessD] Change of circumstances References: <61F915314798D311A2F800A0C9C8318807225F12@dibble.observatory.donnslaw.co.uk> Message-ID: <430CAB84.2020505@shaw.ca> One thing to check out is the split day's type of jobs, especially in the civil service In other words you get a partner and one works 2 days, the other 3 days. My sisterinlaw did this in her government department in Alberta so people could attend university. during the day. She is in charge of HR. Wouldn't work for engineers they have 40 class hours a week, but arts generally have less then 20 hours. Now she is getting request from women with autistic kids etc. She calls the programmers doing this extreme programmers with some lag. The participants set up there own internal blog to keep track of what is happening. Roz Clarke wrote: >Well remembered John, I will do > >:) > >-----Original Message----- >From: Johncliviger at aol.com [mailto:Johncliviger at aol.com] >Sent: 24 August 2005 12:24 >To: accessd at databaseadvisors.com >Subject: Re: [AccessD] Change of circumstances > > >Roz > >I think your are in the Manchester, England area, if I'm right email me a >cv >at _databaseuk at aol.com_ (mailto:databaseuk at aol.com) > >John > > > > > > -- Marty Connelly Victoria, B.C. Canada From stuart at lexacorp.com.pg Wed Aug 24 19:46:18 2005 From: stuart at lexacorp.com.pg (Stuart McLachlan) Date: Thu, 25 Aug 2005 10:46:18 +1000 Subject: [AccessD] Control codes to a printer In-Reply-To: <014701c5a8f2$ed496790$6c7aa8c0@ColbyM6805> Message-ID: <430DA17A.277.2AB9E68@stuart.lexacorp.com.pg> On 24 Aug 2005 at 17:29, John W. Colby wrote: > I need to send a series of hex characters to an Epson receipt printer to > execute the cutting. Hex characters are 1d 56 42 20 The printer is TCP/IP > so I have an IP address stored in a table and hidden in a form that is open > when the print command is executed. This is a Win98 environment. Does > anyone already have something similar. > What happens if you open the port and print to it, something like: OPEN "IP:010.010.010.010" FOR OUTPUT AS #1 PRINT #1, CHR$(&H1D);CHR$(&H56),CHR$(&H42);CHR$(&H20) CLOSE #1 -- Stuart From jwcolby at colbyconsulting.com Wed Aug 24 22:23:01 2005 From: jwcolby at colbyconsulting.com (John W. Colby) Date: Wed, 24 Aug 2005 23:23:01 -0400 Subject: [AccessD] Building SQL statement Message-ID: <015101c5a924$4f937db0$6c7aa8c0@ColbyM6805> I'm attempting to build a SQL statement to append data into a record. One of the fields is text, including (possibly) any valid text including ' - for example in contractions such as "aren't" etc. My SQL statement is building up a statement in the format: lstrSQL = "INSERT INTO WebNewsItem ( WebNewsSourceID, Link, Title, ArticleDescription ) " & _ "SELECT " & webNewsSourceID & " AS WebNewsSourceID, '" & link & "' AS Link, '" & title & "' AS Title, '" & description & "' AS ArticleDescription;" The problem is that description can contain the ' character and thus I end up with an invalid SQL statement since the ' embedded in description "looks like" the ' that is supposed to enclose the text. I can't for the life of me remember how I am supposed to handle this. I could punt and open a recordset, create a new record, and place the data directly into the field, which I may end up doing but I sure would prefer to just do the "append query" thing. It is (was) much simpler. John W. Colby www.ColbyConsulting.com Contribute your unused CPU cycles to a good cause: http://folding.stanford.edu/ From stuart at lexacorp.com.pg Wed Aug 24 22:30:07 2005 From: stuart at lexacorp.com.pg (Stuart McLachlan) Date: Thu, 25 Aug 2005 13:30:07 +1000 Subject: [AccessD] Building SQL statement In-Reply-To: <015101c5a924$4f937db0$6c7aa8c0@ColbyM6805> Message-ID: <430DC7DF.564.341991F@stuart.lexacorp.com.pg> On 24 Aug 2005 at 23:23, John W. Colby wrote: > > The problem is that description can contain the ' character and thus I end > up with an invalid SQL statement since the ' embedded in description "looks > like" the ' that is supposed to enclose the text. > > I can't for the life of me remember how I am supposed to handle this. > Description = Replace(Description,"'","''") That's a single quote between double quotes as the second parameter and two single quotes between double quotes as the third parameter. Double up the single quote "escapes" it in the input string -- Stuart From jwcolby at colbyconsulting.com Wed Aug 24 22:43:23 2005 From: jwcolby at colbyconsulting.com (John W. Colby) Date: Wed, 24 Aug 2005 23:43:23 -0400 Subject: [AccessD] Building SQL statement In-Reply-To: <430DC7DF.564.341991F@stuart.lexacorp.com.pg> Message-ID: <015201c5a927$2960de00$6c7aa8c0@ColbyM6805> So I have to search the input string looking for all single quote ' characters and replace it with two single quote characters ''? I was afraid of that. John W. Colby www.ColbyConsulting.com Contribute your unused CPU cycles to a good cause: http://folding.stanford.edu/ -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Stuart McLachlan Sent: Wednesday, August 24, 2005 11:30 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Building SQL statement On 24 Aug 2005 at 23:23, John W. Colby wrote: > > The problem is that description can contain the ' character and thus I > end up with an invalid SQL statement since the ' embedded in > description "looks like" the ' that is supposed to enclose the text. > > I can't for the life of me remember how I am supposed to handle this. > Description = Replace(Description,"'","''") That's a single quote between double quotes as the second parameter and two single quotes between double quotes as the third parameter. Double up the single quote "escapes" it in the input string -- Stuart -- 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 Aug 25 00:13:14 2005 From: stuart at lexacorp.com.pg (Stuart McLachlan) Date: Thu, 25 Aug 2005 15:13:14 +1000 Subject: [AccessD] Building SQL statement In-Reply-To: <015201c5a927$2960de00$6c7aa8c0@ColbyM6805> References: <430DC7DF.564.341991F@stuart.lexacorp.com.pg> Message-ID: <430DE00A.690.39FFEF4@stuart.lexacorp.com.pg> On 24 Aug 2005 at 23:43, John W. Colby wrote: > So I have to search the input string looking for all single quote ' > characters and replace it with two single quote characters ''? I was afraid > of that. > No, you don't have to look for them all. Just use the Replace() function on every string as a precaution. -- Stuart From martyconnelly at shaw.ca Thu Aug 25 02:03:22 2005 From: martyconnelly at shaw.ca (MartyConnelly) Date: Thu, 25 Aug 2005 00:03:22 -0700 Subject: [AccessD] MDE question References: <000001c5a3b0$dfc37f30$6401a8c0@laptop1> <4305159C.15609.389644@stuart.lexacorp.com.pg> Message-ID: <430D6D3A.6000000@shaw.ca> This might be a bit of help http://accesstools.narod.ru/index.html MDE forms/reports extractor v2.1 MS Access 2000 add-in This utility is designed to allow you to extract the forms, reports and macros from mde file to mdb (without the form/report class module code). In other word just the form, report design no code behind forms Stuart McLachlan wrote: >On 18 Aug 2005 at 8:44, John W. Colby wrote: > > > > >>CONTAINER: If your users use A97, A2K, AXP and A2003, it should be possible >>to build the mde in and A97 container and all of these versions should be >>able to open the thing and use it. >> >> > >No! Definitely not. A2K/XP can't open an A97 MDE. If you try, will be >asked whether you want to open or convert it, but which ever option you >choose, you will then get a msgbox saying "You can't convert or enable an >MDE file." You can link to it or import the tables and queries from it but >you can't open or run it. > >I'm running into this frequently at present. I'm upgrading all the inhouse >applications for a group of companies. Many of these were created by >dabblers and they are a real mess. Unfortunately some of them are only >available as MDEs and they are totally unconvertible. Best I can do is >extract the data and recreate the functionality in a new FE. > > > > > > -- Marty Connelly Victoria, B.C. Canada From fhtapia at gmail.com Thu Aug 25 02:40:53 2005 From: fhtapia at gmail.com (Francisco Tapia) Date: Thu, 25 Aug 2005 00:40:53 -0700 Subject: [AccessD] MDE question In-Reply-To: References: <4304B2E3.16275.1A65F03@stuart.lexacorp.com.pg> Message-ID: another method for distribution and not worrying about what version your user have is to deploy your mde with a runtime. This way you can ensure that your db will work fine. W/ the latest sagekey scripts (wise installer). it is possible to deploy a runtime A) doesn't need the digital certificate and B) it keeps context menus for importing and exporting data for merging w/ excel/word. of course there's the added benefit w/ sage that you won't have to worry about a user haveing their install conflict w/ an existing Access version on the users machine. On 8/18/05, Joe Hecht wrote: > > So I should write in XP and then port up to 2K3. > Ten user would need to select proper version for their system. > > Or start in 2K3 and go down to XP. > > I would have 2 mde files of same app. > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Stuart > McLachlan > Sent: Wednesday, August 17, 2005 11:10 PM > To: Access Developers discussion and problem solving > Subject: Re: [AccessD] MDE question > > On 17 Aug 2005 at 21:53, Joe Hecht wrote: > > > If I do an app in Access 2K3 and make an .mde out if it will older > versions > > of Access be able to use it? > > > > No, and future versions probably won't be able to either - at least that's > been the case up to now. > > > > > -- > Stuart > > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > -- -Francisco http://pcthis.blogspot.com |PC news with out the jargon! http://sqlthis.blogspot.com | Tsql and More... From roz.clarke at donnslaw.co.uk Thu Aug 25 03:37:01 2005 From: roz.clarke at donnslaw.co.uk (Roz Clarke) Date: Thu, 25 Aug 2005 09:37:01 +0100 Subject: [AccessD] test Message-ID: <61F915314798D311A2F800A0C9C8318807225F26@dibble.observatory.donnslaw.co.uk> The working title is "The Boa Constrictor" No more on that 'til Friday :D -----Original Message----- From: Jim Lawrence [mailto:accessd at shaw.ca] Sent: 24 August 2005 18:20 To: 'Access Developers discussion and problem solving' Subject: RE: [AccessD] test Hi Roz: Check, your company they might have started removing a 'past' employee from the email accounts a tad early. :-) Jim PS Great move; so what is the working title of new book? -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Roz Clarke Sent: Wednesday, August 24, 2005 6:33 AM To: 'Access Developers discussion and problem solving' Subject: RE: [AccessD] test Still didn't get my own email - and I have checked my list settings - but it could be something at this end. -----Original Message----- From: John Bartow [mailto:john at winhaven.net] Sent: 24 August 2005 14:26 To: 'Access Developers discussion and problem solving' Subject: RE: [AccessD] test passed -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Roz Clarke Sent: Wednesday, August 24, 2005 7:51 AM To: 'Access Developers discussion and problem solving' Subject: [AccessD] test testing - not seeing my own mails to the list today -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/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 -------------- The contents of this message and any attachments are the property of Donns Solicitors and are intended for the confidential use of the named recipient only. They may be legally privileged and should not be communicated to, or relied upon, by any other party without our written consent. If you are not the addressee, please notify us immediately so that we can make arrangements for its return. You should not show this e-mail to any person or take copies as you may be committing a criminal or civil offence for which you may be liable. The statement and opinions expressed in this e-mail message are those of the writer, and do not necessarily represent that of Donns Solicitors. Although any files attached to this e-mail will have been checked with virus protection software prior to transmission, you should carry out your own virus check before opening any attachment. Donns Solicitors does not accept any liability for any damage or loss which may be caused by software viruses... From tom.bolton at donnslaw.co.uk Thu Aug 25 05:08:34 2005 From: tom.bolton at donnslaw.co.uk (Tom Bolton) Date: Thu, 25 Aug 2005 11:08:34 +0100 Subject: [AccessD] Logic issue Message-ID: <61F915314798D311A2F800A0C9C831880802A31D@dibble.observatory.donnslaw.co.uk> Right, although this *might* be simplifying a little. We (Roz and I) work for a big Law firm who use a software package called... wait for it... Case. Conceptually, the basic object is a 'case', which will have (amongst other things) the following: - Capacities - Entities - Details - Activities It's best to think of the 'case' as the container for the capacities, details etc. within. These are almost like properties and methods of a class; come to think of it they probably are. Capacities are types of a person or persons, such as Claimant, Client, Defendant, Police, Third-party Insurer etc. Entities are instances of those capacities, i.e. an instance of the Defendant capacity could be Mr. Smith who would be the entity. A bit like a UDT, capacities have several associated properties (name, address etc.) Capacities can be linked to each other (eg. Def. and Def. insurer) using an extremely convoluted method called the 'acting for' which makes me shudder just thinking about it. Details are more basic 'properties'. Common ones we use are Claimant's Vehicle Registration, Defendant's Policy Number etc. Activities can be thought of as Methods of a class, and will 'do' certain things like produce a letter to Defendant's Solicitor. By the sounds of it, these wouldn't be that important to you. Discussing this with Roz, she pointed out that having all the capacity types in one big list has never phased our 200+ users who are at all points on the spectrum in terms of computer literacy. Trust us, just bung 'em all in together. Give each capacity a type, and leave it at that. To sum up, each 'case' has 'capacities' (people), 'details' (things), and 'activities' (methods to perform tasks in your 'case'.) I've horrendously over-simplified a piece of software it's taken me 6 months to find my way around so if none of it makes sense, please do ask! HTH in some small way Tom -----Original Message----- From: DWUTKA at marlow.com [mailto:DWUTKA at marlow.com] Sent: 24-Aug-2005 19:16 To: accessd at databaseadvisors.com Subject: RE: [AccessD] Logic issue I think you need to have a 'people' table. Whether a person is a judge, lawyer, defendant should be determined by relationships to the tables relating to those designations. Drew -------------- next part -------------- The contents of this message and any attachments are the property of Donns Solicitors and are intended for the confidential use of the named recipient only. They may be legally privileged and should not be communicated to, or relied upon, by any other party without our written consent. If you are not the addressee, please notify us immediately so that we can make arrangements for its return. You should not show this e-mail to any person or take copies as you may be committing a criminal or civil offence for which you may be liable. The statement and opinions expressed in this e-mail message are those of the writer, and do not necessarily represent that of Donns Solicitors. Although any files attached to this e-mail will have been checked with virus protection software prior to transmission, you should carry out your own virus check before opening any attachment. Donns Solicitors does not accept any liability for any damage or loss which may be caused by software viruses... From zora_db at yahoo.com Thu Aug 25 05:08:03 2005 From: zora_db at yahoo.com (Roz Clarke) Date: Thu, 25 Aug 2005 11:08:03 +0100 (BST) Subject: [AccessD] Change of circumstances In-Reply-To: <430CAB84.2020505@shaw.ca> Message-ID: <20050825100803.49431.qmail@web50101.mail.yahoo.com> A good idea. Public bodies here are also much more flexible than most commercial employers, and try to encourage jobshare and so on. Do people have to provide their own partners, or does she pair them up? --- MartyConnelly wrote: > One thing to check out is the split day's type of jobs, especially in > the civil service > In other words you get a partner and one works 2 days, the other 3 days. > My sisterinlaw did this in her government department in Alberta so > people could attend university. > during the day. She is in charge of HR. Wouldn't work for engineers they > have 40 class hours a week, > but arts generally have less then 20 hours. Now she is getting request > from women with autistic kids etc. > She calls the programmers doing this extreme programmers with some lag. > The participants set up there own internal blog to keep track of what is > happening. > > Roz Clarke wrote: > > >Well remembered John, I will do > > > >:) > > > >-----Original Message----- > >From: Johncliviger at aol.com [mailto:Johncliviger at aol.com] > >Sent: 24 August 2005 12:24 > >To: accessd at databaseadvisors.com > >Subject: Re: [AccessD] Change of circumstances > > > > > >Roz > > > >I think your are in the Manchester, England area, if I'm right email me a > >cv > >at _databaseuk at aol.com_ (mailto:databaseuk at aol.com) > > > >John > > > > > > > > > > > > > > -- > Marty Connelly > Victoria, B.C. > Canada > > > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > ___________________________________________________________ Yahoo! Messenger - NEW crystal clear PC to PC calling worldwide with voicemail http://uk.messenger.yahoo.com From zora_db at yahoo.com Thu Aug 25 05:30:02 2005 From: zora_db at yahoo.com (Roz Clarke) Date: Thu, 25 Aug 2005 11:30:02 +0100 (BST) Subject: [AccessD] Logic issue In-Reply-To: <61F915314798D311A2F800A0C9C831880802A31D@dibble.observatory.donnslaw.co.uk> Message-ID: <20050825103003.85207.qmail@web50109.mail.yahoo.com> To tie this back to the dicussion about join tables (what I always called 'resolution' tables because they resolve a many to many relationship), entities in the system are linked to cases via an 'Involvements' table. This is like the idea of roles that Debbie mentioned. So there is a big ol' library of entities (people & organisations). There is a customisable lookup of standard capacities: Claimant, Defendant, Counsel etc. Entities are attached to cases by the 'involvement' which also gives the capacity in which they are involved; their role in the case. This is great, because it means that we get the advantages of having all our entities in one big table (reduces danger of duplication, which is a HUGE issue, makes finding individuals possible when you don't know what their role might have been, etc.), and we also get the advantages of categorisation; you can see what kinds of involvement individuals and organisations have had in your cases. If your search works well, and I like William's idea for dynamic filtering, there is no drawback to having everything jammed in together. Case's searches aren't great, but they are quick, and the users are perfectly happy, as Tom said. Another thing the system does that you may want to consider is allow you to set defaults, so that when you open a new case (indictment, for you) you can answer a couple of questions and it will then pre-populate not only involvements, but details and diary entries. The bit that doesn't work properly is attaching additional attributes to the involvements, and you'll want to make sure you can crack this; we can add custom details such as 'Defendant's vehicle registration' but we can't link them to a specific defendant involvement without jumping through a lot of hoops (especially as you might have several entities attached to a case all in the same capacity, multiple witnesses for example). I don't know if the same holds for you, but we are required by the Law Society to undertake conflict checks, which means that we *need* to know if our client has been the third party in another case. This is another thing Case doesn't do very well because the front end is badly implemented, but the table structure allows you to get the information out easily enough. --- Tom Bolton wrote: > Right, although this *might* be simplifying a little. > > We (Roz and I) work for a big Law firm who use a software package called... > wait for it... Case. Conceptually, the basic object is a 'case', which will > have (amongst other things) the following: > > - Capacities > - Entities > - Details > - Activities > > It's best to think of the 'case' as the container for the capacities, > details etc. within. These are almost like properties and methods of a > class; come to think of it they probably are. > > Capacities are types of a person or persons, such as Claimant, Client, > Defendant, Police, Third-party Insurer etc. Entities are instances of those > capacities, i.e. an instance of the Defendant capacity could be Mr. Smith > who would be the entity. A bit like a UDT, capacities have several > associated properties (name, address etc.) Capacities can be linked to each > other (eg. Def. and Def. insurer) using an extremely convoluted method > called the 'acting for' which makes me shudder just thinking about it. > > Details are more basic 'properties'. Common ones we use are Claimant's > Vehicle Registration, Defendant's Policy Number etc. > > Activities can be thought of as Methods of a class, and will 'do' certain > things like produce a letter to Defendant's Solicitor. By the sounds of it, > these wouldn't be that important to you. > > Discussing this with Roz, she pointed out that having all the capacity types > in one big list has never phased our 200+ users who are at all points on the > spectrum in terms of computer literacy. Trust us, just bung 'em all in > together. Give each capacity a type, and leave it at that. > > To sum up, each 'case' has 'capacities' (people), 'details' (things), and > 'activities' (methods to perform tasks in your 'case'.) > > I've horrendously over-simplified a piece of software it's taken me 6 months > to find my way around so if none of it makes sense, please do ask! > > HTH in some small way > Tom > > > > > -----Original Message----- > From: DWUTKA at marlow.com [mailto:DWUTKA at marlow.com] > Sent: 24-Aug-2005 19:16 > To: accessd at databaseadvisors.com > Subject: RE: [AccessD] Logic issue > > I think you need to have a 'people' table. Whether a person is a judge, > lawyer, defendant should be determined by relationships to the tables > relating to those designations. > > Drew > > > > The contents of this message and any attachments are the property of Donns Solicitors > and are intended for the confidential use of the named recipient only. They may be legally > privileged and should not be communicated to, or relied upon, by any other party without > our written consent. If you are not the addressee, please notify us immediately so that we > can make arrangements for its return. You should not show this e-mail to any person or > take copies as you may be committing a criminal or civil offence for which you may be > liable. The statement and opinions expressed in this e-mail message are those of the > writer, and do not necessarily represent that of Donns Solicitors. Although any files attached > to this e-mail will have been checked with virus protection software prior to transmission, > you should carry out your own virus check before opening any attachment. > Donns Solicitors does not accept any liability for any damage or loss which may be caused > by software viruses... > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > ___________________________________________________________ To help you stay safe and secure online, we've developed the all new Yahoo! Security Centre. http://uk.security.yahoo.com From Gustav at cactus.dk Thu Aug 25 05:57:04 2005 From: Gustav at cactus.dk (Gustav Brock) Date: Thu, 25 Aug 2005 12:57:04 +0200 Subject: [AccessD] SQL to count delimiters in a string Message-ID: Hi Jim Here's the real simple method: SELECT Len([fldText])-Len(Replace([fldText], '|', '')) AS Occurrences FROM ... If you expect Null values use: Len([fldText])-Len(Replace('' & [fldText], '|', '')) AS Occurrences to prevent errors. If you want a count of zero even for Null values: Len('' & [fldText])-Len(Replace('' & [fldText], '|', '')) AS Occurrences For Access 97 and below you'll need to supply the Replace() function too. /gustav >>> Jim.Hale at FleetPride.com 24-08-2005 17:51 >>> Assume I have a text field in a table. Further assume that the text strings are delimited by the pipe character "|". I want to know how many pipe characters occur in each field, ie. the select statement should return: fldText Occurrences test|ddd|ww|ex 3 fff|sss 1 eenie|meenie|minie|moe 3 What is the correct SQL to produce the desired result? TIA Jim Hale From artful at rogers.com Thu Aug 25 07:07:46 2005 From: artful at rogers.com (Arthur Fuller) Date: Thu, 25 Aug 2005 08:07:46 -0400 Subject: [AccessD] Logic issue In-Reply-To: <123701F54509D9119A4F00D0B747349016DE55@main2.marlow.com> Message-ID: <200508251207.j7PC7oR22410@databaseadvisors.com> I agree with Drew but I would take the idea a little further, adding an associative (bridge) table tblPersonRoles, allowing a many-to-many relationship between Persons and Roles. I would also add a date range to the tblPersonRoles table, so that I could note that Person X was a prosecutor until 1999, when she became a judge, and then in 2004 she was charged with drunk driving and became a defendant. -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of DWUTKA at marlow.com Sent: August 24, 2005 2:16 PM To: accessd at databaseadvisors.com Subject: RE: [AccessD] Logic issue I think you need to have a 'people' table. Whether a person is a judge, lawyer, defendant should be determined by relationships to the tables relating to those designations. Drew -----Original Message----- From: John Clark [mailto:John.Clark at niagaracounty.com] Sent: Wednesday, August 24, 2005 12:36 PM To: accessd at databaseadvisors.com Subject: [AccessD] Logic issue Hi all I am having trouble working out how I want to go about something, and I am hoping somebody here can give me a nudge. It doesn't sound difficult, but I'm running into dead-ends. I am starting to think that I will just have to go ahead and finish up with "whatever" and work around things. I am doing a project for a district attorney's office, and it will basically just keep tabs on everybody that passes through the system. The problem is though that there are "Defendants", defense lawyers, prosecuting lawyers, judges, and victims, and it isn't rare for a single person to cross into multiple lists. And, theoretically, it is possible to be in all lists. For instance there are many prosecuting lawyers that become defense attorneys, and it is not unlikely that one of these attorneys could be a judge in the future. That scenario is very possible, and you can add it that a lawyer is very able to be a victim, and hell, we all know they can be criminals ;) Another scenario that happens very frequently, is that a person is both a defendant and a victim. I don't want the person entering data to scroll through hundreds, and eventually thousands, of names to pick an attorney's name from among the list of everybody else in the system. The idea I am working on presently is to add logical fields for each designation to the table of names. For instances: kNameID txtLastName txtFirstName txtMI txtSuffix logAttorney logADA logJudge logVictim logDefendant If I do this, I will have removed some fields that are currently there, such as: txtAddress1 txtAddress2 txtCity txtSt txtZip txtPhone And, I will put these in another linked table. There may be a need to have multiple addresses for the defendants, so this would be best I think. The problem that I am foreseeing here...I'm not at that point, so my fears could be unfounded...is setting these fields to true and/or false, as needed. Basically, thinking of victims for a minute here, the defendant screen, which will actually be an "Indictment" screen, will have a subform to hold potentially many victims for the indictment. If a victim IS already in the system as something else, I will need to tag that name as a victim and I'm wondering if this will present difficulties. Well, I hope I am being clear enough. If anyone out there has any tips for me, I would greatly appreciate it if you would pass them along. Thank you! John W Clark -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd 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.Clark at niagaracounty.com Thu Aug 25 07:08:15 2005 From: John.Clark at niagaracounty.com (John Clark) Date: Thu, 25 Aug 2005 08:08:15 -0400 Subject: [AccessD] Logic issue Message-ID: Yes Frank, I always like to checkout someone's ideas...I learn so much more than any book can teach. My address is john.clark at niagaracounty.com If this is a zip file, change the extention to something like .zp, because we block .zip files. John W. Clark Computer Programmer Niagara County Central Data Processing >>> frank at fhsservices.co.uk 8/24/2005 5:21 PM >>> Here's a different solution! If you have a checkbox for each title or position that can be applicable to each person represented through the database then, on the client form of any of people the list the checkboxes will indicate positives for the applicable option. So, Jack Jones can have the boxes ticked for Defence attorney, prosecuting attorney, Judge etc. etc. The final checkbox (no 9 on my sample) can be set to "Other" and have an associated textbox in the table which will only be displayed it no 9 is ticked and the text will be entered into the open, blank textbox for storage and later retrieval. The trick here is to combine the bit value of each checkbox to obtain a unique value for the combination of boxes ticked. I have a small database of the principle as a working example which I can forward to anybody who would like to see it. The AccessD list is limited to a 30K unit size and will not allow me to attach the sample to this text Kind regards, Frank Hill Kind regards, Frank Hill -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of John Clark Sent: 24 August 2005 18:36 To: accessd at databaseadvisors.com Subject: [AccessD] Logic issue Hi all I am having trouble working out how I want to go about something, and I am hoping somebody here can give me a nudge. It doesn't sound difficult, but I'm running into dead-ends. I am starting to think that I will just have to go ahead and finish up with "whatever" and work around things. I am doing a project for a district attorney's office, and it will basically just keep tabs on everybody that passes through the system. The problem is though that there are "Defendants", defense lawyers, prosecuting lawyers, judges, and victims, and it isn't rare for a single person to cross into multiple lists. And, theoretically, it is possible to be in all lists. For instance there are many prosecuting lawyers that become defense attorneys, and it is not unlikely that one of these attorneys could be a judge in the future. That scenario is very possible, and you can add it that a lawyer is very able to be a victim, and hell, we all know they can be criminals ;) Another scenario that happens very frequently, is that a person is both a defendant and a victim. I don't want the person entering data to scroll through hundreds, and eventually thousands, of names to pick an attorney's name from among the list of everybody else in the system. The idea I am working on presently is to add logical fields for each designation to the table of names. For instances: kNameID txtLastName txtFirstName txtMI txtSuffix logAttorney logADA logJudge logVictim logDefendant If I do this, I will have removed some fields that are currently there, such as: txtAddress1 txtAddress2 txtCity txtSt txtZip txtPhone And, I will put these in another linked table. There may be a need to have multiple addresses for the defendants, so this would be best I think. The problem that I am foreseeing here...I'm not at that point, so my fears could be unfounded...is setting these fields to true and/or false, as needed. Basically, thinking of victims for a minute here, the defendant screen, which will actually be an "Indictment" screen, will have a subform to hold potentially many victims for the indictment. If a victim IS already in the system as something else, I will need to tag that name as a victim and I'm wondering if this will present difficulties. Well, I hope I am being clear enough. If anyone out there has any tips for me, I would greatly appreciate it if you would pass them along. Thank you! John W Clark -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd 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 Aug 25 07:33:42 2005 From: Gustav at cactus.dk (Gustav Brock) Date: Thu, 25 Aug 2005 14:33:42 +0200 Subject: [AccessD] Control codes to a printer Message-ID: Hi John Are you sure you need to do this? Can't you set the printer to auto cut? I've never seen the syntax Stewart presents, neither a method for sending hex (control) codes to a printer from Access. However, this page may help you: How do I Control an Epson Receipt Printer with Visual Basic? http://www.posworld.com/eprecprinvis.html It demonstrates the use of a special "Control font" which doesn't print but transforms some chars to some hex code sequences. /gustav >>> jwcolby at colbyconsulting.com 24-08-2005 23:29 >>> I need to send a series of hex characters to an Epson receipt printer to execute the cutting. Hex characters are 1d 56 42 20 The printer is TCP/IP so I have an IP address stored in a table and hidden in a form that is open when the print command is executed. This is a Win98 environment. Does anyone already have something similar. John W. Colby www.ColbyConsulting.com From Gustav at cactus.dk Thu Aug 25 07:36:30 2005 From: Gustav at cactus.dk (Gustav Brock) Date: Thu, 25 Aug 2005 14:36:30 +0200 Subject: [AccessD] Control codes to a printer Message-ID: Oops Stuart, sorry for spelling you Stewart! /gustav >>> stuart at lexacorp.com.pg 25-08-2005 02:46 >>> From stuart at lexacorp.com.pg Thu Aug 25 07:58:21 2005 From: stuart at lexacorp.com.pg (Stuart McLachlan) Date: Thu, 25 Aug 2005 22:58:21 +1000 Subject: [AccessD] Control codes to a printer In-Reply-To: Message-ID: <430E4D0D.23030.549CC53@stuart.lexacorp.com.pg> On 25 Aug 2005 at 14:33, Gustav Brock wrote: > Hi John > > Are you sure you need to do this? > Can't you set the printer to auto cut? > > I've never seen the syntax Stewart presents, neither a method for > sending hex (control) codes to a printer from Access. > However, this page may help you: > It certainly works for sending control codes to a printer on LPTx: or COMx:, but I've never tried it with an IP:xxx.xxx.xxx.xxx port and don't have one handy to test it. -- Stuart From artful at rogers.com Thu Aug 25 08:06:19 2005 From: artful at rogers.com (Arthur Fuller) Date: Thu, 25 Aug 2005 09:06:19 -0400 Subject: [AccessD] Building SQL statement In-Reply-To: <015101c5a924$4f937db0$6c7aa8c0@ColbyM6805> Message-ID: <200508251306.j7PD6MR04318@databaseadvisors.com> Replace(MyText,Chr(39),Chr(39)&Chr(39)) Should do it. Arthur -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of John W. Colby Sent: August 24, 2005 11:23 PM To: 'Access Developers discussion and problem solving' Subject: [AccessD] Building SQL statement I'm attempting to build a SQL statement to append data into a record. One of the fields is text, including (possibly) any valid text including ' - for example in contractions such as "aren't" etc. My SQL statement is building up a statement in the format: lstrSQL = "INSERT INTO WebNewsItem ( WebNewsSourceID, Link, Title, ArticleDescription ) " & _ "SELECT " & webNewsSourceID & " AS WebNewsSourceID, '" & link & "' AS Link, '" & title & "' AS Title, '" & description & "' AS ArticleDescription;" The problem is that description can contain the ' character and thus I end up with an invalid SQL statement since the ' embedded in description "looks like" the ' that is supposed to enclose the text. I can't for the life of me remember how I am supposed to handle this. I could punt and open a recordset, create a new record, and place the data directly into the field, which I may end up doing but I sure would prefer to just do the "append query" thing. It is (was) much simpler. John W. Colby www.ColbyConsulting.com Contribute your unused CPU cycles to a good cause: http://folding.stanford.edu/ -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From Gustav at cactus.dk Thu Aug 25 08:15:12 2005 From: Gustav at cactus.dk (Gustav Brock) Date: Thu, 25 Aug 2005 15:15:12 +0200 Subject: [AccessD] Control codes to a printer Message-ID: Hi Stuart Sorry, it is the IP:xxx.xxx.xxx.xxx syntax I've never seen. The surrounding part is common and we use that for writing directly to a receipt printer (not Epson but Axiohm) as this is terribly faster than printing a report. And at POS _every_ second counts. /gustav >>> stuart at lexacorp.com.pg 25-08-2005 14:58 >>> On 25 Aug 2005 at 14:33, Gustav Brock wrote: > Hi John > > Are you sure you need to do this? > Can't you set the printer to auto cut? > > I've never seen the syntax Stewart presents, neither a method for > sending hex (control) codes to a printer from Access. > However, this page may help you: > It certainly works for sending control codes to a printer on LPTx: or COMx:, but I've never tried it with an IP:xxx.xxx.xxx.xxx port and don't have one handy to test it. -- Stuart -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From artful at rogers.com Thu Aug 25 09:58:55 2005 From: artful at rogers.com (Arthur Fuller) Date: Thu, 25 Aug 2005 10:58:55 -0400 Subject: [AccessD] Logic issue In-Reply-To: <200508251207.j7PC7oR22410@databaseadvisors.com> Message-ID: <200508251458.j7PEwwR04886@databaseadvisors.com> On second thought, I would not use a Persons table since the defendant and or claimant could be a corporation. I would go with tblEntities which might be tied to a tblEntityTypes table containing such rows as Person, Corporation, NGO, etc. A given case could for example be a class action suit, with one or more corporations defending their alleged malfeasance against hundreds or thousands of claimants (some corporate, some individuals). -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Arthur Fuller Sent: August 25, 2005 8:08 AM To: 'Access Developers discussion and problem solving' Subject: RE: [AccessD] Logic issue I agree with Drew but I would take the idea a little further, adding an associative (bridge) table tblPersonRoles, allowing a many-to-many relationship between Persons and Roles. I would also add a date range to the tblPersonRoles table, so that I could note that Person X was a prosecutor until 1999, when she became a judge, and then in 2004 she was charged with drunk driving and became a defendant. -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of DWUTKA at marlow.com Sent: August 24, 2005 2:16 PM To: accessd at databaseadvisors.com Subject: RE: [AccessD] Logic issue I think you need to have a 'people' table. Whether a person is a judge, lawyer, defendant should be determined by relationships to the tables relating to those designations. Drew -----Original Message----- From: John Clark [mailto:John.Clark at niagaracounty.com] Sent: Wednesday, August 24, 2005 12:36 PM To: accessd at databaseadvisors.com Subject: [AccessD] Logic issue Hi all I am having trouble working out how I want to go about something, and I am hoping somebody here can give me a nudge. It doesn't sound difficult, but I'm running into dead-ends. I am starting to think that I will just have to go ahead and finish up with "whatever" and work around things. I am doing a project for a district attorney's office, and it will basically just keep tabs on everybody that passes through the system. The problem is though that there are "Defendants", defense lawyers, prosecuting lawyers, judges, and victims, and it isn't rare for a single person to cross into multiple lists. And, theoretically, it is possible to be in all lists. For instance there are many prosecuting lawyers that become defense attorneys, and it is not unlikely that one of these attorneys could be a judge in the future. That scenario is very possible, and you can add it that a lawyer is very able to be a victim, and hell, we all know they can be criminals ;) Another scenario that happens very frequently, is that a person is both a defendant and a victim. I don't want the person entering data to scroll through hundreds, and eventually thousands, of names to pick an attorney's name from among the list of everybody else in the system. The idea I am working on presently is to add logical fields for each designation to the table of names. For instances: kNameID txtLastName txtFirstName txtMI txtSuffix logAttorney logADA logJudge logVictim logDefendant If I do this, I will have removed some fields that are currently there, such as: txtAddress1 txtAddress2 txtCity txtSt txtZip txtPhone And, I will put these in another linked table. There may be a need to have multiple addresses for the defendants, so this would be best I think. The problem that I am foreseeing here...I'm not at that point, so my fears could be unfounded...is setting these fields to true and/or false, as needed. Basically, thinking of victims for a minute here, the defendant screen, which will actually be an "Indictment" screen, will have a subform to hold potentially many victims for the indictment. If a victim IS already in the system as something else, I will need to tag that name as a victim and I'm wondering if this will present difficulties. Well, I hope I am being clear enough. If anyone out there has any tips for me, I would greatly appreciate it if you would pass them along. Thank you! John W Clark -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd 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 Aug 25 10:20:52 2005 From: cfoust at infostatsystems.com (Charlotte Foust) Date: Thu, 25 Aug 2005 08:20:52 -0700 Subject: [AccessD] OT: Zip files (was Logic issue) Message-ID: Does anyone know what the logic is for blocking zip files? I run into this occasionally and it drives me nuts! You zip files to avoid the filters that won't accept an mdb, etc., and then you run into filters that won't accept the zip files. Oops, Catch-22. That drumming you hear is my head pounding against the wall .... Charlotte Foust -----Original Message----- From: John Clark [mailto:John.Clark at niagaracounty.com] Sent: Thursday, August 25, 2005 5:08 AM To: accessd at databaseadvisors.com Subject: RE: [AccessD] Logic issue Yes Frank, I always like to checkout someone's ideas...I learn so much more than any book can teach. My address is john.clark at niagaracounty.com If this is a zip file, change the extention to something like .zp, because we block .zip files. John W. Clark Computer Programmer Niagara County Central Data Processing >>> frank at fhsservices.co.uk 8/24/2005 5:21 PM >>> Here's a different solution! If you have a checkbox for each title or position that can be applicable to each person represented through the database then, on the client form of any of people the list the checkboxes will indicate positives for the applicable option. So, Jack Jones can have the boxes ticked for Defence attorney, prosecuting attorney, Judge etc. etc. The final checkbox (no 9 on my sample) can be set to "Other" and have an associated textbox in the table which will only be displayed it no 9 is ticked and the text will be entered into the open, blank textbox for storage and later retrieval. The trick here is to combine the bit value of each checkbox to obtain a unique value for the combination of boxes ticked. I have a small database of the principle as a working example which I can forward to anybody who would like to see it. The AccessD list is limited to a 30K unit size and will not allow me to attach the sample to this text Kind regards, Frank Hill Kind regards, Frank Hill -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of John Clark Sent: 24 August 2005 18:36 To: accessd at databaseadvisors.com Subject: [AccessD] Logic issue Hi all I am having trouble working out how I want to go about something, and I am hoping somebody here can give me a nudge. It doesn't sound difficult, but I'm running into dead-ends. I am starting to think that I will just have to go ahead and finish up with "whatever" and work around things. I am doing a project for a district attorney's office, and it will basically just keep tabs on everybody that passes through the system. The problem is though that there are "Defendants", defense lawyers, prosecuting lawyers, judges, and victims, and it isn't rare for a single person to cross into multiple lists. And, theoretically, it is possible to be in all lists. For instance there are many prosecuting lawyers that become defense attorneys, and it is not unlikely that one of these attorneys could be a judge in the future. That scenario is very possible, and you can add it that a lawyer is very able to be a victim, and hell, we all know they can be criminals ;) Another scenario that happens very frequently, is that a person is both a defendant and a victim. I don't want the person entering data to scroll through hundreds, and eventually thousands, of names to pick an attorney's name from among the list of everybody else in the system. The idea I am working on presently is to add logical fields for each designation to the table of names. For instances: kNameID txtLastName txtFirstName txtMI txtSuffix logAttorney logADA logJudge logVictim logDefendant If I do this, I will have removed some fields that are currently there, such as: txtAddress1 txtAddress2 txtCity txtSt txtZip txtPhone And, I will put these in another linked table. There may be a need to have multiple addresses for the defendants, so this would be best I think. The problem that I am foreseeing here...I'm not at that point, so my fears could be unfounded...is setting these fields to true and/or false, as needed. Basically, thinking of victims for a minute here, the defendant screen, which will actually be an "Indictment" screen, will have a subform to hold potentially many victims for the indictment. If a victim IS already in the system as something else, I will need to tag that name as a victim and I'm wondering if this will present difficulties. Well, I hope I am being clear enough. If anyone out there has any tips for me, I would greatly appreciate it if you would pass them along. Thank you! John W Clark -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd 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.Clark at niagaracounty.com Thu Aug 25 10:27:32 2005 From: John.Clark at niagaracounty.com (John Clark) Date: Thu, 25 Aug 2005 11:27:32 -0400 Subject: [AccessD] Field Sizes Message-ID: I've got bigger problems right now, but I've meant to ask something forever and...well...today is the day, I guess. What do y'all use for standard sizes for typical text fields, such as Last Name, First Name, Address, City, etc.? Is there a "common practice rule" concerning this? And, just to get the yuks outta the way, I guess I could have changed the subject line to, "does size matter?" From HARVEYF1 at WESTAT.com Thu Aug 25 10:38:22 2005 From: HARVEYF1 at WESTAT.com (Francis Harvey) Date: Thu, 25 Aug 2005 11:38:22 -0400 Subject: [AccessD] Building SQL statement Message-ID: <403593359CA56C4CAE1F8F4F00DCFE7D014C7074@MAILBE2.westat.com> John, Perhaps the SQL statement could be rewritten to use parameters, something like: PARAMETERS WebNewsSourceID Long, Link Text ( 255 ), Title Text ( 255 ), ArticleDescription Text ( 255 ); INSERT INTO WebNewsItem ( WebNewsSourceID, Link, Title, ArticleDescription ) SELECT [WebNewsSourceID] AS WebNewsSourceID, [Link] AS Link, [Title] AS Title, [ArticleDescription] AS ArticleDescription; so that you could create and execute a querydef where you could fill in its parameters without worrying about unexpected string termination. Francis R Harvey III WB 303, (301)294-3952 harveyf1 at westat.com > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of > John W. Colby > Sent: Wednesday, August 24, 2005 11:23 PM > To: 'Access Developers discussion and problem solving' > Subject: [AccessD] Building SQL statement > > > I'm attempting to build a SQL statement to append data into a > record. One > of the fields is text, including (possibly) any valid text > including ' - for > example in contractions such as "aren't" etc. > > My SQL statement is building up a statement in the format: > > lstrSQL = "INSERT INTO WebNewsItem ( > WebNewsSourceID, Link, > Title, ArticleDescription ) " & _ > "SELECT " & webNewsSourceID & " AS > WebNewsSourceID, > '" & link & "' AS Link, '" & title & "' AS Title, '" & > description & "' AS > ArticleDescription;" > > The problem is that description can contain the ' character > and thus I end > up with an invalid SQL statement since the ' embedded in > description "looks > like" the ' that is supposed to enclose the text. > > > John W. Colby > www.ColbyConsulting.com > > Contribute your unused CPU cycles to a good cause: > http://folding.stanford.edu/ From Lambert.Heenan at AIG.com Thu Aug 25 10:57:35 2005 From: Lambert.Heenan at AIG.com (Heenan, Lambert) Date: Thu, 25 Aug 2005 11:57:35 -0400 Subject: [AccessD] OT: Zip files (was Logic issue) Message-ID: <1D7828CDB8350747AFE9D69E0E90DA1F14EA41DE@xlivmbx21.aig.com> IMHO it's caused by IT people who are too paranoid by far. They invest thousands on virus scanning software, keep updating the sig files every 24 hours, but in the end they don't trust it to weed out the viruses coming at them via ZIP files. Rather than scanning the contents of ZIP files they blindly block them. Also, don't the realize that most (All?) antivirus programs can be set to scan files when they are opened and or written to disk? So even if a zip file does have a virus, the anti-virus package should kill it. Lambert -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Charlotte Foust Sent: Thursday, August 25, 2005 11:21 AM To: Access Developers discussion and problem solving Subject: RE: [AccessD] OT: Zip files (was Logic issue) Does anyone know what the logic is for blocking zip files? I run into this occasionally and it drives me nuts! You zip files to avoid the filters that won't accept an mdb, etc., and then you run into filters that won't accept the zip files. Oops, Catch-22. That drumming you hear is my head pounding against the wall .... Charlotte Foust -----Original Message----- From: John Clark [mailto:John.Clark at niagaracounty.com] Sent: Thursday, August 25, 2005 5:08 AM To: accessd at databaseadvisors.com Subject: RE: [AccessD] Logic issue Yes Frank, I always like to checkout someone's ideas...I learn so much more than any book can teach. My address is john.clark at niagaracounty.com If this is a zip file, change the extention to something like .zp, because we block .zip files. John W. Clark Computer Programmer Niagara County Central Data Processing >>> frank at fhsservices.co.uk 8/24/2005 5:21 PM >>> Here's a different solution! If you have a checkbox for each title or position that can be applicable to each person represented through the database then, on the client form of any of people the list the checkboxes will indicate positives for the applicable option. So, Jack Jones can have the boxes ticked for Defence attorney, prosecuting attorney, Judge etc. etc. The final checkbox (no 9 on my sample) can be set to "Other" and have an associated textbox in the table which will only be displayed it no 9 is ticked and the text will be entered into the open, blank textbox for storage and later retrieval. The trick here is to combine the bit value of each checkbox to obtain a unique value for the combination of boxes ticked. I have a small database of the principle as a working example which I can forward to anybody who would like to see it. The AccessD list is limited to a 30K unit size and will not allow me to attach the sample to this text Kind regards, Frank Hill Kind regards, Frank Hill -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of John Clark Sent: 24 August 2005 18:36 To: accessd at databaseadvisors.com Subject: [AccessD] Logic issue Hi all I am having trouble working out how I want to go about something, and I am hoping somebody here can give me a nudge. It doesn't sound difficult, but I'm running into dead-ends. I am starting to think that I will just have to go ahead and finish up with "whatever" and work around things. I am doing a project for a district attorney's office, and it will basically just keep tabs on everybody that passes through the system. The problem is though that there are "Defendants", defense lawyers, prosecuting lawyers, judges, and victims, and it isn't rare for a single person to cross into multiple lists. And, theoretically, it is possible to be in all lists. For instance there are many prosecuting lawyers that become defense attorneys, and it is not unlikely that one of these attorneys could be a judge in the future. That scenario is very possible, and you can add it that a lawyer is very able to be a victim, and hell, we all know they can be criminals ;) Another scenario that happens very frequently, is that a person is both a defendant and a victim. I don't want the person entering data to scroll through hundreds, and eventually thousands, of names to pick an attorney's name from among the list of everybody else in the system. The idea I am working on presently is to add logical fields for each designation to the table of names. For instances: kNameID txtLastName txtFirstName txtMI txtSuffix logAttorney logADA logJudge logVictim logDefendant If I do this, I will have removed some fields that are currently there, such as: txtAddress1 txtAddress2 txtCity txtSt txtZip txtPhone And, I will put these in another linked table. There may be a need to have multiple addresses for the defendants, so this would be best I think. The problem that I am foreseeing here...I'm not at that point, so my fears could be unfounded...is setting these fields to true and/or false, as needed. Basically, thinking of victims for a minute here, the defendant screen, which will actually be an "Indictment" screen, will have a subform to hold potentially many victims for the indictment. If a victim IS already in the system as something else, I will need to tag that name as a victim and I'm wondering if this will present difficulties. Well, I hope I am being clear enough. If anyone out there has any tips for me, I would greatly appreciate it if you would pass them along. Thank you! John W Clark -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd 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 Aug 25 11:08:35 2005 From: DElam at jenkens.com (Elam, Debbie) Date: Thu, 25 Aug 2005 11:08:35 -0500 Subject: [AccessD] OT: Zip files (was Logic issue) Message-ID: <7B1961ED924D1A459E378C9B1BB22B4C0492CCE1@natexch.jenkens.com> I know we temporarily block these files and several others. It gives the admins some time to scan before the file is delivered, but it does get delivered. Are you sure these are not getting through at all? If they are never getting through, I have received some files with a differently named extension. Text.zip is renamed to Text.zi and gets through. I must rename it back before I can open it, but it works. Debbie -----Original Message----- From: Heenan, Lambert [mailto:Lambert.Heenan at aig.com] Sent: Thursday, August 25, 2005 10:58 AM To: 'Access Developers discussion and problem solving' Subject: RE: [AccessD] OT: Zip files (was Logic issue) IMHO it's caused by IT people who are too paranoid by far. They invest thousands on virus scanning software, keep updating the sig files every 24 hours, but in the end they don't trust it to weed out the viruses coming at them via ZIP files. Rather than scanning the contents of ZIP files they blindly block them. Also, don't the realize that most (All?) antivirus programs can be set to scan files when they are opened and or written to disk? So even if a zip file does have a virus, the anti-virus package should kill it. Lambert -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Charlotte Foust Sent: Thursday, August 25, 2005 11:21 AM To: Access Developers discussion and problem solving Subject: RE: [AccessD] OT: Zip files (was Logic issue) Does anyone know what the logic is for blocking zip files? I run into this occasionally and it drives me nuts! You zip files to avoid the filters that won't accept an mdb, etc., and then you run into filters that won't accept the zip files. Oops, Catch-22. That drumming you hear is my head pounding against the wall .... Charlotte Foust -----Original Message----- From: John Clark [mailto:John.Clark at niagaracounty.com] Sent: Thursday, August 25, 2005 5:08 AM To: accessd at databaseadvisors.com Subject: RE: [AccessD] Logic issue Yes Frank, I always like to checkout someone's ideas...I learn so much more than any book can teach. My address is john.clark at niagaracounty.com If this is a zip file, change the extention to something like .zp, because we block .zip files. John W. Clark Computer Programmer Niagara County Central Data Processing >>> frank at fhsservices.co.uk 8/24/2005 5:21 PM >>> Here's a different solution! If you have a checkbox for each title or position that can be applicable to each person represented through the database then, on the client form of any of people the list the checkboxes will indicate positives for the applicable option. So, Jack Jones can have the boxes ticked for Defence attorney, prosecuting attorney, Judge etc. etc. The final checkbox (no 9 on my sample) can be set to "Other" and have an associated textbox in the table which will only be displayed it no 9 is ticked and the text will be entered into the open, blank textbox for storage and later retrieval. The trick here is to combine the bit value of each checkbox to obtain a unique value for the combination of boxes ticked. I have a small database of the principle as a working example which I can forward to anybody who would like to see it. The AccessD list is limited to a 30K unit size and will not allow me to attach the sample to this text Kind regards, Frank Hill Kind regards, Frank Hill -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of John Clark Sent: 24 August 2005 18:36 To: accessd at databaseadvisors.com Subject: [AccessD] Logic issue Hi all I am having trouble working out how I want to go about something, and I am hoping somebody here can give me a nudge. It doesn't sound difficult, but I'm running into dead-ends. I am starting to think that I will just have to go ahead and finish up with "whatever" and work around things. I am doing a project for a district attorney's office, and it will basically just keep tabs on everybody that passes through the system. The problem is though that there are "Defendants", defense lawyers, prosecuting lawyers, judges, and victims, and it isn't rare for a single person to cross into multiple lists. And, theoretically, it is possible to be in all lists. For instance there are many prosecuting lawyers that become defense attorneys, and it is not unlikely that one of these attorneys could be a judge in the future. That scenario is very possible, and you can add it that a lawyer is very able to be a victim, and hell, we all know they can be criminals ;) Another scenario that happens very frequently, is that a person is both a defendant and a victim. I don't want the person entering data to scroll through hundreds, and eventually thousands, of names to pick an attorney's name from among the list of everybody else in the system. The idea I am working on presently is to add logical fields for each designation to the table of names. For instances: kNameID txtLastName txtFirstName txtMI txtSuffix logAttorney logADA logJudge logVictim logDefendant If I do this, I will have removed some fields that are currently there, such as: txtAddress1 txtAddress2 txtCity txtSt txtZip txtPhone And, I will put these in another linked table. There may be a need to have multiple addresses for the defendants, so this would be best I think. The problem that I am foreseeing here...I'm not at that point, so my fears could be unfounded...is setting these fields to true and/or false, as needed. Basically, thinking of victims for a minute here, the defendant screen, which will actually be an "Indictment" screen, will have a subform to hold potentially many victims for the indictment. If a victim IS already in the system as something else, I will need to tag that name as a victim and I'm wondering if this will present difficulties. Well, I hope I am being clear enough. If anyone out there has any tips for me, I would greatly appreciate it if you would pass them along. Thank you! John W Clark -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.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 accessd at shaw.ca Thu Aug 25 12:08:19 2005 From: accessd at shaw.ca (Jim Lawrence) Date: Thu, 25 Aug 2005 10:08:19 -0700 Subject: [AccessD] Field Sizes In-Reply-To: Message-ID: <0ILS00F2OFLU17@l-daemon> Hi John: Off the top but as far as I know there are no standards but lengths that have worked in the past are as follows: Firstname: 15 MiddleName: 25 (can be multiple) LastName: 25 AptNumber: 5 Address: 10 StreetName: 25 City: 15 There are of course items which extend outside but 98% of the time these have worked. Jim -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of John Clark Sent: Thursday, August 25, 2005 8:28 AM To: accessd at databaseadvisors.com Subject: [AccessD] Field Sizes I've got bigger problems right now, but I've meant to ask something forever and...well...today is the day, I guess. What do y'all use for standard sizes for typical text fields, such as Last Name, First Name, Address, City, etc.? Is there a "common practice rule" concerning this? And, just to get the yuks outta the way, I guess I could have changed the subject line to, "does size matter?" -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From accessd at shaw.ca Thu Aug 25 12:26:04 2005 From: accessd at shaw.ca (Jim Lawrence) Date: Thu, 25 Aug 2005 10:26:04 -0700 Subject: [AccessD] OT: Zip files (was Logic issue) In-Reply-To: <1D7828CDB8350747AFE9D69E0E90DA1F14EA41DE@xlivmbx21.aig.com> Message-ID: <0ILS00D8HGFGA5@l-daemon> Hi Lambert: In theory virus can be hidden within a ZIP file and virus scanning programs can not see them as a signature stream of values are required for virus identification. The compression algorithm of the ZIP alters that signature stream. Also some tricky code within a so called ZIP file can activate in the process of unzipping the ZIP file. But that can always be got around by simply sending your ZIP file named like MYZipFile.ZIP.txt. When on one contract this technique was used by the local IT people to slip ZIP files through the filters and then the first dot and extension were removed. The ZIP files were then unzipped in isolation and tested before being introduced on LAN A little paranoid? You bet but at one government office, a couple of years ago, a BlasterWorm got in through a similar method and the result was that a couple of Ministries were down off and on for the better part of a month. Put a price tag on that incident. My two cents worth Jim -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Heenan, Lambert Sent: Thursday, August 25, 2005 8:58 AM To: 'Access Developers discussion and problem solving' Subject: RE: [AccessD] OT: Zip files (was Logic issue) IMHO it's caused by IT people who are too paranoid by far. They invest thousands on virus scanning software, keep updating the sig files every 24 hours, but in the end they don't trust it to weed out the viruses coming at them via ZIP files. Rather than scanning the contents of ZIP files they blindly block them. Also, don't the realize that most (All?) antivirus programs can be set to scan files when they are opened and or written to disk? So even if a zip file does have a virus, the anti-virus package should kill it. Lambert -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Charlotte Foust Sent: Thursday, August 25, 2005 11:21 AM To: Access Developers discussion and problem solving Subject: RE: [AccessD] OT: Zip files (was Logic issue) Does anyone know what the logic is for blocking zip files? I run into this occasionally and it drives me nuts! You zip files to avoid the filters that won't accept an mdb, etc., and then you run into filters that won't accept the zip files. Oops, Catch-22. That drumming you hear is my head pounding against the wall .... Charlotte Foust -----Original Message----- From: John Clark [mailto:John.Clark at niagaracounty.com] Sent: Thursday, August 25, 2005 5:08 AM To: accessd at databaseadvisors.com Subject: RE: [AccessD] Logic issue Yes Frank, I always like to checkout someone's ideas...I learn so much more than any book can teach. My address is john.clark at niagaracounty.com If this is a zip file, change the extention to something like .zp, because we block .zip files. John W. Clark Computer Programmer Niagara County Central Data Processing >>> frank at fhsservices.co.uk 8/24/2005 5:21 PM >>> Here's a different solution! If you have a checkbox for each title or position that can be applicable to each person represented through the database then, on the client form of any of people the list the checkboxes will indicate positives for the applicable option. So, Jack Jones can have the boxes ticked for Defence attorney, prosecuting attorney, Judge etc. etc. The final checkbox (no 9 on my sample) can be set to "Other" and have an associated textbox in the table which will only be displayed it no 9 is ticked and the text will be entered into the open, blank textbox for storage and later retrieval. The trick here is to combine the bit value of each checkbox to obtain a unique value for the combination of boxes ticked. I have a small database of the principle as a working example which I can forward to anybody who would like to see it. The AccessD list is limited to a 30K unit size and will not allow me to attach the sample to this text Kind regards, Frank Hill Kind regards, Frank Hill -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of John Clark Sent: 24 August 2005 18:36 To: accessd at databaseadvisors.com Subject: [AccessD] Logic issue Hi all I am having trouble working out how I want to go about something, and I am hoping somebody here can give me a nudge. It doesn't sound difficult, but I'm running into dead-ends. I am starting to think that I will just have to go ahead and finish up with "whatever" and work around things. I am doing a project for a district attorney's office, and it will basically just keep tabs on everybody that passes through the system. The problem is though that there are "Defendants", defense lawyers, prosecuting lawyers, judges, and victims, and it isn't rare for a single person to cross into multiple lists. And, theoretically, it is possible to be in all lists. For instance there are many prosecuting lawyers that become defense attorneys, and it is not unlikely that one of these attorneys could be a judge in the future. That scenario is very possible, and you can add it that a lawyer is very able to be a victim, and hell, we all know they can be criminals ;) Another scenario that happens very frequently, is that a person is both a defendant and a victim. I don't want the person entering data to scroll through hundreds, and eventually thousands, of names to pick an attorney's name from among the list of everybody else in the system. The idea I am working on presently is to add logical fields for each designation to the table of names. For instances: kNameID txtLastName txtFirstName txtMI txtSuffix logAttorney logADA logJudge logVictim logDefendant If I do this, I will have removed some fields that are currently there, such as: txtAddress1 txtAddress2 txtCity txtSt txtZip txtPhone And, I will put these in another linked table. There may be a need to have multiple addresses for the defendants, so this would be best I think. The problem that I am foreseeing here...I'm not at that point, so my fears could be unfounded...is setting these fields to true and/or false, as needed. Basically, thinking of victims for a minute here, the defendant screen, which will actually be an "Indictment" screen, will have a subform to hold potentially many victims for the indictment. If a victim IS already in the system as something else, I will need to tag that name as a victim and I'm wondering if this will present difficulties. Well, I hope I am being clear enough. If anyone out there has any tips for me, I would greatly appreciate it if you would pass them along. Thank you! John W Clark -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From john at winhaven.net Thu Aug 25 12:58:52 2005 From: john at winhaven.net (John Bartow) Date: Thu, 25 Aug 2005 12:58:52 -0500 Subject: [AccessD] OT: Zip files (was Logic issue) In-Reply-To: <0ILS00D8HGFGA5@l-daemon> Message-ID: <200508251758.j7PHwtR17189@databaseadvisors.com> Jim, Best to just rename the file as Debbie mentioned earlier. Many AV gateways won't allow double extensions through as this was a virus tactic for a time. The files would be named text.jpg.exe and other similar ways to fool the recipient into thinking it was simply a graphic. -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Jim Lawrence Hi Lambert: But that can always be got around by simply sending your ZIP file named like MYZipFile.ZIP.txt. From dwaters at usinternet.com Thu Aug 25 13:13:16 2005 From: dwaters at usinternet.com (Dan Waters) Date: Thu, 25 Aug 2005 11:13:16 -0700 Subject: [AccessD] OT: Zip files (was Logic issue) In-Reply-To: <24025584.1124993213535.JavaMail.root@sniper17> Message-ID: <000001c5a9a0$aada9380$0518820a@danwaters> Interesting! While I can't send an .mdb file as an attachment, if I change mdb to pdf, then it goes through just fine. Then my customer changes it back to mdb and installs the new objects. Dan Waters -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of John Bartow Sent: Thursday, August 25, 2005 10:59 AM To: 'Access Developers discussion and problem solving' Subject: RE: [AccessD] OT: Zip files (was Logic issue) Jim, Best to just rename the file as Debbie mentioned earlier. Many AV gateways won't allow double extensions through as this was a virus tactic for a time. The files would be named text.jpg.exe and other similar ways to fool the recipient into thinking it was simply a graphic. -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Jim Lawrence Hi Lambert: But that can always be got around by simply sending your ZIP file named like MYZipFile.ZIP.txt. -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From martyconnelly at shaw.ca Thu Aug 25 13:59:13 2005 From: martyconnelly at shaw.ca (MartyConnelly) Date: Thu, 25 Aug 2005 11:59:13 -0700 Subject: [AccessD] Change of circumstances References: <20050825100803.49431.qmail@web50101.mail.yahoo.com> Message-ID: <430E1501.5080907@shaw.ca> She prefers people that have worked together or agreed in advance. I have seen Public Service ads looking for people to fill the other half position.. The biggest problem is sorting out benefits, do they have enough hours to qualify for Unemployment Insurance or whatever you call the Dole. Roz Clarke wrote: >A good idea. Public bodies here are also much more flexible than most commercial employers, and >try to encourage jobshare and so on. > >Do people have to provide their own partners, or does she pair them up? > >--- MartyConnelly wrote: > > > >>One thing to check out is the split day's type of jobs, especially in >>the civil service >>In other words you get a partner and one works 2 days, the other 3 days. >>My sisterinlaw did this in her government department in Alberta so >>people could attend university. >>during the day. She is in charge of HR. Wouldn't work for engineers they >>have 40 class hours a week, >>but arts generally have less then 20 hours. Now she is getting request >>from women with autistic kids etc. >>She calls the programmers doing this extreme programmers with some lag. >>The participants set up there own internal blog to keep track of what is >>happening. >> >>Roz Clarke wrote: >> >> >> >>>Well remembered John, I will do >>> >>>:) >>> >>>-----Original Message----- >>>From: Johncliviger at aol.com [mailto:Johncliviger at aol.com] >>>Sent: 24 August 2005 12:24 >>>To: accessd at databaseadvisors.com >>>Subject: Re: [AccessD] Change of circumstances >>> >>> >>>Roz >>> >>>I think your are in the Manchester, England area, if I'm right email me a >>>cv >>>at _databaseuk at aol.com_ (mailto:databaseuk at aol.com) >>> >>>John >>> >>> >>> >>> >>> >>> >>> >>> >>-- >>Marty Connelly >>Victoria, B.C. >>Canada >> >> >> >>-- >>AccessD mailing list >>AccessD at databaseadvisors.com >>http://databaseadvisors.com/mailman/listinfo/accessd >>Website: http://www.databaseadvisors.com >> >> >> > > > > > > > > > > >___________________________________________________________ >Yahoo! Messenger - NEW crystal clear PC to PC calling worldwide with voicemail http://uk.messenger.yahoo.com > > -- Marty Connelly Victoria, B.C. Canada From Lambert.Heenan at AIG.com Thu Aug 25 14:00:33 2005 From: Lambert.Heenan at AIG.com (Heenan, Lambert) Date: Thu, 25 Aug 2005 15:00:33 -0400 Subject: [AccessD] OT: Zip files (was Logic issue) Message-ID: <1D7828CDB8350747AFE9D69E0E90DA1F14EA4297@xlivmbx21.aig.com> Interesting. I *think* I understand what you mean by "The compression algorithm of the ZIP alters that signature stream.": i.e. if you just scan the bytes that make up the zip file you will not see the signature. But my organization runs scanning s/w that unzips the zip file to check the contents, and it does this at a fairly deep level. For example, .exe files are blocked, and Zip files are not. But if you try to send a Zip file that contains an EXE file, that will be blocked. In addition, if you rename the EXE before adding it to the ZIP file it will *still* get blocked because the scanning s/w looks at the (renamed) EXE file and sees its signature first few bytes and detects the EXE that way. I confess I have not heard of any code being executed as a result of unzipping a ZIP file (with the exception of unzip tools like Winzip which will detect a setup.exe or a .msi file and will offer to run the install routine). Lambert -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Jim Lawrence Sent: Thursday, August 25, 2005 1:26 PM To: 'Access Developers discussion and problem solving' Subject: RE: [AccessD] OT: Zip files (was Logic issue) Hi Lambert: In theory virus can be hidden within a ZIP file and virus scanning programs can not see them as a signature stream of values are required for virus identification. The compression algorithm of the ZIP alters that signature stream. Also some tricky code within a so called ZIP file can activate in the process of unzipping the ZIP file. But that can always be got around by simply sending your ZIP file named like MYZipFile.ZIP.txt. When on one contract this technique was used by the local IT people to slip ZIP files through the filters and then the first dot and extension were removed. The ZIP files were then unzipped in isolation and tested before being introduced on LAN A little paranoid? You bet but at one government office, a couple of years ago, a BlasterWorm got in through a similar method and the result was that a couple of Ministries were down off and on for the better part of a month. Put a price tag on that incident. My two cents worth Jim -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Heenan, Lambert Sent: Thursday, August 25, 2005 8:58 AM To: 'Access Developers discussion and problem solving' Subject: RE: [AccessD] OT: Zip files (was Logic issue) IMHO it's caused by IT people who are too paranoid by far. They invest thousands on virus scanning software, keep updating the sig files every 24 hours, but in the end they don't trust it to weed out the viruses coming at them via ZIP files. Rather than scanning the contents of ZIP files they blindly block them. Also, don't the realize that most (All?) antivirus programs can be set to scan files when they are opened and or written to disk? So even if a zip file does have a virus, the anti-virus package should kill it. Lambert -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Charlotte Foust Sent: Thursday, August 25, 2005 11:21 AM To: Access Developers discussion and problem solving Subject: RE: [AccessD] OT: Zip files (was Logic issue) Does anyone know what the logic is for blocking zip files? I run into this occasionally and it drives me nuts! You zip files to avoid the filters that won't accept an mdb, etc., and then you run into filters that won't accept the zip files. Oops, Catch-22. That drumming you hear is my head pounding against the wall .... Charlotte Foust -----Original Message----- From: John Clark [mailto:John.Clark at niagaracounty.com] Sent: Thursday, August 25, 2005 5:08 AM To: accessd at databaseadvisors.com Subject: RE: [AccessD] Logic issue Yes Frank, I always like to checkout someone's ideas...I learn so much more than any book can teach. My address is john.clark at niagaracounty.com If this is a zip file, change the extention to something like .zp, because we block .zip files. John W. Clark Computer Programmer Niagara County Central Data Processing >>> frank at fhsservices.co.uk 8/24/2005 5:21 PM >>> Here's a different solution! If you have a checkbox for each title or position that can be applicable to each person represented through the database then, on the client form of any of people the list the checkboxes will indicate positives for the applicable option. So, Jack Jones can have the boxes ticked for Defence attorney, prosecuting attorney, Judge etc. etc. The final checkbox (no 9 on my sample) can be set to "Other" and have an associated textbox in the table which will only be displayed it no 9 is ticked and the text will be entered into the open, blank textbox for storage and later retrieval. The trick here is to combine the bit value of each checkbox to obtain a unique value for the combination of boxes ticked. I have a small database of the principle as a working example which I can forward to anybody who would like to see it. The AccessD list is limited to a 30K unit size and will not allow me to attach the sample to this text Kind regards, Frank Hill Kind regards, Frank Hill -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of John Clark Sent: 24 August 2005 18:36 To: accessd at databaseadvisors.com Subject: [AccessD] Logic issue Hi all I am having trouble working out how I want to go about something, and I am hoping somebody here can give me a nudge. It doesn't sound difficult, but I'm running into dead-ends. I am starting to think that I will just have to go ahead and finish up with "whatever" and work around things. I am doing a project for a district attorney's office, and it will basically just keep tabs on everybody that passes through the system. The problem is though that there are "Defendants", defense lawyers, prosecuting lawyers, judges, and victims, and it isn't rare for a single person to cross into multiple lists. And, theoretically, it is possible to be in all lists. For instance there are many prosecuting lawyers that become defense attorneys, and it is not unlikely that one of these attorneys could be a judge in the future. That scenario is very possible, and you can add it that a lawyer is very able to be a victim, and hell, we all know they can be criminals ;) Another scenario that happens very frequently, is that a person is both a defendant and a victim. I don't want the person entering data to scroll through hundreds, and eventually thousands, of names to pick an attorney's name from among the list of everybody else in the system. The idea I am working on presently is to add logical fields for each designation to the table of names. For instances: kNameID txtLastName txtFirstName txtMI txtSuffix logAttorney logADA logJudge logVictim logDefendant If I do this, I will have removed some fields that are currently there, such as: txtAddress1 txtAddress2 txtCity txtSt txtZip txtPhone And, I will put these in another linked table. There may be a need to have multiple addresses for the defendants, so this would be best I think. The problem that I am foreseeing here...I'm not at that point, so my fears could be unfounded...is setting these fields to true and/or false, as needed. Basically, thinking of victims for a minute here, the defendant screen, which will actually be an "Indictment" screen, will have a subform to hold potentially many victims for the indictment. If a victim IS already in the system as something else, I will need to tag that name as a victim and I'm wondering if this will present difficulties. Well, I hope I am being clear enough. If anyone out there has any tips for me, I would greatly appreciate it if you would pass them along. Thank you! John W Clark -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From john at winhaven.net Thu Aug 25 14:03:15 2005 From: john at winhaven.net (John Bartow) Date: Thu, 25 Aug 2005 14:03:15 -0500 Subject: [AccessD] OT: Zip files (was Logic issue) In-Reply-To: <000001c5a9a0$aada9380$0518820a@danwaters> Message-ID: <200508251903.j7PJ3HR00899@databaseadvisors.com> Yes, as long as it has an acceptable extension on it should go through. This is a seriously flawed approach to gateway security but then, there are some seriously flawed gateway admins :o) Although in some instances this is the quick and easy work around, I have changed my practices to send an email which includes instructions to download from my FTP site rather than "fooling" the gateway security scanners. One reason is because they do change the gateway settings now and then. A couple of customers can no longer receive attachments at all. Seems insane... -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Dan Waters Interesting! While I can't send an .mdb file as an attachment, if I change mdb to pdf, then it goes through just fine. Then my customer changes it back to mdb and installs the new objects. Dan Waters From martyconnelly at shaw.ca Thu Aug 25 14:06:48 2005 From: martyconnelly at shaw.ca (MartyConnelly) Date: Thu, 25 Aug 2005 12:06:48 -0700 Subject: [AccessD] Control codes to a printer References: Message-ID: <430E16C8.5030303@shaw.ca> RS232 to TCP/IP Converter There is a trial software for win98 but might be overkill, since it is designed for two way communication. It is $250 http://www.taltech.com/products/tcpcom.html Gustav Brock wrote: >Hi John > >Are you sure you need to do this? >Can't you set the printer to auto cut? > >I've never seen the syntax Stewart presents, neither a method for >sending hex (control) codes to a printer from Access. >However, this page may help you: > >How do I Control an Epson Receipt Printer with Visual Basic? >http://www.posworld.com/eprecprinvis.html > >It demonstrates the use of a special "Control font" which doesn't print >but transforms some chars to some hex code sequences. > >/gustav > > > >>>>jwcolby at colbyconsulting.com 24-08-2005 23:29 >>> >>>> >>>> >I need to send a series of hex characters to an Epson receipt printer >to >execute the cutting. Hex characters are 1d 56 42 20 The printer is >TCP/IP >so I have an IP address stored in a table and hidden in a form that is >open >when the print command is executed. This is a Win98 environment. >Does >anyone already have something similar. > >John W. Colby >www.ColbyConsulting.com > > > -- Marty Connelly Victoria, B.C. Canada From martyconnelly at shaw.ca Thu Aug 25 14:14:52 2005 From: martyconnelly at shaw.ca (MartyConnelly) Date: Thu, 25 Aug 2005 12:14:52 -0700 Subject: [AccessD] OT: Zip files (was Logic issue) References: <0ILS00D8HGFGA5@l-daemon> Message-ID: <430E18AC.6000202@shaw.ca> There used to be an old problem hiding ANSI bombs in ZIP files that executed on opening ZIP files with PKZIP. I still have the code somewhere to do it. But MS patched the ANSI.SYS file. I don't think anyone is still running unpatched DOS 3.2 Jim Lawrence wrote: >Hi Lambert: > >In theory virus can be hidden within a ZIP file and virus scanning programs >can not see them as a signature stream of values are required for virus >identification. The compression algorithm of the ZIP alters that signature >stream. Also some tricky code within a so called ZIP file can activate in >the process of unzipping the ZIP file. > >But that can always be got around by simply sending your ZIP file named like >MYZipFile.ZIP.txt. When on one contract this technique was used by the local >IT people to slip ZIP files through the filters and then the first dot and >extension were removed. The ZIP files were then unzipped in isolation and >tested before being introduced on LAN > >A little paranoid? You bet but at one government office, a couple of years >ago, a BlasterWorm got in through a similar method and the result was that a >couple of Ministries were down off and on for the better part of a month. >Put a price tag on that incident. > >My two cents worth >Jim > >-----Original Message----- >From: accessd-bounces at databaseadvisors.com >[mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Heenan, Lambert >Sent: Thursday, August 25, 2005 8:58 AM >To: 'Access Developers discussion and problem solving' >Subject: RE: [AccessD] OT: Zip files (was Logic issue) > >IMHO it's caused by IT people who are too paranoid by far. They invest >thousands on virus scanning software, keep updating the sig files every 24 >hours, but in the end they don't trust it to weed out the viruses coming at >them via ZIP files. Rather than scanning the contents of ZIP files they >blindly block them. Also, don't the realize that most (All?) antivirus >programs can be set to scan files when they are opened and or written to >disk? So even if a zip file does have a virus, the anti-virus package should >kill it. > >Lambert > >-----Original Message----- >From: accessd-bounces at databaseadvisors.com >[mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Charlotte Foust >Sent: Thursday, August 25, 2005 11:21 AM >To: Access Developers discussion and problem solving >Subject: RE: [AccessD] OT: Zip files (was Logic issue) > > >Does anyone know what the logic is for blocking zip files? I run into this >occasionally and it drives me nuts! You zip files to avoid the filters that >won't accept an mdb, etc., and then you run into filters that won't accept >the zip files. Oops, Catch-22. That drumming you hear is my head pounding >against the wall .... > >Charlotte Foust > > >-----Original Message----- >From: John Clark [mailto:John.Clark at niagaracounty.com] >Sent: Thursday, August 25, 2005 5:08 AM >To: accessd at databaseadvisors.com >Subject: RE: [AccessD] Logic issue > > >Yes Frank, I always like to checkout someone's ideas...I learn so much more >than any book can teach. My address is john.clark at niagaracounty.com > > >If this is a zip file, change the extention to something like .zp, because >we block .zip files. > >John W. Clark >Computer Programmer >Niagara County >Central Data Processing > > > >>>>frank at fhsservices.co.uk 8/24/2005 5:21 PM >>> >>>> >>>> >Here's a different solution! >If you have a checkbox for each title or position that can be applicable to >each person represented through the database then, on the client form of any >of people the list the checkboxes will indicate positives for the applicable >option. So, Jack Jones can have the boxes ticked for Defence attorney, >prosecuting attorney, Judge etc. etc. The final checkbox (no 9 on my sample) >can be set to "Other" and have an associated textbox in the table which will >only be displayed it no 9 is ticked and the text will be entered into the >open, blank textbox for storage and later retrieval. The trick here is to >combine the bit value of each checkbox to obtain a unique value for the >combination of boxes ticked. I have a small database of the principle as a >working example which I can forward to anybody who would like to see it. The >AccessD list is limited to a 30K unit size and will not allow me to attach >the sample to this text > >Kind regards, > >Frank Hill > >Kind regards, > >Frank Hill > > > >-----Original Message----- >From: accessd-bounces at databaseadvisors.com >[mailto:accessd-bounces at databaseadvisors.com] On Behalf Of John Clark >Sent: 24 August 2005 18:36 >To: accessd at databaseadvisors.com >Subject: [AccessD] Logic issue > >Hi all > >I am having trouble working out how I want to go about something, and I am >hoping somebody here can give me a nudge. It doesn't sound difficult, but >I'm running into dead-ends. I am starting to think that I will just have to >go ahead and finish up with "whatever" and work around things. > >I am doing a project for a district attorney's office, and it will basically >just keep tabs on everybody that passes through the system. The problem is >though that there are "Defendants", defense lawyers, prosecuting lawyers, >judges, and victims, and it isn't rare for a single person to cross into >multiple lists. And, theoretically, it is possible to be in all lists. For >instance there are many prosecuting lawyers that become defense attorneys, >and it is not unlikely that one of these attorneys could be a judge in the >future. That scenario is very possible, and you can add it that a lawyer is >very able to be a victim, and hell, we all know they can be criminals ;) >Another scenario that happens very frequently, is that a person is both a >defendant and a victim. > >I don't want the person entering data to scroll through hundreds, and >eventually thousands, of names to pick an attorney's name from among the >list of everybody else in the system. > >The idea I am working on presently is to add logical fields for each >designation to the table of names. For instances: > >kNameID >txtLastName >txtFirstName >txtMI >txtSuffix >logAttorney >logADA >logJudge >logVictim >logDefendant > >If I do this, I will have removed some fields that are currently there, such >as: > >txtAddress1 >txtAddress2 >txtCity >txtSt >txtZip >txtPhone > >And, I will put these in another linked table. There may be a need to have >multiple addresses for the defendants, so this would be best I think. > >The problem that I am foreseeing here...I'm not at that point, so my fears >could be unfounded...is setting these fields to true and/or false, as >needed. Basically, thinking of victims for a minute here, the defendant >screen, which will actually be an "Indictment" screen, will have a subform >to hold potentially many victims for the indictment. If a victim IS already >in the system as something else, I will need to tag that name as a victim >and I'm wondering if this will present difficulties. > >Well, I hope I am being clear enough. If anyone out there has any tips for >me, I would greatly appreciate it if you would pass them along. > >Thank you! > >John W Clark > > -- Marty Connelly Victoria, B.C. Canada From prodevmg at yahoo.com Thu Aug 25 14:21:11 2005 From: prodevmg at yahoo.com (Lonnie Johnson) Date: Thu, 25 Aug 2005 12:21:11 -0700 (PDT) Subject: [AccessD] How to find missing DLL's Message-ID: <20050825192111.45705.qmail@web33105.mail.mud.yahoo.com> I created a database for a friend that gets data from an excel file. I added two references... 1. Microsoft Excel 10.0 Object Libray (for apparent reasons for my statement above) 2. Microsoft Office 10.0 Object Libray (in order to show a Open File Dialog Box to allow them to pick the excel file to pull into the app) He does not have these references on his machine. Should he re-install MS Access, the entire MS Office or get the DLL's from somewhere and put them on his machine? If he needs to get them and put them on, what does he get? I cannot see the actual file name because the path is too long in the references box. Thanks. May God bless you beyond your imagination! Lonnie Johnson ProDev, Professional Development of MS Access Databases Visit me at ==> http://www.prodev.us --------------------------------- Start your day with Yahoo! - make it your home page From accessd at shaw.ca Thu Aug 25 14:23:54 2005 From: accessd at shaw.ca (Jim Lawrence) Date: Thu, 25 Aug 2005 12:23:54 -0700 Subject: [AccessD] OT: Zip files (was Logic issue) In-Reply-To: <1D7828CDB8350747AFE9D69E0E90DA1F14EA4297@xlivmbx21.aig.com> Message-ID: <0ILS0095TLVTAW@l-daemon> Hi Lambert: Within a ZIP file there is a header that stores the file names, uncompressed file size, what type of compression method was used, and a pointer to the file location within the zip. As far as I know this header is not really compressed so that an Unzip routine can quickly scan for initial setup and gives a user the option of selecting which file(s) to extract. My preference is to use the RAR compression program. It is like Winzip in that it is free for the standard version but has options that allow a much higher level of compression, can compress whole hard drives, with its lower profile has not as of yet had its format hacked and passes through email filters without issue. (http://www.win-rar.com) My four cents worth Jim -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Heenan, Lambert Sent: Thursday, August 25, 2005 12:01 PM To: 'Access Developers discussion and problem solving' Subject: RE: [AccessD] OT: Zip files (was Logic issue) Interesting. I *think* I understand what you mean by "The compression algorithm of the ZIP alters that signature stream.": i.e. if you just scan the bytes that make up the zip file you will not see the signature. But my organization runs scanning s/w that unzips the zip file to check the contents, and it does this at a fairly deep level. For example, .exe files are blocked, and Zip files are not. But if you try to send a Zip file that contains an EXE file, that will be blocked. In addition, if you rename the EXE before adding it to the ZIP file it will *still* get blocked because the scanning s/w looks at the (renamed) EXE file and sees its signature first few bytes and detects the EXE that way. I confess I have not heard of any code being executed as a result of unzipping a ZIP file (with the exception of unzip tools like Winzip which will detect a setup.exe or a .msi file and will offer to run the install routine). Lambert -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Jim Lawrence Sent: Thursday, August 25, 2005 1:26 PM To: 'Access Developers discussion and problem solving' Subject: RE: [AccessD] OT: Zip files (was Logic issue) Hi Lambert: In theory virus can be hidden within a ZIP file and virus scanning programs can not see them as a signature stream of values are required for virus identification. The compression algorithm of the ZIP alters that signature stream. Also some tricky code within a so called ZIP file can activate in the process of unzipping the ZIP file. But that can always be got around by simply sending your ZIP file named like MYZipFile.ZIP.txt. When on one contract this technique was used by the local IT people to slip ZIP files through the filters and then the first dot and extension were removed. The ZIP files were then unzipped in isolation and tested before being introduced on LAN A little paranoid? You bet but at one government office, a couple of years ago, a BlasterWorm got in through a similar method and the result was that a couple of Ministries were down off and on for the better part of a month. Put a price tag on that incident. My two cents worth Jim -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Heenan, Lambert Sent: Thursday, August 25, 2005 8:58 AM To: 'Access Developers discussion and problem solving' Subject: RE: [AccessD] OT: Zip files (was Logic issue) IMHO it's caused by IT people who are too paranoid by far. They invest thousands on virus scanning software, keep updating the sig files every 24 hours, but in the end they don't trust it to weed out the viruses coming at them via ZIP files. Rather than scanning the contents of ZIP files they blindly block them. Also, don't the realize that most (All?) antivirus programs can be set to scan files when they are opened and or written to disk? So even if a zip file does have a virus, the anti-virus package should kill it. Lambert -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Charlotte Foust Sent: Thursday, August 25, 2005 11:21 AM To: Access Developers discussion and problem solving Subject: RE: [AccessD] OT: Zip files (was Logic issue) Does anyone know what the logic is for blocking zip files? I run into this occasionally and it drives me nuts! You zip files to avoid the filters that won't accept an mdb, etc., and then you run into filters that won't accept the zip files. Oops, Catch-22. That drumming you hear is my head pounding against the wall .... Charlotte Foust -----Original Message----- From: John Clark [mailto:John.Clark at niagaracounty.com] Sent: Thursday, August 25, 2005 5:08 AM To: accessd at databaseadvisors.com Subject: RE: [AccessD] Logic issue Yes Frank, I always like to checkout someone's ideas...I learn so much more than any book can teach. My address is john.clark at niagaracounty.com If this is a zip file, change the extention to something like .zp, because we block .zip files. John W. Clark Computer Programmer Niagara County Central Data Processing >>> frank at fhsservices.co.uk 8/24/2005 5:21 PM >>> Here's a different solution! If you have a checkbox for each title or position that can be applicable to each person represented through the database then, on the client form of any of people the list the checkboxes will indicate positives for the applicable option. So, Jack Jones can have the boxes ticked for Defence attorney, prosecuting attorney, Judge etc. etc. The final checkbox (no 9 on my sample) can be set to "Other" and have an associated textbox in the table which will only be displayed it no 9 is ticked and the text will be entered into the open, blank textbox for storage and later retrieval. The trick here is to combine the bit value of each checkbox to obtain a unique value for the combination of boxes ticked. I have a small database of the principle as a working example which I can forward to anybody who would like to see it. The AccessD list is limited to a 30K unit size and will not allow me to attach the sample to this text Kind regards, Frank Hill Kind regards, Frank Hill -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of John Clark Sent: 24 August 2005 18:36 To: accessd at databaseadvisors.com Subject: [AccessD] Logic issue Hi all I am having trouble working out how I want to go about something, and I am hoping somebody here can give me a nudge. It doesn't sound difficult, but I'm running into dead-ends. I am starting to think that I will just have to go ahead and finish up with "whatever" and work around things. I am doing a project for a district attorney's office, and it will basically just keep tabs on everybody that passes through the system. The problem is though that there are "Defendants", defense lawyers, prosecuting lawyers, judges, and victims, and it isn't rare for a single person to cross into multiple lists. And, theoretically, it is possible to be in all lists. For instance there are many prosecuting lawyers that become defense attorneys, and it is not unlikely that one of these attorneys could be a judge in the future. That scenario is very possible, and you can add it that a lawyer is very able to be a victim, and hell, we all know they can be criminals ;) Another scenario that happens very frequently, is that a person is both a defendant and a victim. I don't want the person entering data to scroll through hundreds, and eventually thousands, of names to pick an attorney's name from among the list of everybody else in the system. The idea I am working on presently is to add logical fields for each designation to the table of names. For instances: kNameID txtLastName txtFirstName txtMI txtSuffix logAttorney logADA logJudge logVictim logDefendant If I do this, I will have removed some fields that are currently there, such as: txtAddress1 txtAddress2 txtCity txtSt txtZip txtPhone And, I will put these in another linked table. There may be a need to have multiple addresses for the defendants, so this would be best I think. The problem that I am foreseeing here...I'm not at that point, so my fears could be unfounded...is setting these fields to true and/or false, as needed. Basically, thinking of victims for a minute here, the defendant screen, which will actually be an "Indictment" screen, will have a subform to hold potentially many victims for the indictment. If a victim IS already in the system as something else, I will need to tag that name as a victim and I'm wondering if this will present difficulties. Well, I hope I am being clear enough. If anyone out there has any tips for me, I would greatly appreciate it if you would pass them along. Thank you! John W Clark -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From john at winhaven.net Thu Aug 25 14:30:57 2005 From: john at winhaven.net (John Bartow) Date: Thu, 25 Aug 2005 14:30:57 -0500 Subject: [AccessD] OT: Zip files (was Logic issue) In-Reply-To: <430E18AC.6000202@shaw.ca> Message-ID: <200508251931.j7PJV0R07977@databaseadvisors.com> LOL! Well, maybe some of the governments units around here are! I have govt. client that has to keep a win9x PC around because one of the apps they have to use will not run on WinXP and the agency that publishes it laid off all programers (and won't pay for a contractor) so they can't upgrade it to work on WinXP. -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of MartyConnelly I don't think anyone is still running unpatched DOS 3.2 From jwcolby at colbyconsulting.com Thu Aug 25 14:36:05 2005 From: jwcolby at colbyconsulting.com (John W. Colby) Date: Thu, 25 Aug 2005 15:36:05 -0400 Subject: [AccessD] How to find missing DLL's In-Reply-To: <20050825192111.45705.qmail@web33105.mail.mud.yahoo.com> Message-ID: <01f401c5a9ac$419c0460$6c7aa8c0@ColbyM6805> Use late binding instead. Dim your objects object instead of excel.sheet etc. John W. Colby www.ColbyConsulting.com Contribute your unused CPU cycles to a good cause: http://folding.stanford.edu/ -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Lonnie Johnson Sent: Thursday, August 25, 2005 3:21 PM To: AccessD solving' Subject: [AccessD] How to find missing DLL's I created a database for a friend that gets data from an excel file. I added two references... 1. Microsoft Excel 10.0 Object Libray (for apparent reasons for my statement above) 2. Microsoft Office 10.0 Object Libray (in order to show a Open File Dialog Box to allow them to pick the excel file to pull into the app) He does not have these references on his machine. Should he re-install MS Access, the entire MS Office or get the DLL's from somewhere and put them on his machine? If he needs to get them and put them on, what does he get? I cannot see the actual file name because the path is too long in the references box. Thanks. May God bless you beyond your imagination! Lonnie Johnson ProDev, Professional Development of MS Access Databases Visit me at ==> http://www.prodev.us --------------------------------- Start your day with Yahoo! - make it your home page -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From john at winhaven.net Thu Aug 25 14:40:27 2005 From: john at winhaven.net (John Bartow) Date: Thu, 25 Aug 2005 14:40:27 -0500 Subject: [AccessD] OT: Zip files (was Logic issue) In-Reply-To: <1D7828CDB8350747AFE9D69E0E90DA1F14EA4297@xlivmbx21.aig.com> Message-ID: <200508251940.j7PJeTR10739@databaseadvisors.com> Winzip (like many zip tools) can call the installed AV program to scan on decompression, which should eliminate this issue. -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Heenan, Lambert I confess I have not heard of any code being executed as a result of unzipping a ZIP file (with the exception of unzip tools like Winzip which will detect a setup.exe or a .msi file and will offer to run the install routine). Lambert From john at winhaven.net Thu Aug 25 14:40:27 2005 From: john at winhaven.net (John Bartow) Date: Thu, 25 Aug 2005 14:40:27 -0500 Subject: [AccessD] OT: Zip files (was Logic issue) In-Reply-To: <1D7828CDB8350747AFE9D69E0E90DA1F14EA4297@xlivmbx21.aig.com> Message-ID: <200508251940.j7PJeUR10745@databaseadvisors.com> Which is the correct manner of scanning and hence my switch to ftp instructions, but your shop is ahead of the curve on this. -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Heenan, Lambert But if you try to send a Zip file that contains an EXE file, that will be blocked. In addition, if you rename the EXE before adding it to the ZIP file it will *still* get blocked because the scanning s/w looks at the (renamed) EXE file and sees its signature first few bytes and detects the EXE that way. From mikedorism at verizon.net Thu Aug 25 14:49:57 2005 From: mikedorism at verizon.net (Mike & Doris Manning) Date: Thu, 25 Aug 2005 15:49:57 -0400 Subject: [AccessD] How to find missing DLL's In-Reply-To: <20050825192111.45705.qmail@web33105.mail.mud.yahoo.com> Message-ID: <000001c5a9ae$2ca6f4f0$2e01a8c0@dorismanning> It sounds like they have a lower or higher version of Office. The easiest way around this is not to use references and do late binding using "CreateObject" and "GetObject". Doris Manning mikedorism at verizon.net From prodevmg at yahoo.com Thu Aug 25 15:03:47 2005 From: prodevmg at yahoo.com (Lonnie Johnson) Date: Thu, 25 Aug 2005 13:03:47 -0700 (PDT) Subject: [AccessD] How to find missing DLL's In-Reply-To: <000001c5a9ae$2ca6f4f0$2e01a8c0@dorismanning> Message-ID: <20050825200347.77008.qmail@web33111.mail.mud.yahoo.com> Thanks Doris, That works for the Excel issue but how do I apply this to number two? 1. Microsoft Excel 10.0 Object Libray (for apparent reasons for my statement above) 2. Microsoft Office 10.0 Object Libray (in order to show a Open File Dialog Box to allow them to pick the excel file to pull into the app) Thanks. Mike & Doris Manning wrote: It sounds like they have a lower or higher version of Office. The easiest way around this is not to use references and do late binding using "CreateObject" and "GetObject". Doris Manning mikedorism at verizon.net -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com May God bless you beyond your imagination! Lonnie Johnson ProDev, Professional Development of MS Access Databases Visit me at ==> http://www.prodev.us __________________________________________________ Do You Yahoo!? Tired of spam? Yahoo! Mail has the best spam protection around http://mail.yahoo.com From Lambert.Heenan at AIG.com Thu Aug 25 15:12:38 2005 From: Lambert.Heenan at AIG.com (Heenan, Lambert) Date: Thu, 25 Aug 2005 16:12:38 -0400 Subject: [AccessD] OT: Zip files (was Logic issue) Message-ID: <1D7828CDB8350747AFE9D69E0E90DA1F14EA42F4@xlivmbx21.aig.com> I totally agree. If you are going to the trouble of scanning zip file contents it makes no sense at all to rely on the file extensions. But even my shop's method has a gaping hole. If the zip file has encrypted files in it the scanner gives up, adds a message to the effect that the file was not scanned and passes it on to the intended recipient. Not such a good idea. Lambert -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of John Bartow Sent: Thursday, August 25, 2005 3:40 PM To: 'Access Developers discussion and problem solving' Subject: RE: [AccessD] OT: Zip files (was Logic issue) Which is the correct manner of scanning and hence my switch to ftp instructions, but your shop is ahead of the curve on this. -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Heenan, Lambert But if you try to send a Zip file that contains an EXE file, that will be blocked. In addition, if you rename the EXE before adding it to the ZIP file it will *still* get blocked because the scanning s/w looks at the (renamed) EXE file and sees its signature first few bytes and detects the EXE that way. -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From martyconnelly at shaw.ca Thu Aug 25 15:27:19 2005 From: martyconnelly at shaw.ca (MartyConnelly) Date: Thu, 25 Aug 2005 13:27:19 -0700 Subject: [AccessD] How to find missing DLL's References: <20050825192111.45705.qmail@web33105.mail.mud.yahoo.com> Message-ID: <430E29A7.5090002@shaw.ca> What version of Office is he running, if 2000 replace reference 10.0 with 9.0 or if 2003 10.0 with 11.0 versions. Did he do a full install of Office or a selective one. ie. installed access but skipped excel or parts thereof. Also if using Dim objFD As Office.FileDialog Set objFD = Application.FileDialog(msoFile?DialogFolderPicker) This wont run in Access 2000 and I think in 2002 MDE Replacing the dll's is very iffy because they may need a cascade of other dll's to function If all else fails you can use the open file dialog api calls from www.mvps.org/access and read the excel file via ado or late binding calls Lonnie Johnson wrote: >I created a database for a friend that gets data from an excel file. > >I added two references... > >1. Microsoft Excel 10.0 Object Libray (for apparent reasons for my statement above) >2. Microsoft Office 10.0 Object Libray (in order to show a Open File Dialog Box to allow them to pick the excel file to pull into the app) > >He does not have these references on his machine. Should he re-install MS Access, the entire MS Office or get the DLL's from somewhere and put them on his machine? If he needs to get them and put them on, what does he get? I cannot see the actual file name because the path is too long in the references box. > >Thanks. > > > >May God bless you beyond your imagination! >Lonnie Johnson >ProDev, Professional Development of MS Access Databases >Visit me at ==> http://www.prodev.us > > > > > > > > > > > > >--------------------------------- > Start your day with Yahoo! - make it your home page > > -- Marty Connelly Victoria, B.C. Canada From prodevmg at yahoo.com Thu Aug 25 15:56:54 2005 From: prodevmg at yahoo.com (Lonnie Johnson) Date: Thu, 25 Aug 2005 13:56:54 -0700 (PDT) Subject: [AccessD] How to find missing DLL's In-Reply-To: <430E29A7.5090002@shaw.ca> Message-ID: <20050825205654.23463.qmail@web33110.mail.mud.yahoo.com> Thanks Marty!!! The "If all else fails..." option is the one I chose. Thanks again. MartyConnelly wrote: What version of Office is he running, if 2000 replace reference 10.0 with 9.0 or if 2003 10.0 with 11.0 versions. Did he do a full install of Office or a selective one. ie. installed access but skipped excel or parts thereof. Also if using Dim objFD As Office.FileDialog Set objFD = Application.FileDialog(msoFile­DialogFolderPicker) This wont run in Access 2000 and I think in 2002 MDE Replacing the dll's is very iffy because they may need a cascade of other dll's to function If all else fails you can use the open file dialog api calls from www.mvps.org/access and read the excel file via ado or late binding calls Lonnie Johnson wrote: >I created a database for a friend that gets data from an excel file. > >I added two references... > >1. Microsoft Excel 10.0 Object Libray (for apparent reasons for my statement above) >2. Microsoft Office 10.0 Object Libray (in order to show a Open File Dialog Box to allow them to pick the excel file to pull into the app) > >He does not have these references on his machine. Should he re-install MS Access, the entire MS Office or get the DLL's from somewhere and put them on his machine? If he needs to get them and put them on, what does he get? I cannot see the actual file name because the path is too long in the references box. > >Thanks. > > > >May God bless you beyond your imagination! >Lonnie Johnson >ProDev, Professional Development of MS Access Databases >Visit me at ==> http://www.prodev.us > > > > > > > > > > > > >--------------------------------- > Start your day with Yahoo! - make it your home page > > -- Marty Connelly Victoria, B.C. Canada -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com May God bless you beyond your imagination! Lonnie Johnson ProDev, Professional Development of MS Access Databases Visit me at ==> http://www.prodev.us __________________________________________________ Do You Yahoo!? Tired of spam? Yahoo! Mail has the best spam protection around http://mail.yahoo.com From stuart at lexacorp.com.pg Thu Aug 25 16:18:01 2005 From: stuart at lexacorp.com.pg (Stuart McLachlan) Date: Fri, 26 Aug 2005 07:18:01 +1000 Subject: [AccessD] Field Sizes In-Reply-To: Message-ID: <430EC229.20195.713431B@stuart.lexacorp.com.pg> On 25 Aug 2005 at 11:27, John Clark wrote: > I've got bigger problems right now, but I've meant to ask something > forever and...well...today is the day, I guess. What do y'all use for > standard sizes for typical text fields, such as Last Name, First Name, > Address, City, etc.? Is there a "common practice rule" concerning this? > We've had this discussion before 255 characters. Access doesn't use fixed length storage for strings and you don't save any space by defining text fields as less than the maximum allowable. I change the default field size for text strings to 255 in Options and never change it for individual filed definitions. All that restricting field sizes does for you is increase the risk of truncating data or throwing up error messages at the user sometime in the future. -- Stuart From cfoust at infostatsystems.com Thu Aug 25 16:50:55 2005 From: cfoust at infostatsystems.com (Charlotte Foust) Date: Thu, 25 Aug 2005 14:50:55 -0700 Subject: [AccessD] Field Sizes Message-ID: We may have discussed it before, but that doesn't mean we all agreed! I object to 255 because in prior versions of Access I ran into problems of "query too complex" when all the query fields were 255 because they inherited the table widths. If you don't want to save 255 characters in a field, there is absolutely no point in making the field that wide! So, there!! (Let the flames begin .... ) Charlotte Foust -----Original Message----- From: Stuart McLachlan [mailto:stuart at lexacorp.com.pg] Sent: Thursday, August 25, 2005 2:18 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Field Sizes On 25 Aug 2005 at 11:27, John Clark wrote: > I've got bigger problems right now, but I've meant to ask something > forever and...well...today is the day, I guess. What do y'all use for > standard sizes for typical text fields, such as Last Name, First Name, > Address, City, etc.? Is there a "common practice rule" concerning > this? > We've had this discussion before 255 characters. Access doesn't use fixed length storage for strings and you don't save any space by defining text fields as less than the maximum allowable. I change the default field size for text strings to 255 in Options and never change it for individual filed definitions. All that restricting field sizes does for you is increase the risk of truncating data or throwing up error messages at the user sometime in the future. -- Stuart -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From cfoust at infostatsystems.com Thu Aug 25 16:58:11 2005 From: cfoust at infostatsystems.com (Charlotte Foust) Date: Thu, 25 Aug 2005 14:58:11 -0700 Subject: [AccessD] OT: Zip files (was Logic issue) Message-ID: Actually, putting a couple of Ministries (or Federal Departments in the US) out of action for the better part of a month might lead to more sanity in government and THAT would be priceless!! ;-} I have to disagree with you though. My AV at work and a different one at home happily scan zip files and the active components of those AV programs prevent nasties from executing when you unzip the file. The MyZipFile.Zip.txt route was a virus workaround which had nothing to do with the actual format of the file involved but led people who had hidden know file extensions thinking they were dealing with a zip file or vice versa. Most gateways that I encounter these days don't let multiple extensions through. Charlotte Foust -----Original Message----- From: Jim Lawrence [mailto:accessd at shaw.ca] Sent: Thursday, August 25, 2005 10:26 AM To: 'Access Developers discussion and problem solving' Subject: RE: [AccessD] OT: Zip files (was Logic issue) Hi Lambert: In theory virus can be hidden within a ZIP file and virus scanning programs can not see them as a signature stream of values are required for virus identification. The compression algorithm of the ZIP alters that signature stream. Also some tricky code within a so called ZIP file can activate in the process of unzipping the ZIP file. But that can always be got around by simply sending your ZIP file named like MYZipFile.ZIP.txt. When on one contract this technique was used by the local IT people to slip ZIP files through the filters and then the first dot and extension were removed. The ZIP files were then unzipped in isolation and tested before being introduced on LAN A little paranoid? You bet but at one government office, a couple of years ago, a BlasterWorm got in through a similar method and the result was that a couple of Ministries were down off and on for the better part of a month. Put a price tag on that incident. My two cents worth Jim -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Heenan, Lambert Sent: Thursday, August 25, 2005 8:58 AM To: 'Access Developers discussion and problem solving' Subject: RE: [AccessD] OT: Zip files (was Logic issue) IMHO it's caused by IT people who are too paranoid by far. They invest thousands on virus scanning software, keep updating the sig files every 24 hours, but in the end they don't trust it to weed out the viruses coming at them via ZIP files. Rather than scanning the contents of ZIP files they blindly block them. Also, don't the realize that most (All?) antivirus programs can be set to scan files when they are opened and or written to disk? So even if a zip file does have a virus, the anti-virus package should kill it. Lambert -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Charlotte Foust Sent: Thursday, August 25, 2005 11:21 AM To: Access Developers discussion and problem solving Subject: RE: [AccessD] OT: Zip files (was Logic issue) Does anyone know what the logic is for blocking zip files? I run into this occasionally and it drives me nuts! You zip files to avoid the filters that won't accept an mdb, etc., and then you run into filters that won't accept the zip files. Oops, Catch-22. That drumming you hear is my head pounding against the wall .... Charlotte Foust -----Original Message----- From: John Clark [mailto:John.Clark at niagaracounty.com] Sent: Thursday, August 25, 2005 5:08 AM To: accessd at databaseadvisors.com Subject: RE: [AccessD] Logic issue Yes Frank, I always like to checkout someone's ideas...I learn so much more than any book can teach. My address is john.clark at niagaracounty.com If this is a zip file, change the extention to something like .zp, because we block .zip files. John W. Clark Computer Programmer Niagara County Central Data Processing >>> frank at fhsservices.co.uk 8/24/2005 5:21 PM >>> Here's a different solution! If you have a checkbox for each title or position that can be applicable to each person represented through the database then, on the client form of any of people the list the checkboxes will indicate positives for the applicable option. So, Jack Jones can have the boxes ticked for Defence attorney, prosecuting attorney, Judge etc. etc. The final checkbox (no 9 on my sample) can be set to "Other" and have an associated textbox in the table which will only be displayed it no 9 is ticked and the text will be entered into the open, blank textbox for storage and later retrieval. The trick here is to combine the bit value of each checkbox to obtain a unique value for the combination of boxes ticked. I have a small database of the principle as a working example which I can forward to anybody who would like to see it. The AccessD list is limited to a 30K unit size and will not allow me to attach the sample to this text Kind regards, Frank Hill Kind regards, Frank Hill -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of John Clark Sent: 24 August 2005 18:36 To: accessd at databaseadvisors.com Subject: [AccessD] Logic issue Hi all I am having trouble working out how I want to go about something, and I am hoping somebody here can give me a nudge. It doesn't sound difficult, but I'm running into dead-ends. I am starting to think that I will just have to go ahead and finish up with "whatever" and work around things. I am doing a project for a district attorney's office, and it will basically just keep tabs on everybody that passes through the system. The problem is though that there are "Defendants", defense lawyers, prosecuting lawyers, judges, and victims, and it isn't rare for a single person to cross into multiple lists. And, theoretically, it is possible to be in all lists. For instance there are many prosecuting lawyers that become defense attorneys, and it is not unlikely that one of these attorneys could be a judge in the future. That scenario is very possible, and you can add it that a lawyer is very able to be a victim, and hell, we all know they can be criminals ;) Another scenario that happens very frequently, is that a person is both a defendant and a victim. I don't want the person entering data to scroll through hundreds, and eventually thousands, of names to pick an attorney's name from among the list of everybody else in the system. The idea I am working on presently is to add logical fields for each designation to the table of names. For instances: kNameID txtLastName txtFirstName txtMI txtSuffix logAttorney logADA logJudge logVictim logDefendant If I do this, I will have removed some fields that are currently there, such as: txtAddress1 txtAddress2 txtCity txtSt txtZip txtPhone And, I will put these in another linked table. There may be a need to have multiple addresses for the defendants, so this would be best I think. The problem that I am foreseeing here...I'm not at that point, so my fears could be unfounded...is setting these fields to true and/or false, as needed. Basically, thinking of victims for a minute here, the defendant screen, which will actually be an "Indictment" screen, will have a subform to hold potentially many victims for the indictment. If a victim IS already in the system as something else, I will need to tag that name as a victim and I'm wondering if this will present difficulties. Well, I hope I am being clear enough. If anyone out there has any tips for me, I would greatly appreciate it if you would pass them along. Thank you! John W Clark -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd 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 Aug 25 16:59:30 2005 From: cfoust at infostatsystems.com (Charlotte Foust) Date: Thu, 25 Aug 2005 14:59:30 -0700 Subject: [AccessD] OT: Zip files (was Logic issue) Message-ID: But then you have to know that you are receiving a renamed zip file and should do something with it. An unopened zip file just sits there, regardless of the extension, so what's the point? Charlotte Foust -----Original Message----- From: Elam, Debbie [mailto:DElam at jenkens.com] Sent: Thursday, August 25, 2005 9:09 AM To: 'Access Developers discussion and problem solving' Subject: RE: [AccessD] OT: Zip files (was Logic issue) I know we temporarily block these files and several others. It gives the admins some time to scan before the file is delivered, but it does get delivered. Are you sure these are not getting through at all? If they are never getting through, I have received some files with a differently named extension. Text.zip is renamed to Text.zi and gets through. I must rename it back before I can open it, but it works. Debbie -----Original Message----- From: Heenan, Lambert [mailto:Lambert.Heenan at aig.com] Sent: Thursday, August 25, 2005 10:58 AM To: 'Access Developers discussion and problem solving' Subject: RE: [AccessD] OT: Zip files (was Logic issue) IMHO it's caused by IT people who are too paranoid by far. They invest thousands on virus scanning software, keep updating the sig files every 24 hours, but in the end they don't trust it to weed out the viruses coming at them via ZIP files. Rather than scanning the contents of ZIP files they blindly block them. Also, don't the realize that most (All?) antivirus programs can be set to scan files when they are opened and or written to disk? So even if a zip file does have a virus, the anti-virus package should kill it. Lambert -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Charlotte Foust Sent: Thursday, August 25, 2005 11:21 AM To: Access Developers discussion and problem solving Subject: RE: [AccessD] OT: Zip files (was Logic issue) Does anyone know what the logic is for blocking zip files? I run into this occasionally and it drives me nuts! You zip files to avoid the filters that won't accept an mdb, etc., and then you run into filters that won't accept the zip files. Oops, Catch-22. That drumming you hear is my head pounding against the wall .... Charlotte Foust -----Original Message----- From: John Clark [mailto:John.Clark at niagaracounty.com] Sent: Thursday, August 25, 2005 5:08 AM To: accessd at databaseadvisors.com Subject: RE: [AccessD] Logic issue Yes Frank, I always like to checkout someone's ideas...I learn so much more than any book can teach. My address is john.clark at niagaracounty.com If this is a zip file, change the extention to something like .zp, because we block .zip files. John W. Clark Computer Programmer Niagara County Central Data Processing >>> frank at fhsservices.co.uk 8/24/2005 5:21 PM >>> Here's a different solution! If you have a checkbox for each title or position that can be applicable to each person represented through the database then, on the client form of any of people the list the checkboxes will indicate positives for the applicable option. So, Jack Jones can have the boxes ticked for Defence attorney, prosecuting attorney, Judge etc. etc. The final checkbox (no 9 on my sample) can be set to "Other" and have an associated textbox in the table which will only be displayed it no 9 is ticked and the text will be entered into the open, blank textbox for storage and later retrieval. The trick here is to combine the bit value of each checkbox to obtain a unique value for the combination of boxes ticked. I have a small database of the principle as a working example which I can forward to anybody who would like to see it. The AccessD list is limited to a 30K unit size and will not allow me to attach the sample to this text Kind regards, Frank Hill Kind regards, Frank Hill -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of John Clark Sent: 24 August 2005 18:36 To: accessd at databaseadvisors.com Subject: [AccessD] Logic issue Hi all I am having trouble working out how I want to go about something, and I am hoping somebody here can give me a nudge. It doesn't sound difficult, but I'm running into dead-ends. I am starting to think that I will just have to go ahead and finish up with "whatever" and work around things. I am doing a project for a district attorney's office, and it will basically just keep tabs on everybody that passes through the system. The problem is though that there are "Defendants", defense lawyers, prosecuting lawyers, judges, and victims, and it isn't rare for a single person to cross into multiple lists. And, theoretically, it is possible to be in all lists. For instance there are many prosecuting lawyers that become defense attorneys, and it is not unlikely that one of these attorneys could be a judge in the future. That scenario is very possible, and you can add it that a lawyer is very able to be a victim, and hell, we all know they can be criminals ;) Another scenario that happens very frequently, is that a person is both a defendant and a victim. I don't want the person entering data to scroll through hundreds, and eventually thousands, of names to pick an attorney's name from among the list of everybody else in the system. The idea I am working on presently is to add logical fields for each designation to the table of names. For instances: kNameID txtLastName txtFirstName txtMI txtSuffix logAttorney logADA logJudge logVictim logDefendant If I do this, I will have removed some fields that are currently there, such as: txtAddress1 txtAddress2 txtCity txtSt txtZip txtPhone And, I will put these in another linked table. There may be a need to have multiple addresses for the defendants, so this would be best I think. The problem that I am foreseeing here...I'm not at that point, so my fears could be unfounded...is setting these fields to true and/or false, as needed. Basically, thinking of victims for a minute here, the defendant screen, which will actually be an "Indictment" screen, will have a subform to hold potentially many victims for the indictment. If a victim IS already in the system as something else, I will need to tag that name as a victim and I'm wondering if this will present difficulties. Well, I hope I am being clear enough. If anyone out there has any tips for me, I would greatly appreciate it if you would pass them along. Thank you! John W Clark -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.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. -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From john at winhaven.net Thu Aug 25 17:16:55 2005 From: john at winhaven.net (John Bartow) Date: Thu, 25 Aug 2005 17:16:55 -0500 Subject: [AccessD] OT: Zip files (was Logic issue) In-Reply-To: <1D7828CDB8350747AFE9D69E0E90DA1F14EA42F4@xlivmbx21.aig.com> Message-ID: <200508252216.j7PMGuR17833@databaseadvisors.com> That's a tough one for sure. If policy is to allow encrypted files get through then I would hope that there are still local anti-virus scanners installed on all workstations and that the message that goes with the non-scanned encrypted attachment would instruct the user to update the local virus signature files before opening and decrypting the attachment. About the only other way to handle it is to divert it to a "safe machine" and make the person open it there. That goes over like a lead balloon with mgt. Though. -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Heenan, Lambert I totally agree. If you are going to the trouble of scanning zip file contents it makes no sense at all to rely on the file extensions. But even my shop's method has a gaping hole. If the zip file has encrypted files in it the scanner gives up, adds a message to the effect that the file was not scanned and passes it on to the intended recipient. Not such a good idea. Lambert From accessd at shaw.ca Thu Aug 25 19:11:22 2005 From: accessd at shaw.ca (Jim Lawrence) Date: Thu, 25 Aug 2005 17:11:22 -0700 Subject: [AccessD] OT: Zip files (was Logic issue) In-Reply-To: Message-ID: <0ILS00D16Z6WFT@l-daemon> The issue was that certain people within an organization could not receive ZIP files that held patches that they required for their applications. The method of adding extra extensions or other methods of obfuscation were merely attempts to circumnavigate the hard-wired file-blocking security. Anyone that would received such an attachment with their email would be aware of what the attachment was for and might only need some associated instructions on saving, renaming, scanning and running the file. The extension file blocking is only meant to stop, malicious rouge broadcast ZIP files and gullible users from ever getting together. Jim -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Charlotte Foust Sent: Thursday, August 25, 2005 3:00 PM To: Access Developers discussion and problem solving Subject: RE: [AccessD] OT: Zip files (was Logic issue) But then you have to know that you are receiving a renamed zip file and should do something with it. An unopened zip file just sits there, regardless of the extension, so what's the point? Charlotte Foust -----Original Message----- From: Elam, Debbie [mailto:DElam at jenkens.com] Sent: Thursday, August 25, 2005 9:09 AM To: 'Access Developers discussion and problem solving' Subject: RE: [AccessD] OT: Zip files (was Logic issue) I know we temporarily block these files and several others. It gives the admins some time to scan before the file is delivered, but it does get delivered. Are you sure these are not getting through at all? If they are never getting through, I have received some files with a differently named extension. Text.zip is renamed to Text.zi and gets through. I must rename it back before I can open it, but it works. Debbie -----Original Message----- From: Heenan, Lambert [mailto:Lambert.Heenan at aig.com] Sent: Thursday, August 25, 2005 10:58 AM To: 'Access Developers discussion and problem solving' Subject: RE: [AccessD] OT: Zip files (was Logic issue) IMHO it's caused by IT people who are too paranoid by far. They invest thousands on virus scanning software, keep updating the sig files every 24 hours, but in the end they don't trust it to weed out the viruses coming at them via ZIP files. Rather than scanning the contents of ZIP files they blindly block them. Also, don't the realize that most (All?) antivirus programs can be set to scan files when they are opened and or written to disk? So even if a zip file does have a virus, the anti-virus package should kill it. Lambert -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Charlotte Foust Sent: Thursday, August 25, 2005 11:21 AM To: Access Developers discussion and problem solving Subject: RE: [AccessD] OT: Zip files (was Logic issue) Does anyone know what the logic is for blocking zip files? I run into this occasionally and it drives me nuts! You zip files to avoid the filters that won't accept an mdb, etc., and then you run into filters that won't accept the zip files. Oops, Catch-22. That drumming you hear is my head pounding against the wall .... Charlotte Foust -----Original Message----- From: John Clark [mailto:John.Clark at niagaracounty.com] Sent: Thursday, August 25, 2005 5:08 AM To: accessd at databaseadvisors.com Subject: RE: [AccessD] Logic issue Yes Frank, I always like to checkout someone's ideas...I learn so much more than any book can teach. My address is john.clark at niagaracounty.com If this is a zip file, change the extention to something like .zp, because we block .zip files. John W. Clark Computer Programmer Niagara County Central Data Processing >>> frank at fhsservices.co.uk 8/24/2005 5:21 PM >>> Here's a different solution! If you have a checkbox for each title or position that can be applicable to each person represented through the database then, on the client form of any of people the list the checkboxes will indicate positives for the applicable option. So, Jack Jones can have the boxes ticked for Defence attorney, prosecuting attorney, Judge etc. etc. The final checkbox (no 9 on my sample) can be set to "Other" and have an associated textbox in the table which will only be displayed it no 9 is ticked and the text will be entered into the open, blank textbox for storage and later retrieval. The trick here is to combine the bit value of each checkbox to obtain a unique value for the combination of boxes ticked. I have a small database of the principle as a working example which I can forward to anybody who would like to see it. The AccessD list is limited to a 30K unit size and will not allow me to attach the sample to this text Kind regards, Frank Hill Kind regards, Frank Hill -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of John Clark Sent: 24 August 2005 18:36 To: accessd at databaseadvisors.com Subject: [AccessD] Logic issue Hi all I am having trouble working out how I want to go about something, and I am hoping somebody here can give me a nudge. It doesn't sound difficult, but I'm running into dead-ends. I am starting to think that I will just have to go ahead and finish up with "whatever" and work around things. I am doing a project for a district attorney's office, and it will basically just keep tabs on everybody that passes through the system. The problem is though that there are "Defendants", defense lawyers, prosecuting lawyers, judges, and victims, and it isn't rare for a single person to cross into multiple lists. And, theoretically, it is possible to be in all lists. For instance there are many prosecuting lawyers that become defense attorneys, and it is not unlikely that one of these attorneys could be a judge in the future. That scenario is very possible, and you can add it that a lawyer is very able to be a victim, and hell, we all know they can be criminals ;) Another scenario that happens very frequently, is that a person is both a defendant and a victim. I don't want the person entering data to scroll through hundreds, and eventually thousands, of names to pick an attorney's name from among the list of everybody else in the system. The idea I am working on presently is to add logical fields for each designation to the table of names. For instances: kNameID txtLastName txtFirstName txtMI txtSuffix logAttorney logADA logJudge logVictim logDefendant If I do this, I will have removed some fields that are currently there, such as: txtAddress1 txtAddress2 txtCity txtSt txtZip txtPhone And, I will put these in another linked table. There may be a need to have multiple addresses for the defendants, so this would be best I think. The problem that I am foreseeing here...I'm not at that point, so my fears could be unfounded...is setting these fields to true and/or false, as needed. Basically, thinking of victims for a minute here, the defendant screen, which will actually be an "Indictment" screen, will have a subform to hold potentially many victims for the indictment. If a victim IS already in the system as something else, I will need to tag that name as a victim and I'm wondering if this will present difficulties. Well, I hope I am being clear enough. If anyone out there has any tips for me, I would greatly appreciate it if you would pass them along. Thank you! John W Clark -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.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. -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From accessd at shaw.ca Thu Aug 25 19:21:53 2005 From: accessd at shaw.ca (Jim Lawrence) Date: Thu, 25 Aug 2005 17:21:53 -0700 Subject: [AccessD] OT: Zip files (was Logic issue) In-Reply-To: <1D7828CDB8350747AFE9D69E0E90DA1F14EA4297@xlivmbx21.aig.com> Message-ID: <0ILS00J1WZOG8N@l-daemon> For that matter neither have I. I have indirectly heard it stated that there have been virus hidden in a ZIP file but have never seem one up close. Here is an article on the subject but whether it is just more fear mongering or just a diversion for more blatant user errors is open for debate: http://www.computerworld.com/securitytopics/security/virus/story/0,10801,898 97,00.html Jim -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Heenan, Lambert Sent: Thursday, August 25, 2005 12:01 PM To: 'Access Developers discussion and problem solving' Subject: RE: [AccessD] OT: Zip files (was Logic issue) Interesting. I *think* I understand what you mean by "The compression algorithm of the ZIP alters that signature stream.": i.e. if you just scan the bytes that make up the zip file you will not see the signature. But my organization runs scanning s/w that unzips the zip file to check the contents, and it does this at a fairly deep level. For example, .exe files are blocked, and Zip files are not. But if you try to send a Zip file that contains an EXE file, that will be blocked. In addition, if you rename the EXE before adding it to the ZIP file it will *still* get blocked because the scanning s/w looks at the (renamed) EXE file and sees its signature first few bytes and detects the EXE that way. I confess I have not heard of any code being executed as a result of unzipping a ZIP file (with the exception of unzip tools like Winzip which will detect a setup.exe or a .msi file and will offer to run the install routine). Lambert -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Jim Lawrence Sent: Thursday, August 25, 2005 1:26 PM To: 'Access Developers discussion and problem solving' Subject: RE: [AccessD] OT: Zip files (was Logic issue) Hi Lambert: In theory virus can be hidden within a ZIP file and virus scanning programs can not see them as a signature stream of values are required for virus identification. The compression algorithm of the ZIP alters that signature stream. Also some tricky code within a so called ZIP file can activate in the process of unzipping the ZIP file. But that can always be got around by simply sending your ZIP file named like MYZipFile.ZIP.txt. When on one contract this technique was used by the local IT people to slip ZIP files through the filters and then the first dot and extension were removed. The ZIP files were then unzipped in isolation and tested before being introduced on LAN A little paranoid? You bet but at one government office, a couple of years ago, a BlasterWorm got in through a similar method and the result was that a couple of Ministries were down off and on for the better part of a month. Put a price tag on that incident. My two cents worth Jim -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Heenan, Lambert Sent: Thursday, August 25, 2005 8:58 AM To: 'Access Developers discussion and problem solving' Subject: RE: [AccessD] OT: Zip files (was Logic issue) IMHO it's caused by IT people who are too paranoid by far. They invest thousands on virus scanning software, keep updating the sig files every 24 hours, but in the end they don't trust it to weed out the viruses coming at them via ZIP files. Rather than scanning the contents of ZIP files they blindly block them. Also, don't the realize that most (All?) antivirus programs can be set to scan files when they are opened and or written to disk? So even if a zip file does have a virus, the anti-virus package should kill it. Lambert -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Charlotte Foust Sent: Thursday, August 25, 2005 11:21 AM To: Access Developers discussion and problem solving Subject: RE: [AccessD] OT: Zip files (was Logic issue) Does anyone know what the logic is for blocking zip files? I run into this occasionally and it drives me nuts! You zip files to avoid the filters that won't accept an mdb, etc., and then you run into filters that won't accept the zip files. Oops, Catch-22. That drumming you hear is my head pounding against the wall .... Charlotte Foust -----Original Message----- From: John Clark [mailto:John.Clark at niagaracounty.com] Sent: Thursday, August 25, 2005 5:08 AM To: accessd at databaseadvisors.com Subject: RE: [AccessD] Logic issue Yes Frank, I always like to checkout someone's ideas...I learn so much more than any book can teach. My address is john.clark at niagaracounty.com If this is a zip file, change the extention to something like .zp, because we block .zip files. John W. Clark Computer Programmer Niagara County Central Data Processing >>> frank at fhsservices.co.uk 8/24/2005 5:21 PM >>> Here's a different solution! If you have a checkbox for each title or position that can be applicable to each person represented through the database then, on the client form of any of people the list the checkboxes will indicate positives for the applicable option. So, Jack Jones can have the boxes ticked for Defence attorney, prosecuting attorney, Judge etc. etc. The final checkbox (no 9 on my sample) can be set to "Other" and have an associated textbox in the table which will only be displayed it no 9 is ticked and the text will be entered into the open, blank textbox for storage and later retrieval. The trick here is to combine the bit value of each checkbox to obtain a unique value for the combination of boxes ticked. I have a small database of the principle as a working example which I can forward to anybody who would like to see it. The AccessD list is limited to a 30K unit size and will not allow me to attach the sample to this text Kind regards, Frank Hill Kind regards, Frank Hill -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of John Clark Sent: 24 August 2005 18:36 To: accessd at databaseadvisors.com Subject: [AccessD] Logic issue Hi all I am having trouble working out how I want to go about something, and I am hoping somebody here can give me a nudge. It doesn't sound difficult, but I'm running into dead-ends. I am starting to think that I will just have to go ahead and finish up with "whatever" and work around things. I am doing a project for a district attorney's office, and it will basically just keep tabs on everybody that passes through the system. The problem is though that there are "Defendants", defense lawyers, prosecuting lawyers, judges, and victims, and it isn't rare for a single person to cross into multiple lists. And, theoretically, it is possible to be in all lists. For instance there are many prosecuting lawyers that become defense attorneys, and it is not unlikely that one of these attorneys could be a judge in the future. That scenario is very possible, and you can add it that a lawyer is very able to be a victim, and hell, we all know they can be criminals ;) Another scenario that happens very frequently, is that a person is both a defendant and a victim. I don't want the person entering data to scroll through hundreds, and eventually thousands, of names to pick an attorney's name from among the list of everybody else in the system. The idea I am working on presently is to add logical fields for each designation to the table of names. For instances: kNameID txtLastName txtFirstName txtMI txtSuffix logAttorney logADA logJudge logVictim logDefendant If I do this, I will have removed some fields that are currently there, such as: txtAddress1 txtAddress2 txtCity txtSt txtZip txtPhone And, I will put these in another linked table. There may be a need to have multiple addresses for the defendants, so this would be best I think. The problem that I am foreseeing here...I'm not at that point, so my fears could be unfounded...is setting these fields to true and/or false, as needed. Basically, thinking of victims for a minute here, the defendant screen, which will actually be an "Indictment" screen, will have a subform to hold potentially many victims for the indictment. If a victim IS already in the system as something else, I will need to tag that name as a victim and I'm wondering if this will present difficulties. Well, I hope I am being clear enough. If anyone out there has any tips for me, I would greatly appreciate it if you would pass them along. Thank you! John W Clark -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From KP at sdsonline.net Thu Aug 25 22:24:15 2005 From: KP at sdsonline.net (Kath Pelletti) Date: Fri, 26 Aug 2005 13:24:15 +1000 Subject: [AccessD] OT: Friday humour Message-ID: <001901c5a9ed$a38087a0$6601a8c0@user> OK - I'm bored, so here we go.... ------- "Doctor," said the patient. "I can't stop singing 'The Green, Green Grass of Home.'" "Sounds like Tom Jones Syndrom to me," the doctor replies. "Is that common?" "It's not unusual." -------------------------- Q: How many Spaniards does it take to screw in a lightbulb? A: Juan -------------------------- Person 1: Knock knock. Person 2: Who's there? Person 1: Control freak. Person 1: Now you say "control freak who?" ---------- ______________________________________________ Kath Pelletti Software Design & Solutions Pty Ltd. Ph: 9505-6714 Fax: 9505-6430 KP at SDSOnline.net From dmcafee at pacbell.net Thu Aug 25 22:54:39 2005 From: dmcafee at pacbell.net (dmcafee at pacbell.net) Date: Thu, 25 Aug 2005 20:54:39 -0700 Subject: [AccessD] OT: Friday humour In-Reply-To: <001901c5a9ed$a38087a0$6601a8c0@user> Message-ID: Last week I purchased a burger and fries at McDonalds for $3.58. The counter girl took my $4.00 and I pulled 8 cents from my pocket and gave it to her. She stood there, holding the nickel and 3 pennies. While looking at the screen on her register, I sensed her discomfort and tried to tell her to just give me two quarters, but she hailed the manager for help. While he tried to explain the transaction to her, she stood there and cried. ---------------------------------------------------------------------------- ---- Why do I tell you this? Because of the evolution in teaching math since the 1950s: Teaching Math In 1950 A logger sells a truckload of lumber for $100. His cost of production is 4/5 of the price. What is his profit? Teaching Math In 1960 A logger sells a truckload of lumber for $100. His cost of production is 4/5 of the price, or $80. What is his profit? Teaching Math In 1970 A logger sells a truckload of lumber for $100. His cost of production is $80. Did he make a profit? Teaching Math In 1980 A logger sells a truckload of lumber for $100. His cost of production is $80 and his profit is $20 Your assignment: Underline the number 20. Teaching Math In 1990 A logger cuts down a beautiful forest because he is selfish and inconsiderate and cares nothing for the habitat of animals or the preservation of our woodlands. He does this so he can make a profit of $20. What do you think of this way of making a living? Topic for class participation after answering the question: How did the birds and squirrels feel as the logger cut down their homes? (There are no wrong answers.) Teaching Math In 2005 Un ranchero vende una carretera de madera para $100. El cuesto de la produccion era $80. Cuantos tortillas se puede comprar? From andy at minstersystems.co.uk Fri Aug 26 02:20:51 2005 From: andy at minstersystems.co.uk (Andy Lacey) Date: Fri, 26 Aug 2005 08:20:51 +0100 Subject: [AccessD] OT: Roz's Novel In-Reply-To: Message-ID: <001d01c5aa0e$b377bcc0$a5c00c54@minster33c3r25> It's Friday so we can go for suggestions for alternative titles for Roz's book. I'll start the ball rolling. Firstly I was musing about her subject matter and thinking of another work which treats that broad subject. Thus I came up with "Hamlet - The SQL". But that's more for the literary end of the market. Or, Roz, you could blatantly go for the market of people who don't really read but will do if it's a children's book that's ok for adults to be seen with - so "Harry Potter And The Nobility Of Truth Versus The Attractions Of Artifice" (catchy I thought). Finally if you wanted another theme how about a book for gullible Ark theorists who like Dan Brown but prefer a quicker read - "The Da Vinci Compiler" (groan). -- Andy Lacey http://www.minstersystems.co.uk From KP at sdsonline.net Fri Aug 26 03:39:46 2005 From: KP at sdsonline.net (Kath Pelletti) Date: Fri, 26 Aug 2005 18:39:46 +1000 Subject: [AccessD] OT: Roz's Novel References: <001d01c5aa0e$b377bcc0$a5c00c54@minster33c3r25> Message-ID: <001101c5aa19$b7bae3b0$6601a8c0@user> Big Fat Artifice? :) ----- Original Message ----- From: Andy Lacey To: 'Access Developers discussion and problem solving' Sent: Friday, August 26, 2005 5:20 PM Subject: [AccessD] OT: Roz's Novel It's Friday so we can go for suggestions for alternative titles for Roz's book. I'll start the ball rolling. Firstly I was musing about her subject matter and thinking of another work which treats that broad subject. Thus I came up with "Hamlet - The SQL". But that's more for the literary end of the market. Or, Roz, you could blatantly go for the market of people who don't really read but will do if it's a children's book that's ok for adults to be seen with - so "Harry Potter And The Nobility Of Truth Versus The Attractions Of Artifice" (catchy I thought). Finally if you wanted another theme how about a book for gullible Ark theorists who like Dan Brown but prefer a quicker read - "The Da Vinci Compiler" (groan). -- Andy Lacey http://www.minstersystems.co.uk -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From pedro at plex.nl Fri Aug 26 11:11:05 2005 From: pedro at plex.nl (pedro at plex.nl) Date: Fri, 26 Aug 2005 11:11:05 (MET DST) Subject: [AccessD] adding control number Message-ID: <200508260911.j7Q9B55U004511@mailhostC.plex.net> Hello Group, I have an ID (text, because it begins with 00) that exist of 8 numbers. I need to change this ID by removing the first 0, and by adding a extra control number. This control number can be calculated from this ID. This can be done by several query?s. Is it possible to do in one query?? For example. I have ID: 00327833 Take the number of the odd positions: 0 3 7 3 Place these numbers behind each other to make one number: 0373 Multiply this number with 2: 0373 x 2 = 0746 Count up the separate numbers from this last multiplication: 0 + 7 + 4 + 6 = 17 >From the original ID, take the even positions: 0 2 8 3 Count up the separate numbers from the even positions with the sum of the last count up: 17 + 0 + 2 + 8 + 3 = 30 The last number of the previous sum is the extra control number: 0 >From the original ID, remove the first 0 and add the control number: 03278330 Who can help me with this? TIA Pedro Janssen From andy at minstersystems.co.uk Fri Aug 26 04:32:56 2005 From: andy at minstersystems.co.uk (Andy Lacey) Date: Fri, 26 Aug 2005 10:32:56 +0100 Subject: [AccessD] adding control number Message-ID: <20050826093254.0A8DD24F266@smtp.nildram.co.uk> I'll have a shot. Assuming always 8-digits how about Mid(Id,2) & Right(Cstr(Val(Mid(Right("0000" & Cstr(CLng(Val(Mid(Id,1,1)) & Val(Mid(Id,3,1)) & Val(Mid(Id,5,1)) & Val(Mid(Id,7,1)))*2),4),1,1)) + Val(Mid(Right("0000" & Cstr(CLng(Val(Mid(Id,1,1)) & Val(Mid(Id,3,1)) & Val(Mid(Id,5,1)) & Val(Mid(Id,7,1)))*2),4),2,1)) + Val(Mid(Right("0000" & Cstr(CLng(Val(Mid(Id,1,1)) & Val(Mid(Id,3,1)) & Val(Mid(Id,5,1)) & Val(Mid(Id,7,1)))*2),4),3,1)) + Val(Mid(Right("0000" & Cstr(CLng(Val(Mid(Id,1,1)) & Val(Mid(Id,3,1)) & Val(Mid(Id,5,1)) & Val(Mid(Id,7,1)))*2),4),4,1)) + Val(Mid(Id,2,1)) + Val(Mid(Id,4,1)) + Val(Mid(Id,6,1)) + Val(Mid(Id,8,1))),1) -- Andy Lacey http://www.minstersystems.co.uk --------- Original Message -------- From: "Access Developers discussion and problem solving" To: "AccessD at databaseadvisors.com" Subject: [AccessD] adding control number Date: 26/08/05 09:10 Hello Group, I have an ID (text, because it begins with 00) that exist of 8 numbers. I need to change this ID by removing the first 0, and by adding a extra control number. This control number can be calculated from this ID. This can be done by several query?s. Is it possible to do in one query?? For example. I have ID: 00327833 Take the number of the odd positions: 0 3 7 3 Place these numbers behind each other to make one number: 0373 Multiply this number with 2: 0373 x 2 = 0746 Count up the separate numbers from this last multiplication: 0 + 7 + 4 + 6 = 17 >From the original ID, take the even positions: 0 2 8 3 Count up the separate numbers from the even positions with the sum of the last count up: 17 + 0 + 2 + 8 + 3 = 30 The last number of the previous sum is the extra control number: 0 >From the original ID, remove the first 0 and add the control number: 03278330 Who can help me with this? TIA Pedro Janssen -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com ________________________________________________ Message sent using UebiMiau 2.7.2 From zora_db at yahoo.com Fri Aug 26 05:15:42 2005 From: zora_db at yahoo.com (Roz Clarke) Date: Fri, 26 Aug 2005 11:15:42 +0100 (BST) Subject: [AccessD] OT: Roz's Novel In-Reply-To: <001101c5aa19$b7bae3b0$6601a8c0@user> Message-ID: <20050826101542.48751.qmail@web50106.mail.yahoo.com> Or one for the OT list... Fear of Flaming Roz --- Kath Pelletti wrote: > Big Fat Artifice? > > :) > ----- Original Message ----- > From: Andy Lacey > To: 'Access Developers discussion and problem solving' > Sent: Friday, August 26, 2005 5:20 PM > Subject: [AccessD] OT: Roz's Novel > > > It's Friday so we can go for suggestions for alternative titles for Roz's > book. I'll start the ball rolling. > > Firstly I was musing about her subject matter and thinking of another work > which treats that broad subject. Thus I came up with "Hamlet - The SQL". But > that's more for the literary end of the market. Or, Roz, you could blatantly > go for the market of people who don't really read but will do if it's a > children's book that's ok for adults to be seen with - so "Harry Potter And > The Nobility Of Truth Versus The Attractions Of Artifice" (catchy I > thought). Finally if you wanted another theme how about a book for gullible > Ark theorists who like Dan Brown but prefer a quicker read - "The Da Vinci > Compiler" (groan). > > -- Andy Lacey > http://www.minstersystems.co.uk > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > ___________________________________________________________ How much free photo storage do you get? Store your holiday snaps for FREE with Yahoo! Photos http://uk.photos.yahoo.com From zora_db at yahoo.com Fri Aug 26 05:17:33 2005 From: zora_db at yahoo.com (Roz Clarke) Date: Fri, 26 Aug 2005 11:17:33 +0100 (BST) Subject: [AccessD] OT: Roz's Novel In-Reply-To: <001d01c5aa0e$b377bcc0$a5c00c54@minster33c3r25> Message-ID: <20050826101733.47892.qmail@web50109.mail.yahoo.com> Harry Colby and the Nobility of Bound Versus the Attractions of Unbound --- Andy Lacey wrote: > It's Friday so we can go for suggestions for alternative titles for Roz's > book. I'll start the ball rolling. > > Firstly I was musing about her subject matter and thinking of another work > which treats that broad subject. Thus I came up with "Hamlet - The SQL". But > that's more for the literary end of the market. Or, Roz, you could blatantly > go for the market of people who don't really read but will do if it's a > children's book that's ok for adults to be seen with - so "Harry Potter And > The Nobility Of Truth Versus The Attractions Of Artifice" (catchy I > thought). Finally if you wanted another theme how about a book for gullible > Ark theorists who like Dan Brown but prefer a quicker read - "The Da Vinci > Compiler" (groan). > > -- Andy Lacey > http://www.minstersystems.co.uk > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > Send instant messages to your online friends http://uk.messenger.yahoo.com From Gustav at cactus.dk Fri Aug 26 05:28:02 2005 From: Gustav at cactus.dk (Gustav Brock) Date: Fri, 26 Aug 2005 12:28:02 +0200 Subject: [AccessD] OT: Zip files (was Logic issue) Message-ID: Hi all As I wrote last year: Some strip zip files from e-mails to avoid vira and spyware, thus cab files can be a valid alternative for attaching compressed files. You can use a MS command line util for this (cabarc.exe or makecab.exe) or a freeware tool like CabPack 1.4, but did you know that Internet Explorer comes with a GUI wizard-type wrapper for CabArc called IExpress? Just type iexpress at the Run entry in the Start menu. When finished, it offers to save your settings as a "sed" file so you easily can repeat a packing session. /gustav >>> cfoust at infostatsystems.com 25-08-2005 17:20 >>> Does anyone know what the logic is for blocking zip files? I run into this occasionally and it drives me nuts! You zip files to avoid the filters that won't accept an mdb, etc., and then you run into filters that won't accept the zip files. Oops, Catch-22. That drumming you hear is my head pounding against the wall .... Charlotte Foust From andy at minstersystems.co.uk Fri Aug 26 05:31:51 2005 From: andy at minstersystems.co.uk (Andy Lacey) Date: Fri, 26 Aug 2005 11:31:51 +0100 Subject: [AccessD] OT: Roz's Novel Message-ID: <20050826103149.774A4260EAB@smtp.nildram.co.uk> A best seller waiting to happen. -- 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] OT: Roz's Novel Date: 26/08/05 10:18 Harry Colby and the Nobility of Bound Versus the Attractions of Unbound --- Andy Lacey wrote: > It's Friday so we can go for suggestions for alternative titles for Roz's > book. I'll start the ball rolling. > > Firstly I was musing about her subject matter and thinking of another work > which treats that broad subject. Thus I came up with "Hamlet - The SQL". But > that's more for the literary end of the market. Or, Roz, you could blatantly > go for the market of people who don't really read but will do if it's a > children's book that's ok for adults to be seen with - so "Harry Potter And > The Nobility Of Truth Versus The Attractions Of Artifice" (catchy I > thought). Finally if you wanted another theme how about a book for gullible > Ark theorists who like Dan Brown but prefer a quicker read - "The Da Vinci > Compiler" (groan). > > -- Andy Lacey > http://www.minstersystems.co.uk > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > Send instant messages to your online friends http://uk.messenger.yahoo.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com ________________________________________________ Message sent using UebiMiau 2.7.2 From prodevmg at yahoo.com Fri Aug 26 05:32:55 2005 From: prodevmg at yahoo.com (Lonnie Johnson) Date: Fri, 26 Aug 2005 03:32:55 -0700 (PDT) Subject: [AccessD] adding control number In-Reply-To: <200508260911.j7Q9B55U004511@mailhostC.plex.net> Message-ID: <20050826103255.84492.qmail@web33101.mail.mud.yahoo.com> Why not write a function in VBA and do everything you just said instead of using your queries? How is your VBA? pedro at plex.nl wrote:Hello Group, I have an ID (text, because it begins with 00) that exist of 8 numbers. I need to change this ID by removing the first 0, and by adding a extra control number. This control number can be calculated from this ID. This can be done by several query?s. Is it possible to do in one query?? For example. I have ID: 00327833 Take the number of the odd positions: 0 3 7 3 Place these numbers behind each other to make one number: 0373 Multiply this number with 2: 0373 x 2 = 0746 Count up the separate numbers from this last multiplication: 0 + 7 + 4 + 6 = 17 >From the original ID, take the even positions: 0 2 8 3 Count up the separate numbers from the even positions with the sum of the last count up: 17 + 0 + 2 + 8 + 3 = 30 The last number of the previous sum is the extra control number: 0 >From the original ID, remove the first 0 and add the control number: 03278330 Who can help me with this? TIA Pedro Janssen -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com May God bless you beyond your imagination! Lonnie Johnson ProDev, Professional Development of MS Access Databases Visit me at ==> http://www.prodev.us --------------------------------- Start your day with Yahoo! - make it your home page From andy at minstersystems.co.uk Fri Aug 26 05:45:33 2005 From: andy at minstersystems.co.uk (Andy Lacey) Date: Fri, 26 Aug 2005 11:45:33 +0100 Subject: [AccessD] adding control number Message-ID: <20050826104531.53FBC24E332@smtp.nildram.co.uk> I agree wholeheartedly with Lonnie. That's what I'd do. It was an interesting exercise doing it in one shot but I wouldn't want to have to maintain that. -- 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] adding control number Date: 26/08/05 10:33 Why not write a function in VBA and do everything you just said instead of using your queries? How is your VBA? pedro at plex.nl wrote:Hello Group, I have an ID (text, because it begins with 00) that exist of 8 numbers. I need to change this ID by removing the first 0, and by adding a extra control number. This control number can be calculated from this ID. This can be done by several query?s. Is it possible to do in one query?? For example. I have ID: 00327833 Take the number of the odd positions: 0 3 7 3 Place these numbers behind each other to make one number: 0373 Multiply this number with 2: 0373 x 2 = 0746 Count up the separate numbers from this last multiplication: 0 + 7 + 4 + 6 = 17 >From the original ID, take the even positions: 0 2 8 3 Count up the separate numbers from the even positions with the sum of the last count up: 17 + 0 + 2 + 8 + 3 = 30 The last number of the previous sum is the extra control number: 0 >From the original ID, remove the first 0 and add the control number: 03278330 Who can help me with this? TIA Pedro Janssen -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com May God bless you beyond your imagination! Lonnie Johnson ProDev, Professional Development of MS Access Databases Visit me at ==> http://www.prodev.us --------------------------------- Start your day with Yahoo! - make it your home page -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com ________________________________________________ Message sent using UebiMiau 2.7.2 From jwcolby at colbyconsulting.com Fri Aug 26 05:51:34 2005 From: jwcolby at colbyconsulting.com (John W. Colby) Date: Fri, 26 Aug 2005 06:51:34 -0400 Subject: [AccessD] OT: Roz's Novel In-Reply-To: <20050826101733.47892.qmail@web50109.mail.yahoo.com> Message-ID: <021e01c5aa2c$206155e0$6c7aa8c0@ColbyM6805> My favorite book. ;-) John W. Colby www.ColbyConsulting.com Contribute your unused CPU cycles to a good cause: http://folding.stanford.edu/ -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Roz Clarke Sent: Friday, August 26, 2005 6:18 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] OT: Roz's Novel Harry Colby and the Nobility of Bound Versus the Attractions of Unbound --- Andy Lacey wrote: > It's Friday so we can go for suggestions for alternative titles for > Roz's book. I'll start the ball rolling. > > Firstly I was musing about her subject matter and thinking of another > work which treats that broad subject. Thus I came up with "Hamlet - > The SQL". But that's more for the literary end of the market. Or, Roz, > you could blatantly go for the market of people who don't really read > but will do if it's a children's book that's ok for adults to be seen > with - so "Harry Potter And The Nobility Of Truth Versus The > Attractions Of Artifice" (catchy I thought). Finally if you wanted > another theme how about a book for gullible Ark theorists who like Dan > Brown but prefer a quicker read - "The Da Vinci Compiler" (groan). > > -- Andy Lacey > http://www.minstersystems.co.uk > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > Send instant messages to your online friends http://uk.messenger.yahoo.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From jwcolby at colbyconsulting.com Fri Aug 26 06:10:30 2005 From: jwcolby at colbyconsulting.com (John W. Colby) Date: Fri, 26 Aug 2005 07:10:30 -0400 Subject: [AccessD] DotNet passing by value Message-ID: <021f01c5aa2e$c88d7b20$6c7aa8c0@ColbyM6805> As you might be aware, VB.Net (and I assume the other .net languages as well) pass all variables by value. But what does this mean, and is it true. As you know, everything in .net is an object, even common variables such as an integer or decimal etc. Passing by value (in other languages) means placing a COPY of the variable (or object in this case) on the stack as the function is called. In VBA for example, when you pass by value, it really does ONLY for the simple data types, passing anything else (including strings) by value. Imagine passing a string, which could be a million bytes, by value - literally making a copy and passing that into the stack. IIRC the total stack space for a given program in an Intel machine is something like 128 kbytes which means that passing a single (huge) string by value could cause a stack overflow. Now DotNet comes along claiming to pass everything by value. Is this more doublespeak? And if so, what is the truth? John W. Colby www.ColbyConsulting.com Contribute your unused CPU cycles to a good cause: http://folding.stanford.edu/ From jwcolby at colbyconsulting.com Fri Aug 26 06:21:46 2005 From: jwcolby at colbyconsulting.com (John W. Colby) Date: Fri, 26 Aug 2005 07:21:46 -0400 Subject: [AccessD] DotNet passing by value In-Reply-To: <021f01c5aa2e$c88d7b20$6c7aa8c0@ColbyM6805> Message-ID: <022001c5aa30$5df64560$6c7aa8c0@ColbyM6805> Oooops... >.. passing anything else (including strings) by value. Should have said "by reference", i.e. placing a pointer to the object on the stack. John W. Colby www.ColbyConsulting.com Contribute your unused CPU cycles to a good cause: http://folding.stanford.edu/ -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of John W. Colby Sent: Friday, August 26, 2005 7:11 AM To: dba-vb at databaseadvisors.com; 'Access Developers discussion and problemsolving' Subject: [AccessD] DotNet passing by value As you might be aware, VB.Net (and I assume the other .net languages as well) pass all variables by value. But what does this mean, and is it true. As you know, everything in .net is an object, even common variables such as an integer or decimal etc. Passing by value (in other languages) means placing a COPY of the variable (or object in this case) on the stack as the function is called. In VBA for example, when you pass by value, it really does ONLY for the simple data types, passing anything else (including strings) by value. Imagine passing a string, which could be a million bytes, by value - literally making a copy and passing that into the stack. IIRC the total stack space for a given program in an Intel machine is something like 128 kbytes which means that passing a single (huge) string by value could cause a stack overflow. Now DotNet comes along claiming to pass everything by value. Is this more doublespeak? And if so, what is the truth? John W. Colby www.ColbyConsulting.com Contribute your unused CPU cycles to a good cause: http://folding.stanford.edu/ -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From Gustav at cactus.dk Fri Aug 26 06:40:18 2005 From: Gustav at cactus.dk (Gustav Brock) Date: Fri, 26 Aug 2005 13:40:18 +0200 Subject: [AccessD] adding control number Message-ID: Hi Pedro Looks like a Modulus 10 check digit calculation. Below is a function that will do this for you in a maintainable way. Use it like this: strChk = Right(ModulusAppend("00327833", 10), Len("00327833")) /gustav Function ModulusAppend( _ ByVal strNumber As String, _ ByVal intModulus As Integer) _ As String ' Appends a Modulus 10 or 11 check digit to strNumber. ' ' 1999-10-08. Cactus Data ApS, CPH. Dim intC As Integer, intF As Integer, intN As Integer Dim intL As Integer, intM As Integer, intT As Integer Dim strNumCheck As String Dim strNumChr As String Dim strNumClean As String ' Max. length of number. intM = 32 - 1 If intModulus = 10 Or intModulus = 11 Then intL = Len(strNumber) ' Remove non-digits. For intN = 0 To intL - 1 strNumChr = Mid(strNumber, intN + 1, 1) If (Asc(strNumChr) >= 48) And (Asc(strNumChr) <= 57) Then strNumClean = strNumClean & strNumChr End If Next intN strNumber = strNumClean intL = Len(strNumber) End If If intL > 0 And intL <= intM Then For intN = 0 To intL - 1 intC = Val(Mid(strNumber, intL - intN, 1)) Select Case intModulus Case Is = 10 intF = (1 + ((intN + 1) Mod 2)) intC = intF * intC intC = Int(intC / 10) + (intC Mod 10) Case Is = 11 intF = 2 + (intN Mod 6) intC = intF * intC End Select intT = intT + intC Next Select Case intModulus Case Is = 10 intC = intT - (intT Mod intModulus) + intModulus strNumCheck = Format((intC - intT) Mod intModulus, "@") Case Is = 11 intC = intModulus - (intT Mod intModulus) Select Case intC Case Is = 11 ' A check digit for this number cannot be calculated! strNumber = vbNullString intC = 0 Beep Case Is = 10 intC = 0 End Select strNumCheck = Format(intC, "@") End Select strNumber = strNumber & strNumCheck Else strNumber = "0" End If ModulusAppend = strNumber End Function >>> pedro at plex.nl 26-08-2005 11:11 >>> Hello Group, I have an ID (text, because it begins with 00) that exist of 8 numbers. I need to change this ID by removing the first 0, and by adding a extra control number. This control number can be calculated from this ID. This can be done by several query's. Is it possible to do in one query?? For example. I have ID: 00327833 Take the number of the odd positions: 0 3 7 3 Place these numbers behind each other to make one number: 0373 Multiply this number with 2: 0373 x 2 = 0746 Count up the separate numbers from this last multiplication: 0 + 7 + 4 + 6 = 17 >From the original ID, take the even positions: 0 2 8 3 Count up the separate numbers from the even positions with the sum of the last count up: 17 + 0 + 2 + 8 + 3 = 30 The last number of the previous sum is the extra control number: 0 >From the original ID, remove the first 0 and add the control number: 03278330 From dejpolsys at hotmail.com Fri Aug 26 06:50:51 2005 From: dejpolsys at hotmail.com (William Hindman) Date: Fri, 26 Aug 2005 07:50:51 -0400 Subject: [AccessD] OT: Roz's Novel References: <021e01c5aa2c$206155e0$6c7aa8c0@ColbyM6805> Message-ID: ..and by far, the longest :) William ----- Original Message ----- From: "John W. Colby" To: "'Access Developers discussion and problem solving'" Sent: Friday, August 26, 2005 6:51 AM Subject: RE: [AccessD] OT: Roz's Novel > My favorite book. ;-) > > John W. Colby > www.ColbyConsulting.com > > Contribute your unused CPU cycles to a good cause: > http://folding.stanford.edu/ > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Roz Clarke > Sent: Friday, August 26, 2005 6:18 AM > To: Access Developers discussion and problem solving > Subject: Re: [AccessD] OT: Roz's Novel > > > Harry Colby and the Nobility of Bound Versus the Attractions of Unbound > > > --- Andy Lacey wrote: > >> It's Friday so we can go for suggestions for alternative titles for >> Roz's book. I'll start the ball rolling. >> >> Firstly I was musing about her subject matter and thinking of another >> work which treats that broad subject. Thus I came up with "Hamlet - >> The SQL". But that's more for the literary end of the market. Or, Roz, >> you could blatantly go for the market of people who don't really read >> but will do if it's a children's book that's ok for adults to be seen >> with - so "Harry Potter And The Nobility Of Truth Versus The >> Attractions Of Artifice" (catchy I thought). Finally if you wanted >> another theme how about a book for gullible Ark theorists who like Dan >> Brown but prefer a quicker read - "The Da Vinci Compiler" (groan). >> >> -- Andy Lacey >> http://www.minstersystems.co.uk >> >> -- >> AccessD mailing list >> AccessD at databaseadvisors.com >> http://databaseadvisors.com/mailman/listinfo/accessd >> Website: http://www.databaseadvisors.com >> > > > > > > > Send instant messages to your online friends http://uk.messenger.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 > From John.Clark at niagaracounty.com Fri Aug 26 06:49:50 2005 From: John.Clark at niagaracounty.com (John Clark) Date: Fri, 26 Aug 2005 07:49:50 -0400 Subject: [AccessD] OT: Roz's Novel Message-ID: Now THIS would start a nice thread on OT. Statements like, "Finally if you wanted another theme how about a book for gullible Ark theorists who like Dan Brown but...," which to me implies that anyone who may contemplate alternatives to the accepted norm is gullible, while to me those that just accept the norm are more prone to be gullible, will get the posts pumpin'. Ah, but this is for OT, so we'll see. I do like the title though ;) J Clark >>> andy at minstersystems.co.uk 8/26/2005 3:20 AM >>> It's Friday so we can go for suggestions for alternative titles for Roz's book. I'll start the ball rolling. Firstly I was musing about her subject matter and thinking of another work which treats that broad subject. Thus I came up with "Hamlet - The SQL". But that's more for the literary end of the market. Or, Roz, you could blatantly go for the market of people who don't really read but will do if it's a children's book that's ok for adults to be seen with - so "Harry Potter And The Nobility Of Truth Versus The Attractions Of Artifice" (catchy I thought). Finally if you wanted another theme how about a book for gullible Ark theorists who like Dan Brown but prefer a quicker read - "The Da Vinci Compiler" (groan). -- Andy Lacey http://www.minstersystems.co.uk -- 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 Aug 26 06:58:35 2005 From: andy at minstersystems.co.uk (Andy Lacey) Date: Fri, 26 Aug 2005 12:58:35 +0100 Subject: [AccessD] OT: Roz's Novel Message-ID: <20050826115832.C9AAF2547C4@smtp.nildram.co.uk> Was waiting for that to get a response ;-) -- Andy Lacey http://www.minstersystems.co.uk --------- Original Message -------- From: "Access Developers discussion and problem solving" To: "accessd at databaseadvisors.com" Subject: Re: [AccessD] OT: Roz's Novel Date: 26/08/05 11:52 Now THIS would start a nice thread on OT. Statements like, "Finally if you wanted another theme how about a book for gullible Ark theorists who like Dan Brown but...," which to me implies that anyone who may contemplate alternatives to the accepted norm is gullible, while to me those that just accept the norm are more prone to be gullible, will get the posts pumpin'. Ah, but this is for OT, so we'll see. I do like the title though ;) J Clark >>> andy at minstersystems.co.uk 8/26/2005 3:20 AM >>> It's Friday so we can go for suggestions for alternative titles for Roz's book. I'll start the ball rolling. Firstly I was musing about her subject matter and thinking of another work which treats that broad subject. Thus I came up with "Hamlet - The SQL". But that's more for the literary end of the market. Or, Roz, you could blatantly go for the market of people who don't really read but will do if it's a children's book that's ok for adults to be seen with - so "Harry Potter And The Nobility Of Truth Versus The Attractions Of Artifice" (catchy I thought). Finally if you wanted another theme how about a book for gullible Ark theorists who like Dan Brown but prefer a quicker read - "The Da Vinci Compiler" (groan). -- Andy Lacey http://www.minstersystems.co.uk -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com ________________________________________________ Message sent using UebiMiau 2.7.2 From shamil at users.mns.ru Fri Aug 26 07:24:31 2005 From: shamil at users.mns.ru (Shamil Salakhetdinov) Date: Fri, 26 Aug 2005 16:24:31 +0400 Subject: [AccessD] DotNet passing by value References: <022001c5aa30$5df64560$6c7aa8c0@ColbyM6805> Message-ID: <003101c5aa39$2837cad0$6501a8c0@fincomplex.spb.ru> John, AFAIK VBA passes ByVal strings by reference but it first makes the copy of the string to the heap memory... The same should be true for VB.NET/C#. So, one million bytes' length string will be copied to the heap memory and then passed internally by ref. Heap memory is handled by virtual memory management system - it should work rather well if one has speedy moderrn HHDs for automatic swapping... But of course passing one million bytes long strings as a ByVal parameter isn't a good idea at all.... > As you know, everything in .net is an object Yes, everything is an object but scalar types are used internall as they are usually used in unmanaged systems - this optimization is done by .NET Framework compilers. When a scalar type has to be treated as an object it is getting "boxed" - boxing is a ,NET Framework term: See also: Writing Faster Managed Code: Know What Things Cost http://msdn.microsoft.com/library/default.asp?url=/library/en-us/dndotnet/html/fastmanagedcode.asp Shamil ----- Original Message ----- From: "John W. Colby" To: "'Access Developers discussion and problem solving'" Sent: Friday, August 26, 2005 3:21 PM Subject: RE: [AccessD] DotNet passing by value > Oooops... > > >.. passing anything else (including strings) by value. > > Should have said "by reference", i.e. placing a pointer to the object on the > stack. > > John W. Colby > www.ColbyConsulting.com > > Contribute your unused CPU cycles to a good cause: > http://folding.stanford.edu/ > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of John W. Colby > Sent: Friday, August 26, 2005 7:11 AM > To: dba-vb at databaseadvisors.com; 'Access Developers discussion and > problemsolving' > Subject: [AccessD] DotNet passing by value > > > As you might be aware, VB.Net (and I assume the other .net languages as > well) pass all variables by value. But what does this mean, and is it true. > As you know, everything in .net is an object, even common variables such as > an integer or decimal etc. Passing by value (in other languages) means > placing a COPY of the variable (or object in this case) on the stack as the > function is called. In VBA for example, when you pass by value, it really > does ONLY for the simple data types, passing anything else (including > strings) by value. > > Imagine passing a string, which could be a million bytes, by value - > literally making a copy and passing that into the stack. IIRC the total > stack space for a given program in an Intel machine is something like 128 > kbytes which means that passing a single (huge) string by value could cause > a stack overflow. Now DotNet comes along claiming to pass everything by > value. Is this more doublespeak? And if so, what is the truth? > > John W. Colby > www.ColbyConsulting.com > > Contribute your unused CPU cycles to a good cause: > http://folding.stanford.edu/ > > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > > > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com From jwcolby at colbyconsulting.com Fri Aug 26 07:34:20 2005 From: jwcolby at colbyconsulting.com (John W. Colby) Date: Fri, 26 Aug 2005 08:34:20 -0400 Subject: [AccessD] DotNet passing by value In-Reply-To: <003101c5aa39$2837cad0$6501a8c0@fincomplex.spb.ru> Message-ID: <022201c5aa3a$7bb03de0$6c7aa8c0@ColbyM6805> Does this imply that it makes a copy of every object before passing a pointer to that copy of the object? That seems like a lot of overhead. And is there any way to set the default to true "by reference"? I am accustomed to "by reference", and know what that means, and am accustomed to thinking about whether I am modifying the original object. John W. Colby www.ColbyConsulting.com Contribute your unused CPU cycles to a good cause: http://folding.stanford.edu/ -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Shamil Salakhetdinov Sent: Friday, August 26, 2005 8:25 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] DotNet passing by value John, AFAIK VBA passes ByVal strings by reference but it first makes the copy of the string to the heap memory... The same should be true for VB.NET/C#. So, one million bytes' length string will be copied to the heap memory and then passed internally by ref. Heap memory is handled by virtual memory management system - it should work rather well if one has speedy moderrn HHDs for automatic swapping... But of course passing one million bytes long strings as a ByVal parameter isn't a good idea at all.... > As you know, everything in .net is an object Yes, everything is an object but scalar types are used internall as they are usually used in unmanaged systems - this optimization is done by .NET Framework compilers. When a scalar type has to be treated as an object it is getting "boxed" - boxing is a ,NET Framework term: See also: Writing Faster Managed Code: Know What Things Cost http://msdn.microsoft.com/library/default.asp?url=/library/en-us/dndotnet/ht ml/fastmanagedcode.asp Shamil ----- Original Message ----- From: "John W. Colby" To: "'Access Developers discussion and problem solving'" Sent: Friday, August 26, 2005 3:21 PM Subject: RE: [AccessD] DotNet passing by value > Oooops... > > >.. passing anything else (including strings) by value. > > Should have said "by reference", i.e. placing a pointer to the object > on the > stack. > > John W. Colby > www.ColbyConsulting.com > > Contribute your unused CPU cycles to a good cause: > http://folding.stanford.edu/ > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of John W. > Colby > Sent: Friday, August 26, 2005 7:11 AM > To: dba-vb at databaseadvisors.com; 'Access Developers discussion and > problemsolving' > Subject: [AccessD] DotNet passing by value > > > As you might be aware, VB.Net (and I assume the other .net languages > as > well) pass all variables by value. But what does this mean, and is it true. > As you know, everything in .net is an object, even common variables > such as > an integer or decimal etc. Passing by value (in other languages) > means placing a COPY of the variable (or object in this case) on the > stack as the > function is called. In VBA for example, when you pass by value, it > really does ONLY for the simple data types, passing anything else > (including > strings) by value. > > Imagine passing a string, which could be a million bytes, by value - > literally making a copy and passing that into the stack. IIRC the > total stack space for a given program in an Intel machine is something > like 128 kbytes which means that passing a single (huge) string by > value could cause > a stack overflow. Now DotNet comes along claiming to pass everything > by value. Is this more doublespeak? And if so, what is the truth? > > John W. Colby > www.ColbyConsulting.com > > Contribute your unused CPU cycles to a good cause: > http://folding.stanford.edu/ > > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > > > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From jwcolby at colbyconsulting.com Fri Aug 26 07:38:40 2005 From: jwcolby at colbyconsulting.com (John W. Colby) Date: Fri, 26 Aug 2005 08:38:40 -0400 Subject: [AccessD] OT: FireFox not wrapping Message-ID: <022401c5aa3b$19dacfd0$6c7aa8c0@ColbyM6805> Does anyone know how to get firefox to wrap to the screen dimensions? I am viewing MS pages which trail off to the side (have to use the slider) in FF but wrap correctly in IE. John W. Colby www.ColbyConsulting.com Contribute your unused CPU cycles to a good cause: http://folding.stanford.edu/ From jwcolby at colbyconsulting.com Fri Aug 26 07:42:42 2005 From: jwcolby at colbyconsulting.com (John W. Colby) Date: Fri, 26 Aug 2005 08:42:42 -0400 Subject: [AccessD] DotNet passing by value In-Reply-To: <003101c5aa39$2837cad0$6501a8c0@fincomplex.spb.ru> Message-ID: <022501c5aa3b$aa060200$6c7aa8c0@ColbyM6805> Good article so far (not done yet). John W. Colby www.ColbyConsulting.com Contribute your unused CPU cycles to a good cause: http://folding.stanford.edu/ -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Shamil Salakhetdinov Sent: Friday, August 26, 2005 8:25 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] DotNet passing by value John, AFAIK VBA passes ByVal strings by reference but it first makes the copy of the string to the heap memory... The same should be true for VB.NET/C#. So, one million bytes' length string will be copied to the heap memory and then passed internally by ref. Heap memory is handled by virtual memory management system - it should work rather well if one has speedy moderrn HHDs for automatic swapping... But of course passing one million bytes long strings as a ByVal parameter isn't a good idea at all.... > As you know, everything in .net is an object Yes, everything is an object but scalar types are used internall as they are usually used in unmanaged systems - this optimization is done by .NET Framework compilers. When a scalar type has to be treated as an object it is getting "boxed" - boxing is a ,NET Framework term: See also: Writing Faster Managed Code: Know What Things Cost http://msdn.microsoft.com/library/default.asp?url=/library/en-us/dndotnet/ht ml/fastmanagedcode.asp Shamil ----- Original Message ----- From: "John W. Colby" To: "'Access Developers discussion and problem solving'" Sent: Friday, August 26, 2005 3:21 PM Subject: RE: [AccessD] DotNet passing by value > Oooops... > > >.. passing anything else (including strings) by value. > > Should have said "by reference", i.e. placing a pointer to the object > on the > stack. > > John W. Colby > www.ColbyConsulting.com > > Contribute your unused CPU cycles to a good cause: > http://folding.stanford.edu/ > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of John W. > Colby > Sent: Friday, August 26, 2005 7:11 AM > To: dba-vb at databaseadvisors.com; 'Access Developers discussion and > problemsolving' > Subject: [AccessD] DotNet passing by value > > > As you might be aware, VB.Net (and I assume the other .net languages > as > well) pass all variables by value. But what does this mean, and is it true. > As you know, everything in .net is an object, even common variables > such as > an integer or decimal etc. Passing by value (in other languages) > means placing a COPY of the variable (or object in this case) on the > stack as the > function is called. In VBA for example, when you pass by value, it > really does ONLY for the simple data types, passing anything else > (including > strings) by value. > > Imagine passing a string, which could be a million bytes, by value - > literally making a copy and passing that into the stack. IIRC the > total stack space for a given program in an Intel machine is something > like 128 kbytes which means that passing a single (huge) string by > value could cause > a stack overflow. Now DotNet comes along claiming to pass everything > by value. Is this more doublespeak? And if so, what is the truth? > > John W. Colby > www.ColbyConsulting.com > > Contribute your unused CPU cycles to a good cause: > http://folding.stanford.edu/ > > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > > > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > 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 verizon.net Fri Aug 26 07:47:44 2005 From: mikedorism at verizon.net (Mike & Doris Manning) Date: Fri, 26 Aug 2005 08:47:44 -0400 Subject: [AccessD] DotNet passing by value In-Reply-To: <022201c5aa3a$7bb03de0$6c7aa8c0@ColbyM6805> Message-ID: <000201c5aa3c$5cb3bcd0$2e01a8c0@dorismanning> When you declare the variable, you can set the default. Dim bolTest as Boolean = False Doris Manning mikedorism at verizon.net -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of John W. Colby Sent: Friday, August 26, 2005 8:34 AM To: 'Access Developers discussion and problem solving' Subject: RE: [AccessD] DotNet passing by value Does this imply that it makes a copy of every object before passing a pointer to that copy of the object? That seems like a lot of overhead. And is there any way to set the default to true "by reference"? I am accustomed to "by reference", and know what that means, and am accustomed to thinking about whether I am modifying the original object. John W. Colby www.ColbyConsulting.com Contribute your unused CPU cycles to a good cause: http://folding.stanford.edu/ -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Shamil Salakhetdinov Sent: Friday, August 26, 2005 8:25 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] DotNet passing by value John, AFAIK VBA passes ByVal strings by reference but it first makes the copy of the string to the heap memory... The same should be true for VB.NET/C#. So, one million bytes' length string will be copied to the heap memory and then passed internally by ref. Heap memory is handled by virtual memory management system - it should work rather well if one has speedy moderrn HHDs for automatic swapping... But of course passing one million bytes long strings as a ByVal parameter isn't a good idea at all.... > As you know, everything in .net is an object Yes, everything is an object but scalar types are used internall as they are usually used in unmanaged systems - this optimization is done by .NET Framework compilers. When a scalar type has to be treated as an object it is getting "boxed" - boxing is a ,NET Framework term: See also: Writing Faster Managed Code: Know What Things Cost http://msdn.microsoft.com/library/default.asp?url=/library/en-us/dndotnet/ht ml/fastmanagedcode.asp Shamil ----- Original Message ----- From: "John W. Colby" To: "'Access Developers discussion and problem solving'" Sent: Friday, August 26, 2005 3:21 PM Subject: RE: [AccessD] DotNet passing by value > Oooops... > > >.. passing anything else (including strings) by value. > > Should have said "by reference", i.e. placing a pointer to the object > on the > stack. > > John W. Colby > www.ColbyConsulting.com > > Contribute your unused CPU cycles to a good cause: > http://folding.stanford.edu/ > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of John W. > Colby > Sent: Friday, August 26, 2005 7:11 AM > To: dba-vb at databaseadvisors.com; 'Access Developers discussion and > problemsolving' > Subject: [AccessD] DotNet passing by value > > > As you might be aware, VB.Net (and I assume the other .net languages > as > well) pass all variables by value. But what does this mean, and is it true. > As you know, everything in .net is an object, even common variables > such as > an integer or decimal etc. Passing by value (in other languages) > means placing a COPY of the variable (or object in this case) on the > stack as the > function is called. In VBA for example, when you pass by value, it > really does ONLY for the simple data types, passing anything else > (including > strings) by value. > > Imagine passing a string, which could be a million bytes, by value - > literally making a copy and passing that into the stack. IIRC the > total stack space for a given program in an Intel machine is something > like 128 kbytes which means that passing a single (huge) string by > value could cause > a stack overflow. Now DotNet comes along claiming to pass everything > by value. Is this more doublespeak? And if so, what is the truth? > > John W. Colby > www.ColbyConsulting.com > > Contribute your unused CPU cycles to a good cause: > http://folding.stanford.edu/ > > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > > > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From shamil at users.mns.ru Fri Aug 26 08:05:55 2005 From: shamil at users.mns.ru (Shamil Salakhetdinov) Date: Fri, 26 Aug 2005 17:05:55 +0400 Subject: [AccessD] DotNet passing by value References: <022201c5aa3a$7bb03de0$6c7aa8c0@ColbyM6805> Message-ID: <000e01c5aa3e$ebef7400$6501a8c0@fincomplex.spb.ru> No, objects are always passed by reference - here is a quick test, which shows the difference (watch line wraps): Module Module1 Class TestMe Public TestInt As Integer = 0 End Class Sub Main() Dim obj As TestMe = New TestMe Dim s As String = "***" testObject(obj, s) Console.WriteLine(String.Format("ByVal test: [{0}] [{1}]", obj.TestInt.ToString(), s)) obj.TestInt = 0 testObject1(obj, s) Console.WriteLine(String.Format("ByRef test: [{0}] [{1}]", obj.TestInt.ToString(), s)) End Sub Sub testObject(ByVal obj As TestMe, ByVal s As String) obj.TestInt = 503 s = "503" End Sub Sub testObject1(ByRef obj As TestMe, ByRef s As String) obj.TestInt = 503 s = "503" End Sub To pass objects by value you have to implement custom cloning: See also: 1. IClonable interface 2. http://www.windojitsu.com/blog/copyctorvsicloneable.html ( Copy Constructors vs ICloneable -- Redux (Updated!)) Shamil ----- Original Message ----- From: "John W. Colby" To: "'Access Developers discussion and problem solving'" Sent: Friday, August 26, 2005 4:34 PM Subject: RE: [AccessD] DotNet passing by value > Does this imply that it makes a copy of every object before passing a > pointer to that copy of the object? That seems like a lot of overhead. And > is there any way to set the default to true "by reference"? I am accustomed > to "by reference", and know what that means, and am accustomed to thinking > about whether I am modifying the original object. > > John W. Colby > www.ColbyConsulting.com > > Contribute your unused CPU cycles to a good cause: > http://folding.stanford.edu/ > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Shamil > Salakhetdinov > Sent: Friday, August 26, 2005 8:25 AM > To: Access Developers discussion and problem solving > Subject: Re: [AccessD] DotNet passing by value > > > John, > > AFAIK VBA passes ByVal strings by reference but it first makes the copy of > the string to the heap memory... The same should be true for VB.NET/C#. So, > one million bytes' length string will be copied to the heap memory and then > passed internally by ref. Heap memory is handled by virtual memory > management system - it should work rather well if one has speedy moderrn > HHDs for automatic swapping... > > But of course passing one million bytes long strings as a ByVal parameter > isn't a good idea at all.... > > > As you know, everything in .net is an object > Yes, everything is an object but scalar types are used internall as they are > usually used in unmanaged systems - this optimization is done by .NET > Framework compilers. When a scalar type has to be treated as an object it is > getting "boxed" - boxing is a ,NET Framework term: > > See also: > > Writing Faster Managed Code: Know What Things Cost > http://msdn.microsoft.com/library/default.asp?url=/library/en-us/dndotnet/ht > ml/fastmanagedcode.asp > > Shamil > > ----- Original Message ----- > From: "John W. Colby" > To: "'Access Developers discussion and problem solving'" > > Sent: Friday, August 26, 2005 3:21 PM > Subject: RE: [AccessD] DotNet passing by value > > > > Oooops... > > > > >.. passing anything else (including strings) by value. > > > > Should have said "by reference", i.e. placing a pointer to the object > > on > the > > stack. > > > > John W. Colby > > www.ColbyConsulting.com > > > > Contribute your unused CPU cycles to a good cause: > > http://folding.stanford.edu/ > > > > -----Original Message----- > > From: accessd-bounces at databaseadvisors.com > > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of John W. > > Colby > > Sent: Friday, August 26, 2005 7:11 AM > > To: dba-vb at databaseadvisors.com; 'Access Developers discussion and > > problemsolving' > > Subject: [AccessD] DotNet passing by value > > > > > > As you might be aware, VB.Net (and I assume the other .net languages > > as > > well) pass all variables by value. But what does this mean, and is it > true. > > As you know, everything in .net is an object, even common variables > > such > as > > an integer or decimal etc. Passing by value (in other languages) > > means placing a COPY of the variable (or object in this case) on the > > stack as > the > > function is called. In VBA for example, when you pass by value, it > > really does ONLY for the simple data types, passing anything else > > (including > > strings) by value. > > > > Imagine passing a string, which could be a million bytes, by value - > > literally making a copy and passing that into the stack. IIRC the > > total stack space for a given program in an Intel machine is something > > like 128 kbytes which means that passing a single (huge) string by > > value could > cause > > a stack overflow. Now DotNet comes along claiming to pass everything > > by value. Is this more doublespeak? And if so, what is the truth? > > > > John W. Colby > > www.ColbyConsulting.com > > > > Contribute your unused CPU cycles to a good cause: > > http://folding.stanford.edu/ > > > > > > -- > > AccessD mailing list > > AccessD at databaseadvisors.com > > http://databaseadvisors.com/mailman/listinfo/accessd > > Website: http://www.databaseadvisors.com > > > > > > > > -- > > AccessD mailing list > > AccessD at databaseadvisors.com > > http://databaseadvisors.com/mailman/listinfo/accessd > > Website: http://www.databaseadvisors.com > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > 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 Fri Aug 26 08:02:44 2005 From: artful at rogers.com (Arthur Fuller) Date: Fri, 26 Aug 2005 09:02:44 -0400 Subject: [AccessD] OT: Roz's Novel In-Reply-To: <20050826101542.48751.qmail@web50106.mail.yahoo.com> Message-ID: <200508261302.j7QD2mR12703@databaseadvisors.com> Roz on Extra-Marital Relationships? -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Roz Clarke Sent: August 26, 2005 6:16 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] OT: Roz's Novel Or one for the OT list... Fear of Flaming Roz From jwcolby at colbyconsulting.com Fri Aug 26 08:04:38 2005 From: jwcolby at colbyconsulting.com (John W. Colby) Date: Fri, 26 Aug 2005 09:04:38 -0400 Subject: [AccessD] DotNet passing by value In-Reply-To: <000201c5aa3c$5cb3bcd0$2e01a8c0@dorismanning> Message-ID: <022601c5aa3e$b70ddb00$6c7aa8c0@ColbyM6805> Sorry, I was referring to setting the default "pass by" method to TRUE "by reference" - passing a pointer to the original object, not a copy of the object. John W. Colby www.ColbyConsulting.com Contribute your unused CPU cycles to a good cause: http://folding.stanford.edu/ -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Mike & Doris Manning Sent: Friday, August 26, 2005 8:48 AM To: 'Access Developers discussion and problem solving' Subject: RE: [AccessD] DotNet passing by value When you declare the variable, you can set the default. Dim bolTest as Boolean = False Doris Manning mikedorism at verizon.net -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of John W. Colby Sent: Friday, August 26, 2005 8:34 AM To: 'Access Developers discussion and problem solving' Subject: RE: [AccessD] DotNet passing by value Does this imply that it makes a copy of every object before passing a pointer to that copy of the object? That seems like a lot of overhead. And is there any way to set the default to true "by reference"? I am accustomed to "by reference", and know what that means, and am accustomed to thinking about whether I am modifying the original object. John W. Colby www.ColbyConsulting.com Contribute your unused CPU cycles to a good cause: http://folding.stanford.edu/ -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Shamil Salakhetdinov Sent: Friday, August 26, 2005 8:25 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] DotNet passing by value John, AFAIK VBA passes ByVal strings by reference but it first makes the copy of the string to the heap memory... The same should be true for VB.NET/C#. So, one million bytes' length string will be copied to the heap memory and then passed internally by ref. Heap memory is handled by virtual memory management system - it should work rather well if one has speedy moderrn HHDs for automatic swapping... But of course passing one million bytes long strings as a ByVal parameter isn't a good idea at all.... > As you know, everything in .net is an object Yes, everything is an object but scalar types are used internall as they are usually used in unmanaged systems - this optimization is done by .NET Framework compilers. When a scalar type has to be treated as an object it is getting "boxed" - boxing is a ,NET Framework term: See also: Writing Faster Managed Code: Know What Things Cost http://msdn.microsoft.com/library/default.asp?url=/library/en-us/dndotnet/ht ml/fastmanagedcode.asp Shamil ----- Original Message ----- From: "John W. Colby" To: "'Access Developers discussion and problem solving'" Sent: Friday, August 26, 2005 3:21 PM Subject: RE: [AccessD] DotNet passing by value > Oooops... > > >.. passing anything else (including strings) by value. > > Should have said "by reference", i.e. placing a pointer to the object > on the > stack. > > John W. Colby > www.ColbyConsulting.com > > Contribute your unused CPU cycles to a good cause: > http://folding.stanford.edu/ > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of John W. > Colby > Sent: Friday, August 26, 2005 7:11 AM > To: dba-vb at databaseadvisors.com; 'Access Developers discussion and > problemsolving' > Subject: [AccessD] DotNet passing by value > > > As you might be aware, VB.Net (and I assume the other .net languages > as > well) pass all variables by value. But what does this mean, and is it true. > As you know, everything in .net is an object, even common variables > such as > an integer or decimal etc. Passing by value (in other languages) > means placing a COPY of the variable (or object in this case) on the > stack as the > function is called. In VBA for example, when you pass by value, it > really does ONLY for the simple data types, passing anything else > (including > strings) by value. > > Imagine passing a string, which could be a million bytes, by value - > literally making a copy and passing that into the stack. IIRC the > total stack space for a given program in an Intel machine is something > like 128 kbytes which means that passing a single (huge) string by > value could cause > a stack overflow. Now DotNet comes along claiming to pass everything > by value. Is this more doublespeak? And if so, what is the truth? > > John W. Colby > www.ColbyConsulting.com > > Contribute your unused CPU cycles to a good cause: > http://folding.stanford.edu/ > > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > > > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd 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 Fri Aug 26 03:30:53 2005 From: roz.clarke at donnslaw.co.uk (Roz Clarke) Date: Fri, 26 Aug 2005 09:30:53 +0100 Subject: [AccessD] OT: Roz's Novel Message-ID: <61F915314798D311A2F800A0C9C8318807225F32@dibble.observatory.donnslaw.co.uk> ROFL. Very good Andy. I had to clutch my head for several minutes after reading that last one. -----Original Message----- From: Andy Lacey [mailto:andy at minstersystems.co.uk] Sent: 26 August 2005 08:21 To: 'Access Developers discussion and problem solving' Subject: [AccessD] OT: Roz's Novel It's Friday so we can go for suggestions for alternative titles for Roz's book. I'll start the ball rolling. Firstly I was musing about her subject matter and thinking of another work which treats that broad subject. Thus I came up with "Hamlet - The SQL". But that's more for the literary end of the market. Or, Roz, you could blatantly go for the market of people who don't really read but will do if it's a children's book that's ok for adults to be seen with - so "Harry Potter And The Nobility Of Truth Versus The Attractions Of Artifice" (catchy I thought). Finally if you wanted another theme how about a book for gullible Ark theorists who like Dan Brown but prefer a quicker read - "The Da Vinci Compiler" (groan). -- Andy Lacey http://www.minstersystems.co.uk -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -------------- next part -------------- The contents of this message and any attachments are the property of Donns Solicitors and are intended for the confidential use of the named recipient only. They may be legally privileged and should not be communicated to, or relied upon, by any other party without our written consent. If you are not the addressee, please notify us immediately so that we can make arrangements for its return. You should not show this e-mail to any person or take copies as you may be committing a criminal or civil offence for which you may be liable. The statement and opinions expressed in this e-mail message are those of the writer, and do not necessarily represent that of Donns Solicitors. Although any files attached to this e-mail will have been checked with virus protection software prior to transmission, you should carry out your own virus check before opening any attachment. Donns Solicitors does not accept any liability for any damage or loss which may be caused by software viruses... From tom.bolton at donnslaw.co.uk Fri Aug 26 05:55:21 2005 From: tom.bolton at donnslaw.co.uk (Tom Bolton) Date: Fri, 26 Aug 2005 11:55:21 +0100 Subject: [AccessD] OT: Roz's Novel Message-ID: <61F915314798D311A2F800A0C9C831880802A32E@dibble.observatory.donnslaw.co.uk> The Bound of the Baskervilles *runs away* -----Original Message----- From: Andy Lacey [mailto:andy at minstersystems.co.uk] Sent: 26-Aug-2005 11:32 To: Access Developers discussion and problem solving Subject: Re: [AccessD] OT: Roz's Novel A best seller waiting to happen. -- 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] OT: Roz's Novel Date: 26/08/05 10:18 Harry Colby and the Nobility of Bound Versus the Attractions of Unbound --- Andy Lacey wrote: > It's Friday so we can go for suggestions for alternative titles for Roz's > book. I'll start the ball rolling. > > Firstly I was musing about her subject matter and thinking of another work > which treats that broad subject. Thus I came up with "Hamlet - The SQL". But > that's more for the literary end of the market. Or, Roz, you could blatantly > go for the market of people who don't really read but will do if it's a > children's book that's ok for adults to be seen with - so "Harry Potter And > The Nobility Of Truth Versus The Attractions Of Artifice" (catchy I > thought). Finally if you wanted another theme how about a book for gullible > Ark theorists who like Dan Brown but prefer a quicker read - "The Da Vinci > Compiler" (groan). > > -- Andy Lacey > http://www.minstersystems.co.uk > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > Send instant messages to your online friends http://uk.messenger.yahoo.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com ________________________________________________ Message sent using UebiMiau 2.7.2 -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -------------- next part -------------- The contents of this message and any attachments are the property of Donns Solicitors and are intended for the confidential use of the named recipient only. They may be legally privileged and should not be communicated to, or relied upon, by any other party without our written consent. If you are not the addressee, please notify us immediately so that we can make arrangements for its return. You should not show this e-mail to any person or take copies as you may be committing a criminal or civil offence for which you may be liable. The statement and opinions expressed in this e-mail message are those of the writer, and do not necessarily represent that of Donns Solicitors. Although any files attached to this e-mail will have been checked with virus protection software prior to transmission, you should carry out your own virus check before opening any attachment. Donns Solicitors does not accept any liability for any damage or loss which may be caused by software viruses... From tom.bolton at donnslaw.co.uk Fri Aug 26 05:53:46 2005 From: tom.bolton at donnslaw.co.uk (Tom Bolton) Date: Fri, 26 Aug 2005 11:53:46 +0100 Subject: [AccessD] OT: Roz's Novel Message-ID: <61F915314798D311A2F800A0C9C831880802A32D@dibble.observatory.donnslaw.co.uk> The 158-Unbound Marriage Or The World According to Clarke P.S. if anyone can think of a way of getting 'A Son of the Circus' in there I'll be impressed -----Original Message----- From: Andy Lacey [mailto:andy at minstersystems.co.uk] Sent: 26-Aug-2005 11:32 To: Access Developers discussion and problem solving Subject: Re: [AccessD] OT: Roz's Novel A best seller waiting to happen. -- 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] OT: Roz's Novel Date: 26/08/05 10:18 Harry Colby and the Nobility of Bound Versus the Attractions of Unbound --- Andy Lacey wrote: > It's Friday so we can go for suggestions for alternative titles for Roz's > book. I'll start the ball rolling. > > Firstly I was musing about her subject matter and thinking of another work > which treats that broad subject. Thus I came up with "Hamlet - The SQL". But > that's more for the literary end of the market. Or, Roz, you could blatantly > go for the market of people who don't really read but will do if it's a > children's book that's ok for adults to be seen with - so "Harry Potter And > The Nobility Of Truth Versus The Attractions Of Artifice" (catchy I > thought). Finally if you wanted another theme how about a book for gullible > Ark theorists who like Dan Brown but prefer a quicker read - "The Da Vinci > Compiler" (groan). > > -- Andy Lacey > http://www.minstersystems.co.uk > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > Send instant messages to your online friends http://uk.messenger.yahoo.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com ________________________________________________ Message sent using UebiMiau 2.7.2 -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -------------- next part -------------- The contents of this message and any attachments are the property of Donns Solicitors and are intended for the confidential use of the named recipient only. They may be legally privileged and should not be communicated to, or relied upon, by any other party without our written consent. If you are not the addressee, please notify us immediately so that we can make arrangements for its return. You should not show this e-mail to any person or take copies as you may be committing a criminal or civil offence for which you may be liable. The statement and opinions expressed in this e-mail message are those of the writer, and do not necessarily represent that of Donns Solicitors. Although any files attached to this e-mail will have been checked with virus protection software prior to transmission, you should carry out your own virus check before opening any attachment. Donns Solicitors does not accept any liability for any damage or loss which may be caused by software viruses... From roz.clarke at donnslaw.co.uk Fri Aug 26 08:11:47 2005 From: roz.clarke at donnslaw.co.uk (Roz Clarke) Date: Fri, 26 Aug 2005 14:11:47 +0100 Subject: [AccessD] OT: Roz's Novel Message-ID: <61F915314798D311A2F800A0C9C8318807225F42@dibble.observatory.donnslaw.co.uk> What are you trying to say? -----Original Message----- From: Arthur Fuller [mailto:artful at rogers.com] Sent: 26 August 2005 14:03 To: 'Access Developers discussion and problem solving' Subject: RE: [AccessD] OT: Roz's Novel Roz on Extra-Marital Relationships? -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Roz Clarke Sent: August 26, 2005 6:16 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] OT: Roz's Novel Or one for the OT list... Fear of Flaming Roz -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -------------- next part -------------- The contents of this message and any attachments are the property of Donns Solicitors and are intended for the confidential use of the named recipient only. They may be legally privileged and should not be communicated to, or relied upon, by any other party without our written consent. If you are not the addressee, please notify us immediately so that we can make arrangements for its return. You should not show this e-mail to any person or take copies as you may be committing a criminal or civil offence for which you may be liable. The statement and opinions expressed in this e-mail message are those of the writer, and do not necessarily represent that of Donns Solicitors. Although any files attached to this e-mail will have been checked with virus protection software prior to transmission, you should carry out your own virus check before opening any attachment. Donns Solicitors does not accept any liability for any damage or loss which may be caused by software viruses... From jwcolby at colbyconsulting.com Fri Aug 26 09:25:45 2005 From: jwcolby at colbyconsulting.com (John W. Colby) Date: Fri, 26 Aug 2005 10:25:45 -0400 Subject: [AccessD] OT: Roz's Novel In-Reply-To: <61F915314798D311A2F800A0C9C8318807225F42@dibble.observatory.donnslaw.co.uk> Message-ID: <025001c5aa4a$0c363c70$6c7aa8c0@ColbyM6805> I was wondering the same thing! I think they took your love of the whip "a step too far". John W. Colby www.ColbyConsulting.com Contribute your unused CPU cycles to a good cause: http://folding.stanford.edu/ -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Roz Clarke Sent: Friday, August 26, 2005 9:12 AM To: 'Access Developers discussion and problem solving' Subject: RE: [AccessD] OT: Roz's Novel What are you trying to say? -----Original Message----- From: Arthur Fuller [mailto:artful at rogers.com] Sent: 26 August 2005 14:03 To: 'Access Developers discussion and problem solving' Subject: RE: [AccessD] OT: Roz's Novel Roz on Extra-Marital Relationships? -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Roz Clarke Sent: August 26, 2005 6:16 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] OT: Roz's Novel Or one for the OT list... Fear of Flaming Roz -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From adtp at touchtelindia.net Fri Aug 26 09:40:05 2005 From: adtp at touchtelindia.net (A.D.Tejpal) Date: Fri, 26 Aug 2005 20:10:05 +0530 Subject: [AccessD] Building SQL statement References: <015101c5a924$4f937db0$6c7aa8c0@ColbyM6805> Message-ID: <237001c5aa4c$259ab720$9a1865cb@winxp> John, Add-In named SQLToVBAString_ver2.zip, available in folder 0_Utilities And Add-Ins, in files section of Yahoo group named MS_Access_Professionals might be of interest to you. Once installed, it coverts an SQL statement into VBA string (duly taking care of extra quotes if any) and copies the contents to the clipboard for direct use in VBA editor. A.D.Tejpal -------------- ----- Original Message ----- From: John W. Colby To: 'Access Developers discussion and problem solving' Sent: Thursday, August 25, 2005 08:53 Subject: [AccessD] Building SQL statement I'm attempting to build a SQL statement to append data into a record. One of the fields is text, including (possibly) any valid text including ' - for example in contractions such as "aren't" etc. My SQL statement is building up a statement in the format: lstrSQL = "INSERT INTO WebNewsItem ( WebNewsSourceID, Link, Title, ArticleDescription ) " & _ "SELECT " & webNewsSourceID & " AS WebNewsSourceID, '" & link & "' AS Link, '" & title & "' AS Title, '" & description & "' AS ArticleDescription;" The problem is that description can contain the ' character and thus I end up with an invalid SQL statement since the ' embedded in description "looks like" the ' that is supposed to enclose the text. I can't for the life of me remember how I am supposed to handle this. I could punt and open a recordset, create a new record, and place the data directly into the field, which I may end up doing but I sure would prefer to just do the "append query" thing. It is (was) much simpler. John W. Colby www.ColbyConsulting.com From jwcolby at colbyconsulting.com Fri Aug 26 09:54:35 2005 From: jwcolby at colbyconsulting.com (John W. Colby) Date: Fri, 26 Aug 2005 10:54:35 -0400 Subject: [AccessD] Building SQL statement In-Reply-To: <237001c5aa4c$259ab720$9a1865cb@winxp> Message-ID: <025401c5aa4e$1302f8a0$6c7aa8c0@ColbyM6805> I thank everyone for their solutions. In fact this is in VB.Net. Fir this particular problem I think the easiest solution will be to open a recordset and place the string into a specific field. I do understand the issue though and the solution if I do want to build a SQL statement. John W. Colby www.ColbyConsulting.com Contribute your unused CPU cycles to a good cause: http://folding.stanford.edu/ -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of A.D.Tejpal Sent: Friday, August 26, 2005 10:40 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Building SQL statement John, Add-In named SQLToVBAString_ver2.zip, available in folder 0_Utilities And Add-Ins, in files section of Yahoo group named MS_Access_Professionals might be of interest to you. Once installed, it coverts an SQL statement into VBA string (duly taking care of extra quotes if any) and copies the contents to the clipboard for direct use in VBA editor. A.D.Tejpal -------------- ----- Original Message ----- From: John W. Colby To: 'Access Developers discussion and problem solving' Sent: Thursday, August 25, 2005 08:53 Subject: [AccessD] Building SQL statement I'm attempting to build a SQL statement to append data into a record. One of the fields is text, including (possibly) any valid text including ' - for example in contractions such as "aren't" etc. My SQL statement is building up a statement in the format: lstrSQL = "INSERT INTO WebNewsItem ( WebNewsSourceID, Link, Title, ArticleDescription ) " & _ "SELECT " & webNewsSourceID & " AS WebNewsSourceID, '" & link & "' AS Link, '" & title & "' AS Title, '" & description & "' AS ArticleDescription;" The problem is that description can contain the ' character and thus I end up with an invalid SQL statement since the ' embedded in description "looks like" the ' that is supposed to enclose the text. I can't for the life of me remember how I am supposed to handle this. I could punt and open a recordset, create a new record, and place the data directly into the field, which I may end up doing but I sure would prefer to just do the "append query" thing. It is (was) much simpler. 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 Fri Aug 26 10:00:25 2005 From: artful at rogers.com (Arthur Fuller) Date: Fri, 26 Aug 2005 11:00:25 -0400 Subject: [AccessD] Iterate through controls on a form In-Reply-To: <022601c5aa3e$b70ddb00$6c7aa8c0@ColbyM6805> Message-ID: <200508261500.j7QF0SR13353@databaseadvisors.com> Anyone got a loop handy that iterates through the controls on a form and prints their data source? Ideally, it would also print a vbCRLF between the controls on each tab page, if there are multiple pages. TIA, Arthur From Lambert.Heenan at AIG.com Fri Aug 26 10:19:34 2005 From: Lambert.Heenan at AIG.com (Heenan, Lambert) Date: Fri, 26 Aug 2005 11:19:34 -0400 Subject: [AccessD] Iterate through controls on a form Message-ID: <1D7828CDB8350747AFE9D69E0E90DA1F14EA4490@xlivmbx21.aig.com> Basically it's ... Dim c as control For Each c in Me Debug.Print c.Name, c.ControlSource Next c But you'll have to check for controls that do not have a Controlsource property. -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Arthur Fuller Sent: Friday, August 26, 2005 11:00 AM To: 'Access Developers discussion and problem solving' Subject: [AccessD] Iterate through controls on a form Anyone got a loop handy that iterates through the controls on a form and prints their data source? Ideally, it would also print a vbCRLF between the controls on each tab page, if there are multiple pages. TIA, Arthur -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From cfoust at infostatsystems.com Fri Aug 26 10:51:31 2005 From: cfoust at infostatsystems.com (Charlotte Foust) Date: Fri, 26 Aug 2005 08:51:31 -0700 Subject: [AccessD] OT: Zip files (was Logic issue) Message-ID: Don't you think a cab file is a bit of overkill when all you want to do is send an Access demo of a particular kind of operation?? Charlotte Foust -----Original Message----- From: Gustav Brock [mailto:Gustav at cactus.dk] Sent: Friday, August 26, 2005 3:28 AM To: accessd at databaseadvisors.com Subject: RE: [AccessD] OT: Zip files (was Logic issue) Hi all As I wrote last year: Some strip zip files from e-mails to avoid vira and spyware, thus cab files can be a valid alternative for attaching compressed files. You can use a MS command line util for this (cabarc.exe or makecab.exe) or a freeware tool like CabPack 1.4, but did you know that Internet Explorer comes with a GUI wizard-type wrapper for CabArc called IExpress? Just type iexpress at the Run entry in the Start menu. When finished, it offers to save your settings as a "sed" file so you easily can repeat a packing session. /gustav >>> cfoust at infostatsystems.com 25-08-2005 17:20 >>> Does anyone know what the logic is for blocking zip files? I run into this occasionally and it drives me nuts! You zip files to avoid the filters that won't accept an mdb, etc., and then you run into filters that won't accept the zip files. Oops, Catch-22. That drumming you hear is my head pounding against the wall .... Charlotte Foust -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From cfoust at infostatsystems.com Fri Aug 26 10:58:15 2005 From: cfoust at infostatsystems.com (Charlotte Foust) Date: Fri, 26 Aug 2005 08:58:15 -0700 Subject: [AccessD] OT: Roz's Novel Message-ID: ROTFLMAO I'll buy that one!! Charlotte Foust -----Original Message----- From: Tom Bolton [mailto:tom.bolton at donnslaw.co.uk] Sent: Friday, August 26, 2005 3:55 AM To: 'Access Developers discussion and problem solving' Subject: RE: [AccessD] OT: Roz's Novel The Bound of the Baskervilles *runs away* -----Original Message----- From: Andy Lacey [mailto:andy at minstersystems.co.uk] Sent: 26-Aug-2005 11:32 To: Access Developers discussion and problem solving Subject: Re: [AccessD] OT: Roz's Novel A best seller waiting to happen. -- 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] OT: Roz's Novel Date: 26/08/05 10:18 Harry Colby and the Nobility of Bound Versus the Attractions of Unbound --- Andy Lacey wrote: > It's Friday so we can go for suggestions for alternative titles for > Roz's book. I'll start the ball rolling. > > Firstly I was musing about her subject matter and thinking of another > work which treats that broad subject. Thus I came up with "Hamlet - > The SQL". But > that's more for the literary end of the market. Or, Roz, you could blatantly > go for the market of people who don't really read but will do if it's > a children's book that's ok for adults to be seen with - so "Harry > Potter And > The Nobility Of Truth Versus The Attractions Of Artifice" (catchy I > thought). Finally if you wanted another theme how about a book for gullible > Ark theorists who like Dan Brown but prefer a quicker read - "The Da > Vinci Compiler" (groan). > > -- Andy Lacey > http://www.minstersystems.co.uk > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > Send instant messages to your online friends http://uk.messenger.yahoo.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com ________________________________________________ Message sent using UebiMiau 2.7.2 -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From cfoust at infostatsystems.com Fri Aug 26 11:05:58 2005 From: cfoust at infostatsystems.com (Charlotte Foust) Date: Fri, 26 Aug 2005 09:05:58 -0700 Subject: [AccessD] DotNet passing by value Message-ID: John, It's true and it isn't. You can pass arguments ByRef in .Net, but it isn't the default. And ByVal isn't the same in .Net as it was in VB/VBA. The VS.Net help contains a topic called "Parameter Passing Mechanism Changes in Visual Basic" that you can find by typing "ByRef keyword, what's changed" in the Look for: box under the index tab. Charlotte Foust -----Original Message----- From: John W. Colby [mailto:jwcolby at colbyconsulting.com] Sent: Friday, August 26, 2005 4:10 AM To: dba-vb at databaseadvisors.com; 'Access Developers discussion and problemsolving' Subject: [AccessD] DotNet passing by value As you might be aware, VB.Net (and I assume the other .net languages as well) pass all variables by value. But what does this mean, and is it true. As you know, everything in .net is an object, even common variables such as an integer or decimal etc. Passing by value (in other languages) means placing a COPY of the variable (or object in this case) on the stack as the function is called. In VBA for example, when you pass by value, it really does ONLY for the simple data types, passing anything else (including strings) by value. Imagine passing a string, which could be a million bytes, by value - literally making a copy and passing that into the stack. IIRC the total stack space for a given program in an Intel machine is something like 128 kbytes which means that passing a single (huge) string by value could cause a stack overflow. Now DotNet comes along claiming to pass everything by value. Is this more doublespeak? And if so, what is the truth? John W. Colby www.ColbyConsulting.com Contribute your unused CPU cycles to a good cause: http://folding.stanford.edu/ -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From cfoust at infostatsystems.com Fri Aug 26 11:18:41 2005 From: cfoust at infostatsystems.com (Charlotte Foust) Date: Fri, 26 Aug 2005 09:18:41 -0700 Subject: [AccessD] Building SQL statement Message-ID: John, You might have some cleaner, easier to read code if you made use of a StringBuilder in .Net. Once you get the hang of them, you never revert to VB style concatenation again. Dim bld As New System.Text.StringBuilder bld.Append("INSERT INTO WebNewsItem ( WebNewsSourceID, Link, Title, ArticleDescription ) ") bld.AppendFormat(" "SELECT {0} AS WebNewsSourceID, ", webNewsSourceID) bld.AppendFormat("'{0}' AS Link, ", link) bld.AppendFormat("'{0}' AS Title, ", title) bld.AppendFormat("'{0}' AS ArticleDescription;", description.Replace("'", "''")) lstrSQL = bld.ToString Charlotte -----Original Message----- From: John W. Colby [mailto:jwcolby at colbyconsulting.com] Sent: Friday, August 26, 2005 7:55 AM To: 'Access Developers discussion and problem solving' Subject: RE: [AccessD] Building SQL statement I thank everyone for their solutions. In fact this is in VB.Net. Fir this particular problem I think the easiest solution will be to open a recordset and place the string into a specific field. I do understand the issue though and the solution if I do want to build a SQL statement. John W. Colby www.ColbyConsulting.com Contribute your unused CPU cycles to a good cause: http://folding.stanford.edu/ -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of A.D.Tejpal Sent: Friday, August 26, 2005 10:40 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Building SQL statement John, Add-In named SQLToVBAString_ver2.zip, available in folder 0_Utilities And Add-Ins, in files section of Yahoo group named MS_Access_Professionals might be of interest to you. Once installed, it coverts an SQL statement into VBA string (duly taking care of extra quotes if any) and copies the contents to the clipboard for direct use in VBA editor. A.D.Tejpal -------------- ----- Original Message ----- From: John W. Colby To: 'Access Developers discussion and problem solving' Sent: Thursday, August 25, 2005 08:53 Subject: [AccessD] Building SQL statement I'm attempting to build a SQL statement to append data into a record. One of the fields is text, including (possibly) any valid text including ' - for example in contractions such as "aren't" etc. My SQL statement is building up a statement in the format: lstrSQL = "INSERT INTO WebNewsItem ( WebNewsSourceID, Link, Title, ArticleDescription ) " & _ "SELECT " & webNewsSourceID & " AS WebNewsSourceID, '" & link & "' AS Link, '" & title & "' AS Title, '" & description & "' AS ArticleDescription;" The problem is that description can contain the ' character and thus I end up with an invalid SQL statement since the ' embedded in description "looks like" the ' that is supposed to enclose the text. I can't for the life of me remember how I am supposed to handle this. I could punt and open a recordset, create a new record, and place the data directly into the field, which I may end up doing but I sure would prefer to just do the "append query" thing. It is (was) much simpler. 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 Fri Aug 26 11:32:31 2005 From: Gustav at cactus.dk (Gustav Brock) Date: Fri, 26 Aug 2005 18:32:31 +0200 Subject: [AccessD] OT: Zip files (was Logic issue) Message-ID: Hi Charlotte No, why? If so, it would be overkill too, to zip the file. Cab files - are never filtered out except if all attachments are removed. - are opened natively by Windows 2000+ - do compress mdb files better than zip /gustav >>> cfoust at infostatsystems.com 26-08-2005 17:51 >>> Don't you think a cab file is a bit of overkill when all you want to do is send an Access demo of a particular kind of operation?? From cfoust at infostatsystems.com Fri Aug 26 11:43:20 2005 From: cfoust at infostatsystems.com (Charlotte Foust) Date: Fri, 26 Aug 2005 09:43:20 -0700 Subject: [AccessD] Building SQL statement Message-ID: Darn! The code got mangled and wrapped. Lets try it again .. . Dim bld As New System.Text.StringBuilder bld.Append("INSERT INTO WebNewsItem ( WebNewsSourceID, Link, Title, ArticleDescription ) ") bld.AppendFormat(" "SELECT {0} AS WebNewsSourceID, ", webNewsSourceID) bld.AppendFormat("'{0}' AS Link, ", link) bld.AppendFormat("'{0}' AS Title, ", title) bld.AppendFormat("'{0}' AS ArticleDescription;", description.Replace("'", "''")) lstrSQL = bld.ToString Charlotte -----Original Message----- From: Charlotte Foust Sent: Friday, August 26, 2005 9:19 AM To: Access Developers discussion and problem solving Subject: RE: [AccessD] Building SQL statement John, You might have some cleaner, easier to read code if you made use of a StringBuilder in .Net. Once you get the hang of them, you never revert to VB style concatenation again. Dim bld As New System.Text.StringBuilder bld.Append("INSERT INTO WebNewsItem ( WebNewsSourceID, Link, Title, ArticleDescription ) ") bld.AppendFormat(" "SELECT {0} AS WebNewsSourceID, ", webNewsSourceID) bld.AppendFormat("'{0}' AS Link, ", link) bld.AppendFormat("'{0}' AS Title, ", title) bld.AppendFormat("'{0}' AS ArticleDescription;", description.Replace("'", "''")) lstrSQL = bld.ToString Charlotte -----Original Message----- From: John W. Colby [mailto:jwcolby at colbyconsulting.com] Sent: Friday, August 26, 2005 7:55 AM To: 'Access Developers discussion and problem solving' Subject: RE: [AccessD] Building SQL statement I thank everyone for their solutions. In fact this is in VB.Net. Fir this particular problem I think the easiest solution will be to open a recordset and place the string into a specific field. I do understand the issue though and the solution if I do want to build a SQL statement. John W. Colby www.ColbyConsulting.com Contribute your unused CPU cycles to a good cause: http://folding.stanford.edu/ -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of A.D.Tejpal Sent: Friday, August 26, 2005 10:40 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Building SQL statement John, Add-In named SQLToVBAString_ver2.zip, available in folder 0_Utilities And Add-Ins, in files section of Yahoo group named MS_Access_Professionals might be of interest to you. Once installed, it coverts an SQL statement into VBA string (duly taking care of extra quotes if any) and copies the contents to the clipboard for direct use in VBA editor. A.D.Tejpal -------------- ----- Original Message ----- From: John W. Colby To: 'Access Developers discussion and problem solving' Sent: Thursday, August 25, 2005 08:53 Subject: [AccessD] Building SQL statement I'm attempting to build a SQL statement to append data into a record. One of the fields is text, including (possibly) any valid text including ' - for example in contractions such as "aren't" etc. My SQL statement is building up a statement in the format: lstrSQL = "INSERT INTO WebNewsItem ( WebNewsSourceID, Link, Title, ArticleDescription ) " & _ "SELECT " & webNewsSourceID & " AS WebNewsSourceID, '" & link & "' AS Link, '" & title & "' AS Title, '" & description & "' AS ArticleDescription;" The problem is that description can contain the ' character and thus I end up with an invalid SQL statement since the ' embedded in description "looks like" the ' that is supposed to enclose the text. I can't for the life of me remember how I am supposed to handle this. I could punt and open a recordset, create a new record, and place the data directly into the field, which I may end up doing but I sure would prefer to just do the "append query" thing. It is (was) much simpler. 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 accessd at shaw.ca Fri Aug 26 11:56:53 2005 From: accessd at shaw.ca (Jim Lawrence) Date: Fri, 26 Aug 2005 09:56:53 -0700 Subject: [AccessD] OT: Using technolgyl In-Reply-To: <001d01c5aa0e$b377bcc0$a5c00c54@minster33c3r25> Message-ID: <0ILU002WQ9QSE7@l-daemon> As this is Friday I thought I would pass this along. Just your typical integration expert who happens to know some Microsoft and java technology jargon keywords and decided it was a brilliant idea to integrate technologies using as many as he/she could: http://www.thedailywtf.com/forums/41672/ShowPost.aspx ...and it works... only just. Of course we have all done similar projects :-) Jim From accessd at shaw.ca Fri Aug 26 12:00:57 2005 From: accessd at shaw.ca (Jim Lawrence) Date: Fri, 26 Aug 2005 10:00:57 -0700 Subject: [AccessD] OT: Zip files (was Logic issue) In-Reply-To: Message-ID: <0ILU0024E9XKAU@l-daemon> That is brilliant... where do find all this stuff? Jim -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Gustav Brock Sent: Friday, August 26, 2005 3:28 AM To: accessd at databaseadvisors.com Subject: RE: [AccessD] OT: Zip files (was Logic issue) Hi all As I wrote last year: Some strip zip files from e-mails to avoid vira and spyware, thus cab files can be a valid alternative for attaching compressed files. You can use a MS command line util for this (cabarc.exe or makecab.exe) or a freeware tool like CabPack 1.4, but did you know that Internet Explorer comes with a GUI wizard-type wrapper for CabArc called IExpress? Just type iexpress at the Run entry in the Start menu. When finished, it offers to save your settings as a "sed" file so you easily can repeat a packing session. /gustav >>> cfoust at infostatsystems.com 25-08-2005 17:20 >>> Does anyone know what the logic is for blocking zip files? I run into this occasionally and it drives me nuts! You zip files to avoid the filters that won't accept an mdb, etc., and then you run into filters that won't accept the zip files. Oops, Catch-22. That drumming you hear is my head pounding against the wall .... Charlotte Foust -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From Gustav at cactus.dk Fri Aug 26 12:30:12 2005 From: Gustav at cactus.dk (Gustav Brock) Date: Fri, 26 Aug 2005 19:30:12 +0200 Subject: [AccessD] OT: Zip files (was Logic issue) Message-ID: Hi Jim Thanks! This one I picked up at Fred Langa: http://www.langa.com/newsletters/2003/2003-06-23.htm /gustav >>> accessd at shaw.ca 26-08-2005 19:00 >>> That is brilliant... where do find all this stuff? Jim -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Gustav Brock Sent: Friday, August 26, 2005 3:28 AM To: accessd at databaseadvisors.com Subject: RE: [AccessD] OT: Zip files (was Logic issue) Hi all As I wrote last year: Some strip zip files from e-mails to avoid vira and spyware, thus cab files can be a valid alternative for attaching compressed files. You can use a MS command line util for this (cabarc.exe or makecab.exe) or a freeware tool like CabPack 1.4, but did you know that Internet Explorer comes with a GUI wizard-type wrapper for CabArc called IExpress? Just type iexpress at the Run entry in the Start menu. When finished, it offers to save your settings as a "sed" file so you easily can repeat a packing session. /gustav >>> cfoust at infostatsystems.com 25-08-2005 17:20 >>> Does anyone know what the logic is for blocking zip files? I run into this occasionally and it drives me nuts! You zip files to avoid the filters that won't accept an mdb, etc., and then you run into filters that won't accept the zip files. Oops, Catch-22. That drumming you hear is my head pounding against the wall .... Charlotte Foust From pedro at plex.nl Fri Aug 26 17:29:52 2005 From: pedro at plex.nl (Pedro Janssen) Date: Sat, 27 Aug 2005 00:29:52 +0200 Subject: [AccessD] adding control number References: Message-ID: <008c01c5aa8d$ae8cc960$fac581d5@pedro> Hello, thanks to alle who responded. You real time savers. Pedro Janssen ----- Original Message ----- From: "Gustav Brock" To: Sent: Friday, August 26, 2005 1:40 PM Subject: Re: [AccessD] adding control number > Hi Pedro > > Looks like a Modulus 10 check digit calculation. > Below is a function that will do this for you in a maintainable way. > > Use it like this: > > strChk = Right(ModulusAppend("00327833", 10), Len("00327833")) > > /gustav > > > > Function ModulusAppend( _ > ByVal strNumber As String, _ > ByVal intModulus As Integer) _ > As String > > ' Appends a Modulus 10 or 11 check digit to strNumber. > ' > ' 1999-10-08. Cactus Data ApS, CPH. > > Dim intC As Integer, intF As Integer, intN As Integer > Dim intL As Integer, intM As Integer, intT As Integer > Dim strNumCheck As String > Dim strNumChr As String > Dim strNumClean As String > > ' Max. length of number. > intM = 32 - 1 > > If intModulus = 10 Or intModulus = 11 Then > intL = Len(strNumber) > ' Remove non-digits. > For intN = 0 To intL - 1 > strNumChr = Mid(strNumber, intN + 1, 1) > If (Asc(strNumChr) >= 48) And (Asc(strNumChr) <= 57) Then > strNumClean = strNumClean & strNumChr > End If > Next intN > strNumber = strNumClean > intL = Len(strNumber) > End If > > If intL > 0 And intL <= intM Then > For intN = 0 To intL - 1 > intC = Val(Mid(strNumber, intL - intN, 1)) > Select Case intModulus > Case Is = 10 > intF = (1 + ((intN + 1) Mod 2)) > intC = intF * intC > intC = Int(intC / 10) + (intC Mod 10) > Case Is = 11 > intF = 2 + (intN Mod 6) > intC = intF * intC > End Select > intT = intT + intC > Next > Select Case intModulus > Case Is = 10 > intC = intT - (intT Mod intModulus) + intModulus > strNumCheck = Format((intC - intT) Mod intModulus, "@") > Case Is = 11 > intC = intModulus - (intT Mod intModulus) > Select Case intC > Case Is = 11 > ' A check digit for this number cannot be calculated! > strNumber = vbNullString > intC = 0 > Beep > Case Is = 10 > intC = 0 > End Select > strNumCheck = Format(intC, "@") > End Select > strNumber = strNumber & strNumCheck > Else > strNumber = "0" > End If > > ModulusAppend = strNumber > > End Function > > > > > >>> pedro at plex.nl 26-08-2005 11:11 >>> > Hello Group, > > I have an ID (text, because it begins with 00) that exist of 8 > numbers. > I need to change this ID by removing the first 0, and by adding a extra > control number. > This control number can be calculated from this ID. This can be done by > several query's. Is it possible to do in one query?? > > For example. > > I have ID: 00327833 > > Take the number of the odd positions: 0 3 7 3 > > Place these numbers behind each other to make one number: 0373 > > Multiply this number with 2: 0373 x 2 = 0746 > > Count up the separate numbers from this last multiplication: 0 + 7 + > 4 + 6 = 17 > > >From the original ID, take the even positions: 0 2 8 3 > > Count up the separate numbers from the even positions with the sum of > the last count up: 17 + 0 + 2 + 8 + 3 = 30 > > The last number of the previous sum is the extra control number: 0 > > >From the original ID, remove the first 0 and add the control number: > 03278330 > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > > From artful at rogers.com Fri Aug 26 22:38:33 2005 From: artful at rogers.com (Arthur Fuller) Date: Fri, 26 Aug 2005 23:38:33 -0400 Subject: [AccessD] VBA to ActiveX In-Reply-To: <20050822214246.41640.qmail@web33114.mail.mud.yahoo.com> Message-ID: <200508270338.j7R3cTR04495@databaseadvisors.com> I somehow missed your question in previous visits. Did you receive a satisfactory answer? In short, I would say that ALL such calculation-type code that can be moved to the server SHOULD be moved to the server. Depending on the particulars, you might use a sproc or a UDF, but I am most definitely in the camp that what the back end can do the back end SHOULD do. Arthur -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Lonnie Johnson Sent: August 22, 2005 5:43 PM To: AccessD solving' Subject: [AccessD] VBA to ActiveX I have lots of VBA code in an Access datatabase that runs each night to update various tables and values based on certain conditions. Some of it is complicated such as calculating distance based on longitude and latitude and it is why I use VBA. However, I would like to move this processing over to our SQL Server. Would it be easy to convert some of the functions to DTS ActiveX packages? Is this even the way to go? I am looking to increase the performance and figured I could do so by moving it to the SQL Server side. May God bless you beyond your imagination! Lonnie Johnson ProDev, Professional Development of MS Access Databases Visit me at ==> http://www.prodev.us --------------------------------- Start your day with Yahoo! - make it your home page -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From martyconnelly at shaw.ca Sat Aug 27 00:19:22 2005 From: martyconnelly at shaw.ca (MartyConnelly) Date: Fri, 26 Aug 2005 22:19:22 -0700 Subject: [AccessD] adding control number References: Message-ID: <430FF7DA.6050700@shaw.ca> Just as a matter of interest this works to verify last digit on Canadian SIN Social Insurance number Just pass first 8 digits in string ModulusAppend(lSIN, 10) and you get 9'th check digit appended. You could use for verifying ISBN numbers but need to handle additional appending of -X in method Gustav Brock wrote: >Hi Pedro > >Looks like a Modulus 10 check digit calculation. >Below is a function that will do this for you in a maintainable way. > >Use it like this: > >strChk = Right(ModulusAppend("00327833", 10), Len("00327833")) > >/gustav > > > >Function ModulusAppend( _ > ByVal strNumber As String, _ > ByVal intModulus As Integer) _ > As String > >' Appends a Modulus 10 or 11 check digit to strNumber. >' >' 1999-10-08. Cactus Data ApS, CPH. > > Dim intC As Integer, intF As Integer, intN As Integer > Dim intL As Integer, intM As Integer, intT As Integer > Dim strNumCheck As String > Dim strNumChr As String > Dim strNumClean As String > > ' Max. length of number. > intM = 32 - 1 > > If intModulus = 10 Or intModulus = 11 Then > intL = Len(strNumber) > ' Remove non-digits. > For intN = 0 To intL - 1 > strNumChr = Mid(strNumber, intN + 1, 1) > If (Asc(strNumChr) >= 48) And (Asc(strNumChr) <= 57) Then > strNumClean = strNumClean & strNumChr > End If > Next intN > strNumber = strNumClean > intL = Len(strNumber) > End If > > If intL > 0 And intL <= intM Then > For intN = 0 To intL - 1 > intC = Val(Mid(strNumber, intL - intN, 1)) > Select Case intModulus > Case Is = 10 > intF = (1 + ((intN + 1) Mod 2)) > intC = intF * intC > intC = Int(intC / 10) + (intC Mod 10) > Case Is = 11 > intF = 2 + (intN Mod 6) > intC = intF * intC > End Select > intT = intT + intC > Next > Select Case intModulus > Case Is = 10 > intC = intT - (intT Mod intModulus) + intModulus > strNumCheck = Format((intC - intT) Mod intModulus, "@") > Case Is = 11 > intC = intModulus - (intT Mod intModulus) > Select Case intC > Case Is = 11 > ' A check digit for this number cannot be calculated! > strNumber = vbNullString > intC = 0 > Beep > Case Is = 10 > intC = 0 > End Select > strNumCheck = Format(intC, "@") > End Select > strNumber = strNumber & strNumCheck > Else > strNumber = "0" > End If > > ModulusAppend = strNumber > >End Function > > > > > > >>>>pedro at plex.nl 26-08-2005 11:11 >>> >>>> >>>> >Hello Group, > >I have an ID (text, because it begins with 00) that exist of 8 >numbers. >I need to change this ID by removing the first 0, and by adding a extra >control number. >This control number can be calculated from this ID. This can be done by >several query's. Is it possible to do in one query?? > >For example. > >I have ID: 00327833 > >Take the number of the odd positions: 0 3 7 3 > >Place these numbers behind each other to make one number: 0373 > >Multiply this number with 2: 0373 x 2 = 0746 > >Count up the separate numbers from this last multiplication: 0 + 7 + >4 + 6 = 17 > >>From the original ID, take the even positions: 0 2 8 3 > >Count up the separate numbers from the even positions with the sum of >the last count up: 17 + 0 + 2 + 8 + 3 = 30 > >The last number of the previous sum is the extra control number: 0 > >>From the original ID, remove the first 0 and add the control number: > 03278330 > > > -- Marty Connelly Victoria, B.C. Canada From Gustav at cactus.dk Sat Aug 27 01:38:53 2005 From: Gustav at cactus.dk (Gustav Brock) Date: Sat, 27 Aug 2005 08:38:53 +0200 Subject: [AccessD] adding control number Message-ID: Hi Marty Yes, Modulus 10 verification is widely used. Another example is the European unique product numbers EAN-8 and EAN-13 which I understand now is to be implemented in the US as well. Usually it is presented as a barcode too. Another check is the Modulus 9710 verification. Much more fun, and used for the international exchange of bank accounts called IBAN. /gustav >>> martyconnelly at shaw.ca 27-08-2005 07:19 >>> Just as a matter of interest this works to verify last digit on Canadian SIN Social Insurance number Just pass first 8 digits in string ModulusAppend(lSIN, 10) and you get 9'th check digit appended. You could use for verifying ISBN numbers but need to handle additional appending of -X in method Gustav Brock wrote: >Hi Pedro > >Looks like a Modulus 10 check digit calculation. From artful at rogers.com Sun Aug 28 07:37:33 2005 From: artful at rogers.com (Arthur Fuller) Date: Sun, 28 Aug 2005 08:37:33 -0400 Subject: [AccessD] Select Count(*) from different tables In-Reply-To: <200508270338.j7R3cTR04495@databaseadvisors.com> Message-ID: <200508281237.j7SCbdR05631@databaseadvisors.com> I have two MDBs identical in structure (or nearly so) and I want to compare the counts of each pair of tables and put the results all in a single query. I know that I have done this before, but I can't quite remember the syntax I used. It is something along the lines of: SELECT Count(*) AS AssessID_Notes_Count FROM [AssessID_Notes_DS Without Matching AssessID_Notes], (SELECT Count(*) AS Bill_Time_Machine_Count FROM [Bill_Time_Machine_DS Without Matching Bill_Time_Machine]) But the above returns only one column, not two as I would expect. Since I want to compare about two dozen tables (queries, actually), I stopped at two until I could get it right. Removing the parentheses from the second "column" results in an error. Can anyone suggest the correct syntax for this type of query? (This case is Access MDB not ADP, but it might be useful to have both answers handy.) TIA, Arthur From artful at rogers.com Sun Aug 28 07:51:46 2005 From: artful at rogers.com (Arthur Fuller) Date: Sun, 28 Aug 2005 08:51:46 -0400 Subject: [AccessD] Select Count(*) from different tables In-Reply-To: <200508281237.j7SCbdR05631@databaseadvisors.com> Message-ID: <200508281251.j7SCpqR09395@databaseadvisors.com> I should perhaps have pointed out that the way I am doing this is by using a third MDB which links to the two MDBs of interest and their tables of interest. The links to the tables in MDB_1 have been renamed using the "_DS" suffix, to distinguish them from identically named tables without the suffix in MDB_2. That might help you make sense of the query. I did it this way so as not to clutter either MDB_1 or MDB_2 with the compare queries. -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Arthur Fuller Sent: August 28, 2005 8:38 AM To: 'Access Developers discussion and problem solving' Subject: [AccessD] Select Count(*) from different tables I have two MDBs identical in structure (or nearly so) and I want to compare the counts of each pair of tables and put the results all in a single query. I know that I have done this before, but I can't quite remember the syntax I used. It is something along the lines of: SELECT Count(*) AS AssessID_Notes_Count FROM [AssessID_Notes_DS Without Matching AssessID_Notes], (SELECT Count(*) AS Bill_Time_Machine_Count FROM [Bill_Time_Machine_DS Without Matching Bill_Time_Machine]) But the above returns only one column, not two as I would expect. Since I want to compare about two dozen tables (queries, actually), I stopped at two until I could get it right. Removing the parentheses from the second "column" results in an error. Can anyone suggest the correct syntax for this type of query? (This case is Access MDB not ADP, but it might be useful to have both answers handy.) TIA, Arthur -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From Gustav at cactus.dk Sun Aug 28 08:01:35 2005 From: Gustav at cactus.dk (Gustav Brock) Date: Sun, 28 Aug 2005 15:01:35 +0200 Subject: [AccessD] Select Count(*) from different tables Message-ID: Hi Arthur It could be: SELECT Count(*) AS AssessID_Notes_Count, (SELECT Count(*) FROM [Bill_Time_Machine_DS Without Matching Bill_Time_Machine]) AS Bill_Time_Machine_Count FROM [AssessID_Notes_DS Without Matching AssessID_Notes]; /gustav >>> artful at rogers.com 28-08-2005 14:37 >>> I have two MDBs identical in structure (or nearly so) and I want to compare the counts of each pair of tables and put the results all in a single query. I know that I have done this before, but I can't quite remember the syntax I used. It is something along the lines of: SELECT Count(*) AS AssessID_Notes_Count FROM [AssessID_Notes_DS Without Matching AssessID_Notes], (SELECT Count(*) AS Bill_Time_Machine_Count FROM [Bill_Time_Machine_DS Without Matching Bill_Time_Machine]) But the above returns only one column, not two as I would expect. Since I want to compare about two dozen tables (queries, actually), I stopped at two until I could get it right. Removing the parentheses from the second "column" results in an error. Can anyone suggest the correct syntax for this type of query? (This case is Access MDB not ADP, but it might be useful to have both answers handy.) TIA, Arthur From adtp at touchtelindia.net Sun Aug 28 09:44:12 2005 From: adtp at touchtelindia.net (A.D.Tejpal) Date: Sun, 28 Aug 2005 20:14:12 +0530 Subject: [AccessD] Select Count(*) from different tables References: <200508281237.j7SCbdR05631@databaseadvisors.com> Message-ID: <008d01c5abdf$05905950$811865cb@winxp> Arthur, Sample query given below will get you four columns of Count(*) from four tables named T_A to T_D. Table T_Dummy is a dummy table with just one record. Its contents are of no significance. Best wishes, A.D.Tejpal -------------- ================================== SELECT (Select Count(*) From T_A) AS Count_A, (Select Count(*) From T_B) AS Count_B, (Select Count(*) From T_C) AS Count_C, (Select Count(*) From T_D) AS Count_D FROM T_Dummy; ================================== ----- Original Message ----- From: Arthur Fuller To: 'Access Developers discussion and problem solving' Sent: Sunday, August 28, 2005 18:07 Subject: [AccessD] Select Count(*) from different tables I have two MDBs identical in structure (or nearly so) and I want to compare the counts of each pair of tables and put the results all in a single query. I know that I have done this before, but I can't quite remember the syntax I used. It is something along the lines of: SELECT Count(*) AS AssessID_Notes_Count FROM [AssessID_Notes_DS Without Matching AssessID_Notes], (SELECT Count(*) AS Bill_Time_Machine_Count FROM [Bill_Time_Machine_DS Without Matching Bill_Time_Machine]) But the above returns only one column, not two as I would expect. Since I want to compare about two dozen tables (queries, actually), I stopped at two until I could get it right. Removing the parentheses from the second "column" results in an error. Can anyone suggest the correct syntax for this type of query? (This case is Access MDB not ADP, but it might be useful to have both answers handy.) TIA, Arthur From artful at rogers.com Sun Aug 28 11:35:26 2005 From: artful at rogers.com (Arthur Fuller) Date: Sun, 28 Aug 2005 12:35:26 -0400 Subject: [AccessD] Select Count(*) from different tables In-Reply-To: Message-ID: <200508281635.j7SGZTR00910@databaseadvisors.com> Thanks! My excuse is old age LOL. :-) -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Gustav Brock Sent: August 28, 2005 9:02 AM To: accessd at databaseadvisors.com Subject: Re: [AccessD] Select Count(*) from different tables Hi Arthur It could be: SELECT Count(*) AS AssessID_Notes_Count, (SELECT Count(*) FROM [Bill_Time_Machine_DS Without Matching Bill_Time_Machine]) AS Bill_Time_Machine_Count FROM [AssessID_Notes_DS Without Matching AssessID_Notes]; /gustav >>> artful at rogers.com 28-08-2005 14:37 >>> I have two MDBs identical in structure (or nearly so) and I want to compare the counts of each pair of tables and put the results all in a single query. I know that I have done this before, but I can't quite remember the syntax I used. It is something along the lines of: SELECT Count(*) AS AssessID_Notes_Count FROM [AssessID_Notes_DS Without Matching AssessID_Notes], (SELECT Count(*) AS Bill_Time_Machine_Count FROM [Bill_Time_Machine_DS Without Matching Bill_Time_Machine]) But the above returns only one column, not two as I would expect. Since I want to compare about two dozen tables (queries, actually), I stopped at two until I could get it right. Removing the parentheses from the second "column" results in an error. Can anyone suggest the correct syntax for this type of query? (This case is Access MDB not ADP, but it might be useful to have both answers handy.) TIA, Arthur -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From stuart at lexacorp.com.pg Sun Aug 28 17:02:01 2005 From: stuart at lexacorp.com.pg (Stuart McLachlan) Date: Mon, 29 Aug 2005 08:02:01 +1000 Subject: [AccessD] Select Count(*) from different tables In-Reply-To: <200508281237.j7SCbdR05631@databaseadvisors.com> References: <200508270338.j7R3cTR04495@databaseadvisors.com> Message-ID: <4312C0F9.270.16AE89F0@stuart.lexacorp.com.pg> On 28 Aug 2005 at 8:37, Arthur Fuller wrote: Not sure quite what you mean bye compair the count of "each pair of tables" since you also say "I want to compare about two dozen tables" Is this what you are talking about? SELECT "AssessID_Notes" as QName, Count(*) FROM [AssessID_Notes_DS Without Matching AssessID_Notes], UNION SELECT "Bill_Time_Machine", Count(*) FROM [Bill_Time_Machine_DS Without Matching Bill_Time_Machine]) UNION SELECT "Description","Count(*) FROM [qryMyNextQuery] > I have two MDBs identical in structure (or nearly so) and I want to > compare the counts of each pair of tables and put the results all in a > single query. I know that I have done this before, but I can't quite > remember the syntax I used. It is something along the lines of: > > But the above returns only one column, not two as I would expect. Since > I want to compare about two dozen tables (queries, actually), I stopped > at two until I could get it right. Removing the parentheses from the > second "column" results in an error. > Can anyone suggest the correct syntax for this type of query? (This case > is Access MDB not ADP, but it might be useful to have both answers > handy.) -- Stuart From artful at rogers.com Sun Aug 28 17:14:44 2005 From: artful at rogers.com (Arthur Fuller) Date: Sun, 28 Aug 2005 18:14:44 -0400 Subject: [AccessD] Select Count(*) from different tables In-Reply-To: <4312C0F9.270.16AE89F0@stuart.lexacorp.com.pg> Message-ID: <200508282214.j7SMEiR18224@databaseadvisors.com> That is one potential approach but not the one I had in mind. What I had in mind was more like this. Assume BE1 and BE2, both linked to the FE that does this. Select Count(*) From BE1.Table1, Count(*) From BE2.T1 Select Count(*) From BE1.Table2, Count(*) From BE2.T2 Actually, this is not necessary since there are queries that use the non-duplicate thingie to return the rows not present in BE2 that are present in BE1. I then use this query result to do an append query to BE2. At this moment, I can do what I need to do using Dcount(), but it sucks, in terms of performance. It works, but it is SLOW. For each pair of tables (call the abstract T1_DS and T1), I want the rowcount from each and to report the difference. And I want to do these differences for all the tables of interest. Assume about 25 pairs of tables. The Union approach gives me rows. I want columns, because I want to display the results on one "row" of one results form. A. -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Stuart McLachlan Sent: August 28, 2005 6:02 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Select Count(*) from different tables On 28 Aug 2005 at 8:37, Arthur Fuller wrote: Not sure quite what you mean bye compair the count of "each pair of tables" since you also say "I want to compare about two dozen tables" Is this what you are talking about? SELECT "AssessID_Notes" as QName, Count(*) FROM [AssessID_Notes_DS Without Matching AssessID_Notes], UNION SELECT "Bill_Time_Machine", Count(*) FROM [Bill_Time_Machine_DS Without Matching Bill_Time_Machine]) UNION SELECT "Description","Count(*) FROM [qryMyNextQuery] > I have two MDBs identical in structure (or nearly so) and I want to > compare the counts of each pair of tables and put the results all in a > single query. I know that I have done this before, but I can't quite > remember the syntax I used. It is something along the lines of: > > But the above returns only one column, not two as I would expect. Since > I want to compare about two dozen tables (queries, actually), I stopped > at two until I could get it right. Removing the parentheses from the > second "column" results in an error. > Can anyone suggest the correct syntax for this type of query? (This case > is Access MDB not ADP, but it might be useful to have both answers > handy.) -- Stuart -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From actebs at actebs.com.au Sun Aug 28 19:05:48 2005 From: actebs at actebs.com.au (ACTEBS) Date: Mon, 29 Aug 2005 10:05:48 +1000 Subject: [AccessD] Relink temporarily Message-ID: <2025BB6F17FCB54791F23CD50558332810FC74@starfleet.unknown.local> Hi everyone, Does anyone have a procedure that they are willing to share that can temporarily link a table and then once finished removes the link from the DB? I am using A2K for a small app and just can't seem to find any info on this... Thanks in advance Vlad From adtp at touchtelindia.net Sun Aug 28 22:58:22 2005 From: adtp at touchtelindia.net (A.D.Tejpal) Date: Mon, 29 Aug 2005 09:28:22 +0530 Subject: [AccessD] Select Count(*) from different tables References: <200508282214.j7SMEiR18224@databaseadvisors.com> Message-ID: <004a01c5ac4d$f97c4f60$0100007f@winxp> Arthur, The solution suggested in my previous post is meant to ensure an output of just one row, the number of columns being equal to the number of tables in question. Best wishes, A.D.Tejpal -------------- ----- Original Message ----- From: Arthur Fuller To: 'Access Developers discussion and problem solving' Sent: Monday, August 29, 2005 03:44 Subject: RE: [AccessD] Select Count(*) from different tables That is one potential approach but not the one I had in mind. What I had in mind was more like this. Assume BE1 and BE2, both linked to the FE that does this. Select Count(*) From BE1.Table1, Count(*) From BE2.T1 Select Count(*) From BE1.Table2, Count(*) From BE2.T2 Actually, this is not necessary since there are queries that use the non-duplicate thingie to return the rows not present in BE2 that are present in BE1. I then use this query result to do an append query to BE2. At this moment, I can do what I need to do using Dcount(), but it sucks, in terms of performance. It works, but it is SLOW. For each pair of tables (call the abstract T1_DS and T1), I want the rowcount from each and to report the difference. And I want to do these differences for all the tables of interest. Assume about 25 pairs of tables. The Union approach gives me rows. I want columns, because I want to display the results on one "row" of one results form. A. -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Stuart McLachlan Sent: August 28, 2005 6:02 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Select Count(*) from different tables On 28 Aug 2005 at 8:37, Arthur Fuller wrote: Not sure quite what you mean bye compair the count of "each pair of tables" since you also say "I want to compare about two dozen tables" Is this what you are talking about? SELECT "AssessID_Notes" as QName, Count(*) FROM [AssessID_Notes_DS Without Matching AssessID_Notes], UNION SELECT "Bill_Time_Machine", Count(*) FROM [Bill_Time_Machine_DS Without Matching Bill_Time_Machine]) UNION SELECT "Description","Count(*) FROM [qryMyNextQuery] > I have two MDBs identical in structure (or nearly so) and I want to > compare the counts of each pair of tables and put the results all in a > single query. I know that I have done this before, but I can't quite > remember the syntax I used. It is something along the lines of: > > But the above returns only one column, not two as I would expect. Since > I want to compare about two dozen tables (queries, actually), I stopped > at two until I could get it right. Removing the parentheses from the > second "column" results in an error. > Can anyone suggest the correct syntax for this type of query? (This case > is Access MDB not ADP, but it might be useful to have both answers > handy.) -- Stuart From Gustav at cactus.dk Mon Aug 29 03:15:57 2005 From: Gustav at cactus.dk (Gustav Brock) Date: Mon, 29 Aug 2005 10:15:57 +0200 Subject: [AccessD] Relink temporarily Message-ID: Hi Vlad You can use IN in a select query for this: SELECT * FROM tblTable IN "" [;DATABASE=d:\folder\file.mdb;]; This will not even link the table, just open it. If you need an actual linked table, use DoCmd.TransferDatabase with the constant acLink and delete the table when finished. /gustav >>> actebs at actebs.com.au 29-08-2005 02:05 >>> Hi everyone, Does anyone have a procedure that they are willing to share that can temporarily link a table and then once finished removes the link from the DB? I am using A2K for a small app and just can't seem to find any info on this... Thanks in advance Vlad From viner at EUnet.yu Mon Aug 29 06:46:29 2005 From: viner at EUnet.yu (Ervin Brindza) Date: Mon, 29 Aug 2005 13:46:29 +0200 Subject: [AccessD] OT: Excel Repeat the first row of the table on every page Message-ID: <003301c5ac8f$55a896e0$0100a8c0@RazvojErvin> My little problem is: I wish to repeat the header row of the table on every printed page. Can somebody help me? TIA, Ervin From stuart at lexacorp.com.pg Mon Aug 29 07:10:17 2005 From: stuart at lexacorp.com.pg (Stuart McLachlan) Date: Mon, 29 Aug 2005 22:10:17 +1000 Subject: [AccessD] OT: Excel Repeat the first row of the table on every page In-Reply-To: <003301c5ac8f$55a896e0$0100a8c0@RazvojErvin> Message-ID: <431387C9.16618.19B7299C@stuart.lexacorp.com.pg> On 29 Aug 2005 at 13:46, Ervin Brindza wrote: > My little problem is: I wish to repeat the header row of the table on > every printed page. "File | Page Setup | Sheet | Rows to repeat at top" -- Stuart From viner at EUnet.yu Mon Aug 29 07:19:38 2005 From: viner at EUnet.yu (Ervin Brindza) Date: Mon, 29 Aug 2005 14:19:38 +0200 Subject: [AccessD] OT: Excel Repeat the first row of the table on everypage References: <431387C9.16618.19B7299C@stuart.lexacorp.com.pg> Message-ID: <000b01c5ac93$f2366bf0$0100a8c0@RazvojErvin> Oh, I forgot that ;-( Stuart many thanks for the info! Ervin ----- Original Message ----- From: "Stuart McLachlan" To: "Access Developers discussion and problem solving" Sent: Monday, August 29, 2005 2:10 PM Subject: Re: [AccessD] OT: Excel Repeat the first row of the table on everypage > On 29 Aug 2005 at 13:46, Ervin Brindza wrote: > > > My little problem is: I wish to repeat the header row of the table on > > every printed page. > > "File | Page Setup | Sheet | Rows to repeat at top" > > -- > Stuart > > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com From actebs at actebs.com.au Mon Aug 29 08:13:09 2005 From: actebs at actebs.com.au (ACTEBS) Date: Mon, 29 Aug 2005 23:13:09 +1000 Subject: [AccessD] Relink temporarily Message-ID: <2025BB6F17FCB54791F23CD50558332810FC85@starfleet.unknown.local> Thanks Gustav - you're a god!! -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Gustav Brock Sent: Monday, 29 August 2005 6:16 PM To: accessd at databaseadvisors.com Subject: Re: [AccessD] Relink temporarily Hi Vlad You can use IN in a select query for this: SELECT * FROM tblTable IN "" [;DATABASE=d:\folder\file.mdb;]; This will not even link the table, just open it. If you need an actual linked table, use DoCmd.TransferDatabase with the constant acLink and delete the table when finished. /gustav >>> actebs at actebs.com.au 29-08-2005 02:05 >>> Hi everyone, Does anyone have a procedure that they are willing to share that can temporarily link a table and then once finished removes the link from the DB? I am using A2K for a small app and just can't seem to find any info on this... Thanks in advance Vlad -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From Gustav at cactus.dk Mon Aug 29 08:59:03 2005 From: Gustav at cactus.dk (Gustav Brock) Date: Mon, 29 Aug 2005 15:59:03 +0200 Subject: [AccessD] Relink temporarily Message-ID: Hi Vlad Oh, thanks, if only I was. That would minimize my to-do list within a few seconds - and at the same time add a lot of new hot topics with quite wide coverage! Well, back to work ... /gustav >>> actebs at actebs.com.au 29-08-2005 15:13 >>> Thanks Gustav - you're a god!! -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Gustav Brock Sent: Monday, 29 August 2005 6:16 PM To: accessd at databaseadvisors.com Subject: Re: [AccessD] Relink temporarily Hi Vlad You can use IN in a select query for this: SELECT * FROM tblTable IN "" [;DATABASE=d:\folder\file.mdb;]; This will not even link the table, just open it. If you need an actual linked table, use DoCmd.TransferDatabase with the constant acLink and delete the table when finished. /gustav >>> actebs at actebs.com.au 29-08-2005 02:05 >>> Hi everyone, Does anyone have a procedure that they are willing to share that can temporarily link a table and then once finished removes the link from the DB? I am using A2K for a small app and just can't seem to find any info on this... Thanks in advance Vlad From DWUTKA at marlow.com Mon Aug 29 09:46:26 2005 From: DWUTKA at marlow.com (DWUTKA at marlow.com) Date: Mon, 29 Aug 2005 09:46:26 -0500 Subject: [AccessD] Field Sizes Message-ID: <123701F54509D9119A4F00D0B747349016DE97@main2.marlow.com> Flames? Over field sizes? Oh please, not worth the effort. Besides, everyone knows that 255 is the way to go. ;) Drew -----Original Message----- From: Charlotte Foust [mailto:cfoust at infostatsystems.com] Sent: Thursday, August 25, 2005 4:51 PM To: Access Developers discussion and problem solving Subject: RE: [AccessD] Field Sizes We may have discussed it before, but that doesn't mean we all agreed! I object to 255 because in prior versions of Access I ran into problems of "query too complex" when all the query fields were 255 because they inherited the table widths. If you don't want to save 255 characters in a field, there is absolutely no point in making the field that wide! So, there!! (Let the flames begin .... ) Charlotte Foust -----Original Message----- From: Stuart McLachlan [mailto:stuart at lexacorp.com.pg] Sent: Thursday, August 25, 2005 2:18 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Field Sizes On 25 Aug 2005 at 11:27, John Clark wrote: > I've got bigger problems right now, but I've meant to ask something > forever and...well...today is the day, I guess. What do y'all use for > standard sizes for typical text fields, such as Last Name, First Name, > Address, City, etc.? Is there a "common practice rule" concerning > this? > We've had this discussion before 255 characters. Access doesn't use fixed length storage for strings and you don't save any space by defining text fields as less than the maximum allowable. I change the default field size for text strings to 255 in Options and never change it for individual filed definitions. All that restricting field sizes does for you is increase the risk of truncating data or throwing up error messages at the user sometime in the future. -- Stuart -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd 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 Aug 29 10:23:56 2005 From: DWUTKA at marlow.com (DWUTKA at marlow.com) Date: Mon, 29 Aug 2005 10:23:56 -0500 Subject: [AccessD] Select Count(*) from different tables Message-ID: <123701F54509D9119A4F00D0B747349016DE98@main2.marlow.com> You need subquerries for the second (third, fourth, etc) 'counts' Drew -----Original Message----- From: Arthur Fuller [mailto:artful at rogers.com] Sent: Sunday, August 28, 2005 7:38 AM To: 'Access Developers discussion and problem solving' Subject: [AccessD] Select Count(*) from different tables I have two MDBs identical in structure (or nearly so) and I want to compare the counts of each pair of tables and put the results all in a single query. I know that I have done this before, but I can't quite remember the syntax I used. It is something along the lines of: SELECT Count(*) AS AssessID_Notes_Count FROM [AssessID_Notes_DS Without Matching AssessID_Notes], (SELECT Count(*) AS Bill_Time_Machine_Count FROM [Bill_Time_Machine_DS Without Matching Bill_Time_Machine]) But the above returns only one column, not two as I would expect. Since I want to compare about two dozen tables (queries, actually), I stopped at two until I could get it right. Removing the parentheses from the second "column" results in an error. Can anyone suggest the correct syntax for this type of query? (This case is Access MDB not ADP, but it might be useful to have both answers handy.) TIA, Arthur -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From Chester_Kaup at kindermorgan.com Mon Aug 29 11:04:28 2005 From: Chester_Kaup at kindermorgan.com (Kaup, Chester) Date: Mon, 29 Aug 2005 11:04:28 -0500 Subject: [AccessD] Label on a chart problem Message-ID: I have a chart that is based on a table that has 21 rows. The chart plots fine. However if I base the report on the same table and put a label on the chart using one of the fields in the table the chart prints 21 times. The field I am using is called pattern name and is the same in all 21 records. Is there a way to put this field on the chart as a label but only one time? Chester Kaup Engineering Technician Kinder Morgan CO2 Company, LLP Office (432) 688-3797 FAX (432) 688-3799 No trees were killed in the sending of this message. However a large number of electrons were terribly inconvenienced. From john at winhaven.net Mon Aug 29 11:20:29 2005 From: john at winhaven.net (John Bartow) Date: Mon, 29 Aug 2005 11:20:29 -0500 Subject: [AccessD] Field Sizes In-Reply-To: <430EC229.20195.713431B@stuart.lexacorp.com.pg> Message-ID: <200508291620.j7TGKVR15741@databaseadvisors.com> Q: Does it matter when upsizing to SQL Server? -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Stuart McLachlan 255 characters. Access doesn't use fixed length storage for strings and you don't save any space by defining text fields as less than the maximum allowable. I change the default field size for text strings to 255 in Options and never change it for individual filed definitions. All that restricting field sizes does for you is increase the risk of truncating data or throwing up error messages at the user sometime in the future. From dmcafee at pacbell.net Mon Aug 29 11:37:42 2005 From: dmcafee at pacbell.net (dmcafee at pacbell.net) Date: Mon, 29 Aug 2005 09:37:42 -0700 Subject: [AccessD] Field Sizes In-Reply-To: <200508291620.j7TGKVR15741@databaseadvisors.com> Message-ID: In SQL you can make everything a VARCHAR(8000) :P -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of John Bartow Sent: Monday, August 29, 2005 9:20 AM To: 'Access Developers discussion and problem solving' Subject: RE: [AccessD] Field Sizes Q: Does it matter when upsizing to SQL Server? -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Stuart McLachlan 255 characters. Access doesn't use fixed length storage for strings and you don't save any space by defining text fields as less than the maximum allowable. I change the default field size for text strings to 255 in Options and never change it for individual filed definitions. All that restricting field sizes does for you is increase the risk of truncating data or throwing up error messages at the user sometime in the future. -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From Chester_Kaup at kindermorgan.com Mon Aug 29 11:37:41 2005 From: Chester_Kaup at kindermorgan.com (Kaup, Chester) Date: Mon, 29 Aug 2005 11:37:41 -0500 Subject: [AccessD] RE: Label on a chart problem Message-ID: Problem solved by making a query to extract one record and then doing a sub report for that one record and placing it in the main report. Works but maybe there is a better way? _____ From: Kaup, Chester Sent: Monday, August 29, 2005 11:04 AM To: 'Access Developers discussion and problem solving' Subject: Label on a chart problem I have a chart that is based on a table that has 21 rows. The chart plots fine. However if I base the report on the same table and put a label on the chart using one of the fields in the table the chart prints 21 times. The field I am using is called pattern name and is the same in all 21 records. Is there a way to put this field on the chart as a label but only one time? Chester Kaup Engineering Technician Kinder Morgan CO2 Company, LLP Office (432) 688-3797 FAX (432) 688-3799 No trees were killed in the sending of this message. However a large number of electrons were terribly inconvenienced. From john at winhaven.net Mon Aug 29 12:01:16 2005 From: john at winhaven.net (John Bartow) Date: Mon, 29 Aug 2005 12:01:16 -0500 Subject: [AccessD] Field Sizes In-Reply-To: Message-ID: <200508291701.j7TH1HR26777@databaseadvisors.com> On that note, is it good advice to make all text fields VarCHar in SQL Server? -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of dmcafee at pacbell.net In SQL you can make everything a VARCHAR(8000) -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of John Bartow Q: Does it matter when upsizing to SQL Server? -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Stuart McLachlan 255 characters. Access doesn't use fixed length storage for strings and you don't save any space by defining text fields as less than the maximum allowable. I change the default field size for text strings to 255 in Options and never change it for individual filed definitions. All that restricting field sizes does for you is increase the risk of truncating data or throwing up error messages at the user sometime in the future. From dmcafee at pacbell.net Mon Aug 29 12:38:57 2005 From: dmcafee at pacbell.net (dmcafee at pacbell.net) Date: Mon, 29 Aug 2005 10:38:57 -0700 Subject: [AccessD] Field Sizes In-Reply-To: <200508291701.j7TH1HR26777@databaseadvisors.com> Message-ID: I "was" kidding when I said to make them all varcahr(8000). I tend to use 50. I prefer Varchars to chars, unless when dealing with a specific charcter length datatypes. Char's tend to pad the vales with spaces. So if you have a field titled fname, a varchar(50) would store the name Joe as "Joe" a char(50) would store the name Joe as "Joe " I tend to sometimes forget to RTRIM() my chars when selecting :( D -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of John Bartow Sent: Monday, August 29, 2005 10:01 AM To: 'Access Developers discussion and problem solving' Subject: RE: [AccessD] Field Sizes On that note, is it good advice to make all text fields VarCHar in SQL Server? -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of dmcafee at pacbell.net In SQL you can make everything a VARCHAR(8000) -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of John Bartow Q: Does it matter when upsizing to SQL Server? -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Stuart McLachlan 255 characters. Access doesn't use fixed length storage for strings and you don't save any space by defining text fields as less than the maximum allowable. I change the default field size for text strings to 255 in Options and never change it for individual filed definitions. All that restricting field sizes does for you is increase the risk of truncating data or throwing up error messages at the user sometime in the future. -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From john at winhaven.net Mon Aug 29 12:58:35 2005 From: john at winhaven.net (John Bartow) Date: Mon, 29 Aug 2005 12:58:35 -0500 Subject: [AccessD] Field Sizes In-Reply-To: Message-ID: <200508291758.j7THwaR10622@databaseadvisors.com> Oh, OK, I'm a bit weary this morning, have a blistering headache and even after 4 advil and a pot of coffee didn't catch the kidding part, sorry, now that I look back it was obvious!. Good point about the padding with spaces though, so I guess it was worth it ;o) I originally wanted to discuss if upsizing from an access db to a SQL Server db was any more of a hassle based on needed field lengths or standard 255 field lengths. We know Access doesn't use fixed length storage for strings and you don't save any space by defining text fields as less than the maximum allowable. But IIRC SQL Server does so when upsizing you now have all 255 field lengths (which isn't terrible but not optimal) or do you go in and resize all the fields lengths? NOTE: I'm not taking sides here. I generally size fields similar to what Jim mentioned but I also have taken the easier route and done as Stuart mentioned - resetting the default field length size and (knowing how Access deals with text fields) not really caring if it was set smaller. -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of dmcafee at pacbell.net Sent: Monday, August 29, 2005 12:39 PM To: Access Developers discussion and problem solving Subject: RE: [AccessD] Field Sizes I "was" kidding when I said to make them all varcahr(8000). I tend to use 50. I prefer Varchars to chars, unless when dealing with a specific charcter length datatypes. Char's tend to pad the vales with spaces. So if you have a field titled fname, a varchar(50) would store the name Joe as "Joe" a char(50) would store the name Joe as "Joe " I tend to sometimes forget to RTRIM() my chars when selecting :( D -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of John Bartow Sent: Monday, August 29, 2005 10:01 AM To: 'Access Developers discussion and problem solving' Subject: RE: [AccessD] Field Sizes On that note, is it good advice to make all text fields VarCHar in SQL Server? -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of dmcafee at pacbell.net In SQL you can make everything a VARCHAR(8000) -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of John Bartow Q: Does it matter when upsizing to SQL Server? -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Stuart McLachlan 255 characters. Access doesn't use fixed length storage for strings and you don't save any space by defining text fields as less than the maximum allowable. I change the default field size for text strings to 255 in Options and never change it for individual filed definitions. All that restricting field sizes does for you is increase the risk of truncating data or throwing up error messages at the user sometime in the future. -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd 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 pacbell.net Mon Aug 29 13:47:39 2005 From: dmcafee at pacbell.net (dmcafee at pacbell.net) Date: Mon, 29 Aug 2005 11:47:39 -0700 Subject: [AccessD] Field Sizes In-Reply-To: <200508291758.j7THwaR10622@databaseadvisors.com> Message-ID: I believe when upsizing, text fields are converted to Char(). The only weird conversion is when dealing with Memo Fields, they become "text" in SQL :) so don't get the two "text" types confused between SQL & Access. I prefer SQL Servers import wizard over Access' Upsize wizard. you can save the import script and modify the fields if one is converted incorrectly. D -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of John Bartow Sent: Monday, August 29, 2005 10:59 AM To: 'Access Developers discussion and problem solving' Subject: RE: [AccessD] Field Sizes Oh, OK, I'm a bit weary this morning, have a blistering headache and even after 4 advil and a pot of coffee didn't catch the kidding part, sorry, now that I look back it was obvious!. Good point about the padding with spaces though, so I guess it was worth it ;o) I originally wanted to discuss if upsizing from an access db to a SQL Server db was any more of a hassle based on needed field lengths or standard 255 field lengths. We know Access doesn't use fixed length storage for strings and you don't save any space by defining text fields as less than the maximum allowable. But IIRC SQL Server does so when upsizing you now have all 255 field lengths (which isn't terrible but not optimal) or do you go in and resize all the fields lengths? NOTE: I'm not taking sides here. I generally size fields similar to what Jim mentioned but I also have taken the easier route and done as Stuart mentioned - resetting the default field length size and (knowing how Access deals with text fields) not really caring if it was set smaller. -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of dmcafee at pacbell.net Sent: Monday, August 29, 2005 12:39 PM To: Access Developers discussion and problem solving Subject: RE: [AccessD] Field Sizes I "was" kidding when I said to make them all varcahr(8000). I tend to use 50. I prefer Varchars to chars, unless when dealing with a specific charcter length datatypes. Char's tend to pad the vales with spaces. So if you have a field titled fname, a varchar(50) would store the name Joe as "Joe" a char(50) would store the name Joe as "Joe " I tend to sometimes forget to RTRIM() my chars when selecting :( D -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of John Bartow Sent: Monday, August 29, 2005 10:01 AM To: 'Access Developers discussion and problem solving' Subject: RE: [AccessD] Field Sizes On that note, is it good advice to make all text fields VarCHar in SQL Server? -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of dmcafee at pacbell.net In SQL you can make everything a VARCHAR(8000) -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of John Bartow Q: Does it matter when upsizing to SQL Server? -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Stuart McLachlan 255 characters. Access doesn't use fixed length storage for strings and you don't save any space by defining text fields as less than the maximum allowable. I change the default field size for text strings to 255 in Options and never change it for individual filed definitions. All that restricting field sizes does for you is increase the risk of truncating data or throwing up error messages at the user sometime in the future. -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd 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 Aug 29 13:57:35 2005 From: john at winhaven.net (John Bartow) Date: Mon, 29 Aug 2005 13:57:35 -0500 Subject: [AccessD] Field Sizes In-Reply-To: Message-ID: <200508291857.j7TIvZR26957@databaseadvisors.com> Does an Access Memo field get converted to VarChar (by default)? -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of dmcafee at pacbell.net I believe when upsizing, text fields are converted to Char(). The only weird conversion is when dealing with Memo Fields, they become "text" in SQL :) so don't get the two "text" types confused between SQL & Access. I prefer SQL Servers import wizard over Access' Upsize wizard. you can save the import script and modify the fields if one is converted incorrectly. D From mwp.reid at qub.ac.uk Mon Aug 29 14:21:40 2005 From: mwp.reid at qub.ac.uk (Martin) Date: Mon, 29 Aug 2005 20:21:40 +0100 Subject: [AccessD] Ot John Colby Message-ID: <200508291922.j7TJMpR00581@databaseadvisors.com> JC Can you contact me of List. Apologise I dont have johns email here Martin From accessd at shaw.ca Mon Aug 29 14:24:05 2005 From: accessd at shaw.ca (Jim Lawrence) Date: Mon, 29 Aug 2005 12:24:05 -0700 Subject: [AccessD] Field Sizes In-Reply-To: <200508291758.j7THwaR10622@databaseadvisors.com> Message-ID: <0IM0008560K01R@l-daemon> My Thought on the whole thing is that if MS MDB has variable length fields it doesn't matter what size is requested and set, the data storage shrinks the minimum anyway. Now if we are referring to MS SQL server DB then fixed-fields sizes are set. Historically, all database programs that use variable length data storage were slower and more prone to corruption but if space is at a premium then that was required. But with sufficient space fixed size fields were faster and unless there was a hard drive failure always recoverable. My two cent worth. Jim -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of John Bartow Sent: Monday, August 29, 2005 10:59 AM To: 'Access Developers discussion and problem solving' Subject: RE: [AccessD] Field Sizes Oh, OK, I'm a bit weary this morning, have a blistering headache and even after 4 advil and a pot of coffee didn't catch the kidding part, sorry, now that I look back it was obvious!. Good point about the padding with spaces though, so I guess it was worth it ;o) I originally wanted to discuss if upsizing from an access db to a SQL Server db was any more of a hassle based on needed field lengths or standard 255 field lengths. We know Access doesn't use fixed length storage for strings and you don't save any space by defining text fields as less than the maximum allowable. But IIRC SQL Server does so when upsizing you now have all 255 field lengths (which isn't terrible but not optimal) or do you go in and resize all the fields lengths? NOTE: I'm not taking sides here. I generally size fields similar to what Jim mentioned but I also have taken the easier route and done as Stuart mentioned - resetting the default field length size and (knowing how Access deals with text fields) not really caring if it was set smaller. -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of dmcafee at pacbell.net Sent: Monday, August 29, 2005 12:39 PM To: Access Developers discussion and problem solving Subject: RE: [AccessD] Field Sizes I "was" kidding when I said to make them all varcahr(8000). I tend to use 50. I prefer Varchars to chars, unless when dealing with a specific charcter length datatypes. Char's tend to pad the vales with spaces. So if you have a field titled fname, a varchar(50) would store the name Joe as "Joe" a char(50) would store the name Joe as "Joe " I tend to sometimes forget to RTRIM() my chars when selecting :( D -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of John Bartow Sent: Monday, August 29, 2005 10:01 AM To: 'Access Developers discussion and problem solving' Subject: RE: [AccessD] Field Sizes On that note, is it good advice to make all text fields VarCHar in SQL Server? -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of dmcafee at pacbell.net In SQL you can make everything a VARCHAR(8000) -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of John Bartow Q: Does it matter when upsizing to SQL Server? -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Stuart McLachlan 255 characters. Access doesn't use fixed length storage for strings and you don't save any space by defining text fields as less than the maximum allowable. I change the default field size for text strings to 255 in Options and never change it for individual filed definitions. All that restricting field sizes does for you is increase the risk of truncating data or throwing up error messages at the user sometime in the future. -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd 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 Aug 29 15:09:46 2005 From: artful at rogers.com (Arthur Fuller) Date: Mon, 29 Aug 2005 16:09:46 -0400 Subject: [AccessD] Field Sizes In-Reply-To: <200508291701.j7TH1HR26777@databaseadvisors.com> Message-ID: <200508292009.j7TK9mR12454@databaseadvisors.com> No it is NOT best practice. There are performance hits with varchar columns that do not exist with char columns. I will shortly post a benchmark that proves this, but in the meantime use these rules: 1. If the existing rows and anticipated rows never go beyond N characters, make the column N + some. 2. If you cannot predict how much text will be entered, use a text column rather than varchar. 3. If you plan on indexing this column (i.e. other than a full-text index), use char. Arthur -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of John Bartow Sent: August 29, 2005 1:01 PM To: 'Access Developers discussion and problem solving' Subject: RE: [AccessD] Field Sizes On that note, is it good advice to make all text fields VarCHar in SQL Server? From stephen at bondsoftware.co.nz Mon Aug 29 16:02:00 2005 From: stephen at bondsoftware.co.nz (Stephen Bond) Date: Tue, 30 Aug 2005 09:02:00 +1200 Subject: [AccessD] Data from temp table being rammed into an Excel spreadsheet Message-ID: <70F3D727890C784291D8433E9C418F2916BC78@server.bondsoftware.co.nz> In A2K I have built a temp table and am trying to then export it to a spreadsheet using the following line of code: objXLRange.FormulaArray = objXLApp.Transpose(varResults) where 'Dim objXLApp As Excel.Application ' and 'Dim objXLRange As Excel.Range' and has been defined precisely, according to the size of the incoming data in the temp table, and varResults is a 2-dimension array being the result of SELECT * FROM tmpTable. The column count is fixed at 18 but the Row count is variable. This works well when the temp table has 303 rows or less. Over 303 rows, and I get 'Error 13 Type Mismatch'. I have looked for corrupted data coming in thru the query that creates the temp table, but after many hours of experimentation it comes back to an apparent limit on the number of Rows. I don't remember where I got the code from and I don't pretend to understand the 'FormulaArray' property in Excel, but someone here might have been down this track .... any takers? Stephen Bond From jim.moss at jlmoss.net Mon Aug 29 17:05:59 2005 From: jim.moss at jlmoss.net (Jim Moss) Date: Mon, 29 Aug 2005 17:05:59 -0500 (CDT) Subject: [AccessD] Data from temp table being rammed into an Excel spreadsheet In-Reply-To: <70F3D727890C784291D8433E9C418F2916BC78@server.bondsoftware.co.nz> References: <70F3D727890C784291D8433E9C418F2916BC78@server.bondsoftware.co.nz> Message-ID: <9032.65.196.182.34.1125353159.squirrel@65.196.182.34> Stephen, The following code does a copy from recordset: intMaxCol = rs1.Fields.Count If rs1.RecordCount > 0 Then rs1.MoveLast rs1.MoveFirst intMaxRow = rs1.RecordCount Set objXL = New Excel.Application With objXL .Visible = False Set objWkb = .Workbooks.Add Set objSht = objWkb.Worksheets(1) With objSht .Range(.Cells(2, 1), .Cells(intMaxRow, _ intMaxCol)).CopyFromRecordset rs1 End With End With End If Jim > In A2K I have built a temp table and am trying to then export it to a > spreadsheet using the following line of code: > > objXLRange.FormulaArray = objXLApp.Transpose(varResults) > > where 'Dim objXLApp As Excel.Application ' > and 'Dim objXLRange As Excel.Range' and has been defined precisely, > according to the size of the incoming data in the temp table, > and varResults is a 2-dimension array being the result of SELECT * FROM > tmpTable. The column count is fixed at 18 but the Row count is variable. > > This works well when the temp table has 303 rows or less. Over 303 rows, > and I get 'Error 13 Type Mismatch'. I have looked for corrupted data > coming in thru the query that creates the temp table, but after many hours > of experimentation it comes back to an apparent limit on the number of > Rows. > > I don't remember where I got the code from and I don't pretend to > understand the 'FormulaArray' property in Excel, but someone here might > have been down this track .... any takers? > > > Stephen Bond > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > From martyconnelly at shaw.ca Mon Aug 29 18:51:23 2005 From: martyconnelly at shaw.ca (MartyConnelly) Date: Mon, 29 Aug 2005 16:51:23 -0700 Subject: [AccessD] Data from temp table being rammed into an Excel spreadsheet References: <70F3D727890C784291D8433E9C418F2916BC78@server.bondsoftware.co.nz> Message-ID: <43139F7B.6030703@shaw.ca> There are limits on Excel 65K rows 32K per cell varies with version of Excel There is also something about memo fields being truncated at 255 chars but there is a workaround. If the worksheet aleady exists needs terminating "$" in name Here are a couple of samples methods using ADO. '? CopyTableToExcel("Products", "C:\Excel\Product2.xls", "C:\Program Files\Microsoft Office\Office\Samples\Northwind.mdb") Public Function CopyTableToExcel(strTable As String, strXLSFile As String, strAccessFile As String) Dim cnSrc As New ADODB.Connection Dim num_copied As Long DoEvents strAccessFile = CurrentDb.Name cnSrc.Open "Provider=Microsoft.Jet.OLEDB.4.0;" & _ "Data Source=" & strAccessFile & ";" 'pick a sheetname "Books" cnSrc.Execute "SELECT * INTO [Excel 8.0;" & _ "Database=" & strXLSFile & "].[Books] FROM " & _ strTable, num_copied cnSrc.Close MsgBox "Copied " & num_copied & " records." End Function ' Open the database and build the Recordset containing the data 'you want to transfer. Then open the Excel workbook, 'find the worksheet that should contain the data, 'create a Range on the worksheet, 'and use its CopyFromRecordset method to load the data. 'This example also calls AutoFit to make the column widths fit the data. Function CopyTableToExcelCreate(strTable As String, strXLSFilename As String) Dim conn As ADODB.Connection Dim rs As ADODB.Recordset Dim excel_app As Excel.Application Dim excel_sheet As Excel.Worksheet DoEvents ' Open the Access database. Set conn = New ADODB.Connection conn.ConnectionString = _ "Provider=Microsoft.Jet.OLEDB.4.0;" & _ "Data Source=" & strXLSFilename conn.Open ' Select the Access data. Set rs = conn.Execute(strTable) ' Create the Excel application. Set excel_app = CreateObject("Excel.Application") ' Uncomment this line to make Excel visible. ' excel_app.Visible = True ' Open the Excel workbook. excel_app.Workbooks.Open strXLSFilename ' Check for later versions. If Val(excel_app.Application.Version) >= 8 Then Set excel_sheet = excel_app.ActiveSheet Else Set excel_sheet = excel_app End If ' Use the Recordset to fill the table. excel_sheet.Cells.CopyFromRecordset rs excel_sheet.Cells.Columns.AutoFit ' Save the workbook. excel_app.ActiveWorkbook.Save ' Shut down. excel_app.Quit rs.Close conn.Close MsgBox "Ok" End Function Stephen Bond wrote: >In A2K I have built a temp table and am trying to then export it to a spreadsheet using the following line of code: > > objXLRange.FormulaArray = objXLApp.Transpose(varResults) > >where 'Dim objXLApp As Excel.Application ' >and 'Dim objXLRange As Excel.Range' and has been defined precisely, according to the size of the incoming data in the temp table, >and varResults is a 2-dimension array being the result of SELECT * FROM tmpTable. The column count is fixed at 18 but the Row count is variable. > >This works well when the temp table has 303 rows or less. Over 303 rows, and I get 'Error 13 Type Mismatch'. I have looked for corrupted data coming in thru the query that creates the temp table, but after many hours of experimentation it comes back to an apparent limit on the number of Rows. > >I don't remember where I got the code from and I don't pretend to understand the 'FormulaArray' property in Excel, but someone here might have been down this track .... any takers? > > >Stephen Bond > > > >------------------------------------------------------------------------ > >No virus found in this incoming message. >Checked by AVG Anti-Virus. >Version: 7.0.344 / Virus Database: 267.10.17/84 - Release Date: 29/08/2005 > > -- Marty Connelly Victoria, B.C. Canada From Gustav at cactus.dk Tue Aug 30 02:47:53 2005 From: Gustav at cactus.dk (Gustav Brock) Date: Tue, 30 Aug 2005 09:47:53 +0200 Subject: [AccessD] OT: Stupid antispam Message-ID: Hi all Well, to this guy our list certainly will look quit! Re: [AccessD] Relink temporarily (Zaep Key: 7bae2957.4313bfb6.04bc08b3) Dear Gustav, Thanks for your email, but at this point I have NOT actually received your message because I have implemented a challenge-response based anti-spam solution. Before I can receive your message you must respond in ONE of the ways outlined below. You will not have to do this again. To comment this for you with an in-house mailserver, we have successfully installed a spamfilter using the SpamAssassin daemon as a proxy. It automatically tests received mail towards the blacklists and filters virus infected mails, and these two features alone has cut our received spam by about 95%: http://www.pinjo.nl/ Cost is EUR 150,00 which are well spent as it is a snap to install. /gustav From tom.bolton at donnslaw.co.uk Tue Aug 30 03:57:35 2005 From: tom.bolton at donnslaw.co.uk (Tom Bolton) Date: Tue, 30 Aug 2005 09:57:35 +0100 Subject: [AccessD] RE: A2k2 / SQL Server dropped indexes Message-ID: <61F915314798D311A2F800A0C9C831880802A335@dibble.observatory.donnslaw.co.uk> Morning all We've had a problem in the past here with linking tables into an Access .mdb from a SQL Server database - when the tables are linked, Access decides on its own primary key and creates an index. So far, so good, but then seemingly at random Access is dropping the index which results in the table becoming read-only. The problem can be fixed manually, but there's no pattern to the behaviour. I cured this before using a bit of ADOX to drop and relink the tables (an extra button, but in this case the user was pretty Access-conversant), but now in a separate .mdb looking at a different SQL backend, it's happening again - to a mission-critical application. Anyone any clues? I've Googled from top to bottom for this one, and not a sausage to be found. Many TIA as always Tom Tom Bolton Systems Developer (I.T.) Donns Solicitors Tel: 0161 834 3311 Fax: 0161 834 2317 -------------- next part -------------- The contents of this message and any attachments are the property of Donns Solicitors and are intended for the confidential use of the named recipient only. They may be legally privileged and should not be communicated to, or relied upon, by any other party without our written consent. If you are not the addressee, please notify us immediately so that we can make arrangements for its return. You should not show this e-mail to any person or take copies as you may be committing a criminal or civil offence for which you may be liable. The statement and opinions expressed in this e-mail message are those of the writer, and do not necessarily represent that of Donns Solicitors. Although any files attached to this e-mail will have been checked with virus protection software prior to transmission, you should carry out your own virus check before opening any attachment. Donns Solicitors does not accept any liability for any damage or loss which may be caused by software viruses... From tom.bolton at donnslaw.co.uk Tue Aug 30 04:04:11 2005 From: tom.bolton at donnslaw.co.uk (Tom Bolton) Date: Tue, 30 Aug 2005 10:04:11 +0100 Subject: [AccessD] RE: A2k2 / SQL Server dropped indexes Message-ID: <61F915314798D311A2F800A0C9C831880802A336@dibble.observatory.donnslaw.co.uk> Hi All In a correction to the previous email, I've just discovered that it is indeed the same SQL database we've had problems with. The tables in the SQL database aren't indexed either - could this have a bearing? Again, TIA for your help! Tom Tom Bolton Systems Developer (I.T.) Donns Solicitors Tel: 0161 834 3311 Fax: 0161 834 2317 -------------- next part -------------- The contents of this message and any attachments are the property of Donns Solicitors and are intended for the confidential use of the named recipient only. They may be legally privileged and should not be communicated to, or relied upon, by any other party without our written consent. If you are not the addressee, please notify us immediately so that we can make arrangements for its return. You should not show this e-mail to any person or take copies as you may be committing a criminal or civil offence for which you may be liable. The statement and opinions expressed in this e-mail message are those of the writer, and do not necessarily represent that of Donns Solicitors. Although any files attached to this e-mail will have been checked with virus protection software prior to transmission, you should carry out your own virus check before opening any attachment. Donns Solicitors does not accept any liability for any damage or loss which may be caused by software viruses... From carbonnb at gmail.com Tue Aug 30 04:41:26 2005 From: carbonnb at gmail.com (Bryan Carbonnell) Date: Tue, 30 Aug 2005 05:41:26 -0400 Subject: [AccessD] OT: Stupid antispam In-Reply-To: References: Message-ID: On 30/08/05, Gustav Brock wrote: > Hi all > > Well, to this guy our list certainly will look quit! > > > > Re: [AccessD] Relink temporarily (Zaep Key: > 7bae2957.4313bfb6.04bc08b3) Yep. So will dba-tech. -- Bryan Carbonnell - carbonnb at gmail.com Life's journey is not to arrive at the grave safely in a well preserved body, but rather to skid in sideways, totally worn out, shouting "What a great ride!" From R.Griffiths at bury.gov.uk Tue Aug 30 10:44:26 2005 From: R.Griffiths at bury.gov.uk (Griffiths, Richard) Date: Tue, 30 Aug 2005 16:44:26 +0100 Subject: [AccessD] A2k to sql Message-ID: <200508301535.j7UFZM927033@smarthost.yourcomms.net> Hi I have an application written using A2k and have now moved to SQL 2000. Can anyone give me advice in how to distribute an app that uses SQL as the BE. Is it as simple as generating a SQL script from my SQL db and then running this script on the client server via query analyzer? Or do I copy the mdf files? Or is there some third pary stuff that installs? Any help would be appreciated Richard From martyconnelly at shaw.ca Tue Aug 30 13:33:43 2005 From: martyconnelly at shaw.ca (MartyConnelly) Date: Tue, 30 Aug 2005 11:33:43 -0700 Subject: [AccessD] RE: A2k2 / SQL Server dropped indexes References: <61F915314798D311A2F800A0C9C831880802A335@dibble.observatory.donnslaw.co.uk> Message-ID: <4314A687.7060003@shaw.ca> Some maybes. When you link a table from an ODBC data source, such as Microsoft SQL Server or ORACLE, and that table contains more than one unique index, Microsoft Access may select the wrong index as the primary key. Has someone been adding indexes to the sql tables ACC2000: Access May Choose an Unexpected Index as the Primary Key http://support.microsoft.com/default.aspx?scid=KB;EN-US;207745 ACC2000: Creating Virtual Indexes with SQL Data-Definition Queries http://support.microsoft.com/kb/q209123 Tom Bolton wrote: >Morning all > > > >We've had a problem in the past here with linking tables into an Access .mdb >from a SQL Server database - when the tables are linked, Access decides on >its own primary key and creates an index. So far, so good, but then >seemingly at random Access is dropping the index which results in the table >becoming read-only. The problem can be fixed manually, but there's no >pattern to the behaviour. > > > >I cured this before using a bit of ADOX to drop and relink the tables (an >extra button, but in this case the user was pretty Access-conversant), but >now in a separate .mdb looking at a different SQL backend, it's happening >again - to a mission-critical application. > > > >Anyone any clues? I've Googled from top to bottom for this one, and not a >sausage to be found. > > > >Many TIA as always > >Tom > > > > > > > > > >Tom Bolton > >Systems Developer (I.T.) > >Donns Solicitors > >Tel: 0161 834 3311 > >Fax: 0161 834 2317 > > > > > > > >------------------------------------------------------------------------ > > >The contents of this message and any attachments are the property of Donns Solicitors >and are intended for the confidential use of the named recipient only. They may be legally > privileged and should not be communicated to, or relied upon, by any other party without >our written consent. If you are not the addressee, please notify us immediately so that we >can make arrangements for its return. You should not show this e-mail to any person or > take copies as you may be committing a criminal or civil offence for which you may be > liable. The statement and opinions expressed in this e-mail message are those of the >writer, and do not necessarily represent that of Donns Solicitors. Although any files attached > to this e-mail will have been checked with virus protection software prior to transmission, >you should carry out your own virus check before opening any attachment. >Donns Solicitors does not accept any liability for any damage or loss which may be caused >by software viruses... > > >------------------------------------------------------------------------ > >No virus found in this incoming message. >Checked by AVG Anti-Virus. >Version: 7.0.344 / Virus Database: 267.10.17/84 - Release Date: 29/08/2005 > > -- Marty Connelly Victoria, B.C. Canada From DWUTKA at marlow.com Tue Aug 30 18:35:24 2005 From: DWUTKA at marlow.com (DWUTKA at marlow.com) Date: Tue, 30 Aug 2005 18:35:24 -0500 Subject: [AccessD] Oracle Question Message-ID: <123701F54509D9119A4F00D0B747349016DED3@main2.marlow.com> I normally treat Oracle like a bag of rattle snakes (don't mess around inside it much, and typically just beat it with a big long stick when it's acting up......) ;) However, we are having to create some auditing processes due to Sar-Ox. I put a trigger in place to log changes to a few key changes, however, using the USER function, to record who is making the changes, the trigger is putting in the account that I created the trigger with, not the account who is making the changes. Any ideas? Thanks, Drew From stephen at bondsoftware.co.nz Tue Aug 30 19:38:43 2005 From: stephen at bondsoftware.co.nz (Stephen Bond) Date: Wed, 31 Aug 2005 12:38:43 +1200 Subject: [AccessD] Data from temp table being rammed into an Excel spreadsheet Message-ID: <70F3D727890C784291D8433E9C418F29149917@server.bondsoftware.co.nz> Thanks Jim and Marty, As a quick fix I had coded a bypass to the problem (the customer is across the ditch in Australia and needed some sort of resolution immediately, even a temporary one), BUT left the original code in there as well, but with an elegant message if the error occurred. Now they report the original problem has gone away. Completely. Go figger .... At the risk of plagiarising a line from Woody's Watch ... 'trustworthy computing!' Bah humbug. Anyway, your submissions have been filed for future reference. Thanks again. Stephen Bond -----Original Message----- From: Stephen Bond Sent: Tuesday, 30 August 2005 9:02 a.m. To: accessd at databaseadvisors.com Subject: [AccessD] Data from temp table being rammed into an Excel spreadsheet In A2K I have built a temp table and am trying to then export it to a spreadsheet using the following line of code: objXLRange.FormulaArray = objXLApp.Transpose(varResults) where 'Dim objXLApp As Excel.Application ' and 'Dim objXLRange As Excel.Range' and has been defined precisely, according to the size of the incoming data in the temp table, and varResults is a 2-dimension array being the result of SELECT * FROM tmpTable. The column count is fixed at 18 but the Row count is variable. This works well when the temp table has 303 rows or less. Over 303 rows, and I get 'Error 13 Type Mismatch'. I have looked for corrupted data coming in thru the query that creates the temp table, but after many hours of experimentation it comes back to an apparent limit on the number of Rows. I don't remember where I got the code from and I don't pretend to understand the 'FormulaArray' property in Excel, but someone here might have been down this track .... any takers? Stephen Bond From marklbreen at gmail.com Wed Aug 31 03:53:12 2005 From: marklbreen at gmail.com (Mark Breen) Date: Wed, 31 Aug 2005 09:53:12 +0100 Subject: [AccessD] Re: How to Manage Maintenance Mode - Auto shutdown In-Reply-To: References: Message-ID: Hello All, Thanks for your replies on this thread, you gave me what I was looking for - some opinions. I have not worked on it yet, but I did notice that yesterday, the app had not been used since midnight and I was looking at it at 10:00 am, so an element of Johns auto logout will probably be required, in conjunction with an activity monitor, as this app is used for production support, it is not possible to request a logout. The timer and auto logout are OK, but what I have to contend with is the user attempting to log back in, this will have to be handled elegantly, or as an Indian guy I worked with recently says "I will have to fine a graceful solution to this" I thought the graceful was slight out of context for day to day language, but I thought it wonderfully apt. Thanks again for all your time, I always appreciate it. Mark On 8/17/05, Mark Breen wrote: > > Hello Group, > > I have an app uses MS SQL 2000 Server as it's backend database. I > want to run some maintenance routines on the db and they require that > I switch the db into single user mode. This is easily done and once I > have it in Single User Mode, it is easy to kick off the maintenance > routines. > > My question is what ways you may have handled a polite automatic > shutdown of the application in your worlds. > > Technically, I do not have to shut down my app, I could just break the > connection to SQL server, but I think that I may as well shut down the > entire app. > > I could use timers, and I could insert 'activity' updates and only > shut down the FE app when the app is not being used. > > So for example, I could update a database field and when the field has > not been used for more than 30 minutes I can assume that it is > in-active. This would allow me to auto shut down the app, but I would > like to leave some message behind me to let the user know where their > app went rather than just killing it! > > I could also break the connection to the db, then display a message > box saying the db has been shutdown and allow the user to click OK to > continue. > > I am not seeking detailed technical help here, more philosophically > how you guys handle this type of situation. > > Any thoughts or comments are appreciated, > > I hope you and your family are all well, > > Mark Breen > From listmaster at databaseadvisors.com Wed Aug 31 08:21:41 2005 From: listmaster at databaseadvisors.com (Bryan Carbonnell) Date: Wed, 31 Aug 2005 09:21:41 -0400 Subject: [AccessD] Administrivia - List Software Upgrade - Sep 4 Message-ID: <431576A5.23677.326CD85@listmaster.databaseadvisors.com> The software that runs our list has released a new version to fix some security issues, add some new features to help out the admins and mods and some bug fixes. So I will be upgrading the software on Sunday Sep 4. This will mean the lists will be down starting at 10am (EDT - UTC -0400) on Sunday Set 4. If the previous upgrades are any indication, they will be down for less than 1/2 hour. So there won't be much disruption. -- Bryan Carbonnell - listmaster at databaseadvisors.com Failure is not an option. It comes bundled with the software. From tom.bolton at donnslaw.co.uk Wed Aug 31 09:38:37 2005 From: tom.bolton at donnslaw.co.uk (Tom Bolton) Date: Wed, 31 Aug 2005 15:38:37 +0100 Subject: [AccessD] RE: A2k2 / SQL Server dropped indexes Message-ID: <61F915314798D311A2F800A0C9C831880802A347@dibble.observatory.donnslaw.co.uk> Thanks Marty, from this I have a sneaking suspicion that it's something to do with the indexing on the underlying tables. My colleague who's dealing with the app in question is going to add some proper indexing to the SQL table and I'll pass on this info for when he does. Again thanks for this! Tom -----Original Message----- From: MartyConnelly [mailto:martyconnelly at shaw.ca] Sent: 30-Aug-2005 19:34 To: Access Developers discussion and problem solving Subject: Re: [AccessD] RE: A2k2 / SQL Server dropped indexes Some maybes. When you link a table from an ODBC data source, such as Microsoft SQL Server or ORACLE, and that table contains more than one unique index, Microsoft Access may select the wrong index as the primary key. Has someone been adding indexes to the sql tables ACC2000: Access May Choose an Unexpected Index as the Primary Key http://support.microsoft.com/default.aspx?scid=KB;EN-US;207745 ACC2000: Creating Virtual Indexes with SQL Data-Definition Queries http://support.microsoft.com/kb/q209123 Tom Bolton wrote: >Morning all > > > >We've had a problem in the past here with linking tables into an Access .mdb >from a SQL Server database - when the tables are linked, Access decides on >its own primary key and creates an index. So far, so good, but then >seemingly at random Access is dropping the index which results in the table >becoming read-only. The problem can be fixed manually, but there's no >pattern to the behaviour. > > > >I cured this before using a bit of ADOX to drop and relink the tables (an >extra button, but in this case the user was pretty Access-conversant), but >now in a separate .mdb looking at a different SQL backend, it's happening >again - to a mission-critical application. > > > >Anyone any clues? I've Googled from top to bottom for this one, and not a >sausage to be found. > > > >Many TIA as always > >Tom > > > > > > > > > >Tom Bolton > >Systems Developer (I.T.) > >Donns Solicitors > >Tel: 0161 834 3311 > >Fax: 0161 834 2317 > > > > > > > >------------------------------------------------------------------------ > > >The contents of this message and any attachments are the property of Donns Solicitors >and are intended for the confidential use of the named recipient only. They may be legally > privileged and should not be communicated to, or relied upon, by any other party without >our written consent. If you are not the addressee, please notify us immediately so that we >can make arrangements for its return. You should not show this e-mail to any person or > take copies as you may be committing a criminal or civil offence for which you may be > liable. The statement and opinions expressed in this e-mail message are those of the >writer, and do not necessarily represent that of Donns Solicitors. Although any files attached > to this e-mail will have been checked with virus protection software prior to transmission, >you should carry out your own virus check before opening any attachment. >Donns Solicitors does not accept any liability for any damage or loss which may be caused >by software viruses... > > >------------------------------------------------------------------------ > >No virus found in this incoming message. >Checked by AVG Anti-Virus. >Version: 7.0.344 / Virus Database: 267.10.17/84 - Release Date: 29/08/2005 > > -- Marty Connelly Victoria, B.C. Canada -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -------------- next part -------------- The contents of this message and any attachments are the property of Donns Solicitors and are intended for the confidential use of the named recipient only. They may be legally privileged and should not be communicated to, or relied upon, by any other party without our written consent. If you are not the addressee, please notify us immediately so that we can make arrangements for its return. You should not show this e-mail to any person or take copies as you may be committing a criminal or civil offence for which you may be liable. The statement and opinions expressed in this e-mail message are those of the writer, and do not necessarily represent that of Donns Solicitors. Although any files attached to this e-mail will have been checked with virus protection software prior to transmission, you should carry out your own virus check before opening any attachment. Donns Solicitors does not accept any liability for any damage or loss which may be caused by software viruses... From JRojas at tnco-inc.com Wed Aug 31 10:01:54 2005 From: JRojas at tnco-inc.com (Joe Rojas) Date: Wed, 31 Aug 2005 11:01:54 -0400 Subject: [AccessD] A2K: Trap Mouse Scroll Wheel Message-ID: <0CC84C9461AE6445AD5A602001C41C4B05A481@mercury.tnco-inc.com> Hi All, Is it possible to trap the mouse scroll wheel event in Access 2000? If so, how is this done? Normally the scroll wheel will scroll through the records on a form but I am looking for a way to disable this from happening. I know that I could disable the wheel in windows but I don't want this to be a system wide change, just when the user scrolls in Access. Thanks! JR 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. From cyx5 at cdc.gov Wed Aug 31 10:16:30 2005 From: cyx5 at cdc.gov (Nicholson, Karen) Date: Wed, 31 Aug 2005 11:16:30 -0400 Subject: [AccessD] A2K: Trap Mouse Scroll Wheel Message-ID: Yes. There is a mousehook.dll that you can call to disable this. Send me your email offline and I will send it to you. -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Joe Rojas Sent: Wednesday, August 31, 2005 11:02 AM To: 'Access Developers discussion and problem solving' Subject: [AccessD] A2K: Trap Mouse Scroll Wheel Hi All, Is it possible to trap the mouse scroll wheel event in Access 2000? If so, how is this done? Normally the scroll wheel will scroll through the records on a form but I am looking for a way to disable this from happening. I know that I could disable the wheel in windows but I don't want this to be a system wide change, just when the user scrolls in Access. Thanks! JR 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. -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From cyx5 at cdc.gov Wed Aug 31 10:17:37 2005 From: cyx5 at cdc.gov (Nicholson, Karen) Date: Wed, 31 Aug 2005 11:17:37 -0400 Subject: [AccessD] Renaming SQL Tables Message-ID: I just linked to about 150 SQL tables; of course all are prefaced with NIOSH\get3_ I want to strip off the prefix. Does anybody have that code? I know I have seen it somewhere. From Donald.A.McGillivray at sprint.com Wed Aug 31 10:18:42 2005 From: Donald.A.McGillivray at sprint.com (Mcgillivray, Don [ITS]) Date: Wed, 31 Aug 2005 10:18:42 -0500 Subject: [AccessD] A2K: Trap Mouse Scroll Wheel Message-ID: Joe, I'm sure there are other ways to do this, but I've used the mousehook.dll that I downloaded from Lebans site: http://www.lebans.com/mousewheelonoff.htm Comes with the code and instructions for implementing. Don From cfoust at infostatsystems.com Wed Aug 31 10:21:24 2005 From: cfoust at infostatsystems.com (Charlotte Foust) Date: Wed, 31 Aug 2005 08:21:24 -0700 Subject: [AccessD] A2K: Trap Mouse Scroll Wheel Message-ID: Access 2002 has an OnMouseWheel event, but I don't recall if that exists in 2000. Charlotte Foust -----Original Message----- From: Joe Rojas [mailto:JRojas at tnco-inc.com] Sent: Wednesday, August 31, 2005 8:02 AM To: 'Access Developers discussion and problem solving' Subject: [AccessD] A2K: Trap Mouse Scroll Wheel Hi All, Is it possible to trap the mouse scroll wheel event in Access 2000? If so, how is this done? Normally the scroll wheel will scroll through the records on a form but I am looking for a way to disable this from happening. I know that I could disable the wheel in windows but I don't want this to be a system wide change, just when the user scrolls in Access. Thanks! JR 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. -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From paul.hartland at isharp.co.uk Wed Aug 31 10:30:19 2005 From: paul.hartland at isharp.co.uk (Paul Hartland (ISHARP)) Date: Wed, 31 Aug 2005 16:30:19 +0100 Subject: [AccessD] Renaming SQL Tables In-Reply-To: Message-ID: Karen, This is a quick little function I use: Function dbo_Remover() As Integer ' Use this module remove the linked table start name dbo_ Dim db As Database Dim i As Integer Dim c As Long c = 0 Set db = DBEngine.Workspaces(0).Databases(0) dbo_Remover = False db.TableDefs.Refresh For i = 0 To db.TableDefs.Count - 1 If (Left(db.TableDefs(i).Name, 10) = "NIOSH\get3_") Then 'MsgBox "found " & db.TableDefs(i).Name db.TableDefs(i).Name = Mid(db.TableDefs(i).Name, 11) c = c + 1 'MsgBox "new name = " & db.TableDefs(i).Name End If Next i Set db = Nothing MsgBox "NIOSH\get3_ Removed From " & c & " Filenames....." End Function Paul Hartland Database Developer 07730 523179 -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Nicholson, Karen Sent: 31 August 2005 16:18 To: Access Developers discussion and problem solving Subject: [AccessD] Renaming SQL Tables I just linked to about 150 SQL tables; of course all are prefaced with NIOSH\get3_ I want to strip off the prefix. Does anybody have that code? I know I have seen it somewhere. -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From JRojas at tnco-inc.com Wed Aug 31 10:34:14 2005 From: JRojas at tnco-inc.com (Joe Rojas) Date: Wed, 31 Aug 2005 11:34:14 -0400 Subject: [AccessD] A2K: Trap Mouse Scroll Wheel Message-ID: <0CC84C9461AE6445AD5A602001C41C4B05A482@mercury.tnco-inc.com> I ran into Microsoft's example in their knowledgebase. Is this the same thing? If not, please send me what you have. jrojas at tnco-inc.com Thanks Karen! -----Original Message----- From: Nicholson, Karen [mailto:cyx5 at cdc.gov] Sent: Wednesday, August 31, 2005 11:17 AM To: Access Developers discussion and problem solving Subject: RE: [AccessD] A2K: Trap Mouse Scroll Wheel Yes. There is a mousehook.dll that you can call to disable this. Send me your email offline and I will send it to you. -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Joe Rojas Sent: Wednesday, August 31, 2005 11:02 AM To: 'Access Developers discussion and problem solving' Subject: [AccessD] A2K: Trap Mouse Scroll Wheel Hi All, Is it possible to trap the mouse scroll wheel event in Access 2000? If so, how is this done? Normally the scroll wheel will scroll through the records on a form but I am looking for a way to disable this from happening. I know that I could disable the wheel in windows but I don't want this to be a system wide change, just when the user scrolls in Access. Thanks! JR 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. -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/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 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. From paul.hartland at isharp.co.uk Wed Aug 31 10:35:49 2005 From: paul.hartland at isharp.co.uk (Paul Hartland (ISHARP)) Date: Wed, 31 Aug 2005 16:35:49 +0100 Subject: [AccessD] Renaming SQL Tables In-Reply-To: Message-ID: Karen, Sorry, mis-counted replace : For i = 0 To db.TableDefs.Count - 1 If (Left(db.TableDefs(i).Name, 10) = "NIOSH\get3_") Then 'MsgBox "found " & db.TableDefs(i).Name db.TableDefs(i).Name = Mid(db.TableDefs(i).Name, 11) c = c + 1 'MsgBox "new name = " & db.TableDefs(i).Name End If Next i With For i = 0 To db.TableDefs.Count - 1 If (Left(db.TableDefs(i).Name, 11) = "NIOSH\get3_") Then 'MsgBox "found " & db.TableDefs(i).Name db.TableDefs(i).Name = Mid(db.TableDefs(i).Name, 12) c = c + 1 'MsgBox "new name = " & db.TableDefs(i).Name End If Next i Paul Hartland Database Developer 07730 523179 -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Paul Hartland (ISHARP) Sent: 31 August 2005 16:30 To: 'Access Developers discussion and problem solving' Subject: RE: [AccessD] Renaming SQL Tables Karen, This is a quick little function I use: Function dbo_Remover() As Integer ' Use this module remove the linked table start name dbo_ Dim db As Database Dim i As Integer Dim c As Long c = 0 Set db = DBEngine.Workspaces(0).Databases(0) dbo_Remover = False db.TableDefs.Refresh For i = 0 To db.TableDefs.Count - 1 If (Left(db.TableDefs(i).Name, 10) = "NIOSH\get3_") Then 'MsgBox "found " & db.TableDefs(i).Name db.TableDefs(i).Name = Mid(db.TableDefs(i).Name, 11) c = c + 1 'MsgBox "new name = " & db.TableDefs(i).Name End If Next i Set db = Nothing MsgBox "NIOSH\get3_ Removed From " & c & " Filenames....." End Function Paul Hartland Database Developer 07730 523179 -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Nicholson, Karen Sent: 31 August 2005 16:18 To: Access Developers discussion and problem solving Subject: [AccessD] Renaming SQL Tables I just linked to about 150 SQL tables; of course all are prefaced with NIOSH\get3_ I want to strip off the prefix. Does anybody have that code? I know I have seen it somewhere. -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From dw-murphy at cox.net Wed Aug 31 11:28:52 2005 From: dw-murphy at cox.net (Doug Murphy) Date: Wed, 31 Aug 2005 09:28:52 -0700 Subject: [AccessD] A2K: Trap Mouse Scroll Wheel In-Reply-To: <0CC84C9461AE6445AD5A602001C41C4B05A481@mercury.tnco-inc.com> Message-ID: <001b01c5ae49$12f3f270$0200a8c0@murphyf3vdfepi> In Access XP is use the following in a forms module to keep the mouse wheel from moving through records. The routine uses the On Mouse Wheel event and On Current Event. Delclare a String variable at the module level sCurRec Then put the following in the appropriate events Private Sub Form_Current() If sCurRec <> "" Then Me.Bookmark = sCurRec sCurRec = "" End If End Sub Private Sub Form_MouseWheel(ByVal Page As Boolean, ByVal Count As Long) sCurRec = Me.Bookmark End Sub I don't know if the On Mouse Wheel event is in Access 2000 Doug -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Joe Rojas Sent: Wednesday, August 31, 2005 8:02 AM To: 'Access Developers discussion and problem solving' Subject: [AccessD] A2K: Trap Mouse Scroll Wheel Hi All, Is it possible to trap the mouse scroll wheel event in Access 2000? If so, how is this done? Normally the scroll wheel will scroll through the records on a form but I am looking for a way to disable this from happening. I know that I could disable the wheel in windows but I don't want this to be a system wide change, just when the user scrolls in Access. Thanks! JR 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. -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From cyx5 at cdc.gov Wed Aug 31 11:36:59 2005 From: cyx5 at cdc.gov (Nicholson, Karen) Date: Wed, 31 Aug 2005 12:36:59 -0400 Subject: [AccessD] A2K: Trap Mouse Scroll Wheel Message-ID: I must have the same mousehook.dll from Leban's site. For me, it works great. You can call it for the whole app or for an individual form. Then I had to do the trapping to prevent the up and down pages, too. -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Joe Rojas Sent: Wednesday, August 31, 2005 11:34 AM To: 'Access Developers discussion and problem solving' Subject: RE: [AccessD] A2K: Trap Mouse Scroll Wheel I ran into Microsoft's example in their knowledgebase. Is this the same thing? If not, please send me what you have. jrojas at tnco-inc.com Thanks Karen! -----Original Message----- From: Nicholson, Karen [mailto:cyx5 at cdc.gov] Sent: Wednesday, August 31, 2005 11:17 AM To: Access Developers discussion and problem solving Subject: RE: [AccessD] A2K: Trap Mouse Scroll Wheel Yes. There is a mousehook.dll that you can call to disable this. Send me your email offline and I will send it to you. -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Joe Rojas Sent: Wednesday, August 31, 2005 11:02 AM To: 'Access Developers discussion and problem solving' Subject: [AccessD] A2K: Trap Mouse Scroll Wheel Hi All, Is it possible to trap the mouse scroll wheel event in Access 2000? If so, how is this done? Normally the scroll wheel will scroll through the records on a form but I am looking for a way to disable this from happening. I know that I could disable the wheel in windows but I don't want this to be a system wide change, just when the user scrolls in Access. Thanks! JR 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. -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/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 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. -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From fhtapia at gmail.com Wed Aug 31 16:08:43 2005 From: fhtapia at gmail.com (Francisco Tapia) Date: Wed, 31 Aug 2005 14:08:43 -0700 Subject: [AccessD] Form Before Update Message-ID: I have a bound form in an Access 2000 data project. I have a field named txtADE, I set it to 3 and immediatly the before_update fires. however in the before_update code if I try to reference txtADE it shows my previous value, not the new one... what gives? thanks, -- -Francisco http://pcthis.blogspot.com |PC news with out the jargon! http://sqlthis.blogspot.com | Tsql and More... From Donald.A.McGillivray at sprint.com Wed Aug 31 16:39:45 2005 From: Donald.A.McGillivray at sprint.com (Mcgillivray, Don [ITS]) Date: Wed, 31 Aug 2005 16:39:45 -0500 Subject: [AccessD] Form Before Update Message-ID: Francisco, Is it possible that you're using the *control's* Before_Update, instead of the *Form's*? At the control level, Before_Update will fire "before" the update - that is, before the control's value is updated to whatever you have typed. Thus, the control will still contain its original value. With the form's Before_Update, you will be able to retrieve the values that you have entered into any controls on the form, but it doesn't fire until you save or otherwise attempt to move off the record. If you're trying to evaluate what's been entered in a control either as it's being entered or after, try the On_Change event for the control. HTH Don From dc8 at btinternet.com Wed Aug 31 17:00:28 2005 From: dc8 at btinternet.com (Chris Swann) Date: Wed, 31 Aug 2005 23:00:28 +0100 Subject: [AccessD] Forcing a date calculation In-Reply-To: Message-ID: <200508312200.j7VM0TR26592@databaseadvisors.com> All, I have a form that users are supposed to enter a start date, always a Monday and an end date, always the Sunday after. However, they seem completely unable to enter these dates correctly so I am trying to see if there is a way to force a date into the system using Date() and then going back to the previous Sunday and then working out the Monday prior to that. So, 31 August 2005 would go back to Sunday 28th August 2005 and I would then subtract days to get Monday 22 August 2005. Could anybody give me a pointer on if this is possible as the data being returned currently is normally incorrect and this is causing more than a few headaches !! Thanks in advance, Chris Swann From stuart at lexacorp.com.pg Wed Aug 31 17:43:06 2005 From: stuart at lexacorp.com.pg (Stuart McLachlan) Date: Thu, 01 Sep 2005 08:43:06 +1000 Subject: [AccessD] Forcing a date calculation In-Reply-To: <200508312200.j7VM0TR26592@databaseadvisors.com> References: Message-ID: <4316BF1A.8793.4642F90@stuart.lexacorp.com.pg> On 31 Aug 2005 at 23:00, Chris Swann wrote: > All, > > I have a form that users are supposed to enter a start date, always a Monday > and an end date, always the Sunday after. > > However, they seem completely unable to enter these dates correctly so I am > trying to see if there is a way to force a date into the system using Date() > and then going back to the previous Sunday and then working out the Monday > prior to that. > > So, 31 August 2005 would go back to Sunday 28th August 2005 and I would then > subtract days to get Monday 22 August 2005. > > Could anybody give me a pointer on if this is possible as the data being > returned currently is normally incorrect and this is causing more than a few > headaches !! > This will givew you the current date for any Sunday and the previous Sunday for any day other than Sunday: Function PreviousSunday(CurrDate As Date) As Date PreviousSunday = CurrDate - Weekday(CurrDate) + 1 End Function PrevisouSunday() - 6 will give you the preceding Monday. -- Stuart From dmcafee at pacbell.net Wed Aug 31 17:48:29 2005 From: dmcafee at pacbell.net (David Mcafee) Date: Wed, 31 Aug 2005 15:48:29 -0700 (PDT) Subject: [AccessD] Form Before Update In-Reply-To: Message-ID: <20050831224829.9757.qmail@web80802.mail.yahoo.com> txtADE.Text? --- Francisco Tapia wrote: > I have a bound form in an Access 2000 data project. > I have a field > named txtADE, I set it to 3 and immediatly the > before_update fires. > however in the before_update code if I try to > reference txtADE it > shows my previous value, not the new one... what > gives? > > thanks, > -- > -Francisco > http://pcthis.blogspot.com |PC news with out the > jargon! > http://sqlthis.blogspot.com | Tsql and More... > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > From Donald.A.McGillivray at sprint.com Wed Aug 31 18:18:16 2005 From: Donald.A.McGillivray at sprint.com (Mcgillivray, Don [ITS]) Date: Wed, 31 Aug 2005 18:18:16 -0500 Subject: [AccessD] Form Before Update Message-ID: Never mind. My response is incorrect. Should have actually tried this BEFORE chiming in. Hope somebody else can shed a little light. Don -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Mcgillivray, Don [ITS] Sent: Wednesday, August 31, 2005 2:40 PM To: Access Developers discussion and problem solving Subject: RE: [AccessD] Form Before Update Francisco, Is it possible that you're using the *control's* Before_Update, instead of the *Form's*? At the control level, Before_Update will fire "before" the update - that is, before the control's value is updated to whatever you have typed. Thus, the control will still contain its original value. With the form's Before_Update, you will be able to retrieve the values that you have entered into any controls on the form, but it doesn't fire until you save or otherwise attempt to move off the record. If you're trying to evaluate what's been entered in a control either as it's being entered or after, try the On_Change event for the control. HTH Don -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From martyconnelly at shaw.ca Mon Aug 1 00:26:05 2005 From: martyconnelly at shaw.ca (MartyConnelly) Date: Sun, 31 Jul 2005 22:26:05 -0700 Subject: [AccessD] mde....mdb format References: <002101c5962c$4d06dcf0$ebc2f63f@Desktop> Message-ID: <42EDB26D.3080802@shaw.ca> What is this click event actually doing. Try doing a decompile before creating the mde then recompile. Also try doing it with the /runtime command line parameter in a shortcut John Eget wrote: >I have correctly complied and ran a mdb database with no errors, yet when i convert to mde i get the error pop that the command on a click event is not available in a mde/ade format. has anyone came across this before, what happens when i create a mde? > >Thanks for looking >John > > -- Marty Connelly Victoria, B.C. Canada From accessd666 at yahoo.com Mon Aug 1 03:26:04 2005 From: accessd666 at yahoo.com (Sad Der) Date: Mon, 1 Aug 2005 01:26:04 -0700 (PDT) Subject: [AccessD] Display records from SQL Server SP with cursor output param Message-ID: <20050801082604.33580.qmail@web31610.mail.mud.yahoo.com> Hi group, I've got a Stored Procedure in SQL Server. It has 1 IN and 1 OUTPUT param. The SP is used to search a database for values and return the data using a cursor accordingly. If I run the code below (SQL Server) it returns exactly the records I need. My question: How can I call this SP from within MS-Access 2000 and display the cursor info? DECLARE @MyCursor CURSOR EXEC search_cursor @Remark = '%Project%' , @search_cursor = @MyCursor OUTPUT WHILE (@@FETCH_STATUS = 0) BEGIN FETCH NEXT FROM @MyCursor END CLOSE @MyCursor DEALLOCATE @MyCursor GO Thnx SD __________________________________________________ Do You Yahoo!? Tired of spam? Yahoo! Mail has the best spam protection around http://mail.yahoo.com From accessd666 at yahoo.com Mon Aug 1 04:46:16 2005 From: accessd666 at yahoo.com (Sad Der) Date: Mon, 1 Aug 2005 02:46:16 -0700 (PDT) Subject: [AccessD] GRID?? Message-ID: <20050801094616.34076.qmail@web31605.mail.mud.yahoo.com> Hi group, ??? que pasa ??? isn't there a grid in ms-access I can use?? I've got a recordset that returns somewhere between 3 and x fields. I want to display the data in a grid. However i cannot find anything regarding a grid in Access. Come to think of it, I cannot remember that I've ever used a grid. Any ideas? Thnx SD __________________________________________________ Do You Yahoo!? Tired of spam? Yahoo! Mail has the best spam protection around http://mail.yahoo.com From vrm at tim-cms.com Mon Aug 1 06:33:16 2005 From: vrm at tim-cms.com (Marcel Vreuls) Date: Mon, 1 Aug 2005 07:33:16 -0400 Subject: [AccessD] GRID?? Message-ID: <200508010733.AA1042219266@tim-cms.com> SD, I use JanusGrid 2000 a lot. Take a look at componentresource.com and search for Janus. They have also included a good access example with connected and disconnected recordsets. Gr. marcel ---------- Original Message ---------------------------------- From: Sad Der Reply-To: Access Developers discussion and problem solving Date: Mon, 1 Aug 2005 02:46:16 -0700 (PDT) >Hi group, > >??? que pasa ??? >isn't there a grid in ms-access I can use?? > >I've got a recordset that returns somewhere between 3 >and x fields. I want to display the data in a grid. > >However i cannot find anything regarding a grid in >Access. Come to think of it, I cannot remember that >I've ever used a grid. > >Any ideas? > >Thnx > >SD > >__________________________________________________ >Do You Yahoo!? >Tired of spam? Yahoo! Mail has the best spam protection around >http://mail.yahoo.com >-- >AccessD mailing list >AccessD at databaseadvisors.com >http://databaseadvisors.com/mailman/listinfo/accessd >Website: http://www.databaseadvisors.com > From vrm at tim-cms.com Mon Aug 1 06:34:10 2005 From: vrm at tim-cms.com (Marcel Vreuls) Date: Mon, 1 Aug 2005 07:34:10 -0400 Subject: [AccessD] Re: Undeliverable Mail Message-ID: <200508010734.AA1037893792@tim-cms.com> SD, I use JanusGrid 2000 a lot. Take a look at componentresource.com and search for Janus. They have also included a good access example with connected and disconnected recordsets. Gr. marcel >---------- Original Message ---------------------------------- >From: Sad Der >Reply-To: Access Developers discussion and problem solving >Date: Mon, 1 Aug 2005 02:46:16 -0700 (PDT) > >>Hi group, >> >>??? que pasa ??? >>isn't there a grid in ms-access I can use?? >> >>I've got a recordset that returns somewhere between 3 >>and x fields. I want to display the data in a grid. >> >>However i cannot find anything regarding a grid in >>Access. Come to think of it, I cannot remember that >>I've ever used a grid. >> >>Any ideas? >> >>Thnx >> >>SD >> >>__________________________________________________ >>Do You Yahoo!? >>Tired of spam? Yahoo! Mail has the best spam protection around >>http://mail.yahoo.com >>-- >>AccessD mailing list >>AccessD at databaseadvisors.com >>http://databaseadvisors.com/mailman/listinfo/accessd >>Website: http://www.databaseadvisors.com >> > From accessd666 at yahoo.com Mon Aug 1 07:08:34 2005 From: accessd666 at yahoo.com (Sad Der) Date: Mon, 1 Aug 2005 05:08:34 -0700 (PDT) Subject: [AccessD] GRID?? In-Reply-To: <200508010733.AA1042219266@tim-cms.com> Message-ID: <20050801120834.68317.qmail@web31603.mail.mud.yahoo.com> Thnx but that doesn't help me out now. It has to be Access functionality (maybe vb activeX?) I'm lookin into that now. Regards, SD --- Marcel Vreuls wrote: > SD, > > I use JanusGrid 2000 a lot. Take a look at > componentresource.com and search for Janus. They > have also included a good access example with > connected and disconnected recordsets. > > Gr. marcel > ---------- Original Message > ---------------------------------- > From: Sad Der > Reply-To: Access Developers discussion and problem > solving > Date: Mon, 1 Aug 2005 02:46:16 -0700 (PDT) > > >Hi group, > > > >??? que pasa ??? > >isn't there a grid in ms-access I can use?? > > > >I've got a recordset that returns somewhere between > 3 > >and x fields. I want to display the data in a > grid. > > > >However i cannot find anything regarding a grid in > >Access. Come to think of it, I cannot remember that > >I've ever used a grid. > > > >Any ideas? > > > >Thnx > > > >SD > > > >__________________________________________________ > >Do You Yahoo!? > >Tired of spam? Yahoo! Mail has the best spam > protection around > >http://mail.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 > ____________________________________________________ Start your day with Yahoo! - make it your home page http://www.yahoo.com/r/hs From vrm at tim-cms.com Mon Aug 1 07:47:03 2005 From: vrm at tim-cms.com (| Marcel Vreuls) Date: Mon, 1 Aug 2005 14:47:03 +0200 Subject: [AccessD] GRID?? In-Reply-To: <20050801120834.68317.qmail@web31603.mail.mud.yahoo.com> Message-ID: <000e01c59697$1e40abb0$0100000a@GALAXY.local> SD, janus is a vb active X control. If you want native access grids there are to my knowlegde only three workarrounds/solutions: - work with continues forms which give you a grid look and feel and sorting possibilities. - work with the listview and make sortopties for every column - embed excel as oleobject and fill the excel sheet. Marcel -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Sad Der Sent: maandag 1 augustus 2005 14:09 To: Access Developers discussion and problem solving Subject: Re: [AccessD] GRID?? Thnx but that doesn't help me out now. It has to be Access functionality (maybe vb activeX?) I'm lookin into that now. Regards, SD --- Marcel Vreuls wrote: > SD, > > I use JanusGrid 2000 a lot. Take a look at > componentresource.com and search for Janus. They > have also included a good access example with > connected and disconnected recordsets. > > Gr. marcel > ---------- Original Message > ---------------------------------- > From: Sad Der > Reply-To: Access Developers discussion and problem > solving > Date: Mon, 1 Aug 2005 02:46:16 -0700 (PDT) > > >Hi group, > > > >??? que pasa ??? > >isn't there a grid in ms-access I can use?? > > > >I've got a recordset that returns somewhere between > 3 > >and x fields. I want to display the data in a > grid. > > > >However i cannot find anything regarding a grid in > >Access. Come to think of it, I cannot remember that > >I've ever used a grid. > > > >Any ideas? > > > >Thnx > > > >SD > > > >__________________________________________________ > >Do You Yahoo!? > >Tired of spam? Yahoo! Mail has the best spam > protection around > >http://mail.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 > ____________________________________________________ Start your day with Yahoo! - make it your home page http://www.yahoo.com/r/hs -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From ssharkins at bellsouth.net Mon Aug 1 07:43:46 2005 From: ssharkins at bellsouth.net (Susan Harkins) Date: Mon, 1 Aug 2005 08:43:46 -0400 Subject: [AccessD] GRID?? In-Reply-To: <000e01c59697$1e40abb0$0100000a@GALAXY.local> Message-ID: <20050801124341.ZGNC24175.ibm69aec.bellsouth.net@SUSANONE> - work with the listview and make sortopties for every column ========What is a listview? Susan H. From jwcolby at colbyconsulting.com Mon Aug 1 07:56:25 2005 From: jwcolby at colbyconsulting.com (John W. Colby) Date: Mon, 1 Aug 2005 08:56:25 -0400 Subject: [AccessD] test Message-ID: <002501c59698$6d45e620$0501a8c0@ColbyM6805> John W. Colby www.ColbyConsulting.com Contribute your unused CPU cycles to a good cause: http://folding.stanford.edu/ From accessd666 at yahoo.com Mon Aug 1 08:02:08 2005 From: accessd666 at yahoo.com (Sad Der) Date: Mon, 1 Aug 2005 06:02:08 -0700 (PDT) Subject: [AccessD] GRID?? In-Reply-To: <000e01c59697$1e40abb0$0100000a@GALAXY.local> Message-ID: <20050801130208.16097.qmail@web31612.mail.mud.yahoo.com> Thnx, for the replies. I've solved the problem like this: 1 - I've created a SQL server view 2 - I've created a Pass-Through query 3 - I've created a sub-form based on step 2 Now 'all' I have to do is figure out how I can add a parameter that is filled using a form... :-) regards, SD --- | Marcel Vreuls wrote: > SD, > > janus is a vb active X control. If you want native > access grids there are > to my knowlegde only three workarrounds/solutions: > > - work with continues forms which give you a grid > look and feel and sorting > possibilities. > - work with the listview and make sortopties for > every column > - embed excel as oleobject and fill the excel sheet. > > Marcel > > > > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com]On > Behalf Of Sad Der > Sent: maandag 1 augustus 2005 14:09 > To: Access Developers discussion and problem solving > Subject: Re: [AccessD] GRID?? > > > Thnx but that doesn't help me out now. > It has to be Access functionality (maybe vb > activeX?) > I'm lookin into that now. > > Regards, > > SD > > --- Marcel Vreuls wrote: > > > SD, > > > > I use JanusGrid 2000 a lot. Take a look at > > componentresource.com and search for Janus. They > > have also included a good access example with > > connected and disconnected recordsets. > > > > Gr. marcel > > ---------- Original Message > > ---------------------------------- > > From: Sad Der > > Reply-To: Access Developers discussion and problem > > solving > > Date: Mon, 1 Aug 2005 02:46:16 -0700 (PDT) > > > > >Hi group, > > > > > >??? que pasa ??? > > >isn't there a grid in ms-access I can use?? > > > > > >I've got a recordset that returns somewhere > between > > 3 > > >and x fields. I want to display the data in a > > grid. > > > > > >However i cannot find anything regarding a grid > in > > >Access. Come to think of it, I cannot remember > that > > >I've ever used a grid. > > > > > >Any ideas? > > > > > >Thnx > > > > > >SD > > > > > > >__________________________________________________ > > >Do You Yahoo!? > > >Tired of spam? Yahoo! Mail has the best spam > > protection around > > >http://mail.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 > > > > > > > ____________________________________________________ > Start your day with Yahoo! - make it your home page > http://www.yahoo.com/r/hs > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/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! Mail - Find what you need with new enhanced search. http://info.mail.yahoo.com/mail_250 From dwaters at usinternet.com Mon Aug 1 09:15:51 2005 From: dwaters at usinternet.com (Dan Waters) Date: Mon, 1 Aug 2005 09:15:51 -0500 Subject: [AccessD] Enforcing Database Properties in Code Message-ID: <000001c596a3$898a1210$0300a8c0@danwaters> Hello to everyone! I've set up code that will detect and change database properties as the database is opened. For startup properties, you need to shut down the database and restart before they take effect - i.e., "AllowSpecialKeys". So, the code will change the property and immediately shut down the database. This happens during the startup routines so the user has to restart to get in. Each time this happens the event is stored in a log which is sent to me daily. However, I had believed that the database properties would have been stored within the application on the PC. But, with the event log I get it appears that the properties must be stored either in the BE or the workgroup file, because even though the properties have been set once on someone's PC, they may get set again a few days later. The users don't know how to change the properties manually, and the toolbar to do that is hidden anyway. And, almost all of the users don't use access for anything else. The database is in AXP, split FE/BE, and secured with a separate workgroup file. Also, the administrator needs to go manage the startup properties from time to time. My question is - How can I enforce startup properties? Thanks! Dan Waters From jmhecht at earthlink.net Mon Aug 1 09:18:56 2005 From: jmhecht at earthlink.net (Joe Hecht) Date: Mon, 1 Aug 2005 07:18:56 -0700 Subject: [AccessD] test In-Reply-To: <002501c59698$6d45e620$0501a8c0@ColbyM6805> Message-ID: <002101c596a3$f4c08320$6401a8c0@laptop1> As almost always PASS Joe Hecht Los Angeles CA -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of John W. Colby Sent: Monday, August 01, 2005 5:56 AM To: access at joe2.endjunk.com; 'Access Developers discussion and problem solving' Subject: [AccessD] test John W. Colby www.ColbyConsulting.com Contribute your unused CPU cycles to a good cause: http://folding.stanford.edu/ -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From John.Clark at niagaracounty.com Mon Aug 1 09:36:33 2005 From: John.Clark at niagaracounty.com (John Clark) Date: Mon, 01 Aug 2005 10:36:33 -0400 Subject: [AccessD] variable as object Message-ID: I am playing around with a new menu interface, and I am trying to streamline it a bit, so that it may be reused for different menus with different quantities of buttons. For instance my main menu has only three buttons, while the reports menu has nine. Basically, I have invisible buttons over labels, and I set the focus on a MouseMove and, when the focus is set, I change the BackColor and ForeColor of the label to emphasize the current button. I am trying to use the function below to set all buttons to their default state, and then set the current button to the "special" color scheme. However, I am getting the error message, "Object Required" and it refers to both the with statements. If I comment out these two statements and add in a "Label38.caption = lblst" the caption of this test label does change properly as I move the mouse over the buttons. Can I please get a fresh set of eyes to point out my failing on this? ________________________________________________________________________________________________- Public Function BtnChange(BtnNum As String, BtnQuan As Integer) '***** I call this function from each of the OnFocus events of the command buttons, using the syntax "BtnChange 1, 9" '***** 1 is the actual button number and thus changes for each button...they are named lbl01 to lbl09. '***** 9 is the total num of buttons and does not change. Dim x As Integer Dim y As String Dim lblst As Variant '*** I did have this set to string, but have changed in an effort to fix the problem *** x = 1 While x < BtnQuan y = CStr(x) lblst = "lbl0" & y With lblst .BackColor = 10066329 .ForeColor = 0 End With x = x + 1 Wend lblst = "lbl0" & BtnNum Label38.Caption = lblst '*** this is just a test statement I put in to verify up to a point. With lblst .BackColor = 6381921 .ForeColor = 6670333 End With End Function _______________________________________________________________________ Thank you! John W Clark From DWUTKA at marlow.com Mon Aug 1 10:09:11 2005 From: DWUTKA at marlow.com (DWUTKA at marlow.com) Date: Mon, 1 Aug 2005 10:09:11 -0500 Subject: [AccessD] OT: Error 550 Message-ID: <123701F54509D9119A4F00D0B747349016DB83@main2.marlow.com> Ok. Didn't catch that the first time. Is mail.colbyconsulting.com 'local'? I mean, is it residing where you are at, or is it the mail server of your hosting company? Drew -----Original Message----- From: John W. Colby [mailto:jwcolby at colbyconsulting.com] Sent: Sunday, July 31, 2005 12:31 AM To: 'Access Developers discussion and problem solving' Subject: RE: [AccessD] OT: Error 550 Yea, but it is more than that. If I just send a test message to myself, it just goes. A few minutes later it comes back in just fine. If I send to one of these other places, it INSTANTLY gets this 550 error in my inbox. If I then change from using mail.colbyconsulting.com as the smtp server address to the "local" smtp address (RR address) it goes out just fine. So it is not a case of "we don't like this destination". It is just forcing me to send through their mail server, but NOT when sending to my own mail server. Truly odd don't you think? John W. Colby www.ColbyConsulting.com Contribute your unused CPU cycles to a good cause: http://folding.stanford.edu/ -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of DWUTKA at marlow.com Sent: Sunday, July 31, 2005 12:51 AM To: accessd at databaseadvisors.com Subject: RE: [AccessD] OT: Error 550 It depends on how they have THEIR mail server setup. With the onslaught of spam, a lot of mail servers get down right finicky on what it will let through. I know my personal domain is/was blocked on several mail servers because the IP's in my domain were listed as dynamic, instead of static, which they WERE static. If the domain of the email you are sending 'from' doesn't match the IP's sending the mail, that's another big 'block'. Then there are several 'black lists' on the web, which store domains considered to be spam. Honestly, it's an issue that is a sore point for me (both spam, and the methods used to block). Drew -----Original Message----- From: John W. Colby [mailto:jwcolby at colbyconsulting.com] Sent: Saturday, July 30, 2005 11:43 PM To: 'Access Developers discussion and problem solving'; Tech - Database Advisors Inc. Subject: [AccessD] OT: Error 550 Does anyone understand what is going on with email sent from inside of specific networks. Here's the situation... I get the following error (as an example): Your message did not reach some or all of the intended recipients. Subject: RE: Logging in to George Sent: 7/29/2005 1:00 PM The following recipient(s) could not be reached: 'Jason Ralph' on 7/29/2005 1:00 PM 550 not local host invohealthcare.com, not a gateway >From my sister-in-law's house when I try to send to this specific >address, using SMPT server mail.colbyconsulting.com. If I send mail to myself I do not get this problem (to jwcolby at colbyconsulting.com). I have seen this exact same symptom if sending from my client. It never happened before from my sister-in-law's but is now. It turns out that if I look at her email smtp server (mail.rochester.rr.com), and modify my smtp server to match it works. It appears that this is the classic port 25 blocking thing. It is a royal PITA to have to find out what the correct smtp server is, modify Outlook, and send to that whenever I move from place to place. At my previous host for MY WEB SITE, they had me set up to send on a different port (26 maybe?) and then it worked regardless of where I was since only port 25 was being blocked and my web email server (mail.colbyconsulting.com) was expecting traffic on a different port. The odd part here is that I can send to myself (always), i.e. jwcolby at colbyconsulting.com. That must go on port 25 as well, so why does that go just fine, but not the other message? John W. Colby www.ColbyConsulting.com Contribute your unused CPU cycles to a good cause: http://folding.stanford.edu/ -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd 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 hudsonhealthplan.org Mon Aug 1 10:28:41 2005 From: Jdemarco at hudsonhealthplan.org (Jim DeMarco) Date: Mon, 1 Aug 2005 11:28:41 -0400 Subject: [AccessD] variable as object Message-ID: <08F823FD83787D4BA0B99CA580AD3C74016C3BFC@TTNEXCHCL2.hshhp.com> It looks like you're referring to your control via a string not a control object. Try something like: Me.Controls(lblst).BackColor HTH Jim DeMarco -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of John Clark Sent: Monday, August 01, 2005 10:37 AM To: accessd at databaseadvisors.com Subject: [AccessD] variable as object I am playing around with a new menu interface, and I am trying to streamline it a bit, so that it may be reused for different menus with different quantities of buttons. For instance my main menu has only three buttons, while the reports menu has nine. Basically, I have invisible buttons over labels, and I set the focus on a MouseMove and, when the focus is set, I change the BackColor and ForeColor of the label to emphasize the current button. I am trying to use the function below to set all buttons to their default state, and then set the current button to the "special" color scheme. However, I am getting the error message, "Object Required" and it refers to both the with statements. If I comment out these two statements and add in a "Label38.caption = lblst" the caption of this test label does change properly as I move the mouse over the buttons. Can I please get a fresh set of eyes to point out my failing on this? ________________________________________________________________________________________________- Public Function BtnChange(BtnNum As String, BtnQuan As Integer) '***** I call this function from each of the OnFocus events of the command buttons, using the syntax "BtnChange 1, 9" '***** 1 is the actual button number and thus changes for each button...they are named lbl01 to lbl09. '***** 9 is the total num of buttons and does not change. Dim x As Integer Dim y As String Dim lblst As Variant '*** I did have this set to string, but have changed in an effort to fix the problem *** x = 1 While x < BtnQuan y = CStr(x) lblst = "lbl0" & y With lblst .BackColor = 10066329 .ForeColor = 0 End With x = x + 1 Wend lblst = "lbl0" & BtnNum Label38.Caption = lblst '*** this is just a test statement I put in to verify up to a point. With lblst .BackColor = 6381921 .ForeColor = 6670333 End With End Function _______________________________________________________________________ Thank you! John W Clark -- 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 Mon Aug 1 11:08:15 2005 From: John.Clark at niagaracounty.com (John Clark) Date: Mon, 01 Aug 2005 12:08:15 -0400 Subject: [AccessD] variable as object Message-ID: Thanks Jim. This seems to be it. I'm going to have to learn about the control object a little more. I have run into similar problems other times and just "went around" the problem, and I think this would have helped me then too. Take care! John W Clark >>> Jdemarco at hudsonhealthplan.org 8/1/2005 11:28 AM >>> It looks like you're referring to your control via a string not a control object. Try something like: Me.Controls(lblst).BackColor HTH Jim DeMarco -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of John Clark Sent: Monday, August 01, 2005 10:37 AM To: accessd at databaseadvisors.com Subject: [AccessD] variable as object I am playing around with a new menu interface, and I am trying to streamline it a bit, so that it may be reused for different menus with different quantities of buttons. For instance my main menu has only three buttons, while the reports menu has nine. Basically, I have invisible buttons over labels, and I set the focus on a MouseMove and, when the focus is set, I change the BackColor and ForeColor of the label to emphasize the current button. I am trying to use the function below to set all buttons to their default state, and then set the current button to the "special" color scheme. However, I am getting the error message, "Object Required" and it refers to both the with statements. If I comment out these two statements and add in a "Label38.caption = lblst" the caption of this test label does change properly as I move the mouse over the buttons. Can I please get a fresh set of eyes to point out my failing on this? ________________________________________________________________________________________________- Public Function BtnChange(BtnNum As String, BtnQuan As Integer) '***** I call this function from each of the OnFocus events of the command buttons, using the syntax "BtnChange 1, 9" '***** 1 is the actual button number and thus changes for each button...they are named lbl01 to lbl09. '***** 9 is the total num of buttons and does not change. Dim x As Integer Dim y As String Dim lblst As Variant '*** I did have this set to string, but have changed in an effort to fix the problem *** x = 1 While x < BtnQuan y = CStr(x) lblst = "lbl0" & y With lblst .BackColor = 10066329 .ForeColor = 0 End With x = x + 1 Wend lblst = "lbl0" & BtnNum Label38.Caption = lblst '*** this is just a test statement I put in to verify up to a point. With lblst .BackColor = 6381921 .ForeColor = 6670333 End With End Function _______________________________________________________________________ Thank you! John W Clark -- 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 cfoust at infostatsystems.com Mon Aug 1 11:15:20 2005 From: cfoust at infostatsystems.com (Charlotte Foust) Date: Mon, 1 Aug 2005 09:15:20 -0700 Subject: [AccessD] mde....mdb format Message-ID: What click event on which object? There are certainly things you can't do in an mde/ade because of the nature of the container, so what exactly is the event trying to do? Charlotte Foust -----Original Message----- From: John Eget [mailto:joeget at vgernet.net] Sent: Sunday, July 31, 2005 5:02 PM To: AccessD at databaseadvisors.com Subject: [AccessD] mde....mdb format I have correctly complied and ran a mdb database with no errors, yet when i convert to mde i get the error pop that the command on a click event is not available in a mde/ade format. has anyone came across this before, what happens when i create a mde? Thanks for looking John -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From Gustav at cactus.dk Mon Aug 1 11:23:05 2005 From: Gustav at cactus.dk (Gustav Brock) Date: Mon, 01 Aug 2005 18:23:05 +0200 Subject: [AccessD] variable as object Message-ID: Hi John Also study the WithEvents Demo at Mr. Colby's site: http://www.colbyconsulting.com/ Applying WithEvents will bring your form to a new level. /gustav -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of John Clark Sent: Monday, August 01, 2005 10:37 AM To: accessd at databaseadvisors.com Subject: [AccessD] variable as object I am playing around with a new menu interface, and I am trying to streamline it a bit, so that it may be reused for different menus with different quantities of buttons. For instance my main menu has only three buttons, while the reports menu has nine. Basically, I have invisible buttons over labels, and I set the focus on a MouseMove and, when the focus is set, I change the BackColor and ForeColor of the label to emphasize the current button. .. From Jdemarco at hudsonhealthplan.org Mon Aug 1 12:05:58 2005 From: Jdemarco at hudsonhealthplan.org (Jim DeMarco) Date: Mon, 1 Aug 2005 13:05:58 -0400 Subject: [AccessD] variable as object Message-ID: <08F823FD83787D4BA0B99CA580AD3C74016C3C00@TTNEXCHCL2.hshhp.com> I should have mentioned that if you want to assign the label to a variable (which your original code attempted to do) you can do it like this: Dim lblCurrent as Access.Label Dim x As Integer x = 1 While x < BtnQuan Set lblCurrent = Me.Controls("lbl10" & CStr(x)) With lblCurrent .BackColor = 10066329 .ForeColor = 0 End With x = x + 1 Wend Jim D. -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of John Clark Sent: Monday, August 01, 2005 12:08 PM To: accessd at databaseadvisors.com Subject: RE: [AccessD] variable as object Thanks Jim. This seems to be it. I'm going to have to learn about the control object a little more. I have run into similar problems other times and just "went around" the problem, and I think this would have helped me then too. Take care! John W Clark >>> Jdemarco at hudsonhealthplan.org 8/1/2005 11:28 AM >>> It looks like you're referring to your control via a string not a control object. Try something like: Me.Controls(lblst).BackColor HTH Jim DeMarco -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of John Clark Sent: Monday, August 01, 2005 10:37 AM To: accessd at databaseadvisors.com Subject: [AccessD] variable as object I am playing around with a new menu interface, and I am trying to streamline it a bit, so that it may be reused for different menus with different quantities of buttons. For instance my main menu has only three buttons, while the reports menu has nine. Basically, I have invisible buttons over labels, and I set the focus on a MouseMove and, when the focus is set, I change the BackColor and ForeColor of the label to emphasize the current button. I am trying to use the function below to set all buttons to their default state, and then set the current button to the "special" color scheme. However, I am getting the error message, "Object Required" and it refers to both the with statements. If I comment out these two statements and add in a "Label38.caption = lblst" the caption of this test label does change properly as I move the mouse over the buttons. Can I please get a fresh set of eyes to point out my failing on this? ________________________________________________________________________________________________- Public Function BtnChange(BtnNum As String, BtnQuan As Integer) '***** I call this function from each of the OnFocus events of the command buttons, using the syntax "BtnChange 1, 9" '***** 1 is the actual button number and thus changes for each button...they are named lbl01 to lbl09. '***** 9 is the total num of buttons and does not change. Dim x As Integer Dim y As String Dim lblst As Variant '*** I did have this set to string, but have changed in an effort to fix the problem *** x = 1 While x < BtnQuan y = CStr(x) lblst = "lbl0" & y With lblst .BackColor = 10066329 .ForeColor = 0 End With x = x + 1 Wend lblst = "lbl0" & BtnNum Label38.Caption = lblst '*** this is just a test statement I put in to verify up to a point. With lblst .BackColor = 6381921 .ForeColor = 6670333 End With End Function _______________________________________________________________________ Thank you! John W Clark -- 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 John.Clark at niagaracounty.com Mon Aug 1 12:58:54 2005 From: John.Clark at niagaracounty.com (John Clark) Date: Mon, 01 Aug 2005 13:58:54 -0400 Subject: [AccessD] variable as object Message-ID: Yeah, thanks. I did figure this out, but it was your original answer which pointed me to it. >>> Jdemarco at hudsonhealthplan.org 8/1/2005 1:05 PM >>> I should have mentioned that if you want to assign the label to a variable (which your original code attempted to do) you can do it like this: Dim lblCurrent as Access.Label Dim x As Integer x = 1 While x < BtnQuan Set lblCurrent = Me.Controls("lbl10" & CStr(x)) With lblCurrent .BackColor = 10066329 .ForeColor = 0 End With x = x + 1 Wend Jim D. -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of John Clark Sent: Monday, August 01, 2005 12:08 PM To: accessd at databaseadvisors.com Subject: RE: [AccessD] variable as object Thanks Jim. This seems to be it. I'm going to have to learn about the control object a little more. I have run into similar problems other times and just "went around" the problem, and I think this would have helped me then too. Take care! John W Clark >>> Jdemarco at hudsonhealthplan.org 8/1/2005 11:28 AM >>> It looks like you're referring to your control via a string not a control object. Try something like: Me.Controls(lblst).BackColor HTH Jim DeMarco -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of John Clark Sent: Monday, August 01, 2005 10:37 AM To: accessd at databaseadvisors.com Subject: [AccessD] variable as object I am playing around with a new menu interface, and I am trying to streamline it a bit, so that it may be reused for different menus with different quantities of buttons. For instance my main menu has only three buttons, while the reports menu has nine. Basically, I have invisible buttons over labels, and I set the focus on a MouseMove and, when the focus is set, I change the BackColor and ForeColor of the label to emphasize the current button. I am trying to use the function below to set all buttons to their default state, and then set the current button to the "special" color scheme. However, I am getting the error message, "Object Required" and it refers to both the with statements. If I comment out these two statements and add in a "Label38.caption = lblst" the caption of this test label does change properly as I move the mouse over the buttons. Can I please get a fresh set of eyes to point out my failing on this? ________________________________________________________________________________________________- Public Function BtnChange(BtnNum As String, BtnQuan As Integer) '***** I call this function from each of the OnFocus events of the command buttons, using the syntax "BtnChange 1, 9" '***** 1 is the actual button number and thus changes for each button...they are named lbl01 to lbl09. '***** 9 is the total num of buttons and does not change. Dim x As Integer Dim y As String Dim lblst As Variant '*** I did have this set to string, but have changed in an effort to fix the problem *** x = 1 While x < BtnQuan y = CStr(x) lblst = "lbl0" & y With lblst .BackColor = 10066329 .ForeColor = 0 End With x = x + 1 Wend lblst = "lbl0" & BtnNum Label38.Caption = lblst '*** this is just a test statement I put in to verify up to a point. With lblst .BackColor = 6381921 .ForeColor = 6670333 End With End Function _______________________________________________________________________ Thank you! John W Clark -- 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 martyconnelly at shaw.ca Mon Aug 1 14:09:35 2005 From: martyconnelly at shaw.ca (MartyConnelly) Date: Mon, 01 Aug 2005 12:09:35 -0700 Subject: [AccessD] OT: Error 550 References: <123701F54509D9119A4F00D0B747349016DB83@main2.marlow.com> Message-ID: <42EE736F.8000106@shaw.ca> If you are running code as below, it will only run inside the domain of the ISP unless you can find an open email server that will allow redirects. ie. your cable modem is consider inside the domain of the ISP. Also the SMTP running on your machine may do a quick redirect local to your machine when checking the output email queue to transmit. Maybe just in case you bcc: yourself. Here is another email method. I am not sure of all of the ramifications of this method. One being your ISP may block. Any comments? 'The example code is using CDOSYS (CDO for Windows 2000 or XP). 'I dont think I would want to go back to CDONTS for earlier systems 'It does not depend on MAPI or CDO or Outlook 'It does not use your mailbox to send email. ' So you can send mail without a mail program or mail account ' This code builds the message and drops it into a pickup directory, ' and the SMTP service running on the machine ' picks it up and send it out to the internet. 'So why use CDO code instead of Outlook automation or Application.SendMail in VBA. ' It doesn't matter what Mail program you are using (It uses the SMTP server). ' It doesn't matter what Office version you are using. ' supposedly you can send an object or file in the body of the mail (some mail programs can't do this) ' haven't verified this ' You can send any file attachment you like. ' No Outlook Security warning so no need for Redemption ' You probably wont have your mail server full expanded smtp address 'If you go into netscape mail or outlook and look for the smtp name 'It will look like mine, "shawmail" or "shawnews" this dns resolves 'to "shawmail.cg.shawcable.net" CDO doesn't resolve this short name so 'The quickest way to get this actual address without using registry et al. 'is run cmd and ping "shawmail" to return full qualified smtp address. 'This code wont run exactly unless you are on cable and signed on in the Shaw or whatever is your domain, your cable modem is a node in their domain Sub SendCDO() ' This example use late binding of CDOSys, you don't have to set a reference ' You must be online to net when you run the sub ' You must be running WinXP or Win2000 Dim cdoMessage As Object Dim objCDOMail As Object Dim strschema As String On Error GoTo ErrorHandler ' Enable error-handling routine. ' Set cdoMessage = CreateObject("CDO.Message") Set objCDOMail = CreateObject("CDO.Configuration") strschema = "http://schemas.microsoft.com/cdo/configuration/" objCDOMail.Load -1 ' CDO Source Default 'If you have illegal or wrong smtp address here it will run for 30- 60 seconds and finally give transport error With objCDOMail.Fields .Item(strschema & "sendusing") = 2 ' cdoSendUsingPort .Item(strschema & "smtpserver") = "shawmail.cg.shawcable.net" ' "Your SMTP server address here" .Item(strschema & "smtpserverport") = 25 'specify port number .Update End With With cdoMessage Set .Configuration = objCDOMail .to = "macon at g..." .From = "Winnie The Pooh " .CC = "" .BCC = "" .Subject = "This is another test from marty" .TextBody = "This is the text in the body just cdo defaults" .AddAttachment "C:\temp2\rptSampleCount.rtf" .AddAttachment "C:\temp2\frontimage.jpeg" .send End With Set cdoMessage = Nothing Set objCDOMail = Nothing Exit Sub ' Exit to avoid handler. ErrorHandler: ' Error-handling routine. Debug.Print Err.Number & "-" & Err.Description Set cdoMessage = Nothing Set objCDOMail = Nothing Exit Sub End Sub DWUTKA at marlow.com wrote: >Ok. Didn't catch that the first time. Is mail.colbyconsulting.com 'local'? >I mean, is it residing where you are at, or is it the mail server of your >hosting company? > >Drew > >-----Original Message----- >From: John W. Colby [mailto:jwcolby at colbyconsulting.com] >Sent: Sunday, July 31, 2005 12:31 AM >To: 'Access Developers discussion and problem solving' >Subject: RE: [AccessD] OT: Error 550 > > >Yea, but it is more than that. If I just send a test message to myself, it >just goes. A few minutes later it comes back in just fine. If I send to >one of these other places, it INSTANTLY gets this 550 error in my inbox. If >I then change from using mail.colbyconsulting.com as the smtp server address >to the "local" smtp address (RR address) it goes out just fine. So it is >not a case of "we don't like this destination". It is just forcing me to >send through their mail server, but NOT when sending to my own mail server. >Truly odd don't you think? > >John W. Colby >www.ColbyConsulting.com > >Contribute your unused CPU cycles to a good cause: >http://folding.stanford.edu/ > >-----Original Message----- >From: accessd-bounces at databaseadvisors.com >[mailto:accessd-bounces at databaseadvisors.com] On Behalf Of DWUTKA at marlow.com >Sent: Sunday, July 31, 2005 12:51 AM >To: accessd at databaseadvisors.com >Subject: RE: [AccessD] OT: Error 550 > > >It depends on how they have THEIR mail server setup. With the onslaught of >spam, a lot of mail servers get down right finicky on what it will let >through. I know my personal domain is/was blocked on several mail servers >because the IP's in my domain were listed as dynamic, instead of static, >which they WERE static. If the domain of the email you are sending 'from' >doesn't match the IP's sending the mail, that's another big 'block'. Then >there are several 'black lists' on the web, which store domains considered >to be spam. > >Honestly, it's an issue that is a sore point for me (both spam, and the >methods used to block). > >Drew > >-----Original Message----- >From: John W. Colby [mailto:jwcolby at colbyconsulting.com] >Sent: Saturday, July 30, 2005 11:43 PM >To: 'Access Developers discussion and problem solving'; Tech - Database >Advisors Inc. >Subject: [AccessD] OT: Error 550 > > >Does anyone understand what is going on with email sent from inside of >specific networks. Here's the situation... > >I get the following error (as an example): > >Your message did not reach some or all of the intended recipients. > > Subject: RE: Logging in to George > Sent: 7/29/2005 1:00 PM > >The following recipient(s) could not be reached: > > 'Jason Ralph' on 7/29/2005 1:00 PM > 550 not local host invohealthcare.com, not a gateway > >>From my sister-in-law's house when I try to send to this specific > > >>address, >> >> >using SMPT server mail.colbyconsulting.com. If I send mail to myself I do >not get this problem (to jwcolby at colbyconsulting.com). I have seen this >exact same symptom if sending from my client. It never happened before from >my sister-in-law's but is now. > >It turns out that if I look at her email smtp server >(mail.rochester.rr.com), and modify my smtp server to match it works. It >appears that this is the classic port 25 blocking thing. It is a royal PITA >to have to find out what the correct smtp server is, modify Outlook, and >send to that whenever I move from place to place. > >At my previous host for MY WEB SITE, they had me set up to send on a >different port (26 maybe?) and then it worked regardless of where I was >since only port 25 was being blocked and my web email server >(mail.colbyconsulting.com) was expecting traffic on a different port. > >The odd part here is that I can send to myself (always), i.e. >jwcolby at colbyconsulting.com. That must go on port 25 as well, so why does >that go just fine, but not the other message? > >John W. Colby >www.ColbyConsulting.com > >Contribute your unused CPU cycles to a good cause: >http://folding.stanford.edu/ > > > > -- Marty Connelly Victoria, B.C. Canada From joeget at vgernet.net Mon Aug 1 15:07:39 2005 From: joeget at vgernet.net (John Eget) Date: Mon, 1 Aug 2005 16:07:39 -0400 Subject: [AccessD] Fw: ICE - In Case of Emergency Message-ID: <00a401c596d5$3a3a8000$efc2f63f@Desktop> I put an underscore in front of my _ICE and also have _ICE1, _ICE2, and _IC#3 Subject: ICE - In Case of Emergency http://abclocal.go.com/wabc/news/wabc_072605_icecellphone.html Just wanted to share some good info if it's ever needed. Mark From Susan.Klos at fldoe.org Mon Aug 1 15:16:21 2005 From: Susan.Klos at fldoe.org (Klos, Susan) Date: Mon, 1 Aug 2005 16:16:21 -0400 Subject: [AccessD] Find a record on a form Message-ID: This is more complicated that just finding a record. Let me explain my situation. I have three tables which are linked from Excel. Someone else periodically updates these tables. I don't always know when they are being updated. I am trying to create a phone log form that uses a tab control to show records from tblpeople on tab 1 and related calls on tab 2. tblpeople is populated from the three Excel tables as well as from my input when I get a call from someone who is not in the tables. My quandary is how to set a primary key to link the people with their calls. Then I want to be able to find these people on the form. I don't know whether to find by whole name, first name or last name in the combo box. Am I going to have to go to cascading combo boxes? Adding a new record goes back to what do I use for a primary key. Further complicating the issue is that many folks have more than one phone number in the table and I want to put these in a separate phone table and more than one responsibility which I want to put in a responsibility table. I know this is terribly complicated, but if anyone can give me an idea how to set this up, I would be very appreciative. Susan Klos Senior Database Analyst Evaluation and Reporting Florida Department of Education 850-245-0708 sc 205-0708 From dmcafee at pacbell.net Mon Aug 1 15:36:38 2005 From: dmcafee at pacbell.net (dmcafee at pacbell.net) Date: Mon, 1 Aug 2005 13:36:38 -0700 Subject: [AccessD] Fw: ICE - In Case of Emergency In-Reply-To: <00a401c596d5$3a3a8000$efc2f63f@Desktop> Message-ID: My sister in law just sent me this last week too. What's funny is I've always added "Home" to my address book not only for that reason but if an honest person ever found my lost cell phone. oh, and try to carry ID at all times ;) D -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of John Eget Sent: Monday, August 01, 2005 1:08 PM To: AccessD at databaseadvisors.com Subject: [AccessD] Fw: ICE - In Case of Emergency I put an underscore in front of my _ICE and also have _ICE1, _ICE2, and _IC#3 Subject: ICE - In Case of Emergency http://abclocal.go.com/wabc/news/wabc_072605_icecellphone.html Just wanted to share some good info if it's ever needed. Mark -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From jwcolby at colbyconsulting.com Mon Aug 1 17:12:52 2005 From: jwcolby at colbyconsulting.com (John W. Colby) Date: Mon, 01 Aug 2005 18:12:52 -0400 Subject: [AccessD] OT: Error 550 In-Reply-To: <123701F54509D9119A4F00D0B747349016DB83@main2.marlow.com> Message-ID: <001001c596e6$3a18de80$6c7aa8c0@ColbyM6805> Mail.colbyconsulting.com is on the server of my hosting company. John W. Colby www.ColbyConsulting.com Contribute your unused CPU cycles to a good cause: http://folding.stanford.edu/ -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of DWUTKA at marlow.com Sent: Monday, August 01, 2005 11:09 AM To: accessd at databaseadvisors.com Subject: RE: [AccessD] OT: Error 550 Ok. Didn't catch that the first time. Is mail.colbyconsulting.com 'local'? I mean, is it residing where you are at, or is it the mail server of your hosting company? Drew -----Original Message----- From: John W. Colby [mailto:jwcolby at colbyconsulting.com] Sent: Sunday, July 31, 2005 12:31 AM To: 'Access Developers discussion and problem solving' Subject: RE: [AccessD] OT: Error 550 Yea, but it is more than that. If I just send a test message to myself, it just goes. A few minutes later it comes back in just fine. If I send to one of these other places, it INSTANTLY gets this 550 error in my inbox. If I then change from using mail.colbyconsulting.com as the smtp server address to the "local" smtp address (RR address) it goes out just fine. So it is not a case of "we don't like this destination". It is just forcing me to send through their mail server, but NOT when sending to my own mail server. Truly odd don't you think? John W. Colby www.ColbyConsulting.com Contribute your unused CPU cycles to a good cause: http://folding.stanford.edu/ -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of DWUTKA at marlow.com Sent: Sunday, July 31, 2005 12:51 AM To: accessd at databaseadvisors.com Subject: RE: [AccessD] OT: Error 550 It depends on how they have THEIR mail server setup. With the onslaught of spam, a lot of mail servers get down right finicky on what it will let through. I know my personal domain is/was blocked on several mail servers because the IP's in my domain were listed as dynamic, instead of static, which they WERE static. If the domain of the email you are sending 'from' doesn't match the IP's sending the mail, that's another big 'block'. Then there are several 'black lists' on the web, which store domains considered to be spam. Honestly, it's an issue that is a sore point for me (both spam, and the methods used to block). Drew -----Original Message----- From: John W. Colby [mailto:jwcolby at colbyconsulting.com] Sent: Saturday, July 30, 2005 11:43 PM To: 'Access Developers discussion and problem solving'; Tech - Database Advisors Inc. Subject: [AccessD] OT: Error 550 Does anyone understand what is going on with email sent from inside of specific networks. Here's the situation... I get the following error (as an example): Your message did not reach some or all of the intended recipients. Subject: RE: Logging in to George Sent: 7/29/2005 1:00 PM The following recipient(s) could not be reached: 'Jason Ralph' on 7/29/2005 1:00 PM 550 not local host invohealthcare.com, not a gateway >From my sister-in-law's house when I try to send to this specific >address, using SMPT server mail.colbyconsulting.com. If I send mail to myself I do not get this problem (to jwcolby at colbyconsulting.com). I have seen this exact same symptom if sending from my client. It never happened before from my sister-in-law's but is now. It turns out that if I look at her email smtp server (mail.rochester.rr.com), and modify my smtp server to match it works. It appears that this is the classic port 25 blocking thing. It is a royal PITA to have to find out what the correct smtp server is, modify Outlook, and send to that whenever I move from place to place. At my previous host for MY WEB SITE, they had me set up to send on a different port (26 maybe?) and then it worked regardless of where I was since only port 25 was being blocked and my web email server (mail.colbyconsulting.com) was expecting traffic on a different port. The odd part here is that I can send to myself (always), i.e. jwcolby at colbyconsulting.com. That must go on port 25 as well, so why does that go just fine, but not the other message? John W. Colby www.ColbyConsulting.com Contribute your unused CPU cycles to a good cause: http://folding.stanford.edu/ -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From kimjwiggins at yahoo.com Mon Aug 1 17:17:43 2005 From: kimjwiggins at yahoo.com (Kim Wiggins) Date: Mon, 1 Aug 2005 15:17:43 -0700 (PDT) Subject: [AccessD] Problems with word Automation Message-ID: <20050801221743.27831.qmail@web53609.mail.yahoo.com> Hey everyone Hope all is well. I am not. I coded an automation report in VB6 using Word and it works fine on my work laptop and my laptop at home. But when I install it on the users computer, it gives me the standard application error and shuts down. It says "My_app_name has encountered an error and must close" and then it offers to send a report. Well that is flooring me because it runs in the development environment on both machines just fine. Can anyone think of anything that I am missing or overlooking? Thanks Kim --------------------------------- Start your day with Yahoo! - make it your home page From KP at sdsonline.net Mon Aug 1 20:04:56 2005 From: KP at sdsonline.net (Kath Pelletti) Date: Tue, 2 Aug 2005 11:04:56 +1000 Subject: [AccessD] Runtime Vs Full Access Install Message-ID: <003501c596fe$335141b0$6601a8c0@user> William - maybe I have misunderstood. I thought that by including all dll's (or other files referred to in the vba references) in the runtime install package, that it could then be standalone. By that I mean that it would run regardless of whether the user had (any version of Access) or not, as it is a packaged entity. Have I got that wrong? (And I am assuming using Sage / Wise) Kath ----- Original Message ----- From: William Hindman To: Access Developers discussion and problem solving Sent: Thursday, July 28, 2005 3:26 PM Subject: Re: [AccessD] Runtime Vs Full Access Install ..hhhmmm ...either I'm misreading you or there is a fundamental misunderstanding somewhere in here ...a runtime mdb/mde is exactly the same as a full install mdb/mde ...the difference is that Access itself is not fully installed in a runtime ...the design/coding elements are not there so a user can't change anything ...it runs exactly as you designed it to run. ..if you have an A97 mdb and an A2k runtime it should still run as long as the references are there ...but the reverse is not true ...so I use startup code to check the installed version and call the corresponding fe mdb/mde. ..if you invest in the wise install tools, they handle those issues much better than the native Access distribution tools do and the default is to let them do all the work for you. William From ldoering at symphonyinfo.com Mon Aug 1 22:44:17 2005 From: ldoering at symphonyinfo.com (Liz Doering) Date: Mon, 1 Aug 2005 22:44:17 -0500 Subject: [AccessD] Fw: ICE - In Case of Emergency Message-ID: <855499653F55AD4190B242717DF132BC083019@dewey.Symphony.local> This is probably OT, but my husband the paramedic was doubtful that ICE would be helpful. IF your phone makes it all the way to the emergency room with you and IF you are otherwise unidentified, then ER people might find it helpful. But paramedics are more concerned with you and your injuries than with who you want notified. -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of dmcafee at pacbell.net Sent: Monday, August 01, 2005 3:46 PM To: Access Developers discussion and problem solving Subject: RE: [AccessD] Fw: ICE - In Case of Emergency My sister in law just sent me this last week too. What's funny is I've always added "Home" to my address book not only for that reason but if an honest person ever found my lost cell phone. oh, and try to carry ID at all times ;) D -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of John Eget Sent: Monday, August 01, 2005 1:08 PM To: AccessD at databaseadvisors.com Subject: [AccessD] Fw: ICE - In Case of Emergency I put an underscore in front of my _ICE and also have _ICE1, _ICE2, and _IC#3 Subject: ICE - In Case of Emergency http://abclocal.go.com/wabc/news/wabc_072605_icecellphone.html Just wanted to share some good info if it's ever needed. Mark -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From dejpolsys at hotmail.com Mon Aug 1 22:53:13 2005 From: dejpolsys at hotmail.com (William Hindman) Date: Mon, 1 Aug 2005 23:53:13 -0400 Subject: [AccessD] Runtime Vs Full Access Install References: <003501c596fe$335141b0$6601a8c0@user> Message-ID: Kath ...afaik the runtime is a "package" at install only ...but if a user subsequently installs full Access ...any version ...all bets are off because your runtime files integrity is dependent upon how the user does the install ..a "default" install will screw your runtime more often than not because it defaults to removing older file versions, even if they are needed by your runtime ...Wise/Sage won't block that type of problem from happening either but when you reinstall your runtime they will handle the concurrent full version issues for you. ..I work with no full Access installs allowed on client systems with the exception of developer dedicated workstations ...and no "office" upgrades either even if they don't include Access, except by me ...the latter because the office vba modules share some common parts with Access vba. ..but I'll be the first to admit that most developers don't have that type of control over their app runtime environments and there may well be other, better ways to deal with it ...I just find that keeping it clean makes my life a lot simpler and my clients with a lot fewer problems. William ----- Original Message ----- From: "Kath Pelletti" To: Sent: Monday, August 01, 2005 9:04 PM Subject: Re: [AccessD] Runtime Vs Full Access Install William - maybe I have misunderstood. I thought that by including all dll's (or other files referred to in the vba references) in the runtime install package, that it could then be standalone. By that I mean that it would run regardless of whether the user had (any version of Access) or not, as it is a packaged entity. Have I got that wrong? (And I am assuming using Sage / Wise) Kath ----- Original Message ----- From: William Hindman To: Access Developers discussion and problem solving Sent: Thursday, July 28, 2005 3:26 PM Subject: Re: [AccessD] Runtime Vs Full Access Install ..hhhmmm ...either I'm misreading you or there is a fundamental misunderstanding somewhere in here ...a runtime mdb/mde is exactly the same as a full install mdb/mde ...the difference is that Access itself is not fully installed in a runtime ...the design/coding elements are not there so a user can't change anything ...it runs exactly as you designed it to run. ..if you have an A97 mdb and an A2k runtime it should still run as long as the references are there ...but the reverse is not true ...so I use startup code to check the installed version and call the corresponding fe mdb/mde. ..if you invest in the wise install tools, they handle those issues much better than the native Access distribution tools do and the default is to let them do all the work for you. William -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From jeff at boyes.net Mon Aug 1 23:33:55 2005 From: jeff at boyes.net (Jeff) Date: Mon, 1 Aug 2005 22:33:55 -0600 Subject: [AccessD] OT: ICE - In Case of Emergency In-Reply-To: <855499653F55AD4190B242717DF132BC083019@dewey.Symphony.local> Message-ID: <200508020433.j724XtR20165@databaseadvisors.com> The ambulance service here said just today they will start training all their employees to specifically look for this...so I guess it is all about where you live...Of course, if _I_ come upon an accident scene, guess what I am going to look for... Better safe than sorry... Jeff -----Original Message----- From: Liz Doering [mailto:ldoering at symphonyinfo.com] Sent: Monday, August 01, 2005 9:44 PM To: Access Developers discussion and problem solving Subject: RE: [AccessD] Fw: ICE - In Case of Emergency This is probably OT, but my husband the paramedic was doubtful that ICE would be helpful. IF your phone makes it all the way to the emergency room with you and IF you are otherwise unidentified, then ER people might find it helpful. But paramedics are more concerned with you and your injuries than with who you want notified. -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of dmcafee at pacbell.net Sent: Monday, August 01, 2005 3:46 PM To: Access Developers discussion and problem solving Subject: RE: [AccessD] Fw: ICE - In Case of Emergency My sister in law just sent me this last week too. What's funny is I've always added "Home" to my address book not only for that reason but if an honest person ever found my lost cell phone. oh, and try to carry ID at all times ;) D -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of John Eget Sent: Monday, August 01, 2005 1:08 PM To: AccessD at databaseadvisors.com Subject: [AccessD] Fw: ICE - In Case of Emergency I put an underscore in front of my _ICE and also have _ICE1, _ICE2, and _IC#3 Subject: ICE - In Case of Emergency http://abclocal.go.com/wabc/news/wabc_072605_icecellphone.html Just wanted to share some good info if it's ever needed. Mark -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From martyconnelly at shaw.ca Tue Aug 2 00:28:50 2005 From: martyconnelly at shaw.ca (MartyConnelly) Date: Mon, 01 Aug 2005 22:28:50 -0700 Subject: [AccessD] Problems with word Automation References: <20050801221743.27831.qmail@web53609.mail.yahoo.com> Message-ID: <42EF0492.7020501@shaw.ca> Are you using early or late binding. Set objWord = CreateObject("Word.Application") or Set objWord = New Word.Application Funny things may happen with early binding if newer versions of word installed and then uninstalled. Kim Wiggins wrote: >Hey everyone >Hope all is well. I am not. I coded an automation report in VB6 using Word and it works fine on my work laptop and my laptop at home. But when I install it on the users computer, it gives me the standard application error and shuts down. It says "My_app_name has encountered an error and must close" and then it offers to send a report. Well that is flooring me because it runs in the development environment on both machines just fine. >Can anyone think of anything that I am missing or overlooking? >Thanks >Kim > > >--------------------------------- > Start your day with Yahoo! - make it your home page > > -- Marty Connelly Victoria, B.C. Canada From accessd666 at yahoo.com Tue Aug 2 01:25:38 2005 From: accessd666 at yahoo.com (Sad Der) Date: Mon, 1 Aug 2005 23:25:38 -0700 (PDT) Subject: [AccessD] PassThrough (Creation/ Modification) Issues Message-ID: <20050802062538.54680.qmail@web31611.mail.mud.yahoo.com> Hi group, I've created a passthrough query. I searched the Microsoft MSDN site and found several nice pieces of code (see below). I modified them a bit for my personal use. I noticed the following: - The 'ModifyQuery' works like a charm. It alters the PTQ like it should and displays the records accordingly. - The 'CreatePassThroughQry'created a PTQ but I do not see it in the database container. Where is it? When I try to use the newly created PTQ as a recordsource it does not display any records. (I want to use the CreatePassThroughQry sub in my multiuser environment!) Does anybody know why the CreatePassThroughQry sub does not work and why it does not show up in the database container? The newly created query does show when I loop the ADOX views!? Url: http://msdn.microsoft.com/library/default.asp?url=/library/en-us/dnacc2k/html/adocreateq.asp Regards, SD ------------------------------------- Public Sub ModifyQuery(strDBPath As String, _ strQryName As String, _ strSQL As String) Dim catDB As ADOX.Catalog Dim cmd As ADODB.Command Set catDB = New ADOX.Catalog ' Open the Catalog object. 'catDB.ActiveConnection = "Provider=Microsoft.Jet.OLEDB.4.0;" & _ "Data Source=" & strDBPath catDB.ActiveConnection = CurrentProject.Connection Set cmd = New ADODB.Command ' Get the query from the Procedures collection. Set cmd = catDB.Procedures(strQryName).Command ' Update the query's SQL statement. cmd.CommandText = strSQL 'Save the updated query. Set catDB.Procedures(strQryName).Command = cmd Set catDB = Nothing End Sub Public Function CreatePassThroughQry(strSQL As String, _ strODBCConnect As String) As String Dim catDB As ADOX.Catalog Dim cmd As ADODB.Command Dim varProp As Variant Dim strQryName As String Dim oGeninf As cGenInf Set oGeninf = New cGenInf Set catDB = New ADOX.Catalog ' Open the Catalog object. catDB.ActiveConnection = CurrentProject.Connection Set cmd = New ADODB.Command ' Define SQL statement for query and set provider-specific ' properties for query type and ODBC connection string. With cmd .ActiveConnection = catDB.ActiveConnection .CommandText = strSQL .Properties("Jet OLEDB:ODBC Pass-Through Statement") = True .Properties("Jet OLEDB:Pass Through Query Connect String") = strODBCConnect End With strQryName = oGeninf.UserName & Format(Now(), "_hhmmss") & "_tmp" ' Name and save query to Procedures collection. catDB.Procedures.Append strQryName, cmd CreatePassThroughQry = strQryName Set catDB = Nothing End Function __________________________________________________ Do You Yahoo!? Tired of spam? Yahoo! Mail has the best spam protection around http://mail.yahoo.com From jwcolby at colbyconsulting.com Tue Aug 2 06:31:20 2005 From: jwcolby at colbyconsulting.com (John W. Colby) Date: Tue, 02 Aug 2005 07:31:20 -0400 Subject: [AccessD] OT: ICE - In Case of Emergency In-Reply-To: <200508020433.j724XtR20165@databaseadvisors.com> Message-ID: <003e01c59755$b4d80f00$6c7aa8c0@ColbyM6805> Plus, ICE information could include your name, allergies, medical conditions etc. It doesn't have to be just phone numbers to call, though it should include that. John W. Colby www.ColbyConsulting.com Contribute your unused CPU cycles to a good cause: http://folding.stanford.edu/ -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Jeff Sent: Tuesday, August 02, 2005 12:34 AM To: 'Access Developers discussion and problem solving' Subject: [AccessD] OT: ICE - In Case of Emergency The ambulance service here said just today they will start training all their employees to specifically look for this...so I guess it is all about where you live...Of course, if _I_ come upon an accident scene, guess what I am going to look for... Better safe than sorry... Jeff -----Original Message----- From: Liz Doering [mailto:ldoering at symphonyinfo.com] Sent: Monday, August 01, 2005 9:44 PM To: Access Developers discussion and problem solving Subject: RE: [AccessD] Fw: ICE - In Case of Emergency This is probably OT, but my husband the paramedic was doubtful that ICE would be helpful. IF your phone makes it all the way to the emergency room with you and IF you are otherwise unidentified, then ER people might find it helpful. But paramedics are more concerned with you and your injuries than with who you want notified. -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of dmcafee at pacbell.net Sent: Monday, August 01, 2005 3:46 PM To: Access Developers discussion and problem solving Subject: RE: [AccessD] Fw: ICE - In Case of Emergency My sister in law just sent me this last week too. What's funny is I've always added "Home" to my address book not only for that reason but if an honest person ever found my lost cell phone. oh, and try to carry ID at all times ;) D -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of John Eget Sent: Monday, August 01, 2005 1:08 PM To: AccessD at databaseadvisors.com Subject: [AccessD] Fw: ICE - In Case of Emergency I put an underscore in front of my _ICE and also have _ICE1, _ICE2, and _IC#3 Subject: ICE - In Case of Emergency http://abclocal.go.com/wabc/news/wabc_072605_icecellphone.html Just wanted to share some good info if it's ever needed. Mark -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From bhorn at pivot-mds.com Tue Aug 2 07:21:59 2005 From: bhorn at pivot-mds.com (Bruce Horn) Date: Tue, 02 Aug 2005 08:21:59 -0400 Subject: [AccessD] PERL to ASP project Message-ID: <6.2.3.4.0.20050802081139.02897490@pop.business.earthlink.net> Hello List - We have a couple of projects that require PERL to ASP expertise for one of our clients. The immediate project is to complete the transition of the client's web presence from UNIX to Windows Server platform. If anyone is interested please contact me off-list for more details. Regards, - Bruce Horn *********************************** Bruce T. Horn CIO/CTO Pivot MDS, Llc. Ph: 401-586-6422 www.pivot-mds.com www.pivotsalestrack.com *********************************** A conclusion is simply the place you got tired of thinking. *********************************** From prodevmg at yahoo.com Tue Aug 2 07:35:00 2005 From: prodevmg at yahoo.com (Lonnie Johnson) Date: Tue, 2 Aug 2005 05:35:00 -0700 (PDT) Subject: [AccessD] Writing to an excel file Message-ID: <20050802123500.12109.qmail@web33104.mail.mud.yahoo.com> I have a recordset that I would like to write as rows in an excel spreadsheet. I want to start on a certain line. The columns are already predefined and match my recordset. This will run each month so it will need to overwrite the prior month's data. What is the best way to go about this? May God bless you beyond your imagination! Lonnie Johnson ProDev, Professional Development of MS Access Databases Visit me at ==> http://www.prodev.us --------------------------------- Start your day with Yahoo! - make it your home page From vrm at tim-cms.com Tue Aug 2 08:58:49 2005 From: vrm at tim-cms.com (| Marcel Vreuls) Date: Tue, 2 Aug 2005 15:58:49 +0200 Subject: [AccessD] Writing to an excel file In-Reply-To: <20050802123500.12109.qmail@web33104.mail.mud.yahoo.com> Message-ID: <005501c5976a$4f2acde0$6c61fea9@GALAXY.local> Lonnie, I use the following function for all export to XL. The sql string you can replace with query, SP or sql string with header information. The objProgress is a progressbar you can replace with your own one. Public Function fncExportNaarExcel(strSQL As String) On Error Resume Next 'ivm het eventueel niet aanwezig zijn van de exporteren query If strSQL = "" Or IsNull(strSQL) Then MsgBox "Er kunnen geen gegevens gevonden worden", vbInformation, OopMsgboxHeader Exit Function Else Dim objProgress As New clsProgress Dim daodatabase As DAO.database Set daodatabase = CurrentDb() objProgress.ShowProgress objProgress.TextMsg = "Collect data..." daodatabase.QueryDefs.Delete ("Exporteren") objProgress.TextMsg = "Exporteren data..." daodatabase.CreateQueryDef "Exporteren", strSQL objProgress.TextMsg = "Start Microsoft Excel..." DoCmd.OutputTo acOutputQuery, "Exporteren", acFormatXLS, "c:\export.xls", True objProgress.HideProgress Set objProgress = Nothing End If Exit Function End function -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Lonnie Johnson Sent: dinsdag 2 augustus 2005 14:35 To: AccessD solving' Subject: [AccessD] Writing to an excel file I have a recordset that I would like to write as rows in an excel spreadsheet. I want to start on a certain line. The columns are already predefined and match my recordset. This will run each month so it will need to overwrite the prior month's data. What is the best way to go about this? May God bless you beyond your imagination! Lonnie Johnson ProDev, Professional Development of MS Access Databases Visit me at ==> http://www.prodev.us --------------------------------- Start your day with Yahoo! - make it your home page -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From vrm at tim-cms.com Tue Aug 2 09:13:25 2005 From: vrm at tim-cms.com (| Marcel Vreuls) Date: Tue, 2 Aug 2005 16:13:25 +0200 Subject: [AccessD] Problems with word Automation In-Reply-To: <20050801221743.27831.qmail@web53609.mail.yahoo.com> Message-ID: <008801c5976c$594b81f0$6c61fea9@GALAXY.local> Kim, I had the same experience once. This was because of early binding problem (direct crash of the app) and a different office version (reason why). I had office 97 on my development envirnment. This all works fine. on the client machine it crashes. Due to the fact that de client had office 2000 or higher. I fixed it with delivering the word 97 OLB with the application because i would not make a seperate version of my app for each office version. Built in proper logging with the debug option. It should give you a lot of information. -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Kim Wiggins Sent: dinsdag 2 augustus 2005 0:18 To: AccessD at databaseadvisors.com Subject: [AccessD] Problems with word Automation Hey everyone Hope all is well. I am not. I coded an automation report in VB6 using Word and it works fine on my work laptop and my laptop at home. But when I install it on the users computer, it gives me the standard application error and shuts down. It says "My_app_name has encountered an error and must close" and then it offers to send a report. Well that is flooring me because it runs in the development environment on both machines just fine. Can anyone think of anything that I am missing or overlooking? Thanks Kim --------------------------------- Start your day with Yahoo! - make it your home page -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From Gustav at cactus.dk Tue Aug 2 09:25:35 2005 From: Gustav at cactus.dk (Gustav Brock) Date: Tue, 02 Aug 2005 16:25:35 +0200 Subject: [AccessD] Writing to an excel file Message-ID: Hi Lonnie If you fill in the same amount of rows it should be quite easy: 1. In the worksheet, create a Named Range covering the rows and columns you write to. 2. Attach (link) that Named Range as a table in Access as, say, xlsMonthData. 3. In Access, use an update query to update the table xlsMonthData. If you write in fewer records (rows) than already filled, it is slightly more complicated as you cannot delete the excessive rows; you'll have to erase the table field by field by a double loop in VBA which nulls out field by field, row by row before you run the update query. Of course, if you prefer, you can use VBA also to update the table avoiding the update query. /gustav >>> prodevmg at yahoo.com 08/02 2:35 pm >>> I have a recordset that I would like to write as rows in an excel spreadsheet. I want to start on a certain line. The columns are already predefined and match my recordset. This will run each month so it will need to overwrite the prior month's data. What is the best way to go about this? From Lambert.Heenan at AIG.com Tue Aug 2 09:33:23 2005 From: Lambert.Heenan at AIG.com (Heenan, Lambert) Date: Tue, 2 Aug 2005 10:33:23 -0400 Subject: [AccessD] Writing to an excel file Message-ID: <1D7828CDB8350747AFE9D69E0E90DA1F13D6DF89@xlivmbx21.aig.com> I think the simplest way for you to handle this is to define a Named Range inside the Excel file which includes the column names and the rows to which you will want to write data. That done you can then go through the menu choices File/Get External Date/Link Tables and select the Excel file as your source. Then in the link table dialog check the 'Show Named Ranged' option and choose the range you defined. On the next screen hit the 'First Row Contains Column Headings' check box, and you are done. The range now shows up as a linked table and you can write to it using VBA. It seems you cannot just use append queries as that would require adding rows to the worksheet. So you get an error stating that the 'Spreadsheet is full'. However VBA works just fine. Here is some code I just threw together that does the trick... Sub WriteExcel() Dim db As DAO.Database Dim rs As DAO.Recordset Dim rsout As DAO.Recordset Dim n As Long Set db = CurrentDb Set rs = db.OpenRecordset("testQry", dbOpenDynaset) ' testQry is just a simple select query that returns the correct ' number of columns for this test. i.e. the name number as the named range has. Set rsout = db.OpenRecordset("Excel_Sheet_Area", dbOpenDynaset) ' Excel_Sheet_Area is a linked 'table' that uses a named range in the spreadsheet ' to ensure the data is written to the correct starting row. ' The range covers X columns and all the rows from the start row to the end ' of the worksheet. rsout.MoveFirst rs.MoveFirst With rs While Not .EOF rsout.Edit ' I don't care about the field names as the query has the right number ' of columns. So I just write out the data accessing it via the field number. For n = 0 To rsout.Fields.Count - 1 rsout.Fields(n) = .Fields(n) Next n rsout.Update rsout.MoveNext .MoveNext Wend End With rsout.Close rs.Close Set rs = Nothing Set rsout = Nothing Set db = Nothing End Sub Lambert -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Lonnie Johnson Sent: Tuesday, August 02, 2005 8:35 AM To: AccessD solving' Subject: [AccessD] Writing to an excel file I have a recordset that I would like to write as rows in an excel spreadsheet. I want to start on a certain line. The columns are already predefined and match my recordset. This will run each month so it will need to overwrite the prior month's data. What is the best way to go about this? May God bless you beyond your imagination! Lonnie Johnson ProDev, Professional Development of MS Access Databases Visit me at ==> http://www.prodev.us --------------------------------- Start your day with Yahoo! - make it your home page -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From ssharkins at bellsouth.net Tue Aug 2 09:40:09 2005 From: ssharkins at bellsouth.net (Susan Harkins) Date: Tue, 2 Aug 2005 10:40:09 -0400 Subject: [AccessD] PassThrough (Creation/ Modification) Issues In-Reply-To: <20050802062538.54680.qmail@web31611.mail.mud.yahoo.com> Message-ID: <20050802144012.UGPX3975.ibm66aec.bellsouth.net@SUSANONE> The most likely reason is that the code doesn't comply with the data source. Remember, a pass-thru isn't necessarily Jet SQL -- it's whatever the source requires. Susan H. Hi group, I've created a passthrough query. I searched the Microsoft MSDN site and found several nice pieces of code (see below). I modified them a bit for my personal use. I noticed the following: - The 'ModifyQuery' works like a charm. It alters the PTQ like it should and displays the records accordingly. - The 'CreatePassThroughQry'created a PTQ but I do not see it in the database container. Where is it? When I try to use the newly created PTQ as a recordsource it does not display any records. (I want to use the CreatePassThroughQry sub in my multiuser environment!) Does anybody know why the CreatePassThroughQry sub does not work and why it does not show up in the database container? The newly created query does show when I loop the ADOX views!? Url: http://msdn.microsoft.com/library/default.asp?url=/library/en-us/dnacc2k/htm l/adocreateq.asp Regards, SD ------------------------------------- Public Sub ModifyQuery(strDBPath As String, _ strQryName As String, _ strSQL As String) Dim catDB As ADOX.Catalog Dim cmd As ADODB.Command Set catDB = New ADOX.Catalog ' Open the Catalog object. 'catDB.ActiveConnection = "Provider=Microsoft.Jet.OLEDB.4.0;" & _ "Data Source=" & strDBPath catDB.ActiveConnection = CurrentProject.Connection Set cmd = New ADODB.Command ' Get the query from the Procedures collection. Set cmd = catDB.Procedures(strQryName).Command ' Update the query's SQL statement. cmd.CommandText = strSQL 'Save the updated query. Set catDB.Procedures(strQryName).Command = cmd Set catDB = Nothing End Sub Public Function CreatePassThroughQry(strSQL As String, _ strODBCConnect As String) As String Dim catDB As ADOX.Catalog Dim cmd As ADODB.Command Dim varProp As Variant Dim strQryName As String Dim oGeninf As cGenInf Set oGeninf = New cGenInf Set catDB = New ADOX.Catalog ' Open the Catalog object. catDB.ActiveConnection = CurrentProject.Connection Set cmd = New ADODB.Command ' Define SQL statement for query and set provider-specific ' properties for query type and ODBC connection string. With cmd .ActiveConnection = catDB.ActiveConnection .CommandText = strSQL .Properties("Jet OLEDB:ODBC Pass-Through Statement") = True .Properties("Jet OLEDB:Pass Through Query Connect String") = strODBCConnect End With strQryName = oGeninf.UserName & Format(Now(), "_hhmmss") & "_tmp" ' Name and save query to Procedures collection. catDB.Procedures.Append strQryName, cmd CreatePassThroughQry = strQryName Set catDB = Nothing End Function __________________________________________________ Do You Yahoo!? Tired of spam? Yahoo! Mail has the best spam protection around http://mail.yahoo.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 Aug 2 10:09:11 2005 From: DWUTKA at marlow.com (DWUTKA at marlow.com) Date: Tue, 2 Aug 2005 10:09:11 -0500 Subject: [AccessD] OT: Error 550 Message-ID: <123701F54509D9119A4F00D0B747349016DB94@main2.marlow.com> I see. Okay, so they have a problem with THEIR smtp setup. They may not be setup as a mail forwarder, which means when you send email to yourself, you are hitting their smtp server, and it is accepting email for it's domain, but when you are trying to send mail to another server, it refuses, because then it has to 'forward' your email. Most mailservers won't forward, without authentication, do you use a name and password in your smtp setup? Drew -----Original Message----- From: John W. Colby [mailto:jwcolby at colbyconsulting.com] Sent: Monday, August 01, 2005 5:13 PM To: 'Access Developers discussion and problem solving' Subject: RE: [AccessD] OT: Error 550 Mail.colbyconsulting.com is on the server of my hosting company. John W. Colby www.ColbyConsulting.com Contribute your unused CPU cycles to a good cause: http://folding.stanford.edu/ -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of DWUTKA at marlow.com Sent: Monday, August 01, 2005 11:09 AM To: accessd at databaseadvisors.com Subject: RE: [AccessD] OT: Error 550 Ok. Didn't catch that the first time. Is mail.colbyconsulting.com 'local'? I mean, is it residing where you are at, or is it the mail server of your hosting company? Drew -----Original Message----- From: John W. Colby [mailto:jwcolby at colbyconsulting.com] Sent: Sunday, July 31, 2005 12:31 AM To: 'Access Developers discussion and problem solving' Subject: RE: [AccessD] OT: Error 550 Yea, but it is more than that. If I just send a test message to myself, it just goes. A few minutes later it comes back in just fine. If I send to one of these other places, it INSTANTLY gets this 550 error in my inbox. If I then change from using mail.colbyconsulting.com as the smtp server address to the "local" smtp address (RR address) it goes out just fine. So it is not a case of "we don't like this destination". It is just forcing me to send through their mail server, but NOT when sending to my own mail server. Truly odd don't you think? John W. Colby www.ColbyConsulting.com Contribute your unused CPU cycles to a good cause: http://folding.stanford.edu/ -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of DWUTKA at marlow.com Sent: Sunday, July 31, 2005 12:51 AM To: accessd at databaseadvisors.com Subject: RE: [AccessD] OT: Error 550 It depends on how they have THEIR mail server setup. With the onslaught of spam, a lot of mail servers get down right finicky on what it will let through. I know my personal domain is/was blocked on several mail servers because the IP's in my domain were listed as dynamic, instead of static, which they WERE static. If the domain of the email you are sending 'from' doesn't match the IP's sending the mail, that's another big 'block'. Then there are several 'black lists' on the web, which store domains considered to be spam. Honestly, it's an issue that is a sore point for me (both spam, and the methods used to block). Drew -----Original Message----- From: John W. Colby [mailto:jwcolby at colbyconsulting.com] Sent: Saturday, July 30, 2005 11:43 PM To: 'Access Developers discussion and problem solving'; Tech - Database Advisors Inc. Subject: [AccessD] OT: Error 550 Does anyone understand what is going on with email sent from inside of specific networks. Here's the situation... I get the following error (as an example): Your message did not reach some or all of the intended recipients. Subject: RE: Logging in to George Sent: 7/29/2005 1:00 PM The following recipient(s) could not be reached: 'Jason Ralph' on 7/29/2005 1:00 PM 550 not local host invohealthcare.com, not a gateway >From my sister-in-law's house when I try to send to this specific >address, using SMPT server mail.colbyconsulting.com. If I send mail to myself I do not get this problem (to jwcolby at colbyconsulting.com). I have seen this exact same symptom if sending from my client. It never happened before from my sister-in-law's but is now. It turns out that if I look at her email smtp server (mail.rochester.rr.com), and modify my smtp server to match it works. It appears that this is the classic port 25 blocking thing. It is a royal PITA to have to find out what the correct smtp server is, modify Outlook, and send to that whenever I move from place to place. At my previous host for MY WEB SITE, they had me set up to send on a different port (26 maybe?) and then it worked regardless of where I was since only port 25 was being blocked and my web email server (mail.colbyconsulting.com) was expecting traffic on a different port. The odd part here is that I can send to myself (always), i.e. jwcolby at colbyconsulting.com. That must go on port 25 as well, so why does that go just fine, but not the other message? John W. Colby www.ColbyConsulting.com Contribute your unused CPU cycles to a good cause: http://folding.stanford.edu/ -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd 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 Tue Aug 2 10:17:18 2005 From: jimdettman at earthlink.net (Jim Dettman) Date: Tue, 2 Aug 2005 11:17:18 -0400 Subject: [AccessD] PassThrough (Creation/ Modification) Issues In-Reply-To: <20050802062538.54680.qmail@web31611.mail.mud.yahoo.com> Message-ID: SD, <> Read the first paragraph of the link you posted (the one that says "Important"). Jim. -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Sad Der Sent: Tuesday, August 02, 2005 2:26 AM To: Acces User Group Subject: [AccessD] PassThrough (Creation/ Modification) Issues Hi group, I've created a passthrough query. I searched the Microsoft MSDN site and found several nice pieces of code (see below). I modified them a bit for my personal use. I noticed the following: - The 'ModifyQuery' works like a charm. It alters the PTQ like it should and displays the records accordingly. - The 'CreatePassThroughQry'created a PTQ but I do not see it in the database container. Where is it? When I try to use the newly created PTQ as a recordsource it does not display any records. (I want to use the CreatePassThroughQry sub in my multiuser environment!) Does anybody know why the CreatePassThroughQry sub does not work and why it does not show up in the database container? The newly created query does show when I loop the ADOX views!? Url: http://msdn.microsoft.com/library/default.asp?url=/library/en-us/dnacc2k/htm l/adocreateq.asp Regards, SD ------------------------------------- Public Sub ModifyQuery(strDBPath As String, _ strQryName As String, _ strSQL As String) Dim catDB As ADOX.Catalog Dim cmd As ADODB.Command Set catDB = New ADOX.Catalog ' Open the Catalog object. 'catDB.ActiveConnection = "Provider=Microsoft.Jet.OLEDB.4.0;" & _ "Data Source=" & strDBPath catDB.ActiveConnection = CurrentProject.Connection Set cmd = New ADODB.Command ' Get the query from the Procedures collection. Set cmd = catDB.Procedures(strQryName).Command ' Update the query's SQL statement. cmd.CommandText = strSQL 'Save the updated query. Set catDB.Procedures(strQryName).Command = cmd Set catDB = Nothing End Sub Public Function CreatePassThroughQry(strSQL As String, _ strODBCConnect As String) As String Dim catDB As ADOX.Catalog Dim cmd As ADODB.Command Dim varProp As Variant Dim strQryName As String Dim oGeninf As cGenInf Set oGeninf = New cGenInf Set catDB = New ADOX.Catalog ' Open the Catalog object. catDB.ActiveConnection = CurrentProject.Connection Set cmd = New ADODB.Command ' Define SQL statement for query and set provider-specific ' properties for query type and ODBC connection string. With cmd .ActiveConnection = catDB.ActiveConnection .CommandText = strSQL .Properties("Jet OLEDB:ODBC Pass-Through Statement") = True .Properties("Jet OLEDB:Pass Through Query Connect String") = strODBCConnect End With strQryName = oGeninf.UserName & Format(Now(), "_hhmmss") & "_tmp" ' Name and save query to Procedures collection. catDB.Procedures.Append strQryName, cmd CreatePassThroughQry = strQryName Set catDB = Nothing End Function __________________________________________________ Do You Yahoo!? Tired of spam? Yahoo! Mail has the best spam protection around http://mail.yahoo.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From Rich_Lavsa at pghcorning.com Tue Aug 2 10:28:21 2005 From: Rich_Lavsa at pghcorning.com (Lavsa, Rich) Date: Tue, 2 Aug 2005 11:28:21 -0400 Subject: [AccessD] PassThrough (Creation/ Modification) Issues Message-ID: <2A261FF9D5EBCA46940C11688CE872EE026C9D3D@goexchange2.pghcorning.com> I get the idea of what you are trying to do but I'm not sure what you are trying to accomplish. I have a very similar routine "ModifyQuery", that I use to alter a "Template" or "Standard" PTQ. I can dynamically create a sql statement in its correct syntax Oracle, TSQL, or JET then alter the appropriate PTQ to insert the correct sql to execute. At that point you can call your report, ListBox, Forms, Queries.. whatever, which then looks at your dynamically altered PTQ. But again I am not sure what you are trying to do. If you are trying to be neat and clean, I'd suggest keeping a Template or Standard PTQ as it will retain all the connection info in it once built then all you need to do is alter the SQL Statemtent and you are good to go. But again I'm guessing on your end result. Rich -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Susan Harkins Sent: Tuesday, August 02, 2005 10:40 AM To: 'Access Developers discussion and problem solving' Subject: RE: [AccessD] PassThrough (Creation/ Modification) Issues The most likely reason is that the code doesn't comply with the data source. Remember, a pass-thru isn't necessarily Jet SQL -- it's whatever the source requires. Susan H. Hi group, I've created a passthrough query. I searched the Microsoft MSDN site and found several nice pieces of code (see below). I modified them a bit for my personal use. I noticed the following: - The 'ModifyQuery' works like a charm. It alters the PTQ like it should and displays the records accordingly. - The 'CreatePassThroughQry'created a PTQ but I do not see it in the database container. Where is it? When I try to use the newly created PTQ as a recordsource it does not display any records. (I want to use the CreatePassThroughQry sub in my multiuser environment!) Does anybody know why the CreatePassThroughQry sub does not work and why it does not show up in the database container? The newly created query does show when I loop the ADOX views!? Url: http://msdn.microsoft.com/library/default.asp?url=/library/en-us/dnacc2k /htm l/adocreateq.asp Regards, SD ------------------------------------- Public Sub ModifyQuery(strDBPath As String, _ strQryName As String, _ strSQL As String) Dim catDB As ADOX.Catalog Dim cmd As ADODB.Command Set catDB = New ADOX.Catalog ' Open the Catalog object. 'catDB.ActiveConnection = "Provider=Microsoft.Jet.OLEDB.4.0;" & _ "Data Source=" & strDBPath catDB.ActiveConnection = CurrentProject.Connection Set cmd = New ADODB.Command ' Get the query from the Procedures collection. Set cmd = catDB.Procedures(strQryName).Command ' Update the query's SQL statement. cmd.CommandText = strSQL 'Save the updated query. Set catDB.Procedures(strQryName).Command = cmd Set catDB = Nothing End Sub Public Function CreatePassThroughQry(strSQL As String, _ strODBCConnect As String) As String Dim catDB As ADOX.Catalog Dim cmd As ADODB.Command Dim varProp As Variant Dim strQryName As String Dim oGeninf As cGenInf Set oGeninf = New cGenInf Set catDB = New ADOX.Catalog ' Open the Catalog object. catDB.ActiveConnection = CurrentProject.Connection Set cmd = New ADODB.Command ' Define SQL statement for query and set provider-specific ' properties for query type and ODBC connection string. With cmd .ActiveConnection = catDB.ActiveConnection .CommandText = strSQL .Properties("Jet OLEDB:ODBC Pass-Through Statement") = True .Properties("Jet OLEDB:Pass Through Query Connect String") = strODBCConnect End With strQryName = oGeninf.UserName & Format(Now(), "_hhmmss") & "_tmp" ' Name and save query to Procedures collection. catDB.Procedures.Append strQryName, cmd CreatePassThroughQry = strQryName Set catDB = Nothing End Function __________________________________________________ Do You Yahoo!? Tired of spam? Yahoo! Mail has the best spam protection around http://mail.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 From DWUTKA at marlow.com Tue Aug 2 10:30:45 2005 From: DWUTKA at marlow.com (DWUTKA at marlow.com) Date: Tue, 2 Aug 2005 10:30:45 -0500 Subject: [AccessD] Writing to an excel file Message-ID: <123701F54509D9119A4F00D0B747349016DB96@main2.marlow.com> Do you want to start on the second line? You can treat Excel as a recordset with ADO. Drew -----Original Message----- From: Lonnie Johnson [mailto:prodevmg at yahoo.com] Sent: Tuesday, August 02, 2005 7:35 AM To: AccessD solving' Subject: [AccessD] Writing to an excel file I have a recordset that I would like to write as rows in an excel spreadsheet. I want to start on a certain line. The columns are already predefined and match my recordset. This will run each month so it will need to overwrite the prior month's data. What is the best way to go about this? May God bless you beyond your imagination! Lonnie Johnson ProDev, Professional Development of MS Access Databases Visit me at ==> http://www.prodev.us --------------------------------- Start your day with Yahoo! - make it your home page -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From kimjwiggins at yahoo.com Tue Aug 2 10:35:29 2005 From: kimjwiggins at yahoo.com (Kim Wiggins) Date: Tue, 2 Aug 2005 08:35:29 -0700 (PDT) Subject: [AccessD] Problems with word Automation In-Reply-To: <42EF0492.7020501@shaw.ca> Message-ID: <20050802153529.41110.qmail@web53604.mail.yahoo.com> I am using Set objWord = CreateObject("Word.Application") Do you think that could be the problem? Kim MartyConnelly wrote: Are you using early or late binding. Set objWord = CreateObject("Word.Application") or Set objWord = New Word.Application Funny things may happen with early binding if newer versions of word installed and then uninstalled. Kim Wiggins wrote: >Hey everyone >Hope all is well. I am not. I coded an automation report in VB6 using Word and it works fine on my work laptop and my laptop at home. But when I install it on the users computer, it gives me the standard application error and shuts down. It says "My_app_name has encountered an error and must close" and then it offers to send a report. Well that is flooring me because it runs in the development environment on both machines just fine. >Can anyone think of anything that I am missing or overlooking? >Thanks >Kim > > >--------------------------------- > Start your day with Yahoo! - make it your home page > > -- Marty Connelly Victoria, B.C. Canada -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com --------------------------------- Start your day with Yahoo! - make it your home page From cfoust at infostatsystems.com Tue Aug 2 10:40:23 2005 From: cfoust at infostatsystems.com (Charlotte Foust) Date: Tue, 2 Aug 2005 08:40:23 -0700 Subject: [AccessD] Runtime Vs Full Access Install Message-ID: Any confusion is probably in mixing issues of MDE/MDB and runtime. The two have nothing to do with each other. The runtime includes the dlls and licenses required to run an Access database without any particular version of Access installed. An MDE is a form of MDB that no longer contains any code and does not allow some operations, regardless of whether it is run using a runtime for full installed Access. Does that clear up the confusion? Charlotte Foust -----Original Message----- From: Kath Pelletti [mailto:KP at sdsonline.net] Sent: Monday, August 01, 2005 6:05 PM To: AccessD at databaseadvisors.com Subject: Re: [AccessD] Runtime Vs Full Access Install William - maybe I have misunderstood. I thought that by including all dll's (or other files referred to in the vba references) in the runtime install package, that it could then be standalone. By that I mean that it would run regardless of whether the user had (any version of Access) or not, as it is a packaged entity. Have I got that wrong? (And I am assuming using Sage / Wise) Kath ----- Original Message ----- From: William Hindman To: Access Developers discussion and problem solving Sent: Thursday, July 28, 2005 3:26 PM Subject: Re: [AccessD] Runtime Vs Full Access Install ..hhhmmm ...either I'm misreading you or there is a fundamental misunderstanding somewhere in here ...a runtime mdb/mde is exactly the same as a full install mdb/mde ...the difference is that Access itself is not fully installed in a runtime ...the design/coding elements are not there so a user can't change anything ...it runs exactly as you designed it to run. ..if you have an A97 mdb and an A2k runtime it should still run as long as the references are there ...but the reverse is not true ...so I use startup code to check the installed version and call the corresponding fe mdb/mde. ..if you invest in the wise install tools, they handle those issues much better than the native Access distribution tools do and the default is to let them do all the work for you. William -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From kimjwiggins at yahoo.com Tue Aug 2 10:40:23 2005 From: kimjwiggins at yahoo.com (Kim Wiggins) Date: Tue, 2 Aug 2005 08:40:23 -0700 (PDT) Subject: [AccessD] Problems with word Automation In-Reply-To: <008801c5976c$594b81f0$6c61fea9@GALAXY.local> Message-ID: <20050802154023.63301.qmail@web53602.mail.yahoo.com> Thanks so much. I thought that it had something to do with that. Did you then use late binding instead of early binding in that instance? How can I tell which OLB to use with the version of word they have? The OLB I used was Word 10.0 Object. That was the only one available in my references on my version of VB6. | Marcel Vreuls wrote:Kim, I had the same experience once. This was because of early binding problem (direct crash of the app) and a different office version (reason why). I had office 97 on my development envirnment. This all works fine. on the client machine it crashes. Due to the fact that de client had office 2000 or higher. I fixed it with delivering the word 97 OLB with the application because i would not make a seperate version of my app for each office version. Built in proper logging with the debug option. It should give you a lot of information. -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Kim Wiggins Sent: dinsdag 2 augustus 2005 0:18 To: AccessD at databaseadvisors.com Subject: [AccessD] Problems with word Automation Hey everyone Hope all is well. I am not. I coded an automation report in VB6 using Word and it works fine on my work laptop and my laptop at home. But when I install it on the users computer, it gives me the standard application error and shuts down. It says "My_app_name has encountered an error and must close" and then it offers to send a report. Well that is flooring me because it runs in the development environment on both machines just fine. Can anyone think of anything that I am missing or overlooking? Thanks Kim --------------------------------- Start your day with Yahoo! - make it your home page -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/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!? Tired of spam? Yahoo! Mail has the best spam protection around http://mail.yahoo.com From cfoust at infostatsystems.com Tue Aug 2 10:41:59 2005 From: cfoust at infostatsystems.com (Charlotte Foust) Date: Tue, 2 Aug 2005 08:41:59 -0700 Subject: [AccessD] Fw: ICE - In Case of Emergency Message-ID: I wear a medic-alert bracelet. They're already trained to check that and it has a phone number to access my emergency information as well as my medical history. I think that's more useful. Charlotte Foust -----Original Message----- From: Liz Doering [mailto:ldoering at symphonyinfo.com] Sent: Monday, August 01, 2005 8:44 PM To: Access Developers discussion and problem solving Subject: RE: [AccessD] Fw: ICE - In Case of Emergency This is probably OT, but my husband the paramedic was doubtful that ICE would be helpful. IF your phone makes it all the way to the emergency room with you and IF you are otherwise unidentified, then ER people might find it helpful. But paramedics are more concerned with you and your injuries than with who you want notified. -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of dmcafee at pacbell.net Sent: Monday, August 01, 2005 3:46 PM To: Access Developers discussion and problem solving Subject: RE: [AccessD] Fw: ICE - In Case of Emergency My sister in law just sent me this last week too. What's funny is I've always added "Home" to my address book not only for that reason but if an honest person ever found my lost cell phone. oh, and try to carry ID at all times ;) D -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of John Eget Sent: Monday, August 01, 2005 1:08 PM To: AccessD at databaseadvisors.com Subject: [AccessD] Fw: ICE - In Case of Emergency I put an underscore in front of my _ICE and also have _ICE1, _ICE2, and _IC#3 Subject: ICE - In Case of Emergency http://abclocal.go.com/wabc/news/wabc_072605_icecellphone.html Just wanted to share some good info if it's ever needed. Mark -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From cfoust at infostatsystems.com Tue Aug 2 10:47:20 2005 From: cfoust at infostatsystems.com (Charlotte Foust) Date: Tue, 2 Aug 2005 08:47:20 -0700 Subject: [AccessD] Runtime Vs Full Access Install Message-ID: Then you're very fortunate to have that much control, William, but I must disagree with you. Your runtime files are NOT dependent on how the user does an Access install unless you unwisely (no pun intended) install the runtime in a generic location where it can be easily mucked up. We install the runtime files in their own directory and have not run into any collisions with installed versions of Access, either before or after the installation of the runtime. We've been doing this for years through multiple versions of Access (and Windows), so I think you can say it is time tested. The only real issue with runtime and full install on the same machine is that you MUST start the application using a shortcut that specifically points to the runtime executable or Windows will try to load the last full version of Access to open the database, whether or not it is appropriate. Charlotte Foust -----Original Message----- From: William Hindman [mailto:dejpolsys at hotmail.com] Sent: Monday, August 01, 2005 8:53 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Runtime Vs Full Access Install Kath ...afaik the runtime is a "package" at install only ...but if a user subsequently installs full Access ...any version ...all bets are off because your runtime files integrity is dependent upon how the user does the install ..a "default" install will screw your runtime more often than not because it defaults to removing older file versions, even if they are needed by your runtime ...Wise/Sage won't block that type of problem from happening either but when you reinstall your runtime they will handle the concurrent full version issues for you. ..I work with no full Access installs allowed on client systems with the exception of developer dedicated workstations ...and no "office" upgrades either even if they don't include Access, except by me ...the latter because the office vba modules share some common parts with Access vba. ..but I'll be the first to admit that most developers don't have that type of control over their app runtime environments and there may well be other, better ways to deal with it ...I just find that keeping it clean makes my life a lot simpler and my clients with a lot fewer problems. William ----- Original Message ----- From: "Kath Pelletti" To: Sent: Monday, August 01, 2005 9:04 PM Subject: Re: [AccessD] Runtime Vs Full Access Install William - maybe I have misunderstood. I thought that by including all dll's (or other files referred to in the vba references) in the runtime install package, that it could then be standalone. By that I mean that it would run regardless of whether the user had (any version of Access) or not, as it is a packaged entity. Have I got that wrong? (And I am assuming using Sage / Wise) Kath ----- Original Message ----- From: William Hindman To: Access Developers discussion and problem solving Sent: Thursday, July 28, 2005 3:26 PM Subject: Re: [AccessD] Runtime Vs Full Access Install ..hhhmmm ...either I'm misreading you or there is a fundamental misunderstanding somewhere in here ...a runtime mdb/mde is exactly the same as a full install mdb/mde ...the difference is that Access itself is not fully installed in a runtime ...the design/coding elements are not there so a user can't change anything ...it runs exactly as you designed it to run. ..if you have an A97 mdb and an A2k runtime it should still run as long as the references are there ...but the reverse is not true ...so I use startup code to check the installed version and call the corresponding fe mdb/mde. ..if you invest in the wise install tools, they handle those issues much better than the native Access distribution tools do and the default is to let them do all the work for you. William -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From prodevmg at yahoo.com Tue Aug 2 10:47:16 2005 From: prodevmg at yahoo.com (Lonnie Johnson) Date: Tue, 2 Aug 2005 08:47:16 -0700 (PDT) Subject: [AccessD] Writing to an excel file In-Reply-To: <123701F54509D9119A4F00D0B747349016DB96@main2.marlow.com> Message-ID: <20050802154717.23267.qmail@web33101.mail.mud.yahoo.com> I got it to work! With a little bit from here and a little from there this is what I am doing... On Error GoTo ErrControl DoCmd.SetWarnings False Dim db As DAO.Database Dim rs As DAO.Recordset 'records to be sent to the excel sheet Dim rsStatus As DAO.Recordset 'a list of all the statuses Dim qry As DAO.QueryDef 'used to define the query for the recordset we need to send to excel Dim strSQL As String 'used to hold the fields for exporting to excel Dim tabName As String 'the name of the tab in excel and the name of the query to export Dim outputFile As String 'destination excel file Dim monthlyCopy As String 'used to create a monthly copy of the file Dim i As Integer 'counter used to determine a new line in excel Set db = CurrentDb 'select fields for excel sheet strSQL = "SELECT LNAME, FNAME, KAECSESID, [FROM], [TO], [PROCEDURE CODE], " _ & "[DIAGNOSIS CODE], [UNIT RATE], UNITS, EXTENSION, [AUTHORIZATION NUMBER] " _ & "FROM qryStandardBillingForm " 'destination outputFile = "I:\DEPTDATA\BILLING FORM\BillingForm.xls" 'open the excel spreadsheet Set xlsApp = CreateObject("Excel.Application") xlsApp.Visible = True xlsApp.UserControl = True xlsApp.Workbooks.Open (outputFile) '************************************************************************************** 'Create HOSP tab of the excel spread sheet tabName = "HOSP" Set qry = db.CreateQueryDef(tabName, strSQL _ & " WHERE PLCTYPE = 'HOSP' ORDER BY LNAME, FNAME") 'select the appropriate tab Set xlsWSheet = xlsApp.Worksheets(tabName) xlsWSheet.Activate 'select range to be cleared and clear it xlsApp.Range("A10:K65536").Select xlsApp.Selection.ClearContents 'get records for the tab from our newly made query Set rs = db.OpenRecordset(tabName) i = 10 'set counter to the line of our excel worksheet where I want it to start writing Do Until rs.EOF xlsApp.ActiveSheet.Range("A" & i).Value = rs("LNAME") xlsApp.ActiveSheet.Range("B" & i).Value = rs("FNAME") xlsApp.ActiveSheet.Range("C" & i).Value = rs("KAECSESID") xlsApp.ActiveSheet.Range("D" & i).Value = rs("FROM") xlsApp.ActiveSheet.Range("E" & i).Value = rs("TO") xlsApp.ActiveSheet.Range("F" & i).Value = rs("PROCEDURE CODE") xlsApp.ActiveSheet.Range("G" & i).Value = rs("DIAGNOSIS CODE") xlsApp.ActiveSheet.Range("H" & i).Value = rs("UNIT RATE") xlsApp.ActiveSheet.Range("I" & i).Value = rs("UNITS") xlsApp.ActiveSheet.Range("J" & i).Value = rs("EXTENSION") xlsApp.ActiveSheet.Range("K" & i).Value = rs("AUTHORIZATION NUMBER") i = i + 1 rs.MoveNext Loop DoCmd.DeleteObject acQuery, tabName 'trash the temporary query '************************************************************************************** DWUTKA at marlow.com wrote: Do you want to start on the second line? You can treat Excel as a recordset with ADO. Drew -----Original Message----- From: Lonnie Johnson [mailto:prodevmg at yahoo.com] Sent: Tuesday, August 02, 2005 7:35 AM To: AccessD solving' Subject: [AccessD] Writing to an excel file I have a recordset that I would like to write as rows in an excel spreadsheet. I want to start on a certain line. The columns are already predefined and match my recordset. This will run each month so it will need to overwrite the prior month's data. What is the best way to go about this? May God bless you beyond your imagination! Lonnie Johnson ProDev, Professional Development of MS Access Databases Visit me at ==> http://www.prodev.us --------------------------------- Start your day with Yahoo! - make it your home page -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com May God bless you beyond your imagination! Lonnie Johnson ProDev, Professional Development of MS Access Databases Visit me at ==> http://www.prodev.us __________________________________________________ Do You Yahoo!? Tired of spam? Yahoo! Mail has the best spam protection around http://mail.yahoo.com From cfoust at infostatsystems.com Tue Aug 2 10:49:00 2005 From: cfoust at infostatsystems.com (Charlotte Foust) Date: Tue, 2 Aug 2005 08:49:00 -0700 Subject: [AccessD] OT: ICE - In Case of Emergency Message-ID: I repeat, Medic Alert, John. That is specifically what it is for. Charlotte Foust -----Original Message----- From: John W. Colby [mailto:jwcolby at colbyconsulting.com] Sent: Tuesday, August 02, 2005 4:31 AM To: 'Access Developers discussion and problem solving' Subject: RE: [AccessD] OT: ICE - In Case of Emergency Plus, ICE information could include your name, allergies, medical conditions etc. It doesn't have to be just phone numbers to call, though it should include that. John W. Colby www.ColbyConsulting.com Contribute your unused CPU cycles to a good cause: http://folding.stanford.edu/ -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Jeff Sent: Tuesday, August 02, 2005 12:34 AM To: 'Access Developers discussion and problem solving' Subject: [AccessD] OT: ICE - In Case of Emergency The ambulance service here said just today they will start training all their employees to specifically look for this...so I guess it is all about where you live...Of course, if _I_ come upon an accident scene, guess what I am going to look for... Better safe than sorry... Jeff -----Original Message----- From: Liz Doering [mailto:ldoering at symphonyinfo.com] Sent: Monday, August 01, 2005 9:44 PM To: Access Developers discussion and problem solving Subject: RE: [AccessD] Fw: ICE - In Case of Emergency This is probably OT, but my husband the paramedic was doubtful that ICE would be helpful. IF your phone makes it all the way to the emergency room with you and IF you are otherwise unidentified, then ER people might find it helpful. But paramedics are more concerned with you and your injuries than with who you want notified. -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of dmcafee at pacbell.net Sent: Monday, August 01, 2005 3:46 PM To: Access Developers discussion and problem solving Subject: RE: [AccessD] Fw: ICE - In Case of Emergency My sister in law just sent me this last week too. What's funny is I've always added "Home" to my address book not only for that reason but if an honest person ever found my lost cell phone. oh, and try to carry ID at all times ;) D -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of John Eget Sent: Monday, August 01, 2005 1:08 PM To: AccessD at databaseadvisors.com Subject: [AccessD] Fw: ICE - In Case of Emergency I put an underscore in front of my _ICE and also have _ICE1, _ICE2, and _IC#3 Subject: ICE - In Case of Emergency http://abclocal.go.com/wabc/news/wabc_072605_icecellphone.html Just wanted to share some good info if it's ever needed. Mark -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From ldoering at symphonyinfo.com Tue Aug 2 11:28:15 2005 From: ldoering at symphonyinfo.com (Liz Doering) Date: Tue, 2 Aug 2005 11:28:15 -0500 Subject: [AccessD] OT: ICE - In Case of Emergency Message-ID: <855499653F55AD4190B242717DF132BC083027@dewey.Symphony.local> Medics would agree. -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Charlotte Foust Sent: Tuesday, August 02, 2005 11:01 AM To: Access Developers discussion and problem solving Subject: RE: [AccessD] OT: ICE - In Case of Emergency I repeat, Medic Alert, John. That is specifically what it is for. Charlotte Foust -----Original Message----- From: John W. Colby [mailto:jwcolby at colbyconsulting.com] Sent: Tuesday, August 02, 2005 4:31 AM To: 'Access Developers discussion and problem solving' Subject: RE: [AccessD] OT: ICE - In Case of Emergency Plus, ICE information could include your name, allergies, medical conditions etc. It doesn't have to be just phone numbers to call, though it should include that. John W. Colby www.ColbyConsulting.com Contribute your unused CPU cycles to a good cause: http://folding.stanford.edu/ -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Jeff Sent: Tuesday, August 02, 2005 12:34 AM To: 'Access Developers discussion and problem solving' Subject: [AccessD] OT: ICE - In Case of Emergency The ambulance service here said just today they will start training all their employees to specifically look for this...so I guess it is all about where you live...Of course, if _I_ come upon an accident scene, guess what I am going to look for... Better safe than sorry... Jeff -----Original Message----- From: Liz Doering [mailto:ldoering at symphonyinfo.com] Sent: Monday, August 01, 2005 9:44 PM To: Access Developers discussion and problem solving Subject: RE: [AccessD] Fw: ICE - In Case of Emergency This is probably OT, but my husband the paramedic was doubtful that ICE would be helpful. IF your phone makes it all the way to the emergency room with you and IF you are otherwise unidentified, then ER people might find it helpful. But paramedics are more concerned with you and your injuries than with who you want notified. -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of dmcafee at pacbell.net Sent: Monday, August 01, 2005 3:46 PM To: Access Developers discussion and problem solving Subject: RE: [AccessD] Fw: ICE - In Case of Emergency My sister in law just sent me this last week too. What's funny is I've always added "Home" to my address book not only for that reason but if an honest person ever found my lost cell phone. oh, and try to carry ID at all times ;) D -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of John Eget Sent: Monday, August 01, 2005 1:08 PM To: AccessD at databaseadvisors.com Subject: [AccessD] Fw: ICE - In Case of Emergency I put an underscore in front of my _ICE and also have _ICE1, _ICE2, and _IC#3 Subject: ICE - In Case of Emergency http://abclocal.go.com/wabc/news/wabc_072605_icecellphone.html Just wanted to share some good info if it's ever needed. Mark -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd 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 Aug 2 11:43:06 2005 From: cfoust at infostatsystems.com (Charlotte Foust) Date: Tue, 2 Aug 2005 09:43:06 -0700 Subject: [AccessD] OT: ICE - In Case of Emergency Message-ID: And the batteries never give out! Charlotte Foust -----Original Message----- From: Liz Doering [mailto:ldoering at symphonyinfo.com] Sent: Tuesday, August 02, 2005 9:28 AM To: Access Developers discussion and problem solving Subject: RE: [AccessD] OT: ICE - In Case of Emergency Medics would agree. -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Charlotte Foust Sent: Tuesday, August 02, 2005 11:01 AM To: Access Developers discussion and problem solving Subject: RE: [AccessD] OT: ICE - In Case of Emergency I repeat, Medic Alert, John. That is specifically what it is for. Charlotte Foust -----Original Message----- From: John W. Colby [mailto:jwcolby at colbyconsulting.com] Sent: Tuesday, August 02, 2005 4:31 AM To: 'Access Developers discussion and problem solving' Subject: RE: [AccessD] OT: ICE - In Case of Emergency Plus, ICE information could include your name, allergies, medical conditions etc. It doesn't have to be just phone numbers to call, though it should include that. John W. Colby www.ColbyConsulting.com Contribute your unused CPU cycles to a good cause: http://folding.stanford.edu/ -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Jeff Sent: Tuesday, August 02, 2005 12:34 AM To: 'Access Developers discussion and problem solving' Subject: [AccessD] OT: ICE - In Case of Emergency The ambulance service here said just today they will start training all their employees to specifically look for this...so I guess it is all about where you live...Of course, if _I_ come upon an accident scene, guess what I am going to look for... Better safe than sorry... Jeff -----Original Message----- From: Liz Doering [mailto:ldoering at symphonyinfo.com] Sent: Monday, August 01, 2005 9:44 PM To: Access Developers discussion and problem solving Subject: RE: [AccessD] Fw: ICE - In Case of Emergency This is probably OT, but my husband the paramedic was doubtful that ICE would be helpful. IF your phone makes it all the way to the emergency room with you and IF you are otherwise unidentified, then ER people might find it helpful. But paramedics are more concerned with you and your injuries than with who you want notified. -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of dmcafee at pacbell.net Sent: Monday, August 01, 2005 3:46 PM To: Access Developers discussion and problem solving Subject: RE: [AccessD] Fw: ICE - In Case of Emergency My sister in law just sent me this last week too. What's funny is I've always added "Home" to my address book not only for that reason but if an honest person ever found my lost cell phone. oh, and try to carry ID at all times ;) D -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of John Eget Sent: Monday, August 01, 2005 1:08 PM To: AccessD at databaseadvisors.com Subject: [AccessD] Fw: ICE - In Case of Emergency I put an underscore in front of my _ICE and also have _ICE1, _ICE2, and _IC#3 Subject: ICE - In Case of Emergency http://abclocal.go.com/wabc/news/wabc_072605_icecellphone.html Just wanted to share some good info if it's ever needed. Mark -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From Developer at UltraDNT.com Tue Aug 2 12:00:09 2005 From: Developer at UltraDNT.com (Steve Conklin (Developer@UltraDNT)) Date: Tue, 2 Aug 2005 13:00:09 -0400 Subject: [AccessD] Runtime Vs Full Access Install In-Reply-To: Message-ID: <003801c59783$a71af980$640fa8c0@CONKEY2000> I agree with Charlotte, and have been using the same methods for a long time. I do a runtime package for any mdb that I deliver, even the user has/will use full Access, to ensure that everything, MSCOMCTL and anything else DLL or OCX-wise, all goes in the application's folder, so I don't have to worry about any upgraded components in \system32 or anywhere else. But I late-bind my Office calls to avoid problems with versioning; I don't know the answer to Kath's original question concerning Front Page calls. Does Access runtime packager include the Office type-libs if they are called in the application? I don't know - we can provide Access apps to users w/o Access, but can we do a mail-merge if they don't have Word? (doubt it) Further, Front Page was pushed out of Office in ver. 2003, I don't know if that has any baring on the answer or not. Maybe late-binding the FP call, and trapping for "Object not created" is the best answer regardless. Just my .02, Steve -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Charlotte Foust Sent: Tuesday, August 02, 2005 11:47 AM To: Access Developers discussion and problem solving Subject: RE: [AccessD] Runtime Vs Full Access Install Then you're very fortunate to have that much control, William, but I must disagree with you. Your runtime files are NOT dependent on how the user does an Access install unless you unwisely (no pun intended) install the runtime in a generic location where it can be easily mucked up. We install the runtime files in their own directory and have not run into any collisions with installed versions of Access, either before or after the installation of the runtime. We've been doing this for years through multiple versions of Access (and Windows), so I think you can say it is time tested. The only real issue with runtime and full install on the same machine is that you MUST start the application using a shortcut that specifically points to the runtime executable or Windows will try to load the last full version of Access to open the database, whether or not it is appropriate. Charlotte Foust -----Original Message----- From: William Hindman [mailto:dejpolsys at hotmail.com] Sent: Monday, August 01, 2005 8:53 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Runtime Vs Full Access Install Kath ...afaik the runtime is a "package" at install only ...but if a user subsequently installs full Access ...any version ...all bets are off because your runtime files integrity is dependent upon how the user does the install ..a "default" install will screw your runtime more often than not because it defaults to removing older file versions, even if they are needed by your runtime ...Wise/Sage won't block that type of problem from happening either but when you reinstall your runtime they will handle the concurrent full version issues for you. ..I work with no full Access installs allowed on client systems with the exception of developer dedicated workstations ...and no "office" upgrades either even if they don't include Access, except by me ...the latter because the office vba modules share some common parts with Access vba. ..but I'll be the first to admit that most developers don't have that type of control over their app runtime environments and there may well be other, better ways to deal with it ...I just find that keeping it clean makes my life a lot simpler and my clients with a lot fewer problems. William ----- Original Message ----- From: "Kath Pelletti" To: Sent: Monday, August 01, 2005 9:04 PM Subject: Re: [AccessD] Runtime Vs Full Access Install William - maybe I have misunderstood. I thought that by including all dll's (or other files referred to in the vba references) in the runtime install package, that it could then be standalone. By that I mean that it would run regardless of whether the user had (any version of Access) or not, as it is a packaged entity. Have I got that wrong? (And I am assuming using Sage / Wise) Kath ----- Original Message ----- From: William Hindman To: Access Developers discussion and problem solving Sent: Thursday, July 28, 2005 3:26 PM Subject: Re: [AccessD] Runtime Vs Full Access Install ..hhhmmm ...either I'm misreading you or there is a fundamental misunderstanding somewhere in here ...a runtime mdb/mde is exactly the same as a full install mdb/mde ...the difference is that Access itself is not fully installed in a runtime ...the design/coding elements are not there so a user can't change anything ...it runs exactly as you designed it to run. ..if you have an A97 mdb and an A2k runtime it should still run as long as the references are there ...but the reverse is not true ...so I use startup code to check the installed version and call the corresponding fe mdb/mde. ..if you invest in the wise install tools, they handle those issues much better than the native Access distribution tools do and the default is to let them do all the work for you. William -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From cfoust at infostatsystems.com Tue Aug 2 12:07:45 2005 From: cfoust at infostatsystems.com (Charlotte Foust) Date: Tue, 2 Aug 2005 10:07:45 -0700 Subject: [AccessD] Runtime Vs Full Access Install Message-ID: The package can only include redistributable libraries. I have no idea whether the FP dlls are redistributable, but if they are not, then they can't be included in the package, period. In general, the libraries for other Office apps are not redistributable. Charlotte Foust -----Original Message----- From: Steve Conklin (Developer at UltraDNT) [mailto:Developer at ultradnt.com] Sent: Tuesday, August 02, 2005 10:00 AM To: 'Access Developers discussion and problem solving' Subject: RE: [AccessD] Runtime Vs Full Access Install I agree with Charlotte, and have been using the same methods for a long time. I do a runtime package for any mdb that I deliver, even the user has/will use full Access, to ensure that everything, MSCOMCTL and anything else DLL or OCX-wise, all goes in the application's folder, so I don't have to worry about any upgraded components in \system32 or anywhere else. But I late-bind my Office calls to avoid problems with versioning; I don't know the answer to Kath's original question concerning Front Page calls. Does Access runtime packager include the Office type-libs if they are called in the application? I don't know - we can provide Access apps to users w/o Access, but can we do a mail-merge if they don't have Word? (doubt it) Further, Front Page was pushed out of Office in ver. 2003, I don't know if that has any baring on the answer or not. Maybe late-binding the FP call, and trapping for "Object not created" is the best answer regardless. Just my .02, Steve -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Charlotte Foust Sent: Tuesday, August 02, 2005 11:47 AM To: Access Developers discussion and problem solving Subject: RE: [AccessD] Runtime Vs Full Access Install Then you're very fortunate to have that much control, William, but I must disagree with you. Your runtime files are NOT dependent on how the user does an Access install unless you unwisely (no pun intended) install the runtime in a generic location where it can be easily mucked up. We install the runtime files in their own directory and have not run into any collisions with installed versions of Access, either before or after the installation of the runtime. We've been doing this for years through multiple versions of Access (and Windows), so I think you can say it is time tested. The only real issue with runtime and full install on the same machine is that you MUST start the application using a shortcut that specifically points to the runtime executable or Windows will try to load the last full version of Access to open the database, whether or not it is appropriate. Charlotte Foust -----Original Message----- From: William Hindman [mailto:dejpolsys at hotmail.com] Sent: Monday, August 01, 2005 8:53 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Runtime Vs Full Access Install Kath ...afaik the runtime is a "package" at install only ...but if a user subsequently installs full Access ...any version ...all bets are off because your runtime files integrity is dependent upon how the user does the install ..a "default" install will screw your runtime more often than not because it defaults to removing older file versions, even if they are needed by your runtime ...Wise/Sage won't block that type of problem from happening either but when you reinstall your runtime they will handle the concurrent full version issues for you. ..I work with no full Access installs allowed on client systems with the exception of developer dedicated workstations ...and no "office" upgrades either even if they don't include Access, except by me ...the latter because the office vba modules share some common parts with Access vba. ..but I'll be the first to admit that most developers don't have that type of control over their app runtime environments and there may well be other, better ways to deal with it ...I just find that keeping it clean makes my life a lot simpler and my clients with a lot fewer problems. William ----- Original Message ----- From: "Kath Pelletti" To: Sent: Monday, August 01, 2005 9:04 PM Subject: Re: [AccessD] Runtime Vs Full Access Install William - maybe I have misunderstood. I thought that by including all dll's (or other files referred to in the vba references) in the runtime install package, that it could then be standalone. By that I mean that it would run regardless of whether the user had (any version of Access) or not, as it is a packaged entity. Have I got that wrong? (And I am assuming using Sage / Wise) Kath ----- Original Message ----- From: William Hindman To: Access Developers discussion and problem solving Sent: Thursday, July 28, 2005 3:26 PM Subject: Re: [AccessD] Runtime Vs Full Access Install ..hhhmmm ...either I'm misreading you or there is a fundamental misunderstanding somewhere in here ...a runtime mdb/mde is exactly the same as a full install mdb/mde ...the difference is that Access itself is not fully installed in a runtime ...the design/coding elements are not there so a user can't change anything ...it runs exactly as you designed it to run. ..if you have an A97 mdb and an A2k runtime it should still run as long as the references are there ...but the reverse is not true ...so I use startup code to check the installed version and call the corresponding fe mdb/mde. ..if you invest in the wise install tools, they handle those issues much better than the native Access distribution tools do and the default is to let them do all the work for you. William -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From dejpolsys at hotmail.com Tue Aug 2 12:38:13 2005 From: dejpolsys at hotmail.com (William Hindman) Date: Tue, 2 Aug 2005 13:38:13 -0400 Subject: [AccessD] Runtime Vs Full Access Install References: Message-ID: ..hhhmmm ...the default runtime install using the Access ODE is to the same directory as a full install ...and that includes the WinSys32 directory ..since I no longer allow full Access installs I've had no need to use Wise ..installing the runtime to a different directory certainly makes sense but that would still leave the dlls and ocx's in the sys32 exposed unless Wise puts the alias' in the registry, something the ms runtime wizard certainly won't do. ..even with a runtime in a different directory and with aliased references, an A2k3 full install will ask if the user wants to remove previous versions and if the user oks it, will promptly remove an older runtime ...but then I suspect Wise has a way around that as well ...the long and short of it being that if you can't control the environment then Wise is a necessity, not a convenience. ..as with anything, you live and learn ...I'm an independent ...I don't need to and therefore don't take on clients that don't want to do it my way ..makes my life much less complicated ...I don't envy anyone forced to deal with client controlled application environments ...especially notwork dba's on steroids who don't know their own jobs, much less mine ...been there, done that and like pissing into the wind, it doesn't take a repeat to know better. ..hope all this hasn't left Kath more confused :) William ----- Original Message ----- From: "Charlotte Foust" To: "Access Developers discussion and problem solving" Sent: Tuesday, August 02, 2005 11:47 AM Subject: RE: [AccessD] Runtime Vs Full Access Install > Then you're very fortunate to have that much control, William, but I > must disagree with you. Your runtime files are NOT dependent on how the > user does an Access install unless you unwisely (no pun intended) > install the runtime in a generic location where it can be easily mucked > up. We install the runtime files in their own directory and have not > run into any collisions with installed versions of Access, either before > or after the installation of the runtime. We've been doing this for > years through multiple versions of Access (and Windows), so I think you > can say it is time tested. > > The only real issue with runtime and full install on the same machine is > that you MUST start the application using a shortcut that specifically > points to the runtime executable or Windows will try to load the last > full version of Access to open the database, whether or not it is > appropriate. > > Charlotte Foust > > > -----Original Message----- > From: William Hindman [mailto:dejpolsys at hotmail.com] > Sent: Monday, August 01, 2005 8:53 PM > To: Access Developers discussion and problem solving > Subject: Re: [AccessD] Runtime Vs Full Access Install > > > Kath ...afaik the runtime is a "package" at install only ...but if a > user > subsequently installs full Access ...any version ...all bets are off > because > your runtime files integrity is dependent upon how the user does the > install > ..a "default" install will screw your runtime more often than not > because > it defaults to removing older file versions, even if they are needed by > your > runtime ...Wise/Sage won't block that type of problem from happening > either > but when you reinstall your runtime they will handle the concurrent full > > version issues for you. > > ..I work with no full Access installs allowed on client systems with the > > exception of developer dedicated workstations ...and no "office" > upgrades > either even if they don't include Access, except by me ...the latter > because > the office vba modules share some common parts with Access vba. > > ..but I'll be the first to admit that most developers don't have that > type > of control over their app runtime environments and there may well be > other, > better ways to deal with it ...I just find that keeping it clean makes > my > life a lot simpler and my clients with a lot fewer problems. > > William > > ----- Original Message ----- > From: "Kath Pelletti" > To: > Sent: Monday, August 01, 2005 9:04 PM > Subject: Re: [AccessD] Runtime Vs Full Access Install > > > William - maybe I have misunderstood. I thought that by including all > dll's > (or other files referred to in the vba references) in the runtime > install > package, that it could then be standalone. By that I mean that it would > run > regardless of whether the user had (any version of Access) or not, as it > is > a packaged entity. > > Have I got that wrong? (And I am assuming using Sage / Wise) > > Kath > > > ----- Original Message ----- > From: William Hindman > To: Access Developers discussion and problem solving > Sent: Thursday, July 28, 2005 3:26 PM > Subject: Re: [AccessD] Runtime Vs Full Access Install > > > ..hhhmmm ...either I'm misreading you or there is a fundamental > misunderstanding somewhere in here ...a runtime mdb/mde is exactly the > > same > as a full install mdb/mde ...the difference is that Access itself is > not > fully installed in a runtime ...the design/coding elements are not > there > so > a user can't change anything ...it runs exactly as you designed it to > run. > > ..if you have an A97 mdb and an A2k runtime it should still run as > long as > the references are there ...but the reverse is not true ...so I use > startup > code to check the installed version and call the corresponding fe > mdb/mde. > > ..if you invest in the wise install tools, they handle those issues > much > better than the native Access distribution tools do and the default is > to > let them do all the work for you. > > William > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > From dejpolsys at hotmail.com Tue Aug 2 12:47:56 2005 From: dejpolsys at hotmail.com (William Hindman) Date: Tue, 2 Aug 2005 13:47:56 -0400 Subject: [AccessD] Fw: ICE - In Case of Emergency References: Message-ID: Charlotte ..medic alert bracelets serve a certain purpose quite well, but most of us don't need or wear one ...ICE has a single purpose which is to tell the people trying to notify your next of kin just exactly who YOU want notified and how to do it using your own cell phone, which most of us do "wear" in one fashion or another :) ..while its true that you can become separated from your cell phone in such an emergency, most don't ...and even if you do, you're no worse off than if you didn't program the ICE numbers in the first place ...the paramedics and police around here are certainly promoting its use. William ----- Original Message ----- From: "Charlotte Foust" To: "Access Developers discussion and problem solving" Sent: Tuesday, August 02, 2005 11:41 AM Subject: RE: [AccessD] Fw: ICE - In Case of Emergency >I wear a medic-alert bracelet. They're already trained to check that > and it has a phone number to access my emergency information as well as > my medical history. I think that's more useful. > > Charlotte Foust > > > -----Original Message----- > From: Liz Doering [mailto:ldoering at symphonyinfo.com] > Sent: Monday, August 01, 2005 8:44 PM > To: Access Developers discussion and problem solving > Subject: RE: [AccessD] Fw: ICE - In Case of Emergency > > > This is probably OT, but my husband the paramedic was doubtful that ICE > would be helpful. IF your phone makes it all the way to the emergency > room with you and IF you are otherwise unidentified, then ER people > might find it helpful. But paramedics are more concerned with you and > your injuries than with who you want notified. > > > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of > dmcafee at pacbell.net > Sent: Monday, August 01, 2005 3:46 PM > To: Access Developers discussion and problem solving > Subject: RE: [AccessD] Fw: ICE - In Case of Emergency > > My sister in law just sent me this last week too. What's funny is I've > always added "Home" to my address book not only for that reason but if > an honest person ever found my lost cell phone. > > oh, and try to carry ID at all times ;) > > D > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of John Eget > Sent: Monday, August 01, 2005 1:08 PM > To: AccessD at databaseadvisors.com > Subject: [AccessD] Fw: ICE - In Case of Emergency > > > I put an underscore in front of my _ICE and also have _ICE1, _ICE2, and > _IC#3 > > Subject: ICE - In Case of Emergency > > > http://abclocal.go.com/wabc/news/wabc_072605_icecellphone.html > > > > Just wanted to share some good info if it's ever needed. > > > > Mark > > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > > > > > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > From cfoust at infostatsystems.com Tue Aug 2 13:02:44 2005 From: cfoust at infostatsystems.com (Charlotte Foust) Date: Tue, 2 Aug 2005 11:02:44 -0700 Subject: [AccessD] Runtime Vs Full Access Install Message-ID: The packaging wizard in all its versions has been a pathetic installer. It gave you no choice as to where the dlls (or pretty much anything else except the mdb itself) were installed. Wise and InstallShield have far greater flexibility and SageKey makes them hum. Actually, as I recall pretty much *every* version of Office has asked if you want to remove the previous version, including the runtime, so that isn't peculiar to 2003 and it's something the client either have to be warned about, or you have to say, "Look, dummy, you broke it. Now reinstall my application from your CD." ;-} Charlotte Foust -----Original Message----- From: William Hindman [mailto:dejpolsys at hotmail.com] Sent: Tuesday, August 02, 2005 10:38 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Runtime Vs Full Access Install ..hhhmmm ...the default runtime install using the Access ODE is to the same directory as a full install ...and that includes the WinSys32 directory ..since I no longer allow full Access installs I've had no need to use Wise ..installing the runtime to a different directory certainly makes sense but that would still leave the dlls and ocx's in the sys32 exposed unless Wise puts the alias' in the registry, something the ms runtime wizard certainly won't do. ..even with a runtime in a different directory and with aliased references, an A2k3 full install will ask if the user wants to remove previous versions and if the user oks it, will promptly remove an older runtime ...but then I suspect Wise has a way around that as well ...the long and short of it being that if you can't control the environment then Wise is a necessity, not a convenience. ..as with anything, you live and learn ...I'm an independent ...I don't need to and therefore don't take on clients that don't want to do it my way ..makes my life much less complicated ...I don't envy anyone forced to deal with client controlled application environments ...especially notwork dba's on steroids who don't know their own jobs, much less mine ...been there, done that and like pissing into the wind, it doesn't take a repeat to know better. ..hope all this hasn't left Kath more confused :) William ----- Original Message ----- From: "Charlotte Foust" To: "Access Developers discussion and problem solving" Sent: Tuesday, August 02, 2005 11:47 AM Subject: RE: [AccessD] Runtime Vs Full Access Install > Then you're very fortunate to have that much control, William, but I > must disagree with you. Your runtime files are NOT dependent on how > the user does an Access install unless you unwisely (no pun intended) > install the runtime in a generic location where it can be easily > mucked up. We install the runtime files in their own directory and > have not run into any collisions with installed versions of Access, > either before or after the installation of the runtime. We've been > doing this for years through multiple versions of Access (and > Windows), so I think you can say it is time tested. > > The only real issue with runtime and full install on the same machine > is that you MUST start the application using a shortcut that > specifically points to the runtime executable or Windows will try to > load the last full version of Access to open the database, whether or > not it is appropriate. > > Charlotte Foust > > > -----Original Message----- > From: William Hindman [mailto:dejpolsys at hotmail.com] > Sent: Monday, August 01, 2005 8:53 PM > To: Access Developers discussion and problem solving > Subject: Re: [AccessD] Runtime Vs Full Access Install > > > Kath ...afaik the runtime is a "package" at install only ...but if a > user subsequently installs full Access ...any version ...all bets are > off because > your runtime files integrity is dependent upon how the user does the > install > ..a "default" install will screw your runtime more often than not > because > it defaults to removing older file versions, even if they are needed by > your > runtime ...Wise/Sage won't block that type of problem from happening > either > but when you reinstall your runtime they will handle the concurrent full > > version issues for you. > > ..I work with no full Access installs allowed on client systems with > the > > exception of developer dedicated workstations ...and no "office" > upgrades either even if they don't include Access, except by me ...the > latter because > the office vba modules share some common parts with Access vba. > > ..but I'll be the first to admit that most developers don't have that > type of control over their app runtime environments and there may well > be other, > better ways to deal with it ...I just find that keeping it clean makes > my > life a lot simpler and my clients with a lot fewer problems. > > William > > ----- Original Message ----- > From: "Kath Pelletti" > To: > Sent: Monday, August 01, 2005 9:04 PM > Subject: Re: [AccessD] Runtime Vs Full Access Install > > > William - maybe I have misunderstood. I thought that by including all > dll's (or other files referred to in the vba references) in the > runtime install > package, that it could then be standalone. By that I mean that it would > run > regardless of whether the user had (any version of Access) or not, as it > is > a packaged entity. > > Have I got that wrong? (And I am assuming using Sage / Wise) > > Kath > > > ----- Original Message ----- > From: William Hindman > To: Access Developers discussion and problem solving > Sent: Thursday, July 28, 2005 3:26 PM > Subject: Re: [AccessD] Runtime Vs Full Access Install > > > ..hhhmmm ...either I'm misreading you or there is a fundamental > misunderstanding somewhere in here ...a runtime mdb/mde is exactly the > > same > as a full install mdb/mde ...the difference is that Access itself is > not fully installed in a runtime ...the design/coding elements are > not there > so > a user can't change anything ...it runs exactly as you designed it to > run. > > ..if you have an A97 mdb and an A2k runtime it should still run as > long as the references are there ...but the reverse is not true ...so > I use startup > code to check the installed version and call the corresponding fe > mdb/mde. > > ..if you invest in the wise install tools, they handle those issues > much better than the native Access distribution tools do and the > default is to > let them do all the work for you. > > William > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From cfoust at infostatsystems.com Tue Aug 2 13:10:04 2005 From: cfoust at infostatsystems.com (Charlotte Foust) Date: Tue, 2 Aug 2005 11:10:04 -0700 Subject: [AccessD] Fw: ICE - In Case of Emergency Message-ID: I'm not arguing against it, but unless you have a way to expose just those numbers, it also means you can't lock your phone. A lot of phones only provide that lock-bypass functionality for a single register, or sometimes that plus a 911-type emergency number. Personally, I have the police department number in that register on my phone, which won't help emergency personnel. True, most people don't wear medic alert bracelets, even those who should. It wouldn't be a bad idea if everyone who wears contact lenses or has allergies or any other mild "condition" wore a bracelet. It would certainly simplify the lives of the EMTs, paramedics, and anyone else dealing with an unconscious and unknown patient. Charlotte Foust -----Original Message----- From: William Hindman [mailto:dejpolsys at hotmail.com] Sent: Tuesday, August 02, 2005 10:48 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Fw: ICE - In Case of Emergency Charlotte ..medic alert bracelets serve a certain purpose quite well, but most of us don't need or wear one ...ICE has a single purpose which is to tell the people trying to notify your next of kin just exactly who YOU want notified and how to do it using your own cell phone, which most of us do "wear" in one fashion or another :) ..while its true that you can become separated from your cell phone in such an emergency, most don't ...and even if you do, you're no worse off than if you didn't program the ICE numbers in the first place ...the paramedics and police around here are certainly promoting its use. William ----- Original Message ----- From: "Charlotte Foust" To: "Access Developers discussion and problem solving" Sent: Tuesday, August 02, 2005 11:41 AM Subject: RE: [AccessD] Fw: ICE - In Case of Emergency >I wear a medic-alert bracelet. They're already trained to check that >and it has a phone number to access my emergency information as well as >my medical history. I think that's more useful. > > Charlotte Foust > > > -----Original Message----- > From: Liz Doering [mailto:ldoering at symphonyinfo.com] > Sent: Monday, August 01, 2005 8:44 PM > To: Access Developers discussion and problem solving > Subject: RE: [AccessD] Fw: ICE - In Case of Emergency > > > This is probably OT, but my husband the paramedic was doubtful that > ICE would be helpful. IF your phone makes it all the way to the > emergency room with you and IF you are otherwise unidentified, then > ER people might find it helpful. But paramedics are more concerned > with you and your injuries than with who you want notified. > > > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of > dmcafee at pacbell.net > Sent: Monday, August 01, 2005 3:46 PM > To: Access Developers discussion and problem solving > Subject: RE: [AccessD] Fw: ICE - In Case of Emergency > > My sister in law just sent me this last week too. What's funny is I've > always added "Home" to my address book not only for that reason but if > an honest person ever found my lost cell phone. > > oh, and try to carry ID at all times ;) > > D > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of John Eget > Sent: Monday, August 01, 2005 1:08 PM > To: AccessD at databaseadvisors.com > Subject: [AccessD] Fw: ICE - In Case of Emergency > > > I put an underscore in front of my _ICE and also have _ICE1, _ICE2, > and _IC#3 > > Subject: ICE - In Case of Emergency > > > http://abclocal.go.com/wabc/news/wabc_072605_icecellphone.html > > > > Just wanted to share some good info if it's ever needed. > > > > Mark > > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > > > > > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From Lambert.Heenan at AIG.com Tue Aug 2 13:23:40 2005 From: Lambert.Heenan at AIG.com (Heenan, Lambert) Date: Tue, 2 Aug 2005 14:23:40 -0400 Subject: [AccessD] Fw: ICE - In Case of Emergency Message-ID: <1D7828CDB8350747AFE9D69E0E90DA1F13D6E0E7@xlivmbx21.aig.com> As a proud non-cell phone user ( who *needs* them!) I would suggest a much simpler, lo-tech solution: carry a card in you wallet, right next to your kidney donor card. No privacy problems, no need for the EMT to know how to bypass your phone security, no batteries required. Lambert -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Charlotte Foust Sent: Tuesday, August 02, 2005 2:10 PM To: Access Developers discussion and problem solving Subject: RE: [AccessD] Fw: ICE - In Case of Emergency I'm not arguing against it, but unless you have a way to expose just those numbers, it also means you can't lock your phone. A lot of phones only provide that lock-bypass functionality for a single register, or sometimes that plus a 911-type emergency number. Personally, I have the police department number in that register on my phone, which won't help emergency personnel. True, most people don't wear medic alert bracelets, even those who should. It wouldn't be a bad idea if everyone who wears contact lenses or has allergies or any other mild "condition" wore a bracelet. It would certainly simplify the lives of the EMTs, paramedics, and anyone else dealing with an unconscious and unknown patient. Charlotte Foust -----Original Message----- From: William Hindman [mailto:dejpolsys at hotmail.com] Sent: Tuesday, August 02, 2005 10:48 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Fw: ICE - In Case of Emergency Charlotte ..medic alert bracelets serve a certain purpose quite well, but most of us don't need or wear one ...ICE has a single purpose which is to tell the people trying to notify your next of kin just exactly who YOU want notified and how to do it using your own cell phone, which most of us do "wear" in one fashion or another :) ..while its true that you can become separated from your cell phone in such an emergency, most don't ...and even if you do, you're no worse off than if you didn't program the ICE numbers in the first place ...the paramedics and police around here are certainly promoting its use. William ----- Original Message ----- From: "Charlotte Foust" To: "Access Developers discussion and problem solving" Sent: Tuesday, August 02, 2005 11:41 AM Subject: RE: [AccessD] Fw: ICE - In Case of Emergency >I wear a medic-alert bracelet. They're already trained to check that >and it has a phone number to access my emergency information as well as >my medical history. I think that's more useful. > > Charlotte Foust > > > -----Original Message----- > From: Liz Doering [mailto:ldoering at symphonyinfo.com] > Sent: Monday, August 01, 2005 8:44 PM > To: Access Developers discussion and problem solving > Subject: RE: [AccessD] Fw: ICE - In Case of Emergency > > > This is probably OT, but my husband the paramedic was doubtful that > ICE would be helpful. IF your phone makes it all the way to the > emergency room with you and IF you are otherwise unidentified, then > ER people might find it helpful. But paramedics are more concerned > with you and your injuries than with who you want notified. > > > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of > dmcafee at pacbell.net > Sent: Monday, August 01, 2005 3:46 PM > To: Access Developers discussion and problem solving > Subject: RE: [AccessD] Fw: ICE - In Case of Emergency > > My sister in law just sent me this last week too. What's funny is I've > always added "Home" to my address book not only for that reason but if > an honest person ever found my lost cell phone. > > oh, and try to carry ID at all times ;) > > D > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of John Eget > Sent: Monday, August 01, 2005 1:08 PM > To: AccessD at databaseadvisors.com > Subject: [AccessD] Fw: ICE - In Case of Emergency > > > I put an underscore in front of my _ICE and also have _ICE1, _ICE2, > and _IC#3 > > Subject: ICE - In Case of Emergency > > > http://abclocal.go.com/wabc/news/wabc_072605_icecellphone.html > > > > Just wanted to share some good info if it's ever needed. > > > > Mark > > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > > > > > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd 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 Tue Aug 2 15:03:11 2005 From: andy at minstersystems.co.uk (Andy Lacey) Date: Tue, 2 Aug 2005 21:03:11 +0100 Subject: [AccessD] Fw: ICE - In Case of Emergency In-Reply-To: <1D7828CDB8350747AFE9D69E0E90DA1F13D6E0E7@xlivmbx21.aig.com> Message-ID: <002501c5979d$35e2e8d0$901b0c54@minster33c3r25> I appreciate the seriousness of the issue but it still isn't Access and neither is it Friday so, interesting as it is, would you please take this thread to the OT list. Many thanks. -- Andy Lacey http://www.minstersystems.co.uk > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of > Heenan, Lambert > Sent: 02 August 2005 19:24 > To: 'Access Developers discussion and problem solving' > Subject: RE: [AccessD] Fw: ICE - In Case of Emergency > > > As a proud non-cell phone user ( who *needs* them!) I would > suggest a much simpler, lo-tech solution: carry a card in you > wallet, right next to your kidney donor card. No privacy > problems, no need for the EMT to know how to bypass your > phone security, no batteries required. > > Lambert > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of > Charlotte Foust > Sent: Tuesday, August 02, 2005 2:10 PM > To: Access Developers discussion and problem solving > Subject: RE: [AccessD] Fw: ICE - In Case of Emergency > > > I'm not arguing against it, but unless you have a way to > expose just those numbers, it also means you can't lock your > phone. A lot of phones only provide that lock-bypass > functionality for a single register, or sometimes that plus a > 911-type emergency number. Personally, I have the police > department number in that register on my phone, which won't > help emergency personnel. > > True, most people don't wear medic alert bracelets, even > those who should. It wouldn't be a bad idea if everyone who > wears contact lenses or has allergies or any other mild > "condition" wore a bracelet. It would certainly simplify the > lives of the EMTs, paramedics, and anyone else dealing with > an unconscious and unknown patient. > > Charlotte Foust > > > -----Original Message----- > From: William Hindman [mailto:dejpolsys at hotmail.com] > Sent: Tuesday, August 02, 2005 10:48 AM > To: Access Developers discussion and problem solving > Subject: Re: [AccessD] Fw: ICE - In Case of Emergency > > > Charlotte > > ..medic alert bracelets serve a certain purpose quite well, > but most of us > don't need or wear one ...ICE has a single purpose which is > to tell the > people trying to notify your next of kin just exactly who YOU > want notified > and how to do it using your own cell phone, which most of us > do "wear" in > one fashion or another :) > > ..while its true that you can become separated from your cell > phone in such > an emergency, most don't ...and even if you do, you're no > worse off than if > you didn't program the ICE numbers in the first place ...the > paramedics and > police around here are certainly promoting its use. > > William > > ----- Original Message ----- > From: "Charlotte Foust" > To: "Access Developers discussion and problem solving" > > Sent: Tuesday, August 02, 2005 11:41 AM > Subject: RE: [AccessD] Fw: ICE - In Case of Emergency > > > >I wear a medic-alert bracelet. They're already trained to > check that > >and it has a phone number to access my emergency information > as well as > > >my medical history. I think that's more useful. > > > > Charlotte Foust > > > > > > -----Original Message----- > > From: Liz Doering [mailto:ldoering at symphonyinfo.com] > > Sent: Monday, August 01, 2005 8:44 PM > > To: Access Developers discussion and problem solving > > Subject: RE: [AccessD] Fw: ICE - In Case of Emergency > > > > > > This is probably OT, but my husband the paramedic was doubtful that > > ICE would be helpful. IF your phone makes it all the way to the > > emergency room with you and IF you are otherwise > unidentified, then > > ER people might find it helpful. But paramedics are more concerned > > with you and your injuries than with who you want notified. > > > > > > > > -----Original Message----- > > From: accessd-bounces at databaseadvisors.com > > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of > > dmcafee at pacbell.net > > Sent: Monday, August 01, 2005 3:46 PM > > To: Access Developers discussion and problem solving > > Subject: RE: [AccessD] Fw: ICE - In Case of Emergency > > > > My sister in law just sent me this last week too. What's > funny is I've > > > always added "Home" to my address book not only for that > reason but if > > > an honest person ever found my lost cell phone. > > > > oh, and try to carry ID at all times ;) > > > > D > > > > -----Original Message----- > > From: accessd-bounces at databaseadvisors.com > > [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of John Eget > > Sent: Monday, August 01, 2005 1:08 PM > > To: AccessD at databaseadvisors.com > > Subject: [AccessD] Fw: ICE - In Case of Emergency > > > > > > I put an underscore in front of my _ICE and also have _ICE1, _ICE2, > > and _IC#3 > > > > Subject: ICE - In Case of Emergency > > > > > > http://abclocal.go.com/wabc/news/wabc_072605_icecellphone.html > > > > > > > > Just wanted to share some good info if it's ever needed. > > > > > > > > Mark > > > > > > -- > > AccessD mailing list > > AccessD at databaseadvisors.com > > http://databaseadvisors.com/mailman/listinfo/accessd > > Website: http://www.databaseadvisors.com > > > > -- > > AccessD mailing list > > AccessD at databaseadvisors.com > > http://databaseadvisors.com/mailman/listinfo/accessd > > Website: http://www.databaseadvisors.com > > > > > > > > > > > > -- > > AccessD mailing list > > AccessD at databaseadvisors.com > > http://databaseadvisors.com/mailman/listinfo/accessd > > Website: http://www.databaseadvisors.com > > -- > > AccessD mailing list > > AccessD at databaseadvisors.com > > http://databaseadvisors.com/mailman/listinfo/accessd > > Website: http://www.databaseadvisors.com > > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > > From jmhecht at earthlink.net Tue Aug 2 15:56:11 2005 From: jmhecht at earthlink.net (Joe Hecht) Date: Tue, 2 Aug 2005 13:56:11 -0700 Subject: [AccessD] Fw: ICE - In Case of Emergency In-Reply-To: <00a401c596d5$3a3a8000$efc2f63f@Desktop> Message-ID: <002401c597a4$9da9f880$6401a8c0@laptop1> Urban legends See Below http://www.snopes.com/crime/prevent/icephone.asp Joe Hecht Los Angeles CA -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of John Eget Sent: Monday, August 01, 2005 1:08 PM To: access at joe2.endjunk.com; AccessD at databaseadvisors.com Subject: [AccessD] Fw: ICE - In Case of Emergency I put an underscore in front of my _ICE and also have _ICE1, _ICE2, and _IC#3 Subject: ICE - In Case of Emergency http://abclocal.go.com/wabc/news/wabc_072605_icecellphone.html Just wanted to share some good info if it's ever needed. Mark -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From csphoon at pc.jaring.my Tue Aug 2 15:58:53 2005 From: csphoon at pc.jaring.my (Trisha Duke) Date: Tue, 02 Aug 2005 21:58:53 +0100 Subject: [AccessD] Access 2000 creating MDE Message-ID: <42EFDE8D.5040105@pc.jaring.my> hi everyone, Does anybody know why when i create a MDE file in Access 2000, it only allows me to save the file with a one character filename, eg A.MDE. Even if i change it to a full name , it still save as one character file name. I have completely reinstall access 2000. I can only assume it maybe a problem with winXP which i am using. Regards, Trisha From martyconnelly at shaw.ca Tue Aug 2 16:20:48 2005 From: martyconnelly at shaw.ca (MartyConnelly) Date: Tue, 02 Aug 2005 14:20:48 -0700 Subject: [AccessD] Problems with word Automation References: <20050802153529.41110.qmail@web53604.mail.yahoo.com> Message-ID: <42EFE3B0.9010305@shaw.ca> You are using late binding so you don't need any references set to Word, which maybe causing the problem It might be useful to have a reference if using intellisense or looking at object browser but you would remove the reference before deploying with late binding. With late binding it will grab the highest version of word on the system You might be using some esoteric part of word say using xml file routines that don't exist in Word 97, so you may want to check the version of word running to avoid problems with lower versions. On Error Resume Next ' grab word if already running Set objWord = GetObject(, "Word.Application") On Error GoTo 0 ' or if word not already running error Err.Number = 429 or set to nothing If objWord Is Nothing Then Set objWord = CreateObject("Word.Application") Debug.Print objWord.Version ' if Word 97 SP2 then Word Version= 8.0b ' Word 9 opens a separate window for each document. ' Prior to Word 9, all documents opened in the same window. End If Kim Wiggins wrote: >I am using >Set objWord = CreateObject("Word.Application") > >Do you think that could be the problem? >Kim > > >MartyConnelly wrote: >Are you using early or late binding. >Set objWord = CreateObject("Word.Application") >or >Set objWord = New Word.Application >Funny things may happen with early binding if newer versions of word >installed and then uninstalled. > >Kim Wiggins wrote: > > > >>Hey everyone >>Hope all is well. I am not. I coded an automation report in VB6 using Word and it works fine on my work laptop and my laptop at home. But when I install it on the users computer, it gives me the standard application error and shuts down. It says "My_app_name has encountered an error and must close" and then it offers to send a report. Well that is flooring me because it runs in the development environment on both machines just fine. >>Can anyone think of anything that I am missing or overlooking? >>Thanks >>Kim >> >> >>--------------------------------- >>Start your day with Yahoo! - make it your home page >> >> >> >> > > > -- Marty Connelly Victoria, B.C. Canada From stuart at lexacorp.com.pg Tue Aug 2 16:59:04 2005 From: stuart at lexacorp.com.pg (Stuart McLachlan) Date: Wed, 03 Aug 2005 07:59:04 +1000 Subject: [AccessD] PassThrough (Creation/ Modification) Issues In-Reply-To: References: <20050802062538.54680.qmail@web31611.mail.mud.yahoo.com> Message-ID: <42F07948.24207.EC24250@stuart.lexacorp.com.pg> On 2 Aug 2005 at 11:17, Jim Dettman wrote: > < does not work and why it does not show up in the > database container?>> > > Read the first paragraph of the link you posted (the one that says > "Important"). > That's scary! Imagine trying to maintain an application that uses queries that you can't see once you have created them! -- Stuart From vrm at tim-cms.com Tue Aug 2 17:41:14 2005 From: vrm at tim-cms.com (| Marcel Vreuls) Date: Wed, 3 Aug 2005 00:41:14 +0200 Subject: [AccessD] Problems with word Automation In-Reply-To: <20050802154023.63301.qmail@web53602.mail.yahoo.com> Message-ID: <001001c597b3$4a0c2fe0$0100000a@GALAXY.local> Kim, I used early binding with the error. But the fact is that early or late binding does not solve your problem (IF this is the problem in your case). It only gives errors in different stages within your application. With early binding it occurs by startup. With late binding it occurs when you try to create your word app with the createobject statement. Msword8.olb = Word 97 MSWORD9.OLB = Word 2000 etc but you can check it by clicking with your right mouse button on the olb file en check the version information If you use Word 10.0 (office XP) and your client uses word 2000 you get an error. It depends how your errorhandling is what your app will do. Crash, write to log and crash, etc..etc..etc.. -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Kim Wiggins Sent: dinsdag 2 augustus 2005 17:40 To: Access Developers discussion and problem solving Subject: RE: [AccessD] Problems with word Automation Thanks so much. I thought that it had something to do with that. Did you then use late binding instead of early binding in that instance? How can I tell which OLB to use with the version of word they have? The OLB I used was Word 10.0 Object. That was the only one available in my references on my version of VB6. | Marcel Vreuls wrote:Kim, I had the same experience once. This was because of early binding problem (direct crash of the app) and a different office version (reason why). I had office 97 on my development envirnment. This all works fine. on the client machine it crashes. Due to the fact that de client had office 2000 or higher. I fixed it with delivering the word 97 OLB with the application because i would not make a seperate version of my app for each office version. Built in proper logging with the debug option. It should give you a lot of information. -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Kim Wiggins Sent: dinsdag 2 augustus 2005 0:18 To: AccessD at databaseadvisors.com Subject: [AccessD] Problems with word Automation Hey everyone Hope all is well. I am not. I coded an automation report in VB6 using Word and it works fine on my work laptop and my laptop at home. But when I install it on the users computer, it gives me the standard application error and shuts down. It says "My_app_name has encountered an error and must close" and then it offers to send a report. Well that is flooring me because it runs in the development environment on both machines just fine. Can anyone think of anything that I am missing or overlooking? Thanks Kim --------------------------------- Start your day with Yahoo! - make it your home page -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/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!? Tired of spam? Yahoo! Mail has the best spam protection around http://mail.yahoo.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From kimjwiggins at yahoo.com Tue Aug 2 17:57:14 2005 From: kimjwiggins at yahoo.com (Kim Wiggins) Date: Tue, 2 Aug 2005 15:57:14 -0700 (PDT) Subject: [AccessD] Problems with word Automation In-Reply-To: <42EFE3B0.9010305@shaw.ca> Message-ID: <20050802225714.76759.qmail@web53604.mail.yahoo.com> Thanks so much Marty and Marcel for helping me to understand this better. This is my first attempt at automation. Unfortunately, I will not see this user until Saturday so I can't test it out until then but I will let you know next week if everything went well. Thanks MartyConnelly wrote:You are using late binding so you don't need any references set to Word, which maybe causing the problem It might be useful to have a reference if using intellisense or looking at object browser but you would remove the reference before deploying with late binding. With late binding it will grab the highest version of word on the system You might be using some esoteric part of word say using xml file routines that don't exist in Word 97, so you may want to check the version of word running to avoid problems with lower versions. On Error Resume Next ' grab word if already running Set objWord = GetObject(, "Word.Application") On Error GoTo 0 ' or if word not already running error Err.Number = 429 or set to nothing If objWord Is Nothing Then Set objWord = CreateObject("Word.Application") Debug.Print objWord.Version ' if Word 97 SP2 then Word Version= 8.0b ' Word 9 opens a separate window for each document. ' Prior to Word 9, all documents opened in the same window. End If Kim Wiggins wrote: >I am using >Set objWord = CreateObject("Word.Application") > >Do you think that could be the problem? >Kim > > >MartyConnelly wrote: >Are you using early or late binding. >Set objWord = CreateObject("Word.Application") >or >Set objWord = New Word.Application >Funny things may happen with early binding if newer versions of word >installed and then uninstalled. > >Kim Wiggins wrote: > > > >>Hey everyone >>Hope all is well. I am not. I coded an automation report in VB6 using Word and it works fine on my work laptop and my laptop at home. But when I install it on the users computer, it gives me the standard application error and shuts down. It says "My_app_name has encountered an error and must close" and then it offers to send a report. Well that is flooring me because it runs in the development environment on both machines just fine. >>Can anyone think of anything that I am missing or overlooking? >>Thanks >>Kim >> >> >>--------------------------------- >>Start your day with Yahoo! - make it your home page >> >> >> >> > > > -- Marty Connelly Victoria, B.C. Canada -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com __________________________________________________ Do You Yahoo!? Tired of spam? Yahoo! Mail has the best spam protection around http://mail.yahoo.com From jeff at boyes.net Tue Aug 2 18:06:19 2005 From: jeff at boyes.net (Jeff Boyes) Date: Tue, 2 Aug 2005 17:06:19 -0600 (MDT) Subject: [AccessD] Fw: ICE - In Case of Emergency In-Reply-To: <002401c597a4$9da9f880$6401a8c0@laptop1> References: <00a401c596d5$3a3a8000$efc2f63f@Desktop> <002401c597a4$9da9f880$6401a8c0@laptop1> Message-ID: <6348.192.25.240.225.1123023979.squirrel@boyes.net> Actually, Joe...NOT an Urban Legend, as the link you provided proves. Jeff > Urban legends > See Below > http://www.snopes.com/crime/prevent/icephone.asp > > Joe Hecht > Los Angeles CA > From jwcolby at colbyconsulting.com Tue Aug 2 18:54:05 2005 From: jwcolby at colbyconsulting.com (John W. Colby) Date: Tue, 02 Aug 2005 19:54:05 -0400 Subject: [AccessD] Serv-U Message-ID: <000401c597bd$7a9e6060$6c7aa8c0@ColbyM6805> I am trying to get Serv-U FTP server going on my server here in my office. The install was simple and just worked. It works just fine inside of my network, using ftp://192.168.122.106 (the server IP address) but I cannot see it going out to the internet and coming back in. I have a dlink 624 (I think) router, in which I have forwarded ports 20 and 21 to 192.168.122.106. I just cannot see the server, from my laptop, going out and back in. One of my tech assists suggested that my ISP might be blocking port 20/21, so I set up the server to look for the ftp at 59999 and then used :59999 at the end to try and force contact at that port. That does not work either. Can anyone suggest how to test this thing, coming in from the outside? If anyone out there knows this stuff, and in particular has experience with Serv-U, can you assist me in getting this working. John W. Colby www.ColbyConsulting.com Contribute your unused CPU cycles to a good cause: http://folding.stanford.edu/ From KP at sdsonline.net Tue Aug 2 19:05:34 2005 From: KP at sdsonline.net (Kath Pelletti) Date: Wed, 3 Aug 2005 10:05:34 +1000 Subject: [AccessD] Runtime Vs Full Access Install References: Message-ID: <008c01c597bf$124d2300$6601a8c0@user> Thanks everyone for this thread - I am taking from it the following: - Use late binding for the reference to Frontpage regardless to solve situation where user may / may not have Frontpage installed. - If distributing a runtime mde (app is already an mde) then include any dll's (and other files referenced by the app) that are redistributable in the package created by Sage / Wise. - Have the runtime set up to install to a separate location to the standard Access install - Use a specific shortcut to the runtime executable Kath ----- Original Message ----- From: Charlotte Foust To: Access Developers discussion and problem solving Sent: Wednesday, August 03, 2005 4:02 AM Subject: RE: [AccessD] Runtime Vs Full Access Install The packaging wizard in all its versions has been a pathetic installer. It gave you no choice as to where the dlls (or pretty much anything else except the mdb itself) were installed. Wise and InstallShield have far greater flexibility and SageKey makes them hum. Actually, as I recall pretty much *every* version of Office has asked if you want to remove the previous version, including the runtime, so that isn't peculiar to 2003 and it's something the client either have to be warned about, or you have to say, "Look, dummy, you broke it. Now reinstall my application from your CD." ;-} Charlotte Foust -----Original Message----- From: William Hindman [mailto:dejpolsys at hotmail.com] Sent: Tuesday, August 02, 2005 10:38 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Runtime Vs Full Access Install ..hhhmmm ...the default runtime install using the Access ODE is to the same directory as a full install ...and that includes the WinSys32 directory ..since I no longer allow full Access installs I've had no need to use Wise ..installing the runtime to a different directory certainly makes sense but that would still leave the dlls and ocx's in the sys32 exposed unless Wise puts the alias' in the registry, something the ms runtime wizard certainly won't do. ..even with a runtime in a different directory and with aliased references, an A2k3 full install will ask if the user wants to remove previous versions and if the user oks it, will promptly remove an older runtime ...but then I suspect Wise has a way around that as well ...the long and short of it being that if you can't control the environment then Wise is a necessity, not a convenience. ..as with anything, you live and learn ...I'm an independent ...I don't need to and therefore don't take on clients that don't want to do it my way ..makes my life much less complicated ...I don't envy anyone forced to deal with client controlled application environments ...especially notwork dba's on steroids who don't know their own jobs, much less mine ...been there, done that and like pissing into the wind, it doesn't take a repeat to know better. ..hope all this hasn't left Kath more confused :) William ----- Original Message ----- From: "Charlotte Foust" To: "Access Developers discussion and problem solving" Sent: Tuesday, August 02, 2005 11:47 AM Subject: RE: [AccessD] Runtime Vs Full Access Install > Then you're very fortunate to have that much control, William, but I > must disagree with you. Your runtime files are NOT dependent on how > the user does an Access install unless you unwisely (no pun intended) > install the runtime in a generic location where it can be easily > mucked up. We install the runtime files in their own directory and > have not run into any collisions with installed versions of Access, > either before or after the installation of the runtime. We've been > doing this for years through multiple versions of Access (and > Windows), so I think you can say it is time tested. > > The only real issue with runtime and full install on the same machine > is that you MUST start the application using a shortcut that > specifically points to the runtime executable or Windows will try to > load the last full version of Access to open the database, whether or > not it is appropriate. > > Charlotte Foust > > > -----Original Message----- > From: William Hindman [mailto:dejpolsys at hotmail.com] > Sent: Monday, August 01, 2005 8:53 PM > To: Access Developers discussion and problem solving > Subject: Re: [AccessD] Runtime Vs Full Access Install > > > Kath ...afaik the runtime is a "package" at install only ...but if a > user subsequently installs full Access ...any version ...all bets are > off because > your runtime files integrity is dependent upon how the user does the > install > ..a "default" install will screw your runtime more often than not > because > it defaults to removing older file versions, even if they are needed by > your > runtime ...Wise/Sage won't block that type of problem from happening > either > but when you reinstall your runtime they will handle the concurrent full > > version issues for you. > > ..I work with no full Access installs allowed on client systems with > the > > exception of developer dedicated workstations ...and no "office" > upgrades either even if they don't include Access, except by me ...the > latter because > the office vba modules share some common parts with Access vba. > > ..but I'll be the first to admit that most developers don't have that > type of control over their app runtime environments and there may well > be other, > better ways to deal with it ...I just find that keeping it clean makes > my > life a lot simpler and my clients with a lot fewer problems. > > William > > ----- Original Message ----- > From: "Kath Pelletti" > To: > Sent: Monday, August 01, 2005 9:04 PM > Subject: Re: [AccessD] Runtime Vs Full Access Install > > > William - maybe I have misunderstood. I thought that by including all > dll's (or other files referred to in the vba references) in the > runtime install > package, that it could then be standalone. By that I mean that it would > run > regardless of whether the user had (any version of Access) or not, as it > is > a packaged entity. > > Have I got that wrong? (And I am assuming using Sage / Wise) > > Kath > > > ----- Original Message ----- > From: William Hindman > To: Access Developers discussion and problem solving > Sent: Thursday, July 28, 2005 3:26 PM > Subject: Re: [AccessD] Runtime Vs Full Access Install > > > ..hhhmmm ...either I'm misreading you or there is a fundamental > misunderstanding somewhere in here ...a runtime mdb/mde is exactly the > > same > as a full install mdb/mde ...the difference is that Access itself is > not fully installed in a runtime ...the design/coding elements are > not there > so > a user can't change anything ...it runs exactly as you designed it to > run. > > ..if you have an A97 mdb and an A2k runtime it should still run as > long as the references are there ...but the reverse is not true ...so > I use startup > code to check the installed version and call the corresponding fe > mdb/mde. > > ..if you invest in the wise install tools, they handle those issues > much better than the native Access distribution tools do and the > default is to > let them do all the work for you. > > William > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From ebarro at afsweb.com Tue Aug 2 19:07:39 2005 From: ebarro at afsweb.com (Eric Barro) Date: Tue, 2 Aug 2005 17:07:39 -0700 Subject: [AccessD] Serv-U In-Reply-To: <000401c597bd$7a9e6060$6c7aa8c0@ColbyM6805> Message-ID: How are you trying to get back out and into your FTP server? Are you trying to get to it using a different machine? Check the firewall settings on the machine to see if it is accepting outside connections for the protocol that FTP is listening on. To check if a particular port is being used by a protocol go to the command prompt and type NETSTAT -a. -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of John W. Colby Sent: Tuesday, August 02, 2005 4:54 PM To: 'Access Developers discussion and problem solving'; Tech - Database Advisors Inc. Subject: [AccessD] Serv-U I am trying to get Serv-U FTP server going on my server here in my office. The install was simple and just worked. It works just fine inside of my network, using ftp://192.168.122.106 (the server IP address) but I cannot see it going out to the internet and coming back in. I have a dlink 624 (I think) router, in which I have forwarded ports 20 and 21 to 192.168.122.106. I just cannot see the server, from my laptop, going out and back in. One of my tech assists suggested that my ISP might be blocking port 20/21, so I set up the server to look for the ftp at 59999 and then used :59999 at the end to try and force contact at that port. That does not work either. Can anyone suggest how to test this thing, coming in from the outside? If anyone out there knows this stuff, and in particular has experience with Serv-U, can you assist me in getting this working. John W. Colby www.ColbyConsulting.com Contribute your unused CPU cycles to a good cause: http://folding.stanford.edu/ -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com ---------------------------------------------------------------- The information contained in this e-mail message and any file, document, previous e-mail message and/or attachment transmitted herewith is confidential and may be legally privileged. It is intended solely for the private use of the addressee and must not be disclosed to or used by anyone other than the addressee. If you receive this transmission by error, please immediately notify the sender by reply e-mail and destroy the original transmission and its attachments without reading or saving it in any manner. If you are not the intended recipient, or a person responsible for delivering it to the intended recipient, you are hereby notified that any disclosure, copying, distribution or use of any of the information contained in or attached to this transmission is STRICTLY PROHIBITED. E-mail transmission cannot be guaranteed to be secure or error free as information could be intercepted, corrupted, lost, destroyed, arrive late or incomplete, or contain viruses. The sender therefore does not accept liability for any errors or omissions in the contents of this message, which arise as a result of email transmission. Users and employees of the e-mail system are expressly required not to make defamatory statements and not to infringe or authorize any infringement of copyright or any other legal right by email communications. Any such communication is contrary to company policy. The company will not accept any liability in respect of such communication. From jwcolby at colbyconsulting.com Tue Aug 2 19:44:45 2005 From: jwcolby at colbyconsulting.com (John W. Colby) Date: Tue, 02 Aug 2005 20:44:45 -0400 Subject: [AccessD] Serv-U In-Reply-To: Message-ID: <000501c597c4$8e670eb0$6c7aa8c0@ColbyM6805> All of the machines in my network have Sygate personal firewall installed on them, but I have unloaded (closed) that on both the server and my laptop which I am using to test the FTP server. From my laptop, inside of my network, I can use IE to go to the server ftp address, see the ftp directories etc. I am asked for the username and password by the FTP server, and once I enter them I can see the directories. I can send files from my laptop to the directories for that username. I can move files into those directories directly on the server machine, and I can then see them using IE Explorer and FTPing into that machine (locally). As for "going out and back in, I use No-IP to discover my IP address assigned by the cable company. I then enter that at IE address bar: ftp://68.198.141.18 Doing that, IE "hangs for a long time", then comes back and says it can't find the address. One thing that I have discovered is that the WAN IP address is 192.168.102.100, and the "default gateway" is 192.168.102.1 for the WAN according to the router, whereas the interior IP group is 192.168.122.1XX - (100-199). The LAN IP address is 192.168.122.1 Why is the wan .102.100 and everything else 122.1xx? I have no clue what that means, just that is seems strange to me. The router is the DHCP server for the network (which is a workgroup) and the FTP Server is assigned .106 all of the time, with other machines also assigned specific addresses. I did this so that I could vnc / remote desktop in to my LAN from outside and count on getting to specific machines. I have had all of that working in the past, though I don't guarantee that it still does. It seems to me to be an issue with the router, port forwarding and so forth since I can do everything from inside the network. OTOH, I don't know that my request is even getting out to the internet, never mind back in. John W. Colby www.ColbyConsulting.com Contribute your unused CPU cycles to a good cause: http://folding.stanford.edu/ -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Eric Barro Sent: Tuesday, August 02, 2005 8:08 PM To: 'Access Developers discussion and problem solving' Subject: RE: [AccessD] Serv-U How are you trying to get back out and into your FTP server? Are you trying to get to it using a different machine? Check the firewall settings on the machine to see if it is accepting outside connections for the protocol that FTP is listening on. To check if a particular port is being used by a protocol go to the command prompt and type NETSTAT -a. -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of John W. Colby Sent: Tuesday, August 02, 2005 4:54 PM To: 'Access Developers discussion and problem solving'; Tech - Database Advisors Inc. Subject: [AccessD] Serv-U I am trying to get Serv-U FTP server going on my server here in my office. The install was simple and just worked. It works just fine inside of my network, using ftp://192.168.122.106 (the server IP address) but I cannot see it going out to the internet and coming back in. I have a dlink 624 (I think) router, in which I have forwarded ports 20 and 21 to 192.168.122.106. I just cannot see the server, from my laptop, going out and back in. One of my tech assists suggested that my ISP might be blocking port 20/21, so I set up the server to look for the ftp at 59999 and then used :59999 at the end to try and force contact at that port. That does not work either. Can anyone suggest how to test this thing, coming in from the outside? If anyone out there knows this stuff, and in particular has experience with Serv-U, can you assist me in getting this working. John W. Colby www.ColbyConsulting.com Contribute your unused CPU cycles to a good cause: http://folding.stanford.edu/ -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com ---------------------------------------------------------------- The information contained in this e-mail message and any file, document, previous e-mail message and/or attachment transmitted herewith is confidential and may be legally privileged. It is intended solely for the private use of the addressee and must not be disclosed to or used by anyone other than the addressee. If you receive this transmission by error, please immediately notify the sender by reply e-mail and destroy the original transmission and its attachments without reading or saving it in any manner. If you are not the intended recipient, or a person responsible for delivering it to the intended recipient, you are hereby notified that any disclosure, copying, distribution or use of any of the information contained in or attached to this transmission is STRICTLY PROHIBITED. E-mail transmission cannot be guaranteed to be secure or error free as information could be intercepted, corrupted, lost, destroyed, arrive late or incomplete, or contain viruses. The sender therefore does not accept liability for any errors or omissions in the contents of this message, which arise as a result of email transmission. Users and employees of the e-mail system are expressly required not to make defamatory statements and not to infringe or authorize any infringement of copyright or any other legal right by email communications. Any such communication is contrary to company policy. The company will not accept any liability in respect of such communication. -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From jason at purplecone.com Tue Aug 2 20:34:11 2005 From: jason at purplecone.com (Jason Strickland) Date: Tue, 2 Aug 2005 21:34:11 -0400 Subject: [AccessD] Serv-U In-Reply-To: <000501c597c4$8e670eb0$6c7aa8c0@ColbyM6805> Message-ID: <200508030134.j731Y3R07106@databaseadvisors.com> If you are physically on the inside LAN, you cannot connect to the ftp server using the outside address. You need a workstation on the outside to connect to your public IP and you should be able to get in. I tried to ftp to 68.198.141.18 but it timed out. By looking at your Ip, I am assuming you are on cable. Some cable modems issue a DHCP and I am assuming your router is getting the DHCP of 192.168.102.100 and the modem interface is 192.168.102.1 Your dlink then does nat for the other ip range. -Jason -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of John W. Colby Sent: 08/02/2005 8:45 PM To: 'Access Developers discussion and problem solving'; Tech - Database Advisors Inc. Subject: RE: [AccessD] Serv-U All of the machines in my network have Sygate personal firewall installed on them, but I have unloaded (closed) that on both the server and my laptop which I am using to test the FTP server. From my laptop, inside of my network, I can use IE to go to the server ftp address, see the ftp directories etc. I am asked for the username and password by the FTP server, and once I enter them I can see the directories. I can send files from my laptop to the directories for that username. I can move files into those directories directly on the server machine, and I can then see them using IE Explorer and FTPing into that machine (locally). As for "going out and back in, I use No-IP to discover my IP address assigned by the cable company. I then enter that at IE address bar: ftp://68.198.141.18 Doing that, IE "hangs for a long time", then comes back and says it can't find the address. One thing that I have discovered is that the WAN IP address is 192.168.102.100, and the "default gateway" is 192.168.102.1 for the WAN according to the router, whereas the interior IP group is 192.168.122.1XX - (100-199). The LAN IP address is 192.168.122.1 Why is the wan .102.100 and everything else 122.1xx? I have no clue what that means, just that is seems strange to me. The router is the DHCP server for the network (which is a workgroup) and the FTP Server is assigned .106 all of the time, with other machines also assigned specific addresses. I did this so that I could vnc / remote desktop in to my LAN from outside and count on getting to specific machines. I have had all of that working in the past, though I don't guarantee that it still does. It seems to me to be an issue with the router, port forwarding and so forth since I can do everything from inside the network. OTOH, I don't know that my request is even getting out to the internet, never mind back in. John W. Colby www.ColbyConsulting.com Contribute your unused CPU cycles to a good cause: http://folding.stanford.edu/ -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Eric Barro Sent: Tuesday, August 02, 2005 8:08 PM To: 'Access Developers discussion and problem solving' Subject: RE: [AccessD] Serv-U How are you trying to get back out and into your FTP server? Are you trying to get to it using a different machine? Check the firewall settings on the machine to see if it is accepting outside connections for the protocol that FTP is listening on. To check if a particular port is being used by a protocol go to the command prompt and type NETSTAT -a. -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of John W. Colby Sent: Tuesday, August 02, 2005 4:54 PM To: 'Access Developers discussion and problem solving'; Tech - Database Advisors Inc. Subject: [AccessD] Serv-U I am trying to get Serv-U FTP server going on my server here in my office. The install was simple and just worked. It works just fine inside of my network, using ftp://192.168.122.106 (the server IP address) but I cannot see it going out to the internet and coming back in. I have a dlink 624 (I think) router, in which I have forwarded ports 20 and 21 to 192.168.122.106. I just cannot see the server, from my laptop, going out and back in. One of my tech assists suggested that my ISP might be blocking port 20/21, so I set up the server to look for the ftp at 59999 and then used :59999 at the end to try and force contact at that port. That does not work either. Can anyone suggest how to test this thing, coming in from the outside? If anyone out there knows this stuff, and in particular has experience with Serv-U, can you assist me in getting this working. John W. Colby www.ColbyConsulting.com Contribute your unused CPU cycles to a good cause: http://folding.stanford.edu/ -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com ---------------------------------------------------------------- The information contained in this e-mail message and any file, document, previous e-mail message and/or attachment transmitted herewith is confidential and may be legally privileged. It is intended solely for the private use of the addressee and must not be disclosed to or used by anyone other than the addressee. If you receive this transmission by error, please immediately notify the sender by reply e-mail and destroy the original transmission and its attachments without reading or saving it in any manner. If you are not the intended recipient, or a person responsible for delivering it to the intended recipient, you are hereby notified that any disclosure, copying, distribution or use of any of the information contained in or attached to this transmission is STRICTLY PROHIBITED. E-mail transmission cannot be guaranteed to be secure or error free as information could be intercepted, corrupted, lost, destroyed, arrive late or incomplete, or contain viruses. The sender therefore does not accept liability for any errors or omissions in the contents of this message, which arise as a result of email transmission. Users and employees of the e-mail system are expressly required not to make defamatory statements and not to infringe or authorize any infringement of copyright or any other legal right by email communications. Any such communication is contrary to company policy. The company will not accept any liability in respect of such communication. -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd 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 Tue Aug 2 21:11:17 2005 From: ebarro at afsweb.com (Eric Barro) Date: Tue, 2 Aug 2005 19:11:17 -0700 Subject: [AccessD] Serv-U In-Reply-To: <200508030134.j731Y3R07106@databaseadvisors.com> Message-ID: Jason's right John. You can't go back into the internal network by using another machine that's on the same network subnet. The IP packets can't be routed properly because your source and destination address are going to be the same public IP. I also tried to ftp to the IP you specified but I got an error. Most cable providers block inbound port 21 and port 80 since they don't want people setting up servers behind the cable modem. -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Jason Strickland Sent: Tuesday, August 02, 2005 6:34 PM To: 'Access Developers discussion and problem solving' Subject: RE: [AccessD] Serv-U If you are physically on the inside LAN, you cannot connect to the ftp server using the outside address. You need a workstation on the outside to connect to your public IP and you should be able to get in. I tried to ftp to 68.198.141.18 but it timed out. By looking at your Ip, I am assuming you are on cable. Some cable modems issue a DHCP and I am assuming your router is getting the DHCP of 192.168.102.100 and the modem interface is 192.168.102.1 Your dlink then does nat for the other ip range. -Jason -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of John W. Colby Sent: 08/02/2005 8:45 PM To: 'Access Developers discussion and problem solving'; Tech - Database Advisors Inc. Subject: RE: [AccessD] Serv-U All of the machines in my network have Sygate personal firewall installed on them, but I have unloaded (closed) that on both the server and my laptop which I am using to test the FTP server. From my laptop, inside of my network, I can use IE to go to the server ftp address, see the ftp directories etc. I am asked for the username and password by the FTP server, and once I enter them I can see the directories. I can send files from my laptop to the directories for that username. I can move files into those directories directly on the server machine, and I can then see them using IE Explorer and FTPing into that machine (locally). As for "going out and back in, I use No-IP to discover my IP address assigned by the cable company. I then enter that at IE address bar: ftp://68.198.141.18 Doing that, IE "hangs for a long time", then comes back and says it can't find the address. One thing that I have discovered is that the WAN IP address is 192.168.102.100, and the "default gateway" is 192.168.102.1 for the WAN according to the router, whereas the interior IP group is 192.168.122.1XX - (100-199). The LAN IP address is 192.168.122.1 Why is the wan .102.100 and everything else 122.1xx? I have no clue what that means, just that is seems strange to me. The router is the DHCP server for the network (which is a workgroup) and the FTP Server is assigned .106 all of the time, with other machines also assigned specific addresses. I did this so that I could vnc / remote desktop in to my LAN from outside and count on getting to specific machines. I have had all of that working in the past, though I don't guarantee that it still does. It seems to me to be an issue with the router, port forwarding and so forth since I can do everything from inside the network. OTOH, I don't know that my request is even getting out to the internet, never mind back in. John W. Colby www.ColbyConsulting.com Contribute your unused CPU cycles to a good cause: http://folding.stanford.edu/ -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Eric Barro Sent: Tuesday, August 02, 2005 8:08 PM To: 'Access Developers discussion and problem solving' Subject: RE: [AccessD] Serv-U How are you trying to get back out and into your FTP server? Are you trying to get to it using a different machine? Check the firewall settings on the machine to see if it is accepting outside connections for the protocol that FTP is listening on. To check if a particular port is being used by a protocol go to the command prompt and type NETSTAT -a. -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of John W. Colby Sent: Tuesday, August 02, 2005 4:54 PM To: 'Access Developers discussion and problem solving'; Tech - Database Advisors Inc. Subject: [AccessD] Serv-U I am trying to get Serv-U FTP server going on my server here in my office. The install was simple and just worked. It works just fine inside of my network, using ftp://192.168.122.106 (the server IP address) but I cannot see it going out to the internet and coming back in. I have a dlink 624 (I think) router, in which I have forwarded ports 20 and 21 to 192.168.122.106. I just cannot see the server, from my laptop, going out and back in. One of my tech assists suggested that my ISP might be blocking port 20/21, so I set up the server to look for the ftp at 59999 and then used :59999 at the end to try and force contact at that port. That does not work either. Can anyone suggest how to test this thing, coming in from the outside? If anyone out there knows this stuff, and in particular has experience with Serv-U, can you assist me in getting this working. John W. Colby www.ColbyConsulting.com Contribute your unused CPU cycles to a good cause: http://folding.stanford.edu/ -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com ---------------------------------------------------------------- The information contained in this e-mail message and any file, document, previous e-mail message and/or attachment transmitted herewith is confidential and may be legally privileged. It is intended solely for the private use of the addressee and must not be disclosed to or used by anyone other than the addressee. If you receive this transmission by error, please immediately notify the sender by reply e-mail and destroy the original transmission and its attachments without reading or saving it in any manner. If you are not the intended recipient, or a person responsible for delivering it to the intended recipient, you are hereby notified that any disclosure, copying, distribution or use of any of the information contained in or attached to this transmission is STRICTLY PROHIBITED. E-mail transmission cannot be guaranteed to be secure or error free as information could be intercepted, corrupted, lost, destroyed, arrive late or incomplete, or contain viruses. The sender therefore does not accept liability for any errors or omissions in the contents of this message, which arise as a result of email transmission. Users and employees of the e-mail system are expressly required not to make defamatory statements and not to infringe or authorize any infringement of copyright or any other legal right by email communications. Any such communication is contrary to company policy. The company will not accept any liability in respect of such communication. -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com ---------------------------------------------------------------- The information contained in this e-mail message and any file, document, previous e-mail message and/or attachment transmitted herewith is confidential and may be legally privileged. It is intended solely for the private use of the addressee and must not be disclosed to or used by anyone other than the addressee. If you receive this transmission by error, please immediately notify the sender by reply e-mail and destroy the original transmission and its attachments without reading or saving it in any manner. If you are not the intended recipient, or a person responsible for delivering it to the intended recipient, you are hereby notified that any disclosure, copying, distribution or use of any of the information contained in or attached to this transmission is STRICTLY PROHIBITED. E-mail transmission cannot be guaranteed to be secure or error free as information could be intercepted, corrupted, lost, destroyed, arrive late or incomplete, or contain viruses. The sender therefore does not accept liability for any errors or omissions in the contents of this message, which arise as a result of email transmission. Users and employees of the e-mail system are expressly required not to make defamatory statements and not to infringe or authorize any infringement of copyright or any other legal right by email communications. Any such communication is contrary to company policy. The company will not accept any liability in respect of such communication. From jwcolby at colbyconsulting.com Tue Aug 2 22:06:37 2005 From: jwcolby at colbyconsulting.com (John W. Colby) Date: Tue, 02 Aug 2005 23:06:37 -0400 Subject: [AccessD] Serv-U In-Reply-To: Message-ID: <001601c597d8$601cd6c0$6c7aa8c0@ColbyM6805> >Jason's right John. You can't go back into the internal network by using another machine that's on the same network subnet. The IP packets can't be routed properly because your source and destination address are going to be the same public IP. That would explain that. What port would be appropriate to set up then? I set up 59999 (one shy of 60k) but of course I was trying to get out and back in. I can remote desktop to a client's machine and ftp back in for testing. John W. Colby www.ColbyConsulting.com Contribute your unused CPU cycles to a good cause: http://folding.stanford.edu/ -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Eric Barro Sent: Tuesday, August 02, 2005 10:11 PM To: 'Access Developers discussion and problem solving' Subject: RE: [AccessD] Serv-U Jason's right John. You can't go back into the internal network by using another machine that's on the same network subnet. The IP packets can't be routed properly because your source and destination address are going to be the same public IP. I also tried to ftp to the IP you specified but I got an error. Most cable providers block inbound port 21 and port 80 since they don't want people setting up servers behind the cable modem. -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Jason Strickland Sent: Tuesday, August 02, 2005 6:34 PM To: 'Access Developers discussion and problem solving' Subject: RE: [AccessD] Serv-U If you are physically on the inside LAN, you cannot connect to the ftp server using the outside address. You need a workstation on the outside to connect to your public IP and you should be able to get in. I tried to ftp to 68.198.141.18 but it timed out. By looking at your Ip, I am assuming you are on cable. Some cable modems issue a DHCP and I am assuming your router is getting the DHCP of 192.168.102.100 and the modem interface is 192.168.102.1 Your dlink then does nat for the other ip range. -Jason -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of John W. Colby Sent: 08/02/2005 8:45 PM To: 'Access Developers discussion and problem solving'; Tech - Database Advisors Inc. Subject: RE: [AccessD] Serv-U All of the machines in my network have Sygate personal firewall installed on them, but I have unloaded (closed) that on both the server and my laptop which I am using to test the FTP server. From my laptop, inside of my network, I can use IE to go to the server ftp address, see the ftp directories etc. I am asked for the username and password by the FTP server, and once I enter them I can see the directories. I can send files from my laptop to the directories for that username. I can move files into those directories directly on the server machine, and I can then see them using IE Explorer and FTPing into that machine (locally). As for "going out and back in, I use No-IP to discover my IP address assigned by the cable company. I then enter that at IE address bar: ftp://68.198.141.18 Doing that, IE "hangs for a long time", then comes back and says it can't find the address. One thing that I have discovered is that the WAN IP address is 192.168.102.100, and the "default gateway" is 192.168.102.1 for the WAN according to the router, whereas the interior IP group is 192.168.122.1XX - (100-199). The LAN IP address is 192.168.122.1 Why is the wan .102.100 and everything else 122.1xx? I have no clue what that means, just that is seems strange to me. The router is the DHCP server for the network (which is a workgroup) and the FTP Server is assigned .106 all of the time, with other machines also assigned specific addresses. I did this so that I could vnc / remote desktop in to my LAN from outside and count on getting to specific machines. I have had all of that working in the past, though I don't guarantee that it still does. It seems to me to be an issue with the router, port forwarding and so forth since I can do everything from inside the network. OTOH, I don't know that my request is even getting out to the internet, never mind back in. John W. Colby www.ColbyConsulting.com Contribute your unused CPU cycles to a good cause: http://folding.stanford.edu/ -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Eric Barro Sent: Tuesday, August 02, 2005 8:08 PM To: 'Access Developers discussion and problem solving' Subject: RE: [AccessD] Serv-U How are you trying to get back out and into your FTP server? Are you trying to get to it using a different machine? Check the firewall settings on the machine to see if it is accepting outside connections for the protocol that FTP is listening on. To check if a particular port is being used by a protocol go to the command prompt and type NETSTAT -a. -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of John W. Colby Sent: Tuesday, August 02, 2005 4:54 PM To: 'Access Developers discussion and problem solving'; Tech - Database Advisors Inc. Subject: [AccessD] Serv-U I am trying to get Serv-U FTP server going on my server here in my office. The install was simple and just worked. It works just fine inside of my network, using ftp://192.168.122.106 (the server IP address) but I cannot see it going out to the internet and coming back in. I have a dlink 624 (I think) router, in which I have forwarded ports 20 and 21 to 192.168.122.106. I just cannot see the server, from my laptop, going out and back in. One of my tech assists suggested that my ISP might be blocking port 20/21, so I set up the server to look for the ftp at 59999 and then used :59999 at the end to try and force contact at that port. That does not work either. Can anyone suggest how to test this thing, coming in from the outside? If anyone out there knows this stuff, and in particular has experience with Serv-U, can you assist me in getting this working. John W. Colby www.ColbyConsulting.com Contribute your unused CPU cycles to a good cause: http://folding.stanford.edu/ -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com ---------------------------------------------------------------- The information contained in this e-mail message and any file, document, previous e-mail message and/or attachment transmitted herewith is confidential and may be legally privileged. It is intended solely for the private use of the addressee and must not be disclosed to or used by anyone other than the addressee. If you receive this transmission by error, please immediately notify the sender by reply e-mail and destroy the original transmission and its attachments without reading or saving it in any manner. If you are not the intended recipient, or a person responsible for delivering it to the intended recipient, you are hereby notified that any disclosure, copying, distribution or use of any of the information contained in or attached to this transmission is STRICTLY PROHIBITED. E-mail transmission cannot be guaranteed to be secure or error free as information could be intercepted, corrupted, lost, destroyed, arrive late or incomplete, or contain viruses. The sender therefore does not accept liability for any errors or omissions in the contents of this message, which arise as a result of email transmission. Users and employees of the e-mail system are expressly required not to make defamatory statements and not to infringe or authorize any infringement of copyright or any other legal right by email communications. Any such communication is contrary to company policy. The company will not accept any liability in respect of such communication. -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com ---------------------------------------------------------------- The information contained in this e-mail message and any file, document, previous e-mail message and/or attachment transmitted herewith is confidential and may be legally privileged. It is intended solely for the private use of the addressee and must not be disclosed to or used by anyone other than the addressee. If you receive this transmission by error, please immediately notify the sender by reply e-mail and destroy the original transmission and its attachments without reading or saving it in any manner. If you are not the intended recipient, or a person responsible for delivering it to the intended recipient, you are hereby notified that any disclosure, copying, distribution or use of any of the information contained in or attached to this transmission is STRICTLY PROHIBITED. E-mail transmission cannot be guaranteed to be secure or error free as information could be intercepted, corrupted, lost, destroyed, arrive late or incomplete, or contain viruses. The sender therefore does not accept liability for any errors or omissions in the contents of this message, which arise as a result of email transmission. Users and employees of the e-mail system are expressly required not to make defamatory statements and not to infringe or authorize any infringement of copyright or any other legal right by email communications. Any such communication is contrary to company policy. The company will not accept any liability in respect of such communication. -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From jwcolby at colbyconsulting.com Tue Aug 2 22:20:13 2005 From: jwcolby at colbyconsulting.com (John W. Colby) Date: Tue, 02 Aug 2005 23:20:13 -0400 Subject: [AccessD] Serv-U In-Reply-To: <001601c597d8$601cd6c0$6c7aa8c0@ColbyM6805> Message-ID: <001701c597da$43209280$6c7aa8c0@ColbyM6805> Well, I have tried it at port 59999 as well. Port forwarding is set to the same server, Serv-U is modified to use 59999, I remote desktop to a client machine then try and ftp back in and a definite no go. Sigh. John W. Colby www.ColbyConsulting.com Contribute your unused CPU cycles to a good cause: http://folding.stanford.edu/ -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of John W. Colby Sent: Tuesday, August 02, 2005 11:07 PM To: 'Access Developers discussion and problem solving' Subject: RE: [AccessD] Serv-U >Jason's right John. You can't go back into the internal network by >using another machine that's on the same network subnet. The IP packets can't be routed properly because your source and destination address are going to be the same public IP. That would explain that. What port would be appropriate to set up then? I set up 59999 (one shy of 60k) but of course I was trying to get out and back in. I can remote desktop to a client's machine and ftp back in for testing. John W. Colby www.ColbyConsulting.com Contribute your unused CPU cycles to a good cause: http://folding.stanford.edu/ -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Eric Barro Sent: Tuesday, August 02, 2005 10:11 PM To: 'Access Developers discussion and problem solving' Subject: RE: [AccessD] Serv-U Jason's right John. You can't go back into the internal network by using another machine that's on the same network subnet. The IP packets can't be routed properly because your source and destination address are going to be the same public IP. I also tried to ftp to the IP you specified but I got an error. Most cable providers block inbound port 21 and port 80 since they don't want people setting up servers behind the cable modem. -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Jason Strickland Sent: Tuesday, August 02, 2005 6:34 PM To: 'Access Developers discussion and problem solving' Subject: RE: [AccessD] Serv-U If you are physically on the inside LAN, you cannot connect to the ftp server using the outside address. You need a workstation on the outside to connect to your public IP and you should be able to get in. I tried to ftp to 68.198.141.18 but it timed out. By looking at your Ip, I am assuming you are on cable. Some cable modems issue a DHCP and I am assuming your router is getting the DHCP of 192.168.102.100 and the modem interface is 192.168.102.1 Your dlink then does nat for the other ip range. -Jason -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of John W. Colby Sent: 08/02/2005 8:45 PM To: 'Access Developers discussion and problem solving'; Tech - Database Advisors Inc. Subject: RE: [AccessD] Serv-U All of the machines in my network have Sygate personal firewall installed on them, but I have unloaded (closed) that on both the server and my laptop which I am using to test the FTP server. From my laptop, inside of my network, I can use IE to go to the server ftp address, see the ftp directories etc. I am asked for the username and password by the FTP server, and once I enter them I can see the directories. I can send files from my laptop to the directories for that username. I can move files into those directories directly on the server machine, and I can then see them using IE Explorer and FTPing into that machine (locally). As for "going out and back in, I use No-IP to discover my IP address assigned by the cable company. I then enter that at IE address bar: ftp://68.198.141.18 Doing that, IE "hangs for a long time", then comes back and says it can't find the address. One thing that I have discovered is that the WAN IP address is 192.168.102.100, and the "default gateway" is 192.168.102.1 for the WAN according to the router, whereas the interior IP group is 192.168.122.1XX - (100-199). The LAN IP address is 192.168.122.1 Why is the wan .102.100 and everything else 122.1xx? I have no clue what that means, just that is seems strange to me. The router is the DHCP server for the network (which is a workgroup) and the FTP Server is assigned .106 all of the time, with other machines also assigned specific addresses. I did this so that I could vnc / remote desktop in to my LAN from outside and count on getting to specific machines. I have had all of that working in the past, though I don't guarantee that it still does. It seems to me to be an issue with the router, port forwarding and so forth since I can do everything from inside the network. OTOH, I don't know that my request is even getting out to the internet, never mind back in. John W. Colby www.ColbyConsulting.com Contribute your unused CPU cycles to a good cause: http://folding.stanford.edu/ -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Eric Barro Sent: Tuesday, August 02, 2005 8:08 PM To: 'Access Developers discussion and problem solving' Subject: RE: [AccessD] Serv-U How are you trying to get back out and into your FTP server? Are you trying to get to it using a different machine? Check the firewall settings on the machine to see if it is accepting outside connections for the protocol that FTP is listening on. To check if a particular port is being used by a protocol go to the command prompt and type NETSTAT -a. -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of John W. Colby Sent: Tuesday, August 02, 2005 4:54 PM To: 'Access Developers discussion and problem solving'; Tech - Database Advisors Inc. Subject: [AccessD] Serv-U I am trying to get Serv-U FTP server going on my server here in my office. The install was simple and just worked. It works just fine inside of my network, using ftp://192.168.122.106 (the server IP address) but I cannot see it going out to the internet and coming back in. I have a dlink 624 (I think) router, in which I have forwarded ports 20 and 21 to 192.168.122.106. I just cannot see the server, from my laptop, going out and back in. One of my tech assists suggested that my ISP might be blocking port 20/21, so I set up the server to look for the ftp at 59999 and then used :59999 at the end to try and force contact at that port. That does not work either. Can anyone suggest how to test this thing, coming in from the outside? If anyone out there knows this stuff, and in particular has experience with Serv-U, can you assist me in getting this working. John W. Colby www.ColbyConsulting.com Contribute your unused CPU cycles to a good cause: http://folding.stanford.edu/ -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com ---------------------------------------------------------------- The information contained in this e-mail message and any file, document, previous e-mail message and/or attachment transmitted herewith is confidential and may be legally privileged. It is intended solely for the private use of the addressee and must not be disclosed to or used by anyone other than the addressee. If you receive this transmission by error, please immediately notify the sender by reply e-mail and destroy the original transmission and its attachments without reading or saving it in any manner. If you are not the intended recipient, or a person responsible for delivering it to the intended recipient, you are hereby notified that any disclosure, copying, distribution or use of any of the information contained in or attached to this transmission is STRICTLY PROHIBITED. E-mail transmission cannot be guaranteed to be secure or error free as information could be intercepted, corrupted, lost, destroyed, arrive late or incomplete, or contain viruses. The sender therefore does not accept liability for any errors or omissions in the contents of this message, which arise as a result of email transmission. Users and employees of the e-mail system are expressly required not to make defamatory statements and not to infringe or authorize any infringement of copyright or any other legal right by email communications. Any such communication is contrary to company policy. The company will not accept any liability in respect of such communication. -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com ---------------------------------------------------------------- The information contained in this e-mail message and any file, document, previous e-mail message and/or attachment transmitted herewith is confidential and may be legally privileged. It is intended solely for the private use of the addressee and must not be disclosed to or used by anyone other than the addressee. If you receive this transmission by error, please immediately notify the sender by reply e-mail and destroy the original transmission and its attachments without reading or saving it in any manner. If you are not the intended recipient, or a person responsible for delivering it to the intended recipient, you are hereby notified that any disclosure, copying, distribution or use of any of the information contained in or attached to this transmission is STRICTLY PROHIBITED. E-mail transmission cannot be guaranteed to be secure or error free as information could be intercepted, corrupted, lost, destroyed, arrive late or incomplete, or contain viruses. The sender therefore does not accept liability for any errors or omissions in the contents of this message, which arise as a result of email transmission. Users and employees of the e-mail system are expressly required not to make defamatory statements and not to infringe or authorize any infringement of copyright or any other legal right by email communications. Any such communication is contrary to company policy. The company will not accept any liability in respect of such communication. -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd 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 Wed Aug 3 00:41:19 2005 From: accessd at shaw.ca (Jim Lawrence) Date: Tue, 02 Aug 2005 22:41:19 -0700 Subject: [AccessD] Serv-U In-Reply-To: <000501c597c4$8e670eb0$6c7aa8c0@ColbyM6805> Message-ID: <0IKM00123T4TE0@l-daemon> Hi John: Just a couple of comments: If you are using standard ftp then port 21 must be open on your router. If not there is usually a configuration, on the router, that you may have to set. (Also on the software firewalls.) When testing the ftp server (I use IIS) inside the LAN I would use something like: ftp://MyUserName:MyPassword at 192.168.102.100 After this has been thoroughly tested and when sending it outside to be used for external access to the FTP server then reconfigure like: ftp://MyUsername:MyPassword at 68.198.141.18 The above address will not work from an external station. You can test the external response by going to an external web proxy like http://www.guardster.com/ . From there you can see whether you can access your ftp server from outside. Another trick to see what is happening is to monitor your router external status page and see what ports a remote process is trying to access. If you are using a different port for the FTP site like 8888 you would have to configure the ftp address like: ftp://MyUsername:MyPassword at 68.198.141.18:8888 Have you ever considered using webdav to handle your remote access? It is not difficult to setup and according to a friend more secure. HTH Jim -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of John W. Colby Sent: Tuesday, August 02, 2005 5:45 PM To: 'Access Developers discussion and problem solving'; Tech - Database Advisors Inc. Subject: RE: [AccessD] Serv-U All of the machines in my network have Sygate personal firewall installed on them, but I have unloaded (closed) that on both the server and my laptop which I am using to test the FTP server. From my laptop, inside of my network, I can use IE to go to the server ftp address, see the ftp directories etc. I am asked for the username and password by the FTP server, and once I enter them I can see the directories. I can send files from my laptop to the directories for that username. I can move files into those directories directly on the server machine, and I can then see them using IE Explorer and FTPing into that machine (locally). As for "going out and back in, I use No-IP to discover my IP address assigned by the cable company. I then enter that at IE address bar: ftp://68.198.141.18 Doing that, IE "hangs for a long time", then comes back and says it can't find the address. One thing that I have discovered is that the WAN IP address is 192.168.102.100, and the "default gateway" is 192.168.102.1 for the WAN according to the router, whereas the interior IP group is 192.168.122.1XX - (100-199). The LAN IP address is 192.168.122.1 Why is the wan .102.100 and everything else 122.1xx? I have no clue what that means, just that is seems strange to me. The router is the DHCP server for the network (which is a workgroup) and the FTP Server is assigned .106 all of the time, with other machines also assigned specific addresses. I did this so that I could vnc / remote desktop in to my LAN from outside and count on getting to specific machines. I have had all of that working in the past, though I don't guarantee that it still does. It seems to me to be an issue with the router, port forwarding and so forth since I can do everything from inside the network. OTOH, I don't know that my request is even getting out to the internet, never mind back in. John W. Colby www.ColbyConsulting.com Contribute your unused CPU cycles to a good cause: http://folding.stanford.edu/ -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Eric Barro Sent: Tuesday, August 02, 2005 8:08 PM To: 'Access Developers discussion and problem solving' Subject: RE: [AccessD] Serv-U How are you trying to get back out and into your FTP server? Are you trying to get to it using a different machine? Check the firewall settings on the machine to see if it is accepting outside connections for the protocol that FTP is listening on. To check if a particular port is being used by a protocol go to the command prompt and type NETSTAT -a. -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of John W. Colby Sent: Tuesday, August 02, 2005 4:54 PM To: 'Access Developers discussion and problem solving'; Tech - Database Advisors Inc. Subject: [AccessD] Serv-U I am trying to get Serv-U FTP server going on my server here in my office. The install was simple and just worked. It works just fine inside of my network, using ftp://192.168.122.106 (the server IP address) but I cannot see it going out to the internet and coming back in. I have a dlink 624 (I think) router, in which I have forwarded ports 20 and 21 to 192.168.122.106. I just cannot see the server, from my laptop, going out and back in. One of my tech assists suggested that my ISP might be blocking port 20/21, so I set up the server to look for the ftp at 59999 and then used :59999 at the end to try and force contact at that port. That does not work either. Can anyone suggest how to test this thing, coming in from the outside? If anyone out there knows this stuff, and in particular has experience with Serv-U, can you assist me in getting this working. John W. Colby www.ColbyConsulting.com Contribute your unused CPU cycles to a good cause: http://folding.stanford.edu/ -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com ---------------------------------------------------------------- The information contained in this e-mail message and any file, document, previous e-mail message and/or attachment transmitted herewith is confidential and may be legally privileged. It is intended solely for the private use of the addressee and must not be disclosed to or used by anyone other than the addressee. If you receive this transmission by error, please immediately notify the sender by reply e-mail and destroy the original transmission and its attachments without reading or saving it in any manner. If you are not the intended recipient, or a person responsible for delivering it to the intended recipient, you are hereby notified that any disclosure, copying, distribution or use of any of the information contained in or attached to this transmission is STRICTLY PROHIBITED. E-mail transmission cannot be guaranteed to be secure or error free as information could be intercepted, corrupted, lost, destroyed, arrive late or incomplete, or contain viruses. The sender therefore does not accept liability for any errors or omissions in the contents of this message, which arise as a result of email transmission. Users and employees of the e-mail system are expressly required not to make defamatory statements and not to infringe or authorize any infringement of copyright or any other legal right by email communications. Any such communication is contrary to company policy. The company will not accept any liability in respect of such communication. -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From jmhecht at earthlink.net Wed Aug 3 01:48:39 2005 From: jmhecht at earthlink.net (Joe Hecht) Date: Tue, 2 Aug 2005 23:48:39 -0700 Subject: [AccessD] Found this site on excel Message-ID: <002201c597f7$61d989d0$6401a8c0@laptop1> But it has Access Stuff too http://www.fontstuff.com/downloads/index.htm Joe Hecht Los Angeles CA From vrm at tim-cms.com Wed Aug 3 02:32:15 2005 From: vrm at tim-cms.com (| Marcel Vreuls) Date: Wed, 3 Aug 2005 09:32:15 +0200 Subject: [AccessD] Menu problems In-Reply-To: <002201c597f7$61d989d0$6401a8c0@laptop1> Message-ID: <000601c597fd$7a9a2690$0100000a@GALAXY.local> Hi, I've got the strangest problem. I have a quit large frontend A2K MDB/MDE. I cannot recall since when. I guess about 4 weeks not all menus are visible anymore. For example i had a dropdown File menu a view menu and a settings menu. The view menu is working fine but the other two show no options anymore. Only a grey square like option with no menu options anymore!?!?!??!?!? I have about 300 deployed clients through the country and they are all working fine. So no worries now and It seems this problem only occurs on my pc and laptop. But it develops and tests very bad. Thx Marcel From greggs at msn.com Wed Aug 3 09:32:28 2005 From: greggs at msn.com (Gregg) Date: Wed, 3 Aug 2005 09:32:28 -0500 Subject: [AccessD] Memo field parsing References: <000601c597fd$7a9a2690$0100000a@GALAXY.local> Message-ID: I would like to parse a memo field in a A97 report such that the first three lines is on the first page and whatever is left is on the next. Any ideas? Gregg Steinbrenner From cfoust at infostatsystems.com Wed Aug 3 10:28:59 2005 From: cfoust at infostatsystems.com (Charlotte Foust) Date: Wed, 3 Aug 2005 08:28:59 -0700 Subject: [AccessD] Memo field parsing Message-ID: Define "first three lines". Is that a particular number of characters or a physical space? Charlotte Foust -----Original Message----- From: Gregg [mailto:greggs at msn.com] Sent: Wednesday, August 03, 2005 7:32 AM To: Access Developers discussion and problem solving Subject: [AccessD] Memo field parsing I would like to parse a memo field in a A97 report such that the first three lines is on the first page and whatever is left is on the next. Any ideas? Gregg Steinbrenner -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From greggs at msn.com Wed Aug 3 10:42:44 2005 From: greggs at msn.com (Gregg) Date: Wed, 3 Aug 2005 10:42:44 -0500 Subject: [AccessD] Memo field parsing References: Message-ID: Charlotte Physical space I think because I don't know how to get from one to the other. The number of characters is going to be dependant on the how many characters are lost to word wrapping isn't it? Is there a way to calculate the number of characters that will appear in the first three lines? If I knew that, I could do it. ----- Original Message ----- From: Charlotte Foust To: Access Developers discussion and problem solving Sent: Wednesday, August 03, 2005 10:28 AM Subject: RE: [AccessD] Memo field parsing Define "first three lines". Is that a particular number of characters or a physical space? Charlotte Foust -----Original Message----- From: Gregg [mailto:greggs at msn.com] Sent: Wednesday, August 03, 2005 7:32 AM To: Access Developers discussion and problem solving Subject: [AccessD] Memo field parsing I would like to parse a memo field in a A97 report such that the first three lines is on the first page and whatever is left is on the next. Any ideas? Gregg Steinbrenner -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From Gustav at cactus.dk Wed Aug 3 10:56:26 2005 From: Gustav at cactus.dk (Gustav Brock) Date: Wed, 03 Aug 2005 17:56:26 +0200 Subject: [AccessD] Memo field parsing Message-ID: Hi Gregg You may find some hints about font metrics here at Stephen Lebans: http://www.lebans.com/textwidth-height.htm Prepare for some fun ... /gustav >>> greggs at msn.com 08/03 5:42 pm >>> Charlotte Physical space I think because I don't know how to get from one to the other. The number of characters is going to be dependant on the how many characters are lost to word wrapping isn't it? Is there a way to calculate the number of characters that will appear in the first three lines? If I knew that, I could do it. From cfoust at infostatsystems.com Wed Aug 3 11:02:03 2005 From: cfoust at infostatsystems.com (Charlotte Foust) Date: Wed, 3 Aug 2005 09:02:03 -0700 Subject: [AccessD] Memo field parsing Message-ID: You can't do it by simply counting characters anyhow. You have to use the TextWidth property, which can be expressed as reportname.TextWidth(stringvariable) and compare that to the textwidth of the control ( reportname.TextWidth(controlobject) or to the maximum length you want to display. You'll also want to allow a padding factor to avoid overrunning the borders of the control and be sure and check for carriage returns because they confuse the issue. If you want to display 3 "lines", you'll have to break the memo field into the first three chunks that will fit into the textwidth of the textbox you're using to display the text on that page. Charlotte Foust -----Original Message----- From: Gregg [mailto:greggs at msn.com] Sent: Wednesday, August 03, 2005 8:43 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Memo field parsing Charlotte Physical space I think because I don't know how to get from one to the other. The number of characters is going to be dependant on the how many characters are lost to word wrapping isn't it? Is there a way to calculate the number of characters that will appear in the first three lines? If I knew that, I could do it. ----- Original Message ----- From: Charlotte Foust To: Access Developers discussion and problem solving Sent: Wednesday, August 03, 2005 10:28 AM Subject: RE: [AccessD] Memo field parsing Define "first three lines". Is that a particular number of characters or a physical space? Charlotte Foust -----Original Message----- From: Gregg [mailto:greggs at msn.com] Sent: Wednesday, August 03, 2005 7:32 AM To: Access Developers discussion and problem solving Subject: [AccessD] Memo field parsing I would like to parse a memo field in a A97 report such that the first three lines is on the first page and whatever is left is on the next. Any ideas? Gregg Steinbrenner -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd 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 Aug 3 11:01:11 2005 From: DWUTKA at marlow.com (DWUTKA at marlow.com) Date: Wed, 3 Aug 2005 11:01:11 -0500 Subject: [AccessD] Serv-U Message-ID: <123701F54509D9119A4F00D0B747349016DBC7@main2.marlow.com> What's your external IP address? Drew -----Original Message----- From: John W. Colby [mailto:jwcolby at colbyconsulting.com] Sent: Tuesday, August 02, 2005 6:54 PM To: 'Access Developers discussion and problem solving'; Tech - Database Advisors Inc. Subject: [AccessD] Serv-U I am trying to get Serv-U FTP server going on my server here in my office. The install was simple and just worked. It works just fine inside of my network, using ftp://192.168.122.106 (the server IP address) but I cannot see it going out to the internet and coming back in. I have a dlink 624 (I think) router, in which I have forwarded ports 20 and 21 to 192.168.122.106. I just cannot see the server, from my laptop, going out and back in. One of my tech assists suggested that my ISP might be blocking port 20/21, so I set up the server to look for the ftp at 59999 and then used :59999 at the end to try and force contact at that port. That does not work either. Can anyone suggest how to test this thing, coming in from the outside? If anyone out there knows this stuff, and in particular has experience with Serv-U, can you assist me in getting this working. John W. Colby www.ColbyConsulting.com Contribute your unused CPU cycles to a good cause: http://folding.stanford.edu/ -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From DWUTKA at marlow.com Wed Aug 3 11:02:51 2005 From: DWUTKA at marlow.com (DWUTKA at marlow.com) Date: Wed, 3 Aug 2005 11:02:51 -0500 Subject: [AccessD] Serv-U Message-ID: <123701F54509D9119A4F00D0B747349016DBC8@main2.marlow.com> Turn the logging on, on your router. I have a DI-624, and I know it has a decent logger. That will let you know what is coming back at it. Drew -----Original Message----- From: John W. Colby [mailto:jwcolby at colbyconsulting.com] Sent: Tuesday, August 02, 2005 7:45 PM To: 'Access Developers discussion and problem solving'; Tech - Database Advisors Inc. Subject: RE: [AccessD] Serv-U All of the machines in my network have Sygate personal firewall installed on them, but I have unloaded (closed) that on both the server and my laptop which I am using to test the FTP server. From my laptop, inside of my network, I can use IE to go to the server ftp address, see the ftp directories etc. I am asked for the username and password by the FTP server, and once I enter them I can see the directories. I can send files from my laptop to the directories for that username. I can move files into those directories directly on the server machine, and I can then see them using IE Explorer and FTPing into that machine (locally). As for "going out and back in, I use No-IP to discover my IP address assigned by the cable company. I then enter that at IE address bar: ftp://68.198.141.18 Doing that, IE "hangs for a long time", then comes back and says it can't find the address. One thing that I have discovered is that the WAN IP address is 192.168.102.100, and the "default gateway" is 192.168.102.1 for the WAN according to the router, whereas the interior IP group is 192.168.122.1XX - (100-199). The LAN IP address is 192.168.122.1 Why is the wan .102.100 and everything else 122.1xx? I have no clue what that means, just that is seems strange to me. The router is the DHCP server for the network (which is a workgroup) and the FTP Server is assigned .106 all of the time, with other machines also assigned specific addresses. I did this so that I could vnc / remote desktop in to my LAN from outside and count on getting to specific machines. I have had all of that working in the past, though I don't guarantee that it still does. It seems to me to be an issue with the router, port forwarding and so forth since I can do everything from inside the network. OTOH, I don't know that my request is even getting out to the internet, never mind back in. John W. Colby www.ColbyConsulting.com Contribute your unused CPU cycles to a good cause: http://folding.stanford.edu/ -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Eric Barro Sent: Tuesday, August 02, 2005 8:08 PM To: 'Access Developers discussion and problem solving' Subject: RE: [AccessD] Serv-U How are you trying to get back out and into your FTP server? Are you trying to get to it using a different machine? Check the firewall settings on the machine to see if it is accepting outside connections for the protocol that FTP is listening on. To check if a particular port is being used by a protocol go to the command prompt and type NETSTAT -a. -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of John W. Colby Sent: Tuesday, August 02, 2005 4:54 PM To: 'Access Developers discussion and problem solving'; Tech - Database Advisors Inc. Subject: [AccessD] Serv-U I am trying to get Serv-U FTP server going on my server here in my office. The install was simple and just worked. It works just fine inside of my network, using ftp://192.168.122.106 (the server IP address) but I cannot see it going out to the internet and coming back in. I have a dlink 624 (I think) router, in which I have forwarded ports 20 and 21 to 192.168.122.106. I just cannot see the server, from my laptop, going out and back in. One of my tech assists suggested that my ISP might be blocking port 20/21, so I set up the server to look for the ftp at 59999 and then used :59999 at the end to try and force contact at that port. That does not work either. Can anyone suggest how to test this thing, coming in from the outside? If anyone out there knows this stuff, and in particular has experience with Serv-U, can you assist me in getting this working. John W. Colby www.ColbyConsulting.com Contribute your unused CPU cycles to a good cause: http://folding.stanford.edu/ -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com ---------------------------------------------------------------- The information contained in this e-mail message and any file, document, previous e-mail message and/or attachment transmitted herewith is confidential and may be legally privileged. It is intended solely for the private use of the addressee and must not be disclosed to or used by anyone other than the addressee. If you receive this transmission by error, please immediately notify the sender by reply e-mail and destroy the original transmission and its attachments without reading or saving it in any manner. If you are not the intended recipient, or a person responsible for delivering it to the intended recipient, you are hereby notified that any disclosure, copying, distribution or use of any of the information contained in or attached to this transmission is STRICTLY PROHIBITED. E-mail transmission cannot be guaranteed to be secure or error free as information could be intercepted, corrupted, lost, destroyed, arrive late or incomplete, or contain viruses. The sender therefore does not accept liability for any errors or omissions in the contents of this message, which arise as a result of email transmission. Users and employees of the e-mail system are expressly required not to make defamatory statements and not to infringe or authorize any infringement of copyright or any other legal right by email communications. Any such communication is contrary to company policy. The company will not accept any liability in respect of such communication. -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd 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 Wed Aug 3 11:08:59 2005 From: andy at minstersystems.co.uk (Andy Lacey) Date: Wed, 3 Aug 2005 17:08:59 +0100 Subject: [AccessD] Memo field parsing Message-ID: <20050803160856.48ECC250758@smtp.nildram.co.uk> This may sound a naff solution but I reckon any clever one is going to be a lot of work. So this is a pragmatic workaround. Obviously getting the first 3 lines on the first page is easy. You just size your textbox to 3 lines height and make it not grow. Then I was thinking about the second part and thought....if you place a full height (or CanGrow) text control on page 2 it will show the first 3 lines again and then the rest. So if you can't stop it showing the first 3 lines can you blank them out? As long as you don't want the control on page 2 to be too close to the top of the sheet you just place another (empty) control, again of 3 lines height over the top of it (with background not transparent). Seems to work. -- Andy Lacey http://www.minstersystems.co.uk --------- Original Message -------- From: "Access Developers discussion and problem solving" To: "accessd at databaseadvisors.com" Subject: Re: [AccessD] Memo field parsing Date: 03/08/05 15:57 Hi Gregg You may find some hints about font metrics here at Stephen Lebans: http://www.lebans.com/textwidth-height.htm Prepare for some fun ... /gustav >>> greggs at msn.com 08/03 5:42 pm >>> Charlotte Physical space I think because I don't know how to get from one to the other. The number of characters is going to be dependant on the how many characters are lost to word wrapping isn't it? Is there a way to calculate the number of characters that will appear in the first three lines? If I knew that, I could do it. -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com ________________________________________________ Message sent using UebiMiau 2.7.2 From cfoust at infostatsystems.com Wed Aug 3 11:18:53 2005 From: cfoust at infostatsystems.com (Charlotte Foust) Date: Wed, 3 Aug 2005 09:18:53 -0700 Subject: [AccessD] Memo field parsing Message-ID: That sounds like as much work as developing a single routine to return the first three lines ... Which could also be used to REMOVE the first three lines for the next page. Charlotte Foust -----Original Message----- From: Andy Lacey [mailto:andy at minstersystems.co.uk] Sent: Wednesday, August 03, 2005 9:09 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Memo field parsing This may sound a naff solution but I reckon any clever one is going to be a lot of work. So this is a pragmatic workaround. Obviously getting the first 3 lines on the first page is easy. You just size your textbox to 3 lines height and make it not grow. Then I was thinking about the second part and thought....if you place a full height (or CanGrow) text control on page 2 it will show the first 3 lines again and then the rest. So if you can't stop it showing the first 3 lines can you blank them out? As long as you don't want the control on page 2 to be too close to the top of the sheet you just place another (empty) control, again of 3 lines height over the top of it (with background not transparent). Seems to work. -- Andy Lacey http://www.minstersystems.co.uk --------- Original Message -------- From: "Access Developers discussion and problem solving" To: "accessd at databaseadvisors.com" Subject: Re: [AccessD] Memo field parsing Date: 03/08/05 15:57 Hi Gregg You may find some hints about font metrics here at Stephen Lebans: http://www.lebans.com/textwidth-height.htm Prepare for some fun ... /gustav >>> greggs at msn.com 08/03 5:42 pm >>> Charlotte Physical space I think because I don't know how to get from one to the other. The number of characters is going to be dependant on the how many characters are lost to word wrapping isn't it? Is there a way to calculate the number of characters that will appear in the first three lines? If I knew that, I could do it. -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com ________________________________________________ Message sent using UebiMiau 2.7.2 -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From greggs at msn.com Wed Aug 3 11:41:04 2005 From: greggs at msn.com (Gregg) Date: Wed, 3 Aug 2005 11:41:04 -0500 Subject: [AccessD] Memo field parsing References: <20050803160856.48ECC250758@smtp.nildram.co.uk> Message-ID: That was exactly my first solution (naff or not). The problem is the text box is midway down the 2nd page following some other items and the customer never was very impressed with the blank space. Now they are running out of space on the second page and are limited to the 2 pages by their end user and need to use the blank space. ----- Original Message ----- From: Andy Lacey To: Access Developers discussion and problem solving Sent: Wednesday, August 03, 2005 11:08 AM Subject: Re: [AccessD] Memo field parsing This may sound a naff solution but I reckon any clever one is going to be a lot of work. So this is a pragmatic workaround. Obviously getting the first 3 lines on the first page is easy. You just size your textbox to 3 lines height and make it not grow. Then I was thinking about the second part and thought....if you place a full height (or CanGrow) text control on page 2 it will show the first 3 lines again and then the rest. So if you can't stop it showing the first 3 lines can you blank them out? As long as you don't want the control on page 2 to be too close to the top of the sheet you just place another (empty) control, again of 3 lines height over the top of it (with background not transparent). Seems to work. -- Andy Lacey http://www.minstersystems.co.uk --------- Original Message -------- From: "Access Developers discussion and problem solving" > To: "accessd at databaseadvisors.com" > Subject: Re: [AccessD] Memo field parsing Date: 03/08/05 15:57 Hi Gregg You may find some hints about font metrics here at Stephen Lebans: http://www.lebans.com/textwidth-height.htm Prepare for some fun ... /gustav >>> greggs at msn.com 08/03 5:42 pm >>> Charlotte Physical space I think because I don't know how to get from one to the other. The number of characters is going to be dependant on the how many characters are lost to word wrapping isn't it? Is there a way to calculate the number of characters that will appear in the first three lines? If I knew that, I could do it. -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com ________________________________________________ Message sent using UebiMiau 2.7.2 -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From jwcolby at colbyconsulting.com Wed Aug 3 12:17:34 2005 From: jwcolby at colbyconsulting.com (John W. Colby) Date: Wed, 03 Aug 2005 13:17:34 -0400 Subject: [AccessD] Serv-U In-Reply-To: <123701F54509D9119A4F00D0B747349016DBC8@main2.marlow.com> Message-ID: <005201c5984f$404291b0$6c7aa8c0@ColbyM6805> I have logging on already, but I am not seeing anything that looks like attempts to hit the FTP port (or the port I set up for port forwarding). John W. Colby www.ColbyConsulting.com Contribute your unused CPU cycles to a good cause: http://folding.stanford.edu/ -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of DWUTKA at marlow.com Sent: Wednesday, August 03, 2005 12:03 PM To: accessd at databaseadvisors.com Subject: RE: [AccessD] Serv-U Turn the logging on, on your router. I have a DI-624, and I know it has a decent logger. That will let you know what is coming back at it. Drew -----Original Message----- From: John W. Colby [mailto:jwcolby at colbyconsulting.com] Sent: Tuesday, August 02, 2005 7:45 PM To: 'Access Developers discussion and problem solving'; Tech - Database Advisors Inc. Subject: RE: [AccessD] Serv-U All of the machines in my network have Sygate personal firewall installed on them, but I have unloaded (closed) that on both the server and my laptop which I am using to test the FTP server. From my laptop, inside of my network, I can use IE to go to the server ftp address, see the ftp directories etc. I am asked for the username and password by the FTP server, and once I enter them I can see the directories. I can send files from my laptop to the directories for that username. I can move files into those directories directly on the server machine, and I can then see them using IE Explorer and FTPing into that machine (locally). As for "going out and back in, I use No-IP to discover my IP address assigned by the cable company. I then enter that at IE address bar: ftp://68.198.141.18 Doing that, IE "hangs for a long time", then comes back and says it can't find the address. One thing that I have discovered is that the WAN IP address is 192.168.102.100, and the "default gateway" is 192.168.102.1 for the WAN according to the router, whereas the interior IP group is 192.168.122.1XX - (100-199). The LAN IP address is 192.168.122.1 Why is the wan .102.100 and everything else 122.1xx? I have no clue what that means, just that is seems strange to me. The router is the DHCP server for the network (which is a workgroup) and the FTP Server is assigned .106 all of the time, with other machines also assigned specific addresses. I did this so that I could vnc / remote desktop in to my LAN from outside and count on getting to specific machines. I have had all of that working in the past, though I don't guarantee that it still does. It seems to me to be an issue with the router, port forwarding and so forth since I can do everything from inside the network. OTOH, I don't know that my request is even getting out to the internet, never mind back in. John W. Colby www.ColbyConsulting.com Contribute your unused CPU cycles to a good cause: http://folding.stanford.edu/ -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Eric Barro Sent: Tuesday, August 02, 2005 8:08 PM To: 'Access Developers discussion and problem solving' Subject: RE: [AccessD] Serv-U How are you trying to get back out and into your FTP server? Are you trying to get to it using a different machine? Check the firewall settings on the machine to see if it is accepting outside connections for the protocol that FTP is listening on. To check if a particular port is being used by a protocol go to the command prompt and type NETSTAT -a. -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of John W. Colby Sent: Tuesday, August 02, 2005 4:54 PM To: 'Access Developers discussion and problem solving'; Tech - Database Advisors Inc. Subject: [AccessD] Serv-U I am trying to get Serv-U FTP server going on my server here in my office. The install was simple and just worked. It works just fine inside of my network, using ftp://192.168.122.106 (the server IP address) but I cannot see it going out to the internet and coming back in. I have a dlink 624 (I think) router, in which I have forwarded ports 20 and 21 to 192.168.122.106. I just cannot see the server, from my laptop, going out and back in. One of my tech assists suggested that my ISP might be blocking port 20/21, so I set up the server to look for the ftp at 59999 and then used :59999 at the end to try and force contact at that port. That does not work either. Can anyone suggest how to test this thing, coming in from the outside? If anyone out there knows this stuff, and in particular has experience with Serv-U, can you assist me in getting this working. John W. Colby www.ColbyConsulting.com Contribute your unused CPU cycles to a good cause: http://folding.stanford.edu/ -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com ---------------------------------------------------------------- The information contained in this e-mail message and any file, document, previous e-mail message and/or attachment transmitted herewith is confidential and may be legally privileged. It is intended solely for the private use of the addressee and must not be disclosed to or used by anyone other than the addressee. If you receive this transmission by error, please immediately notify the sender by reply e-mail and destroy the original transmission and its attachments without reading or saving it in any manner. If you are not the intended recipient, or a person responsible for delivering it to the intended recipient, you are hereby notified that any disclosure, copying, distribution or use of any of the information contained in or attached to this transmission is STRICTLY PROHIBITED. E-mail transmission cannot be guaranteed to be secure or error free as information could be intercepted, corrupted, lost, destroyed, arrive late or incomplete, or contain viruses. The sender therefore does not accept liability for any errors or omissions in the contents of this message, which arise as a result of email transmission. Users and employees of the e-mail system are expressly required not to make defamatory statements and not to infringe or authorize any infringement of copyright or any other legal right by email communications. Any such communication is contrary to company policy. The company will not accept any liability in respect of such communication. -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd 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 Aug 3 12:27:07 2005 From: DWUTKA at marlow.com (DWUTKA at marlow.com) Date: Wed, 3 Aug 2005 12:27:07 -0500 Subject: [AccessD] Serv-U Message-ID: <123701F54509D9119A4F00D0B747349016DBD3@main2.marlow.com> Then if you are truly hitting it from the outside, it is getting blocked by your ISP. I'd call and ask why you can't come back into your own computer from the outside. Just tell them you want to get stuff from your home machine when you are at work... Drew -----Original Message----- From: John W. Colby [mailto:jwcolby at colbyconsulting.com] Sent: Wednesday, August 03, 2005 12:18 PM To: 'Access Developers discussion and problem solving' Subject: RE: [AccessD] Serv-U I have logging on already, but I am not seeing anything that looks like attempts to hit the FTP port (or the port I set up for port forwarding). John W. Colby www.ColbyConsulting.com Contribute your unused CPU cycles to a good cause: http://folding.stanford.edu/ -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of DWUTKA at marlow.com Sent: Wednesday, August 03, 2005 12:03 PM To: accessd at databaseadvisors.com Subject: RE: [AccessD] Serv-U Turn the logging on, on your router. I have a DI-624, and I know it has a decent logger. That will let you know what is coming back at it. Drew -----Original Message----- From: John W. Colby [mailto:jwcolby at colbyconsulting.com] Sent: Tuesday, August 02, 2005 7:45 PM To: 'Access Developers discussion and problem solving'; Tech - Database Advisors Inc. Subject: RE: [AccessD] Serv-U All of the machines in my network have Sygate personal firewall installed on them, but I have unloaded (closed) that on both the server and my laptop which I am using to test the FTP server. From my laptop, inside of my network, I can use IE to go to the server ftp address, see the ftp directories etc. I am asked for the username and password by the FTP server, and once I enter them I can see the directories. I can send files from my laptop to the directories for that username. I can move files into those directories directly on the server machine, and I can then see them using IE Explorer and FTPing into that machine (locally). As for "going out and back in, I use No-IP to discover my IP address assigned by the cable company. I then enter that at IE address bar: ftp://68.198.141.18 Doing that, IE "hangs for a long time", then comes back and says it can't find the address. One thing that I have discovered is that the WAN IP address is 192.168.102.100, and the "default gateway" is 192.168.102.1 for the WAN according to the router, whereas the interior IP group is 192.168.122.1XX - (100-199). The LAN IP address is 192.168.122.1 Why is the wan .102.100 and everything else 122.1xx? I have no clue what that means, just that is seems strange to me. The router is the DHCP server for the network (which is a workgroup) and the FTP Server is assigned .106 all of the time, with other machines also assigned specific addresses. I did this so that I could vnc / remote desktop in to my LAN from outside and count on getting to specific machines. I have had all of that working in the past, though I don't guarantee that it still does. It seems to me to be an issue with the router, port forwarding and so forth since I can do everything from inside the network. OTOH, I don't know that my request is even getting out to the internet, never mind back in. John W. Colby www.ColbyConsulting.com Contribute your unused CPU cycles to a good cause: http://folding.stanford.edu/ -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Eric Barro Sent: Tuesday, August 02, 2005 8:08 PM To: 'Access Developers discussion and problem solving' Subject: RE: [AccessD] Serv-U How are you trying to get back out and into your FTP server? Are you trying to get to it using a different machine? Check the firewall settings on the machine to see if it is accepting outside connections for the protocol that FTP is listening on. To check if a particular port is being used by a protocol go to the command prompt and type NETSTAT -a. -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of John W. Colby Sent: Tuesday, August 02, 2005 4:54 PM To: 'Access Developers discussion and problem solving'; Tech - Database Advisors Inc. Subject: [AccessD] Serv-U I am trying to get Serv-U FTP server going on my server here in my office. The install was simple and just worked. It works just fine inside of my network, using ftp://192.168.122.106 (the server IP address) but I cannot see it going out to the internet and coming back in. I have a dlink 624 (I think) router, in which I have forwarded ports 20 and 21 to 192.168.122.106. I just cannot see the server, from my laptop, going out and back in. One of my tech assists suggested that my ISP might be blocking port 20/21, so I set up the server to look for the ftp at 59999 and then used :59999 at the end to try and force contact at that port. That does not work either. Can anyone suggest how to test this thing, coming in from the outside? If anyone out there knows this stuff, and in particular has experience with Serv-U, can you assist me in getting this working. John W. Colby www.ColbyConsulting.com Contribute your unused CPU cycles to a good cause: http://folding.stanford.edu/ -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com ---------------------------------------------------------------- The information contained in this e-mail message and any file, document, previous e-mail message and/or attachment transmitted herewith is confidential and may be legally privileged. It is intended solely for the private use of the addressee and must not be disclosed to or used by anyone other than the addressee. If you receive this transmission by error, please immediately notify the sender by reply e-mail and destroy the original transmission and its attachments without reading or saving it in any manner. If you are not the intended recipient, or a person responsible for delivering it to the intended recipient, you are hereby notified that any disclosure, copying, distribution or use of any of the information contained in or attached to this transmission is STRICTLY PROHIBITED. E-mail transmission cannot be guaranteed to be secure or error free as information could be intercepted, corrupted, lost, destroyed, arrive late or incomplete, or contain viruses. The sender therefore does not accept liability for any errors or omissions in the contents of this message, which arise as a result of email transmission. Users and employees of the e-mail system are expressly required not to make defamatory statements and not to infringe or authorize any infringement of copyright or any other legal right by email communications. Any such communication is contrary to company policy. The company will not accept any liability in respect of such communication. -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From greggs at msn.com Wed Aug 3 13:34:29 2005 From: greggs at msn.com (Gregg) Date: Wed, 3 Aug 2005 13:34:29 -0500 Subject: [AccessD] Memo field parsing References: Message-ID: So, you're saying I need to loop through all the characters until I find the last whole word that will fit on the first line, the same for the second etc. until I determine what text will fit in the first page text field and use what's left for the 2nd page? ----- Original Message ----- From: Charlotte Foust To: Access Developers discussion and problem solving Sent: Wednesday, August 03, 2005 11:02 AM Subject: RE: [AccessD] Memo field parsing You can't do it by simply counting characters anyhow. You have to use the TextWidth property, which can be expressed as reportname.TextWidth(stringvariable) and compare that to the textwidth of the control ( reportname.TextWidth(controlobject) or to the maximum length you want to display. You'll also want to allow a padding factor to avoid overrunning the borders of the control and be sure and check for carriage returns because they confuse the issue. If you want to display 3 "lines", you'll have to break the memo field into the first three chunks that will fit into the textwidth of the textbox you're using to display the text on that page. Charlotte Foust -----Original Message----- From: Gregg [mailto:greggs at msn.com] Sent: Wednesday, August 03, 2005 8:43 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Memo field parsing Charlotte Physical space I think because I don't know how to get from one to the other. The number of characters is going to be dependant on the how many characters are lost to word wrapping isn't it? Is there a way to calculate the number of characters that will appear in the first three lines? If I knew that, I could do it. ----- Original Message ----- From: Charlotte Foust> To: Access Developers discussion and problem solving> Sent: Wednesday, August 03, 2005 10:28 AM Subject: RE: [AccessD] Memo field parsing Define "first three lines". Is that a particular number of characters or a physical space? Charlotte Foust -----Original Message----- From: Gregg [mailto:greggs at msn.com] Sent: Wednesday, August 03, 2005 7:32 AM To: Access Developers discussion and problem solving Subject: [AccessD] Memo field parsing I would like to parse a memo field in a A97 report such that the first three lines is on the first page and whatever is left is on the next. Any ideas? Gregg Steinbrenner -- AccessD mailing list AccessD at databaseadvisors.com> http://databaseadvisors.com/mailman/listinfo/accessd sors.com/mailman/listinfo/accessd> Website: http://www.databaseadvisors.com> -- AccessD mailing list AccessD at databaseadvisors.com> http://databaseadvisors.com/mailman/listinfo/accessd sors.com/mailman/listinfo/accessd> Website: http://www.databaseadvisors.com> -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd 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 Aug 3 14:05:39 2005 From: martyconnelly at shaw.ca (MartyConnelly) Date: Wed, 03 Aug 2005 12:05:39 -0700 Subject: [AccessD] Menu problems References: <000601c597fd$7a9a2690$0100000a@GALAXY.local> Message-ID: <42F11583.2020606@shaw.ca> Just a couple of guesses to try CTRL+F11 Toggles between the custom menu bar and the built-in menu bar There are ways to lose some bits that may require a reinstall of Access One being, not holding the ctrl key down when dragging items to create a customized bar This does a copy and not a move. A move can get lost. There is a reset button in Tools Customize Options but I have never had to use. You might try importing all objects to a band new mdb just in case mdb corruption is the cause. You can try toggling the various ToolBars through code Some are DoCmd.ShowToolbar "Database", acToolbarYes DoCmd.ShowToolbar "Menu Bar", acToolbarYes Function ShowMenu() On Error Resume Next DoCmd.ShowToolBar "Menu Bar", acToolbarYes End Function Function HideMenu() On Error Resume Next DoCmd.ShowToolBar "Menu Bar", acToolbarNo End Function Function ShowToolBar() On Error Resume Next DoCmd.ShowToolBar "Form View", acToolbarYes End Function Function HideToolBar() On Error Resume Next DoCmd.ShowToolBar "Form View", acToolbarNo End Function | Marcel Vreuls wrote: >Hi, > >I've got the strangest problem. I have a quit large frontend A2K MDB/MDE. I >cannot recall since when. I guess about 4 weeks not all menus are visible >anymore. For example i had a dropdown File menu a view menu and a settings >menu. The view menu is working fine but the other two show no options >anymore. Only a grey square like option with no menu options >anymore!?!?!??!?!? > >I have about 300 deployed clients through the country and they are all >working fine. So no worries now and It seems this problem only occurs on my >pc and laptop. But it develops and tests very bad. > >Thx Marcel > > > -- Marty Connelly Victoria, B.C. Canada From martyconnelly at shaw.ca Wed Aug 3 14:44:13 2005 From: martyconnelly at shaw.ca (MartyConnelly) Date: Wed, 03 Aug 2005 12:44:13 -0700 Subject: [AccessD] Menu problems References: <000601c597fd$7a9a2690$0100000a@GALAXY.local> Message-ID: <42F11E8D.8020101@shaw.ca> This may help too should apply to Access 2000 Restore original toolbar, button, and command settings Access 2003 http://office.microsoft.com/en-ca/assistance/HP051890321033.aspx or try Right-click on the menu bar, and select "Customize...". On the Customize dialog, select "Menu Bar", then click the "Reset ..." button. When prompted, confirm that you want to reset the tool bar. | Marcel Vreuls wrote: >Hi, > >I've got the strangest problem. I have a quit large frontend A2K MDB/MDE. I >cannot recall since when. I guess about 4 weeks not all menus are visible >anymore. For example i had a dropdown File menu a view menu and a settings >menu. The view menu is working fine but the other two show no options >anymore. Only a grey square like option with no menu options >anymore!?!?!??!?!? > >I have about 300 deployed clients through the country and they are all >working fine. So no worries now and It seems this problem only occurs on my >pc and laptop. But it develops and tests very bad. > >Thx Marcel > > > -- Marty Connelly Victoria, B.C. Canada From vrm at tim-cms.com Wed Aug 3 16:00:08 2005 From: vrm at tim-cms.com (| Marcel Vreuls) Date: Wed, 3 Aug 2005 23:00:08 +0200 Subject: [AccessD] Menu problems In-Reply-To: <42F11583.2020606@shaw.ca> Message-ID: <000e01c5986e$5502d280$0100000a@GALAXY.local> Marty, Thanks, pushing the resetbutton and remove usage data button for about 10 times. Start msaccess with the /decompile option my toolbars are back.....Strano Mavero like italians say or very strange in plain englisch. Tnxs a lot, Marcel -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of MartyConnelly Sent: woensdag 3 augustus 2005 21:06 To: Access Developers discussion and problem solving Subject: Re: [AccessD] Menu problems Just a couple of guesses to try CTRL+F11 Toggles between the custom menu bar and the built-in menu bar There are ways to lose some bits that may require a reinstall of Access One being, not holding the ctrl key down when dragging items to create a customized bar This does a copy and not a move. A move can get lost. There is a reset button in Tools Customize Options but I have never had to use. You might try importing all objects to a band new mdb just in case mdb corruption is the cause. You can try toggling the various ToolBars through code Some are DoCmd.ShowToolbar "Database", acToolbarYes DoCmd.ShowToolbar "Menu Bar", acToolbarYes Function ShowMenu() On Error Resume Next DoCmd.ShowToolBar "Menu Bar", acToolbarYes End Function Function HideMenu() On Error Resume Next DoCmd.ShowToolBar "Menu Bar", acToolbarNo End Function Function ShowToolBar() On Error Resume Next DoCmd.ShowToolBar "Form View", acToolbarYes End Function Function HideToolBar() On Error Resume Next DoCmd.ShowToolBar "Form View", acToolbarNo End Function | Marcel Vreuls wrote: >Hi, > >I've got the strangest problem. I have a quit large frontend A2K MDB/MDE. I >cannot recall since when. I guess about 4 weeks not all menus are visible >anymore. For example i had a dropdown File menu a view menu and a settings >menu. The view menu is working fine but the other two show no options >anymore. Only a grey square like option with no menu options >anymore!?!?!??!?!? > >I have about 300 deployed clients through the country and they are all >working fine. So no worries now and It seems this problem only occurs on my >pc and laptop. But it develops and tests very bad. > >Thx Marcel > > > -- Marty Connelly Victoria, B.C. Canada -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From kimjwiggins at yahoo.com Wed Aug 3 16:26:24 2005 From: kimjwiggins at yahoo.com (Kim Wiggins) Date: Wed, 3 Aug 2005 14:26:24 -0700 (PDT) Subject: [AccessD] Problems with word Automation In-Reply-To: <20050802225714.76759.qmail@web53604.mail.yahoo.com> Message-ID: <20050803212624.16392.qmail@web53605.mail.yahoo.com> When I try to remove the reference on my computer and try to run the application it errors out. Shouldn't it run on my system without a reference if I am using late binding like you said? Should I try to set the reference at runtime with a command that references the appropriate object on the system I am using? Does anyone know what the syntax is to set the reference at runtime? Does that mean I need to download msword8.olb and msword9.olb? If so, where do I get those from? Here is my code: Private Sub cmdLogEntry_Click() ' Declare the variable. Dim objWD As Word.Application Dim WordDoc As Word.Document Dim WordRange As Word.Range Dim strPath As String Dim strFile As String Dim strFile1 As String Dim strFile2 As String Dim strFile3 As String Dim strFile4 As String Dim strDate As String Dim strDate2 As Variant Dim strDate1 As String Dim strActions As String Dim strActions1 As String strDate2 = Null On Error GoTo SubErr ' Set the variable (runs new instance of Word.) Set objWD = CreateObject("Word.Application") 'make application visible objWD.Application.Visible = True 'Get Path of Current DB strPath = frmSplash.strPath 'Strip FileName to Get Path to Doc Do lngInStr = InStr(lngInStr + 1, strPath, "\") Loop While (InStr(lngInStr + 1, strPath, "\") <> 0) 'Get path up to the last ?\? strPath = Left(strPath, lngInStr) 'Append document name onto the end of the stripped path strFile = strPath & "AirframeTemplate.doc" strFile1 = strPath & "RtEngineTemplate.doc" strFile2 = strPath & "LtEngineTemplate.doc" strFile3 = strPath & "RtPropTemplate.doc" strFile4 = strPath & "LtPropTemplate.doc" 'open the word document Set doc = objWD.Documents.Open(strFile) Kim Wiggins wrote: Thanks so much Marty and Marcel for helping me to understand this better. This is my first attempt at automation. Unfortunately, I will not see this user until Saturday so I can't test it out until then but I will let you know next week if everything went well. Thanks MartyConnelly wrote:You are using late binding so you don't need any references set to Word, which maybe causing the problem It might be useful to have a reference if using intellisense or looking at object browser but you would remove the reference before deploying with late binding. With late binding it will grab the highest version of word on the system You might be using some esoteric part of word say using xml file routines that don't exist in Word 97, so you may want to check the version of word running to avoid problems with lower versions. On Error Resume Next ' grab word if already running Set objWord = GetObject(, "Word.Application") On Error GoTo 0 ' or if word not already running error Err.Number = 429 or set to nothing If objWord Is Nothing Then Set objWord = CreateObject("Word.Application") Debug.Print objWord.Version ' if Word 97 SP2 then Word Version= 8.0b ' Word 9 opens a separate window for each document. ' Prior to Word 9, all documents opened in the same window. End If Kim Wiggins wrote: >I am using >Set objWord = CreateObject("Word.Application") > >Do you think that could be the problem? >Kim > > >MartyConnelly wrote: >Are you using early or late binding. >Set objWord = CreateObject("Word.Application") >or >Set objWord = New Word.Application >Funny things may happen with early binding if newer versions of word >installed and then uninstalled. > >Kim Wiggins wrote: > > > >>Hey everyone >>Hope all is well. I am not. I coded an automation report in VB6 using Word and it works fine on my work laptop and my laptop at home. But when I install it on the users computer, it gives me the standard application error and shuts down. It says "My_app_name has encountered an error and must close" and then it offers to send a report. Well that is flooring me because it runs in the development environment on both machines just fine. >>Can anyone think of anything that I am missing or overlooking? >>Thanks >>Kim >> >> >>--------------------------------- >>Start your day with Yahoo! - make it your home page >> >> >> >> > > > -- Marty Connelly Victoria, B.C. Canada -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com __________________________________________________ Do You Yahoo!? Tired of spam? Yahoo! Mail has the best spam protection around http://mail.yahoo.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com __________________________________________________ Do You Yahoo!? Tired of spam? Yahoo! Mail has the best spam protection around http://mail.yahoo.com From cfoust at infostatsystems.com Wed Aug 3 17:33:09 2005 From: cfoust at infostatsystems.com (Charlotte Foust) Date: Wed, 3 Aug 2005 15:33:09 -0700 Subject: [AccessD] Memo field parsing Message-ID: No, get the textwidth of the control and see if the textwidth of the text is greater than that. Handle the situation where it is not and everything fits in the first control. Otherwise get the text that fits within the control textwidth and use instrRev to find the last space in that substring. Break it there. At that point, you also know the index of the starting point for the rest of the string, so all you need to do for the next page is use the Mid(text, index) to put the rest of it into the second page. Charlotte Foust -----Original Message----- From: Gregg [mailto:greggs at msn.com] Sent: Wednesday, August 03, 2005 11:34 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Memo field parsing So, you're saying I need to loop through all the characters until I find the last whole word that will fit on the first line, the same for the second etc. until I determine what text will fit in the first page text field and use what's left for the 2nd page? ----- Original Message ----- From: Charlotte Foust To: Access Developers discussion and problem solving Sent: Wednesday, August 03, 2005 11:02 AM Subject: RE: [AccessD] Memo field parsing You can't do it by simply counting characters anyhow. You have to use the TextWidth property, which can be expressed as reportname.TextWidth(stringvariable) and compare that to the textwidth of the control ( reportname.TextWidth(controlobject) or to the maximum length you want to display. You'll also want to allow a padding factor to avoid overrunning the borders of the control and be sure and check for carriage returns because they confuse the issue. If you want to display 3 "lines", you'll have to break the memo field into the first three chunks that will fit into the textwidth of the textbox you're using to display the text on that page. Charlotte Foust -----Original Message----- From: Gregg [mailto:greggs at msn.com] Sent: Wednesday, August 03, 2005 8:43 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Memo field parsing Charlotte Physical space I think because I don't know how to get from one to the other. The number of characters is going to be dependant on the how many characters are lost to word wrapping isn't it? Is there a way to calculate the number of characters that will appear in the first three lines? If I knew that, I could do it. ----- Original Message ----- From: Charlotte Foust> To: Access Developers discussion and problem solving> Sent: Wednesday, August 03, 2005 10:28 AM Subject: RE: [AccessD] Memo field parsing Define "first three lines". Is that a particular number of characters or a physical space? Charlotte Foust -----Original Message----- From: Gregg [mailto:greggs at msn.com] Sent: Wednesday, August 03, 2005 7:32 AM To: Access Developers discussion and problem solving Subject: [AccessD] Memo field parsing I would like to parse a memo field in a A97 report such that the first three lines is on the first page and whatever is left is on the next. Any ideas? Gregg Steinbrenner -- AccessD mailing list AccessD at databaseadvisors.com> http://databaseadvisors.com/mailman/listinfo/accessd sors.com/mailman/listinfo/accessd> Website: http://www.databaseadvisors.com> -- AccessD mailing list AccessD at databaseadvisors.com> http://databaseadvisors.com/mailman/listinfo/accessd sors.com/mailman/listinfo/accessd> Website: http://www.databaseadvisors.com> -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From greggs at msn.com Wed Aug 3 17:49:20 2005 From: greggs at msn.com (Gregg) Date: Wed, 3 Aug 2005 17:49:20 -0500 Subject: [AccessD] Memo field parsing References: Message-ID: Thanks Charlotte! I give it a try. ----- Original Message ----- From: Charlotte Foust To: Access Developers discussion and problem solving Sent: Wednesday, August 03, 2005 5:33 PM Subject: RE: [AccessD] Memo field parsing No, get the textwidth of the control and see if the textwidth of the text is greater than that. Handle the situation where it is not and everything fits in the first control. Otherwise get the text that fits within the control textwidth and use instrRev to find the last space in that substring. Break it there. At that point, you also know the index of the starting point for the rest of the string, so all you need to do for the next page is use the Mid(text, index) to put the rest of it into the second page. Charlotte Foust -----Original Message----- From: Gregg [mailto:greggs at msn.com] Sent: Wednesday, August 03, 2005 11:34 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Memo field parsing So, you're saying I need to loop through all the characters until I find the last whole word that will fit on the first line, the same for the second etc. until I determine what text will fit in the first page text field and use what's left for the 2nd page? ----- Original Message ----- From: Charlotte Foust> To: Access Developers discussion and problem solving> Sent: Wednesday, August 03, 2005 11:02 AM Subject: RE: [AccessD] Memo field parsing You can't do it by simply counting characters anyhow. You have to use the TextWidth property, which can be expressed as reportname.TextWidth(stringvariable) and compare that to the textwidth of the control ( reportname.TextWidth(controlobject) or to the maximum length you want to display. You'll also want to allow a padding factor to avoid overrunning the borders of the control and be sure and check for carriage returns because they confuse the issue. If you want to display 3 "lines", you'll have to break the memo field into the first three chunks that will fit into the textwidth of the textbox you're using to display the text on that page. Charlotte Foust -----Original Message----- From: Gregg [mailto:greggs at msn.com] Sent: Wednesday, August 03, 2005 8:43 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Memo field parsing Charlotte Physical space I think because I don't know how to get from one to the other. The number of characters is going to be dependant on the how many characters are lost to word wrapping isn't it? Is there a way to calculate the number of characters that will appear in the first three lines? If I knew that, I could do it. ----- Original Message ----- From: Charlotte Foust m>> To: Access Developers discussion and problem solving ors.com>> Sent: Wednesday, August 03, 2005 10:28 AM Subject: RE: [AccessD] Memo field parsing Define "first three lines". Is that a particular number of characters or a physical space? Charlotte Foust -----Original Message----- From: Gregg [mailto:greggs at msn.com] Sent: Wednesday, August 03, 2005 7:32 AM To: Access Developers discussion and problem solving Subject: [AccessD] Memo field parsing I would like to parse a memo field in a A97 report such that the first three lines is on the first page and whatever is left is on the next. Any ideas? Gregg Steinbrenner -- AccessD mailing list AccessD at databaseadvisors.com: AccessD at databaseadvisors.com>> http://databaseadvisors.com/mailman/listinfo/accessd i> sors.com/mailman/listinfo/accessd> Website: http://www.databaseadvisors.com www.databaseadvisors.com>> -- AccessD mailing list AccessD at databaseadvisors.com: AccessD at databaseadvisors.com>> http://databaseadvisors.com/mailman/listinfo/accessd i> sors.com/mailman/listinfo/accessd> Website: http://www.databaseadvisors.com www.databaseadvisors.com>> -- AccessD mailing list AccessD at databaseadvisors.com> http://databaseadvisors.com/mailman/listinfo/accessd sors.com/mailman/listinfo/accessd> Website: http://www.databaseadvisors.com> -- AccessD mailing list AccessD at databaseadvisors.com> http://databaseadvisors.com/mailman/listinfo/accessd sors.com/mailman/listinfo/accessd> Website: http://www.databaseadvisors.com> -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd 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 Aug 3 18:49:56 2005 From: martyconnelly at shaw.ca (MartyConnelly) Date: Wed, 03 Aug 2005 16:49:56 -0700 Subject: [AccessD] Problems with word Automation References: <20050803212624.16392.qmail@web53605.mail.yahoo.com> Message-ID: <42F15824.60104@shaw.ca> 'For early binding with a reference to Word ' Dim objWD As Word.Application ' Dim WordDoc As Word.Document ' Dim WordRange As Word.Range 'For Late binding without a reference to Word use generic Object Dim objWD As Object Dim WordDoc As Object Dim WordRange As Object ' In certain cases using nodes, you may have to use a variant rather than Object There is a way to handle all this with conditional compile statements but it is sometimes easier to just add and switch comment out statements as needed. Kim Wiggins wrote: >When I try to remove the reference on my computer and try to run the application it errors out. Shouldn't it run on my system without a reference if I am using late binding like you said? Should I try to set the reference at runtime with a command that references the appropriate object on the system I am using? Does anyone know what the syntax is to set the reference at runtime? Does that mean I need to download msword8.olb and msword9.olb? If so, where do I get those from? Here is my code: > >Private Sub cmdLogEntry_Click() > ' Declare the variable. > Dim objWD As Word.Application > Dim WordDoc As Word.Document > Dim WordRange As Word.Range > Dim strPath As String > Dim strFile As String > Dim strFile1 As String > Dim strFile2 As String > Dim strFile3 As String > Dim strFile4 As String > Dim strDate As String > Dim strDate2 As Variant > Dim strDate1 As String > Dim strActions As String > Dim strActions1 As String > strDate2 = Null > > On Error GoTo SubErr > ' Set the variable (runs new instance of Word.) > Set objWD = CreateObject("Word.Application") > > 'make application visible > objWD.Application.Visible = True > > 'Get Path of Current DB > strPath = frmSplash.strPath > > 'Strip FileName to Get Path to Doc > Do > lngInStr = InStr(lngInStr + 1, strPath, "\") > Loop While (InStr(lngInStr + 1, strPath, "\") <> 0) > > 'Get path up to the last \ > strPath = Left(strPath, lngInStr) > > 'Append document name onto the end of the stripped path > strFile = strPath & "AirframeTemplate.doc" > strFile1 = strPath & "RtEngineTemplate.doc" > strFile2 = strPath & "LtEngineTemplate.doc" > strFile3 = strPath & "RtPropTemplate.doc" > strFile4 = strPath & "LtPropTemplate.doc" > > 'open the word document > Set doc = objWD.Documents.Open(strFile) > > >Kim Wiggins wrote: >Thanks so much Marty and Marcel for helping me to understand this better. This is my first attempt at automation. Unfortunately, I will not see this user until Saturday so I can't test it out until then but I will let you know next week if everything went well. Thanks > >MartyConnelly wrote:You are using late binding so you don't need any references set to Word, >which maybe causing the problem >It might be useful to have a reference if using intellisense or looking >at object browser >but you would remove the reference before deploying with late binding. >With late binding it will grab the highest version of word on the system >You might be using some esoteric part of word say using xml file >routines that don't exist >in Word 97, so you may want to check the version of word running to >avoid problems >with lower versions. > >On Error Resume Next >' grab word if already running >Set objWord = GetObject(, "Word.Application") >On Error GoTo 0 >' or if word not already running error Err.Number = 429 or >set to nothing >If objWord Is Nothing Then > >Set objWord = CreateObject("Word.Application") >Debug.Print objWord.Version > >' if Word 97 SP2 then Word Version= 8.0b >' Word 9 opens a separate window for each document. >' Prior to Word 9, all documents opened in the same window. >End If > > >Kim Wiggins wrote: > > > >>I am using >>Set objWord = CreateObject("Word.Application") >> >>Do you think that could be the problem? >>Kim >> >> >>MartyConnelly wrote: >>Are you using early or late binding. >>Set objWord = CreateObject("Word.Application") >>or >>Set objWord = New Word.Application >>Funny things may happen with early binding if newer versions of word >>installed and then uninstalled. >> >>Kim Wiggins wrote: >> >> >> >> >> >>>Hey everyone >>>Hope all is well. I am not. I coded an automation report in VB6 using Word and it works fine on my work laptop and my laptop at home. But when I install it on the users computer, it gives me the standard application error and shuts down. It says "My_app_name has encountered an error and must close" and then it offers to send a report. Well that is flooring me because it runs in the development environment on both machines just fine. >>>Can anyone think of anything that I am missing or overlooking? >>>Thanks >>>Kim >>> >>> >>>--------------------------------- >>>Start your day with Yahoo! - make it your home page >>> >>> >>> >>> >>> >>> >> >> >> > > > -- Marty Connelly Victoria, B.C. Canada From pcantoni at erggroup.com Wed Aug 3 20:58:07 2005 From: pcantoni at erggroup.com (Paolo Cantoni) Date: Thu, 4 Aug 2005 09:58:07 +0800 Subject: [AccessD] A2K & Oracle10g via ODBC - wrong Primary Key Message-ID: Hi, I've found a _gotcha_ in using Access 2000 to connect to an Oracle 10g database. I haven't tested this beyond this combination. It turns out, that if you have more than one unique key defined for an Oracle table (at the time you link with ODBC), Access will get confused about which is the primary key. Accordingly, it will mark ALL the rows and columns as #Deleted. It can be worked around by splitting the table definition and loading process in two... First declare the table with only a primary key, link to it with Access, then add the rest of the table definitions (other unique constraints, foreign keys etc...) Seems to work "without loss of generality" UNTIL you re-link! Anyone else observed this or got a fix (as opposed to a workaround). Thanx, Paolo Cantoni, Data Architect ERG Group 247 Balcatta Road Balcatta WA 6021 Australia Tel: + 61 8 9273 1287 Fax: +61 8 9273 1535 Email: pcantoni at erggroup.com Website: www.erggroup.com There is no such thing as an inconsistently correct system... ...Therefore, aim for consistency; in the expectation of achieving correctness! From pcantoni at erggroup.com Wed Aug 3 21:16:45 2005 From: pcantoni at erggroup.com (Paolo Cantoni) Date: Thu, 4 Aug 2005 10:16:45 +0800 Subject: [AccessD] Cutting down on post clutter... Message-ID: Hi, I get the digest and it's very hard sometimes to read through 5 pages of repeated responses to find the 5 lines of new input... Can I please ask that posters keep only the relevant bits of previous posts? It takes only a few extra seconds and indicates a degree of etiquette - not to mention saving trees and electrons... Thanx, Paolo Cantoni, Data Architect ERG Group 247 Balcatta Road Balcatta WA 6021 Australia Tel: + 61 8 9273 1287 Fax: +61 8 9273 1535 Email: pcantoni at erggroup.com Website: www.erggroup.com There is no such thing as an inconsistently correct system... ...Therefore, aim for consistency; in the expectation of achieving correctness! From martyconnelly at shaw.ca Wed Aug 3 21:46:16 2005 From: martyconnelly at shaw.ca (MartyConnelly) Date: Wed, 03 Aug 2005 19:46:16 -0700 Subject: [AccessD] Problems with word Automation References: <20050803212624.16392.qmail@web53605.mail.yahoo.com> Message-ID: <42F18178.6070009@shaw.ca> Not to worry you will eventualy "grok this" and/or "the penny will drop". If you want to early bind, you should use the oldest MsWord olb file available to your clients and to you. as Access will upgrade the reference to the latest version available, Now this is the way it is supposed to work But if you have installed Office 2003 trial version of Word on a system that has also got Office 97 The trial expires and you remove Office 2003 Word and install Access 2003 then try and early bind to Word 97 it will complain about unregistered MSWORD8.OLB At this point you give up and use late binding also giving up some speed. I just realized something, that I hadn't understood before. In VBA the way you specify how the object is bound is by your object declaration. If you declare an object variable as "Object" you are, in fact, telling Visual Basic to use IDispatch, and are therefore late binding: So either Call method works with early binding when you set a declared object variable such as Word Dim objWD As Word.Application Set objWD = CreateObject("Word.Application") or Set objWD = New Word.Application Also Here is how to do a conditional compile to select early and late binding by just switching a constant. Option Explicit #Const LateBindWord = False 'look up condition compile in help #IF...THEN ... #Else Directive 'INFO: Using Early Binding and Late Binding in Automation 'http://support.microsoft.com/default.aspx/kb/245115 'http://support.microsoft.com/default.aspx?kbid=242375 'PRB: Office 97 Automation Client Fails After Re-compilation with Office 2000 'or Later Type Library 'http://support.microsoft.com/default.aspx?kbid=242375 'INFO: Use DISPID Binding to Automate Office Applications Whenever Possible 'http://support.microsoft.com/kb/247579 'INFO: Writing Automation Clients for Multiple Office Versions 'http://support.microsoft.com/kb/244167 Public Sub cmdLogEntry_Click() ' Declare the variable. #If LateBindWord Then 'For Late binding without a reference to Word olb use generic Object Dim objWD As Object Dim WordDoc As Object Dim WordRange As Object #Else 'For early binding with a reference to Word Dim objWD As Word.Application Dim WordDoc As Word.Document Dim WordRange As Word.Range #End If Dim strPath As String Dim strFile As String Dim strFile1 As String Dim strFile2 As String Dim strFile3 As String Dim strFile4 As String Dim strDate As String Dim strDate2 As Variant Dim strDate1 As String Dim strActions As String Dim strActions1 As String strDate2 = Null 'On Error GoTo SubErr ' Set the variable (runs new instance of Word.) #If LateBindWord Then Set objWD = CreateObject("Word.Application") #Else 'Again, in Visual Basic the way you specify how the object is bound is by your object declaration. ' If you declare an object variable as "Object" ' you are, in fact, telling Visual Basic to use IDispatch, and are therefore late binding: ' So either Call method works and this doesn't matter Set objWD = CreateObject("Word.Application") 'Set objWD = New Word.Application #End If 'make application visible objWD.Application.Visible = True 'Get Path of Current DB strFile = "C:\Access files\SharePoint\Using Microsoft Windows SharePoint Services with the Microsoft Office System.doc" 'open the word document Set WordDoc = objWD.Documents.Open(strFile) 'blah blah blah End Sub Kim Wiggins wrote: >When I try to remove the reference on my computer and try to run the application it errors out. Shouldn't it run on my system without a reference if I am using late binding like you said? Should I try to set the reference at runtime with a command that references the appropriate object on the system I am using? Does anyone know what the syntax is to set the reference at runtime? Does that mean I need to download msword8.olb and msword9.olb? If so, where do I get those from? Here is my code: > >Private Sub cmdLogEntry_Click() > ' Declare the variable. > Dim objWD As Word.Application > Dim WordDoc As Word.Document > Dim WordRange As Word.Range > Dim strPath As String > Dim strFile As String > Dim strFile1 As String > Dim strFile2 As String > Dim strFile3 As String > Dim strFile4 As String > Dim strDate As String > Dim strDate2 As Variant > Dim strDate1 As String > Dim strActions As String > Dim strActions1 As String > strDate2 = Null > > On Error GoTo SubErr > ' Set the variable (runs new instance of Word.) > Set objWD = CreateObject("Word.Application") > > 'make application visible > objWD.Application.Visible = True > > 'Get Path of Current DB > strPath = frmSplash.strPath > > 'Strip FileName to Get Path to Doc > Do > lngInStr = InStr(lngInStr + 1, strPath, "\") > Loop While (InStr(lngInStr + 1, strPath, "\") <> 0) > > 'Get path up to the last \ > strPath = Left(strPath, lngInStr) > > 'Append document name onto the end of the stripped path > strFile = strPath & "AirframeTemplate.doc" > strFile1 = strPath & "RtEngineTemplate.doc" > strFile2 = strPath & "LtEngineTemplate.doc" > strFile3 = strPath & "RtPropTemplate.doc" > strFile4 = strPath & "LtPropTemplate.doc" > > 'open the word document > Set doc = objWD.Documents.Open(strFile) > > >Kim Wiggins wrote: >Thanks so much Marty and Marcel for helping me to understand this better. This is my first attempt at automation. Unfortunately, I will not see this user until Saturday so I can't test it out until then but I will let you know next week if everything went well. Thanks > >MartyConnelly wrote:You are using late binding so you don't need any references set to Word, >which maybe causing the problem >It might be useful to have a reference if using intellisense or looking >at object browser >but you would remove the reference before deploying with late binding. >With late binding it will grab the highest version of word on the system >You might be using some esoteric part of word say using xml file >routines that don't exist >in Word 97, so you may want to check the version of word running to >avoid problems >with lower versions. > >On Error Resume Next >' grab word if already running >Set objWord = GetObject(, "Word.Application") >On Error GoTo 0 >' or if word not already running error Err.Number = 429 or >set to nothing >If objWord Is Nothing Then > >Set objWord = CreateObject("Word.Application") >Debug.Print objWord.Version > >' if Word 97 SP2 then Word Version= 8.0b >' Word 9 opens a separate window for each document. >' Prior to Word 9, all documents opened in the same window. >End If > > >Kim Wiggins wrote: > > > >>I am using >>Set objWord = CreateObject("Word.Application") >> >>Do you think that could be the problem? >>Kim >> >> >>MartyConnelly wrote: >>Are you using early or late binding. >>Set objWord = CreateObject("Word.Application") >>or >>Set objWord = New Word.Application >>Funny things may happen with early binding if newer versions of word >>installed and then uninstalled. >> >>Kim Wiggins wrote: >> >> >> >> >> >>>Hey everyone >>>Hope all is well. I am not. I coded an automation report in VB6 using Word and it works fine on my work laptop and my laptop at home. But when I install it on the users computer, it gives me the standard application error and shuts down. It says "My_app_name has encountered an error and must close" and then it offers to send a report. Well that is flooring me because it runs in the development environment on both machines just fine. >>>Can anyone think of anything that I am missing or overlooking? >>>Thanks >>>Kim >>> >>> >>>--------------------------------- >>>Start your day with Yahoo! - make it your home page >>> >>> >>> >>> >>> >>> >> >> >> > > > -- Marty Connelly Victoria, B.C. Canada From jwcolby at colbyconsulting.com Thu Aug 4 09:58:36 2005 From: jwcolby at colbyconsulting.com (John W. Colby) Date: Thu, 04 Aug 2005 10:58:36 -0400 Subject: [AccessD] Withevents article Message-ID: <008801c59905$00a18a00$6c7aa8c0@ColbyM6805> I just rediscovered this: http://vbadvisor.com/doc/13276 Which is a chapter on Withevents / RaiseEvent I wrote for Beginning Access 2002 VBA by Wrox Press. Anyone looking for an intro to Withevents / Raisevents might want to look at it. John W. Colby www.ColbyConsulting.com Contribute your unused CPU cycles to a good cause: http://folding.stanford.edu/ From cyx5 at cdc.gov Thu Aug 4 10:20:40 2005 From: cyx5 at cdc.gov (Nicholson, Karen) Date: Thu, 4 Aug 2005 11:20:40 -0400 Subject: [AccessD] Access 2003 Reports Not Working Message-ID: I have a new user, installed with Access 2003, running my XP database. All is well, the references are fine, there are no code compilation issues. However, she can not open up a report. If I go to the database container and click on any report for a report preview, it acts like I do not exist. It does nothing. What's up with this? I am googling to no avail. Thanks. From Gustav at cactus.dk Thu Aug 4 10:46:32 2005 From: Gustav at cactus.dk (Gustav Brock) Date: Thu, 04 Aug 2005 17:46:32 +0200 Subject: [AccessD] Access 2003 Reports Not Working Message-ID: Hi 65 1. Have you tried to install a(nother) printer? 2. Open the report in design view, reassign the printer and save. /gustav >>> cyx5 at cdc.gov 08/04 5:20 pm >>> I have a new user, installed with Access 2003, running my XP database. All is well, the references are fine, there are no code compilation issues. However, she can not open up a report. If I go to the database container and click on any report for a report preview, it acts like I do not exist. It does nothing. What's up with this? I am googling to no avail. Thanks. From jwcolby at colbyconsulting.com Thu Aug 4 11:01:04 2005 From: jwcolby at colbyconsulting.com (John W. Colby) Date: Thu, 04 Aug 2005 12:01:04 -0400 Subject: [AccessD] Event sink order Message-ID: <008901c5990d$b782e2c0$6c7aa8c0@ColbyM6805> When a control's events are sunk in more than one class, the order that events are sunk (which class gets control first) is determined by the order that the classes are initialized. In other words, if Class1 and Class2 sink events for ComboZ, the class that is initialized LAST gets control FIRST - IN A2K AND LATER!!!. In A97 the situation is reversed. In order to test this, I created two classes, Class1 and Class2: '************************************************** Option Compare Database Option Explicit Const cstrClassName As String = "Class1" Dim WithEvents mcbo As ComboBox Const cstrEvProc As String = "[Event Procedure]" Function Init(cbo As ComboBox) Set mcbo = cbo mcbo.AfterUpdate = cstrEvProc End Function Private Sub mcbo_AfterUpdate() debug.print cstrClassName End Sub '************************************************** Option Compare Database Option Explicit Const cstrClassName As String = "Class2" Dim WithEvents mcbo As ComboBox Const cstrEvProc As String = "[Event Procedure]" Function Init(cbo As ComboBox) Set mcbo = cbo mcbo.AfterUpdate = cstrEvProc End Function Private Sub mcbo_AfterUpdate() debug.print cstrClassName End Sub '************************************************** Notice the only difference between the classes is the string constant that "names" the class. I then created a form that uses these two classes: '************************************************** Option Compare Database Option Explicit Dim fcls1 As Class1 Dim fcls2 As Class2 Private Sub Form_Open(Cancel As Integer) Set fcls1 = New Class1 Set fcls2 = New Class2 fcls2.Init Combo0 fcls1.Init Combo0 End Sub Private Sub Combo0_AfterUpdate() debug.print "Form event sink" End Sub '************************************************** The form has a single combo box with a simple list of things to select. In order to test whether it is the SET statement or the actual initialization of the class, I SET the classes in order, but INITed the classes in reverse order. Opening the form and selecting an item in the combo caused: Form event sink Class2 Class1 To be printed in the debug window. This is in Access2K. Likewise in XP. In A97 the OPPOSITE was true, i.e. the class initialized FIRST gets control first. I finally ran into a case where the order does matter. In a client's application, they use a set of 5 check boxes to denote different attributes of a claim. There are dependencies between the checkboxes, dictated by a set of rules. Private WithEvents mchkWorkComp As CheckBox Private WithEvents mchkAutoRelated As CheckBox Private WithEvents mchkAccident As CheckBox Private WithEvents mchkIllness As CheckBox Private WithEvents mchkMaternity As CheckBox The rules go something like: A Automobile claim IS an Accident, but NOT an illness. An Illness is NOT an Accident or auto related A maternity claim is not an accident and vice versa etc. etc. I built a class using withevents that sink the click event for these check boxes, then use the following to "get it right" Private Sub mchkWorkComp_Click() mchkMaternity.Value = False RaiseEvent Finished End Sub Private Sub mchkAutoRelated_Click() mchkAccident.Value = True mchkIllness.Value = False mchkMaternity.Value = False RaiseEvent Finished End Sub Private Sub mchkAccident_Click() mchkIllness.Value = False mchkMaternity.Value = False RaiseEvent Finished End Sub Private Sub mchkIllness_Click() mchkAccident.Value = False mchkAutoRelated.Value = False RaiseEvent Finished End Sub Private Sub mchkMaternity_Click() mchkAccident.Value = False mchkIllness.Value = True mchkAutoRelated.Value = False mchkWorkComp.Value = False RaiseEvent Finished End Sub The problem now is that the Benefit effective date of the policy depends on just TWO of these check boxes, chkAccident and chkIllness. I have an entire class that performs the calculations required to calc the Benefit effective date, and that class has to sink these two check boxes (accident / illness). Thus I need the main class that manipulates ALL of the check boxes to gain control first, get the various check boxes in the desired states, then my class that calculates the dates needs to get control after the "check box states" have been determined. Given that requirement, and what we now know about sink order, I need to make sure that the main check box class is initialized LAST, so that it gets control FIRST. The order that events are sunk between classes can make a difference in how you application operates. If you get it wrong, you may have unintended consequences that are difficult to track down. John W. Colby www.ColbyConsulting.com Contribute your unused CPU cycles to a good cause: http://folding.stanford.edu/ From bheid at appdevgrp.com Thu Aug 4 12:23:33 2005 From: bheid at appdevgrp.com (Bobby Heid) Date: Thu, 4 Aug 2005 13:23:33 -0400 Subject: [AccessD] Withevents article In-Reply-To: <916187228923D311A6FE00A0CC3FAA30C4CD82@ADGSERVER> Message-ID: <916187228923D311A6FE00A0CC3FAA30ABEDF1@ADGSERVER> Thanks John. I'll check it out. Bobby -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of John W. Colby Sent: Thursday, August 04, 2005 10:59 AM To: 'Access Developers discussion and problem solving' Subject: [AccessD] Withevents article I just rediscovered this: http://vbadvisor.com/doc/13276 Which is a chapter on Withevents / RaiseEvent I wrote for Beginning Access 2002 VBA by Wrox Press. Anyone looking for an intro to Withevents / Raisevents might want to look at it. John W. Colby www.ColbyConsulting.com From Chester_Kaup at kindermorgan.com Thu Aug 4 14:15:40 2005 From: Chester_Kaup at kindermorgan.com (Kaup, Chester) Date: Thu, 4 Aug 2005 14:15:40 -0500 Subject: [AccessD] Table locked Message-ID: I have a database on my local C drive. When it opens it runs an autoexec macro to run a query to make a table. I get a message that the table can not be opened exclusively. How can this be and how do I determine what has the table open? I have tried compacting and repairing and opening the database exclusively with no success. Thanks. Chester Kaup Engineering Technician Kinder Morgan CO2 Company, LLP Office (432) 688-3797 No trees were killed in the sending of this message. However a large number of electrons were terribly inconvenienced. FAX (432) 688-3799 From Susan.Klos at fldoe.org Thu Aug 4 14:28:44 2005 From: Susan.Klos at fldoe.org (Klos, Susan) Date: Thu, 4 Aug 2005 15:28:44 -0400 Subject: [AccessD] "Find" combo box searches more than one table Message-ID: Is it possible to construct a "find" combo box that will search through more than one table in the database? Susan Klos Senior Database Analyst Evaluation and Reporting Florida Department of Education 850-245-0708 sc 205-0708 From rbgajewski at adelphia.net Thu Aug 4 14:40:05 2005 From: rbgajewski at adelphia.net (Bob Gajewski) Date: Thu, 4 Aug 2005 15:40:05 -0400 Subject: [AccessD] A2K Unbound field on report error In-Reply-To: <013801c56bf1$23408b10$0100a8c0@RazvojErvin> Message-ID: <20050804194009.HCLV24042.mta11.adelphia.net@DG1P2N21> Dear List We have a report that prints one membership card at a time. I am probably missing the most obvious thing here, but I just can't get this report to print. I keep receiving: ----------------------------------------------------- Run-time error; '2465' Microsoft Access can't find the field 'Firefighter' referred to in your expression. ----------------------------------------------------- Any assistance or guidance would be most appreciated. Thanks, Bob Gajewski, Assistant Chief (and db Administrator) Wales Center Volunteer Fire Company Details: rptMembershipCard Source: qryMembershipCard Fields: MemberNumber (bound to query field 'MemberNumber') txtFullName (bound to query field 'txtFullName') txtClass (unbound) // other fields have been not included here as they are not related to the problem qryMembershipCard Source: tblMembers Selected Fields: MemberNumber // using prompt to select one record txtFullName = [FirstName] & IIf(IsNull([MiddleInitial]),""," " & [MiddleInitial] & ",") & " " & [LastName] booFirefighter booEMSProvider booFirePolice // other fields have been not included here as they are not related to the problem The CBF is: ***************** CODE BEGIN ************************ Private Sub Detail_Format(Cancel As Integer, FormatCount As Integer) Dim booFirstClass As Boolean booFirstClass = True txtClass = "" If [Firefighter] = True Then If booFirstClass = True Then txtClass = "Firefighter" booFirstClass = False Else txtClass = " " & "Firefighter" End If End If If [EMSProvider] = True Then If booFirstClass = True Then txtClass = "EMS Provider" booFirstClass = False Else txtClass = "," & "EMS Provider" End If End If If [FirePolice] = True Then If booFirstClass = True Then txtClass = "Fire Police" booFirstClass = False Else txtClass = "," & "Fire Police" End If End If If IsNull([txtClass]) Or [txtClass] = "" Then lblClass.Visible = False End If End Sub ****************** CODE END ************************* -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Ervin Brindza Sent: Wednesday, June 08, 2005 02:13 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Insert Access Info Into Web page Adam, try to find an article in the Database Journal: Convert Access Tables Into ASP Web Pages by Danny Lesandrini HTH, Ervin ----- Original Message ----- From: "MartyConnelly" To: "Access Developers discussion and problem solving" Sent: Tuesday, June 07, 2005 6:41 PM Subject: Re: [AccessD] Insert Access Info Into Web page > > Here are a few good ASP sites: > o ASP101 Samples - http://www.asp101.com/samples o W3Schools ASP > Tutorial - http://www.w3schools.com/asp o Microsoft VBScript Language > Reference - > http://msdn.microsoft.com/scri-pting/default.htm?/scripting/V-BScript/d... > > There are several 100 dollar asp IIS Access solutions like > > http://www.access2asp.com/ > > Or for a "quick and dirty" generic ASP open source solution to putting > databases on the Web (often works well for the admin area of a Web > site) that just requires setting up a configuration page for each > table or query and uploading the database to the Web as long as there > is an autonumber field in each table (and you'll probably also > separately want to create login capabilities), perhaps try something like this: > GenericDB by Eli Robillard. It has been around for 7 years and is used > in a lot of university labs. > http://www.genericdb.com and then click on the Tips link to see an > example > > > Mail List at > http://aspadvice.com/SignUp/list.aspx?l=63&c=11 > > Res-Com Environmental wrote: > > >Dear List: > > > >Is there a way that Access information (such as names and addresses) > >can be > >inserted into a website's form fields? We are trying to use a > >businesses website that doesn't offer special connections so we have > >to manually enter > >information from our database. > > > >Adam > >ResCom > > > > > > > > > > -- > Marty Connelly > Victoria, B.C. > Canada > > > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From dwaters at usinternet.com Thu Aug 4 14:49:05 2005 From: dwaters at usinternet.com (Dan Waters) Date: Thu, 4 Aug 2005 14:49:05 -0500 Subject: [AccessD] Workgroup File Corrupt? Message-ID: <000001c5992d$941417d0$0200a8c0@danwaters> I recently had a client tell me that something went wrong with their workgroup file. The restored from a backup and all was OK. I wasn't there so I don't know more than that. Has anyone had the experience where a workgroup file became corrupt? Thanks, Dan Waters From adtp at touchtelindia.net Thu Aug 4 14:57:38 2005 From: adtp at touchtelindia.net (A.D.Tejpal) Date: Fri, 5 Aug 2005 01:27:38 +0530 Subject: [AccessD] Memo field parsing References: Message-ID: <007f01c5992e$f3bca8e0$ce1865cb@winxp> Gregg, For sake of demonstration, let the source table named T_Memo consist of two fields, named ID (primary key - Autonumber) and Mem (memo type). Create another table, named T_MemRef, with just one field named Ref (number type). Populate this table with just two records, with values 1 and 2 respectively. Query Q_Memo as given below, should be used as record source for your report. It involves Cartesian join between tables T_Memo and T_MemRef. In detail section of your report, drag Mem and Ref from the field list, so as to create bound controls named Mem and Ref. Make these controls hidden, set their CanGrow property to "No" and position the same un-obtrusively. Insert an unbound text box named TxtMemo. This is the text box that would actually display the contents of memo field. Set the width and fonts as desired. Set the CanGrow property of this control as well as the detail section as a whole, to "Yes". In VBA window, put the code given below, in Detail_Format event of the report. Make sure that the item "On Format" in Event tab of properties dialog box shows [Event Procedure] against it. Now, when you run the report, first three lines of the memo field will get displayed on first page and the balance portion on the next page. Similar pattern would get repeated for all records. Best wishes, A.D.Tejpal -------------- Source Query for the report (Q_Memo) ===================================== SELECT T_Memo.ID, T_MemRef.Ref, T_Memo.Mem FROM T_Memo, T_MemRef ORDER BY T_Memo.ID, T_MemRef.Ref; ===================================== Code in Report's Module ===================================== Private Sub Detail_Format(Cancel As Integer, _ FormatCount As Integer) Dim Wd As Long, Rw As Single, Mgn As Long Dim LenMem As Long, Txt As String, Lft As Long Dim LastSpace As Long, MaxRowsFirstPart Dim Mpf As Single MaxRowsFirstPart = 3 LenMem = Len(Mem) If LenMem > 0 Then Else Exit Sub End If With Me ' Set the scale mode to twips .ScaleMode = 1 ' Set Font values for report to match those of memo field. .FontName = TxtMemo.FontName .FontSize = TxtMemo.FontSize If TxtMemo.FontBold <> 0 Then .FontBold = True Else .FontBold = False End If End With ' Allow for necessary margin within a text box ' (Between its border and the content) Mgn = 170 ' This value may need fine tuning for ' best results ' Get effective width of control meant for ' displaying memo field Wd = TxtMemo.Width - Mgn ' Get the number of characters so as to make-up the ' required number of rows for first part of memo field. For Lft = 1 To LenMem Txt = Left(Mem, Lft) LastSpace = IIf(Right(Txt, 1) = " ", Lft, LastSpace) Rw = TextWidth(Txt) / Wd If Rw > MaxRowsFirstPart Then Lft = Lft - 1 Exit For End If Next Debug.Print Lft; ", "; LastSpace ' Get Multiplying factor for acceptable max location ' of last space. Mpf = (0.8 + (MaxRowsFirstPart - 1)) / MaxRowsFirstPart ' Shorten the first part to nearest space ' (if within 20 % of the end of line) If LastSpace > Mpf * Lft And LastSpace < Lft Then Lft = LastSpace End If ' Populate the unbound text box with appropriate ' part of memo field. If Ref = 1 Then TxtMemo = Left(Mem, Lft) ' Force New Page - Afer section, only if memo ' field contents not yet finished If LenMem > Lft Then Detail.ForceNewPage = 2 Else Detail.ForceNewPage = 0 ' No break End If Else TxtMemo = Mid(Mem, Lft + 1) ' Force New Page - Afer section Detail.ForceNewPage = 2 End If End Sub ===================================== ----- Original Message ----- From: Gregg To: Access Developers discussion and problem solving Cc: Robert Penn Sent: Thursday, August 04, 2005 04:19 Subject: Re: [AccessD] Memo field parsing Thanks Charlotte! I give it a try. ----- Original Message ----- From: Charlotte Foust To: Access Developers discussion and problem solving Sent: Wednesday, August 03, 2005 5:33 PM Subject: RE: [AccessD] Memo field parsing No, get the textwidth of the control and see if the textwidth of the text is greater than that. Handle the situation where it is not and everything fits in the first control. Otherwise get the text that fits within the control textwidth and use instrRev to find the last space in that substring. Break it there. At that point, you also know the index of the starting point for the rest of the string, so all you need to do for the next page is use the Mid(text, index) to put the rest of it into the second page. Charlotte Foust -----Original Message----- From: Gregg [mailto:greggs at msn.com] Sent: Wednesday, August 03, 2005 11:34 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Memo field parsing So, you're saying I need to loop through all the characters until I find the last whole word that will fit on the first line, the same for the second etc. until I determine what text will fit in the first page text field and use what's left for the 2nd page? ----- Original Message ----- From: Charlotte Foust> To: Access Developers discussion and problem solving> Sent: Wednesday, August 03, 2005 11:02 AM Subject: RE: [AccessD] Memo field parsing You can't do it by simply counting characters anyhow. You have to use the TextWidth property, which can be expressed as reportname.TextWidth(stringvariable) and compare that to the textwidth of the control ( reportname.TextWidth(controlobject) or to the maximum length you want to display. You'll also want to allow a padding factor to avoid overrunning the borders of the control and be sure and check for carriage returns because they confuse the issue. If you want to display 3 "lines", you'll have to break the memo field into the first three chunks that will fit into the textwidth of the textbox you're using to display the text on that page. Charlotte Foust -----Original Message----- From: Gregg [mailto:greggs at msn.com] Sent: Wednesday, August 03, 2005 8:43 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Memo field parsing Charlotte Physical space I think because I don't know how to get from one to the other. The number of characters is going to be dependant on the how many characters are lost to word wrapping isn't it? Is there a way to calculate the number of characters that will appear in the first three lines? If I knew that, I could do it. ----- Original Message ----- From: Charlotte Foust m>> To: Access Developers discussion and problem solving ors.com>> Sent: Wednesday, August 03, 2005 10:28 AM Subject: RE: [AccessD] Memo field parsing Define "first three lines". Is that a particular number of characters or a physical space? Charlotte Foust -----Original Message----- From: Gregg [mailto:greggs at msn.com] Sent: Wednesday, August 03, 2005 7:32 AM To: Access Developers discussion and problem solving Subject: [AccessD] Memo field parsing I would like to parse a memo field in a A97 report such that the first three lines is on the first page and whatever is left is on the next. Any ideas? Gregg Steinbrenner -- AccessD mailing list From RRANTHON at sentara.com Thu Aug 4 14:59:23 2005 From: RRANTHON at sentara.com (Randall R Anthony) Date: Thu, 04 Aug 2005 15:59:23 -0400 Subject: [AccessD] Workgroup File Corrupt? Message-ID: <200508041959.j74JxlR29332@databaseadvisors.com> Oh, yeah. That's why I always backed up a copy when it was updated and saved it to a secure folder hidden away from everybody. The .mdw is just another Access database and subject to the same quirky stuff. >>> dwaters at usinternet.com 08/04/05 3:49 PM >>> I recently had a client tell me that something went wrong with their workgroup file. The restored from a backup and all was OK. I wasn't there so I don't know more than that. Has anyone had the experience where a workgroup file became corrupt? Thanks, Dan Waters -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From vrm at tim-cms.com Thu Aug 4 15:10:41 2005 From: vrm at tim-cms.com (| Marcel Vreuls) Date: Thu, 4 Aug 2005 22:10:41 +0200 Subject: [AccessD] Workgroup File Corrupt? In-Reply-To: <000001c5992d$941417d0$0200a8c0@danwaters> Message-ID: <001201c59930$9755f500$0100000a@GALAXY.local> Dan, Yes i had it reproduced a few times - when a network error occurs or server (not workstations) falls out and users are still logged in or where in the middel of a batch transaction. - when a backup proces is running during work time with Backup Exec from veritas and users are still logged in - users have no delete rights so the workgroup file keeps growing. It onces was 92MB in our case with 150 users logged in on a daily basis. From then I wrote a program that run at night and compresses the workgroup file. Gr. marcel -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Dan Waters Sent: donderdag 4 augustus 2005 21:49 To: 'Database Advisors' Subject: [AccessD] Workgroup File Corrupt? I recently had a client tell me that something went wrong with their workgroup file. The restored from a backup and all was OK. I wasn't there so I don't know more than that. Has anyone had the experience where a workgroup file became corrupt? Thanks, Dan Waters -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From cfoust at infostatsystems.com Thu Aug 4 15:20:55 2005 From: cfoust at infostatsystems.com (Charlotte Foust) Date: Thu, 4 Aug 2005 13:20:55 -0700 Subject: [AccessD] "Find" combo box searches more than one table Message-ID: Sorry, but I don't understand the question. A "find" combobox works on a form and you populate it with a list that has some relationship to the current recordset of the form. Then you use the indicated record to move in that recordset. I can't see how (or why) you would use a find combo to look somewhere other than in the form's recordset. Charlotte Foust -----Original Message----- From: Klos, Susan [mailto:Susan.Klos at fldoe.org] Sent: Thursday, August 04, 2005 12:29 PM To: accessd at databaseadvisors.com Subject: [AccessD] "Find" combo box searches more than one table Is it possible to construct a "find" combo box that will search through more than one table in the database? Susan Klos Senior Database Analyst Evaluation and Reporting Florida Department of Education 850-245-0708 sc 205-0708 -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From vrm at tim-cms.com Thu Aug 4 15:36:26 2005 From: vrm at tim-cms.com (| Marcel Vreuls) Date: Thu, 4 Aug 2005 22:36:26 +0200 Subject: [AccessD] Gui for menu In-Reply-To: <001201c59930$9755f500$0100000a@GALAXY.local> Message-ID: <001b01c59935$c4672e60$0100000a@GALAXY.local> Hi, Does anyone use a nice menu solution/activex control they use for working with a panel menu within access. I am looking for a solution to create a menu with panels like the control panel menu in the XP configuration. Tnx, marcel From dmcafee at pacbell.net Thu Aug 4 15:52:01 2005 From: dmcafee at pacbell.net (David Mcafee) Date: Thu, 4 Aug 2005 13:52:01 -0700 (PDT) Subject: [AccessD] A2K Unbound field on report error In-Reply-To: <20050804194009.HCLV24042.mta11.adelphia.net@DG1P2N21> Message-ID: <20050804205202.15722.qmail@web80807.mail.yahoo.com> I would say it is a misspell somewhere. Check other places like querires and functions that may be called. have you tried stepping through in debug? David --- Bob Gajewski wrote: > Dear List > > We have a report that prints one membership card at > a time. I am probably > missing the most obvious thing here, but I just > can't get this report to > print. I keep receiving: > > ----------------------------------------------------- > > Run-time error; '2465' > > Microsoft Access can't find the field 'Firefighter' > referred to in your expression. > > ----------------------------------------------------- > > Any assistance or guidance would be most > appreciated. > > Thanks, > > Bob Gajewski, Assistant Chief (and db Administrator) > Wales Center Volunteer Fire Company > > > > Details: > > rptMembershipCard > Source: qryMembershipCard > Fields: > MemberNumber (bound to query field 'MemberNumber') > txtFullName (bound to query field 'txtFullName') > txtClass (unbound) > // other fields have been not included here as > they are not related to the > problem > > qryMembershipCard > Source: tblMembers > Selected Fields: > MemberNumber // using prompt to select one record > txtFullName = [FirstName] & > IIf(IsNull([MiddleInitial]),""," " & > [MiddleInitial] & ",") & " " & [LastName] > booFirefighter > booEMSProvider > booFirePolice > // other fields have been not included here as > they are not related to the > problem > > The CBF is: > > ***************** CODE BEGIN > ************************ > Private Sub Detail_Format(Cancel As Integer, > FormatCount As Integer) > > Dim booFirstClass As Boolean > > booFirstClass = True > > txtClass = "" > > If [Firefighter] = True Then > If booFirstClass = True Then > txtClass = "Firefighter" > booFirstClass = False > Else > txtClass = " " & "Firefighter" > End If > End If > If [EMSProvider] = True Then > If booFirstClass = True Then > txtClass = "EMS Provider" > booFirstClass = False > Else > txtClass = "," & "EMS Provider" > End If > End If > If [FirePolice] = True Then > If booFirstClass = True Then > txtClass = "Fire Police" > booFirstClass = False > Else > txtClass = "," & "Fire Police" > End If > End If > > If IsNull([txtClass]) Or [txtClass] = "" Then > lblClass.Visible = False > End If > End Sub > ****************** CODE END > ************************* > > > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On > Behalf Of Ervin Brindza > Sent: Wednesday, June 08, 2005 02:13 AM > To: Access Developers discussion and problem solving > Subject: Re: [AccessD] Insert Access Info Into Web > page > > Adam, > try to find an article in the Database Journal: > Convert Access Tables Into ASP Web Pages by Danny > Lesandrini HTH, > > Ervin > > ----- Original Message ----- > From: "MartyConnelly" > To: "Access Developers discussion and problem > solving" > > Sent: Tuesday, June 07, 2005 6:41 PM > Subject: Re: [AccessD] Insert Access Info Into Web > page > > > > > > Here are a few good ASP sites: > > o ASP101 Samples - http://www.asp101.com/samples o > W3Schools ASP > > Tutorial - http://www.w3schools.com/asp o > Microsoft VBScript Language > > Reference - > > > http://msdn.microsoft.com/scri-pting/default.htm?/scripting/V-BScript/d... > > > > There are several 100 dollar asp IIS Access > solutions like > > > > http://www.access2asp.com/ > > > > Or for a "quick and dirty" generic ASP open source > solution to putting > > databases on the Web (often works well for the > admin area of a Web > > site) that just requires setting up a > configuration page for each > > table or query and uploading the database to the > Web as long as there > > is an autonumber field in each table (and you'll > probably also > > separately want to create login capabilities), > perhaps try something like > this: > > GenericDB by Eli Robillard. It has been around for > 7 years and is used > > in a lot of university labs. > > http://www.genericdb.com and then click on the > Tips link to see an > > example > > > > > > Mail List at > > http://aspadvice.com/SignUp/list.aspx?l=63&c=11 > > > > Res-Com Environmental wrote: > > > > >Dear List: > > > > > >Is there a way that Access information (such as > names and addresses) > > >can > be > > >inserted into a website's form fields? We are > trying to use a > > >businesses website that doesn't offer special > connections so we have > > >to manually > enter > > >information from our database. > > > > > >Adam > > >ResCom > > > > > > > > > > > > > > > > -- > > Marty Connelly > > Victoria, B.C. > > Canada > > > > > > > > -- > > AccessD mailing list > > AccessD at databaseadvisors.com > > > http://databaseadvisors.com/mailman/listinfo/accessd > > Website: http://www.databaseadvisors.com > === message truncated === From stuart at lexacorp.com.pg Thu Aug 4 16:02:19 2005 From: stuart at lexacorp.com.pg (Stuart McLachlan) Date: Fri, 05 Aug 2005 07:02:19 +1000 Subject: [AccessD] A2K Unbound field on report error In-Reply-To: <20050804194009.HCLV24042.mta11.adelphia.net@DG1P2N21> References: <013801c56bf1$23408b10$0100a8c0@RazvojErvin> Message-ID: <42F30EFB.26924.18DAF76F@stuart.lexacorp.com.pg> I've trimmed the two long messages irrelevant messages and three list footers from the end of your post :-( On 4 Aug 2005 at 15:40, Bob Gajewski wrote: > > Microsoft Access can't find the field 'Firefighter' > referred to in your expression. > ..... > booFirefighter > booEMSProvider > booFirePolice .... > If [Firefighter] = True Then ..... > If [EMSProvider] = True Then .... > If [FirePolice] = True Then You call the field and presumably a control in your report "booFirefighter" etc, but test for "Firefighter" without the prefix "boo" -- Stuart From cfoust at infostatsystems.com Thu Aug 4 16:02:44 2005 From: cfoust at infostatsystems.com (Charlotte Foust) Date: Thu, 4 Aug 2005 14:02:44 -0700 Subject: [AccessD] Gui for menu Message-ID: The control panel is made up of applets, so I suspect it would be hard to create its equivalent in Access. If you don't want to go that far, you might take a look at the A Better Switchboard product offered from Peter's Software: http://www.peterssoftware.com/abs.htm Charlotte Foust -----Original Message----- From: | Marcel Vreuls [mailto:vrm at tim-cms.com] Sent: Thursday, August 04, 2005 1:36 PM To: 'Access Developers discussion and problem solving' Subject: [AccessD] Gui for menu Hi, Does anyone use a nice menu solution/activex control they use for working with a panel menu within access. I am looking for a solution to create a menu with panels like the control panel menu in the XP configuration. Tnx, marcel -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From rgajewski at wcvfc.org Thu Aug 4 16:14:58 2005 From: rgajewski at wcvfc.org (Asst. Chief R. Gajewski) Date: Thu, 4 Aug 2005 17:14:58 -0400 Subject: [AccessD] A2K Unbound field on report error In-Reply-To: <42F30EFB.26924.18DAF76F@stuart.lexacorp.com.pg> Message-ID: <20050804211501.JGNW19267.mta10.adelphia.net@DG1P2N21> Thanks, Stuart, but that's just a typo in my email. The code actually tests for boo... Regards, Bob -----Modified Message----- > I've trimmed the two long messages irrelevant messages and three list footers from the end of your post :-( > > Microsoft Access can't find the field 'Firefighter' > referred to in your expression. > ..... > booFirefighter > booEMSProvider > booFirePolice .... > If [booFirefighter] = True Then ..... > If [booEMSProvider] = True Then .... > If [booFirePolice] = True Then From stuart at lexacorp.com.pg Thu Aug 4 16:30:12 2005 From: stuart at lexacorp.com.pg (Stuart McLachlan) Date: Fri, 05 Aug 2005 07:30:12 +1000 Subject: [AccessD] A2K Unbound field on report error In-Reply-To: <20050804211501.JGNW19267.mta10.adelphia.net@DG1P2N21> References: <42F30EFB.26924.18DAF76F@stuart.lexacorp.com.pg> Message-ID: <42F31584.29011.18F4806B@stuart.lexacorp.com.pg> On 4 Aug 2005 at 17:14, Asst. Chief R. Gajewski wrote: > Thanks, Stuart, but that's just a typo in my email. The code actually tests > for boo... > Have you got bound controls (checkboxes?) on the report called boo..... ? If not, insert them and set their .visible property to false. -- Stuart From martyconnelly at shaw.ca Thu Aug 4 17:29:17 2005 From: martyconnelly at shaw.ca (MartyConnelly) Date: Thu, 04 Aug 2005 15:29:17 -0700 Subject: [AccessD] Gui for menu References: Message-ID: <42F296BD.7040905@shaw.ca> Well I know how this code from Peter is done. it is a treeview in the left pane and multiple subforms on the right selection triggered by tags on the nodes. I am trying to use this method just now for displaying records taxonomy. It does wonders on certain types of hierarchical data I poached this method from Rebbeca Riordan. There is a downloadable mdb here Along with the Smart Access article It might be cheaper to buy Peter's unlimited license than try and rewrite Rebbeca's code to fit. "Be still my beating heart" it does get complex with multiple subforms unless writing to a fixed pattern. http://msdn.microsoft.com/library/en-us/dnsmart04/html/sa04k6.asp?frame=true In the article she states all you need to do to implement an Explorer-style form in Microsoft Access. The sample application uses simple sub-forms created using the form wizard for display of the product and beverage details, but the detail forms can be arbitrarily complex. You can include tabs, nested subforms, whatever is required for your application. In fact, you can use this same basic structure as the primary navigation mechanism for your application instead of a Switchboard. Just replace the data hierarchy in the TreeView with the hierarchy of functions in your application. You can even store the functional hierarchy in one or more tables to allow the application to be configured at runtime. Just store the name of the pane as a field, and load it at runtime. Even though Microsoft Access doesn't support it directly, the Explorer-style form architecture is straightforward to implement using the TreeView Common Control. This architecture displays much of the same information as a more traditional Access form with the sub-form in datasheet view, but it's more effective when the user wants or needs to see a list of the items at all levels of the hierarchy. This isn't common during data entry, but it's extremely useful when browsing and maintaining information. Charlotte Foust wrote: >The control panel is made up of applets, so I suspect it would be hard >to create its equivalent in Access. If you don't want to go that far, >you might take a look at the A Better Switchboard product offered from >Peter's Software: http://www.peterssoftware.com/abs.htm > >Charlotte Foust > > >-----Original Message----- >From: | Marcel Vreuls [mailto:vrm at tim-cms.com] >Sent: Thursday, August 04, 2005 1:36 PM >To: 'Access Developers discussion and problem solving' >Subject: [AccessD] Gui for menu > > >Hi, > >Does anyone use a nice menu solution/activex control they use for >working with a panel menu within access. I am looking for a solution to >create a menu with panels like the control panel menu in the XP >configuration. > >Tnx, marcel > > > -- Marty Connelly Victoria, B.C. Canada From martyconnelly at shaw.ca Thu Aug 4 17:53:06 2005 From: martyconnelly at shaw.ca (MartyConnelly) Date: Thu, 04 Aug 2005 15:53:06 -0700 Subject: [AccessD] Table locked References: Message-ID: <42F29C52.9010200@shaw.ca> Check If the mdb file isn't set to readonly or the associated ldb file isn't still open (This can be safely deleted if all users are out of the database) otherwise you might import all the Access objects to a new clean database to avoid any corruption. This corruption can be common on Access 2000 mdb's without SP-3 Corrupt Microsoft Access MDBs FAQ http://www.granite.ab.ca/access/corruptmdbs.htm Kaup, Chester wrote: >I have a database on my local C drive. When it opens it runs an autoexec >macro to run a query to make a table. I get a message that the table can >not be opened exclusively. How can this be and how do I determine what >has the table open? I have tried compacting and repairing and opening >the database exclusively with no success. Thanks. > > > >Chester Kaup > >Engineering Technician > >Kinder Morgan CO2 Company, LLP > >Office (432) 688-3797 > > > >No trees were killed in the sending of this message. However a large >number of electrons were terribly inconvenienced. > >FAX (432) 688-3799 > > > > > -- Marty Connelly Victoria, B.C. Canada From cfoust at infostatsystems.com Thu Aug 4 18:05:29 2005 From: cfoust at infostatsystems.com (Charlotte Foust) Date: Thu, 4 Aug 2005 16:05:29 -0700 Subject: [AccessD] Gui for menu Message-ID: It may very well be. I have the entire suite but haven't really explored it, since I won it. In any case, it isn't the direct equivalent of the control panel cpl files, even if it might look similar, and I was replying literally. Charlotte Foust -----Original Message----- From: MartyConnelly [mailto:martyconnelly at shaw.ca] Sent: Thursday, August 04, 2005 3:29 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Gui for menu Well I know how this code from Peter is done. it is a treeview in the left pane and multiple subforms on the right selection triggered by tags on the nodes. I am trying to use this method just now for displaying records taxonomy. It does wonders on certain types of hierarchical data I poached this method from Rebbeca Riordan. There is a downloadable mdb here Along with the Smart Access article It might be cheaper to buy Peter's unlimited license than try and rewrite Rebbeca's code to fit. "Be still my beating heart" it does get complex with multiple subforms unless writing to a fixed pattern. http://msdn.microsoft.com/library/en-us/dnsmart04/html/sa04k6.asp?frame= true In the article she states all you need to do to implement an Explorer-style form in Microsoft Access. The sample application uses simple sub-forms created using the form wizard for display of the product and beverage details, but the detail forms can be arbitrarily complex. You can include tabs, nested subforms, whatever is required for your application. In fact, you can use this same basic structure as the primary navigation mechanism for your application instead of a Switchboard. Just replace the data hierarchy in the TreeView with the hierarchy of functions in your application. You can even store the functional hierarchy in one or more tables to allow the application to be configured at runtime. Just store the name of the pane as a field, and load it at runtime. Even though Microsoft Access doesn't support it directly, the Explorer-style form architecture is straightforward to implement using the TreeView Common Control. This architecture displays much of the same information as a more traditional Access form with the sub-form in datasheet view, but it's more effective when the user wants or needs to see a list of the items at all levels of the hierarchy. This isn't common during data entry, but it's extremely useful when browsing and maintaining information. Charlotte Foust wrote: >The control panel is made up of applets, so I suspect it would be hard >to create its equivalent in Access. If you don't want to go that far, >you might take a look at the A Better Switchboard product offered from >Peter's Software: http://www.peterssoftware.com/abs.htm > >Charlotte Foust > > >-----Original Message----- >From: | Marcel Vreuls [mailto:vrm at tim-cms.com] >Sent: Thursday, August 04, 2005 1:36 PM >To: 'Access Developers discussion and problem solving' >Subject: [AccessD] Gui for menu > > >Hi, > >Does anyone use a nice menu solution/activex control they use for >working with a panel menu within access. I am looking for a solution to >create a menu with panels like the control panel menu in the XP >configuration. > >Tnx, marcel > > > -- Marty Connelly Victoria, B.C. Canada -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From KP at sdsonline.net Thu Aug 4 18:33:36 2005 From: KP at sdsonline.net (Kath Pelletti) Date: Fri, 5 Aug 2005 09:33:36 +1000 Subject: [AccessD] "Find" combo box searches more than one table References: Message-ID: <004201c5994c$f0489520$6601a8c0@user> Maybe Susan means that the users would like to have a 'search function' which will find something anywhere in the database. I have had that request before, eg. for a database that tracked travel agent wholesalers, travel agent retailers, suppliers, clients etc. Users would get an inquiry from someone and wanted to type in their name and find all instances anywhere in the system. It depends whether you need to populate a combo or not. In my case I created an unbound text box and users type in any part of the person's surname and hit enter. The code then searches through the relevant tables one by one and populates a results table. Kath ----- Original Message ----- From: Charlotte Foust To: Access Developers discussion and problem solving Sent: Friday, August 05, 2005 6:20 AM Subject: RE: [AccessD] "Find" combo box searches more than one table Sorry, but I don't understand the question. A "find" combobox works on a form and you populate it with a list that has some relationship to the current recordset of the form. Then you use the indicated record to move in that recordset. I can't see how (or why) you would use a find combo to look somewhere other than in the form's recordset. Charlotte Foust -----Original Message----- From: Klos, Susan [mailto:Susan.Klos at fldoe.org] Sent: Thursday, August 04, 2005 12:29 PM To: accessd at databaseadvisors.com Subject: [AccessD] "Find" combo box searches more than one table Is it possible to construct a "find" combo box that will search through more than one table in the database? Susan Klos Senior Database Analyst Evaluation and Reporting Florida Department of Education 850-245-0708 sc 205-0708 -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd 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 Aug 4 18:53:01 2005 From: stuart at lexacorp.com.pg (Stuart McLachlan) Date: Fri, 05 Aug 2005 09:53:01 +1000 Subject: [AccessD] "Find" combo box searches more than one table In-Reply-To: <004201c5994c$f0489520$6601a8c0@user> Message-ID: <42F336FD.21211.19774104@stuart.lexacorp.com.pg> > From: Klos, Susan [mailto:Susan.Klos at fldoe.org] > Sent: Thursday, August 04, 2005 12:29 PM > To: accessd at databaseadvisors.com > Subject: [AccessD] "Find" combo box searches more than one table > > > Is it possible to construct a "find" combo box that will search through > more than one table in the database? > Populate the box with a UNION query? -- Stuart From kimjwiggins at yahoo.com Thu Aug 4 21:29:29 2005 From: kimjwiggins at yahoo.com (Kim Wiggins) Date: Thu, 4 Aug 2005 19:29:29 -0700 (PDT) Subject: [AccessD] SQL statement Message-ID: <20050805022929.64730.qmail@web53604.mail.yahoo.com> My application is telling me something is wrong with this sql statement for my Access database. Can anyone figure out what's wrong? I don't see anything. strSQL1 = "update tblRepairPartsReplaced set quantity (i) = '" & Val(txtQty(i)) & "' Where part_no = '" & txtPartsRep(i).Text & "'" Thanks Kim __________________________________________________ Do You Yahoo!? Tired of spam? Yahoo! Mail has the best spam protection around http://mail.yahoo.com From stuart at lexacorp.com.pg Thu Aug 4 21:46:04 2005 From: stuart at lexacorp.com.pg (Stuart McLachlan) Date: Fri, 05 Aug 2005 12:46:04 +1000 Subject: [AccessD] SQL statement In-Reply-To: <20050805022929.64730.qmail@web53604.mail.yahoo.com> Message-ID: <42F35F8C.9189.1A15B132@stuart.lexacorp.com.pg> On 4 Aug 2005 at 19:29, Kim Wiggins wrote: > My application is telling me something is wrong with this sql statement for my Access database. > Can anyone figure out what's wrong? I don't see anything. > strSQL1 = "update tblRepairPartsReplaced set quantity (i) = '" & Val(txtQty(i)) & "' Where part_no = '" & txtPartsRep(i).Text & "'" > Thanks > Kim > There is a space between quantity and (i). Having said that, do you really have a field called "quantity(i)" ? I'd guess you just want ...quantity = '" & ..... -- Stuart From rbgajewski at adelphia.net Thu Aug 4 22:06:46 2005 From: rbgajewski at adelphia.net (Bob Gajewski) Date: Thu, 4 Aug 2005 23:06:46 -0400 Subject: [AccessD] A2K Unbound field on report error In-Reply-To: <42F31584.29011.18F4806B@stuart.lexacorp.com.pg> Message-ID: <20050805030649.KTLU29002.mta9.adelphia.net@DG1P2N21> I knew it was going to be something simple and stupid! THANKS STUART!!! Got it working just fine now. Bob -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Stuart McLachlan Sent: Thursday, August 04, 2005 17:30 PM To: Access Developers discussion and problem solving Subject: RE: [AccessD] A2K Unbound field on report error On 4 Aug 2005 at 17:14, Asst. Chief R. Gajewski wrote: > Thanks, Stuart, but that's just a typo in my email. The code actually > tests for boo... > Have you got bound controls (checkboxes?) on the report called boo..... ? If not, insert them and set their .visible property to false. -- Stuart -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From vrm at tim-cms.com Fri Aug 5 02:19:49 2005 From: vrm at tim-cms.com (| Marcel Vreuls) Date: Fri, 5 Aug 2005 09:19:49 +0200 Subject: [AccessD] Queryfields and combobox In-Reply-To: <20050805030649.KTLU29002.mta9.adelphia.net@DG1P2N21> Message-ID: <001201c5998e$11937790$6c61fea9@GALAXY.local> Hi, i am wondering if it is possible to get the output fields of a select query into a combobox. I mean not the data of the selectquery but the columnheaders/fieldnames. Thnx, marcel From vrm at tim-cms.com Fri Aug 5 02:22:23 2005 From: vrm at tim-cms.com (| Marcel Vreuls) Date: Fri, 5 Aug 2005 09:22:23 +0200 Subject: [AccessD] Gui for menu In-Reply-To: <42F296BD.7040905@shaw.ca> Message-ID: <001301c5998e$6cee00b0$6c61fea9@GALAXY.local> Hi Martin, That is a solution that works and i have used before. The nice thing of the panels are the layout which does the listview do not have. i will keep searching and post what i found. I have found an mde with this solution and have just mailt the developer for more information. There is no activex ocx or dll deliverd so it has to be an imbedded solution. Tnx, marcel -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of MartyConnelly Sent: vrijdag 5 augustus 2005 0:29 To: Access Developers discussion and problem solving Subject: Re: [AccessD] Gui for menu Well I know how this code from Peter is done. it is a treeview in the left pane and multiple subforms on the right selection triggered by tags on the nodes. I am trying to use this method just now for displaying records taxonomy. It does wonders on certain types of hierarchical data I poached this method from Rebbeca Riordan. There is a downloadable mdb here Along with the Smart Access article It might be cheaper to buy Peter's unlimited license than try and rewrite Rebbeca's code to fit. "Be still my beating heart" it does get complex with multiple subforms unless writing to a fixed pattern. http://msdn.microsoft.com/library/en-us/dnsmart04/html/sa04k6.asp?frame=true In the article she states all you need to do to implement an Explorer-style form in Microsoft Access. The sample application uses simple sub-forms created using the form wizard for display of the product and beverage details, but the detail forms can be arbitrarily complex. You can include tabs, nested subforms, whatever is required for your application. In fact, you can use this same basic structure as the primary navigation mechanism for your application instead of a Switchboard. Just replace the data hierarchy in the TreeView with the hierarchy of functions in your application. You can even store the functional hierarchy in one or more tables to allow the application to be configured at runtime. Just store the name of the pane as a field, and load it at runtime. Even though Microsoft Access doesn't support it directly, the Explorer-style form architecture is straightforward to implement using the TreeView Common Control. This architecture displays much of the same information as a more traditional Access form with the sub-form in datasheet view, but it's more effective when the user wants or needs to see a list of the items at all levels of the hierarchy. This isn't common during data entry, but it's extremely useful when browsing and maintaining information. Charlotte Foust wrote: >The control panel is made up of applets, so I suspect it would be hard >to create its equivalent in Access. If you don't want to go that far, >you might take a look at the A Better Switchboard product offered from >Peter's Software: http://www.peterssoftware.com/abs.htm > >Charlotte Foust > > >-----Original Message----- >From: | Marcel Vreuls [mailto:vrm at tim-cms.com] >Sent: Thursday, August 04, 2005 1:36 PM >To: 'Access Developers discussion and problem solving' >Subject: [AccessD] Gui for menu > > >Hi, > >Does anyone use a nice menu solution/activex control they use for >working with a panel menu within access. I am looking for a solution to >create a menu with panels like the control panel menu in the XP >configuration. > >Tnx, marcel > > > -- Marty Connelly Victoria, B.C. Canada -- 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 Aug 5 06:40:34 2005 From: stuart at lexacorp.com.pg (Stuart McLachlan) Date: Fri, 05 Aug 2005 21:40:34 +1000 Subject: [AccessD] Queryfields and combobox In-Reply-To: <001201c5998e$11937790$6c61fea9@GALAXY.local> References: <20050805030649.KTLU29002.mta9.adelphia.net@DG1P2N21> Message-ID: <42F3DCD2.4672.1BFF0A92@stuart.lexacorp.com.pg> On 5 Aug 2005 at 9:19, | Marcel Vreuls wrote: > > Hi, > > i am wondering if it is possible to get the output fields of a select query > into a combobox. I mean not the data of the selectquery but the > columnheaders/fieldnames. > Dead simple, it's built in. Set the "Row Source Type" of the combo box to "Field List" Set the "Row Source" to the name of the query. -- Stuart From vrm at tim-cms.com Fri Aug 5 06:59:34 2005 From: vrm at tim-cms.com (| Marcel Vreuls) Date: Fri, 5 Aug 2005 13:59:34 +0200 Subject: [AccessD] Queryfields and combobox In-Reply-To: <42F3DCD2.4672.1BFF0A92@stuart.lexacorp.com.pg> Message-ID: <001c01c599b5$254d9960$6c61fea9@GALAXY.local> Duh.....i kill myself :-). It was i.d.d.deadsimple....shame on me :-) Tnxs al lot marcel -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Stuart McLachlan Sent: vrijdag 5 augustus 2005 13:41 To: Access Developers discussion and problem solving Subject: Re: [AccessD] Queryfields and combobox On 5 Aug 2005 at 9:19, | Marcel Vreuls wrote: > > Hi, > > i am wondering if it is possible to get the output fields of a select query > into a combobox. I mean not the data of the selectquery but the > columnheaders/fieldnames. > Dead simple, it's built in. Set the "Row Source Type" of the combo box to "Field List" Set the "Row Source" to the name of the query. -- Stuart -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From cyx5 at cdc.gov Fri Aug 5 06:57:29 2005 From: cyx5 at cdc.gov (Nicholson, Karen) Date: Fri, 5 Aug 2005 07:57:29 -0400 Subject: [AccessD] Access 2003 Reports Not Working Message-ID: I seem to have two problems. The first is that this user has no access to the reports in the system. She can open up forms, queries, etc. But the reports design view or preview is just not responding. Then my code for printing a report is failing. I have found this one thing about the printing code but have not found out if a solution has been discovered yet. It has been a long week. - Open Access 2003 - Create new database (2000 or 2002/2003 format) - Create a report and insert a label in its Detail section - Save the report as Report1 - Copy Report1 as Report2 - Open Report1 and insert Report2 in it as subreport - Save Report1 - Create a form and use the wizard to insert a button which can open Report1 for preview - Go to VBE and navigate to the Click event of the button - Change the following two lines stDocName = "Report1" DoCmd.OpenReport stDocName, acPreview with this four lines stDocName = "Report1" Printer.PrintQuality = acPRPQMedium DoCmd.OpenReport stDocName, acPreview Printer.BottomMargin = 5 - Save form as Form1 - Open the form normally - Click the button - Here is the bug I contacted Microsoft Italia (beacause I live in Italy). They informed Microsoft Corporation which replied confirming it's a bug for Access 2003 and will be corrected in the future. They didn't tell if the problem will be corrected with a specific patch or with Service Pack 2 for Office 2003. You will not find any documentation in internet (neither in Microsoft web site nor in MSDN nor elsewhere) until a correction will be developed. I hope this could help. -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Gustav Brock Sent: Thursday, August 04, 2005 11:47 AM To: accessd at databaseadvisors.com Subject: Re: [AccessD] Access 2003 Reports Not Working Hi 65 1. Have you tried to install a(nother) printer? 2. Open the report in design view, reassign the printer and save. /gustav >>> cyx5 at cdc.gov 08/04 5:20 pm >>> I have a new user, installed with Access 2003, running my XP database. All is well, the references are fine, there are no code compilation issues. However, she can not open up a report. If I go to the database container and click on any report for a report preview, it acts like I do not exist. It does nothing. What's up with this? I am googling to no avail. Thanks. -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From dejpolsys at hotmail.com Fri Aug 5 07:58:45 2005 From: dejpolsys at hotmail.com (William Hindman) Date: Fri, 5 Aug 2005 08:58:45 -0400 Subject: [AccessD] Gui for menu References: <001301c5998e$6cee00b0$6c61fea9@GALAXY.local> Message-ID: Marcel ..have you looked at the Toolbar control in Access? ...combined with a Treeview it should allow you to dupe the look and feel you're after. ..ms had a sample app with A97 called actctrl.mdb that had several gui demos ...including one with the toolbar ...if you can't find it I'm sure I still have it in my A97 files ...I've not seen anything similar for A2k and up but then I've not looked either. William ----- Original Message ----- From: "| Marcel Vreuls" To: "'Access Developers discussion and problem solving'" Sent: Friday, August 05, 2005 3:22 AM Subject: RE: [AccessD] Gui for menu > Hi Martin, > > That is a solution that works and i have used before. The nice thing of > the > panels are the layout which does the listview do not have. > > i will keep searching and post what i found. I have found an mde with this > solution and have just mailt the developer for more information. There is > no > activex ocx or dll deliverd so it has to be an imbedded solution. > > Tnx, marcel > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of MartyConnelly > Sent: vrijdag 5 augustus 2005 0:29 > To: Access Developers discussion and problem solving > Subject: Re: [AccessD] Gui for menu > > > Well I know how this code from Peter is done. it is a treeview in the > left pane and multiple subforms on the right > selection triggered by tags on the nodes. I am trying to use this method > just now for displaying records taxonomy. > It does wonders on certain types of hierarchical data > I poached this method from Rebbeca Riordan. There is a downloadable mdb > here > Along with the Smart Access article > It might be cheaper to buy Peter's unlimited license than try and > rewrite Rebbeca's code to fit. > "Be still my beating heart" it does get complex with multiple subforms > unless writing to a fixed pattern. > > http://msdn.microsoft.com/library/en-us/dnsmart04/html/sa04k6.asp?frame=true > > In the article she states > > all you need to do to implement an Explorer-style form in Microsoft > Access. > The sample application uses simple sub-forms created using the form > wizard for display of the product and beverage > details, but the detail forms can be arbitrarily complex. You can > include tabs, nested subforms, whatever is required > for your application. > In fact, you can use this same basic structure as the primary navigation > mechanism for your application instead of a > Switchboard. Just replace the data hierarchy in the TreeView with the > hierarchy of functions in your application. You > can even store the functional hierarchy in one or more tables to allow > the application to be configured at runtime. > Just store the name of the pane as a field, and load it at runtime. > Even though Microsoft Access doesn't support it directly, the > Explorer-style form architecture is straightforward to > implement using the TreeView Common Control. This architecture displays > much of the same information as a more > traditional Access form with the sub-form in datasheet view, but it's > more effective when the user wants or needs to > see a list of the items at all levels of the hierarchy. This isn't > common during data entry, but it's extremely useful > when browsing and maintaining information. > > > Charlotte Foust wrote: > >>The control panel is made up of applets, so I suspect it would be hard >>to create its equivalent in Access. If you don't want to go that far, >>you might take a look at the A Better Switchboard product offered from >>Peter's Software: http://www.peterssoftware.com/abs.htm >> >>Charlotte Foust >> >> >>-----Original Message----- >>From: | Marcel Vreuls [mailto:vrm at tim-cms.com] >>Sent: Thursday, August 04, 2005 1:36 PM >>To: 'Access Developers discussion and problem solving' >>Subject: [AccessD] Gui for menu >> >> >>Hi, >> >>Does anyone use a nice menu solution/activex control they use for >>working with a panel menu within access. I am looking for a solution to >>create a menu with panels like the control panel menu in the XP >>configuration. >> >>Tnx, marcel >> >> >> > > -- > Marty Connelly > Victoria, B.C. > Canada > > > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > From kimjwiggins at yahoo.com Fri Aug 5 08:09:31 2005 From: kimjwiggins at yahoo.com (Kim Wiggins) Date: Fri, 5 Aug 2005 06:09:31 -0700 (PDT) Subject: [AccessD] SQL statement In-Reply-To: <42F35F8C.9189.1A15B132@stuart.lexacorp.com.pg> Message-ID: <20050805130931.72112.qmail@web53605.mail.yahoo.com> Well yes, I do have a field called quantity(i) because I have fields that correspond to parts that are 1-8. Thanks, I didn't see that space. Stuart McLachlan wrote:On 4 Aug 2005 at 19:29, Kim Wiggins wrote: > My application is telling me something is wrong with this sql statement for my Access database. > Can anyone figure out what's wrong? I don't see anything. > strSQL1 = "update tblRepairPartsReplaced set quantity (i) = '" & Val(txtQty(i)) & "' Where part_no = '" & txtPartsRep(i).Text & "'" > Thanks > Kim > There is a space between quantity and (i). Having said that, do you really have a field called "quantity(i)" ? I'd guess you just want ...quantity = '" & ..... -- Stuart -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com __________________________________________________ Do You Yahoo!? Tired of spam? Yahoo! Mail has the best spam protection around http://mail.yahoo.com From jwcolby at colbyconsulting.com Fri Aug 5 08:21:06 2005 From: jwcolby at colbyconsulting.com (John W. Colby) Date: Fri, 05 Aug 2005 09:21:06 -0400 Subject: [AccessD] SQL statement In-Reply-To: <20050805130931.72112.qmail@web53605.mail.yahoo.com> Message-ID: <00b601c599c0$8cf03450$6c7aa8c0@ColbyM6805> Kim, It is considered "bad practice" to use "special characters" in field names. Basically only alpha characters and numbers should be used. Thus in your case, Quantity1 (or QuantityI) would be a better name. Special characters can cause unintended interactions with the VBA compiler as well as the SQL parsing. They force the developer to take extra steps to "wrap" such field names to prevent such interactions. John W. Colby www.ColbyConsulting.com Contribute your unused CPU cycles to a good cause: http://folding.stanford.edu/ -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Kim Wiggins Sent: Friday, August 05, 2005 9:10 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] SQL statement Well yes, I do have a field called quantity(i) because I have fields that correspond to parts that are 1-8. Thanks, I didn't see that space. Stuart McLachlan wrote:On 4 Aug 2005 at 19:29, Kim Wiggins wrote: > My application is telling me something is wrong with this sql > statement for my Access database. Can anyone figure out what's wrong? > I don't see anything. strSQL1 = "update tblRepairPartsReplaced set > quantity (i) = '" & Val(txtQty(i)) & "' Where part_no = '" & > txtPartsRep(i).Text & "'" Thanks Kim > There is a space between quantity and (i). Having said that, do you really have a field called "quantity(i)" ? I'd guess you just want ...quantity = '" & ..... -- Stuart -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com __________________________________________________ Do You Yahoo!? Tired of spam? Yahoo! Mail has the best spam protection around http://mail.yahoo.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From cyx5 at cdc.gov Fri Aug 5 09:08:53 2005 From: cyx5 at cdc.gov (Nicholson, Karen) Date: Fri, 5 Aug 2005 10:08:53 -0400 Subject: [AccessD] SQL Float Type Conversion and Access Message-ID: Happy Friday to all! (Humor Day Reminder). Anyway, I have an SQL backend that has a few fields defined as float(ies). When I do an Access query against these floaties, and specify, for example the criteria = 3, I get a message that my query is too complicated. So, I can either convert the SQL field to a better format that will preserve the decimals, or I can figure out how to put criteria for a floatie in Access. I tried converting the field in SQL to numeric and it stripped the decimal. (backups are golden). I don't want to go to nvarchar, I am not sure I want to go to a double. Any suggestions? Thanks. From artful at rogers.com Fri Aug 5 09:57:35 2005 From: artful at rogers.com (Arthur Fuller) Date: Fri, 5 Aug 2005 10:57:35 -0400 Subject: [AccessD] SQL Float Type Conversion and Access In-Reply-To: Message-ID: <200508051457.j75EvdR03379@databaseadvisors.com> This one puzzles me. I have not experienced it before, so I just whipped up a table to check this. I have a float field two of whose rows contain the value 3. I did a query both from Query Analyst and Access (ADP) testing the column for value 3 and I received two rows back in both cases. My FE was an ADP, mind you. Is yours an MDB using an ODBC connection? I didn't try that. -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Nicholson, Karen Sent: August 5, 2005 10:09 AM To: Access Developers discussion and problem solving Subject: [AccessD] SQL Float Type Conversion and Access Happy Friday to all! (Humor Day Reminder). Anyway, I have an SQL backend that has a few fields defined as float(ies). When I do an Access query against these floaties, and specify, for example the criteria = 3, I get a message that my query is too complicated. So, I can either convert the SQL field to a better format that will preserve the decimals, or I can figure out how to put criteria for a floatie in Access. I tried converting the field in SQL to numeric and it stripped the decimal. (backups are golden). I don't want to go to nvarchar, I am not sure I want to go to a double. Any suggestions? Thanks. -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From cyx5 at cdc.gov Fri Aug 5 10:05:12 2005 From: cyx5 at cdc.gov (Nicholson, Karen) Date: Fri, 5 Aug 2005 11:05:12 -0400 Subject: [AccessD] SQL Float Type Conversion and Access Message-ID: Yes, mine is an mdb with odbc. I have it solved now - I changed the SQL type to numeric with the scale set to 1. Now it is OK. Access totally puked on querying a float. Now, I sure wish I could figure out why the Access 2003 PCs around here are locking out the report area of the databases. Even simple code to open up the report croak. -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Arthur Fuller Sent: Friday, August 05, 2005 10:58 AM To: 'Access Developers discussion and problem solving' Subject: RE: [AccessD] SQL Float Type Conversion and Access This one puzzles me. I have not experienced it before, so I just whipped up a table to check this. I have a float field two of whose rows contain the value 3. I did a query both from Query Analyst and Access (ADP) testing the column for value 3 and I received two rows back in both cases. My FE was an ADP, mind you. Is yours an MDB using an ODBC connection? I didn't try that. -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Nicholson, Karen Sent: August 5, 2005 10:09 AM To: Access Developers discussion and problem solving Subject: [AccessD] SQL Float Type Conversion and Access Happy Friday to all! (Humor Day Reminder). Anyway, I have an SQL backend that has a few fields defined as float(ies). When I do an Access query against these floaties, and specify, for example the criteria = 3, I get a message that my query is too complicated. So, I can either convert the SQL field to a better format that will preserve the decimals, or I can figure out how to put criteria for a floatie in Access. I tried converting the field in SQL to numeric and it stripped the decimal. (backups are golden). I don't want to go to nvarchar, I am not sure I want to go to a double. Any suggestions? Thanks. -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From kimjwiggins at yahoo.com Fri Aug 5 10:06:08 2005 From: kimjwiggins at yahoo.com (Kim Wiggins) Date: Fri, 5 Aug 2005 08:06:08 -0700 (PDT) Subject: [AccessD] SQL statement In-Reply-To: <00b601c599c0$8cf03450$6c7aa8c0@ColbyM6805> Message-ID: <20050805150608.35207.qmail@web53604.mail.yahoo.com> I'm sorry John, I didn't explain that well. It is Quantity1, etc.... The (i) is the index in my program for me to loop through the fields. "John W. Colby" wrote:Kim, It is considered "bad practice" to use "special characters" in field names. Basically only alpha characters and numbers should be used. Thus in your case, Quantity1 (or QuantityI) would be a better name. Special characters can cause unintended interactions with the VBA compiler as well as the SQL parsing. They force the developer to take extra steps to "wrap" such field names to prevent such interactions. John W. Colby www.ColbyConsulting.com Contribute your unused CPU cycles to a good cause: http://folding.stanford.edu/ -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Kim Wiggins Sent: Friday, August 05, 2005 9:10 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] SQL statement Well yes, I do have a field called quantity(i) because I have fields that correspond to parts that are 1-8. Thanks, I didn't see that space. Stuart McLachlan wrote:On 4 Aug 2005 at 19:29, Kim Wiggins wrote: > My application is telling me something is wrong with this sql > statement for my Access database. Can anyone figure out what's wrong? > I don't see anything. strSQL1 = "update tblRepairPartsReplaced set > quantity (i) = '" & Val(txtQty(i)) & "' Where part_no = '" & > txtPartsRep(i).Text & "'" Thanks Kim > There is a space between quantity and (i). Having said that, do you really have a field called "quantity(i)" ? I'd guess you just want ...quantity = '" & ..... -- Stuart -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com __________________________________________________ Do You Yahoo!? Tired of spam? Yahoo! Mail has the best spam protection around http://mail.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 --------------------------------- Start your day with Yahoo! - make it your home page From Chester_Kaup at kindermorgan.com Fri Aug 5 10:43:00 2005 From: Chester_Kaup at kindermorgan.com (Kaup, Chester) Date: Fri, 5 Aug 2005 10:43:00 -0500 Subject: [AccessD] Table locked Message-ID: Problem solved. I had it set up to open a form that referenced a table that a query was trying to update. Changed the sequence of events and all is well -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of MartyConnelly Sent: Thursday, August 04, 2005 5:53 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Table locked Check If the mdb file isn't set to readonly or the associated ldb file isn't still open (This can be safely deleted if all users are out of the database) otherwise you might import all the Access objects to a new clean database to avoid any corruption. This corruption can be common on Access 2000 mdb's without SP-3 Corrupt Microsoft Access MDBs FAQ http://www.granite.ab.ca/access/corruptmdbs.htm Kaup, Chester wrote: >I have a database on my local C drive. When it opens it runs an autoexec >macro to run a query to make a table. I get a message that the table can >not be opened exclusively. How can this be and how do I determine what >has the table open? I have tried compacting and repairing and opening >the database exclusively with no success. Thanks. > > > >Chester Kaup > >Engineering Technician > >Kinder Morgan CO2 Company, LLP > >Office (432) 688-3797 > > > >No trees were killed in the sending of this message. However a large >number of electrons were terribly inconvenienced. > >FAX (432) 688-3799 > > > > > -- Marty Connelly Victoria, B.C. Canada -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From dmcafee at pacbell.net Fri Aug 5 13:03:10 2005 From: dmcafee at pacbell.net (dmcafee at pacbell.net) Date: Fri, 5 Aug 2005 11:03:10 -0700 Subject: [AccessD] RE: Friday Humor In-Reply-To: <008801c59905$00a18a00$6c7aa8c0@ColbyM6805> Message-ID: Once upon a time, there was a snake, named Nate. Rather close to Nate's house there was a great road, and next to this road was a lever. The lever was ancient, and the mythology around the lever was that if you were to push it, it would trigger the end of the world. One day, Nate was slithering down the road, and he came upon the lever, and began crossing the road so he could look at it. At the same moment, a truck came careening around a corner, and the driver found himself in a dilemma: either hit the snake or end the world. Needless to say, the driver ran over Nate and went on his merry way. Moral of the Story: Better Nate than Lever From cfoust at infostatsystems.com Fri Aug 5 13:10:31 2005 From: cfoust at infostatsystems.com (Charlotte Foust) Date: Fri, 5 Aug 2005 11:10:31 -0700 Subject: [AccessD] RE: Friday Humor Message-ID: Off with his head!! Charlotte Foust -----Original Message----- From: dmcafee at pacbell.net [mailto:dmcafee at pacbell.net] Sent: Friday, August 05, 2005 11:03 AM To: Access Developers discussion and problem solving Subject: [AccessD] RE: Friday Humor Once upon a time, there was a snake, named Nate. Rather close to Nate's house there was a great road, and next to this road was a lever. The lever was ancient, and the mythology around the lever was that if you were to push it, it would trigger the end of the world. One day, Nate was slithering down the road, and he came upon the lever, and began crossing the road so he could look at it. At the same moment, a truck came careening around a corner, and the driver found himself in a dilemma: either hit the snake or end the world. Needless to say, the driver ran over Nate and went on his merry way. Moral of the Story: Better Nate than Lever -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From BarbaraRyan at cox.net Fri Aug 5 13:32:11 2005 From: BarbaraRyan at cox.net (Barbara Ryan) Date: Fri, 5 Aug 2005 14:32:11 -0400 Subject: [AccessD] SendObject Message-ID: <009001c599ec$19867160$0a00a8c0@cx470148a> I've used Docmd.SendObject to email Snapshot files. I now need to email a .txt file and am having problems. There doesn't appear to be an object type for text files. Any ideas? Thanks, Barb Ryan From stuart at lexacorp.com.pg Fri Aug 5 16:53:47 2005 From: stuart at lexacorp.com.pg (Stuart McLachlan) Date: Sat, 06 Aug 2005 07:53:47 +1000 Subject: [AccessD] SQL statement In-Reply-To: <20050805150608.35207.qmail@web53604.mail.yahoo.com> References: <00b601c599c0$8cf03450$6c7aa8c0@ColbyM6805> Message-ID: <42F46C8B.21016.1E30726C@stuart.lexacorp.com.pg> On 5 Aug 2005 at 8:06, Kim Wiggins wrote: > I'm sorry John, I didn't explain that well. It is Quantity1, etc.... The (i) is the index in my program for me to loop through the fields. > ..... > > I don't see anything. strSQL1 = "update tblRepairPartsReplaced set > > quantity (i) = '" & Val(txtQty(i)) & "' Where part_no = '" & > > txtPartsRep(i).Text & "'" Thanks Kim > > If "i" is an index in your code,you can't have it inside strSQL1. When you build the string, you have to resolve everything the way you do Val(txtQty(i)). IOW you would need to replace "quantity(i) = " with something like "Quantity" & i & " = " -- Stuart From greggs at msn.com Fri Aug 5 17:02:15 2005 From: greggs at msn.com (Gregg) Date: Fri, 5 Aug 2005 17:02:15 -0500 Subject: [AccessD] Memo field parsing References: <007f01c5992e$f3bca8e0$ce1865cb@winxp> Message-ID: Wow... thanks A.D.... I'll give it a try. ----- Original Message ----- From: A.D.Tejpal To: Access Developers discussion and problem solving Sent: Thursday, August 04, 2005 2:57 PM Subject: Re: [AccessD] Memo field parsing Gregg, For sake of demonstration, let the source table named T_Memo consist of two fields, named ID (primary key - Autonumber) and Mem (memo type). Create another table, named T_MemRef, with just one field named Ref (number type). Populate this table with just two records, with values 1 and 2 respectively. Query Q_Memo as given below, should be used as record source for your report. It involves Cartesian join between tables T_Memo and T_MemRef. In detail section of your report, drag Mem and Ref from the field list, so as to create bound controls named Mem and Ref. Make these controls hidden, set their CanGrow property to "No" and position the same un-obtrusively. Insert an unbound text box named TxtMemo. This is the text box that would actually display the contents of memo field. Set the width and fonts as desired. Set the CanGrow property of this control as well as the detail section as a whole, to "Yes". In VBA window, put the code given below, in Detail_Format event of the report. Make sure that the item "On Format" in Event tab of properties dialog box shows [Event Procedure] against it. Now, when you run the report, first three lines of the memo field will get displayed on first page and the balance portion on the next page. Similar pattern would get repeated for all records. Best wishes, A.D.Tejpal -------------- Source Query for the report (Q_Memo) ===================================== SELECT T_Memo.ID, T_MemRef.Ref, T_Memo.Mem FROM T_Memo, T_MemRef ORDER BY T_Memo.ID, T_MemRef.Ref; ===================================== Code in Report's Module ===================================== Private Sub Detail_Format(Cancel As Integer, _ FormatCount As Integer) Dim Wd As Long, Rw As Single, Mgn As Long Dim LenMem As Long, Txt As String, Lft As Long Dim LastSpace As Long, MaxRowsFirstPart Dim Mpf As Single MaxRowsFirstPart = 3 LenMem = Len(Mem) If LenMem > 0 Then Else Exit Sub End If With Me ' Set the scale mode to twips .ScaleMode = 1 ' Set Font values for report to match those of memo field. .FontName = TxtMemo.FontName .FontSize = TxtMemo.FontSize If TxtMemo.FontBold <> 0 Then .FontBold = True Else .FontBold = False End If End With ' Allow for necessary margin within a text box ' (Between its border and the content) Mgn = 170 ' This value may need fine tuning for ' best results ' Get effective width of control meant for ' displaying memo field Wd = TxtMemo.Width - Mgn ' Get the number of characters so as to make-up the ' required number of rows for first part of memo field. For Lft = 1 To LenMem Txt = Left(Mem, Lft) LastSpace = IIf(Right(Txt, 1) = " ", Lft, LastSpace) Rw = TextWidth(Txt) / Wd If Rw > MaxRowsFirstPart Then Lft = Lft - 1 Exit For End If Next Debug.Print Lft; ", "; LastSpace ' Get Multiplying factor for acceptable max location ' of last space. Mpf = (0.8 + (MaxRowsFirstPart - 1)) / MaxRowsFirstPart ' Shorten the first part to nearest space ' (if within 20 % of the end of line) If LastSpace > Mpf * Lft And LastSpace < Lft Then Lft = LastSpace End If ' Populate the unbound text box with appropriate ' part of memo field. If Ref = 1 Then TxtMemo = Left(Mem, Lft) ' Force New Page - Afer section, only if memo ' field contents not yet finished If LenMem > Lft Then Detail.ForceNewPage = 2 Else Detail.ForceNewPage = 0 ' No break End If Else TxtMemo = Mid(Mem, Lft + 1) ' Force New Page - Afer section Detail.ForceNewPage = 2 End If End Sub ===================================== ----- Original Message ----- From: Gregg To: Access Developers discussion and problem solving Cc: Robert Penn Sent: Thursday, August 04, 2005 04:19 Subject: Re: [AccessD] Memo field parsing Thanks Charlotte! I give it a try. ----- Original Message ----- From: Charlotte Foust> To: Access Developers discussion and problem solving> Sent: Wednesday, August 03, 2005 5:33 PM Subject: RE: [AccessD] Memo field parsing No, get the textwidth of the control and see if the textwidth of the text is greater than that. Handle the situation where it is not and everything fits in the first control. Otherwise get the text that fits within the control textwidth and use instrRev to find the last space in that substring. Break it there. At that point, you also know the index of the starting point for the rest of the string, so all you need to do for the next page is use the Mid(text, index) to put the rest of it into the second page. Charlotte Foust -----Original Message----- From: Gregg [mailto:greggs at msn.com] Sent: Wednesday, August 03, 2005 11:34 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Memo field parsing So, you're saying I need to loop through all the characters until I find the last whole word that will fit on the first line, the same for the second etc. until I determine what text will fit in the first page text field and use what's left for the 2nd page? ----- Original Message ----- From: Charlotte Foust>> To: Access Developers discussion and problem solving>> Sent: Wednesday, August 03, 2005 11:02 AM Subject: RE: [AccessD] Memo field parsing You can't do it by simply counting characters anyhow. You have to use the TextWidth property, which can be expressed as reportname.TextWidth(stringvariable) and compare that to the textwidth of the control ( reportname.TextWidth(controlobject) or to the maximum length you want to display. You'll also want to allow a padding factor to avoid overrunning the borders of the control and be sure and check for carriage returns because they confuse the issue. If you want to display 3 "lines", you'll have to break the memo field into the first three chunks that will fit into the textwidth of the textbox you're using to display the text on that page. Charlotte Foust -----Original Message----- From: Gregg [mailto:greggs at msn.com] Sent: Wednesday, August 03, 2005 8:43 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Memo field parsing Charlotte Physical space I think because I don't know how to get from one to the other. The number of characters is going to be dependant on the how many characters are lost to word wrapping isn't it? Is there a way to calculate the number of characters that will appear in the first three lines? If I knew that, I could do it. ----- Original Message ----- From: Charlotte Foust> m>> To: Access Developers discussion and problem solving> ors.com>> Sent: Wednesday, August 03, 2005 10:28 AM Subject: RE: [AccessD] Memo field parsing Define "first three lines". Is that a particular number of characters or a physical space? Charlotte Foust -----Original Message----- From: Gregg [mailto:greggs at msn.com] Sent: Wednesday, August 03, 2005 7:32 AM To: Access Developers discussion and problem solving Subject: [AccessD] Memo field parsing I would like to parse a memo field in a A97 report such that the first three lines is on the first page and whatever is left is on the next. Any ideas? Gregg Steinbrenner -- AccessD mailing list -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From fhtapia at gmail.com Fri Aug 5 17:32:23 2005 From: fhtapia at gmail.com (Francisco Tapia) Date: Fri, 5 Aug 2005 15:32:23 -0700 Subject: [AccessD] Online Archives Message-ID: Drew, you used to keep an archives online, but for whatever reason I'm not able to get to it... I'm trying to find that hint to tell access to always default to code builder from the Bulild Event... context menu -- -Francisco http://pcthis.blogspot.com |PC news with out the jargon! http://sqlthis.blogspot.com | Tsql and More... From dwaters at usinternet.com Fri Aug 5 17:37:21 2005 From: dwaters at usinternet.com (Dan Waters) Date: Fri, 5 Aug 2005 17:37:21 -0500 Subject: [AccessD] RE: Friday Humor In-Reply-To: <24639750.1123264359656.JavaMail.root@sniper21> Message-ID: <000001c59a0e$3fc3e6b0$0200a8c0@danwaters> "That was just wrong!", I said to myself while rolling on the floor! Dan Waters -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of dmcafee at pacbell.net Sent: Friday, August 05, 2005 1:03 PM To: Access Developers discussion and problem solving Subject: [AccessD] RE: Friday Humor Once upon a time, there was a snake, named Nate. Rather close to Nate's house there was a great road, and next to this road was a lever. The lever was ancient, and the mythology around the lever was that if you were to push it, it would trigger the end of the world. One day, Nate was slithering down the road, and he came upon the lever, and began crossing the road so he could look at it. At the same moment, a truck came careening around a corner, and the driver found himself in a dilemma: either hit the snake or end the world. Needless to say, the driver ran over Nate and went on his merry way. Moral of the Story: Better Nate than Lever -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From dwaters at usinternet.com Fri Aug 5 17:37:21 2005 From: dwaters at usinternet.com (Dan Waters) Date: Fri, 5 Aug 2005 17:37:21 -0500 Subject: [AccessD] SendObject In-Reply-To: <14134571.1123265958309.JavaMail.root@sniper21> Message-ID: <000101c59a0e$40fa1cc0$0200a8c0@danwaters> Barbara, I'm pretty sure that the DoCmd.SendObject command can only be used to send objects that are a part of the Access database, when the command is used within an Access database. To send a different file, you'll need to use something else - like SMTP email. An example of this is vbSendMail.dll, available from FreeVBCode.com. The help file for SendObject is pretty good. Dan Waters -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Barbara Ryan Sent: Friday, August 05, 2005 1:32 PM To: Access List Subject: [AccessD] SendObject I've used Docmd.SendObject to email Snapshot files. I now need to email a .txt file and am having problems. There doesn't appear to be an object type for text files. Any ideas? Thanks, Barb Ryan -- 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 Fri Aug 5 17:40:54 2005 From: donald.a.Mcgillivray at mail.sprint.com (Mcgillivray, Don [ITS]) Date: Fri, 5 Aug 2005 17:40:54 -0500 Subject: [AccessD] Online Archives Message-ID: Francisco, Tick the box next to "Always use event procedures" under Options|Forms/Reports. HTH Don From DWUTKA at marlow.com Fri Aug 5 17:41:26 2005 From: DWUTKA at marlow.com (DWUTKA at marlow.com) Date: Fri, 5 Aug 2005 17:41:26 -0500 Subject: [AccessD] Online Archives Message-ID: <123701F54509D9119A4F00D0B747349016DC29@main2.marlow.com> Sorry, my domain is offline still. Hopefully will be back up by the end of the month. Drew -----Original Message----- From: Francisco Tapia [mailto:fhtapia at gmail.com] Sent: Friday, August 05, 2005 5:32 PM To: Access Developers discussion and problem solving Subject: [AccessD] Online Archives Drew, you used to keep an archives online, but for whatever reason I'm not able to get to it... I'm trying to find that hint to tell access to always default to code builder from the Bulild Event... context menu -- -Francisco http://pcthis.blogspot.com |PC news with out the jargon! http://sqlthis.blogspot.com | Tsql and More... -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From cfoust at infostatsystems.com Fri Aug 5 18:02:40 2005 From: cfoust at infostatsystems.com (Charlotte Foust) Date: Fri, 5 Aug 2005 16:02:40 -0700 Subject: [AccessD] Online Archives Message-ID: Hmmn .... Which month is that, Drew? Charlotte Foust -----Original Message----- From: DWUTKA at marlow.com [mailto:DWUTKA at marlow.com] Sent: Friday, August 05, 2005 3:41 PM To: accessd at databaseadvisors.com Subject: RE: [AccessD] Online Archives Sorry, my domain is offline still. Hopefully will be back up by the end of the month. Drew -----Original Message----- From: Francisco Tapia [mailto:fhtapia at gmail.com] Sent: Friday, August 05, 2005 5:32 PM To: Access Developers discussion and problem solving Subject: [AccessD] Online Archives Drew, you used to keep an archives online, but for whatever reason I'm not able to get to it... I'm trying to find that hint to tell access to always default to code builder from the Bulild Event... context menu -- -Francisco http://pcthis.blogspot.com |PC news with out the jargon! http://sqlthis.blogspot.com | Tsql and More... -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From carbonnb at sympatico.ca Fri Aug 5 18:58:32 2005 From: carbonnb at sympatico.ca (Bryan Carbonnell) Date: Fri, 05 Aug 2005 19:58:32 -0400 Subject: [AccessD] Online Archives In-Reply-To: Message-ID: On 5 Aug 2005 at 15:32, Francisco Tapia wrote: > you used to keep an archives online, but for whatever reason I'm not > able to get to it... I'm trying to find that hint to tell access to > always default to code builder from the Bulild Event... context menu There's always DBAs archive at http://databaseadvisors.com/pipermail/accessd/ -- Bryan Carbonnell - carbonnb at sympatico.ca A truly happy person is one who can enjoy the scenery on a detour. From kimjwiggins at yahoo.com Fri Aug 5 22:06:05 2005 From: kimjwiggins at yahoo.com (Kim Wiggins) Date: Fri, 5 Aug 2005 20:06:05 -0700 (PDT) Subject: [AccessD] SQL statement In-Reply-To: <42F46C8B.21016.1E30726C@stuart.lexacorp.com.pg> Message-ID: <20050806030605.53985.qmail@web53603.mail.yahoo.com> Thanks Stuart. I did figure that out after the fact You are correct because it can't resolve the field name that way. Stuart McLachlan wrote:On 5 Aug 2005 at 8:06, Kim Wiggins wrote: > I'm sorry John, I didn't explain that well. It is Quantity1, etc.... The (i) is the index in my program for me to loop through the fields. > ..... > > I don't see anything. strSQL1 = "update tblRepairPartsReplaced set > > quantity (i) = '" & Val(txtQty(i)) & "' Where part_no = '" & > > txtPartsRep(i).Text & "'" Thanks Kim > > If "i" is an index in your code,you can't have it inside strSQL1. When you build the string, you have to resolve everything the way you do Val(txtQty(i)). IOW you would need to replace "quantity(i) = " with something like "Quantity" & i & " = " -- Stuart -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com __________________________________________________ Do You Yahoo!? Tired of spam? Yahoo! Mail has the best spam protection around http://mail.yahoo.com From andy at minstersystems.co.uk Sat Aug 6 02:23:26 2005 From: andy at minstersystems.co.uk (Andy Lacey) Date: Sat, 6 Aug 2005 08:23:26 +0100 Subject: [AccessD] SendObject In-Reply-To: <000101c59a0e$40fa1cc0$0200a8c0@danwaters> Message-ID: <006a01c59a57$bc8d3450$901b0c54@minster33c3r25> Dan's right. Can't use SendObject in a case like this. If your email client is Outlook you can use the Outlook object to do it though. I can send you an example if you want. -- Andy Lacey http://www.minstersystems.co.uk > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Dan Waters > Sent: 05 August 2005 23:37 > To: 'Access Developers discussion and problem solving' > Subject: RE: [AccessD] SendObject > > > Barbara, > > I'm pretty sure that the DoCmd.SendObject command can only be > used to send objects that are a part of the Access database, > when the command is used within an Access database. To send > a different file, you'll need to use something else - like > SMTP email. An example of this is vbSendMail.dll, available > from FreeVBCode.com. > > The help file for SendObject is pretty good. > > Dan Waters > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of > Barbara Ryan > Sent: Friday, August 05, 2005 1:32 PM > To: Access List > Subject: [AccessD] SendObject > > I've used Docmd.SendObject to email Snapshot files. I now > need to email a .txt file and am having problems. There > doesn't appear to be an object type for text files. > > Any ideas? > > Thanks, > Barb Ryan > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > > From BarbaraRyan at cox.net Sat Aug 6 06:03:07 2005 From: BarbaraRyan at cox.net (Barbara Ryan) Date: Sat, 6 Aug 2005 07:03:07 -0400 Subject: [AccessD] SendObject References: <006a01c59a57$bc8d3450$901b0c54@minster33c3r25> Message-ID: <001401c59a76$6d115cc0$0a00a8c0@cx470148a> Thanks for the info. Andy, that would be great if you could send an example.....Barb ----- Original Message ----- From: "Andy Lacey" To: "'Access Developers discussion and problem solving'" Sent: Saturday, August 06, 2005 3:23 AM Subject: RE: [AccessD] SendObject > Dan's right. Can't use SendObject in a case like this. If your email client > is Outlook you can use the Outlook object to do it though. I can send you an > example if you want. > > -- Andy Lacey > http://www.minstersystems.co.uk > > > -----Original Message----- > > From: accessd-bounces at databaseadvisors.com > > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Dan Waters > > Sent: 05 August 2005 23:37 > > To: 'Access Developers discussion and problem solving' > > Subject: RE: [AccessD] SendObject > > > > > > Barbara, > > > > I'm pretty sure that the DoCmd.SendObject command can only be > > used to send objects that are a part of the Access database, > > when the command is used within an Access database. To send > > a different file, you'll need to use something else - like > > SMTP email. An example of this is vbSendMail.dll, available > > from FreeVBCode.com. > > > > The help file for SendObject is pretty good. > > > > Dan Waters > > > > -----Original Message----- > > From: accessd-bounces at databaseadvisors.com > > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of > > Barbara Ryan > > Sent: Friday, August 05, 2005 1:32 PM > > To: Access List > > Subject: [AccessD] SendObject > > > > I've used Docmd.SendObject to email Snapshot files. I now > > need to email a .txt file and am having problems. There > > doesn't appear to be an object type for text files. > > > > Any ideas? > > > > Thanks, > > Barb Ryan > > -- > > AccessD mailing list > > AccessD at databaseadvisors.com > > http://databaseadvisors.com/mailman/listinfo/accessd > > Website: http://www.databaseadvisors.com > > > > -- > > AccessD mailing list > > AccessD at databaseadvisors.com > > http://databaseadvisors.com/mailman/listinfo/accessd > > 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 Aug 6 11:16:13 2005 From: accessd at shaw.ca (Jim Lawrence) Date: Sat, 06 Aug 2005 09:16:13 -0700 Subject: [AccessD] Online Archives In-Reply-To: Message-ID: <0IKT0024Y6IZV7@l-daemon> ..or http://www.databaseadvisors.com/archive/archive.htm Jim -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Bryan Carbonnell Sent: Friday, August 05, 2005 4:59 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Online Archives On 5 Aug 2005 at 15:32, Francisco Tapia wrote: > you used to keep an archives online, but for whatever reason I'm not > able to get to it... I'm trying to find that hint to tell access to > always default to code builder from the Bulild Event... context menu There's always DBAs archive at http://databaseadvisors.com/pipermail/accessd/ -- Bryan Carbonnell - carbonnb at sympatico.ca A truly happy person is one who can enjoy the scenery on a detour. -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From andy at minstersystems.co.uk Sat Aug 6 12:44:28 2005 From: andy at minstersystems.co.uk (Andy Lacey) Date: Sat, 6 Aug 2005 18:44:28 +0100 Subject: [AccessD] SendObject In-Reply-To: <001401c59a76$6d115cc0$0a00a8c0@cx470148a> Message-ID: <008901c59aae$7f0ca7d0$901b0c54@minster33c3r25> Here you go Barbara Don't forget to set a Reference to the Outlook Object Library and put in error trapping etc Function SendOutlookMessage() Dim objOutlook As Outlook.Application Dim objOutlookMsg As Outlook.MailItem Dim objOutlookRecip As Outlook.Recipient Dim objOutlookAttach As Outlook.Attachment Dim objOutlookNameSpace As Outlook.NameSpace Dim objOutlookItem As Outlook.ContactItem Dim objOutlookFolder As Object Dim lngCounter As Long Dim astrRecipients() As String Dim astrAttachments() As String Dim strSubject As String Dim strBody As String 'Put code in here to build up array of recipients and attachments 'Create the Outlook session Set objOutlook = CreateObject("Outlook.Application") Set objOutlookNameSpace = objOutlook.GetNamespace("MAPI") Set objOutlookFolder = objOutlookNameSpace.GetDefaultFolder(olFolderContacts) 'Create the message Set objOutlookMsg = objOutlook.CreateItem(olMailItem) With objOutlookMsg 'Add recipients For lngCounter = 1 To UBound(astrRecipients) Set objOutlookRecip = .Recipients.Add(astrRecipients(lngCounter)) objOutlookRecip.Type = olTo Next 'Resolve each recipients name For Each objOutlookRecip In .Recipients objOutlookRecip.Resolve Next .Subject = strSubject .Body = strBody .Importance = olImportanceNormal For lngCounter = 1 To UBound(astrAttachments) Set objOutlookAttach = .Attachments.Add(astrAttachments(lngCounter)) Next .Save .Send End With End Function HTH -- Andy Lacey http://www.minstersystems.co.uk > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of > Barbara Ryan > Sent: 06 August 2005 12:03 > To: Access Developers discussion and problem solving > Subject: Re: [AccessD] SendObject > > > Thanks for the info. Andy, that would be great if you could > send an example.....Barb > From BarbaraRyan at cox.net Sat Aug 6 14:23:24 2005 From: BarbaraRyan at cox.net (Barbara Ryan) Date: Sat, 6 Aug 2005 15:23:24 -0400 Subject: [AccessD] SendObject References: <008901c59aae$7f0ca7d0$901b0c54@minster33c3r25> Message-ID: <002601c59abc$50a8dc20$0a00a8c0@cx470148a> Thanks, Andy.... I really appreciate it!.....Barb ----- Original Message ----- From: "Andy Lacey" To: "'Access Developers discussion and problem solving'" Sent: Saturday, August 06, 2005 1:44 PM Subject: RE: [AccessD] SendObject > Here you go Barbara > > Don't forget to set a Reference to the Outlook Object Library and put in > error trapping etc > > > > Function SendOutlookMessage() > > Dim objOutlook As Outlook.Application > Dim objOutlookMsg As Outlook.MailItem > Dim objOutlookRecip As Outlook.Recipient > Dim objOutlookAttach As Outlook.Attachment > Dim objOutlookNameSpace As Outlook.NameSpace > Dim objOutlookItem As Outlook.ContactItem > Dim objOutlookFolder As Object > Dim lngCounter As Long > Dim astrRecipients() As String > Dim astrAttachments() As String > Dim strSubject As String > Dim strBody As String > > 'Put code in here to build up array of recipients and attachments > > > 'Create the Outlook session > Set objOutlook = CreateObject("Outlook.Application") > > Set objOutlookNameSpace = objOutlook.GetNamespace("MAPI") > Set objOutlookFolder = > objOutlookNameSpace.GetDefaultFolder(olFolderContacts) > > 'Create the message > Set objOutlookMsg = objOutlook.CreateItem(olMailItem) > With objOutlookMsg > 'Add recipients > For lngCounter = 1 To UBound(astrRecipients) > Set objOutlookRecip = .Recipients.Add(astrRecipients(lngCounter)) > objOutlookRecip.Type = olTo > Next > 'Resolve each recipients name > For Each objOutlookRecip In .Recipients > objOutlookRecip.Resolve > Next > .Subject = strSubject > .Body = strBody > .Importance = olImportanceNormal > For lngCounter = 1 To UBound(astrAttachments) > Set objOutlookAttach = .Attachments.Add(astrAttachments(lngCounter)) > Next > .Save > .Send > End With > > End Function > > HTH > > -- Andy Lacey > http://www.minstersystems.co.uk > > > > > -----Original Message----- > > From: accessd-bounces at databaseadvisors.com > > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of > > Barbara Ryan > > Sent: 06 August 2005 12:03 > > To: Access Developers discussion and problem solving > > Subject: Re: [AccessD] SendObject > > > > > > Thanks for the info. Andy, that would be great if you could > > send an example.....Barb > > > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com From dmcafee at pacbell.net Sat Aug 6 16:14:48 2005 From: dmcafee at pacbell.net (dmcafee at pacbell.net) Date: Sat, 6 Aug 2005 14:14:48 -0700 Subject: [AccessD] SendObject In-Reply-To: <002601c59abc$50a8dc20$0a00a8c0@cx470148a> Message-ID: If you are using Outlook 2000 SP2 or higher, you will also have to deal with confirming that the email is good. Another thing you can try is blat. List member Francisco Tapia has a great sample on rogersaccesslibrary under other developers. Blat runs behind the scenes and we added it to the error handling. This is the way Outlook SHOULD (and used to) work. David -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Barbara Ryan Sent: Saturday, August 06, 2005 12:23 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] SendObject Thanks, Andy.... I really appreciate it!.....Barb ----- Original Message ----- From: "Andy Lacey" To: "'Access Developers discussion and problem solving'" Sent: Saturday, August 06, 2005 1:44 PM Subject: RE: [AccessD] SendObject > Here you go Barbara > > Don't forget to set a Reference to the Outlook Object Library and put in > error trapping etc > > > > Function SendOutlookMessage() > > Dim objOutlook As Outlook.Application > Dim objOutlookMsg As Outlook.MailItem > Dim objOutlookRecip As Outlook.Recipient > Dim objOutlookAttach As Outlook.Attachment > Dim objOutlookNameSpace As Outlook.NameSpace > Dim objOutlookItem As Outlook.ContactItem > Dim objOutlookFolder As Object > Dim lngCounter As Long > Dim astrRecipients() As String > Dim astrAttachments() As String > Dim strSubject As String > Dim strBody As String > > 'Put code in here to build up array of recipients and attachments > > > 'Create the Outlook session > Set objOutlook = CreateObject("Outlook.Application") > > Set objOutlookNameSpace = objOutlook.GetNamespace("MAPI") > Set objOutlookFolder = > objOutlookNameSpace.GetDefaultFolder(olFolderContacts) > > 'Create the message > Set objOutlookMsg = objOutlook.CreateItem(olMailItem) > With objOutlookMsg > 'Add recipients > For lngCounter = 1 To UBound(astrRecipients) > Set objOutlookRecip = .Recipients.Add(astrRecipients(lngCounter)) > objOutlookRecip.Type = olTo > Next > 'Resolve each recipients name > For Each objOutlookRecip In .Recipients > objOutlookRecip.Resolve > Next > .Subject = strSubject > .Body = strBody > .Importance = olImportanceNormal > For lngCounter = 1 To UBound(astrAttachments) > Set objOutlookAttach = .Attachments.Add(astrAttachments(lngCounter)) > Next > .Save > .Send > End With > > End Function > > HTH > > -- Andy Lacey > http://www.minstersystems.co.uk From BarbaraRyan at cox.net Sat Aug 6 18:20:20 2005 From: BarbaraRyan at cox.net (Barbara Ryan) Date: Sat, 6 Aug 2005 19:20:20 -0400 Subject: [AccessD] SendObject References: Message-ID: <008301c59add$6a12e400$0a00a8c0@cx470148a> David.... Does "confirming that the email is good" mean confirming that the email address is valid?....Barb ----- Original Message ----- From: To: "Access Developers discussion and problem solving" Sent: Saturday, August 06, 2005 5:14 PM Subject: RE: [AccessD] SendObject > If you are using Outlook 2000 SP2 or higher, you will also have to deal with > confirming that the email is good. > > Another thing you can try is blat. List member Francisco Tapia has a great > sample on rogersaccesslibrary under other developers. Blat runs behind the > scenes and we added it to the error handling. This is the way Outlook SHOULD > (and used to) work. > > David > > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Barbara Ryan > Sent: Saturday, August 06, 2005 12:23 PM > To: Access Developers discussion and problem solving > Subject: Re: [AccessD] SendObject > > > Thanks, Andy.... I really appreciate it!.....Barb > > > > ----- Original Message ----- > From: "Andy Lacey" > To: "'Access Developers discussion and problem solving'" > > Sent: Saturday, August 06, 2005 1:44 PM > Subject: RE: [AccessD] SendObject > > > > Here you go Barbara > > > > Don't forget to set a Reference to the Outlook Object Library and put in > > error trapping etc > > > > > > > > Function SendOutlookMessage() > > > > Dim objOutlook As Outlook.Application > > Dim objOutlookMsg As Outlook.MailItem > > Dim objOutlookRecip As Outlook.Recipient > > Dim objOutlookAttach As Outlook.Attachment > > Dim objOutlookNameSpace As Outlook.NameSpace > > Dim objOutlookItem As Outlook.ContactItem > > Dim objOutlookFolder As Object > > Dim lngCounter As Long > > Dim astrRecipients() As String > > Dim astrAttachments() As String > > Dim strSubject As String > > Dim strBody As String > > > > 'Put code in here to build up array of recipients and attachments > > > > > > 'Create the Outlook session > > Set objOutlook = CreateObject("Outlook.Application") > > > > Set objOutlookNameSpace = objOutlook.GetNamespace("MAPI") > > Set objOutlookFolder = > > objOutlookNameSpace.GetDefaultFolder(olFolderContacts) > > > > 'Create the message > > Set objOutlookMsg = objOutlook.CreateItem(olMailItem) > > With objOutlookMsg > > 'Add recipients > > For lngCounter = 1 To UBound(astrRecipients) > > Set objOutlookRecip = .Recipients.Add(astrRecipients(lngCounter)) > > objOutlookRecip.Type = olTo > > Next > > 'Resolve each recipients name > > For Each objOutlookRecip In .Recipients > > objOutlookRecip.Resolve > > Next > > .Subject = strSubject > > .Body = strBody > > .Importance = olImportanceNormal > > For lngCounter = 1 To UBound(astrAttachments) > > Set objOutlookAttach = .Attachments.Add(astrAttachments(lngCounter)) > > Next > > .Save > > .Send > > End With > > > > End Function > > > > HTH > > > > -- Andy Lacey > > http://www.minstersystems.co.uk > > -- > 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 Aug 6 18:58:07 2005 From: stuart at lexacorp.com.pg (Stuart McLachlan) Date: Sun, 07 Aug 2005 09:58:07 +1000 Subject: [AccessD] SendObject In-Reply-To: <008301c59add$6a12e400$0a00a8c0@cx470148a> Message-ID: <42F5DB2F.20473.23C896E6@stuart.lexacorp.com.pg> On 6 Aug 2005 at 19:20, Barbara Ryan wrote: > David.... Does "confirming that the email is good" mean confirming that the > email address is valid?....Barb > > No, he's talking about that annoying popup telling you that a program is trying to send a message and asking you to confirm that it is allowed to do so. -- Stuart From DWUTKA at marlow.com Sat Aug 6 22:02:23 2005 From: DWUTKA at marlow.com (DWUTKA at marlow.com) Date: Sat, 6 Aug 2005 22:02:23 -0500 Subject: [AccessD] Online Archives Message-ID: <123701F54509D9119A4F00D0B747349016DC32@main2.marlow.com> August...though it may be September the way things are going.... Drew -----Original Message----- From: Charlotte Foust [mailto:cfoust at infostatsystems.com] Sent: Friday, August 05, 2005 6:03 PM To: Access Developers discussion and problem solving Subject: RE: [AccessD] Online Archives Hmmn .... Which month is that, Drew? Charlotte Foust -----Original Message----- From: DWUTKA at marlow.com [mailto:DWUTKA at marlow.com] Sent: Friday, August 05, 2005 3:41 PM To: accessd at databaseadvisors.com Subject: RE: [AccessD] Online Archives Sorry, my domain is offline still. Hopefully will be back up by the end of the month. Drew -----Original Message----- From: Francisco Tapia [mailto:fhtapia at gmail.com] Sent: Friday, August 05, 2005 5:32 PM To: Access Developers discussion and problem solving Subject: [AccessD] Online Archives Drew, you used to keep an archives online, but for whatever reason I'm not able to get to it... I'm trying to find that hint to tell access to always default to code builder from the Bulild Event... context menu -- -Francisco http://pcthis.blogspot.com |PC news with out the jargon! http://sqlthis.blogspot.com | Tsql and More... -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd 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 Sun Aug 7 02:27:35 2005 From: andy at minstersystems.co.uk (Andy Lacey) Date: Sun, 7 Aug 2005 08:27:35 +0100 Subject: [AccessD] SendObject In-Reply-To: <42F5DB2F.20473.23C896E6@stuart.lexacorp.com.pg> Message-ID: <009c01c59b21$7b7469a0$901b0c54@minster33c3r25> Barbara If you are on Outlook XP, or SP2 of 2000, then you will get a security popup from Outlook each time you use that code, asking if it's ok for the program that's running to use Outlook. If you get it, and it's a problem to you, then there's a free 3rd-party utility called Redemption, that a lot of list members use, that gets around it. If you need it then go to http://www.dimastr.com/redemption/ and get it and install it. I can then, if you want, send another version of the code modified for Redemption. -- Andy Lacey http://www.minstersystems.co.uk > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of > Stuart McLachlan > Sent: 07 August 2005 00:58 > To: Access Developers discussion and problem solving > Subject: Re: [AccessD] SendObject > > > On 6 Aug 2005 at 19:20, Barbara Ryan wrote: > > > David.... Does "confirming that the email is good" mean confirming > > that the email address is valid?....Barb > > > > > > No, he's talking about that annoying popup telling you that a > program is > trying to send a message and asking you to confirm that it is > allowed to do > so. > > -- > Stuart > > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > > From John.Clark at niagaracounty.com Mon Aug 8 08:18:55 2005 From: John.Clark at niagaracounty.com (John Clark) Date: Mon, 08 Aug 2005 09:18:55 -0400 Subject: [AccessD] Security Problem w/existing program Message-ID: Somebody at work came to me w/a problem today. Their program, which runs on a Citrix box, is written in AXP, so they figured I could help them. I am feeling a little dumb though because I'm not getting anywhere w/it. The program is working fine actually, but the security has disappeared. Now, I don't have much experience with Access security to begin with, but I have been able to muddle my through it, in the past. However, everything I've dealt with in the past seemed to include an MDW file, but no such animal exists in this environment (did this go away with XP?). I looked at a backup directory they have and it isn't there either, which leads me to believe it is not just missing. Instead however, there are a bunch of files I have never worked with (i.e. .MDO, .MOD, .ODB, .MDA, .MOA). I found nothing, in a search, for .MDO files, but I found out that .MDA files are "Access Add-ins." I am now wondering if this is using some add-in that supercedes standard security procedures. When working though, I believe it acts the same way...they still go into DB security and manipulate workgroups and users, and their rights. Does anyone have any ideas of how I can troubleshoot this? I realize I may not be giving enough info, but I really don't know what else to add, at this point, so just ask if you need it. I am headed back into it now, but I'll check back in a bit to see what y'all might have for me. Thank you! John W Clark From jimdettman at earthlink.net Mon Aug 8 08:29:28 2005 From: jimdettman at earthlink.net (Jim Dettman) Date: Mon, 8 Aug 2005 09:29:28 -0400 Subject: [AccessD] Security Problem w/existing program In-Reply-To: Message-ID: John, <> Please define "disappeared". What is or is not happening? << I am now wondering if this is using some add-in that supercedes standard security procedures.>> Access databases can have any extention and still execute (except for LDB). It is possible that the developer has implemented their own security setup within the app and Access security is not being used. I would also ask; Has anything changed recently? Hardware, software, OS, setup, etc. Jim. -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of John Clark Sent: Monday, August 08, 2005 9:19 AM To: accessd at databaseadvisors.com Subject: [AccessD] Security Problem w/existing program Somebody at work came to me w/a problem today. Their program, which runs on a Citrix box, is written in AXP, so they figured I could help them. I am feeling a little dumb though because I'm not getting anywhere w/it. The program is working fine actually, but the security has disappeared. Now, I don't have much experience with Access security to begin with, but I have been able to muddle my through it, in the past. However, everything I've dealt with in the past seemed to include an MDW file, but no such animal exists in this environment (did this go away with XP?). I looked at a backup directory they have and it isn't there either, which leads me to believe it is not just missing. Instead however, there are a bunch of files I have never worked with (i.e. .MDO, .MOD, .ODB, .MDA, .MOA). I found nothing, in a search, for .MDO files, but I found out that .MDA files are "Access Add-ins." I am now wondering if this is using some add-in that supercedes standard security procedures. When working though, I believe it acts the same way...they still go into DB security and manipulate workgroups and users, and their rights. Does anyone have any ideas of how I can troubleshoot this? I realize I may not be giving enough info, but I really don't know what else to add, at this point, so just ask if you need it. I am headed back into it now, but I'll check back in a bit to see what y'all might have for me. Thank you! John W Clark -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From John.Clark at niagaracounty.com Mon Aug 8 09:04:33 2005 From: John.Clark at niagaracounty.com (John Clark) Date: Mon, 08 Aug 2005 10:04:33 -0400 Subject: [AccessD] Security Problem w/existing program Message-ID: We got it working. Somehow the shortcut was changed, and it was missing "/user" at the end of the command line. Without this, the program just opened up, but was the same user, with limited rights, for everyone (this is what I meant by missing...no login). Although it is now working, the user has to enter their password, which was automated before. It used to bring in their Citrix login ID or of the Windows server it is on. Maybe y'all know how to do this? What is the syntax, in a shortcut, to drag in a users Windows ID? I am glad I asked for help though, because I did learn something. I hadn't realized that the extensions could be changed. I am going to look into this a little more, because it may be useful for me. >>> jimdettman at earthlink.net 8/8/2005 9:29 AM >>> John, <> Please define "disappeared". What is or is not happening? << I am now wondering if this is using some add-in that supercedes standard security procedures.>> Access databases can have any extention and still execute (except for LDB). It is possible that the developer has implemented their own security setup within the app and Access security is not being used. I would also ask; Has anything changed recently? Hardware, software, OS, setup, etc. Jim. -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of John Clark Sent: Monday, August 08, 2005 9:19 AM To: accessd at databaseadvisors.com Subject: [AccessD] Security Problem w/existing program Somebody at work came to me w/a problem today. Their program, which runs on a Citrix box, is written in AXP, so they figured I could help them. I am feeling a little dumb though because I'm not getting anywhere w/it. The program is working fine actually, but the security has disappeared. Now, I don't have much experience with Access security to begin with, but I have been able to muddle my through it, in the past. However, everything I've dealt with in the past seemed to include an MDW file, but no such animal exists in this environment (did this go away with XP?). I looked at a backup directory they have and it isn't there either, which leads me to believe it is not just missing. Instead however, there are a bunch of files I have never worked with (i.e. .MDO, .MOD, .ODB, .MDA, .MOA). I found nothing, in a search, for .MDO files, but I found out that .MDA files are "Access Add-ins." I am now wondering if this is using some add-in that supercedes standard security procedures. When working though, I believe it acts the same way...they still go into DB security and manipulate workgroups and users, and their rights. Does anyone have any ideas of how I can troubleshoot this? I realize I may not be giving enough info, but I really don't know what else to add, at this point, so just ask if you need it. I am headed back into it now, but I'll check back in a bit to see what y'all might have for me. Thank you! John W Clark -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd 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 Aug 8 09:42:07 2005 From: jimdettman at earthlink.net (Jim Dettman) Date: Mon, 8 Aug 2005 10:42:07 -0400 Subject: [AccessD] Security Problem w/existing program In-Reply-To: Message-ID: John, <> Assuming that Access security is being used, that means that the Admin account has a blank password. Access user-level security is always on, but by default, JET tries a login with a username of admin and a blank password first. If that succeeds, then the login is bypassed. It's possible to secure a databases in such a way that you can leave the default login like this, but give the admin user limited rights. << It used to bring in their Citrix login ID or of the Windows server it is on. Maybe y'all know how to do this? What is the syntax, in a shortcut, to drag in a users Windows ID?>> They must have had some type of "launcher" app that created the shortcut on the fly. <> A lot of folks don't realize it. MDA's, MDW's, etc are all MDB's and Access really doesn't care about the extension at all. Some MDA's are distributed as an "MDE" (no source code) ala the Wizards back with A95. Like my mom always said; it's what is inside that counts. Jim. -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of John Clark Sent: Monday, August 08, 2005 10:05 AM To: accessd at databaseadvisors.com Subject: RE: [AccessD] Security Problem w/existing program We got it working. Somehow the shortcut was changed, and it was missing "/user" at the end of the command line. Without this, the program just opened up, but was the same user, with limited rights, for everyone (this is what I meant by missing...no login). Although it is now working, the user has to enter their password, which was automated before. It used to bring in their Citrix login ID or of the Windows server it is on. Maybe y'all know how to do this? What is the syntax, in a shortcut, to drag in a users Windows ID? I am glad I asked for help though, because I did learn something. I hadn't realized that the extensions could be changed. I am going to look into this a little more, because it may be useful for me. >>> jimdettman at earthlink.net 8/8/2005 9:29 AM >>> John, <> Please define "disappeared". What is or is not happening? << I am now wondering if this is using some add-in that supercedes standard security procedures.>> Access databases can have any extention and still execute (except for LDB). It is possible that the developer has implemented their own security setup within the app and Access security is not being used. I would also ask; Has anything changed recently? Hardware, software, OS, setup, etc. Jim. -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of John Clark Sent: Monday, August 08, 2005 9:19 AM To: accessd at databaseadvisors.com Subject: [AccessD] Security Problem w/existing program Somebody at work came to me w/a problem today. Their program, which runs on a Citrix box, is written in AXP, so they figured I could help them. I am feeling a little dumb though because I'm not getting anywhere w/it. The program is working fine actually, but the security has disappeared. Now, I don't have much experience with Access security to begin with, but I have been able to muddle my through it, in the past. However, everything I've dealt with in the past seemed to include an MDW file, but no such animal exists in this environment (did this go away with XP?). I looked at a backup directory they have and it isn't there either, which leads me to believe it is not just missing. Instead however, there are a bunch of files I have never worked with (i.e. .MDO, .MOD, .ODB, .MDA, .MOA). I found nothing, in a search, for .MDO files, but I found out that .MDA files are "Access Add-ins." I am now wondering if this is using some add-in that supercedes standard security procedures. When working though, I believe it acts the same way...they still go into DB security and manipulate workgroups and users, and their rights. Does anyone have any ideas of how I can troubleshoot this? I realize I may not be giving enough info, but I really don't know what else to add, at this point, so just ask if you need it. I am headed back into it now, but I'll check back in a bit to see what y'all might have for me. Thank you! John W Clark -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From cyx5 at cdc.gov Mon Aug 8 09:56:37 2005 From: cyx5 at cdc.gov (Nicholson, Karen) Date: Mon, 8 Aug 2005 10:56:37 -0400 Subject: FW: [AccessD] Access 2003 Reports Not Working Message-ID: For reference, I found out why Access 2003 was not responding to anything to do with the world of Printing on my end-user's pc. The security settings for the default printer were not set up with enough freedom for the user to do much - she could print from other applications in the 2003 suite but not Access 2003. WIERD. From fhtapia at gmail.com Mon Aug 8 10:36:08 2005 From: fhtapia at gmail.com (Francisco Tapia) Date: Mon, 8 Aug 2005 08:36:08 -0700 Subject: [AccessD] Online Archives In-Reply-To: References: Message-ID: Thanks, This is what I was looking for... On 8/5/05, Mcgillivray, Don [ITS] wrote: > > Francisco, > > Tick the box next to "Always use event procedures" under > Options|Forms/Reports. > > HTH > > Don > > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > -- -Francisco http://pcthis.blogspot.com |PC news with out the jargon! http://sqlthis.blogspot.com | Tsql and More... From roz.clarke at donnslaw.co.uk Mon Aug 8 11:31:34 2005 From: roz.clarke at donnslaw.co.uk (Roz Clarke) Date: Mon, 8 Aug 2005 17:31:34 +0100 Subject: [AccessD] ADO - 424 error Message-ID: <61F915314798D311A2F800A0C9C8318807225E4E@dibble.observatory.donnslaw.co.uk> Hi all I am getting a 424 error (object required) at the line in the code below which opens an ADO recordset: Dim cnn As New ADODB.Connection Dim rs_ReqList As ADODB.Recordset 'temp requests list for filtering rs_Req Dim strSQL As String Set cnn = CurrentProject.Connection Set rs_ReqList = New ADODB.Recordset DoCmd.RunSQL "DELETE FROM tblTemp_AddDelegates" strSQL = "SELECT * from tblTemp_AddDelegates" rsReqList.Open strSQL, cnn, adOpenDynamic, adLockOptimistic, adCmdTable In my experience, a 424 error is usually associated with a missing reference, however my ADO reference is fine and I can open other recordsets. It fails the same way if I pass the table name in instead of using a SQL string. I have identical code running in another database (different table obviously) that works fine, and the fact that the table is empty shouldn't cause a problem... Anyone got any ideas? It looks so simple I can't believe it's not working /em bangs head on table TIA Roz -------------- next part -------------- The contents of this message and any attachments are the property of Donns Solicitors and are intended for the confidential use of the named recipient only. They may be legally privileged and should not be communicated to, or relied upon, by any other party without our written consent. If you are not the addressee, please notify us immediately so that we can make arrangements for its return. You should not show this e-mail to any person or take copies as you may be committing a criminal or civil offence for which you may be liable. The statement and opinions expressed in this e-mail message are those of the writer, and do not necessarily represent that of Donns Solicitors. Although any files attached to this e-mail will have been checked with virus protection software prior to transmission, you should carry out your own virus check before opening any attachment. Donns Solicitors does not accept any liability for any damage or loss which may be caused by software viruses... From cfoust at infostatsystems.com Mon Aug 8 11:50:32 2005 From: cfoust at infostatsystems.com (Charlotte Foust) Date: Mon, 8 Aug 2005 09:50:32 -0700 Subject: [AccessD] ADO - 424 error Message-ID: What happens if you simply execute the DELETE SQL on the connection instead of reverting to DAO to RunSQL? Does that make a difference? I would expect the Open statement to need an adCmdText if you are passing in a SQL string rather than a table name. And is the table local or linked? Charlotte Foust -----Original Message----- From: Roz Clarke [mailto:roz.clarke at donnslaw.co.uk] Sent: Monday, August 08, 2005 9:32 AM To: 'Access Developers discussion and problem solving' Subject: [AccessD] ADO - 424 error Hi all I am getting a 424 error (object required) at the line in the code below which opens an ADO recordset: Dim cnn As New ADODB.Connection Dim rs_ReqList As ADODB.Recordset 'temp requests list for filtering rs_Req Dim strSQL As String Set cnn = CurrentProject.Connection Set rs_ReqList = New ADODB.Recordset DoCmd.RunSQL "DELETE FROM tblTemp_AddDelegates" strSQL = "SELECT * from tblTemp_AddDelegates" rsReqList.Open strSQL, cnn, adOpenDynamic, adLockOptimistic, adCmdTable In my experience, a 424 error is usually associated with a missing reference, however my ADO reference is fine and I can open other recordsets. It fails the same way if I pass the table name in instead of using a SQL string. I have identical code running in another database (different table obviously) that works fine, and the fact that the table is empty shouldn't cause a problem... Anyone got any ideas? It looks so simple I can't believe it's not working /em bangs head on table TIA Roz From Lambert.Heenan at AIG.com Mon Aug 8 11:50:21 2005 From: Lambert.Heenan at AIG.com (Heenan, Lambert) Date: Mon, 8 Aug 2005 12:50:21 -0400 Subject: [AccessD] Fw: ICE - In Case of Emergency Message-ID: <1D7828CDB8350747AFE9D69E0E90DA1F14254EBD@xlivmbx21.aig.com> Re " Fw: ICE - In Case of Emergency " So I watched this thread being discussed for a couple of days. I ignored it for most of the time and then finally gave in to temptation and posted a reply. BAM! Back comes your 'please take it OT' message within a couple of hours. AFAIKS no one else was offered this advice. Should I feel paranoid? Lambert From jwcolby at colbyconsulting.com Mon Aug 8 12:00:06 2005 From: jwcolby at colbyconsulting.com (John W. Colby) Date: Mon, 08 Aug 2005 13:00:06 -0400 Subject: [AccessD] Fw: ICE - In Case of Emergency In-Reply-To: <1D7828CDB8350747AFE9D69E0E90DA1F14254EBD@xlivmbx21.aig.com> Message-ID: <00d601c59c3a$a0bdb2b0$6c7aa8c0@ColbyM6805> >Should I feel paranoid? Yes, we are out to get you. John W. Colby www.ColbyConsulting.com Contribute your unused CPU cycles to a good cause: http://folding.stanford.edu/ -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Heenan, Lambert Sent: Monday, August 08, 2005 12:50 PM To: 'accessd at databaseadvisors.com' Cc: 'ACCESS-L Email (ACCESS-L at PEACH.EASE.LSOFT.COM)' Subject: [AccessD] Fw: ICE - In Case of Emergency Re " Fw: ICE - In Case of Emergency " So I watched this thread being discussed for a couple of days. I ignored it for most of the time and then finally gave in to temptation and posted a reply. BAM! Back comes your 'please take it OT' message within a couple of hours. AFAIKS no one else was offered this advice. Should I feel paranoid? Lambert -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From Gustav at cactus.dk Mon Aug 8 12:01:26 2005 From: Gustav at cactus.dk (Gustav Brock) Date: Mon, 08 Aug 2005 19:01:26 +0200 Subject: [AccessD] ADO - 424 error Message-ID: Hi Roz Try this: rsReqList.Open strSQL, cnn, adOpenKeyset, adLockOptimistic or rsReqList.Open "tblTemp_AddDelegates", cnn, adOpenKeyset, adLockOptimistic, adCmdTable And, as Charlotte suggests, use .Execute ... /gustav >>> roz.clarke at donnslaw.co.uk 08/08 6:31 pm >>> Hi all I am getting a 424 error (object required) at the line in the code below which opens an ADO recordset: Dim cnn As New ADODB.Connection Dim rs_ReqList As ADODB.Recordset 'temp requests list for filtering rs_Req Dim strSQL As String Set cnn = CurrentProject.Connection Set rs_ReqList = New ADODB.Recordset DoCmd.RunSQL "DELETE FROM tblTemp_AddDelegates" strSQL = "SELECT * from tblTemp_AddDelegates" rsReqList.Open strSQL, cnn, adOpenDynamic, adLockOptimistic, adCmdTable In my experience, a 424 error is usually associated with a missing reference, however my ADO reference is fine and I can open other recordsets. It fails the same way if I pass the table name in instead of using a SQL string. I have identical code running in another database (different table obviously) that works fine, and the fact that the table is empty shouldn't cause a problem... Anyone got any ideas? It looks so simple I can't believe it's not working /em bangs head on table TIA Roz From martyconnelly at shaw.ca Mon Aug 8 12:50:45 2005 From: martyconnelly at shaw.ca (MartyConnelly) Date: Mon, 08 Aug 2005 10:50:45 -0700 Subject: FW: [AccessD] Access 2003 Reports Not Working References: Message-ID: <42F79B75.2040800@shaw.ca> One thing I do, if I run into this problem and I have install rights is put up a PDF printer driver Adobe, cutepdf or amyuni. This guarantees there is at least one printer on the machine albeit a virtual one, that prints to a file Nicholson, Karen wrote: > For reference, I found out why Access 2003 was not responding to >anything to do with the world of Printing on my end-user's pc. The >security settings for the default printer were not set up with enough >freedom for the user to do much - she could print from other >applications in the 2003 suite but not Access 2003. WIERD. > > > -- Marty Connelly Victoria, B.C. Canada From martyconnelly at shaw.ca Mon Aug 8 13:01:59 2005 From: martyconnelly at shaw.ca (MartyConnelly) Date: Mon, 08 Aug 2005 11:01:59 -0700 Subject: [AccessD] Security Problem w/existing program References: Message-ID: <42F79E17.4080706@shaw.ca> I wouldn't mind a peek at your shortcut command line, curious if you also have a workgroup file there. or you are using the default system.mdw It could also be that your original shortcut command line was running a .vbs file to start things off like below. You could add code here to determine login id etc. I trust you have sent off the local villagers with pitchforks and torches to hunt down the original program documentor. 'Begin VBScript dim Ws dim s set Ws = CreateObject("Wscript.Shell") s = """d:\program files\microsoft office\office\msaccess""" & _ " " & """f:\access\testarea\test.mdb?""" & " /compact" ws.run s,,-1 s = """d:\program files\microsoft office\office\msaccess""" & _ " " & """f:\access\testarea\test.mdb?""" ws.run s,,0 wscript.quit(0) 'End VBScript John Clark wrote: >We got it working. Somehow the shortcut was changed, and it was missing >"/user" at the end of the command line. Without this, the program just >opened up, but was the same user, with limited rights, for everyone >(this is what I meant by missing...no login). > >Although it is now working, the user has to enter their password, which >was automated before. It used to bring in their Citrix login ID or of >the Windows server it is on. Maybe y'all know how to do this? What is >the syntax, in a shortcut, to drag in a users Windows ID? > >I am glad I asked for help though, because I did learn something. I >hadn't realized that the extensions could be changed. I am going to look >into this a little more, because it may be useful for me. > > > >>>>jimdettman at earthlink.net 8/8/2005 9:29 AM >>> >>>> >>>> >John, > ><disappeared.>> > > Please define "disappeared". What is or is not happening? > ><< I am >now wondering if this is using some add-in that supercedes standard >security procedures.>> > > Access databases can have any extention and still execute (except >for >LDB). It is possible that the developer has implemented their own >security >setup within the app and Access security is not being used. > > I would also ask; Has anything changed recently? Hardware, software, >OS, >setup, etc. > >Jim. > > >-----Original Message----- >From: accessd-bounces at databaseadvisors.com >[mailto:accessd-bounces at databaseadvisors.com]On Behalf Of John Clark >Sent: Monday, August 08, 2005 9:19 AM >To: accessd at databaseadvisors.com >Subject: [AccessD] Security Problem w/existing program > > >Somebody at work came to me w/a problem today. Their program, which >runs >on a Citrix box, is written in AXP, so they figured I could help them. >I >am feeling a little dumb though because I'm not getting anywhere w/it. > >The program is working fine actually, but the security has >disappeared. >Now, I don't have much experience with Access security to begin with, >but I have been able to muddle my through it, in the past. However, >everything I've dealt with in the past seemed to include an MDW file, >but no such animal exists in this environment (did this go away with >XP?). I looked at a backup directory they have and it isn't there >either, which leads me to believe it is not just missing. > >Instead however, there are a bunch of files I have never worked with >(i.e. .MDO, .MOD, .ODB, .MDA, .MOA). I found nothing, in a search, for >.MDO files, but I found out that .MDA files are "Access Add-ins." I am >now wondering if this is using some add-in that supercedes standard >security procedures. When working though, I believe it acts the same >way...they still go into DB security and manipulate workgroups and >users, and their rights. > >Does anyone have any ideas of how I can troubleshoot this? I realize I >may not be giving enough info, but I really don't know what else to >add, >at this point, so just ask if you need it. I am headed back into it >now, >but I'll check back in a bit to see what y'all might have for me. > >Thank you! > >John W Clark >-- >AccessD mailing list >AccessD at databaseadvisors.com >http://databaseadvisors.com/mailman/listinfo/accessd >Website: http://www.databaseadvisors.com > > > > -- Marty Connelly Victoria, B.C. Canada From Lambert.Heenan at AIG.com Mon Aug 8 13:02:57 2005 From: Lambert.Heenan at AIG.com (Heenan, Lambert) Date: Mon, 8 Aug 2005 14:02:57 -0400 Subject: [AccessD] Fw: ICE - In Case of Emergency Message-ID: <1D7828CDB8350747AFE9D69E0E90DA1F14254F0F@xlivmbx21.aig.com> But I though the saying went... 'just because everyone is out to get you it does not mean you are paranoid'? -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of John W. Colby Sent: Monday, August 08, 2005 1:00 PM To: 'Access Developers discussion and problem solving' Subject: RE: [AccessD] Fw: ICE - In Case of Emergency >Should I feel paranoid? Yes, we are out to get you. John W. Colby www.ColbyConsulting.com From jwcolby at colbyconsulting.com Mon Aug 8 13:14:05 2005 From: jwcolby at colbyconsulting.com (John W. Colby) Date: Mon, 08 Aug 2005 14:14:05 -0400 Subject: [AccessD] OT: Spread the word - USA ONLY Message-ID: <00e301c59c44$f9ef35c0$6c7aa8c0@ColbyM6805> https://www.optoutprescreen.com/?rf=t A web site to specifically opt out of credit card and insurance junk mail (USA only). John W. Colby www.ColbyConsulting.com Contribute your unused CPU cycles to a good cause: http://folding.stanford.edu/ From cfoust at infostatsystems.com Mon Aug 8 13:17:13 2005 From: cfoust at infostatsystems.com (Charlotte Foust) Date: Mon, 8 Aug 2005 11:17:13 -0700 Subject: [AccessD] Fw: ICE - In Case of Emergency Message-ID: No, you have that wrong. It's, "Just because you're paranoid it doesn't mean they're not out to get you!" Charlotte Foust -----Original Message----- From: Heenan, Lambert [mailto:Lambert.Heenan at aig.com] Sent: Monday, August 08, 2005 11:03 AM To: 'Access Developers discussion and problem solving' Subject: RE: [AccessD] Fw: ICE - In Case of Emergency But I though the saying went... 'just because everyone is out to get you it does not mean you are paranoid'? -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of John W. Colby Sent: Monday, August 08, 2005 1:00 PM To: 'Access Developers discussion and problem solving' Subject: RE: [AccessD] Fw: ICE - In Case of Emergency >Should I feel paranoid? Yes, we are out to get you. John W. Colby www.ColbyConsulting.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From Lambert.Heenan at AIG.com Mon Aug 8 13:34:14 2005 From: Lambert.Heenan at AIG.com (Heenan, Lambert) Date: Mon, 8 Aug 2005 14:34:14 -0400 Subject: [AccessD] Fw: ICE - In Case of Emergency Message-ID: <1D7828CDB8350747AFE9D69E0E90DA1F14254F31@xlivmbx21.aig.com> Ah yes. I remember now. That way just the way my therapist put it as he was hitting me over the head with a copy of the Access Developer's handbook. :-) -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Charlotte Foust Sent: Monday, August 08, 2005 2:17 PM To: Access Developers discussion and problem solving Subject: RE: [AccessD] Fw: ICE - In Case of Emergency No, you have that wrong. It's, "Just because you're paranoid it doesn't mean they're not out to get you!" Charlotte Foust -----Original Message----- From: Heenan, Lambert [mailto:Lambert.Heenan at aig.com] Sent: Monday, August 08, 2005 11:03 AM To: 'Access Developers discussion and problem solving' Subject: RE: [AccessD] Fw: ICE - In Case of Emergency But I though the saying went... 'just because everyone is out to get you it does not mean you are paranoid'? -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of John W. Colby Sent: Monday, August 08, 2005 1:00 PM To: 'Access Developers discussion and problem solving' Subject: RE: [AccessD] Fw: ICE - In Case of Emergency >Should I feel paranoid? Yes, we are out to get you. 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 andy at minstersystems.co.uk Mon Aug 8 14:15:40 2005 From: andy at minstersystems.co.uk (Andy Lacey) Date: Mon, 8 Aug 2005 20:15:40 +0100 Subject: [AccessD] Fw: ICE - In Case of Emergency In-Reply-To: <1D7828CDB8350747AFE9D69E0E90DA1F14254EBD@xlivmbx21.aig.com> Message-ID: <000001c59c4d$90e1d020$901b0c54@minster33c3r25> Hi Lambert The request to take it to OT was to the thread not to you personally. I just replied, as normally, to the last message on the thread. That just happened to be yours. So I'm sorry if you were upset/offended/taken aback or whatever but there was absolutely nothing aimed specifically at you. I was in fact responding to a direct request to the moderators to intervene, cos, for better or worse, that's our 'job'. Cheers -- Andy Lacey http://www.minstersystems.co.uk > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of > Heenan, Lambert > Sent: 08 August 2005 17:50 > To: 'accessd at databaseadvisors.com' > Cc: 'ACCESS-L Email (ACCESS-L at PEACH.EASE.LSOFT.COM)' > Subject: [AccessD] Fw: ICE - In Case of Emergency > > > Re " > Fw: ICE - In Case of Emergency " So I watched this thread being discussed for a couple of days. I ignored it for most of the time and then finally gave in to temptation and posted a reply. BAM! Back comes your 'please take it OT' message within a couple of hours. AFAIKS no one else was offered this advice. Should I feel paranoid? Lambert -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From artful at rogers.com Mon Aug 8 17:17:16 2005 From: artful at rogers.com (Arthur Fuller) Date: Mon, 8 Aug 2005 18:17:16 -0400 Subject: [AccessD] Clear Debug Window Programmatically In-Reply-To: <000001c59c4d$90e1d020$901b0c54@minster33c3r25> Message-ID: <200508082217.j78MHLR02524@databaseadvisors.com> Is there a way to clear the debug window programmatically? TIA, Arthur From dw-murphy at cox.net Mon Aug 8 18:06:37 2005 From: dw-murphy at cox.net (Doug Murphy) Date: Mon, 8 Aug 2005 16:06:37 -0700 Subject: [AccessD] Adding pdf creation capabilities to distributed runtimes. In-Reply-To: <200508082217.j78MHLR02524@databaseadvisors.com> Message-ID: <000d01c59c6d$d438aea0$0200a8c0@murphyf3vdfepi> Folks, I know there has been a lot of discussion about the various pdf print drivers that can be integrated with Access to output reports in pdf format. I am interested in what any of you has experienced with using the CutePDF SDK with an Access runtime. We distribute a product as a runtime. The installation is built with Wise using the Sagekey scripts for Access 2002. We have had good luck with this so far, but I would like to add a print to pdf capability to the product. The CutePDF SDK with unlimited distribution as part of a product is interesting since the price is about one fifth of other, similar products. Do any of you know of shortcomings or problems with using this product with runtime applications? Thanks in advance for sharing your experiences. Doug From cfoust at infostatsystems.com Mon Aug 8 19:53:42 2005 From: cfoust at infostatsystems.com (Charlotte Foust) Date: Mon, 8 Aug 2005 17:53:42 -0700 Subject: [AccessD] Clear Debug Window Programmatically Message-ID: I seem to remember someone coming up with a method, but I can't remember where! :-< It would probably require a reference to the extensibility library. Charlotte Foust -----Original Message----- From: Arthur Fuller [mailto:artful at rogers.com] Sent: Monday, August 08, 2005 3:17 PM To: 'Access Developers discussion and problem solving' Subject: [AccessD] Clear Debug Window Programmatically Is there a way to clear the debug window programmatically? TIA, Arthur -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From dejpolsys at hotmail.com Mon Aug 8 20:01:25 2005 From: dejpolsys at hotmail.com (William Hindman) Date: Mon, 8 Aug 2005 21:01:25 -0400 Subject: [AccessD] OT: Spread the word - USA ONLY References: <00e301c59c44$f9ef35c0$6c7aa8c0@ColbyM6805> Message-ID: ..but ...wouldn't this threaten the Post Office's profits? ...not very patriotic of you JC :) William ----- Original Message ----- From: "John W. Colby" To: "'Access Developers discussion and problem solving'" Sent: Monday, August 08, 2005 2:14 PM Subject: [AccessD] OT: Spread the word - USA ONLY > https://www.optoutprescreen.com/?rf=t > > A web site to specifically opt out of credit card and insurance junk mail > (USA only). > > John W. Colby > www.ColbyConsulting.com > > Contribute your unused CPU cycles to a good cause: > http://folding.stanford.edu/ > > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > From jwcolby at colbyconsulting.com Mon Aug 8 20:26:19 2005 From: jwcolby at colbyconsulting.com (John W. Colby) Date: Mon, 08 Aug 2005 21:26:19 -0400 Subject: [AccessD] OT: Spread the word - USA ONLY In-Reply-To: Message-ID: <000301c59c81$5b707ca0$6c7aa8c0@ColbyM6805> LOL, I have been called worse! John W. Colby www.ColbyConsulting.com Contribute your unused CPU cycles to a good cause: http://folding.stanford.edu/ -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of William Hindman Sent: Monday, August 08, 2005 9:01 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] OT: Spread the word - USA ONLY ..but ...wouldn't this threaten the Post Office's profits? ...not very patriotic of you JC :) William ----- Original Message ----- From: "John W. Colby" To: "'Access Developers discussion and problem solving'" Sent: Monday, August 08, 2005 2:14 PM Subject: [AccessD] OT: Spread the word - USA ONLY > https://www.optoutprescreen.com/?rf=t > > A web site to specifically opt out of credit card and insurance junk > mail (USA only). > > John W. Colby > www.ColbyConsulting.com > > Contribute your unused CPU cycles to a good cause: > http://folding.stanford.edu/ > > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From paul.hartland at isharp.co.uk Tue Aug 9 01:53:54 2005 From: paul.hartland at isharp.co.uk (Paul Hartland (ISHARP)) Date: Tue, 9 Aug 2005 07:53:54 +0100 Subject: [AccessD] ADO - 424 error In-Reply-To: Message-ID: Should there be an _ in the rs variable Dim rs_ReqList As ADODB.Recordset 'temp requests list for filtering rs_Req rsReqList.Open strSQL, cnn, adOpenDynamic, adLockOptimistic, adCmdTable -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Gustav Brock Sent: 08 August 2005 18:01 To: accessd at databaseadvisors.com Subject: Re: [AccessD] ADO - 424 error Hi Roz Try this: rsReqList.Open strSQL, cnn, adOpenKeyset, adLockOptimistic or rsReqList.Open "tblTemp_AddDelegates", cnn, adOpenKeyset, adLockOptimistic, adCmdTable And, as Charlotte suggests, use .Execute ... /gustav >>> roz.clarke at donnslaw.co.uk 08/08 6:31 pm >>> Hi all I am getting a 424 error (object required) at the line in the code below which opens an ADO recordset: Dim cnn As New ADODB.Connection Dim rs_ReqList As ADODB.Recordset 'temp requests list for filtering rs_Req Dim strSQL As String Set cnn = CurrentProject.Connection Set rs_ReqList = New ADODB.Recordset DoCmd.RunSQL "DELETE FROM tblTemp_AddDelegates" strSQL = "SELECT * from tblTemp_AddDelegates" rsReqList.Open strSQL, cnn, adOpenDynamic, adLockOptimistic, adCmdTable In my experience, a 424 error is usually associated with a missing reference, however my ADO reference is fine and I can open other recordsets. It fails the same way if I pass the table name in instead of using a SQL string. I have identical code running in another database (different table obviously) that works fine, and the fact that the table is empty shouldn't cause a problem... Anyone got any ideas? It looks so simple I can't believe it's not working /em bangs head on table TIA Roz -- 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 Tue Aug 9 03:00:39 2005 From: roz.clarke at donnslaw.co.uk (Roz Clarke) Date: Tue, 9 Aug 2005 09:00:39 +0100 Subject: [AccessD] ADO - 424 error Message-ID: <61F915314798D311A2F800A0C9C8318807225E50@dibble.observatory.donnslaw.co.uk> Thanks for answering. Urr... I'm not sure how to execute the SQL on the connection. The cmdTable was left over from when I was passing it the table name, well spotted, it didn't work either way though. The table is local. -----Original Message----- From: Charlotte Foust [mailto:cfoust at infostatsystems.com] Sent: 08 August 2005 17:51 To: Access Developers discussion and problem solving Subject: RE: [AccessD] ADO - 424 error What happens if you simply execute the DELETE SQL on the connection instead of reverting to DAO to RunSQL? Does that make a difference? I would expect the Open statement to need an adCmdText if you are passing in a SQL string rather than a table name. And is the table local or linked? Charlotte Foust -----Original Message----- From: Roz Clarke [mailto:roz.clarke at donnslaw.co.uk] Sent: Monday, August 08, 2005 9:32 AM To: 'Access Developers discussion and problem solving' Subject: [AccessD] ADO - 424 error Hi all I am getting a 424 error (object required) at the line in the code below which opens an ADO recordset: Dim cnn As New ADODB.Connection Dim rs_ReqList As ADODB.Recordset 'temp requests list for filtering rs_Req Dim strSQL As String Set cnn = CurrentProject.Connection Set rs_ReqList = New ADODB.Recordset DoCmd.RunSQL "DELETE FROM tblTemp_AddDelegates" strSQL = "SELECT * from tblTemp_AddDelegates" rsReqList.Open strSQL, cnn, adOpenDynamic, adLockOptimistic, adCmdTable In my experience, a 424 error is usually associated with a missing reference, however my ADO reference is fine and I can open other recordsets. It fails the same way if I pass the table name in instead of using a SQL string. I have identical code running in another database (different table obviously) that works fine, and the fact that the table is empty shouldn't cause a problem... Anyone got any ideas? It looks so simple I can't believe it's not working /em bangs head on table TIA Roz -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -------------- next part -------------- The contents of this message and any attachments are the property of Donns Solicitors and are intended for the confidential use of the named recipient only. They may be legally privileged and should not be communicated to, or relied upon, by any other party without our written consent. If you are not the addressee, please notify us immediately so that we can make arrangements for its return. You should not show this e-mail to any person or take copies as you may be committing a criminal or civil offence for which you may be liable. The statement and opinions expressed in this e-mail message are those of the writer, and do not necessarily represent that of Donns Solicitors. Although any files attached to this e-mail will have been checked with virus protection software prior to transmission, you should carry out your own virus check before opening any attachment. Donns Solicitors does not accept any liability for any damage or loss which may be caused by software viruses... From roz.clarke at donnslaw.co.uk Tue Aug 9 03:18:40 2005 From: roz.clarke at donnslaw.co.uk (Roz Clarke) Date: Tue, 9 Aug 2005 09:18:40 +0100 Subject: [AccessD] ADO - 424 error Message-ID: <61F915314798D311A2F800A0C9C8318807225E51@dibble.observatory.donnslaw.co.uk> You star I knew it had to be something simple :/ I will blame my stupidity on the flu - thank you, and thanks to Charlotte and Gustav for your attempts to help also. Roz -----Original Message----- From: Paul Hartland (ISHARP) [mailto:paul.hartland at isharp.co.uk] Sent: 09 August 2005 07:54 To: 'Access Developers discussion and problem solving' Subject: RE: [AccessD] ADO - 424 error Should there be an _ in the rs variable Dim rs_ReqList As ADODB.Recordset 'temp requests list for filtering rs_Req rsReqList.Open strSQL, cnn, adOpenDynamic, adLockOptimistic, adCmdTable -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Gustav Brock Sent: 08 August 2005 18:01 To: accessd at databaseadvisors.com Subject: Re: [AccessD] ADO - 424 error Hi Roz Try this: rsReqList.Open strSQL, cnn, adOpenKeyset, adLockOptimistic or rsReqList.Open "tblTemp_AddDelegates", cnn, adOpenKeyset, adLockOptimistic, adCmdTable And, as Charlotte suggests, use .Execute ... /gustav >>> roz.clarke at donnslaw.co.uk 08/08 6:31 pm >>> Hi all I am getting a 424 error (object required) at the line in the code below which opens an ADO recordset: Dim cnn As New ADODB.Connection Dim rs_ReqList As ADODB.Recordset 'temp requests list for filtering rs_Req Dim strSQL As String Set cnn = CurrentProject.Connection Set rs_ReqList = New ADODB.Recordset DoCmd.RunSQL "DELETE FROM tblTemp_AddDelegates" strSQL = "SELECT * from tblTemp_AddDelegates" rsReqList.Open strSQL, cnn, adOpenDynamic, adLockOptimistic, adCmdTable In my experience, a 424 error is usually associated with a missing reference, however my ADO reference is fine and I can open other recordsets. It fails the same way if I pass the table name in instead of using a SQL string. I have identical code running in another database (different table obviously) that works fine, and the fact that the table is empty shouldn't cause a problem... Anyone got any ideas? It looks so simple I can't believe it's not working /em bangs head on table TIA Roz -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/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 -------------- The contents of this message and any attachments are the property of Donns Solicitors and are intended for the confidential use of the named recipient only. They may be legally privileged and should not be communicated to, or relied upon, by any other party without our written consent. If you are not the addressee, please notify us immediately so that we can make arrangements for its return. You should not show this e-mail to any person or take copies as you may be committing a criminal or civil offence for which you may be liable. The statement and opinions expressed in this e-mail message are those of the writer, and do not necessarily represent that of Donns Solicitors. Although any files attached to this e-mail will have been checked with virus protection software prior to transmission, you should carry out your own virus check before opening any attachment. Donns Solicitors does not accept any liability for any damage or loss which may be caused by software viruses... From roz.clarke at donnslaw.co.uk Tue Aug 9 03:36:29 2005 From: roz.clarke at donnslaw.co.uk (Roz Clarke) Date: Tue, 9 Aug 2005 09:36:29 +0100 Subject: [AccessD] Discard changes in a query Message-ID: <61F915314798D311A2F800A0C9C8318807225E52@dibble.observatory.donnslaw.co.uk> Another stupid question from me... I have just taken over working on a databae app, nothing scary, just a training records database. In this database, unlike any other I am currently using, I do not get the option to discard an unsaved query. I have to save it with a name and then delete it. How can I set it so it just throws it away, like my other databases do? TIA Roz -------------- next part -------------- The contents of this message and any attachments are the property of Donns Solicitors and are intended for the confidential use of the named recipient only. They may be legally privileged and should not be communicated to, or relied upon, by any other party without our written consent. If you are not the addressee, please notify us immediately so that we can make arrangements for its return. You should not show this e-mail to any person or take copies as you may be committing a criminal or civil offence for which you may be liable. The statement and opinions expressed in this e-mail message are those of the writer, and do not necessarily represent that of Donns Solicitors. Although any files attached to this e-mail will have been checked with virus protection software prior to transmission, you should carry out your own virus check before opening any attachment. Donns Solicitors does not accept any liability for any damage or loss which may be caused by software viruses... From Gustav at cactus.dk Tue Aug 9 03:59:18 2005 From: Gustav at cactus.dk (Gustav Brock) Date: Tue, 09 Aug 2005 10:59:18 +0200 Subject: [AccessD] ADO - 424 error Message-ID: Hi Paul and Roz Nice catch Paul. And Roz, you know how to prevent this kind of errors, right? /gustav >>> roz.clarke at donnslaw.co.uk 08/09 10:18 am >>> You star I knew it had to be something simple :/ I will blame my stupidity on the flu - thank you, and thanks to Charlotte and Gustav for your attempts to help also. Roz -----Original Message----- From: Paul Hartland (ISHARP) [mailto:paul.hartland at isharp.co.uk] Sent: 09 August 2005 07:54 To: 'Access Developers discussion and problem solving' Subject: RE: [AccessD] ADO - 424 error Should there be an _ in the rs variable From roz.clarke at donnslaw.co.uk Tue Aug 9 04:15:10 2005 From: roz.clarke at donnslaw.co.uk (Roz Clarke) Date: Tue, 9 Aug 2005 10:15:10 +0100 Subject: [AccessD] ADO - 424 error Message-ID: <61F915314798D311A2F800A0C9C8318807225E54@dibble.observatory.donnslaw.co.uk> yeh yeh, Option Explicit /em sheepish grin I'm just tweaking someone else's application and I guess I've gone in with both eyes closed. -----Original Message----- From: Gustav Brock [mailto:Gustav at cactus.dk] Sent: 09 August 2005 09:59 To: accessd at databaseadvisors.com Subject: RE: [AccessD] ADO - 424 error Hi Paul and Roz Nice catch Paul. And Roz, you know how to prevent this kind of errors, right? /gustav >>> roz.clarke at donnslaw.co.uk 08/09 10:18 am >>> You star I knew it had to be something simple :/ I will blame my stupidity on the flu - thank you, and thanks to Charlotte and Gustav for your attempts to help also. Roz -----Original Message----- From: Paul Hartland (ISHARP) [mailto:paul.hartland at isharp.co.uk] Sent: 09 August 2005 07:54 To: 'Access Developers discussion and problem solving' Subject: RE: [AccessD] ADO - 424 error Should there be an _ in the rs variable -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -------------- next part -------------- The contents of this message and any attachments are the property of Donns Solicitors and are intended for the confidential use of the named recipient only. They may be legally privileged and should not be communicated to, or relied upon, by any other party without our written consent. If you are not the addressee, please notify us immediately so that we can make arrangements for its return. You should not show this e-mail to any person or take copies as you may be committing a criminal or civil offence for which you may be liable. The statement and opinions expressed in this e-mail message are those of the writer, and do not necessarily represent that of Donns Solicitors. Although any files attached to this e-mail will have been checked with virus protection software prior to transmission, you should carry out your own virus check before opening any attachment. Donns Solicitors does not accept any liability for any damage or loss which may be caused by software viruses... From andy at minstersystems.co.uk Tue Aug 9 04:15:32 2005 From: andy at minstersystems.co.uk (Andy Lacey) Date: Tue, 9 Aug 2005 10:15:32 +0100 Subject: [AccessD] Discard changes in a query Message-ID: <20050809091530.99B7C250282@smtp.nildram.co.uk> Hi Roz It sounds like DoCmd.SetWarnings has been left False. Just execute a DoCmd.SetWarnings True in the Immediate window and see if that cures it. If it does, and the problem cmes back, then some code somewhere is setting it False and not back to True again. -- Andy Lacey http://www.minstersystems.co.uk --------- Original Message -------- From: "Access Developers discussion and problem solving" To: "'Access Developers discussion and problem solving'" Subject: [AccessD] Discard changes in a query Date: 09/08/05 08:36 Another stupid question from me... I have just taken over working on a databae app, nothing scary, just a training records database. In this database, unlike any other I am currently using, I do not get the option to discard an unsaved query. I have to save it with a name and then delete it. How can I set it so it just throws it away, like my other databases do? TIA Roz The contents of this message and any attachments are the property of Donns Solicitors and are intended for the confidential use of the named recipient only. They may be legally privileged and should not be communicated to, or relied upon, by any other party without our written consent. If you are not the addressee, please notify us immediately so that we can make arrangements for its return. You should not show this e-mail to any person or take copies as you may be committing a criminal or civil offence for which you may be liable. The statement and opinions expressed in this e-mail message are those of the writer, and do not necessarily represent that of Donns Solicitors. Although any files attached to this e-mail will have been checked with virus protection software prior to transmission, you should carry out your own virus check before opening any attachment. Donns Solicitors does not accept any liability for any damage or loss which may be caused by software viruses... -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com ________________________________________________ Message sent using UebiMiau 2.7.2 From roz.clarke at donnslaw.co.uk Tue Aug 9 04:20:56 2005 From: roz.clarke at donnslaw.co.uk (Roz Clarke) Date: Tue, 9 Aug 2005 10:20:56 +0100 Subject: [AccessD] Discard changes in a query Message-ID: <61F915314798D311A2F800A0C9C8318807225E55@dibble.observatory.donnslaw.co.uk> Cheers Andy Remind me never to take over someone else's work, I keep falling over these weird little issues :/ -----Original Message----- From: Andy Lacey [mailto:andy at minstersystems.co.uk] Sent: 09 August 2005 10:16 To: Access Developers discussion and problem solving Subject: Re: [AccessD] Discard changes in a query Hi Roz It sounds like DoCmd.SetWarnings has been left False. Just execute a DoCmd.SetWarnings True in the Immediate window and see if that cures it. If it does, and the problem cmes back, then some code somewhere is setting it False and not back to True again. -- Andy Lacey http://www.minstersystems.co.uk --------- Original Message -------- From: "Access Developers discussion and problem solving" To: "'Access Developers discussion and problem solving'" Subject: [AccessD] Discard changes in a query Date: 09/08/05 08:36 Another stupid question from me... I have just taken over working on a databae app, nothing scary, just a training records database. In this database, unlike any other I am currently using, I do not get the option to discard an unsaved query. I have to save it with a name and then delete it. How can I set it so it just throws it away, like my other databases do? TIA Roz The contents of this message and any attachments are the property of Donns Solicitors and are intended for the confidential use of the named recipient only. They may be legally privileged and should not be communicated to, or relied upon, by any other party without our written consent. If you are not the addressee, please notify us immediately so that we can make arrangements for its return. You should not show this e-mail to any person or take copies as you may be committing a criminal or civil offence for which you may be liable. The statement and opinions expressed in this e-mail message are those of the writer, and do not necessarily represent that of Donns Solicitors. Although any files attached to this e-mail will have been checked with virus protection software prior to transmission, you should carry out your own virus check before opening any attachment. Donns Solicitors does not accept any liability for any damage or loss which may be caused by software viruses... -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com ________________________________________________ Message sent using UebiMiau 2.7.2 -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -------------- next part -------------- The contents of this message and any attachments are the property of Donns Solicitors and are intended for the confidential use of the named recipient only. They may be legally privileged and should not be communicated to, or relied upon, by any other party without our written consent. If you are not the addressee, please notify us immediately so that we can make arrangements for its return. You should not show this e-mail to any person or take copies as you may be committing a criminal or civil offence for which you may be liable. The statement and opinions expressed in this e-mail message are those of the writer, and do not necessarily represent that of Donns Solicitors. Although any files attached to this e-mail will have been checked with virus protection software prior to transmission, you should carry out your own virus check before opening any attachment. Donns Solicitors does not accept any liability for any damage or loss which may be caused by software viruses... From jimdettman at earthlink.net Tue Aug 9 06:09:57 2005 From: jimdettman at earthlink.net (Jim Dettman) Date: Tue, 9 Aug 2005 07:09:57 -0400 Subject: [AccessD] Clear Debug Window Programmatically In-Reply-To: <200508082217.j78MHLR02524@databaseadvisors.com> Message-ID: Arthur, 1. Write a autokey marco to do: Ctrl/G Crtl/A {del} 2. Write a autokey macro to do: Ctrl/G Ctrl+Home Shift+Ctrl+End {del} 3. Call a procedure: Sub ClearImmediateWindow() 'Make sure that the Immediate window is visible Application.VBE.Windows("Immediate").Visible = True 'Activate the Immediate window Application.VBE.Windows("Immediate").SetFocus 'Send keystrokes to clear the Immediate window SendKeys "^{HOME}^+{END}{DEL}" End Sub Jim. -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Arthur Fuller Sent: Monday, August 08, 2005 6:17 PM To: 'Access Developers discussion and problem solving' Subject: [AccessD] Clear Debug Window Programmatically Is there a way to clear the debug window programmatically? TIA, Arthur -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From Lambert.Heenan at AIG.com Tue Aug 9 08:12:43 2005 From: Lambert.Heenan at AIG.com (Heenan, Lambert) Date: Tue, 9 Aug 2005 09:12:43 -0400 Subject: [AccessD] Clear Debug Window Programmatically Message-ID: <1D7828CDB8350747AFE9D69E0E90DA1F1425506B@xlivmbx21.aig.com> Or... Sub clearDebug() Dim n As Long For n = 1 To 200 Debug.Print Next End Sub It works a treat, in the blink of an eye - because the Immediate window only every displays 199 lines, max. No need for the dreaded SendKeys either. Lambert -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Jim Dettman Sent: Tuesday, August 09, 2005 7:10 AM To: Access Developers discussion and problem solving Subject: RE: [AccessD] Clear Debug Window Programmatically Arthur, 1. Write a autokey marco to do: Ctrl/G Crtl/A {del} 2. Write a autokey macro to do: Ctrl/G Ctrl+Home Shift+Ctrl+End {del} 3. Call a procedure: Sub ClearImmediateWindow() 'Make sure that the Immediate window is visible Application.VBE.Windows("Immediate").Visible = True 'Activate the Immediate window Application.VBE.Windows("Immediate").SetFocus 'Send keystrokes to clear the Immediate window SendKeys "^{HOME}^+{END}{DEL}" End Sub Jim. -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Arthur Fuller Sent: Monday, August 08, 2005 6:17 PM To: 'Access Developers discussion and problem solving' Subject: [AccessD] Clear Debug Window Programmatically Is there a way to clear the debug window programmatically? TIA, Arthur -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From jimdettman at earthlink.net Tue Aug 9 08:29:59 2005 From: jimdettman at earthlink.net (Jim Dettman) Date: Tue, 9 Aug 2005 09:29:59 -0400 Subject: [AccessD] Clear Debug Window Programmatically In-Reply-To: <1D7828CDB8350747AFE9D69E0E90DA1F1425506B@xlivmbx21.aig.com> Message-ID: Lambert, Yes, that would work too, but if the size of the debug window ever changed it would fail. The other methods would not. Moot point I know as it probably never will change That method too would work in all cases where the first method I gave would fail on some international versions (the second method always works though). Jim. -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Heenan, Lambert Sent: Tuesday, August 09, 2005 9:13 AM To: 'Access Developers discussion and problem solving' Subject: RE: [AccessD] Clear Debug Window Programmatically Or... Sub clearDebug() Dim n As Long For n = 1 To 200 Debug.Print Next End Sub It works a treat, in the blink of an eye - because the Immediate window only every displays 199 lines, max. No need for the dreaded SendKeys either. Lambert -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Jim Dettman Sent: Tuesday, August 09, 2005 7:10 AM To: Access Developers discussion and problem solving Subject: RE: [AccessD] Clear Debug Window Programmatically Arthur, 1. Write a autokey marco to do: Ctrl/G Crtl/A {del} 2. Write a autokey macro to do: Ctrl/G Ctrl+Home Shift+Ctrl+End {del} 3. Call a procedure: Sub ClearImmediateWindow() 'Make sure that the Immediate window is visible Application.VBE.Windows("Immediate").Visible = True 'Activate the Immediate window Application.VBE.Windows("Immediate").SetFocus 'Send keystrokes to clear the Immediate window SendKeys "^{HOME}^+{END}{DEL}" End Sub Jim. -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Arthur Fuller Sent: Monday, August 08, 2005 6:17 PM To: 'Access Developers discussion and problem solving' Subject: [AccessD] Clear Debug Window Programmatically Is there a way to clear the debug window programmatically? TIA, Arthur -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From Lambert.Heenan at AIG.com Tue Aug 9 08:38:59 2005 From: Lambert.Heenan at AIG.com (Heenan, Lambert) Date: Tue, 9 Aug 2005 09:38:59 -0400 Subject: [AccessD] Clear Debug Window Programmatically Message-ID: <1D7828CDB8350747AFE9D69E0E90DA1F1425508A@xlivmbx21.aig.com> Totally agree Jim. My only addition to the discussion would be that I doubt if a routine to clear the debug window is going to be "mission critical" for an application. It sounds like a developers wish-list item. Lambert -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Jim Dettman Sent: Tuesday, August 09, 2005 9:30 AM To: Access Developers discussion and problem solving Subject: RE: [AccessD] Clear Debug Window Programmatically Lambert, Yes, that would work too, but if the size of the debug window ever changed it would fail. The other methods would not. Moot point I know as it probably never will change That method too would work in all cases where the first method I gave would fail on some international versions (the second method always works though). Jim. -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Heenan, Lambert Sent: Tuesday, August 09, 2005 9:13 AM To: 'Access Developers discussion and problem solving' Subject: RE: [AccessD] Clear Debug Window Programmatically Or... Sub clearDebug() Dim n As Long For n = 1 To 200 Debug.Print Next End Sub It works a treat, in the blink of an eye - because the Immediate window only every displays 199 lines, max. No need for the dreaded SendKeys either. Lambert -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Jim Dettman Sent: Tuesday, August 09, 2005 7:10 AM To: Access Developers discussion and problem solving Subject: RE: [AccessD] Clear Debug Window Programmatically Arthur, 1. Write a autokey marco to do: Ctrl/G Crtl/A {del} 2. Write a autokey macro to do: Ctrl/G Ctrl+Home Shift+Ctrl+End {del} 3. Call a procedure: Sub ClearImmediateWindow() 'Make sure that the Immediate window is visible Application.VBE.Windows("Immediate").Visible = True 'Activate the Immediate window Application.VBE.Windows("Immediate").SetFocus 'Send keystrokes to clear the Immediate window SendKeys "^{HOME}^+{END}{DEL}" End Sub Jim. -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Arthur Fuller Sent: Monday, August 08, 2005 6:17 PM To: 'Access Developers discussion and problem solving' Subject: [AccessD] Clear Debug Window Programmatically Is there a way to clear the debug window programmatically? TIA, Arthur -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- 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 Aug 9 08:44:24 2005 From: Jim.Hale at FleetPride.com (Hale, Jim) Date: Tue, 9 Aug 2005 08:44:24 -0500 Subject: [AccessD] Adding pdf creation capabilities to distributed run times. Message-ID: <6A6AA9DF57E4F046BDA1E273BDDB6772337762@corp-es01.fleetpride.com> If you have a need to switch from portrait to landscape within a document test this out to see if it works with your chosen writer. I have had problems with this in the past with various pdf writers. Jim -----Original Message----- From: Doug Murphy [mailto:dw-murphy at cox.net] Sent: Monday, August 08, 2005 6:07 PM To: 'Access Developers discussion and problem solving' Subject: [AccessD] Adding pdf creation capabilities to distributed runtimes. Folks, I know there has been a lot of discussion about the various pdf print drivers that can be integrated with Access to output reports in pdf format. I am interested in what any of you has experienced with using the CutePDF SDK with an Access runtime. We distribute a product as a runtime. The installation is built with Wise using the Sagekey scripts for Access 2002. We have had good luck with this so far, but I would like to add a print to pdf capability to the product. The CutePDF SDK with unlimited distribution as part of a product is interesting since the price is about one fifth of other, similar products. Do any of you know of shortcomings or problems with using this product with runtime applications? Thanks in advance for sharing your experiences. Doug -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com *********************************************************************** The information transmitted is intended solely for the individual or entity to which it is addressed and may contain confidential and/or privileged material. Any review, retransmission, dissemination or other use of or taking action in reliance upon this information by persons or entities other than the intended recipient is prohibited. If you have received this email in error please contact the sender and delete the material from any computer. As a recipient of this email, you are responsible for screening its contents and the contents of any attachments for the presence of viruses. No liability is accepted for any damages caused by any virus transmitted by this email. From paul.hartland at fsmail.net Tue Aug 9 08:47:36 2005 From: paul.hartland at fsmail.net (paul.hartland at fsmail.net) Date: Tue, 9 Aug 2005 15:47:36 +0200 (CEST) Subject: [AccessD] Slightly OT - Reports Slow To Open VB6 SQL Server Message-ID: <10480907.1123595256090.JavaMail.www@wwinf3203> To all, I have a VB application that over the last two days the majority of users have encountered dramatic page file size increases when opening a report, I use the same application and mine hardly moves.... Has anyone come across a similar problem to this, in the past and got any possible solutions... Many thanks in advance for any help on this Paul Hartland From prosoft6 at hotmail.com Tue Aug 9 10:04:37 2005 From: prosoft6 at hotmail.com (Julie Reardon-Taylor) Date: Tue, 09 Aug 2005 11:04:37 -0400 Subject: [AccessD] Adding pdf creation capabilities to distributed runtimes. In-Reply-To: <000d01c59c6d$d438aea0$0200a8c0@murphyf3vdfepi> Message-ID: We used deskpdf25. I'll send the link if you are interested. Julie Reardon-Taylor PRO-SOFT OF NY, INC. 44 Public Square Suite #5 Watertown, NY 13601 Phone/Fax: (315) 785-0319 www.pro-soft.net From cfoust at infostatsystems.com Tue Aug 9 10:38:58 2005 From: cfoust at infostatsystems.com (Charlotte Foust) Date: Tue, 9 Aug 2005 08:38:58 -0700 Subject: [AccessD] Clear Debug Window Programmatically Message-ID: On further thought, what's wrong with right-clicking the immediate window and selecting Clear? Charlotte Foust -----Original Message----- From: Arthur Fuller [mailto:artful at rogers.com] Sent: Monday, August 08, 2005 3:17 PM To: 'Access Developers discussion and problem solving' Subject: [AccessD] Clear Debug Window Programmatically Is there a way to clear the debug window programmatically? TIA, Arthur -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From tom.bolton at donnslaw.co.uk Tue Aug 9 10:44:31 2005 From: tom.bolton at donnslaw.co.uk (Tom Bolton) Date: Tue, 9 Aug 2005 16:44:31 +0100 Subject: [AccessD] Clear Debug Window Programmatically Message-ID: <61F915314798D311A2F800A0C9C831880802A2B7@dibble.observatory.donnslaw.co.uk> Absolutely nothing, now I know I can!! Brilliant. The things you learn :-) Tom -----Original Message----- From: Charlotte Foust [mailto:cfoust at infostatsystems.com] Sent: 09-Aug-2005 16:39 To: Access Developers discussion and problem solving Subject: RE: [AccessD] Clear Debug Window Programmatically On further thought, what's wrong with right-clicking the immediate window and selecting Clear? Charlotte Foust -----Original Message----- From: Arthur Fuller [mailto:artful at rogers.com] Sent: Monday, August 08, 2005 3:17 PM To: 'Access Developers discussion and problem solving' Subject: [AccessD] Clear Debug Window Programmatically Is there a way to clear the debug window programmatically? TIA, Arthur -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -------------- next part -------------- The contents of this message and any attachments are the property of Donns Solicitors and are intended for the confidential use of the named recipient only. They may be legally privileged and should not be communicated to, or relied upon, by any other party without our written consent. If you are not the addressee, please notify us immediately so that we can make arrangements for its return. You should not show this e-mail to any person or take copies as you may be committing a criminal or civil offence for which you may be liable. The statement and opinions expressed in this e-mail message are those of the writer, and do not necessarily represent that of Donns Solicitors. Although any files attached to this e-mail will have been checked with virus protection software prior to transmission, you should carry out your own virus check before opening any attachment. Donns Solicitors does not accept any liability for any damage or loss which may be caused by software viruses... From Jdemarco at hudsonhealthplan.org Tue Aug 9 10:48:19 2005 From: Jdemarco at hudsonhealthplan.org (Jim DeMarco) Date: Tue, 9 Aug 2005 11:48:19 -0400 Subject: [AccessD] Clear Debug Window Programmatically Message-ID: <08F823FD83787D4BA0B99CA580AD3C74016C3C68@TTNEXCHCL2.hshhp.com> Could be a problem if you're using A97 though!! Jim DeMarco -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Tom Bolton Sent: Tuesday, August 09, 2005 11:45 AM To: 'Access Developers discussion and problem solving' Subject: RE: [AccessD] Clear Debug Window Programmatically Absolutely nothing, now I know I can!! Brilliant. The things you learn :-) Tom -----Original Message----- From: Charlotte Foust [mailto:cfoust at infostatsystems.com] Sent: 09-Aug-2005 16:39 To: Access Developers discussion and problem solving Subject: RE: [AccessD] Clear Debug Window Programmatically On further thought, what's wrong with right-clicking the immediate window and selecting Clear? Charlotte Foust -----Original Message----- From: Arthur Fuller [mailto:artful at rogers.com] Sent: Monday, August 08, 2005 3:17 PM To: 'Access Developers discussion and problem solving' Subject: [AccessD] Clear Debug Window Programmatically Is there a way to clear the debug window programmatically? TIA, Arthur -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com *********************************************************************************** "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 jwcolby at colbyconsulting.com Tue Aug 9 10:51:25 2005 From: jwcolby at colbyconsulting.com (John W. Colby) Date: Tue, 09 Aug 2005 11:51:25 -0400 Subject: [AccessD] Clear Debug Window Programmatically In-Reply-To: <61F915314798D311A2F800A0C9C831880802A2B7@dibble.observatory.donnslaw.co.uk> Message-ID: <005c01c59cfa$360743d0$6c7aa8c0@ColbyM6805> LOL. the things we've never tried before. I must say I never did that either. Thanks Charlotte. John W. Colby www.ColbyConsulting.com Contribute your unused CPU cycles to a good cause: http://folding.stanford.edu/ -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Tom Bolton Sent: Tuesday, August 09, 2005 11:45 AM To: 'Access Developers discussion and problem solving' Subject: RE: [AccessD] Clear Debug Window Programmatically Absolutely nothing, now I know I can!! Brilliant. The things you learn :-) Tom -----Original Message----- From: Charlotte Foust [mailto:cfoust at infostatsystems.com] Sent: 09-Aug-2005 16:39 To: Access Developers discussion and problem solving Subject: RE: [AccessD] Clear Debug Window Programmatically On further thought, what's wrong with right-clicking the immediate window and selecting Clear? Charlotte Foust -----Original Message----- From: Arthur Fuller [mailto:artful at rogers.com] Sent: Monday, August 08, 2005 3:17 PM To: 'Access Developers discussion and problem solving' Subject: [AccessD] Clear Debug Window Programmatically Is there a way to clear the debug window programmatically? TIA, Arthur -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From cfoust at infostatsystems.com Tue Aug 9 10:56:50 2005 From: cfoust at infostatsystems.com (Charlotte Foust) Date: Tue, 9 Aug 2005 08:56:50 -0700 Subject: [AccessD] Clear Debug Window Programmatically Message-ID: True, but in that case, you have bigger problems! LOL Charlotte Foust -----Original Message----- From: Jim DeMarco [mailto:Jdemarco at hudsonhealthplan.org] Sent: Tuesday, August 09, 2005 8:48 AM To: Access Developers discussion and problem solving Subject: RE: [AccessD] Clear Debug Window Programmatically Could be a problem if you're using A97 though!! Jim DeMarco -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Tom Bolton Sent: Tuesday, August 09, 2005 11:45 AM To: 'Access Developers discussion and problem solving' Subject: RE: [AccessD] Clear Debug Window Programmatically Absolutely nothing, now I know I can!! Brilliant. The things you learn :-) Tom -----Original Message----- From: Charlotte Foust [mailto:cfoust at infostatsystems.com] Sent: 09-Aug-2005 16:39 To: Access Developers discussion and problem solving Subject: RE: [AccessD] Clear Debug Window Programmatically On further thought, what's wrong with right-clicking the immediate window and selecting Clear? Charlotte Foust -----Original Message----- From: Arthur Fuller [mailto:artful at rogers.com] Sent: Monday, August 08, 2005 3:17 PM To: 'Access Developers discussion and problem solving' Subject: [AccessD] Clear Debug Window Programmatically Is there a way to clear the debug window programmatically? TIA, Arthur -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com ************************************************************************ *********** "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 artful at rogers.com Tue Aug 9 10:59:39 2005 From: artful at rogers.com (Arthur Fuller) Date: Tue, 9 Aug 2005 11:59:39 -0400 Subject: [AccessD] Clear Debug Window Programmatically In-Reply-To: <005c01c59cfa$360743d0$6c7aa8c0@ColbyM6805> Message-ID: <200508091559.j79FxjR05200@databaseadvisors.com> All the ostensible gurus gather around Charlotte and genuflect -- me most of all. I never thought of that either. -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of John W. Colby Sent: August 9, 2005 11:51 AM To: 'Access Developers discussion and problem solving' Subject: RE: [AccessD] Clear Debug Window Programmatically LOL. the things we've never tried before. I must say I never did that either. Thanks Charlotte. John W. Colby www.ColbyConsulting.com Contribute your unused CPU cycles to a good cause: http://folding.stanford.edu/ -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Tom Bolton Sent: Tuesday, August 09, 2005 11:45 AM To: 'Access Developers discussion and problem solving' Subject: RE: [AccessD] Clear Debug Window Programmatically Absolutely nothing, now I know I can!! Brilliant. The things you learn :-) Tom -----Original Message----- From: Charlotte Foust [mailto:cfoust at infostatsystems.com] Sent: 09-Aug-2005 16:39 To: Access Developers discussion and problem solving Subject: RE: [AccessD] Clear Debug Window Programmatically On further thought, what's wrong with right-clicking the immediate window and selecting Clear? Charlotte Foust -----Original Message----- From: Arthur Fuller [mailto:artful at rogers.com] Sent: Monday, August 08, 2005 3:17 PM To: 'Access Developers discussion and problem solving' Subject: [AccessD] Clear Debug Window Programmatically Is there a way to clear the debug window programmatically? TIA, Arthur -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From Jdemarco at hudsonhealthplan.org Tue Aug 9 11:30:10 2005 From: Jdemarco at hudsonhealthplan.org (Jim DeMarco) Date: Tue, 9 Aug 2005 12:30:10 -0400 Subject: [AccessD] Clear Debug Window Programmatically Message-ID: <08F823FD83787D4BA0B99CA580AD3C74016C3C6C@TTNEXCHCL2.hshhp.com> I knew that was coming ;-) Jim D. -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Charlotte Foust Sent: Tuesday, August 09, 2005 11:57 AM To: Access Developers discussion and problem solving Subject: RE: [AccessD] Clear Debug Window Programmatically True, but in that case, you have bigger problems! LOL Charlotte Foust -----Original Message----- From: Jim DeMarco [mailto:Jdemarco at hudsonhealthplan.org] Sent: Tuesday, August 09, 2005 8:48 AM To: Access Developers discussion and problem solving Subject: RE: [AccessD] Clear Debug Window Programmatically Could be a problem if you're using A97 though!! Jim DeMarco -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Tom Bolton Sent: Tuesday, August 09, 2005 11:45 AM To: 'Access Developers discussion and problem solving' Subject: RE: [AccessD] Clear Debug Window Programmatically Absolutely nothing, now I know I can!! Brilliant. The things you learn :-) Tom -----Original Message----- From: Charlotte Foust [mailto:cfoust at infostatsystems.com] Sent: 09-Aug-2005 16:39 To: Access Developers discussion and problem solving Subject: RE: [AccessD] Clear Debug Window Programmatically On further thought, what's wrong with right-clicking the immediate window and selecting Clear? Charlotte Foust -----Original Message----- From: Arthur Fuller [mailto:artful at rogers.com] Sent: Monday, August 08, 2005 3:17 PM To: 'Access Developers discussion and problem solving' Subject: [AccessD] Clear Debug Window Programmatically Is there a way to clear the debug window programmatically? TIA, Arthur -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com ************************************************************************ *********** "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 cfoust at infostatsystems.com Tue Aug 9 11:37:39 2005 From: cfoust at infostatsystems.com (Charlotte Foust) Date: Tue, 9 Aug 2005 09:37:39 -0700 Subject: [AccessD] Clear Debug Window Programmatically Message-ID: Now, Arthur, there's no need to genuflect. Just lighting a few candles, burning some incense, that sort of thing will suffice. Charlotte Foust -----Original Message----- From: Arthur Fuller [mailto:artful at rogers.com] Sent: Tuesday, August 09, 2005 9:00 AM To: 'Access Developers discussion and problem solving' Subject: RE: [AccessD] Clear Debug Window Programmatically All the ostensible gurus gather around Charlotte and genuflect -- me most of all. I never thought of that either. From ssharkins at bellsouth.net Tue Aug 9 14:04:43 2005 From: ssharkins at bellsouth.net (Susan Harkins) Date: Tue, 9 Aug 2005 15:04:43 -0400 Subject: [AccessD] Conversion to adp Message-ID: <20050809190444.ZWLD25678.ibm61aec.bellsouth.net@SUSANONE> I'm wondering what you guys would charge to convert an mdb file to an adp? No code upgrade, just the objects? How would you determine what to charge -- I'm sure you'd have to see the mdb first -- but what would you be looking for? Susan H. From BarbaraRyan at cox.net Tue Aug 9 14:20:20 2005 From: BarbaraRyan at cox.net (Barbara Ryan) Date: Tue, 9 Aug 2005 15:20:20 -0400 Subject: [AccessD] Query difference between Access 97 and 2002 Message-ID: <006401c59d17$629ea560$0a00a8c0@cx470148a> I have converted an Access 97 application to Access 2002 (XP). A query that works in 97 will no longer work in XP. The field in the query causing the problem is referencing an unbound text box on an open form, i.e., the field name in the query is "PeriodEndDate:[Forms]![frmPerDiemEntry]![txtPeriodEndDate]". When I execute the query in 97, I see the contents of txtPeriodEndDate; however, in XP, it is blank/null. Any ideas? Thanks, Barb Ryan From jimdettman at earthlink.net Tue Aug 9 14:21:16 2005 From: jimdettman at earthlink.net (Jim Dettman) Date: Tue, 9 Aug 2005 15:21:16 -0400 Subject: [AccessD] Query difference between Access 97 and 2002 In-Reply-To: <006401c59d17$629ea560$0a00a8c0@cx470148a> Message-ID: Barb, Make sure you explicitly type (text, date, integer) the data expected in the control (in query design, goto query/parameters). Jim. -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Barbara Ryan Sent: Tuesday, August 09, 2005 3:20 PM To: Access List Subject: [AccessD] Query difference between Access 97 and 2002 I have converted an Access 97 application to Access 2002 (XP). A query that works in 97 will no longer work in XP. The field in the query causing the problem is referencing an unbound text box on an open form, i.e., the field name in the query is "PeriodEndDate:[Forms]![frmPerDiemEntry]![txtPeriodEndDate]". When I execute the query in 97, I see the contents of txtPeriodEndDate; however, in XP, it is blank/null. Any ideas? Thanks, Barb Ryan -- 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 Aug 9 15:12:12 2005 From: stuart at lexacorp.com.pg (Stuart McLachlan) Date: Wed, 10 Aug 2005 06:12:12 +1000 Subject: [AccessD] Clear Debug Window Programmatically In-Reply-To: <200508091559.j79FxjR05200@databaseadvisors.com> References: <005c01c59cfa$360743d0$6c7aa8c0@ColbyM6805> Message-ID: <42F99ABC.23040.326CC562@stuart.lexacorp.com.pg> On 9 Aug 2005 at 11:59, Arthur Fuller wrote: > All the ostensible gurus gather around Charlotte and genuflect -- me most of > all. I never thought of that either. > ..... > > On further thought, what's wrong with right-clicking the immediate window > and selecting Clear? > > Charlotte Foust > Two things: 1. It's only works in XP and above. 2. It is not programmatic, which was what was asked for. -- Stuart From cfoust at infostatsystems.com Tue Aug 9 15:32:06 2005 From: cfoust at infostatsystems.com (Charlotte Foust) Date: Tue, 9 Aug 2005 13:32:06 -0700 Subject: [AccessD] Query difference between Access 97 and 2002 Message-ID: In addition to Jin's suggestion, check the query parameter for that reference and make sure all the square brackets are in the right places. In 97 you could leave them out entirely or put them around a single element of the reference. In 2000 and later, the query engine will insert a pair of square brackets around the entire reference if any of the brackets around the individual elements were skipped. I've run into this repeatedly. Charlotte Foust -----Original Message----- From: Jim Dettman [mailto:jimdettman at earthlink.net] Sent: Tuesday, August 09, 2005 12:21 PM To: Access Developers discussion and problem solving Subject: RE: [AccessD] Query difference between Access 97 and 2002 Barb, Make sure you explicitly type (text, date, integer) the data expected in the control (in query design, goto query/parameters). Jim. -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Barbara Ryan Sent: Tuesday, August 09, 2005 3:20 PM To: Access List Subject: [AccessD] Query difference between Access 97 and 2002 I have converted an Access 97 application to Access 2002 (XP). A query that works in 97 will no longer work in XP. The field in the query causing the problem is referencing an unbound text box on an open form, i.e., the field name in the query is "PeriodEndDate:[Forms]![frmPerDiemEntry]![txtPeriodEndDate]". When I execute the query in 97, I see the contents of txtPeriodEndDate; however, in XP, it is blank/null. Any ideas? Thanks, Barb Ryan -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd 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 Aug 9 15:34:34 2005 From: cfoust at infostatsystems.com (Charlotte Foust) Date: Tue, 9 Aug 2005 13:34:34 -0700 Subject: [AccessD] Clear Debug Window Programmatically Message-ID: I realize that you asked for a programmatic method. However, since the debug window is only available in the VBE, I didn't see any purpose in a programmatic method ... In XP and above, of course. You didn't indicate the version or WHY you needed it, so it's your own fault if we wandered off in another direction! LOL Charlotte Foust -----Original Message----- From: Stuart McLachlan [mailto:stuart at lexacorp.com.pg] Sent: Tuesday, August 09, 2005 1:12 PM To: Access Developers discussion and problem solving Subject: RE: [AccessD] Clear Debug Window Programmatically On 9 Aug 2005 at 11:59, Arthur Fuller wrote: > All the ostensible gurus gather around Charlotte and genuflect -- me > most of all. I never thought of that either. > ..... > > On further thought, what's wrong with right-clicking the immediate > window and selecting Clear? > > Charlotte Foust > Two things: 1. It's only works in XP and above. 2. It is not programmatic, which was what was asked for. -- Stuart -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From BarbaraRyan at cox.net Tue Aug 9 15:39:30 2005 From: BarbaraRyan at cox.net (Barbara Ryan) Date: Tue, 9 Aug 2005 16:39:30 -0400 Subject: [AccessD] Query difference between Access 97 and 2002 References: Message-ID: <007701c59d22$71aded80$0a00a8c0@cx470148a> Thanks, Jim.... That was part of my problem. The query is still not working in Access 2002 --- it's an append query to a table in another database. I need to investigate some more! .....Thanks, Barb ----- Original Message ----- From: "Jim Dettman" To: "Access Developers discussion and problem solving" Sent: Tuesday, August 09, 2005 3:21 PM Subject: RE: [AccessD] Query difference between Access 97 and 2002 > Barb, > > Make sure you explicitly type (text, date, integer) the data expected in > the control (in query design, goto query/parameters). > > Jim. > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Barbara Ryan > Sent: Tuesday, August 09, 2005 3:20 PM > To: Access List > Subject: [AccessD] Query difference between Access 97 and 2002 > > > I have converted an Access 97 application to Access 2002 (XP). A query that > works in 97 will no longer work in XP. The field in the query causing the > problem is referencing an unbound text box on an open form, i.e., the field > name in the query is > "PeriodEndDate:[Forms]![frmPerDiemEntry]![txtPeriodEndDate]". When I > execute the query in 97, I see the contents of txtPeriodEndDate; however, in > XP, it is blank/null. > > Any ideas? > > Thanks, > Barb Ryan > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > 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 Aug 9 16:10:57 2005 From: martyconnelly at shaw.ca (MartyConnelly) Date: Tue, 09 Aug 2005 14:10:57 -0700 Subject: [AccessD] Conversion to adp References: <20050809190444.ZWLD25678.ibm61aec.bellsouth.net@SUSANONE> Message-ID: <42F91BE1.7070308@shaw.ca> These guys will give you a quote roughly 5 days under $10,000. for mdb to adp conversion. I'll bet they use data modeling reverse engineering tools. http://www.upsizewizard.com/ They also give a long list of considerations to look at re conversion mdb to adp and links to MS upsizing wizard white paper. http://www.upsizewizard.com/index.cfm?fuseaction=browse&id=5036&pageid=22 You may want to consider keeping the mdb format and hooking to sql server via ado or dao. rather than doing an adp conversion. But a lot of the above considerations apply. One reason being SQL Express the new version of MSDE or SQL Server 2005 wont hook to ADP's unless they are installed in crippled SQL 2000 compatibilty mode. "You will not be able to use any of the designers with SQLS 2005 databases, whether it's SQL Express or the Developer edition. IOW, you won't be able to create databases, tables, views or any other database objects from an ADP. The only support that is envisioned is that you will be able to connect an Access front-end to a SQLS 2005 back end if it is running in SQLS 2000 compatibility mode, so your forms, reports and other local Access objects should still run. FAQ: How to connect to SQL Express from "downlevel clients"(Access 2003, VS 2003, VB 6, etc http://blogs.msdn.com/sqlexpress/archive/2004/07/23/192044.aspx Susan Harkins wrote: >I'm wondering what you guys would charge to convert an mdb file to an adp? >No code upgrade, just the objects? How would you determine what to charge -- >I'm sure you'd have to see the mdb first -- but what would you be looking >for? > >Susan H. > > -- Marty Connelly Victoria, B.C. Canada From Chester_Kaup at kindermorgan.com Tue Aug 9 16:13:50 2005 From: Chester_Kaup at kindermorgan.com (Kaup, Chester) Date: Tue, 9 Aug 2005 16:13:50 -0500 Subject: [AccessD] Query asks for input - why? Message-ID: This query is asking for input of [qry Pattern WAG Scheme]![Cum_Toti_hcpv] yet this query when I run it by itself does not. Maybe a query syntax error but I don't see it. SELECT [tbl Actual Injectivities Daily].Pattern, [tbl Actual Injectivities Daily].Date, [tbl Actual Injectivities Daily].[TotI (%HCPV/Yr)], (Select Fluid from [tbl Wag] where [qry Pattern WAG Scheme]![Cum_Toti_hcpv] = (Select Max (Cum_Toti_hcpv) from [qry Pattern WAG Scheme] where [qry Pattern WAG Scheme]![Cum_Toti_hcpv] <= [tbl Actual Injectivities Daily]![TotI (%HCPV/Yr)] )) AS FluidType FROM [tbl Actual Injectivities Daily]; Chester Kaup Engineering Technician Kinder Morgan CO2 Company, LLP Office (432) 688-3797 FAX (432) 688-3799 No trees were killed in the sending of this message. However a large number of electrons were terribly inconvenienced. From Chester_Kaup at kindermorgan.com Tue Aug 9 16:23:51 2005 From: Chester_Kaup at kindermorgan.com (Kaup, Chester) Date: Tue, 9 Aug 2005 16:23:51 -0500 Subject: [AccessD] Query asks for input - why? Message-ID: I found the problem. A wrong table name. Thanks to anyone who looked. -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Kaup, Chester Sent: Tuesday, August 09, 2005 4:14 PM To: Access Developers discussion and problem solving Subject: [AccessD] Query asks for input - why? This query is asking for input of [qry Pattern WAG Scheme]![Cum_Toti_hcpv] yet this query when I run it by itself does not. Maybe a query syntax error but I don't see it. SELECT [tbl Actual Injectivities Daily].Pattern, [tbl Actual Injectivities Daily].Date, [tbl Actual Injectivities Daily].[TotI (%HCPV/Yr)], (Select Fluid from [tbl Wag] where [qry Pattern WAG Scheme]![Cum_Toti_hcpv] = (Select Max (Cum_Toti_hcpv) from [qry Pattern WAG Scheme] where [qry Pattern WAG Scheme]![Cum_Toti_hcpv] <= [tbl Actual Injectivities Daily]![TotI (%HCPV/Yr)] )) AS FluidType FROM [tbl Actual Injectivities Daily]; Chester Kaup Engineering Technician Kinder Morgan CO2 Company, LLP Office (432) 688-3797 FAX (432) 688-3799 No trees were killed in the sending of this message. However a large number of electrons were terribly inconvenienced. -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From artful at rogers.com Tue Aug 9 19:23:24 2005 From: artful at rogers.com (Arthur Fuller) Date: Tue, 9 Aug 2005 20:23:24 -0400 Subject: [AccessD] Conversion to adp In-Reply-To: <20050809190444.ZWLD25678.ibm61aec.bellsouth.net@SUSANONE> Message-ID: <200508100023.j7A0NPR13719@databaseadvisors.com> LOTS. -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Susan Harkins Sent: August 9, 2005 3:05 PM To: 'Access Developers discussion and problem solving' Subject: [AccessD] Conversion to adp I'm wondering what you guys would charge to convert an mdb file to an adp? No code upgrade, just the objects? How would you determine what to charge -- I'm sure you'd have to see the mdb first -- but what would you be looking for? Susan H. -- 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 Tue Aug 9 20:52:41 2005 From: D.Dick at uws.edu.au (Darren Dick) Date: Wed, 10 Aug 2005 11:52:41 +1000 Subject: [AccessD] RE: Discard changes in a query Message-ID: <2FDE83AF1A69C84796CBD13788DDA883703099@BONHAM.AD.UWS.EDU.AU> Hi Roz In addition to Andy's statement. I have been burned in the past by the Docmd.Setwarning false statement too. (Actually it's my bad coding :-)) I've been burned by not the actual statement ) Especially if your code fails (goes to the error handler) after running that line But before running the line that turns it back on I am in the habit of putting Docmd.setwarnings true at the Head of every error handler that has the Docmd.setwarning false statement somewhere in its preceding module Just in case I get a redirect to the Error Handler before I can 'turn it back on' Hope this helps See ya Darren PS Andy - I Can't wait for Thursday - Brett Lee or Not - McGrath or not Bring it on See ya DD -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Roz Clarke Sent: Tuesday, August 09, 2005 7:21 PM To: 'Access Developers discussion and problem solving' Subject: RE: [AccessD] Discard changes in a query Cheers Andy Remind me never to take over someone else's work, I keep falling over these weird little issues :/ -----Original Message----- From: Andy Lacey [mailto:andy at minstersystems.co.uk] Sent: 09 August 2005 10:16 To: Access Developers discussion and problem solving Subject: Re: [AccessD] Discard changes in a query Hi Roz It sounds like DoCmd.SetWarnings has been left False. Just execute a DoCmd.SetWarnings True in the Immediate window and see if that cures it. If it does, and the problem cmes back, then some code somewhere is setting it False and not back to True again. -- Andy Lacey http://www.minstersystems.co.uk --------- Original Message -------- From: "Access Developers discussion and problem solving" To: "'Access Developers discussion and problem solving'" Subject: [AccessD] Discard changes in a query Date: 09/08/05 08:36 Another stupid question from me... I have just taken over working on a databae app, nothing scary, just a training records database. In this database, unlike any other I am currently using, I do not get the option to discard an unsaved query. I have to save it with a name and then delete it. How can I set it so it just throws it away, like my other databases do? TIA Roz The contents of this message and any attachments are the property of Donns Solicitors and are intended for the confidential use of the named recipient only. They may be legally privileged and should not be communicated to, or relied upon, by any other party without our written consent. If you are not the addressee, please notify us immediately so that we can make arrangements for its return. You should not show this e-mail to any person or take copies as you may be committing a criminal or civil offence for which you may be liable. The statement and opinions expressed in this e-mail message are those of the writer, and do not necessarily represent that of Donns Solicitors. Although any files attached to this e-mail will have been checked with virus protection software prior to transmission, you should carry out your own virus check before opening any attachment. Donns Solicitors does not accept any liability for any damage or loss which may be caused by software viruses... -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com ________________________________________________ Message sent using UebiMiau 2.7.2 -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From cfoust at infostatsystems.com Wed Aug 10 11:21:31 2005 From: cfoust at infostatsystems.com (Charlotte Foust) Date: Wed, 10 Aug 2005 09:21:31 -0700 Subject: [AccessD] Where is everyone? Message-ID: I haven't seen a message since yesterday afternoon. Charlotte Foust Infostat Systems, Inc. From andy at minstersystems.co.uk Wed Aug 10 11:30:51 2005 From: andy at minstersystems.co.uk (Andy Lacey) Date: Wed, 10 Aug 2005 17:30:51 +0100 Subject: [AccessD] Where is everyone? In-Reply-To: Message-ID: <000c01c59dc8$df980870$2c1f0c54@minster33c3r25> Well you have now :-) -- Andy Lacey http://www.minstersystems.co.uk > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of > Charlotte Foust > Sent: 10 August 2005 17:22 > To: AccessD at databaseadvisors.com > Subject: [AccessD] Where is everyone? > > > I haven't seen a message since yesterday afternoon. > > Charlotte Foust > Infostat Systems, Inc. > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > > From tom.bolton at donnslaw.co.uk Wed Aug 10 11:33:58 2005 From: tom.bolton at donnslaw.co.uk (Tom Bolton) Date: Wed, 10 Aug 2005 17:33:58 +0100 Subject: [AccessD] Where is everyone? Message-ID: <61F915314798D311A2F800A0C9C831880802A2BE@dibble.observatory.donnslaw.co.uk> Me neither, I'm sat in an empty office with an empty AccessD folder Marie Celeste springs to mind :-) -----Original Message----- From: Charlotte Foust [mailto:cfoust at infostatsystems.com] Sent: 10-Aug-2005 17:22 To: AccessD at databaseadvisors.com Subject: [AccessD] Where is everyone? I haven't seen a message since yesterday afternoon. Charlotte Foust Infostat Systems, Inc. -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -------------- next part -------------- The contents of this message and any attachments are the property of Donns Solicitors and are intended for the confidential use of the named recipient only. They may be legally privileged and should not be communicated to, or relied upon, by any other party without our written consent. If you are not the addressee, please notify us immediately so that we can make arrangements for its return. You should not show this e-mail to any person or take copies as you may be committing a criminal or civil offence for which you may be liable. The statement and opinions expressed in this e-mail message are those of the writer, and do not necessarily represent that of Donns Solicitors. Although any files attached to this e-mail will have been checked with virus protection software prior to transmission, you should carry out your own virus check before opening any attachment. Donns Solicitors does not accept any liability for any damage or loss which may be caused by software viruses... From jwcolby at colbyconsulting.com Wed Aug 10 11:35:57 2005 From: jwcolby at colbyconsulting.com (John W. Colby) Date: Wed, 10 Aug 2005 12:35:57 -0400 Subject: [AccessD] Where is everyone? In-Reply-To: Message-ID: <00ad01c59dc9$95fb9f50$6c7aa8c0@ColbyM6805> No one wants to talk to you. ;-) John W. Colby www.ColbyConsulting.com Contribute your unused CPU cycles to a good cause: http://folding.stanford.edu/ -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Charlotte Foust Sent: Wednesday, August 10, 2005 12:22 PM To: AccessD at databaseadvisors.com Subject: [AccessD] Where is everyone? I haven't seen a message since yesterday afternoon. Charlotte Foust Infostat Systems, Inc. -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From papparuff at comcast.net Wed Aug 10 11:48:42 2005 From: papparuff at comcast.net (John Ruff) Date: Wed, 10 Aug 2005 09:48:42 -0700 Subject: [AccessD] Where is everyone? In-Reply-To: Message-ID: <200508101648.j7AGmnR24450@databaseadvisors.com> We're waiting for you to provide us with some new insights and tells us something new and exciting. John V. Ruff - The Eternal Optimist :-) "Commit to the Lord whatever you do, and your plans will succeed." Proverbs 16:3 -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Charlotte Foust Sent: Wednesday, August 10, 2005 9:22 AM To: AccessD at databaseadvisors.com Subject: [AccessD] Where is everyone? I haven't seen a message since yesterday afternoon. Charlotte Foust Infostat Systems, Inc. -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From djkr at msn.com Wed Aug 10 11:53:20 2005 From: djkr at msn.com (DJK(John) Robinson) Date: Wed, 10 Aug 2005 17:53:20 +0100 Subject: [AccessD] Where is everyone? In-Reply-To: Message-ID: Up ladders cutting hedges while printer-repairman does his stuff (more than three hours)! All in a short gap between returning from Italy and getting back to contract work tomorrow morning (groan) - an Access nightmare / disaster area like you've never seen before, trust me! Hence not enough time to read AccessD often enough to respond usefully, at least until November. Hey ho. John > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of > Charlotte Foust > Sent: 10 August 2005 17:22 > To: AccessD at databaseadvisors.com > Subject: [AccessD] Where is everyone? > > > I haven't seen a message since yesterday afternoon. > > Charlotte Foust > Infostat Systems, Inc. > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > From cfoust at infostatsystems.com Wed Aug 10 12:04:09 2005 From: cfoust at infostatsystems.com (Charlotte Foust) Date: Wed, 10 Aug 2005 10:04:09 -0700 Subject: [AccessD] Where is everyone? Message-ID: ROTFL It's because of clearing the immediate window from yesterday, right? Charlotte Foust -----Original Message----- From: John W. Colby [mailto:jwcolby at colbyconsulting.com] Sent: Wednesday, August 10, 2005 9:36 AM To: 'Access Developers discussion and problem solving' Subject: RE: [AccessD] Where is everyone? No one wants to talk to you. ;-) John W. Colby www.ColbyConsulting.com Contribute your unused CPU cycles to a good cause: http://folding.stanford.edu/ -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Charlotte Foust Sent: Wednesday, August 10, 2005 12:22 PM To: AccessD at databaseadvisors.com Subject: [AccessD] Where is everyone? I haven't seen a message since yesterday afternoon. Charlotte Foust Infostat Systems, Inc. -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd 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 Aug 10 12:06:34 2005 From: john at winhaven.net (John Bartow) Date: Wed, 10 Aug 2005 12:06:34 -0500 Subject: [AccessD] Where is everyone? In-Reply-To: Message-ID: <200508101706.j7AH6aTg192542@pimout1-ext.prodigy.net> Had this come through while I was away: The Access Unlimited Newsletter - Edition 58 GOOD READING Tony Jacoby from Solutions On Hand in Sydney says "Have you ever come across Be-Up the Backend Updater from Database Advisors? It's free and it's also "open source" and the developers are pretty helpful with support and enhancements. If you haven't already seen it, go to" http://www.databaseadvisors.com/downloads.htm. Hey, we get press coverage! :o) -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Charlotte Foust Sent: Wednesday, August 10, 2005 11:22 AM To: AccessD at databaseadvisors.com Subject: [AccessD] Where is everyone? I haven't seen a message since yesterday afternoon. Charlotte Foust Infostat Systems, Inc. -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From Jim.Hale at FleetPride.com Wed Aug 10 13:23:55 2005 From: Jim.Hale at FleetPride.com (Hale, Jim) Date: Wed, 10 Aug 2005 13:23:55 -0500 Subject: [AccessD] Where is everyone? Message-ID: <6A6AA9DF57E4F046BDA1E273BDDB677233776F@corp-es01.fleetpride.com> Nah, we're still genuflecting in reverent silence. You forgot to say "rise" :-) Jim Hale -----Original Message----- From: Charlotte Foust [mailto:cfoust at infostatsystems.com] Sent: Wednesday, August 10, 2005 12:04 PM To: Access Developers discussion and problem solving Subject: RE: [AccessD] Where is everyone? ROTFL It's because of clearing the immediate window from yesterday, right? Charlotte Foust -----Original Message----- From: John W. Colby [mailto:jwcolby at colbyconsulting.com] Sent: Wednesday, August 10, 2005 9:36 AM To: 'Access Developers discussion and problem solving' Subject: RE: [AccessD] Where is everyone? No one wants to talk to you. ;-) John W. Colby www.ColbyConsulting.com Contribute your unused CPU cycles to a good cause: http://folding.stanford.edu/ -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Charlotte Foust Sent: Wednesday, August 10, 2005 12:22 PM To: AccessD at databaseadvisors.com Subject: [AccessD] Where is everyone? I haven't seen a message since yesterday afternoon. Charlotte Foust Infostat Systems, Inc. -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com *********************************************************************** The information transmitted is intended solely for the individual or entity to which it is addressed and may contain confidential and/or privileged material. Any review, retransmission, dissemination or other use of or taking action in reliance upon this information by persons or entities other than the intended recipient is prohibited. If you have received this email in error please contact the sender and delete the material from any computer. As a recipient of this email, you are responsible for screening its contents and the contents of any attachments for the presence of viruses. No liability is accepted for any damages caused by any virus transmitted by this email. From lembit.soobik at t-online.de Wed Aug 10 13:59:27 2005 From: lembit.soobik at t-online.de (Lembit Soobik) Date: Wed, 10 Aug 2005 20:59:27 +0200 Subject: [AccessD] Where is everyone? References: <200508101706.j7AH6aTg192542@pimout1-ext.prodigy.net> Message-ID: <00de01c59ddd$a1e17dd0$0700a8c0@s1800> WOW! we need to ask for some donations from them :) Lembit ----- Original Message ----- From: "John Bartow" To: "'Access Developers discussion and problem solving'" Sent: Wednesday, August 10, 2005 7:06 PM Subject: RE: [AccessD] Where is everyone? > Had this come through while I was away: > > The Access Unlimited Newsletter - Edition 58 > > GOOD READING > > Tony Jacoby from Solutions On Hand in Sydney says > > "Have you ever come across Be-Up the Backend Updater from Database > Advisors? > It's free and it's also "open source" and the developers are pretty > helpful > with support and enhancements. If you haven't already seen it, go to" > > http://www.databaseadvisors.com/downloads.htm. > > Hey, we get press coverage! > :o) > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Charlotte Foust > Sent: Wednesday, August 10, 2005 11:22 AM > To: AccessD at databaseadvisors.com > Subject: [AccessD] Where is everyone? > > I haven't seen a message since yesterday afternoon. > > Charlotte Foust > Infostat Systems, Inc. > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > > > -- > No virus found in this incoming message. > Checked by AVG Anti-Virus. > Version: 7.0.338 / Virus Database: 267.10.5/67 - Release Date: 09.08.2005 > > From mmattys at rochester.rr.com Wed Aug 10 14:21:40 2005 From: mmattys at rochester.rr.com (Michael R Mattys) Date: Wed, 10 Aug 2005 15:21:40 -0400 Subject: [AccessD] Where is everyone? References: <200508101706.j7AH6aTg192542@pimout1-ext.prodigy.net> Message-ID: <017701c59de0$bdde8840$0302a8c0@default> I was going through my old email and found a couple on my trip down Memory Lane: From: David Scott [mailto:davidscott at mtgroup.com] Sent: Tuesday, June 13, 2000 11:56 AM To: Christopher Hawkins Subject: RE: Help! My posts are getting bounced! I only pop in on the list maybe once every month or two to see what's going on. Today I signed on and received a mailbox full of some of the most ridiculous posts I've ever seen. People lobbing insults at each other, flames, etc. I have a very limited amount of bandwidth, and accessd takes most of it. I'll be darned if I'm going to take bandwidth away from my customers who need it to support this kind of list traffic. As of today, accessd is dead. I may bring it back up later, depending on the response I get. When (if) I do, the people who were active members this morning will be back on then. I don't want to come across to you too harsh - personally you may have not contributed to this incident at all, but I'm pretty miffed at the whole thing. Dave ----------- And A Little Humor ... ----------- ACTUAL BUMPER STICKERS (Rec'd 7/17/2000 from x-gf) 1. Constipated People Don't Give A Crap. 2. Practice Safe Sex, Go Screw Yourself. 3. If You Drink Don't Park, Accidents Cause People. 4. Honk If You've Never Seen An Uzi Fired From A Car Window. 5. My Kid Got Your Honor Roll Student Pregnant. 6. To All You Virgins, Thanks For Nothing. 7. If At First You Don't Succeed ... Blame Someone Else And Seek Counseling. 8. Impotence: Nature's Way Of Saying, "No Hard Feelings." 9. If You Can Read This, I've Lost My Trailer. 10. Warning! Driver Only Carries $20.00 In Ammunition. 11. How Many Roads Must A Man Travel Down Before He Admits He Is Lost? 12. The Earth Is Full -- Go Home. 13. I Have The Body Of A God ... Buddha. 14. This Would Be Really Funny If It Weren't Happening To Me. 15. So Many Pedestrians -- So Little Time. 16. Cleverly Disguised As A Responsible Adult 17. If We Quit Voting Will They All Go Away? 18. Eat Right, Exercise, Die Anyway. 19. Illiterate? Write For Help. From greggs at msn.com Wed Aug 10 14:32:30 2005 From: greggs at msn.com (Gregg) Date: Wed, 10 Aug 2005 14:32:30 -0500 Subject: [AccessD] Memo field parsing References: <007f01c5992e$f3bca8e0$ce1865cb@winxp> Message-ID: Worked like a charm A.D. thanks again! ----- Original Message ----- From: A.D.Tejpal To: Access Developers discussion and problem solving Sent: Thursday, August 04, 2005 2:57 PM Subject: Re: [AccessD] Memo field parsing Gregg, For sake of demonstration, let the source table named T_Memo consist of two fields, named ID (primary key - Autonumber) and Mem (memo type). Create another table, named T_MemRef, with just one field named Ref (number type). Populate this table with just two records, with values 1 and 2 respectively. Query Q_Memo as given below, should be used as record source for your report. It involves Cartesian join between tables T_Memo and T_MemRef. In detail section of your report, drag Mem and Ref from the field list, so as to create bound controls named Mem and Ref. Make these controls hidden, set their CanGrow property to "No" and position the same un-obtrusively. Insert an unbound text box named TxtMemo. This is the text box that would actually display the contents of memo field. Set the width and fonts as desired. Set the CanGrow property of this control as well as the detail section as a whole, to "Yes". In VBA window, put the code given below, in Detail_Format event of the report. Make sure that the item "On Format" in Event tab of properties dialog box shows [Event Procedure] against it. Now, when you run the report, first three lines of the memo field will get displayed on first page and the balance portion on the next page. Similar pattern would get repeated for all records. Best wishes, A.D.Tejpal -------------- Source Query for the report (Q_Memo) ===================================== SELECT T_Memo.ID, T_MemRef.Ref, T_Memo.Mem FROM T_Memo, T_MemRef ORDER BY T_Memo.ID, T_MemRef.Ref; ===================================== Code in Report's Module ===================================== Private Sub Detail_Format(Cancel As Integer, _ FormatCount As Integer) Dim Wd As Long, Rw As Single, Mgn As Long Dim LenMem As Long, Txt As String, Lft As Long Dim LastSpace As Long, MaxRowsFirstPart Dim Mpf As Single MaxRowsFirstPart = 3 LenMem = Len(Mem) If LenMem > 0 Then Else Exit Sub End If With Me ' Set the scale mode to twips .ScaleMode = 1 ' Set Font values for report to match those of memo field. .FontName = TxtMemo.FontName .FontSize = TxtMemo.FontSize If TxtMemo.FontBold <> 0 Then .FontBold = True Else .FontBold = False End If End With ' Allow for necessary margin within a text box ' (Between its border and the content) Mgn = 170 ' This value may need fine tuning for ' best results ' Get effective width of control meant for ' displaying memo field Wd = TxtMemo.Width - Mgn ' Get the number of characters so as to make-up the ' required number of rows for first part of memo field. For Lft = 1 To LenMem Txt = Left(Mem, Lft) LastSpace = IIf(Right(Txt, 1) = " ", Lft, LastSpace) Rw = TextWidth(Txt) / Wd If Rw > MaxRowsFirstPart Then Lft = Lft - 1 Exit For End If Next Debug.Print Lft; ", "; LastSpace ' Get Multiplying factor for acceptable max location ' of last space. Mpf = (0.8 + (MaxRowsFirstPart - 1)) / MaxRowsFirstPart ' Shorten the first part to nearest space ' (if within 20 % of the end of line) If LastSpace > Mpf * Lft And LastSpace < Lft Then Lft = LastSpace End If ' Populate the unbound text box with appropriate ' part of memo field. If Ref = 1 Then TxtMemo = Left(Mem, Lft) ' Force New Page - Afer section, only if memo ' field contents not yet finished If LenMem > Lft Then Detail.ForceNewPage = 2 Else Detail.ForceNewPage = 0 ' No break End If Else TxtMemo = Mid(Mem, Lft + 1) ' Force New Page - Afer section Detail.ForceNewPage = 2 End If End Sub ===================================== ----- Original Message ----- From: Gregg To: Access Developers discussion and problem solving Cc: Robert Penn Sent: Thursday, August 04, 2005 04:19 Subject: Re: [AccessD] Memo field parsing Thanks Charlotte! I give it a try. ----- Original Message ----- From: Charlotte Foust> To: Access Developers discussion and problem solving> Sent: Wednesday, August 03, 2005 5:33 PM Subject: RE: [AccessD] Memo field parsing No, get the textwidth of the control and see if the textwidth of the text is greater than that. Handle the situation where it is not and everything fits in the first control. Otherwise get the text that fits within the control textwidth and use instrRev to find the last space in that substring. Break it there. At that point, you also know the index of the starting point for the rest of the string, so all you need to do for the next page is use the Mid(text, index) to put the rest of it into the second page. Charlotte Foust -----Original Message----- From: Gregg [mailto:greggs at msn.com] Sent: Wednesday, August 03, 2005 11:34 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Memo field parsing So, you're saying I need to loop through all the characters until I find the last whole word that will fit on the first line, the same for the second etc. until I determine what text will fit in the first page text field and use what's left for the 2nd page? ----- Original Message ----- From: Charlotte Foust>> To: Access Developers discussion and problem solving>> Sent: Wednesday, August 03, 2005 11:02 AM Subject: RE: [AccessD] Memo field parsing You can't do it by simply counting characters anyhow. You have to use the TextWidth property, which can be expressed as reportname.TextWidth(stringvariable) and compare that to the textwidth of the control ( reportname.TextWidth(controlobject) or to the maximum length you want to display. You'll also want to allow a padding factor to avoid overrunning the borders of the control and be sure and check for carriage returns because they confuse the issue. If you want to display 3 "lines", you'll have to break the memo field into the first three chunks that will fit into the textwidth of the textbox you're using to display the text on that page. Charlotte Foust -----Original Message----- From: Gregg [mailto:greggs at msn.com] Sent: Wednesday, August 03, 2005 8:43 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Memo field parsing Charlotte Physical space I think because I don't know how to get from one to the other. The number of characters is going to be dependant on the how many characters are lost to word wrapping isn't it? Is there a way to calculate the number of characters that will appear in the first three lines? If I knew that, I could do it. ----- Original Message ----- From: Charlotte Foust> m>> To: Access Developers discussion and problem solving> ors.com>> Sent: Wednesday, August 03, 2005 10:28 AM Subject: RE: [AccessD] Memo field parsing Define "first three lines". Is that a particular number of characters or a physical space? Charlotte Foust -----Original Message----- From: Gregg [mailto:greggs at msn.com] Sent: Wednesday, August 03, 2005 7:32 AM To: Access Developers discussion and problem solving Subject: [AccessD] Memo field parsing I would like to parse a memo field in a A97 report such that the first three lines is on the first page and whatever is left is on the next. Any ideas? Gregg Steinbrenner -- AccessD mailing list -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From jwcolby at colbyconsulting.com Wed Aug 10 14:31:53 2005 From: jwcolby at colbyconsulting.com (John W. Colby) Date: Wed, 10 Aug 2005 15:31:53 -0400 Subject: [AccessD] Where is everyone? In-Reply-To: <017701c59de0$bdde8840$0302a8c0@default> Message-ID: <00c101c59de2$296bd670$6c7aa8c0@ColbyM6805> Ahhhh... The beginning of DatabaseAdvisors. I remember it well. John W. Colby www.ColbyConsulting.com Contribute your unused CPU cycles to a good cause: http://folding.stanford.edu/ -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Michael R Mattys Sent: Wednesday, August 10, 2005 3:22 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Where is everyone? I was going through my old email and found a couple on my trip down Memory Lane: From: David Scott [mailto:davidscott at mtgroup.com] Sent: Tuesday, June 13, 2000 11:56 AM To: Christopher Hawkins Subject: RE: Help! My posts are getting bounced! I only pop in on the list maybe once every month or two to see what's going on. Today I signed on and received a mailbox full of some of the most ridiculous posts I've ever seen. People lobbing insults at each other, flames, etc. I have a very limited amount of bandwidth, and accessd takes most of it. I'll be darned if I'm going to take bandwidth away from my customers who need it to support this kind of list traffic. As of today, accessd is dead. I may bring it back up later, depending on the response I get. When (if) I do, the people who were active members this morning will be back on then. I don't want to come across to you too harsh - personally you may have not contributed to this incident at all, but I'm pretty miffed at the whole thing. Dave From mikedorism at verizon.net Wed Aug 10 14:37:41 2005 From: mikedorism at verizon.net (Mike & Doris Manning) Date: Wed, 10 Aug 2005 15:37:41 -0400 Subject: [AccessD] Where is everyone? In-Reply-To: <00c101c59de2$296bd670$6c7aa8c0@ColbyM6805> Message-ID: <001801c59de2$f9d89e60$2e01a8c0@dorismanning> Has it really been that long? Seems like only yesterday to me.... Doris Manning Database Administrator Hargrove Inc. -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of John W. Colby Sent: Wednesday, August 10, 2005 3:32 PM To: 'Access Developers discussion and problem solving' Subject: RE: [AccessD] Where is everyone? Ahhhh... The beginning of DatabaseAdvisors. I remember it well. John W. Colby www.ColbyConsulting.com Contribute your unused CPU cycles to a good cause: http://folding.stanford.edu/ -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Michael R Mattys Sent: Wednesday, August 10, 2005 3:22 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Where is everyone? I was going through my old email and found a couple on my trip down Memory Lane: From: David Scott [mailto:davidscott at mtgroup.com] Sent: Tuesday, June 13, 2000 11:56 AM To: Christopher Hawkins Subject: RE: Help! My posts are getting bounced! I only pop in on the list maybe once every month or two to see what's going on. Today I signed on and received a mailbox full of some of the most ridiculous posts I've ever seen. People lobbing insults at each other, flames, etc. I have a very limited amount of bandwidth, and accessd takes most of it. I'll be darned if I'm going to take bandwidth away from my customers who need it to support this kind of list traffic. As of today, accessd is dead. I may bring it back up later, depending on the response I get. When (if) I do, the people who were active members this morning will be back on then. I don't want to come across to you too harsh - personally you may have not contributed to this incident at all, but I'm pretty miffed at the whole thing. Dave -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From JRojas at tnco-inc.com Wed Aug 10 14:55:58 2005 From: JRojas at tnco-inc.com (Joe Rojas) Date: Wed, 10 Aug 2005 15:55:58 -0400 Subject: [AccessD] Access 2000 Charts Message-ID: <0CC84C9461AE6445AD5A602001C41C4B05A42E@mercury.tnco-inc.com> Hi all, I have two problems that are driving me crazy with the charting control that Access 2000 uses. 1) When I had a chart using the wizard, the datasheet for the chart is using the East, West, North data that is there by default despite the fact that my Row Source is correct. Is there a way to have the control update to reflect "real" data? 2) I resized my chart so that it fills up most of the area on my report and then changed the size mode to zoom. When I do this the text is monstrous despite the fact that the font size is set to 8. Is there a way to have the chart use the font size that is specified? Thanks! JR 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. From greggs at msn.com Wed Aug 10 15:29:35 2005 From: greggs at msn.com (Gregg) Date: Wed, 10 Aug 2005 15:29:35 -0500 Subject: [AccessD] Where is everyone? References: Message-ID: Since everyone is so lonely... I have a general question about setting up printers/networks/Access. The client wants to print copies of Vendor Purchase Orders to multiple locations. I have total latitude with the customer on printer setup, network setup and Access. Thus far, I have been creating a report for each printer, each having the same subreport. I know there is code out there to help me a little with that. The part I really hate is setting up every user with every printer and the ongoing maintenance associated with it. I need a magic button that prints a report to the network printers I have specified in a table and doesn't care if the printer is configured on that workstation or not. Any ideas????? Gregg Steinbrenner ----- Original Message ----- From: Charlotte Foust To: AccessD at databaseadvisors.com Sent: Wednesday, August 10, 2005 11:21 AM Subject: [AccessD] Where is everyone? I haven't seen a message since yesterday afternoon. Charlotte Foust Infostat Systems, Inc. -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From greggs at msn.com Wed Aug 10 15:32:03 2005 From: greggs at msn.com (Gregg) Date: Wed, 10 Aug 2005 15:32:03 -0500 Subject: [AccessD] Printing multiple copies to multiple printers. References: Message-ID: Sorry... should have changed the subject line. ----- Original Message ----- From: Gregg To: Access Developers discussion and problem solving Sent: Wednesday, August 10, 2005 3:29 PM Subject: Re: [AccessD] Where is everyone? Since everyone is so lonely... I have a general question about setting up printers/networks/Access. The client wants to print copies of Vendor Purchase Orders to multiple locations. I have total latitude with the customer on printer setup, network setup and Access. Thus far, I have been creating a report for each printer, each having the same subreport. I know there is code out there to help me a little with that. The part I really hate is setting up every user with every printer and the ongoing maintenance associated with it. I need a magic button that prints a report to the network printers I have specified in a table and doesn't care if the printer is configured on that workstation or not. Any ideas????? Gregg Steinbrenner ----- Original Message ----- From: Charlotte Foust> To: AccessD at databaseadvisors.com> Sent: Wednesday, August 10, 2005 11:21 AM Subject: [AccessD] Where is everyone? I haven't seen a message since yesterday afternoon. Charlotte Foust Infostat Systems, Inc. -- AccessD mailing list AccessD at databaseadvisors.com> http://databaseadvisors.com/mailman/listinfo/accessd> Website: http://www.databaseadvisors.com> -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From Chester_Kaup at kindermorgan.com Wed Aug 10 15:56:31 2005 From: Chester_Kaup at kindermorgan.com (Kaup, Chester) Date: Wed, 10 Aug 2005 15:56:31 -0500 Subject: [AccessD] OK here is some VBA for someone to ponder Message-ID: I have the following at the start of a module: Dim MyQDef5 as QueryDef DIM myds7 as Recordset Set MyQDef5 = MyDb.QueryDefs("qry Fluid Type One Pattern") Later in the code I have the following: Set myds7 = MyQDef5.OpenRecordset() FluidType = myds7.Fields(3) The SQL of the query "qry Fluid Type One Pattern" is as follows SELECT Pattern, Date, CumTotalInj, (Select Fluid from [qry Pattern WAG Scheme] where [qry Pattern WAG Scheme]![Cum_Toti_hcpv] =(Select Max (Cum_Toti_hcpv) from [qry Pattern WAG Scheme] where [qry Pattern WAG Scheme]![Cum_Toti_hcpv] <= [tbl Cum Total Injection One Pattern]![CumTotalInj] )) AS FluidType FROM [tbl Cum Total Injection One Pattern]; The table "tbl Cum Total Injection One Pattern" has 617 records in it but the query only returns one record. I would expect to see 617 records. Chester Kaup Engineering Technician Kinder Morgan CO2 Company, LLP Office (432) 688-3797 FAX (432) 688-3799 No trees were killed in the sending of this message. However a large number of electrons were terribly inconvenienced. From greggs at msn.com Wed Aug 10 16:20:53 2005 From: greggs at msn.com (Gregg) Date: Wed, 10 Aug 2005 16:20:53 -0500 Subject: [AccessD] Printing multiple copies to multiple printers. References: Message-ID: Sorry again... I realize now I don't have to setup the printers. Just chalk this post up to Friday humor. ----- Original Message ----- From: Gregg To: Access Developers discussion and problem solving Sent: Wednesday, August 10, 2005 3:32 PM Subject: [AccessD] Printing multiple copies to multiple printers. Sorry... should have changed the subject line. ----- Original Message ----- From: Gregg> To: Access Developers discussion and problem solving> Sent: Wednesday, August 10, 2005 3:29 PM Subject: Re: [AccessD] Where is everyone? Since everyone is so lonely... I have a general question about setting up printers/networks/Access. The client wants to print copies of Vendor Purchase Orders to multiple locations. I have total latitude with the customer on printer setup, network setup and Access. Thus far, I have been creating a report for each printer, each having the same subreport. I know there is code out there to help me a little with that. The part I really hate is setting up every user with every printer and the ongoing maintenance associated with it. I need a magic button that prints a report to the network printers I have specified in a table and doesn't care if the printer is configured on that workstation or not. Any ideas????? Gregg Steinbrenner ----- Original Message ----- From: Charlotte Foust>> To: AccessD at databaseadvisors.com>> Sent: Wednesday, August 10, 2005 11:21 AM Subject: [AccessD] Where is everyone? I haven't seen a message since yesterday afternoon. Charlotte Foust Infostat Systems, Inc. -- AccessD mailing list AccessD at databaseadvisors.com>> http://databaseadvisors.com/mailman/listinfo/accessd>> Website: http://www.databaseadvisors.com>> -- AccessD mailing list AccessD at databaseadvisors.com> http://databaseadvisors.com/mailman/listinfo/accessd> Website: http://www.databaseadvisors.com> -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From dwaters at usinternet.com Wed Aug 10 19:20:33 2005 From: dwaters at usinternet.com (Dan Waters) Date: Wed, 10 Aug 2005 17:20:33 -0700 Subject: [AccessD] Access 2000 Charts In-Reply-To: <19434215.1123704006325.JavaMail.root@sniper18> Message-ID: <000001c59e0a$7e443cf0$0518820a@danwaters> Joe - do you have the reference to Graph 9.0 set? Dan Waters -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Joe Rojas Sent: Wednesday, August 10, 2005 12:56 PM To: 'Access Developers discussion and problem solving' Subject: [AccessD] Access 2000 Charts Hi all, I have two problems that are driving me crazy with the charting control that Access 2000 uses. 1) When I had a chart using the wizard, the datasheet for the chart is using the East, West, North data that is there by default despite the fact that my Row Source is correct. Is there a way to have the control update to reflect "real" data? 2) I resized my chart so that it fills up most of the area on my report and then changed the size mode to zoom. When I do this the text is monstrous despite the fact that the font size is set to 8. Is there a way to have the chart use the font size that is specified? Thanks! JR 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. -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From lmrazek at lcm-res.com Wed Aug 10 21:17:05 2005 From: lmrazek at lcm-res.com (Lawrence Mrazek) Date: Wed, 10 Aug 2005 21:17:05 -0500 Subject: [AccessD] Access 2000 Charts In-Reply-To: <0CC84C9461AE6445AD5A602001C41C4B05A42E@mercury.tnco-inc.com> Message-ID: <20050810221786.SM00672@hplaptop> Hi Joe: Question 2: Check the properties of the text boxes (menus, headings, etc.). Click on a heading and bring up the properties (EX: format axis title). Click on the "fonts" tab and make sure that "auto scale" is not checked. The Auto Scale property "helps" you out by resizing everything you edited ... . Hope this helps. Larry Mrazek LCM Research, Inc. www.lcm-res.com lmrazek at lcm-res.com ph. 314-432-5886 fx. 314-432-3304 -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Joe Rojas Sent: Wednesday, August 10, 2005 2:56 PM To: 'Access Developers discussion and problem solving' Subject: [AccessD] Access 2000 Charts Hi all, I have two problems that are driving me crazy with the charting control that Access 2000 uses. 1) When I had a chart using the wizard, the datasheet for the chart is using the East, West, North data that is there by default despite the fact that my Row Source is correct. Is there a way to have the control update to reflect "real" data? 2) I resized my chart so that it fills up most of the area on my report and then changed the size mode to zoom. When I do this the text is monstrous despite the fact that the font size is set to 8. Is there a way to have the chart use the font size that is specified? Thanks! JR 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. -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From jwcolby at colbyconsulting.com Thu Aug 11 07:30:07 2005 From: jwcolby at colbyconsulting.com (John W. Colby) Date: Thu, 11 Aug 2005 08:30:07 -0400 Subject: [AccessD] OT: Outlook calendar Message-ID: <000001c59e70$6bbc3770$6c7aa8c0@ColbyM6805> When I click on the calendar in outlook, I am shown the day (or the week) in yellow with the hours etc. To the right of that I am shown NOTES. I want to see the monthly calendar there. I know this is possible because in the archive calendar, that is the view. How do I display the monthly calendars instead of notes? John W. Colby www.ColbyConsulting.com Contribute your unused CPU cycles to a good cause: http://folding.stanford.edu/ From JRojas at tnco-inc.com Thu Aug 11 07:48:15 2005 From: JRojas at tnco-inc.com (Joe Rojas) Date: Thu, 11 Aug 2005 08:48:15 -0400 Subject: [AccessD] OT: Outlook calendar Message-ID: <0CC84C9461AE6445AD5A602001C41C4B05A42F@mercury.tnco-inc.com> On the same row of icons that starts with New, there should be an icon that says Month. Click that and it should give you what you want. JR -----Original Message----- From: John W. Colby [mailto:jwcolby at colbyconsulting.com] Sent: Thursday, August 11, 2005 8:30 AM To: 'Access Developers discussion and problem solving' Subject: [AccessD] OT: Outlook calendar When I click on the calendar in outlook, I am shown the day (or the week) in yellow with the hours etc. To the right of that I am shown NOTES. I want to see the monthly calendar there. I know this is possible because in the archive calendar, that is the view. How do I display the monthly calendars instead of notes? John W. Colby www.ColbyConsulting.com Contribute your unused CPU cycles to a good cause: http://folding.stanford.edu/ -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com 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. From garykjos at gmail.com Thu Aug 11 07:51:17 2005 From: garykjos at gmail.com (Gary Kjos) Date: Thu, 11 Aug 2005 07:51:17 -0500 Subject: [AccessD] OT: Outlook calendar In-Reply-To: <000001c59e70$6bbc3770$6c7aa8c0@ColbyM6805> References: <000001c59e70$6bbc3770$6c7aa8c0@ColbyM6805> Message-ID: Hi John Try dragging the border of the notes box down so there is room for the month calendar box. The month calendar may be underneath. It is on mine only it's the Taskpad that I have over there on the right with the calendar above it. Gary On 8/11/05, John W. Colby wrote: > When I click on the calendar in outlook, I am shown the day (or the week) in > yellow with the hours etc. To the right of that I am shown NOTES. I want > to see the monthly calendar there. I know this is possible because in the > archive calendar, that is the view. > > How do I display the monthly calendars instead of notes? > > John W. Colby > www.ColbyConsulting.com > > Contribute your unused CPU cycles to a good cause: > http://folding.stanford.edu/ > > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > -- Gary Kjos garykjos at gmail.com From adtp at touchtelindia.net Thu Aug 11 07:47:08 2005 From: adtp at touchtelindia.net (A.D.Tejpal) Date: Thu, 11 Aug 2005 18:17:08 +0530 Subject: [AccessD] Access 2000 Charts References: <0CC84C9461AE6445AD5A602001C41C4B05A42E@mercury.tnco-inc.com> Message-ID: <004b01c59e73$01192560$921865cb@winxp> Joe, The problem faced by you indicates that the desired values of RowSource have not yet sunk in. What you are seeing, are the default values. As a remedial action, direct editing of source datasheet for the chart object has to be undertaken. My sample database named ChartsDemo might be of interest to you. It is available at Rogers Access Library (other developers library). Link - http://www.rogersaccesslibrary.com This db demonstrates handling of charts on forms as well as reports. Items 1 & 6 of the tips provided therein should be of special relevance to your case. Best wishes, A.D.Tejpal -------------- ----- Original Message ----- From: Joe Rojas To: 'Access Developers discussion and problem solving' Sent: Thursday, August 11, 2005 01:25 Subject: [AccessD] Access 2000 Charts Hi all, I have two problems that are driving me crazy with the charting control that Access 2000 uses. 1) When I had a chart using the wizard, the datasheet for the chart is using the East, West, North data that is there by default despite the fact that my Row Source is correct. Is there a way to have the control update to reflect "real" data? 2) I resized my chart so that it fills up most of the area on my report and then changed the size mode to zoom. When I do this the text is monstrous despite the fact that the font size is set to 8. Is there a way to have the chart use the font size that is specified? Thanks! JR From jwcolby at colbyconsulting.com Thu Aug 11 08:01:15 2005 From: jwcolby at colbyconsulting.com (John W. Colby) Date: Thu, 11 Aug 2005 09:01:15 -0400 Subject: [AccessD] OT: Outlook calendar In-Reply-To: <0CC84C9461AE6445AD5A602001C41C4B05A42F@mercury.tnco-inc.com> Message-ID: <000301c59e74$c1a6b490$6c7aa8c0@ColbyM6805> It turns out that I had to grab the notes and drag the top down. It was a dividable window and the bottom section (notes) had been dragged all the way up to cover the top section (the calendar). I would NEVER have discovered that if I hadn't just happened to be watching the screen as I moved my mouse around and noticed the cursor change to the "drag boundary" cursor. John W. Colby www.ColbyConsulting.com Contribute your unused CPU cycles to a good cause: http://folding.stanford.edu/ -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Joe Rojas Sent: Thursday, August 11, 2005 8:48 AM To: 'Access Developers discussion and problem solving' Subject: RE: [AccessD] OT: Outlook calendar On the same row of icons that starts with New, there should be an icon that says Month. Click that and it should give you what you want. JR -----Original Message----- From: John W. Colby [mailto:jwcolby at colbyconsulting.com] Sent: Thursday, August 11, 2005 8:30 AM To: 'Access Developers discussion and problem solving' Subject: [AccessD] OT: Outlook calendar When I click on the calendar in outlook, I am shown the day (or the week) in yellow with the hours etc. To the right of that I am shown NOTES. I want to see the monthly calendar there. I know this is possible because in the archive calendar, that is the view. How do I display the monthly calendars instead of notes? John W. Colby www.ColbyConsulting.com Contribute your unused CPU cycles to a good cause: http://folding.stanford.edu/ -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com 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. -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From jwcolby at colbyconsulting.com Thu Aug 11 08:01:29 2005 From: jwcolby at colbyconsulting.com (John W. Colby) Date: Thu, 11 Aug 2005 09:01:29 -0400 Subject: [AccessD] OT: Outlook calendar In-Reply-To: Message-ID: <000401c59e74$cd7cf2c0$6c7aa8c0@ColbyM6805> Yep, that was it!!! John W. Colby www.ColbyConsulting.com Contribute your unused CPU cycles to a good cause: http://folding.stanford.edu/ -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Gary Kjos Sent: Thursday, August 11, 2005 8:51 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] OT: Outlook calendar Hi John Try dragging the border of the notes box down so there is room for the month calendar box. The month calendar may be underneath. It is on mine only it's the Taskpad that I have over there on the right with the calendar above it. Gary On 8/11/05, John W. Colby wrote: > When I click on the calendar in outlook, I am shown the day (or the > week) in yellow with the hours etc. To the right of that I am shown > NOTES. I want to see the monthly calendar there. I know this is > possible because in the archive calendar, that is the view. > > How do I display the monthly calendars instead of notes? > > John W. Colby > www.ColbyConsulting.com > > Contribute your unused CPU cycles to a good cause: > http://folding.stanford.edu/ > > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > -- Gary Kjos garykjos at gmail.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From JRojas at tnco-inc.com Thu Aug 11 08:07:26 2005 From: JRojas at tnco-inc.com (Joe Rojas) Date: Thu, 11 Aug 2005 09:07:26 -0400 Subject: [AccessD] Access 2000 Charts Message-ID: <0CC84C9461AE6445AD5A602001C41C4B05A431@mercury.tnco-inc.com> Thanks A.D.! This solved my datasheet problem! Thanks, Joe Rojas IT Manager TNCO, Inc. 781-447-6661 x7506 jrojas at tnco-inc.com -----Original Message----- From: A.D.Tejpal [mailto:adtp at touchtelindia.net] Sent: Thursday, August 11, 2005 8:47 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Access 2000 Charts Joe, The problem faced by you indicates that the desired values of RowSource have not yet sunk in. What you are seeing, are the default values. As a remedial action, direct editing of source datasheet for the chart object has to be undertaken. My sample database named ChartsDemo might be of interest to you. It is available at Rogers Access Library (other developers library). Link - http://www.rogersaccesslibrary.com This db demonstrates handling of charts on forms as well as reports. Items 1 & 6 of the tips provided therein should be of special relevance to your case. Best wishes, A.D.Tejpal -------------- ----- Original Message ----- From: Joe Rojas To: 'Access Developers discussion and problem solving' Sent: Thursday, August 11, 2005 01:25 Subject: [AccessD] Access 2000 Charts Hi all, I have two problems that are driving me crazy with the charting control that Access 2000 uses. 1) When I had a chart using the wizard, the datasheet for the chart is using the East, West, North data that is there by default despite the fact that my Row Source is correct. Is there a way to have the control update to reflect "real" data? 2) I resized my chart so that it fills up most of the area on my report and then changed the size mode to zoom. When I do this the text is monstrous despite the fact that the font size is set to 8. Is there a way to have the chart use the font size that is specified? Thanks! JR -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com 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. From JRojas at tnco-inc.com Thu Aug 11 08:08:55 2005 From: JRojas at tnco-inc.com (Joe Rojas) Date: Thu, 11 Aug 2005 09:08:55 -0400 Subject: [AccessD] Access 2000 Charts Message-ID: <0CC84C9461AE6445AD5A602001C41C4B05A432@mercury.tnco-inc.com> Hi Larry, Thanks for the response! I tried what you said but it still scales and it is still huge. Any other ideas? Thanks, Joe Rojas IT Manager TNCO, Inc. 781-447-6661 x7506 jrojas at tnco-inc.com -----Original Message----- From: Lawrence Mrazek [mailto:lmrazek at lcm-res.com] Sent: Wednesday, August 10, 2005 10:17 PM To: 'Access Developers discussion and problem solving' Subject: RE: [AccessD] Access 2000 Charts Hi Joe: Question 2: Check the properties of the text boxes (menus, headings, etc.). Click on a heading and bring up the properties (EX: format axis title). Click on the "fonts" tab and make sure that "auto scale" is not checked. The Auto Scale property "helps" you out by resizing everything you edited ... . Hope this helps. Larry Mrazek LCM Research, Inc. www.lcm-res.com lmrazek at lcm-res.com ph. 314-432-5886 fx. 314-432-3304 -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Joe Rojas Sent: Wednesday, August 10, 2005 2:56 PM To: 'Access Developers discussion and problem solving' Subject: [AccessD] Access 2000 Charts Hi all, I have two problems that are driving me crazy with the charting control that Access 2000 uses. 1) When I had a chart using the wizard, the datasheet for the chart is using the East, West, North data that is there by default despite the fact that my Row Source is correct. Is there a way to have the control update to reflect "real" data? 2) I resized my chart so that it fills up most of the area on my report and then changed the size mode to zoom. When I do this the text is monstrous despite the fact that the font size is set to 8. Is there a way to have the chart use the font size that is specified? Thanks! JR 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. -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/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 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. From Developer at UltraDNT.com Thu Aug 11 09:01:42 2005 From: Developer at UltraDNT.com (Steve Conklin (Developer@UltraDNT)) Date: Thu, 11 Aug 2005 10:01:42 -0400 Subject: [AccessD] Print Reports to Specific Printers WAS Where is everyone? In-Reply-To: Message-ID: <00a101c59e7d$36ce0860$640fa8c0@CONKEY2000> Didn't see if this got answered - are you using Access 2002 or higher? Much easier if the answer is yes. Each report has a printer property that is changeable at run-time: DoCmd.OpenReport strName, acViewPreview, , "invoiceid=" & lngInvID Set rpt = Reports(strName) rpt.Printer = Application.Printers(DLOOKUP ("INVOICEPRINTER","usysUSERSETTINGS","UserID='" & GetUserID & "'")) I did an article at http://my.advisor.com/doc/14608 if you are a subscriber. (I can send it off-line - if I can find it) If you are using 2000 or lower, you need PrtDevMode API code (http://support.microsoft.com/?id=129397) Either way, though, the driver has to get to the workstation, even if printing to a network printer via its share name. These 2 methods can only give you a list of printers that properly show up in Ctl Panel/Printers. Hth Steve -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Gregg Sent: Wednesday, August 10, 2005 4:30 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Where is everyone? Since everyone is so lonely... I have a general question about setting up printers/networks/Access. The client wants to print copies of Vendor Purchase Orders to multiple locations. I have total latitude with the customer on printer setup, network setup and Access. Thus far, I have been creating a report for each printer, each having the same subreport. I know there is code out there to help me a little with that. The part I really hate is setting up every user with every printer and the ongoing maintenance associated with it. I need a magic button that prints a report to the network printers I have specified in a table and doesn't care if the printer is configured on that workstation or not. Any ideas????? Gregg Steinbrenner ----- Original Message ----- From: Charlotte Foust To: AccessD at databaseadvisors.com Sent: Wednesday, August 10, 2005 11:21 AM Subject: [AccessD] Where is everyone? I haven't seen a message since yesterday afternoon. Charlotte Foust Infostat Systems, Inc. -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From JRojas at tnco-inc.com Thu Aug 11 09:14:22 2005 From: JRojas at tnco-inc.com (Joe Rojas) Date: Thu, 11 Aug 2005 10:14:22 -0400 Subject: [AccessD] Access 2000 Charts Message-ID: <0CC84C9461AE6445AD5A602001C41C4B05A434@mercury.tnco-inc.com> Out of frustration, I started to drag the edges of the chart outward. As I did this, the text magically updated to the correct size! I can't figure it out but at least it work. Any ideas on what is going on? Thanks, Joe Rojas IT Manager TNCO, Inc. 781-447-6661 x7506 jrojas at tnco-inc.com -----Original Message----- From: Joe Rojas [mailto:JRojas at tnco-inc.com] Sent: Thursday, August 11, 2005 9:09 AM To: 'Access Developers discussion and problem solving' Subject: RE: [AccessD] Access 2000 Charts Hi Larry, Thanks for the response! I tried what you said but it still scales and it is still huge. Any other ideas? Thanks, Joe Rojas IT Manager TNCO, Inc. 781-447-6661 x7506 jrojas at tnco-inc.com -----Original Message----- From: Lawrence Mrazek [mailto:lmrazek at lcm-res.com] Sent: Wednesday, August 10, 2005 10:17 PM To: 'Access Developers discussion and problem solving' Subject: RE: [AccessD] Access 2000 Charts Hi Joe: Question 2: Check the properties of the text boxes (menus, headings, etc.). Click on a heading and bring up the properties (EX: format axis title). Click on the "fonts" tab and make sure that "auto scale" is not checked. The Auto Scale property "helps" you out by resizing everything you edited ... . Hope this helps. Larry Mrazek LCM Research, Inc. www.lcm-res.com lmrazek at lcm-res.com ph. 314-432-5886 fx. 314-432-3304 -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Joe Rojas Sent: Wednesday, August 10, 2005 2:56 PM To: 'Access Developers discussion and problem solving' Subject: [AccessD] Access 2000 Charts Hi all, I have two problems that are driving me crazy with the charting control that Access 2000 uses. 1) When I had a chart using the wizard, the datasheet for the chart is using the East, West, North data that is there by default despite the fact that my Row Source is correct. Is there a way to have the control update to reflect "real" data? 2) I resized my chart so that it fills up most of the area on my report and then changed the size mode to zoom. When I do this the text is monstrous despite the fact that the font size is set to 8. Is there a way to have the chart use the font size that is specified? Thanks! JR 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. -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/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 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. -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com 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. From paul.hartland at fsmail.net Thu Aug 11 09:38:17 2005 From: paul.hartland at fsmail.net (paul.hartland at fsmail.net) Date: Thu, 11 Aug 2005 16:38:17 +0200 (CEST) Subject: [AccessD] OT - Excel Find next highest number above 0 Message-ID: <14753344.1123771097583.JavaMail.www@wwinf3001> To all, I am writing out to an Excel sheet a list of our counters names and their count rate on a specific job (ordered by CountRate DESC) by specific clients (9 clients, one sheet for each). What I need to do is get the percentage between the two extreme count rates ( (highest-lowest)/highest ) To do this I had an excel template which had the formula ( (MAX(D2:D10000)-MIN(D2:D10000))/MAX(D2:D10000) ) and thought this would do the job, however if we haven't got the count data the lowest value is 0 which results in 100%.... How can I find the next highest value to the 0, I can loop backwards up the column but thought I would ask just in case there is a much cleaning/better way of acheiving this... Paul Hartland Database Developer From Gustav at cactus.dk Thu Aug 11 10:16:07 2005 From: Gustav at cactus.dk (Gustav Brock) Date: Thu, 11 Aug 2005 17:16:07 +0200 Subject: [AccessD] OT - Excel Find next highest number above 0 Message-ID: Hi Paul Couldn't you follow this route: (max(value) - IIf(min(value) = 0, max(value), min(value))) / max(value) That would return zero if Min() is missing. /gustav >>> paul.hartland at fsmail.net 08/11 4:38 pm >>> To all, I am writing out to an Excel sheet a list of our counters names and their count rate on a specific job (ordered by CountRate DESC) by specific clients (9 clients, one sheet for each). What I need to do is get the percentage between the two extreme count rates ( (highest-lowest)/highest ) To do this I had an excel template which had the formula ( (MAX(D2:D10000)-MIN(D2:D10000))/MAX(D2:D10000) ) and thought this would do the job, however if we haven't got the count data the lowest value is 0 which results in 100%.... How can I find the next highest value to the 0, I can loop backwards up the column but thought I would ask just in case there is a much cleaning/better way of acheiving this... Paul Hartland Database Developer From paul.hartland at isharp.co.uk Thu Aug 11 10:24:10 2005 From: paul.hartland at isharp.co.uk (Paul Hartland (ISHARP)) Date: Thu, 11 Aug 2005 16:24:10 +0100 Subject: [AccessD] OT - Excel Find next highest number above 0 In-Reply-To: Message-ID: Not really, I need to calculate the two extreme values, so say if Row12 ColumnD =0 I would have to got to Row11 ColumnD and see that value, if that was also a zero then row 10, 9, 8 etc until I reach a cell with a value inside -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Gustav Brock Sent: 11 August 2005 16:16 To: accessd at databaseadvisors.com Subject: Re: [AccessD] OT - Excel Find next highest number above 0 Hi Paul Couldn't you follow this route: (max(value) - IIf(min(value) = 0, max(value), min(value))) / max(value) That would return zero if Min() is missing. /gustav >>> paul.hartland at fsmail.net 08/11 4:38 pm >>> To all, I am writing out to an Excel sheet a list of our counters names and their count rate on a specific job (ordered by CountRate DESC) by specific clients (9 clients, one sheet for each). What I need to do is get the percentage between the two extreme count rates ( (highest-lowest)/highest ) To do this I had an excel template which had the formula ( (MAX(D2:D10000)-MIN(D2:D10000))/MAX(D2:D10000) ) and thought this would do the job, however if we haven't got the count data the lowest value is 0 which results in 100%.... How can I find the next highest value to the 0, I can loop backwards up the column but thought I would ask just in case there is a much cleaning/better way of acheiving this... Paul Hartland Database Developer -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From darsant at gmail.com Thu Aug 11 10:33:34 2005 From: darsant at gmail.com (Josh McFarlane) Date: Thu, 11 Aug 2005 10:33:34 -0500 Subject: [AccessD] OT - Excel Find next highest number above 0 In-Reply-To: References: Message-ID: <53c8e05a050811083365757446@mail.gmail.com> On 8/11/05, Paul Hartland (ISHARP) wrote: > Not really, I need to calculate the two extreme values, so say if Row12 > ColumnD =0 I would have to got to Row11 ColumnD and see that value, if that > was also a zero then row 10, 9, 8 etc until I reach a cell with a value > inside Sounds like you might need to throw together a VBA function to do it, you should be able to iterate through the rows until you find the value you need that way and then return it to the cell. Granted, may be a little more work, but it's guaranteed to work, and probably will end up being less time than trying to get the built-ins to work. -- Josh McFarlane "Peace cannot be kept by force. It can only be achieved by understanding." -Albert Einstein From greggs at msn.com Thu Aug 11 12:31:01 2005 From: greggs at msn.com (Gregg) Date: Thu, 11 Aug 2005 12:31:01 -0500 Subject: [AccessD] Print Reports to Specific Printers WAS Where iseveryone? References: <00a101c59e7d$36ce0860$640fa8c0@CONKEY2000> Message-ID: I didn't know that. This customer uses 2000 but that would be handy for others if you can find it. Thanks! ----- Original Message ----- From: Steve Conklin (Developer at UltraDNT) To: 'Access Developers discussion and problem solving' Sent: Thursday, August 11, 2005 9:01 AM Subject: RE: [AccessD] Print Reports to Specific Printers WAS Where iseveryone? Didn't see if this got answered - are you using Access 2002 or higher? Much easier if the answer is yes. Each report has a printer property that is changeable at run-time: DoCmd.OpenReport strName, acViewPreview, , "invoiceid=" & lngInvID Set rpt = Reports(strName) rpt.Printer = Application.Printers(DLOOKUP ("INVOICEPRINTER","usysUSERSETTINGS","UserID='" & GetUserID & "'")) I did an article at http://my.advisor.com/doc/14608 if you are a subscriber. (I can send it off-line - if I can find it) If you are using 2000 or lower, you need PrtDevMode API code (http://support.microsoft.com/?id=129397) Either way, though, the driver has to get to the workstation, even if printing to a network printer via its share name. These 2 methods can only give you a list of printers that properly show up in Ctl Panel/Printers. Hth Steve -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Gregg Sent: Wednesday, August 10, 2005 4:30 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Where is everyone? Since everyone is so lonely... I have a general question about setting up printers/networks/Access. The client wants to print copies of Vendor Purchase Orders to multiple locations. I have total latitude with the customer on printer setup, network setup and Access. Thus far, I have been creating a report for each printer, each having the same subreport. I know there is code out there to help me a little with that. The part I really hate is setting up every user with every printer and the ongoing maintenance associated with it. I need a magic button that prints a report to the network printers I have specified in a table and doesn't care if the printer is configured on that workstation or not. Any ideas????? Gregg Steinbrenner ----- Original Message ----- From: Charlotte Foust> To: AccessD at databaseadvisors.com> Sent: Wednesday, August 10, 2005 11:21 AM Subject: [AccessD] Where is everyone? I haven't seen a message since yesterday afternoon. Charlotte Foust Infostat Systems, Inc. -- AccessD mailing list AccessD at databaseadvisors.com> http://databaseadvisors.com/mailman/listinfo/accessd sors.com/mailman/listinfo/accessd> Website: http://www.databaseadvisors.com> -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd 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 Thu Aug 11 12:55:05 2005 From: Jim.Hale at FleetPride.com (Hale, Jim) Date: Thu, 11 Aug 2005 12:55:05 -0500 Subject: [AccessD] OT - Excel Find next highest number above 0 Message-ID: <6A6AA9DF57E4F046BDA1E273BDDB6772337776@corp-es01.fleetpride.com> Look at the DMAX and DMIN functions which allow for criteria such as >0 Jim Hale -----Original Message----- From: paul.hartland at fsmail.net [mailto:paul.hartland at fsmail.net] Sent: Thursday, August 11, 2005 9:38 AM To: accessd Subject: [AccessD] OT - Excel Find next highest number above 0 To all, I am writing out to an Excel sheet a list of our counters names and their count rate on a specific job (ordered by CountRate DESC) by specific clients (9 clients, one sheet for each). What I need to do is get the percentage between the two extreme count rates ( (highest-lowest)/highest ) To do this I had an excel template which had the formula ( (MAX(D2:D10000)-MIN(D2:D10000))/MAX(D2:D10000) ) and thought this would do the job, however if we haven't got the count data the lowest value is 0 which results in 100%.... How can I find the next highest value to the 0, I can loop backwards up the column but thought I would ask just in case there is a much cleaning/better way of acheiving this... Paul Hartland Database Developer -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com *********************************************************************** The information transmitted is intended solely for the individual or entity to which it is addressed and may contain confidential and/or privileged material. Any review, retransmission, dissemination or other use of or taking action in reliance upon this information by persons or entities other than the intended recipient is prohibited. If you have received this email in error please contact the sender and delete the material from any computer. As a recipient of this email, you are responsible for screening its contents and the contents of any attachments for the presence of viruses. No liability is accepted for any damages caused by any virus transmitted by this email. From Lambert.Heenan at AIG.com Thu Aug 11 15:02:18 2005 From: Lambert.Heenan at AIG.com (Heenan, Lambert) Date: Thu, 11 Aug 2005 16:02:18 -0400 Subject: [AccessD] OT - Excel Find next highest number above 0 Message-ID: <1D7828CDB8350747AFE9D69E0E90DA1F142558BA@xlivmbx21.aig.com> So presumably you have a query that selects one client's counters and sorts them by the count rate and it is the results of this query that is being output to Excel. Something like this... SELECT tblCounters.nCountRate FROM tblCounters WHERE (((tblCounters.nClientID)=1)) ORDER BY tblCounters.nCountRate DESC; Say this is qryCountRates You could just as easily write a Totals query to do the calculation of the percentage. This query would use the first query as its data source, and it would have a criteria that would specify that the count rate must be > 0. Like this... SELECT Max(qryCountRates.nCountRate) AS MaxNo, Min(qryCountRates.nCountRate) AS MinNo, ([MaxNo]-[MinNo])/[MaxNo] AS Perc FROM qryCountRates WHERE (((qryCountRates.nCountRate)>0)); This (with some dummy data I cobbled together) produced results like this in just a few seconds: probably much faster than running a custom VBA function thousands of times. MaxNo MinNo Perc 100000 58 0.999419987201691 HTH Lambert -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of paul.hartland at fsmail.net Sent: Thursday, August 11, 2005 10:38 AM To: accessd Subject: [AccessD] OT - Excel Find next highest number above 0 To all, I am writing out to an Excel sheet a list of our counters names and their count rate on a specific job (ordered by CountRate DESC) by specific clients (9 clients, one sheet for each). What I need to do is get the percentage between the two extreme count rates ( (highest-lowest)/highest ) To do this I had an excel template which had the formula ( (MAX(D2:D10000)-MIN(D2:D10000))/MAX(D2:D10000) ) and thought this would do the job, however if we haven't got the count data the lowest value is 0 which results in 100%.... How can I find the next highest value to the 0, I can loop backwards up the column but thought I would ask just in case there is a much cleaning/better way of acheiving this... Paul Hartland Database Developer -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From Bruce.Bruen at railcorp.nsw.gov.au Thu Aug 11 20:57:57 2005 From: Bruce.Bruen at railcorp.nsw.gov.au (Bruen, Bruce) Date: Fri, 12 Aug 2005 11:57:57 +1000 Subject: [AccessD] Tagged value query Message-ID: I'm having a total mental blank on this, please help. I have an object that has 0-n tagged value pairs associated with it. Object is is one table, the tagged values are in another. There is a simple FK relationship. Here's the problem. I want to produce a report (list) of object and values for a set of the possible tagged values. An example may make it clearer. Object table tuples include a set of usecases UC1, UC2,....UCn UC1 has tagged values: InFirstRelease=true; TestPriority=2;... UC2 has tagged value: InFirstRelease=false UC3 has tagged values: InFirstRelease=true; DocumentVer=2.0; Approved=No;... The report should look like: Case blah blah InFirstRelease TestPriority UC1 .......................... TICK 2 UC2 .......................... NoTICK UC3 .......................... TICK - ... I just cannot get to 1st base on the query. Any ideas gratefully requested bruce This e-mail and any attachments may contain confidential information that is intended solely for the use of the intended recipient and may be subject to copyright. If you receive this e-mail in error, please notify the sender immediately and delete the e-mail and its attachments from your system. You must not disclose, copy or use any part of this e-mail if you are not the intended recipient. Any opinion expressed in this e-mail and any attachments is not an opinion of RailCorp unless stated or apparent from its content. RailCorp is not responsible for any unauthorised alterations to this e-mail or any attachments. RailCorp will not incur any liability resulting directly or indirectly as a result of the recipient accessing any of the attached files that may contain a virus. From ssharkins at bellsouth.net Thu Aug 11 21:19:58 2005 From: ssharkins at bellsouth.net (Susan Harkins) Date: Thu, 11 Aug 2005 22:19:58 -0400 Subject: [AccessD] Tagged value query In-Reply-To: Message-ID: <20050812021958.SIFE3975.ibm66aec.bellsouth.net@SUSANONE> You want all objects, even if they have no tags? Susan H. I'm having a total mental blank on this, please help. I have an object that has 0-n tagged value pairs associated with it. Object is is one table, the tagged values are in another. There is a simple FK relationship. Here's the problem. I want to produce a report (list) of object and values for a set of the possible tagged values. An example may make it clearer. Object table tuples include a set of usecases UC1, UC2,....UCn UC1 has tagged values: InFirstRelease=true; TestPriority=2;... UC2 has tagged value: InFirstRelease=false UC3 has tagged values: InFirstRelease=true; DocumentVer=2.0; Approved=No;... The report should look like: Case blah blah InFirstRelease TestPriority UC1 .......................... TICK 2 UC2 .......................... NoTICK UC3 .......................... TICK - ... I just cannot get to 1st base on the query. Any ideas gratefully requested bruce This e-mail and any attachments may contain confidential information that is intended solely for the use of the intended recipient and may be subject to copyright. If you receive this e-mail in error, please notify the sender immediately and delete the e-mail and its attachments from your system. You must not disclose, copy or use any part of this e-mail if you are not the intended recipient. Any opinion expressed in this e-mail and any attachments is not an opinion of RailCorp unless stated or apparent from its content. RailCorp is not responsible for any unauthorised alterations to this e-mail or any attachments. RailCorp will not incur any liability resulting directly or indirectly as a result of the recipient accessing any of the attached files that may contain a virus. -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From Bruce.Bruen at railcorp.nsw.gov.au Thu Aug 11 22:09:17 2005 From: Bruce.Bruen at railcorp.nsw.gov.au (Bruen, Bruce) Date: Fri, 12 Aug 2005 13:09:17 +1000 Subject: [AccessD] Tagged value query Message-ID: Yes. -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Susan Harkins Sent: Friday, 12 August 2005 12:20 PM To: 'Access Developers discussion and problem solving' Subject: RE: [AccessD] Tagged value query You want all objects, even if they have no tags? Susan H. I'm having a total mental blank on this, please help. I have an object that has 0-n tagged value pairs associated with it. Object is is one table, the tagged values are in another. There is a simple FK relationship. Here's the problem. I want to produce a report (list) of object and values for a set of the possible tagged values. An example may make it clearer. Object table tuples include a set of usecases UC1, UC2,....UCn UC1 has tagged values: InFirstRelease=true; TestPriority=2;... UC2 has tagged value: InFirstRelease=false UC3 has tagged values: InFirstRelease=true; DocumentVer=2.0; Approved=No;... The report should look like: Case blah blah InFirstRelease TestPriority UC1 .......................... TICK 2 UC2 .......................... NoTICK UC3 .......................... TICK - ... I just cannot get to 1st base on the query. Any ideas gratefully requested bruce This e-mail and any attachments may contain confidential information that is intended solely for the use of the intended recipient and may be subject to copyright. If you receive this e-mail in error, please notify the sender immediately and delete the e-mail and its attachments from your system. You must not disclose, copy or use any part of this e-mail if you are not the intended recipient. Any opinion expressed in this e-mail and any attachments is not an opinion of RailCorp unless stated or apparent from its content. RailCorp is not responsible for any unauthorised alterations to this e-mail or any attachments. RailCorp will not incur any liability resulting directly or indirectly as a result of the recipient accessing any of the attached files that may contain a virus. -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/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 e-mail and any attachments may contain confidential information that is intended solely for the use of the intended recipient and may be subject to copyright. If you receive this e-mail in error, please notify the sender immediately and delete the e-mail and its attachments from your system. You must not disclose, copy or use any part of this e-mail if you are not the intended recipient. Any opinion expressed in this e-mail and any attachments is not an opinion of RailCorp unless stated or apparent from its content. RailCorp is not responsible for any unauthorised alterations to this e-mail or any attachments. RailCorp will not incur any liability resulting directly or indirectly as a result of the recipient accessing any of the attached files that may contain a virus. From ssharkins at bellsouth.net Fri Aug 12 00:02:19 2005 From: ssharkins at bellsouth.net (Susan Harkins) Date: Fri, 12 Aug 2005 01:02:19 -0400 Subject: [AccessD] Tagged value query In-Reply-To: Message-ID: <20050812050218.QKCP4854.ibm57aec.bellsouth.net@SUSANONE> Have you tried an outer join? Left outer will retrieve all the primary key values in the one table. Right outer will retrieve all the foreign key values in the many table. Susan H. Yes. You want all objects, even if they have no tags? From Johncliviger at aol.com Sat Aug 13 06:13:15 2005 From: Johncliviger at aol.com (Johncliviger at aol.com) Date: Sat, 13 Aug 2005 07:13:15 EDT Subject: [AccessD] Upsize wizard MDB to SQL Message-ID: <55.792af042.302f2fcb@aol.com> Hi all I've asked to migrate an Access 2002 BE to SQL 2000 server. Not having done this before and not wanting fans and brown stuff to meet. So I 'm looking for a some documentation on this. My initial view is to apply the upsize wizard to the BE and keep the FE as it is and link it via odbc to SQL BE. Comments and pointers most welcome. johnb From JHewson at karta.com Sat Aug 13 13:14:28 2005 From: JHewson at karta.com (Jim Hewson) Date: Sat, 13 Aug 2005 13:14:28 -0500 Subject: [AccessD] SQL Server BE - Access FE Message-ID: <9C382E065F54AE48BC3AA7925DCBB01C036B66CA@karta-exc-int.Karta.com> Works good.... I can't seem to figure out how the security on the SQL Database can be used. When I first go into the FE, the forms work... when I need to look at any of the data, I get an error message about the login failed for the user. I click the OK button and get another screen with Server visible and the Use Trusted Connection checked. When I uncheck the box, the Login ID and Password are available to enter the correct information. I've looked into the help and couldn't find what I needed. I have one user in SQL Server with the correct security (Read-Only). How do I connect without going through that sequence? TIA Jim From mikedorism at verizon.net Sat Aug 13 14:29:42 2005 From: mikedorism at verizon.net (Mike & Doris Manning) Date: Sat, 13 Aug 2005 15:29:42 -0400 Subject: [AccessD] SQL Server BE - Access FE In-Reply-To: <9C382E065F54AE48BC3AA7925DCBB01C036B66CA@karta-exc-int.Karta.com> Message-ID: <000001c5a03d$5b997500$2e01a8c0@dorismanning> If you use an ADP with Windows authentication, you will get around that. Otherwise you'll have to pop-up a login box each time you open the database to set the connection. Doris Manning mikedorism at verizon.net -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Jim Hewson Sent: Saturday, August 13, 2005 2:14 PM To: AccessD Subject: [AccessD] SQL Server BE - Access FE Works good.... I can't seem to figure out how the security on the SQL Database can be used. When I first go into the FE, the forms work... when I need to look at any of the data, I get an error message about the login failed for the user. I click the OK button and get another screen with Server visible and the Use Trusted Connection checked. When I uncheck the box, the Login ID and Password are available to enter the correct information. I've looked into the help and couldn't find what I needed. I have one user in SQL Server with the correct security (Read-Only). How do I connect without going through that sequence? TIA Jim -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From martyconnelly at shaw.ca Sat Aug 13 14:30:06 2005 From: martyconnelly at shaw.ca (MartyConnelly) Date: Sat, 13 Aug 2005 12:30:06 -0700 Subject: [AccessD] Upsize wizard MDB to SQL References: <55.792af042.302f2fcb@aol.com> Message-ID: <42FE4A3E.2090400@shaw.ca> Here is a list of considerations to look at re conversion mdb be to sql and links to MS upsizing wizard white paper. http://www.upsizewizard.com/index.cfm?fuseaction=browse&id=5036&pageid=22 Here is a method of relinking SQL Server via DAO ODBC via DSN-Less Connections It also has a coding method to ensure SQL Backend tables have an Index. A common problem otherwise your SQL tables are not updateable. http://www.accessmvp.com/djsteele/DSNLessLinks.html It is not so easy if you go with ADO and SQL Stored Procedures, you will have to change forms etc. and queries. Easy . Well it is is easy to repair space shuttle heat tiles, if you have the right tool - an opposable thumb. Also make sure you understand, how to do proper SQL Backup procedures. This book might help SQL: Access to SQL Server (Paperback) by Susan Sales Harkins, Martin W.P. Reid Johncliviger at aol.com wrote: >Hi all > >I've asked to migrate an Access 2002 BE to SQL 2000 server. Not having done >this before and not wanting fans and brown stuff to meet. So I 'm looking for >a some documentation on this. > >My initial view is to apply the upsize wizard to the BE and keep the FE as >it is and link it via odbc to SQL BE. > >Comments and pointers most welcome. > >johnb > > -- Marty Connelly Victoria, B.C. Canada From martyconnelly at shaw.ca Sat Aug 13 14:30:06 2005 From: martyconnelly at shaw.ca (MartyConnelly) Date: Sat, 13 Aug 2005 12:30:06 -0700 Subject: [AccessD] Upsize wizard MDB to SQL References: <55.792af042.302f2fcb@aol.com> Message-ID: <42FE4A3E.2090400@shaw.ca> Here is a list of considerations to look at re conversion mdb be to sql and links to MS upsizing wizard white paper. http://www.upsizewizard.com/index.cfm?fuseaction=browse&id=5036&pageid=22 Here is a method of relinking SQL Server via DAO ODBC via DSN-Less Connections It also has a coding method to ensure SQL Backend tables have an Index. A common problem otherwise your SQL tables are not updateable. http://www.accessmvp.com/djsteele/DSNLessLinks.html It is not so easy if you go with ADO and SQL Stored Procedures, you will have to change forms etc. and queries. Easy . Well it is is easy to repair space shuttle heat tiles, if you have the right tool - an opposable thumb. Also make sure you understand, how to do proper SQL Backup procedures. This book might help SQL: Access to SQL Server (Paperback) by Susan Sales Harkins, Martin W.P. Reid Johncliviger at aol.com wrote: >Hi all > >I've asked to migrate an Access 2002 BE to SQL 2000 server. Not having done >this before and not wanting fans and brown stuff to meet. So I 'm looking for >a some documentation on this. > >My initial view is to apply the upsize wizard to the BE and keep the FE as >it is and link it via odbc to SQL BE. > >Comments and pointers most welcome. > >johnb > > -- Marty Connelly Victoria, B.C. Canada From martyconnelly at shaw.ca Sat Aug 13 17:01:15 2005 From: martyconnelly at shaw.ca (MartyConnelly) Date: Sat, 13 Aug 2005 15:01:15 -0700 Subject: [AccessD] Upsize wizard MDB to SQL References: <55.792af042.302f2fcb@aol.com> <42FE4A3E.2090400@shaw.ca> Message-ID: <42FE6DAB.3060506@shaw.ca> Couple of other books that might come in handy Good explanation on how to use SP's from Access Microsoft Access Developer's Guide to SQL Server (Paperback) by Andy Baron, Mary Chipman Don Celko's series on SQL for Smarties I think there are 4 in series Good if you need to anything complex in SQL like storing hierarchial structures ie relational tables to XML. I see Mary Chipman has gone to work at Microsoft, along with Michael Kaplan. MartyConnelly wrote: > Here is a list of considerations to look at re conversion mdb be to sql > and links to MS upsizing wizard white paper. > > http://www.upsizewizard.com/index.cfm?fuseaction=browse&id=5036&pageid=22 > > > Here is a method of relinking SQL Server via DAO ODBC via DSN-Less > Connections > It also has a coding method to ensure SQL Backend tables have an Index. > A common problem otherwise your SQL tables are not updateable. > > http://www.accessmvp.com/djsteele/DSNLessLinks.html > > It is not so easy if you go with ADO and SQL Stored Procedures, you > will have to change forms etc. > and queries. > > Easy . Well it is is easy to repair space shuttle heat tiles, if you > have the right tool - an opposable thumb. > > Also make sure you understand, how to do proper SQL Backup procedures. > > This book might help SQL: Access to SQL Server (Paperback) > by Susan Sales Harkins, Martin W.P. Reid > > > Johncliviger at aol.com wrote: > >> Hi all >> >> I've asked to migrate an Access 2002 BE to SQL 2000 server. Not >> having done this before and not wanting fans and brown stuff to >> meet. So I 'm looking for a some documentation on this. >> >> My initial view is to apply the upsize wizard to the BE and keep the >> FE as it is and link it via odbc to SQL BE. >> Comments and pointers most welcome. >> johnb >> >> > -- Marty Connelly Victoria, B.C. Canada From jwcolby at colbyconsulting.com Sat Aug 13 17:25:57 2005 From: jwcolby at colbyconsulting.com (John W. Colby) Date: Sat, 13 Aug 2005 18:25:57 -0400 Subject: [AccessD] Reporting a bug to Microsoft Message-ID: <002c01c5a055$f9d1fcc0$6c7aa8c0@ColbyM6805> Have you ever wanted to report a bug to MS but didn't know how? MSWish at Microsoft.com Is an email address for doing so. I am told (by MS Developer tech support) that you can send email to this address and they will respond. I just sent a rather long email to them outlining an "Access crashes" bug. We shall see. John W. Colby www.ColbyConsulting.com Contribute your unused CPU cycles to a good cause: http://folding.stanford.edu/ From jwcolby at colbyconsulting.com Sat Aug 13 17:28:31 2005 From: jwcolby at colbyconsulting.com (John W. Colby) Date: Sat, 13 Aug 2005 18:28:31 -0400 Subject: [AccessD] Report a bug Message-ID: <002d01c5a056$55c5dfb0$6c7aa8c0@ColbyM6805> BTW, the web site with the phone number (wade through a long phone menu) is: http://support.microsoft.com/gp/contactbug John W. Colby www.ColbyConsulting.com Contribute your unused CPU cycles to a good cause: http://folding.stanford.edu/ From dwaters at usinternet.com Sat Aug 13 19:59:01 2005 From: dwaters at usinternet.com (Dan Waters) Date: Sat, 13 Aug 2005 19:59:01 -0500 Subject: [AccessD] Reporting a bug to Microsoft In-Reply-To: <23354458.1123972196196.JavaMail.root@sniper15> Message-ID: <000001c5a06b$60b6ba60$0300a8c0@danwaters> John, I once reported an Access bug and my workaround to MS (had to do with conditional formatting). They duplicated the problem perfectly, and told me they passed it on to the development group. At the end of the email conversation, I was told, "Mr. Waters, because you were able to resolve this problem yourself, we won't reduce the number of free tech help support hours you have." Gee - Thanks! I did resolve the error myself (by multiplying a numeric field value by the number 1), and I didn't know I had any free tech support hours to begin with. So - be careful you don't lose any of those hours! Dan Waters -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of John W. Colby Sent: Saturday, August 13, 2005 5:26 PM To: 'Access Developers discussion and problem solving' Subject: [AccessD] Reporting a bug to Microsoft Have you ever wanted to report a bug to MS but didn't know how? MSWish at Microsoft.com Is an email address for doing so. I am told (by MS Developer tech support) that you can send email to this address and they will respond. I just sent a rather long email to them outlining an "Access crashes" bug. We shall see. John W. Colby www.ColbyConsulting.com Contribute your unused CPU cycles to a good cause: http://folding.stanford.edu/ -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From artful at rogers.com Sat Aug 13 21:07:52 2005 From: artful at rogers.com (Arthur Fuller) Date: Sat, 13 Aug 2005 22:07:52 -0400 Subject: [AccessD] Query difference between Access 97 and 2002 In-Reply-To: Message-ID: <200508140207.j7E27nR05729@databaseadvisors.com> You could also use a static function to put this problem in a nice little package and forget about it forever. Check the archives for my previous rants on static functions. If you can't find one, I'll send you the sample code off-list. Arthur -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Charlotte Foust Sent: August 9, 2005 4:32 PM To: Access Developers discussion and problem solving Subject: RE: [AccessD] Query difference between Access 97 and 2002 In addition to Jin's suggestion, check the query parameter for that reference and make sure all the square brackets are in the right places. In 97 you could leave them out entirely or put them around a single element of the reference. In 2000 and later, the query engine will insert a pair of square brackets around the entire reference if any of the brackets around the individual elements were skipped. I've run into this repeatedly. Charlotte Foust -----Original Message----- From: Jim Dettman [mailto:jimdettman at earthlink.net] Sent: Tuesday, August 09, 2005 12:21 PM To: Access Developers discussion and problem solving Subject: RE: [AccessD] Query difference between Access 97 and 2002 Barb, Make sure you explicitly type (text, date, integer) the data expected in the control (in query design, goto query/parameters). Jim. -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Barbara Ryan Sent: Tuesday, August 09, 2005 3:20 PM To: Access List Subject: [AccessD] Query difference between Access 97 and 2002 I have converted an Access 97 application to Access 2002 (XP). A query that works in 97 will no longer work in XP. The field in the query causing the problem is referencing an unbound text box on an open form, i.e., the field name in the query is "PeriodEndDate:[Forms]![frmPerDiemEntry]![txtPeriodEndDate]". When I execute the query in 97, I see the contents of txtPeriodEndDate; however, in XP, it is blank/null. Any ideas? Thanks, Barb Ryan -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From jwcolby at colbyconsulting.com Sat Aug 13 21:11:19 2005 From: jwcolby at colbyconsulting.com (John W. Colby) Date: Sat, 13 Aug 2005 22:11:19 -0400 Subject: [AccessD] Reporting a bug to Microsoft In-Reply-To: <000001c5a06b$60b6ba60$0300a8c0@danwaters> Message-ID: <003801c5a075$79aa7840$6c7aa8c0@ColbyM6805> LOL, reduce the number of free support hours because you report a BUG to them. That's classic. John W. Colby www.ColbyConsulting.com Contribute your unused CPU cycles to a good cause: http://folding.stanford.edu/ -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Dan Waters Sent: Saturday, August 13, 2005 8:59 PM To: 'Access Developers discussion and problem solving' Subject: RE: [AccessD] Reporting a bug to Microsoft John, I once reported an Access bug and my workaround to MS (had to do with conditional formatting). They duplicated the problem perfectly, and told me they passed it on to the development group. At the end of the email conversation, I was told, "Mr. Waters, because you were able to resolve this problem yourself, we won't reduce the number of free tech help support hours you have." Gee - Thanks! I did resolve the error myself (by multiplying a numeric field value by the number 1), and I didn't know I had any free tech support hours to begin with. So - be careful you don't lose any of those hours! Dan Waters -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of John W. Colby Sent: Saturday, August 13, 2005 5:26 PM To: 'Access Developers discussion and problem solving' Subject: [AccessD] Reporting a bug to Microsoft Have you ever wanted to report a bug to MS but didn't know how? MSWish at Microsoft.com Is an email address for doing so. I am told (by MS Developer tech support) that you can send email to this address and they will respond. I just sent a rather long email to them outlining an "Access crashes" bug. We shall see. John W. Colby www.ColbyConsulting.com Contribute your unused CPU cycles to a good cause: http://folding.stanford.edu/ -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd 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 Aug 13 21:11:52 2005 From: artful at rogers.com (Arthur Fuller) Date: Sat, 13 Aug 2005 22:11:52 -0400 Subject: [AccessD] Clear Debug Window Programmatically In-Reply-To: Message-ID: <200508140211.j7E2BnR06568@databaseadvisors.com> I thought that I had explained why I want to do it programmatically, but in case I didn't or it was missed, I shall repeat: I sprinkle my code with liberal doses of Debug.Print statements, particularly when debugging or exploring new corners. I might put a breakpoint on several statements at the end of a string of such Debug.Print statements. The window rapidly fills up. I want to be able to do housecleaning at certain points, such that the debug window contains only the results since my last housecleaning. It's not a big deal. I can survive as I have been doing. I simply wondered whether there was a statement equivalent to clearing the debug window. Arthur -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Charlotte Foust Sent: August 9, 2005 4:35 PM To: Access Developers discussion and problem solving Subject: RE: [AccessD] Clear Debug Window Programmatically I realize that you asked for a programmatic method. However, since the debug window is only available in the VBE, I didn't see any purpose in a programmatic method ... In XP and above, of course. You didn't indicate the version or WHY you needed it, so it's your own fault if we wandered off in another direction! LOL Charlotte Foust From artful at rogers.com Sat Aug 13 21:36:54 2005 From: artful at rogers.com (Arthur Fuller) Date: Sat, 13 Aug 2005 22:36:54 -0400 Subject: [AccessD] Memo field parsing In-Reply-To: Message-ID: <200508140236.j7E2aqR12730@databaseadvisors.com> What a nice and beautifully explained piece of code, A.D. My compliments! Arthur -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Gregg Sent: August 10, 2005 3:33 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Memo field parsing Worked like a charm A.D. thanks again! ----- Original Message ----- From: A.D.Tejpal To: Access Developers discussion and problem solving Sent: Thursday, August 04, 2005 2:57 PM Subject: Re: [AccessD] Memo field parsing Gregg, For sake of demonstration, let the source table named T_Memo consist of two fields, named ID (primary key - Autonumber) and Mem (memo type). Create another table, named T_MemRef, with just one field named Ref (number type). Populate this table with just two records, with values 1 and 2 respectively. Query Q_Memo as given below, should be used as record source for your report. It involves Cartesian join between tables T_Memo and T_MemRef. In detail section of your report, drag Mem and Ref from the field list, so as to create bound controls named Mem and Ref. Make these controls hidden, set their CanGrow property to "No" and position the same un-obtrusively. Insert an unbound text box named TxtMemo. This is the text box that would actually display the contents of memo field. Set the width and fonts as desired. Set the CanGrow property of this control as well as the detail section as a whole, to "Yes". In VBA window, put the code given below, in Detail_Format event of the report. Make sure that the item "On Format" in Event tab of properties dialog box shows [Event Procedure] against it. Now, when you run the report, first three lines of the memo field will get displayed on first page and the balance portion on the next page. Similar pattern would get repeated for all records. Best wishes, A.D.Tejpal -------------- Source Query for the report (Q_Memo) ===================================== SELECT T_Memo.ID, T_MemRef.Ref, T_Memo.Mem FROM T_Memo, T_MemRef ORDER BY T_Memo.ID, T_MemRef.Ref; ===================================== Code in Report's Module ===================================== Private Sub Detail_Format(Cancel As Integer, _ FormatCount As Integer) Dim Wd As Long, Rw As Single, Mgn As Long Dim LenMem As Long, Txt As String, Lft As Long Dim LastSpace As Long, MaxRowsFirstPart Dim Mpf As Single MaxRowsFirstPart = 3 LenMem = Len(Mem) If LenMem > 0 Then Else Exit Sub End If With Me ' Set the scale mode to twips .ScaleMode = 1 ' Set Font values for report to match those of memo field. .FontName = TxtMemo.FontName .FontSize = TxtMemo.FontSize If TxtMemo.FontBold <> 0 Then .FontBold = True Else .FontBold = False End If End With ' Allow for necessary margin within a text box ' (Between its border and the content) Mgn = 170 ' This value may need fine tuning for ' best results ' Get effective width of control meant for ' displaying memo field Wd = TxtMemo.Width - Mgn ' Get the number of characters so as to make-up the ' required number of rows for first part of memo field. For Lft = 1 To LenMem Txt = Left(Mem, Lft) LastSpace = IIf(Right(Txt, 1) = " ", Lft, LastSpace) Rw = TextWidth(Txt) / Wd If Rw > MaxRowsFirstPart Then Lft = Lft - 1 Exit For End If Next Debug.Print Lft; ", "; LastSpace ' Get Multiplying factor for acceptable max location ' of last space. Mpf = (0.8 + (MaxRowsFirstPart - 1)) / MaxRowsFirstPart ' Shorten the first part to nearest space ' (if within 20 % of the end of line) If LastSpace > Mpf * Lft And LastSpace < Lft Then Lft = LastSpace End If ' Populate the unbound text box with appropriate ' part of memo field. If Ref = 1 Then TxtMemo = Left(Mem, Lft) ' Force New Page - Afer section, only if memo ' field contents not yet finished If LenMem > Lft Then Detail.ForceNewPage = 2 Else Detail.ForceNewPage = 0 ' No break End If Else TxtMemo = Mid(Mem, Lft + 1) ' Force New Page - Afer section Detail.ForceNewPage = 2 End If End Sub ===================================== ----- Original Message ----- From: Gregg To: Access Developers discussion and problem solving Cc: Robert Penn Sent: Thursday, August 04, 2005 04:19 Subject: Re: [AccessD] Memo field parsing Thanks Charlotte! I give it a try. ----- Original Message ----- From: Charlotte Foust> To: Access Developers discussion and problem solving> Sent: Wednesday, August 03, 2005 5:33 PM Subject: RE: [AccessD] Memo field parsing No, get the textwidth of the control and see if the textwidth of the text is greater than that. Handle the situation where it is not and everything fits in the first control. Otherwise get the text that fits within the control textwidth and use instrRev to find the last space in that substring. Break it there. At that point, you also know the index of the starting point for the rest of the string, so all you need to do for the next page is use the Mid(text, index) to put the rest of it into the second page. Charlotte Foust -----Original Message----- From: Gregg [mailto:greggs at msn.com] Sent: Wednesday, August 03, 2005 11:34 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Memo field parsing So, you're saying I need to loop through all the characters until I find the last whole word that will fit on the first line, the same for the second etc. until I determine what text will fit in the first page text field and use what's left for the 2nd page? ----- Original Message ----- From: Charlotte Foust>> To: Access Developers discussion and problem solving >> Sent: Wednesday, August 03, 2005 11:02 AM Subject: RE: [AccessD] Memo field parsing You can't do it by simply counting characters anyhow. You have to use the TextWidth property, which can be expressed as reportname.TextWidth(stringvariable) and compare that to the textwidth of the control ( reportname.TextWidth(controlobject) or to the maximum length you want to display. You'll also want to allow a padding factor to avoid overrunning the borders of the control and be sure and check for carriage returns because they confuse the issue. If you want to display 3 "lines", you'll have to break the memo field into the first three chunks that will fit into the textwidth of the textbox you're using to display the text on that page. Charlotte Foust -----Original Message----- From: Gregg [mailto:greggs at msn.com] Sent: Wednesday, August 03, 2005 8:43 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Memo field parsing Charlotte Physical space I think because I don't know how to get from one to the other. The number of characters is going to be dependant on the how many characters are lost to word wrapping isn't it? Is there a way to calculate the number of characters that will appear in the first three lines? If I knew that, I could do it. ----- Original Message ----- From: Charlotte Foust> m>> To: Access Developers discussion and problem solving> ors.com>> Sent: Wednesday, August 03, 2005 10:28 AM Subject: RE: [AccessD] Memo field parsing Define "first three lines". Is that a particular number of characters or a physical space? Charlotte Foust -----Original Message----- From: Gregg [mailto:greggs at msn.com] Sent: Wednesday, August 03, 2005 7:32 AM To: Access Developers discussion and problem solving Subject: [AccessD] Memo field parsing I would like to parse a memo field in a A97 report such that the first three lines is on the first page and whatever is left is on the next. Any ideas? Gregg Steinbrenner -- AccessD mailing list -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd 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 Aug 13 21:38:04 2005 From: artful at rogers.com (Arthur Fuller) Date: Sat, 13 Aug 2005 22:38:04 -0400 Subject: [AccessD] Where is everyone? In-Reply-To: <00c101c59de2$296bd670$6c7aa8c0@ColbyM6805> Message-ID: <200508140238.j7E2c0R13359@databaseadvisors.com> Somebody should write up the history of AccessD for publication in the newsletter, and for posterity. -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of John W. Colby Sent: August 10, 2005 3:32 PM To: 'Access Developers discussion and problem solving' Subject: RE: [AccessD] Where is everyone? Ahhhh... The beginning of DatabaseAdvisors. I remember it well. John W. Colby www.ColbyConsulting.com Contribute your unused CPU cycles to a good cause: http://folding.stanford.edu/ -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Michael R Mattys Sent: Wednesday, August 10, 2005 3:22 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Where is everyone? I was going through my old email and found a couple on my trip down Memory Lane: From: David Scott [mailto:davidscott at mtgroup.com] Sent: Tuesday, June 13, 2000 11:56 AM To: Christopher Hawkins Subject: RE: Help! My posts are getting bounced! I only pop in on the list maybe once every month or two to see what's going on. Today I signed on and received a mailbox full of some of the most ridiculous posts I've ever seen. People lobbing insults at each other, flames, etc. I have a very limited amount of bandwidth, and accessd takes most of it. I'll be darned if I'm going to take bandwidth away from my customers who need it to support this kind of list traffic. As of today, accessd is dead. I may bring it back up later, depending on the response I get. When (if) I do, the people who were active members this morning will be back on then. I don't want to come across to you too harsh - personally you may have not contributed to this incident at all, but I'm pretty miffed at the whole thing. Dave -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From jwcolby at colbyconsulting.com Sat Aug 13 21:38:58 2005 From: jwcolby at colbyconsulting.com (John W. Colby) Date: Sat, 13 Aug 2005 22:38:58 -0400 Subject: [AccessD] Query difference between Access 97 and 2002 In-Reply-To: <200508140207.j7E27nR05729@databaseadvisors.com> Message-ID: <003901c5a079$557b2d30$6c7aa8c0@ColbyM6805> And look at mine where I replace Arthur's static variable with a collection to turn the function into single function with many storage locations. ' 'Fltr takes two parameters - the filter name, and the filter value (which is optional). ' 'The first syntax can be used to set the filter value: ' 'fltr "MyFltr1", MyFltrValue ' 'The filter lstrName is used as the key into the collection, i.e. when lvarValue 'is stored, it is stored with a key of lstrName. ' 'The second syntax can be used to retrieve the value of the filter: ' 'fltr("MyFltr1") ' 'The fact that the second parameter is Optional allows us to check whether a value 'has been passed in. If no value is passed in, then the assumption is that the filter 'is expecting to return a value. ' 'Because the filter uses a collection internally to save the values, this single 'function can store up to 32K different filter values. ' 'Because lvarValue is a variant, the value stored can be pretty much anything. 'In fact it is necessary to use ctl.VALUE if you want to store an unchanging value 'from a control, since passing in a pointer to a control will then return the value 'of the control, which may change over time. ' Public Function Fltr(lstrName As String, Optional lvarValue As Variant) As Variant On Error GoTo Err_Fltr Static mcolFilter As Collection Static blnFltrInitialized As Boolean If Not blnFltrInitialized Then Set mcolFilter = New Collection blnFltrInitialized = True End If If IsMissing(lvarValue) Then On Error Resume Next Fltr = mcolFilter(lstrName) If Err <> 0 Then Fltr = Null End If Else On Error Resume Next mcolFilter.Remove lstrName mcolFilter.Add lvarValue, lstrName Fltr = lvarValue End If Exit_Fltr: Exit Function Err_Fltr: MsgBox Err.Description, , "Error in Function basFltrFunctions.Fltr" Resume Exit_Fltr Resume 0 '.FOR TROUBLESHOOTING End Function John W. Colby www.ColbyConsulting.com Contribute your unused CPU cycles to a good cause: http://folding.stanford.edu/ -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Arthur Fuller Sent: Saturday, August 13, 2005 10:08 PM To: 'Access Developers discussion and problem solving' Subject: RE: [AccessD] Query difference between Access 97 and 2002 You could also use a static function to put this problem in a nice little package and forget about it forever. Check the archives for my previous rants on static functions. If you can't find one, I'll send you the sample code off-list. Arthur From stuart at lexacorp.com.pg Sat Aug 13 21:44:55 2005 From: stuart at lexacorp.com.pg (Stuart McLachlan) Date: Sun, 14 Aug 2005 12:44:55 +1000 Subject: [AccessD] Clear Debug Window Programmatically In-Reply-To: <200508140211.j7E2BnR06568@databaseadvisors.com> References: Message-ID: <42FF3CC7.27650.4BD2ACD@stuart.lexacorp.com.pg> On 13 Aug 2005 at 22:11, Arthur Fuller wrote: > > It's not a big deal. I can survive as I have been doing. I simply wondered > whether there was a statement equivalent to clearing the debug window. Try googling "Debug.Clear" :-( It appears on just about every VB/VBA wishlist I've seen since VB3 and it's never been implemented. -- Stuart From newsgrps at dalyn.co.nz Sat Aug 13 21:57:36 2005 From: newsgrps at dalyn.co.nz (David Emerson) Date: Sun, 14 Aug 2005 14:57:36 +1200 Subject: [AccessD] Clear Debug Window Programmatically In-Reply-To: <42FF3CC7.27650.4BD2ACD@stuart.lexacorp.com.pg> References: <42FF3CC7.27650.4BD2ACD@stuart.lexacorp.com.pg> Message-ID: <6.2.1.2.0.20050814145616.03114b30@mail.dalyn.co.nz> As a cheap option, how about sending a few character returns to move the existing text down out of the way? David At 08/14/2005, you wrote: >On 13 Aug 2005 at 22:11, Arthur Fuller wrote: > > > > > It's not a big deal. I can survive as I have been doing. I simply wondered > > whether there was a statement equivalent to clearing the debug window. > >Try googling "Debug.Clear" :-( > >It appears on just about every VB/VBA wishlist I've seen since VB3 and it's >never been implemented. > >-- >Stuart From adtp at touchtelindia.net Sat Aug 13 23:08:44 2005 From: adtp at touchtelindia.net (A.D.Tejpal) Date: Sun, 14 Aug 2005 09:38:44 +0530 Subject: [AccessD] Memo field parsing References: <200508140236.j7E2aqR12730@databaseadvisors.com> Message-ID: <004201c5a086$3b0d8210$af1865cb@winxp> Thanks Arthur! - for your kind words. So nice of you. A.D.Tejpal -------------- ----- Original Message ----- From: Arthur Fuller To: 'Access Developers discussion and problem solving' Sent: Sunday, August 14, 2005 08:06 Subject: RE: [AccessD] Memo field parsing What a nice and beautifully explained piece of code, A.D. My compliments! Arthur -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Gregg Sent: August 10, 2005 3:33 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Memo field parsing Worked like a charm A.D. thanks again! ----- Original Message ----- From: A.D.Tejpal To: Access Developers discussion and problem solving Sent: Thursday, August 04, 2005 2:57 PM Subject: Re: [AccessD] Memo field parsing Gregg, For sake of demonstration, let the source table named T_Memo consist of two fields, named ID (primary key - Autonumber) and Mem (memo type). Create another table, named T_MemRef, with just one field named Ref (number type). Populate this table with just two records, with values 1 and 2 respectively. Query Q_Memo as given below, should be used as record source for your report. It involves Cartesian join between tables T_Memo and T_MemRef. In detail section of your report, drag Mem and Ref from the field list, so as to create bound controls named Mem and Ref. Make these controls hidden, set their CanGrow property to "No" and position the same un-obtrusively. Insert an unbound text box named TxtMemo. This is the text box that would actually display the contents of memo field. Set the width and fonts as desired. Set the CanGrow property of this control as well as the detail section as a whole, to "Yes". In VBA window, put the code given below, in Detail_Format event of the report. Make sure that the item "On Format" in Event tab of properties dialog box shows [Event Procedure] against it. Now, when you run the report, first three lines of the memo field will get displayed on first page and the balance portion on the next page. Similar pattern would get repeated for all records. Best wishes, A.D.Tejpal -------------- Source Query for the report (Q_Memo) ===================================== SELECT T_Memo.ID, T_MemRef.Ref, T_Memo.Mem FROM T_Memo, T_MemRef ORDER BY T_Memo.ID, T_MemRef.Ref; ===================================== Code in Report's Module ===================================== Private Sub Detail_Format(Cancel As Integer, _ FormatCount As Integer) Dim Wd As Long, Rw As Single, Mgn As Long Dim LenMem As Long, Txt As String, Lft As Long Dim LastSpace As Long, MaxRowsFirstPart Dim Mpf As Single MaxRowsFirstPart = 3 LenMem = Len(Mem) If LenMem > 0 Then Else Exit Sub End If With Me ' Set the scale mode to twips .ScaleMode = 1 ' Set Font values for report to match those of memo field. .FontName = TxtMemo.FontName .FontSize = TxtMemo.FontSize If TxtMemo.FontBold <> 0 Then .FontBold = True Else .FontBold = False End If End With ' Allow for necessary margin within a text box ' (Between its border and the content) Mgn = 170 ' This value may need fine tuning for ' best results ' Get effective width of control meant for ' displaying memo field Wd = TxtMemo.Width - Mgn ' Get the number of characters so as to make-up the ' required number of rows for first part of memo field. For Lft = 1 To LenMem Txt = Left(Mem, Lft) LastSpace = IIf(Right(Txt, 1) = " ", Lft, LastSpace) Rw = TextWidth(Txt) / Wd If Rw > MaxRowsFirstPart Then Lft = Lft - 1 Exit For End If Next Debug.Print Lft; ", "; LastSpace ' Get Multiplying factor for acceptable max location ' of last space. Mpf = (0.8 + (MaxRowsFirstPart - 1)) / MaxRowsFirstPart ' Shorten the first part to nearest space ' (if within 20 % of the end of line) If LastSpace > Mpf * Lft And LastSpace < Lft Then Lft = LastSpace End If ' Populate the unbound text box with appropriate ' part of memo field. If Ref = 1 Then TxtMemo = Left(Mem, Lft) ' Force New Page - Afer section, only if memo ' field contents not yet finished If LenMem > Lft Then Detail.ForceNewPage = 2 Else Detail.ForceNewPage = 0 ' No break End If Else TxtMemo = Mid(Mem, Lft + 1) ' Force New Page - Afer section Detail.ForceNewPage = 2 End If End Sub ===================================== From Johncliviger at aol.com Sun Aug 14 05:42:23 2005 From: Johncliviger at aol.com (Johncliviger at aol.com) Date: Sun, 14 Aug 2005 06:42:23 EDT Subject: [AccessD] Upsize wizard MDB to SQL Message-ID: <1fb.e9ff7bd.30307a0f@aol.com> Hi Martin Thanks for the pointers. They should keep me busy for a while. Its going to be a steep learning curve. Kind regards johnc From listmaster at databaseadvisors.com Sun Aug 14 08:50:58 2005 From: listmaster at databaseadvisors.com (Bryan Carbonnell) Date: Sun, 14 Aug 2005 09:50:58 -0400 Subject: [AccessD] Administrivia - Lists Temporarily Down Message-ID: <42FF1402.5531.150D8B@listmaster.databaseadvisors.com> The company that hosts our lists will be doing some maintenance on their network from 11PM Aug 16 to 6 AM Aug 17 CST (04:00 to 11:00 on Aug 17 UTC - http://www.timezoneconverter.com/cgi-bin/tzc.tzc to find out what time it is in your timezone)) They are upgrading their core routers, which will cause dba's list, and associated web pages (not the Website, but the list pages, including archives) to be down, anywhere from a few minutes to an hour. Hopefully this does not cause anyone too much of an inconvenience. -- Bryan Carbonnell - listmaster at databaseadvisors.com If you can't be a good example, then you'll just have to be a horrible warning. From john at winhaven.net Sun Aug 14 16:11:28 2005 From: john at winhaven.net (John Bartow) Date: Sun, 14 Aug 2005 16:11:28 -0500 Subject: [AccessD] Where is everyone? In-Reply-To: <200508140238.j7E2c0R13359@databaseadvisors.com> Message-ID: <200508142111.j7ELBYkr209474@pimout1-ext.prodigy.net> Go for it! -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Arthur Fuller Sent: Saturday, August 13, 2005 9:38 PM To: 'Access Developers discussion and problem solving' Subject: RE: [AccessD] Where is everyone? Somebody should write up the history of AccessD for publication in the newsletter, and for posterity. From jwcolby at colbyconsulting.com Sun Aug 14 18:41:17 2005 From: jwcolby at colbyconsulting.com (John W. Colby) Date: Sun, 14 Aug 2005 19:41:17 -0400 Subject: [AccessD] Bug Report Message-ID: <004801c5a129$aa5d00c0$6c7aa8c0@ColbyM6805> The following is the response I got to my bug report: Hello John, Thank you for contacting Microsoft Online Customer Service. I appreciate the time you have taken to provide us with the feedback. As a Customer Service Representative, I can assist you with the support options available with your Microsoft product. You can report bugs by postal mail to the following address: Attn: Office Development Group Microsoft Corporation One Microsoft Way Redmond, WA 98052 The letter should include a complete description of the bug including the actions, software, and hardware associated with the bug and whether or not it is consistently reproducible. You may also contact Microsoft Customer Service and speak with a support professional about the issue and have a support case created. This method will require you to utilize the standard options of support that are available for your copy of Microsoft product initially. Once the support professional is able to determine that the problem is a bug with the software, they will not decrement the incident from warranty support or account or issue a refund of any credit card charges if applicable. You may contact Microsoft Developer Support Team at (800) 936-5800. They are available 24 hours a day. They will be able to assist you. John, I hope your issue gets resolved. Thank you for using Microsoft products and services. Benoy Microsoft Online Customer Service Representative If you have any feedback about your Online Customer Service experience please E-mail my manager Rahul Rajgopal at managers at microsoft.com John W. Colby www.ColbyConsulting.com Contribute your unused CPU cycles to a good cause: http://folding.stanford.edu/ From bchacc at san.rr.com Sun Aug 14 18:50:48 2005 From: bchacc at san.rr.com (Rocky Smolin - Beach Access Software) Date: Sun, 14 Aug 2005 16:50:48 -0700 Subject: [AccessD] Bug Report References: <004801c5a129$aa5d00c0$6c7aa8c0@ColbyM6805> Message-ID: <024301c5a12a$fef2f1c0$6501a8c0@HAL9004> You're on a first name basis with Benoy? Not many of us have that kind of clout. Rocky ----- Original Message ----- From: "John W. Colby" To: "'Access Developers discussion and problem solving'" Sent: Sunday, August 14, 2005 4:41 PM Subject: [AccessD] Bug Report > The following is the response I got to my bug report: > > Hello John, > > Thank you for contacting Microsoft Online Customer Service. > > I appreciate the time you have taken to provide us with the feedback. > As a Customer Service Representative, I can assist you with the support > options available with your Microsoft product. You can report bugs by > postal > mail to the following address: > > Attn: Office Development Group > Microsoft Corporation > One Microsoft Way > Redmond, WA 98052 > > The letter should include a complete description of the bug including the > actions, software, and hardware associated with the bug and whether or not > it is consistently reproducible. > > You may also contact Microsoft Customer Service and speak with a support > professional about the issue and have a support case created. This method > will require you to utilize the standard options of support that are > available for your copy of Microsoft product initially. Once the support > professional is able to determine that the problem is a bug with the > software, they will not decrement the incident from warranty support or > account or issue a refund of any credit card charges if applicable. > > You may contact Microsoft Developer Support Team at (800) 936-5800. They > are available 24 hours a day. They will be able to assist you. > > John, I hope your issue gets resolved. > > Thank you for using Microsoft products and services. > > Benoy > Microsoft Online Customer Service Representative > > If you have any feedback about your Online Customer Service experience > please E-mail my manager Rahul Rajgopal at managers at microsoft.com > > > > John W. Colby > www.ColbyConsulting.com > > Contribute your unused CPU cycles to a good cause: > http://folding.stanford.edu/ > > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > From jwcolby at colbyconsulting.com Sun Aug 14 18:53:23 2005 From: jwcolby at colbyconsulting.com (John W. Colby) Date: Sun, 14 Aug 2005 19:53:23 -0400 Subject: [AccessD] Bug Report In-Reply-To: <024301c5a12a$fef2f1c0$6501a8c0@HAL9004> Message-ID: <004901c5a12b$5b23b6a0$6c7aa8c0@ColbyM6805> LOL. All you have to do is pay them money to tell them about their bugs and you too can be on a first name basis. John W. Colby www.ColbyConsulting.com Contribute your unused CPU cycles to a good cause: http://folding.stanford.edu/ -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Rocky Smolin - Beach Access Software Sent: Sunday, August 14, 2005 7:51 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Bug Report You're on a first name basis with Benoy? Not many of us have that kind of clout. Rocky ----- Original Message ----- From: "John W. Colby" To: "'Access Developers discussion and problem solving'" Sent: Sunday, August 14, 2005 4:41 PM Subject: [AccessD] Bug Report > The following is the response I got to my bug report: > > Hello John, > > Thank you for contacting Microsoft Online Customer Service. > > I appreciate the time you have taken to provide us with the feedback. > As a Customer Service Representative, I can assist you with the > support options available with your Microsoft product. You can report > bugs by postal mail to the following address: > > Attn: Office Development Group > Microsoft Corporation > One Microsoft Way > Redmond, WA 98052 > > The letter should include a complete description of the bug including > the actions, software, and hardware associated with the bug and > whether or not it is consistently reproducible. > > You may also contact Microsoft Customer Service and speak with a > support professional about the issue and have a support case created. > This method will require you to utilize the standard options of > support that are available for your copy of Microsoft product > initially. Once the support professional is able to determine that the > problem is a bug with the software, they will not decrement the > incident from warranty support or account or issue a refund of any > credit card charges if applicable. > > You may contact Microsoft Developer Support Team at (800) 936-5800. > They are available 24 hours a day. They will be able to assist you. > > John, I hope your issue gets resolved. > > Thank you for using Microsoft products and services. > > Benoy > Microsoft Online Customer Service Representative > > If you have any feedback about your Online Customer Service experience > please E-mail my manager Rahul Rajgopal at managers at microsoft.com > > > > John W. Colby > www.ColbyConsulting.com > > Contribute your unused CPU cycles to a good cause: > http://folding.stanford.edu/ > > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From jwcolby at colbyconsulting.com Sun Aug 14 19:03:49 2005 From: jwcolby at colbyconsulting.com (John W. Colby) Date: Sun, 14 Aug 2005 20:03:49 -0400 Subject: [AccessD] Bug Report In-Reply-To: <004901c5a12b$5b23b6a0$6c7aa8c0@ColbyM6805> Message-ID: <004a01c5a12c$d61e9a90$6c7aa8c0@ColbyM6805> Because I am an action pack subscriber, and because the problem occurs under OfficeXp and Windows XP received from them in the Action Pack, I have 2 available support incidents free of charge, which I am using the first of for this bug report. We shall see if I get it back. John W. Colby www.ColbyConsulting.com Contribute your unused CPU cycles to a good cause: http://folding.stanford.edu/ -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of John W. Colby Sent: Sunday, August 14, 2005 7:53 PM To: 'Access Developers discussion and problem solving' Subject: RE: [AccessD] Bug Report LOL. All you have to do is pay them money to tell them about their bugs and you too can be on a first name basis. John W. Colby www.ColbyConsulting.com Contribute your unused CPU cycles to a good cause: http://folding.stanford.edu/ -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Rocky Smolin - Beach Access Software Sent: Sunday, August 14, 2005 7:51 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Bug Report You're on a first name basis with Benoy? Not many of us have that kind of clout. Rocky ----- Original Message ----- From: "John W. Colby" To: "'Access Developers discussion and problem solving'" Sent: Sunday, August 14, 2005 4:41 PM Subject: [AccessD] Bug Report > The following is the response I got to my bug report: > > Hello John, > > Thank you for contacting Microsoft Online Customer Service. > > I appreciate the time you have taken to provide us with the feedback. > As a Customer Service Representative, I can assist you with the > support options available with your Microsoft product. You can report > bugs by postal mail to the following address: > > Attn: Office Development Group > Microsoft Corporation > One Microsoft Way > Redmond, WA 98052 > > The letter should include a complete description of the bug including > the actions, software, and hardware associated with the bug and > whether or not it is consistently reproducible. > > You may also contact Microsoft Customer Service and speak with a > support professional about the issue and have a support case created. > This method will require you to utilize the standard options of > support that are available for your copy of Microsoft product > initially. Once the support professional is able to determine that the > problem is a bug with the software, they will not decrement the > incident from warranty support or account or issue a refund of any > credit card charges if applicable. > > You may contact Microsoft Developer Support Team at (800) 936-5800. > They are available 24 hours a day. They will be able to assist you. > > John, I hope your issue gets resolved. > > Thank you for using Microsoft products and services. > > Benoy > Microsoft Online Customer Service Representative > > If you have any feedback about your Online Customer Service experience > please E-mail my manager Rahul Rajgopal at managers at microsoft.com > > > > John W. Colby > www.ColbyConsulting.com > > Contribute your unused CPU cycles to a good cause: > http://folding.stanford.edu/ > > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd 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 Aug 14 19:44:29 2005 From: dwaters at usinternet.com (Dan Waters) Date: Sun, 14 Aug 2005 19:44:29 -0500 Subject: [AccessD] Bug Report In-Reply-To: <18161758.1124063022734.JavaMail.root@sniper15> Message-ID: <000001c5a132$80bdb440$0300a8c0@danwaters> Well - MS is really loosening up! They won't charge you if it really does turn out to be a bug. I had to solve my bug myself for them to not charge me! Best of Luck! Dan Waters -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of John W. Colby Sent: Sunday, August 14, 2005 6:41 PM To: 'Access Developers discussion and problem solving' Subject: [AccessD] Bug Report The following is the response I got to my bug report: Hello John, Thank you for contacting Microsoft Online Customer Service. I appreciate the time you have taken to provide us with the feedback. As a Customer Service Representative, I can assist you with the support options available with your Microsoft product. You can report bugs by postal mail to the following address: Attn: Office Development Group Microsoft Corporation One Microsoft Way Redmond, WA 98052 The letter should include a complete description of the bug including the actions, software, and hardware associated with the bug and whether or not it is consistently reproducible. You may also contact Microsoft Customer Service and speak with a support professional about the issue and have a support case created. This method will require you to utilize the standard options of support that are available for your copy of Microsoft product initially. Once the support professional is able to determine that the problem is a bug with the software, they will not decrement the incident from warranty support or account or issue a refund of any credit card charges if applicable. You may contact Microsoft Developer Support Team at (800) 936-5800. They are available 24 hours a day. They will be able to assist you. John, I hope your issue gets resolved. Thank you for using Microsoft products and services. Benoy Microsoft Online Customer Service Representative If you have any feedback about your Online Customer Service experience please E-mail my manager Rahul Rajgopal at managers at microsoft.com John W. Colby www.ColbyConsulting.com Contribute your unused CPU cycles to a good cause: http://folding.stanford.edu/ -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From jwcolby at colbyconsulting.com Sun Aug 14 19:52:30 2005 From: jwcolby at colbyconsulting.com (John W. Colby) Date: Sun, 14 Aug 2005 20:52:30 -0400 Subject: [AccessD] Bug Report In-Reply-To: <000001c5a132$80bdb440$0300a8c0@danwaters> Message-ID: <004c01c5a133$9d38da40$6c7aa8c0@ColbyM6805> LOL. There is no resolving this bug. Access just shuts down. Step through the code and hit one specific line it just closes. Not exactly something I can fix. John W. Colby www.ColbyConsulting.com Contribute your unused CPU cycles to a good cause: http://folding.stanford.edu/ -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Dan Waters Sent: Sunday, August 14, 2005 8:44 PM To: 'Access Developers discussion and problem solving' Subject: RE: [AccessD] Bug Report Well - MS is really loosening up! They won't charge you if it really does turn out to be a bug. I had to solve my bug myself for them to not charge me! Best of Luck! Dan Waters -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of John W. Colby Sent: Sunday, August 14, 2005 6:41 PM To: 'Access Developers discussion and problem solving' Subject: [AccessD] Bug Report The following is the response I got to my bug report: Hello John, Thank you for contacting Microsoft Online Customer Service. I appreciate the time you have taken to provide us with the feedback. As a Customer Service Representative, I can assist you with the support options available with your Microsoft product. You can report bugs by postal mail to the following address: Attn: Office Development Group Microsoft Corporation One Microsoft Way Redmond, WA 98052 The letter should include a complete description of the bug including the actions, software, and hardware associated with the bug and whether or not it is consistently reproducible. You may also contact Microsoft Customer Service and speak with a support professional about the issue and have a support case created. This method will require you to utilize the standard options of support that are available for your copy of Microsoft product initially. Once the support professional is able to determine that the problem is a bug with the software, they will not decrement the incident from warranty support or account or issue a refund of any credit card charges if applicable. You may contact Microsoft Developer Support Team at (800) 936-5800. They are available 24 hours a day. They will be able to assist you. John, I hope your issue gets resolved. Thank you for using Microsoft products and services. Benoy Microsoft Online Customer Service Representative If you have any feedback about your Online Customer Service experience please E-mail my manager Rahul Rajgopal at managers at microsoft.com John W. Colby www.ColbyConsulting.com Contribute your unused CPU cycles to a good cause: http://folding.stanford.edu/ -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd 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 Mon Aug 15 01:22:15 2005 From: bchacc at san.rr.com (Rocky Smolin - Beach Access Software) Date: Sun, 14 Aug 2005 23:22:15 -0700 Subject: [AccessD] Bug Report References: <004a01c5a12c$d61e9a90$6c7aa8c0@ColbyM6805> Message-ID: <02d301c5a161$ae37a870$6501a8c0@HAL9004> I subscribed to the Action Pack as well this year. Is there any advantage to subscribing every year? Rocky ----- Original Message ----- From: "John W. Colby" To: "'Access Developers discussion and problem solving'" Sent: Sunday, August 14, 2005 5:03 PM Subject: RE: [AccessD] Bug Report > Because I am an action pack subscriber, and because the problem occurs > under > OfficeXp and Windows XP received from them in the Action Pack, I have 2 > available support incidents free of charge, which I am using the first of > for this bug report. We shall see if I get it back. > > John W. Colby > www.ColbyConsulting.com > > Contribute your unused CPU cycles to a good cause: > http://folding.stanford.edu/ > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of John W. Colby > Sent: Sunday, August 14, 2005 7:53 PM > To: 'Access Developers discussion and problem solving' > Subject: RE: [AccessD] Bug Report > > > LOL. All you have to do is pay them money to tell them about their bugs > and > you too can be on a first name basis. > > John W. Colby > www.ColbyConsulting.com > > Contribute your unused CPU cycles to a good cause: > http://folding.stanford.edu/ > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Rocky Smolin - > Beach Access Software > Sent: Sunday, August 14, 2005 7:51 PM > To: Access Developers discussion and problem solving > Subject: Re: [AccessD] Bug Report > > > You're on a first name basis with Benoy? Not many of us have that kind of > clout. > > Rocky > > ----- Original Message ----- > From: "John W. Colby" > To: "'Access Developers discussion and problem solving'" > > Sent: Sunday, August 14, 2005 4:41 PM > Subject: [AccessD] Bug Report > > >> The following is the response I got to my bug report: >> >> Hello John, >> >> Thank you for contacting Microsoft Online Customer Service. >> >> I appreciate the time you have taken to provide us with the feedback. >> As a Customer Service Representative, I can assist you with the >> support options available with your Microsoft product. You can report >> bugs by postal mail to the following address: >> >> Attn: Office Development Group >> Microsoft Corporation >> One Microsoft Way >> Redmond, WA 98052 >> >> The letter should include a complete description of the bug including >> the actions, software, and hardware associated with the bug and >> whether or not it is consistently reproducible. >> >> You may also contact Microsoft Customer Service and speak with a >> support professional about the issue and have a support case created. >> This method will require you to utilize the standard options of >> support that are available for your copy of Microsoft product >> initially. Once the support professional is able to determine that the >> problem is a bug with the software, they will not decrement the >> incident from warranty support or account or issue a refund of any >> credit card charges if applicable. >> >> You may contact Microsoft Developer Support Team at (800) 936-5800. >> They are available 24 hours a day. They will be able to assist you. >> >> John, I hope your issue gets resolved. >> >> Thank you for using Microsoft products and services. >> >> Benoy >> Microsoft Online Customer Service Representative >> >> If you have any feedback about your Online Customer Service experience >> please E-mail my manager Rahul Rajgopal at managers at microsoft.com >> >> >> >> John W. Colby >> www.ColbyConsulting.com >> >> Contribute your unused CPU cycles to a good cause: >> http://folding.stanford.edu/ >> >> >> -- >> AccessD mailing list >> AccessD at databaseadvisors.com >> http://databaseadvisors.com/mailman/listinfo/accessd >> Website: http://www.databaseadvisors.com >> > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > > > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > 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 Mon Aug 15 01:23:23 2005 From: bchacc at san.rr.com (Rocky Smolin - Beach Access Software) Date: Sun, 14 Aug 2005 23:23:23 -0700 Subject: [AccessD] Bug Report References: <004c01c5a133$9d38da40$6c7aa8c0@ColbyM6805> Message-ID: <02da01c5a161$d6d2b540$6501a8c0@HAL9004> I was away on vacation last week and missed the description of the bug. Could you repost the original? Thanks. Rocky ----- Original Message ----- From: "John W. Colby" To: "'Access Developers discussion and problem solving'" Sent: Sunday, August 14, 2005 5:52 PM Subject: RE: [AccessD] Bug Report > LOL. There is no resolving this bug. Access just shuts down. Step > through > the code and hit one specific line it just closes. Not exactly something > I > can fix. > > John W. Colby > www.ColbyConsulting.com > > Contribute your unused CPU cycles to a good cause: > http://folding.stanford.edu/ > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Dan Waters > Sent: Sunday, August 14, 2005 8:44 PM > To: 'Access Developers discussion and problem solving' > Subject: RE: [AccessD] Bug Report > > > Well - MS is really loosening up! They won't charge you if it really does > turn out to be a bug. I had to solve my bug myself for them to not charge > me! > > Best of Luck! > > Dan Waters > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of John W. Colby > Sent: Sunday, August 14, 2005 6:41 PM > To: 'Access Developers discussion and problem solving' > Subject: [AccessD] Bug Report > > The following is the response I got to my bug report: > > Hello John, > > Thank you for contacting Microsoft Online Customer Service. > > I appreciate the time you have taken to provide us with the feedback. As a > Customer Service Representative, I can assist you with the support options > available with your Microsoft product. You can report bugs by postal mail > to > the following address: > > Attn: Office Development Group > Microsoft Corporation > One Microsoft Way > Redmond, WA 98052 > > The letter should include a complete description of the bug including the > actions, software, and hardware associated with the bug and whether or not > it is consistently reproducible. > > You may also contact Microsoft Customer Service and speak with a support > professional about the issue and have a support case created. This method > will require you to utilize the standard options of support that are > available for your copy of Microsoft product initially. Once the support > professional is able to determine that the problem is a bug with the > software, they will not decrement the incident from warranty support or > account or issue a refund of any credit card charges if applicable. > > You may contact Microsoft Developer Support Team at (800) 936-5800. They > are available 24 hours a day. They will be able to assist you. > > John, I hope your issue gets resolved. > > Thank you for using Microsoft products and services. > > Benoy > Microsoft Online Customer Service Representative > > If you have any feedback about your Online Customer Service experience > please E-mail my manager Rahul Rajgopal at managers at microsoft.com > > > > John W. Colby > www.ColbyConsulting.com > > Contribute your unused CPU cycles to a good cause: > http://folding.stanford.edu/ > > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > 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 Mon Aug 15 09:34:40 2005 From: DElam at jenkens.com (Elam, Debbie) Date: Mon, 15 Aug 2005 09:34:40 -0500 Subject: [AccessD] Upsize wizard MDB to SQL Message-ID: <7B1961ED924D1A459E378C9B1BB22B4C0492CC71@natexch.jenkens.com> The wizard is acceptable, but I have usually found that I need to almost start from scratch. The tables migrate beautifully, but the best way to handle most everything else as far as data sources and pulling specific data is different. Concentrate on data handling, that is where the biggest differences are. Take advantage of triggers to handle hard data validation rules, they are more robust than code in forms. Do as much filtering as possible on the server side. Pass through queries can help with this a lot. Debbie -----Original Message----- From: Johncliviger at aol.com [mailto:Johncliviger at aol.com] Sent: Saturday, August 13, 2005 6:13 AM To: accessd at databaseadvisors.com Subject: [AccessD] Upsize wizard MDB to SQL Hi all I've asked to migrate an Access 2002 BE to SQL 2000 server. Not having done this before and not wanting fans and brown stuff to meet. So I 'm looking for a some documentation on this. My initial view is to apply the upsize wizard to the BE and keep the FE as it is and link it via odbc to SQL BE. Comments and pointers most welcome. johnb -- 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 jwcolby at colbyconsulting.com Mon Aug 15 09:56:19 2005 From: jwcolby at colbyconsulting.com (John W. Colby) Date: Mon, 15 Aug 2005 10:56:19 -0400 Subject: [AccessD] Bug Report In-Reply-To: <02da01c5a161$d6d2b540$6501a8c0@HAL9004> Message-ID: <001001c5a1a9$7eb5dd40$6c7aa8c0@ColbyM6805> I did not post the bug description, however here is what I sent MS: Dear Sirs, I am a professional developer using Microsoft Access. I have a specific Access front end that has a particular (pretty complex) form - tfrmClaim - that when opened sometimes causes Access to close, no warning. A little background: The issue happens both at my client's office and on my development machine which is a laptop with all the pieces right on the machine. The application is a FE/BE split system, with an MDA holding an application framework (written by me). The application uses classes and Withevents (a LOT). My client uses Office 2K. They have about 40-50 workstations running a pretty good mix of Windows 98, Windows 2K and Windows XP. AFAICT the issue does not occur on Win98 but does occur on Win2K and WinXP. The system is a call center for the disability insurance industry. They search for a claimant, and when found open a very complex form that displays all aspects of the claim. This claim form has about 10 tabs, some of which are hidden. The tabs load subforms when clicked on etc to reduce loading time. All of that information is just background for you to understand the situation. The issue is that the OnOpen event occasionally causes the entire database to shut down, no warning, no page fault screen nothing. Just gone. I have been able to insert debug statements and find where the shutdown occurs. It occurs in the same location every time that the shutdown occurs, at least until you "do something" (developer code wise). Unfortunately because it does not happen every time, it is not possible to step through the code and watch it close, but it is possible to nail it down to a specific line of code whenever it does shutdown. In attempting to troubleshoot this issue, I have done all of the typical decompile / compact / repair, open a new database and import all the objects, etc. One day I spent hours working on it, and watched the shutdown "move" through the OnOpen event until I finally "pushed it out the end sub" and it started closing back in the form that opens this complex form (the search result form) - when control returned to that sub. I thought I had it nailed at that point but no, awhile later it was back to shutting down in the OnCurrent of the tfrmClaim. My client thinks it has something to do with XPSP3, although it does occur (much less frequently) on other Oses. It was happening a LOT on the XP SP3 machines, they backed out the SP3 and the occurrence dropped radically - from every 30 minutes to once a day or so. My dev machine (laptop) BTW is XP SP3 and it happens a lot. I have not attempted to back out the SP3 and don't really want to do so. Also, I have OfficeXP on my dev machine and the bug also occurs under OfficeXP as well. The problem will occur on the first search, or the 3rd search or the 10th search, but rarely less often than every 10 searches - at least on my dev machine. It does not appear to be data dependent, i.e. I see no pattern as to which record(s) triggers the shutdown. BTW, I have "commented out" my application framework such that most of the functionality of the MDA is not being run - just trying to narrow down the issue. There are about a dozen classes that load in OnOpen of the form, classes that use WithEvents to handle groups of controls and cause specific interactions to occur. I have not yet commented all of them out, although if I did there would be no code left to run. ;-) John W. Colby www.ColbyConsulting.com Contribute your unused CPU cycles to a good cause: http://folding.stanford.edu/ -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Rocky Smolin - Beach Access Software Sent: Monday, August 15, 2005 2:23 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Bug Report I was away on vacation last week and missed the description of the bug. Could you repost the original? Thanks. Rocky From cfoust at infostatsystems.com Mon Aug 15 10:26:40 2005 From: cfoust at infostatsystems.com (Charlotte Foust) Date: Mon, 15 Aug 2005 08:26:40 -0700 Subject: [AccessD] Bug Report Message-ID: Read the EULA, Rocky. If you DON'T subscribe, then you agree to remove all the software from your machine. That's the reason I don't use the action pack. Charlotte Foust -----Original Message----- From: Rocky Smolin - Beach Access Software [mailto:bchacc at san.rr.com] Sent: Sunday, August 14, 2005 11:22 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Bug Report I subscribed to the Action Pack as well this year. Is there any advantage to subscribing every year? Rocky ----- Original Message ----- From: "John W. Colby" To: "'Access Developers discussion and problem solving'" Sent: Sunday, August 14, 2005 5:03 PM Subject: RE: [AccessD] Bug Report > Because I am an action pack subscriber, and because the problem occurs > under > OfficeXp and Windows XP received from them in the Action Pack, I have 2 > available support incidents free of charge, which I am using the first of > for this bug report. We shall see if I get it back. > > John W. Colby > www.ColbyConsulting.com > > Contribute your unused CPU cycles to a good cause: > http://folding.stanford.edu/ > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of John W. > Colby > Sent: Sunday, August 14, 2005 7:53 PM > To: 'Access Developers discussion and problem solving' > Subject: RE: [AccessD] Bug Report > > > LOL. All you have to do is pay them money to tell them about their > bugs > and > you too can be on a first name basis. > > John W. Colby > www.ColbyConsulting.com > > Contribute your unused CPU cycles to a good cause: > http://folding.stanford.edu/ > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Rocky > Smolin - Beach Access Software > Sent: Sunday, August 14, 2005 7:51 PM > To: Access Developers discussion and problem solving > Subject: Re: [AccessD] Bug Report > > > You're on a first name basis with Benoy? Not many of us have that > kind of clout. > > Rocky > > ----- Original Message ----- > From: "John W. Colby" > To: "'Access Developers discussion and problem solving'" > > Sent: Sunday, August 14, 2005 4:41 PM > Subject: [AccessD] Bug Report > > >> The following is the response I got to my bug report: >> >> Hello John, >> >> Thank you for contacting Microsoft Online Customer Service. >> >> I appreciate the time you have taken to provide us with the feedback. >> As a Customer Service Representative, I can assist you with the >> support options available with your Microsoft product. You can report >> bugs by postal mail to the following address: >> >> Attn: Office Development Group >> Microsoft Corporation >> One Microsoft Way >> Redmond, WA 98052 >> >> The letter should include a complete description of the bug including >> the actions, software, and hardware associated with the bug and >> whether or not it is consistently reproducible. >> >> You may also contact Microsoft Customer Service and speak with a >> support professional about the issue and have a support case created. >> This method will require you to utilize the standard options of >> support that are available for your copy of Microsoft product >> initially. Once the support professional is able to determine that >> the problem is a bug with the software, they will not decrement the >> incident from warranty support or account or issue a refund of any >> credit card charges if applicable. >> >> You may contact Microsoft Developer Support Team at (800) 936-5800. >> They are available 24 hours a day. They will be able to assist you. >> >> John, I hope your issue gets resolved. >> >> Thank you for using Microsoft products and services. >> >> Benoy >> Microsoft Online Customer Service Representative >> >> If you have any feedback about your Online Customer Service >> experience please E-mail my manager Rahul Rajgopal at >> managers at microsoft.com >> >> >> >> John W. Colby >> www.ColbyConsulting.com >> >> Contribute your unused CPU cycles to a good cause: >> http://folding.stanford.edu/ >> >> >> -- >> AccessD mailing list >> AccessD at databaseadvisors.com >> http://databaseadvisors.com/mailman/listinfo/accessd >> Website: http://www.databaseadvisors.com >> > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > > > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > > > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > 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 Aug 15 10:29:31 2005 From: cfoust at infostatsystems.com (Charlotte Foust) Date: Mon, 15 Aug 2005 08:29:31 -0700 Subject: [AccessD] Bug Report Message-ID: I saw behavior like that in one of my apps once, John. I finally tracked it down to mixing DAO and ADO, that is, a DAO code block calling out to an ADO block, or vice versa. I scrubbed my code thoroughly to prevent said circumstance and the problem went away. One of the steps I took was to rename my routines so that I could tell at a glance whether they were ADO or DAO. Charlotte Foust -----Original Message----- From: John W. Colby [mailto:jwcolby at colbyconsulting.com] Sent: Sunday, August 14, 2005 5:52 PM To: 'Access Developers discussion and problem solving' Subject: RE: [AccessD] Bug Report LOL. There is no resolving this bug. Access just shuts down. Step through the code and hit one specific line it just closes. Not exactly something I can fix. John W. Colby www.ColbyConsulting.com Contribute your unused CPU cycles to a good cause: http://folding.stanford.edu/ -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Dan Waters Sent: Sunday, August 14, 2005 8:44 PM To: 'Access Developers discussion and problem solving' Subject: RE: [AccessD] Bug Report Well - MS is really loosening up! They won't charge you if it really does turn out to be a bug. I had to solve my bug myself for them to not charge me! Best of Luck! Dan Waters -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of John W. Colby Sent: Sunday, August 14, 2005 6:41 PM To: 'Access Developers discussion and problem solving' Subject: [AccessD] Bug Report The following is the response I got to my bug report: Hello John, Thank you for contacting Microsoft Online Customer Service. I appreciate the time you have taken to provide us with the feedback. As a Customer Service Representative, I can assist you with the support options available with your Microsoft product. You can report bugs by postal mail to the following address: Attn: Office Development Group Microsoft Corporation One Microsoft Way Redmond, WA 98052 The letter should include a complete description of the bug including the actions, software, and hardware associated with the bug and whether or not it is consistently reproducible. You may also contact Microsoft Customer Service and speak with a support professional about the issue and have a support case created. This method will require you to utilize the standard options of support that are available for your copy of Microsoft product initially. Once the support professional is able to determine that the problem is a bug with the software, they will not decrement the incident from warranty support or account or issue a refund of any credit card charges if applicable. You may contact Microsoft Developer Support Team at (800) 936-5800. They are available 24 hours a day. They will be able to assist you. John, I hope your issue gets resolved. Thank you for using Microsoft products and services. Benoy Microsoft Online Customer Service Representative If you have any feedback about your Online Customer Service experience please E-mail my manager Rahul Rajgopal at managers at microsoft.com John W. Colby www.ColbyConsulting.com Contribute your unused CPU cycles to a good cause: http://folding.stanford.edu/ -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd 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 Mon Aug 15 10:36:41 2005 From: bchacc at san.rr.com (Rocky Smolin - Beach Access Software) Date: Mon, 15 Aug 2005 08:36:41 -0700 Subject: [AccessD] Bug Report References: <001001c5a1a9$7eb5dd40$6c7aa8c0@ColbyM6805> Message-ID: <03d101c5a1af$22966ec0$6501a8c0@HAL9004> Interesting. What's your speculation on where it's happening? In the interpretation of your classes? They obviously have no clue and cannot track it down without getting your app and running it themselves. At first it behaves like a bad NIC - I've had apps go south with corruptions and shutdowns and traced it to a cheap NIC on the network - but you're running this standalone, yes? Rocky ----- Original Message ----- From: "John W. Colby" To: "'Access Developers discussion and problem solving'" Sent: Monday, August 15, 2005 7:56 AM Subject: RE: [AccessD] Bug Report >I did not post the bug description, however here is what I sent MS: > > Dear Sirs, > > I am a professional developer using Microsoft Access. I have a specific > Access front end that has a particular (pretty complex) form - > tfrmClaim - > that when opened sometimes causes Access to close, no warning. A little > background: > > The issue happens both at my client's office and on my development machine > which is a laptop with all the pieces right on the machine. The > application > is a FE/BE split system, with an MDA holding an application framework > (written by me). The application uses classes and Withevents (a LOT). > > My client uses Office 2K. They have about 40-50 workstations running a > pretty good mix of Windows 98, Windows 2K and Windows XP. AFAICT the > issue > does not occur on Win98 but does occur on Win2K and WinXP. > > The system is a call center for the disability insurance industry. They > search for a claimant, and when found open a very complex form that > displays > all aspects of the claim. This claim form has about 10 tabs, some of > which > are hidden. The tabs load subforms when clicked on etc to reduce loading > time. All of that information is just background for you to understand > the > situation. > > The issue is that the OnOpen event occasionally causes the entire database > to shut down, no warning, no page fault screen nothing. Just gone. > > I have been able to insert debug statements and find where the shutdown > occurs. It occurs in the same location every time that the shutdown > occurs, > at least until you "do something" (developer code wise). Unfortunately > because it does not happen every time, it is not possible to step through > the code and watch it close, but it is possible to nail it down to a > specific line of code whenever it does shutdown. > > In attempting to troubleshoot this issue, I have done all of the typical > decompile / compact / repair, open a new database and import all the > objects, etc. One day I spent hours working on it, and watched the > shutdown > "move" through the OnOpen event until I finally "pushed it out the end > sub" > and it started closing back in the form that opens this complex form (the > search result form) - when control returned to that sub. I thought I had > it > nailed at that point but no, awhile later it was back to shutting down in > the OnCurrent of the tfrmClaim. > > My client thinks it has something to do with XPSP3, although it does occur > (much less frequently) on other Oses. It was happening a LOT on the XP > SP3 > machines, they backed out the SP3 and the occurrence dropped radically - > from every 30 minutes to once a day or so. My dev machine (laptop) BTW is > XP SP3 and it happens a lot. I have not attempted to back out the SP3 and > don't really want to do so. Also, I have OfficeXP on my dev machine and > the > bug also occurs under OfficeXP as well. > > The problem will occur on the first search, or the 3rd search or the 10th > search, but rarely less often than every 10 searches - at least on my dev > machine. It does not appear to be data dependent, i.e. I see no pattern > as > to which record(s) triggers the shutdown. > > BTW, I have "commented out" my application framework such that most of the > functionality of the MDA is not being run - just trying to narrow down the > issue. There are about a dozen classes that load in OnOpen of the form, > classes that use WithEvents to handle groups of controls and cause > specific > interactions to occur. I have not yet commented all of them out, although > if I did there would be no code left to run. ;-) > > John W. Colby > www.ColbyConsulting.com > > Contribute your unused CPU cycles to a good cause: > http://folding.stanford.edu/ > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Rocky Smolin - > Beach Access Software > Sent: Monday, August 15, 2005 2:23 AM > To: Access Developers discussion and problem solving > Subject: Re: [AccessD] Bug Report > > > I was away on vacation last week and missed the description of the bug. > Could you repost the original? > > Thanks. > > Rocky > > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > From cfoust at infostatsystems.com Mon Aug 15 10:46:56 2005 From: cfoust at infostatsystems.com (Charlotte Foust) Date: Mon, 15 Aug 2005 08:46:56 -0700 Subject: [AccessD] Clear Debug Window Programmatically Message-ID: Yes, Arthur, you did specify programmatically. However, since there isn't any direct way to do it programmatically and you left out the version information, I answered a different question. I think you would have to use code to switch to the immediate window, select all and then perhaps use a SendKeys {Enter} to remove the existing text. Charlotte Foust -----Original Message----- From: Arthur Fuller [mailto:artful at rogers.com] Sent: Saturday, August 13, 2005 7:12 PM To: 'Access Developers discussion and problem solving' Subject: RE: [AccessD] Clear Debug Window Programmatically I thought that I had explained why I want to do it programmatically, but in case I didn't or it was missed, I shall repeat: I sprinkle my code with liberal doses of Debug.Print statements, particularly when debugging or exploring new corners. I might put a breakpoint on several statements at the end of a string of such Debug.Print statements. The window rapidly fills up. I want to be able to do housecleaning at certain points, such that the debug window contains only the results since my last housecleaning. It's not a big deal. I can survive as I have been doing. I simply wondered whether there was a statement equivalent to clearing the debug window. Arthur -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Charlotte Foust Sent: August 9, 2005 4:35 PM To: Access Developers discussion and problem solving Subject: RE: [AccessD] Clear Debug Window Programmatically I realize that you asked for a programmatic method. However, since the debug window is only available in the VBE, I didn't see any purpose in a programmatic method ... In XP and above, of course. You didn't indicate the version or WHY you needed it, so it's your own fault if we wandered off in another direction! LOL Charlotte Foust -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From jwcolby at colbyconsulting.com Mon Aug 15 10:53:08 2005 From: jwcolby at colbyconsulting.com (John W. Colby) Date: Mon, 15 Aug 2005 11:53:08 -0400 Subject: [AccessD] Bug Report In-Reply-To: Message-ID: <001501c5a1b1$6e634510$6c7aa8c0@ColbyM6805> Was it the actual line that called the other block? This one is just "any old line of code". It always occurs in the OnOpen of the form, where I am initializing classes, etc. By setting up debug.Print statements through the OnOpen I am able to nail down what exact line of code it is, but it doesn't occur every time the form opens so it is a pita to step through to actually watch the close happen. I have caused the close to move around however, even "pushing it out the end" of the OnOpen back into the function that opens the form. Truly bizarre. I have seen this kind of stuff before however. Back when I was working on C2DbFrameWiz (the error handler insertion wizard) I would get instances where the code that inserted the code into a module would just cause a close. It was very similar, I could "track it down" to a single line of code. I could go up to the previous line, type in the same code character for character, then delete the line causing the code and the problem would "go away" for awhile. OTOH, If I cut the line out to the paste buffer and pasted it back in again, I would still have the issue. I am convinced that the source code that you see on the screen has other things in the text stream, things that are not visible to you, the developer. Kind of like the old Word Perfect "show codes" where you would cause other formatting stuff to appear. I am convinced that the text stream gets something embedded in it and once that something is in the string, you are hosed. In this case (my current application) I have gone so far as to import the entire FE into a new blank MDB and the problem still exists. I do not get the "corrupted form" kind of thing that occurs with the A2K / AXP vb dll version issue, i.e. the form module is not "corrupted" at least not corrupted so badly that it won't export. This is a bizarre one and very irritating to my users as you might imagine. John W. Colby www.ColbyConsulting.com Contribute your unused CPU cycles to a good cause: http://folding.stanford.edu/ -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Charlotte Foust Sent: Monday, August 15, 2005 11:30 AM To: Access Developers discussion and problem solving Subject: RE: [AccessD] Bug Report I saw behavior like that in one of my apps once, John. I finally tracked it down to mixing DAO and ADO, that is, a DAO code block calling out to an ADO block, or vice versa. I scrubbed my code thoroughly to prevent said circumstance and the problem went away. One of the steps I took was to rename my routines so that I could tell at a glance whether they were ADO or DAO. Charlotte Foust -----Original Message----- From: John W. Colby [mailto:jwcolby at colbyconsulting.com] Sent: Sunday, August 14, 2005 5:52 PM To: 'Access Developers discussion and problem solving' Subject: RE: [AccessD] Bug Report LOL. There is no resolving this bug. Access just shuts down. Step through the code and hit one specific line it just closes. Not exactly something I can fix. John W. Colby www.ColbyConsulting.com Contribute your unused CPU cycles to a good cause: http://folding.stanford.edu/ -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Dan Waters Sent: Sunday, August 14, 2005 8:44 PM To: 'Access Developers discussion and problem solving' Subject: RE: [AccessD] Bug Report Well - MS is really loosening up! They won't charge you if it really does turn out to be a bug. I had to solve my bug myself for them to not charge me! Best of Luck! Dan Waters -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of John W. Colby Sent: Sunday, August 14, 2005 6:41 PM To: 'Access Developers discussion and problem solving' Subject: [AccessD] Bug Report The following is the response I got to my bug report: Hello John, Thank you for contacting Microsoft Online Customer Service. I appreciate the time you have taken to provide us with the feedback. As a Customer Service Representative, I can assist you with the support options available with your Microsoft product. You can report bugs by postal mail to the following address: Attn: Office Development Group Microsoft Corporation One Microsoft Way Redmond, WA 98052 The letter should include a complete description of the bug including the actions, software, and hardware associated with the bug and whether or not it is consistently reproducible. You may also contact Microsoft Customer Service and speak with a support professional about the issue and have a support case created. This method will require you to utilize the standard options of support that are available for your copy of Microsoft product initially. Once the support professional is able to determine that the problem is a bug with the software, they will not decrement the incident from warranty support or account or issue a refund of any credit card charges if applicable. You may contact Microsoft Developer Support Team at (800) 936-5800. They are available 24 hours a day. They will be able to assist you. John, I hope your issue gets resolved. Thank you for using Microsoft products and services. Benoy Microsoft Online Customer Service Representative If you have any feedback about your Online Customer Service experience please E-mail my manager Rahul Rajgopal at managers at microsoft.com John W. Colby www.ColbyConsulting.com Contribute your unused CPU cycles to a good cause: http://folding.stanford.edu/ -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd 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 Aug 15 10:59:25 2005 From: cfoust at infostatsystems.com (Charlotte Foust) Date: Mon, 15 Aug 2005 08:59:25 -0700 Subject: [AccessD] Clear Debug Window Programmatically Message-ID: Arthur, Here's a link to an older VB routine for this: http://www.vb-helper.com/howto_clear_debug_window.html And here's one in VBA, but it requires the extensibility library to reference the VBE: http://chrisrae.com/vba/routines/deletetextindebugwindow2.html Charlotte -----Original Message----- From: Arthur Fuller [mailto:artful at rogers.com] Sent: Saturday, August 13, 2005 7:12 PM To: 'Access Developers discussion and problem solving' Subject: RE: [AccessD] Clear Debug Window Programmatically I thought that I had explained why I want to do it programmatically, but in case I didn't or it was missed, I shall repeat: I sprinkle my code with liberal doses of Debug.Print statements, particularly when debugging or exploring new corners. I might put a breakpoint on several statements at the end of a string of such Debug.Print statements. The window rapidly fills up. I want to be able to do housecleaning at certain points, such that the debug window contains only the results since my last housecleaning. It's not a big deal. I can survive as I have been doing. I simply wondered whether there was a statement equivalent to clearing the debug window. Arthur -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Charlotte Foust Sent: August 9, 2005 4:35 PM To: Access Developers discussion and problem solving Subject: RE: [AccessD] Clear Debug Window Programmatically I realize that you asked for a programmatic method. However, since the debug window is only available in the VBE, I didn't see any purpose in a programmatic method ... In XP and above, of course. You didn't indicate the version or WHY you needed it, so it's your own fault if we wandered off in another direction! LOL Charlotte Foust -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From cfoust at infostatsystems.com Mon Aug 15 11:03:34 2005 From: cfoust at infostatsystems.com (Charlotte Foust) Date: Mon, 15 Aug 2005 09:03:34 -0700 Subject: [AccessD] Bug Report Message-ID: If you could track it down to a particular line, you're very thorough. I couldn't get that close, and I was never sure whether the crash happened on the call out or when the other routine accepted the call, since the whole application evaporated and left me looking at the Windows desktop when it happened. In my case, the antithetical routine wasn't necessarily being called directly, it could be several layers down ... And I had a deadline! LOL Charlotte Foust -----Original Message----- From: John W. Colby [mailto:jwcolby at colbyconsulting.com] Sent: Monday, August 15, 2005 8:53 AM To: 'Access Developers discussion and problem solving' Subject: RE: [AccessD] Bug Report Was it the actual line that called the other block? This one is just "any old line of code". It always occurs in the OnOpen of the form, where I am initializing classes, etc. By setting up debug.Print statements through the OnOpen I am able to nail down what exact line of code it is, but it doesn't occur every time the form opens so it is a pita to step through to actually watch the close happen. I have caused the close to move around however, even "pushing it out the end" of the OnOpen back into the function that opens the form. Truly bizarre. I have seen this kind of stuff before however. Back when I was working on C2DbFrameWiz (the error handler insertion wizard) I would get instances where the code that inserted the code into a module would just cause a close. It was very similar, I could "track it down" to a single line of code. I could go up to the previous line, type in the same code character for character, then delete the line causing the code and the problem would "go away" for awhile. OTOH, If I cut the line out to the paste buffer and pasted it back in again, I would still have the issue. I am convinced that the source code that you see on the screen has other things in the text stream, things that are not visible to you, the developer. Kind of like the old Word Perfect "show codes" where you would cause other formatting stuff to appear. I am convinced that the text stream gets something embedded in it and once that something is in the string, you are hosed. In this case (my current application) I have gone so far as to import the entire FE into a new blank MDB and the problem still exists. I do not get the "corrupted form" kind of thing that occurs with the A2K / AXP vb dll version issue, i.e. the form module is not "corrupted" at least not corrupted so badly that it won't export. This is a bizarre one and very irritating to my users as you might imagine. John W. Colby www.ColbyConsulting.com Contribute your unused CPU cycles to a good cause: http://folding.stanford.edu/ -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Charlotte Foust Sent: Monday, August 15, 2005 11:30 AM To: Access Developers discussion and problem solving Subject: RE: [AccessD] Bug Report I saw behavior like that in one of my apps once, John. I finally tracked it down to mixing DAO and ADO, that is, a DAO code block calling out to an ADO block, or vice versa. I scrubbed my code thoroughly to prevent said circumstance and the problem went away. One of the steps I took was to rename my routines so that I could tell at a glance whether they were ADO or DAO. Charlotte Foust -----Original Message----- From: John W. Colby [mailto:jwcolby at colbyconsulting.com] Sent: Sunday, August 14, 2005 5:52 PM To: 'Access Developers discussion and problem solving' Subject: RE: [AccessD] Bug Report LOL. There is no resolving this bug. Access just shuts down. Step through the code and hit one specific line it just closes. Not exactly something I can fix. John W. Colby www.ColbyConsulting.com Contribute your unused CPU cycles to a good cause: http://folding.stanford.edu/ -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Dan Waters Sent: Sunday, August 14, 2005 8:44 PM To: 'Access Developers discussion and problem solving' Subject: RE: [AccessD] Bug Report Well - MS is really loosening up! They won't charge you if it really does turn out to be a bug. I had to solve my bug myself for them to not charge me! Best of Luck! Dan Waters -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of John W. Colby Sent: Sunday, August 14, 2005 6:41 PM To: 'Access Developers discussion and problem solving' Subject: [AccessD] Bug Report The following is the response I got to my bug report: Hello John, Thank you for contacting Microsoft Online Customer Service. I appreciate the time you have taken to provide us with the feedback. As a Customer Service Representative, I can assist you with the support options available with your Microsoft product. You can report bugs by postal mail to the following address: Attn: Office Development Group Microsoft Corporation One Microsoft Way Redmond, WA 98052 The letter should include a complete description of the bug including the actions, software, and hardware associated with the bug and whether or not it is consistently reproducible. You may also contact Microsoft Customer Service and speak with a support professional about the issue and have a support case created. This method will require you to utilize the standard options of support that are available for your copy of Microsoft product initially. Once the support professional is able to determine that the problem is a bug with the software, they will not decrement the incident from warranty support or account or issue a refund of any credit card charges if applicable. You may contact Microsoft Developer Support Team at (800) 936-5800. They are available 24 hours a day. They will be able to assist you. John, I hope your issue gets resolved. Thank you for using Microsoft products and services. Benoy Microsoft Online Customer Service Representative If you have any feedback about your Online Customer Service experience please E-mail my manager Rahul Rajgopal at managers at microsoft.com John W. Colby www.ColbyConsulting.com Contribute your unused CPU cycles to a good cause: http://folding.stanford.edu/ -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd 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 Aug 15 11:08:51 2005 From: jimdettman at earthlink.net (Jim Dettman) Date: Mon, 15 Aug 2005 12:08:51 -0400 Subject: [AccessD] Bug Report In-Reply-To: <001501c5a1b1$6e634510$6c7aa8c0@ColbyM6805> Message-ID: John, I've seen what your seeing. I've also had cases where code breaks on a line where a breakpoint was but is no longer after the code has been changed (lines inserted or deleted). I've even had it break on *blank* lines in some cases. I can push the lines around as you say and watch things change. <> Basically it boils down to the fact that the source code is out of synch with the p-code or as your saying, the p-code is hosed. Since they are stored separately, it is easy for this to happen. Good time to use /decompile. Jim. -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of John W. Colby Sent: Monday, August 15, 2005 11:53 AM To: 'Access Developers discussion and problem solving' Subject: RE: [AccessD] Bug Report Was it the actual line that called the other block? This one is just "any old line of code". It always occurs in the OnOpen of the form, where I am initializing classes, etc. By setting up debug.Print statements through the OnOpen I am able to nail down what exact line of code it is, but it doesn't occur every time the form opens so it is a pita to step through to actually watch the close happen. I have caused the close to move around however, even "pushing it out the end" of the OnOpen back into the function that opens the form. Truly bizarre. I have seen this kind of stuff before however. Back when I was working on C2DbFrameWiz (the error handler insertion wizard) I would get instances where the code that inserted the code into a module would just cause a close. It was very similar, I could "track it down" to a single line of code. I could go up to the previous line, type in the same code character for character, then delete the line causing the code and the problem would "go away" for awhile. OTOH, If I cut the line out to the paste buffer and pasted it back in again, I would still have the issue. I am convinced that the source code that you see on the screen has other things in the text stream, things that are not visible to you, the developer. Kind of like the old Word Perfect "show codes" where you would cause other formatting stuff to appear. I am convinced that the text stream gets something embedded in it and once that something is in the string, you are hosed. In this case (my current application) I have gone so far as to import the entire FE into a new blank MDB and the problem still exists. I do not get the "corrupted form" kind of thing that occurs with the A2K / AXP vb dll version issue, i.e. the form module is not "corrupted" at least not corrupted so badly that it won't export. This is a bizarre one and very irritating to my users as you might imagine. John W. Colby www.ColbyConsulting.com Contribute your unused CPU cycles to a good cause: http://folding.stanford.edu/ -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Charlotte Foust Sent: Monday, August 15, 2005 11:30 AM To: Access Developers discussion and problem solving Subject: RE: [AccessD] Bug Report I saw behavior like that in one of my apps once, John. I finally tracked it down to mixing DAO and ADO, that is, a DAO code block calling out to an ADO block, or vice versa. I scrubbed my code thoroughly to prevent said circumstance and the problem went away. One of the steps I took was to rename my routines so that I could tell at a glance whether they were ADO or DAO. Charlotte Foust -----Original Message----- From: John W. Colby [mailto:jwcolby at colbyconsulting.com] Sent: Sunday, August 14, 2005 5:52 PM To: 'Access Developers discussion and problem solving' Subject: RE: [AccessD] Bug Report LOL. There is no resolving this bug. Access just shuts down. Step through the code and hit one specific line it just closes. Not exactly something I can fix. John W. Colby www.ColbyConsulting.com Contribute your unused CPU cycles to a good cause: http://folding.stanford.edu/ -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Dan Waters Sent: Sunday, August 14, 2005 8:44 PM To: 'Access Developers discussion and problem solving' Subject: RE: [AccessD] Bug Report Well - MS is really loosening up! They won't charge you if it really does turn out to be a bug. I had to solve my bug myself for them to not charge me! Best of Luck! Dan Waters -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of John W. Colby Sent: Sunday, August 14, 2005 6:41 PM To: 'Access Developers discussion and problem solving' Subject: [AccessD] Bug Report The following is the response I got to my bug report: Hello John, Thank you for contacting Microsoft Online Customer Service. I appreciate the time you have taken to provide us with the feedback. As a Customer Service Representative, I can assist you with the support options available with your Microsoft product. You can report bugs by postal mail to the following address: Attn: Office Development Group Microsoft Corporation One Microsoft Way Redmond, WA 98052 The letter should include a complete description of the bug including the actions, software, and hardware associated with the bug and whether or not it is consistently reproducible. You may also contact Microsoft Customer Service and speak with a support professional about the issue and have a support case created. This method will require you to utilize the standard options of support that are available for your copy of Microsoft product initially. Once the support professional is able to determine that the problem is a bug with the software, they will not decrement the incident from warranty support or account or issue a refund of any credit card charges if applicable. You may contact Microsoft Developer Support Team at (800) 936-5800. They are available 24 hours a day. They will be able to assist you. John, I hope your issue gets resolved. Thank you for using Microsoft products and services. Benoy Microsoft Online Customer Service Representative If you have any feedback about your Online Customer Service experience please E-mail my manager Rahul Rajgopal at managers at microsoft.com John W. Colby www.ColbyConsulting.com Contribute your unused CPU cycles to a good cause: http://folding.stanford.edu/ -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From Johncliviger at aol.com Mon Aug 15 11:10:35 2005 From: Johncliviger at aol.com (Johncliviger at aol.com) Date: Mon, 15 Aug 2005 12:10:35 EDT Subject: [AccessD] Upsize wizard MDB to SQL Message-ID: Thanks Debbie for your comments johnc From bchacc at san.rr.com Mon Aug 15 11:13:38 2005 From: bchacc at san.rr.com (Rocky Smolin - Beach Access Software) Date: Mon, 15 Aug 2005 09:13:38 -0700 Subject: [AccessD] Bug Report References: Message-ID: <03da01c5a1b4$4c166b10$6501a8c0@HAL9004> D'oh! ----- Original Message ----- From: "Charlotte Foust" To: "Access Developers discussion and problem solving" Sent: Monday, August 15, 2005 8:26 AM Subject: RE: [AccessD] Bug Report > Read the EULA, Rocky. If you DON'T subscribe, then you agree to remove > all the software from your machine. That's the reason I don't use the > action pack. > > Charlotte Foust > > > -----Original Message----- > From: Rocky Smolin - Beach Access Software [mailto:bchacc at san.rr.com] > Sent: Sunday, August 14, 2005 11:22 PM > To: Access Developers discussion and problem solving > Subject: Re: [AccessD] Bug Report > > > I subscribed to the Action Pack as well this year. Is there any > advantage > to subscribing every year? > > Rocky > > ----- Original Message ----- > From: "John W. Colby" > To: "'Access Developers discussion and problem solving'" > > Sent: Sunday, August 14, 2005 5:03 PM > Subject: RE: [AccessD] Bug Report > > >> Because I am an action pack subscriber, and because the problem occurs >> under >> OfficeXp and Windows XP received from them in the Action Pack, I have > 2 >> available support incidents free of charge, which I am using the first > of >> for this bug report. We shall see if I get it back. >> >> John W. Colby >> www.ColbyConsulting.com >> >> Contribute your unused CPU cycles to a good cause: >> http://folding.stanford.edu/ >> >> -----Original Message----- >> From: accessd-bounces at databaseadvisors.com >> [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of John W. >> Colby >> Sent: Sunday, August 14, 2005 7:53 PM >> To: 'Access Developers discussion and problem solving' >> Subject: RE: [AccessD] Bug Report >> >> >> LOL. All you have to do is pay them money to tell them about their >> bugs >> and >> you too can be on a first name basis. >> >> John W. Colby >> www.ColbyConsulting.com >> >> Contribute your unused CPU cycles to a good cause: >> http://folding.stanford.edu/ >> >> -----Original Message----- >> From: accessd-bounces at databaseadvisors.com >> [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Rocky >> Smolin - Beach Access Software >> Sent: Sunday, August 14, 2005 7:51 PM >> To: Access Developers discussion and problem solving >> Subject: Re: [AccessD] Bug Report >> >> >> You're on a first name basis with Benoy? Not many of us have that >> kind of clout. >> >> Rocky >> >> ----- Original Message ----- >> From: "John W. Colby" >> To: "'Access Developers discussion and problem solving'" >> >> Sent: Sunday, August 14, 2005 4:41 PM >> Subject: [AccessD] Bug Report >> >> >>> The following is the response I got to my bug report: >>> >>> Hello John, >>> >>> Thank you for contacting Microsoft Online Customer Service. >>> >>> I appreciate the time you have taken to provide us with the feedback. > >>> As a Customer Service Representative, I can assist you with the >>> support options available with your Microsoft product. You can report > >>> bugs by postal mail to the following address: >>> >>> Attn: Office Development Group >>> Microsoft Corporation >>> One Microsoft Way >>> Redmond, WA 98052 >>> >>> The letter should include a complete description of the bug including > >>> the actions, software, and hardware associated with the bug and >>> whether or not it is consistently reproducible. >>> >>> You may also contact Microsoft Customer Service and speak with a >>> support professional about the issue and have a support case created. > >>> This method will require you to utilize the standard options of >>> support that are available for your copy of Microsoft product >>> initially. Once the support professional is able to determine that >>> the problem is a bug with the software, they will not decrement the >>> incident from warranty support or account or issue a refund of any >>> credit card charges if applicable. >>> >>> You may contact Microsoft Developer Support Team at (800) 936-5800. >>> They are available 24 hours a day. They will be able to assist you. >>> >>> John, I hope your issue gets resolved. >>> >>> Thank you for using Microsoft products and services. >>> >>> Benoy >>> Microsoft Online Customer Service Representative >>> >>> If you have any feedback about your Online Customer Service >>> experience please E-mail my manager Rahul Rajgopal at >>> managers at microsoft.com >>> >>> >>> >>> John W. Colby >>> www.ColbyConsulting.com >>> >>> Contribute your unused CPU cycles to a good cause: >>> http://folding.stanford.edu/ >>> >>> >>> -- >>> AccessD mailing list >>> AccessD at databaseadvisors.com >>> http://databaseadvisors.com/mailman/listinfo/accessd >>> Website: http://www.databaseadvisors.com >>> >> >> -- >> AccessD mailing list >> AccessD at databaseadvisors.com >> http://databaseadvisors.com/mailman/listinfo/accessd >> Website: http://www.databaseadvisors.com >> >> >> >> -- >> AccessD mailing list >> AccessD at databaseadvisors.com >> http://databaseadvisors.com/mailman/listinfo/accessd >> Website: http://www.databaseadvisors.com >> >> >> >> -- >> AccessD mailing list >> AccessD at databaseadvisors.com >> http://databaseadvisors.com/mailman/listinfo/accessd >> Website: http://www.databaseadvisors.com >> > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > From jwcolby at colbyconsulting.com Mon Aug 15 11:19:20 2005 From: jwcolby at colbyconsulting.com (John W. Colby) Date: Mon, 15 Aug 2005 12:19:20 -0400 Subject: [AccessD] Bug Report In-Reply-To: Message-ID: <001601c5a1b5$176c1940$6c7aa8c0@ColbyM6805> >I've also had cases where code breaks on a line where a breakpoint was but is no longer after the code has been changed (lines inserted or deleted). Yea, I've seen this too. Breaks even though the breakbpoint was removed. I think it is the same issue, i.e. "invisible stuff" in the source code that is not properly stripped out. Unfortunately /decompile does not help in this case. All that /decompile does is throw out the pcode stream forcing a recompile of the entire source code stream. If the source stream is bad then the next compile will just recreate the bad pcode. John W. Colby www.ColbyConsulting.com Contribute your unused CPU cycles to a good cause: http://folding.stanford.edu/ -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Jim Dettman Sent: Monday, August 15, 2005 12:09 PM To: Access Developers discussion and problem solving Subject: RE: [AccessD] Bug Report John, I've seen what your seeing. I've also had cases where code breaks on a line where a breakpoint was but is no longer after the code has been changed (lines inserted or deleted). I've even had it break on *blank* lines in some cases. I can push the lines around as you say and watch things change. <> Basically it boils down to the fact that the source code is out of synch with the p-code or as your saying, the p-code is hosed. Since they are stored separately, it is easy for this to happen. Good time to use /decompile. Jim. -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of John W. Colby Sent: Monday, August 15, 2005 11:53 AM To: 'Access Developers discussion and problem solving' Subject: RE: [AccessD] Bug Report Was it the actual line that called the other block? This one is just "any old line of code". It always occurs in the OnOpen of the form, where I am initializing classes, etc. By setting up debug.Print statements through the OnOpen I am able to nail down what exact line of code it is, but it doesn't occur every time the form opens so it is a pita to step through to actually watch the close happen. I have caused the close to move around however, even "pushing it out the end" of the OnOpen back into the function that opens the form. Truly bizarre. I have seen this kind of stuff before however. Back when I was working on C2DbFrameWiz (the error handler insertion wizard) I would get instances where the code that inserted the code into a module would just cause a close. It was very similar, I could "track it down" to a single line of code. I could go up to the previous line, type in the same code character for character, then delete the line causing the code and the problem would "go away" for awhile. OTOH, If I cut the line out to the paste buffer and pasted it back in again, I would still have the issue. I am convinced that the source code that you see on the screen has other things in the text stream, things that are not visible to you, the developer. Kind of like the old Word Perfect "show codes" where you would cause other formatting stuff to appear. I am convinced that the text stream gets something embedded in it and once that something is in the string, you are hosed. In this case (my current application) I have gone so far as to import the entire FE into a new blank MDB and the problem still exists. I do not get the "corrupted form" kind of thing that occurs with the A2K / AXP vb dll version issue, i.e. the form module is not "corrupted" at least not corrupted so badly that it won't export. This is a bizarre one and very irritating to my users as you might imagine. John W. Colby www.ColbyConsulting.com Contribute your unused CPU cycles to a good cause: http://folding.stanford.edu/ -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Charlotte Foust Sent: Monday, August 15, 2005 11:30 AM To: Access Developers discussion and problem solving Subject: RE: [AccessD] Bug Report I saw behavior like that in one of my apps once, John. I finally tracked it down to mixing DAO and ADO, that is, a DAO code block calling out to an ADO block, or vice versa. I scrubbed my code thoroughly to prevent said circumstance and the problem went away. One of the steps I took was to rename my routines so that I could tell at a glance whether they were ADO or DAO. Charlotte Foust -----Original Message----- From: John W. Colby [mailto:jwcolby at colbyconsulting.com] Sent: Sunday, August 14, 2005 5:52 PM To: 'Access Developers discussion and problem solving' Subject: RE: [AccessD] Bug Report LOL. There is no resolving this bug. Access just shuts down. Step through the code and hit one specific line it just closes. Not exactly something I can fix. John W. Colby www.ColbyConsulting.com Contribute your unused CPU cycles to a good cause: http://folding.stanford.edu/ -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Dan Waters Sent: Sunday, August 14, 2005 8:44 PM To: 'Access Developers discussion and problem solving' Subject: RE: [AccessD] Bug Report Well - MS is really loosening up! They won't charge you if it really does turn out to be a bug. I had to solve my bug myself for them to not charge me! Best of Luck! Dan Waters -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of John W. Colby Sent: Sunday, August 14, 2005 6:41 PM To: 'Access Developers discussion and problem solving' Subject: [AccessD] Bug Report The following is the response I got to my bug report: Hello John, Thank you for contacting Microsoft Online Customer Service. I appreciate the time you have taken to provide us with the feedback. As a Customer Service Representative, I can assist you with the support options available with your Microsoft product. You can report bugs by postal mail to the following address: Attn: Office Development Group Microsoft Corporation One Microsoft Way Redmond, WA 98052 The letter should include a complete description of the bug including the actions, software, and hardware associated with the bug and whether or not it is consistently reproducible. You may also contact Microsoft Customer Service and speak with a support professional about the issue and have a support case created. This method will require you to utilize the standard options of support that are available for your copy of Microsoft product initially. Once the support professional is able to determine that the problem is a bug with the software, they will not decrement the incident from warranty support or account or issue a refund of any credit card charges if applicable. You may contact Microsoft Developer Support Team at (800) 936-5800. They are available 24 hours a day. They will be able to assist you. John, I hope your issue gets resolved. Thank you for using Microsoft products and services. Benoy Microsoft Online Customer Service Representative If you have any feedback about your Online Customer Service experience please E-mail my manager Rahul Rajgopal at managers at microsoft.com John W. Colby www.ColbyConsulting.com Contribute your unused CPU cycles to a good cause: http://folding.stanford.edu/ -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From jwcolby at colbyconsulting.com Mon Aug 15 11:24:36 2005 From: jwcolby at colbyconsulting.com (John W. Colby) Date: Mon, 15 Aug 2005 12:24:36 -0400 Subject: [AccessD] Bug Report In-Reply-To: Message-ID: <001701c5a1b5$d3cf7c30$6c7aa8c0@ColbyM6805> OTOH, how much would it cost to buy 10 licenses to Windows XP Pro, OfficeXP Pro, and SQL Server with 10 CALs? I think that paying 300 / year is waaaaaaay cheaper than paying all of those licenses, even if you have to subscribe for many years. If you use any of the other programs in the Action pack, the balance tips even further towards the Action Pack side. I have 6 machines in my Home Office, all of which have Windows XP Pro. All have OfficeXP Pro installed, although only 3 really need it. Three have SQL Server installed although only one really needs it. My dev work could use the free version. Anyway, it made sense for me. John W. Colby www.ColbyConsulting.com Contribute your unused CPU cycles to a good cause: http://folding.stanford.edu/ -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Charlotte Foust Sent: Monday, August 15, 2005 11:27 AM To: Access Developers discussion and problem solving Subject: RE: [AccessD] Bug Report Read the EULA, Rocky. If you DON'T subscribe, then you agree to remove all the software from your machine. That's the reason I don't use the action pack. Charlotte Foust -----Original Message----- From: Rocky Smolin - Beach Access Software [mailto:bchacc at san.rr.com] Sent: Sunday, August 14, 2005 11:22 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Bug Report I subscribed to the Action Pack as well this year. Is there any advantage to subscribing every year? Rocky ----- Original Message ----- From: "John W. Colby" To: "'Access Developers discussion and problem solving'" Sent: Sunday, August 14, 2005 5:03 PM Subject: RE: [AccessD] Bug Report > Because I am an action pack subscriber, and because the problem occurs > under OfficeXp and Windows XP received from them in the Action Pack, I > have 2 > available support incidents free of charge, which I am using the first of > for this bug report. We shall see if I get it back. > > John W. Colby > www.ColbyConsulting.com > > Contribute your unused CPU cycles to a good cause: > http://folding.stanford.edu/ > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of John W. > Colby > Sent: Sunday, August 14, 2005 7:53 PM > To: 'Access Developers discussion and problem solving' > Subject: RE: [AccessD] Bug Report > > > LOL. All you have to do is pay them money to tell them about their > bugs > and > you too can be on a first name basis. > > John W. Colby > www.ColbyConsulting.com > > Contribute your unused CPU cycles to a good cause: > http://folding.stanford.edu/ > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Rocky > Smolin - Beach Access Software > Sent: Sunday, August 14, 2005 7:51 PM > To: Access Developers discussion and problem solving > Subject: Re: [AccessD] Bug Report > > > You're on a first name basis with Benoy? Not many of us have that > kind of clout. > > Rocky > > ----- Original Message ----- > From: "John W. Colby" > To: "'Access Developers discussion and problem solving'" > > Sent: Sunday, August 14, 2005 4:41 PM > Subject: [AccessD] Bug Report > > >> The following is the response I got to my bug report: >> >> Hello John, >> >> Thank you for contacting Microsoft Online Customer Service. >> >> I appreciate the time you have taken to provide us with the feedback. >> As a Customer Service Representative, I can assist you with the >> support options available with your Microsoft product. You can report >> bugs by postal mail to the following address: >> >> Attn: Office Development Group >> Microsoft Corporation >> One Microsoft Way >> Redmond, WA 98052 >> >> The letter should include a complete description of the bug including >> the actions, software, and hardware associated with the bug and >> whether or not it is consistently reproducible. >> >> You may also contact Microsoft Customer Service and speak with a >> support professional about the issue and have a support case created. >> This method will require you to utilize the standard options of >> support that are available for your copy of Microsoft product >> initially. Once the support professional is able to determine that >> the problem is a bug with the software, they will not decrement the >> incident from warranty support or account or issue a refund of any >> credit card charges if applicable. >> >> You may contact Microsoft Developer Support Team at (800) 936-5800. >> They are available 24 hours a day. They will be able to assist you. >> >> John, I hope your issue gets resolved. >> >> Thank you for using Microsoft products and services. >> >> Benoy >> Microsoft Online Customer Service Representative >> >> If you have any feedback about your Online Customer Service >> experience please E-mail my manager Rahul Rajgopal at >> managers at microsoft.com >> >> >> >> John W. Colby >> www.ColbyConsulting.com >> >> Contribute your unused CPU cycles to a good cause: >> http://folding.stanford.edu/ >> >> >> -- >> AccessD mailing list >> AccessD at databaseadvisors.com >> http://databaseadvisors.com/mailman/listinfo/accessd >> Website: http://www.databaseadvisors.com >> > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > > > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > > > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From jwcolby at colbyconsulting.com Mon Aug 15 11:29:26 2005 From: jwcolby at colbyconsulting.com (John W. Colby) Date: Mon, 15 Aug 2005 12:29:26 -0400 Subject: [AccessD] Bug Report In-Reply-To: <03d101c5a1af$22966ec0$6501a8c0@HAL9004> Message-ID: <001801c5a1b6$80e3a6d0$6c7aa8c0@ColbyM6805> Rocky, This is indeed fascinating. I am at a loss on this one. I am no lightweight at this stuff and I just can't figure it out. I know that the Windows98 users do not have the problem, the Win2K users do see it but rarely, the WinXP users see it occasionally, and apparently more often with SP3. So is it an Access bug or a Windows bug? In this specific case (the only place I am seeing it), it is in the OnOpen of this one specific form. The form is a bound form, VERY complex, with probably 50-100 controls. 18 tabs using JIT subforms to only load the subforms if the tabs are clicked. The form has a clsForm that ties the form into my framework. That class passes a pointer to the form into the class and the class then iterates the form for every control, loading a withevents class for each control found. I have however commented out that specific class such that the framework is not triggered for the form and the problem still exists. In addition to that class, I also have 9 other classes loading, mostly classes that are passed in controls and enforce rules regarding sets of controls. I have not yet dimmed out those classes to see if the issue goes away. And yes, it also occurs on my laptop where the FE/BE are both on the same machine. HOWEVER, the BE (and FE for that matter) resides on a mapped (mounted) drive. On my laptop I use an encryption program to set up a big file which is "turned into a drive". IOW, this file is mounted as a drive by a driver. The driver asks for a password before mounting the "drive". I do this so that I can carry sensitive customer data on my machine without exposing the data if the laptop is lost or stolen. Furthermore I can just backup the source file that is a drive, to backup the entire development drive. These drives are mounted as drive K, M and X. Does that count as a network drive? The driver performs the mounting at specific drive letters. Anyway, it is not AFAIK going out over the network, so I do not think it is a NIC problem. This is NOT going to be easy for them to troubleshoot. The BE is now approaching 400 mbytes and contains sensitive personal and medical data on tens of thousands of people. I am guessing that if they are going to do it at all they will have to remote in to my laptop at my office and work on it remotely. It should be interesting to see what happens. Just in... I got this email this morning: CASE_ID_NUM: SRZ050815000001 MESSAGE: ********************** The message for you follows ************************ Hi John, Thank you for using Microsoft Online Assisted Support. In order to route your case to a Support Professional we will need to re-entitle your case. The product ID that you supplied indicates that your software came part of an Open License Agreement. This is a special license agreement tha t your company purchased so they could obtain many copies of the software at a significant cost savings. This allows your company to save money by purchasing the software in volume. However, the software does not come with any free technical support. If you would like to have a support profession al troubleshoot your issue, we must process a retail PID for Office (w/Access), an access ID identifying a pre-paid support account, or a credit card charge ($99 over the web, $245 over the phone). IOW, the action pack does not get free support incidents. Sigh. John W. Colby www.ColbyConsulting.com Contribute your unused CPU cycles to a good cause: http://folding.stanford.edu/ -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Rocky Smolin - Beach Access Software Sent: Monday, August 15, 2005 11:37 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Bug Report Interesting. What's your speculation on where it's happening? In the interpretation of your classes? They obviously have no clue and cannot track it down without getting your app and running it themselves. At first it behaves like a bad NIC - I've had apps go south with corruptions and shutdowns and traced it to a cheap NIC on the network - but you're running this standalone, yes? Rocky From cyx5 at cdc.gov Mon Aug 15 11:30:06 2005 From: cyx5 at cdc.gov (Nicholson, Karen) Date: Mon, 15 Aug 2005 12:30:06 -0400 Subject: [AccessD] Access Bugs Message-ID: Here is a good one. I have Access 2003 with an SQL 2000 backend. Many of my subforms are based on queries. The data was not updating the correct record. After going nuts for a few weeks. I find it is a bug. nice. http://support.microsoft.com/kb/903074/en-us?spid=2509 From cfoust at infostatsystems.com Mon Aug 15 11:33:53 2005 From: cfoust at infostatsystems.com (Charlotte Foust) Date: Mon, 15 Aug 2005 09:33:53 -0700 Subject: [AccessD] Bug Report Message-ID: It definitely makes sense for you, as it does for our office. It just doesn't make sense for me personally, even though I'm a Microsoft Partner too. I can't use all those apps, will never load them and can't be bothered to keep them straight from the full licenses I hold. Charlotte Foust -----Original Message----- From: John W. Colby [mailto:jwcolby at colbyconsulting.com] Sent: Monday, August 15, 2005 9:25 AM To: 'Access Developers discussion and problem solving' Subject: RE: [AccessD] Bug Report OTOH, how much would it cost to buy 10 licenses to Windows XP Pro, OfficeXP Pro, and SQL Server with 10 CALs? I think that paying 300 / year is waaaaaaay cheaper than paying all of those licenses, even if you have to subscribe for many years. If you use any of the other programs in the Action pack, the balance tips even further towards the Action Pack side. I have 6 machines in my Home Office, all of which have Windows XP Pro. All have OfficeXP Pro installed, although only 3 really need it. Three have SQL Server installed although only one really needs it. My dev work could use the free version. Anyway, it made sense for me. John W. Colby www.ColbyConsulting.com Contribute your unused CPU cycles to a good cause: http://folding.stanford.edu/ -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Charlotte Foust Sent: Monday, August 15, 2005 11:27 AM To: Access Developers discussion and problem solving Subject: RE: [AccessD] Bug Report Read the EULA, Rocky. If you DON'T subscribe, then you agree to remove all the software from your machine. That's the reason I don't use the action pack. Charlotte Foust -----Original Message----- From: Rocky Smolin - Beach Access Software [mailto:bchacc at san.rr.com] Sent: Sunday, August 14, 2005 11:22 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Bug Report I subscribed to the Action Pack as well this year. Is there any advantage to subscribing every year? Rocky ----- Original Message ----- From: "John W. Colby" To: "'Access Developers discussion and problem solving'" Sent: Sunday, August 14, 2005 5:03 PM Subject: RE: [AccessD] Bug Report > Because I am an action pack subscriber, and because the problem occurs > under OfficeXp and Windows XP received from them in the Action Pack, I > have 2 > available support incidents free of charge, which I am using the first of > for this bug report. We shall see if I get it back. > > John W. Colby > www.ColbyConsulting.com > > Contribute your unused CPU cycles to a good cause: > http://folding.stanford.edu/ > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of John W. > Colby > Sent: Sunday, August 14, 2005 7:53 PM > To: 'Access Developers discussion and problem solving' > Subject: RE: [AccessD] Bug Report > > > LOL. All you have to do is pay them money to tell them about their > bugs and > you too can be on a first name basis. > > John W. Colby > www.ColbyConsulting.com > > Contribute your unused CPU cycles to a good cause: > http://folding.stanford.edu/ > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Rocky > Smolin - Beach Access Software > Sent: Sunday, August 14, 2005 7:51 PM > To: Access Developers discussion and problem solving > Subject: Re: [AccessD] Bug Report > > > You're on a first name basis with Benoy? Not many of us have that > kind of clout. > > Rocky > > ----- Original Message ----- > From: "John W. Colby" > To: "'Access Developers discussion and problem solving'" > > Sent: Sunday, August 14, 2005 4:41 PM > Subject: [AccessD] Bug Report > > >> The following is the response I got to my bug report: >> >> Hello John, >> >> Thank you for contacting Microsoft Online Customer Service. >> >> I appreciate the time you have taken to provide us with the feedback. >> As a Customer Service Representative, I can assist you with the >> support options available with your Microsoft product. You can report >> bugs by postal mail to the following address: >> >> Attn: Office Development Group >> Microsoft Corporation >> One Microsoft Way >> Redmond, WA 98052 >> >> The letter should include a complete description of the bug including >> the actions, software, and hardware associated with the bug and >> whether or not it is consistently reproducible. >> >> You may also contact Microsoft Customer Service and speak with a >> support professional about the issue and have a support case created. >> This method will require you to utilize the standard options of >> support that are available for your copy of Microsoft product >> initially. Once the support professional is able to determine that >> the problem is a bug with the software, they will not decrement the >> incident from warranty support or account or issue a refund of any >> credit card charges if applicable. >> >> You may contact Microsoft Developer Support Team at (800) 936-5800. >> They are available 24 hours a day. They will be able to assist you. >> >> John, I hope your issue gets resolved. >> >> Thank you for using Microsoft products and services. >> >> Benoy >> Microsoft Online Customer Service Representative >> >> If you have any feedback about your Online Customer Service >> experience please E-mail my manager Rahul Rajgopal at >> managers at microsoft.com >> >> >> >> John W. Colby >> www.ColbyConsulting.com >> >> Contribute your unused CPU cycles to a good cause: >> http://folding.stanford.edu/ >> >> >> -- >> AccessD mailing list >> AccessD at databaseadvisors.com >> http://databaseadvisors.com/mailman/listinfo/accessd >> Website: http://www.databaseadvisors.com >> > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > > > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > > > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd 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 Aug 15 11:41:15 2005 From: cfoust at infostatsystems.com (Charlotte Foust) Date: Mon, 15 Aug 2005 09:41:15 -0700 Subject: [AccessD] ActionPack Tech Support Message-ID: John, I believe we've used their free tech support, but perhaps it is associated with the kind of partner you are rather than the action pack itself. I wasn't the one doing the calling, so I can't say for sure. Charlotte Foust -----Original Message----- From: John W. Colby [mailto:jwcolby at colbyconsulting.com] Sent: Monday, August 15, 2005 9:29 AM To: 'Access Developers discussion and problem solving' Subject: RE: [AccessD] Bug Report Rocky, This is indeed fascinating. I am at a loss on this one. I am no lightweight at this stuff and I just can't figure it out. I know that the Windows98 users do not have the problem, the Win2K users do see it but rarely, the WinXP users see it occasionally, and apparently more often with SP3. So is it an Access bug or a Windows bug? In this specific case (the only place I am seeing it), it is in the OnOpen of this one specific form. The form is a bound form, VERY complex, with probably 50-100 controls. 18 tabs using JIT subforms to only load the subforms if the tabs are clicked. The form has a clsForm that ties the form into my framework. That class passes a pointer to the form into the class and the class then iterates the form for every control, loading a withevents class for each control found. I have however commented out that specific class such that the framework is not triggered for the form and the problem still exists. In addition to that class, I also have 9 other classes loading, mostly classes that are passed in controls and enforce rules regarding sets of controls. I have not yet dimmed out those classes to see if the issue goes away. And yes, it also occurs on my laptop where the FE/BE are both on the same machine. HOWEVER, the BE (and FE for that matter) resides on a mapped (mounted) drive. On my laptop I use an encryption program to set up a big file which is "turned into a drive". IOW, this file is mounted as a drive by a driver. The driver asks for a password before mounting the "drive". I do this so that I can carry sensitive customer data on my machine without exposing the data if the laptop is lost or stolen. Furthermore I can just backup the source file that is a drive, to backup the entire development drive. These drives are mounted as drive K, M and X. Does that count as a network drive? The driver performs the mounting at specific drive letters. Anyway, it is not AFAIK going out over the network, so I do not think it is a NIC problem. This is NOT going to be easy for them to troubleshoot. The BE is now approaching 400 mbytes and contains sensitive personal and medical data on tens of thousands of people. I am guessing that if they are going to do it at all they will have to remote in to my laptop at my office and work on it remotely. It should be interesting to see what happens. Just in... I got this email this morning: CASE_ID_NUM: SRZ050815000001 MESSAGE: ********************** The message for you follows ************************ Hi John, Thank you for using Microsoft Online Assisted Support. In order to route your case to a Support Professional we will need to re-entitle your case. The product ID that you supplied indicates that your software came part of an Open License Agreement. This is a special license agreement tha t your company purchased so they could obtain many copies of the software at a significant cost savings. This allows your company to save money by purchasing the software in volume. However, the software does not come with any free technical support. If you would like to have a support profession al troubleshoot your issue, we must process a retail PID for Office (w/Access), an access ID identifying a pre-paid support account, or a credit card charge ($99 over the web, $245 over the phone). IOW, the action pack does not get free support incidents. Sigh. John W. Colby www.ColbyConsulting.com Contribute your unused CPU cycles to a good cause: http://folding.stanford.edu/ -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Rocky Smolin - Beach Access Software Sent: Monday, August 15, 2005 11:37 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Bug Report Interesting. What's your speculation on where it's happening? In the interpretation of your classes? They obviously have no clue and cannot track it down without getting your app and running it themselves. At first it behaves like a bad NIC - I've had apps go south with corruptions and shutdowns and traced it to a cheap NIC on the network - but you're running this standalone, yes? Rocky -- 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 Aug 15 11:41:58 2005 From: Erwin.Craps at ithelps.be (Erwin Craps - IT Helps) Date: Mon, 15 Aug 2005 18:41:58 +0200 Subject: [AccessD] Access Bugs Message-ID: <46B976F2B698FF46A4FE7636509B22DF1B5DDB@stekelbes.ithelps.local> So if I understand correctly, all of your data is a mess right now??? Men can become woman and a 16 year old kid can become 86 thanks to this bug. Should somebody shoot someone for this??? How can one trust an application if the wrong record is updated? Erwin -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Nicholson, Karen Sent: Monday, August 15, 2005 6:30 PM To: Access Developers discussion and problem solving Subject: [AccessD] Access Bugs Here is a good one. I have Access 2003 with an SQL 2000 backend. Many of my subforms are based on queries. The data was not updating the correct record. After going nuts for a few weeks. I find it is a bug. nice. http://support.microsoft.com/kb/903074/en-us?spid=2509 -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From cfoust at infostatsystems.com Mon Aug 15 11:52:30 2005 From: cfoust at infostatsystems.com (Charlotte Foust) Date: Mon, 15 Aug 2005 09:52:30 -0700 Subject: [AccessD] Access Bugs Message-ID: That's not a bug, it's a FEATURE! Didn't you read the press release on the new virtual reality capabilities of 2003?? Charlotte Foust -----Original Message----- From: Erwin Craps - IT Helps [mailto:Erwin.Craps at ithelps.be] Sent: Monday, August 15, 2005 9:42 AM To: Access Developers discussion and problem solving Subject: RE: [AccessD] Access Bugs So if I understand correctly, all of your data is a mess right now??? Men can become woman and a 16 year old kid can become 86 thanks to this bug. Should somebody shoot someone for this??? How can one trust an application if the wrong record is updated? Erwin -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Nicholson, Karen Sent: Monday, August 15, 2005 6:30 PM To: Access Developers discussion and problem solving Subject: [AccessD] Access Bugs Here is a good one. I have Access 2003 with an SQL 2000 backend. Many of my subforms are based on queries. The data was not updating the correct record. After going nuts for a few weeks. I find it is a bug. nice. http://support.microsoft.com/kb/903074/en-us?spid=2509 From ssharkins at bellsouth.net Mon Aug 15 12:05:49 2005 From: ssharkins at bellsouth.net (Susan Harkins) Date: Mon, 15 Aug 2005 13:05:49 -0400 Subject: [AccessD] Registry Keys Message-ID: <20050815170548.MMD3503.ibm70aec.bellsouth.net@SUSANONE> Someone asked last week if there was a utility to find all registry entries for a particular piece of software. I didn't think so, but asked Mike G -- figured if there was one, he'd know about it -- anyway, the following was his suggestion: RegMon (http://www.sysinternals.com/Utilities/Regmon.html) It finds which registry entries a particular piece of software actually uses when it runs. Hope that's helpful. Susan H. From cyx5 at cdc.gov Mon Aug 15 12:16:47 2005 From: cyx5 at cdc.gov (Nicholson, Karen) Date: Mon, 15 Aug 2005 13:16:47 -0400 Subject: [AccessD] Access Bugs Message-ID: My data is not a mess that I know of. We just turned our first user into straight Access 2003. She is a new employee so has not had much time to hit our critical data. I found four bad records that she affected. Then I shut her off and backed her down to Access 2002. I was developing at home in 2003 and couldn't figure out why the records looked wierd. I was using my own new tables. I was just lucky that they didn't roll this whole place out at once or my data would have been trashed. -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Charlotte Foust Sent: Monday, August 15, 2005 12:53 PM To: Access Developers discussion and problem solving Subject: RE: [AccessD] Access Bugs That's not a bug, it's a FEATURE! Didn't you read the press release on the new virtual reality capabilities of 2003?? Charlotte Foust -----Original Message----- From: Erwin Craps - IT Helps [mailto:Erwin.Craps at ithelps.be] Sent: Monday, August 15, 2005 9:42 AM To: Access Developers discussion and problem solving Subject: RE: [AccessD] Access Bugs So if I understand correctly, all of your data is a mess right now??? Men can become woman and a 16 year old kid can become 86 thanks to this bug. Should somebody shoot someone for this??? How can one trust an application if the wrong record is updated? Erwin -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Nicholson, Karen Sent: Monday, August 15, 2005 6:30 PM To: Access Developers discussion and problem solving Subject: [AccessD] Access Bugs Here is a good one. I have Access 2003 with an SQL 2000 backend. Many of my subforms are based on queries. The data was not updating the correct record. After going nuts for a few weeks. I find it is a bug. nice. http://support.microsoft.com/kb/903074/en-us?spid=2509 -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From Gustav at cactus.dk Mon Aug 15 12:17:49 2005 From: Gustav at cactus.dk (Gustav Brock) Date: Mon, 15 Aug 2005 19:17:49 +0200 Subject: [AccessD] Bug Report Message-ID: Hi John Some things for you to try: 1. Remove any line containing Debug.Print from the code of the OnOpen event. This one once consistently crashed an Access XP app for me. 2. Remove any graphics from the form. I've seen this crash an A97 app. Just by moving the object (I don't recall if it was a Line or a bitmap) cured the problem. 3. Read out the form using SaveAsText: Call SaveAsText(acForm, "tfrmClaim", "c:\tfrmClaim.txt") Study the text. Clean possible printer information. Or rearrange some objects (the file contains a checksum but it appears to not be checked when loading). Remove the form from the database, decompile it, compress. Read back the form using LoadFromText: Call LoadFromText(acForm, "tfrmClaim", "c:\tfrmClaim.txt") compile and compress. Further, but this is a long shot, you may try to replace the standard printer with an old trusted "clean" driver like "HP LaserJet II", and/or to reduce the colour setting of Windows to 256 colours. /gustav >>> jwcolby at colbyconsulting.com 08/15 4:56 pm >>> I did not post the bug description, however here is what I sent MS: Dear Sirs, I am a professional developer using Microsoft Access. I have a specific Access front end that has a particular (pretty complex) form - tfrmClaim - that when opened sometimes causes Access to close, no warning. A little background: The issue happens both at my client's office and on my development machine which is a laptop with all the pieces right on the machine. The application is a FE/BE split system, with an MDA holding an application framework (written by me). The application uses classes and Withevents (a LOT). My client uses Office 2K. They have about 40-50 workstations running a pretty good mix of Windows 98, Windows 2K and Windows XP. AFAICT the issue does not occur on Win98 but does occur on Win2K and WinXP. The system is a call center for the disability insurance industry. They search for a claimant, and when found open a very complex form that displays all aspects of the claim. This claim form has about 10 tabs, some of which are hidden. The tabs load subforms when clicked on etc to reduce loading time. All of that information is just background for you to understand the situation. The issue is that the OnOpen event occasionally causes the entire database to shut down, no warning, no page fault screen nothing. Just gone. I have been able to insert debug statements and find where the shutdown occurs. It occurs in the same location every time that the shutdown occurs, at least until you "do something" (developer code wise). Unfortunately because it does not happen every time, it is not possible to step through the code and watch it close, but it is possible to nail it down to a specific line of code whenever it does shutdown. In attempting to troubleshoot this issue, I have done all of the typical decompile / compact / repair, open a new database and import all the objects, etc. One day I spent hours working on it, and watched the shutdown "move" through the OnOpen event until I finally "pushed it out the end sub" and it started closing back in the form that opens this complex form (the search result form) - when control returned to that sub. I thought I had it nailed at that point but no, awhile later it was back to shutting down in the OnCurrent of the tfrmClaim. My client thinks it has something to do with XPSP3, although it does occur (much less frequently) on other Oses. It was happening a LOT on the XP SP3 machines, they backed out the SP3 and the occurrence dropped radically - from every 30 minutes to once a day or so. My dev machine (laptop) BTW is XP SP3 and it happens a lot. I have not attempted to back out the SP3 and don't really want to do so. Also, I have OfficeXP on my dev machine and the bug also occurs under OfficeXP as well. The problem will occur on the first search, or the 3rd search or the 10th search, but rarely less often than every 10 searches - at least on my dev machine. It does not appear to be data dependent, i.e. I see no pattern as to which record(s) triggers the shutdown. BTW, I have "commented out" my application framework such that most of the functionality of the MDA is not being run - just trying to narrow down the issue. There are about a dozen classes that load in OnOpen of the form, classes that use WithEvents to handle groups of controls and cause specific interactions to occur. I have not yet commented all of them out, although if I did there would be no code left to run. ;-) John W. Colby www.ColbyConsulting.com From jwcolby at colbyconsulting.com Mon Aug 15 12:30:57 2005 From: jwcolby at colbyconsulting.com (John W. Colby) Date: Mon, 15 Aug 2005 13:30:57 -0400 Subject: [AccessD] Bug Report In-Reply-To: Message-ID: <001c01c5a1bf$1c14ae30$6c7aa8c0@ColbyM6805> > Call SaveAsText(acForm, "tfrmClaim", "c:\tfrmClaim.txt") That was cool. The text file is 390 kbytes so it seems unliekly I can "scan it closely" And unfortunately, remember I said I had "pushed it out of the OnOpen" - the close is now back in the calling function that opens the form. The truly strange part is that there is no code left in that function, i.e. it just exits the sub. Sigh. I was going to try retyping in the offending line of code to see if I could clean the source stream. John W. Colby www.ColbyConsulting.com Contribute your unused CPU cycles to a good cause: http://folding.stanford.edu/ -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Gustav Brock Sent: Monday, August 15, 2005 1:18 PM To: accessd at databaseadvisors.com Subject: RE: [AccessD] Bug Report Hi John Some things for you to try: 1. Remove any line containing Debug.Print from the code of the OnOpen event. This one once consistently crashed an Access XP app for me. 2. Remove any graphics from the form. I've seen this crash an A97 app. Just by moving the object (I don't recall if it was a Line or a bitmap) cured the problem. 3. Read out the form using SaveAsText: Call SaveAsText(acForm, "tfrmClaim", "c:\tfrmClaim.txt") Study the text. Clean possible printer information. Or rearrange some objects (the file contains a checksum but it appears to not be checked when loading). Remove the form from the database, decompile it, compress. Read back the form using LoadFromText: Call LoadFromText(acForm, "tfrmClaim", "c:\tfrmClaim.txt") compile and compress. Further, but this is a long shot, you may try to replace the standard printer with an old trusted "clean" driver like "HP LaserJet II", and/or to reduce the colour setting of Windows to 256 colours. /gustav >>> jwcolby at colbyconsulting.com 08/15 4:56 pm >>> I did not post the bug description, however here is what I sent MS: Dear Sirs, I am a professional developer using Microsoft Access. I have a specific Access front end that has a particular (pretty complex) form - tfrmClaim - that when opened sometimes causes Access to close, no warning. A little background: The issue happens both at my client's office and on my development machine which is a laptop with all the pieces right on the machine. The application is a FE/BE split system, with an MDA holding an application framework (written by me). The application uses classes and Withevents (a LOT). My client uses Office 2K. They have about 40-50 workstations running a pretty good mix of Windows 98, Windows 2K and Windows XP. AFAICT the issue does not occur on Win98 but does occur on Win2K and WinXP. The system is a call center for the disability insurance industry. They search for a claimant, and when found open a very complex form that displays all aspects of the claim. This claim form has about 10 tabs, some of which are hidden. The tabs load subforms when clicked on etc to reduce loading time. All of that information is just background for you to understand the situation. The issue is that the OnOpen event occasionally causes the entire database to shut down, no warning, no page fault screen nothing. Just gone. I have been able to insert debug statements and find where the shutdown occurs. It occurs in the same location every time that the shutdown occurs, at least until you "do something" (developer code wise). Unfortunately because it does not happen every time, it is not possible to step through the code and watch it close, but it is possible to nail it down to a specific line of code whenever it does shutdown. In attempting to troubleshoot this issue, I have done all of the typical decompile / compact / repair, open a new database and import all the objects, etc. One day I spent hours working on it, and watched the shutdown "move" through the OnOpen event until I finally "pushed it out the end sub" and it started closing back in the form that opens this complex form (the search result form) - when control returned to that sub. I thought I had it nailed at that point but no, awhile later it was back to shutting down in the OnCurrent of the tfrmClaim. My client thinks it has something to do with XPSP3, although it does occur (much less frequently) on other Oses. It was happening a LOT on the XP SP3 machines, they backed out the SP3 and the occurrence dropped radically - from every 30 minutes to once a day or so. My dev machine (laptop) BTW is XP SP3 and it happens a lot. I have not attempted to back out the SP3 and don't really want to do so. Also, I have OfficeXP on my dev machine and the bug also occurs under OfficeXP as well. The problem will occur on the first search, or the 3rd search or the 10th search, but rarely less often than every 10 searches - at least on my dev machine. It does not appear to be data dependent, i.e. I see no pattern as to which record(s) triggers the shutdown. BTW, I have "commented out" my application framework such that most of the functionality of the MDA is not being run - just trying to narrow down the issue. There are about a dozen classes that load in OnOpen of the form, classes that use WithEvents to handle groups of controls and cause specific interactions to occur. I have not yet commented all of them out, although if I did there would be no code left to run. ;-) 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 jmhecht at earthlink.net Mon Aug 15 12:51:57 2005 From: jmhecht at earthlink.net (Joe Hecht) Date: Mon, 15 Aug 2005 10:51:57 -0700 Subject: [AccessD] Access and XP MEDIA or Tablet Message-ID: <000d01c5a1c2$08e0e150$6401a8c0@laptop1> Has anyone seen any gotchas when running an Access App developed on XP home or PRO if it is run on XP Media or Tablet OS? Joe Hecht Los Angeles CA From Gustav at cactus.dk Mon Aug 15 13:08:24 2005 From: Gustav at cactus.dk (Gustav Brock) Date: Mon, 15 Aug 2005 20:08:24 +0200 Subject: [AccessD] Bug Report Message-ID: Hi John But at 390K I guess your form contains some graphics - can't you skip that part? Also, if no code is run and the app still crashes, it looks like just the loading of the form causes the crash. The reason could be loading of graphics. Not likely, I know, but quick and easy to test. /gustav >>> jwcolby at colbyconsulting.com 08/15 7:30 pm >>> > Call SaveAsText(acForm, "tfrmClaim", "c:\tfrmClaim.txt") That was cool. The text file is 390 kbytes so it seems unliekly I can "scan it closely" And unfortunately, remember I said I had "pushed it out of the OnOpen" - the close is now back in the calling function that opens the form. The truly strange part is that there is no code left in that function, i.e. it just exits the sub. Sigh. I was going to try retyping in the offending line of code to see if I could clean the source stream. From jwcolby at colbyconsulting.com Mon Aug 15 13:18:53 2005 From: jwcolby at colbyconsulting.com (John W. Colby) Date: Mon, 15 Aug 2005 14:18:53 -0400 Subject: [AccessD] Bug Report In-Reply-To: Message-ID: <002201c5a1c5$ce682c50$6c7aa8c0@ColbyM6805> The size of the file is caused by the VB for all the controls. No, no graphics at all AFAIK. MAYBE a button... Hmmm I just looked at it and yea, I have graphics in the tabs - little pictures like can be found in buttons generated by the wizards. No pictures other than those. I will certainly take those out to see what happens. BTW, I went in and commented out all of the classes loaded by the form and the crashing has stopped. At least it looks like it. That is one of the problems, you can open the form 19 times and the 20th it will close the database. So every time you make a change you have to do a TON of searches (opening the form) before you are almost sure that you have managed to change the symptoms. John W. Colby www.ColbyConsulting.com Contribute your unused CPU cycles to a good cause: http://folding.stanford.edu/ -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Gustav Brock Sent: Monday, August 15, 2005 2:08 PM To: accessd at databaseadvisors.com Subject: RE: [AccessD] Bug Report Hi John But at 390K I guess your form contains some graphics - can't you skip that part? Also, if no code is run and the app still crashes, it looks like just the loading of the form causes the crash. The reason could be loading of graphics. Not likely, I know, but quick and easy to test. /gustav >>> jwcolby at colbyconsulting.com 08/15 7:30 pm >>> > Call SaveAsText(acForm, "tfrmClaim", "c:\tfrmClaim.txt") That was cool. The text file is 390 kbytes so it seems unliekly I can "scan it closely" And unfortunately, remember I said I had "pushed it out of the OnOpen" - the close is now back in the calling function that opens the form. The truly strange part is that there is no code left in that function, i.e. it just exits the sub. Sigh. I was going to try retyping in the offending line of code to see if I could clean the source stream. -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From Gustav at cactus.dk Mon Aug 15 13:56:15 2005 From: Gustav at cactus.dk (Gustav Brock) Date: Mon, 15 Aug 2005 20:56:15 +0200 Subject: [AccessD] Bug Report Message-ID: Hi John OK. I can count to "a dozen classes" times 20 and all the combinations of these 20 ... How about creating a macro to load the form 25 times and beep when unloading the form?? /gustav >>> jwcolby at colbyconsulting.com 08/15 8:18 pm >>> The size of the file is caused by the VB for all the controls. No, no graphics at all AFAIK. MAYBE a button... Hmmm I just looked at it and yea, I have graphics in the tabs - little pictures like can be found in buttons generated by the wizards. No pictures other than those. I will certainly take those out to see what happens. BTW, I went in and commented out all of the classes loaded by the form and the crashing has stopped. At least it looks like it. That is one of the problems, you can open the form 19 times and the 20th it will close the database. So every time you make a change you have to do a TON of searches (opening the form) before you are almost sure that you have managed to change the symptoms. John W. Colby www.ColbyConsulting.com Contribute your unused CPU cycles to a good cause: http://folding.stanford.edu/ -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Gustav Brock Sent: Monday, August 15, 2005 2:08 PM To: accessd at databaseadvisors.com Subject: RE: [AccessD] Bug Report Hi John But at 390K I guess your form contains some graphics - can't you skip that part? Also, if no code is run and the app still crashes, it looks like just the loading of the form causes the crash. The reason could be loading of graphics. Not likely, I know, but quick and easy to test. /gustav >>> jwcolby at colbyconsulting.com 08/15 7:30 pm >>> > Call SaveAsText(acForm, "tfrmClaim", "c:\tfrmClaim.txt") That was cool. The text file is 390 kbytes so it seems unliekly I can "scan it closely" And unfortunately, remember I said I had "pushed it out of the OnOpen" - the close is now back in the calling function that opens the form. The truly strange part is that there is no code left in that function, i.e. it just exits the sub. Sigh. I was going to try retyping in the offending line of code to see if I could clean the source stream. From jwcolby at colbyconsulting.com Mon Aug 15 14:21:57 2005 From: jwcolby at colbyconsulting.com (John W. Colby) Date: Mon, 15 Aug 2005 15:21:57 -0400 Subject: [AccessD] Bug Report In-Reply-To: Message-ID: <002301c5a1ce$9a743890$6c7aa8c0@ColbyM6805> Well... In fact I may have found the culprit. I commented out all of the classes, including my framework form class and the crashing stopped. Slowly and painfully started uncommenting them one by one, testing each one about 25 times and found one class that seems to cause the crashing. I am continuing past that point, uncommenting all the rest one by one to see if I can get them all (except that one) back in without bringing the crash back. It's just painful, slow, piece by piece work. In the end Access shouldn't just close like it does, and it would be nice to actually get MS to find and fix the bug behind my bug, but I also have to be realistic... ;-) John W. Colby www.ColbyConsulting.com Contribute your unused CPU cycles to a good cause: http://folding.stanford.edu/ -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Gustav Brock Sent: Monday, August 15, 2005 2:56 PM To: accessd at databaseadvisors.com Subject: RE: [AccessD] Bug Report Hi John OK. I can count to "a dozen classes" times 20 and all the combinations of these 20 ... How about creating a macro to load the form 25 times and beep when unloading the form?? /gustav >>> jwcolby at colbyconsulting.com 08/15 8:18 pm >>> The size of the file is caused by the VB for all the controls. No, no graphics at all AFAIK. MAYBE a button... Hmmm I just looked at it and yea, I have graphics in the tabs - little pictures like can be found in buttons generated by the wizards. No pictures other than those. I will certainly take those out to see what happens. BTW, I went in and commented out all of the classes loaded by the form and the crashing has stopped. At least it looks like it. That is one of the problems, you can open the form 19 times and the 20th it will close the database. So every time you make a change you have to do a TON of searches (opening the form) before you are almost sure that you have managed to change the symptoms. John W. Colby www.ColbyConsulting.com Contribute your unused CPU cycles to a good cause: http://folding.stanford.edu/ -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Gustav Brock Sent: Monday, August 15, 2005 2:08 PM To: accessd at databaseadvisors.com Subject: RE: [AccessD] Bug Report Hi John But at 390K I guess your form contains some graphics - can't you skip that part? Also, if no code is run and the app still crashes, it looks like just the loading of the form causes the crash. The reason could be loading of graphics. Not likely, I know, but quick and easy to test. /gustav >>> jwcolby at colbyconsulting.com 08/15 7:30 pm >>> > Call SaveAsText(acForm, "tfrmClaim", "c:\tfrmClaim.txt") That was cool. The text file is 390 kbytes so it seems unliekly I can "scan it closely" And unfortunately, remember I said I had "pushed it out of the OnOpen" - the close is now back in the calling function that opens the form. The truly strange part is that there is no code left in that function, i.e. it just exits the sub. Sigh. I was going to try retyping in the offending line of code to see if I could clean the source stream. -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From mikedorism at verizon.net Mon Aug 15 14:41:36 2005 From: mikedorism at verizon.net (Mike & Doris Manning) Date: Mon, 15 Aug 2005 15:41:36 -0400 Subject: [AccessD] Bug Report In-Reply-To: <002301c5a1ce$9a743890$6c7aa8c0@ColbyM6805> Message-ID: <000201c5a1d1$5a06a970$2e01a8c0@dorismanning> AMEN to "In the end Access shouldn't just close like it does". This is my biggest pet peeve because the only way around it is to use "On Error" behind every single form and report (whether the object needs a module or not). Doris Manning Database Administrator Hargrove Inc.com mikedorism at verizon.net From Erwin.Craps at ithelps.be Mon Aug 15 15:03:43 2005 From: Erwin.Craps at ithelps.be (Erwin Craps - IT Helps) Date: Mon, 15 Aug 2005 22:03:43 +0200 Subject: [AccessD] Access and XP MEDIA or Tablet Message-ID: <46B976F2B698FF46A4FE7636509B22DF1B5DDC@stekelbes.ithelps.local> I got one... The portrait/landscape mode.... One of the big advantages and often used is working in portrait mode for holding the tablet and beeing simular to a regular paper size. But as a developer you always develop in landscape mode. This can result the user to always have to scroll which is very very anoying when holding your tablet... Erwin. -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Joe Hecht Sent: Monday, August 15, 2005 7:52 PM To: 'Access Developers discussion and problem solving' Subject: [AccessD] Access and XP MEDIA or Tablet Has anyone seen any gotchas when running an Access App developed on XP home or PRO if it is run on XP Media or Tablet OS? Joe Hecht Los Angeles CA -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From max at sherman.org.uk Mon Aug 15 15:06:35 2005 From: max at sherman.org.uk (Max Sherman) Date: Mon, 15 Aug 2005 21:06:35 +0100 Subject: [AccessD] Bug Report In-Reply-To: <001c01c5a1bf$1c14ae30$6c7aa8c0@ColbyM6805> Message-ID: Don't retype it, just cut-n-paste into Notepad. This will drop any non-normal-text characters. Then reverse it back in. HTH Max -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of John W. Colby Sent: 15 August 2005 18:31 To: 'Access Developers discussion and problem solving' Subject: RE: [AccessD] Bug Report > Call SaveAsText(acForm, "tfrmClaim", "c:\tfrmClaim.txt") That was cool. The text file is 390 kbytes so it seems unliekly I can "scan it closely" And unfortunately, remember I said I had "pushed it out of the OnOpen" - the close is now back in the calling function that opens the form. The truly strange part is that there is no code left in that function, i.e. it just exits the sub. Sigh. I was going to try retyping in the offending line of code to see if I could clean the source stream. John W. Colby www.ColbyConsulting.com Contribute your unused CPU cycles to a good cause: http://folding.stanford.edu/ -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Gustav Brock Sent: Monday, August 15, 2005 1:18 PM To: accessd at databaseadvisors.com Subject: RE: [AccessD] Bug Report Hi John Some things for you to try: 1. Remove any line containing Debug.Print from the code of the OnOpen event. This one once consistently crashed an Access XP app for me. 2. Remove any graphics from the form. I've seen this crash an A97 app. Just by moving the object (I don't recall if it was a Line or a bitmap) cured the problem. 3. Read out the form using SaveAsText: Call SaveAsText(acForm, "tfrmClaim", "c:\tfrmClaim.txt") Study the text. Clean possible printer information. Or rearrange some objects (the file contains a checksum but it appears to not be checked when loading). Remove the form from the database, decompile it, compress. Read back the form using LoadFromText: Call LoadFromText(acForm, "tfrmClaim", "c:\tfrmClaim.txt") compile and compress. Further, but this is a long shot, you may try to replace the standard printer with an old trusted "clean" driver like "HP LaserJet II", and/or to reduce the colour setting of Windows to 256 colours. /gustav >>> jwcolby at colbyconsulting.com 08/15 4:56 pm >>> I did not post the bug description, however here is what I sent MS: Dear Sirs, I am a professional developer using Microsoft Access. I have a specific Access front end that has a particular (pretty complex) form - tfrmClaim - that when opened sometimes causes Access to close, no warning. A little background: The issue happens both at my client's office and on my development machine which is a laptop with all the pieces right on the machine. The application is a FE/BE split system, with an MDA holding an application framework (written by me). The application uses classes and Withevents (a LOT). My client uses Office 2K. They have about 40-50 workstations running a pretty good mix of Windows 98, Windows 2K and Windows XP. AFAICT the issue does not occur on Win98 but does occur on Win2K and WinXP. The system is a call center for the disability insurance industry. They search for a claimant, and when found open a very complex form that displays all aspects of the claim. This claim form has about 10 tabs, some of which are hidden. The tabs load subforms when clicked on etc to reduce loading time. All of that information is just background for you to understand the situation. The issue is that the OnOpen event occasionally causes the entire database to shut down, no warning, no page fault screen nothing. Just gone. I have been able to insert debug statements and find where the shutdown occurs. It occurs in the same location every time that the shutdown occurs, at least until you "do something" (developer code wise). Unfortunately because it does not happen every time, it is not possible to step through the code and watch it close, but it is possible to nail it down to a specific line of code whenever it does shutdown. In attempting to troubleshoot this issue, I have done all of the typical decompile / compact / repair, open a new database and import all the objects, etc. One day I spent hours working on it, and watched the shutdown "move" through the OnOpen event until I finally "pushed it out the end sub" and it started closing back in the form that opens this complex form (the search result form) - when control returned to that sub. I thought I had it nailed at that point but no, awhile later it was back to shutting down in the OnCurrent of the tfrmClaim. My client thinks it has something to do with XPSP3, although it does occur (much less frequently) on other Oses. It was happening a LOT on the XP SP3 machines, they backed out the SP3 and the occurrence dropped radically - from every 30 minutes to once a day or so. My dev machine (laptop) BTW is XP SP3 and it happens a lot. I have not attempted to back out the SP3 and don't really want to do so. Also, I have OfficeXP on my dev machine and the bug also occurs under OfficeXP as well. The problem will occur on the first search, or the 3rd search or the 10th search, but rarely less often than every 10 searches - at least on my dev machine. It does not appear to be data dependent, i.e. I see no pattern as to which record(s) triggers the shutdown. BTW, I have "commented out" my application framework such that most of the functionality of the MDA is not being run - just trying to narrow down the issue. There are about a dozen classes that load in OnOpen of the form, classes that use WithEvents to handle groups of controls and cause specific interactions to occur. I have not yet commented all of them out, although if I did there would be no code left to run. ;-) 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 darsant at gmail.com Mon Aug 15 15:11:44 2005 From: darsant at gmail.com (Josh McFarlane) Date: Mon, 15 Aug 2005 15:11:44 -0500 Subject: [AccessD] Bug Report In-Reply-To: <000201c5a1d1$5a06a970$2e01a8c0@dorismanning> References: <002301c5a1ce$9a743890$6c7aa8c0@ColbyM6805> <000201c5a1d1$5a06a970$2e01a8c0@dorismanning> Message-ID: <53c8e05a05081513113a7977fb@mail.gmail.com> On 8/15/05, Mike & Doris Manning wrote: > AMEN to "In the end Access shouldn't just close like it does". This is my > biggest pet peeve because the only way around it is to use "On Error" behind > every single form and report (whether the object needs a module or not). Well, it could be worse. It could be like Visual Studio 2005, and as soon as you attempt to modify any part of the code... BANG, it's gone. No error, nothing running, just wham bam, no more VS. Try to report it and they can't reproduce it, as it's intermittent, but everyone knows it's there! -- Josh McFarlane "Peace cannot be kept by force. It can only be achieved by understanding." -Albert Einstein From darsant at gmail.com Mon Aug 15 15:16:48 2005 From: darsant at gmail.com (Josh McFarlane) Date: Mon, 15 Aug 2005 15:16:48 -0500 Subject: [AccessD] OT: Bug Reporting for SQL Server 2005 / Visual Studio and other Visual Products Message-ID: <53c8e05a05081513166bdf208e@mail.gmail.com> Since we're on the topic of reporting bugs, For those of you using Visual Studio, SQL Server, or any other Visual programming products, you can report your bugs fairly easily without the normal Micro$oft money for bugs program by visiting www.msdn.com/feedback. So far, I've reported roughly 5 bugs on upcoming releases and all were dealt with fairly quickly. Now if they only had something like this for Access... -- Josh McFarlane "Peace cannot be kept by force. It can only be achieved by understanding." -Albert Einstein From bchacc at san.rr.com Mon Aug 15 15:35:44 2005 From: bchacc at san.rr.com (Rocky Smolin - Beach Access Software) Date: Mon, 15 Aug 2005 13:35:44 -0700 Subject: [AccessD] Bug Report References: Message-ID: <056a01c5a1d8$e902cd50$6501a8c0@HAL9004> Jim: "code breaks on a line where a breakpoint was but is no longer" I've had this happen as well, even more embarrassing, at the customer when suddenly they find themselves in the code page with a yellow highlight. Has there been no fix for this from MS? Rocky ----- Original Message ----- From: "Jim Dettman" To: "Access Developers discussion and problem solving" Sent: Monday, August 15, 2005 9:08 AM Subject: RE: [AccessD] Bug Report > John, > > I've seen what your seeing. I've also had cases where code breaks on a > line where a breakpoint was but is no longer after the code has been > changed > (lines inserted or deleted). I've even had it break on *blank* lines in > some cases. I can push the lines around as you say and watch things > change. > > < things in the text stream, things that are not visible to you, the > developer. >> > > Basically it boils down to the fact that the source code is out of synch > with the p-code or as your saying, the p-code is hosed. Since they are > stored separately, it is easy for this to happen. > > Good time to use /decompile. > > Jim. > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of John W. Colby > Sent: Monday, August 15, 2005 11:53 AM > To: 'Access Developers discussion and problem solving' > Subject: RE: [AccessD] Bug Report > > > Was it the actual line that called the other block? This one is just "any > old line of code". It always occurs in the OnOpen of the form, where I am > initializing classes, etc. By setting up debug.Print statements through > the > OnOpen I am able to nail down what exact line of code it is, but it > doesn't > occur every time the form opens so it is a pita to step through to > actually > watch the close happen. I have caused the close to move around however, > even "pushing it out the end" of the OnOpen back into the function that > opens the form. Truly bizarre. > > I have seen this kind of stuff before however. Back when I was working on > C2DbFrameWiz (the error handler insertion wizard) I would get instances > where the code that inserted the code into a module would just cause a > close. It was very similar, I could "track it down" to a single line of > code. I could go up to the previous line, type in the same code character > for character, then delete the line causing the code and the problem would > "go away" for awhile. OTOH, If I cut the line out to the paste buffer and > pasted it back in again, I would still have the issue. > > I am convinced that the source code that you see on the screen has other > things in the text stream, things that are not visible to you, the > developer. Kind of like the old Word Perfect "show codes" where you would > cause other formatting stuff to appear. I am convinced that the text > stream > gets something embedded in it and once that something is in the string, > you > are hosed. > > In this case (my current application) I have gone so far as to import the > entire FE into a new blank MDB and the problem still exists. I do not get > the "corrupted form" kind of thing that occurs with the A2K / AXP vb dll > version issue, i.e. the form module is not "corrupted" at least not > corrupted so badly that it won't export. > > This is a bizarre one and very irritating to my users as you might > imagine. > > John W. Colby > www.ColbyConsulting.com > > Contribute your unused CPU cycles to a good cause: > http://folding.stanford.edu/ > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Charlotte Foust > Sent: Monday, August 15, 2005 11:30 AM > To: Access Developers discussion and problem solving > Subject: RE: [AccessD] Bug Report > > > I saw behavior like that in one of my apps once, John. I finally tracked > it > down to mixing DAO and ADO, that is, a DAO code block calling out to an > ADO > block, or vice versa. I scrubbed my code thoroughly to prevent said > circumstance and the problem went away. One of the steps I took was to > rename my routines so that I could tell at a glance whether they were ADO > or > DAO. > > Charlotte Foust > > > -----Original Message----- > From: John W. Colby [mailto:jwcolby at colbyconsulting.com] > Sent: Sunday, August 14, 2005 5:52 PM > To: 'Access Developers discussion and problem solving' > Subject: RE: [AccessD] Bug Report > > > LOL. There is no resolving this bug. Access just shuts down. Step > through > the code and hit one specific line it just closes. Not exactly something > I > can fix. > > John W. Colby > www.ColbyConsulting.com > > Contribute your unused CPU cycles to a good cause: > http://folding.stanford.edu/ > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Dan Waters > Sent: Sunday, August 14, 2005 8:44 PM > To: 'Access Developers discussion and problem solving' > Subject: RE: [AccessD] Bug Report > > > Well - MS is really loosening up! They won't charge you if it really does > turn out to be a bug. I had to solve my bug myself for them to not charge > me! > > Best of Luck! > > Dan Waters > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of John W. Colby > Sent: Sunday, August 14, 2005 6:41 PM > To: 'Access Developers discussion and problem solving' > Subject: [AccessD] Bug Report > > The following is the response I got to my bug report: > > Hello John, > > Thank you for contacting Microsoft Online Customer Service. > > I appreciate the time you have taken to provide us with the feedback. As a > Customer Service Representative, I can assist you with the support options > available with your Microsoft product. You can report bugs by postal mail > to > the following address: > > Attn: Office Development Group > Microsoft Corporation > One Microsoft Way > Redmond, WA 98052 > > The letter should include a complete description of the bug including the > actions, software, and hardware associated with the bug and whether or not > it is consistently reproducible. > > You may also contact Microsoft Customer Service and speak with a support > professional about the issue and have a support case created. This method > will require you to utilize the standard options of support that are > available for your copy of Microsoft product initially. Once the support > professional is able to determine that the problem is a bug with the > software, they will not decrement the incident from warranty support or > account or issue a refund of any credit card charges if applicable. > > You may contact Microsoft Developer Support Team at (800) 936-5800. They > are available 24 hours a day. They will be able to assist you. > > John, I hope your issue gets resolved. > > Thank you for using Microsoft products and services. > > Benoy > Microsoft Online Customer Service Representative > > If you have any feedback about your Online Customer Service experience > please E-mail my manager Rahul Rajgopal at managers at microsoft.com > > > > John W. Colby > www.ColbyConsulting.com > > Contribute your unused CPU cycles to a good cause: > http://folding.stanford.edu/ > > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > > > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > > > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > 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 Mon Aug 15 15:38:54 2005 From: bchacc at san.rr.com (Rocky Smolin - Beach Access Software) Date: Mon, 15 Aug 2005 13:38:54 -0700 Subject: [AccessD] Bug Report References: <001801c5a1b6$80e3a6d0$6c7aa8c0@ColbyM6805> Message-ID: <057b01c5a1d9$5d06a960$6501a8c0@HAL9004> John: At that level of form complexity could you be bumping up against any of the (undocumented) Access limitations that the SQL and Oracle folks are always ragging us about? Rocky ----- Original Message ----- From: "John W. Colby" To: "'Access Developers discussion and problem solving'" Sent: Monday, August 15, 2005 9:29 AM Subject: RE: [AccessD] Bug Report > Rocky, > > This is indeed fascinating. I am at a loss on this one. I am no > lightweight at this stuff and I just can't figure it out. I know that the > Windows98 users do not have the problem, the Win2K users do see it but > rarely, the WinXP users see it occasionally, and apparently more often > with > SP3. So is it an Access bug or a Windows bug? > > In this specific case (the only place I am seeing it), it is in the OnOpen > of this one specific form. The form is a bound form, VERY complex, with > probably 50-100 controls. 18 tabs using JIT subforms to only load the > subforms if the tabs are clicked. > > The form has a clsForm that ties the form into my framework. That class > passes a pointer to the form into the class and the class then iterates > the > form for every control, loading a withevents class for each control found. > I have however commented out that specific class such that the framework > is > not triggered for the form and the problem still exists. > > In addition to that class, I also have 9 other classes loading, mostly > classes that are passed in controls and enforce rules regarding sets of > controls. I have not yet dimmed out those classes to see if the issue > goes > away. > > And yes, it also occurs on my laptop where the FE/BE are both on the same > machine. HOWEVER, the BE (and FE for that matter) resides on a mapped > (mounted) drive. On my laptop I use an encryption program to set up a big > file which is "turned into a drive". IOW, this file is mounted as a drive > by a driver. The driver asks for a password before mounting the "drive". > I > do this so that I can carry sensitive customer data on my machine without > exposing the data if the laptop is lost or stolen. Furthermore I can just > backup the source file that is a drive, to backup the entire development > drive. > > These drives are mounted as drive K, M and X. Does that count as a > network > drive? The driver performs the mounting at specific drive letters. > > Anyway, it is not AFAIK going out over the network, so I do not think it > is > a NIC problem. > > This is NOT going to be easy for them to troubleshoot. The BE is now > approaching 400 mbytes and contains sensitive personal and medical data on > tens of thousands of people. I am guessing that if they are going to do > it > at all they will have to remote in to my laptop at my office and work on > it > remotely. It should be interesting to see what happens. > > Just in... I got this email this morning: > > CASE_ID_NUM: SRZ050815000001 > MESSAGE: > ********************** The message for you follows > ************************ > Hi John, > > Thank you for using Microsoft Online Assisted Support. In order > to route your case to a Support Professional we will need to re-entitle > your > case. The product ID that you supplied indicates that your software came > part of an Open License Agreement. This is a special license agreement tha > t > your company purchased so they could obtain many copies of the software at > a > significant cost savings. This allows your company to save money by > purchasing the software in volume. However, the software does not come > with > any free technical support. If you would like to have a support > profession > al troubleshoot your issue, we must process a retail PID for Office > (w/Access), an access ID identifying a pre-paid support account, or a > credit > card charge ($99 over the web, $245 over the phone). > > IOW, the action pack does not get free support incidents. Sigh. > > John W. Colby > www.ColbyConsulting.com > > Contribute your unused CPU cycles to a good cause: > http://folding.stanford.edu/ > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Rocky Smolin - > Beach Access Software > Sent: Monday, August 15, 2005 11:37 AM > To: Access Developers discussion and problem solving > Subject: Re: [AccessD] Bug Report > > > Interesting. What's your speculation on where it's happening? In the > interpretation of your classes? They obviously have no clue and cannot > track it down without getting your app and running it themselves. At > first > it behaves like a bad NIC - I've had apps go south with corruptions and > shutdowns and traced it to a cheap NIC on the network - but you're running > this standalone, yes? > > Rocky > > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > From artful at rogers.com Mon Aug 15 16:21:25 2005 From: artful at rogers.com (Arthur Fuller) Date: Mon, 15 Aug 2005 17:21:25 -0400 Subject: [AccessD] Where is everyone? In-Reply-To: <200508142111.j7ELBYkr209474@pimout1-ext.prodigy.net> Message-ID: <200508152121.j7FLLQR26737@databaseadvisors.com> I would but I can't. Compared to some of the listers here, I am a newcomer. -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of John Bartow Sent: August 14, 2005 5:11 PM To: 'Access Developers discussion and problem solving' Subject: RE: [AccessD] Where is everyone? Go for it! -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Arthur Fuller Sent: Saturday, August 13, 2005 9:38 PM To: 'Access Developers discussion and problem solving' Subject: RE: [AccessD] Where is everyone? Somebody should write up the history of AccessD for publication in the newsletter, and for posterity. -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From dwaters at usinternet.com Mon Aug 15 16:59:18 2005 From: dwaters at usinternet.com (Dan Waters) Date: Mon, 15 Aug 2005 16:59:18 -0500 Subject: [AccessD] Access 2006 Message-ID: <000001c5a1e4$990452e0$0300a8c0@danwaters> Does anyone know when MS will be releasing information on Access 2006? I know the release date is around July 2006. Dan Waters From cfoust at infostatsystems.com Mon Aug 15 17:21:45 2005 From: cfoust at infostatsystems.com (Charlotte Foust) Date: Mon, 15 Aug 2005 15:21:45 -0700 Subject: [AccessD] Bug Report Message-ID: On Error won't necessarily do it, though. I discovered that with the ADO/DAO problem I ran into. Even having a form open didn't stop it from crashing all the way back to windows with never an error thrown. Charlotte Foust -----Original Message----- From: Mike & Doris Manning [mailto:mikedorism at verizon.net] Sent: Monday, August 15, 2005 12:42 PM To: 'Access Developers discussion and problem solving' Subject: RE: [AccessD] Bug Report AMEN to "In the end Access shouldn't just close like it does". This is my biggest pet peeve because the only way around it is to use "On Error" behind every single form and report (whether the object needs a module or not). Doris Manning Database Administrator Hargrove Inc.com mikedorism at verizon.net -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From robert at servicexp.com Mon Aug 15 18:16:25 2005 From: robert at servicexp.com (Robert Gracie) Date: Mon, 15 Aug 2005 19:16:25 -0400 Subject: [AccessD] Bug Report Message-ID: <3C6BD610FA11044CADFC8C13E6D5508F4EF5@gbsserver.GBS.local> John, Do you have any timers running in this db? Robert -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of John W. Colby Sent: Monday, August 15, 2005 3:46 PM To: 'Access Developers discussion and problem solving' Subject: RE: [AccessD] Bug Report Well... In fact I may have found the culprit. I commented out all of the classes, including my framework form class and the crashing stopped. Slowly and painfully started uncommenting them one by one, testing each one about 25 times and found one class that seems to cause the crashing. I am continuing past that point, uncommenting all the rest one by one to see if I can get them all (except that one) back in without bringing the crash back. It's just painful, slow, piece by piece work. In the end Access shouldn't just close like it does, and it would be nice to actually get MS to find and fix the bug behind my bug, but I also have to be realistic... ;-) John W. Colby www.ColbyConsulting.com Contribute your unused CPU cycles to a good cause: http://folding.stanford.edu/ -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Gustav Brock Sent: Monday, August 15, 2005 2:56 PM To: accessd at databaseadvisors.com Subject: RE: [AccessD] Bug Report Hi John OK. I can count to "a dozen classes" times 20 and all the combinations of these 20 ... How about creating a macro to load the form 25 times and beep when unloading the form?? /gustav >>> jwcolby at colbyconsulting.com 08/15 8:18 pm >>> The size of the file is caused by the VB for all the controls. No, no graphics at all AFAIK. MAYBE a button... Hmmm I just looked at it and yea, I have graphics in the tabs - little pictures like can be found in buttons generated by the wizards. No pictures other than those. I will certainly take those out to see what happens. BTW, I went in and commented out all of the classes loaded by the form and the crashing has stopped. At least it looks like it. That is one of the problems, you can open the form 19 times and the 20th it will close the database. So every time you make a change you have to do a TON of searches (opening the form) before you are almost sure that you have managed to change the symptoms. John W. Colby www.ColbyConsulting.com Contribute your unused CPU cycles to a good cause: http://folding.stanford.edu/ -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Gustav Brock Sent: Monday, August 15, 2005 2:08 PM To: accessd at databaseadvisors.com Subject: RE: [AccessD] Bug Report Hi John But at 390K I guess your form contains some graphics - can't you skip that part? Also, if no code is run and the app still crashes, it looks like just the loading of the form causes the crash. The reason could be loading of graphics. Not likely, I know, but quick and easy to test. /gustav >>> jwcolby at colbyconsulting.com 08/15 7:30 pm >>> > Call SaveAsText(acForm, "tfrmClaim", "c:\tfrmClaim.txt") That was cool. The text file is 390 kbytes so it seems unliekly I can "scan it closely" And unfortunately, remember I said I had "pushed it out of the OnOpen" - the close is now back in the calling function that opens the form. The truly strange part is that there is no code left in that function, i.e. it just exits the sub. Sigh. I was going to try retyping in the offending line of code to see if I could clean the source stream. -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From jwcolby at colbyconsulting.com Mon Aug 15 18:47:44 2005 From: jwcolby at colbyconsulting.com (John W. Colby) Date: Mon, 15 Aug 2005 19:47:44 -0400 Subject: [AccessD] Bug Report In-Reply-To: <3C6BD610FA11044CADFC8C13E6D5508F4EF5@gbsserver.GBS.local> Message-ID: <002401c5a1f3$bb52ae50$6c7aa8c0@ColbyM6805> Nope, no timers. John W. Colby www.ColbyConsulting.com Contribute your unused CPU cycles to a good cause: http://folding.stanford.edu/ -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Robert Gracie Sent: Monday, August 15, 2005 7:16 PM To: Access Developers discussion and problem solving Subject: RE: [AccessD] Bug Report John, Do you have any timers running in this db? Robert -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of John W. Colby Sent: Monday, August 15, 2005 3:46 PM To: 'Access Developers discussion and problem solving' Subject: RE: [AccessD] Bug Report Well... In fact I may have found the culprit. I commented out all of the classes, including my framework form class and the crashing stopped. Slowly and painfully started uncommenting them one by one, testing each one about 25 times and found one class that seems to cause the crashing. I am continuing past that point, uncommenting all the rest one by one to see if I can get them all (except that one) back in without bringing the crash back. It's just painful, slow, piece by piece work. In the end Access shouldn't just close like it does, and it would be nice to actually get MS to find and fix the bug behind my bug, but I also have to be realistic... ;-) John W. Colby www.ColbyConsulting.com Contribute your unused CPU cycles to a good cause: http://folding.stanford.edu/ -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Gustav Brock Sent: Monday, August 15, 2005 2:56 PM To: accessd at databaseadvisors.com Subject: RE: [AccessD] Bug Report Hi John OK. I can count to "a dozen classes" times 20 and all the combinations of these 20 ... How about creating a macro to load the form 25 times and beep when unloading the form?? /gustav >>> jwcolby at colbyconsulting.com 08/15 8:18 pm >>> The size of the file is caused by the VB for all the controls. No, no graphics at all AFAIK. MAYBE a button... Hmmm I just looked at it and yea, I have graphics in the tabs - little pictures like can be found in buttons generated by the wizards. No pictures other than those. I will certainly take those out to see what happens. BTW, I went in and commented out all of the classes loaded by the form and the crashing has stopped. At least it looks like it. That is one of the problems, you can open the form 19 times and the 20th it will close the database. So every time you make a change you have to do a TON of searches (opening the form) before you are almost sure that you have managed to change the symptoms. John W. Colby www.ColbyConsulting.com Contribute your unused CPU cycles to a good cause: http://folding.stanford.edu/ -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Gustav Brock Sent: Monday, August 15, 2005 2:08 PM To: accessd at databaseadvisors.com Subject: RE: [AccessD] Bug Report Hi John But at 390K I guess your form contains some graphics - can't you skip that part? Also, if no code is run and the app still crashes, it looks like just the loading of the form causes the crash. The reason could be loading of graphics. Not likely, I know, but quick and easy to test. /gustav >>> jwcolby at colbyconsulting.com 08/15 7:30 pm >>> > Call SaveAsText(acForm, "tfrmClaim", "c:\tfrmClaim.txt") That was cool. The text file is 390 kbytes so it seems unliekly I can "scan it closely" And unfortunately, remember I said I had "pushed it out of the OnOpen" - the close is now back in the calling function that opens the form. The truly strange part is that there is no code left in that function, i.e. it just exits the sub. Sigh. I was going to try retyping in the offending line of code to see if I could clean the source stream. -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From jwcolby at colbyconsulting.com Mon Aug 15 20:02:49 2005 From: jwcolby at colbyconsulting.com (John W. Colby) Date: Mon, 15 Aug 2005 21:02:49 -0400 Subject: [AccessD] Database close bug (apparently) resolved Message-ID: <002501c5a1fe$388e4460$6c7aa8c0@ColbyM6805> Well... It appears that my bug has been resolved. The form in question has a combo, the list for which is a result of a state machine. IOW, if you are in state A, then you can go to state B, D, F or G but not C, E etc. Thus the list for the combo has to be calculated as the form opens based on the current state, a SQL statement generated and placed in the combo rowsource property. In fact, for troubleshooting purposes, I had a saved querydef which I modified with the results of this calculated SQL Statement, then placed the name of the saved query in the combo's RowSource property after the calculation, and modification of the querydef. Once I knew that it was this class that was causing the issue, I was able to "divide and conquer" (comment out statements until it was found) and discovered that it was the process of modifying the saved querydef that was causing the unexpected close. The combo RowSource is set to the name of the saved query when the form opens, then the RowSource is set to "" (cleared), the querydef opened and the SQL property modified with the calculated SQL statement and closed, then the name of the query placed back in the combo which causes the combo to "requery" and pull the data per the SQL statement and display that dataset. For whatever reason, that modify/save/store in combo process was causing the close issue. By simply deleting the named query from the combo's RowSource, then placing the SQL statement itself directly in the combo, the database no longer closes unexpectedly. Now I have to do a "Find" to make sure that the stored query is not used any where else after the combo is loaded, and if not, I can just leave things as they are with a note in the commented out code to indicate that it caused my "database close" issue. What a PITA. And why doesn't Access close immediately (or better yet, throw an error if it doesn't like this?) when I am screwing around with the querydef instead of after OnCurrent finishes? And what is it that makes it OS sensitive? All things I will no doubt never see the answer to. But... I have fixed my problem. John W. Colby www.ColbyConsulting.com Contribute your unused CPU cycles to a good cause: http://folding.stanford.edu/ From carbonnb at sympatico.ca Mon Aug 15 20:45:19 2005 From: carbonnb at sympatico.ca (Bryan Carbonnell) Date: Mon, 15 Aug 2005 21:45:19 -0400 Subject: [AccessD] I Need Some Ideas Message-ID: I have found myself in a situation that gives me an inordinate amount of free time and I'm looking for some ideas to fill my time. I am thinking of something that would make development easier or a specifc app that would greatly help developers. I need something to keep my mind active and fingers busy :) It can be anything from Access to Word to Excel (Office 2K), even VB 6. I'm open to any and all suggestion. And If I can learn something new, that would be even better. Let the flood gates open :-) -- Bryan Carbonnell - carbonnb at sympatico.ca Don't cry because it's over; smile because it happened. From jwcolby at colbyconsulting.com Mon Aug 15 20:52:22 2005 From: jwcolby at colbyconsulting.com (John W. Colby) Date: Mon, 15 Aug 2005 21:52:22 -0400 Subject: [AccessD] I Need Some Ideas In-Reply-To: Message-ID: <002601c5a205$27d95d60$6c7aa8c0@ColbyM6805> Why don't I ever get these situations? 8-( John W. Colby www.ColbyConsulting.com Contribute your unused CPU cycles to a good cause: http://folding.stanford.edu/ -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Bryan Carbonnell Sent: Monday, August 15, 2005 9:45 PM To: access Developers discussion and problem solving Subject: [AccessD] I Need Some Ideas I have found myself in a situation that gives me an inordinate amount of free time and I'm looking for some ideas to fill my time. I am thinking of something that would make development easier or a specifc app that would greatly help developers. I need something to keep my mind active and fingers busy :) It can be anything from Access to Word to Excel (Office 2K), even VB 6. I'm open to any and all suggestion. And If I can learn something new, that would be even better. Let the flood gates open :-) -- Bryan Carbonnell - carbonnb at sympatico.ca Don't cry because it's over; smile because it happened. -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From carbonnb at sympatico.ca Mon Aug 15 21:05:29 2005 From: carbonnb at sympatico.ca (Bryan Carbonnell) Date: Mon, 15 Aug 2005 22:05:29 -0400 Subject: [AccessD] I Need Some Ideas In-Reply-To: <002601c5a205$27d95d60$6c7aa8c0@ColbyM6805> References: Message-ID: On 15 Aug 2005 at 21:52, John W. Colby wrote: > Why don't I ever get these situations? 8-( Cause you really don't want to be in this situation. :)) -- Bryan Carbonnell - carbonnb at sympatico.ca Never test for a bug you don't know how to fix. From Bruce.Bruen at railcorp.nsw.gov.au Mon Aug 15 21:06:39 2005 From: Bruce.Bruen at railcorp.nsw.gov.au (Bruen, Bruce) Date: Tue, 16 Aug 2005 12:06:39 +1000 Subject: [AccessD] Tagged value query Message-ID: Might not be expressing myself well here. On reconsidering the problem, I can ignore the join completely. What I have is a table with a set of optional tagged value pairs: Table=t_objectproperties Attribs= Objkey (NOT unique) parentID (FK but lets ignore it) Name (name of the tag) Value (value of the tag) Objkey can have mulitple entries. What I need to do is: For a given set of tag names (i.e. more than 1, eg "InFirstRelease" and "TestPriority") list ObjKey, name1.value, name2.value; The case of a single translation putting the value of a particular name in a column is trivial. IOW its easy to get: Objkey InFirstRelease ------- --------------- 2313 Yes 2365 No ... What I cant get is how to do it for multiple tags. :-( Initially, I can get away with a fixed number of tags. But in the long term it would be nice to be able to have a generalisation that allowed the number of tags to be variable. SELECT objkey, value as V1, value as V2 FROM t_objectproperties WHERE name="InFirstRelease" or name="TestPriority"; ????????Obviously not it!???????? I must be getting too old for this job..... Tia bruce -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Susan Harkins Sent: Friday, 12 August 2005 3:02 PM To: 'Access Developers discussion and problem solving' Subject: RE: [AccessD] Tagged value query Have you tried an outer join? Left outer will retrieve all the primary key values in the one table. Right outer will retrieve all the foreign key values in the many table. Susan H. Yes. You want all objects, even if they have no tags? -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com This e-mail and any attachments may contain confidential information that is intended solely for the use of the intended recipient and may be subject to copyright. If you receive this e-mail in error, please notify the sender immediately and delete the e-mail and its attachments from your system. You must not disclose, copy or use any part of this e-mail if you are not the intended recipient. Any opinion expressed in this e-mail and any attachments is not an opinion of RailCorp unless stated or apparent from its content. RailCorp is not responsible for any unauthorised alterations to this e-mail or any attachments. RailCorp will not incur any liability resulting directly or indirectly as a result of the recipient accessing any of the attached files that may contain a virus. From Bruce.Bruen at railcorp.nsw.gov.au Mon Aug 15 21:12:39 2005 From: Bruce.Bruen at railcorp.nsw.gov.au (Bruen, Bruce) Date: Tue, 16 Aug 2005 12:12:39 +1000 Subject: [AccessD] Tagged value query - IGNORE THIS THREAD Message-ID: Talk about embarrased. It's a straightforward crosstab. Must be too old. Sorry for the waste of time and bandwidth. bruce This e-mail and any attachments may contain confidential information that is intended solely for the use of the intended recipient and may be subject to copyright. If you receive this e-mail in error, please notify the sender immediately and delete the e-mail and its attachments from your system. You must not disclose, copy or use any part of this e-mail if you are not the intended recipient. Any opinion expressed in this e-mail and any attachments is not an opinion of RailCorp unless stated or apparent from its content. RailCorp is not responsible for any unauthorised alterations to this e-mail or any attachments. RailCorp will not incur any liability resulting directly or indirectly as a result of the recipient accessing any of the attached files that may contain a virus. From jwcolby at colbyconsulting.com Mon Aug 15 21:18:58 2005 From: jwcolby at colbyconsulting.com (John W. Colby) Date: Mon, 15 Aug 2005 22:18:58 -0400 Subject: [AccessD] I Need Some Ideas In-Reply-To: Message-ID: <002a01c5a208$df717540$6c7aa8c0@ColbyM6805> I am working on a bunch of different things myself. I'm taking a client's project and porting it to VB.Net. Slowly working on a book about reusable code in VBA for Access, stuff like that. John W. Colby www.ColbyConsulting.com Contribute your unused CPU cycles to a good cause: http://folding.stanford.edu/ -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Bryan Carbonnell Sent: Monday, August 15, 2005 10:05 PM To: Access Developers discussion and problem solving Subject: RE: [AccessD] I Need Some Ideas On 15 Aug 2005 at 21:52, John W. Colby wrote: > Why don't I ever get these situations? 8-( Cause you really don't want to be in this situation. :)) -- Bryan Carbonnell - carbonnb at sympatico.ca Never test for a bug you don't know how to fix. -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From accessd at shaw.ca Mon Aug 15 21:34:52 2005 From: accessd at shaw.ca (Jim Lawrence) Date: Mon, 15 Aug 2005 19:34:52 -0700 Subject: [AccessD] I Need Some Ideas In-Reply-To: Message-ID: <0ILA0086LN63B7@l-daemon> Hi Bryan: Our web site needs a lot of work to move to the next level. A few simple things that would require a bit of research... 1. Create the definitive link list for the site. You know most of the sites from but there are a few out there that are not obvious but definitely should be counted... like 'http://www.colbyconsulting.com/' or 'http://www.rogersaccesslibrary.com' or 'http://www.mvps.org/access/' and many more. It would be great to be able to create the ultimate Access research page. 2. Putting some of the great comments and code snippets into either a gazette or new article for upcoming issues(s). 3 List member advertisement pages stores on a MS SQL DB. This is not confirmed by the executive yet but I believe it makes sense. We should be supporting our list members' accomplishment like their books, articles, programs or even design and support companies. We are a way from implementing this but the format, design, and coding can be started as it will be a lengthy development from creation to implementation. 4. There is of course .Net... and XML/HXML/AJAX... where much of Access development is heading/expanding. It is a truly distributive application development platform and the performance is really awesome when using ASP.Net client side is coupled with ADO.Net... 'a thousand users are serviced as fast as one' (Not mine but a quote from a book.). Should we be looking seriously at this? Articles, new lists, roll our own? These are just a few of the web site work that is waiting to be started and implemented. Our current web site owners are having some problems getting our MS SQL server up and running again but we will be getting MS SQL support one way or the other. So you can work/plan for/with a MS SQL set of option/solutions. Keep me posted as I am enjoying a 'fairly' flexible time constraint as well. Jim -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Bryan Carbonnell Sent: Monday, August 15, 2005 6:45 PM To: access Developers discussion and problem solving Subject: [AccessD] I Need Some Ideas I have found myself in a situation that gives me an inordinate amount of free time and I'm looking for some ideas to fill my time. I am thinking of something that would make development easier or a specifc app that would greatly help developers. I need something to keep my mind active and fingers busy :) It can be anything from Access to Word to Excel (Office 2K), even VB 6. I'm open to any and all suggestion. And If I can learn something new, that would be even better. Let the flood gates open :-) -- Bryan Carbonnell - carbonnb at sympatico.ca Don't cry because it's over; smile because it happened. -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From andy at minstersystems.co.uk Tue Aug 16 01:59:14 2005 From: andy at minstersystems.co.uk (Andy Lacey) Date: Tue, 16 Aug 2005 07:59:14 +0100 Subject: [AccessD] I Need Some Ideas In-Reply-To: Message-ID: <000e01c5a230$049f5d10$2c1f0c54@minster33c3r25> Hi Bryan Really sorry to hear that. How about the long-awaited v2 of BEU? -- Andy Lacey http://www.minstersystems.co.uk > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of > Bryan Carbonnell > Sent: 16 August 2005 03:05 > To: Access Developers discussion and problem solving > Subject: RE: [AccessD] I Need Some Ideas > > > On 15 Aug 2005 at 21:52, John W. Colby wrote: > > > Why don't I ever get these situations? 8-( > > Cause you really don't want to be in this situation. :)) > > -- > Bryan Carbonnell - carbonnb at sympatico.ca > Never test for a bug you don't know how to fix. > > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > > From Gustav at cactus.dk Tue Aug 16 02:13:16 2005 From: Gustav at cactus.dk (Gustav Brock) Date: Tue, 16 Aug 2005 09:13:16 +0200 Subject: [AccessD] I Need Some Ideas Message-ID: Hi Bryan So no job? Or wife?? Is that what you are trying to tell? On the other hand (for the job option, cannot tell for the wife option), with your knowledge I would expect it to be easy for you to find some "new challenges" except, of course, if things are a little more complicated than they may appear to be ... Currently I'm facing some XML work. Haven't done anything with this and Access and hardly know where to look except browsing this list ... So an XML cookbook or guide is a suggestion. /gustav >>> carbonnb at sympatico.ca 08/16 3:45 am >>> I have found myself in a situation that gives me an inordinate amount of free time and I'm looking for some ideas to fill my time. I am thinking of something that would make development easier or a specifc app that would greatly help developers. I need something to keep my mind active and fingers busy :) It can be anything from Access to Word to Excel (Office 2K), even VB 6. I'm open to any and all suggestion. And If I can learn something new, that would be even better. Let the flood gates open :-) -- Bryan Carbonnell - carbonnb at sympatico.ca Don't cry because it's over; smile because it happened. From jimdettman at earthlink.net Tue Aug 16 05:16:41 2005 From: jimdettman at earthlink.net (Jim Dettman) Date: Tue, 16 Aug 2005 06:16:41 -0400 Subject: [AccessD] Bug Report In-Reply-To: <056a01c5a1d8$e902cd50$6501a8c0@HAL9004> Message-ID: Rocky, None that I'm aware of. I usually do a /decompile as soon as I see the weird stuff start to happen. That pretty much clears it up. If not, I go to a backup. Jim. -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Rocky Smolin - Beach Access Software Sent: Monday, August 15, 2005 4:36 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Bug Report Jim: "code breaks on a line where a breakpoint was but is no longer" I've had this happen as well, even more embarrassing, at the customer when suddenly they find themselves in the code page with a yellow highlight. Has there been no fix for this from MS? Rocky ----- Original Message ----- From: "Jim Dettman" To: "Access Developers discussion and problem solving" Sent: Monday, August 15, 2005 9:08 AM Subject: RE: [AccessD] Bug Report > John, > > I've seen what your seeing. I've also had cases where code breaks on a > line where a breakpoint was but is no longer after the code has been > changed > (lines inserted or deleted). I've even had it break on *blank* lines in > some cases. I can push the lines around as you say and watch things > change. > > < things in the text stream, things that are not visible to you, the > developer. >> > > Basically it boils down to the fact that the source code is out of synch > with the p-code or as your saying, the p-code is hosed. Since they are > stored separately, it is easy for this to happen. > > Good time to use /decompile. > > Jim. > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of John W. Colby > Sent: Monday, August 15, 2005 11:53 AM > To: 'Access Developers discussion and problem solving' > Subject: RE: [AccessD] Bug Report > > > Was it the actual line that called the other block? This one is just "any > old line of code". It always occurs in the OnOpen of the form, where I am > initializing classes, etc. By setting up debug.Print statements through > the > OnOpen I am able to nail down what exact line of code it is, but it > doesn't > occur every time the form opens so it is a pita to step through to > actually > watch the close happen. I have caused the close to move around however, > even "pushing it out the end" of the OnOpen back into the function that > opens the form. Truly bizarre. > > I have seen this kind of stuff before however. Back when I was working on > C2DbFrameWiz (the error handler insertion wizard) I would get instances > where the code that inserted the code into a module would just cause a > close. It was very similar, I could "track it down" to a single line of > code. I could go up to the previous line, type in the same code character > for character, then delete the line causing the code and the problem would > "go away" for awhile. OTOH, If I cut the line out to the paste buffer and > pasted it back in again, I would still have the issue. > > I am convinced that the source code that you see on the screen has other > things in the text stream, things that are not visible to you, the > developer. Kind of like the old Word Perfect "show codes" where you would > cause other formatting stuff to appear. I am convinced that the text > stream > gets something embedded in it and once that something is in the string, > you > are hosed. > > In this case (my current application) I have gone so far as to import the > entire FE into a new blank MDB and the problem still exists. I do not get > the "corrupted form" kind of thing that occurs with the A2K / AXP vb dll > version issue, i.e. the form module is not "corrupted" at least not > corrupted so badly that it won't export. > > This is a bizarre one and very irritating to my users as you might > imagine. > > John W. Colby > www.ColbyConsulting.com > > Contribute your unused CPU cycles to a good cause: > http://folding.stanford.edu/ > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Charlotte Foust > Sent: Monday, August 15, 2005 11:30 AM > To: Access Developers discussion and problem solving > Subject: RE: [AccessD] Bug Report > > > I saw behavior like that in one of my apps once, John. I finally tracked > it > down to mixing DAO and ADO, that is, a DAO code block calling out to an > ADO > block, or vice versa. I scrubbed my code thoroughly to prevent said > circumstance and the problem went away. One of the steps I took was to > rename my routines so that I could tell at a glance whether they were ADO > or > DAO. > > Charlotte Foust > > > -----Original Message----- > From: John W. Colby [mailto:jwcolby at colbyconsulting.com] > Sent: Sunday, August 14, 2005 5:52 PM > To: 'Access Developers discussion and problem solving' > Subject: RE: [AccessD] Bug Report > > > LOL. There is no resolving this bug. Access just shuts down. Step > through > the code and hit one specific line it just closes. Not exactly something > I > can fix. > > John W. Colby > www.ColbyConsulting.com > > Contribute your unused CPU cycles to a good cause: > http://folding.stanford.edu/ > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Dan Waters > Sent: Sunday, August 14, 2005 8:44 PM > To: 'Access Developers discussion and problem solving' > Subject: RE: [AccessD] Bug Report > > > Well - MS is really loosening up! They won't charge you if it really does > turn out to be a bug. I had to solve my bug myself for them to not charge > me! > > Best of Luck! > > Dan Waters > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of John W. Colby > Sent: Sunday, August 14, 2005 6:41 PM > To: 'Access Developers discussion and problem solving' > Subject: [AccessD] Bug Report > > The following is the response I got to my bug report: > > Hello John, > > Thank you for contacting Microsoft Online Customer Service. > > I appreciate the time you have taken to provide us with the feedback. As a > Customer Service Representative, I can assist you with the support options > available with your Microsoft product. You can report bugs by postal mail > to > the following address: > > Attn: Office Development Group > Microsoft Corporation > One Microsoft Way > Redmond, WA 98052 > > The letter should include a complete description of the bug including the > actions, software, and hardware associated with the bug and whether or not > it is consistently reproducible. > > You may also contact Microsoft Customer Service and speak with a support > professional about the issue and have a support case created. This method > will require you to utilize the standard options of support that are > available for your copy of Microsoft product initially. Once the support > professional is able to determine that the problem is a bug with the > software, they will not decrement the incident from warranty support or > account or issue a refund of any credit card charges if applicable. > > You may contact Microsoft Developer Support Team at (800) 936-5800. They > are available 24 hours a day. They will be able to assist you. > > John, I hope your issue gets resolved. > > Thank you for using Microsoft products and services. > > Benoy > Microsoft Online Customer Service Representative > > If you have any feedback about your Online Customer Service experience > please E-mail my manager Rahul Rajgopal at managers at microsoft.com > > > > John W. Colby > www.ColbyConsulting.com > > Contribute your unused CPU cycles to a good cause: > http://folding.stanford.edu/ > > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > > > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > > > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From jwcolby at colbyconsulting.com Tue Aug 16 06:14:30 2005 From: jwcolby at colbyconsulting.com (John W. Colby) Date: Tue, 16 Aug 2005 07:14:30 -0400 Subject: [AccessD] I Need Some Ideas In-Reply-To: <000e01c5a230$049f5d10$2c1f0c54@minster33c3r25> Message-ID: <004001c5a253$afa50520$6c7aa8c0@ColbyM6805> Oooooohhh I have a great idea for that one. John W. Colby www.ColbyConsulting.com Contribute your unused CPU cycles to a good cause: http://folding.stanford.edu/ -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Andy Lacey Sent: Tuesday, August 16, 2005 2:59 AM To: 'Access Developers discussion and problem solving' Subject: RE: [AccessD] I Need Some Ideas Hi Bryan Really sorry to hear that. How about the long-awaited v2 of BEU? -- Andy Lacey http://www.minstersystems.co.uk > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of > Bryan Carbonnell > Sent: 16 August 2005 03:05 > To: Access Developers discussion and problem solving > Subject: RE: [AccessD] I Need Some Ideas > > > On 15 Aug 2005 at 21:52, John W. Colby wrote: > > > Why don't I ever get these situations? 8-( > > Cause you really don't want to be in this situation. :)) > > -- > Bryan Carbonnell - carbonnb at sympatico.ca > Never test for a bug you don't know how to fix. > > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > > -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From jwcolby at colbyconsulting.com Tue Aug 16 06:16:33 2005 From: jwcolby at colbyconsulting.com (John W. Colby) Date: Tue, 16 Aug 2005 07:16:33 -0400 Subject: [AccessD] Bug Report In-Reply-To: Message-ID: <004101c5a253$f8ef1310$6c7aa8c0@ColbyM6805> A /decompile / compile / compact / repair has always fixed it for me. John W. Colby www.ColbyConsulting.com Contribute your unused CPU cycles to a good cause: http://folding.stanford.edu/ -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Jim Dettman Sent: Tuesday, August 16, 2005 6:17 AM To: Access Developers discussion and problem solving Subject: RE: [AccessD] Bug Report Rocky, None that I'm aware of. I usually do a /decompile as soon as I see the weird stuff start to happen. That pretty much clears it up. If not, I go to a backup. Jim. -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Rocky Smolin - Beach Access Software Sent: Monday, August 15, 2005 4:36 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Bug Report Jim: "code breaks on a line where a breakpoint was but is no longer" I've had this happen as well, even more embarrassing, at the customer when suddenly they find themselves in the code page with a yellow highlight. Has there been no fix for this from MS? Rocky From jimdettman at earthlink.net Tue Aug 16 06:31:08 2005 From: jimdettman at earthlink.net (Jim Dettman) Date: Tue, 16 Aug 2005 07:31:08 -0400 Subject: [AccessD] Bug Report In-Reply-To: <004101c5a253$f8ef1310$6c7aa8c0@ColbyM6805> Message-ID: John, I thought you said the other day that this didn't work for you? "Yea, I've seen this too. Breaks even though the breakbpoint was removed. I think it is the same issue, i.e. "invisible stuff" in the source code that is not properly stripped out. Unfortunately /decompile does not help in this case. All that /decompile does is throw out the pcode stream forcing a recompile of the entire source code stream. If the source stream is bad then the next compile will just recreate the bad pcode." Jim. -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of John W. Colby Sent: Tuesday, August 16, 2005 7:17 AM To: 'Access Developers discussion and problem solving' Subject: RE: [AccessD] Bug Report A /decompile / compile / compact / repair has always fixed it for me. John W. Colby www.ColbyConsulting.com Contribute your unused CPU cycles to a good cause: http://folding.stanford.edu/ -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Jim Dettman Sent: Tuesday, August 16, 2005 6:17 AM To: Access Developers discussion and problem solving Subject: RE: [AccessD] Bug Report Rocky, None that I'm aware of. I usually do a /decompile as soon as I see the weird stuff start to happen. That pretty much clears it up. If not, I go to a backup. Jim. -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Rocky Smolin - Beach Access Software Sent: Monday, August 15, 2005 4:36 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Bug Report Jim: "code breaks on a line where a breakpoint was but is no longer" I've had this happen as well, even more embarrassing, at the customer when suddenly they find themselves in the code page with a yellow highlight. Has there been no fix for this from MS? Rocky -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From Erwin.Craps at ithelps.be Tue Aug 16 06:39:48 2005 From: Erwin.Craps at ithelps.be (Erwin Craps - IT Helps) Date: Tue, 16 Aug 2005 13:39:48 +0200 Subject: [AccessD] Bug Report Message-ID: <46B976F2B698FF46A4FE7636509B22DF1B5DE4@stekelbes.ithelps.local> Had this dozen of times. Enter a extra line (may be blanc) before or after the invisible breakpoint and compile/save again. Erwin -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Jim Dettman Sent: Tuesday, August 16, 2005 1:31 PM To: Access Developers discussion and problem solving Subject: RE: [AccessD] Bug Report John, I thought you said the other day that this didn't work for you? "Yea, I've seen this too. Breaks even though the breakbpoint was removed. I think it is the same issue, i.e. "invisible stuff" in the source code that is not properly stripped out. Unfortunately /decompile does not help in this case. All that /decompile does is throw out the pcode stream forcing a recompile of the entire source code stream. If the source stream is bad then the next compile will just recreate the bad pcode." Jim. -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of John W. Colby Sent: Tuesday, August 16, 2005 7:17 AM To: 'Access Developers discussion and problem solving' Subject: RE: [AccessD] Bug Report A /decompile / compile / compact / repair has always fixed it for me. John W. Colby www.ColbyConsulting.com Contribute your unused CPU cycles to a good cause: http://folding.stanford.edu/ -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Jim Dettman Sent: Tuesday, August 16, 2005 6:17 AM To: Access Developers discussion and problem solving Subject: RE: [AccessD] Bug Report Rocky, None that I'm aware of. I usually do a /decompile as soon as I see the weird stuff start to happen. That pretty much clears it up. If not, I go to a backup. Jim. -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Rocky Smolin - Beach Access Software Sent: Monday, August 15, 2005 4:36 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Bug Report Jim: "code breaks on a line where a breakpoint was but is no longer" I've had this happen as well, even more embarrassing, at the customer when suddenly they find themselves in the code page with a yellow highlight. Has there been no fix for this from MS? Rocky -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From jwcolby at colbyconsulting.com Tue Aug 16 06:57:35 2005 From: jwcolby at colbyconsulting.com (John W. Colby) Date: Tue, 16 Aug 2005 07:57:35 -0400 Subject: [AccessD] Bug Report In-Reply-To: Message-ID: <004201c5a259$b0d252d0$6c7aa8c0@ColbyM6805> Oh, sorry. I was discussing my particular bug, not the "breakpoint" case. /decompile definitely has always solved the cases I've seen of the "breakpoint" issue. And I see it quite often. John W. Colby www.ColbyConsulting.com Contribute your unused CPU cycles to a good cause: http://folding.stanford.edu/ -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Jim Dettman Sent: Tuesday, August 16, 2005 7:31 AM To: Access Developers discussion and problem solving Subject: RE: [AccessD] Bug Report John, I thought you said the other day that this didn't work for you? "Yea, I've seen this too. Breaks even though the breakbpoint was removed. I think it is the same issue, i.e. "invisible stuff" in the source code that is not properly stripped out. Unfortunately /decompile does not help in this case. All that /decompile does is throw out the pcode stream forcing a recompile of the entire source code stream. If the source stream is bad then the next compile will just recreate the bad pcode." Jim. -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of John W. Colby Sent: Tuesday, August 16, 2005 7:17 AM To: 'Access Developers discussion and problem solving' Subject: RE: [AccessD] Bug Report A /decompile / compile / compact / repair has always fixed it for me. John W. Colby www.ColbyConsulting.com Contribute your unused CPU cycles to a good cause: http://folding.stanford.edu/ -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Jim Dettman Sent: Tuesday, August 16, 2005 6:17 AM To: Access Developers discussion and problem solving Subject: RE: [AccessD] Bug Report Rocky, None that I'm aware of. I usually do a /decompile as soon as I see the weird stuff start to happen. That pretty much clears it up. If not, I go to a backup. Jim. -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Rocky Smolin - Beach Access Software Sent: Monday, August 15, 2005 4:36 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Bug Report Jim: "code breaks on a line where a breakpoint was but is no longer" I've had this happen as well, even more embarrassing, at the customer when suddenly they find themselves in the code page with a yellow highlight. Has there been no fix for this from MS? Rocky -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From prosoft6 at hotmail.com Tue Aug 16 07:50:52 2005 From: prosoft6 at hotmail.com (Julie Reardon-Taylor) Date: Tue, 16 Aug 2005 08:50:52 -0400 Subject: [AccessD] I Need Some Ideas In-Reply-To: Message-ID: Bryan, Where are you located? I know of a company who is trying to fill sixteen IT positions this fall. Julie Reardon-Taylor PRO-SOFT OF NY, INC. 44 Public Square Suite #5 Watertown, NY 13601 Phone/Fax: (315) 785-0319 www.pro-soft.net From garykjos at gmail.com Tue Aug 16 07:57:55 2005 From: garykjos at gmail.com (Gary Kjos) Date: Tue, 16 Aug 2005 07:57:55 -0500 Subject: [AccessD] Database close bug (apparently) resolved In-Reply-To: <002501c5a1fe$388e4460$6c7aa8c0@ColbyM6805> References: <002501c5a1fe$388e4460$6c7aa8c0@ColbyM6805> Message-ID: Hooray! Perseverance wins again John! On 8/15/05, John W. Colby wrote: > Well... > > It appears that my bug has been resolved. > -- Gary Kjos garykjos at gmail.com From prosoft6 at hotmail.com Tue Aug 16 08:35:07 2005 From: prosoft6 at hotmail.com (Julie Reardon-Taylor) Date: Tue, 16 Aug 2005 09:35:07 -0400 Subject: [AccessD] New Record Appearing on Top Message-ID: I have seen this question posted before and cannot remember the response. A client has asked that the "new" record in a continuous form appear at the top. I know that Access doesn't work that way.....but is there a way to do this? Julie Reardon-Taylor PRO-SOFT OF NY, INC. 44 Public Square Suite #5 Watertown, NY 13601 Phone/Fax: (315) 785-0319 www.pro-soft.net From paul.hartland at isharp.co.uk Tue Aug 16 08:41:49 2005 From: paul.hartland at isharp.co.uk (Paul Hartland (ISHARP)) Date: Tue, 16 Aug 2005 14:41:49 +0100 Subject: [AccessD] New Record Appearing on Top In-Reply-To: Message-ID: The way I used to do this is if you have something like an autonumber on the table for the new record, is sort the subform on the Autonumber in descending order -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Julie Reardon-Taylor Sent: 16 August 2005 14:35 To: accessd at databaseadvisors.com Subject: [AccessD] New Record Appearing on Top I have seen this question posted before and cannot remember the response. A client has asked that the "new" record in a continuous form appear at the top. I know that Access doesn't work that way.....but is there a way to do this? Julie Reardon-Taylor PRO-SOFT OF NY, INC. 44 Public Square Suite #5 Watertown, NY 13601 Phone/Fax: (315) 785-0319 www.pro-soft.net -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From dwaters at usinternet.com Tue Aug 16 08:48:20 2005 From: dwaters at usinternet.com (Dan Waters) Date: Tue, 16 Aug 2005 08:48:20 -0500 Subject: [AccessD] New Record Appearing on Top In-Reply-To: <4640397.1124198665347.JavaMail.root@sniper21> Message-ID: <000001c5a269$2bb3b2f0$0300a8c0@danwaters> Julie, Yes - and it's a nice feature. The way to do this is to create fields directly above the subform container that mimic the fields in the continuous form. These fields will be unbound. A user will fill in these fields and push a Save button when done. The save button will cause the data in the unbound fields to be inserted into the table behind the subform. If your subform is sorted in descending order by it's autonumber field, then the new record will display at the top of the subform. I use this method in an hours tracking database. The Save button's click event code is shown below: Private Sub butSaveHours_Click() Dim stgSQL As String stgSQL = "INSERT INTO tblHours (ClientID, Category, SubCategory, Hours, ActivityDate, Description)" _ & " VALUES (" & txtClientID & ", '" & cboCategory & "', '" & cboSubCategory & "', " & txtHours & ", '" & txtActivityDate & "', '" & memDescription & "');" DoCmd.SetWarnings False DoCmd.RunSQL stgSQL DoCmd.SetWarnings True cboCategory = Null cboSubCategory = Null txtHours = Null txtActivityDate = Null memDescription = Null Me.Refresh cboCategory.SetFocus butSaveHours.Enabled = False End Sub Note that the ClientID field is the Primary Key for the main table and is also the Foreign Key for the related sub table. HTH, Dan Waters -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Julie Reardon-Taylor Sent: Tuesday, August 16, 2005 8:35 AM To: accessd at databaseadvisors.com Subject: [AccessD] New Record Appearing on Top I have seen this question posted before and cannot remember the response. A client has asked that the "new" record in a continuous form appear at the top. I know that Access doesn't work that way.....but is there a way to do this? Julie Reardon-Taylor PRO-SOFT OF NY, INC. 44 Public Square Suite #5 Watertown, NY 13601 Phone/Fax: (315) 785-0319 www.pro-soft.net -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From prosoft6 at hotmail.com Tue Aug 16 09:10:05 2005 From: prosoft6 at hotmail.com (Julie Reardon-Taylor) Date: Tue, 16 Aug 2005 10:10:05 -0400 Subject: [AccessD] New Record Appearing on Top In-Reply-To: Message-ID: Thanks Dan and Paul. Very useful info, I'll try it. As always, this group is awesome!!!!! Julie Reardon-Taylor PRO-SOFT OF NY, INC. 44 Public Square Suite #5 Watertown, NY 13601 Phone/Fax: (315) 785-0319 www.pro-soft.net From adtp at touchtelindia.net Tue Aug 16 09:27:37 2005 From: adtp at touchtelindia.net (A.D.Tejpal) Date: Tue, 16 Aug 2005 19:57:37 +0530 Subject: [AccessD] New Record Appearing on Top References: Message-ID: <009401c5a26e$cee95e70$891865cb@winxp> Julie, My sample db named AddDataAtTop might be of interest to you. It is available at Rogers Access Library (other developers library). Link - http://www.rogersaccesslibrary.com The sample demonstrates three styles of data entry at top of a subform - (a) Continuous Form Display (Using Command Button) - Data is entered via unbound text boxes in subform header, using command button on the parent form. Freshly added Record is highlighted in green, while other recent records added in current session are shown in orange. (b) Datasheet Display (Using Command Button) - On clicking the command button on parent form, fresh blank record (highlighted in green) is presented at the top of subform for enabling data entry. Recent records added in current session are shown in orange. (c) Datasheet Display (Auto - No command button) - On opening the main form, user is presented with fresh blank record (highlighted in green) at the top of subform. As soon as data entry commences in this record, its back color changes to yellow, while another fresh blank record (in green) is offered at top. All other recent records added in current session are shown in orange. You could adapt the underlying approach suitably, for your specific needs. Best wishes, A.D.Tejpal -------------- ----- Original Message ----- From: Julie Reardon-Taylor To: accessd at databaseadvisors.com Sent: Tuesday, August 16, 2005 19:05 Subject: [AccessD] New Record Appearing on Top I have seen this question posted before and cannot remember the response. A client has asked that the "new" record in a continuous form appear at the top. I know that Access doesn't work that way.....but is there a way to do this? Julie Reardon-Taylor PRO-SOFT OF NY, INC. 44 Public Square Suite #5 Watertown, NY 13601 Phone/Fax: (315) 785-0319 www.pro-soft.net From andy at minstersystems.co.uk Tue Aug 16 09:31:15 2005 From: andy at minstersystems.co.uk (Andy Lacey) Date: Tue, 16 Aug 2005 15:31:15 +0100 Subject: [AccessD] New Record Appearing on Top Message-ID: <20050816143112.85AC024DEB6@smtp.nildram.co.uk> I don't know if you use BEU, Julie, but if you do that gives an example of what Dan's describing. -- Andy Lacey http://www.minstersystems.co.uk --------- Original Message -------- From: "Access Developers discussion and problem solving" To: "accessd at databaseadvisors.com" Subject: RE: [AccessD] New Record Appearing on Top Date: 16/08/05 14:11 Thanks Dan and Paul. Very useful info, I'll try it. As always, this group is awesome!!!!! Julie Reardon-Taylor PRO-SOFT OF NY, INC. 44 Public Square Suite #5 Watertown, NY 13601 Phone/Fax: (315) 785-0319 www.pro-soft.net -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com ________________________________________________ Message sent using UebiMiau 2.7.2 From dwaters at usinternet.com Tue Aug 16 09:47:11 2005 From: dwaters at usinternet.com (Dan Waters) Date: Tue, 16 Aug 2005 09:47:11 -0500 Subject: [AccessD] OT - Excel VBA Cell Selection Syntax (x-posted) Message-ID: <000201c5a271$63f85370$0300a8c0@danwaters> Hello to All, I'm struggling with syntax for the selection of cells when trying to use row and column indexes. Below is an example: Example A: Worksheets("Available Items").Range("A2:B123").Select Example B: Worksheets("Available Items").Range(Cells(2, 1), Cells(123, 2)).Select Example A works fine, but B does not. Both are from Excel Help files (see the Range Property). Once this works I will substitute a variable for the 123 value. Thanks! Dan Waters From cfoust at infostatsystems.com Tue Aug 16 10:39:33 2005 From: cfoust at infostatsystems.com (Charlotte Foust) Date: Tue, 16 Aug 2005 08:39:33 -0700 Subject: [AccessD] New Record Appearing on Top Message-ID: Others have given you chapter and verse on approaches to this, so let me ask you a question: Is the client going to be happy with the new rows falling to the bottom of the list after they're added "at the top"? Depending on the default sort for the form/subform, that row just added at the top may disappear entirely from the visible records. That is something clients frequently overlook when asking for a feature like this, and it needs to be discussed before you go to a lot of effort to provide something they're going to decide they don't like. Charlotte Foust -----Original Message----- From: Julie Reardon-Taylor [mailto:prosoft6 at hotmail.com] Sent: Tuesday, August 16, 2005 6:35 AM To: accessd at databaseadvisors.com Subject: [AccessD] New Record Appearing on Top I have seen this question posted before and cannot remember the response. A client has asked that the "new" record in a continuous form appear at the top. I know that Access doesn't work that way.....but is there a way to do this? Julie Reardon-Taylor PRO-SOFT OF NY, INC. 44 Public Square Suite #5 Watertown, NY 13601 Phone/Fax: (315) 785-0319 www.pro-soft.net -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From cfoust at infostatsystems.com Tue Aug 16 10:43:17 2005 From: cfoust at infostatsystems.com (Charlotte Foust) Date: Tue, 16 Aug 2005 08:43:17 -0700 Subject: [AccessD] I Need Some Ideas Message-ID: Bryan, Get the student version and dive into VB.Net. It takes time to learn but the results are well worth it. Charlotte Foust -----Original Message----- From: Bryan Carbonnell [mailto:carbonnb at sympatico.ca] Sent: Monday, August 15, 2005 6:45 PM To: access Developers discussion and problem solving Subject: [AccessD] I Need Some Ideas I have found myself in a situation that gives me an inordinate amount of free time and I'm looking for some ideas to fill my time. I am thinking of something that would make development easier or a specifc app that would greatly help developers. I need something to keep my mind active and fingers busy :) It can be anything from Access to Word to Excel (Office 2K), even VB 6. I'm open to any and all suggestion. And If I can learn something new, that would be even better. Let the flood gates open :-) -- Bryan Carbonnell - carbonnb at sympatico.ca Don't cry because it's over; smile because it happened. -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From R.Griffiths at bury.gov.uk Tue Aug 16 10:46:56 2005 From: R.Griffiths at bury.gov.uk (Griffiths, Richard) Date: Tue, 16 Aug 2005 16:46:56 +0100 Subject: [AccessD] Update BE Message-ID: <200508161536.j7GFan926891@smarthost.yourcomms.net> Hi After advice/resources. I have written an application using vb.net which is to run with A2K BE and SQL 2000 BE. I am trying to think about how to update the back end. I have a number of options, one being to write VB code and using DAO or ADO update the BE. But I think this will involve further deployment of VB and Jet/Vba and MS Access (runtime) etc. The other option (no doubt there are others) is to write CREATE TABLE and ALTER TABLE statements (and this can be deployed within a exe running vb.net). I think this is tidier, however there is not much documentation on this process ( CREATE TABLE and ALTER TABLE etc) for MS Access. Does anyone have code and/or can offer good sources on the web to help me here. Any other solutions? Many thanks Richard From Jim.Hale at FleetPride.com Tue Aug 16 10:44:29 2005 From: Jim.Hale at FleetPride.com (Hale, Jim) Date: Tue, 16 Aug 2005 10:44:29 -0500 Subject: [AccessD] OT - Excel VBA Cell Selection Syntax (x-posted) Message-ID: <6A6AA9DF57E4F046BDA1E273BDDB6772337787@corp-es01.fleetpride.com> try (runs from within Excel. If you want to run from inside Access you will need an Excel object) Function test() Dim wsItems As Worksheet Set wsItems = Worksheets("Available Items") wsItems.Range(wsItems.Cells(2, 1), wsItems.Cells(123, 2)).Select Set wsItems = Nothing End Function Jim Hale -----Original Message----- From: Dan Waters [mailto:dwaters at usinternet.com] Sent: Tuesday, August 16, 2005 9:47 AM To: DBA-Tech; AccessD Subject: [AccessD] OT - Excel VBA Cell Selection Syntax (x-posted) Hello to All, I'm struggling with syntax for the selection of cells when trying to use row and column indexes. Below is an example: Example A: Worksheets("Available Items").Range("A2:B123").Select Example B: Worksheets("Available Items").Range(Cells(2, 1), Cells(123, 2)).Select Example A works fine, but B does not. Both are from Excel Help files (see the Range Property). Once this works I will substitute a variable for the 123 value. Thanks! Dan Waters -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com *********************************************************************** The information transmitted is intended solely for the individual or entity to which it is addressed and may contain confidential and/or privileged material. Any review, retransmission, dissemination or other use of or taking action in reliance upon this information by persons or entities other than the intended recipient is prohibited. If you have received this email in error please contact the sender and delete the material from any computer. As a recipient of this email, you are responsible for screening its contents and the contents of any attachments for the presence of viruses. No liability is accepted for any damages caused by any virus transmitted by this email. From cfoust at infostatsystems.com Tue Aug 16 10:46:51 2005 From: cfoust at infostatsystems.com (Charlotte Foust) Date: Tue, 16 Aug 2005 08:46:51 -0700 Subject: [AccessD] Database close bug (apparently) resolved Message-ID: Glad you found the problem and the answer, John. One of the plagues on my existence is when all the code runs as you step through it and then throws an error on the End Sub line!! Tracking that down usually has me beating my head against the walls because the error in question is often entirely unrelated to the sub itself! :-{ Charlotte Foust -----Original Message----- From: John W. Colby [mailto:jwcolby at colbyconsulting.com] Sent: Monday, August 15, 2005 6:03 PM To: 'Access Developers discussion and problem solving' Subject: [AccessD] Database close bug (apparently) resolved Well... It appears that my bug has been resolved. The form in question has a combo, the list for which is a result of a state machine. IOW, if you are in state A, then you can go to state B, D, F or G but not C, E etc. Thus the list for the combo has to be calculated as the form opens based on the current state, a SQL statement generated and placed in the combo rowsource property. In fact, for troubleshooting purposes, I had a saved querydef which I modified with the results of this calculated SQL Statement, then placed the name of the saved query in the combo's RowSource property after the calculation, and modification of the querydef. Once I knew that it was this class that was causing the issue, I was able to "divide and conquer" (comment out statements until it was found) and discovered that it was the process of modifying the saved querydef that was causing the unexpected close. The combo RowSource is set to the name of the saved query when the form opens, then the RowSource is set to "" (cleared), the querydef opened and the SQL property modified with the calculated SQL statement and closed, then the name of the query placed back in the combo which causes the combo to "requery" and pull the data per the SQL statement and display that dataset. For whatever reason, that modify/save/store in combo process was causing the close issue. By simply deleting the named query from the combo's RowSource, then placing the SQL statement itself directly in the combo, the database no longer closes unexpectedly. Now I have to do a "Find" to make sure that the stored query is not used any where else after the combo is loaded, and if not, I can just leave things as they are with a note in the commented out code to indicate that it caused my "database close" issue. What a PITA. And why doesn't Access close immediately (or better yet, throw an error if it doesn't like this?) when I am screwing around with the querydef instead of after OnCurrent finishes? And what is it that makes it OS sensitive? All things I will no doubt never see the answer to. But... I have fixed my problem. John W. Colby www.ColbyConsulting.com Contribute your unused CPU cycles to a good cause: http://folding.stanford.edu/ -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From dwaters at usinternet.com Tue Aug 16 11:13:52 2005 From: dwaters at usinternet.com (Dan Waters) Date: Tue, 16 Aug 2005 11:13:52 -0500 Subject: [AccessD] OT - Excel VBA Cell Selection Syntax (x-posted) In-Reply-To: <4467491.1124207341552.JavaMail.root@sniper17> Message-ID: <000001c5a27d$813b0e30$0300a8c0@danwaters> Hi Jim, Well - I got the same 1004 (Select Method of Range Class Failed) error. I am running from within Excel. However, when I held the mouse over the wsItems.Cells phrase, intellisense displayed the value of that cell. Seems like a step forward but more is needed. Dan Waters -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Hale, Jim Sent: Tuesday, August 16, 2005 10:44 AM To: 'Access Developers discussion and problem solving' Subject: RE: [AccessD] OT - Excel VBA Cell Selection Syntax (x-posted) try (runs from within Excel. If you want to run from inside Access you will need an Excel object) Function test() Dim wsItems As Worksheet Set wsItems = Worksheets("Available Items") wsItems.Range(wsItems.Cells(2, 1), wsItems.Cells(123, 2)).Select Set wsItems = Nothing End Function Jim Hale -----Original Message----- From: Dan Waters [mailto:dwaters at usinternet.com] Sent: Tuesday, August 16, 2005 9:47 AM To: DBA-Tech; AccessD Subject: [AccessD] OT - Excel VBA Cell Selection Syntax (x-posted) Hello to All, I'm struggling with syntax for the selection of cells when trying to use row and column indexes. Below is an example: Example A: Worksheets("Available Items").Range("A2:B123").Select Example B: Worksheets("Available Items").Range(Cells(2, 1), Cells(123, 2)).Select Example A works fine, but B does not. Both are from Excel Help files (see the Range Property). Once this works I will substitute a variable for the 123 value. Thanks! Dan Waters -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com *********************************************************************** The information transmitted is intended solely for the individual or entity to which it is addressed and may contain confidential and/or privileged material. Any review, retransmission, dissemination or other use of or taking action in reliance upon this information by persons or entities other than the intended recipient is prohibited. If you have received this email in error please contact the sender and delete the material from any computer. As a recipient of this email, you are responsible for screening its contents and the contents of any attachments for the presence of viruses. No liability is accepted for any damages caused by any virus transmitted by this email. From prosoft6 at hotmail.com Tue Aug 16 11:31:48 2005 From: prosoft6 at hotmail.com (Julie Reardon-Taylor) Date: Tue, 16 Aug 2005 12:31:48 -0400 Subject: [AccessD] New Record Appearing on Top In-Reply-To: Message-ID: Good point Charlotte. I don't really like it either.....and certainly have given the client what they want, only to have to turn around and "re-do" what they thought was a great thing. Thank you for your thoughts. Julie Reardon-Taylor PRO-SOFT OF NY, INC. 44 Public Square Suite #5 Watertown, NY 13601 Phone/Fax: (315) 785-0319 www.pro-soft.net From DWUTKA at marlow.com Tue Aug 16 11:29:48 2005 From: DWUTKA at marlow.com (DWUTKA at marlow.com) Date: Tue, 16 Aug 2005 11:29:48 -0500 Subject: [AccessD] I Need Some Ideas Message-ID: <123701F54509D9119A4F00D0B747349016DD4A@main2.marlow.com> How about a master table-linker service? Create a service that can be run on any machine in the network, which 'knows' the location of all linked tables. One module in the database runs at startup, 'scans' the network for the 'server' which tells it if it needs to relink it's tables or not. I've got code for the scanning portion..... Drew -----Original Message----- From: Bryan Carbonnell [mailto:carbonnb at sympatico.ca] Sent: Monday, August 15, 2005 8:45 PM To: access Developers discussion and problem solving Subject: [AccessD] I Need Some Ideas I have found myself in a situation that gives me an inordinate amount of free time and I'm looking for some ideas to fill my time. I am thinking of something that would make development easier or a specifc app that would greatly help developers. I need something to keep my mind active and fingers busy :) It can be anything from Access to Word to Excel (Office 2K), even VB 6. I'm open to any and all suggestion. And If I can learn something new, that would be even better. Let the flood gates open :-) -- Bryan Carbonnell - carbonnb at sympatico.ca Don't cry because it's over; smile because it happened. -- 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 Aug 16 11:43:49 2005 From: Jim.Hale at FleetPride.com (Hale, Jim) Date: Tue, 16 Aug 2005 11:43:49 -0500 Subject: [AccessD] OT - Excel VBA Cell Selection Syntax (x-posted) Message-ID: <6A6AA9DF57E4F046BDA1E273BDDB6772337789@corp-es01.fleetpride.com> This function works fine in my test workbook. Is "available items" correct, ie. no leading or trailing spaces in the name? Also, make sure wsItems is dimmed as a worksheet not worksheets. Jim Hale -----Original Message----- From: Dan Waters [mailto:dwaters at usinternet.com] Sent: Tuesday, August 16, 2005 11:14 AM To: 'Access Developers discussion and problem solving' Subject: RE: [AccessD] OT - Excel VBA Cell Selection Syntax (x-posted) Hi Jim, Well - I got the same 1004 (Select Method of Range Class Failed) error. I am running from within Excel. However, when I held the mouse over the wsItems.Cells phrase, intellisense displayed the value of that cell. Seems like a step forward but more is needed. Dan Waters -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Hale, Jim Sent: Tuesday, August 16, 2005 10:44 AM To: 'Access Developers discussion and problem solving' Subject: RE: [AccessD] OT - Excel VBA Cell Selection Syntax (x-posted) try (runs from within Excel. If you want to run from inside Access you will need an Excel object) Function test() Dim wsItems As Worksheet Set wsItems = Worksheets("Available Items") wsItems.Range(wsItems.Cells(2, 1), wsItems.Cells(123, 2)).Select Set wsItems = Nothing End Function Jim Hale -----Original Message----- From: Dan Waters [mailto:dwaters at usinternet.com] Sent: Tuesday, August 16, 2005 9:47 AM To: DBA-Tech; AccessD Subject: [AccessD] OT - Excel VBA Cell Selection Syntax (x-posted) Hello to All, I'm struggling with syntax for the selection of cells when trying to use row and column indexes. Below is an example: Example A: Worksheets("Available Items").Range("A2:B123").Select Example B: Worksheets("Available Items").Range(Cells(2, 1), Cells(123, 2)).Select Example A works fine, but B does not. Both are from Excel Help files (see the Range Property). Once this works I will substitute a variable for the 123 value. Thanks! Dan Waters -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com *********************************************************************** The information transmitted is intended solely for the individual or entity to which it is addressed and may contain confidential and/or privileged material. Any review, retransmission, dissemination or other use of or taking action in reliance upon this information by persons or entities other than the intended recipient is prohibited. If you have received this email in error please contact the sender and delete the material from any computer. As a recipient of this email, you are responsible for screening its contents and the contents of any attachments for the presence of viruses. No liability is accepted for any damages caused by any virus transmitted by this email. -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com *********************************************************************** The information transmitted is intended solely for the individual or entity to which it is addressed and may contain confidential and/or privileged material. Any review, retransmission, dissemination or other use of or taking action in reliance upon this information by persons or entities other than the intended recipient is prohibited. If you have received this email in error please contact the sender and delete the material from any computer. As a recipient of this email, you are responsible for screening its contents and the contents of any attachments for the presence of viruses. No liability is accepted for any damages caused by any virus transmitted by this email. From dwaters at usinternet.com Tue Aug 16 13:53:38 2005 From: dwaters at usinternet.com (Dan Waters) Date: Tue, 16 Aug 2005 13:53:38 -0500 Subject: [AccessD] OT - Excel VBA Cell Selection Syntax (x-posted) In-Reply-To: <23876804.1124210819788.JavaMail.root@sniper17> Message-ID: <000001c5a293$d2132750$0300a8c0@danwaters> Yes, it is correct. I'm going to try creating a new workbook and copy everything over, just in case there is something wrong with the file itself. Dan Waters -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Hale, Jim Sent: Tuesday, August 16, 2005 11:44 AM To: 'Access Developers discussion and problem solving' Subject: RE: [AccessD] OT - Excel VBA Cell Selection Syntax (x-posted) This function works fine in my test workbook. Is "available items" correct, ie. no leading or trailing spaces in the name? Also, make sure wsItems is dimmed as a worksheet not worksheets. Jim Hale -----Original Message----- From: Dan Waters [mailto:dwaters at usinternet.com] Sent: Tuesday, August 16, 2005 11:14 AM To: 'Access Developers discussion and problem solving' Subject: RE: [AccessD] OT - Excel VBA Cell Selection Syntax (x-posted) Hi Jim, Well - I got the same 1004 (Select Method of Range Class Failed) error. I am running from within Excel. However, when I held the mouse over the wsItems.Cells phrase, intellisense displayed the value of that cell. Seems like a step forward but more is needed. Dan Waters -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Hale, Jim Sent: Tuesday, August 16, 2005 10:44 AM To: 'Access Developers discussion and problem solving' Subject: RE: [AccessD] OT - Excel VBA Cell Selection Syntax (x-posted) try (runs from within Excel. If you want to run from inside Access you will need an Excel object) Function test() Dim wsItems As Worksheet Set wsItems = Worksheets("Available Items") wsItems.Range(wsItems.Cells(2, 1), wsItems.Cells(123, 2)).Select Set wsItems = Nothing End Function Jim Hale -----Original Message----- From: Dan Waters [mailto:dwaters at usinternet.com] Sent: Tuesday, August 16, 2005 9:47 AM To: DBA-Tech; AccessD Subject: [AccessD] OT - Excel VBA Cell Selection Syntax (x-posted) Hello to All, I'm struggling with syntax for the selection of cells when trying to use row and column indexes. Below is an example: Example A: Worksheets("Available Items").Range("A2:B123").Select Example B: Worksheets("Available Items").Range(Cells(2, 1), Cells(123, 2)).Select Example A works fine, but B does not. Both are from Excel Help files (see the Range Property). Once this works I will substitute a variable for the 123 value. Thanks! Dan Waters -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com *********************************************************************** The information transmitted is intended solely for the individual or entity to which it is addressed and may contain confidential and/or privileged material. Any review, retransmission, dissemination or other use of or taking action in reliance upon this information by persons or entities other than the intended recipient is prohibited. If you have received this email in error please contact the sender and delete the material from any computer. As a recipient of this email, you are responsible for screening its contents and the contents of any attachments for the presence of viruses. No liability is accepted for any damages caused by any virus transmitted by this email. -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com *********************************************************************** The information transmitted is intended solely for the individual or entity to which it is addressed and may contain confidential and/or privileged material. Any review, retransmission, dissemination or other use of or taking action in reliance upon this information by persons or entities other than the intended recipient is prohibited. If you have received this email in error please contact the sender and delete the material from any computer. As a recipient of this email, you are responsible for screening its contents and the contents of any attachments for the presence of viruses. No liability is accepted for any damages caused by any virus transmitted by this email. From jwcolby at colbyconsulting.com Tue Aug 16 13:56:30 2005 From: jwcolby at colbyconsulting.com (John W. Colby) Date: Tue, 16 Aug 2005 14:56:30 -0400 Subject: [AccessD] I Need Some Ideas In-Reply-To: Message-ID: <001f01c5a294$39f4ef20$6c7aa8c0@ColbyM6805> What kind of wages? John W. Colby www.ColbyConsulting.com Contribute your unused CPU cycles to a good cause: http://folding.stanford.edu/ -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Julie Reardon-Taylor Sent: Tuesday, August 16, 2005 8:51 AM To: accessd at databaseadvisors.com Subject: Re: [AccessD] I Need Some Ideas Bryan, Where are you located? I know of a company who is trying to fill sixteen IT positions this fall. Julie Reardon-Taylor PRO-SOFT OF NY, INC. 44 Public Square Suite #5 Watertown, NY 13601 Phone/Fax: (315) 785-0319 www.pro-soft.net -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From john at winhaven.net Tue Aug 16 14:08:35 2005 From: john at winhaven.net (John Bartow) Date: Tue, 16 Aug 2005 14:08:35 -0500 Subject: [AccessD] I Need Some Ideas In-Reply-To: Message-ID: <200508161908.j7GJ8aR24489@databaseadvisors.com> Hi Bryan, An ambitiuos question! How about a set of classes for easily automating Word from Access? -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Bryan Carbonnell Sent: Monday, August 15, 2005 8:45 PM To: access Developers discussion and problem solving Subject: [AccessD] I Need Some Ideas I have found myself in a situation that gives me an inordinate amount of free time and I'm looking for some ideas to fill my time. I am thinking of something that would make development easier or a specifc app that would greatly help developers. I need something to keep my mind active and fingers busy :) It can be anything from Access to Word to Excel (Office 2K), even VB 6. I'm open to any and all suggestion. And If I can learn something new, that would be even better. Let the flood gates open :-) -- Bryan Carbonnell - carbonnb at sympatico.ca Don't cry because it's over; smile because it happened. -- 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 Aug 16 14:25:20 2005 From: Jim.Hale at FleetPride.com (Hale, Jim) Date: Tue, 16 Aug 2005 14:25:20 -0500 Subject: [AccessD] I Need Some Ideas Message-ID: <6A6AA9DF57E4F046BDA1E273BDDB677233778A@corp-es01.fleetpride.com> One of my favorite Access books was "Access 95 How-To" by Ken Getz and Paul Litwin. It was updated and re-released as the "Access Cookbook" by O'Reilly in 2002. This book posed a problem and provided the solution together with a detailed explanation. No extraneous junk. The reason I bring this up is that I think an AccessD book organized along the same lines would make a fantastic project. After all, the archives have hundreds of solution unavailable elsewhere. AccessD could receive royalties along with the author to allow the group to continue paying its modest bills. I presume releases would be required from posters since some material (such as John's framework tutorials) are intended for publication in their own book. As the authors on this list can attest no book is an "easy" project but I think this would be a win for AccessD, developers, and the author willing to take on the job. My 2 cents. Jim Hale -----Original Message----- From: DWUTKA at marlow.com [mailto:DWUTKA at marlow.com] Sent: Tuesday, August 16, 2005 11:30 AM To: accessd at databaseadvisors.com Subject: RE: [AccessD] I Need Some Ideas How about a master table-linker service? Create a service that can be run on any machine in the network, which 'knows' the location of all linked tables. One module in the database runs at startup, 'scans' the network for the 'server' which tells it if it needs to relink it's tables or not. I've got code for the scanning portion..... Drew -----Original Message----- From: Bryan Carbonnell [mailto:carbonnb at sympatico.ca] Sent: Monday, August 15, 2005 8:45 PM To: access Developers discussion and problem solving Subject: [AccessD] I Need Some Ideas I have found myself in a situation that gives me an inordinate amount of free time and I'm looking for some ideas to fill my time. I am thinking of something that would make development easier or a specifc app that would greatly help developers. I need something to keep my mind active and fingers busy :) It can be anything from Access to Word to Excel (Office 2K), even VB 6. I'm open to any and all suggestion. And If I can learn something new, that would be even better. Let the flood gates open :-) -- Bryan Carbonnell - carbonnb at sympatico.ca Don't cry because it's over; smile because it happened. -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com *********************************************************************** The information transmitted is intended solely for the individual or entity to which it is addressed and may contain confidential and/or privileged material. Any review, retransmission, dissemination or other use of or taking action in reliance upon this information by persons or entities other than the intended recipient is prohibited. If you have received this email in error please contact the sender and delete the material from any computer. As a recipient of this email, you are responsible for screening its contents and the contents of any attachments for the presence of viruses. No liability is accepted for any damages caused by any virus transmitted by this email. From john at winhaven.net Tue Aug 16 14:25:46 2005 From: john at winhaven.net (John Bartow) Date: Tue, 16 Aug 2005 14:25:46 -0500 Subject: [AccessD] Welcome to New Subscribers Message-ID: <200508161925.j7GJPmR28409@databaseadvisors.com> We've had quite a few new subscribers lately and I just want to say welcome to all of you! Although you are welcome to just read the mail coming through from others, or browse our archives, please feel free to ask questions or post comments. We strive for a friendly, community-like attitude here and we all try to help each other as much as possible. No one gets flamed here for asking Access related questions at any level! Once again, Welcome to our group, John Bartow, President Database Advisors, Inc. Email: mailto:president at databaseadvisors.com Website: http://www.databaseadvisors.com From jmhecht at earthlink.net Tue Aug 16 14:45:23 2005 From: jmhecht at earthlink.net (Joe Hecht) Date: Tue, 16 Aug 2005 12:45:23 -0700 Subject: [AccessD] I Need Some Ideas In-Reply-To: Message-ID: <001b01c5a29b$0b6d4bf0$6401a8c0@laptop1> Voice command app that would automatically write John Colby Classes and code for you. Joe Hecht Los Angeles CA -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Bryan Carbonnell Sent: Monday, August 15, 2005 6:45 PM To: access at joe2.endjunk.com; access Developers discussion and problem solving Subject: [AccessD] I Need Some Ideas I have found myself in a situation that gives me an inordinate amount of free time and I'm looking for some ideas to fill my time. I am thinking of something that would make development easier or a specifc app that would greatly help developers. I need something to keep my mind active and fingers busy :) It can be anything from Access to Word to Excel (Office 2K), even VB 6. I'm open to any and all suggestion. And If I can learn something new, that would be even better. Let the flood gates open :-) -- Bryan Carbonnell - carbonnb at sympatico.ca Don't cry because it's over; smile because it happened. -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From jmhecht at earthlink.net Tue Aug 16 14:47:11 2005 From: jmhecht at earthlink.net (Joe Hecht) Date: Tue, 16 Aug 2005 12:47:11 -0700 Subject: [AccessD] I Need Some Ideas In-Reply-To: Message-ID: <001c01c5a29b$4bb39ca0$6401a8c0@laptop1> Julie Here in Los Angeles Maybe? Joe Hecht Los Angeles CA -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Julie Reardon-Taylor Sent: Tuesday, August 16, 2005 5:51 AM To: accessd at databaseadvisors.com Subject: Re: [AccessD] I Need Some Ideas Bryan, Where are you located? I know of a company who is trying to fill sixteen IT positions this fall. Julie Reardon-Taylor PRO-SOFT OF NY, INC. 44 Public Square Suite #5 Watertown, NY 13601 Phone/Fax: (315) 785-0319 www.pro-soft.net -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From martyconnelly at shaw.ca Tue Aug 16 14:49:43 2005 From: martyconnelly at shaw.ca (MartyConnelly) Date: Tue, 16 Aug 2005 12:49:43 -0700 Subject: [AccessD] Ajax and Atlas with XML References: Message-ID: <43024357.8060104@shaw.ca> If looking for xml info starter sites. http://www.xml.org http://www.xml.com A vb oriented site was once vbxml.com http://www.topxml.com Try to buy XML books published in last 3 years otherwise you wont get latest in XSLT and XQuery. Old books maybe based on old XSL patterns which might prove confusing. Now here is the latest buzz in XML development with AJAX. In computer programming, AJAX (Asynchronous JavaScript and XML) is a method of building interactive applications for the Web that process user requests immediately.Ajax allows content on Web pages to update immediately when a user performs an action, unlike an HTTP request, during which users must wait for a whole new page to load. For example, a weather forecasting site could display local conditions on one side of the page without delay after a user types in a zip code. Google Map works this way. ATLAS is a downloadable javascript engine Microsoft is supposed to bring out in September at some convention. How difficult is this stuff well it is not rocket science. But an amalgam of 4 or 5 techniques. Ajax combines several programming tools including JavaScript, dynamic HTML (DHTML), Extensible Markup Language (XML), cascading style sheets (CSS), the Document Object Model (DOM), and the Microsoft object, XMLHttpRequest. After that you can use Web Services to grab the xml data. You could modify javascript to VBA too for use in Access. Some sites where you can grab javascript source and examples of Ajax or download them http://www.clearnova.com/ajax/index.html http://developer.apple.com/internet/webcontent/XMLHttpRequestExample/example.html Articles Dynamic HTML and xmlhttpRequest object http://developer.apple.com/internet/webcontent/xmlhttpreq.html Jesse Garrett What is Ajax? (The guy that gave it the name) http://www.adaptivepath.com/publications/essays/archives/000385.php Here is a elementary ajax sample just place the two files on your web server and run with java script enabled through your favourite browser. You can also run from hard disk directly in Netscape 7.0 but IE locally has security stops and uses file: protocol and not http: protocol so wont run correctly without a lot of fiddling with settings. Rather than use a object; might use document.innerhtml to get around for local use. On my server these two files http://www5.brinkster.com/mconnelly/ajax/ajax.html Save this file as UTF-8 not ANSI ajax.html Developing Web Applications with Ajax - Example

Developing Web Applications with Ajax

This page demonstrates the use of Asynchronous Javascript and XML (Ajax) technology to update a web page's content by reading from a remote file dynamically -- no page reloading is required. Note that this operation does not work for users without JavaScript enabled.

This is some sample data. It is the default data for this web page. View XML data.

Save this file below as UTF-8 data.xml This is some sample data. It is stored in an XML file and retrieved by JavaScript. Gustav Brock wrote: >Hi Bryan > >So no job? Or wife?? Is that what you are trying to tell? >On the other hand (for the job option, cannot tell for the wife >option), with your knowledge I would expect it to be easy for you to >find some "new challenges" except, of course, if things are a little >more complicated than they may appear to be ... > >Currently I'm facing some XML work. Haven't done anything with this and >Access and hardly know where to look except browsing this list ... >So an XML cookbook or guide is a suggestion. > >/gustav > > > >>>>carbonnb at sympatico.ca 08/16 3:45 am >>> >>>> >>>> >I have found myself in a situation that gives me an inordinate amount >of free time and I'm looking for some ideas to fill my time. > >I am thinking of something that would make development easier or a >specifc app that would greatly help developers. I need something to >keep my mind active and fingers busy :) > >It can be anything from Access to Word to Excel (Office 2K), even VB >6. > >I'm open to any and all suggestion. And If I can learn something new, >that would be even better. > >Let the flood gates open :-) > > > -- Marty Connelly Victoria, B.C. Canada From DWUTKA at marlow.com Tue Aug 16 14:59:57 2005 From: DWUTKA at marlow.com (DWUTKA at marlow.com) Date: Tue, 16 Aug 2005 14:59:57 -0500 Subject: [AccessD] I Need Some Ideas Message-ID: <123701F54509D9119A4F00D0B747349016DD4C@main2.marlow.com> That's easy, and requires no code or special hardware. Just call up JC, and tell him that you don't think his framework would hand XYZ...and let him prove you wrong. When he has given you proof, thank him, tell him he's stellar, and a god among mortals, and walk away with completed JC Classes. Of course, the same method will work on me too.... Drew -----Original Message----- From: Joe Hecht [mailto:jmhecht at earthlink.net] Sent: Tuesday, August 16, 2005 2:45 PM To: 'Access Developers discussion and problem solving' Subject: RE: [AccessD] I Need Some Ideas Voice command app that would automatically write John Colby Classes and code for you. Joe Hecht Los Angeles CA -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Bryan Carbonnell Sent: Monday, August 15, 2005 6:45 PM To: access at joe2.endjunk.com; access Developers discussion and problem solving Subject: [AccessD] I Need Some Ideas I have found myself in a situation that gives me an inordinate amount of free time and I'm looking for some ideas to fill my time. I am thinking of something that would make development easier or a specifc app that would greatly help developers. I need something to keep my mind active and fingers busy :) It can be anything from Access to Word to Excel (Office 2K), even VB 6. I'm open to any and all suggestion. And If I can learn something new, that would be even better. Let the flood gates open :-) -- Bryan Carbonnell - carbonnb at sympatico.ca Don't cry because it's over; smile because it happened. -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From Chester_Kaup at kindermorgan.com Tue Aug 16 16:23:58 2005 From: Chester_Kaup at kindermorgan.com (Kaup, Chester) Date: Tue, 16 Aug 2005 16:23:58 -0500 Subject: [AccessD] Why is function being called?? Message-ID: Below is a piece of code. DaysInMonth is a function. When the code runs and hits the line myds1.Fields(2) = Nz(myds4.Fields(8)) the function runs. I don't see anything that is calling it. Your thoughts appreciated. Do Until myds4.EOF DaysinMonth = DaysInMonth2(myds3.Fields(1)) If Day(myds3.Fields(1)) < DaysinMonth And RecordCounter = 1 Then StartCounter = Day(myds3.Fields(1)) ProdDate = myds3.Fields(1) Else StartCounter = 1 ProdDate = myds4.Fields(1) End If For I = StartCounter To DaysinMonth myds1.AddNew myds1.Fields(0) = ProdDate myds1.Fields(1) = myds4.Fields(0) myds1.Fields(2) = Nz(myds4.Fields(8)) myds1.Update ProdDate = ProdDate + 1 Next I RecordCounter = RecordCounter + 1 myds4.MoveNext Loop Chester Kaup Engineering Technician Kinder Morgan CO2 Company, LLP Office (432) 688-3797 FAX (432) 688-3799 No trees were killed in the sending of this message. However a large number of electrons were terribly inconvenienced. From jwcolby at colbyconsulting.com Tue Aug 16 16:25:58 2005 From: jwcolby at colbyconsulting.com (John W. Colby) Date: Tue, 16 Aug 2005 17:25:58 -0400 Subject: [AccessD] I Need Some Ideas In-Reply-To: <123701F54509D9119A4F00D0B747349016DD4C@main2.marlow.com> Message-ID: <004e01c5a2a9$1bf1a080$6c7aa8c0@ColbyM6805> ROTFLMAO. John W. Colby www.ColbyConsulting.com Contribute your unused CPU cycles to a good cause: http://folding.stanford.edu/ -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of DWUTKA at marlow.com Sent: Tuesday, August 16, 2005 4:00 PM To: accessd at databaseadvisors.com Subject: RE: [AccessD] I Need Some Ideas That's easy, and requires no code or special hardware. Just call up JC, and tell him that you don't think his framework would hand XYZ...and let him prove you wrong. When he has given you proof, thank him, tell him he's stellar, and a god among mortals, and walk away with completed JC Classes. Of course, the same method will work on me too.... Drew -----Original Message----- From: Joe Hecht [mailto:jmhecht at earthlink.net] Sent: Tuesday, August 16, 2005 2:45 PM To: 'Access Developers discussion and problem solving' Subject: RE: [AccessD] I Need Some Ideas Voice command app that would automatically write John Colby Classes and code for you. Joe Hecht Los Angeles CA -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From pedro at plex.nl Tue Aug 16 16:36:04 2005 From: pedro at plex.nl (Pedro Janssen) Date: Tue, 16 Aug 2005 23:36:04 +0200 Subject: [AccessD] checkboxes aren't functioning Message-ID: <00aa01c5a2aa$8221f250$fac581d5@pedro> Hello Group, how is it possible that suddenly on a form in almost al records certain checkboxes are working but in some records they don't function (are greyed out and can't make them "true" or "not true"). Nothing strange happened before. Pedro Janssen From DWUTKA at marlow.com Tue Aug 16 16:36:35 2005 From: DWUTKA at marlow.com (DWUTKA at marlow.com) Date: Tue, 16 Aug 2005 16:36:35 -0500 Subject: [AccessD] I Need Some Ideas Message-ID: <123701F54509D9119A4F00D0B747349016DD50@main2.marlow.com> , I was hoping you were going to get a good chuckle out of that. Personally, I think that is one of the main factors why this list puts out good tips, and is so helpful to people. It's the 'chest pounding' factor. Whether we want to admit it or not, we'll fall all over each other trying to help someone because we want to show off a bit. This is one of the rare parts of our lives where people actually CAN appreciate how brilliant we all our.... ;) I tried explaining a process I was working on involving custom events and classes to a fellow computer geek, and I got the glassy eyed look of complete confusion. So to everyone on the list, we're all geniuses....so pat someone on the back when you can, and get ready to be patted yourself. Yes, to the rest of the world we're a bunch of 'nerds', but wear that label with pride. (a few tattoos and a decent weight training program will keep most of the 'nerd' remarks in check....) ;) Just keep in mind that while we all like to impress with our ideas, genius comes with a lot of prejudice, so the occasional bound/unbound, natural/surrogate key, and naming convention argument are simply a way of maintaining our individuality in the world of massive neuron flux. ;) Drew -----Original Message----- From: John W. Colby [mailto:jwcolby at colbyconsulting.com] Sent: Tuesday, August 16, 2005 4:26 PM To: 'Access Developers discussion and problem solving' Subject: RE: [AccessD] I Need Some Ideas ROTFLMAO. John W. Colby www.ColbyConsulting.com Contribute your unused CPU cycles to a good cause: http://folding.stanford.edu/ -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of DWUTKA at marlow.com Sent: Tuesday, August 16, 2005 4:00 PM To: accessd at databaseadvisors.com Subject: RE: [AccessD] I Need Some Ideas That's easy, and requires no code or special hardware. Just call up JC, and tell him that you don't think his framework would hand XYZ...and let him prove you wrong. When he has given you proof, thank him, tell him he's stellar, and a god among mortals, and walk away with completed JC Classes. Of course, the same method will work on me too.... Drew -----Original Message----- From: Joe Hecht [mailto:jmhecht at earthlink.net] Sent: Tuesday, August 16, 2005 2:45 PM To: 'Access Developers discussion and problem solving' Subject: RE: [AccessD] I Need Some Ideas Voice command app that would automatically write John Colby Classes and code for you. Joe Hecht Los Angeles CA -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd 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 Aug 16 16:54:03 2005 From: cfoust at infostatsystems.com (Charlotte Foust) Date: Tue, 16 Aug 2005 14:54:03 -0700 Subject: [AccessD] checkboxes aren't functioning Message-ID: Not enough information to provide an answer. If the checkboxes are actually disabled on existing records, then I would suspect code behind the form disabling them depending on specific circumstances. Charlotte Foust -----Original Message----- From: Pedro Janssen [mailto:pedro at plex.nl] Sent: Tuesday, August 16, 2005 2:36 PM To: AccessD at databaseadvisors.com Subject: [AccessD] checkboxes aren't functioning Hello Group, how is it possible that suddenly on a form in almost al records certain checkboxes are working but in some records they don't function (are greyed out and can't make them "true" or "not true"). Nothing strange happened before. Pedro Janssen -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From karenr7 at oz.net Tue Aug 16 17:14:16 2005 From: karenr7 at oz.net (Karen Rosenstiel) Date: Tue, 16 Aug 2005 15:14:16 -0700 Subject: [AccessD] WIERD little problem In-Reply-To: <7B1961ED924D1A459E378C9B1BB22B4C0492CC71@natexch.jenkens.com> Message-ID: <200508162214.j7GMEER15199@databaseadvisors.com> I have a simple little scheduling database, front end and back end. I tried to print a report for tomorrow - a simple list - the database crashed. For some strange reason I cannot print the reports I need for tomorrow, although I could print reports for different dates - just not for tomorrow. It closed itself down and tried to compact itself and send a report to MS. At that point, I discovered that one of staff left open the front end with a little popup form from which you can view or print the reports wide open. I got her out of a meeting to shut down her open Access and then deleted the backup copies and the .ldb files. I could compact/repair the BE but not the FE. Has anybody had anything like this happen before? Any suggestions? I need to mention that I can't send the database to anybody for inspection because of confidentiality restrictions (I work in a jail health clinic). Thanks in advance. Regards, Karen Rosenstiel Seattle WA USA From jwcolby at colbyconsulting.com Tue Aug 16 17:26:45 2005 From: jwcolby at colbyconsulting.com (John W. Colby) Date: Tue, 16 Aug 2005 18:26:45 -0400 Subject: [AccessD] I Need Some Ideas In-Reply-To: <123701F54509D9119A4F00D0B747349016DD50@main2.marlow.com> Message-ID: <004f01c5a2b1$961ad860$6c7aa8c0@ColbyM6805> >so the occasional bound/unbound, natural/surrogate key, and naming convention argument are simply a way of maintaining our individuality in the world of massive neuron flux. ;) No, unbound forms and surrogate keys are just superior. ;-0 And of course anyone who doesn't use a naming convention, specifically MY naming convention is... a dolt. John W. Colby www.ColbyConsulting.com Contribute your unused CPU cycles to a good cause: http://folding.stanford.edu/ -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of DWUTKA at marlow.com Sent: Tuesday, August 16, 2005 5:37 PM To: accessd at databaseadvisors.com Subject: RE: [AccessD] I Need Some Ideas , I was hoping you were going to get a good chuckle out of that. Personally, I think that is one of the main factors why this list puts out good tips, and is so helpful to people. It's the 'chest pounding' factor. Whether we want to admit it or not, we'll fall all over each other trying to help someone because we want to show off a bit. This is one of the rare parts of our lives where people actually CAN appreciate how brilliant we all our.... ;) I tried explaining a process I was working on involving custom events and classes to a fellow computer geek, and I got the glassy eyed look of complete confusion. So to everyone on the list, we're all geniuses....so pat someone on the back when you can, and get ready to be patted yourself. Yes, to the rest of the world we're a bunch of 'nerds', but wear that label with pride. (a few tattoos and a decent weight training program will keep most of the 'nerd' remarks in check....) ;) Just keep in mind that while we all like to impress with our ideas, genius comes with a lot of prejudice, so the occasional bound/unbound, natural/surrogate key, and naming convention argument are simply a way of maintaining our individuality in the world of massive neuron flux. ;) Drew -----Original Message----- From: John W. Colby [mailto:jwcolby at colbyconsulting.com] Sent: Tuesday, August 16, 2005 4:26 PM To: 'Access Developers discussion and problem solving' Subject: RE: [AccessD] I Need Some Ideas ROTFLMAO. John W. Colby www.ColbyConsulting.com Contribute your unused CPU cycles to a good cause: http://folding.stanford.edu/ -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of DWUTKA at marlow.com Sent: Tuesday, August 16, 2005 4:00 PM To: accessd at databaseadvisors.com Subject: RE: [AccessD] I Need Some Ideas That's easy, and requires no code or special hardware. Just call up JC, and tell him that you don't think his framework would hand XYZ...and let him prove you wrong. When he has given you proof, thank him, tell him he's stellar, and a god among mortals, and walk away with completed JC Classes. Of course, the same method will work on me too.... Drew -----Original Message----- From: Joe Hecht [mailto:jmhecht at earthlink.net] Sent: Tuesday, August 16, 2005 2:45 PM To: 'Access Developers discussion and problem solving' Subject: RE: [AccessD] I Need Some Ideas Voice command app that would automatically write John Colby Classes and code for you. Joe Hecht Los Angeles CA -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd 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 Tue Aug 16 17:34:36 2005 From: dwaters at usinternet.com (Dan Waters) Date: Tue, 16 Aug 2005 17:34:36 -0500 Subject: [AccessD] I Need Some Ideas In-Reply-To: <2947593.1124231500466.JavaMail.root@sniper15> Message-ID: <000001c5a2b2$b055f970$0300a8c0@danwaters> And one more idea is . . . Create a Database Advisors approved naming convention! JC - Can you publish the 1st draft? Dan Waters -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of John W. Colby Sent: Tuesday, August 16, 2005 5:27 PM To: 'Access Developers discussion and problem solving' Subject: RE: [AccessD] I Need Some Ideas >so the occasional bound/unbound, natural/surrogate key, and naming convention argument are simply a way of maintaining our individuality in the world of massive neuron flux. ;) No, unbound forms and surrogate keys are just superior. ;-0 And of course anyone who doesn't use a naming convention, specifically MY naming convention is... a dolt. John W. Colby www.ColbyConsulting.com Contribute your unused CPU cycles to a good cause: http://folding.stanford.edu/ -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of DWUTKA at marlow.com Sent: Tuesday, August 16, 2005 5:37 PM To: accessd at databaseadvisors.com Subject: RE: [AccessD] I Need Some Ideas , I was hoping you were going to get a good chuckle out of that. Personally, I think that is one of the main factors why this list puts out good tips, and is so helpful to people. It's the 'chest pounding' factor. Whether we want to admit it or not, we'll fall all over each other trying to help someone because we want to show off a bit. This is one of the rare parts of our lives where people actually CAN appreciate how brilliant we all our.... ;) I tried explaining a process I was working on involving custom events and classes to a fellow computer geek, and I got the glassy eyed look of complete confusion. So to everyone on the list, we're all geniuses....so pat someone on the back when you can, and get ready to be patted yourself. Yes, to the rest of the world we're a bunch of 'nerds', but wear that label with pride. (a few tattoos and a decent weight training program will keep most of the 'nerd' remarks in check....) ;) Just keep in mind that while we all like to impress with our ideas, genius comes with a lot of prejudice, so the occasional bound/unbound, natural/surrogate key, and naming convention argument are simply a way of maintaining our individuality in the world of massive neuron flux. ;) Drew -----Original Message----- From: John W. Colby [mailto:jwcolby at colbyconsulting.com] Sent: Tuesday, August 16, 2005 4:26 PM To: 'Access Developers discussion and problem solving' Subject: RE: [AccessD] I Need Some Ideas ROTFLMAO. John W. Colby www.ColbyConsulting.com Contribute your unused CPU cycles to a good cause: http://folding.stanford.edu/ -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of DWUTKA at marlow.com Sent: Tuesday, August 16, 2005 4:00 PM To: accessd at databaseadvisors.com Subject: RE: [AccessD] I Need Some Ideas That's easy, and requires no code or special hardware. Just call up JC, and tell him that you don't think his framework would hand XYZ...and let him prove you wrong. When he has given you proof, thank him, tell him he's stellar, and a god among mortals, and walk away with completed JC Classes. Of course, the same method will work on me too.... Drew -----Original Message----- From: Joe Hecht [mailto:jmhecht at earthlink.net] Sent: Tuesday, August 16, 2005 2:45 PM To: 'Access Developers discussion and problem solving' Subject: RE: [AccessD] I Need Some Ideas Voice command app that would automatically write John Colby Classes and code for you. Joe Hecht Los Angeles CA -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd 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 Aug 16 17:34:17 2005 From: martyconnelly at shaw.ca (MartyConnelly) Date: Tue, 16 Aug 2005 15:34:17 -0700 Subject: [AccessD] Win 2000 R-bot worm out there References: <200508162214.j7GMEER15199@databaseadvisors.com> Message-ID: <430269E9.4050809@shaw.ca> CNN and ABC news reporting a baddy out there shutting down news networks on Win 2000 machines -- Marty Connelly Victoria, B.C. Canada From accessd at shaw.ca Tue Aug 16 17:39:15 2005 From: accessd at shaw.ca (Jim Lawrence) Date: Tue, 16 Aug 2005 15:39:15 -0700 Subject: [AccessD] Ajax and Atlas with XML In-Reply-To: <43024357.8060104@shaw.ca> Message-ID: <0ILC009076XD12@l-daemon> Hi Marty: Just a note the Server page update sample. It initially shows the following line: This is some sample data. It is the default data for this web page. View XML data. .. and when clicking on the link: View XML data .. the line then displays: This is some sample data. It is stored in an XML file and retrieved by JavaScript. .. and that is all. Is there supposed to be more displayed? Jim -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of MartyConnelly Sent: Tuesday, August 16, 2005 12:50 PM To: Access Developers discussion and problem solving Subject: [AccessD] Ajax and Atlas with XML If looking for xml info starter sites. http://www.xml.org http://www.xml.com A vb oriented site was once vbxml.com http://www.topxml.com Try to buy XML books published in last 3 years otherwise you wont get latest in XSLT and XQuery. Old books maybe based on old XSL patterns which might prove confusing. Now here is the latest buzz in XML development with AJAX. In computer programming, AJAX (Asynchronous JavaScript and XML) is a method of building interactive applications for the Web that process user requests immediately.Ajax allows content on Web pages to update immediately when a user performs an action, unlike an HTTP request, during which users must wait for a whole new page to load. For example, a weather forecasting site could display local conditions on one side of the page without delay after a user types in a zip code. Google Map works this way. ATLAS is a downloadable javascript engine Microsoft is supposed to bring out in September at some convention. How difficult is this stuff well it is not rocket science. But an amalgam of 4 or 5 techniques. Ajax combines several programming tools including JavaScript, dynamic HTML (DHTML), Extensible Markup Language (XML), cascading style sheets (CSS), the Document Object Model (DOM), and the Microsoft object, XMLHttpRequest. After that you can use Web Services to grab the xml data. You could modify javascript to VBA too for use in Access. Some sites where you can grab javascript source and examples of Ajax or download them http://www.clearnova.com/ajax/index.html http://developer.apple.com/internet/webcontent/XMLHttpRequestExample/example .html Articles Dynamic HTML and xmlhttpRequest object http://developer.apple.com/internet/webcontent/xmlhttpreq.html Jesse Garrett What is Ajax? (The guy that gave it the name) http://www.adaptivepath.com/publications/essays/archives/000385.php Here is a elementary ajax sample just place the two files on your web server and run with java script enabled through your favourite browser. You can also run from hard disk directly in Netscape 7.0 but IE locally has security stops and uses file: protocol and not http: protocol so wont run correctly without a lot of fiddling with settings. Rather than use a object; might use document.innerhtml to get around for local use. On my server these two files http://www5.brinkster.com/mconnelly/ajax/ajax.html Save this file as UTF-8 not ANSI ajax.html Developing Web Applications with Ajax - Example

Developing Web Applications with Ajax

This page demonstrates the use of Asynchronous Javascript and XML (Ajax) technology to update a web page's content by reading from a remote file dynamically -- no page reloading is required. Note that this operation does not work for users without JavaScript enabled.

This is some sample data. It is the default data for this web page. View XML data.

Save this file below as UTF-8 data.xml This is some sample data. It is stored in an XML file and retrieved by JavaScript. Gustav Brock wrote: >Hi Bryan > >So no job? Or wife?? Is that what you are trying to tell? >On the other hand (for the job option, cannot tell for the wife >option), with your knowledge I would expect it to be easy for you to >find some "new challenges" except, of course, if things are a little >more complicated than they may appear to be ... > >Currently I'm facing some XML work. Haven't done anything with this and >Access and hardly know where to look except browsing this list ... >So an XML cookbook or guide is a suggestion. > >/gustav > > > >>>>carbonnb at sympatico.ca 08/16 3:45 am >>> >>>> >>>> >I have found myself in a situation that gives me an inordinate amount >of free time and I'm looking for some ideas to fill my time. > >I am thinking of something that would make development easier or a >specifc app that would greatly help developers. I need something to >keep my mind active and fingers busy :) > >It can be anything from Access to Word to Excel (Office 2K), even VB >6. > >I'm open to any and all suggestion. And If I can learn something new, >that would be even better. > >Let the flood gates open :-) > > > -- Marty Connelly Victoria, B.C. Canada -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From john at winhaven.net Tue Aug 16 17:48:42 2005 From: john at winhaven.net (John Bartow) Date: Tue, 16 Aug 2005 17:48:42 -0500 Subject: [AccessD] I Need Some Ideas In-Reply-To: <001b01c5a29b$0b6d4bf0$6401a8c0@laptop1> Message-ID: <200508162248.j7GMmgR24777@databaseadvisors.com> LOL! :o))) -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Joe Hecht Voice command app that would automatically write John Colby Classes and code for you. Joe Hecht Los Angeles CA From accessd at shaw.ca Tue Aug 16 17:53:15 2005 From: accessd at shaw.ca (Jim Lawrence) Date: Tue, 16 Aug 2005 15:53:15 -0700 Subject: [AccessD] WIERD little problem In-Reply-To: <200508162214.j7GMEER15199@databaseadvisors.com> Message-ID: <0ILC0058G7KQM8@l-daemon> Hi Karen: Coming at this slightly differently... I worked on a system where if a user stays on a station with no activity for say, 1 hour, the station, unloads the tables, closes the forms and places them back at the application login prompt. (This method was developed at a client's request who got tired of always discovering one of her employees had left the 'Invoicing' application open, running on the station and had gone back into the warehouse or off for lunch.) Would a process like this resolve similar db application issues before they can develop? Jim -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Karen Rosenstiel Sent: Tuesday, August 16, 2005 3:14 PM To: 'Access Developers discussion and problem solving' Subject: [AccessD] WIERD little problem I have a simple little scheduling database, front end and back end. I tried to print a report for tomorrow - a simple list - the database crashed. For some strange reason I cannot print the reports I need for tomorrow, although I could print reports for different dates - just not for tomorrow. It closed itself down and tried to compact itself and send a report to MS. At that point, I discovered that one of staff left open the front end with a little popup form from which you can view or print the reports wide open. I got her out of a meeting to shut down her open Access and then deleted the backup copies and the .ldb files. I could compact/repair the BE but not the FE. Has anybody had anything like this happen before? Any suggestions? I need to mention that I can't send the database to anybody for inspection because of confidentiality restrictions (I work in a jail health clinic). Thanks in advance. Regards, Karen Rosenstiel Seattle WA USA -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From jmhecht at earthlink.net Tue Aug 16 18:11:12 2005 From: jmhecht at earthlink.net (Joe Hecht) Date: Tue, 16 Aug 2005 16:11:12 -0700 Subject: [AccessD] I Need Some Ideas In-Reply-To: <004e01c5a2a9$1bf1a080$6c7aa8c0@ColbyM6805> Message-ID: <000301c5a2b7$d0dc98c0$6401a8c0@laptop1> Well John, Your classes depend on my keyboard skills and ability to explain things. Can you do it? vbg Joe Hecht Los Angeles CA -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of John W. Colby Sent: Tuesday, August 16, 2005 2:26 PM To: access at joe2.endjunk.com; 'Access Developers discussion and problem solving' Subject: RE: [AccessD] I Need Some Ideas ROTFLMAO. John W. Colby www.ColbyConsulting.com Contribute your unused CPU cycles to a good cause: http://folding.stanford.edu/ -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of DWUTKA at marlow.com Sent: Tuesday, August 16, 2005 4:00 PM To: accessd at databaseadvisors.com Subject: RE: [AccessD] I Need Some Ideas That's easy, and requires no code or special hardware. Just call up JC, and tell him that you don't think his framework would hand XYZ...and let him prove you wrong. When he has given you proof, thank him, tell him he's stellar, and a god among mortals, and walk away with completed JC Classes. Of course, the same method will work on me too.... Drew -----Original Message----- From: Joe Hecht [mailto:jmhecht at earthlink.net] Sent: Tuesday, August 16, 2005 2:45 PM To: 'Access Developers discussion and problem solving' Subject: RE: [AccessD] I Need Some Ideas Voice command app that would automatically write John Colby Classes and code for you. Joe Hecht Los Angeles CA -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From karenr7 at oz.net Tue Aug 16 18:21:52 2005 From: karenr7 at oz.net (Karen Rosenstiel) Date: Tue, 16 Aug 2005 16:21:52 -0700 Subject: [AccessD] WIERD little problem In-Reply-To: <0ILC0058G7KQM8@l-daemon> Message-ID: <200508162321.j7GNLmR32551@databaseadvisors.com> Yes, that sounds interesting. It's a small office, and only 5 people would be using this database. I'd like to look at your programming if you could share it. Meanwhile...Why would I not be able to print a report for 1 date and not another. A puzzlement! Regards, Karen Rosenstiel Seattle WA USA -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Jim Lawrence Sent: Tuesday, August 16, 2005 3:53 PM To: 'Access Developers discussion and problem solving' Subject: RE: [AccessD] WIERD little problem Hi Karen: Coming at this slightly differently... I worked on a system where if a user stays on a station with no activity for say, 1 hour, the station, unloads the tables, closes the forms and places them back at the application login prompt. (This method was developed at a client's request who got tired of always discovering one of her employees had left the 'Invoicing' application open, running on the station and had gone back into the warehouse or off for lunch.) Would a process like this resolve similar db application issues before they can develop? Jim -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Karen Rosenstiel Sent: Tuesday, August 16, 2005 3:14 PM To: 'Access Developers discussion and problem solving' Subject: [AccessD] WIERD little problem I have a simple little scheduling database, front end and back end. I tried to print a report for tomorrow - a simple list - the database crashed. For some strange reason I cannot print the reports I need for tomorrow, although I could print reports for different dates - just not for tomorrow. It closed itself down and tried to compact itself and send a report to MS. At that point, I discovered that one of staff left open the front end with a little popup form from which you can view or print the reports wide open. I got her out of a meeting to shut down her open Access and then deleted the backup copies and the .ldb files. I could compact/repair the BE but not the FE. Has anybody had anything like this happen before? Any suggestions? I need to mention that I can't send the database to anybody for inspection because of confidentiality restrictions (I work in a jail health clinic). Thanks in advance. Regards, Karen Rosenstiel Seattle WA USA -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From jwcolby at colbyconsulting.com Tue Aug 16 18:23:16 2005 From: jwcolby at colbyconsulting.com (John W. Colby) Date: Tue, 16 Aug 2005 19:23:16 -0400 Subject: [AccessD] I Need Some Ideas In-Reply-To: <000301c5a2b7$d0dc98c0$6401a8c0@laptop1> Message-ID: <005201c5a2b9$7e409ba0$6c7aa8c0@ColbyM6805> It looks like I am going to be doing a series of lectures for the CT Access Users Group. That should be interesting. I haven't done a lecture since the first AccessD conference at Rocky's house. John W. Colby www.ColbyConsulting.com Contribute your unused CPU cycles to a good cause: http://folding.stanford.edu/ -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Joe Hecht Sent: Tuesday, August 16, 2005 7:11 PM To: 'Access Developers discussion and problem solving' Subject: RE: [AccessD] I Need Some Ideas Well John, Your classes depend on my keyboard skills and ability to explain things. Can you do it? vbg Joe Hecht Los Angeles CA -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of John W. Colby Sent: Tuesday, August 16, 2005 2:26 PM To: access at joe2.endjunk.com; 'Access Developers discussion and problem solving' Subject: RE: [AccessD] I Need Some Ideas ROTFLMAO. John W. Colby www.ColbyConsulting.com Contribute your unused CPU cycles to a good cause: http://folding.stanford.edu/ -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of DWUTKA at marlow.com Sent: Tuesday, August 16, 2005 4:00 PM To: accessd at databaseadvisors.com Subject: RE: [AccessD] I Need Some Ideas That's easy, and requires no code or special hardware. Just call up JC, and tell him that you don't think his framework would hand XYZ...and let him prove you wrong. When he has given you proof, thank him, tell him he's stellar, and a god among mortals, and walk away with completed JC Classes. Of course, the same method will work on me too.... Drew -----Original Message----- From: Joe Hecht [mailto:jmhecht at earthlink.net] Sent: Tuesday, August 16, 2005 2:45 PM To: 'Access Developers discussion and problem solving' Subject: RE: [AccessD] I Need Some Ideas Voice command app that would automatically write John Colby Classes and code for you. Joe Hecht Los Angeles CA -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd 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 pacbell.net Tue Aug 16 18:45:08 2005 From: dmcafee at pacbell.net (David Mcafee) Date: Tue, 16 Aug 2005 16:45:08 -0700 (PDT) Subject: [AccessD] I Need Some Ideas In-Reply-To: <005201c5a2b9$7e409ba0$6c7aa8c0@ColbyM6805> Message-ID: <20050816234508.20273.qmail@web80802.mail.yahoo.com> Speaking of which, isn't it that time again? :) David --- "John W. Colby" wrote: I haven't > done a lecture since > the first AccessD conference at Rocky's house. > > John W. Colby > www.ColbyConsulting.com From martyconnelly at shaw.ca Tue Aug 16 19:10:28 2005 From: martyconnelly at shaw.ca (MartyConnelly) Date: Tue, 16 Aug 2005 17:10:28 -0700 Subject: [AccessD] Ajax and Atlas with XML References: <0ILC009076XD12@l-daemon> Message-ID: <43028074.3090706@shaw.ca> Nope that is it, all there is in the one xml element, no dancing hamsters This site will give you a better idea but more html code needed Click on Drop Downs & Form Handling then click states states http://www.clearnova.com/ajax/index.html Jim Lawrence wrote: >Hi Marty: > >Just a note the Server page update sample. > >It initially shows the following line: This is some sample data. It is the >default data for this web page. View XML data. > >.. and when clicking on the link: View XML data > >.. the line then displays: This is some sample data. It is stored in an XML >file and retrieved by JavaScript. > >.. and that is all. Is there supposed to be more displayed? > >Jim > >-----Original Message----- >From: accessd-bounces at databaseadvisors.com >[mailto:accessd-bounces at databaseadvisors.com] On Behalf Of MartyConnelly >Sent: Tuesday, August 16, 2005 12:50 PM >To: Access Developers discussion and problem solving >Subject: [AccessD] Ajax and Atlas with XML > >If looking for xml info starter sites. > >http://www.xml.org >http://www.xml.com >A vb oriented site was once vbxml.com >http://www.topxml.com > >Try to buy XML books published in last 3 years otherwise >you wont get latest in XSLT and XQuery. Old books maybe based on old >XSL patterns >which might prove confusing. > > >Now here is the latest buzz in XML development with AJAX. > >In computer programming, AJAX (Asynchronous JavaScript and XML) is a >method of building interactive applications for the Web that process >user requests immediately.Ajax allows content on Web pages to update >immediately when a user performs an action, unlike an HTTP request, >during which users must wait for a whole new page to load. For example, >a weather forecasting site could display local conditions on one side of >the page without delay after a user types in a zip code. >Google Map works this way. ATLAS is a downloadable javascript engine >Microsoft is supposed to bring out in September at some convention. > >How difficult is this stuff well it is not rocket science. But an >amalgam of 4 or 5 techniques. Ajax combines several programming tools >including JavaScript, dynamic HTML (DHTML), Extensible Markup Language >(XML), cascading style sheets (CSS), the Document Object Model (DOM), >and the Microsoft object, XMLHttpRequest. After that you can use Web >Services to grab the xml data. You could modify javascript to VBA too >for use in Access. > >Some sites where you can grab javascript source and examples of Ajax or >download them > >http://www.clearnova.com/ajax/index.html >http://developer.apple.com/internet/webcontent/XMLHttpRequestExample/example >.html > >Articles >Dynamic HTML and xmlhttpRequest object >http://developer.apple.com/internet/webcontent/xmlhttpreq.html > >Jesse Garrett What is Ajax? (The guy that gave it the name) >http://www.adaptivepath.com/publications/essays/archives/000385.php > > >Here is a elementary ajax sample just place the two files on your web >server and run with java script enabled >through your favourite browser. > >You can also run from hard disk directly in Netscape 7.0 but IE locally >has security stops and uses file: protocol and not http: protocol so >wont run correctly >without a lot of fiddling with settings. Rather than use a object; >might use document.innerhtml to get around for local use. > >On my server these two files >http://www5.brinkster.com/mconnelly/ajax/ajax.html > >Save this file as UTF-8 not ANSI ajax.html > > "http://www.w3.org/TR/html4/strict.dtd"> > > > > Developing Web Applications with Ajax - Example > > > >

Developing Web Applications with Ajax

>

This page demonstrates the use of Asynchronous Javascript and XML >(Ajax) technology to > update a web page's content by reading from a remote file >dynamically -- no page reloading > is required. Note that this operation does not work for users >without JavaScript enabled.

>

> This is some sample data. It is the default data for this web page. > title="View the XML data." onclick="ajaxRead('data.xml'); >this.style.display='none'; return false">View XML data. >

> > > > > Save this file below as UTF-8 data.xml > > > > > This is some sample data. It is stored in an XML file and retrieved >by JavaScript. > > > > > > >Gustav Brock wrote: > > > >>Hi Bryan >> >>So no job? Or wife?? Is that what you are trying to tell? >>On the other hand (for the job option, cannot tell for the wife >>option), with your knowledge I would expect it to be easy for you to >>find some "new challenges" except, of course, if things are a little >>more complicated than they may appear to be ... >> >>Currently I'm facing some XML work. Haven't done anything with this and >>Access and hardly know where to look except browsing this list ... >>So an XML cookbook or guide is a suggestion. >> >>/gustav >> >> >> >> >> >>>>>carbonnb at sympatico.ca 08/16 3:45 am >>> >>>>> >>>>> >>>>> >>>>> >>I have found myself in a situation that gives me an inordinate amount >>of free time and I'm looking for some ideas to fill my time. >> >>I am thinking of something that would make development easier or a >>specifc app that would greatly help developers. I need something to >>keep my mind active and fingers busy :) >> >>It can be anything from Access to Word to Excel (Office 2K), even VB >>6. >> >>I'm open to any and all suggestion. And If I can learn something new, >>that would be even better. >> >>Let the flood gates open :-) >> >> >> >> >> > > > -- Marty Connelly Victoria, B.C. Canada From accessd at shaw.ca Tue Aug 16 20:45:01 2005 From: accessd at shaw.ca (Jim Lawrence) Date: Tue, 16 Aug 2005 18:45:01 -0700 Subject: [AccessD] Ajax and Atlas with XML In-Reply-To: <43028074.3090706@shaw.ca> Message-ID: <0ILC0076JFIZDV@l-daemon> Marty what do you mean 'No dancing Hamster'! :-( What is your opinion on the AJAX.Net variation on AJAX which seems to be the hottest ticket? Jim -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of MartyConnelly Sent: Tuesday, August 16, 2005 5:10 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Ajax and Atlas with XML Nope that is it, all there is in the one xml element, no dancing hamsters This site will give you a better idea but more html code needed Click on Drop Downs & Form Handling then click states states http://www.clearnova.com/ajax/index.html Jim Lawrence wrote: >Hi Marty: > >Just a note the Server page update sample. > >It initially shows the following line: This is some sample data. It is the >default data for this web page. View XML data. > >.. and when clicking on the link: View XML data > >.. the line then displays: This is some sample data. It is stored in an XML >file and retrieved by JavaScript. > >.. and that is all. Is there supposed to be more displayed? > >Jim > >-----Original Message----- >From: accessd-bounces at databaseadvisors.com >[mailto:accessd-bounces at databaseadvisors.com] On Behalf Of MartyConnelly >Sent: Tuesday, August 16, 2005 12:50 PM >To: Access Developers discussion and problem solving >Subject: [AccessD] Ajax and Atlas with XML > >If looking for xml info starter sites. > >http://www.xml.org >http://www.xml.com >A vb oriented site was once vbxml.com >http://www.topxml.com > >Try to buy XML books published in last 3 years otherwise >you wont get latest in XSLT and XQuery. Old books maybe based on old >XSL patterns >which might prove confusing. > > >Now here is the latest buzz in XML development with AJAX. > >In computer programming, AJAX (Asynchronous JavaScript and XML) is a >method of building interactive applications for the Web that process >user requests immediately.Ajax allows content on Web pages to update >immediately when a user performs an action, unlike an HTTP request, >during which users must wait for a whole new page to load. For example, >a weather forecasting site could display local conditions on one side of >the page without delay after a user types in a zip code. >Google Map works this way. ATLAS is a downloadable javascript engine >Microsoft is supposed to bring out in September at some convention. > >How difficult is this stuff well it is not rocket science. But an >amalgam of 4 or 5 techniques. Ajax combines several programming tools >including JavaScript, dynamic HTML (DHTML), Extensible Markup Language >(XML), cascading style sheets (CSS), the Document Object Model (DOM), >and the Microsoft object, XMLHttpRequest. After that you can use Web >Services to grab the xml data. You could modify javascript to VBA too >for use in Access. > >Some sites where you can grab javascript source and examples of Ajax or >download them > >http://www.clearnova.com/ajax/index.html >http://developer.apple.com/internet/webcontent/XMLHttpRequestExample/exampl e >.html > >Articles >Dynamic HTML and xmlhttpRequest object >http://developer.apple.com/internet/webcontent/xmlhttpreq.html > >Jesse Garrett What is Ajax? (The guy that gave it the name) >http://www.adaptivepath.com/publications/essays/archives/000385.php > > >Here is a elementary ajax sample just place the two files on your web >server and run with java script enabled >through your favourite browser. > >You can also run from hard disk directly in Netscape 7.0 but IE locally >has security stops and uses file: protocol and not http: protocol so >wont run correctly >without a lot of fiddling with settings. Rather than use a object; >might use document.innerhtml to get around for local use. > >On my server these two files >http://www5.brinkster.com/mconnelly/ajax/ajax.html > >Save this file as UTF-8 not ANSI ajax.html > > "http://www.w3.org/TR/html4/strict.dtd"> > > > > Developing Web Applications with Ajax - Example > > > >

Developing Web Applications with Ajax

>

This page demonstrates the use of Asynchronous Javascript and XML >(Ajax) technology to > update a web page's content by reading from a remote file >dynamically -- no page reloading > is required. Note that this operation does not work for users >without JavaScript enabled.

>

> This is some sample data. It is the default data for this web page. > title="View the XML data." onclick="ajaxRead('data.xml'); >this.style.display='none'; return false">View XML data. >

> > > > > Save this file below as UTF-8 data.xml > > > > > This is some sample data. It is stored in an XML file and retrieved >by JavaScript. > > > > > > >Gustav Brock wrote: > > > >>Hi Bryan >> >>So no job? Or wife?? Is that what you are trying to tell? >>On the other hand (for the job option, cannot tell for the wife >>option), with your knowledge I would expect it to be easy for you to >>find some "new challenges" except, of course, if things are a little >>more complicated than they may appear to be ... >> >>Currently I'm facing some XML work. Haven't done anything with this and >>Access and hardly know where to look except browsing this list ... >>So an XML cookbook or guide is a suggestion. >> >>/gustav >> >> >> >> >> >>>>>carbonnb at sympatico.ca 08/16 3:45 am >>> >>>>> >>>>> >>>>> >>>>> >>I have found myself in a situation that gives me an inordinate amount >>of free time and I'm looking for some ideas to fill my time. >> >>I am thinking of something that would make development easier or a >>specifc app that would greatly help developers. I need something to >>keep my mind active and fingers busy :) >> >>It can be anything from Access to Word to Excel (Office 2K), even VB >>6. >> >>I'm open to any and all suggestion. And If I can learn something new, >>that would be even better. >> >>Let the flood gates open :-) >> >> >> >> >> > > > -- Marty Connelly Victoria, B.C. Canada -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From dejpolsys at hotmail.com Tue Aug 16 22:28:00 2005 From: dejpolsys at hotmail.com (William Hindman) Date: Tue, 16 Aug 2005 23:28:00 -0400 Subject: [AccessD] I Need Some Ideas References: <005201c5a2b9$7e409ba0$6c7aa8c0@ColbyM6805> Message-ID: "I haven't done a lecture since the first AccessD conference at Rocky's house." JC ..took the victims this long to recover, eh :) William ----- Original Message ----- From: "John W. Colby" To: "'Access Developers discussion and problem solving'" Sent: Tuesday, August 16, 2005 7:23 PM Subject: RE: [AccessD] I Need Some Ideas > It looks like I am going to be doing a series of lectures for the CT > Access > Users Group. That should be interesting. I haven't done a lecture since > the first AccessD conference at Rocky's house. > > John W. Colby > www.ColbyConsulting.com > > Contribute your unused CPU cycles to a good cause: > http://folding.stanford.edu/ > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Joe Hecht > Sent: Tuesday, August 16, 2005 7:11 PM > To: 'Access Developers discussion and problem solving' > Subject: RE: [AccessD] I Need Some Ideas > > > Well John, > > Your classes depend on my keyboard skills and ability to explain things. > Can > you do it? vbg > > Joe Hecht > Los Angeles CA > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of John W. Colby > Sent: Tuesday, August 16, 2005 2:26 PM > To: access at joe2.endjunk.com; 'Access Developers discussion and problem > solving' > Subject: RE: [AccessD] I Need Some Ideas > > ROTFLMAO. > > John W. Colby > www.ColbyConsulting.com > > Contribute your unused CPU cycles to a good cause: > http://folding.stanford.edu/ > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of > DWUTKA at marlow.com > Sent: Tuesday, August 16, 2005 4:00 PM > To: accessd at databaseadvisors.com > Subject: RE: [AccessD] I Need Some Ideas > > > That's easy, and requires no code or special hardware. Just call up JC, > and > tell him that you don't think his framework would hand XYZ...and let him > prove you wrong. When he has given you proof, thank him, tell him he's > stellar, and a god among mortals, and walk away with completed JC Classes. > > > > Of course, the same method will work on me too.... > > Drew > > -----Original Message----- > From: Joe Hecht [mailto:jmhecht at earthlink.net] > Sent: Tuesday, August 16, 2005 2:45 PM > To: 'Access Developers discussion and problem solving' > Subject: RE: [AccessD] I Need Some Ideas > > > Voice command app that would automatically write John Colby Classes and > code > for you. > > Joe Hecht > Los Angeles CA > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > > > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > > > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > From jwcolby at colbyconsulting.com Tue Aug 16 22:34:19 2005 From: jwcolby at colbyconsulting.com (John W. Colby) Date: Tue, 16 Aug 2005 23:34:19 -0400 Subject: [AccessD] I Need Some Ideas In-Reply-To: Message-ID: <005601c5a2dc$903c1a50$6c7aa8c0@ColbyM6805> LOL, yea, you don't recover from my lectures that easily. ;-) Just kinda numbs the whole body. John W. Colby www.ColbyConsulting.com Contribute your unused CPU cycles to a good cause: http://folding.stanford.edu/ -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of William Hindman Sent: Tuesday, August 16, 2005 11:28 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] I Need Some Ideas "I haven't done a lecture since the first AccessD conference at Rocky's house." JC ..took the victims this long to recover, eh :) William From dejpolsys at hotmail.com Tue Aug 16 22:35:28 2005 From: dejpolsys at hotmail.com (William Hindman) Date: Tue, 16 Aug 2005 23:35:28 -0400 Subject: [AccessD] WIERD little problem References: <200508162321.j7GNLmR32551@databaseadvisors.com> Message-ID: Karen ..have you done a decompile ...ect.? William ----- Original Message ----- From: "Karen Rosenstiel" To: "'Access Developers discussion and problem solving'" Sent: Tuesday, August 16, 2005 7:21 PM Subject: RE: [AccessD] WIERD little problem > Yes, that sounds interesting. It's a small office, and only 5 people would > be using this database. I'd like to look at your programming if you could > share it. > > Meanwhile...Why would I not be able to print a report for 1 date and not > another. A puzzlement! > > Regards, > > Karen Rosenstiel > Seattle WA USA > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Jim Lawrence > Sent: Tuesday, August 16, 2005 3:53 PM > To: 'Access Developers discussion and problem solving' > Subject: RE: [AccessD] WIERD little problem > > Hi Karen: > > Coming at this slightly differently... I worked on a system where if a > user > stays on a station with no activity for say, 1 hour, the station, unloads > the tables, closes the forms and places them back at the application login > prompt. (This method was developed at a client's request who got tired of > always discovering one of her employees had left the 'Invoicing' > application > open, running on the station and had gone back into the warehouse or off > for > lunch.) > > Would a process like this resolve similar db application issues before > they > can develop? > > Jim > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Karen > Rosenstiel > Sent: Tuesday, August 16, 2005 3:14 PM > To: 'Access Developers discussion and problem solving' > Subject: [AccessD] WIERD little problem > > I have a simple little scheduling database, front end and back end. I > tried > to print a report for tomorrow - a simple list - the database crashed. For > some strange reason I cannot print the reports I need for tomorrow, > although > I could print reports for different dates - just not for tomorrow. It > closed > itself down and tried to compact itself and send a report to MS. > > At that point, I discovered that one of staff left open the front end with > a > little popup form from which you can view or print the reports wide open. > I > got her out of a meeting to shut down her open Access and then deleted the > backup copies and the .ldb files. I could compact/repair the BE but not > the > FE. > > Has anybody had anything like this happen before? Any suggestions? I need > to > mention that I can't send the database to anybody for inspection because > of > confidentiality restrictions (I work in a jail health clinic). > > Thanks in advance. > > Regards, > > Karen Rosenstiel > Seattle WA USA > > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > 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 Aug 16 23:59:42 2005 From: martyconnelly at shaw.ca (MartyConnelly) Date: Tue, 16 Aug 2005 21:59:42 -0700 Subject: [AccessD] Ajax and Atlas with XML References: <0ILC0076JFIZDV@l-daemon> Message-ID: <4302C43E.3030505@shaw.ca> I realize Victoria is little out date but this is archived from the net 10 years ago, It is now considered a net classic. The Original Hampster Dance Dance the night away! http://www.hamsterdance.com/classorig.html Haven't looked at .net variation but probably the same basic theme and methods with a bit more class. Jim Lawrence wrote: >Marty what do you mean 'No dancing Hamster'! :-( > >What is your opinion on the AJAX.Net variation on AJAX which seems to be the >hottest ticket? > >Jim > >-----Original Message----- >From: accessd-bounces at databaseadvisors.com >[mailto:accessd-bounces at databaseadvisors.com] On Behalf Of MartyConnelly >Sent: Tuesday, August 16, 2005 5:10 PM >To: Access Developers discussion and problem solving >Subject: Re: [AccessD] Ajax and Atlas with XML > >Nope that is it, all there is in the one xml element, no dancing hamsters > >This site will give you a better idea but more html code needed >Click on > >Drop Downs & Form Handling > >then click states states > >http://www.clearnova.com/ajax/index.html > > >Jim Lawrence wrote: > > > >>Hi Marty: >> >>Just a note the Server page update sample. >> >>It initially shows the following line: This is some sample data. It is the >>default data for this web page. View XML data. >> >>.. and when clicking on the link: View XML data >> >>.. the line then displays: This is some sample data. It is stored in an XML >>file and retrieved by JavaScript. >> >>.. and that is all. Is there supposed to be more displayed? >> >>Jim >> >>-----Original Message----- >>From: accessd-bounces at databaseadvisors.com >>[mailto:accessd-bounces at databaseadvisors.com] On Behalf Of MartyConnelly >>Sent: Tuesday, August 16, 2005 12:50 PM >>To: Access Developers discussion and problem solving >>Subject: [AccessD] Ajax and Atlas with XML >> >>If looking for xml info starter sites. >> >>http://www.xml.org >>http://www.xml.com >>A vb oriented site was once vbxml.com >>http://www.topxml.com >> >>Try to buy XML books published in last 3 years otherwise >>you wont get latest in XSLT and XQuery. Old books maybe based on old >>XSL patterns >>which might prove confusing. >> >> >>Now here is the latest buzz in XML development with AJAX. >> >>In computer programming, AJAX (Asynchronous JavaScript and XML) is a >>method of building interactive applications for the Web that process >>user requests immediately.Ajax allows content on Web pages to update >>immediately when a user performs an action, unlike an HTTP request, >>during which users must wait for a whole new page to load. For example, >>a weather forecasting site could display local conditions on one side of >>the page without delay after a user types in a zip code. >>Google Map works this way. ATLAS is a downloadable javascript engine >>Microsoft is supposed to bring out in September at some convention. >> >>How difficult is this stuff well it is not rocket science. But an >>amalgam of 4 or 5 techniques. Ajax combines several programming tools >>including JavaScript, dynamic HTML (DHTML), Extensible Markup Language >>(XML), cascading style sheets (CSS), the Document Object Model (DOM), >>and the Microsoft object, XMLHttpRequest. After that you can use Web >>Services to grab the xml data. You could modify javascript to VBA too >>for use in Access. >> >>Some sites where you can grab javascript source and examples of Ajax or >>download them >> >>http://www.clearnova.com/ajax/index.html >>http://developer.apple.com/internet/webcontent/XMLHttpRequestExample/exampl >> >> >e > > >>.html >> >>Articles >>Dynamic HTML and xmlhttpRequest object >>http://developer.apple.com/internet/webcontent/xmlhttpreq.html >> >>Jesse Garrett What is Ajax? (The guy that gave it the name) >>http://www.adaptivepath.com/publications/essays/archives/000385.php >> >> >>Here is a elementary ajax sample just place the two files on your web >>server and run with java script enabled >>through your favourite browser. >> >>You can also run from hard disk directly in Netscape 7.0 but IE locally >>has security stops and uses file: protocol and not http: protocol so >>wont run correctly >>without a lot of fiddling with settings. Rather than use a object; >>might use document.innerhtml to get around for local use. >> >>On my server these two files >>http://www5.brinkster.com/mconnelly/ajax/ajax.html >> >>Save this file as UTF-8 not ANSI ajax.html >> >>> "http://www.w3.org/TR/html4/strict.dtd"> >> >> >> > > >> Developing Web Applications with Ajax - Example >> >> >> >>

Developing Web Applications with Ajax

>>

This page demonstrates the use of Asynchronous Javascript and XML >>(Ajax) technology to >> update a web page's content by reading from a remote file >>dynamically -- no page reloading >> is required. Note that this operation does not work for users >>without JavaScript enabled.

>>

>> This is some sample data. It is the default data for this web page. >>> title="View the XML data." onclick="ajaxRead('data.xml'); >>this.style.display='none'; return false">View XML data. >>

>> >> >> >> >>Save this file below as UTF-8 data.xml >> >> >> >> >> This is some sample data. It is stored in an XML file and retrieved >>by JavaScript. >> >> >> >> >> >> >>Gustav Brock wrote: >> >> >> >> >> >>>Hi Bryan >>> >>>So no job? Or wife?? Is that what you are trying to tell? >>>On the other hand (for the job option, cannot tell for the wife >>>option), with your knowledge I would expect it to be easy for you to >>>find some "new challenges" except, of course, if things are a little >>>more complicated than they may appear to be ... >>> >>>Currently I'm facing some XML work. Haven't done anything with this and >>>Access and hardly know where to look except browsing this list ... >>>So an XML cookbook or guide is a suggestion. >>> >>>/gustav >>> >>> >>> >>> >>> >>> >>> >>>>>>carbonnb at sympatico.ca 08/16 3:45 am >>> >>>>>> >>>>>> >>>>>> >>>>>> >>>>>> >>>>>> >>>I have found myself in a situation that gives me an inordinate amount >>>of free time and I'm looking for some ideas to fill my time. >>> >>>I am thinking of something that would make development easier or a >>>specifc app that would greatly help developers. I need something to >>>keep my mind active and fingers busy :) >>> >>>It can be anything from Access to Word to Excel (Office 2K), even VB >>>6. >>> >>>I'm open to any and all suggestion. And If I can learn something new, >>>that would be even better. >>> >>>Let the flood gates open :-) >>> >>> >>> >>> >>> >>> >>> >> >> >> >> > > > -- Marty Connelly Victoria, B.C. Canada From adtp at touchtelindia.net Wed Aug 17 00:15:23 2005 From: adtp at touchtelindia.net (A.D.Tejpal) Date: Wed, 17 Aug 2005 10:45:23 +0530 Subject: [AccessD] New Record Appearing on Top References: Message-ID: <013001c5a2ea$dc87a010$071865cb@winxp> Julie, It so happens that the point raised by Charlotte has already been taken care of in my sample db (AddDataAtTop) mentioned in my earlier post dated 16-Aug-2005. For the ongoing session, recently added records are highlighted suitably and continue to be in view at the top. As and when a new session is taken up (on re-opening the switchboard form), all existing records get re-positioned in prescribed sort order. Best wishes, A.D.Tejpal -------------- ----- Original Message ----- From: Julie Reardon-Taylor To: accessd at databaseadvisors.com Sent: Tuesday, August 16, 2005 22:01 Subject: RE: [AccessD] New Record Appearing on Top Good point Charlotte. I don't really like it either.....and certainly have given the client what they want, only to have to turn around and "re-do" what they thought was a great thing. Thank you for your thoughts. Julie Reardon-Taylor PRO-SOFT OF NY, INC. 44 Public Square Suite #5 Watertown, NY 13601 Phone/Fax: (315) 785-0319 www.pro-soft.net ----- Original Message ----- From: Charlotte Foust To: Access Developers discussion and problem solving Sent: Tuesday, August 16, 2005 21:09 Subject: RE: [AccessD] New Record Appearing on Top Others have given you chapter and verse on approaches to this, so let me ask you a question: Is the client going to be happy with the new rows falling to the bottom of the list after they're added "at the top"? Depending on the default sort for the form/subform, that row just added at the top may disappear entirely from the visible records. That is something clients frequently overlook when asking for a feature like this, and it needs to be discussed before you go to a lot of effort to provide something they're going to decide they don't like. Charlotte Foust From martyconnelly at shaw.ca Wed Aug 17 00:54:10 2005 From: martyconnelly at shaw.ca (MartyConnelly) Date: Tue, 16 Aug 2005 22:54:10 -0700 Subject: [AccessD] Ajax and Atlas with XML References: <0ILC0076JFIZDV@l-daemon> <4302C43E.3030505@shaw.ca> Message-ID: <4302D102.80607@shaw.ca> I have seen variations of Ajax.Net on Source Forge and this one where the C# source was recently released I think they are all still in Alpha even MS is yet to release their javascript engine. http://ajax.schwarz-interactive.de/csharpsample/default.aspx MartyConnelly wrote: > I realize Victoria is little out date but this is archived from the > net 10 years ago, > It is now considered a net classic. The Original Hampster Dance > Dance the night away! > > http://www.hamsterdance.com/classorig.html > > Haven't looked at .net variation but probably the same basic theme and > methods with a bit more class. > > Jim Lawrence wrote: > >> Marty what do you mean 'No dancing Hamster'! :-( >> >> What is your opinion on the AJAX.Net variation on AJAX which seems to >> be the >> hottest ticket? >> >> Jim >> >> -----Original Message----- >> From: accessd-bounces at databaseadvisors.com >> [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of MartyConnelly >> Sent: Tuesday, August 16, 2005 5:10 PM >> To: Access Developers discussion and problem solving >> Subject: Re: [AccessD] Ajax and Atlas with XML >> >> Nope that is it, all there is in the one xml element, no dancing >> hamsters >> >> This site will give you a better idea but more html code needed >> Click on >> Drop Downs & Form Handling >> >> then click states states >> >> http://www.clearnova.com/ajax/index.html >> >> >> Jim Lawrence wrote: >> >> >> >>> Hi Marty: >>> >>> Just a note the Server page update sample. >>> It initially shows the following line: This is some sample data. It >>> is the >>> default data for this web page. View XML data. >>> >>> .. and when clicking on the link: View XML data >>> >>> .. the line then displays: This is some sample data. It is stored in >>> an XML >>> file and retrieved by JavaScript. >>> >>> .. and that is all. Is there supposed to be more displayed? >>> >>> Jim >>> >>> -----Original Message----- >>> From: accessd-bounces at databaseadvisors.com >>> [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of >>> MartyConnelly >>> Sent: Tuesday, August 16, 2005 12:50 PM >>> To: Access Developers discussion and problem solving >>> Subject: [AccessD] Ajax and Atlas with XML >>> >>> If looking for xml info starter sites. >>> >>> http://www.xml.org >>> http://www.xml.com >>> A vb oriented site was once vbxml.com >>> http://www.topxml.com >>> >>> Try to buy XML books published in last 3 years otherwise >>> you wont get latest in XSLT and XQuery. Old books maybe based on >>> old XSL patterns >>> which might prove confusing. >>> >>> >>> Now here is the latest buzz in XML development with AJAX. >>> >>> In computer programming, AJAX (Asynchronous JavaScript and XML) is a >>> method of building interactive applications for the Web that process >>> user requests immediately.Ajax allows content on Web pages to update >>> immediately when a user performs an action, unlike an HTTP request, >>> during which users must wait for a whole new page to load. For >>> example, a weather forecasting site could display local conditions >>> on one side of the page without delay after a user types in a zip code. >>> Google Map works this way. ATLAS is a downloadable javascript engine >>> Microsoft is supposed to bring out in September at some convention. >>> >>> How difficult is this stuff well it is not rocket science. But an >>> amalgam of 4 or 5 techniques. Ajax combines several programming >>> tools including JavaScript, dynamic HTML (DHTML), Extensible Markup >>> Language (XML), cascading style sheets (CSS), the Document Object >>> Model (DOM), and the Microsoft object, XMLHttpRequest. After that >>> you can use Web Services to grab the xml data. You could modify >>> javascript to VBA too for use in Access. >>> >>> Some sites where you can grab javascript source and examples of >>> Ajax or download them >>> >>> http://www.clearnova.com/ajax/index.html >>> http://developer.apple.com/internet/webcontent/XMLHttpRequestExample/exampl >>> >>> >> >> e >> >> >>> .html >>> >>> Articles >>> Dynamic HTML and xmlhttpRequest object >>> http://developer.apple.com/internet/webcontent/xmlhttpreq.html >>> >>> Jesse Garrett What is Ajax? (The guy that gave it the name) >>> http://www.adaptivepath.com/publications/essays/archives/000385.php >>> >>> >>> Here is a elementary ajax sample just place the two files on your >>> web server and run with java script enabled >>> through your favourite browser. >>> >>> You can also run from hard disk directly in Netscape 7.0 but IE >>> locally has security stops and uses file: protocol and not http: >>> protocol so wont run correctly >>> without a lot of fiddling with settings. Rather than use a object; >>> might use document.innerhtml to get around for local use. >>> >>> On my server these two files >>> http://www5.brinkster.com/mconnelly/ajax/ajax.html >>> >>> Save this file as UTF-8 not ANSI ajax.html >>> >>> >> "http://www.w3.org/TR/html4/strict.dtd"> >>> >>> >>> >> >> >>> Developing Web Applications with Ajax - Example >>> >>> >>> >>>

Developing Web Applications with Ajax

>>>

This page demonstrates the use of Asynchronous Javascript and >>> XML (Ajax) technology to >>> update a web page's content by reading from a remote file >>> dynamically -- no page reloading >>> is required. Note that this operation does not work for users >>> without JavaScript enabled.

>>>

>>> This is some sample data. It is the default data for this web >>> page. >> title="View the XML data." onclick="ajaxRead('data.xml'); >>> this.style.display='none'; return false">View XML data. >>>

>>> >>> >>> >>> >>> Save this file below as UTF-8 data.xml >>> >>> >>> >>> >>> This is some sample data. It is stored in an XML file and >>> retrieved by JavaScript. >>> >>> >>> >>> >>> >>> >>> Gustav Brock wrote: >>> >>> >>> >>> >>> >>>> Hi Bryan >>>> >>>> So no job? Or wife?? Is that what you are trying to tell? >>>> On the other hand (for the job option, cannot tell for the wife >>>> option), with your knowledge I would expect it to be easy for you to >>>> find some "new challenges" except, of course, if things are a little >>>> more complicated than they may appear to be ... >>>> >>>> Currently I'm facing some XML work. Haven't done anything with this >>>> and >>>> Access and hardly know where to look except browsing this list ... >>>> So an XML cookbook or guide is a suggestion. >>>> >>>> /gustav >>>> >>>> >>>> >>>> >>>> >>>> >>>>>>> carbonnb at sympatico.ca 08/16 3:45 am >>> >>>>>>> >>>>>>> >>>>>>> >>>>>> >>>> I have found myself in a situation that gives me an inordinate >>>> amount of free time and I'm looking for some ideas to fill my time. >>>> >>>> I am thinking of something that would make development easier or a >>>> specifc app that would greatly help developers. I need something to >>>> keep my mind active and fingers busy :) >>>> >>>> It can be anything from Access to Word to Excel (Office 2K), even >>>> VB 6. >>>> >>>> I'm open to any and all suggestion. And If I can learn something >>>> new, that would be even better. >>>> >>>> Let the flood gates open :-) >>>> >>>> >>>> >>>> >>>> >>> >>> >>> >>> >> >> >> >> > -- Marty Connelly Victoria, B.C. Canada From pedro at plex.nl Wed Aug 17 08:57:39 2005 From: pedro at plex.nl (pedro at plex.nl) Date: Wed, 17 Aug 2005 08:57:39 (MET DST) Subject: [AccessD] checkboxes aren't functioning Message-ID: <200508170700.j7H6vdja016582@mailhostC.plex.net> Hi, There isn't a code behind the form where the checkboxes are involved in it. This form has worked a year without any problems. Now suddenly the checkboxes are giving troubles. Could the database (front-end or back-end) be corrupt? Pedro Janssen In antwoord op: > From: "Charlotte Foust" > To: "Access Developers discussion and problem solving" > Date: Tue, 16 Aug 2005 14:54:03 -0700 > Subject: RE: [AccessD] checkboxes aren't functioning > > > Not enough information to provide an answer. If the checkboxes are > actually disabled on existing records, then I would suspect code behind > the form disabling them depending on specific circumstances. > > Charlotte Foust > > > -----Original Message----- > From: Pedro Janssen [mailto:pedro at plex.nl] > Sent: Tuesday, August 16, 2005 2:36 PM > To: AccessD at databaseadvisors.com > Subject: [AccessD] checkboxes aren't functioning > > > Hello Group, > > how is it possible that suddenly on a form in almost al records certain > checkboxes are working but in some records they don't function (are > greyed out and can't make them "true" or "not true"). Nothing strange > happened before. > > Pedro Janssen > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > > From pedro at plex.nl Wed Aug 17 08:58:52 2005 From: pedro at plex.nl (pedro at plex.nl) Date: Wed, 17 Aug 2005 08:58:52 (MET DST) Subject: [AccessD] checkboxes aren't functioning Message-ID: <200508170701.j7H6wqPo016629@mailhostC.plex.net> Hi, There isn't a code behind the form where the checkboxes are involved in it. This form has worked a year without any problems. Now suddenly the checkboxes are giving troubles. Could the database (front-end or back-end) be corrupt? Pedro Janssen In antwoord op: > From: "Charlotte Foust" > To: "Access Developers discussion and problem solving" > Date: Tue, 16 Aug 2005 14:54:03 -0700 > Subject: RE: [AccessD] checkboxes aren't functioning > > > Not enough information to provide an answer. If the checkboxes are > actually disabled on existing records, then I would suspect code behind > the form disabling them depending on specific circumstances. > > Charlotte Foust > > > -----Original Message----- > From: Pedro Janssen [mailto:pedro at plex.nl] > Sent: Tuesday, August 16, 2005 2:36 PM > To: AccessD at databaseadvisors.com > Subject: [AccessD] checkboxes aren't functioning > > > Hello Group, > > how is it possible that suddenly on a form in almost al records certain > checkboxes are working but in some records they don't function (are > greyed out and can't make them "true" or "not true"). Nothing strange > happened before. > > Pedro Janssen > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > > From pedro at plex.nl Wed Aug 17 08:59:08 2005 From: pedro at plex.nl (pedro at plex.nl) Date: Wed, 17 Aug 2005 08:59:08 (MET DST) Subject: [AccessD] checkboxes aren't functioning Message-ID: <200508170700.j7H6x84l016673@mailhostC.plex.net> Hi, There isn't a code behind the form where the checkboxes are involved in it. This form has worked a year without any problems. Now suddenly the checkboxes are giving troubles. Could the database (front-end or back-end) be corrupt? Pedro Janssen In antwoord op: > From: "Charlotte Foust" > To: "Access Developers discussion and problem solving" > Date: Tue, 16 Aug 2005 14:54:03 -0700 > Subject: RE: [AccessD] checkboxes aren't functioning > > > Not enough information to provide an answer. If the checkboxes are > actually disabled on existing records, then I would suspect code behind > the form disabling them depending on specific circumstances. > > Charlotte Foust > > > -----Original Message----- > From: Pedro Janssen [mailto:pedro at plex.nl] > Sent: Tuesday, August 16, 2005 2:36 PM > To: AccessD at databaseadvisors.com > Subject: [AccessD] checkboxes aren't functioning > > > Hello Group, > > how is it possible that suddenly on a form in almost al records certain > checkboxes are working but in some records they don't function (are > greyed out and can't make them "true" or "not true"). Nothing strange > happened before. > > Pedro Janssen > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > 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 Wed Aug 17 05:18:23 2005 From: andy at minstersystems.co.uk (Andy Lacey) Date: Wed, 17 Aug 2005 11:18:23 +0100 Subject: [AccessD] checkboxes aren't functioning Message-ID: <20050817101821.3D41525093E@smtp.nildram.co.uk> Not sure why we got your last post 3 times Pedro, but I should think there's a fair chance of a corruption, more likely of the BE given your description. I'd certainly try repairing (and probably compacting) the BE before you look further. -- Andy Lacey http://www.minstersystems.co.uk --------- Original Message -------- From: "Access Developers discussion and problem solving" To: "AccessD at databaseadvisors.com" Subject: RE: [AccessD] checkboxes aren't functioning Date: 17/08/05 08:29 Hi, There isn't a code behind the form where the checkboxes are involved in it. This form has worked a year without any problems. Now suddenly the checkboxes are giving troubles. Could the database (front-end or back-end) be corrupt? Pedro Janssen In antwoord op: > From: "Charlotte Foust" > To: "Access Developers discussion and problem solving" > Date: Tue, 16 Aug 2005 14:54:03 -0700 > Subject: RE: [AccessD] checkboxes aren't functioning > > > Not enough information to provide an answer. If the checkboxes are > actually disabled on existing records, then I would suspect code behind > the form disabling them depending on specific circumstances. > > Charlotte Foust > > > -----Original Message----- > From: Pedro Janssen [mailto:pedro at plex.nl] > Sent: Tuesday, August 16, 2005 2:36 PM > To: AccessD at databaseadvisors.com > Subject: [AccessD] checkboxes aren't functioning > > > Hello Group, > > how is it possible that suddenly on a form in almost al records certain > checkboxes are working but in some records they don't function (are > greyed out and can't make them "true" or "not true"). Nothing strange > happened before. > > Pedro Janssen > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > > -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com ________________________________________________ Message sent using UebiMiau 2.7.2 From Gustav at cactus.dk Wed Aug 17 06:05:41 2005 From: Gustav at cactus.dk (Gustav Brock) Date: Wed, 17 Aug 2005 13:05:41 +0200 Subject: [AccessD] Ajax and Atlas with XML Message-ID: Hi Marty Thanks! Great links. /gustav >>> martyconnelly at shaw.ca 08/16 9:49 pm >>> If looking for xml info starter sites. http://www.xml.org http://www.xml.com A vb oriented site was once vbxml.com http://www.topxml.com Try to buy XML books published in last 3 years otherwise you wont get latest in XSLT and XQuery. Old books maybe based on old XSL patterns which might prove confusing. Now here is the latest buzz in XML development with AJAX. In computer programming, AJAX (Asynchronous JavaScript and XML) is a method of building interactive applications for the Web that process user requests immediately.Ajax allows content on Web pages to update immediately when a user performs an action, unlike an HTTP request, during which users must wait for a whole new page to load. For example, a weather forecasting site could display local conditions on one side of the page without delay after a user types in a zip code. Google Map works this way. ATLAS is a downloadable javascript engine Microsoft is supposed to bring out in September at some convention. How difficult is this stuff well it is not rocket science. But an amalgam of 4 or 5 techniques. Ajax combines several programming tools including JavaScript, dynamic HTML (DHTML), Extensible Markup Language (XML), cascading style sheets (CSS), the Document Object Model (DOM), and the Microsoft object, XMLHttpRequest. After that you can use Web Services to grab the xml data. You could modify javascript to VBA too for use in Access. Some sites where you can grab javascript source and examples of Ajax or download them http://www.clearnova.com/ajax/index.html http://developer.apple.com/internet/webcontent/XMLHttpRequestExample/example.html Articles Dynamic HTML and xmlhttpRequest object http://developer.apple.com/internet/webcontent/xmlhttpreq.html Jesse Garrett What is Ajax? (The guy that gave it the name) http://www.adaptivepath.com/publications/essays/archives/000385.php From bheid at appdevgrp.com Wed Aug 17 06:51:11 2005 From: bheid at appdevgrp.com (Bobby Heid) Date: Wed, 17 Aug 2005 07:51:11 -0400 Subject: [AccessD] Why is function being called?? In-Reply-To: <916187228923D311A6FE00A0CC3FAA30C5E2E7@ADGSERVER> Message-ID: <916187228923D311A6FE00A0CC3FAA30ABEE57@ADGSERVER> I don't understand. You are saying that DaysInMonth is a function. Yet your code has: DaysinMonth = DaysInMonth2(myds3.Fields(1)) By this, DaysInMonth2 is the function. How is DaysInMonth declared? Bobby -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Kaup, Chester Sent: Tuesday, August 16, 2005 5:24 PM To: Access Developers discussion and problem solving Subject: [AccessD] Why is function being called?? Below is a piece of code. DaysInMonth is a function. When the code runs and hits the line myds1.Fields(2) = Nz(myds4.Fields(8)) the function runs. I don't see anything that is calling it. Your thoughts appreciated. Do Until myds4.EOF DaysinMonth = DaysInMonth2(myds3.Fields(1)) If Day(myds3.Fields(1)) < DaysinMonth And RecordCounter = 1 Then StartCounter = Day(myds3.Fields(1)) ProdDate = myds3.Fields(1) Else StartCounter = 1 ProdDate = myds4.Fields(1) End If For I = StartCounter To DaysinMonth myds1.AddNew myds1.Fields(0) = ProdDate myds1.Fields(1) = myds4.Fields(0) myds1.Fields(2) = Nz(myds4.Fields(8)) myds1.Update ProdDate = ProdDate + 1 Next I RecordCounter = RecordCounter + 1 myds4.MoveNext Loop Chester Kaup From Chester_Kaup at kindermorgan.com Wed Aug 17 07:11:59 2005 From: Chester_Kaup at kindermorgan.com (Kaup, Chester) Date: Wed, 17 Aug 2005 07:11:59 -0500 Subject: [AccessD] Why is function being called?? Message-ID: My mistake DaysInMonth2 is a function. It is declared as an integer. Thanks for looking. -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Bobby Heid Sent: Wednesday, August 17, 2005 6:51 AM To: 'Access Developers discussion and problem solving' Subject: RE: [AccessD] Why is function being called?? I don't understand. You are saying that DaysInMonth is a function. Yet your code has: DaysinMonth = DaysInMonth2(myds3.Fields(1)) By this, DaysInMonth2 is the function. How is DaysInMonth declared? Bobby -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Kaup, Chester Sent: Tuesday, August 16, 2005 5:24 PM To: Access Developers discussion and problem solving Subject: [AccessD] Why is function being called?? Below is a piece of code. DaysInMonth is a function. When the code runs and hits the line myds1.Fields(2) = Nz(myds4.Fields(8)) the function runs. I don't see anything that is calling it. Your thoughts appreciated. Do Until myds4.EOF DaysinMonth = DaysInMonth2(myds3.Fields(1)) If Day(myds3.Fields(1)) < DaysinMonth And RecordCounter = 1 Then StartCounter = Day(myds3.Fields(1)) ProdDate = myds3.Fields(1) Else StartCounter = 1 ProdDate = myds4.Fields(1) End If For I = StartCounter To DaysinMonth myds1.AddNew myds1.Fields(0) = ProdDate myds1.Fields(1) = myds4.Fields(0) myds1.Fields(2) = Nz(myds4.Fields(8)) myds1.Update ProdDate = ProdDate + 1 Next I RecordCounter = RecordCounter + 1 myds4.MoveNext Loop Chester Kaup -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From ssharkins at bellsouth.net Wed Aug 17 07:44:11 2005 From: ssharkins at bellsouth.net (Susan Harkins) Date: Wed, 17 Aug 2005 08:44:11 -0400 Subject: [AccessD] checkboxes aren't functioning In-Reply-To: <00aa01c5a2aa$8221f250$fac581d5@pedro> Message-ID: <20050817124430.HRTS24175.ibm69aec.bellsouth.net@SUSANONE> Checkboxes have a tri-state, on, off, and Null. You might want to check that -- perhaps someone accidentally changed it? Although, if I'm not mistaken, even if the control is Null, you should still be able to change it. Susan H. how is it possible that suddenly on a form in almost al records certain checkboxes are working but in some records they don't function (are greyed out and can't make them "true" or "not true"). Nothing strange happened before. From jwcolby at colbyconsulting.com Wed Aug 17 07:51:34 2005 From: jwcolby at colbyconsulting.com (John W. Colby) Date: Wed, 17 Aug 2005 08:51:34 -0400 Subject: [AccessD] checkboxes aren't functioning In-Reply-To: <20050817124430.HRTS24175.ibm69aec.bellsouth.net@SUSANONE> Message-ID: <00b101c5a32a$6628a1e0$6c7aa8c0@ColbyM6805> However what if it is bound to a non-boolean field. For example it is bound to an integer, the integer can contain 0 and -1 (and null) so it looks like it works just fine. But what happens if the field gets set to something other than null, 0 or -1? Note I have never tested this, just throwing it out.... John W. Colby www.ColbyConsulting.com Contribute your unused CPU cycles to a good cause: http://folding.stanford.edu/ -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Susan Harkins Sent: Wednesday, August 17, 2005 8:44 AM To: 'Access Developers discussion and problem solving' Subject: RE: [AccessD] checkboxes aren't functioning Checkboxes have a tri-state, on, off, and Null. You might want to check that -- perhaps someone accidentally changed it? Although, if I'm not mistaken, even if the control is Null, you should still be able to change it. Susan H. how is it possible that suddenly on a form in almost al records certain checkboxes are working but in some records they don't function (are greyed out and can't make them "true" or "not true"). Nothing strange happened before. -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From prosoft6 at hotmail.com Wed Aug 17 07:57:42 2005 From: prosoft6 at hotmail.com (Julie Reardon-Taylor) Date: Wed, 17 Aug 2005 08:57:42 -0400 Subject: [AccessD] I Need Some Ideas In-Reply-To: <001c01c5a29b$4bb39ca0$6401a8c0@laptop1> Message-ID: No. The company is in NY. The salaries range from $37,000 to $65,000. Julie Reardon-Taylor PRO-SOFT OF NY, INC. 44 Public Square Suite #5 Watertown, NY 13601 Phone/Fax: (315) 785-0319 www.pro-soft.net From Chester_Kaup at kindermorgan.com Wed Aug 17 07:59:37 2005 From: Chester_Kaup at kindermorgan.com (Kaup, Chester) Date: Wed, 17 Aug 2005 07:59:37 -0500 Subject: FW: [AccessD] Why is function being called?? Message-ID: Problem resolved. Myds4 is the result of a select query that uses the DaysInMonth2 function. Might speed things up if the query was a make table and DaysInMonth2 would not have to recalculate all the time. -----Original Message----- From: Kaup, Chester Sent: Wednesday, August 17, 2005 7:11 AM To: 'Access Developers discussion and problem solving' Subject: RE: [AccessD] Why is function being called?? My mistake DaysInMonth2 is a function. It is declared as an integer. Thanks for looking. -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Bobby Heid Sent: Wednesday, August 17, 2005 6:51 AM To: 'Access Developers discussion and problem solving' Subject: RE: [AccessD] Why is function being called?? I don't understand. You are saying that DaysInMonth is a function. Yet your code has: DaysinMonth = DaysInMonth2(myds3.Fields(1)) By this, DaysInMonth2 is the function. How is DaysInMonth declared? Bobby -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Kaup, Chester Sent: Tuesday, August 16, 2005 5:24 PM To: Access Developers discussion and problem solving Subject: [AccessD] Why is function being called?? Below is a piece of code. DaysInMonth is a function. When the code runs and hits the line myds1.Fields(2) = Nz(myds4.Fields(8)) the function runs. I don't see anything that is calling it. Your thoughts appreciated. Do Until myds4.EOF DaysinMonth = DaysInMonth2(myds3.Fields(1)) If Day(myds3.Fields(1)) < DaysinMonth And RecordCounter = 1 Then StartCounter = Day(myds3.Fields(1)) ProdDate = myds3.Fields(1) Else StartCounter = 1 ProdDate = myds4.Fields(1) End If For I = StartCounter To DaysinMonth myds1.AddNew myds1.Fields(0) = ProdDate myds1.Fields(1) = myds4.Fields(0) myds1.Fields(2) = Nz(myds4.Fields(8)) myds1.Update ProdDate = ProdDate + 1 Next I RecordCounter = RecordCounter + 1 myds4.MoveNext Loop Chester Kaup -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From bheid at appdevgrp.com Wed Aug 17 08:02:53 2005 From: bheid at appdevgrp.com (Bobby Heid) Date: Wed, 17 Aug 2005 09:02:53 -0400 Subject: [AccessD] Why is function being called?? In-Reply-To: <916187228923D311A6FE00A0CC3FAA30C5E38D@ADGSERVER> Message-ID: <916187228923D311A6FE00A0CC3FAA30ABEE58@ADGSERVER> I figured so, I was just making sure. So you are saying that DaysInMonth2 is being called when you execute the line myds1.Fields(2) = Nz(myds4.Fields(8)) If so, the only thing that I can think of that might cause this is some sort of corruption in the FE. Have you tried a decompile/compile or importing the FE into a new FE? Bobby -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Kaup, Chester Sent: Wednesday, August 17, 2005 8:12 AM To: Access Developers discussion and problem solving Subject: RE: [AccessD] Why is function being called?? My mistake DaysInMonth2 is a function. It is declared as an integer. Thanks for looking. -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Bobby Heid Sent: Wednesday, August 17, 2005 6:51 AM To: 'Access Developers discussion and problem solving' Subject: RE: [AccessD] Why is function being called?? I don't understand. You are saying that DaysInMonth is a function. Yet your code has: DaysinMonth = DaysInMonth2(myds3.Fields(1)) By this, DaysInMonth2 is the function. How is DaysInMonth declared? Bobby -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Kaup, Chester Sent: Tuesday, August 16, 2005 5:24 PM To: Access Developers discussion and problem solving Subject: [AccessD] Why is function being called?? Below is a piece of code. DaysInMonth is a function. When the code runs and hits the line myds1.Fields(2) = Nz(myds4.Fields(8)) the function runs. I don't see anything that is calling it. Your thoughts appreciated. Do Until myds4.EOF DaysinMonth = DaysInMonth2(myds3.Fields(1)) If Day(myds3.Fields(1)) < DaysinMonth And RecordCounter = 1 Then StartCounter = Day(myds3.Fields(1)) ProdDate = myds3.Fields(1) Else StartCounter = 1 ProdDate = myds4.Fields(1) End If For I = StartCounter To DaysinMonth myds1.AddNew myds1.Fields(0) = ProdDate myds1.Fields(1) = myds4.Fields(0) myds1.Fields(2) = Nz(myds4.Fields(8)) myds1.Update ProdDate = ProdDate + 1 Next I RecordCounter = RecordCounter + 1 myds4.MoveNext Loop Chester Kaup From jimdettman at earthlink.net Wed Aug 17 08:10:00 2005 From: jimdettman at earthlink.net (Jim Dettman) Date: Wed, 17 Aug 2005 09:10:00 -0400 Subject: [AccessD] Bug Report In-Reply-To: <004201c5a259$b0d252d0$6c7aa8c0@ColbyM6805> Message-ID: John, OK. Just wanted to make sure I was understanding correctly. Jim. -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of John W. Colby Sent: Tuesday, August 16, 2005 7:58 AM To: 'Access Developers discussion and problem solving' Subject: RE: [AccessD] Bug Report Oh, sorry. I was discussing my particular bug, not the "breakpoint" case. /decompile definitely has always solved the cases I've seen of the "breakpoint" issue. And I see it quite often. John W. Colby www.ColbyConsulting.com Contribute your unused CPU cycles to a good cause: http://folding.stanford.edu/ -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Jim Dettman Sent: Tuesday, August 16, 2005 7:31 AM To: Access Developers discussion and problem solving Subject: RE: [AccessD] Bug Report John, I thought you said the other day that this didn't work for you? "Yea, I've seen this too. Breaks even though the breakbpoint was removed. I think it is the same issue, i.e. "invisible stuff" in the source code that is not properly stripped out. Unfortunately /decompile does not help in this case. All that /decompile does is throw out the pcode stream forcing a recompile of the entire source code stream. If the source stream is bad then the next compile will just recreate the bad pcode." Jim. -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of John W. Colby Sent: Tuesday, August 16, 2005 7:17 AM To: 'Access Developers discussion and problem solving' Subject: RE: [AccessD] Bug Report A /decompile / compile / compact / repair has always fixed it for me. John W. Colby www.ColbyConsulting.com Contribute your unused CPU cycles to a good cause: http://folding.stanford.edu/ -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Jim Dettman Sent: Tuesday, August 16, 2005 6:17 AM To: Access Developers discussion and problem solving Subject: RE: [AccessD] Bug Report Rocky, None that I'm aware of. I usually do a /decompile as soon as I see the weird stuff start to happen. That pretty much clears it up. If not, I go to a backup. Jim. -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Rocky Smolin - Beach Access Software Sent: Monday, August 15, 2005 4:36 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Bug Report Jim: "code breaks on a line where a breakpoint was but is no longer" I've had this happen as well, even more embarrassing, at the customer when suddenly they find themselves in the code page with a yellow highlight. Has there been no fix for this from MS? Rocky -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From carbonnb at sympatico.ca Wed Aug 17 08:14:42 2005 From: carbonnb at sympatico.ca (Bryan Carbonnell) Date: Wed, 17 Aug 2005 09:14:42 -0400 Subject: [AccessD] I Need Some Ideas In-Reply-To: <0ILA0086LN63B7@l-daemon> References: Message-ID: On 15 Aug 2005 at 19:34, Jim Lawrence wrote: > Our web site needs a lot of work to move to the next level. > > A few simple things that would require a bit of research... > > 1. Create the definitive link list for the site. You know most of the > sites from but there are a few out there that are not obvious but > definitely should be counted... like 'http://www.colbyconsulting.com/' > or 'http://www.rogersaccesslibrary.com' or > 'http://www.mvps.org/access/' and many more. It would be great to be > able to create the ultimate Access research page. You just listed the only sites I use for Access stuff. :) I do have a series of links in my favourites at work that I can't get access to at the moment :( Ya just gotta love union negotiations that end in lockouts instead of a new contract :( > 2. Putting some of the great comments and code snippets into either a > gazette or new article for upcoming issues(s). Hmmmm, this could be an interesting challenge > 3 List member advertisement pages stores on a MS SQL DB. This is not > confirmed by the executive yet but I believe it makes sense. We should > be supporting our list members' accomplishment like their books, > articles, programs or even design and support companies. We are a way > from implementing this but the format, design, and coding can be > started as it will be a lengthy development from creation to > implementation. The problem is that I don't know anything about MS SQL of interfacing in with the web. Nor do I have access to a box with MS SQL and IIS. > 4. There is of course .Net... and XML/HXML/AJAX... where much of > Access development is heading/expanding. It is a truly distributive > application development platform and the performance is really awesome > when using ASP.Net client side is coupled with ADO.Net... 'a thousand > users are serviced as fast as one' (Not mine but a quote from a > book.). Should we be looking seriously at this? Articles, new lists, > roll our own? Too many acronymns :) Seriously, I think it would be just a bit too much for me to learn all at once right now. > These are just a few of the web site work that is waiting to be > started and implemented. There are some good ideas there Jim. I may plug away at some of them. > Our current web site owners are having some problems getting our MS > SQL server up and running again but we will be getting MS SQL support > one way or the other. So you can work/plan for/with a MS SQL set of > option/solutions. See above :( -- Bryan Carbonnell - carbonnb at sympatico.ca Failure is not an option. It comes bundled with the software. From andy at minstersystems.co.uk Wed Aug 17 08:17:12 2005 From: andy at minstersystems.co.uk (Andy Lacey) Date: Wed, 17 Aug 2005 14:17:12 +0100 Subject: [AccessD] checkboxes aren't functioning Message-ID: <20050817131709.1F6D024E99C@smtp.nildram.co.uk> IIRC it shows tick if -1 and no tick (ie False) if anything else, or vice-versa. I don't think it'd cause this, though like you I haven't tested. And Susan's right. If the value is Null it shows a grey tick box but allows you to tick/untick. -- 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] checkboxes aren't functioning Date: 17/08/05 12:54 However what if it is bound to a non-boolean field. For example it is bound to an integer, the integer can contain 0 and -1 (and null) so it looks like it works just fine. But what happens if the field gets set to something other than null, 0 or -1? Note I have never tested this, just throwing it out.... John W. Colby www.ColbyConsulting.com Contribute your unused CPU cycles to a good cause: http://folding.stanford.edu/ -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Susan Harkins Sent: Wednesday, August 17, 2005 8:44 AM To: 'Access Developers discussion and problem solving' Subject: RE: [AccessD] checkboxes aren't functioning Checkboxes have a tri-state, on, off, and Null. You might want to check that -- perhaps someone accidentally changed it? Although, if I'm not mistaken, even if the control is Null, you should still be able to change it. Susan H. how is it possible that suddenly on a form in almost al records certain checkboxes are working but in some records they don't function (are greyed out and can't make them "true" or "not true"). Nothing strange happened before. -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com ________________________________________________ Message sent using UebiMiau 2.7.2 From carbonnb at sympatico.ca Wed Aug 17 08:19:49 2005 From: carbonnb at sympatico.ca (Bryan Carbonnell) Date: Wed, 17 Aug 2005 09:19:49 -0400 Subject: [AccessD] I Need Some Ideas In-Reply-To: <004001c5a253$afa50520$6c7aa8c0@ColbyM6805> References: <000e01c5a230$049f5d10$2c1f0c54@minster33c3r25> Message-ID: On 16 Aug 2005 at 7:14, John W. Colby wrote: > Oooooohhh I have a great idea for that one. So, what is it? > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Andy Lacey > Hi Bryan > Really sorry to hear that. > > How about the long-awaited v2 of BEU? -- Bryan Carbonnell - carbonnb at sympatico.ca An unkind remark is like a killing frost. No matter how much it warms up later, the damage remains. From carbonnb at sympatico.ca Wed Aug 17 08:19:49 2005 From: carbonnb at sympatico.ca (Bryan Carbonnell) Date: Wed, 17 Aug 2005 09:19:49 -0400 Subject: [AccessD] I Need Some Ideas In-Reply-To: <000e01c5a230$049f5d10$2c1f0c54@minster33c3r25> References: Message-ID: On 16 Aug 2005 at 7:59, Andy Lacey wrote: > Really sorry to hear that. > > How about the long-awaited v2 of BEU? We were just going to make V2 an library? Or was that V 3? I don't remember. I suppose I could always go back and look at the archives, eh? :) -- 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 carbonnb at sympatico.ca Wed Aug 17 08:19:49 2005 From: carbonnb at sympatico.ca (Bryan Carbonnell) Date: Wed, 17 Aug 2005 09:19:49 -0400 Subject: [AccessD] I Need Some Ideas In-Reply-To: Message-ID: On 16 Aug 2005 at 8:43, Charlotte Foust wrote: > Get the student version and dive into VB.Net. It takes time to learn > but the results are well worth it. Money is in short supply so purchasing new software is out of the question. Have you looked at #develop, the Open Source .Net IDE (http://www.sharpdevelop.net/OpenSource/SD/Default.aspx)? Would that be as effective at learning VB.Net as MS.Net? -- Bryan Carbonnell - carbonnb at sympatico.ca Birthdays are good for you; the more you have, the longer you live. From carbonnb at sympatico.ca Wed Aug 17 08:19:49 2005 From: carbonnb at sympatico.ca (Bryan Carbonnell) Date: Wed, 17 Aug 2005 09:19:49 -0400 Subject: [AccessD] I Need Some Ideas In-Reply-To: References: Message-ID: On 16 Aug 2005 at 8:50, Julie Reardon-Taylor wrote: > Where are you located? I know of a company who is trying to fill > sixteen IT positions this fall. I'm in Toronto, Canada. Close to NY, but not close enough to work there :( -- Bryan Carbonnell - carbonnb at sympatico.ca Don't be irreplaceable. If you can't be replaced, you can't be promoted. From carbonnb at sympatico.ca Wed Aug 17 08:24:58 2005 From: carbonnb at sympatico.ca (Bryan Carbonnell) Date: Wed, 17 Aug 2005 09:24:58 -0400 Subject: [AccessD] I Need Some Ideas In-Reply-To: <6A6AA9DF57E4F046BDA1E273BDDB677233778A@corp-es01.fleetpride.com> Message-ID: On 16 Aug 2005 at 14:25, Hale, Jim wrote: > One of my favorite Access books was "Access 95 How-To" by Ken Getz and > Paul Litwin. It was updated and re-released as the "Access Cookbook" > by O'Reilly in 2002. This book posed a problem and provided the > solution together with a detailed explanation. No extraneous junk. The > reason I bring this up is that I think an AccessD book organized along > the same lines would make a fantastic project. After all, the archives > have hundreds of solution unavailable elsewhere. AccessD could receive > royalties along with the author to allow the group to continue paying > its modest bills. I presume releases would be required from posters > since some material (such as John's framework tutorials) are intended > for publication in their own book. As the authors on this list can > attest no book is an "easy" project but I think this would be a win > for AccessD, developers, and the author willing to take on the job. My > 2 cents. This sounds quite interesting. I think a DBA sponsored book would need the BOD's approval prior to starting though. -- Bryan Carbonnell - carbonnb at sympatico.ca Learn from the mistakes of others. You can't live long enough to make them all yourself. From carbonnb at sympatico.ca Wed Aug 17 08:24:58 2005 From: carbonnb at sympatico.ca (Bryan Carbonnell) Date: Wed, 17 Aug 2005 09:24:58 -0400 Subject: [AccessD] I Need Some Ideas In-Reply-To: <123701F54509D9119A4F00D0B747349016DD4C@main2.marlow.com> Message-ID: On 16 Aug 2005 at 14:59, DWUTKA at marlow.com wrote: > That's easy, and requires no code or special hardware. Just call up > JC, and tell him that you don't think his framework would hand > XYZ...and let him prove you wrong. When he has given you proof, thank > him, tell him he's stellar, and a god among mortals, and walk away > with completed JC Classes. Even easier solution, just send an e-mail to JC :) -- Bryan Carbonnell - carbonnb at sympatico.ca We've all heard that a million monkeys banging on a million typewriters will eventually reproduce the entire works of Shakespeare. Now, thanks to the Internet, we know this is not true." [Robert Wilensky (1997)] From carbonnb at sympatico.ca Wed Aug 17 08:24:58 2005 From: carbonnb at sympatico.ca (Bryan Carbonnell) Date: Wed, 17 Aug 2005 09:24:58 -0400 Subject: [AccessD] I Need Some Ideas In-Reply-To: <200508161908.j7GJ8aR24489@databaseadvisors.com> References: Message-ID: On 16 Aug 2005 at 14:08, John Bartow wrote: > An ambitiuos question! Ambitious is good, if I know the content :) > How about a set of classes for easily automating Word from Access? What benefit would that be, instead of just using the Word Object model directly? And more importantly, what would you like to see in it? -- Bryan Carbonnell - carbonnb at sympatico.ca A good friend will come bail you out of jail.... but a true friend will be sitting next to you saying "Damn... We ****ed up." From carbonnb at sympatico.ca Wed Aug 17 08:24:58 2005 From: carbonnb at sympatico.ca (Bryan Carbonnell) Date: Wed, 17 Aug 2005 09:24:58 -0400 Subject: [AccessD] I Need Some Ideas In-Reply-To: <123701F54509D9119A4F00D0B747349016DD4A@main2.marlow.com> Message-ID: On 16 Aug 2005 at 11:29, DWUTKA at marlow.com wrote: > How about a master table-linker service? Create a service that can be > run on any machine in the network, which 'knows' the location of all > linked tables. One module in the database runs at startup, 'scans' > the network for the 'server' which tells it if it needs to relink it's > tables or not. Besides running as a service, how would that be much different from any of the other relinkers out there? Wouldn't something that scans the network put a heavy load on the network? -- Bryan Carbonnell - carbonnb at sympatico.ca If you're too open-minded, your brains will fall out. From carbonnb at sympatico.ca Wed Aug 17 08:30:12 2005 From: carbonnb at sympatico.ca (Bryan Carbonnell) Date: Wed, 17 Aug 2005 09:30:12 -0400 Subject: [AccessD] I Need Some Ideas In-Reply-To: <20050816234508.20273.qmail@web80802.mail.yahoo.com> References: <005201c5a2b9$7e409ba0$6c7aa8c0@ColbyM6805> Message-ID: On 16 Aug 2005 at 16:45, David Mcafee wrote: > Speaking of which, isn't it that time again? Yep. I think so. The last one, IIRC, was at Lembit's place in Germany last summer. I think we need one in Canada this time. Somewhere in Southern Ontario is my suggestion :) -- Bryan Carbonnell - carbonnb at sympatico.ca I've learned.... That the less time I have to work with, the more things I get done. From carbonnb at sympatico.ca Wed Aug 17 08:30:11 2005 From: carbonnb at sympatico.ca (Bryan Carbonnell) Date: Wed, 17 Aug 2005 09:30:11 -0400 Subject: [AccessD] I Need Some Ideas In-Reply-To: References: <001c01c5a29b$4bb39ca0$6401a8c0@laptop1> Message-ID: On 17 Aug 2005 at 8:57, Julie Reardon-Taylor wrote: > No. The company is in NY. The salaries range from $37,000 to > $65,000. Decent salaries, but too far for me :-(( -- Bryan Carbonnell - carbonnb at sympatico.ca You're just jealous because the voices only talk to me. From mikedorism at verizon.net Wed Aug 17 08:36:13 2005 From: mikedorism at verizon.net (Mike & Doris Manning) Date: Wed, 17 Aug 2005 09:36:13 -0400 Subject: [AccessD] checkboxes aren't functioning In-Reply-To: <20050817131709.1F6D024E99C@smtp.nildram.co.uk> Message-ID: <000d01c5a330$a41674e0$2e01a8c0@dorismanning> Are you sure the controls haven't been set to Enabled = False and Locked = True? Doris Manning Database Administrator Hargrove Inc. mikedorism at verizon.net From Chester_Kaup at kindermorgan.com Wed Aug 17 08:37:32 2005 From: Chester_Kaup at kindermorgan.com (Kaup, Chester) Date: Wed, 17 Aug 2005 08:37:32 -0500 Subject: [AccessD] Why is function being called?? Message-ID: Myds4 is the result of a select query that uses the DayInMonth2 function. I appears that each time a record that the query generates is accessed it runs the function. Just as a test I changed the query to a make table query and changed the code to use the make table query. Now no calling of the function occurs. Go figure? -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Bobby Heid Sent: Wednesday, August 17, 2005 8:03 AM To: 'Access Developers discussion and problem solving' Subject: RE: [AccessD] Why is function being called?? I figured so, I was just making sure. So you are saying that DaysInMonth2 is being called when you execute the line myds1.Fields(2) = Nz(myds4.Fields(8)) If so, the only thing that I can think of that might cause this is some sort of corruption in the FE. Have you tried a decompile/compile or importing the FE into a new FE? Bobby -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Kaup, Chester Sent: Wednesday, August 17, 2005 8:12 AM To: Access Developers discussion and problem solving Subject: RE: [AccessD] Why is function being called?? My mistake DaysInMonth2 is a function. It is declared as an integer. Thanks for looking. -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Bobby Heid Sent: Wednesday, August 17, 2005 6:51 AM To: 'Access Developers discussion and problem solving' Subject: RE: [AccessD] Why is function being called?? I don't understand. You are saying that DaysInMonth is a function. Yet your code has: DaysinMonth = DaysInMonth2(myds3.Fields(1)) By this, DaysInMonth2 is the function. How is DaysInMonth declared? Bobby -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Kaup, Chester Sent: Tuesday, August 16, 2005 5:24 PM To: Access Developers discussion and problem solving Subject: [AccessD] Why is function being called?? Below is a piece of code. DaysInMonth is a function. When the code runs and hits the line myds1.Fields(2) = Nz(myds4.Fields(8)) the function runs. I don't see anything that is calling it. Your thoughts appreciated. Do Until myds4.EOF DaysinMonth = DaysInMonth2(myds3.Fields(1)) If Day(myds3.Fields(1)) < DaysinMonth And RecordCounter = 1 Then StartCounter = Day(myds3.Fields(1)) ProdDate = myds3.Fields(1) Else StartCounter = 1 ProdDate = myds4.Fields(1) End If For I = StartCounter To DaysinMonth myds1.AddNew myds1.Fields(0) = ProdDate myds1.Fields(1) = myds4.Fields(0) myds1.Fields(2) = Nz(myds4.Fields(8)) myds1.Update ProdDate = ProdDate + 1 Next I RecordCounter = RecordCounter + 1 myds4.MoveNext Loop Chester Kaup -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From ssharkins at bellsouth.net Wed Aug 17 08:39:30 2005 From: ssharkins at bellsouth.net (Susan Harkins) Date: Wed, 17 Aug 2005 09:39:30 -0400 Subject: [AccessD] checkboxes aren't functioning In-Reply-To: <20050817131709.1F6D024E99C@smtp.nildram.co.uk> Message-ID: <20050817133927.NVUV3975.ibm66aec.bellsouth.net@SUSANONE> I usually don't do this -- but I forgot who asked the original question. I don't think there's anything in here to solve the original problem, but thought some of you might find it helpful. There are two articles (no figures unfortunately, and the copyrights are intact at the bottom of each). If anyone has a subscription, I'll be glad to send the links so you can get figures and all. The first article isn't exactly relevant, but more an extension of the second article, which is specifically about the Tri-state property. I should've copied them in reverse order -- sorry about that. Susan H. Tweak combobox settings to appropriately display and store Boolean values by Susan Sales Harkins and Gustav Brock Application(s): Microsoft Access 97/2000/2002/2003 Operating System(s): Microsoft Windows Access lets you define a field as a Yes/No data type, which denotes a Boolean value. That means the field stores only two values: -1 and 0. The checkbox control is the natural and logical choice to interact with this data type. In fact, the Form wizards automatically use a check box to present the Yes/No data type in a form. However, there may be times when you want to use a different control, such as a combobox control. Unfortunately, other controls aren't as inherently compatible with Boolean values and might need a bit of tweaking to handle them appropriately. In this article, we'll show you how to trick both a bound and an unbound combo box into displaying Boolean values. No place for maybes In the Boolean world, there's no maybe-there's only -1 and 0. The Boolean data type, named Yes/No in Access, represents a two-position state of activity: True/False, On/Off, Yes/No, and so on. Regardless of the format you use to display a Yes/No field's values to the user, the underlying values will always be -1 or 0, where -1 represents the active position (Yes) and 0 represents the inactive position (No). As mentioned before, the checkbox control is a natural choice for displaying Boolean values in a bound control. Like the data type, the check box has two positions: selected and deselected. Using a control such as a combobox requires a little work because the combobox control isn't restricted to just two values. The combobox bound to a Boolean field is the easiest to adapt, so that's where we'll start. Then, we'll look at a special problem that crops up when using an unbound combobox with Boolean values. Related article For another way to visually present Boolean values, see the De-cember 2003 article "Using the Triple State property to express a Null value in Boolean controls." You can view the article online at http://www.elementkjournals.com%2fpremier%2fjournal_archive.asp?vwJournalID= IMA#200312. Examining the problems with combobox controls bound to Yes/No fields The first problem that appears when you bind a combobox control to a Yes/No field is that the con-trol displays the Boolean values, -1 and 0, instead of Yes and No. In addition, although the bound combo box displays the underlying values, the list compo-nent is empty, as shown in Figure A. The control is actually performing properly by displaying the ac-tual values and not any representative text, since no representative text has been supplied yet. Figure A: A combo box bound to a Yes/No field displays the numeric Boolean values by default. Making bound combobox controls Boolean-friendly Fortunately, it's easy to get a combo box to appropriately display a Boolean value. To demonstrate, create a table that includes some Yes/No fields, similar to the ones shown in Figure A. Add a few records and then create a new form that's bound to the table. Instead of dragging the Yes/No fields from the field list, add combobox controls to the form and bind the controls to the fields by setting the Control Source property appropriately. Once you've finished setting up the form, switch to Form view and experiment with the combobox controls. You'll find that they exhibit the behavior described in the previous section. Now, switch back to Design view and we'll address the issues. First, set the control's Format property to Yes/No. The modified control interprets the underlying value and displays the appropriate text value: Yes or No. However, the list is still empty. To create an appropriate list, change the control's Row Source Type property to Value List. Then, enter a Row Source setting of Yes;No Figure B shows the impact that just these few changes have on the control. The combo box now displays the representative text value in the text box, and it displays appropriate values as list items. Figure B: Use the control's Format property to determine the text values and the Row Source property to set the list values. Note that you don't have to choose an item from the control's list. If you type -1 in the combo box and then press [Enter], the control displays Yes; type 0 in the combo box and press [Enter] and the control displays No. Keep in mind that the control's text box accepts any value, not just the values -1 and 0. Any numeric value other than 0, including negative values, returns a true result (Yes, True, and On). If you must restrict data input to just -1 and 0, add a validation rule or use VBA. An unbound combobox behaves in the same way. Handling Boolean values in an unbound combobox control An unbound combobox that displays just Boolean values is a bit unusual, but certainly acceptable. You can use the properties reviewed in the previous section to get the unbound control to behave the same way as far as displaying values is concerned. Just remember, you must use the Format property to determine the displayed value. If you don't set the Format property, the control displays the actual input value. Unlike the bound control, the unbound control has no underlying data type to force a compatible Boolean entry. The main difference of concern is the control's value. If you open the table bound to your sample form, you'll find that the control updated the bound fields as you'd expect-the Yes/No field stores only -1 and 0. The Yes and No strings in the combo box are just for show. The bound combobox will always equal a true or false value (-1 or 0). An unbound control isn't as predictable. For this example, create a form and add two unbound combobox controls. Set the Format property as before and rename the first control cbo1. Then, open the VBE and add the following event procedure: Private Sub Cbo1_LostFocus() Debug.Print cbo1.Value End Sub Return to the form in Form view and enter the value -1 in the first combobox and move focus to the second control. The text box component returns the value Yes, as you expect. Return to the VBE and you'll see the value -1 in the Immediate window (the result of the event procedure). Return to the form and enter the value True in the first combobox. The text box component again correctly interprets the value as Yes, but the control actually equals the value True, as shown in Figure C. Return to the form and enter any numeric value, and then check the Immediate window. You'll see that the control itself always equals the input value and not the Boolean values -1 or 0. Remember, the bound example accepted values other than -1 and 0, but the underlying Boolean data type forced the control to interpret the value as either -1 or 0. The unbound control won't force a Boolean value. The Format property forces the displayed value, but it doesn't convert the input value. Figure C: The unbound control equals the input value, not a Boolean value. Forcing valid Boolean values in an unbound combobox control There's an easy solution to the unbound problem. Force the control to equal either -1 or 0 by changing the Row Source setting to -1;Yes;0;No Then, change the Row Source Type property to Value List. Finally, change the Column Count property to 2 and change the Column Widths property to 0". As a result, the unbound control continues to display Yes and No in the list and it equals the appropriate Boolean value. However, the control itself is a bit limited. The control accepts only the values Yes and No. This limitation could be good or bad depending on your needs. After modifying the properties, enter the value Yes in the combo box and then check the Immediate window. This time the value in the Immediate window is -1; enter No and the value is 0. Formatting choices besides Yes/No Both of our examples use the Yes/No format set at the control level. The True/False or On/Off formats behave similarly, in keeping with the underlying Boolean values. Just remember that -1 equals Yes, True, and On; 0 equals No, False, and Off. Additional considerations may be needed if your application serves an international audience, as described in the accompanying article "Automatically localize Boolean values in control lists." (https://www.elementkjournals.com%2fpremier%2fjournal_archive.asp?vwJournalI D=IMA#20051) Expanding your control choice options Although it's probably easiest to use a check box to represent Boolean values, there can be times when another control is better suited to an entry form or interface. As we've shown you, a combobox control can be a viable alternative-with just a bit of coercion. Gustav Brock is a consultant who has been working with Microsoft Access since version 1.0. Gustav is a developer at Cactus Data ApS, an independent software house specializing in accounting and time billing systems and custom database applications. You can contact Gustav at gustav at cactus.dk.Back to top Questions? Email the editor. If you're having problems viewing this article please email us. Please be aware of our copyright policy. C 2005 Element K Journals, a division of Element K Press LLC ("Element K"). The content published on this site ("Content") is the property of Element K or its affiliates or third party licensors and is protected by copyright law in the U.S. and elsewhere. Using the Triple State property to express a Null value in Boolean controls by Susan Sales Harkins Application(s): Microsoft Access 97/2000/2002 Operating System(s): There are several native Access controls that are typically used to imply one setting of a dual state. The check box, toggle button, and even the option button are all usually used to display or offer a choice between two settings: yes and no, true and false, on and off, and so on. Occasionally, you'll find that two states aren't enough-sometimes a Null value can be just as critical as true and false. In this article, we'll show you how to flip that on/off switch a third way to also accommodate Null values. Showing three states with one control Before directly working with any controls, we'll start with a quick rundown of the key behaviors associated with controls that are used to indicate true or false states and discuss how to influence the way in which Null values are handled. Then, we'll examine the default control behavior firsthand using a form and some unbound controls. Finally, we'll show you how to accommodate Null values, which is especially important to know when your controls are bound to a data source. About Boolean type controls Access has a robust set of interface controls and knowing all the little behaviors and special properties is a lot of work. For instance, there are a few controls, referred to as Boolean controls because they accept or display only Boolean values-true and false. Internally, Access actually stores the values -1 and 0, respectively, but the purpose is the same. That purpose is to act somewhat like a switch between two states, such as on and off, yes and no, and true and false. The matter can be confusing once you throw the Null value into the mix because the control must somehow handle three values. All three of Access' Boolean controls, the check box, the toggle button, and the option button (known to some as a radio button), can display two states. Fortunately, all three controls can also handle a third state if you simply set the Triple State property to Yes. The Triple State property With the Triple State property set to No (the default state), each of the three controls will interpret a Null value as a False value. Although a Null value isn't the same as a False value, the arrangement works well, most of the time. However, when your need to know that Null really means Null, the default state just won't do. Setting the control's Triple State property to Yes allows the control to interpret a Null value in addition to the traditional Boolean values of True and False. Examining an unbound example Working with an unbound form is the best way to illustrate how these controls work. To do so, create a new form and add one of each of the three Boolean type controls: a check box, a toggle button, and an option button (don't worry about including the latter within an option group). Name the controls chk, tgl, and opt, respectively. Then, insert a label control containing a few blank spaces to the right of each Boolean control. Name the label controls lblChk, lblTgl, and lblOpt, accordingly. You'll use these labels to display the numeric value of each control as you cycle through True and False (and later the Null) states. Next, open the form's module and add the event procedures in Listing A. Close the VBE and save the form as frmUnbound. Now, switch to Form view. When you switch to Form view for the first time, the check box and option button will be dimmed (or grayed out). Listing A: Control Click event procedures Private Sub chk_Click() lblChk.Caption = chk.Value End Sub Private Sub tgl_Click() lblTgl.Caption = tgl.Value End Sub Private Sub opt_Click() lblOpt.Caption = opt.Value End Sub By default, the controls' Triple State properties are set to No. As such, the controls display only two states-True and False. Select the check box, click the toggle button, and select the option button. This selected or clicked state is shown in the form on the left in Figure A. Now, deselect the check box, unclick the toggle button, and deselect the option button to display the second state, as represented in the form on the right. Figure A: By default, the Boolean type controls display only two states. The visual state is a clue to the control's value. As you can see in each control's corresponding label, a clicked or selected control represents a True value (-1) and an unclicked or deselected state represents a False value (0). A third set of clicks cycles the controls to the True state again. Working with a bound example Now, let's see how they handle a Null value. At this point, it's important to note that the underlying data type must accept at least three values: -1, 0, and Null. To set up the example, close the form and create a new table. Add three Numeric fields to the table named chk, tgl, and opt. Finally, save the table as tblBound and close it. Next, open your form in Design view and save it as frmBound to create a copy. Then, set the form's Record Source property to tblBound. Set each control's Control Source property to its corresponding field in tblBound. Save the form and then switch to Form view. At first, the controls appear empty because their bound fields contain no values. At this point, cycling through the controls' states will have the same effect as you saw earlier-the controls display just the two states of True and False. Now, set all of the controls to a False state and switch the form to Design view. Next, change each of the Boolean type controls' Triple State properties to Yes. Then, replace the previous event procedures with the ones shown in Listing B. If you don't use the new procedures, the old ones will return an error when the control equals Null. Listing B: Code to reflect three states Private Sub chk_Click() If IsNull(chk) Then lblChk.Caption = "Null" Else lblChk.Caption = chk.Value End If End Sub Private Sub opt_Click() If IsNull(opt) Then lblOpt.Caption = "Null" Else lblOpt.Caption = opt.Value End If End Sub Private Sub tgl_Click() If IsNull(tgl) Then lblTgl.Caption = "Null" Else lblTgl.Caption = tgl.Value End If End Sub Close the VBE, save the form, and switch to Form view. Click on each control to cycle past the False state and you'll see that they display the newly enabled Null state, as shown in Figure B. Figure B: These controls accept and display a Null value. Using VBA to set the TripleState property Setting a control's Triple State property programmatically is simple, just identify the control and set the TripleState property to True or False as follows: control.TripleState = True | False where True sets the property to Yes, forcing the control to accept and display Null values. A False setting, or No, is the default setting, which displays just the True and False states. A quick trip to the state of either, or, and Null The Null value is a mystery to most and many avoid it because they simply don't know how to handle it. However, knowing it's out and about is the safest way to deal with Null values. When you need to know the difference between True, False, and Null, use a Boolean type control and set its Triple State property to Yes. As a result, the control will accommodate the Null value and visually alert you to its presence.Back to top Questions? Email the editor. If you're having problems viewing this article please email us. Please be aware of our copyright policy. C 2005 Element K Journals, a division of Element K Press LLC ("Element K"). The content published on this site ("Content") is the property of Element K or its affiliates or third party licensors and is protected by copyright law in the U.S. and elsewhere. IIRC it shows tick if -1 and no tick (ie False) if anything else, or vice-versa. I don't think it'd cause this, though like you I haven't tested. And Susan's right. If the value is Null it shows a grey tick box but allows you to tick/untick. From ldoering at symphonyinfo.com Wed Aug 17 08:45:01 2005 From: ldoering at symphonyinfo.com (Liz Doering) Date: Wed, 17 Aug 2005 08:45:01 -0500 Subject: [AccessD] WIERD little problem Message-ID: <855499653F55AD4190B242717DF132BC08317F@dewey.Symphony.local> Karen, Have you checked the tables used in the report for a corrupt record? 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 Karen Rosenstiel Sent: Tuesday, August 16, 2005 5:31 PM To: 'Access Developers discussion and problem solving' Subject: [AccessD] WIERD little problem I have a simple little scheduling database, front end and back end. I tried to print a report for tomorrow - a simple list - the database crashed. For some strange reason I cannot print the reports I need for tomorrow, although I could print reports for different dates - just not for tomorrow. It closed itself down and tried to compact itself and send a report to MS. At that point, I discovered that one of staff left open the front end with a little popup form from which you can view or print the reports wide open. I got her out of a meeting to shut down her open Access and then deleted the backup copies and the .ldb files. I could compact/repair the BE but not the FE. Has anybody had anything like this happen before? Any suggestions? I need to mention that I can't send the database to anybody for inspection because of confidentiality restrictions (I work in a jail health clinic). Thanks in advance. Regards, Karen Rosenstiel Seattle WA USA -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From prosoft6 at hotmail.com Wed Aug 17 08:40:22 2005 From: prosoft6 at hotmail.com (Julie Reardon-Taylor) Date: Wed, 17 Aug 2005 09:40:22 -0400 Subject: [AccessD] I Need Some Ideas In-Reply-To: <430303A4.15885.683255@carbonnb.sympatico.ca> Message-ID: Yes. Definitely Canada....Ontario would be great! It's only 40 miles away. Julie Reardon-Taylor PRO-SOFT OF NY, INC. 44 Public Square Suite #5 Watertown, NY 13601 Phone/Fax: (315) 785-0319 www.pro-soft.net From dejpolsys at hotmail.com Wed Aug 17 08:42:19 2005 From: dejpolsys at hotmail.com (William Hindman) Date: Wed, 17 Aug 2005 09:42:19 -0400 Subject: [AccessD] I Need Some Ideas References: Message-ID: ..with Harkins, Colby, and Martin among others here already published, the idea of an "AccessD" book with you doing the grunt work and using the list members as your resource and critic, getting approval shouldn't be a problem ..if just the list members bought copies, and you gave AccessD a share of the profits, it should put a cushion under the list finances for quite a while ...besides which, think how a really good Access book would look on your resume :) William ----- Original Message ----- From: "Bryan Carbonnell" To: "Access Developers discussion and problem solving" Sent: Wednesday, August 17, 2005 9:24 AM Subject: RE: [AccessD] I Need Some Ideas > On 16 Aug 2005 at 14:25, Hale, Jim wrote: > >> One of my favorite Access books was "Access 95 How-To" by Ken Getz and >> Paul Litwin. It was updated and re-released as the "Access Cookbook" >> by O'Reilly in 2002. This book posed a problem and provided the >> solution together with a detailed explanation. No extraneous junk. The >> reason I bring this up is that I think an AccessD book organized along >> the same lines would make a fantastic project. After all, the archives >> have hundreds of solution unavailable elsewhere. AccessD could receive >> royalties along with the author to allow the group to continue paying >> its modest bills. I presume releases would be required from posters >> since some material (such as John's framework tutorials) are intended >> for publication in their own book. As the authors on this list can >> attest no book is an "easy" project but I think this would be a win >> for AccessD, developers, and the author willing to take on the job. My >> 2 cents. > > This sounds quite interesting. I think a DBA sponsored book would > need the BOD's approval prior to starting though. > > -- > Bryan Carbonnell - carbonnb at sympatico.ca > Learn from the mistakes of others. You can't live long enough to make > them all yourself. > > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > From EdTesiny at oasas.state.ny.us Wed Aug 17 08:41:31 2005 From: EdTesiny at oasas.state.ny.us (Tesiny, Ed) Date: Wed, 17 Aug 2005 09:41:31 -0400 Subject: [AccessD] I Need Some Ideas Message-ID: Good excuse to take a test drive on The Cat Ed Tesiny EdTesiny at oasas.state.ny.us > > I think we need one in Canada this time. Somewhere in Southern > Ontario is my suggestion :) > > -- > Bryan Carbonnell - carbonnb at sympatico.ca > I've learned.... > That the less time I have to work with, the more things I get done. > > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > From JHewson at karta.com Wed Aug 17 08:53:22 2005 From: JHewson at karta.com (Jim Hewson) Date: Wed, 17 Aug 2005 08:53:22 -0500 Subject: [AccessD] SQL Server BE - Access FE Message-ID: <9C382E065F54AE48BC3AA7925DCBB01C036B677D@karta-exc-int.Karta.com> Doris, I appreciate the response. Sorry, I have been remiss in replying sooner. I started to create an ADP and then talked with one of my co-workers. He suggested that using a System DSN in the ODBC Data Source Administrator located under Control Panel -> Administrative Tools would work. Since we have about five users that get some benefit from this database, we used that method. It worked great... No login and Access pulls just what is needed from the SQL server. Thanks for your help. Jim -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Mike & Doris Manning Sent: Saturday, August 13, 2005 2:30 PM To: 'Access Developers discussion and problem solving' Subject: RE: [AccessD] SQL Server BE - Access FE If you use an ADP with Windows authentication, you will get around that. Otherwise you'll have to pop-up a login box each time you open the database to set the connection. Doris Manning mikedorism at verizon.net -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Jim Hewson Sent: Saturday, August 13, 2005 2:14 PM To: AccessD Subject: [AccessD] SQL Server BE - Access FE Works good.... I can't seem to figure out how the security on the SQL Database can be used. When I first go into the FE, the forms work... when I need to look at any of the data, I get an error message about the login failed for the user. I click the OK button and get another screen with Server visible and the Use Trusted Connection checked. When I uncheck the box, the Login ID and Password are available to enter the correct information. I've looked into the help and couldn't find what I needed. I have one user in SQL Server with the correct security (Read-Only). How do I connect without going through that sequence? TIA Jim -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From stuart at lexacorp.com.pg Wed Aug 17 09:10:45 2005 From: stuart at lexacorp.com.pg (Stuart McLachlan) Date: Thu, 18 Aug 2005 00:10:45 +1000 Subject: [AccessD] checkboxes aren't functioning In-Reply-To: <00b101c5a32a$6628a1e0$6c7aa8c0@ColbyM6805> References: <20050817124430.HRTS24175.ibm69aec.bellsouth.net@SUSANONE> Message-ID: <4303D205.23074.170ACFB@stuart.lexacorp.com.pg> On 17 Aug 2005 at 8:51, John W. Colby wrote: > However what if it is bound to a non-boolean field. For example it is bound > to an integer, the integer can contain 0 and -1 (and null) so it looks like > it works just fine. But what happens if the field gets set to something > other than null, 0 or -1? > 0 is false, anything else (other than Null) is "Not False" ie ticked. -- Stuart From andy at minstersystems.co.uk Wed Aug 17 09:52:48 2005 From: andy at minstersystems.co.uk (Andy Lacey) Date: Wed, 17 Aug 2005 15:52:48 +0100 Subject: [AccessD] I Need Some Ideas Message-ID: <20050817145245.08C7B251515@smtp.nildram.co.uk> I think we had quite a few suggestions/ideas and between us we could probably dig them out. But I do realise that this would only be a time-filler for you, nothing to pay the bills, so you (or others) may have better ideas. -- 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] I Need Some Ideas Date: 17/08/05 13:21 On 16 Aug 2005 at 7:59, Andy Lacey wrote: > Really sorry to hear that. > > How about the long-awaited v2 of BEU? We were just going to make V2 an library? Or was that V 3? I don't remember. I suppose I could always go back and look at the archives, eh? :) -- 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? -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com ________________________________________________ Message sent using UebiMiau 2.7.2 From DWUTKA at marlow.com Wed Aug 17 10:07:48 2005 From: DWUTKA at marlow.com (DWUTKA at marlow.com) Date: Wed, 17 Aug 2005 10:07:48 -0500 Subject: [AccessD] I Need Some Ideas Message-ID: <123701F54509D9119A4F00D0B747349016DD57@main2.marlow.com> Since when did you become an unbounder? I'm a little shocked at that. I guess you finally came across to the dark side! ;) Drew -----Original Message----- From: John W. Colby [mailto:jwcolby at colbyconsulting.com] Sent: Tuesday, August 16, 2005 5:27 PM To: 'Access Developers discussion and problem solving' Subject: RE: [AccessD] I Need Some Ideas >so the occasional bound/unbound, natural/surrogate key, and naming convention argument are simply a way of maintaining our individuality in the world of massive neuron flux. ;) No, unbound forms and surrogate keys are just superior. ;-0 And of course anyone who doesn't use a naming convention, specifically MY naming convention is... a dolt. John W. Colby www.ColbyConsulting.com Contribute your unused CPU cycles to a good cause: http://folding.stanford.edu/ -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of DWUTKA at marlow.com Sent: Tuesday, August 16, 2005 5:37 PM To: accessd at databaseadvisors.com Subject: RE: [AccessD] I Need Some Ideas , I was hoping you were going to get a good chuckle out of that. Personally, I think that is one of the main factors why this list puts out good tips, and is so helpful to people. It's the 'chest pounding' factor. Whether we want to admit it or not, we'll fall all over each other trying to help someone because we want to show off a bit. This is one of the rare parts of our lives where people actually CAN appreciate how brilliant we all our.... ;) I tried explaining a process I was working on involving custom events and classes to a fellow computer geek, and I got the glassy eyed look of complete confusion. So to everyone on the list, we're all geniuses....so pat someone on the back when you can, and get ready to be patted yourself. Yes, to the rest of the world we're a bunch of 'nerds', but wear that label with pride. (a few tattoos and a decent weight training program will keep most of the 'nerd' remarks in check....) ;) Just keep in mind that while we all like to impress with our ideas, genius comes with a lot of prejudice, so the occasional bound/unbound, natural/surrogate key, and naming convention argument are simply a way of maintaining our individuality in the world of massive neuron flux. ;) Drew -----Original Message----- From: John W. Colby [mailto:jwcolby at colbyconsulting.com] Sent: Tuesday, August 16, 2005 4:26 PM To: 'Access Developers discussion and problem solving' Subject: RE: [AccessD] I Need Some Ideas ROTFLMAO. John W. Colby www.ColbyConsulting.com Contribute your unused CPU cycles to a good cause: http://folding.stanford.edu/ -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of DWUTKA at marlow.com Sent: Tuesday, August 16, 2005 4:00 PM To: accessd at databaseadvisors.com Subject: RE: [AccessD] I Need Some Ideas That's easy, and requires no code or special hardware. Just call up JC, and tell him that you don't think his framework would hand XYZ...and let him prove you wrong. When he has given you proof, thank him, tell him he's stellar, and a god among mortals, and walk away with completed JC Classes. Of course, the same method will work on me too.... Drew -----Original Message----- From: Joe Hecht [mailto:jmhecht at earthlink.net] Sent: Tuesday, August 16, 2005 2:45 PM To: 'Access Developers discussion and problem solving' Subject: RE: [AccessD] I Need Some Ideas Voice command app that would automatically write John Colby Classes and code for you. Joe Hecht Los Angeles CA -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd 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 Aug 17 10:18:09 2005 From: cfoust at infostatsystems.com (Charlotte Foust) Date: Wed, 17 Aug 2005 08:18:09 -0700 Subject: [AccessD] I Need Some Ideas Message-ID: Sssshhhh, Drew. Don't point that out and we'll have it to use as evidence the next time a bound/unbound battle rages. Charlotte Foust -----Original Message----- From: DWUTKA at marlow.com [mailto:DWUTKA at marlow.com] Sent: Wednesday, August 17, 2005 8:08 AM To: accessd at databaseadvisors.com Subject: RE: [AccessD] I Need Some Ideas Since when did you become an unbounder? I'm a little shocked at that. I guess you finally came across to the dark side! ;) Drew -----Original Message----- From: John W. Colby [mailto:jwcolby at colbyconsulting.com] Sent: Tuesday, August 16, 2005 5:27 PM To: 'Access Developers discussion and problem solving' Subject: RE: [AccessD] I Need Some Ideas >so the occasional bound/unbound, natural/surrogate key, and naming convention argument are simply a way of maintaining our individuality in the world of massive neuron flux. ;) No, unbound forms and surrogate keys are just superior. ;-0 And of course anyone who doesn't use a naming convention, specifically MY naming convention is... a dolt. John W. Colby www.ColbyConsulting.com Contribute your unused CPU cycles to a good cause: http://folding.stanford.edu/ -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of DWUTKA at marlow.com Sent: Tuesday, August 16, 2005 5:37 PM To: accessd at databaseadvisors.com Subject: RE: [AccessD] I Need Some Ideas , I was hoping you were going to get a good chuckle out of that. Personally, I think that is one of the main factors why this list puts out good tips, and is so helpful to people. It's the 'chest pounding' factor. Whether we want to admit it or not, we'll fall all over each other trying to help someone because we want to show off a bit. This is one of the rare parts of our lives where people actually CAN appreciate how brilliant we all our.... ;) I tried explaining a process I was working on involving custom events and classes to a fellow computer geek, and I got the glassy eyed look of complete confusion. So to everyone on the list, we're all geniuses....so pat someone on the back when you can, and get ready to be patted yourself. Yes, to the rest of the world we're a bunch of 'nerds', but wear that label with pride. (a few tattoos and a decent weight training program will keep most of the 'nerd' remarks in check....) ;) Just keep in mind that while we all like to impress with our ideas, genius comes with a lot of prejudice, so the occasional bound/unbound, natural/surrogate key, and naming convention argument are simply a way of maintaining our individuality in the world of massive neuron flux. ;) Drew -----Original Message----- From: John W. Colby [mailto:jwcolby at colbyconsulting.com] Sent: Tuesday, August 16, 2005 4:26 PM To: 'Access Developers discussion and problem solving' Subject: RE: [AccessD] I Need Some Ideas ROTFLMAO. John W. Colby www.ColbyConsulting.com Contribute your unused CPU cycles to a good cause: http://folding.stanford.edu/ -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of DWUTKA at marlow.com Sent: Tuesday, August 16, 2005 4:00 PM To: accessd at databaseadvisors.com Subject: RE: [AccessD] I Need Some Ideas That's easy, and requires no code or special hardware. Just call up JC, and tell him that you don't think his framework would hand XYZ...and let him prove you wrong. When he has given you proof, thank him, tell him he's stellar, and a god among mortals, and walk away with completed JC Classes. Of course, the same method will work on me too.... Drew -----Original Message----- From: Joe Hecht [mailto:jmhecht at earthlink.net] Sent: Tuesday, August 16, 2005 2:45 PM To: 'Access Developers discussion and problem solving' Subject: RE: [AccessD] I Need Some Ideas Voice command app that would automatically write John Colby Classes and code for you. Joe Hecht Los Angeles CA -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From jmhecht at earthlink.net Wed Aug 17 10:29:44 2005 From: jmhecht at earthlink.net (Joe Hecht) Date: Wed, 17 Aug 2005 08:29:44 -0700 Subject: [AccessD] I Need Some Ideas In-Reply-To: <005601c5a2dc$903c1a50$6c7aa8c0@ColbyM6805> Message-ID: <000201c5a340$8003e320$6401a8c0@laptop1> And some of us are just thick and near need to have sysvars explained a few times before we can make it work in our apps? Joe Hecht Los Angeles CA -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of John W. Colby Sent: Tuesday, August 16, 2005 8:34 PM To: 'Access Developers discussion and problem solving' Subject: RE: [AccessD] I Need Some Ideas LOL, yea, you don't recover from my lectures that easily. ;-) Just kinda numbs the whole body. John W. Colby www.ColbyConsulting.com Contribute your unused CPU cycles to a good cause: http://folding.stanford.edu/ -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of William Hindman Sent: Tuesday, August 16, 2005 11:28 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] I Need Some Ideas "I haven't done a lecture since the first AccessD conference at Rocky's house." JC ..took the victims this long to recover, eh :) William -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From jwcolby at colbyconsulting.com Wed Aug 17 11:12:09 2005 From: jwcolby at colbyconsulting.com (John W. Colby) Date: Wed, 17 Aug 2005 12:12:09 -0400 Subject: [AccessD] I Need Some Ideas In-Reply-To: <123701F54509D9119A4F00D0B747349016DD57@main2.marlow.com> Message-ID: <00bb01c5a346$6b965660$6c7aa8c0@ColbyM6805> LOL. Nope, typo. John W. Colby www.ColbyConsulting.com Contribute your unused CPU cycles to a good cause: http://folding.stanford.edu/ -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of DWUTKA at marlow.com Sent: Wednesday, August 17, 2005 11:08 AM To: accessd at databaseadvisors.com Subject: RE: [AccessD] I Need Some Ideas Since when did you become an unbounder? I'm a little shocked at that. I guess you finally came across to the dark side! ;) Drew -----Original Message----- From: John W. Colby [mailto:jwcolby at colbyconsulting.com] Sent: Tuesday, August 16, 2005 5:27 PM To: 'Access Developers discussion and problem solving' Subject: RE: [AccessD] I Need Some Ideas >so the occasional bound/unbound, natural/surrogate key, and naming convention argument are simply a way of maintaining our individuality in the world of massive neuron flux. ;) No, unbound forms and surrogate keys are just superior. ;-0 And of course anyone who doesn't use a naming convention, specifically MY naming convention is... a dolt. John W. Colby www.ColbyConsulting.com Contribute your unused CPU cycles to a good cause: http://folding.stanford.edu/ -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of DWUTKA at marlow.com Sent: Tuesday, August 16, 2005 5:37 PM To: accessd at databaseadvisors.com Subject: RE: [AccessD] I Need Some Ideas , I was hoping you were going to get a good chuckle out of that. Personally, I think that is one of the main factors why this list puts out good tips, and is so helpful to people. It's the 'chest pounding' factor. Whether we want to admit it or not, we'll fall all over each other trying to help someone because we want to show off a bit. This is one of the rare parts of our lives where people actually CAN appreciate how brilliant we all our.... ;) I tried explaining a process I was working on involving custom events and classes to a fellow computer geek, and I got the glassy eyed look of complete confusion. So to everyone on the list, we're all geniuses....so pat someone on the back when you can, and get ready to be patted yourself. Yes, to the rest of the world we're a bunch of 'nerds', but wear that label with pride. (a few tattoos and a decent weight training program will keep most of the 'nerd' remarks in check....) ;) Just keep in mind that while we all like to impress with our ideas, genius comes with a lot of prejudice, so the occasional bound/unbound, natural/surrogate key, and naming convention argument are simply a way of maintaining our individuality in the world of massive neuron flux. ;) Drew -----Original Message----- From: John W. Colby [mailto:jwcolby at colbyconsulting.com] Sent: Tuesday, August 16, 2005 4:26 PM To: 'Access Developers discussion and problem solving' Subject: RE: [AccessD] I Need Some Ideas ROTFLMAO. John W. Colby www.ColbyConsulting.com Contribute your unused CPU cycles to a good cause: http://folding.stanford.edu/ -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of DWUTKA at marlow.com Sent: Tuesday, August 16, 2005 4:00 PM To: accessd at databaseadvisors.com Subject: RE: [AccessD] I Need Some Ideas That's easy, and requires no code or special hardware. Just call up JC, and tell him that you don't think his framework would hand XYZ...and let him prove you wrong. When he has given you proof, thank him, tell him he's stellar, and a god among mortals, and walk away with completed JC Classes. Of course, the same method will work on me too.... Drew -----Original Message----- From: Joe Hecht [mailto:jmhecht at earthlink.net] Sent: Tuesday, August 16, 2005 2:45 PM To: 'Access Developers discussion and problem solving' Subject: RE: [AccessD] I Need Some Ideas Voice command app that would automatically write John Colby Classes and code for you. Joe Hecht Los Angeles CA -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd 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 Aug 17 11:32:36 2005 From: cfoust at infostatsystems.com (Charlotte Foust) Date: Wed, 17 Aug 2005 09:32:36 -0700 Subject: [AccessD] I Need Some Ideas Message-ID: Hah! More like a Freudian slip! LOL Charlotte Foust -----Original Message----- From: John W. Colby [mailto:jwcolby at colbyconsulting.com] Sent: Wednesday, August 17, 2005 9:12 AM To: 'Access Developers discussion and problem solving' Subject: RE: [AccessD] I Need Some Ideas LOL. Nope, typo. John W. Colby www.ColbyConsulting.com Contribute your unused CPU cycles to a good cause: http://folding.stanford.edu/ -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of DWUTKA at marlow.com Sent: Wednesday, August 17, 2005 11:08 AM To: accessd at databaseadvisors.com Subject: RE: [AccessD] I Need Some Ideas Since when did you become an unbounder? I'm a little shocked at that. I guess you finally came across to the dark side! ;) Drew -----Original Message----- From: John W. Colby [mailto:jwcolby at colbyconsulting.com] Sent: Tuesday, August 16, 2005 5:27 PM To: 'Access Developers discussion and problem solving' Subject: RE: [AccessD] I Need Some Ideas >so the occasional bound/unbound, natural/surrogate key, and naming convention argument are simply a way of maintaining our individuality in the world of massive neuron flux. ;) No, unbound forms and surrogate keys are just superior. ;-0 And of course anyone who doesn't use a naming convention, specifically MY naming convention is... a dolt. John W. Colby www.ColbyConsulting.com Contribute your unused CPU cycles to a good cause: http://folding.stanford.edu/ -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of DWUTKA at marlow.com Sent: Tuesday, August 16, 2005 5:37 PM To: accessd at databaseadvisors.com Subject: RE: [AccessD] I Need Some Ideas , I was hoping you were going to get a good chuckle out of that. Personally, I think that is one of the main factors why this list puts out good tips, and is so helpful to people. It's the 'chest pounding' factor. Whether we want to admit it or not, we'll fall all over each other trying to help someone because we want to show off a bit. This is one of the rare parts of our lives where people actually CAN appreciate how brilliant we all our.... ;) I tried explaining a process I was working on involving custom events and classes to a fellow computer geek, and I got the glassy eyed look of complete confusion. So to everyone on the list, we're all geniuses....so pat someone on the back when you can, and get ready to be patted yourself. Yes, to the rest of the world we're a bunch of 'nerds', but wear that label with pride. (a few tattoos and a decent weight training program will keep most of the 'nerd' remarks in check....) ;) Just keep in mind that while we all like to impress with our ideas, genius comes with a lot of prejudice, so the occasional bound/unbound, natural/surrogate key, and naming convention argument are simply a way of maintaining our individuality in the world of massive neuron flux. ;) Drew -----Original Message----- From: John W. Colby [mailto:jwcolby at colbyconsulting.com] Sent: Tuesday, August 16, 2005 4:26 PM To: 'Access Developers discussion and problem solving' Subject: RE: [AccessD] I Need Some Ideas ROTFLMAO. John W. Colby www.ColbyConsulting.com Contribute your unused CPU cycles to a good cause: http://folding.stanford.edu/ -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of DWUTKA at marlow.com Sent: Tuesday, August 16, 2005 4:00 PM To: accessd at databaseadvisors.com Subject: RE: [AccessD] I Need Some Ideas That's easy, and requires no code or special hardware. Just call up JC, and tell him that you don't think his framework would hand XYZ...and let him prove you wrong. When he has given you proof, thank him, tell him he's stellar, and a god among mortals, and walk away with completed JC Classes. Of course, the same method will work on me too.... Drew -----Original Message----- From: Joe Hecht [mailto:jmhecht at earthlink.net] Sent: Tuesday, August 16, 2005 2:45 PM To: 'Access Developers discussion and problem solving' Subject: RE: [AccessD] I Need Some Ideas Voice command app that would automatically write John Colby Classes and code for you. Joe Hecht Los Angeles CA -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From marklbreen at gmail.com Wed Aug 17 11:37:14 2005 From: marklbreen at gmail.com (Mark Breen) Date: Wed, 17 Aug 2005 17:37:14 +0100 Subject: [AccessD] How to Manage Maintenance Mode - Auto shutdown Message-ID: Hello Group, I have an app uses MS SQL 2000 Server as it's backend database. I want to run some maintenance routines on the db and they require that I switch the db into single user mode. This is easily done and once I have it in Single User Mode, it is easy to kick off the maintenance routines. My question is what ways you may have handled a polite automatic shutdown of the application in your worlds. Technically, I do not have to shut down my app, I could just break the connection to SQL server, but I think that I may as well shut down the entire app. I could use timers, and I could insert 'activity' updates and only shut down the FE app when the app is not being used. So for example, I could update a database field and when the field has not been used for more than 30 minutes I can assume that it is in-active. This would allow me to auto shut down the app, but I would like to leave some message behind me to let the user know where their app went rather than just killing it! I could also break the connection to the db, then display a message box saying the db has been shutdown and allow the user to click OK to continue. I am not seeking detailed technical help here, more philosophically how you guys handle this type of situation. Any thoughts or comments are appreciated, I hope you and your family are all well, Mark Breen From DWUTKA at marlow.com Wed Aug 17 11:38:42 2005 From: DWUTKA at marlow.com (DWUTKA at marlow.com) Date: Wed, 17 Aug 2005 11:38:42 -0500 Subject: [AccessD] I Need Some Ideas Message-ID: <123701F54509D9119A4F00D0B747349016DD5E@main2.marlow.com> Nope. Here's the scenario: Main Service (runs on any NT machine on the subnet...listens to whatever port you want to designate with UDP). Has a simple table with 'command' and 'return' values. An incoming 'command' is cross referenced to the 'return' values list and the return value is sent back. Control program. 'Finds' the Main Service and allows for changing the commands and returns. Added code for a project. Scans the subnet for the Main Service. Sends a designated command, and gets the return. Uses the return value to relink tables (or whatever else you want to do). Advantages. There doesn't have to be any hard reference at all. With UDP, that project I mentioned on the OT list scans our entire subnet is a split second. Not kidding, it looks instantaneous, but I'm sure it is closer to half a second. Our subnet was 255.255.254.0 (512 addresses), but a few weeks ago it shifted to 255.255.240.0 (4096 addresses), and there is no significant change in 'scan time'. The advantage of 'scanning' is that the Main Service could be placed on any machine, and moved at will. And the 'added code' portion to an Access project wouldn't care what subnet it's on, as long as it has the 'main service' in the same subnet. Practical example: Command: 'InventoryDBPath' Return: (At company 1):'\\SomeServer\SomeShare\AccessDB\Inventory.mdb' Return: (At Company 2):'T:\InventorySystem\Databases\Inventory.mdb' Return: (At Developer's site): 'D:\ProjectDatabases\Inventory\Inventory2a.mdb' Now, with the added code in the Front End .mdb, the exact same .mdb can be run in all three places, and the tables would be automatically relinked with no prompting for information. If a local site needs to move the database, simply copy it to the new location, 'update' the return value (using the control program), and the next time the front ends are started, they are linked to the new location. To show you the comm portion of this, I just whipped up two sample projects (a client and a server). You can download them at http://www.marlow.com/UDPTest.zip . A few things to note with these projects. UDP doesn't jive well on the same machine. So if you run the server and client on the same machine, you're not going to be able to send information through UDP. TCP to the rescue on that. You can trap the specific error when the client and server are on the same machine. So in this test project, if you run both .exe's on the same machine, it fails over to a TCP connection, which does the same thing as the UDP process. (The server .exe has a text box to put in sample data, and it sends the data to the client when 'asked'. Another thing to note, is that when you press the button on the client service, there are two 'issues'. One, for the sake of development speed, I have it build the subnet list when the button is pressed. So that is responsible for about half of the delay (depending on the size of your subnet). Here at work, we have 4096 addresses, so there is about a half a second delay in getting a response. The other half is scanning the subnet. The delay would be reduced to a quarter of a second if you built the subnet collection on load, which would speed up future 'scans'. The other issue is that with UDP, it is a connectionless protocol, and since it scans the entire subnet, if the server has multiple IP addresses, it would receive multiple return hits. To compensate, it only does something for the first 'hit'. Drew -----Original Message----- From: Bryan Carbonnell [mailto:carbonnb at sympatico.ca] Sent: Wednesday, August 17, 2005 8:25 AM To: Access Developers discussion and problem solving Subject: RE: [AccessD] I Need Some Ideas On 16 Aug 2005 at 11:29, DWUTKA at marlow.com wrote: > How about a master table-linker service? Create a service that can be > run on any machine in the network, which 'knows' the location of all > linked tables. One module in the database runs at startup, 'scans' > the network for the 'server' which tells it if it needs to relink it's > tables or not. Besides running as a service, how would that be much different from any of the other relinkers out there? Wouldn't something that scans the network put a heavy load on the network? -- Bryan Carbonnell - carbonnb at sympatico.ca If you're too open-minded, your brains will fall out. -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From DWUTKA at marlow.com Wed Aug 17 11:41:02 2005 From: DWUTKA at marlow.com (DWUTKA at marlow.com) Date: Wed, 17 Aug 2005 11:41:02 -0500 Subject: [AccessD] I Need Some Ideas Message-ID: <123701F54509D9119A4F00D0B747349016DD5F@main2.marlow.com> Oh, it has not only been archived, but I've alerted the local press.....it'll be on CNN as soon as they clean up the worm from their computers! ;) Drew -----Original Message----- From: Charlotte Foust [mailto:cfoust at infostatsystems.com] Sent: Wednesday, August 17, 2005 10:18 AM To: Access Developers discussion and problem solving Subject: RE: [AccessD] I Need Some Ideas Sssshhhh, Drew. Don't point that out and we'll have it to use as evidence the next time a bound/unbound battle rages. Charlotte Foust -----Original Message----- From: DWUTKA at marlow.com [mailto:DWUTKA at marlow.com] Sent: Wednesday, August 17, 2005 8:08 AM To: accessd at databaseadvisors.com Subject: RE: [AccessD] I Need Some Ideas Since when did you become an unbounder? I'm a little shocked at that. I guess you finally came across to the dark side! ;) Drew -----Original Message----- From: John W. Colby [mailto:jwcolby at colbyconsulting.com] Sent: Tuesday, August 16, 2005 5:27 PM To: 'Access Developers discussion and problem solving' Subject: RE: [AccessD] I Need Some Ideas >so the occasional bound/unbound, natural/surrogate key, and naming convention argument are simply a way of maintaining our individuality in the world of massive neuron flux. ;) No, unbound forms and surrogate keys are just superior. ;-0 And of course anyone who doesn't use a naming convention, specifically MY naming convention is... a dolt. John W. Colby www.ColbyConsulting.com Contribute your unused CPU cycles to a good cause: http://folding.stanford.edu/ -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of DWUTKA at marlow.com Sent: Tuesday, August 16, 2005 5:37 PM To: accessd at databaseadvisors.com Subject: RE: [AccessD] I Need Some Ideas , I was hoping you were going to get a good chuckle out of that. Personally, I think that is one of the main factors why this list puts out good tips, and is so helpful to people. It's the 'chest pounding' factor. Whether we want to admit it or not, we'll fall all over each other trying to help someone because we want to show off a bit. This is one of the rare parts of our lives where people actually CAN appreciate how brilliant we all our.... ;) I tried explaining a process I was working on involving custom events and classes to a fellow computer geek, and I got the glassy eyed look of complete confusion. So to everyone on the list, we're all geniuses....so pat someone on the back when you can, and get ready to be patted yourself. Yes, to the rest of the world we're a bunch of 'nerds', but wear that label with pride. (a few tattoos and a decent weight training program will keep most of the 'nerd' remarks in check....) ;) Just keep in mind that while we all like to impress with our ideas, genius comes with a lot of prejudice, so the occasional bound/unbound, natural/surrogate key, and naming convention argument are simply a way of maintaining our individuality in the world of massive neuron flux. ;) Drew -----Original Message----- From: John W. Colby [mailto:jwcolby at colbyconsulting.com] Sent: Tuesday, August 16, 2005 4:26 PM To: 'Access Developers discussion and problem solving' Subject: RE: [AccessD] I Need Some Ideas ROTFLMAO. John W. Colby www.ColbyConsulting.com Contribute your unused CPU cycles to a good cause: http://folding.stanford.edu/ -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of DWUTKA at marlow.com Sent: Tuesday, August 16, 2005 4:00 PM To: accessd at databaseadvisors.com Subject: RE: [AccessD] I Need Some Ideas That's easy, and requires no code or special hardware. Just call up JC, and tell him that you don't think his framework would hand XYZ...and let him prove you wrong. When he has given you proof, thank him, tell him he's stellar, and a god among mortals, and walk away with completed JC Classes. Of course, the same method will work on me too.... Drew -----Original Message----- From: Joe Hecht [mailto:jmhecht at earthlink.net] Sent: Tuesday, August 16, 2005 2:45 PM To: 'Access Developers discussion and problem solving' Subject: RE: [AccessD] I Need Some Ideas Voice command app that would automatically write John Colby Classes and code for you. Joe Hecht Los Angeles CA -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd 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 Aug 17 11:41:42 2005 From: DWUTKA at marlow.com (DWUTKA at marlow.com) Date: Wed, 17 Aug 2005 11:41:42 -0500 Subject: [AccessD] I Need Some Ideas Message-ID: <123701F54509D9119A4F00D0B747349016DD60@main2.marlow.com> I think it was a subconsious statement. Listen to your feelings Luke. ;) Drew -----Original Message----- From: John W. Colby [mailto:jwcolby at colbyconsulting.com] Sent: Wednesday, August 17, 2005 11:12 AM To: 'Access Developers discussion and problem solving' Subject: RE: [AccessD] I Need Some Ideas LOL. Nope, typo. John W. Colby www.ColbyConsulting.com Contribute your unused CPU cycles to a good cause: http://folding.stanford.edu/ -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of DWUTKA at marlow.com Sent: Wednesday, August 17, 2005 11:08 AM To: accessd at databaseadvisors.com Subject: RE: [AccessD] I Need Some Ideas Since when did you become an unbounder? I'm a little shocked at that. I guess you finally came across to the dark side! ;) Drew -----Original Message----- From: John W. Colby [mailto:jwcolby at colbyconsulting.com] Sent: Tuesday, August 16, 2005 5:27 PM To: 'Access Developers discussion and problem solving' Subject: RE: [AccessD] I Need Some Ideas >so the occasional bound/unbound, natural/surrogate key, and naming convention argument are simply a way of maintaining our individuality in the world of massive neuron flux. ;) No, unbound forms and surrogate keys are just superior. ;-0 And of course anyone who doesn't use a naming convention, specifically MY naming convention is... a dolt. John W. Colby www.ColbyConsulting.com Contribute your unused CPU cycles to a good cause: http://folding.stanford.edu/ -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of DWUTKA at marlow.com Sent: Tuesday, August 16, 2005 5:37 PM To: accessd at databaseadvisors.com Subject: RE: [AccessD] I Need Some Ideas , I was hoping you were going to get a good chuckle out of that. Personally, I think that is one of the main factors why this list puts out good tips, and is so helpful to people. It's the 'chest pounding' factor. Whether we want to admit it or not, we'll fall all over each other trying to help someone because we want to show off a bit. This is one of the rare parts of our lives where people actually CAN appreciate how brilliant we all our.... ;) I tried explaining a process I was working on involving custom events and classes to a fellow computer geek, and I got the glassy eyed look of complete confusion. So to everyone on the list, we're all geniuses....so pat someone on the back when you can, and get ready to be patted yourself. Yes, to the rest of the world we're a bunch of 'nerds', but wear that label with pride. (a few tattoos and a decent weight training program will keep most of the 'nerd' remarks in check....) ;) Just keep in mind that while we all like to impress with our ideas, genius comes with a lot of prejudice, so the occasional bound/unbound, natural/surrogate key, and naming convention argument are simply a way of maintaining our individuality in the world of massive neuron flux. ;) Drew -----Original Message----- From: John W. Colby [mailto:jwcolby at colbyconsulting.com] Sent: Tuesday, August 16, 2005 4:26 PM To: 'Access Developers discussion and problem solving' Subject: RE: [AccessD] I Need Some Ideas ROTFLMAO. John W. Colby www.ColbyConsulting.com Contribute your unused CPU cycles to a good cause: http://folding.stanford.edu/ -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of DWUTKA at marlow.com Sent: Tuesday, August 16, 2005 4:00 PM To: accessd at databaseadvisors.com Subject: RE: [AccessD] I Need Some Ideas That's easy, and requires no code or special hardware. Just call up JC, and tell him that you don't think his framework would hand XYZ...and let him prove you wrong. When he has given you proof, thank him, tell him he's stellar, and a god among mortals, and walk away with completed JC Classes. Of course, the same method will work on me too.... Drew -----Original Message----- From: Joe Hecht [mailto:jmhecht at earthlink.net] Sent: Tuesday, August 16, 2005 2:45 PM To: 'Access Developers discussion and problem solving' Subject: RE: [AccessD] I Need Some Ideas Voice command app that would automatically write John Colby Classes and code for you. Joe Hecht Los Angeles CA -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From jwcolby at colbyconsulting.com Wed Aug 17 11:58:08 2005 From: jwcolby at colbyconsulting.com (John W. Colby) Date: Wed, 17 Aug 2005 12:58:08 -0400 Subject: [AccessD] I Need Some Ideas In-Reply-To: <123701F54509D9119A4F00D0B747349016DD60@main2.marlow.com> Message-ID: <00bd01c5a34c$d7e135f0$6c7aa8c0@ColbyM6805> ROTFL. I thought I was the master. John W. Colby www.ColbyConsulting.com Contribute your unused CPU cycles to a good cause: http://folding.stanford.edu/ -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of DWUTKA at marlow.com Sent: Wednesday, August 17, 2005 12:42 PM To: accessd at databaseadvisors.com Subject: RE: [AccessD] I Need Some Ideas I think it was a subconsious statement. Listen to your feelings Luke. ;) Drew -----Original Message----- From: John W. Colby [mailto:jwcolby at colbyconsulting.com] Sent: Wednesday, August 17, 2005 11:12 AM To: 'Access Developers discussion and problem solving' Subject: RE: [AccessD] I Need Some Ideas LOL. Nope, typo. John W. Colby www.ColbyConsulting.com Contribute your unused CPU cycles to a good cause: http://folding.stanford.edu/ From cfoust at infostatsystems.com Wed Aug 17 12:00:20 2005 From: cfoust at infostatsystems.com (Charlotte Foust) Date: Wed, 17 Aug 2005 10:00:20 -0700 Subject: [AccessD] How to Manage Maintenance Mode - Auto shutdown Message-ID: We generally don't have polite automatic shutdowns, since our software could run for hours waiting for someone to finish a task and enter the data associated with it. If we have something along those lines (or we need to compact/repair the front end) we set normally up the code to run when it can get an exclusive lock on the database. That just means that when it thinks it should do this, as when the user is closing down, it checks to see whether it can. The same checks will happen on any machine, so the last one to close down wins the prize of running the maintenance routines. What specific kinds of maintenance were you going to run? Charlotte Foust -----Original Message----- From: Mark Breen [mailto:marklbreen at gmail.com] Sent: Wednesday, August 17, 2005 9:37 AM To: accessd at databaseadvisors.com Subject: [AccessD] How to Manage Maintenance Mode - Auto shutdown Hello Group, I have an app uses MS SQL 2000 Server as it's backend database. I want to run some maintenance routines on the db and they require that I switch the db into single user mode. This is easily done and once I have it in Single User Mode, it is easy to kick off the maintenance routines. My question is what ways you may have handled a polite automatic shutdown of the application in your worlds. Technically, I do not have to shut down my app, I could just break the connection to SQL server, but I think that I may as well shut down the entire app. I could use timers, and I could insert 'activity' updates and only shut down the FE app when the app is not being used. So for example, I could update a database field and when the field has not been used for more than 30 minutes I can assume that it is in-active. This would allow me to auto shut down the app, but I would like to leave some message behind me to let the user know where their app went rather than just killing it! I could also break the connection to the db, then display a message box saying the db has been shutdown and allow the user to click OK to continue. I am not seeking detailed technical help here, more philosophically how you guys handle this type of situation. Any thoughts or comments are appreciated, I hope you and your family are all well, Mark Breen -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From cfoust at infostatsystems.com Wed Aug 17 12:01:23 2005 From: cfoust at infostatsystems.com (Charlotte Foust) Date: Wed, 17 Aug 2005 10:01:23 -0700 Subject: [AccessD] I Need Some Ideas Message-ID: Pride goeth before the fall. Charlotte Foust -----Original Message----- From: John W. Colby [mailto:jwcolby at colbyconsulting.com] Sent: Wednesday, August 17, 2005 9:58 AM To: 'Access Developers discussion and problem solving' Subject: RE: [AccessD] I Need Some Ideas ROTFL. I thought I was the master. John W. Colby www.ColbyConsulting.com Contribute your unused CPU cycles to a good cause: http://folding.stanford.edu/ -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of DWUTKA at marlow.com Sent: Wednesday, August 17, 2005 12:42 PM To: accessd at databaseadvisors.com Subject: RE: [AccessD] I Need Some Ideas I think it was a subconsious statement. Listen to your feelings Luke. ;) Drew -----Original Message----- From: John W. Colby [mailto:jwcolby at colbyconsulting.com] Sent: Wednesday, August 17, 2005 11:12 AM To: 'Access Developers discussion and problem solving' Subject: RE: [AccessD] I Need Some Ideas LOL. Nope, typo. John W. Colby www.ColbyConsulting.com Contribute your unused CPU cycles to a good cause: http://folding.stanford.edu/ -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From jwcolby at colbyconsulting.com Wed Aug 17 12:13:22 2005 From: jwcolby at colbyconsulting.com (John W. Colby) Date: Wed, 17 Aug 2005 13:13:22 -0400 Subject: [AccessD] How to Manage Maintenance Mode - Auto shutdown In-Reply-To: Message-ID: <00c301c5a34e$fb7eb990$6c7aa8c0@ColbyM6805> The problem with that method is that if anyone leaves their FE open overnight (always on) the task can never run. The only alternative that I know of is to have a form always open in every FE, running a timer. The timer tick can do one of several things, including just checking a table for a shutdown flag and informing the user that a shutdown will occur etc. In the end though the form and its timer has to do the shutdown. John W. Colby www.ColbyConsulting.com Contribute your unused CPU cycles to a good cause: http://folding.stanford.edu/ -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Charlotte Foust Sent: Wednesday, August 17, 2005 1:00 PM To: Access Developers discussion and problem solving Subject: RE: [AccessD] How to Manage Maintenance Mode - Auto shutdown We generally don't have polite automatic shutdowns, since our software could run for hours waiting for someone to finish a task and enter the data associated with it. If we have something along those lines (or we need to compact/repair the front end) we set normally up the code to run when it can get an exclusive lock on the database. That just means that when it thinks it should do this, as when the user is closing down, it checks to see whether it can. The same checks will happen on any machine, so the last one to close down wins the prize of running the maintenance routines. What specific kinds of maintenance were you going to run? Charlotte Foust -----Original Message----- From: Mark Breen [mailto:marklbreen at gmail.com] Sent: Wednesday, August 17, 2005 9:37 AM To: accessd at databaseadvisors.com Subject: [AccessD] How to Manage Maintenance Mode - Auto shutdown Hello Group, I have an app uses MS SQL 2000 Server as it's backend database. I want to run some maintenance routines on the db and they require that I switch the db into single user mode. This is easily done and once I have it in Single User Mode, it is easy to kick off the maintenance routines. My question is what ways you may have handled a polite automatic shutdown of the application in your worlds. Technically, I do not have to shut down my app, I could just break the connection to SQL server, but I think that I may as well shut down the entire app. I could use timers, and I could insert 'activity' updates and only shut down the FE app when the app is not being used. So for example, I could update a database field and when the field has not been used for more than 30 minutes I can assume that it is in-active. This would allow me to auto shut down the app, but I would like to leave some message behind me to let the user know where their app went rather than just killing it! I could also break the connection to the db, then display a message box saying the db has been shutdown and allow the user to click OK to continue. I am not seeking detailed technical help here, more philosophically how you guys handle this type of situation. Any thoughts or comments are appreciated, I hope you and your family are all well, Mark Breen -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd 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 Wed Aug 17 12:18:02 2005 From: Lambert.Heenan at AIG.com (Heenan, Lambert) Date: Wed, 17 Aug 2005 13:18:02 -0400 Subject: [AccessD] How to Manage Maintenance Mode - Auto shutdown Message-ID: <1D7828CDB8350747AFE9D69E0E90DA1F1484B89C@xlivmbx21.aig.com> Go here to get the code to perform an automated shutdown. http://support.microsoft.com/default.aspx?scid=kb;en-us;304408 The code used is dependant on a form timer, and only looks for inactivity. But it is very simple to modify it to also check a flag value in a table periodically to see if the app. is being forced to close by the administrator. I use this method all the time. Lambert -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Mark Breen Sent: Wednesday, August 17, 2005 12:37 PM To: accessd at databaseadvisors.com Subject: [AccessD] How to Manage Maintenance Mode - Auto shutdown Hello Group, I have an app uses MS SQL 2000 Server as it's backend database. I want to run some maintenance routines on the db and they require that I switch the db into single user mode. This is easily done and once I have it in Single User Mode, it is easy to kick off the maintenance routines. My question is what ways you may have handled a polite automatic shutdown of the application in your worlds. Technically, I do not have to shut down my app, I could just break the connection to SQL server, but I think that I may as well shut down the entire app. I could use timers, and I could insert 'activity' updates and only shut down the FE app when the app is not being used. So for example, I could update a database field and when the field has not been used for more than 30 minutes I can assume that it is in-active. This would allow me to auto shut down the app, but I would like to leave some message behind me to let the user know where their app went rather than just killing it! I could also break the connection to the db, then display a message box saying the db has been shutdown and allow the user to click OK to continue. I am not seeking detailed technical help here, more philosophically how you guys handle this type of situation. Any thoughts or comments are appreciated, I hope you and your family are all well, Mark Breen -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From DWUTKA at marlow.com Wed Aug 17 12:30:23 2005 From: DWUTKA at marlow.com (DWUTKA at marlow.com) Date: Wed, 17 Aug 2005 12:30:23 -0500 Subject: [AccessD] I Need Some Ideas Message-ID: <123701F54509D9119A4F00D0B747349016DD62@main2.marlow.com> Man, there are so many ways I could reply to this, and I haven't come up with a single one that won't get me in trouble! Drew -----Original Message----- From: John W. Colby [mailto:jwcolby at colbyconsulting.com] Sent: Wednesday, August 17, 2005 11:58 AM To: 'Access Developers discussion and problem solving' Subject: RE: [AccessD] I Need Some Ideas ROTFL. I thought I was the master. John W. Colby www.ColbyConsulting.com Contribute your unused CPU cycles to a good cause: http://folding.stanford.edu/ -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of DWUTKA at marlow.com Sent: Wednesday, August 17, 2005 12:42 PM To: accessd at databaseadvisors.com Subject: RE: [AccessD] I Need Some Ideas I think it was a subconsious statement. Listen to your feelings Luke. ;) Drew -----Original Message----- From: John W. Colby [mailto:jwcolby at colbyconsulting.com] Sent: Wednesday, August 17, 2005 11:12 AM To: 'Access Developers discussion and problem solving' Subject: RE: [AccessD] I Need Some Ideas LOL. Nope, typo. John W. Colby www.ColbyConsulting.com Contribute your unused CPU cycles to a good cause: http://folding.stanford.edu/ -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From DWUTKA at marlow.com Wed Aug 17 12:32:13 2005 From: DWUTKA at marlow.com (DWUTKA at marlow.com) Date: Wed, 17 Aug 2005 12:32:13 -0500 Subject: [AccessD] How to Manage Maintenance Mode - Auto shutdown Message-ID: <123701F54509D9119A4F00D0B747349016DD63@main2.marlow.com> Actually, with the UDP comm stuff I am talking about in the 'I Need Some Ideas' thread, a listening with UDP to a specific port would provide a way to 'shutdown' remote FE's relatively instantenously, from a central point. Drew -----Original Message----- From: John W. Colby [mailto:jwcolby at colbyconsulting.com] Sent: Wednesday, August 17, 2005 12:13 PM To: 'Access Developers discussion and problem solving' Subject: RE: [AccessD] How to Manage Maintenance Mode - Auto shutdown The problem with that method is that if anyone leaves their FE open overnight (always on) the task can never run. The only alternative that I know of is to have a form always open in every FE, running a timer. The timer tick can do one of several things, including just checking a table for a shutdown flag and informing the user that a shutdown will occur etc. In the end though the form and its timer has to do the shutdown. John W. Colby www.ColbyConsulting.com Contribute your unused CPU cycles to a good cause: http://folding.stanford.edu/ -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Charlotte Foust Sent: Wednesday, August 17, 2005 1:00 PM To: Access Developers discussion and problem solving Subject: RE: [AccessD] How to Manage Maintenance Mode - Auto shutdown We generally don't have polite automatic shutdowns, since our software could run for hours waiting for someone to finish a task and enter the data associated with it. If we have something along those lines (or we need to compact/repair the front end) we set normally up the code to run when it can get an exclusive lock on the database. That just means that when it thinks it should do this, as when the user is closing down, it checks to see whether it can. The same checks will happen on any machine, so the last one to close down wins the prize of running the maintenance routines. What specific kinds of maintenance were you going to run? Charlotte Foust -----Original Message----- From: Mark Breen [mailto:marklbreen at gmail.com] Sent: Wednesday, August 17, 2005 9:37 AM To: accessd at databaseadvisors.com Subject: [AccessD] How to Manage Maintenance Mode - Auto shutdown Hello Group, I have an app uses MS SQL 2000 Server as it's backend database. I want to run some maintenance routines on the db and they require that I switch the db into single user mode. This is easily done and once I have it in Single User Mode, it is easy to kick off the maintenance routines. My question is what ways you may have handled a polite automatic shutdown of the application in your worlds. Technically, I do not have to shut down my app, I could just break the connection to SQL server, but I think that I may as well shut down the entire app. I could use timers, and I could insert 'activity' updates and only shut down the FE app when the app is not being used. So for example, I could update a database field and when the field has not been used for more than 30 minutes I can assume that it is in-active. This would allow me to auto shut down the app, but I would like to leave some message behind me to let the user know where their app went rather than just killing it! I could also break the connection to the db, then display a message box saying the db has been shutdown and allow the user to click OK to continue. I am not seeking detailed technical help here, more philosophically how you guys handle this type of situation. Any thoughts or comments are appreciated, I hope you and your family are all well, Mark Breen -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From jwcolby at colbyconsulting.com Wed Aug 17 12:44:25 2005 From: jwcolby at colbyconsulting.com (John W. Colby) Date: Wed, 17 Aug 2005 13:44:25 -0400 Subject: [AccessD] How to Manage Maintenance Mode - Auto shutdown In-Reply-To: <123701F54509D9119A4F00D0B747349016DD63@main2.marlow.com> Message-ID: <00cd01c5a353$4f07ee20$6c7aa8c0@ColbyM6805> Woa, talk to me. A dll or something which sources events, which can be sunk by a class in the FE? I am in need of something non-timer related. Timers just suck in Access. John W. Colby www.ColbyConsulting.com Contribute your unused CPU cycles to a good cause: http://folding.stanford.edu/ -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of DWUTKA at marlow.com Sent: Wednesday, August 17, 2005 1:32 PM To: accessd at databaseadvisors.com Subject: RE: [AccessD] How to Manage Maintenance Mode - Auto shutdown Actually, with the UDP comm stuff I am talking about in the 'I Need Some Ideas' thread, a listening with UDP to a specific port would provide a way to 'shutdown' remote FE's relatively instantenously, from a central point. Drew -----Original Message----- From: John W. Colby [mailto:jwcolby at colbyconsulting.com] Sent: Wednesday, August 17, 2005 12:13 PM To: 'Access Developers discussion and problem solving' Subject: RE: [AccessD] How to Manage Maintenance Mode - Auto shutdown The problem with that method is that if anyone leaves their FE open overnight (always on) the task can never run. The only alternative that I know of is to have a form always open in every FE, running a timer. The timer tick can do one of several things, including just checking a table for a shutdown flag and informing the user that a shutdown will occur etc. In the end though the form and its timer has to do the shutdown. John W. Colby www.ColbyConsulting.com Contribute your unused CPU cycles to a good cause: http://folding.stanford.edu/ -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Charlotte Foust Sent: Wednesday, August 17, 2005 1:00 PM To: Access Developers discussion and problem solving Subject: RE: [AccessD] How to Manage Maintenance Mode - Auto shutdown We generally don't have polite automatic shutdowns, since our software could run for hours waiting for someone to finish a task and enter the data associated with it. If we have something along those lines (or we need to compact/repair the front end) we set normally up the code to run when it can get an exclusive lock on the database. That just means that when it thinks it should do this, as when the user is closing down, it checks to see whether it can. The same checks will happen on any machine, so the last one to close down wins the prize of running the maintenance routines. What specific kinds of maintenance were you going to run? Charlotte Foust -----Original Message----- From: Mark Breen [mailto:marklbreen at gmail.com] Sent: Wednesday, August 17, 2005 9:37 AM To: accessd at databaseadvisors.com Subject: [AccessD] How to Manage Maintenance Mode - Auto shutdown Hello Group, I have an app uses MS SQL 2000 Server as it's backend database. I want to run some maintenance routines on the db and they require that I switch the db into single user mode. This is easily done and once I have it in Single User Mode, it is easy to kick off the maintenance routines. My question is what ways you may have handled a polite automatic shutdown of the application in your worlds. Technically, I do not have to shut down my app, I could just break the connection to SQL server, but I think that I may as well shut down the entire app. I could use timers, and I could insert 'activity' updates and only shut down the FE app when the app is not being used. So for example, I could update a database field and when the field has not been used for more than 30 minutes I can assume that it is in-active. This would allow me to auto shut down the app, but I would like to leave some message behind me to let the user know where their app went rather than just killing it! I could also break the connection to the db, then display a message box saying the db has been shutdown and allow the user to click OK to continue. I am not seeking detailed technical help here, more philosophically how you guys handle this type of situation. Any thoughts or comments are appreciated, I hope you and your family are all well, Mark Breen -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd 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 Aug 17 13:07:40 2005 From: DWUTKA at marlow.com (DWUTKA at marlow.com) Date: Wed, 17 Aug 2005 13:07:40 -0500 Subject: [AccessD] How to Manage Maintenance Mode - Auto shutdown Message-ID: <123701F54509D9119A4F00D0B747349016DD65@main2.marlow.com> download the demo I whipped up this morning. http://www.marlow.com/UDPTest.zip it's a VB project. Actually 2. Ones a client, ones a server. In the other thread, I was discussing that you could set up a VB NT Service as the 'server', and the Front End's as the 'clients'. The Front Ends can then query the server (with no hard link, the code I have in the demo 'scans' the entire subnet/LAN in a split second, and receives the response if there is an active 'server'. I suggested using this as a table linker, where the 'server' has a list of database paths, and with the correct 'prompt' from the client, it would return the correct path for that network. If you use this process in reverse, making the Front End's the 'server' (so you would have multiple servers, with one client), and make a 'control client', you could send out (from the client) a message that the servers would receive, and deal with as you wish. ie, 'ShutDownNow' or 'AskToShutDown', or 'AreYouActive'. The message would simply be sent out, and the online clients could then react to the message. No timer. Now, as an FYI, the VB projects I have in there use the Winsock OCX. For me, that is no issue at all, since I have a VB program installed on all client machines here, which uses it, so it's registered on every machine we setup here. However, I know in the pure Access world, OCX's are sometimes frowned upon due to their requirement to be set up on client machines they don't exist on. Winsock code can be done strictly through API's though, which eliminates the need for the Winsock OCX. However, and this is the catch with Access, the API's for window's sockets use the Window Messaging queue for receiving data from TCP/IP comms. To do that, you have to use callback functions. (when you subclass a form/window, to put it in the system tray, you use the windows messaging callback to determine what is happening to the icon in the system tray). Callbacks in Access 2000 and up (not sure if it is fixed in later versions of Access, I know 97 is fine, and 2000 is not, so I'm not sure if 2002 or 2003 work correctly or not....) make development a little quirky. In a finished state, there is nothing wrong. However, if a callback procedure is 'hooked', and you go into debug mode with the VBA code, you'll lock up Access 2000 (again, don't know if this is fixed with later versions). Drew -----Original Message----- From: John W. Colby [mailto:jwcolby at colbyconsulting.com] Sent: Wednesday, August 17, 2005 12:44 PM To: 'Access Developers discussion and problem solving' Subject: RE: [AccessD] How to Manage Maintenance Mode - Auto shutdown Woa, talk to me. A dll or something which sources events, which can be sunk by a class in the FE? I am in need of something non-timer related. Timers just suck in Access. John W. Colby www.ColbyConsulting.com Contribute your unused CPU cycles to a good cause: http://folding.stanford.edu/ -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of DWUTKA at marlow.com Sent: Wednesday, August 17, 2005 1:32 PM To: accessd at databaseadvisors.com Subject: RE: [AccessD] How to Manage Maintenance Mode - Auto shutdown Actually, with the UDP comm stuff I am talking about in the 'I Need Some Ideas' thread, a listening with UDP to a specific port would provide a way to 'shutdown' remote FE's relatively instantenously, from a central point. Drew -----Original Message----- From: John W. Colby [mailto:jwcolby at colbyconsulting.com] Sent: Wednesday, August 17, 2005 12:13 PM To: 'Access Developers discussion and problem solving' Subject: RE: [AccessD] How to Manage Maintenance Mode - Auto shutdown The problem with that method is that if anyone leaves their FE open overnight (always on) the task can never run. The only alternative that I know of is to have a form always open in every FE, running a timer. The timer tick can do one of several things, including just checking a table for a shutdown flag and informing the user that a shutdown will occur etc. In the end though the form and its timer has to do the shutdown. John W. Colby www.ColbyConsulting.com Contribute your unused CPU cycles to a good cause: http://folding.stanford.edu/ -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Charlotte Foust Sent: Wednesday, August 17, 2005 1:00 PM To: Access Developers discussion and problem solving Subject: RE: [AccessD] How to Manage Maintenance Mode - Auto shutdown We generally don't have polite automatic shutdowns, since our software could run for hours waiting for someone to finish a task and enter the data associated with it. If we have something along those lines (or we need to compact/repair the front end) we set normally up the code to run when it can get an exclusive lock on the database. That just means that when it thinks it should do this, as when the user is closing down, it checks to see whether it can. The same checks will happen on any machine, so the last one to close down wins the prize of running the maintenance routines. What specific kinds of maintenance were you going to run? Charlotte Foust -----Original Message----- From: Mark Breen [mailto:marklbreen at gmail.com] Sent: Wednesday, August 17, 2005 9:37 AM To: accessd at databaseadvisors.com Subject: [AccessD] How to Manage Maintenance Mode - Auto shutdown Hello Group, I have an app uses MS SQL 2000 Server as it's backend database. I want to run some maintenance routines on the db and they require that I switch the db into single user mode. This is easily done and once I have it in Single User Mode, it is easy to kick off the maintenance routines. My question is what ways you may have handled a polite automatic shutdown of the application in your worlds. Technically, I do not have to shut down my app, I could just break the connection to SQL server, but I think that I may as well shut down the entire app. I could use timers, and I could insert 'activity' updates and only shut down the FE app when the app is not being used. So for example, I could update a database field and when the field has not been used for more than 30 minutes I can assume that it is in-active. This would allow me to auto shut down the app, but I would like to leave some message behind me to let the user know where their app went rather than just killing it! I could also break the connection to the db, then display a message box saying the db has been shutdown and allow the user to click OK to continue. I am not seeking detailed technical help here, more philosophically how you guys handle this type of situation. Any thoughts or comments are appreciated, I hope you and your family are all well, Mark Breen -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd 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 Aug 17 13:56:28 2005 From: cfoust at infostatsystems.com (Charlotte Foust) Date: Wed, 17 Aug 2005 11:56:28 -0700 Subject: [AccessD] How to Manage Maintenance Mode - Auto shutdown Message-ID: True, but since drilling rigs usually have only one or possibly two laptops running our software, and since the laptops are somewhat associated with the shift, it doesn't work that way for us. My point was that it isn't an issue for everyone. We make that a procedural issue for our clients rather than trying to outwit them. Charlotte Foust -----Original Message----- From: John W. Colby [mailto:jwcolby at colbyconsulting.com] Sent: Wednesday, August 17, 2005 10:13 AM To: 'Access Developers discussion and problem solving' Subject: RE: [AccessD] How to Manage Maintenance Mode - Auto shutdown The problem with that method is that if anyone leaves their FE open overnight (always on) the task can never run. The only alternative that I know of is to have a form always open in every FE, running a timer. The timer tick can do one of several things, including just checking a table for a shutdown flag and informing the user that a shutdown will occur etc. In the end though the form and its timer has to do the shutdown. John W. Colby www.ColbyConsulting.com Contribute your unused CPU cycles to a good cause: http://folding.stanford.edu/ -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Charlotte Foust Sent: Wednesday, August 17, 2005 1:00 PM To: Access Developers discussion and problem solving Subject: RE: [AccessD] How to Manage Maintenance Mode - Auto shutdown We generally don't have polite automatic shutdowns, since our software could run for hours waiting for someone to finish a task and enter the data associated with it. If we have something along those lines (or we need to compact/repair the front end) we set normally up the code to run when it can get an exclusive lock on the database. That just means that when it thinks it should do this, as when the user is closing down, it checks to see whether it can. The same checks will happen on any machine, so the last one to close down wins the prize of running the maintenance routines. What specific kinds of maintenance were you going to run? Charlotte Foust -----Original Message----- From: Mark Breen [mailto:marklbreen at gmail.com] Sent: Wednesday, August 17, 2005 9:37 AM To: accessd at databaseadvisors.com Subject: [AccessD] How to Manage Maintenance Mode - Auto shutdown Hello Group, I have an app uses MS SQL 2000 Server as it's backend database. I want to run some maintenance routines on the db and they require that I switch the db into single user mode. This is easily done and once I have it in Single User Mode, it is easy to kick off the maintenance routines. My question is what ways you may have handled a polite automatic shutdown of the application in your worlds. Technically, I do not have to shut down my app, I could just break the connection to SQL server, but I think that I may as well shut down the entire app. I could use timers, and I could insert 'activity' updates and only shut down the FE app when the app is not being used. So for example, I could update a database field and when the field has not been used for more than 30 minutes I can assume that it is in-active. This would allow me to auto shut down the app, but I would like to leave some message behind me to let the user know where their app went rather than just killing it! I could also break the connection to the db, then display a message box saying the db has been shutdown and allow the user to click OK to continue. I am not seeking detailed technical help here, more philosophically how you guys handle this type of situation. Any thoughts or comments are appreciated, I hope you and your family are all well, Mark Breen -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From jwcolby at colbyconsulting.com Wed Aug 17 14:06:07 2005 From: jwcolby at colbyconsulting.com (John W. Colby) Date: Wed, 17 Aug 2005 15:06:07 -0400 Subject: [AccessD] How to Manage Maintenance Mode - Auto shutdown In-Reply-To: Message-ID: <00df01c5a35e$bc385970$6c7aa8c0@ColbyM6805> I understand. Unfortunately as the number of users goes up, the ability to get 100% compliance goes down. John W. Colby www.ColbyConsulting.com Contribute your unused CPU cycles to a good cause: http://folding.stanford.edu/ -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Charlotte Foust Sent: Wednesday, August 17, 2005 2:56 PM To: Access Developers discussion and problem solving Subject: RE: [AccessD] How to Manage Maintenance Mode - Auto shutdown True, but since drilling rigs usually have only one or possibly two laptops running our software, and since the laptops are somewhat associated with the shift, it doesn't work that way for us. My point was that it isn't an issue for everyone. We make that a procedural issue for our clients rather than trying to outwit them. Charlotte Foust -----Original Message----- From: John W. Colby [mailto:jwcolby at colbyconsulting.com] Sent: Wednesday, August 17, 2005 10:13 AM To: 'Access Developers discussion and problem solving' Subject: RE: [AccessD] How to Manage Maintenance Mode - Auto shutdown The problem with that method is that if anyone leaves their FE open overnight (always on) the task can never run. The only alternative that I know of is to have a form always open in every FE, running a timer. The timer tick can do one of several things, including just checking a table for a shutdown flag and informing the user that a shutdown will occur etc. In the end though the form and its timer has to do the shutdown. John W. Colby www.ColbyConsulting.com Contribute your unused CPU cycles to a good cause: http://folding.stanford.edu/ -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Charlotte Foust Sent: Wednesday, August 17, 2005 1:00 PM To: Access Developers discussion and problem solving Subject: RE: [AccessD] How to Manage Maintenance Mode - Auto shutdown We generally don't have polite automatic shutdowns, since our software could run for hours waiting for someone to finish a task and enter the data associated with it. If we have something along those lines (or we need to compact/repair the front end) we set normally up the code to run when it can get an exclusive lock on the database. That just means that when it thinks it should do this, as when the user is closing down, it checks to see whether it can. The same checks will happen on any machine, so the last one to close down wins the prize of running the maintenance routines. What specific kinds of maintenance were you going to run? Charlotte Foust -----Original Message----- From: Mark Breen [mailto:marklbreen at gmail.com] Sent: Wednesday, August 17, 2005 9:37 AM To: accessd at databaseadvisors.com Subject: [AccessD] How to Manage Maintenance Mode - Auto shutdown Hello Group, I have an app uses MS SQL 2000 Server as it's backend database. I want to run some maintenance routines on the db and they require that I switch the db into single user mode. This is easily done and once I have it in Single User Mode, it is easy to kick off the maintenance routines. My question is what ways you may have handled a polite automatic shutdown of the application in your worlds. Technically, I do not have to shut down my app, I could just break the connection to SQL server, but I think that I may as well shut down the entire app. I could use timers, and I could insert 'activity' updates and only shut down the FE app when the app is not being used. So for example, I could update a database field and when the field has not been used for more than 30 minutes I can assume that it is in-active. This would allow me to auto shut down the app, but I would like to leave some message behind me to let the user know where their app went rather than just killing it! I could also break the connection to the db, then display a message box saying the db has been shutdown and allow the user to click OK to continue. I am not seeking detailed technical help here, more philosophically how you guys handle this type of situation. Any thoughts or comments are appreciated, I hope you and your family are all well, Mark Breen -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From dwaters at usinternet.com Wed Aug 17 14:37:13 2005 From: dwaters at usinternet.com (Dan Waters) Date: Wed, 17 Aug 2005 14:37:13 -0500 Subject: [AccessD] How to Manage Maintenance Mode - Auto shutdown In-Reply-To: <23347901.1124298423851.JavaMail.root@sniper21> Message-ID: <001301c5a363$12f6c860$0300a8c0@danwaters> I've done this for several years and it works very well. The user gets a five-minute warning (fine in this app), their data is saved due to a 120 second refresh rate, and no complaints. This being a form timer in Access doesn't really matter. If it's 5 minutes +/- 30 seconds, users won't know or care. Also, my db will pop up a form on the admin's PC to let them know when everyone is logged out (and this is just a counted 7 minutes after the shutdown sequence). Dan Waters -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Heenan, Lambert Sent: Wednesday, August 17, 2005 12:18 PM To: 'Access Developers discussion and problem solving' Cc: 'Mark Breen' Subject: RE: [AccessD] How to Manage Maintenance Mode - Auto shutdown Go here to get the code to perform an automated shutdown. http://support.microsoft.com/default.aspx?scid=kb;en-us;304408 The code used is dependant on a form timer, and only looks for inactivity. But it is very simple to modify it to also check a flag value in a table periodically to see if the app. is being forced to close by the administrator. I use this method all the time. Lambert -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Mark Breen Sent: Wednesday, August 17, 2005 12:37 PM To: accessd at databaseadvisors.com Subject: [AccessD] How to Manage Maintenance Mode - Auto shutdown Hello Group, I have an app uses MS SQL 2000 Server as it's backend database. I want to run some maintenance routines on the db and they require that I switch the db into single user mode. This is easily done and once I have it in Single User Mode, it is easy to kick off the maintenance routines. My question is what ways you may have handled a polite automatic shutdown of the application in your worlds. Technically, I do not have to shut down my app, I could just break the connection to SQL server, but I think that I may as well shut down the entire app. I could use timers, and I could insert 'activity' updates and only shut down the FE app when the app is not being used. So for example, I could update a database field and when the field has not been used for more than 30 minutes I can assume that it is in-active. This would allow me to auto shut down the app, but I would like to leave some message behind me to let the user know where their app went rather than just killing it! I could also break the connection to the db, then display a message box saying the db has been shutdown and allow the user to click OK to continue. I am not seeking detailed technical help here, more philosophically how you guys handle this type of situation. Any thoughts or comments are appreciated, I hope you and your family are all well, Mark Breen -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd 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 Aug 17 15:18:28 2005 From: DWUTKA at marlow.com (DWUTKA at marlow.com) Date: Wed, 17 Aug 2005 15:18:28 -0500 Subject: [AccessD] Force Remote Shutdown Instantly! No timers (sort of) WAS:RE: [Ac cessD] How to Manage Maintenance Mode - Auto shutdown Message-ID: <123701F54509D9119A4F00D0B747349016DD66@main2.marlow.com> Okay, JC asked about using UDP in reverse. Since I don't know how experienced ya'all are with winsocks and TCP/IP communications, I decided to whip something up. http://www.marlow.com/RemoteShutdown.zip Here's how this works. Inside that zip you'll find an Access 2000 database with one form and an AutoExec macro (sorry, not writing complete startup code just for a sample). The AutoExec opens frmUDPServer 'hidden'. That form just sits there, and does absolutely nothing, until UDP comms come into port 9999. When the comms come in, there are three options, it will either directly shutdown (docmd.Quit), it will display itself and give the user 10 seconds to cancel the shutdown (that is why this uses a timer, the timer event only starts running during the 'prompted shutdown'), or it will display a message (msgbox). Also, inside the zip, you'll fine testclient.exe (along with the VB source code for that .exe). When you run that, you'll find that a textbox, listbox, and three command buttons. The three buttons do what they say. Click Shutdown Clients, and ALL Access sessions on your network, that have frmUDPServer running in the background will close. Click 'Ask To Shutdown', and ALL Access sessions with frmUDPServer running in the background will now display frmUDPServer, and give the user 10 seconds to cancel the shutdown. Click 'Send Message To Clients', and a msgbox will appear on all of the same machines with the text of what is in the 'Data To Send' labeled textbox. A few special items to note. Pressing Any of the three buttons, while running an Access .mdb with frmUDPServer on the same machine will result in a 'Cannot use this if a server is running locally!' message, and nothing will happen. It's a limitation of UDP comms, but that DOES NOT limit this application. (You don't NEED to shut down a LOCAL machine's application REMOTELY! Eh? LOL). So if you want to test this, you will need two machines, one to run the .mdb, and one to run the .exe. Next note, this uses the winsock .ocx. As I mentioned in a reply to JC earlier, this could all be done with API's if so desired, but honestly, I just don't have time to write this all out with API calls. Next note, almost forgot the listbox. When frmUDPServer gets a message from the network, it sends back it's computer name. So the listbox will populate with all of the machines running frmUDPServer that have received a message from the .exe through the network. A note about subnets/lans/NICs. If frmUDPServer is running on a machine that has multiple NICs, it is going to receive a message for each NIC it has. This isn't a concern for the shutdown, and the prompted shutdown (though the prompted shutdown will delay a little longer, because the first hit will start it, and the second, third, fourth, etc hits will reset the time on it....so the countdown won't really countdown until all of the hits come in. (Unless your network is literally crawling, this will all take less then a second....). Sending messages, however, will popup on their machine for each NIC they have (and on the listbox, you'll see that computername show up for each message 'received'. Last note, BE CAREFUL. This is a SAMPLE project, and I personally wouldn't use it in a live system as is. (That is why I sent the VB source). frmUDPServer has absolutely no safeguards in place. It receives a particular string, it stops Access. I personally would recommend a little tighter 'confirmation'. For sample purposes, I'm simply sending out a simple string 'ShutdownNow' (I think). I would make that a little more complex, so that you don't provide an easy method for a hacker to go around shutting down your applications. Enjoy! Drew From pedro at plex.nl Wed Aug 17 15:56:55 2005 From: pedro at plex.nl (Pedro Janssen) Date: Wed, 17 Aug 2005 22:56:55 +0200 Subject: [AccessD] checkboxes aren't functioning References: <20050817124430.HRTS24175.ibm69aec.bellsouth.net@SUSANONE> <4303D205.23074.170ACFB@stuart.lexacorp.com.pg> Message-ID: <005d01c5a370$885e8e50$fac581d5@pedro> Hello All who responded, thanks for the advise, but al fieldproperties are ok. The database worked fine, nothing changed, but the checkboxes stopped working correctly. The strange part is that for example in record 1 the checkboxes are working, in record 2 they aren't and in record 3 they work again. I also heard today that suddenly you can't make new records with this form. I heven't seen this yet, but i will come back on this tommorrow. Pedro Janssen ----- Original Message ----- From: "Stuart McLachlan" To: "Access Developers discussion and problem solving" Sent: Wednesday, August 17, 2005 4:10 PM Subject: RE: [AccessD] checkboxes aren't functioning > On 17 Aug 2005 at 8:51, John W. Colby wrote: > > > However what if it is bound to a non-boolean field. For example it is bound > > to an integer, the integer can contain 0 and -1 (and null) so it looks like > > it works just fine. But what happens if the field gets set to something > > other than null, 0 or -1? > > > > 0 is false, anything else (other than Null) is "Not False" ie ticked. > > > > -- > Stuart > > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > > From Chester_Kaup at kindermorgan.com Wed Aug 17 16:27:25 2005 From: Chester_Kaup at kindermorgan.com (Kaup, Chester) Date: Wed, 17 Aug 2005 16:27:25 -0500 Subject: [AccessD] Parameter make table query Message-ID: I try to run the following code for a make table query but it still asks for a parameter. Why? Do I need to run it differently? Thanks. PatternName = "123-4" Set MyQDef1 = MyDb.QueryDefs("qry Actual Production after Inj Start Date") MyQDef1.Parameters![Pattern Name] = PatternName DoCmd.OpenQuery "qry Actual Production after Inj Start Date", acViewNormal, acEdit Chester Kaup Engineering Technician Kinder Morgan CO2 Company, LLP Office (432) 688-3797 FAX (432) 688-3799 No trees were killed in the sending of this message. However a large number of electrons were terribly inconvenienced. From jwcolby at colbyconsulting.com Wed Aug 17 16:36:29 2005 From: jwcolby at colbyconsulting.com (John W. Colby) Date: Wed, 17 Aug 2005 17:36:29 -0400 Subject: [AccessD] Force Remote Shutdown Instantly! No timers (sort of)WAS:RE: [Ac cessD] How to Manage Maintenance Mode - Auto shutdown In-Reply-To: <123701F54509D9119A4F00D0B747349016DD66@main2.marlow.com> Message-ID: <00f401c5a373$bf863f60$6c7aa8c0@ColbyM6805> >You don't NEED to shut down a LOCAL machine's application REMOTELY! Eh? LOL) Just goes to show, you never know. I have a server running an application. I would be running this udp server exe on that server, and it would need to shutdown that app. But who's quibbling. John W. Colby www.ColbyConsulting.com Contribute your unused CPU cycles to a good cause: http://folding.stanford.edu/ -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of DWUTKA at marlow.com Sent: Wednesday, August 17, 2005 4:18 PM To: accessd at databaseadvisors.com Subject: [AccessD] Force Remote Shutdown Instantly! No timers (sort of)WAS:RE: [Ac cessD] How to Manage Maintenance Mode - Auto shutdown Okay, JC asked about using UDP in reverse. Since I don't know how experienced ya'all are with winsocks and TCP/IP communications, I decided to whip something up. http://www.marlow.com/RemoteShutdown.zip Here's how this works. Inside that zip you'll find an Access 2000 database with one form and an AutoExec macro (sorry, not writing complete startup code just for a sample). The AutoExec opens frmUDPServer 'hidden'. That form just sits there, and does absolutely nothing, until UDP comms come into port 9999. When the comms come in, there are three options, it will either directly shutdown (docmd.Quit), it will display itself and give the user 10 seconds to cancel the shutdown (that is why this uses a timer, the timer event only starts running during the 'prompted shutdown'), or it will display a message (msgbox). Also, inside the zip, you'll fine testclient.exe (along with the VB source code for that .exe). When you run that, you'll find that a textbox, listbox, and three command buttons. The three buttons do what they say. Click Shutdown Clients, and ALL Access sessions on your network, that have frmUDPServer running in the background will close. Click 'Ask To Shutdown', and ALL Access sessions with frmUDPServer running in the background will now display frmUDPServer, and give the user 10 seconds to cancel the shutdown. Click 'Send Message To Clients', and a msgbox will appear on all of the same machines with the text of what is in the 'Data To Send' labeled textbox. A few special items to note. Pressing Any of the three buttons, while running an Access .mdb with frmUDPServer on the same machine will result in a 'Cannot use this if a server is running locally!' message, and nothing will happen. It's a limitation of UDP comms, but that DOES NOT limit this application. (You don't NEED to shut down a LOCAL machine's application REMOTELY! Eh? LOL). So if you want to test this, you will need two machines, one to run the .mdb, and one to run the .exe. Next note, this uses the winsock .ocx. As I mentioned in a reply to JC earlier, this could all be done with API's if so desired, but honestly, I just don't have time to write this all out with API calls. Next note, almost forgot the listbox. When frmUDPServer gets a message from the network, it sends back it's computer name. So the listbox will populate with all of the machines running frmUDPServer that have received a message from the .exe through the network. A note about subnets/lans/NICs. If frmUDPServer is running on a machine that has multiple NICs, it is going to receive a message for each NIC it has. This isn't a concern for the shutdown, and the prompted shutdown (though the prompted shutdown will delay a little longer, because the first hit will start it, and the second, third, fourth, etc hits will reset the time on it....so the countdown won't really countdown until all of the hits come in. (Unless your network is literally crawling, this will all take less then a second....). Sending messages, however, will popup on their machine for each NIC they have (and on the listbox, you'll see that computername show up for each message 'received'. Last note, BE CAREFUL. This is a SAMPLE project, and I personally wouldn't use it in a live system as is. (That is why I sent the VB source). frmUDPServer has absolutely no safeguards in place. It receives a particular string, it stops Access. I personally would recommend a little tighter 'confirmation'. For sample purposes, I'm simply sending out a simple string 'ShutdownNow' (I think). I would make that a little more complex, so that you don't provide an easy method for a hacker to go around shutting down your applications. Enjoy! Drew -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From karenr7 at oz.net Wed Aug 17 16:45:11 2005 From: karenr7 at oz.net (Karen Rosenstiel) Date: Wed, 17 Aug 2005 14:45:11 -0700 Subject: [AccessD] WIERD little problem In-Reply-To: <855499653F55AD4190B242717DF132BC08317F@dewey.Symphony.local> Message-ID: <200508172145.j7HLj9R02626@databaseadvisors.com> You got it. I finally found it today and deleted the record. Voila! Gawd, isn't Access fun.... :( Regards, Karen Rosenstiel Seattle WA USA -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Liz Doering Sent: Wednesday, August 17, 2005 6:45 AM To: Access Developers discussion and problem solving Subject: RE: [AccessD] WIERD little problem Karen, Have you checked the tables used in the report for a corrupt record? 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 Karen Rosenstiel Sent: Tuesday, August 16, 2005 5:31 PM To: 'Access Developers discussion and problem solving' Subject: [AccessD] WIERD little problem I have a simple little scheduling database, front end and back end. I tried to print a report for tomorrow - a simple list - the database crashed. For some strange reason I cannot print the reports I need for tomorrow, although I could print reports for different dates - just not for tomorrow. It closed itself down and tried to compact itself and send a report to MS. At that point, I discovered that one of staff left open the front end with a little popup form from which you can view or print the reports wide open. I got her out of a meeting to shut down her open Access and then deleted the backup copies and the .ldb files. I could compact/repair the BE but not the FE. Has anybody had anything like this happen before? Any suggestions? I need to mention that I can't send the database to anybody for inspection because of confidentiality restrictions (I work in a jail health clinic). Thanks in advance. Regards, Karen Rosenstiel Seattle WA USA -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd 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 Aug 17 16:50:09 2005 From: ssharkins at bellsouth.net (Susan Harkins) Date: Wed, 17 Aug 2005 17:50:09 -0400 Subject: [AccessD] checkboxes aren't functioning In-Reply-To: <005d01c5a370$885e8e50$fac581d5@pedro> Message-ID: <20050817215006.BPBZ10832.ibm63aec.bellsouth.net@SUSANONE> You said there's no code affecting the controls? Not just behind the control itself, but nothing trying to alter it anywhere at all? This will happen in a continuous form if you change a format/property using code, based on another value in the record. For instance, if you want to enable/disable a checkbox based on the value in a text box -- in a continuous form, such code would enable/disable all of the check box controls, depending on the current record -- I think (without testing, but pretty sure). Not in a continuous form? Susan H. Hello All who responded, thanks for the advise, but al fieldproperties are ok. The database worked fine, nothing changed, but the checkboxes stopped working correctly. The strange part is that for example in record 1 the checkboxes are working, in record 2 they aren't and in record 3 they work again. I also heard today that suddenly you can't make new records with this form. I heven't seen this yet, but i will come back on this tommorrow. Pedro Janssen ----- Original Message ----- From: "Stuart McLachlan" To: "Access Developers discussion and problem solving" Sent: Wednesday, August 17, 2005 4:10 PM Subject: RE: [AccessD] checkboxes aren't functioning > On 17 Aug 2005 at 8:51, John W. Colby wrote: > > > However what if it is bound to a non-boolean field. For example it > > is bound > > to an integer, the integer can contain 0 and -1 (and null) so it > > looks like > > it works just fine. But what happens if the field gets set to > > something other than null, 0 or -1? > > > > 0 is false, anything else (other than Null) is "Not False" ie ticked. > > > > -- > Stuart > > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > > -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- No virus found in this incoming message. Checked by AVG Anti-Virus. Version: 7.0.338 / Virus Database: 267.10.11/74 - Release Date: 8/17/2005 From DWUTKA at marlow.com Wed Aug 17 16:51:50 2005 From: DWUTKA at marlow.com (DWUTKA at marlow.com) Date: Wed, 17 Aug 2005 16:51:50 -0500 Subject: [AccessD] Force Remote Shutdown Instantly! No timers (sort of )WAS:RE: [Ac cessD] How to Manage Maintenance Mode - Auto shutdown Message-ID: <123701F54509D9119A4F00D0B747349016DD6D@main2.marlow.com> Huh? You have an application on a machine, let's call it 'ServerA'. That application is an .mdb, running in the Access environment, right? And you need a way to to that application off.....from ServerA? Why not just turn it off? Now, if you are running two processes, both on ServerA, and you want one process to 'shutdown' the other, okay, that's easy, switch from UDP to TCP. You can easily connect to an app on the same machine with TCP. (The first sample I posted today does that, if it determines the client is on the same machine as the server). Drew -----Original Message----- From: John W. Colby [mailto:jwcolby at colbyconsulting.com] Sent: Wednesday, August 17, 2005 4:36 PM To: 'Access Developers discussion and problem solving' Subject: RE: [AccessD] Force Remote Shutdown Instantly! No timers (sort of)WAS:RE: [Ac cessD] How to Manage Maintenance Mode - Auto shutdown >You don't NEED to shut down a LOCAL machine's application REMOTELY! Eh? LOL) Just goes to show, you never know. I have a server running an application. I would be running this udp server exe on that server, and it would need to shutdown that app. But who's quibbling. John W. Colby www.ColbyConsulting.com Contribute your unused CPU cycles to a good cause: http://folding.stanford.edu/ -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of DWUTKA at marlow.com Sent: Wednesday, August 17, 2005 4:18 PM To: accessd at databaseadvisors.com Subject: [AccessD] Force Remote Shutdown Instantly! No timers (sort of)WAS:RE: [Ac cessD] How to Manage Maintenance Mode - Auto shutdown Okay, JC asked about using UDP in reverse. Since I don't know how experienced ya'all are with winsocks and TCP/IP communications, I decided to whip something up. http://www.marlow.com/RemoteShutdown.zip Here's how this works. Inside that zip you'll find an Access 2000 database with one form and an AutoExec macro (sorry, not writing complete startup code just for a sample). The AutoExec opens frmUDPServer 'hidden'. That form just sits there, and does absolutely nothing, until UDP comms come into port 9999. When the comms come in, there are three options, it will either directly shutdown (docmd.Quit), it will display itself and give the user 10 seconds to cancel the shutdown (that is why this uses a timer, the timer event only starts running during the 'prompted shutdown'), or it will display a message (msgbox). Also, inside the zip, you'll fine testclient.exe (along with the VB source code for that .exe). When you run that, you'll find that a textbox, listbox, and three command buttons. The three buttons do what they say. Click Shutdown Clients, and ALL Access sessions on your network, that have frmUDPServer running in the background will close. Click 'Ask To Shutdown', and ALL Access sessions with frmUDPServer running in the background will now display frmUDPServer, and give the user 10 seconds to cancel the shutdown. Click 'Send Message To Clients', and a msgbox will appear on all of the same machines with the text of what is in the 'Data To Send' labeled textbox. A few special items to note. Pressing Any of the three buttons, while running an Access .mdb with frmUDPServer on the same machine will result in a 'Cannot use this if a server is running locally!' message, and nothing will happen. It's a limitation of UDP comms, but that DOES NOT limit this application. (You don't NEED to shut down a LOCAL machine's application REMOTELY! Eh? LOL). So if you want to test this, you will need two machines, one to run the .mdb, and one to run the .exe. Next note, this uses the winsock .ocx. As I mentioned in a reply to JC earlier, this could all be done with API's if so desired, but honestly, I just don't have time to write this all out with API calls. Next note, almost forgot the listbox. When frmUDPServer gets a message from the network, it sends back it's computer name. So the listbox will populate with all of the machines running frmUDPServer that have received a message from the .exe through the network. A note about subnets/lans/NICs. If frmUDPServer is running on a machine that has multiple NICs, it is going to receive a message for each NIC it has. This isn't a concern for the shutdown, and the prompted shutdown (though the prompted shutdown will delay a little longer, because the first hit will start it, and the second, third, fourth, etc hits will reset the time on it....so the countdown won't really countdown until all of the hits come in. (Unless your network is literally crawling, this will all take less then a second....). Sending messages, however, will popup on their machine for each NIC they have (and on the listbox, you'll see that computername show up for each message 'received'. Last note, BE CAREFUL. This is a SAMPLE project, and I personally wouldn't use it in a live system as is. (That is why I sent the VB source). frmUDPServer has absolutely no safeguards in place. It receives a particular string, it stops Access. I personally would recommend a little tighter 'confirmation'. For sample purposes, I'm simply sending out a simple string 'ShutdownNow' (I think). I would make that a little more complex, so that you don't provide an easy method for a hacker to go around shutting down your applications. Enjoy! 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 accessd at shaw.ca Wed Aug 17 17:18:56 2005 From: accessd at shaw.ca (Jim Lawrence) Date: Wed, 17 Aug 2005 15:18:56 -0700 Subject: OT [AccessD] Ajax and Atlas with XML In-Reply-To: <4302C43E.3030505@shaw.ca> Message-ID: <0ILE00K170NKCI@l-daemon> Hi Marty: I was just joking about the Hamsters... but my god it is still around. Created a row of cows doing the can-can for the late dairy named 'Royal Oak' (you will remember as you are from here). I do not have it anymore so you are all safe. Jim -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of MartyConnelly Sent: Tuesday, August 16, 2005 10:00 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Ajax and Atlas with XML I realize Victoria is little out date but this is archived from the net 10 years ago, It is now considered a net classic. The Original Hampster Dance Dance the night away! http://www.hamsterdance.com/classorig.html Haven't looked at .net variation but probably the same basic theme and methods with a bit more class. Jim Lawrence wrote: >Marty what do you mean 'No dancing Hamster'! :-( > >What is your opinion on the AJAX.Net variation on AJAX which seems to be the >hottest ticket? > >Jim > From accessd at shaw.ca Wed Aug 17 17:43:44 2005 From: accessd at shaw.ca (Jim Lawrence) Date: Wed, 17 Aug 2005 15:43:44 -0700 Subject: [AccessD] I Need Some Ideas In-Reply-To: Message-ID: <0ILE00KAD1SV52@l-daemon> That I might be able to get on board with.... Jim -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Bryan Carbonnell Sent: Wednesday, August 17, 2005 6:30 AM To: Access Developers discussion and problem solving Subject: RE: [AccessD] I Need Some Ideas On 16 Aug 2005 at 16:45, David Mcafee wrote: > Speaking of which, isn't it that time again? Yep. I think so. The last one, IIRC, was at Lembit's place in Germany last summer. I think we need one in Canada this time. Somewhere in Southern Ontario is my suggestion :) -- Bryan Carbonnell - carbonnb at sympatico.ca I've learned.... That the less time I have to work with, the more things I get done. From jwcolby at colbyconsulting.com Wed Aug 17 17:56:05 2005 From: jwcolby at colbyconsulting.com (John W. Colby) Date: Wed, 17 Aug 2005 18:56:05 -0400 Subject: [AccessD] Force Remote Shutdown Instantly! No timers (sort of)WAS:RE: [Ac cessD] How to Manage Maintenance Mode - Auto shutdown In-Reply-To: <123701F54509D9119A4F00D0B747349016DD6D@main2.marlow.com> Message-ID: <00f501c5a37e$d9088c30$6c7aa8c0@ColbyM6805> >Why not just turn it off? Because it is an unattended server. The server is a file server serving the BE to the main application running on workstations. The server also runs an application that sends documents to my client's client via email. At specific times of day the application runs a process to send out the email with a report attached. John W. Colby www.ColbyConsulting.com Contribute your unused CPU cycles to a good cause: http://folding.stanford.edu/ -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of DWUTKA at marlow.com Sent: Wednesday, August 17, 2005 5:52 PM To: accessd at databaseadvisors.com Subject: RE: [AccessD] Force Remote Shutdown Instantly! No timers (sort of)WAS:RE: [Ac cessD] How to Manage Maintenance Mode - Auto shutdown Huh? You have an application on a machine, let's call it 'ServerA'. That application is an .mdb, running in the Access environment, right? And you need a way to to that application off.....from ServerA? Why not just turn it off? Now, if you are running two processes, both on ServerA, and you want one process to 'shutdown' the other, okay, that's easy, switch from UDP to TCP. You can easily connect to an app on the same machine with TCP. (The first sample I posted today does that, if it determines the client is on the same machine as the server). Drew -----Original Message----- From: John W. Colby [mailto:jwcolby at colbyconsulting.com] Sent: Wednesday, August 17, 2005 4:36 PM To: 'Access Developers discussion and problem solving' Subject: RE: [AccessD] Force Remote Shutdown Instantly! No timers (sort of)WAS:RE: [Ac cessD] How to Manage Maintenance Mode - Auto shutdown >You don't NEED to shut down a LOCAL machine's application REMOTELY! Eh? LOL) Just goes to show, you never know. I have a server running an application. I would be running this udp server exe on that server, and it would need to shutdown that app. But who's quibbling. John W. Colby www.ColbyConsulting.com Contribute your unused CPU cycles to a good cause: http://folding.stanford.edu/ -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of DWUTKA at marlow.com Sent: Wednesday, August 17, 2005 4:18 PM To: accessd at databaseadvisors.com Subject: [AccessD] Force Remote Shutdown Instantly! No timers (sort of)WAS:RE: [Ac cessD] How to Manage Maintenance Mode - Auto shutdown Okay, JC asked about using UDP in reverse. Since I don't know how experienced ya'all are with winsocks and TCP/IP communications, I decided to whip something up. http://www.marlow.com/RemoteShutdown.zip Here's how this works. Inside that zip you'll find an Access 2000 database with one form and an AutoExec macro (sorry, not writing complete startup code just for a sample). The AutoExec opens frmUDPServer 'hidden'. That form just sits there, and does absolutely nothing, until UDP comms come into port 9999. When the comms come in, there are three options, it will either directly shutdown (docmd.Quit), it will display itself and give the user 10 seconds to cancel the shutdown (that is why this uses a timer, the timer event only starts running during the 'prompted shutdown'), or it will display a message (msgbox). Also, inside the zip, you'll fine testclient.exe (along with the VB source code for that .exe). When you run that, you'll find that a textbox, listbox, and three command buttons. The three buttons do what they say. Click Shutdown Clients, and ALL Access sessions on your network, that have frmUDPServer running in the background will close. Click 'Ask To Shutdown', and ALL Access sessions with frmUDPServer running in the background will now display frmUDPServer, and give the user 10 seconds to cancel the shutdown. Click 'Send Message To Clients', and a msgbox will appear on all of the same machines with the text of what is in the 'Data To Send' labeled textbox. A few special items to note. Pressing Any of the three buttons, while running an Access .mdb with frmUDPServer on the same machine will result in a 'Cannot use this if a server is running locally!' message, and nothing will happen. It's a limitation of UDP comms, but that DOES NOT limit this application. (You don't NEED to shut down a LOCAL machine's application REMOTELY! Eh? LOL). So if you want to test this, you will need two machines, one to run the .mdb, and one to run the .exe. Next note, this uses the winsock .ocx. As I mentioned in a reply to JC earlier, this could all be done with API's if so desired, but honestly, I just don't have time to write this all out with API calls. Next note, almost forgot the listbox. When frmUDPServer gets a message from the network, it sends back it's computer name. So the listbox will populate with all of the machines running frmUDPServer that have received a message from the .exe through the network. A note about subnets/lans/NICs. If frmUDPServer is running on a machine that has multiple NICs, it is going to receive a message for each NIC it has. This isn't a concern for the shutdown, and the prompted shutdown (though the prompted shutdown will delay a little longer, because the first hit will start it, and the second, third, fourth, etc hits will reset the time on it....so the countdown won't really countdown until all of the hits come in. (Unless your network is literally crawling, this will all take less then a second....). Sending messages, however, will popup on their machine for each NIC they have (and on the listbox, you'll see that computername show up for each message 'received'. Last note, BE CAREFUL. This is a SAMPLE project, and I personally wouldn't use it in a live system as is. (That is why I sent the VB source). frmUDPServer has absolutely no safeguards in place. It receives a particular string, it stops Access. I personally would recommend a little tighter 'confirmation'. For sample purposes, I'm simply sending out a simple string 'ShutdownNow' (I think). I would make that a little more complex, so that you don't provide an easy method for a hacker to go around shutting down your applications. Enjoy! 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 Wed Aug 17 18:13:50 2005 From: DWUTKA at marlow.com (DWUTKA at marlow.com) Date: Wed, 17 Aug 2005 18:13:50 -0500 Subject: [AccessD] Force Remote Shutdown Instantly! No timers (sort of )WAS:RE: [Ac cessD] How to Manage Maintenance Mode - Auto shutdown Message-ID: <123701F54509D9119A4F00D0B747349016DD71@main2.marlow.com> Okay, and what is it that you want to shutdown? I'm a little confused. If the backend is an .mdb, there is nothing to shut off, it's a file share, not a service. The workstations running off of that backend (with their frontends) could be shutdown with the sample I posted. The application that sends emails, which is running on the server (and I'll assume it's an Access application being fired off by the scheduler service), that sounds like it's a start, run, stop process. If you need to interupt it, (not sure how long it takes to run), but you could use the TCP protocol approach, if it needs to be interrupted from another application (but you haven't listed another application....so far it's only the report/email application...the .mdb itself is not a 'running' application. Now, if you want to have the application on the server (which runs and emails the reports) to have the ability of shutting down the client front ends on the network workstations, then just port the VB .exe I posted into it, so that IT sends out the message for the clients to shut down. That portion CAN run from a machine running anything you want. The clash is in the UDP protocol, since it is connectionless, it has to have both the local and remote ports set, so you can't have two applications (the .exe and an .mdb) running the same ports on the same machine, they will clash! Drew -----Original Message----- From: John W. Colby [mailto:jwcolby at colbyconsulting.com] Sent: Wednesday, August 17, 2005 5:56 PM To: 'Access Developers discussion and problem solving' Subject: RE: [AccessD] Force Remote Shutdown Instantly! No timers (sort of)WAS:RE: [Ac cessD] How to Manage Maintenance Mode - Auto shutdown >Why not just turn it off? Because it is an unattended server. The server is a file server serving the BE to the main application running on workstations. The server also runs an application that sends documents to my client's client via email. At specific times of day the application runs a process to send out the email with a report attached. John W. Colby www.ColbyConsulting.com Contribute your unused CPU cycles to a good cause: http://folding.stanford.edu/ -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of DWUTKA at marlow.com Sent: Wednesday, August 17, 2005 5:52 PM To: accessd at databaseadvisors.com Subject: RE: [AccessD] Force Remote Shutdown Instantly! No timers (sort of)WAS:RE: [Ac cessD] How to Manage Maintenance Mode - Auto shutdown Huh? You have an application on a machine, let's call it 'ServerA'. That application is an .mdb, running in the Access environment, right? And you need a way to to that application off.....from ServerA? Why not just turn it off? Now, if you are running two processes, both on ServerA, and you want one process to 'shutdown' the other, okay, that's easy, switch from UDP to TCP. You can easily connect to an app on the same machine with TCP. (The first sample I posted today does that, if it determines the client is on the same machine as the server). Drew -----Original Message----- From: John W. Colby [mailto:jwcolby at colbyconsulting.com] Sent: Wednesday, August 17, 2005 4:36 PM To: 'Access Developers discussion and problem solving' Subject: RE: [AccessD] Force Remote Shutdown Instantly! No timers (sort of)WAS:RE: [Ac cessD] How to Manage Maintenance Mode - Auto shutdown >You don't NEED to shut down a LOCAL machine's application REMOTELY! Eh? LOL) Just goes to show, you never know. I have a server running an application. I would be running this udp server exe on that server, and it would need to shutdown that app. But who's quibbling. John W. Colby www.ColbyConsulting.com Contribute your unused CPU cycles to a good cause: http://folding.stanford.edu/ -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of DWUTKA at marlow.com Sent: Wednesday, August 17, 2005 4:18 PM To: accessd at databaseadvisors.com Subject: [AccessD] Force Remote Shutdown Instantly! No timers (sort of)WAS:RE: [Ac cessD] How to Manage Maintenance Mode - Auto shutdown Okay, JC asked about using UDP in reverse. Since I don't know how experienced ya'all are with winsocks and TCP/IP communications, I decided to whip something up. http://www.marlow.com/RemoteShutdown.zip Here's how this works. Inside that zip you'll find an Access 2000 database with one form and an AutoExec macro (sorry, not writing complete startup code just for a sample). The AutoExec opens frmUDPServer 'hidden'. That form just sits there, and does absolutely nothing, until UDP comms come into port 9999. When the comms come in, there are three options, it will either directly shutdown (docmd.Quit), it will display itself and give the user 10 seconds to cancel the shutdown (that is why this uses a timer, the timer event only starts running during the 'prompted shutdown'), or it will display a message (msgbox). Also, inside the zip, you'll fine testclient.exe (along with the VB source code for that .exe). When you run that, you'll find that a textbox, listbox, and three command buttons. The three buttons do what they say. Click Shutdown Clients, and ALL Access sessions on your network, that have frmUDPServer running in the background will close. Click 'Ask To Shutdown', and ALL Access sessions with frmUDPServer running in the background will now display frmUDPServer, and give the user 10 seconds to cancel the shutdown. Click 'Send Message To Clients', and a msgbox will appear on all of the same machines with the text of what is in the 'Data To Send' labeled textbox. A few special items to note. Pressing Any of the three buttons, while running an Access .mdb with frmUDPServer on the same machine will result in a 'Cannot use this if a server is running locally!' message, and nothing will happen. It's a limitation of UDP comms, but that DOES NOT limit this application. (You don't NEED to shut down a LOCAL machine's application REMOTELY! Eh? LOL). So if you want to test this, you will need two machines, one to run the .mdb, and one to run the .exe. Next note, this uses the winsock .ocx. As I mentioned in a reply to JC earlier, this could all be done with API's if so desired, but honestly, I just don't have time to write this all out with API calls. Next note, almost forgot the listbox. When frmUDPServer gets a message from the network, it sends back it's computer name. So the listbox will populate with all of the machines running frmUDPServer that have received a message from the .exe through the network. A note about subnets/lans/NICs. If frmUDPServer is running on a machine that has multiple NICs, it is going to receive a message for each NIC it has. This isn't a concern for the shutdown, and the prompted shutdown (though the prompted shutdown will delay a little longer, because the first hit will start it, and the second, third, fourth, etc hits will reset the time on it....so the countdown won't really countdown until all of the hits come in. (Unless your network is literally crawling, this will all take less then a second....). Sending messages, however, will popup on their machine for each NIC they have (and on the listbox, you'll see that computername show up for each message 'received'. Last note, BE CAREFUL. This is a SAMPLE project, and I personally wouldn't use it in a live system as is. (That is why I sent the VB source). frmUDPServer has absolutely no safeguards in place. It receives a particular string, it stops Access. I personally would recommend a little tighter 'confirmation'. For sample purposes, I'm simply sending out a simple string 'ShutdownNow' (I think). I would make that a little more complex, so that you don't provide an easy method for a hacker to go around shutting down your applications. Enjoy! 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 shamil at users.mns.ru Wed Aug 17 18:28:31 2005 From: shamil at users.mns.ru (Shamil Salakhetdinov) Date: Thu, 18 Aug 2005 03:28:31 +0400 Subject: [AccessD] Disconnected MS Access cient applications.. Message-ID: <004b01c5a383$7bdab060$6401a8c0@fincomplex.spb.ru> Hi All, I wanted to ask you - what about the subject? Anybody uses/interested to use MS Access client applications this way? Do I miss obvious (RTFM) stuff and such a disconnected mode is already implemented in MS Access and broadly used by MS Access developers? Yes, I know ADO recordsets can be used with bound MS Access forms etc. but this looks like a rather limited feature - am I wrong? What I mean is cashing data locally into mdbs, only the data needed for the currently open form(s) etc., processing this data and then updating backend database(mdb, MSDE, MS SQL, whatever...) - with all this cashing and updating made mostly automatically by a tiny framework code, based on ADO.NET...(yes, this local caching of data is not a new subject but nowadays it can be (re-)implement really scalable way with a way less efforts than before) Maybe MS plans to do something like that? Is that a wheel reinvention or anybody here sees such opportunity like a really useful feature in their real life projects? For me it looks like a useful feature because it could help: to get MS Access back into mainstream development area because it will allow to easily scale applications with MS Access front-ends... There are many other ideas but most of them in this "ideas pool" based on the subject one - if it doesn't make sense for real-life projects then I'd better stop working on it... What is your opinion about the subject? When you expect MS will do something like that in MS Access? Thank you, Shamil From accessd at shaw.ca Wed Aug 17 18:17:05 2005 From: accessd at shaw.ca (Jim Lawrence) Date: Wed, 17 Aug 2005 16:17:05 -0700 Subject: OT [AccessD] I Need Some Ideas In-Reply-To: <00bb01c5a346$6b965660$6c7aa8c0@ColbyM6805> Message-ID: <0ILE00K6S3CH4O@l-daemon> John: It is on record now and will never be forgotten. Even M$ is moving all their data processing to the disconnected data model. Mind you the locally held data can be manipulated and bound but a reconnection must be made be the source data can be updated. Jim -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of John W. Colby Sent: Wednesday, August 17, 2005 9:12 AM To: 'Access Developers discussion and problem solving' Subject: RE: [AccessD] I Need Some Ideas LOL. Nope, typo. John W. Colby www.ColbyConsulting.com Contribute your unused CPU cycles to a good cause: http://folding.stanford.edu/ -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of DWUTKA at marlow.com Sent: Wednesday, August 17, 2005 11:08 AM To: accessd at databaseadvisors.com Subject: RE: [AccessD] I Need Some Ideas Since when did you become an unbounder? I'm a little shocked at that. I guess you finally came across to the dark side! ;) Drew -----Original Message----- From: John W. Colby [mailto:jwcolby at colbyconsulting.com] Sent: Tuesday, August 16, 2005 5:27 PM To: 'Access Developers discussion and problem solving' Subject: RE: [AccessD] I Need Some Ideas >so the occasional bound/unbound, natural/surrogate key, and naming convention argument are simply a way of maintaining our individuality in the world of massive neuron flux. ;) No, unbound forms and surrogate keys are just superior. ;-0 And of course anyone who doesn't use a naming convention, specifically MY naming convention is... a dolt. John W. Colby www.ColbyConsulting.com Contribute your unused CPU cycles to a good cause: http://folding.stanford.edu/ -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of DWUTKA at marlow.com Sent: Tuesday, August 16, 2005 5:37 PM To: accessd at databaseadvisors.com Subject: RE: [AccessD] I Need Some Ideas , I was hoping you were going to get a good chuckle out of that. Personally, I think that is one of the main factors why this list puts out good tips, and is so helpful to people. It's the 'chest pounding' factor. Whether we want to admit it or not, we'll fall all over each other trying to help someone because we want to show off a bit. This is one of the rare parts of our lives where people actually CAN appreciate how brilliant we all our.... ;) I tried explaining a process I was working on involving custom events and classes to a fellow computer geek, and I got the glassy eyed look of complete confusion. So to everyone on the list, we're all geniuses....so pat someone on the back when you can, and get ready to be patted yourself. Yes, to the rest of the world we're a bunch of 'nerds', but wear that label with pride. (a few tattoos and a decent weight training program will keep most of the 'nerd' remarks in check....) ;) Just keep in mind that while we all like to impress with our ideas, genius comes with a lot of prejudice, so the occasional bound/unbound, natural/surrogate key, and naming convention argument are simply a way of maintaining our individuality in the world of massive neuron flux. ;) Drew -----Original Message----- From: John W. Colby [mailto:jwcolby at colbyconsulting.com] Sent: Tuesday, August 16, 2005 4:26 PM To: 'Access Developers discussion and problem solving' Subject: RE: [AccessD] I Need Some Ideas ROTFLMAO. John W. Colby www.ColbyConsulting.com Contribute your unused CPU cycles to a good cause: http://folding.stanford.edu/ -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of DWUTKA at marlow.com Sent: Tuesday, August 16, 2005 4:00 PM To: accessd at databaseadvisors.com Subject: RE: [AccessD] I Need Some Ideas That's easy, and requires no code or special hardware. Just call up JC, and tell him that you don't think his framework would hand XYZ...and let him prove you wrong. When he has given you proof, thank him, tell him he's stellar, and a god among mortals, and walk away with completed JC Classes. Of course, the same method will work on me too.... Drew -----Original Message----- From: Joe Hecht [mailto:jmhecht at earthlink.net] Sent: Tuesday, August 16, 2005 2:45 PM To: 'Access Developers discussion and problem solving' Subject: RE: [AccessD] I Need Some Ideas Voice command app that would automatically write John Colby Classes and code for you. Joe Hecht Los Angeles CA -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From dejpolsys at hotmail.com Wed Aug 17 18:47:19 2005 From: dejpolsys at hotmail.com (William Hindman) Date: Wed, 17 Aug 2005 19:47:19 -0400 Subject: [AccessD] Disconnected MS Access cient applications.. References: <004b01c5a383$7bdab060$6401a8c0@fincomplex.spb.ru> Message-ID: Shamil ..I must be missing something ...that sounds like replication to me. William ----- Original Message ----- From: "Shamil Salakhetdinov" To: "!DBA-MAIN" Sent: Wednesday, August 17, 2005 7:28 PM Subject: [AccessD] Disconnected MS Access cient applications.. > Hi All, > > I wanted to ask you - what about the subject? > Anybody uses/interested to use MS Access client applications this way? > > Do I miss obvious (RTFM) stuff and such a disconnected mode is already > implemented in MS Access and broadly used by MS Access developers? Yes, I > know ADO recordsets can be used with bound MS Access forms etc. but this > looks like a rather limited feature - am I wrong? > > What I mean is cashing data locally into mdbs, only the data needed for > the > currently open form(s) etc., processing this data and then updating > backend > database(mdb, MSDE, MS SQL, whatever...) - with all this cashing and > updating made mostly automatically by a tiny framework code, based on > ADO.NET...(yes, this local caching of data is not a new subject but > nowadays > it can be (re-)implement really scalable way with a way less efforts than > before) > > Maybe MS plans to do something like that? > > Is that a wheel reinvention or anybody here sees such opportunity like a > really useful feature in their real life projects? > > For me it looks like a useful feature because it could help: to get MS > Access back into mainstream development area because it will allow to > easily > scale applications with MS Access front-ends... > > There are many other ideas but most of them in this "ideas pool" based on > the subject one - if it doesn't make sense for real-life projects then I'd > better stop working on it... > > What is your opinion about the subject? > When you expect MS will do something like that in MS Access? > > Thank you, > Shamil > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > From jwcolby at colbyconsulting.com Wed Aug 17 18:47:33 2005 From: jwcolby at colbyconsulting.com (John W. Colby) Date: Wed, 17 Aug 2005 19:47:33 -0400 Subject: [AccessD] Force Remote Shutdown Instantly! No timers (sort of)WAS:RE: [Ac cessD] How to Manage Maintenance Mode - Auto shutdown In-Reply-To: <123701F54509D9119A4F00D0B747349016DD71@main2.marlow.com> Message-ID: <00f601c5a386$0cafa530$6c7aa8c0@ColbyM6805> I have workstations running an application (call center for AIG Insurance company - Disability claims division) that hit the BE on the server. I have an entirely different application (email reporting FE, reports new claims and authorizations to pay claims back to AIG Insurance company) running only on the server that hits the be on the server. It is NOT being fired off by the Windows scheduler, it runs 24/7 and has it's own logic to decide when reports need to go. In fact that same application also RECEIVES emails from AIG Insurance company which contain Excel attachments containing payment information. These emails cause an outlook object to fire events that are sunk in one of my classes, which then process the emails. These payment files get stripped off the email, placed into directories on the server, linked to the Email Reporting FE, and subsequently appended into tables in the same BE that the call center software is hitting. This payment info is then available to the call center personnel when the person filing a claim calls and asks "where's my check". Everything hitting the BE on the server needs to shut down when I ask it to. I do NOT want MY application running on the server to shut down the workstations, I want your EXE (SOME APPLICATION) (running on the server) that shuts down the workstation Fes to also shut down the Server Email Reporting FE. Three things running. Call Center Fes on workstations (often left on overnight). Email Reporting application. Payment Import application. ALL this stuff needs to shut down when I need access to the BE. John W. Colby www.ColbyConsulting.com Contribute your unused CPU cycles to a good cause: http://folding.stanford.edu/ -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of DWUTKA at marlow.com Sent: Wednesday, August 17, 2005 7:14 PM To: accessd at databaseadvisors.com Subject: RE: [AccessD] Force Remote Shutdown Instantly! No timers (sort of)WAS:RE: [Ac cessD] How to Manage Maintenance Mode - Auto shutdown Okay, and what is it that you want to shutdown? I'm a little confused. If the backend is an .mdb, there is nothing to shut off, it's a file share, not a service. The workstations running off of that backend (with their frontends) could be shutdown with the sample I posted. The application that sends emails, which is running on the server (and I'll assume it's an Access application being fired off by the scheduler service), that sounds like it's a start, run, stop process. If you need to interupt it, (not sure how long it takes to run), but you could use the TCP protocol approach, if it needs to be interrupted from another application (but you haven't listed another application....so far it's only the report/email application...the .mdb itself is not a 'running' application. Now, if you want to have the application on the server (which runs and emails the reports) to have the ability of shutting down the client front ends on the network workstations, then just port the VB .exe I posted into it, so that IT sends out the message for the clients to shut down. That portion CAN run from a machine running anything you want. The clash is in the UDP protocol, since it is connectionless, it has to have both the local and remote ports set, so you can't have two applications (the .exe and an .mdb) running the same ports on the same machine, they will clash! Drew -----Original Message----- From: John W. Colby [mailto:jwcolby at colbyconsulting.com] Sent: Wednesday, August 17, 2005 5:56 PM To: 'Access Developers discussion and problem solving' Subject: RE: [AccessD] Force Remote Shutdown Instantly! No timers (sort of)WAS:RE: [Ac cessD] How to Manage Maintenance Mode - Auto shutdown >Why not just turn it off? Because it is an unattended server. The server is a file server serving the BE to the main application running on workstations. The server also runs an application that sends documents to my client's client via email. At specific times of day the application runs a process to send out the email with a report attached. John W. Colby www.ColbyConsulting.com Contribute your unused CPU cycles to a good cause: http://folding.stanford.edu/ -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of DWUTKA at marlow.com Sent: Wednesday, August 17, 2005 5:52 PM To: accessd at databaseadvisors.com Subject: RE: [AccessD] Force Remote Shutdown Instantly! No timers (sort of)WAS:RE: [Ac cessD] How to Manage Maintenance Mode - Auto shutdown Huh? You have an application on a machine, let's call it 'ServerA'. That application is an .mdb, running in the Access environment, right? And you need a way to to that application off.....from ServerA? Why not just turn it off? Now, if you are running two processes, both on ServerA, and you want one process to 'shutdown' the other, okay, that's easy, switch from UDP to TCP. You can easily connect to an app on the same machine with TCP. (The first sample I posted today does that, if it determines the client is on the same machine as the server). Drew -----Original Message----- From: John W. Colby [mailto:jwcolby at colbyconsulting.com] Sent: Wednesday, August 17, 2005 4:36 PM To: 'Access Developers discussion and problem solving' Subject: RE: [AccessD] Force Remote Shutdown Instantly! No timers (sort of)WAS:RE: [Ac cessD] How to Manage Maintenance Mode - Auto shutdown >You don't NEED to shut down a LOCAL machine's application REMOTELY! Eh? LOL) Just goes to show, you never know. I have a server running an application. I would be running this udp server exe on that server, and it would need to shutdown that app. But who's quibbling. John W. Colby www.ColbyConsulting.com Contribute your unused CPU cycles to a good cause: http://folding.stanford.edu/ -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of DWUTKA at marlow.com Sent: Wednesday, August 17, 2005 4:18 PM To: accessd at databaseadvisors.com Subject: [AccessD] Force Remote Shutdown Instantly! No timers (sort of)WAS:RE: [Ac cessD] How to Manage Maintenance Mode - Auto shutdown Okay, JC asked about using UDP in reverse. Since I don't know how experienced ya'all are with winsocks and TCP/IP communications, I decided to whip something up. http://www.marlow.com/RemoteShutdown.zip Here's how this works. Inside that zip you'll find an Access 2000 database with one form and an AutoExec macro (sorry, not writing complete startup code just for a sample). The AutoExec opens frmUDPServer 'hidden'. That form just sits there, and does absolutely nothing, until UDP comms come into port 9999. When the comms come in, there are three options, it will either directly shutdown (docmd.Quit), it will display itself and give the user 10 seconds to cancel the shutdown (that is why this uses a timer, the timer event only starts running during the 'prompted shutdown'), or it will display a message (msgbox). Also, inside the zip, you'll fine testclient.exe (along with the VB source code for that .exe). When you run that, you'll find that a textbox, listbox, and three command buttons. The three buttons do what they say. Click Shutdown Clients, and ALL Access sessions on your network, that have frmUDPServer running in the background will close. Click 'Ask To Shutdown', and ALL Access sessions with frmUDPServer running in the background will now display frmUDPServer, and give the user 10 seconds to cancel the shutdown. Click 'Send Message To Clients', and a msgbox will appear on all of the same machines with the text of what is in the 'Data To Send' labeled textbox. A few special items to note. Pressing Any of the three buttons, while running an Access .mdb with frmUDPServer on the same machine will result in a 'Cannot use this if a server is running locally!' message, and nothing will happen. It's a limitation of UDP comms, but that DOES NOT limit this application. (You don't NEED to shut down a LOCAL machine's application REMOTELY! Eh? LOL). So if you want to test this, you will need two machines, one to run the .mdb, and one to run the .exe. Next note, this uses the winsock .ocx. As I mentioned in a reply to JC earlier, this could all be done with API's if so desired, but honestly, I just don't have time to write this all out with API calls. Next note, almost forgot the listbox. When frmUDPServer gets a message from the network, it sends back it's computer name. So the listbox will populate with all of the machines running frmUDPServer that have received a message from the .exe through the network. A note about subnets/lans/NICs. If frmUDPServer is running on a machine that has multiple NICs, it is going to receive a message for each NIC it has. This isn't a concern for the shutdown, and the prompted shutdown (though the prompted shutdown will delay a little longer, because the first hit will start it, and the second, third, fourth, etc hits will reset the time on it....so the countdown won't really countdown until all of the hits come in. (Unless your network is literally crawling, this will all take less then a second....). Sending messages, however, will popup on their machine for each NIC they have (and on the listbox, you'll see that computername show up for each message 'received'. Last note, BE CAREFUL. This is a SAMPLE project, and I personally wouldn't use it in a live system as is. (That is why I sent the VB source). frmUDPServer has absolutely no safeguards in place. It receives a particular string, it stops Access. I personally would recommend a little tighter 'confirmation'. For sample purposes, I'm simply sending out a simple string 'ShutdownNow' (I think). I would make that a little more complex, so that you don't provide an easy method for a hacker to go around shutting down your applications. Enjoy! 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 jwcolby at colbyconsulting.com Wed Aug 17 18:50:24 2005 From: jwcolby at colbyconsulting.com (John W. Colby) Date: Wed, 17 Aug 2005 19:50:24 -0400 Subject: OT [AccessD] I Need Some Ideas In-Reply-To: <0ILE00K6S3CH4O@l-daemon> Message-ID: <00f701c5a386$6ff96e50$6c7aa8c0@ColbyM6805> Yea, yea, yea. I know all about it. And of course it all makes sense when the data is going out over the internet, but when there are a small number of workstations on a LAN the argument is much less compelling. And IF you are going to do unbound stuff then Access may no longer be the optimum dev environment. John W. Colby www.ColbyConsulting.com Contribute your unused CPU cycles to a good cause: http://folding.stanford.edu/ -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Jim Lawrence Sent: Wednesday, August 17, 2005 7:17 PM To: 'Access Developers discussion and problem solving' Subject: OT [AccessD] I Need Some Ideas John: It is on record now and will never be forgotten. Even M$ is moving all their data processing to the disconnected data model. Mind you the locally held data can be manipulated and bound but a reconnection must be made be the source data can be updated. Jim -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of John W. Colby Sent: Wednesday, August 17, 2005 9:12 AM To: 'Access Developers discussion and problem solving' Subject: RE: [AccessD] I Need Some Ideas LOL. Nope, typo. John W. Colby www.ColbyConsulting.com Contribute your unused CPU cycles to a good cause: http://folding.stanford.edu/ -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of DWUTKA at marlow.com Sent: Wednesday, August 17, 2005 11:08 AM To: accessd at databaseadvisors.com Subject: RE: [AccessD] I Need Some Ideas Since when did you become an unbounder? I'm a little shocked at that. I guess you finally came across to the dark side! ;) Drew -----Original Message----- From: John W. Colby [mailto:jwcolby at colbyconsulting.com] Sent: Tuesday, August 16, 2005 5:27 PM To: 'Access Developers discussion and problem solving' Subject: RE: [AccessD] I Need Some Ideas >so the occasional bound/unbound, natural/surrogate key, and naming convention argument are simply a way of maintaining our individuality in the world of massive neuron flux. ;) No, unbound forms and surrogate keys are just superior. ;-0 And of course anyone who doesn't use a naming convention, specifically MY naming convention is... a dolt. John W. Colby www.ColbyConsulting.com Contribute your unused CPU cycles to a good cause: http://folding.stanford.edu/ -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of DWUTKA at marlow.com Sent: Tuesday, August 16, 2005 5:37 PM To: accessd at databaseadvisors.com Subject: RE: [AccessD] I Need Some Ideas , I was hoping you were going to get a good chuckle out of that. Personally, I think that is one of the main factors why this list puts out good tips, and is so helpful to people. It's the 'chest pounding' factor. Whether we want to admit it or not, we'll fall all over each other trying to help someone because we want to show off a bit. This is one of the rare parts of our lives where people actually CAN appreciate how brilliant we all our.... ;) I tried explaining a process I was working on involving custom events and classes to a fellow computer geek, and I got the glassy eyed look of complete confusion. So to everyone on the list, we're all geniuses....so pat someone on the back when you can, and get ready to be patted yourself. Yes, to the rest of the world we're a bunch of 'nerds', but wear that label with pride. (a few tattoos and a decent weight training program will keep most of the 'nerd' remarks in check....) ;) Just keep in mind that while we all like to impress with our ideas, genius comes with a lot of prejudice, so the occasional bound/unbound, natural/surrogate key, and naming convention argument are simply a way of maintaining our individuality in the world of massive neuron flux. ;) Drew -----Original Message----- From: John W. Colby [mailto:jwcolby at colbyconsulting.com] Sent: Tuesday, August 16, 2005 4:26 PM To: 'Access Developers discussion and problem solving' Subject: RE: [AccessD] I Need Some Ideas ROTFLMAO. John W. Colby www.ColbyConsulting.com Contribute your unused CPU cycles to a good cause: http://folding.stanford.edu/ -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of DWUTKA at marlow.com Sent: Tuesday, August 16, 2005 4:00 PM To: accessd at databaseadvisors.com Subject: RE: [AccessD] I Need Some Ideas That's easy, and requires no code or special hardware. Just call up JC, and tell him that you don't think his framework would hand XYZ...and let him prove you wrong. When he has given you proof, thank him, tell him he's stellar, and a god among mortals, and walk away with completed JC Classes. Of course, the same method will work on me too.... Drew -----Original Message----- From: Joe Hecht [mailto:jmhecht at earthlink.net] Sent: Tuesday, August 16, 2005 2:45 PM To: 'Access Developers discussion and problem solving' Subject: RE: [AccessD] I Need Some Ideas Voice command app that would automatically write John Colby Classes and code for you. Joe Hecht Los Angeles CA -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd 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 Wed Aug 17 19:02:34 2005 From: accessd at shaw.ca (Jim Lawrence) Date: Wed, 17 Aug 2005 17:02:34 -0700 Subject: [AccessD] I Need Some Ideas In-Reply-To: Message-ID: <0ILE00H5K5GAOO@l-daemon> Hi Bryan: I am just throwing out ideas. Any database designs and management is directly translatable to MS SQL so that is no problem. (Check-out DBDesigner, an open source visual DB tool.) Connecting remotely to an operation MS SQL server is no problem and there is even a free EM that can run on any PC. If you are interested I can always send along a link. (I could be talked into helping or prototyping just not initiating at this moment.) Where is your back-door when you need it. :-( I think someone else mentioned an expedition gathering great code samples and solutions from our huge DBA lists. There are some real gems in there and they could go into creating an unrivalled Access library. (We might be able to trade Linux help for MS SQL help... off-line as I have just setup a Linux station and am current finding some simple issues that take days.) Jim -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Bryan Carbonnell Sent: Wednesday, August 17, 2005 6:15 AM To: Access Developers discussion and problem solving Subject: RE: [AccessD] I Need Some Ideas On 15 Aug 2005 at 19:34, Jim Lawrence wrote: > Our web site needs a lot of work to move to the next level. > > A few simple things that would require a bit of research... > > 1. Create the definitive link list for the site. You know most of the > sites from but there are a few out there that are not obvious but > definitely should be counted... like 'http://www.colbyconsulting.com/' > or 'http://www.rogersaccesslibrary.com' or > 'http://www.mvps.org/access/' and many more. It would be great to be > able to create the ultimate Access research page. You just listed the only sites I use for Access stuff. :) I do have a series of links in my favourites at work that I can't get access to at the moment :( Ya just gotta love union negotiations that end in lockouts instead of a new contract :( > 2. Putting some of the great comments and code snippets into either a > gazette or new article for upcoming issues(s). Hmmmm, this could be an interesting challenge > 3 List member advertisement pages stores on a MS SQL DB. This is not > confirmed by the executive yet but I believe it makes sense. We should > be supporting our list members' accomplishment like their books, > articles, programs or even design and support companies. We are a way > from implementing this but the format, design, and coding can be > started as it will be a lengthy development from creation to > implementation. The problem is that I don't know anything about MS SQL of interfacing in with the web. Nor do I have access to a box with MS SQL and IIS. > 4. There is of course .Net... and XML/HXML/AJAX... where much of > Access development is heading/expanding. It is a truly distributive > application development platform and the performance is really awesome > when using ASP.Net client side is coupled with ADO.Net... 'a thousand > users are serviced as fast as one' (Not mine but a quote from a > book.). Should we be looking seriously at this? Articles, new lists, > roll our own? Too many acronymns :) Seriously, I think it would be just a bit too much for me to learn all at once right now. > These are just a few of the web site work that is waiting to be > started and implemented. There are some good ideas there Jim. I may plug away at some of them. > Our current web site owners are having some problems getting our MS > SQL server up and running again but we will be getting MS SQL support > one way or the other. So you can work/plan for/with a MS SQL set of > option/solutions. See above :( -- Bryan Carbonnell - carbonnb at sympatico.ca Failure is not an option. It comes bundled with the software. -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From accessd at shaw.ca Wed Aug 17 19:00:08 2005 From: accessd at shaw.ca (Jim Lawrence) Date: Wed, 17 Aug 2005 17:00:08 -0700 Subject: [AccessD] Disconnected MS Access cient applications.. In-Reply-To: <004b01c5a383$7bdab060$6401a8c0@fincomplex.spb.ru> Message-ID: <0ILE00F3C5C7HZ@l-daemon> Hi Shamil: I have only (mostly) been using a style of disconnected ADO recordsets with Access since 97-98. I use an Access FE for all sorts of DBs like Oracle/MS SQL, MySQL* (*though it needs an ODBC connection :-( ) and even MDB (but mostly just for temp files), singularly or in groups. The process is just so fast, attaches through any reasonable connection and requires very few BE DB licenses... clients save a bundle. I think ADO.Net is the same thing but with an automatic transmission and slick features. It should eliminate a lot of coding. M$ has finally, fully embraced this concept and I feel that is where the next versions of Access are going. This is all my opinion of course and not meant to insight a riot. Jim -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Shamil Salakhetdinov Sent: Wednesday, August 17, 2005 4:29 PM To: !DBA-MAIN Subject: [AccessD] Disconnected MS Access cient applications.. Hi All, I wanted to ask you - what about the subject? Anybody uses/interested to use MS Access client applications this way? Do I miss obvious (RTFM) stuff and such a disconnected mode is already implemented in MS Access and broadly used by MS Access developers? Yes, I know ADO recordsets can be used with bound MS Access forms etc. but this looks like a rather limited feature - am I wrong? What I mean is cashing data locally into mdbs, only the data needed for the currently open form(s) etc., processing this data and then updating backend database(mdb, MSDE, MS SQL, whatever...) - with all this cashing and updating made mostly automatically by a tiny framework code, based on ADO.NET...(yes, this local caching of data is not a new subject but nowadays it can be (re-)implement really scalable way with a way less efforts than before) Maybe MS plans to do something like that? Is that a wheel reinvention or anybody here sees such opportunity like a really useful feature in their real life projects? For me it looks like a useful feature because it could help: to get MS Access back into mainstream development area because it will allow to easily scale applications with MS Access front-ends... There are many other ideas but most of them in this "ideas pool" based on the subject one - if it doesn't make sense for real-life projects then I'd better stop working on it... What is your opinion about the subject? When you expect MS will do something like that in MS Access? Thank you, Shamil -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From cfoust at infostatsystems.com Wed Aug 17 19:42:56 2005 From: cfoust at infostatsystems.com (Charlotte Foust) Date: Wed, 17 Aug 2005 17:42:56 -0700 Subject: [AccessD] Disconnected MS Access cient applications.. Message-ID: Shamil, It looks to me like that is where MS is going with .Net, so it would be logical to take Access in that direction as well ... If they would only consider it a development tool instead of a power user toy. I've certainly built applications in the past using that concept with ADO and unbound forms. (Hush, John, I don't want to hear about it!) I think we often fall back to the built in stuff because it is quick and easy, even though it is not necessarily efficient. MS is moving toward XML as their datastore of choice for this kind of caching, and it certainly works and has been fairly easy to implement since at least Access 2000. I would expect the capability to be expanded in the next version of Access when it starts to catch up with Word and Excel, but that's just a SWAG based on working extensively with VB.Net and speculating. Given that the next version of Access may not be available for a year or so and is bound to have problems at first, I think something that could be used now and with versions earlier than 2003 (which has its own problems!) is entirely sensible. Charlotte Foust -----Original Message----- From: Shamil Salakhetdinov [mailto:shamil at users.mns.ru] Sent: Wednesday, August 17, 2005 4:29 PM To: !DBA-MAIN Subject: [AccessD] Disconnected MS Access cient applications.. Hi All, I wanted to ask you - what about the subject? Anybody uses/interested to use MS Access client applications this way? Do I miss obvious (RTFM) stuff and such a disconnected mode is already implemented in MS Access and broadly used by MS Access developers? Yes, I know ADO recordsets can be used with bound MS Access forms etc. but this looks like a rather limited feature - am I wrong? What I mean is cashing data locally into mdbs, only the data needed for the currently open form(s) etc., processing this data and then updating backend database(mdb, MSDE, MS SQL, whatever...) - with all this cashing and updating made mostly automatically by a tiny framework code, based on ADO.NET...(yes, this local caching of data is not a new subject but nowadays it can be (re-)implement really scalable way with a way less efforts than before) Maybe MS plans to do something like that? Is that a wheel reinvention or anybody here sees such opportunity like a really useful feature in their real life projects? For me it looks like a useful feature because it could help: to get MS Access back into mainstream development area because it will allow to easily scale applications with MS Access front-ends... There are many other ideas but most of them in this "ideas pool" based on the subject one - if it doesn't make sense for real-life projects then I'd better stop working on it... What is your opinion about the subject? When you expect MS will do something like that in MS Access? Thank you, Shamil From Bruce.Bruen at railcorp.nsw.gov.au Wed Aug 17 21:28:33 2005 From: Bruce.Bruen at railcorp.nsw.gov.au (Bruen, Bruce) Date: Thu, 18 Aug 2005 12:28:33 +1000 Subject: [AccessD] copy string to clipboard Message-ID: This must! be simple. I have a string variable created by concatenating the values of several form fields. So how can I copy the value of this string to the clipboard? Private Sub Command35_Click() Dim refstr As String refstr = "RCRef=|" & Me.ucref & "|" & Me.testname & "|" & Me.TestID & "|" Debug.Print refstr Stop ':-( Runcmd accmdStickTheStringInTheClipboard :-( End Sub tia bruce This e-mail and any attachments may contain confidential information that is intended solely for the use of the intended recipient and may be subject to copyright. If you receive this e-mail in error, please notify the sender immediately and delete the e-mail and its attachments from your system. You must not disclose, copy or use any part of this e-mail if you are not the intended recipient. Any opinion expressed in this e-mail and any attachments is not an opinion of RailCorp unless stated or apparent from its content. RailCorp is not responsible for any unauthorised alterations to this e-mail or any attachments. RailCorp will not incur any liability resulting directly or indirectly as a result of the recipient accessing any of the attached files that may contain a virus. From carbonnb at sympatico.ca Wed Aug 17 21:32:29 2005 From: carbonnb at sympatico.ca (Bryan Carbonnell) Date: Wed, 17 Aug 2005 22:32:29 -0400 Subject: [AccessD] copy string to clipboard In-Reply-To: Message-ID: On 18 Aug 2005 at 12:28, Bruen, Bruce wrote: > This must! be simple. > > I have a string variable created by concatenating the values of > several form fields. So how can I copy the value of this string to > the clipboard? > > Private Sub Command35_Click() > Dim refstr As String > refstr = "RCRef=|" & Me.ucref & "|" & Me.testname & "|" & > Me.TestID > & "|" > Debug.Print refstr > Stop > ':-( Runcmd accmdStickTheStringInTheClipboard :-( > End Sub It's an API call. Have a look at http://www.mvps.org/access/api/api0049.htm for the gory details. -- Bryan Carbonnell - carbonnb at sympatico.ca "When they put 'unknown' at the end of a quote, that means they probably don't know how to spell 'anonymous'." ~Author Unknown From stuart at lexacorp.com.pg Wed Aug 17 22:09:55 2005 From: stuart at lexacorp.com.pg (Stuart McLachlan) Date: Thu, 18 Aug 2005 13:09:55 +1000 Subject: [AccessD] copy string to clipboard In-Reply-To: <4303BAFD.19602.192DD92@carbonnb.sympatico.ca> References: Message-ID: <430488A3.30663.1015707@stuart.lexacorp.com.pg> On 17 Aug 2005 at 22:32, Bryan Carbonnell wrote: > On 18 Aug 2005 at 12:28, Bruen, Bruce wrote: > > > This must! be simple. > > > > I have a string variable created by concatenating the values of > > several form fields. So how can I copy the value of this string to > > the clipboard? > > > > Private Sub Command35_Click() > > Dim refstr As String > > refstr = "RCRef=|" & Me.ucref & "|" & Me.testname & "|" & > > Me.TestID > > & "|" > > Debug.Print refstr > > Stop > > ':-( Runcmd accmdStickTheStringInTheClipboard :-( > > End Sub > > It's an API call. > > Have a look at http://www.mvps.org/access/api/api0049.htm for the > gory details. > I'm trying to dig up some code I have to do this - can't find it at the moment. As Brian says, it's fairly gory. It needs memallocs and deallocs plus determining the correct datatype. As a quick and dirty workaround, you may be able to put the string in a control, set focus to the control and use Docmd.RunCommand acCmdCopy -- Stuart From Bruce.Bruen at railcorp.nsw.gov.au Wed Aug 17 22:19:58 2005 From: Bruce.Bruen at railcorp.nsw.gov.au (Bruen, Bruce) Date: Thu, 18 Aug 2005 13:19:58 +1000 Subject: [AccessD] copy string to clipboard Message-ID: Stuart, Stop looking. Tery Krefts code su7ggested by Bryan is just the ticket. Thanks to all. bruce P.s. Although I've never needed to do this before, its amazing that its not a comon function! -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Stuart McLachlan Sent: Thursday, 18 August 2005 1:10 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] copy string to clipboard On 17 Aug 2005 at 22:32, Bryan Carbonnell wrote: > On 18 Aug 2005 at 12:28, Bruen, Bruce wrote: > > > This must! be simple. > > > > I have a string variable created by concatenating the values of > > several form fields. So how can I copy the value of this string to > > the clipboard? > > > > Private Sub Command35_Click() > > Dim refstr As String > > refstr = "RCRef=|" & Me.ucref & "|" & Me.testname & "|" & > > Me.TestID > > & "|" > > Debug.Print refstr > > Stop > > ':-( Runcmd accmdStickTheStringInTheClipboard :-( End Sub > > It's an API call. > > Have a look at http://www.mvps.org/access/api/api0049.htm for the gory > details. > I'm trying to dig up some code I have to do this - can't find it at the moment. As Brian says, it's fairly gory. It needs memallocs and deallocs plus determining the correct datatype. As a quick and dirty workaround, you may be able to put the string in a control, set focus to the control and use Docmd.RunCommand acCmdCopy -- Stuart -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com This e-mail and any attachments may contain confidential information that is intended solely for the use of the intended recipient and may be subject to copyright. If you receive this e-mail in error, please notify the sender immediately and delete the e-mail and its attachments from your system. You must not disclose, copy or use any part of this e-mail if you are not the intended recipient. Any opinion expressed in this e-mail and any attachments is not an opinion of RailCorp unless stated or apparent from its content. RailCorp is not responsible for any unauthorised alterations to this e-mail or any attachments. RailCorp will not incur any liability resulting directly or indirectly as a result of the recipient accessing any of the attached files that may contain a virus. From jmhecht at earthlink.net Wed Aug 17 23:53:57 2005 From: jmhecht at earthlink.net (Joe Hecht) Date: Wed, 17 Aug 2005 21:53:57 -0700 Subject: [AccessD] MDE question Message-ID: <000001c5a3b0$dfc37f30$6401a8c0@laptop1> If I do an app in Access 2K3 and make an .mde out if it will older versions of Access be able to use it? I guess the question is what is the effect on backwards compatibility with mde Joe Hecht Los Angeles CA From stuart at lexacorp.com.pg Thu Aug 18 01:10:11 2005 From: stuart at lexacorp.com.pg (Stuart McLachlan) Date: Thu, 18 Aug 2005 16:10:11 +1000 Subject: [AccessD] MDE question In-Reply-To: <000001c5a3b0$dfc37f30$6401a8c0@laptop1> Message-ID: <4304B2E3.16275.1A65F03@stuart.lexacorp.com.pg> On 17 Aug 2005 at 21:53, Joe Hecht wrote: > If I do an app in Access 2K3 and make an .mde out if it will older versions > of Access be able to use it? > No, and future versions probably won't be able to either - at least that's been the case up to now. -- Stuart From accessd at shaw.ca Thu Aug 18 01:25:02 2005 From: accessd at shaw.ca (Jim Lawrence) Date: Wed, 17 Aug 2005 23:25:02 -0700 Subject: [AccessD] copy string to clipboard In-Reply-To: Message-ID: <0ILE00H0HN5QPV@l-daemon> Hi Bruce: I have some code that I have been using for years, mostly for debugging purposes. It just copies a string up into the clip board and it doesn't look as ugly as the code from Terry Kreft. The following code resides in a miodule declaration area: 'Whole bunch of APIs which allow text to be copied to clipboard... Private Declare Function OpenClipboard Lib "User32" (ByVal hWnd&) As Long Private Declare Function EmptyClipboard Lib "User32" () As Long Private Declare Function GetClipboardData Lib "User32" (ByVal wFormat&) As Long Private Declare Function SetClipboardData Lib "User32" (ByVal wFormat&, _ ByVal hMem&) As Long Private Declare Function CloseClipboard Lib "User32" () As Long ' Private Declare Function GlobalAlloc Lib "kernel32" (ByVal wFlags&, _ ByVal dwBytes&) As Long Private Declare Function GlobalLock Lib "kernel32" (ByVal hMem&) As Long Private Declare Function GlobalUnlock Lib "kernel32" (ByVal hMem&) As Long ' Private Declare Function lstrcpy Lib "kernel32" (ByVal lpString1 As Any, _ ByVal lpString2 As Any) As Long And the remainder is place in a module's function area: Public Sub ClipPutText(lsText As String) ' Stores text on the clipboard Dim hMem As Long Const GHND = &H42 hMem = GlobalAlloc(GHND, Len(lsText) + 1) lstrcpy GlobalLock(hMem), lsText If GlobalUnlock(hMem) = 0 Then If OpenClipboard(0&) <> 0 Then EmptyClipboard SetClipboardData 1, hMem CloseClipboard End If End If End Sub And it can be called from anywhere; forms, reports or modules like so: ClipPutText MyString 'Place the string 'MyString into the clipboard HTH Jim -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Bruen, Bruce Sent: Wednesday, August 17, 2005 7:29 PM To: Access Developers discussion and problem solving Subject: [AccessD] copy string to clipboard This must! be simple. I have a string variable created by concatenating the values of several form fields. So how can I copy the value of this string to the clipboard? Private Sub Command35_Click() Dim refstr As String refstr = "RCRef=|" & Me.ucref & "|" & Me.testname & "|" & Me.TestID & "|" Debug.Print refstr Stop ':-( Runcmd accmdStickTheStringInTheClipboard :-( End Sub tia bruce This e-mail and any attachments may contain confidential information that is intended solely for the use of the intended recipient and may be subject to copyright. If you receive this e-mail in error, please notify the sender immediately and delete the e-mail and its attachments from your system. You must not disclose, copy or use any part of this e-mail if you are not the intended recipient. Any opinion expressed in this e-mail and any attachments is not an opinion of RailCorp unless stated or apparent from its content. RailCorp is not responsible for any unauthorised alterations to this e-mail or any attachments. RailCorp will not incur any liability resulting directly or indirectly as a result of the recipient accessing any of the attached files that may contain a virus. -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From shamil at users.mns.ru Thu Aug 18 04:50:27 2005 From: shamil at users.mns.ru (Shamil Salakhetdinov) Date: Thu, 18 Aug 2005 13:50:27 +0400 Subject: [AccessD] OT(?): Big Design Up Front (BDUF) vs. XP any comments, ideas, experience? Message-ID: <002501c5a3da$451f62d0$6401a8c0@fincomplex.spb.ru> Hi All, I've got this this today from JoelOnSoftware subscription list: <<<<<< "As I worked through the screens that would be needed to allow either party to initiate the process, I realized that Aardvark would be just as useful, and radically simpler, if the helper was required to start the whole process. Making this change in the spec took an hour or two. If we had made this change in code, it would have added weeks to the schedule. I can't tell you how strongly I believe in Big Design Up Front, which the proponents of Extreme Programming consider anathema. I have consistently saved time and made better products by using BDUF and I'm proud to use it, no matter what the XP fanatics claim. They're just wrong on this point and I can't be any clearer than that." - From my latest article: The Project Aardvark Spec http://www.joelonsoftware.com/articles/AardvarkSpec.html >>>>> No comments. It happened that I'm currently reading: "Microsoft Object Thinking" by David West ISBN:0735619654 Microsoft Press ? 2004 and "Extreme Programming Adventures in C# " by Ron Jeffries ISBN:0735619492 Microsoft Press ? 2004 These two books are from Microsoft Press and they have a lot of useful information on eXterme Programming, Unit Testing and Classical(Behavioral) vs. currently existing in most implementations "real life" UML-based(RUP) OOD&P. When MS Press publishes books on such more computer-science than used in real life projects subjects then they are very probably "cultivating the ground" for the soon to become true "dreams". (I remember I watched a movie "Microsoft, Year 2004"(form MS of course) somewhere in year 1995 or so - and as I see now their by that time science-fiction is now real-life, exactly in year 2004-2005. I must say I impressed with both books (and there are just a few technical books I liked because most of them are just "chewing" MSDN or other docs without almost any new ideas). The more I read them the more I like them and I see a lot of sense in what is written in them and I see a lot of my own ideas and experience are there too. I'm glad my thinking is in the mainstream (of course what they say is much more elaborated and thought through and based on their own rich experience). So my guess/thinking is that XP, Unit Testing and Behavioral (Extreme) OOD&P are becoming mainstream for real-life development of the projects of any size - in fact as authors of these books state (based on their experience) that the stuff they are writing about is the "only" agile way to solve the challenges of nowadays customers and projects requests. And they are not fanatics I think - they base their writing on deep analysis of all the previous 50 years experience in software development and not only in software - "Microsoft Object Thinking" is more philosophical than technical book and it has quotes from Plato (year 400 B.C.) - these quotes are used to explain how to "attack" complicated/vague projects' requirements... What do you think about the subject and related issues? Do we need Access/VBA Unit Testing added here - http://opensourcetesting.org/unit_misc.php (Open source tools for software testing professionals) - it can be done - does it make sense? Shamil From shamil at users.mns.ru Thu Aug 18 05:37:22 2005 From: shamil at users.mns.ru (Shamil Salakhetdinov) Date: Thu, 18 Aug 2005 14:37:22 +0400 Subject: [AccessD] OT: 17 August 2005: TechWorld: Alert over Acrobat bug Message-ID: <001c01c5a3e0$d54d9380$6401a8c0@fincomplex.spb.ru> http://www.techworld.com/security/news/index.cfm?RSS&NewsID=4233 <<< The bug went from disclosure to widespread worm attacks within a week, one of the fastest-developing security threats so far, security experts said. >>> Shamil From andy at minstersystems.co.uk Thu Aug 18 06:01:10 2005 From: andy at minstersystems.co.uk (Andy Lacey) Date: Thu, 18 Aug 2005 12:01:10 +0100 Subject: [AccessD] OT: 17 August 2005: TechWorld: Alert over Acrobat bug Message-ID: <20050818110108.278E92528C6@smtp.nildram.co.uk> Thanks for the warning Shamil. -- Andy Lacey http://www.minstersystems.co.uk --------- Original Message -------- From: "Access Developers discussion and problem solving" To: "!dba-Tech" Cc: "!DBA-MAIN" Subject: [AccessD] OT: 17 August 2005: TechWorld: Alert over Acrobat bug Date: 18/08/05 10:34 http://www.techworld.com/security/news/index.cfm?RSS&NewsID=4233 <<< The bug went from disclosure to widespread worm attacks within a week, one of the fastest-developing security threats so far, security experts said. >>> Shamil -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com ________________________________________________ Message sent using UebiMiau 2.7.2 From Johncliviger at aol.com Thu Aug 18 06:39:54 2005 From: Johncliviger at aol.com (Johncliviger at aol.com) Date: Thu, 18 Aug 2005 07:39:54 EDT Subject: [AccessD] Access to SQL Message-ID: <1f9.1014c331.3035cd8a@aol.com> Hi all I've moved Access XP FE to ADP FE and the tables to SQL 2000 BE. I now find that Select DistinctRow thats in Access XP has no equivalent in SQL 2000. What is the equivalent syntax? for example have the following sql string works in Access without a problem. Load it into ADP ...and its a no no. Any suggestions? SELECT DISTINCTROW ApplicantPersonalDetails.*, OrderDetails.CourseCounter, OrderDetails.OrderID, Orders.ClientID, Orders.OrderDate, Orders.InvoiceRequired, ClientPurchaser.ClientCode, ClientPurchaser.Purchasers, ClientPurchaser.FirstName, ClientPurchaser.LastName, PostBasicCourseDetails.CourseID, PostBasicCourseDetails.Date, PostBasicCourseDetails.Course, PostBasicCourseDetails.Level, PostBasicCourseDetails.Location, PostBasicCourseDetails.Code, PostBasicCourseDetails.Length, PostBasicCourseDetails.Places, PostBasicCourseDetails.CourseLeader1, PostBasicCourseDetails.CourseLeader2, PostBasicCourseDetails.Cost, PostBasicCourseDetails.Selection FROM PostBasicCourseDetails INNER JOIN (((ClientPurchaser INNER JOIN Orders ON ClientPurchaser.ClientID = Orders.ClientID) INNER JOIN OrderDetails ON Orders.OrderID = OrderDetails.OrderID) INNER JOIN ApplicantPersonalDetails ON OrderDetails.OrderDetailID = ApplicantPersonalDetails.OrderDetailID) ON PostBasicCourseDetails.CourseCounter = OrderDetails.CourseCounter; Regards johnc From shamil at users.mns.ru Thu Aug 18 06:45:56 2005 From: shamil at users.mns.ru (Shamil Salakhetdinov) Date: Thu, 18 Aug 2005 15:45:56 +0400 Subject: [AccessD] Disconnected MS Access cient applications.. References: <004b01c5a383$7bdab060$6401a8c0@fincomplex.spb.ru> Message-ID: <002001c5a3ea$66b59c60$6401a8c0@fincomplex.spb.ru> No, William, this is not replication - here is what I mean in short: http://www.smsconsulting.spb.ru/shamil_s/articles/ddo.htm Shamil ----- Original Message ----- From: "William Hindman" To: "Access Developers discussion and problem solving" Sent: Thursday, August 18, 2005 3:47 AM Subject: Re: [AccessD] Disconnected MS Access cient applications.. > Shamil > > ..I must be missing something ...that sounds like replication to me. > > William > > ----- Original Message ----- > From: "Shamil Salakhetdinov" > To: "!DBA-MAIN" > Sent: Wednesday, August 17, 2005 7:28 PM > Subject: [AccessD] Disconnected MS Access cient applications.. > > > > Hi All, > > > > I wanted to ask you - what about the subject? > > Anybody uses/interested to use MS Access client applications this way? > > > > Do I miss obvious (RTFM) stuff and such a disconnected mode is already > > implemented in MS Access and broadly used by MS Access developers? Yes, I > > know ADO recordsets can be used with bound MS Access forms etc. but this > > looks like a rather limited feature - am I wrong? > > > > What I mean is cashing data locally into mdbs, only the data needed for > > the > > currently open form(s) etc., processing this data and then updating > > backend > > database(mdb, MSDE, MS SQL, whatever...) - with all this cashing and > > updating made mostly automatically by a tiny framework code, based on > > ADO.NET...(yes, this local caching of data is not a new subject but > > nowadays > > it can be (re-)implement really scalable way with a way less efforts than > > before) > > > > Maybe MS plans to do something like that? > > > > Is that a wheel reinvention or anybody here sees such opportunity like a > > really useful feature in their real life projects? > > > > For me it looks like a useful feature because it could help: to get MS > > Access back into mainstream development area because it will allow to > > easily > > scale applications with MS Access front-ends... > > > > There are many other ideas but most of them in this "ideas pool" based on > > the subject one - if it doesn't make sense for real-life projects then I'd > > better stop working on it... > > > > What is your opinion about the subject? > > When you expect MS will do something like that in MS Access? > > > > Thank you, > > Shamil > > > > -- > > AccessD mailing list > > AccessD at databaseadvisors.com > > http://databaseadvisors.com/mailman/listinfo/accessd > > Website: http://www.databaseadvisors.com > > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com From paul.hartland at isharp.co.uk Thu Aug 18 06:49:41 2005 From: paul.hartland at isharp.co.uk (Paul Hartland (ISHARP)) Date: Thu, 18 Aug 2005 12:49:41 +0100 Subject: [AccessD] Access to SQL In-Reply-To: <1f9.1014c331.3035cd8a@aol.com> Message-ID: Can't quite remember off hand but I think if you change DISTINCTROW to just DISTINCT that may work -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Johncliviger at aol.com Sent: 18 August 2005 12:40 To: accessD at databaseadvisors.com Subject: [AccessD] Access to SQL Hi all I've moved Access XP FE to ADP FE and the tables to SQL 2000 BE. I now find that Select DistinctRow thats in Access XP has no equivalent in SQL 2000. What is the equivalent syntax? for example have the following sql string works in Access without a problem. Load it into ADP ...and its a no no. Any suggestions? SELECT DISTINCTROW ApplicantPersonalDetails.*, OrderDetails.CourseCounter, OrderDetails.OrderID, Orders.ClientID, Orders.OrderDate, Orders.InvoiceRequired, ClientPurchaser.ClientCode, ClientPurchaser.Purchasers, ClientPurchaser.FirstName, ClientPurchaser.LastName, PostBasicCourseDetails.CourseID, PostBasicCourseDetails.Date, PostBasicCourseDetails.Course, PostBasicCourseDetails.Level, PostBasicCourseDetails.Location, PostBasicCourseDetails.Code, PostBasicCourseDetails.Length, PostBasicCourseDetails.Places, PostBasicCourseDetails.CourseLeader1, PostBasicCourseDetails.CourseLeader2, PostBasicCourseDetails.Cost, PostBasicCourseDetails.Selection FROM PostBasicCourseDetails INNER JOIN (((ClientPurchaser INNER JOIN Orders ON ClientPurchaser.ClientID = Orders.ClientID) INNER JOIN OrderDetails ON Orders.OrderID = OrderDetails.OrderID) INNER JOIN ApplicantPersonalDetails ON OrderDetails.OrderDetailID = ApplicantPersonalDetails.OrderDetailID) ON PostBasicCourseDetails.CourseCounter = OrderDetails.CourseCounter; Regards johnc -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From dwaters at usinternet.com Thu Aug 18 07:01:55 2005 From: dwaters at usinternet.com (Dan Waters) Date: Thu, 18 Aug 2005 07:01:55 -0500 Subject: [AccessD] OT(?): Big Design Up Front (BDUF) vs. XP any comments, ideas, experience? In-Reply-To: <2394097.1124357866442.JavaMail.root@sniper21> Message-ID: <000301c5a3ec$a2806520$0300a8c0@danwaters> I agree wholeheartedly with Joel. I developed a spec where instead of the Quality Dept. initiating a record, it was initiated by the Purchasing Dept. because they were the first group to become aware of the issue. I wouldn't have known that without investigating and understanding up front what the whole process was. The Purchasing Dept. agreed pretty quickly that they could do this, particularly because having a software application to use instead of paper forms made it easy. The Quality Dept. was initiating because everyone assumed that it was a Quality process. That was departmental thinking - it's whole company process thinking that really works. Dan Waters -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Shamil Salakhetdinov Sent: Thursday, August 18, 2005 4:50 AM To: !DBA-MAIN Subject: [AccessD] OT(?): Big Design Up Front (BDUF) vs. XP any comments,ideas, experience? Hi All, I've got this this today from JoelOnSoftware subscription list: <<<<<< "As I worked through the screens that would be needed to allow either party to initiate the process, I realized that Aardvark would be just as useful, and radically simpler, if the helper was required to start the whole process. Making this change in the spec took an hour or two. If we had made this change in code, it would have added weeks to the schedule. I can't tell you how strongly I believe in Big Design Up Front, which the proponents of Extreme Programming consider anathema. I have consistently saved time and made better products by using BDUF and I'm proud to use it, no matter what the XP fanatics claim. They're just wrong on this point and I can't be any clearer than that." - From my latest article: The Project Aardvark Spec http://www.joelonsoftware.com/articles/AardvarkSpec.html >>>>> No comments. It happened that I'm currently reading: "Microsoft Object Thinking" by David West ISBN:0735619654 Microsoft Press C 2004 and "Extreme Programming Adventures in C# " by Ron Jeffries ISBN:0735619492 Microsoft Press C 2004 These two books are from Microsoft Press and they have a lot of useful information on eXterme Programming, Unit Testing and Classical(Behavioral) vs. currently existing in most implementations "real life" UML-based(RUP) OOD&P. When MS Press publishes books on such more computer-science than used in real life projects subjects then they are very probably "cultivating the ground" for the soon to become true "dreams". (I remember I watched a movie "Microsoft, Year 2004"(form MS of course) somewhere in year 1995 or so - and as I see now their by that time science-fiction is now real-life, exactly in year 2004-2005. I must say I impressed with both books (and there are just a few technical books I liked because most of them are just "chewing" MSDN or other docs without almost any new ideas). The more I read them the more I like them and I see a lot of sense in what is written in them and I see a lot of my own ideas and experience are there too. I'm glad my thinking is in the mainstream (of course what they say is much more elaborated and thought through and based on their own rich experience). So my guess/thinking is that XP, Unit Testing and Behavioral (Extreme) OOD&P are becoming mainstream for real-life development of the projects of any size - in fact as authors of these books state (based on their experience) that the stuff they are writing about is the "only" agile way to solve the challenges of nowadays customers and projects requests. And they are not fanatics I think - they base their writing on deep analysis of all the previous 50 years experience in software development and not only in software - "Microsoft Object Thinking" is more philosophical than technical book and it has quotes from Plato (year 400 B.C.) - these quotes are used to explain how to "attack" complicated/vague projects' requirements... What do you think about the subject and related issues? Do we need Access/VBA Unit Testing added here - http://opensourcetesting.org/unit_misc.php (Open source tools for software testing professionals) - it can be done - does it make sense? Shamil -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From dejpolsys at hotmail.com Thu Aug 18 07:10:14 2005 From: dejpolsys at hotmail.com (William Hindman) Date: Thu, 18 Aug 2005 08:10:14 -0400 Subject: [AccessD] Disconnected MS Access cient applications.. References: <004b01c5a383$7bdab060$6401a8c0@fincomplex.spb.ru> <002001c5a3ea$66b59c60$6401a8c0@fincomplex.spb.ru> Message-ID: ..thanks Shamil ...you work in another world ...and I don't mean Russia :) ..SQL Server is about as far afield as I ever get ...and unbound forms in Access, with few exceptions, are a curse upon mankind ...imnsho :) William ----- Original Message ----- From: "Shamil Salakhetdinov" To: "Access Developers discussion and problem solving" Sent: Thursday, August 18, 2005 7:45 AM Subject: Re: [AccessD] Disconnected MS Access cient applications.. > No, William, this is not replication - here is what I mean in short: > > http://www.smsconsulting.spb.ru/shamil_s/articles/ddo.htm > > Shamil > > ----- Original Message ----- > From: "William Hindman" > To: "Access Developers discussion and problem solving" > > Sent: Thursday, August 18, 2005 3:47 AM > Subject: Re: [AccessD] Disconnected MS Access cient applications.. > > >> Shamil >> >> ..I must be missing something ...that sounds like replication to me. >> >> William >> >> ----- Original Message ----- >> From: "Shamil Salakhetdinov" >> To: "!DBA-MAIN" >> Sent: Wednesday, August 17, 2005 7:28 PM >> Subject: [AccessD] Disconnected MS Access cient applications.. >> >> >> > Hi All, >> > >> > I wanted to ask you - what about the subject? >> > Anybody uses/interested to use MS Access client applications this way? >> > >> > Do I miss obvious (RTFM) stuff and such a disconnected mode is already >> > implemented in MS Access and broadly used by MS Access developers? Yes, > I >> > know ADO recordsets can be used with bound MS Access forms etc. but >> > this >> > looks like a rather limited feature - am I wrong? >> > >> > What I mean is cashing data locally into mdbs, only the data needed for >> > the >> > currently open form(s) etc., processing this data and then updating >> > backend >> > database(mdb, MSDE, MS SQL, whatever...) - with all this cashing and >> > updating made mostly automatically by a tiny framework code, based on >> > ADO.NET...(yes, this local caching of data is not a new subject but >> > nowadays >> > it can be (re-)implement really scalable way with a way less efforts > than >> > before) >> > >> > Maybe MS plans to do something like that? >> > >> > Is that a wheel reinvention or anybody here sees such opportunity like >> > a >> > really useful feature in their real life projects? >> > >> > For me it looks like a useful feature because it could help: to get MS >> > Access back into mainstream development area because it will allow to >> > easily >> > scale applications with MS Access front-ends... >> > >> > There are many other ideas but most of them in this "ideas pool" based > on >> > the subject one - if it doesn't make sense for real-life projects then > I'd >> > better stop working on it... >> > >> > What is your opinion about the subject? >> > When you expect MS will do something like that in MS Access? >> > >> > Thank you, >> > Shamil >> > >> > -- >> > AccessD mailing list >> > AccessD at databaseadvisors.com >> > http://databaseadvisors.com/mailman/listinfo/accessd >> > Website: http://www.databaseadvisors.com >> > >> -- >> AccessD mailing list >> AccessD at databaseadvisors.com >> http://databaseadvisors.com/mailman/listinfo/accessd >> Website: http://www.databaseadvisors.com > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > From jwcolby at colbyconsulting.com Thu Aug 18 07:44:01 2005 From: jwcolby at colbyconsulting.com (John W. Colby) Date: Thu, 18 Aug 2005 08:44:01 -0400 Subject: [AccessD] MDE question In-Reply-To: <000001c5a3b0$dfc37f30$6401a8c0@laptop1> Message-ID: <00fd01c5a3f2$82c37d70$6c7aa8c0@ColbyM6805> Joe, Compatibility between versions depends on two factors, the container version used for the MDE and use of features specific to that version. Let's discuss this in two parts: CONTAINER: If your users use A97, A2K, AXP and A2003, it should be possible to build the mde in and A97 container and all of these versions should be able to open the thing and use it. IIRC, there is a "great divide" between A97 and anything after where if the container is opened in any version AFTER A97 the user will be able to open (and use it) but not make changes to it, i.e. it is opened read only. For this reason alone it is convenient if you can assure that all clients will use A2K or later. If you use A2K and later, then it becomes a "simple" rule: Access can only open the version it creates or earlier. For example, A2K can only open A2K containers, it cannot open AXP containers. If you create an MDE using a native AXP container then A2K users will get a "bad database format" error message if they try to open it. If you use an A2K container, then A2K and all versions after will be able to open the container, and also to read / write to it. RULE: Use only A2K containers to build databases that need to be read/writeable by Access versions A2K and above. VERSION SPECIFIC FEATURES: Microsoft takes great care to try and ensure backwards compatibility (No, I don't work for them). For that reason, virtually any feature used in an A97 database can be used in A2K or above. However, Each version can and does add features. Obviously in general these features cannot be used by previous versions. A good example of this is raising events. A97 could SINK events in classes which were raised by objects passed in to the class. However A97 cannot RAISE events of its own. A2K and above can raise events. Thus if your code raises events, that will not be useable in A97. RULE: Discover whether you are using version specific capabilities and either not use these capabilities or be prepared to limit your distribution to versions of Access at least the version you are developing in or later. I use AXP and A2K. I don't know of any capabilities in AXP that are not useable in A2K. I think once you get out to A2003 you start to run into things like XML import/export which is just not available in AXP and previous versions. Obviously if you were to develop in A2003 and you use these features, even if you use an A2K container neither A2K nor AXP will function correctly. Hopefully this discussion has given you a better idea of how to approach compatibility issues. AFAIK, using an MDE in and of itself does not place any restrictions on which version of Access can use the database. The container type and Version Specific Functionality will be the sticking points. John W. Colby www.ColbyConsulting.com Contribute your unused CPU cycles to a good cause: http://folding.stanford.edu/ -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Joe Hecht Sent: Thursday, August 18, 2005 12:54 AM To: 'Access Developers discussion and problem solving' Subject: [AccessD] MDE question If I do an app in Access 2K3 and make an .mde out if it will older versions of Access be able to use it? I guess the question is what is the effect on backwards compatibility with mde Joe Hecht Los Angeles CA -- 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 Aug 18 08:11:24 2005 From: stuart at lexacorp.com.pg (Stuart McLachlan) Date: Thu, 18 Aug 2005 23:11:24 +1000 Subject: [AccessD] MDE question In-Reply-To: <00fd01c5a3f2$82c37d70$6c7aa8c0@ColbyM6805> References: <000001c5a3b0$dfc37f30$6401a8c0@laptop1> Message-ID: <4305159C.15609.389644@stuart.lexacorp.com.pg> On 18 Aug 2005 at 8:44, John W. Colby wrote: > CONTAINER: If your users use A97, A2K, AXP and A2003, it should be possible > to build the mde in and A97 container and all of these versions should be > able to open the thing and use it. No! Definitely not. A2K/XP can't open an A97 MDE. If you try, will be asked whether you want to open or convert it, but which ever option you choose, you will then get a msgbox saying "You can't convert or enable an MDE file." You can link to it or import the tables and queries from it but you can't open or run it. I'm running into this frequently at present. I'm upgrading all the inhouse applications for a group of companies. Many of these were created by dabblers and they are a real mess. Unfortunately some of them are only available as MDEs and they are totally unconvertible. Best I can do is extract the data and recreate the functionality in a new FE. -- Stuart From jwcolby at colbyconsulting.com Thu Aug 18 08:16:03 2005 From: jwcolby at colbyconsulting.com (John W. Colby) Date: Thu, 18 Aug 2005 09:16:03 -0400 Subject: [AccessD] MDE question In-Reply-To: <4305159C.15609.389644@stuart.lexacorp.com.pg> Message-ID: <010601c5a3f6$fede9710$6c7aa8c0@ColbyM6805> Ahh.. OK, I did not know that. That is not true for later versions correct? I.e. AXP does not even attempt to "convert" an A2K app to AXP so this isn't an issue, correct? As for "having to start from scratch" on those amateur apps, believe me that is a blessing! John W. Colby www.ColbyConsulting.com Contribute your unused CPU cycles to a good cause: http://folding.stanford.edu/ -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Stuart McLachlan Sent: Thursday, August 18, 2005 9:11 AM To: Access Developers discussion and problem solving Subject: RE: [AccessD] MDE question On 18 Aug 2005 at 8:44, John W. Colby wrote: > CONTAINER: If your users use A97, A2K, AXP and A2003, it should be > possible to build the mde in and A97 container and all of these > versions should be able to open the thing and use it. No! Definitely not. A2K/XP can't open an A97 MDE. If you try, will be asked whether you want to open or convert it, but which ever option you choose, you will then get a msgbox saying "You can't convert or enable an MDE file." You can link to it or import the tables and queries from it but you can't open or run it. I'm running into this frequently at present. I'm upgrading all the inhouse applications for a group of companies. Many of these were created by dabblers and they are a real mess. Unfortunately some of them are only available as MDEs and they are totally unconvertible. Best I can do is extract the data and recreate the functionality in a new FE. -- Stuart -- 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 Aug 18 08:19:31 2005 From: stuart at lexacorp.com.pg (Stuart McLachlan) Date: Thu, 18 Aug 2005 23:19:31 +1000 Subject: [AccessD] MDE question In-Reply-To: <00fd01c5a3f2$82c37d70$6c7aa8c0@ColbyM6805> References: <000001c5a3b0$dfc37f30$6401a8c0@laptop1> Message-ID: <43051783.7751.400354@stuart.lexacorp.com.pg> On 18 Aug 2005 at 8:44, John W. Colby wrote: > I use AXP and A2K. I don't know of any capabilities in AXP that are not > useable in A2K. PivotTable and PivotChart views Binding of reports, listboxes and combo boxes to ADO recordsets Very long SQL statements as RecordSource or RowSource (over 2K characters) -- Stuart From stuart at lexacorp.com.pg Thu Aug 18 08:27:21 2005 From: stuart at lexacorp.com.pg (Stuart McLachlan) Date: Thu, 18 Aug 2005 23:27:21 +1000 Subject: [AccessD] MDE question In-Reply-To: <010601c5a3f6$fede9710$6c7aa8c0@ColbyM6805> References: <4305159C.15609.389644@stuart.lexacorp.com.pg> Message-ID: <43051959.31312.473138@stuart.lexacorp.com.pg> On 18 Aug 2005 at 9:16, John W. Colby wrote: > Ahh.. OK, I did not know that. That is not true for later versions correct? > I.e. AXP does not even attempt to "convert" an A2K app to AXP so this isn't > an issue, correct? > Correct. AXP has no dificulty opening an A2K MDE. > As for "having to start from scratch" on those amateur apps, believe me that > is a blessing! > Don't I know it. I' was just handed a new one yesterday to do some work on: Natural Keys, Fieldnames "Date" and 'Name" as well as included spaces, tables not normalised, macros galore etc, etc. And this one was apparently built for a government entity by an AusAID consultant! -- Stuart From D.Dick at uws.edu.au Thu Aug 18 07:45:48 2005 From: D.Dick at uws.edu.au (Darren Dick) Date: Thu, 18 Aug 2005 22:45:48 +1000 Subject: [AccessD] A2000/3:Connecting to SQL Server Message-ID: <2FDE83AF1A69C84796CBD13788DDA88326D81B@BONHAM.AD.UWS.EDU.AU> Hello all New Job - Have to Learn SQL Server ASAP and MS Reporting Services. (Anyone know any good resources on MS Reporting Services?) Also I would like someone to hold my hand getting an ACCESS front end to talk with a SQL Server Backend. never done it - never had to - and I have no clue on how to do it. :-)) Anyone wanna hold my hand (No sweaty palms - I promise) or failing that some simple (and it really does have to be simple for me) tutorials? Many thanks Darren From Jdemarco at hudsonhealthplan.org Thu Aug 18 08:55:30 2005 From: Jdemarco at hudsonhealthplan.org (Jim DeMarco) Date: Thu, 18 Aug 2005 09:55:30 -0400 Subject: [AccessD] copy string to clipboard Message-ID: <08F823FD83787D4BA0B99CA580AD3C74016C3CCA@TTNEXCHCL2.hshhp.com> If you have VB and don't mind shipping a dll with your app it's much simpler. Clipboard.SetText "Jim D" Me.Text1.Text = Clipboard.GetText Jim DeMarco -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Jim Lawrence Sent: Thursday, August 18, 2005 2:25 AM To: 'Access Developers discussion and problem solving' Subject: RE: [AccessD] copy string to clipboard Hi Bruce: I have some code that I have been using for years, mostly for debugging purposes. It just copies a string up into the clip board and it doesn't look as ugly as the code from Terry Kreft. The following code resides in a miodule declaration area: 'Whole bunch of APIs which allow text to be copied to clipboard... Private Declare Function OpenClipboard Lib "User32" (ByVal hWnd&) As Long Private Declare Function EmptyClipboard Lib "User32" () As Long Private Declare Function GetClipboardData Lib "User32" (ByVal wFormat&) As Long Private Declare Function SetClipboardData Lib "User32" (ByVal wFormat&, _ ByVal hMem&) As Long Private Declare Function CloseClipboard Lib "User32" () As Long ' Private Declare Function GlobalAlloc Lib "kernel32" (ByVal wFlags&, _ ByVal dwBytes&) As Long Private Declare Function GlobalLock Lib "kernel32" (ByVal hMem&) As Long Private Declare Function GlobalUnlock Lib "kernel32" (ByVal hMem&) As Long ' Private Declare Function lstrcpy Lib "kernel32" (ByVal lpString1 As Any, _ ByVal lpString2 As Any) As Long And the remainder is place in a module's function area: Public Sub ClipPutText(lsText As String) ' Stores text on the clipboard Dim hMem As Long Const GHND = &H42 hMem = GlobalAlloc(GHND, Len(lsText) + 1) lstrcpy GlobalLock(hMem), lsText If GlobalUnlock(hMem) = 0 Then If OpenClipboard(0&) <> 0 Then EmptyClipboard SetClipboardData 1, hMem CloseClipboard End If End If End Sub And it can be called from anywhere; forms, reports or modules like so: ClipPutText MyString 'Place the string 'MyString into the clipboard HTH Jim -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Bruen, Bruce Sent: Wednesday, August 17, 2005 7:29 PM To: Access Developers discussion and problem solving Subject: [AccessD] copy string to clipboard This must! be simple. I have a string variable created by concatenating the values of several form fields. So how can I copy the value of this string to the clipboard? Private Sub Command35_Click() Dim refstr As String refstr = "RCRef=|" & Me.ucref & "|" & Me.testname & "|" & Me.TestID & "|" Debug.Print refstr Stop ':-( Runcmd accmdStickTheStringInTheClipboard :-( End Sub tia bruce This e-mail and any attachments may contain confidential information that is intended solely for the use of the intended recipient and may be subject to copyright. If you receive this e-mail in error, please notify the sender immediately and delete the e-mail and its attachments from your system. You must not disclose, copy or use any part of this e-mail if you are not the intended recipient. Any opinion expressed in this e-mail and any attachments is not an opinion of RailCorp unless stated or apparent from its content. RailCorp is not responsible for any unauthorised alterations to this e-mail or any attachments. RailCorp will not incur any liability resulting directly or indirectly as a result of the recipient accessing any of the attached files that may contain a virus. -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/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 jwcolby at colbyconsulting.com Thu Aug 18 09:00:55 2005 From: jwcolby at colbyconsulting.com (John W. Colby) Date: Thu, 18 Aug 2005 10:00:55 -0400 Subject: [AccessD] A2000/3:Connecting to SQL Server In-Reply-To: <2FDE83AF1A69C84796CBD13788DDA88326D81B@BONHAM.AD.UWS.EDU.AU> Message-ID: <010701c5a3fd$40a7f690$6c7aa8c0@ColbyM6805> Darren, If the BE is in Access and needs to be upgraded to SQL Server, try the upgrade wizard. I have run this on some fairly major Access Bes and it works pretty well. The only issue I had was dates which have different ranges between Access and SQL. The idea is to get the BE upgrading without any issues (data all moves without errors), then put the FE back in the BE and run it one more time. The wizard will place the data in SQL Server and create ODBC connections between the FE (no data anymore) and SQL Server. The ODBC connections look for all the world like normal links and at that point your FE should operate normally. At least the FE will work now. You can then start doing other things to make it faster, more robust etc. That's the "nutshell" version of the process. John W. Colby www.ColbyConsulting.com Contribute your unused CPU cycles to a good cause: http://folding.stanford.edu/ -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Darren Dick Sent: Thursday, August 18, 2005 8:46 AM To: Access Developers discussion and problem solving; Database Advisors Subject: [AccessD] A2000/3:Connecting to SQL Server Hello all New Job - Have to Learn SQL Server ASAP and MS Reporting Services. (Anyone know any good resources on MS Reporting Services?) Also I would like someone to hold my hand getting an ACCESS front end to talk with a SQL Server Backend. never done it - never had to - and I have no clue on how to do it. :-)) Anyone wanna hold my hand (No sweaty palms - I promise) or failing that some simple (and it really does have to be simple for me) tutorials? Many thanks Darren -- 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 Aug 18 09:53:32 2005 From: Lambert.Heenan at AIG.com (Heenan, Lambert) Date: Thu, 18 Aug 2005 10:53:32 -0400 Subject: [AccessD] copy string to clipboard Message-ID: <1D7828CDB8350747AFE9D69E0E90DA1F1484BAA4@xlivmbx21.aig.com> Which is simpler ClipPutText MyString Or Clipboard.SetText "Jim D" Answer: they are both real simple. But In the first case all you need is the code for the ClipPutText routine stashed away in a module, which you can then treat as a black box, and in the second case you have to distribute a DLL and ensure that it gets registered properly (assuming the user has privileges to register DLLs). I know which way I would go! :-) Lambert -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Jim DeMarco Sent: Thursday, August 18, 2005 9:56 AM To: Access Developers discussion and problem solving Subject: RE: [AccessD] copy string to clipboard If you have VB and don't mind shipping a dll with your app it's much simpler. Clipboard.SetText "Jim D" Me.Text1.Text = Clipboard.GetText Jim DeMarco -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Jim Lawrence Sent: Thursday, August 18, 2005 2:25 AM To: 'Access Developers discussion and problem solving' Subject: RE: [AccessD] copy string to clipboard Hi Bruce: I have some code that I have been using for years, mostly for debugging purposes. It just copies a string up into the clip board and it doesn't look as ugly as the code from Terry Kreft. The following code resides in a miodule declaration area: 'Whole bunch of APIs which allow text to be copied to clipboard... Private Declare Function OpenClipboard Lib "User32" (ByVal hWnd&) As Long Private Declare Function EmptyClipboard Lib "User32" () As Long Private Declare Function GetClipboardData Lib "User32" (ByVal wFormat&) As Long Private Declare Function SetClipboardData Lib "User32" (ByVal wFormat&, _ ByVal hMem&) As Long Private Declare Function CloseClipboard Lib "User32" () As Long ' Private Declare Function GlobalAlloc Lib "kernel32" (ByVal wFlags&, _ ByVal dwBytes&) As Long Private Declare Function GlobalLock Lib "kernel32" (ByVal hMem&) As Long Private Declare Function GlobalUnlock Lib "kernel32" (ByVal hMem&) As Long ' Private Declare Function lstrcpy Lib "kernel32" (ByVal lpString1 As Any, _ ByVal lpString2 As Any) As Long And the remainder is place in a module's function area: Public Sub ClipPutText(lsText As String) ' Stores text on the clipboard Dim hMem As Long Const GHND = &H42 hMem = GlobalAlloc(GHND, Len(lsText) + 1) lstrcpy GlobalLock(hMem), lsText If GlobalUnlock(hMem) = 0 Then If OpenClipboard(0&) <> 0 Then EmptyClipboard SetClipboardData 1, hMem CloseClipboard End If End If End Sub And it can be called from anywhere; forms, reports or modules like so: ClipPutText MyString 'Place the string 'MyString into the clipboard HTH Jim -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Bruen, Bruce Sent: Wednesday, August 17, 2005 7:29 PM To: Access Developers discussion and problem solving Subject: [AccessD] copy string to clipboard This must! be simple. I have a string variable created by concatenating the values of several form fields. So how can I copy the value of this string to the clipboard? Private Sub Command35_Click() Dim refstr As String refstr = "RCRef=|" & Me.ucref & "|" & Me.testname & "|" & Me.TestID & "|" Debug.Print refstr Stop ':-( Runcmd accmdStickTheStringInTheClipboard :-( End Sub tia bruce This e-mail and any attachments may contain confidential information that is intended solely for the use of the intended recipient and may be subject to copyright. If you receive this e-mail in error, please notify the sender immediately and delete the e-mail and its attachments from your system. You must not disclose, copy or use any part of this e-mail if you are not the intended recipient. Any opinion expressed in this e-mail and any attachments is not an opinion of RailCorp unless stated or apparent from its content. RailCorp is not responsible for any unauthorised alterations to this e-mail or any attachments. RailCorp will not incur any liability resulting directly or indirectly as a result of the recipient accessing any of the attached files that may contain a virus. -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/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 jwcolby at colbyconsulting.com Thu Aug 18 10:00:26 2005 From: jwcolby at colbyconsulting.com (John W. Colby) Date: Thu, 18 Aug 2005 11:00:26 -0400 Subject: [AccessD] copy string to clipboard In-Reply-To: <1D7828CDB8350747AFE9D69E0E90DA1F1484BAA4@xlivmbx21.aig.com> Message-ID: <010e01c5a405$90f58b50$6c7aa8c0@ColbyM6805> Where is the matching ClipGetText? John W. Colby www.ColbyConsulting.com Contribute your unused CPU cycles to a good cause: http://folding.stanford.edu/ -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Heenan, Lambert Sent: Thursday, August 18, 2005 10:54 AM To: 'Access Developers discussion and problem solving' Subject: RE: [AccessD] copy string to clipboard Which is simpler ClipPutText MyString Or Clipboard.SetText "Jim D" Answer: they are both real simple. But In the first case all you need is the code for the ClipPutText routine stashed away in a module, which you can then treat as a black box, and in the second case you have to distribute a DLL and ensure that it gets registered properly (assuming the user has privileges to register DLLs). I know which way I would go! :-) Lambert -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Jim DeMarco Sent: Thursday, August 18, 2005 9:56 AM To: Access Developers discussion and problem solving Subject: RE: [AccessD] copy string to clipboard If you have VB and don't mind shipping a dll with your app it's much simpler. Clipboard.SetText "Jim D" Me.Text1.Text = Clipboard.GetText Jim DeMarco -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Jim Lawrence Sent: Thursday, August 18, 2005 2:25 AM To: 'Access Developers discussion and problem solving' Subject: RE: [AccessD] copy string to clipboard Hi Bruce: I have some code that I have been using for years, mostly for debugging purposes. It just copies a string up into the clip board and it doesn't look as ugly as the code from Terry Kreft. The following code resides in a miodule declaration area: 'Whole bunch of APIs which allow text to be copied to clipboard... Private Declare Function OpenClipboard Lib "User32" (ByVal hWnd&) As Long Private Declare Function EmptyClipboard Lib "User32" () As Long Private Declare Function GetClipboardData Lib "User32" (ByVal wFormat&) As Long Private Declare Function SetClipboardData Lib "User32" (ByVal wFormat&, _ ByVal hMem&) As Long Private Declare Function CloseClipboard Lib "User32" () As Long ' Private Declare Function GlobalAlloc Lib "kernel32" (ByVal wFlags&, _ ByVal dwBytes&) As Long Private Declare Function GlobalLock Lib "kernel32" (ByVal hMem&) As Long Private Declare Function GlobalUnlock Lib "kernel32" (ByVal hMem&) As Long ' Private Declare Function lstrcpy Lib "kernel32" (ByVal lpString1 As Any, _ ByVal lpString2 As Any) As Long And the remainder is place in a module's function area: Public Sub ClipPutText(lsText As String) ' Stores text on the clipboard Dim hMem As Long Const GHND = &H42 hMem = GlobalAlloc(GHND, Len(lsText) + 1) lstrcpy GlobalLock(hMem), lsText If GlobalUnlock(hMem) = 0 Then If OpenClipboard(0&) <> 0 Then EmptyClipboard SetClipboardData 1, hMem CloseClipboard End If End If End Sub And it can be called from anywhere; forms, reports or modules like so: ClipPutText MyString 'Place the string 'MyString into the clipboard HTH Jim -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Bruen, Bruce Sent: Wednesday, August 17, 2005 7:29 PM To: Access Developers discussion and problem solving Subject: [AccessD] copy string to clipboard This must! be simple. I have a string variable created by concatenating the values of several form fields. So how can I copy the value of this string to the clipboard? Private Sub Command35_Click() Dim refstr As String refstr = "RCRef=|" & Me.ucref & "|" & Me.testname & "|" & Me.TestID & "|" Debug.Print refstr Stop ':-( Runcmd accmdStickTheStringInTheClipboard :-( End Sub tia bruce This e-mail and any attachments may contain confidential information that is intended solely for the use of the intended recipient and may be subject to copyright. If you receive this e-mail in error, please notify the sender immediately and delete the e-mail and its attachments from your system. You must not disclose, copy or use any part of this e-mail if you are not the intended recipient. Any opinion expressed in this e-mail and any attachments is not an opinion of RailCorp unless stated or apparent from its content. RailCorp is not responsible for any unauthorised alterations to this e-mail or any attachments. RailCorp will not incur any liability resulting directly or indirectly as a result of the recipient accessing any of the attached files that may contain a virus. -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/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 Thu Aug 18 10:10:32 2005 From: DWUTKA at marlow.com (DWUTKA at marlow.com) Date: Thu, 18 Aug 2005 10:10:32 -0500 Subject: [AccessD] MDE question Message-ID: <123701F54509D9119A4F00D0B747349016DD9E@main2.marlow.com> I was going to post about that. From what I understand, the big change was 97 to 2000. 2000 and up has the ability of using the '2000' format, so you should be able to make a 2000 format mde that could be used in 2000, XP and 2003. But I don't have the later versions to try that on. Drew -----Original Message----- From: Stuart McLachlan [mailto:stuart at lexacorp.com.pg] Sent: Thursday, August 18, 2005 8:27 AM To: Access Developers discussion and problem solving Subject: RE: [AccessD] MDE question On 18 Aug 2005 at 9:16, John W. Colby wrote: > Ahh.. OK, I did not know that. That is not true for later versions correct? > I.e. AXP does not even attempt to "convert" an A2K app to AXP so this isn't > an issue, correct? > Correct. AXP has no dificulty opening an A2K MDE. > As for "having to start from scratch" on those amateur apps, believe me that > is a blessing! > Don't I know it. I' was just handed a new one yesterday to do some work on: Natural Keys, Fieldnames "Date" and 'Name" as well as included spaces, tables not normalised, macros galore etc, etc. And this one was apparently built for a government entity by an AusAID consultant! -- Stuart -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From cfoust at infostatsystems.com Thu Aug 18 10:25:09 2005 From: cfoust at infostatsystems.com (Charlotte Foust) Date: Thu, 18 Aug 2005 08:25:09 -0700 Subject: [AccessD] MDE question Message-ID: The real difference is the VBA version behind Access. Access 97 was VBA5, which used a different IDE and was non-standard to the rest of Office 97/VB5. Access 2000 - 2003 is built on VBA6 and shares the standard VBA6 IDE. Even in 2003, the 2000 file format is the default. There is a difference in the structures (i.e., 2002 and 2003 have an additional system table that doesn't exist in 2000) but each version includes backward (not forward) compatibility. Charlotte Foust -----Original Message----- From: DWUTKA at marlow.com [mailto:DWUTKA at marlow.com] Sent: Thursday, August 18, 2005 8:11 AM To: accessd at databaseadvisors.com Subject: RE: [AccessD] MDE question I was going to post about that. From what I understand, the big change was 97 to 2000. 2000 and up has the ability of using the '2000' format, so you should be able to make a 2000 format mde that could be used in 2000, XP and 2003. But I don't have the later versions to try that on. Drew -----Original Message----- From: Stuart McLachlan [mailto:stuart at lexacorp.com.pg] Sent: Thursday, August 18, 2005 8:27 AM To: Access Developers discussion and problem solving Subject: RE: [AccessD] MDE question On 18 Aug 2005 at 9:16, John W. Colby wrote: > Ahh.. OK, I did not know that. That is not true for later versions correct? > I.e. AXP does not even attempt to "convert" an A2K app to AXP so this isn't > an issue, correct? > Correct. AXP has no dificulty opening an A2K MDE. > As for "having to start from scratch" on those amateur apps, believe > me that > is a blessing! > Don't I know it. I' was just handed a new one yesterday to do some work on: Natural Keys, Fieldnames "Date" and 'Name" as well as included spaces, tables not normalised, macros galore etc, etc. And this one was apparently built for a government entity by an AusAID consultant! -- Stuart -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd 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 Aug 18 10:27:14 2005 From: cfoust at infostatsystems.com (Charlotte Foust) Date: Thu, 18 Aug 2005 08:27:14 -0700 Subject: [AccessD] Access to SQL Message-ID: There is no DISTINCTROW keyword in SQL because you don't need it. Just drop that from your SQL statement and check the results. Charlotte Foust -----Original Message----- From: Johncliviger at aol.com [mailto:Johncliviger at aol.com] Sent: Thursday, August 18, 2005 4:40 AM To: accessD at databaseadvisors.com Subject: [AccessD] Access to SQL Hi all I've moved Access XP FE to ADP FE and the tables to SQL 2000 BE. I now find that Select DistinctRow thats in Access XP has no equivalent in SQL 2000. What is the equivalent syntax? for example have the following sql string works in Access without a problem. Load it into ADP ...and its a no no. Any suggestions? SELECT DISTINCTROW ApplicantPersonalDetails.*, OrderDetails.CourseCounter, OrderDetails.OrderID, Orders.ClientID, Orders.OrderDate, Orders.InvoiceRequired, ClientPurchaser.ClientCode, ClientPurchaser.Purchasers, ClientPurchaser.FirstName, ClientPurchaser.LastName, PostBasicCourseDetails.CourseID, PostBasicCourseDetails.Date, PostBasicCourseDetails.Course, PostBasicCourseDetails.Level, PostBasicCourseDetails.Location, PostBasicCourseDetails.Code, PostBasicCourseDetails.Length, PostBasicCourseDetails.Places, PostBasicCourseDetails.CourseLeader1, PostBasicCourseDetails.CourseLeader2, PostBasicCourseDetails.Cost, PostBasicCourseDetails.Selection FROM PostBasicCourseDetails INNER JOIN (((ClientPurchaser INNER JOIN Orders ON ClientPurchaser.ClientID = Orders.ClientID) INNER JOIN OrderDetails ON Orders.OrderID = OrderDetails.OrderID) INNER JOIN ApplicantPersonalDetails ON OrderDetails.OrderDetailID = ApplicantPersonalDetails.OrderDetailID) ON PostBasicCourseDetails.CourseCounter = OrderDetails.CourseCounter; Regards johnc -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From jwcolby at colbyconsulting.com Thu Aug 18 10:32:27 2005 From: jwcolby at colbyconsulting.com (John W. Colby) Date: Thu, 18 Aug 2005 11:32:27 -0400 Subject: [AccessD] Running an app from a service Message-ID: <011101c5a40a$0d5a3110$6c7aa8c0@ColbyM6805> I have created a service using VB.Net. The service can be registered, once registered I can start it etc. It runs, with a timer tick writing a log to application.log so I can see that the timer tick is happening. Once I got that working I went looking for how to run an external application from the service. The code I found looks like: Dim p As System.Diagnostics.Process p = System.Diagnostics.Process.Start("notepad.exe", "sample.txt") p.WaitForExit() A couple of things. Notepad is running, it can bee seen as a process in Task Manager, but it is not visible, and it has not created sample.txt AFAICT. I found other code (in C# unfortunately) that looks something like: Dim p As System.Diagnostics.Process Dim psi As System.Diagnostics.ProcessStartInfo psi = System.Diagnostics.ProcessStartInfo psi.FileName = "notepad.exe" psi.Arguments = "sample.txt" psi.WorkingDirectory = "x:\Luminex" psi.WindowStyle = System.Diagnostics.ProcessWindowStyle.Maximized p = System.Diagnostics.Process.Start(psi) p.WaitForExit() PSI appears to be a structure for loading properties that P will use. Even when done this way, the notepad is not visible. Furthermore, in either case the code does not wait... Or maybe the timer spawns a thread and will fire again spawning another thread. In other words, next timer tick I get another instance of Notepad. However... If I place a line of code that writes to the log file before and after the call to the sub that opens notebook, the line before the call to open the notepad does log, the line after does not log. So, I do not understand all that I know about this stuff. If anyone has any ideas how to make the process visible I would appreciate it. I also do need the code not run again until the app shuts down. I think I can just shut off the timer so I can handle it that way if the timer will fire again even if the p.WaitFor() is in place. Any comments? Has anyone done this? John W. Colby www.ColbyConsulting.com Contribute your unused CPU cycles to a good cause: http://folding.stanford.edu/ From cfoust at infostatsystems.com Thu Aug 18 10:35:18 2005 From: cfoust at infostatsystems.com (Charlotte Foust) Date: Thu, 18 Aug 2005 08:35:18 -0700 Subject: [AccessD] Disconnected MS Access cient applications.. Message-ID: Oooohhh, I think I'm in love! Charlotte Foust -----Original Message----- From: Shamil Salakhetdinov [mailto:shamil at users.mns.ru] Sent: Thursday, August 18, 2005 4:46 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Disconnected MS Access cient applications.. No, William, this is not replication - here is what I mean in short: http://www.smsconsulting.spb.ru/shamil_s/articles/ddo.htm Shamil ----- Original Message ----- From: "William Hindman" To: "Access Developers discussion and problem solving" Sent: Thursday, August 18, 2005 3:47 AM Subject: Re: [AccessD] Disconnected MS Access cient applications.. > Shamil > > ..I must be missing something ...that sounds like replication to me. > > William > > ----- Original Message ----- > From: "Shamil Salakhetdinov" > To: "!DBA-MAIN" > Sent: Wednesday, August 17, 2005 7:28 PM > Subject: [AccessD] Disconnected MS Access cient applications.. > > > > Hi All, > > > > I wanted to ask you - what about the subject? > > Anybody uses/interested to use MS Access client applications this > > way? > > > > Do I miss obvious (RTFM) stuff and such a disconnected mode is > > already implemented in MS Access and broadly used by MS Access > > developers? Yes, I > > know ADO recordsets can be used with bound MS Access forms etc. but > > this looks like a rather limited feature - am I wrong? > > > > What I mean is cashing data locally into mdbs, only the data needed > > for the currently open form(s) etc., processing this data and then > > updating backend > > database(mdb, MSDE, MS SQL, whatever...) - with all this cashing and > > updating made mostly automatically by a tiny framework code, based on > > ADO.NET...(yes, this local caching of data is not a new subject but > > nowadays > > it can be (re-)implement really scalable way with a way less efforts than > > before) > > > > Maybe MS plans to do something like that? > > > > Is that a wheel reinvention or anybody here sees such opportunity > > like a really useful feature in their real life projects? > > > > For me it looks like a useful feature because it could help: to get > > MS Access back into mainstream development area because it will > > allow to easily scale applications with MS Access front-ends... > > > > There are many other ideas but most of them in this "ideas pool" > > based on > > the subject one - if it doesn't make sense for real-life projects > > then I'd > > better stop working on it... > > > > What is your opinion about the subject? > > When you expect MS will do something like that in MS Access? > > > > Thank you, > > Shamil > > > > -- > > AccessD mailing list > > AccessD at databaseadvisors.com > > http://databaseadvisors.com/mailman/listinfo/accessd > > Website: http://www.databaseadvisors.com > > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From shamil at users.mns.ru Thu Aug 18 10:24:24 2005 From: shamil at users.mns.ru (Shamil Salakhetdinov) Date: Thu, 18 Aug 2005 19:24:24 +0400 Subject: [AccessD] Disconnected MS Access cient applications.. References: <004b01c5a383$7bdab060$6401a8c0@fincomplex.spb.ru><002001c5a3ea$66b59c60$6401a8c0@fincomplex.spb.ru> Message-ID: <003a01c5a40c$1e328f80$6401a8c0@fincomplex.spb.ru> William, In fact this is an attempt to converge two Worlds.... And I don't mean USA and Russia :) ... It can be done almost transparently to your World, MS Access real life programming World I mean... No, I'm not talking about unbound vs. bound Worlds here - I have just said this technique can be used by both these Worlds.... What is important to note I think is that MS is moving to "disconnected World" (had moved in fact at last in .NET). MS is moving also into "decoupled and highly cohesive "intelligent" objects World" - and programming in such environment is very different experience... ...and it may become real World with the next version of MS Office/MS Access (although I doubt it - to make MS Access working with ADO.NET they need to have .NET Framework preinstalled on all the target PCs, which could be a problem until W98, W2K, WinXP, which do not have native support for .NET Framework are here and supported by MS (I can be wrong).).. Yes, I know no need to care now probably about these coming changes. When they will become reality then we will take care of that. I undertsand this position. Although with not that much efforts MS Access coupled with disconnected ADO.NET World may become nowadays reality... And when MS comes with their solution the transition could be almost effortless and transparent because the current trend is rather clearly seen as others answered to this thread approved... Shamil ----- Original Message ----- From: "William Hindman" To: "Access Developers discussion and problem solving" Sent: Thursday, August 18, 2005 4:10 PM Subject: Re: [AccessD] Disconnected MS Access cient applications.. > ..thanks Shamil ...you work in another world ...and I don't mean Russia :) > > ..SQL Server is about as far afield as I ever get ...and unbound forms in > Access, with few exceptions, are a curse upon mankind ...imnsho :) > > William > > ----- Original Message ----- > From: "Shamil Salakhetdinov" > To: "Access Developers discussion and problem solving" > > Sent: Thursday, August 18, 2005 7:45 AM > Subject: Re: [AccessD] Disconnected MS Access cient applications.. > > > > No, William, this is not replication - here is what I mean in short: > > > > http://www.smsconsulting.spb.ru/shamil_s/articles/ddo.htm > > > > Shamil > > > > ----- Original Message ----- > > From: "William Hindman" > > To: "Access Developers discussion and problem solving" > > > > Sent: Thursday, August 18, 2005 3:47 AM > > Subject: Re: [AccessD] Disconnected MS Access cient applications.. > > > > > >> Shamil > >> > >> ..I must be missing something ...that sounds like replication to me. > >> > >> William > >> > >> ----- Original Message ----- > >> From: "Shamil Salakhetdinov" > >> To: "!DBA-MAIN" > >> Sent: Wednesday, August 17, 2005 7:28 PM > >> Subject: [AccessD] Disconnected MS Access cient applications.. > >> > >> > >> > Hi All, > >> > > >> > I wanted to ask you - what about the subject? > >> > Anybody uses/interested to use MS Access client applications this way? > >> > > >> > Do I miss obvious (RTFM) stuff and such a disconnected mode is already > >> > implemented in MS Access and broadly used by MS Access developers? Yes, > > I > >> > know ADO recordsets can be used with bound MS Access forms etc. but > >> > this > >> > looks like a rather limited feature - am I wrong? > >> > > >> > What I mean is cashing data locally into mdbs, only the data needed for > >> > the > >> > currently open form(s) etc., processing this data and then updating > >> > backend > >> > database(mdb, MSDE, MS SQL, whatever...) - with all this cashing and > >> > updating made mostly automatically by a tiny framework code, based on > >> > ADO.NET...(yes, this local caching of data is not a new subject but > >> > nowadays > >> > it can be (re-)implement really scalable way with a way less efforts > > than > >> > before) > >> > > >> > Maybe MS plans to do something like that? > >> > > >> > Is that a wheel reinvention or anybody here sees such opportunity like > >> > a > >> > really useful feature in their real life projects? > >> > > >> > For me it looks like a useful feature because it could help: to get MS > >> > Access back into mainstream development area because it will allow to > >> > easily > >> > scale applications with MS Access front-ends... > >> > > >> > There are many other ideas but most of them in this "ideas pool" based > > on > >> > the subject one - if it doesn't make sense for real-life projects then > > I'd > >> > better stop working on it... > >> > > >> > What is your opinion about the subject? > >> > When you expect MS will do something like that in MS Access? > >> > > >> > Thank you, > >> > Shamil > >> > > >> > -- > >> > AccessD mailing list > >> > AccessD at databaseadvisors.com > >> > http://databaseadvisors.com/mailman/listinfo/accessd > >> > Website: http://www.databaseadvisors.com > >> > > >> -- > >> AccessD mailing list > >> AccessD at databaseadvisors.com > >> http://databaseadvisors.com/mailman/listinfo/accessd > >> Website: http://www.databaseadvisors.com > > > > -- > > AccessD mailing list > > AccessD at databaseadvisors.com > > http://databaseadvisors.com/mailman/listinfo/accessd > > Website: http://www.databaseadvisors.com > > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com From shamil at users.mns.ru Thu Aug 18 10:45:54 2005 From: shamil at users.mns.ru (Shamil Salakhetdinov) Date: Thu, 18 Aug 2005 19:45:54 +0400 Subject: [AccessD] OT(?): Big Design Up Front (BDUF) vs. XP any comments, ideas, experience? References: <000301c5a3ec$a2806520$0300a8c0@danwaters> Message-ID: <003b01c5a40c$1e5fe110$6401a8c0@fincomplex.spb.ru> Dan, And I can't agree with Joel (and I usually admire most of his writing).... I can't agree just because he used the words "anathema" and "fanatics". When I hear such words I'm getting very suspicious... No, XP "fanatics" do not refuse completely upfront design and specs. They just say that any such designs and specs are a "subject to go nowehere" while the project evolves - therefore designs and specs should be just enough to not make severe design errors. They do use some upfront analysis and design but they do use and apply it differently... I'd better not talk here about all that - the books I referred are the best advocates for XP and related subjects. And the authors are very tolerant to other experience and techniques, in fact they base there methodology on all the best experience from IT projects developments of the last 50 years and on many other sources... This is mentality shift, and I think it's coming - as I noted VS.NET 2005 acquired a lot of XP ideas and the trend is to develop them even more in coming versions on VS.NET and MS Windows and MS Windows based middleware and MS SQL Server.... Of course the truth is somewhere in between, if such truth exists at all and I expect XP practioners are more close to this truth than BDUF advocates - I think many of your have seen big specification books, which were written by experts and which were paid big bucks to have been written but which were thownn away almost immediately after first prototype was written - I have seen that in a big software house in Germany, I did have such thick specs from them with a lot of well written text and even screenshots - in three months ater the project was started only the core idea of this project was true, most of the specs stuff was obsolete, even more - it was wrong and it didn't describe well real life customer's business. And the specs were written IN CLOSE CONTACT with the customer. I have seen/heard about many of such stories... Once again XP practioners don't refuse upfront analysis and design - they do it differently and they work in very close contact with the customer and they usually (always) have in their teams subject business area expert(s).... "The time will put all the dots on 'I' "... Shamil ----- Original Message ----- From: "Dan Waters" To: "'Access Developers discussion and problem solving'" Sent: Thursday, August 18, 2005 4:01 PM Subject: RE: [AccessD] OT(?): Big Design Up Front (BDUF) vs. XP any comments,ideas, experience? > I agree wholeheartedly with Joel. I developed a spec where instead of the > Quality Dept. initiating a record, it was initiated by the Purchasing Dept. > because they were the first group to become aware of the issue. I wouldn't > have known that without investigating and understanding up front what the > whole process was. The Purchasing Dept. agreed pretty quickly that they > could do this, particularly because having a software application to use > instead of paper forms made it easy. > > The Quality Dept. was initiating because everyone assumed that it was a > Quality process. That was departmental thinking - it's whole company > process thinking that really works. > > Dan Waters > > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Shamil > Salakhetdinov > Sent: Thursday, August 18, 2005 4:50 AM > To: !DBA-MAIN > Subject: [AccessD] OT(?): Big Design Up Front (BDUF) vs. XP any > comments,ideas, experience? > > Hi All, > > I've got this this today from JoelOnSoftware subscription list: > > <<<<<< > "As I worked through the screens that would be needed to allow > either party to initiate the process, I realized that Aardvark > would be just as useful, and radically simpler, if the helper > was required to start the whole process. Making this change in > the spec took an hour or two. If we had made this change in code, > it would have added weeks to the schedule. I can't tell you how > strongly I believe in Big Design Up Front, which the proponents > of Extreme Programming consider anathema. I have consistently > saved time and made better products by using BDUF and I'm proud > to use it, no matter what the XP fanatics claim. They're just > wrong on this point and I can't be any clearer than that." > > - From my latest article: > > The Project Aardvark Spec > http://www.joelonsoftware.com/articles/AardvarkSpec.html > >>>>> > No comments. > > It happened that I'm currently reading: > > "Microsoft Object Thinking" > by David West > ISBN:0735619654 > Microsoft Press C 2004 > > and > > "Extreme Programming Adventures in C# " > by Ron Jeffries > ISBN:0735619492 > Microsoft Press C 2004 > > These two books are from Microsoft Press and they have a lot of useful > information on eXterme Programming, Unit Testing and Classical(Behavioral) > vs. currently existing in most implementations "real life" UML-based(RUP) > OOD&P. > > When MS Press publishes books on such more computer-science than > used in real life projects subjects then they are very probably "cultivating > the ground" for the soon to become true "dreams". (I remember I watched a > movie "Microsoft, Year 2004"(form MS of course) somewhere in year 1995 or > so - and as I see now their by that time science-fiction is now real-life, > exactly in year 2004-2005. > > I must say I impressed with both books (and there are just a few technical > books I liked because most of them are just "chewing" MSDN or other docs > without almost any new ideas). > The more I read them the more I like them and I see a lot of sense in what > is written in them and I see a lot of my own ideas and experience are there > too. I'm glad my thinking is in the mainstream (of course what they say is > much more elaborated and thought through and based on their own rich > experience). > > So my guess/thinking is that XP, Unit Testing and Behavioral (Extreme) > OOD&P are becoming mainstream for real-life development of the projects of > any size - in fact as authors of these books state (based on their > experience) that the stuff they are writing about is the "only" agile way > to solve the challenges of nowadays customers and projects requests. And > they are not fanatics I think - they base their writing on deep analysis of > all the previous 50 years experience in software development and not only in > software - "Microsoft Object Thinking" is more philosophical than > technical book and it has quotes from Plato (year 400 B.C.) - these quotes > are used to explain how to "attack" complicated/vague projects' > requirements... > > > What do you think about the subject and related issues? > > Do we need Access/VBA Unit Testing added here - > http://opensourcetesting.org/unit_misc.php (Open source tools for software > testing professionals) - it can be done - does it make sense? > > Shamil > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > 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 Aug 18 10:48:39 2005 From: Lambert.Heenan at AIG.com (Heenan, Lambert) Date: Thu, 18 Aug 2005 11:48:39 -0400 Subject: [AccessD] copy string to clipboard Message-ID: <1D7828CDB8350747AFE9D69E0E90DA1F1484BAEA@xlivmbx21.aig.com> The original question was 'So how can I copy the value of this string to the clipboard?' -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of John W. Colby Sent: Thursday, August 18, 2005 11:00 AM To: 'Access Developers discussion and problem solving' Subject: RE: [AccessD] copy string to clipboard Where is the matching ClipGetText? John W. Colby www.ColbyConsulting.com Contribute your unused CPU cycles to a good cause: http://folding.stanford.edu/ -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Heenan, Lambert Sent: Thursday, August 18, 2005 10:54 AM To: 'Access Developers discussion and problem solving' Subject: RE: [AccessD] copy string to clipboard Which is simpler ClipPutText MyString Or Clipboard.SetText "Jim D" Answer: they are both real simple. But In the first case all you need is the code for the ClipPutText routine stashed away in a module, which you can then treat as a black box, and in the second case you have to distribute a DLL and ensure that it gets registered properly (assuming the user has privileges to register DLLs). I know which way I would go! :-) Lambert -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Jim DeMarco Sent: Thursday, August 18, 2005 9:56 AM To: Access Developers discussion and problem solving Subject: RE: [AccessD] copy string to clipboard If you have VB and don't mind shipping a dll with your app it's much simpler. Clipboard.SetText "Jim D" Me.Text1.Text = Clipboard.GetText Jim DeMarco -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Jim Lawrence Sent: Thursday, August 18, 2005 2:25 AM To: 'Access Developers discussion and problem solving' Subject: RE: [AccessD] copy string to clipboard Hi Bruce: I have some code that I have been using for years, mostly for debugging purposes. It just copies a string up into the clip board and it doesn't look as ugly as the code from Terry Kreft. The following code resides in a miodule declaration area: 'Whole bunch of APIs which allow text to be copied to clipboard... Private Declare Function OpenClipboard Lib "User32" (ByVal hWnd&) As Long Private Declare Function EmptyClipboard Lib "User32" () As Long Private Declare Function GetClipboardData Lib "User32" (ByVal wFormat&) As Long Private Declare Function SetClipboardData Lib "User32" (ByVal wFormat&, _ ByVal hMem&) As Long Private Declare Function CloseClipboard Lib "User32" () As Long ' Private Declare Function GlobalAlloc Lib "kernel32" (ByVal wFlags&, _ ByVal dwBytes&) As Long Private Declare Function GlobalLock Lib "kernel32" (ByVal hMem&) As Long Private Declare Function GlobalUnlock Lib "kernel32" (ByVal hMem&) As Long ' Private Declare Function lstrcpy Lib "kernel32" (ByVal lpString1 As Any, _ ByVal lpString2 As Any) As Long And the remainder is place in a module's function area: Public Sub ClipPutText(lsText As String) ' Stores text on the clipboard Dim hMem As Long Const GHND = &H42 hMem = GlobalAlloc(GHND, Len(lsText) + 1) lstrcpy GlobalLock(hMem), lsText If GlobalUnlock(hMem) = 0 Then If OpenClipboard(0&) <> 0 Then EmptyClipboard SetClipboardData 1, hMem CloseClipboard End If End If End Sub And it can be called from anywhere; forms, reports or modules like so: ClipPutText MyString 'Place the string 'MyString into the clipboard HTH Jim -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Bruen, Bruce Sent: Wednesday, August 17, 2005 7:29 PM To: Access Developers discussion and problem solving Subject: [AccessD] copy string to clipboard This must! be simple. I have a string variable created by concatenating the values of several form fields. So how can I copy the value of this string to the clipboard? Private Sub Command35_Click() Dim refstr As String refstr = "RCRef=|" & Me.ucref & "|" & Me.testname & "|" & Me.TestID & "|" Debug.Print refstr Stop ':-( Runcmd accmdStickTheStringInTheClipboard :-( End Sub tia bruce This e-mail and any attachments may contain confidential information that is intended solely for the use of the intended recipient and may be subject to copyright. If you receive this e-mail in error, please notify the sender immediately and delete the e-mail and its attachments from your system. You must not disclose, copy or use any part of this e-mail if you are not the intended recipient. Any opinion expressed in this e-mail and any attachments is not an opinion of RailCorp unless stated or apparent from its content. RailCorp is not responsible for any unauthorised alterations to this e-mail or any attachments. RailCorp will not incur any liability resulting directly or indirectly as a result of the recipient accessing any of the attached files that may contain a virus. -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/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 jwcolby at colbyconsulting.com Thu Aug 18 11:02:08 2005 From: jwcolby at colbyconsulting.com (John W. Colby) Date: Thu, 18 Aug 2005 12:02:08 -0400 Subject: [AccessD] copy string to clipboard In-Reply-To: <1D7828CDB8350747AFE9D69E0E90DA1F1484BAEA@xlivmbx21.aig.com> Message-ID: <011701c5a40e$2f728960$6c7aa8c0@ColbyM6805> LOL, OK, so now the question is... How can I copy the clipboard back to a string... John W. Colby www.ColbyConsulting.com Contribute your unused CPU cycles to a good cause: http://folding.stanford.edu/ -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Heenan, Lambert Sent: Thursday, August 18, 2005 11:49 AM To: 'Access Developers discussion and problem solving' Subject: RE: [AccessD] copy string to clipboard The original question was 'So how can I copy the value of this string to the clipboard?' -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of John W. Colby Sent: Thursday, August 18, 2005 11:00 AM To: 'Access Developers discussion and problem solving' Subject: RE: [AccessD] copy string to clipboard Where is the matching ClipGetText? John W. Colby www.ColbyConsulting.com Contribute your unused CPU cycles to a good cause: http://folding.stanford.edu/ -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Heenan, Lambert Sent: Thursday, August 18, 2005 10:54 AM To: 'Access Developers discussion and problem solving' Subject: RE: [AccessD] copy string to clipboard Which is simpler ClipPutText MyString Or Clipboard.SetText "Jim D" Answer: they are both real simple. But In the first case all you need is the code for the ClipPutText routine stashed away in a module, which you can then treat as a black box, and in the second case you have to distribute a DLL and ensure that it gets registered properly (assuming the user has privileges to register DLLs). I know which way I would go! :-) Lambert -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Jim DeMarco Sent: Thursday, August 18, 2005 9:56 AM To: Access Developers discussion and problem solving Subject: RE: [AccessD] copy string to clipboard If you have VB and don't mind shipping a dll with your app it's much simpler. Clipboard.SetText "Jim D" Me.Text1.Text = Clipboard.GetText Jim DeMarco -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Jim Lawrence Sent: Thursday, August 18, 2005 2:25 AM To: 'Access Developers discussion and problem solving' Subject: RE: [AccessD] copy string to clipboard Hi Bruce: I have some code that I have been using for years, mostly for debugging purposes. It just copies a string up into the clip board and it doesn't look as ugly as the code from Terry Kreft. The following code resides in a miodule declaration area: 'Whole bunch of APIs which allow text to be copied to clipboard... Private Declare Function OpenClipboard Lib "User32" (ByVal hWnd&) As Long Private Declare Function EmptyClipboard Lib "User32" () As Long Private Declare Function GetClipboardData Lib "User32" (ByVal wFormat&) As Long Private Declare Function SetClipboardData Lib "User32" (ByVal wFormat&, _ ByVal hMem&) As Long Private Declare Function CloseClipboard Lib "User32" () As Long ' Private Declare Function GlobalAlloc Lib "kernel32" (ByVal wFlags&, _ ByVal dwBytes&) As Long Private Declare Function GlobalLock Lib "kernel32" (ByVal hMem&) As Long Private Declare Function GlobalUnlock Lib "kernel32" (ByVal hMem&) As Long ' Private Declare Function lstrcpy Lib "kernel32" (ByVal lpString1 As Any, _ ByVal lpString2 As Any) As Long And the remainder is place in a module's function area: Public Sub ClipPutText(lsText As String) ' Stores text on the clipboard Dim hMem As Long Const GHND = &H42 hMem = GlobalAlloc(GHND, Len(lsText) + 1) lstrcpy GlobalLock(hMem), lsText If GlobalUnlock(hMem) = 0 Then If OpenClipboard(0&) <> 0 Then EmptyClipboard SetClipboardData 1, hMem CloseClipboard End If End If End Sub And it can be called from anywhere; forms, reports or modules like so: ClipPutText MyString 'Place the string 'MyString into the clipboard HTH Jim -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Bruen, Bruce Sent: Wednesday, August 17, 2005 7:29 PM To: Access Developers discussion and problem solving Subject: [AccessD] copy string to clipboard This must! be simple. I have a string variable created by concatenating the values of several form fields. So how can I copy the value of this string to the clipboard? Private Sub Command35_Click() Dim refstr As String refstr = "RCRef=|" & Me.ucref & "|" & Me.testname & "|" & Me.TestID & "|" Debug.Print refstr Stop ':-( Runcmd accmdStickTheStringInTheClipboard :-( End Sub tia bruce This e-mail and any attachments may contain confidential information that is intended solely for the use of the intended recipient and may be subject to copyright. If you receive this e-mail in error, please notify the sender immediately and delete the e-mail and its attachments from your system. You must not disclose, copy or use any part of this e-mail if you are not the intended recipient. Any opinion expressed in this e-mail and any attachments is not an opinion of RailCorp unless stated or apparent from its content. RailCorp is not responsible for any unauthorised alterations to this e-mail or any attachments. RailCorp will not incur any liability resulting directly or indirectly as a result of the recipient accessing any of the attached files that may contain a virus. -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/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 Lambert.Heenan at AIG.com Thu Aug 18 11:03:23 2005 From: Lambert.Heenan at AIG.com (Heenan, Lambert) Date: Thu, 18 Aug 2005 12:03:23 -0400 Subject: [AccessD] copy string to clipboard Message-ID: <1D7828CDB8350747AFE9D69E0E90DA1F1484BAFA@xlivmbx21.aig.com> -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of John W. Colby Sent: Thursday, August 18, 2005 11:00 AM To: 'Access Developers discussion and problem solving' Subject: RE: [AccessD] copy string to clipboard Where is the matching ClipGetText? John W. Colby www.ColbyConsulting.com ------------------------ It's another simple API call... Private Declare Function GetClipboardData Lib "user32" (ByVal wFormat As Long) As Long I've even got a simple class to take care of text to and from the clipboard '*************************** clsClipBoard ************* Option Compare Database Option Explicit ' Obtaining Clipboard Data using API ' (needed for VBA since no Clipboard Object) -- can also paste the data to a control ' ************************************************************* ' ******* Place following in declarations ********* Private Declare Function OpenClipboard Lib "user32" (ByVal hWnd As Long) As Long Private Declare Function CloseClipboard Lib "user32" () As Long Private Declare Function EmptyClipboard Lib "user32" () As Long Private Declare Function SetClipboardData Lib "user32" (ByVal wFormat As Long, ByVal hMem As Long) As Long Private Declare Function GetClipboardData Lib "user32" (ByVal wFormat As Long) As Long Private Declare Function GlobalAlloc Lib "kernel32" (ByVal wFlags&, ByVal dwBytes As Long) As Long Private Declare Function GlobalLock Lib "kernel32" (ByVal hMem As Long) As Long Private Declare Function GlobalUnlock Lib "kernel32" (ByVal hMem As Long) As Long Private Declare Function GlobalSize Lib "kernel32" (ByVal hMem As Long) As Long Private Declare Function lstrcpy Lib "kernel32" (ByVal lpString1 As Any, ByVal lpString2 As Any) As Long Const GHND = &H42 Const CF_TEXT = 1 Const MAXSIZE = 4096 Function GetTextData() As String Dim hClipMemory As Long Dim lpClipMemory As Long Dim MyString As String Dim RetVal As Long If OpenClipboard(0&) = 0 Then MsgBox "Cannot open Clipboard. Another app. may have it open", , "Clipboard" Exit Function End If ' Obtain the handle to the global memory ' block that is referencing the text. hClipMemory = GetClipboardData(CF_TEXT) If IsNull(hClipMemory) Then MsgBox "Could not allocate memory", , "Clipboard" Else ' Lock Clipboard memory so we can reference ' the actual data string. lpClipMemory = GlobalLock(hClipMemory) If Not IsNull(lpClipMemory) Then MyString = SPACE$(MAXSIZE) RetVal = lstrcpy(MyString, lpClipMemory) RetVal = GlobalUnlock(hClipMemory) ' Peel off the null terminating character. MyString = uMid(MyString, 1, InStr(1, MyString, Chr$(0), 0) - 1) Else MsgBox "Could not lock memory to copy string from.", , "Clipboard" End If End If RetVal = CloseClipboard() GetTextData = MyString End Function Sub SetTextData(MyString As String) Dim hGlobalMemory As Long, lpGlobalMemory As Long Dim hClipMemory As Long, x As Long ' Allocate movable global memory. '------------------------------------------- hGlobalMemory = GlobalAlloc(GHND, Len(MyString) + 1) ' Lock the block to get a far pointer ' to this memory. lpGlobalMemory = GlobalLock(hGlobalMemory) ' Copy the string to this global memory. lpGlobalMemory = lstrcpy(lpGlobalMemory, MyString) ' Unlock the memory. If GlobalUnlock(hGlobalMemory) <> 0 Then MsgBox "Could not unlock memory location. Copy aborted.", , "Clipboard" Else ' Open the Clipboard to copy data to. If OpenClipboard(0&) = 0 Then MsgBox "Could not open the Clipboard. Copy aborted.", , "Clipboard" Exit Sub End If ' Clear the Clipboard. x = EmptyClipboard() ' Copy the data to the Clipboard. hClipMemory = SetClipboardData(CF_TEXT, hGlobalMemory) End If If CloseClipboard() = 0 Then MsgBox "Could not close Clipboard.", , "Clipboard" End If End Sub '******************************************** From jwcolby at colbyconsulting.com Thu Aug 18 11:06:26 2005 From: jwcolby at colbyconsulting.com (John W. Colby) Date: Thu, 18 Aug 2005 12:06:26 -0400 Subject: [AccessD] copy string to clipboard In-Reply-To: <1D7828CDB8350747AFE9D69E0E90DA1F1484BAFA@xlivmbx21.aig.com> Message-ID: <011801c5a40e$c9819fa0$6c7aa8c0@ColbyM6805> >I've even got a simple class to take care of text to and from the clipboard And of course, so do I now, thanks to you. This is what makes this group great. John W. Colby www.ColbyConsulting.com Contribute your unused CPU cycles to a good cause: http://folding.stanford.edu/ -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Heenan, Lambert Sent: Thursday, August 18, 2005 12:03 PM To: 'Access Developers discussion and problem solving' Subject: RE: [AccessD] copy string to clipboard -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of John W. Colby Sent: Thursday, August 18, 2005 11:00 AM To: 'Access Developers discussion and problem solving' Subject: RE: [AccessD] copy string to clipboard Where is the matching ClipGetText? John W. Colby www.ColbyConsulting.com ------------------------ It's another simple API call... Private Declare Function GetClipboardData Lib "user32" (ByVal wFormat As Long) As Long I've even got a simple class to take care of text to and from the clipboard '*************************** clsClipBoard ************* Option Compare Database Option Explicit ' Obtaining Clipboard Data using API ' (needed for VBA since no Clipboard Object) -- can also paste the data to a control ' ************************************************************* ' ******* Place following in declarations ********* Private Declare Function OpenClipboard Lib "user32" (ByVal hWnd As Long) As Long Private Declare Function CloseClipboard Lib "user32" () As Long Private Declare Function EmptyClipboard Lib "user32" () As Long Private Declare Function SetClipboardData Lib "user32" (ByVal wFormat As Long, ByVal hMem As Long) As Long Private Declare Function GetClipboardData Lib "user32" (ByVal wFormat As Long) As Long Private Declare Function GlobalAlloc Lib "kernel32" (ByVal wFlags&, ByVal dwBytes As Long) As Long Private Declare Function GlobalLock Lib "kernel32" (ByVal hMem As Long) As Long Private Declare Function GlobalUnlock Lib "kernel32" (ByVal hMem As Long) As Long Private Declare Function GlobalSize Lib "kernel32" (ByVal hMem As Long) As Long Private Declare Function lstrcpy Lib "kernel32" (ByVal lpString1 As Any, ByVal lpString2 As Any) As Long Const GHND = &H42 Const CF_TEXT = 1 Const MAXSIZE = 4096 Function GetTextData() As String Dim hClipMemory As Long Dim lpClipMemory As Long Dim MyString As String Dim RetVal As Long If OpenClipboard(0&) = 0 Then MsgBox "Cannot open Clipboard. Another app. may have it open", , "Clipboard" Exit Function End If ' Obtain the handle to the global memory ' block that is referencing the text. hClipMemory = GetClipboardData(CF_TEXT) If IsNull(hClipMemory) Then MsgBox "Could not allocate memory", , "Clipboard" Else ' Lock Clipboard memory so we can reference ' the actual data string. lpClipMemory = GlobalLock(hClipMemory) If Not IsNull(lpClipMemory) Then MyString = SPACE$(MAXSIZE) RetVal = lstrcpy(MyString, lpClipMemory) RetVal = GlobalUnlock(hClipMemory) ' Peel off the null terminating character. MyString = uMid(MyString, 1, InStr(1, MyString, Chr$(0), 0) - 1) Else MsgBox "Could not lock memory to copy string from.", , "Clipboard" End If End If RetVal = CloseClipboard() GetTextData = MyString End Function Sub SetTextData(MyString As String) Dim hGlobalMemory As Long, lpGlobalMemory As Long Dim hClipMemory As Long, x As Long ' Allocate movable global memory. '------------------------------------------- hGlobalMemory = GlobalAlloc(GHND, Len(MyString) + 1) ' Lock the block to get a far pointer ' to this memory. lpGlobalMemory = GlobalLock(hGlobalMemory) ' Copy the string to this global memory. lpGlobalMemory = lstrcpy(lpGlobalMemory, MyString) ' Unlock the memory. If GlobalUnlock(hGlobalMemory) <> 0 Then MsgBox "Could not unlock memory location. Copy aborted.", , "Clipboard" Else ' Open the Clipboard to copy data to. If OpenClipboard(0&) = 0 Then MsgBox "Could not open the Clipboard. Copy aborted.", , "Clipboard" Exit Sub End If ' Clear the Clipboard. x = EmptyClipboard() ' Copy the data to the Clipboard. hClipMemory = SetClipboardData(CF_TEXT, hGlobalMemory) End If If CloseClipboard() = 0 Then MsgBox "Could not close Clipboard.", , "Clipboard" End If End Sub '******************************************** -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From dejpolsys at hotmail.com Thu Aug 18 11:07:12 2005 From: dejpolsys at hotmail.com (William Hindman) Date: Thu, 18 Aug 2005 12:07:12 -0400 Subject: [AccessD] A2000/3:Connecting to SQL Server References: <010701c5a3fd$40a7f690$6c7aa8c0@ColbyM6805> Message-ID: Darren ..AccessD members Harkins and Martin have a book out "SQL: Access to SQL Server" that walks you right through this while holding your hand, and squeezing when necessary ...and if that isn't enough, they're both right here to dumb it down to where even I could understand it :) http://www.amazon.com/gp/product/customer-reviews/1893115305/ref=cm_cr_dp_pt/102-6279525-3247338?%5Fencoding=UTF8&n=507846&s=books William ----- Original Message ----- From: "John W. Colby" To: "'Access Developers discussion and problem solving'" Sent: Thursday, August 18, 2005 10:00 AM Subject: RE: [AccessD] A2000/3:Connecting to SQL Server > Darren, > > If the BE is in Access and needs to be upgraded to SQL Server, try the > upgrade wizard. I have run this on some fairly major Access Bes and it > works pretty well. The only issue I had was dates which have different > ranges between Access and SQL. > > > The idea is to get the BE upgrading without any issues (data all moves > without errors), then put the FE back in the BE and run it one more time. > The wizard will place the data in SQL Server and create ODBC connections > between the FE (no data anymore) and SQL Server. The ODBC connections > look > for all the world like normal links and at that point your FE should > operate > normally. At least the FE will work now. You can then start doing other > things to make it faster, more robust etc. > > That's the "nutshell" version of the process. > > John W. Colby > www.ColbyConsulting.com > > Contribute your unused CPU cycles to a good cause: > http://folding.stanford.edu/ > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Darren Dick > Sent: Thursday, August 18, 2005 8:46 AM > To: Access Developers discussion and problem solving; Database Advisors > Subject: [AccessD] A2000/3:Connecting to SQL Server > > > Hello all > > New Job - Have to Learn SQL Server ASAP and MS Reporting Services. > > (Anyone know any good resources on MS Reporting Services?) > > Also I would like someone to hold my hand getting an ACCESS front end to > talk with a SQL Server Backend. > > never done it - never had to - and I have no clue on how to do it. :-)) > > Anyone wanna hold my hand (No sweaty palms - I promise) or failing that > some simple > > (and it really does have to be simple for me) tutorials? > > Many thanks > > 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 cyx5 at cdc.gov Thu Aug 18 11:08:02 2005 From: cyx5 at cdc.gov (Nicholson, Karen) Date: Thu, 18 Aug 2005 12:08:02 -0400 Subject: [AccessD] Access to SQL Message-ID: Be careful when using the converter of its tendency to convert numbers to BIT types. Eventually, someone will put a null value in the field, and Access gets mad. Also, make sure if you are using SQL 2000 backend with an Access 2003 front end that you watch out for the bug that updates the wrong records in subforms if you base your query on a form. With the nasty dates, I convert them in Access before updating to SQL to avoid those headaches. -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Charlotte Foust Sent: Thursday, August 18, 2005 11:27 AM To: Access Developers discussion and problem solving Subject: RE: [AccessD] Access to SQL There is no DISTINCTROW keyword in SQL because you don't need it. Just drop that from your SQL statement and check the results. Charlotte Foust -----Original Message----- From: Johncliviger at aol.com [mailto:Johncliviger at aol.com] Sent: Thursday, August 18, 2005 4:40 AM To: accessD at databaseadvisors.com Subject: [AccessD] Access to SQL Hi all I've moved Access XP FE to ADP FE and the tables to SQL 2000 BE. I now find that Select DistinctRow thats in Access XP has no equivalent in SQL 2000. What is the equivalent syntax? for example have the following sql string works in Access without a problem. Load it into ADP ...and its a no no. Any suggestions? SELECT DISTINCTROW ApplicantPersonalDetails.*, OrderDetails.CourseCounter, OrderDetails.OrderID, Orders.ClientID, Orders.OrderDate, Orders.InvoiceRequired, ClientPurchaser.ClientCode, ClientPurchaser.Purchasers, ClientPurchaser.FirstName, ClientPurchaser.LastName, PostBasicCourseDetails.CourseID, PostBasicCourseDetails.Date, PostBasicCourseDetails.Course, PostBasicCourseDetails.Level, PostBasicCourseDetails.Location, PostBasicCourseDetails.Code, PostBasicCourseDetails.Length, PostBasicCourseDetails.Places, PostBasicCourseDetails.CourseLeader1, PostBasicCourseDetails.CourseLeader2, PostBasicCourseDetails.Cost, PostBasicCourseDetails.Selection FROM PostBasicCourseDetails INNER JOIN (((ClientPurchaser INNER JOIN Orders ON ClientPurchaser.ClientID = Orders.ClientID) INNER JOIN OrderDetails ON Orders.OrderID = OrderDetails.OrderID) INNER JOIN ApplicantPersonalDetails ON OrderDetails.OrderDetailID = ApplicantPersonalDetails.OrderDetailID) ON PostBasicCourseDetails.CourseCounter = OrderDetails.CourseCounter; Regards johnc -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd 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 Thu Aug 18 11:21:00 2005 From: artful at rogers.com (Arthur Fuller) Date: Thu, 18 Aug 2005 12:21:00 -0400 Subject: [AccessD] OT(?): Big Design Up Front (BDUF) vs. XP any comments, ideas, experience? In-Reply-To: <002501c5a3da$451f62d0$6401a8c0@fincomplex.spb.ru> Message-ID: <200508181621.j7IGL3R26856@databaseadvisors.com> About a decade ago I headed a development team for an insurance company. Half the job was to take some mainframe programmers and acquaint them with PC development tools and best practices. XP was not a big thing then, but I improvised an approximation of it at that time. I started with 2 programmers, and had them sit with me as I coded. They were learning lots of things at once -- syntax, editor keystrokes, shortcuts, etc. At first I was moving so quickly that they couldn't even see what I was doing (particularly in the editor itself), but a few explanations and we were over that hump. The hardest thing to teach them was "1 proc does exactly one thing"... No, upon reflection, the hardest thing to teach them was "avoid coding until the last possible moment." The first two programmers then took on a programmer each and repeated the "semester", as it were, and then those two took on a programmer each. By the end of the project, we had a team of capable programmers, and we stuck to the rule of "two programmers per keyboard" all the way through the project. It worked brilliantly -- about equivalent to debugging while writing the code. The second programmer might watch the first start a recursive routine and say, "Hey, wait, let's break it out into two routines and avoid the recursion problems." They might kick it around for a bit before choosing one or the other approach, and also document why they elected that choice. I am _way_ big on BDUF! Avoid coding until the last possible moment -- that's my motto. I started out as a cowboy coder, but no more. I spend a _lot_ of time db-design tools such as DeZign, and I don't even begin creating sample data until I've been through about 3 revisions of the given DB design. Then I write use-cases describing each function the software must perform, using English not pseudo-code -- in fact, I have learned to avoid any specific references to tables, and instead to write such statements as, "When the user selects a product and quantity she wishes to buy, place a 5-minute hold on that quantity. When the user's credit card payment is authorized, deplete inventory by the specified quantity and remove the hold." Once the DB design is finalized, and the purpose of each table, view, sproc and UDF described, then even a relatively new hire can take the spec described above and implement it easily. In the example I gave, there are the following steps: 1. Obtain the product ID and desired quantity 2. Check to see said quantity exists (we'll sidestep the issue of back-orders for now). 3. Place a hold on said quantity, with a timer mechanism of some sort (SQL Server is great at this, much better than an Access timer). 4. Obtain the credit card info, fire it off and check the return status. 5. If the payment went through, deplete the quantity available. 6. Remove the hold. Each of these steps can be reduced to exactly one procedure. You (as manager) could even assign each step to a different programmer. So long as the DB design is solid, there should be no issues. I haven't read either book you mentioned, but I'll put them on my list of things to read. Arthur -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Shamil Salakhetdinov Sent: August 18, 2005 5:50 AM To: !DBA-MAIN Subject: [AccessD] OT(?): Big Design Up Front (BDUF) vs. XP any comments,ideas, experience? Hi All, I've got this this today from JoelOnSoftware subscription list: <<<<<< "As I worked through the screens that would be needed to allow either party to initiate the process, I realized that Aardvark would be just as useful, and radically simpler, if the helper was required to start the whole process. Making this change in the spec took an hour or two. If we had made this change in code, it would have added weeks to the schedule. I can't tell you how strongly I believe in Big Design Up Front, which the proponents of Extreme Programming consider anathema. I have consistently saved time and made better products by using BDUF and I'm proud to use it, no matter what the XP fanatics claim. They're just wrong on this point and I can't be any clearer than that." - From my latest article: The Project Aardvark Spec http://www.joelonsoftware.com/articles/AardvarkSpec.html >>>>> No comments. It happened that I'm currently reading: "Microsoft Object Thinking" by David West ISBN:0735619654 Microsoft Press C 2004 and "Extreme Programming Adventures in C# " by Ron Jeffries ISBN:0735619492 Microsoft Press C 2004 These two books are from Microsoft Press and they have a lot of useful information on eXterme Programming, Unit Testing and Classical(Behavioral) vs. currently existing in most implementations "real life" UML-based(RUP) OOD&P. When MS Press publishes books on such more computer-science than used in real life projects subjects then they are very probably "cultivating the ground" for the soon to become true "dreams". (I remember I watched a movie "Microsoft, Year 2004"(form MS of course) somewhere in year 1995 or so - and as I see now their by that time science-fiction is now real-life, exactly in year 2004-2005. I must say I impressed with both books (and there are just a few technical books I liked because most of them are just "chewing" MSDN or other docs without almost any new ideas). The more I read them the more I like them and I see a lot of sense in what is written in them and I see a lot of my own ideas and experience are there too. I'm glad my thinking is in the mainstream (of course what they say is much more elaborated and thought through and based on their own rich experience). So my guess/thinking is that XP, Unit Testing and Behavioral (Extreme) OOD&P are becoming mainstream for real-life development of the projects of any size - in fact as authors of these books state (based on their experience) that the stuff they are writing about is the "only" agile way to solve the challenges of nowadays customers and projects requests. And they are not fanatics I think - they base their writing on deep analysis of all the previous 50 years experience in software development and not only in software - "Microsoft Object Thinking" is more philosophical than technical book and it has quotes from Plato (year 400 B.C.) - these quotes are used to explain how to "attack" complicated/vague projects' requirements... What do you think about the subject and related issues? Do we need Access/VBA Unit Testing added here - http://opensourcetesting.org/unit_misc.php (Open source tools for software testing professionals) - it can be done - does it make sense? Shamil -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From ssharkins at bellsouth.net Thu Aug 18 11:22:12 2005 From: ssharkins at bellsouth.net (Susan Harkins) Date: Thu, 18 Aug 2005 12:22:12 -0400 Subject: [AccessD] A2000/3:Connecting to SQL Server In-Reply-To: Message-ID: <20050818162214.CQHN11342.ibm68aec.bellsouth.net@SUSANONE> Martin is the mastermind of that section. :) Thanks William! Susan H. Darren ..AccessD members Harkins and Martin have a book out "SQL: Access to SQL Server" that walks you right through this while holding your hand, and squeezing when necessary ...and if that isn't enough, they're both right here to dumb it down to where even I could understand it :) http://www.amazon.com/gp/product/customer-reviews/1893115305/ref=cm_cr_dp_pt /102-6279525-3247338?%5Fencoding=UTF8&n=507846&s=books From dejpolsys at hotmail.com Thu Aug 18 11:31:58 2005 From: dejpolsys at hotmail.com (William Hindman) Date: Thu, 18 Aug 2005 12:31:58 -0400 Subject: [AccessD] A2000/3:Connecting to SQL Server References: <20050818162214.CQHN11342.ibm68aec.bellsouth.net@SUSANONE> Message-ID: ..de nada ...I used it again this morning which is why it was on my mind ..walk in the park :) William ----- Original Message ----- From: "Susan Harkins" To: "'Access Developers discussion and problem solving'" Sent: Thursday, August 18, 2005 12:22 PM Subject: RE: [AccessD] A2000/3:Connecting to SQL Server > Martin is the mastermind of that section. :) > > Thanks William! > > Susan H. > > Darren > > ..AccessD members Harkins and Martin have a book out "SQL: Access to SQL > Server" that walks you right through this while holding your hand, and > squeezing when necessary ...and if that isn't enough, they're both right > here to dumb it down to where even I could understand it :) > > http://www.amazon.com/gp/product/customer-reviews/1893115305/ref=cm_cr_dp_pt > /102-6279525-3247338?%5Fencoding=UTF8&n=507846&s=books > > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > From jwcolby at colbyconsulting.com Thu Aug 18 11:33:59 2005 From: jwcolby at colbyconsulting.com (John W. Colby) Date: Thu, 18 Aug 2005 12:33:59 -0400 Subject: [AccessD] copy string to clipboard In-Reply-To: <1D7828CDB8350747AFE9D69E0E90DA1F1484BAFA@xlivmbx21.aig.com> Message-ID: <011a01c5a412$a2a69580$6c7aa8c0@ColbyM6805> Lambert, Doesn't the clipboard allow multiple things to be placed in it? I see this effect with certain applications where the clipboard offers you the ability to choose which item on the clipboard is the one you want. John W. Colby www.ColbyConsulting.com Contribute your unused CPU cycles to a good cause: http://folding.stanford.edu/ -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Heenan, Lambert Sent: Thursday, August 18, 2005 12:03 PM To: 'Access Developers discussion and problem solving' Subject: RE: [AccessD] copy string to clipboard -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of John W. Colby Sent: Thursday, August 18, 2005 11:00 AM To: 'Access Developers discussion and problem solving' Subject: RE: [AccessD] copy string to clipboard Where is the matching ClipGetText? John W. Colby www.ColbyConsulting.com ------------------------ It's another simple API call... Private Declare Function GetClipboardData Lib "user32" (ByVal wFormat As Long) As Long I've even got a simple class to take care of text to and from the clipboard '*************************** clsClipBoard ************* Option Compare Database Option Explicit ' Obtaining Clipboard Data using API ' (needed for VBA since no Clipboard Object) -- can also paste the data to a control ' ************************************************************* ' ******* Place following in declarations ********* Private Declare Function OpenClipboard Lib "user32" (ByVal hWnd As Long) As Long Private Declare Function CloseClipboard Lib "user32" () As Long Private Declare Function EmptyClipboard Lib "user32" () As Long Private Declare Function SetClipboardData Lib "user32" (ByVal wFormat As Long, ByVal hMem As Long) As Long Private Declare Function GetClipboardData Lib "user32" (ByVal wFormat As Long) As Long Private Declare Function GlobalAlloc Lib "kernel32" (ByVal wFlags&, ByVal dwBytes As Long) As Long Private Declare Function GlobalLock Lib "kernel32" (ByVal hMem As Long) As Long Private Declare Function GlobalUnlock Lib "kernel32" (ByVal hMem As Long) As Long Private Declare Function GlobalSize Lib "kernel32" (ByVal hMem As Long) As Long Private Declare Function lstrcpy Lib "kernel32" (ByVal lpString1 As Any, ByVal lpString2 As Any) As Long Const GHND = &H42 Const CF_TEXT = 1 Const MAXSIZE = 4096 Function GetTextData() As String Dim hClipMemory As Long Dim lpClipMemory As Long Dim MyString As String Dim RetVal As Long If OpenClipboard(0&) = 0 Then MsgBox "Cannot open Clipboard. Another app. may have it open", , "Clipboard" Exit Function End If ' Obtain the handle to the global memory ' block that is referencing the text. hClipMemory = GetClipboardData(CF_TEXT) If IsNull(hClipMemory) Then MsgBox "Could not allocate memory", , "Clipboard" Else ' Lock Clipboard memory so we can reference ' the actual data string. lpClipMemory = GlobalLock(hClipMemory) If Not IsNull(lpClipMemory) Then MyString = SPACE$(MAXSIZE) RetVal = lstrcpy(MyString, lpClipMemory) RetVal = GlobalUnlock(hClipMemory) ' Peel off the null terminating character. MyString = uMid(MyString, 1, InStr(1, MyString, Chr$(0), 0) - 1) Else MsgBox "Could not lock memory to copy string from.", , "Clipboard" End If End If RetVal = CloseClipboard() GetTextData = MyString End Function Sub SetTextData(MyString As String) Dim hGlobalMemory As Long, lpGlobalMemory As Long Dim hClipMemory As Long, x As Long ' Allocate movable global memory. '------------------------------------------- hGlobalMemory = GlobalAlloc(GHND, Len(MyString) + 1) ' Lock the block to get a far pointer ' to this memory. lpGlobalMemory = GlobalLock(hGlobalMemory) ' Copy the string to this global memory. lpGlobalMemory = lstrcpy(lpGlobalMemory, MyString) ' Unlock the memory. If GlobalUnlock(hGlobalMemory) <> 0 Then MsgBox "Could not unlock memory location. Copy aborted.", , "Clipboard" Else ' Open the Clipboard to copy data to. If OpenClipboard(0&) = 0 Then MsgBox "Could not open the Clipboard. Copy aborted.", , "Clipboard" Exit Sub End If ' Clear the Clipboard. x = EmptyClipboard() ' Copy the data to the Clipboard. hClipMemory = SetClipboardData(CF_TEXT, hGlobalMemory) End If If CloseClipboard() = 0 Then MsgBox "Could not close Clipboard.", , "Clipboard" End If End Sub '******************************************** -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From martyconnelly at shaw.ca Thu Aug 18 11:27:33 2005 From: martyconnelly at shaw.ca (MartyConnelly) Date: Thu, 18 Aug 2005 09:27:33 -0700 Subject: [AccessD] Ajax and Atlas with XML References: <0ILC0076JFIZDV@l-daemon> Message-ID: <4304B6F5.6030708@shaw.ca> Ah, I knew why I didn't look at AJAX and ASP.Net 1.0 way back when. It is a lot easier to do now with ASP.Net 2.0 but it is still Beta 2.0 ASP.NET V1.0 and V1.1 have no explicit support for this technology ASP.NET V2.0 contains out-of-the-box support for asynchronous client script callbacks and provides a fairly simple way to register the callback methods, invoke them, and handle any associated errors with RaiseCallbackEvent However the xmlhttp request object does have a deferred callback. From this months Simple Talk The journal for Microsoft technology developers and DBAs Asynchronous client script callback for ASP.Net 2.0 http://www.simple-talk.com/2005/08/10/asynchronous-client-script-callbacks/ Asynchronous Web Service Calls over HTTP with the .NET Framework using ASP.Net 1.0 Old ASP.Net 1.0 method complicated and falls over in certain situations http://msdn.microsoft.com/library/default.asp?url=/library/en-us/dnservice/html/service09032002.asp This article gives good diagrams on asynch/synch methods Jesse James Garrett http://www.adaptivepath.com/publications/essays/archives/000385.php Jim Lawrence wrote: >Marty what do you mean 'No dancing Hamster'! :-( > >What is your opinion on the AJAX.Net variation on AJAX which seems to be the >hottest ticket? > >Jim > >-----Original Message----- >From: accessd-bounces at databaseadvisors.com >[mailto:accessd-bounces at databaseadvisors.com] On Behalf Of MartyConnelly >Sent: Tuesday, August 16, 2005 5:10 PM >To: Access Developers discussion and problem solving >Subject: Re: [AccessD] Ajax and Atlas with XML > >Nope that is it, all there is in the one xml element, no dancing hamsters > >This site will give you a better idea but more html code needed >Click on > >Drop Downs & Form Handling > >then click states states > >http://www.clearnova.com/ajax/index.html > > >Jim Lawrence wrote: > > > >>Hi Marty: >> >>Just a note the Server page update sample. >> >>It initially shows the following line: This is some sample data. It is the >>default data for this web page. View XML data. >> >>.. and when clicking on the link: View XML data >> >>.. the line then displays: This is some sample data. It is stored in an XML >>file and retrieved by JavaScript. >> >>.. and that is all. Is there supposed to be more displayed? >> >>Jim >> >>-----Original Message----- >>From: accessd-bounces at databaseadvisors.com >>[mailto:accessd-bounces at databaseadvisors.com] On Behalf Of MartyConnelly >>Sent: Tuesday, August 16, 2005 12:50 PM >>To: Access Developers discussion and problem solving >>Subject: [AccessD] Ajax and Atlas with XML >> >>If looking for xml info starter sites. >> >>http://www.xml.org >>http://www.xml.com >>A vb oriented site was once vbxml.com >>http://www.topxml.com >> >>Try to buy XML books published in last 3 years otherwise >>you wont get latest in XSLT and XQuery. Old books maybe based on old >>XSL patterns >>which might prove confusing. >> >> >>Now here is the latest buzz in XML development with AJAX. >> >>In computer programming, AJAX (Asynchronous JavaScript and XML) is a >>method of building interactive applications for the Web that process >>user requests immediately.Ajax allows content on Web pages to update >>immediately when a user performs an action, unlike an HTTP request, >>during which users must wait for a whole new page to load. For example, >>a weather forecasting site could display local conditions on one side of >>the page without delay after a user types in a zip code. >>Google Map works this way. ATLAS is a downloadable javascript engine >>Microsoft is supposed to bring out in September at some convention. >> >>How difficult is this stuff well it is not rocket science. But an >>amalgam of 4 or 5 techniques. Ajax combines several programming tools >>including JavaScript, dynamic HTML (DHTML), Extensible Markup Language >>(XML), cascading style sheets (CSS), the Document Object Model (DOM), >>and the Microsoft object, XMLHttpRequest. After that you can use Web >>Services to grab the xml data. You could modify javascript to VBA too >>for use in Access. >> >>Some sites where you can grab javascript source and examples of Ajax or >>download them >> >>http://www.clearnova.com/ajax/index.html >>http://developer.apple.com/internet/webcontent/XMLHttpRequestExample/exampl >> >> >e > > >>.html >> >>Articles >>Dynamic HTML and xmlhttpRequest object >>http://developer.apple.com/internet/webcontent/xmlhttpreq.html >> >>Jesse Garrett What is Ajax? (The guy that gave it the name) >>http://www.adaptivepath.com/publications/essays/archives/000385.php >> >> >>Here is a elementary ajax sample just place the two files on your web >>server and run with java script enabled >>through your favourite browser. >> >>You can also run from hard disk directly in Netscape 7.0 but IE locally >>has security stops and uses file: protocol and not http: protocol so >>wont run correctly >>without a lot of fiddling with settings. Rather than use a object; >>might use document.innerhtml to get around for local use. >> >>On my server these two files >>http://www5.brinkster.com/mconnelly/ajax/ajax.html >> >>Save this file as UTF-8 not ANSI ajax.html >> >>> "http://www.w3.org/TR/html4/strict.dtd"> >> >> >> > > >> Developing Web Applications with Ajax - Example >> >> >> >>

Developing Web Applications with Ajax

>>

This page demonstrates the use of Asynchronous Javascript and XML >>(Ajax) technology to >> update a web page's content by reading from a remote file >>dynamically -- no page reloading >> is required. Note that this operation does not work for users >>without JavaScript enabled.

>>

>> This is some sample data. It is the default data for this web page. >>> title="View the XML data." onclick="ajaxRead('data.xml'); >>this.style.display='none'; return false">View XML data. >>

>> >> >> >> >>Save this file below as UTF-8 data.xml >> >> >> >> >> This is some sample data. It is stored in an XML file and retrieved >>by JavaScript. >> >> >> >> >> >> >>Gustav Brock wrote: >> >> >> >> >> >>>Hi Bryan >>> >>>So no job? Or wife?? Is that what you are trying to tell? >>>On the other hand (for the job option, cannot tell for the wife >>>option), with your knowledge I would expect it to be easy for you to >>>find some "new challenges" except, of course, if things are a little >>>more complicated than they may appear to be ... >>> >>>Currently I'm facing some XML work. Haven't done anything with this and >>>Access and hardly know where to look except browsing this list ... >>>So an XML cookbook or guide is a suggestion. >>> >>>/gustav >>> >>> >>> >>> >>> >>> >>> >>>>>>carbonnb at sympatico.ca 08/16 3:45 am >>> >>>>>> >>>>>> >>>>>> >>>>>> >>>>>> >>>>>> >>>I have found myself in a situation that gives me an inordinate amount >>>of free time and I'm looking for some ideas to fill my time. >>> >>>I am thinking of something that would make development easier or a >>>specifc app that would greatly help developers. I need something to >>>keep my mind active and fingers busy :) >>> >>>It can be anything from Access to Word to Excel (Office 2K), even VB >>>6. >>> >>>I'm open to any and all suggestion. And If I can learn something new, >>>that would be even better. >>> >>>Let the flood gates open :-) >>> >>> >>> >>> >>> >>> >>> >> >> >> >> > > > -- Marty Connelly Victoria, B.C. Canada From Lambert.Heenan at AIG.com Thu Aug 18 11:49:20 2005 From: Lambert.Heenan at AIG.com (Heenan, Lambert) Date: Thu, 18 Aug 2005 12:49:20 -0400 Subject: [AccessD] copy string to clipboard Message-ID: <1D7828CDB8350747AFE9D69E0E90DA1F1484BB2B@xlivmbx21.aig.com> It sure does, but my simple class only handles text. With sufficient research it could be extended to handle other types of data. Lambert -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of John W. Colby Sent: Thursday, August 18, 2005 12:34 PM To: 'Access Developers discussion and problem solving' Subject: RE: [AccessD] copy string to clipboard Lambert, Doesn't the clipboard allow multiple things to be placed in it? I see this effect with certain applications where the clipboard offers you the ability to choose which item on the clipboard is the one you want. John W. Colby www.ColbyConsulting.com Contribute your unused CPU cycles to a good cause: http://folding.stanford.edu/ From shamil at users.mns.ru Thu Aug 18 12:02:24 2005 From: shamil at users.mns.ru (Shamil Salakhetdinov) Date: Thu, 18 Aug 2005 21:02:24 +0400 Subject: [AccessD] Disconnected MS Access cient applications.. References: Message-ID: <005201c5a416$a43268d0$6401a8c0@fincomplex.spb.ru> Charlotte, Your means you're interested in continuation of this subject/thread or...? In my plans is to extend and make all the source code available. How soon it will happen this is an open question - I have an urgent project here. But I do plan to continue this thread and work if this looks interesting for you and others here. Maybe even make it open source project here when first useful results will be achieved? It would be interesting I guess to make it also XP(eXtreme Programming) style work with your being subject area expert - I mean your best knowing in what scenarios and in what business areas is the best to use MS Access in bound but disconnected mode with most of the software (MS Access FE databases) developed by power users but integrated by "mighty MS Access developers"? :) I know how to do all that, I know how to make MS Access applications assembly factories etc. - I have all that experience and I can share it if/when I will have spare time - is that interesting? Shamil ----- Original Message ----- From: "Charlotte Foust" To: "Access Developers discussion and problem solving" Sent: Thursday, August 18, 2005 7:35 PM Subject: RE: [AccessD] Disconnected MS Access cient applications.. > Oooohhh, I think I'm in love! > > Charlotte Foust > > > -----Original Message----- > From: Shamil Salakhetdinov [mailto:shamil at users.mns.ru] > Sent: Thursday, August 18, 2005 4:46 AM > To: Access Developers discussion and problem solving > Subject: Re: [AccessD] Disconnected MS Access cient applications.. > > > No, William, this is not replication - here is what I mean in short: > > http://www.smsconsulting.spb.ru/shamil_s/articles/ddo.htm > > Shamil > > ----- Original Message ----- > From: "William Hindman" > To: "Access Developers discussion and problem solving" > > Sent: Thursday, August 18, 2005 3:47 AM > Subject: Re: [AccessD] Disconnected MS Access cient applications.. > > > > Shamil > > > > ..I must be missing something ...that sounds like replication to me. > > > > William > > > > ----- Original Message ----- > > From: "Shamil Salakhetdinov" > > To: "!DBA-MAIN" > > Sent: Wednesday, August 17, 2005 7:28 PM > > Subject: [AccessD] Disconnected MS Access cient applications.. > > > > > > > Hi All, > > > > > > I wanted to ask you - what about the subject? > > > Anybody uses/interested to use MS Access client applications this > > > way? > > > > > > Do I miss obvious (RTFM) stuff and such a disconnected mode is > > > already implemented in MS Access and broadly used by MS Access > > > developers? Yes, > I > > > know ADO recordsets can be used with bound MS Access forms etc. but > > > this looks like a rather limited feature - am I wrong? > > > > > > What I mean is cashing data locally into mdbs, only the data needed > > > for the currently open form(s) etc., processing this data and then > > > updating backend > > > database(mdb, MSDE, MS SQL, whatever...) - with all this cashing and > > > updating made mostly automatically by a tiny framework code, based > on > > > ADO.NET...(yes, this local caching of data is not a new subject but > > > nowadays > > > it can be (re-)implement really scalable way with a way less efforts > than > > > before) > > > > > > Maybe MS plans to do something like that? > > > > > > Is that a wheel reinvention or anybody here sees such opportunity > > > like a really useful feature in their real life projects? > > > > > > For me it looks like a useful feature because it could help: to get > > > MS Access back into mainstream development area because it will > > > allow to easily scale applications with MS Access front-ends... > > > > > > There are many other ideas but most of them in this "ideas pool" > > > based > on > > > the subject one - if it doesn't make sense for real-life projects > > > then > I'd > > > better stop working on it... > > > > > > What is your opinion about the subject? > > > When you expect MS will do something like that in MS Access? > > > > > > Thank you, > > > Shamil > > > > > > -- > > > AccessD mailing list > > > AccessD at databaseadvisors.com > > > http://databaseadvisors.com/mailman/listinfo/accessd > > > Website: http://www.databaseadvisors.com > > > > > -- > > AccessD mailing list > > AccessD at databaseadvisors.com > > http://databaseadvisors.com/mailman/listinfo/accessd > > Website: http://www.databaseadvisors.com > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com From shamil at users.mns.ru Thu Aug 18 11:45:01 2005 From: shamil at users.mns.ru (Shamil Salakhetdinov) Date: Thu, 18 Aug 2005 20:45:01 +0400 Subject: [AccessD] Disconnected MS Access cient applications.. References: Message-ID: <005101c5a416$a4051740$6401a8c0@fincomplex.spb.ru> > If they would only consider it a development > tool instead of a power user toy. They(MS) seems to have VS.NET as a mainstream development tool with MS Access becoming just a power-user toy? > MS is moving toward XML as > their datastore of choice for this kind of caching, and it certainly > works and has been fairly easy to implement since at least Access 2000. OK, what I see as the problem with all that is that when cached locally as XML/ADO.NET datasets(behind WinForms) and one needs to implement front-end advanced business logic they need to program a lot using navigational data processing methods. And even ADO.NET isn' a solution here. And if cached locally in MDB or MSDE database SQL-based(SQL as data manipulation language I mean) set-oriented data processing methods can be used - so in an ideal case there will be no need to program that much business logic for front-end applications because SQL is a very powerful language... > SWAG based on working extensively with VB.Net and speculating. Sorry, what SWAG means? > Given > that the next version of Access may not be available for a year or so > and is bound to have problems at first, I think something that could be > used now and with versions earlier than 2003 (which has its own > problems!) is entirely sensible. Agreed! :) Thank you for your approval of my expectations in this area! Shamil ----- Original Message ----- From: "Charlotte Foust" To: "Access Developers discussion and problem solving" Sent: Thursday, August 18, 2005 4:42 AM Subject: RE: [AccessD] Disconnected MS Access cient applications.. > Shamil, > > It looks to me like that is where MS is going with .Net, so it would be > logical to take Access in that direction as well ... If they would only > consider it a development tool instead of a power user toy. I've > certainly built applications in the past using that concept with ADO and > unbound forms. (Hush, John, I don't want to hear about it!) I think > we often fall back to the built in stuff because it is quick and easy, > even though it is not necessarily efficient. MS is moving toward XML as > their datastore of choice for this kind of caching, and it certainly > works and has been fairly easy to implement since at least Access 2000. > I would expect the capability to be expanded in the next version of > Access when it starts to catch up with Word and Excel, but that's just a > SWAG based on working extensively with VB.Net and speculating. Given > that the next version of Access may not be available for a year or so > and is bound to have problems at first, I think something that could be > used now and with versions earlier than 2003 (which has its own > problems!) is entirely sensible. > > Charlotte Foust > > > -----Original Message----- > From: Shamil Salakhetdinov [mailto:shamil at users.mns.ru] > Sent: Wednesday, August 17, 2005 4:29 PM > To: !DBA-MAIN > Subject: [AccessD] Disconnected MS Access cient applications.. > > > Hi All, > > I wanted to ask you - what about the subject? > Anybody uses/interested to use MS Access client applications this way? > > Do I miss obvious (RTFM) stuff and such a disconnected mode is already > implemented in MS Access and broadly used by MS Access developers? Yes, > I know ADO recordsets can be used with bound MS Access forms etc. but > this looks like a rather limited feature - am I wrong? > > What I mean is cashing data locally into mdbs, only the data needed for > the currently open form(s) etc., processing this data and then updating > backend database(mdb, MSDE, MS SQL, whatever...) - with all this cashing > and updating made mostly automatically by a tiny framework code, based > on ADO.NET...(yes, this local caching of data is not a new subject but > nowadays it can be (re-)implement really scalable way with a way less > efforts than > before) > > Maybe MS plans to do something like that? > > Is that a wheel reinvention or anybody here sees such opportunity like a > really useful feature in their real life projects? > > For me it looks like a useful feature because it could help: to get MS > Access back into mainstream development area because it will allow to > easily scale applications with MS Access front-ends... > > There are many other ideas but most of them in this "ideas pool" based > on the subject one - if it doesn't make sense for real-life projects > then I'd better stop working on it... > > What is your opinion about the subject? > When you expect MS will do something like that in MS Access? > > Thank you, > Shamil > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com From shamil at users.mns.ru Thu Aug 18 11:31:08 2005 From: shamil at users.mns.ru (Shamil Salakhetdinov) Date: Thu, 18 Aug 2005 20:31:08 +0400 Subject: [AccessD] Disconnected MS Access cient applications.. References: <0ILE00F3C5C7HZ@l-daemon> Message-ID: <005001c5a416$a3d7ecc0$6401a8c0@fincomplex.spb.ru> Jim, I did also work disconnected but mainly bound way since MS Access 2.0. This wasn't my wish - customer wanted that, or I'd better say they did have a spec where diconnected mode was used, then they decided to use MS Access 2.0 as a development tool and then they found myself and I have had nothing to do that implement this disconnedt mode in MS Access 2.0. It worked well. Then I worked as a small team manager here and we used disconnected bound solution with MS Access 97 for a big accounting project etc. > I think ADO.Net is the same thing but > with an automatic transmission and slick features ADO.NET and .NET Framework allow to implement this mode in a tiny framework, which can be used from within MS Access or other applications. This isn't possible with ADO - or I'd better say it's a complicated and time consuming task if ADO is used. > M$ has finally, fully embraced this concept and I feel that is > where the next versions of Access are going. My bet they will have that not in the next version of MS Access but the one after it :) Thank you for your sharing of your experience in this area and for your opinion! Shamil ----- Original Message ----- From: "Jim Lawrence" To: "'Access Developers discussion and problem solving'" Sent: Thursday, August 18, 2005 4:00 AM Subject: RE: [AccessD] Disconnected MS Access cient applications.. > Hi Shamil: > > I have only (mostly) been using a style of disconnected ADO recordsets with > Access since 97-98. I use an Access FE for all sorts of DBs like Oracle/MS > SQL, MySQL* (*though it needs an ODBC connection :-( ) and even MDB (but > mostly just for temp files), singularly or in groups. The process is just so > fast, attaches through any reasonable connection and requires very few BE DB > licenses... clients save a bundle. I think ADO.Net is the same thing but > with an automatic transmission and slick features. It should eliminate a lot > of coding. M$ has finally, fully embraced this concept and I feel that is > where the next versions of Access are going. > > This is all my opinion of course and not meant to insight a riot. > > Jim > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Shamil > Salakhetdinov > Sent: Wednesday, August 17, 2005 4:29 PM > To: !DBA-MAIN > Subject: [AccessD] Disconnected MS Access cient applications.. > > Hi All, > > I wanted to ask you - what about the subject? > Anybody uses/interested to use MS Access client applications this way? > > Do I miss obvious (RTFM) stuff and such a disconnected mode is already > implemented in MS Access and broadly used by MS Access developers? Yes, I > know ADO recordsets can be used with bound MS Access forms etc. but this > looks like a rather limited feature - am I wrong? > > What I mean is cashing data locally into mdbs, only the data needed for the > currently open form(s) etc., processing this data and then updating backend > database(mdb, MSDE, MS SQL, whatever...) - with all this cashing and > updating made mostly automatically by a tiny framework code, based on > ADO.NET...(yes, this local caching of data is not a new subject but nowadays > it can be (re-)implement really scalable way with a way less efforts than > before) > > Maybe MS plans to do something like that? > > Is that a wheel reinvention or anybody here sees such opportunity like a > really useful feature in their real life projects? > > For me it looks like a useful feature because it could help: to get MS > Access back into mainstream development area because it will allow to easily > scale applications with MS Access front-ends... > > There are many other ideas but most of them in this "ideas pool" based on > the subject one - if it doesn't make sense for real-life projects then I'd > better stop working on it... > > What is your opinion about the subject? > When you expect MS will do something like that in MS Access? > > Thank you, > Shamil > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com From shamil at users.mns.ru Thu Aug 18 12:15:16 2005 From: shamil at users.mns.ru (Shamil Salakhetdinov) Date: Thu, 18 Aug 2005 21:15:16 +0400 Subject: [AccessD] OT(?): Big Design Up Front (BDUF) vs. XP any comments, ideas, experience? References: <200508181621.j7IGL3R26856@databaseadvisors.com> Message-ID: <009401c5a418$6a77e5a0$6401a8c0@fincomplex.spb.ru> <<< I am _way_ big on BDUF! Avoid coding until the last possible moment -- that's my motto. >>> Arthur, but what you described and you said "it worked brilliantly" - this is more XP than anything else, isn't it? Yes, I understand you're writing specs and you do a lot of upfront design - it may happen it's not needed to do them that much upfront? I'm not XP advocate (yet) - I'm just learning it and yet to see really big projects developed this way but my feelings are that it's very promising and it should give higher percent of positive results than BDUF does give - 60% of projects fail, many go a way out of budget etc. - these are statistics... No, I do not want to make "BDUF vs. XP" yet another "religious" debate here - I'm trying to find my best way "in between" of these two working approaches by sharing my experience and by acquiring yours... Shamil ----- Original Message ----- From: "Arthur Fuller" To: "'Access Developers discussion and problem solving'" Sent: Thursday, August 18, 2005 8:21 PM Subject: RE: [AccessD] OT(?): Big Design Up Front (BDUF) vs. XP any comments,ideas, experience? > About a decade ago I headed a development team for an insurance company. > Half the job was to take some mainframe programmers and acquaint them with > PC development tools and best practices. XP was not a big thing then, but I > improvised an approximation of it at that time. I started with 2 > programmers, and had them sit with me as I coded. They were learning lots of > things at once -- syntax, editor keystrokes, shortcuts, etc. At first I was > moving so quickly that they couldn't even see what I was doing (particularly > in the editor itself), but a few explanations and we were over that hump. > The hardest thing to teach them was "1 proc does exactly one thing"... No, > upon reflection, the hardest thing to teach them was "avoid coding until the > last possible moment." The first two programmers then took on a programmer > each and repeated the "semester", as it were, and then those two took on a > programmer each. By the end of the project, we had a team of capable > programmers, and we stuck to the rule of "two programmers per keyboard" all > the way through the project. It worked brilliantly -- about equivalent to > debugging while writing the code. The second programmer might watch the > first start a recursive routine and say, "Hey, wait, let's break it out into > two routines and avoid the recursion problems." They might kick it around > for a bit before choosing one or the other approach, and also document why > they elected that choice. > > I am _way_ big on BDUF! Avoid coding until the last possible moment -- > that's my motto. I started out as a cowboy coder, but no more. I spend a > _lot_ of time db-design tools such as DeZign, and I don't even begin > creating sample data until I've been through about 3 revisions of the given > DB design. Then I write use-cases describing each function the software must > perform, using English not pseudo-code -- in fact, I have learned to avoid > any specific references to tables, and instead to write such statements as, > "When the user selects a product and quantity she wishes to buy, place a > 5-minute hold on that quantity. When the user's credit card payment is > authorized, deplete inventory by the specified quantity and remove the > hold." > > Once the DB design is finalized, and the purpose of each table, view, sproc > and UDF described, then even a relatively new hire can take the spec > described above and implement it easily. In the example I gave, there are > the following steps: > > 1. Obtain the product ID and desired quantity > 2. Check to see said quantity exists (we'll sidestep the issue of > back-orders for now). > 3. Place a hold on said quantity, with a timer mechanism of some sort (SQL > Server is great at this, much better than an Access timer). > 4. Obtain the credit card info, fire it off and check the return status. > 5. If the payment went through, deplete the quantity available. > 6. Remove the hold. > > Each of these steps can be reduced to exactly one procedure. You (as > manager) could even assign each step to a different programmer. So long as > the DB design is solid, there should be no issues. > > I haven't read either book you mentioned, but I'll put them on my list of > things to read. > > Arthur > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Shamil > Salakhetdinov > Sent: August 18, 2005 5:50 AM > To: !DBA-MAIN > Subject: [AccessD] OT(?): Big Design Up Front (BDUF) vs. XP any > comments,ideas, experience? > > Hi All, > > I've got this this today from JoelOnSoftware subscription list: > > <<<<<< > "As I worked through the screens that would be needed to allow > either party to initiate the process, I realized that Aardvark > would be just as useful, and radically simpler, if the helper > was required to start the whole process. Making this change in > the spec took an hour or two. If we had made this change in code, > it would have added weeks to the schedule. I can't tell you how > strongly I believe in Big Design Up Front, which the proponents > of Extreme Programming consider anathema. I have consistently > saved time and made better products by using BDUF and I'm proud > to use it, no matter what the XP fanatics claim. They're just > wrong on this point and I can't be any clearer than that." > > - From my latest article: > > The Project Aardvark Spec > http://www.joelonsoftware.com/articles/AardvarkSpec.html > >>>>> > No comments. > > It happened that I'm currently reading: > > "Microsoft Object Thinking" > by David West > ISBN:0735619654 > Microsoft Press C 2004 > > and > > "Extreme Programming Adventures in C# " > by Ron Jeffries > ISBN:0735619492 > Microsoft Press C 2004 > > These two books are from Microsoft Press and they have a lot of useful > information on eXterme Programming, Unit Testing and Classical(Behavioral) > vs. currently existing in most implementations "real life" UML-based(RUP) > OOD&P. > > When MS Press publishes books on such more computer-science than > used in real life projects subjects then they are very probably "cultivating > the ground" for the soon to become true "dreams". (I remember I watched a > movie "Microsoft, Year 2004"(form MS of course) somewhere in year 1995 or > so - and as I see now their by that time science-fiction is now real-life, > exactly in year 2004-2005. > > I must say I impressed with both books (and there are just a few technical > books I liked because most of them are just "chewing" MSDN or other docs > without almost any new ideas). > The more I read them the more I like them and I see a lot of sense in what > is written in them and I see a lot of my own ideas and experience are there > too. I'm glad my thinking is in the mainstream (of course what they say is > much more elaborated and thought through and based on their own rich > experience). > > So my guess/thinking is that XP, Unit Testing and Behavioral (Extreme) > OOD&P are becoming mainstream for real-life development of the projects of > any size - in fact as authors of these books state (based on their > experience) that the stuff they are writing about is the "only" agile way > to solve the challenges of nowadays customers and projects requests. And > they are not fanatics I think - they base their writing on deep analysis of > all the previous 50 years experience in software development and not only in > software - "Microsoft Object Thinking" is more philosophical than > technical book and it has quotes from Plato (year 400 B.C.) - these quotes > are used to explain how to "attack" complicated/vague projects' > requirements... > > > What do you think about the subject and related issues? > > Do we need Access/VBA Unit Testing added here - > http://opensourcetesting.org/unit_misc.php (Open source tools for software > testing professionals) - it can be done - does it make sense? > > Shamil > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com From jmhecht at earthlink.net Thu Aug 18 12:20:07 2005 From: jmhecht at earthlink.net (Joe Hecht) Date: Thu, 18 Aug 2005 10:20:07 -0700 Subject: [AccessD] MDE question In-Reply-To: <4304B2E3.16275.1A65F03@stuart.lexacorp.com.pg> Message-ID: So I should write in XP and then port up to 2K3. Ten user would need to select proper version for their system. Or start in 2K3 and go down to XP. I would have 2 mde files of same app. -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Stuart McLachlan Sent: Wednesday, August 17, 2005 11:10 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] MDE question On 17 Aug 2005 at 21:53, Joe Hecht wrote: > If I do an app in Access 2K3 and make an .mde out if it will older versions > of Access be able to use it? > No, and future versions probably won't be able to either - at least that's been the case up to now. -- Stuart -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From cfoust at infostatsystems.com Thu Aug 18 12:27:05 2005 From: cfoust at infostatsystems.com (Charlotte Foust) Date: Thu, 18 Aug 2005 10:27:05 -0700 Subject: [AccessD] MDE question Message-ID: You can use an XP mde in either XP or 2003. You cannot create an XP mde in 2003 or vice versa, and you cannot use a 2003 mde in XP. Charlotte Foust -----Original Message----- From: Joe Hecht [mailto:jmhecht at earthlink.net] Sent: Thursday, August 18, 2005 10:20 AM To: 'Access Developers discussion and problem solving' Subject: RE: [AccessD] MDE question So I should write in XP and then port up to 2K3. Ten user would need to select proper version for their system. Or start in 2K3 and go down to XP. I would have 2 mde files of same app. -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Stuart McLachlan Sent: Wednesday, August 17, 2005 11:10 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] MDE question On 17 Aug 2005 at 21:53, Joe Hecht wrote: > If I do an app in Access 2K3 and make an .mde out if it will older versions > of Access be able to use it? > No, and future versions probably won't be able to either - at least that's been the case up to now. -- Stuart -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd 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 Aug 18 12:30:33 2005 From: cfoust at infostatsystems.com (Charlotte Foust) Date: Thu, 18 Aug 2005 10:30:33 -0700 Subject: [AccessD] Disconnected MS Access cient applications.. Message-ID: Not interesting, Shamil, FASCINATING! Yes, I do hope you continue this thread. Please! I've often thought of this kind of thing but have never had time to really pursue it. Charlotte Foust -----Original Message----- From: Shamil Salakhetdinov [mailto:shamil at users.mns.ru] Sent: Thursday, August 18, 2005 10:02 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Disconnected MS Access cient applications.. Charlotte, Your means you're interested in continuation of this subject/thread or...? In my plans is to extend and make all the source code available. How soon it will happen this is an open question - I have an urgent project here. But I do plan to continue this thread and work if this looks interesting for you and others here. Maybe even make it open source project here when first useful results will be achieved? It would be interesting I guess to make it also XP(eXtreme Programming) style work with your being subject area expert - I mean your best knowing in what scenarios and in what business areas is the best to use MS Access in bound but disconnected mode with most of the software (MS Access FE databases) developed by power users but integrated by "mighty MS Access developers"? :) I know how to do all that, I know how to make MS Access applications assembly factories etc. - I have all that experience and I can share it if/when I will have spare time - is that interesting? Shamil ----- Original Message ----- From: "Charlotte Foust" To: "Access Developers discussion and problem solving" Sent: Thursday, August 18, 2005 7:35 PM Subject: RE: [AccessD] Disconnected MS Access cient applications.. > Oooohhh, I think I'm in love! > > Charlotte Foust > > > -----Original Message----- > From: Shamil Salakhetdinov [mailto:shamil at users.mns.ru] > Sent: Thursday, August 18, 2005 4:46 AM > To: Access Developers discussion and problem solving > Subject: Re: [AccessD] Disconnected MS Access cient applications.. > > > No, William, this is not replication - here is what I mean in short: > > http://www.smsconsulting.spb.ru/shamil_s/articles/ddo.htm > > Shamil > > ----- Original Message ----- > From: "William Hindman" > To: "Access Developers discussion and problem solving" > > Sent: Thursday, August 18, 2005 3:47 AM > Subject: Re: [AccessD] Disconnected MS Access cient applications.. > > > > Shamil > > > > ..I must be missing something ...that sounds like replication to me. > > > > William > > > > ----- Original Message ----- > > From: "Shamil Salakhetdinov" > > To: "!DBA-MAIN" > > Sent: Wednesday, August 17, 2005 7:28 PM > > Subject: [AccessD] Disconnected MS Access cient applications.. > > > > > > > Hi All, > > > > > > I wanted to ask you - what about the subject? > > > Anybody uses/interested to use MS Access client applications this > > > way? > > > > > > Do I miss obvious (RTFM) stuff and such a disconnected mode is > > > already implemented in MS Access and broadly used by MS Access > > > developers? Yes, > I > > > know ADO recordsets can be used with bound MS Access forms etc. > > > but this looks like a rather limited feature - am I wrong? > > > > > > What I mean is cashing data locally into mdbs, only the data > > > needed for the currently open form(s) etc., processing this data > > > and then updating backend database(mdb, MSDE, MS SQL, whatever...) > > > - with all this cashing and updating made mostly automatically by > > > a tiny framework code, based > on > > > ADO.NET...(yes, this local caching of data is not a new subject > > > but nowadays it can be (re-)implement really scalable way with a > > > way less efforts > than > > > before) > > > > > > Maybe MS plans to do something like that? > > > > > > Is that a wheel reinvention or anybody here sees such opportunity > > > like a really useful feature in their real life projects? > > > > > > For me it looks like a useful feature because it could help: to > > > get MS Access back into mainstream development area because it > > > will allow to easily scale applications with MS Access > > > front-ends... > > > > > > There are many other ideas but most of them in this "ideas pool" > > > based > on > > > the subject one - if it doesn't make sense for real-life projects > > > then > I'd > > > better stop working on it... > > > > > > What is your opinion about the subject? > > > When you expect MS will do something like that in MS Access? > > > > > > Thank you, > > > Shamil > > > > > > -- > > > AccessD mailing list > > > AccessD at databaseadvisors.com > > > http://databaseadvisors.com/mailman/listinfo/accessd > > > Website: http://www.databaseadvisors.com > > > > > -- > > AccessD mailing list > > AccessD at databaseadvisors.com > > http://databaseadvisors.com/mailman/listinfo/accessd > > Website: http://www.databaseadvisors.com > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > 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 Aug 18 12:34:02 2005 From: cfoust at infostatsystems.com (Charlotte Foust) Date: Thu, 18 Aug 2005 10:34:02 -0700 Subject: [AccessD] Disconnected MS Access cient applications.. Message-ID: >MS Access becoming just a power-user toy? I believe the actual MS quote described Access as "a landing pad for data"! SWAG: Scientific Wild A** Guess Charlotte -----Original Message----- From: Shamil Salakhetdinov [mailto:shamil at users.mns.ru] Sent: Thursday, August 18, 2005 9:45 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Disconnected MS Access cient applications.. > If they would only consider it a development > tool instead of a power user toy. They(MS) seems to have VS.NET as a mainstream development tool with MS Access becoming just a power-user toy? > MS is moving toward XML as > their datastore of choice for this kind of caching, and it certainly > works and has been fairly easy to implement since at least Access > 2000. OK, what I see as the problem with all that is that when cached locally as XML/ADO.NET datasets(behind WinForms) and one needs to implement front-end advanced business logic they need to program a lot using navigational data processing methods. And even ADO.NET isn' a solution here. And if cached locally in MDB or MSDE database SQL-based(SQL as data manipulation language I mean) set-oriented data processing methods can be used - so in an ideal case there will be no need to program that much business logic for front-end applications because SQL is a very powerful language... > SWAG based on working extensively with VB.Net and speculating. Sorry, what SWAG means? > Given > that the next version of Access may not be available for a year or so > and is bound to have problems at first, I think something that could > be used now and with versions earlier than 2003 (which has its own > problems!) is entirely sensible. Agreed! :) Thank you for your approval of my expectations in this area! Shamil ----- Original Message ----- From: "Charlotte Foust" To: "Access Developers discussion and problem solving" Sent: Thursday, August 18, 2005 4:42 AM Subject: RE: [AccessD] Disconnected MS Access cient applications.. > Shamil, > > It looks to me like that is where MS is going with .Net, so it would > be logical to take Access in that direction as well ... If they would > only consider it a development tool instead of a power user toy. I've > certainly built applications in the past using that concept with ADO > and unbound forms. (Hush, John, I don't want to hear about it!) I > think we often fall back to the built in stuff because it is quick and > easy, even though it is not necessarily efficient. MS is moving > toward XML as their datastore of choice for this kind of caching, and > it certainly works and has been fairly easy to implement since at > least Access 2000. I would expect the capability to be expanded in the > next version of Access when it starts to catch up with Word and Excel, > but that's just a SWAG based on working extensively with VB.Net and > speculating. Given that the next version of Access may not be > available for a year or so and is bound to have problems at first, I > think something that could be used now and with versions earlier than > 2003 (which has its own > problems!) is entirely sensible. > > Charlotte Foust > > > -----Original Message----- > From: Shamil Salakhetdinov [mailto:shamil at users.mns.ru] > Sent: Wednesday, August 17, 2005 4:29 PM > To: !DBA-MAIN > Subject: [AccessD] Disconnected MS Access cient applications.. > > > Hi All, > > I wanted to ask you - what about the subject? > Anybody uses/interested to use MS Access client applications this way? > > Do I miss obvious (RTFM) stuff and such a disconnected mode is already > implemented in MS Access and broadly used by MS Access developers? > Yes, I know ADO recordsets can be used with bound MS Access forms etc. > but this looks like a rather limited feature - am I wrong? > > What I mean is cashing data locally into mdbs, only the data needed > for the currently open form(s) etc., processing this data and then > updating backend database(mdb, MSDE, MS SQL, whatever...) - with all > this cashing and updating made mostly automatically by a tiny > framework code, based on ADO.NET...(yes, this local caching of data is > not a new subject but nowadays it can be (re-)implement really > scalable way with a way less efforts than > before) > > Maybe MS plans to do something like that? > > Is that a wheel reinvention or anybody here sees such opportunity like > a really useful feature in their real life projects? > > For me it looks like a useful feature because it could help: to get MS > Access back into mainstream development area because it will allow to > easily scale applications with MS Access front-ends... > > There are many other ideas but most of them in this "ideas pool" based > on the subject one - if it doesn't make sense for real-life projects > then I'd better stop working on it... > > What is your opinion about the subject? > When you expect MS will do something like that in MS Access? > > Thank you, > Shamil > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From accessd at shaw.ca Thu Aug 18 12:40:25 2005 From: accessd at shaw.ca (Jim Lawrence) Date: Thu, 18 Aug 2005 10:40:25 -0700 Subject: [AccessD] Disconnected MS Access cient applications.. In-Reply-To: <002001c5a3ea$66b59c60$6401a8c0@fincomplex.spb.ru> Message-ID: <0ILF00G64IFD9M@l-daemon> Hi Shamil: It looks very interesting. Wonder what object was referenced in Access to allow access to FrameWorks' ADO.Net library. Jim -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Shamil Salakhetdinov Sent: Thursday, August 18, 2005 4:46 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Disconnected MS Access cient applications.. No, William, this is not replication - here is what I mean in short: http://www.smsconsulting.spb.ru/shamil_s/articles/ddo.htm Shamil ----- Original Message ----- From: "William Hindman" To: "Access Developers discussion and problem solving" Sent: Thursday, August 18, 2005 3:47 AM Subject: Re: [AccessD] Disconnected MS Access cient applications.. > Shamil > > ..I must be missing something ...that sounds like replication to me. > > William > > ----- Original Message ----- > From: "Shamil Salakhetdinov" > To: "!DBA-MAIN" > Sent: Wednesday, August 17, 2005 7:28 PM > Subject: [AccessD] Disconnected MS Access cient applications.. > > > > Hi All, > > > > I wanted to ask you - what about the subject? > > Anybody uses/interested to use MS Access client applications this way? > > > > Do I miss obvious (RTFM) stuff and such a disconnected mode is already > > implemented in MS Access and broadly used by MS Access developers? Yes, I > > know ADO recordsets can be used with bound MS Access forms etc. but this > > looks like a rather limited feature - am I wrong? > > > > What I mean is cashing data locally into mdbs, only the data needed for > > the > > currently open form(s) etc., processing this data and then updating > > backend > > database(mdb, MSDE, MS SQL, whatever...) - with all this cashing and > > updating made mostly automatically by a tiny framework code, based on > > ADO.NET...(yes, this local caching of data is not a new subject but > > nowadays > > it can be (re-)implement really scalable way with a way less efforts than > > before) > > > > Maybe MS plans to do something like that? > > > > Is that a wheel reinvention or anybody here sees such opportunity like a > > really useful feature in their real life projects? > > > > For me it looks like a useful feature because it could help: to get MS > > Access back into mainstream development area because it will allow to > > easily > > scale applications with MS Access front-ends... > > > > There are many other ideas but most of them in this "ideas pool" based on > > the subject one - if it doesn't make sense for real-life projects then I'd > > better stop working on it... > > > > What is your opinion about the subject? > > When you expect MS will do something like that in MS Access? > > > > Thank you, > > Shamil > > > > -- > > AccessD mailing list > > AccessD at databaseadvisors.com > > http://databaseadvisors.com/mailman/listinfo/accessd > > Website: http://www.databaseadvisors.com > > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From shamil at users.mns.ru Thu Aug 18 13:04:12 2005 From: shamil at users.mns.ru (Shamil Salakhetdinov) Date: Thu, 18 Aug 2005 22:04:12 +0400 Subject: [AccessD] Disconnected MS Access cient applications.. References: Message-ID: <002a01c5a41f$40083bb0$6401a8c0@fincomplex.spb.ru> > but have never had time to really pursue it. Yes, the same thoughts/experience here. Finally ADO.NET and WithEvents should make it rather easy to implement... I think/plan, I will return to this subject end of the next week, hopefully with some new results to publish as public domain/open source... Meanwhile I have to finish reading two books about XP in C# and "MS Object Thinking" and make some experiments in ADO.NET and a good progress in a pending urgent project... Any ideas about directions in which to develop this small project are very welcome! Thank you for your support! Shamil ----- Original Message ----- From: "Charlotte Foust" To: "Access Developers discussion and problem solving" Sent: Thursday, August 18, 2005 9:30 PM Subject: RE: [AccessD] Disconnected MS Access cient applications.. > Not interesting, Shamil, FASCINATING! Yes, I do hope you continue this > thread. Please! I've often thought of this kind of thing but have > never had time to really pursue it. > > Charlotte Foust > > > -----Original Message----- > From: Shamil Salakhetdinov [mailto:shamil at users.mns.ru] > Sent: Thursday, August 18, 2005 10:02 AM > To: Access Developers discussion and problem solving > Subject: Re: [AccessD] Disconnected MS Access cient applications.. > > > Charlotte, > > Your means you're interested in continuation of this > subject/thread or...? In my plans is to extend and make all the source > code available. How soon it will happen this is an open question - I > have an urgent project here. But I do plan to continue this thread and > work if this looks interesting for you and others here. Maybe even make > it open source project here when first useful results will be achieved? > It would be interesting I guess to make it also XP(eXtreme Programming) > style work with your being subject area expert - I mean your best > knowing in what scenarios and in what business areas is the best to use > MS Access in bound but disconnected mode with most of the software (MS > Access FE > databases) developed by power users but integrated by "mighty MS Access > developers"? :) > > I know how to do all that, I know how to make MS Access applications > assembly factories etc. - I have all that experience and I can share it > if/when I will have spare time - is that interesting? > > Shamil > > > ----- Original Message ----- > From: "Charlotte Foust" > To: "Access Developers discussion and problem solving" > > Sent: Thursday, August 18, 2005 7:35 PM > Subject: RE: [AccessD] Disconnected MS Access cient applications.. > > > > Oooohhh, I think I'm in love! > > > > Charlotte Foust > > > > > > -----Original Message----- > > From: Shamil Salakhetdinov [mailto:shamil at users.mns.ru] > > Sent: Thursday, August 18, 2005 4:46 AM > > To: Access Developers discussion and problem solving > > Subject: Re: [AccessD] Disconnected MS Access cient applications.. > > > > > > No, William, this is not replication - here is what I mean in short: > > > > http://www.smsconsulting.spb.ru/shamil_s/articles/ddo.htm > > > > Shamil > > > > ----- Original Message ----- > > From: "William Hindman" > > To: "Access Developers discussion and problem solving" > > > > Sent: Thursday, August 18, 2005 3:47 AM > > Subject: Re: [AccessD] Disconnected MS Access cient applications.. > > > > > > > Shamil > > > > > > ..I must be missing something ...that sounds like replication to me. > > > > > > William > > > > > > ----- Original Message ----- > > > From: "Shamil Salakhetdinov" > > > To: "!DBA-MAIN" > > > Sent: Wednesday, August 17, 2005 7:28 PM > > > Subject: [AccessD] Disconnected MS Access cient applications.. > > > > > > > > > > Hi All, > > > > > > > > I wanted to ask you - what about the subject? > > > > Anybody uses/interested to use MS Access client applications this > > > > way? > > > > > > > > Do I miss obvious (RTFM) stuff and such a disconnected mode is > > > > already implemented in MS Access and broadly used by MS Access > > > > developers? Yes, > > I > > > > know ADO recordsets can be used with bound MS Access forms etc. > > > > but this looks like a rather limited feature - am I wrong? > > > > > > > > What I mean is cashing data locally into mdbs, only the data > > > > needed for the currently open form(s) etc., processing this data > > > > and then updating backend database(mdb, MSDE, MS SQL, whatever...) > > > > > - with all this cashing and updating made mostly automatically by > > > > a tiny framework code, based > > on > > > > ADO.NET...(yes, this local caching of data is not a new subject > > > > but nowadays it can be (re-)implement really scalable way with a > > > > way less efforts > > than > > > > before) > > > > > > > > Maybe MS plans to do something like that? > > > > > > > > Is that a wheel reinvention or anybody here sees such opportunity > > > > like a really useful feature in their real life projects? > > > > > > > > For me it looks like a useful feature because it could help: to > > > > get MS Access back into mainstream development area because it > > > > will allow to easily scale applications with MS Access > > > > front-ends... > > > > > > > > There are many other ideas but most of them in this "ideas pool" > > > > based > > on > > > > the subject one - if it doesn't make sense for real-life projects > > > > then > > I'd > > > > better stop working on it... > > > > > > > > What is your opinion about the subject? > > > > When you expect MS will do something like that in MS Access? > > > > > > > > Thank you, > > > > Shamil > > > > > > > > -- > > > > AccessD mailing list > > > > AccessD at databaseadvisors.com > > > > http://databaseadvisors.com/mailman/listinfo/accessd > > > > Website: http://www.databaseadvisors.com > > > > > > > -- > > > AccessD mailing list > > > AccessD at databaseadvisors.com > > > http://databaseadvisors.com/mailman/listinfo/accessd > > > Website: http://www.databaseadvisors.com > > > > -- > > AccessD mailing list > > AccessD at databaseadvisors.com > > http://databaseadvisors.com/mailman/listinfo/accessd > > Website: http://www.databaseadvisors.com > > -- > > AccessD mailing list > > AccessD at databaseadvisors.com > > http://databaseadvisors.com/mailman/listinfo/accessd > > Website: http://www.databaseadvisors.com > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > 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 Thu Aug 18 13:01:43 2005 From: artful at rogers.com (Arthur Fuller) Date: Thu, 18 Aug 2005 14:01:43 -0400 Subject: [AccessD] Storing Files in Directories In-Reply-To: Message-ID: <200508181801.j7II1oR20260@databaseadvisors.com> The current client has distinct preferences about how files ought to be stored. A client has 1:M projects. A project has 1:M assessments. An assessment concerns exactly one workstation. The resulting document must come out reflecting all workstations involved in said project for said client (this part is trivial). The client app's native directory is c:\MyClient. The subdir for said reports is c:\MyClient\reports. The client wants me to create a dir for each project and then plant the related documents in said project-subdir. This says to me that the Client table contains a directory name, and that the ClientProjects table also contains a directory name, and that given project 12356 I concatenate the above two values, plus the unique identifier, and create a file called "c:\MyClient\HerClient\Reports\" & Unique_ID & ".doc" (the resultant docs are all Word files). 1. I have so far created the said doc from a template: no problems there. But I would like also to supply the concatenated filename so that a simple click on the Save button causes the file to be saved. (I should mention that the docs spit out by the Access app _always_ require editing; else we would simply dump an Access report.) Given that the client is CharlotteFoust and that her docs get sent to c:\MyClient\HerClient\CharlotteFoust, then I want Word to realize that the created document should be called "c:\MyClient\HerClient\CharlotteFoust\" & Unique_ID & ".doc" -- and placed in subdir (create if required) Project 20050818. I don't want the user to have to name the file. I want that to have already been done, so she can click Save after her edits and that's that. Had I been granted the discretion to design this particular model, I would not have chosen this path. That however is not the issue. The issue is that the client and her employees want to do it this way. Advice, guidance, assaults on the model, all gratefully accepted. From DWUTKA at marlow.com Thu Aug 18 13:05:22 2005 From: DWUTKA at marlow.com (DWUTKA at marlow.com) Date: Thu, 18 Aug 2005 13:05:22 -0500 Subject: [AccessD] Storing Files in Directories Message-ID: <123701F54509D9119A4F00D0B747349016DDAB@main2.marlow.com> Not sure where you are having problems. Code produces data, which you write to file in appropriate place (checking for existance of path...creating as necessary). File written, open file for editing in Word. File is already saved in correct place with correct name, so the default 'save' in Word will write to the same spot. Drew -----Original Message----- From: Arthur Fuller [mailto:artful at rogers.com] Sent: Thursday, August 18, 2005 1:02 PM To: 'Access Developers discussion and problem solving' Subject: [AccessD] Storing Files in Directories The current client has distinct preferences about how files ought to be stored. A client has 1:M projects. A project has 1:M assessments. An assessment concerns exactly one workstation. The resulting document must come out reflecting all workstations involved in said project for said client (this part is trivial). The client app's native directory is c:\MyClient. The subdir for said reports is c:\MyClient\reports. The client wants me to create a dir for each project and then plant the related documents in said project-subdir. This says to me that the Client table contains a directory name, and that the ClientProjects table also contains a directory name, and that given project 12356 I concatenate the above two values, plus the unique identifier, and create a file called "c:\MyClient\HerClient\Reports\" & Unique_ID & ".doc" (the resultant docs are all Word files). 1. I have so far created the said doc from a template: no problems there. But I would like also to supply the concatenated filename so that a simple click on the Save button causes the file to be saved. (I should mention that the docs spit out by the Access app _always_ require editing; else we would simply dump an Access report.) Given that the client is CharlotteFoust and that her docs get sent to c:\MyClient\HerClient\CharlotteFoust, then I want Word to realize that the created document should be called "c:\MyClient\HerClient\CharlotteFoust\" & Unique_ID & ".doc" -- and placed in subdir (create if required) Project 20050818. I don't want the user to have to name the file. I want that to have already been done, so she can click Save after her edits and that's that. Had I been granted the discretion to design this particular model, I would not have chosen this path. That however is not the issue. The issue is that the client and her employees want to do it this way. Advice, guidance, assaults on the model, all gratefully accepted. -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From shamil at users.mns.ru Thu Aug 18 13:24:15 2005 From: shamil at users.mns.ru (Shamil Salakhetdinov) Date: Thu, 18 Aug 2005 22:24:15 +0400 Subject: [AccessD] Disconnected MS Access cient applications.. References: <0ILF00G64IFD9M@l-daemon> Message-ID: <008501c5a422$1e7dee60$6401a8c0@fincomplex.spb.ru> > Wonder what object was referenced in Access to > allow access to FrameWorks' ADO.Net library I did write these objects (classes to instantiate and use these objects): DDO.Database DDO.Dataset in C# and I did put them in a Class Library. Compiled Class Library is a .NET Framework DLL. And this class library's classes and interfaces can be exposed as COM objects/interfaces using attributes and being exported in a COM type library - these are called COM Callable Wrappers (CCW) . Therefore they can be used from MS Access VBA as COM objects. This is well known and rather easy stuff in .NET Framework. I plan to publish all this Class Library source code and more, hopefully end of the next week... Shamil ----- Original Message ----- From: "Jim Lawrence" To: "'Access Developers discussion and problem solving'" Sent: Thursday, August 18, 2005 9:40 PM Subject: RE: [AccessD] Disconnected MS Access cient applications.. > Hi Shamil: > > It looks very interesting. Wonder what object was referenced in Access to > allow access to FrameWorks' ADO.Net library. > > Jim > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Shamil > Salakhetdinov > Sent: Thursday, August 18, 2005 4:46 AM > To: Access Developers discussion and problem solving > Subject: Re: [AccessD] Disconnected MS Access cient applications.. > > No, William, this is not replication - here is what I mean in short: > > http://www.smsconsulting.spb.ru/shamil_s/articles/ddo.htm > > Shamil > > ----- Original Message ----- > From: "William Hindman" > To: "Access Developers discussion and problem solving" > > Sent: Thursday, August 18, 2005 3:47 AM > Subject: Re: [AccessD] Disconnected MS Access cient applications.. > > > > Shamil > > > > ..I must be missing something ...that sounds like replication to me. > > > > William > > > > ----- Original Message ----- > > From: "Shamil Salakhetdinov" > > To: "!DBA-MAIN" > > Sent: Wednesday, August 17, 2005 7:28 PM > > Subject: [AccessD] Disconnected MS Access cient applications.. > > > > > > > Hi All, > > > > > > I wanted to ask you - what about the subject? > > > Anybody uses/interested to use MS Access client applications this way? > > > > > > Do I miss obvious (RTFM) stuff and such a disconnected mode is already > > > implemented in MS Access and broadly used by MS Access developers? Yes, > I > > > know ADO recordsets can be used with bound MS Access forms etc. but this > > > looks like a rather limited feature - am I wrong? > > > > > > What I mean is cashing data locally into mdbs, only the data needed for > > > the > > > currently open form(s) etc., processing this data and then updating > > > backend > > > database(mdb, MSDE, MS SQL, whatever...) - with all this cashing and > > > updating made mostly automatically by a tiny framework code, based on > > > ADO.NET...(yes, this local caching of data is not a new subject but > > > nowadays > > > it can be (re-)implement really scalable way with a way less efforts > than > > > before) > > > > > > Maybe MS plans to do something like that? > > > > > > Is that a wheel reinvention or anybody here sees such opportunity like a > > > really useful feature in their real life projects? > > > > > > For me it looks like a useful feature because it could help: to get MS > > > Access back into mainstream development area because it will allow to > > > easily > > > scale applications with MS Access front-ends... > > > > > > There are many other ideas but most of them in this "ideas pool" based > on > > > the subject one - if it doesn't make sense for real-life projects then > I'd > > > better stop working on it... > > > > > > What is your opinion about the subject? > > > When you expect MS will do something like that in MS Access? > > > > > > Thank you, > > > Shamil > > > > > > -- > > > AccessD mailing list > > > AccessD at databaseadvisors.com > > > http://databaseadvisors.com/mailman/listinfo/accessd > > > Website: http://www.databaseadvisors.com > > > > > -- > > AccessD mailing list > > AccessD at databaseadvisors.com > > http://databaseadvisors.com/mailman/listinfo/accessd > > Website: http://www.databaseadvisors.com > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > 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 Aug 18 13:23:58 2005 From: cfoust at infostatsystems.com (Charlotte Foust) Date: Thu, 18 Aug 2005 11:23:58 -0700 Subject: [AccessD] Disconnected MS Access cient applications.. Message-ID: Yes, I work with ADO.Net a lot, but in VB.Net, not Access, and I haven't even looked at C#. Most of my time is now spent in VB.Net, but I keep thinking of how nice it would be to be able to do some of these things with Access ... Like Nunit testing, for instance. Now THERE's a topic I could get excited about if someone would like to rewrite it to work with VBA ... Hint, hint, hint. ;-} Charlotte -----Original Message----- From: Shamil Salakhetdinov [mailto:shamil at users.mns.ru] Sent: Thursday, August 18, 2005 11:04 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Disconnected MS Access cient applications.. > but have never had time to really pursue it. Yes, the same thoughts/experience here. Finally ADO.NET and WithEvents should make it rather easy to implement... I think/plan, I will return to this subject end of the next week, hopefully with some new results to publish as public domain/open source... Meanwhile I have to finish reading two books about XP in C# and "MS Object Thinking" and make some experiments in ADO.NET and a good progress in a pending urgent project... Any ideas about directions in which to develop this small project are very welcome! Thank you for your support! Shamil ----- Original Message ----- From: "Charlotte Foust" To: "Access Developers discussion and problem solving" Sent: Thursday, August 18, 2005 9:30 PM Subject: RE: [AccessD] Disconnected MS Access cient applications.. > Not interesting, Shamil, FASCINATING! Yes, I do hope you continue > this thread. Please! I've often thought of this kind of thing but > have never had time to really pursue it. > > Charlotte Foust > > > -----Original Message----- > From: Shamil Salakhetdinov [mailto:shamil at users.mns.ru] > Sent: Thursday, August 18, 2005 10:02 AM > To: Access Developers discussion and problem solving > Subject: Re: [AccessD] Disconnected MS Access cient applications.. > > > Charlotte, > > Your means you're interested in continuation of this > subject/thread or...? In my plans is to extend and make all the source > code available. How soon it will happen this is an open question - I > have an urgent project here. But I do plan to continue this thread and > work if this looks interesting for you and others here. Maybe even > make it open source project here when first useful results will be > achieved? It would be interesting I guess to make it also XP(eXtreme > Programming) style work with your being subject area expert - I mean > your best knowing in what scenarios and in what business areas is the > best to use MS Access in bound but disconnected mode with most of the > software (MS Access FE > databases) developed by power users but integrated by "mighty MS > Access developers"? :) > > I know how to do all that, I know how to make MS Access applications > assembly factories etc. - I have all that experience and I can share > it if/when I will have spare time - is that interesting? > > Shamil > > > ----- Original Message ----- > From: "Charlotte Foust" > To: "Access Developers discussion and problem solving" > > Sent: Thursday, August 18, 2005 7:35 PM > Subject: RE: [AccessD] Disconnected MS Access cient applications.. > > > > Oooohhh, I think I'm in love! > > > > Charlotte Foust > > > > > > -----Original Message----- > > From: Shamil Salakhetdinov [mailto:shamil at users.mns.ru] > > Sent: Thursday, August 18, 2005 4:46 AM > > To: Access Developers discussion and problem solving > > Subject: Re: [AccessD] Disconnected MS Access cient applications.. > > > > > > No, William, this is not replication - here is what I mean in short: > > > > http://www.smsconsulting.spb.ru/shamil_s/articles/ddo.htm > > > > Shamil > > > > ----- Original Message ----- > > From: "William Hindman" > > To: "Access Developers discussion and problem solving" > > > > Sent: Thursday, August 18, 2005 3:47 AM > > Subject: Re: [AccessD] Disconnected MS Access cient applications.. > > > > > > > Shamil > > > > > > ..I must be missing something ...that sounds like replication to > > > me. > > > > > > William > > > > > > ----- Original Message ----- > > > From: "Shamil Salakhetdinov" > > > To: "!DBA-MAIN" > > > Sent: Wednesday, August 17, 2005 7:28 PM > > > Subject: [AccessD] Disconnected MS Access cient applications.. > > > > > > > > > > Hi All, > > > > > > > > I wanted to ask you - what about the subject? > > > > Anybody uses/interested to use MS Access client applications > > > > this way? > > > > > > > > Do I miss obvious (RTFM) stuff and such a disconnected mode is > > > > already implemented in MS Access and broadly used by MS Access > > > > developers? Yes, > > I > > > > know ADO recordsets can be used with bound MS Access forms etc. > > > > but this looks like a rather limited feature - am I wrong? > > > > > > > > What I mean is cashing data locally into mdbs, only the data > > > > needed for the currently open form(s) etc., processing this data > > > > and then updating backend database(mdb, MSDE, MS SQL, > > > > whatever...) > > > > > - with all this cashing and updating made mostly automatically > > > > by a tiny framework code, based > > on > > > > ADO.NET...(yes, this local caching of data is not a new subject > > > > but nowadays it can be (re-)implement really scalable way with a > > > > way less efforts > > than > > > > before) > > > > > > > > Maybe MS plans to do something like that? > > > > > > > > Is that a wheel reinvention or anybody here sees such > > > > opportunity like a really useful feature in their real life > > > > projects? > > > > > > > > For me it looks like a useful feature because it could help: to > > > > get MS Access back into mainstream development area because it > > > > will allow to easily scale applications with MS Access > > > > front-ends... > > > > > > > > There are many other ideas but most of them in this "ideas pool" > > > > based > > on > > > > the subject one - if it doesn't make sense for real-life > > > > projects then > > I'd > > > > better stop working on it... > > > > > > > > What is your opinion about the subject? > > > > When you expect MS will do something like that in MS Access? > > > > > > > > Thank you, > > > > Shamil > > > > > > > > -- > > > > AccessD mailing list > > > > AccessD at databaseadvisors.com > > > > http://databaseadvisors.com/mailman/listinfo/accessd > > > > Website: http://www.databaseadvisors.com > > > > > > > -- > > > AccessD mailing list > > > AccessD at databaseadvisors.com > > > http://databaseadvisors.com/mailman/listinfo/accessd > > > Website: http://www.databaseadvisors.com > > > > -- > > AccessD mailing list > > AccessD at databaseadvisors.com > > http://databaseadvisors.com/mailman/listinfo/accessd > > Website: http://www.databaseadvisors.com > > -- > > AccessD mailing list > > AccessD at databaseadvisors.com > > http://databaseadvisors.com/mailman/listinfo/accessd > > Website: http://www.databaseadvisors.com > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > 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 Thu Aug 18 13:25:44 2005 From: artful at rogers.com (Arthur Fuller) Date: Thu, 18 Aug 2005 14:25:44 -0400 Subject: [AccessD] OT(?): Big Design Up Front (BDUF) vs. XP any comments, ideas, experience? In-Reply-To: <009401c5a418$6a77e5a0$6401a8c0@fincomplex.spb.ru> Message-ID: <200508181825.j7IIPjR26281@databaseadvisors.com> Good reply, Shamil. I am not a fanatic (at least I don't think so LOL), but I AM very big on BDUF -- this opinion qualified by the realization (as captured in a famous N.A. ad wherein the guy tells you that GoodYear does tires but now tune-ups as well. So we are caught between rock and roll and and a hard disk: by the time you write the software, the company is in a new business. No doubt about it, this happens! And more than once to me. So the architecture has to be something like the correct way to design a house: you should be able to add rooms at any moment without destroying the scheme. Your next child might be triplets, which would in time radically alter the design of your home. Without wanting to lead this thread too far astray, I will mention that my two principal influences in software design are Moshe Safde and Zakir Hussain, the former the architect who designed Habitat and many other great buildings, the latter probably the greatest tabla player who has ever lived. Both are into highest-level improvisation, working from a basic set of rules that can combine in thousands of ways. Habitat, IMO, is one of the greatest edifices ever built. And Zakir, in the realm of music and more specifically drumming, is without parallel. These two men are the goalposts of my software ambitions. So perhaps you may think that I am contradicting myself, but I don't see it that way. Architecture locked in space and time is dead. It must be as fluid as improvised music -- and more importantly to this discussion, so must software. Software must be designed with the anticipation that you will have another child next year, and be ready to bend and fold and otherwise enhance said child's life. If we have to rewrite, the design was wrong. We should simply accommodate, adding a new bedroom if required but not changing the structure of the house and neither betraying its aesthetics. This is not simple to do. I appreciate that. I mention it as my goal not my resume. Now and then I have come close. That is the best I can say. I am neither Safde nor Hussain. Look at Habitat. Listen to Track 3 on the first Shakti CD. These are my goalposts. Arthur -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Shamil Salakhetdinov Sent: August 18, 2005 1:15 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] OT(?): Big Design Up Front (BDUF) vs. XP any comments,ideas, experience? <<< I am _way_ big on BDUF! Avoid coding until the last possible moment -- that's my motto. >>> Arthur, but what you described and you said "it worked brilliantly" - this is more XP than anything else, isn't it? Yes, I understand you're writing specs and you do a lot of upfront design - it may happen it's not needed to do them that much upfront? I'm not XP advocate (yet) - I'm just learning it and yet to see really big projects developed this way but my feelings are that it's very promising and it should give higher percent of positive results than BDUF does give - 60% of projects fail, many go a way out of budget etc. - these are statistics... No, I do not want to make "BDUF vs. XP" yet another "religious" debate here - I'm trying to find my best way "in between" of these two working approaches by sharing my experience and by acquiring yours... Shamil ----- Original Message ----- From: "Arthur Fuller" To: "'Access Developers discussion and problem solving'" Sent: Thursday, August 18, 2005 8:21 PM Subject: RE: [AccessD] OT(?): Big Design Up Front (BDUF) vs. XP any comments,ideas, experience? > About a decade ago I headed a development team for an insurance company. > Half the job was to take some mainframe programmers and acquaint them with > PC development tools and best practices. XP was not a big thing then, but I > improvised an approximation of it at that time. I started with 2 > programmers, and had them sit with me as I coded. They were learning lots of > things at once -- syntax, editor keystrokes, shortcuts, etc. At first I was > moving so quickly that they couldn't even see what I was doing (particularly > in the editor itself), but a few explanations and we were over that hump. > The hardest thing to teach them was "1 proc does exactly one thing"... No, > upon reflection, the hardest thing to teach them was "avoid coding until the > last possible moment." The first two programmers then took on a programmer > each and repeated the "semester", as it were, and then those two took on a > programmer each. By the end of the project, we had a team of capable > programmers, and we stuck to the rule of "two programmers per keyboard" all > the way through the project. It worked brilliantly -- about equivalent to > debugging while writing the code. The second programmer might watch the > first start a recursive routine and say, "Hey, wait, let's break it out into > two routines and avoid the recursion problems." They might kick it around > for a bit before choosing one or the other approach, and also document why > they elected that choice. > > I am _way_ big on BDUF! Avoid coding until the last possible moment -- > that's my motto. I started out as a cowboy coder, but no more. I spend a > _lot_ of time db-design tools such as DeZign, and I don't even begin > creating sample data until I've been through about 3 revisions of the given > DB design. Then I write use-cases describing each function the software must > perform, using English not pseudo-code -- in fact, I have learned to avoid > any specific references to tables, and instead to write such statements as, > "When the user selects a product and quantity she wishes to buy, place a > 5-minute hold on that quantity. When the user's credit card payment is > authorized, deplete inventory by the specified quantity and remove the > hold." > > Once the DB design is finalized, and the purpose of each table, view, sproc > and UDF described, then even a relatively new hire can take the spec > described above and implement it easily. In the example I gave, there are > the following steps: > > 1. Obtain the product ID and desired quantity > 2. Check to see said quantity exists (we'll sidestep the issue of > back-orders for now). > 3. Place a hold on said quantity, with a timer mechanism of some sort (SQL > Server is great at this, much better than an Access timer). > 4. Obtain the credit card info, fire it off and check the return status. > 5. If the payment went through, deplete the quantity available. > 6. Remove the hold. > > Each of these steps can be reduced to exactly one procedure. You (as > manager) could even assign each step to a different programmer. So long as > the DB design is solid, there should be no issues. > > I haven't read either book you mentioned, but I'll put them on my list of > things to read. > > Arthur > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Shamil > Salakhetdinov > Sent: August 18, 2005 5:50 AM > To: !DBA-MAIN > Subject: [AccessD] OT(?): Big Design Up Front (BDUF) vs. XP any > comments,ideas, experience? > > Hi All, > > I've got this this today from JoelOnSoftware subscription list: > > <<<<<< > "As I worked through the screens that would be needed to allow > either party to initiate the process, I realized that Aardvark > would be just as useful, and radically simpler, if the helper > was required to start the whole process. Making this change in > the spec took an hour or two. If we had made this change in code, > it would have added weeks to the schedule. I can't tell you how > strongly I believe in Big Design Up Front, which the proponents > of Extreme Programming consider anathema. I have consistently > saved time and made better products by using BDUF and I'm proud > to use it, no matter what the XP fanatics claim. They're just > wrong on this point and I can't be any clearer than that." > > - From my latest article: > > The Project Aardvark Spec > http://www.joelonsoftware.com/articles/AardvarkSpec.html > >>>>> > No comments. > > It happened that I'm currently reading: > > "Microsoft Object Thinking" > by David West > ISBN:0735619654 > Microsoft Press C 2004 > > and > > "Extreme Programming Adventures in C# " > by Ron Jeffries > ISBN:0735619492 > Microsoft Press C 2004 > > These two books are from Microsoft Press and they have a lot of useful > information on eXterme Programming, Unit Testing and Classical(Behavioral) > vs. currently existing in most implementations "real life" UML-based(RUP) > OOD&P. > > When MS Press publishes books on such more computer-science than > used in real life projects subjects then they are very probably "cultivating > the ground" for the soon to become true "dreams". (I remember I watched a > movie "Microsoft, Year 2004"(form MS of course) somewhere in year 1995 or > so - and as I see now their by that time science-fiction is now real-life, > exactly in year 2004-2005. > > I must say I impressed with both books (and there are just a few technical > books I liked because most of them are just "chewing" MSDN or other docs > without almost any new ideas). > The more I read them the more I like them and I see a lot of sense in what > is written in them and I see a lot of my own ideas and experience are there > too. I'm glad my thinking is in the mainstream (of course what they say is > much more elaborated and thought through and based on their own rich > experience). > > So my guess/thinking is that XP, Unit Testing and Behavioral (Extreme) > OOD&P are becoming mainstream for real-life development of the projects of > any size - in fact as authors of these books state (based on their > experience) that the stuff they are writing about is the "only" agile way > to solve the challenges of nowadays customers and projects requests. And > they are not fanatics I think - they base their writing on deep analysis of > all the previous 50 years experience in software development and not only in > software - "Microsoft Object Thinking" is more philosophical than > technical book and it has quotes from Plato (year 400 B.C.) - these quotes > are used to explain how to "attack" complicated/vague projects' > requirements... > > > What do you think about the subject and related issues? > > Do we need Access/VBA Unit Testing added here - > http://opensourcetesting.org/unit_misc.php (Open source tools for software > testing professionals) - it can be done - does it make sense? > > Shamil > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From cyx5 at cdc.gov Thu Aug 18 13:24:30 2005 From: cyx5 at cdc.gov (Nicholson, Karen) Date: Thu, 18 Aug 2005 14:24:30 -0400 Subject: [AccessD] Storing Files in Directories Message-ID: This is code that I have to create directories and then move files into the directories. My TN number is my unique identifier which creates a unique directory if needed. How are you grabbing your unique file name? Looks like a date. How about Date and Time so you don't get duplicate file names? Private Function fcnMakeDestFolder(vTNNum As Variant) As Boolean On Error GoTo ErrorHandler Dim fsoDir As Object Dim strMsgText As String strMsgText = "Creating Final Project Destination Folder" DoCmd.OpenForm "Status Display", , , , acFormReadOnly, acDialog, strMsgText 'Check and/or create the manufacturer basic folder structure Set fsoDir = CreateObject("Scripting.FileSystemObject") If Not fsoDir.FolderExists(cProjects & strMfrCode) Then fsoDir.CreateFolder (cProjects & strMfrCode) End If If Not fsoDir.FolderExists(cProjects & strMfrCode & "\Approved") Then fsoDir.CreateFolder (cProjects & strMfrCode & "\Approved") End If If Not fsoDir.FolderExists(cProjects & strMfrCode & "\Unapproved") Then fsoDir.CreateFolder (cProjects & strMfrCode & "\Unapproved") End If If Not fsoDir.FolderExists(cProjects & strMfrCode & "\Post Approval") Then fsoDir.CreateFolder (cProjects & strMfrCode & "\Post Approval") End If 'Now create the new folder If Not fsoDir.FolderExists(cProjects & strMfrCode & "\TN" & Format(vTNNum, "000000")) Then fsoDir.CreateFolder (cProjects & strMfrCode & "\TN" & Format(vTNNum, "000000")) End If 'Finally move all of the files from the standard application directory 'to the newly created folder. strMsgText = "Moving Project To Final Project Destination Folder" DoCmd.OpenForm "Status Display", , , , acFormReadOnly, acDialog, strMsgText If fcnCopyFolders(cStdDir, cProjects & strMfrCode & "\TN" & Format(vTNNum, "000000")) Then fcnMakeDestFolder = True Else fcnMakeDestFolder = False End If ProcExit: If Not fsoDir Is Nothing Then Set fsoDir = Nothing End If Exit Function ErrorHandler: MsgBox "The following error has occured:" & vbCrLf & _ "Error Number: " & Err.Number & vbCrLf & _ "Description: " & Err.Description & vbCrLf & _ "Please contact the DEIMS system administrator with this information.", vbOKOnly + vbCritical, _ "Standard Application: Function Make Destination Folder" fcnMakeDestFolder = False GoTo ProcExit End Function '***************** This is the function fcnCopyFolders Public Function fcnCopyFolders(strFolderName As String, strStdDir As String) As Boolean On Error GoTo ErrorHandler 'Declare Local Variables Dim fsoDir As Object, fsoSearchDir As Object Dim Folder As Object, SubFolders As Object, SubFolder As Object Set fsoDir = CreateObject("Scripting.FileSystemObject") Set Folder = fsoDir.GetFolder(strFolderName) Set SubFolders = Folder.SubFolders 'Copy all of the subfolder objects to the standard directory If SubFolders.Count <> 0 Then For Each SubFolder In SubFolders fsoDir.CopyFile SubFolder.Path & "\*.*", strStdDir Next SubFolder End If 'Copy all of the main folder objects to the standard directory fsoDir.CopyFile strFolderName & "\*.*", strStdDir fcnCopyFolders = True Exit Function ErrorHandler: fcnCopyFolders = False End Function -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Arthur Fuller Sent: Thursday, August 18, 2005 2:02 PM To: 'Access Developers discussion and problem solving' Subject: [AccessD] Storing Files in Directories The current client has distinct preferences about how files ought to be stored. A client has 1:M projects. A project has 1:M assessments. An assessment concerns exactly one workstation. The resulting document must come out reflecting all workstations involved in said project for said client (this part is trivial). The client app's native directory is c:\MyClient. The subdir for said reports is c:\MyClient\reports. The client wants me to create a dir for each project and then plant the related documents in said project-subdir. This says to me that the Client table contains a directory name, and that the ClientProjects table also contains a directory name, and that given project 12356 I concatenate the above two values, plus the unique identifier, and create a file called "c:\MyClient\HerClient\Reports\" & Unique_ID & ".doc" (the resultant docs are all Word files). 1. I have so far created the said doc from a template: no problems there. But I would like also to supply the concatenated filename so that a simple click on the Save button causes the file to be saved. (I should mention that the docs spit out by the Access app _always_ require editing; else we would simply dump an Access report.) Given that the client is CharlotteFoust and that her docs get sent to c:\MyClient\HerClient\CharlotteFoust, then I want Word to realize that the created document should be called "c:\MyClient\HerClient\CharlotteFoust\" & Unique_ID & ".doc" -- and placed in subdir (create if required) Project 20050818. I don't want the user to have to name the file. I want that to have already been done, so she can click Save after her edits and that's that. Had I been granted the discretion to design this particular model, I would not have chosen this path. That however is not the issue. The issue is that the client and her employees want to do it this way. Advice, guidance, assaults on the model, all gratefully accepted. -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From martyconnelly at shaw.ca Thu Aug 18 13:32:56 2005 From: martyconnelly at shaw.ca (MartyConnelly) Date: Thu, 18 Aug 2005 11:32:56 -0700 Subject: [AccessD] copy string to clipboard References: <011801c5a40e$c9819fa0$6c7aa8c0@ColbyM6805> Message-ID: <4304D458.6080109@shaw.ca> Long way around for a shortcut. But this might not be so safe. 'set reference to FM20.dll in windows/system32 'MS Forms 2.0 Object Library function getclipboard() as string Dim dobD As DataObject Dim strS As String Set dobD = New DataObject dobD.GetFromClipboard strS = dobD.GetText 'or put in formatted see object browser ' dobD.SetText ("Huh??") ' dobD.PutInClipboard Debug.Print strS getclipboard= strS Set dobD = Nothing End Sub John W. Colby wrote: >>I've even got a simple class to take care of text to and from the clipboard >> >> > > >And of course, so do I now, thanks to you. This is what makes this >group great. > >John W. Colby >www.ColbyConsulting.com > >Contribute your unused CPU cycles to a good cause: >http://folding.stanford.edu/ > >-----Original Message----- >From: accessd-bounces at databaseadvisors.com >[mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Heenan, Lambert >Sent: Thursday, August 18, 2005 12:03 PM >To: 'Access Developers discussion and problem solving' >Subject: RE: [AccessD] copy string to clipboard > > > >-----Original Message----- >From: accessd-bounces at databaseadvisors.com >[mailto:accessd-bounces at databaseadvisors.com] On Behalf Of John W. Colby >Sent: Thursday, August 18, 2005 11:00 AM >To: 'Access Developers discussion and problem solving' >Subject: RE: [AccessD] copy string to clipboard > > >Where is the matching ClipGetText? > >John W. Colby >www.ColbyConsulting.com > >------------------------ >It's another simple API call... > >Private Declare Function GetClipboardData Lib "user32" (ByVal wFormat As >Long) As Long > >I've even got a simple class to take care of text to and from the clipboard > > >'*************************** clsClipBoard ************* > >Option Compare Database >Option Explicit > > > >' Obtaining Clipboard Data using API >' (needed for VBA since no Clipboard Object) -- can also paste the data to a >control ' ************************************************************* > >' ******* Place following in declarations ********* >Private Declare Function OpenClipboard Lib "user32" (ByVal hWnd As Long) As >Long Private Declare Function CloseClipboard Lib "user32" () As Long Private >Declare Function EmptyClipboard Lib "user32" () As Long Private Declare >Function SetClipboardData Lib "user32" (ByVal wFormat As Long, ByVal hMem As >Long) As Long Private Declare Function GetClipboardData Lib "user32" (ByVal >wFormat As >Long) As Long >Private Declare Function GlobalAlloc Lib "kernel32" (ByVal wFlags&, ByVal >dwBytes As Long) As Long Private Declare Function GlobalLock Lib "kernel32" >(ByVal hMem As Long) As Long Private Declare Function GlobalUnlock Lib >"kernel32" (ByVal hMem As Long) As Long Private Declare Function GlobalSize >Lib "kernel32" (ByVal hMem As Long) As Long Private Declare Function lstrcpy >Lib "kernel32" (ByVal lpString1 As Any, ByVal lpString2 As Any) As Long > >Const GHND = &H42 >Const CF_TEXT = 1 >Const MAXSIZE = 4096 > >Function GetTextData() As String > Dim hClipMemory As Long > Dim lpClipMemory As Long > Dim MyString As String > Dim RetVal As Long > > If OpenClipboard(0&) = 0 Then > MsgBox "Cannot open Clipboard. Another app. may have it open", , >"Clipboard" > > Exit Function > End If > > ' Obtain the handle to the global memory > ' block that is referencing the text. > hClipMemory = GetClipboardData(CF_TEXT) > If IsNull(hClipMemory) Then > MsgBox "Could not allocate memory", , "Clipboard" > Else > > ' Lock Clipboard memory so we can reference > ' the actual data string. > lpClipMemory = GlobalLock(hClipMemory) > > If Not IsNull(lpClipMemory) Then > > MyString = SPACE$(MAXSIZE) > RetVal = lstrcpy(MyString, lpClipMemory) > RetVal = GlobalUnlock(hClipMemory) > > ' Peel off the null terminating character. > MyString = uMid(MyString, 1, InStr(1, MyString, Chr$(0), 0) - 1) > Else > MsgBox "Could not lock memory to copy string from.", , "Clipboard" > End If > > End If > > RetVal = CloseClipboard() > GetTextData = MyString > >End Function > >Sub SetTextData(MyString As String) > Dim hGlobalMemory As Long, lpGlobalMemory As Long > Dim hClipMemory As Long, x As Long > > ' Allocate movable global memory. > '------------------------------------------- > hGlobalMemory = GlobalAlloc(GHND, Len(MyString) + 1) > > ' Lock the block to get a far pointer > ' to this memory. > lpGlobalMemory = GlobalLock(hGlobalMemory) > > ' Copy the string to this global memory. > lpGlobalMemory = lstrcpy(lpGlobalMemory, MyString) > > ' Unlock the memory. > If GlobalUnlock(hGlobalMemory) <> 0 Then > MsgBox "Could not unlock memory location. Copy aborted.", , >"Clipboard" > Else > ' Open the Clipboard to copy data to. > If OpenClipboard(0&) = 0 Then > MsgBox "Could not open the Clipboard. Copy aborted.", , "Clipboard" > Exit Sub > End If > > ' Clear the Clipboard. > x = EmptyClipboard() > > ' Copy the data to the Clipboard. > hClipMemory = SetClipboardData(CF_TEXT, hGlobalMemory) > End If > > If CloseClipboard() = 0 Then > MsgBox "Could not close Clipboard.", , "Clipboard" > End If > >End Sub > >'******************************************** > > -- Marty Connelly Victoria, B.C. Canada From shamil at users.mns.ru Thu Aug 18 13:48:09 2005 From: shamil at users.mns.ru (Shamil Salakhetdinov) Date: Thu, 18 Aug 2005 22:48:09 +0400 Subject: [AccessD] Disconnected MS Access cient applications.. References: Message-ID: <002101c5a429$00e15930$6401a8c0@fincomplex.spb.ru> > Like Nunit testing, for instance. Now THERE's a topic I > could get excited about if someone would like to rewrite it to work with > VBA ... So, you wanted JUnit/NUnit ideas ported to MS Access/VBA? We're thinking in the same direction :) Do you think it could be broadly used? (VBA is getting "dead" language?) Yes, VBA/Access Unit testing can be done several ways. I'd use open source NUnit sources for starters.... Rough estimation: not that much work - one/a couple of months - anybody to sponsor? :) What about NDoc(http://ndoc.sourceforge.net/) ? Also wanted to port it to VBA? - no problem - any sponsors? :) Shamil ----- Original Message ----- From: "Charlotte Foust" To: "Access Developers discussion and problem solving" Sent: Thursday, August 18, 2005 10:23 PM Subject: RE: [AccessD] Disconnected MS Access cient applications.. > Yes, I work with ADO.Net a lot, but in VB.Net, not Access, and I haven't > even looked at C#. Most of my time is now spent in VB.Net, but I keep > thinking of how nice it would be to be able to do some of these things > with Access ... Like Nunit testing, for instance. Now THERE's a topic I > could get excited about if someone would like to rewrite it to work with > VBA ... Hint, hint, hint. ;-} > > Charlotte > > > -----Original Message----- > From: Shamil Salakhetdinov [mailto:shamil at users.mns.ru] > Sent: Thursday, August 18, 2005 11:04 AM > To: Access Developers discussion and problem solving > Subject: Re: [AccessD] Disconnected MS Access cient applications.. > > > > but have never had time to really pursue it. > Yes, the same thoughts/experience here. > Finally ADO.NET and WithEvents should make it rather easy to > implement... > > I think/plan, I will return to this subject end of the next week, > hopefully with some new results to publish as public domain/open > source... > > Meanwhile I have to finish reading two books about XP in C# and "MS > Object Thinking" and make some experiments in ADO.NET and a good > progress in a pending urgent project... > > Any ideas about directions in which to develop this small project are > very welcome! > > Thank you for your support! > > Shamil > > > ----- Original Message ----- > From: "Charlotte Foust" > To: "Access Developers discussion and problem solving" > > Sent: Thursday, August 18, 2005 9:30 PM > Subject: RE: [AccessD] Disconnected MS Access cient applications.. > > > > Not interesting, Shamil, FASCINATING! Yes, I do hope you continue > > this thread. Please! I've often thought of this kind of thing but > > have never had time to really pursue it. > > > > Charlotte Foust > > > > > > -----Original Message----- > > From: Shamil Salakhetdinov [mailto:shamil at users.mns.ru] > > Sent: Thursday, August 18, 2005 10:02 AM > > To: Access Developers discussion and problem solving > > Subject: Re: [AccessD] Disconnected MS Access cient applications.. > > > > > > Charlotte, > > > > Your means you're interested in continuation of this > > subject/thread or...? In my plans is to extend and make all the source > > > code available. How soon it will happen this is an open question - I > > have an urgent project here. But I do plan to continue this thread and > > > work if this looks interesting for you and others here. Maybe even > > make it open source project here when first useful results will be > > achieved? It would be interesting I guess to make it also XP(eXtreme > > Programming) style work with your being subject area expert - I mean > > your best knowing in what scenarios and in what business areas is the > > best to use MS Access in bound but disconnected mode with most of the > > software (MS Access FE > > databases) developed by power users but integrated by "mighty MS > > Access developers"? :) > > > > I know how to do all that, I know how to make MS Access applications > > assembly factories etc. - I have all that experience and I can share > > it if/when I will have spare time - is that interesting? > > > > Shamil > > > > > > ----- Original Message ----- > > From: "Charlotte Foust" > > To: "Access Developers discussion and problem solving" > > > > Sent: Thursday, August 18, 2005 7:35 PM > > Subject: RE: [AccessD] Disconnected MS Access cient applications.. > > > > > > > Oooohhh, I think I'm in love! > > > > > > Charlotte Foust > > > > > > > > > -----Original Message----- > > > From: Shamil Salakhetdinov [mailto:shamil at users.mns.ru] > > > Sent: Thursday, August 18, 2005 4:46 AM > > > To: Access Developers discussion and problem solving > > > Subject: Re: [AccessD] Disconnected MS Access cient applications.. > > > > > > > > > No, William, this is not replication - here is what I mean in short: > > > > > > http://www.smsconsulting.spb.ru/shamil_s/articles/ddo.htm > > > > > > Shamil > > > > > > ----- Original Message ----- > > > From: "William Hindman" > > > To: "Access Developers discussion and problem solving" > > > > > > Sent: Thursday, August 18, 2005 3:47 AM > > > Subject: Re: [AccessD] Disconnected MS Access cient applications.. > > > > > > > > > > Shamil > > > > > > > > ..I must be missing something ...that sounds like replication to > > > > me. > > > > > > > > William > > > > > > > > ----- Original Message ----- > > > > From: "Shamil Salakhetdinov" > > > > To: "!DBA-MAIN" > > > > Sent: Wednesday, August 17, 2005 7:28 PM > > > > Subject: [AccessD] Disconnected MS Access cient applications.. > > > > > > > > > > > > > Hi All, > > > > > > > > > > I wanted to ask you - what about the subject? > > > > > Anybody uses/interested to use MS Access client applications > > > > > this way? > > > > > > > > > > Do I miss obvious (RTFM) stuff and such a disconnected mode is > > > > > already implemented in MS Access and broadly used by MS Access > > > > > developers? Yes, > > > I > > > > > know ADO recordsets can be used with bound MS Access forms etc. > > > > > but this looks like a rather limited feature - am I wrong? > > > > > > > > > > What I mean is cashing data locally into mdbs, only the data > > > > > needed for the currently open form(s) etc., processing this data > > > > > > and then updating backend database(mdb, MSDE, MS SQL, > > > > > whatever...) > > > > > > > - with all this cashing and updating made mostly automatically > > > > > by a tiny framework code, based > > > on > > > > > ADO.NET...(yes, this local caching of data is not a new subject > > > > > but nowadays it can be (re-)implement really scalable way with a > > > > > > way less efforts > > > than > > > > > before) > > > > > > > > > > Maybe MS plans to do something like that? > > > > > > > > > > Is that a wheel reinvention or anybody here sees such > > > > > opportunity like a really useful feature in their real life > > > > > projects? > > > > > > > > > > For me it looks like a useful feature because it could help: to > > > > > get MS Access back into mainstream development area because it > > > > > will allow to easily scale applications with MS Access > > > > > front-ends... > > > > > > > > > > There are many other ideas but most of them in this "ideas pool" > > > > > > based > > > on > > > > > the subject one - if it doesn't make sense for real-life > > > > > projects then > > > I'd > > > > > better stop working on it... > > > > > > > > > > What is your opinion about the subject? > > > > > When you expect MS will do something like that in MS Access? > > > > > > > > > > Thank you, > > > > > Shamil > > > > > > > > > > -- > > > > > AccessD mailing list > > > > > AccessD at databaseadvisors.com > > > > > http://databaseadvisors.com/mailman/listinfo/accessd > > > > > Website: http://www.databaseadvisors.com > > > > > > > > > -- > > > > AccessD mailing list > > > > AccessD at databaseadvisors.com > > > > http://databaseadvisors.com/mailman/listinfo/accessd > > > > Website: http://www.databaseadvisors.com > > > > > > -- > > > AccessD mailing list > > > AccessD at databaseadvisors.com > > > http://databaseadvisors.com/mailman/listinfo/accessd > > > Website: http://www.databaseadvisors.com > > > -- > > > AccessD mailing list > > > AccessD at databaseadvisors.com > > > http://databaseadvisors.com/mailman/listinfo/accessd > > > Website: http://www.databaseadvisors.com > > > > -- > > AccessD mailing list > > AccessD at databaseadvisors.com > > http://databaseadvisors.com/mailman/listinfo/accessd > > Website: http://www.databaseadvisors.com > > -- > > AccessD mailing list > > AccessD at databaseadvisors.com > > http://databaseadvisors.com/mailman/listinfo/accessd > > Website: http://www.databaseadvisors.com > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com From shamil at users.mns.ru Thu Aug 18 14:13:20 2005 From: shamil at users.mns.ru (Shamil Salakhetdinov) Date: Thu, 18 Aug 2005 23:13:20 +0400 Subject: [AccessD] OT(?): Big Design Up Front (BDUF) vs. XP any comments, ideas, experience? References: <200508181825.j7IIPjR26281@databaseadvisors.com> Message-ID: <002201c5a429$0121bd90$6401a8c0@fincomplex.spb.ru> > Both are into highest-level improvisation, working from a basic set of rules > that can combine in thousands of ways. XP DOES base its core practices on improvisation and basic set of proven rules/patterns, which can be combined in thousand ways! And it's well known that high level improvisation is "1% inspiration, and 99% perspiration."... > So perhaps you may think that I am contradicting myself, but I don't see > it that way Yes :) > If we have to rewrite, the design was wrong. We should > simply accommodate, adding a new bedroom if required but not changing the > structure of the house and neither betraying its aesthetics. I think that XP and true Classical (Behavioral) OOD&P gurus have knowledge and experience I, mere mortal, still to try to get acquired and used in my practice. They do state the way they work will not create any problems with adapting software to the constantly changing business and customer requirements. They do have experience in real life projects with very impressive results - read the book "MS Object Thinking"... Just think - they create low coupled, highly cohesive (with a few exposed methods) "interlligent" objects. These objects are independent and they just react predicted way (because their functionality is unit tested "to death") on external signals/messages. They subsribe to/know about/react on only the known for them signals/messages. They do use proven design patterns to combine all that stuff.... The often methaphor they use to explain how this system works is a traffic light on crossroad and cars and pedestrians - they are all independent - they just react on traffic light signals - and this system works very well... > Look at Habitat. Listen to Track 3 on the first Shakti CD. These are my > goalposts. Will do, thanks! Shamil ----- Original Message ----- From: "Arthur Fuller" To: "'Access Developers discussion and problem solving'" Sent: Thursday, August 18, 2005 10:25 PM Subject: RE: [AccessD] OT(?): Big Design Up Front (BDUF) vs. XP any comments,ideas, experience? > Good reply, Shamil. I am not a fanatic (at least I don't think so LOL), but > I AM very big on BDUF -- this opinion qualified by the realization (as > captured in a famous N.A. ad wherein the guy tells you that GoodYear does > tires but now tune-ups as well. So we are caught between rock and roll and > and a hard disk: by the time you write the software, the company is in a new > business. No doubt about it, this happens! And more than once to me. > > So the architecture has to be something like the correct way to design a > house: you should be able to add rooms at any moment without destroying the > scheme. Your next child might be triplets, which would in time radically > alter the design of your home. > > Without wanting to lead this thread too far astray, I will mention that my > two principal influences in software design are Moshe Safde and Zakir > Hussain, the former the architect who designed Habitat and many other great > buildings, the latter probably the greatest tabla player who has ever lived. > Both are into highest-level improvisation, working from a basic set of rules > that can combine in thousands of ways. Habitat, IMO, is one of the greatest > edifices ever built. And Zakir, in the realm of music and more specifically > drumming, is without parallel. These two men are the goalposts of my > software ambitions. > > So perhaps you may think that I am contradicting myself, but I don't see it > that way. Architecture locked in space and time is dead. It must be as fluid > as improvised music -- and more importantly to this discussion, so must > software. Software must be designed with the anticipation that you will have > another child next year, and be ready to bend and fold and otherwise enhance > said child's life. If we have to rewrite, the design was wrong. We should > simply accommodate, adding a new bedroom if required but not changing the > structure of the house and neither betraying its aesthetics. > > This is not simple to do. I appreciate that. I mention it as my goal not my > resume. Now and then I have come close. That is the best I can say. I am > neither Safde nor Hussain. > > Look at Habitat. Listen to Track 3 on the first Shakti CD. These are my > goalposts. > > Arthur > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Shamil > Salakhetdinov > Sent: August 18, 2005 1:15 PM > To: Access Developers discussion and problem solving > Subject: Re: [AccessD] OT(?): Big Design Up Front (BDUF) vs. XP any > comments,ideas, experience? > > <<< > I am _way_ big on BDUF! Avoid coding until the last possible moment -- > that's my motto. > >>> > Arthur, but what you described and you said "it worked brilliantly" - this > is more XP than anything else, isn't it? > > Yes, I understand you're writing specs and you do a lot of upfront design - > it may happen it's not needed to do them that much upfront? > I'm not XP advocate (yet) - I'm just learning it and yet to see really big > projects developed this way but my feelings are that it's very promising and > it should give higher percent of positive results than BDUF does give - 60% > of projects fail, many go a way out of budget etc. - these are > statistics... > > No, I do not want to make "BDUF vs. XP" yet another "religious" debate > here - I'm trying to find my best way "in between" of these two working > approaches by sharing my experience and by acquiring yours... > > Shamil > > ----- Original Message ----- > From: "Arthur Fuller" > To: "'Access Developers discussion and problem solving'" > > Sent: Thursday, August 18, 2005 8:21 PM > Subject: RE: [AccessD] OT(?): Big Design Up Front (BDUF) vs. XP any > comments,ideas, experience? > > > > About a decade ago I headed a development team for an insurance company. > > Half the job was to take some mainframe programmers and acquaint them with > > PC development tools and best practices. XP was not a big thing then, but > I > > improvised an approximation of it at that time. I started with 2 > > programmers, and had them sit with me as I coded. They were learning lots > of > > things at once -- syntax, editor keystrokes, shortcuts, etc. At first I > was > > moving so quickly that they couldn't even see what I was doing > (particularly > > in the editor itself), but a few explanations and we were over that hump. > > The hardest thing to teach them was "1 proc does exactly one thing"... No, > > upon reflection, the hardest thing to teach them was "avoid coding until > the > > last possible moment." The first two programmers then took on a programmer > > each and repeated the "semester", as it were, and then those two took on a > > programmer each. By the end of the project, we had a team of capable > > programmers, and we stuck to the rule of "two programmers per keyboard" > all > > the way through the project. It worked brilliantly -- about equivalent to > > debugging while writing the code. The second programmer might watch the > > first start a recursive routine and say, "Hey, wait, let's break it out > into > > two routines and avoid the recursion problems." They might kick it around > > for a bit before choosing one or the other approach, and also document why > > they elected that choice. > > > > I am _way_ big on BDUF! Avoid coding until the last possible moment -- > > that's my motto. I started out as a cowboy coder, but no more. I spend a > > _lot_ of time db-design tools such as DeZign, and I don't even begin > > creating sample data until I've been through about 3 revisions of the > given > > DB design. Then I write use-cases describing each function the software > must > > perform, using English not pseudo-code -- in fact, I have learned to avoid > > any specific references to tables, and instead to write such statements > as, > > "When the user selects a product and quantity she wishes to buy, place a > > 5-minute hold on that quantity. When the user's credit card payment is > > authorized, deplete inventory by the specified quantity and remove the > > hold." > > > > Once the DB design is finalized, and the purpose of each table, view, > sproc > > and UDF described, then even a relatively new hire can take the spec > > described above and implement it easily. In the example I gave, there are > > the following steps: > > > > 1. Obtain the product ID and desired quantity > > 2. Check to see said quantity exists (we'll sidestep the issue of > > back-orders for now). > > 3. Place a hold on said quantity, with a timer mechanism of some sort (SQL > > Server is great at this, much better than an Access timer). > > 4. Obtain the credit card info, fire it off and check the return status. > > 5. If the payment went through, deplete the quantity available. > > 6. Remove the hold. > > > > Each of these steps can be reduced to exactly one procedure. You (as > > manager) could even assign each step to a different programmer. So long as > > the DB design is solid, there should be no issues. > > > > I haven't read either book you mentioned, but I'll put them on my list of > > things to read. > > > > Arthur > > > > -----Original Message----- > > From: accessd-bounces at databaseadvisors.com > > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Shamil > > Salakhetdinov > > Sent: August 18, 2005 5:50 AM > > To: !DBA-MAIN > > Subject: [AccessD] OT(?): Big Design Up Front (BDUF) vs. XP any > > comments,ideas, experience? > > > > Hi All, > > > > I've got this this today from JoelOnSoftware subscription list: > > > > <<<<<< > > "As I worked through the screens that would be needed to allow > > either party to initiate the process, I realized that Aardvark > > would be just as useful, and radically simpler, if the helper > > was required to start the whole process. Making this change in > > the spec took an hour or two. If we had made this change in code, > > it would have added weeks to the schedule. I can't tell you how > > strongly I believe in Big Design Up Front, which the proponents > > of Extreme Programming consider anathema. I have consistently > > saved time and made better products by using BDUF and I'm proud > > to use it, no matter what the XP fanatics claim. They're just > > wrong on this point and I can't be any clearer than that." > > > > - From my latest article: > > > > The Project Aardvark Spec > > http://www.joelonsoftware.com/articles/AardvarkSpec.html > > >>>>> > > No comments. > > > > It happened that I'm currently reading: > > > > "Microsoft Object Thinking" > > by David West > > ISBN:0735619654 > > Microsoft Press C 2004 > > > > and > > > > "Extreme Programming Adventures in C# " > > by Ron Jeffries > > ISBN:0735619492 > > Microsoft Press C 2004 > > > > These two books are from Microsoft Press and they have a lot of useful > > information on eXterme Programming, Unit Testing and Classical(Behavioral) > > vs. currently existing in most implementations "real life" UML-based(RUP) > > OOD&P. > > > > When MS Press publishes books on such more computer-science than > > used in real life projects subjects then they are very probably > "cultivating > > the ground" for the soon to become true "dreams". (I remember I watched a > > movie "Microsoft, Year 2004"(form MS of course) somewhere in year 1995 or > > so - and as I see now their by that time science-fiction is now real-life, > > exactly in year 2004-2005. > > > > I must say I impressed with both books (and there are just a few technical > > books I liked because most of them are just "chewing" MSDN or other docs > > without almost any new ideas). > > The more I read them the more I like them and I see a lot of sense in what > > is written in them and I see a lot of my own ideas and experience are > there > > too. I'm glad my thinking is in the mainstream (of course what they say > is > > much more elaborated and thought through and based on their own rich > > experience). > > > > So my guess/thinking is that XP, Unit Testing and Behavioral (Extreme) > > OOD&P are becoming mainstream for real-life development of the projects of > > any size - in fact as authors of these books state (based on their > > experience) that the stuff they are writing about is the "only" agile way > > to solve the challenges of nowadays customers and projects requests. And > > they are not fanatics I think - they base their writing on deep analysis > of > > all the previous 50 years experience in software development and not only > in > > software - "Microsoft Object Thinking" is more philosophical than > > technical book and it has quotes from Plato (year 400 B.C.) - these quotes > > are used to explain how to "attack" complicated/vague projects' > > requirements... > > > > > > What do you think about the subject and related issues? > > > > Do we need Access/VBA Unit Testing added here - > > http://opensourcetesting.org/unit_misc.php (Open source tools for software > > testing professionals) - it can be done - does it make sense? > > > > Shamil > > > > -- > > AccessD mailing list > > AccessD at databaseadvisors.com > > http://databaseadvisors.com/mailman/listinfo/accessd > > Website: http://www.databaseadvisors.com > > > > -- > > AccessD mailing list > > AccessD at databaseadvisors.com > > http://databaseadvisors.com/mailman/listinfo/accessd > > Website: http://www.databaseadvisors.com > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com From jwcolby at colbyconsulting.com Thu Aug 18 14:23:06 2005 From: jwcolby at colbyconsulting.com (John W. Colby) Date: Thu, 18 Aug 2005 15:23:06 -0400 Subject: [AccessD] Disconnected MS Access cient applications.. In-Reply-To: <002101c5a429$00e15930$6401a8c0@fincomplex.spb.ru> Message-ID: <012501c5a42a$42856fb0$6c7aa8c0@ColbyM6805> Shamil, Do you use Ndoc? I was just about to post a question on how to figure that out and tie it in to my VB.Net projects. John W. Colby www.ColbyConsulting.com Contribute your unused CPU cycles to a good cause: http://folding.stanford.edu/ -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Shamil Salakhetdinov Sent: Thursday, August 18, 2005 2:48 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Disconnected MS Access cient applications.. > Like Nunit testing, for instance. Now THERE's a topic I could get > excited about if someone would like to rewrite it to work with VBA ... So, you wanted JUnit/NUnit ideas ported to MS Access/VBA? We're thinking in the same direction :) Do you think it could be broadly used? (VBA is getting "dead" language?) Yes, VBA/Access Unit testing can be done several ways. I'd use open source NUnit sources for starters.... Rough estimation: not that much work - one/a couple of months - anybody to sponsor? :) What about NDoc(http://ndoc.sourceforge.net/) ? Also wanted to port it to VBA? - no problem - any sponsors? :) Shamil ----- Original Message ----- From: "Charlotte Foust" To: "Access Developers discussion and problem solving" Sent: Thursday, August 18, 2005 10:23 PM Subject: RE: [AccessD] Disconnected MS Access cient applications.. > Yes, I work with ADO.Net a lot, but in VB.Net, not Access, and I > haven't even looked at C#. Most of my time is now spent in VB.Net, > but I keep thinking of how nice it would be to be able to do some of > these things with Access ... Like Nunit testing, for instance. Now > THERE's a topic I could get excited about if someone would like to > rewrite it to work with VBA ... Hint, hint, hint. ;-} > > Charlotte > > > -----Original Message----- > From: Shamil Salakhetdinov [mailto:shamil at users.mns.ru] > Sent: Thursday, August 18, 2005 11:04 AM > To: Access Developers discussion and problem solving > Subject: Re: [AccessD] Disconnected MS Access cient applications.. > > > > but have never had time to really pursue it. > Yes, the same thoughts/experience here. > Finally ADO.NET and WithEvents should make it rather easy to > implement... > > I think/plan, I will return to this subject end of the next week, > hopefully with some new results to publish as public domain/open > source... > > Meanwhile I have to finish reading two books about XP in C# and "MS > Object Thinking" and make some experiments in ADO.NET and a good > progress in a pending urgent project... > > Any ideas about directions in which to develop this small project are > very welcome! > > Thank you for your support! > > Shamil > > > ----- Original Message ----- > From: "Charlotte Foust" > To: "Access Developers discussion and problem solving" > > Sent: Thursday, August 18, 2005 9:30 PM > Subject: RE: [AccessD] Disconnected MS Access cient applications.. > > > > Not interesting, Shamil, FASCINATING! Yes, I do hope you continue > > this thread. Please! I've often thought of this kind of thing but > > have never had time to really pursue it. > > > > Charlotte Foust > > > > > > -----Original Message----- > > From: Shamil Salakhetdinov [mailto:shamil at users.mns.ru] > > Sent: Thursday, August 18, 2005 10:02 AM > > To: Access Developers discussion and problem solving > > Subject: Re: [AccessD] Disconnected MS Access cient applications.. > > > > > > Charlotte, > > > > Your means you're interested in continuation of this > > subject/thread or...? In my plans is to extend and make all the > > source > > > code available. How soon it will happen this is an open question - I > > have an urgent project here. But I do plan to continue this thread > > and > > > work if this looks interesting for you and others here. Maybe even > > make it open source project here when first useful results will be > > achieved? It would be interesting I guess to make it also XP(eXtreme > > Programming) style work with your being subject area expert - I mean > > your best knowing in what scenarios and in what business areas is > > the best to use MS Access in bound but disconnected mode with most > > of the software (MS Access FE > > databases) developed by power users but integrated by "mighty MS > > Access developers"? :) > > > > I know how to do all that, I know how to make MS Access applications > > assembly factories etc. - I have all that experience and I can share > > it if/when I will have spare time - is that interesting? > > > > Shamil > > > > > > ----- Original Message ----- > > From: "Charlotte Foust" > > To: "Access Developers discussion and problem solving" > > > > Sent: Thursday, August 18, 2005 7:35 PM > > Subject: RE: [AccessD] Disconnected MS Access cient applications.. > > > > > > > Oooohhh, I think I'm in love! > > > > > > Charlotte Foust > > > > > > > > > -----Original Message----- > > > From: Shamil Salakhetdinov [mailto:shamil at users.mns.ru] > > > Sent: Thursday, August 18, 2005 4:46 AM > > > To: Access Developers discussion and problem solving > > > Subject: Re: [AccessD] Disconnected MS Access cient applications.. > > > > > > > > > No, William, this is not replication - here is what I mean in > > > short: > > > > > > http://www.smsconsulting.spb.ru/shamil_s/articles/ddo.htm > > > > > > Shamil > > > > > > ----- Original Message ----- > > > From: "William Hindman" > > > To: "Access Developers discussion and problem solving" > > > > > > Sent: Thursday, August 18, 2005 3:47 AM > > > Subject: Re: [AccessD] Disconnected MS Access cient applications.. > > > > > > > > > > Shamil > > > > > > > > ..I must be missing something ...that sounds like replication to > > > > me. > > > > > > > > William > > > > > > > > ----- Original Message ----- > > > > From: "Shamil Salakhetdinov" > > > > To: "!DBA-MAIN" > > > > Sent: Wednesday, August 17, 2005 7:28 PM > > > > Subject: [AccessD] Disconnected MS Access cient applications.. > > > > > > > > > > > > > Hi All, > > > > > > > > > > I wanted to ask you - what about the subject? > > > > > Anybody uses/interested to use MS Access client applications > > > > > this way? > > > > > > > > > > Do I miss obvious (RTFM) stuff and such a disconnected mode is > > > > > already implemented in MS Access and broadly used by MS Access > > > > > developers? Yes, > > > I > > > > > know ADO recordsets can be used with bound MS Access forms > > > > > etc. but this looks like a rather limited feature - am I > > > > > wrong? > > > > > > > > > > What I mean is cashing data locally into mdbs, only the data > > > > > needed for the currently open form(s) etc., processing this > > > > > data > > > > > > and then updating backend database(mdb, MSDE, MS SQL, > > > > > whatever...) > > > > > > > - with all this cashing and updating made mostly automatically > > > > > by a tiny framework code, based > > > on > > > > > ADO.NET...(yes, this local caching of data is not a new > > > > > subject but nowadays it can be (re-)implement really scalable > > > > > way with a > > > > > > way less efforts > > > than > > > > > before) > > > > > > > > > > Maybe MS plans to do something like that? > > > > > > > > > > Is that a wheel reinvention or anybody here sees such > > > > > opportunity like a really useful feature in their real life > > > > > projects? > > > > > > > > > > For me it looks like a useful feature because it could help: > > > > > to get MS Access back into mainstream development area because > > > > > it will allow to easily scale applications with MS Access > > > > > front-ends... > > > > > > > > > > There are many other ideas but most of them in this "ideas > > > > > pool" > > > > > > based > > > on > > > > > the subject one - if it doesn't make sense for real-life > > > > > projects then > > > I'd > > > > > better stop working on it... > > > > > > > > > > What is your opinion about the subject? > > > > > When you expect MS will do something like that in MS Access? > > > > > > > > > > Thank you, > > > > > Shamil > > > > > > > > > > -- > > > > > AccessD mailing list > > > > > AccessD at databaseadvisors.com > > > > > http://databaseadvisors.com/mailman/listinfo/accessd > > > > > Website: http://www.databaseadvisors.com > > > > > > > > > -- > > > > AccessD mailing list > > > > AccessD at databaseadvisors.com > > > > http://databaseadvisors.com/mailman/listinfo/accessd > > > > Website: http://www.databaseadvisors.com > > > > > > -- > > > AccessD mailing list > > > AccessD at databaseadvisors.com > > > http://databaseadvisors.com/mailman/listinfo/accessd > > > Website: http://www.databaseadvisors.com > > > -- > > > AccessD mailing list > > > AccessD at databaseadvisors.com > > > http://databaseadvisors.com/mailman/listinfo/accessd > > > Website: http://www.databaseadvisors.com > > > > -- > > AccessD mailing list > > AccessD at databaseadvisors.com > > http://databaseadvisors.com/mailman/listinfo/accessd > > Website: http://www.databaseadvisors.com > > -- > > AccessD mailing list > > AccessD at databaseadvisors.com > > http://databaseadvisors.com/mailman/listinfo/accessd > > Website: http://www.databaseadvisors.com > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From shamil at users.mns.ru Thu Aug 18 14:46:42 2005 From: shamil at users.mns.ru (Shamil Salakhetdinov) Date: Thu, 18 Aug 2005 23:46:42 +0400 Subject: [AccessD] Disconnected MS Access cient applications.. References: <012501c5a42a$42856fb0$6c7aa8c0@ColbyM6805> Message-ID: <006601c5a42d$9f720320$6401a8c0@fincomplex.spb.ru> Yes, I do use it with but with C# projects. They (MS) have XML comments in VS.NET 2005's VB.NET (to be released this November?) As for VB.NET in VS.NET 2003 - I have heard there is a tool to work with XML comments in it but I don't know how good it's - this is VBCommenter - http://www.gotdotnet.com/workspaces/workspace.aspx?id=112b5449-f702-46e2-87fa-86bdf39a17dd - And it exports XML comments to be used by NDoc? I didn't check that but it's stated here: "NDoc generates class library documentation from .NET assemblies and the XML documentation files generated by the C# compiler (or with an add-on tool for VB.NET)." http://ndoc.sourceforge.net/ Sorry, I don't have any more info on NDoc - I did start to use it just last month... HTH, Shamil ----- Original Message ----- From: "John W. Colby" To: "'Access Developers discussion and problem solving'" Sent: Thursday, August 18, 2005 11:23 PM Subject: RE: [AccessD] Disconnected MS Access cient applications.. > Shamil, > > Do you use Ndoc? I was just about to post a question on how to figure that > out and tie it in to my VB.Net projects. > > John W. Colby > www.ColbyConsulting.com > > Contribute your unused CPU cycles to a good cause: > http://folding.stanford.edu/ > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Shamil > Salakhetdinov > Sent: Thursday, August 18, 2005 2:48 PM > To: Access Developers discussion and problem solving > Subject: Re: [AccessD] Disconnected MS Access cient applications.. > > > > Like Nunit testing, for instance. Now THERE's a topic I could get > > excited about if someone would like to rewrite it to work with VBA ... > So, you wanted JUnit/NUnit ideas ported to MS Access/VBA? > We're thinking in the same direction :) > Do you think it could be broadly used? (VBA is getting "dead" language?) > > Yes, VBA/Access Unit testing can be done several ways. > I'd use open source NUnit sources for starters.... > Rough estimation: not that much work - one/a couple of months - anybody to > sponsor? :) > > What about NDoc(http://ndoc.sourceforge.net/) ? > Also wanted to port it to VBA? - no problem - any sponsors? :) > > Shamil > > ----- Original Message ----- > From: "Charlotte Foust" > To: "Access Developers discussion and problem solving" > > Sent: Thursday, August 18, 2005 10:23 PM > Subject: RE: [AccessD] Disconnected MS Access cient applications.. > > > > Yes, I work with ADO.Net a lot, but in VB.Net, not Access, and I > > haven't even looked at C#. Most of my time is now spent in VB.Net, > > but I keep thinking of how nice it would be to be able to do some of > > these things with Access ... Like Nunit testing, for instance. Now > > THERE's a topic I could get excited about if someone would like to > > rewrite it to work with VBA ... Hint, hint, hint. ;-} > > > > Charlotte > > > > > > -----Original Message----- > > From: Shamil Salakhetdinov [mailto:shamil at users.mns.ru] > > Sent: Thursday, August 18, 2005 11:04 AM > > To: Access Developers discussion and problem solving > > Subject: Re: [AccessD] Disconnected MS Access cient applications.. > > > > > > > but have never had time to really pursue it. > > Yes, the same thoughts/experience here. > > Finally ADO.NET and WithEvents should make it rather easy to > > implement... > > > > I think/plan, I will return to this subject end of the next week, > > hopefully with some new results to publish as public domain/open > > source... > > > > Meanwhile I have to finish reading two books about XP in C# and "MS > > Object Thinking" and make some experiments in ADO.NET and a good > > progress in a pending urgent project... > > > > Any ideas about directions in which to develop this small project are > > very welcome! > > > > Thank you for your support! > > > > Shamil > > > > > > ----- Original Message ----- > > From: "Charlotte Foust" > > To: "Access Developers discussion and problem solving" > > > > Sent: Thursday, August 18, 2005 9:30 PM > > Subject: RE: [AccessD] Disconnected MS Access cient applications.. > > > > > > > Not interesting, Shamil, FASCINATING! Yes, I do hope you continue > > > this thread. Please! I've often thought of this kind of thing but > > > have never had time to really pursue it. > > > > > > Charlotte Foust > > > > > > > > > -----Original Message----- > > > From: Shamil Salakhetdinov [mailto:shamil at users.mns.ru] > > > Sent: Thursday, August 18, 2005 10:02 AM > > > To: Access Developers discussion and problem solving > > > Subject: Re: [AccessD] Disconnected MS Access cient applications.. > > > > > > > > > Charlotte, > > > > > > Your means you're interested in continuation of this > > > subject/thread or...? In my plans is to extend and make all the > > > source > > > > > code available. How soon it will happen this is an open question - I > > > have an urgent project here. But I do plan to continue this thread > > > and > > > > > work if this looks interesting for you and others here. Maybe even > > > make it open source project here when first useful results will be > > > achieved? It would be interesting I guess to make it also XP(eXtreme > > > Programming) style work with your being subject area expert - I mean > > > your best knowing in what scenarios and in what business areas is > > > the best to use MS Access in bound but disconnected mode with most > > > of the software (MS Access FE > > > databases) developed by power users but integrated by "mighty MS > > > Access developers"? :) > > > > > > I know how to do all that, I know how to make MS Access applications > > > assembly factories etc. - I have all that experience and I can share > > > it if/when I will have spare time - is that interesting? > > > > > > Shamil > > > > > > > > > ----- Original Message ----- > > > From: "Charlotte Foust" > > > To: "Access Developers discussion and problem solving" > > > > > > Sent: Thursday, August 18, 2005 7:35 PM > > > Subject: RE: [AccessD] Disconnected MS Access cient applications.. > > > > > > > > > > Oooohhh, I think I'm in love! > > > > > > > > Charlotte Foust > > > > > > > > > > > > -----Original Message----- > > > > From: Shamil Salakhetdinov [mailto:shamil at users.mns.ru] > > > > Sent: Thursday, August 18, 2005 4:46 AM > > > > To: Access Developers discussion and problem solving > > > > Subject: Re: [AccessD] Disconnected MS Access cient applications.. > > > > > > > > > > > > No, William, this is not replication - here is what I mean in > > > > short: > > > > > > > > http://www.smsconsulting.spb.ru/shamil_s/articles/ddo.htm > > > > > > > > Shamil > > > > > > > > ----- Original Message ----- > > > > From: "William Hindman" > > > > To: "Access Developers discussion and problem solving" > > > > > > > > Sent: Thursday, August 18, 2005 3:47 AM > > > > Subject: Re: [AccessD] Disconnected MS Access cient applications.. > > > > > > > > > > > > > Shamil > > > > > > > > > > ..I must be missing something ...that sounds like replication to > > > > > me. > > > > > > > > > > William > > > > > > > > > > ----- Original Message ----- > > > > > From: "Shamil Salakhetdinov" > > > > > To: "!DBA-MAIN" > > > > > Sent: Wednesday, August 17, 2005 7:28 PM > > > > > Subject: [AccessD] Disconnected MS Access cient applications.. > > > > > > > > > > > > > > > > Hi All, > > > > > > > > > > > > I wanted to ask you - what about the subject? > > > > > > Anybody uses/interested to use MS Access client applications > > > > > > this way? > > > > > > > > > > > > Do I miss obvious (RTFM) stuff and such a disconnected mode is > > > > > > already implemented in MS Access and broadly used by MS Access > > > > > > developers? Yes, > > > > I > > > > > > know ADO recordsets can be used with bound MS Access forms > > > > > > etc. but this looks like a rather limited feature - am I > > > > > > wrong? > > > > > > > > > > > > What I mean is cashing data locally into mdbs, only the data > > > > > > needed for the currently open form(s) etc., processing this > > > > > > data > > > > > > > > and then updating backend database(mdb, MSDE, MS SQL, > > > > > > whatever...) > > > > > > > > > - with all this cashing and updating made mostly automatically > > > > > > by a tiny framework code, based > > > > on > > > > > > ADO.NET...(yes, this local caching of data is not a new > > > > > > subject but nowadays it can be (re-)implement really scalable > > > > > > way with a > > > > > > > > way less efforts > > > > than > > > > > > before) > > > > > > > > > > > > Maybe MS plans to do something like that? > > > > > > > > > > > > Is that a wheel reinvention or anybody here sees such > > > > > > opportunity like a really useful feature in their real life > > > > > > projects? > > > > > > > > > > > > For me it looks like a useful feature because it could help: > > > > > > to get MS Access back into mainstream development area because > > > > > > it will allow to easily scale applications with MS Access > > > > > > front-ends... > > > > > > > > > > > > There are many other ideas but most of them in this "ideas > > > > > > pool" > > > > > > > > based > > > > on > > > > > > the subject one - if it doesn't make sense for real-life > > > > > > projects then > > > > I'd > > > > > > better stop working on it... > > > > > > > > > > > > What is your opinion about the subject? > > > > > > When you expect MS will do something like that in MS Access? > > > > > > > > > > > > Thank you, > > > > > > Shamil > > > > > > > > > > > > -- > > > > > > AccessD mailing list > > > > > > AccessD at databaseadvisors.com > > > > > > http://databaseadvisors.com/mailman/listinfo/accessd > > > > > > Website: http://www.databaseadvisors.com > > > > > > > > > > > -- > > > > > AccessD mailing list > > > > > AccessD at databaseadvisors.com > > > > > http://databaseadvisors.com/mailman/listinfo/accessd > > > > > Website: http://www.databaseadvisors.com > > > > > > > > -- > > > > AccessD mailing list > > > > AccessD at databaseadvisors.com > > > > http://databaseadvisors.com/mailman/listinfo/accessd > > > > Website: http://www.databaseadvisors.com > > > > -- > > > > AccessD mailing list > > > > AccessD at databaseadvisors.com > > > > http://databaseadvisors.com/mailman/listinfo/accessd > > > > Website: http://www.databaseadvisors.com > > > > > > -- > > > AccessD mailing list > > > AccessD at databaseadvisors.com > > > http://databaseadvisors.com/mailman/listinfo/accessd > > > Website: http://www.databaseadvisors.com > > > -- > > > AccessD mailing list > > > AccessD at databaseadvisors.com > > > http://databaseadvisors.com/mailman/listinfo/accessd > > > Website: http://www.databaseadvisors.com > > > > -- > > AccessD mailing list > > AccessD at databaseadvisors.com > > http://databaseadvisors.com/mailman/listinfo/accessd > > Website: http://www.databaseadvisors.com > > -- > > AccessD mailing list > > AccessD at databaseadvisors.com > > http://databaseadvisors.com/mailman/listinfo/accessd > > Website: http://www.databaseadvisors.com > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > 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 Aug 18 14:51:44 2005 From: cfoust at infostatsystems.com (Charlotte Foust) Date: Thu, 18 Aug 2005 12:51:44 -0700 Subject: [AccessD] Disconnected MS Access cient applications.. Message-ID: I don't think it would be "broadly" used because it isn't used enough now even in languages that support it, but developers who become familiar with it, would evangalize like crazy! ;-} I LOVE being able to build methods and properties in the abstract and test them extensively before I ever create a UI object that uses them. It is really an extension of spec writing, since you can easily model a spec and test to see if the results you get are the ones you expect. I've looked at the Ndoc stuff, but I am NOT a C (any flavor) programmer and don't want to become one. Charlotte -----Original Message----- From: Shamil Salakhetdinov [mailto:shamil at users.mns.ru] Sent: Thursday, August 18, 2005 11:48 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Disconnected MS Access cient applications.. > Like Nunit testing, for instance. Now THERE's a topic I could get > excited about if someone would like to rewrite it to work with VBA ... So, you wanted JUnit/NUnit ideas ported to MS Access/VBA? We're thinking in the same direction :) Do you think it could be broadly used? (VBA is getting "dead" language?) Yes, VBA/Access Unit testing can be done several ways. I'd use open source NUnit sources for starters.... Rough estimation: not that much work - one/a couple of months - anybody to sponsor? :) What about NDoc(http://ndoc.sourceforge.net/) ? Also wanted to port it to VBA? - no problem - any sponsors? :) Shamil ----- Original Message ----- From: "Charlotte Foust" To: "Access Developers discussion and problem solving" Sent: Thursday, August 18, 2005 10:23 PM Subject: RE: [AccessD] Disconnected MS Access cient applications.. > Yes, I work with ADO.Net a lot, but in VB.Net, not Access, and I > haven't even looked at C#. Most of my time is now spent in VB.Net, > but I keep thinking of how nice it would be to be able to do some of > these things with Access ... Like Nunit testing, for instance. Now > THERE's a topic I could get excited about if someone would like to > rewrite it to work with VBA ... Hint, hint, hint. ;-} > > Charlotte > > > -----Original Message----- > From: Shamil Salakhetdinov [mailto:shamil at users.mns.ru] > Sent: Thursday, August 18, 2005 11:04 AM > To: Access Developers discussion and problem solving > Subject: Re: [AccessD] Disconnected MS Access cient applications.. > > > > but have never had time to really pursue it. > Yes, the same thoughts/experience here. > Finally ADO.NET and WithEvents should make it rather easy to > implement... > > I think/plan, I will return to this subject end of the next week, > hopefully with some new results to publish as public domain/open > source... > > Meanwhile I have to finish reading two books about XP in C# and "MS > Object Thinking" and make some experiments in ADO.NET and a good > progress in a pending urgent project... > > Any ideas about directions in which to develop this small project are > very welcome! > > Thank you for your support! > > Shamil > > > ----- Original Message ----- > From: "Charlotte Foust" > To: "Access Developers discussion and problem solving" > > Sent: Thursday, August 18, 2005 9:30 PM > Subject: RE: [AccessD] Disconnected MS Access cient applications.. > > > > Not interesting, Shamil, FASCINATING! Yes, I do hope you continue > > this thread. Please! I've often thought of this kind of thing but > > have never had time to really pursue it. > > > > Charlotte Foust > > > > > > -----Original Message----- > > From: Shamil Salakhetdinov [mailto:shamil at users.mns.ru] > > Sent: Thursday, August 18, 2005 10:02 AM > > To: Access Developers discussion and problem solving > > Subject: Re: [AccessD] Disconnected MS Access cient applications.. > > > > > > Charlotte, > > > > Your means you're interested in continuation of this > > subject/thread or...? In my plans is to extend and make all the > > source > > > code available. How soon it will happen this is an open question - I > > have an urgent project here. But I do plan to continue this thread > > and > > > work if this looks interesting for you and others here. Maybe even > > make it open source project here when first useful results will be > > achieved? It would be interesting I guess to make it also XP(eXtreme > > Programming) style work with your being subject area expert - I mean > > your best knowing in what scenarios and in what business areas is > > the best to use MS Access in bound but disconnected mode with most > > of the software (MS Access FE > > databases) developed by power users but integrated by "mighty MS > > Access developers"? :) > > > > I know how to do all that, I know how to make MS Access applications > > assembly factories etc. - I have all that experience and I can share > > it if/when I will have spare time - is that interesting? > > > > Shamil > > > > > > ----- Original Message ----- > > From: "Charlotte Foust" > > To: "Access Developers discussion and problem solving" > > > > Sent: Thursday, August 18, 2005 7:35 PM > > Subject: RE: [AccessD] Disconnected MS Access cient applications.. > > > > > > > Oooohhh, I think I'm in love! > > > > > > Charlotte Foust > > > > > > > > > -----Original Message----- > > > From: Shamil Salakhetdinov [mailto:shamil at users.mns.ru] > > > Sent: Thursday, August 18, 2005 4:46 AM > > > To: Access Developers discussion and problem solving > > > Subject: Re: [AccessD] Disconnected MS Access cient applications.. > > > > > > > > > No, William, this is not replication - here is what I mean in > > > short: > > > > > > http://www.smsconsulting.spb.ru/shamil_s/articles/ddo.htm > > > > > > Shamil > > > > > > ----- Original Message ----- > > > From: "William Hindman" > > > To: "Access Developers discussion and problem solving" > > > > > > Sent: Thursday, August 18, 2005 3:47 AM > > > Subject: Re: [AccessD] Disconnected MS Access cient applications.. > > > > > > > > > > Shamil > > > > > > > > ..I must be missing something ...that sounds like replication to > > > > me. > > > > > > > > William > > > > > > > > ----- Original Message ----- > > > > From: "Shamil Salakhetdinov" > > > > To: "!DBA-MAIN" > > > > Sent: Wednesday, August 17, 2005 7:28 PM > > > > Subject: [AccessD] Disconnected MS Access cient applications.. > > > > > > > > > > > > > Hi All, > > > > > > > > > > I wanted to ask you - what about the subject? > > > > > Anybody uses/interested to use MS Access client applications > > > > > this way? > > > > > > > > > > Do I miss obvious (RTFM) stuff and such a disconnected mode is > > > > > already implemented in MS Access and broadly used by MS Access > > > > > developers? Yes, > > > I > > > > > know ADO recordsets can be used with bound MS Access forms > > > > > etc. but this looks like a rather limited feature - am I > > > > > wrong? > > > > > > > > > > What I mean is cashing data locally into mdbs, only the data > > > > > needed for the currently open form(s) etc., processing this > > > > > data > > > > > > and then updating backend database(mdb, MSDE, MS SQL, > > > > > whatever...) > > > > > > > - with all this cashing and updating made mostly automatically > > > > > by a tiny framework code, based > > > on > > > > > ADO.NET...(yes, this local caching of data is not a new > > > > > subject but nowadays it can be (re-)implement really scalable > > > > > way with a > > > > > > way less efforts > > > than > > > > > before) > > > > > > > > > > Maybe MS plans to do something like that? > > > > > > > > > > Is that a wheel reinvention or anybody here sees such > > > > > opportunity like a really useful feature in their real life > > > > > projects? > > > > > > > > > > For me it looks like a useful feature because it could help: > > > > > to get MS Access back into mainstream development area because > > > > > it will allow to easily scale applications with MS Access > > > > > front-ends... > > > > > > > > > > There are many other ideas but most of them in this "ideas > > > > > pool" > > > > > > based > > > on > > > > > the subject one - if it doesn't make sense for real-life > > > > > projects then > > > I'd > > > > > better stop working on it... > > > > > > > > > > What is your opinion about the subject? > > > > > When you expect MS will do something like that in MS Access? > > > > > > > > > > Thank you, > > > > > Shamil > > > > > > > > > > -- > > > > > AccessD mailing list > > > > > AccessD at databaseadvisors.com > > > > > http://databaseadvisors.com/mailman/listinfo/accessd > > > > > Website: http://www.databaseadvisors.com > > > > > > > > > -- > > > > AccessD mailing list > > > > AccessD at databaseadvisors.com > > > > http://databaseadvisors.com/mailman/listinfo/accessd > > > > Website: http://www.databaseadvisors.com > > > > > > -- > > > AccessD mailing list > > > AccessD at databaseadvisors.com > > > http://databaseadvisors.com/mailman/listinfo/accessd > > > Website: http://www.databaseadvisors.com > > > -- > > > AccessD mailing list > > > AccessD at databaseadvisors.com > > > http://databaseadvisors.com/mailman/listinfo/accessd > > > Website: http://www.databaseadvisors.com > > > > -- > > AccessD mailing list > > AccessD at databaseadvisors.com > > http://databaseadvisors.com/mailman/listinfo/accessd > > Website: http://www.databaseadvisors.com > > -- > > AccessD mailing list > > AccessD at databaseadvisors.com > > http://databaseadvisors.com/mailman/listinfo/accessd > > Website: http://www.databaseadvisors.com > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From jwcolby at colbyconsulting.com Thu Aug 18 15:01:57 2005 From: jwcolby at colbyconsulting.com (John W. Colby) Date: Thu, 18 Aug 2005 16:01:57 -0400 Subject: [AccessD] Disconnected MS Access cient applications.. In-Reply-To: <006601c5a42d$9f720320$6401a8c0@fincomplex.spb.ru> Message-ID: <012601c5a42f$b4751f80$6c7aa8c0@ColbyM6805> I have VS.Net 2002 and it isn't clear that it works with that. I also have VB.Net Express (2005). In either case all I know at this point is that if you comment your code in some unknown format a tool will allow you to export the comments to a help file. Sigh. So much to know, so few years remaining. John W. Colby www.ColbyConsulting.com Contribute your unused CPU cycles to a good cause: http://folding.stanford.edu/ -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Shamil Salakhetdinov Sent: Thursday, August 18, 2005 3:47 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Disconnected MS Access cient applications.. Yes, I do use it with but with C# projects. They (MS) have XML comments in VS.NET 2005's VB.NET (to be released this November?) As for VB.NET in VS.NET 2003 - I have heard there is a tool to work with XML comments in it but I don't know how good it's - this is VBCommenter - http://www.gotdotnet.com/workspaces/workspace.aspx?id=112b5449-f702-46e2-87f a-86bdf39a17dd - And it exports XML comments to be used by NDoc? I didn't check that but it's stated here: "NDoc generates class library documentation from .NET assemblies and the XML documentation files generated by the C# compiler (or with an add-on tool for VB.NET)." http://ndoc.sourceforge.net/ Sorry, I don't have any more info on NDoc - I did start to use it just last month... HTH, Shamil ----- Original Message ----- From: "John W. Colby" To: "'Access Developers discussion and problem solving'" Sent: Thursday, August 18, 2005 11:23 PM Subject: RE: [AccessD] Disconnected MS Access cient applications.. > Shamil, > > Do you use Ndoc? I was just about to post a question on how to figure that > out and tie it in to my VB.Net projects. > > John W. Colby > www.ColbyConsulting.com > > Contribute your unused CPU cycles to a good cause: > http://folding.stanford.edu/ > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Shamil > Salakhetdinov > Sent: Thursday, August 18, 2005 2:48 PM > To: Access Developers discussion and problem solving > Subject: Re: [AccessD] Disconnected MS Access cient applications.. > > > > Like Nunit testing, for instance. Now THERE's a topic I could get > > excited about if someone would like to rewrite it to work with VBA > > ... > So, you wanted JUnit/NUnit ideas ported to MS Access/VBA? We're > thinking in the same direction :) Do you think it could be broadly > used? (VBA is getting "dead" language?) > > Yes, VBA/Access Unit testing can be done several ways. > I'd use open source NUnit sources for starters.... > Rough estimation: not that much work - one/a couple of months - > anybody to > sponsor? :) > > What about NDoc(http://ndoc.sourceforge.net/) ? > Also wanted to port it to VBA? - no problem - any sponsors? :) > > Shamil > > ----- Original Message ----- > From: "Charlotte Foust" > To: "Access Developers discussion and problem solving" > > Sent: Thursday, August 18, 2005 10:23 PM > Subject: RE: [AccessD] Disconnected MS Access cient applications.. > > > > Yes, I work with ADO.Net a lot, but in VB.Net, not Access, and I > > haven't even looked at C#. Most of my time is now spent in VB.Net, > > but I keep thinking of how nice it would be to be able to do some of > > these things with Access ... Like Nunit testing, for instance. Now > > THERE's a topic I could get excited about if someone would like to > > rewrite it to work with VBA ... Hint, hint, hint. ;-} > > > > Charlotte > > > > > > -----Original Message----- > > From: Shamil Salakhetdinov [mailto:shamil at users.mns.ru] > > Sent: Thursday, August 18, 2005 11:04 AM > > To: Access Developers discussion and problem solving > > Subject: Re: [AccessD] Disconnected MS Access cient applications.. > > > > > > > but have never had time to really pursue it. > > Yes, the same thoughts/experience here. > > Finally ADO.NET and WithEvents should make it rather easy to > > implement... > > > > I think/plan, I will return to this subject end of the next week, > > hopefully with some new results to publish as public domain/open > > source... > > > > Meanwhile I have to finish reading two books about XP in C# and "MS > > Object Thinking" and make some experiments in ADO.NET and a good > > progress in a pending urgent project... > > > > Any ideas about directions in which to develop this small project > > are very welcome! > > > > Thank you for your support! > > > > Shamil > > > > > > ----- Original Message ----- > > From: "Charlotte Foust" > > To: "Access Developers discussion and problem solving" > > > > Sent: Thursday, August 18, 2005 9:30 PM > > Subject: RE: [AccessD] Disconnected MS Access cient applications.. > > > > > > > Not interesting, Shamil, FASCINATING! Yes, I do hope you continue > > > this thread. Please! I've often thought of this kind of thing > > > but have never had time to really pursue it. > > > > > > Charlotte Foust > > > > > > > > > -----Original Message----- > > > From: Shamil Salakhetdinov [mailto:shamil at users.mns.ru] > > > Sent: Thursday, August 18, 2005 10:02 AM > > > To: Access Developers discussion and problem solving > > > Subject: Re: [AccessD] Disconnected MS Access cient applications.. > > > > > > > > > Charlotte, > > > > > > Your means you're interested in continuation of this > > > subject/thread or...? In my plans is to extend and make all the > > > source > > > > > code available. How soon it will happen this is an open question - > > > I have an urgent project here. But I do plan to continue this > > > thread and > > > > > work if this looks interesting for you and others here. Maybe even > > > make it open source project here when first useful results will be > > > achieved? It would be interesting I guess to make it also > > > XP(eXtreme > > > Programming) style work with your being subject area expert - I mean > > > your best knowing in what scenarios and in what business areas is > > > the best to use MS Access in bound but disconnected mode with most > > > of the software (MS Access FE > > > databases) developed by power users but integrated by "mighty MS > > > Access developers"? :) > > > > > > I know how to do all that, I know how to make MS Access > > > applications assembly factories etc. - I have all that experience > > > and I can share it if/when I will have spare time - is that > > > interesting? > > > > > > Shamil > > > > > > > > > ----- Original Message ----- > > > From: "Charlotte Foust" > > > To: "Access Developers discussion and problem solving" > > > > > > Sent: Thursday, August 18, 2005 7:35 PM > > > Subject: RE: [AccessD] Disconnected MS Access cient applications.. > > > > > > > > > > Oooohhh, I think I'm in love! > > > > > > > > Charlotte Foust > > > > > > > > > > > > -----Original Message----- > > > > From: Shamil Salakhetdinov [mailto:shamil at users.mns.ru] > > > > Sent: Thursday, August 18, 2005 4:46 AM > > > > To: Access Developers discussion and problem solving > > > > Subject: Re: [AccessD] Disconnected MS Access cient > > > > applications.. > > > > > > > > > > > > No, William, this is not replication - here is what I mean in > > > > short: > > > > > > > > http://www.smsconsulting.spb.ru/shamil_s/articles/ddo.htm > > > > > > > > Shamil > > > > > > > > ----- Original Message ----- > > > > From: "William Hindman" > > > > To: "Access Developers discussion and problem solving" > > > > > > > > Sent: Thursday, August 18, 2005 3:47 AM > > > > Subject: Re: [AccessD] Disconnected MS Access cient > > > > applications.. > > > > > > > > > > > > > Shamil > > > > > > > > > > ..I must be missing something ...that sounds like replication > > > > > to me. > > > > > > > > > > William > > > > > > > > > > ----- Original Message ----- > > > > > From: "Shamil Salakhetdinov" > > > > > To: "!DBA-MAIN" > > > > > Sent: Wednesday, August 17, 2005 7:28 PM > > > > > Subject: [AccessD] Disconnected MS Access cient applications.. > > > > > > > > > > > > > > > > Hi All, > > > > > > > > > > > > I wanted to ask you - what about the subject? Anybody > > > > > > uses/interested to use MS Access client applications this > > > > > > way? > > > > > > > > > > > > Do I miss obvious (RTFM) stuff and such a disconnected mode > > > > > > is already implemented in MS Access and broadly used by MS > > > > > > Access developers? Yes, > > > > I > > > > > > know ADO recordsets can be used with bound MS Access forms > > > > > > etc. but this looks like a rather limited feature - am I > > > > > > wrong? > > > > > > > > > > > > What I mean is cashing data locally into mdbs, only the data > > > > > > needed for the currently open form(s) etc., processing this > > > > > > data > > > > > > > > and then updating backend database(mdb, MSDE, MS SQL, > > > > > > whatever...) > > > > > > > > > - with all this cashing and updating made mostly > > > > > > automatically by a tiny framework code, based > > > > on > > > > > > ADO.NET...(yes, this local caching of data is not a new > > > > > > subject but nowadays it can be (re-)implement really > > > > > > scalable way with a > > > > > > > > way less efforts > > > > than > > > > > > before) > > > > > > > > > > > > Maybe MS plans to do something like that? > > > > > > > > > > > > Is that a wheel reinvention or anybody here sees such > > > > > > opportunity like a really useful feature in their real life > > > > > > projects? > > > > > > > > > > > > For me it looks like a useful feature because it could help: > > > > > > to get MS Access back into mainstream development area > > > > > > because it will allow to easily scale applications with MS > > > > > > Access front-ends... > > > > > > > > > > > > There are many other ideas but most of them in this "ideas > > > > > > pool" > > > > > > > > based > > > > on > > > > > > the subject one - if it doesn't make sense for real-life > > > > > > projects then > > > > I'd > > > > > > better stop working on it... > > > > > > > > > > > > What is your opinion about the subject? > > > > > > When you expect MS will do something like that in MS Access? > > > > > > > > > > > > Thank you, > > > > > > Shamil > > > > > > > > > > > > -- > > > > > > AccessD mailing list > > > > > > AccessD at databaseadvisors.com > > > > > > http://databaseadvisors.com/mailman/listinfo/accessd > > > > > > Website: http://www.databaseadvisors.com > > > > > > > > > > > -- > > > > > AccessD mailing list > > > > > AccessD at databaseadvisors.com > > > > > http://databaseadvisors.com/mailman/listinfo/accessd > > > > > Website: http://www.databaseadvisors.com > > > > > > > > -- > > > > AccessD mailing list > > > > AccessD at databaseadvisors.com > > > > http://databaseadvisors.com/mailman/listinfo/accessd > > > > Website: http://www.databaseadvisors.com > > > > -- > > > > AccessD mailing list > > > > AccessD at databaseadvisors.com > > > > http://databaseadvisors.com/mailman/listinfo/accessd > > > > Website: http://www.databaseadvisors.com > > > > > > -- > > > AccessD mailing list > > > AccessD at databaseadvisors.com > > > http://databaseadvisors.com/mailman/listinfo/accessd > > > Website: http://www.databaseadvisors.com > > > -- > > > AccessD mailing list > > > AccessD at databaseadvisors.com > > > http://databaseadvisors.com/mailman/listinfo/accessd > > > Website: http://www.databaseadvisors.com > > > > -- > > AccessD mailing list > > AccessD at databaseadvisors.com > > http://databaseadvisors.com/mailman/listinfo/accessd > > Website: http://www.databaseadvisors.com > > -- > > AccessD mailing list > > AccessD at databaseadvisors.com > > http://databaseadvisors.com/mailman/listinfo/accessd > > Website: http://www.databaseadvisors.com > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > > > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From shamil at users.mns.ru Thu Aug 18 15:07:28 2005 From: shamil at users.mns.ru (Shamil Salakhetdinov) Date: Fri, 19 Aug 2005 00:07:28 +0400 Subject: [AccessD] OT: JFYI: XP and Wiki Founder Ward Cunningham is currently working at MS... Message-ID: <008401c5a430$810ff7e0$6401a8c0@fincomplex.spb.ru> http://www.c2.com/cgi/wiki?TipsForWardAtMicrosoft Quote from "Microsoft Object Thinking" by David West: <<< Ward Cunningham and Kent Beck Ward Cunningham is an almost mythical figure in the world of objects and extreme programming. Excepting a few papers, usually coauthored by Kent Beck, he has published little. His influence, however, has been monumental. He is considered to be the inspiration for most of the extreme programming practices, is a legendary coder and designer, and is a great mentor. Mathematicians use an "Erdos Number" as an indicator of their association with Paul Erdos, one of the most prolific and brilliant mathematicians of the past century. Erdos himself had the number 0, those who coauthored a paper with him had the number 1, coauthoring with a coauthor yielded 2, and so on. Extreme programmers are given a "Ward Number" based on pair programming with him (1), pair programming with someone who paired with him (2), and so forth. Kent Beck is to Cunningham as Plato was to Socrates-the extender of ideas, contributor in his own right, and, in an interesting parallel, the one who published. The preeminent figure in the world of extreme programming today, Beck was equally active in object programming. Although he did not publish a book on behavioral object modeling, he did publish works on programming style and idiom (for Smalltalk). Kent Beck and Ward Cunningham were a team when objects first became a hot technology, collaborating both as developers and as creative thinkers about object technology. Both will become quite familiar to the reader, as their ideas are central to many of the themes in this book. >>> Shamil From martyconnelly at shaw.ca Thu Aug 18 14:46:29 2005 From: martyconnelly at shaw.ca (MartyConnelly) Date: Thu, 18 Aug 2005 12:46:29 -0700 Subject: [AccessD] Storing Files in Directories References: <200508181801.j7II1oR20260@databaseadvisors.com> Message-ID: <4304E595.6020806@shaw.ca> I have done something similar for records management but I create the directory name structures from a table easier to maintain.. One funny is trying to delete the upper root directory if created by the program it may require a reboot to lose NFTS file handle of the root.. You may need this routine to check for illegal DOS filename characters And perhaps change spaces to underscores. If your directory filename string greater than 256, there is trouble burning to Joliet CD-ROM format. Function NameFix(NameIn As String) As String Const ILLEGAL_CHARACTERS = "/\:*?<>|""" ' = /\:*?<>|" Dim i As Integer Dim iTmp As Integer 'replaces illegal DOS filename character with an underscore NameFix = NameIn For i = 1 To Len(ILLEGAL_CHARACTERS) iTmp = InStr(1, NameFix, Mid$(ILLEGAL_CHARACTERS, i, 1)) If iTmp > 0 Then Mid$(NameFix, iTmp, 1) = "_" End If Next 'non ascii printing characters ' Just realized this code will also replace spaces with 'underscores. 'to accept spaces, change '> If iTmp < 33 Or iTmp > 126 Then to '> If iTmp < 32 Or iTmp > 126 Then For i = 1 To Len(NameFix) iTmp = Asc(Mid$(NameFix, i, 1)) If iTmp < 32 Or iTmp > 126 Then Mid$(NameFix, i, 1) = "_" End If Next End Function '============ This routine creates the directories and upper path structure if non-existant '************************************** ' Name: CreateDirectoryStruct ' Description:Creates all non-existing folders in a path. ' Local or network UNC path. ' ' Inputs:CreateThisPath as string ' 'CreateDirectoryStruct("c:\temp\c\b\a") Sub CreateDirectoryStruct(CreateThisPath As String) 'do initial check Dim ret As Boolean, temp$, ComputerName As String, IntoItCount As Integer, X%, _ WakeString As String Dim MadeIt As Integer If Dir$(CreateThisPath, vbDirectory) <> "" Then Exit Sub 'is this a network path? If Left$(CreateThisPath, 2) = "\\" Then ' this is a UNC NetworkPath 'must extract the machine name first, th ' en get to the first folder IntoItCount = 3 ComputerName = Mid$(CreateThisPath, IntoItCount, InStr(IntoItCount, _ CreateThisPath, "\") - IntoItCount) IntoItCount = IntoItCount + Len(ComputerName) + 1 IntoItCount = InStr(IntoItCount, CreateThisPath, "\") + 1 'temp = Mid$(CreateThisPath, IntoItCount ' , x) Else ' this is a regular path IntoItCount = 4 End If WakeString = Left$(CreateThisPath, IntoItCount - 1) 'start a loop through the CreateThisPath ' string Do X = InStr(IntoItCount, CreateThisPath, "\") If X <> 0 Then X = X - IntoItCount temp = Mid$(CreateThisPath, IntoItCount, X) Else temp = Mid$(CreateThisPath, IntoItCount) End If IntoItCount = IntoItCount + Len(temp) + 1 temp = WakeString + temp 'Create a directory if it doesn't alread ' y exist ret = (Dir$(temp, vbDirectory) <> "") If Not ret Then 'ret& = CreateDirectory(temp, Security) MkDir temp End If IntoItCount = IntoItCount 'track where we are in the String WakeString = Left$(CreateThisPath, IntoItCount - 1) Loop While WakeString <> CreateThisPath End Sub Arthur Fuller wrote: >The current client has distinct preferences about how files ought to be >stored. > >A client has 1:M projects. >A project has 1:M assessments. >An assessment concerns exactly one workstation. >The resulting document must come out reflecting all workstations involved in >said project for said client (this part is trivial). > >The client app's native directory is c:\MyClient. The subdir for said >reports is c:\MyClient\reports. > >The client wants me to create a dir for each project and then plant the >related documents in said project-subdir. > >This says to me that the Client table contains a directory name, and that >the ClientProjects table also contains a directory name, and that given >project 12356 I concatenate the above two values, plus the unique >identifier, and create a file called "c:\MyClient\HerClient\Reports\" & >Unique_ID & ".doc" (the resultant docs are all Word files). > >1. I have so far created the said doc from a template: no problems there. >But I would like also to supply the concatenated filename so that a simple >click on the Save button causes the file to be saved. (I should mention that >the docs spit out by the Access app _always_ require editing; else we would >simply dump an Access report.) > >Given that the client is CharlotteFoust and that her docs get sent to >c:\MyClient\HerClient\CharlotteFoust, then I want Word to realize that the >created document should be called "c:\MyClient\HerClient\CharlotteFoust\" & >Unique_ID & ".doc" -- and placed in subdir (create if required) Project >20050818. > >I don't want the user to have to name the file. I want that to have already >been done, so she can click Save after her edits and that's that. > >Had I been granted the discretion to design this particular model, I would >not have chosen this path. That however is not the issue. The issue is that >the client and her employees want to do it this way. > >Advice, guidance, assaults on the model, all gratefully accepted. > > > > -- Marty Connelly Victoria, B.C. Canada From shamil at users.mns.ru Thu Aug 18 15:30:09 2005 From: shamil at users.mns.ru (Shamil Salakhetdinov) Date: Fri, 19 Aug 2005 00:30:09 +0400 Subject: [AccessD] Disconnected MS Access cient applications.. References: Message-ID: <009101c5a433$a26b3730$6401a8c0@fincomplex.spb.ru> <<< would evangalize like crazy! ;-} >>> Exciting perspective! Anybody has money to pay for this work to accept evangelizing crowds together? :) (I'm sorry, I have no free resources and spare time right now but I'd make it implemented quickly for moderate payment after I finish the current project - somewhere middle of the next month I expect.) <<< I LOVE being able to > build methods and properties in the abstract and test them extensively > before I ever create a UI object that uses them >>> Yes, this is one of XP's core ideas/methods - unit testing - and it gives a lot of confidence that developed software will be stable.... <<< It is really an extension of spec writing, since you can easily model a spec >>> Yes, and acceptance tests are getting created while you're coding.... And regression testing when new features are implemented becomes just a childish game opposed to traditional development/testing when it usually takes a lot of time... <<< > Ndoc stuff, but I am NOT a C (any flavor) programmer and don't want to > become one. >>> I don't see big difference between C# and VB.NET - they both like VB6/VBA for me:) Even easier to use them in fact - no need usually to care about grabage collection, which have to be manually done in VB6/VBA advanced programming... Just give it a try to program on C# - I guess you will need just a few days to start programming on it ... As for XML comments - they say VBCommenter can help here - http://www.gotdotnet.com/workspaces/workspace.aspx?id=112b5449-f702-46e2-87fa-86bdf39a17dd (I didn't try it). And the docs NDoc (and the like) create are very good. I think it would be very useful addition to your Unit Testing/XP pratices - to create impressive and useful program documentation while you are coding.... Shamil ----- Original Message ----- From: "Charlotte Foust" To: "Access Developers discussion and problem solving" Sent: Thursday, August 18, 2005 11:51 PM Subject: RE: [AccessD] Disconnected MS Access cient applications.. > I don't think it would be "broadly" used because it isn't used enough > now even in languages that support it, but developers who become > familiar with it, would evangalize like crazy! ;-} I LOVE being able to > build methods and properties in the abstract and test them extensively > before I ever create a UI object that uses them. It is really an > extension of spec writing, since you can easily model a spec and test to > see if the results you get are the ones you expect. I've looked at the > Ndoc stuff, but I am NOT a C (any flavor) programmer and don't want to > become one. > > Charlotte > > > -----Original Message----- > From: Shamil Salakhetdinov [mailto:shamil at users.mns.ru] > Sent: Thursday, August 18, 2005 11:48 AM > To: Access Developers discussion and problem solving > Subject: Re: [AccessD] Disconnected MS Access cient applications.. > > > > Like Nunit testing, for instance. Now THERE's a topic I could get > > excited about if someone would like to rewrite it to work with VBA ... > So, you wanted JUnit/NUnit ideas ported to MS Access/VBA? > We're thinking in the same direction :) > Do you think it could be broadly used? (VBA is getting "dead" language?) > > Yes, VBA/Access Unit testing can be done several ways. > I'd use open source NUnit sources for starters.... > Rough estimation: not that much work - one/a couple of months - anybody > to sponsor? :) > > What about NDoc(http://ndoc.sourceforge.net/) ? > Also wanted to port it to VBA? - no problem - any sponsors? :) > > Shamil > > ----- Original Message ----- > From: "Charlotte Foust" > To: "Access Developers discussion and problem solving" > > Sent: Thursday, August 18, 2005 10:23 PM > Subject: RE: [AccessD] Disconnected MS Access cient applications.. > > > > Yes, I work with ADO.Net a lot, but in VB.Net, not Access, and I > > haven't even looked at C#. Most of my time is now spent in VB.Net, > > but I keep thinking of how nice it would be to be able to do some of > > these things with Access ... Like Nunit testing, for instance. Now > > THERE's a topic I could get excited about if someone would like to > > rewrite it to work with VBA ... Hint, hint, hint. ;-} > > > > Charlotte > > > > > > -----Original Message----- > > From: Shamil Salakhetdinov [mailto:shamil at users.mns.ru] > > Sent: Thursday, August 18, 2005 11:04 AM > > To: Access Developers discussion and problem solving > > Subject: Re: [AccessD] Disconnected MS Access cient applications.. > > > > > > > but have never had time to really pursue it. > > Yes, the same thoughts/experience here. > > Finally ADO.NET and WithEvents should make it rather easy to > > implement... > > > > I think/plan, I will return to this subject end of the next week, > > hopefully with some new results to publish as public domain/open > > source... > > > > Meanwhile I have to finish reading two books about XP in C# and "MS > > Object Thinking" and make some experiments in ADO.NET and a good > > progress in a pending urgent project... > > > > Any ideas about directions in which to develop this small project are > > very welcome! > > > > Thank you for your support! > > > > Shamil > > > > > > ----- Original Message ----- > > From: "Charlotte Foust" > > To: "Access Developers discussion and problem solving" > > > > Sent: Thursday, August 18, 2005 9:30 PM > > Subject: RE: [AccessD] Disconnected MS Access cient applications.. > > > > > > > Not interesting, Shamil, FASCINATING! Yes, I do hope you continue > > > this thread. Please! I've often thought of this kind of thing but > > > have never had time to really pursue it. > > > > > > Charlotte Foust > > > > > > > > > -----Original Message----- > > > From: Shamil Salakhetdinov [mailto:shamil at users.mns.ru] > > > Sent: Thursday, August 18, 2005 10:02 AM > > > To: Access Developers discussion and problem solving > > > Subject: Re: [AccessD] Disconnected MS Access cient applications.. > > > > > > > > > Charlotte, > > > > > > Your means you're interested in continuation of this > > > subject/thread or...? In my plans is to extend and make all the > > > source > > > > > code available. How soon it will happen this is an open question - I > > > > have an urgent project here. But I do plan to continue this thread > > > and > > > > > work if this looks interesting for you and others here. Maybe even > > > make it open source project here when first useful results will be > > > achieved? It would be interesting I guess to make it also XP(eXtreme > > > Programming) style work with your being subject area expert - I mean > > > > your best knowing in what scenarios and in what business areas is > > > the best to use MS Access in bound but disconnected mode with most > > > of the software (MS Access FE > > > databases) developed by power users but integrated by "mighty MS > > > Access developers"? :) > > > > > > I know how to do all that, I know how to make MS Access applications > > > > assembly factories etc. - I have all that experience and I can share > > > > it if/when I will have spare time - is that interesting? > > > > > > Shamil > > > > > > > > > ----- Original Message ----- > > > From: "Charlotte Foust" > > > To: "Access Developers discussion and problem solving" > > > > > > Sent: Thursday, August 18, 2005 7:35 PM > > > Subject: RE: [AccessD] Disconnected MS Access cient applications.. > > > > > > > > > > Oooohhh, I think I'm in love! > > > > > > > > Charlotte Foust > > > > > > > > > > > > -----Original Message----- > > > > From: Shamil Salakhetdinov [mailto:shamil at users.mns.ru] > > > > Sent: Thursday, August 18, 2005 4:46 AM > > > > To: Access Developers discussion and problem solving > > > > Subject: Re: [AccessD] Disconnected MS Access cient applications.. > > > > > > > > > > > > No, William, this is not replication - here is what I mean in > > > > short: > > > > > > > > http://www.smsconsulting.spb.ru/shamil_s/articles/ddo.htm > > > > > > > > Shamil > > > > > > > > ----- Original Message ----- > > > > From: "William Hindman" > > > > To: "Access Developers discussion and problem solving" > > > > > > > > Sent: Thursday, August 18, 2005 3:47 AM > > > > Subject: Re: [AccessD] Disconnected MS Access cient applications.. > > > > > > > > > > > > > Shamil > > > > > > > > > > ..I must be missing something ...that sounds like replication to > > > > > > me. > > > > > > > > > > William > > > > > > > > > > ----- Original Message ----- > > > > > From: "Shamil Salakhetdinov" > > > > > To: "!DBA-MAIN" > > > > > Sent: Wednesday, August 17, 2005 7:28 PM > > > > > Subject: [AccessD] Disconnected MS Access cient applications.. > > > > > > > > > > > > > > > > Hi All, > > > > > > > > > > > > I wanted to ask you - what about the subject? > > > > > > Anybody uses/interested to use MS Access client applications > > > > > > this way? > > > > > > > > > > > > Do I miss obvious (RTFM) stuff and such a disconnected mode is > > > > > > > already implemented in MS Access and broadly used by MS Access > > > > > > > developers? Yes, > > > > I > > > > > > know ADO recordsets can be used with bound MS Access forms > > > > > > etc. but this looks like a rather limited feature - am I > > > > > > wrong? > > > > > > > > > > > > What I mean is cashing data locally into mdbs, only the data > > > > > > needed for the currently open form(s) etc., processing this > > > > > > data > > > > > > > > and then updating backend database(mdb, MSDE, MS SQL, > > > > > > whatever...) > > > > > > > > > - with all this cashing and updating made mostly automatically > > > > > > > by a tiny framework code, based > > > > on > > > > > > ADO.NET...(yes, this local caching of data is not a new > > > > > > subject but nowadays it can be (re-)implement really scalable > > > > > > way with a > > > > > > > > way less efforts > > > > than > > > > > > before) > > > > > > > > > > > > Maybe MS plans to do something like that? > > > > > > > > > > > > Is that a wheel reinvention or anybody here sees such > > > > > > opportunity like a really useful feature in their real life > > > > > > projects? > > > > > > > > > > > > For me it looks like a useful feature because it could help: > > > > > > to get MS Access back into mainstream development area because > > > > > > > it will allow to easily scale applications with MS Access > > > > > > front-ends... > > > > > > > > > > > > There are many other ideas but most of them in this "ideas > > > > > > pool" > > > > > > > > based > > > > on > > > > > > the subject one - if it doesn't make sense for real-life > > > > > > projects then > > > > I'd > > > > > > better stop working on it... > > > > > > > > > > > > What is your opinion about the subject? > > > > > > When you expect MS will do something like that in MS Access? > > > > > > > > > > > > Thank you, > > > > > > Shamil > > > > > > > > > > > > -- > > > > > > AccessD mailing list > > > > > > AccessD at databaseadvisors.com > > > > > > http://databaseadvisors.com/mailman/listinfo/accessd > > > > > > Website: http://www.databaseadvisors.com > > > > > > > > > > > -- > > > > > AccessD mailing list > > > > > AccessD at databaseadvisors.com > > > > > http://databaseadvisors.com/mailman/listinfo/accessd > > > > > Website: http://www.databaseadvisors.com > > > > > > > > -- > > > > AccessD mailing list > > > > AccessD at databaseadvisors.com > > > > http://databaseadvisors.com/mailman/listinfo/accessd > > > > Website: http://www.databaseadvisors.com > > > > -- > > > > AccessD mailing list > > > > AccessD at databaseadvisors.com > > > > http://databaseadvisors.com/mailman/listinfo/accessd > > > > Website: http://www.databaseadvisors.com > > > > > > -- > > > AccessD mailing list > > > AccessD at databaseadvisors.com > > > http://databaseadvisors.com/mailman/listinfo/accessd > > > Website: http://www.databaseadvisors.com > > > -- > > > AccessD mailing list > > > AccessD at databaseadvisors.com > > > http://databaseadvisors.com/mailman/listinfo/accessd > > > Website: http://www.databaseadvisors.com > > > > -- > > AccessD mailing list > > AccessD at databaseadvisors.com > > http://databaseadvisors.com/mailman/listinfo/accessd > > Website: http://www.databaseadvisors.com > > -- > > AccessD mailing list > > AccessD at databaseadvisors.com > > http://databaseadvisors.com/mailman/listinfo/accessd > > Website: http://www.databaseadvisors.com > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com From shamil at users.mns.ru Thu Aug 18 15:43:07 2005 From: shamil at users.mns.ru (Shamil Salakhetdinov) Date: Fri, 19 Aug 2005 00:43:07 +0400 Subject: [AccessD] Disconnected MS Access cient applications.. References: <012601c5a42f$b4751f80$6c7aa8c0@ColbyM6805> Message-ID: <009d01c5a435$79dd10c0$6401a8c0@fincomplex.spb.ru> > So much to know, so few years remaining. The same problem here :( Go C#! - just a week to start with it - and it's as high level programming language as VB6/VBA, even higher. And you will save a lot of time. And the "cutest and coolest" stuff appears first of all in .NET Framework for C#... As for VB.NET -> C# conversion I recently used one of free online tools like this one - http://www.carlosag.net/Tools/CodeTranslator/Default.aspx to convert a lot of VB.NET code. In fact I did convert last autumn a lot of VBA code to VB.NET(three big MS Excel Add-Ins) using VS.NET 2003 converter + of course manual conversion. And then this July I converted VB.NET to C# using free online tools. Quite some manual work is still needed but it's mostly mechanical. And I did spend about two months to write original VBA code of these three MS Excel add-ins VBA-> VB.NET conversion was done in a week and all worked OK. C#->VB.NET conversion - it took a couple of days and all worked OK also of course (but I didn't convert all the VB.NET code) Shamil ----- Original Message ----- From: "John W. Colby" To: "'Access Developers discussion and problem solving'" Sent: Friday, August 19, 2005 12:01 AM Subject: RE: [AccessD] Disconnected MS Access cient applications.. > I have VS.Net 2002 and it isn't clear that it works with that. I also have > VB.Net Express (2005). In either case all I know at this point is that if > you comment your code in some unknown format a tool will allow you to export > the comments to a help file. Sigh. > > So much to know, so few years remaining. > > John W. Colby > www.ColbyConsulting.com > > Contribute your unused CPU cycles to a good cause: > http://folding.stanford.edu/ > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Shamil > Salakhetdinov > Sent: Thursday, August 18, 2005 3:47 PM > To: Access Developers discussion and problem solving > Subject: Re: [AccessD] Disconnected MS Access cient applications.. > > > Yes, I do use it with but with C# projects. > > They (MS) have XML comments in VS.NET 2005's VB.NET (to be released this > November?) > > As for VB.NET in VS.NET 2003 - I have heard there is a tool to work with XML > comments in it but I don't know how good it's - this is VBCommenter - > http://www.gotdotnet.com/workspaces/workspace.aspx?id=112b5449-f702-46e2-87f > a-86bdf39a17dd - And it exports XML comments to be used by NDoc? I didn't > check that but it's stated here: > > "NDoc generates class library documentation from .NET assemblies and the XML > documentation files generated by the C# compiler (or with an add-on tool for > VB.NET)." http://ndoc.sourceforge.net/ > > Sorry, I don't have any more info on NDoc - I did start to use it just last > month... > > HTH, > Shamil > > ----- Original Message ----- > From: "John W. Colby" > To: "'Access Developers discussion and problem solving'" > > Sent: Thursday, August 18, 2005 11:23 PM > Subject: RE: [AccessD] Disconnected MS Access cient applications.. > > > > Shamil, > > > > Do you use Ndoc? I was just about to post a question on how to figure > that > > out and tie it in to my VB.Net projects. > > > > John W. Colby > > www.ColbyConsulting.com > > > > Contribute your unused CPU cycles to a good cause: > > http://folding.stanford.edu/ > > > > -----Original Message----- > > From: accessd-bounces at databaseadvisors.com > > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Shamil > > Salakhetdinov > > Sent: Thursday, August 18, 2005 2:48 PM > > To: Access Developers discussion and problem solving > > Subject: Re: [AccessD] Disconnected MS Access cient applications.. > > > > > > > Like Nunit testing, for instance. Now THERE's a topic I could get > > > excited about if someone would like to rewrite it to work with VBA > > > ... > > So, you wanted JUnit/NUnit ideas ported to MS Access/VBA? We're > > thinking in the same direction :) Do you think it could be broadly > > used? (VBA is getting "dead" language?) > > > > Yes, VBA/Access Unit testing can be done several ways. > > I'd use open source NUnit sources for starters.... > > Rough estimation: not that much work - one/a couple of months - > > anybody > to > > sponsor? :) > > > > What about NDoc(http://ndoc.sourceforge.net/) ? > > Also wanted to port it to VBA? - no problem - any sponsors? :) > > > > Shamil > > > > ----- Original Message ----- > > From: "Charlotte Foust" > > To: "Access Developers discussion and problem solving" > > > > Sent: Thursday, August 18, 2005 10:23 PM > > Subject: RE: [AccessD] Disconnected MS Access cient applications.. > > > > > > > Yes, I work with ADO.Net a lot, but in VB.Net, not Access, and I > > > haven't even looked at C#. Most of my time is now spent in VB.Net, > > > but I keep thinking of how nice it would be to be able to do some of > > > these things with Access ... Like Nunit testing, for instance. Now > > > THERE's a topic I could get excited about if someone would like to > > > rewrite it to work with VBA ... Hint, hint, hint. ;-} > > > > > > Charlotte > > > > > > > > > -----Original Message----- > > > From: Shamil Salakhetdinov [mailto:shamil at users.mns.ru] > > > Sent: Thursday, August 18, 2005 11:04 AM > > > To: Access Developers discussion and problem solving > > > Subject: Re: [AccessD] Disconnected MS Access cient applications.. > > > > > > > > > > but have never had time to really pursue it. > > > Yes, the same thoughts/experience here. > > > Finally ADO.NET and WithEvents should make it rather easy to > > > implement... > > > > > > I think/plan, I will return to this subject end of the next week, > > > hopefully with some new results to publish as public domain/open > > > source... > > > > > > Meanwhile I have to finish reading two books about XP in C# and "MS > > > Object Thinking" and make some experiments in ADO.NET and a good > > > progress in a pending urgent project... > > > > > > Any ideas about directions in which to develop this small project > > > are very welcome! > > > > > > Thank you for your support! > > > > > > Shamil > > > > > > > > > ----- Original Message ----- > > > From: "Charlotte Foust" > > > To: "Access Developers discussion and problem solving" > > > > > > Sent: Thursday, August 18, 2005 9:30 PM > > > Subject: RE: [AccessD] Disconnected MS Access cient applications.. > > > > > > > > > > Not interesting, Shamil, FASCINATING! Yes, I do hope you continue > > > > this thread. Please! I've often thought of this kind of thing > > > > but have never had time to really pursue it. > > > > > > > > Charlotte Foust > > > > > > > > > > > > -----Original Message----- > > > > From: Shamil Salakhetdinov [mailto:shamil at users.mns.ru] > > > > Sent: Thursday, August 18, 2005 10:02 AM > > > > To: Access Developers discussion and problem solving > > > > Subject: Re: [AccessD] Disconnected MS Access cient applications.. > > > > > > > > > > > > Charlotte, > > > > > > > > Your means you're interested in continuation of this > > > > subject/thread or...? In my plans is to extend and make all the > > > > source > > > > > > > code available. How soon it will happen this is an open question - > > > > I have an urgent project here. But I do plan to continue this > > > > thread and > > > > > > > work if this looks interesting for you and others here. Maybe even > > > > make it open source project here when first useful results will be > > > > achieved? It would be interesting I guess to make it also > > > > XP(eXtreme > > > > Programming) style work with your being subject area expert - I mean > > > > your best knowing in what scenarios and in what business areas is > > > > the best to use MS Access in bound but disconnected mode with most > > > > of the software (MS Access FE > > > > databases) developed by power users but integrated by "mighty MS > > > > Access developers"? :) > > > > > > > > I know how to do all that, I know how to make MS Access > > > > applications assembly factories etc. - I have all that experience > > > > and I can share it if/when I will have spare time - is that > > > > interesting? > > > > > > > > Shamil > > > > > > > > > > > > ----- Original Message ----- > > > > From: "Charlotte Foust" > > > > To: "Access Developers discussion and problem solving" > > > > > > > > Sent: Thursday, August 18, 2005 7:35 PM > > > > Subject: RE: [AccessD] Disconnected MS Access cient applications.. > > > > > > > > > > > > > Oooohhh, I think I'm in love! > > > > > > > > > > Charlotte Foust > > > > > > > > > > > > > > > -----Original Message----- > > > > > From: Shamil Salakhetdinov [mailto:shamil at users.mns.ru] > > > > > Sent: Thursday, August 18, 2005 4:46 AM > > > > > To: Access Developers discussion and problem solving > > > > > Subject: Re: [AccessD] Disconnected MS Access cient > > > > > applications.. > > > > > > > > > > > > > > > No, William, this is not replication - here is what I mean in > > > > > short: > > > > > > > > > > http://www.smsconsulting.spb.ru/shamil_s/articles/ddo.htm > > > > > > > > > > Shamil > > > > > > > > > > ----- Original Message ----- > > > > > From: "William Hindman" > > > > > To: "Access Developers discussion and problem solving" > > > > > > > > > > Sent: Thursday, August 18, 2005 3:47 AM > > > > > Subject: Re: [AccessD] Disconnected MS Access cient > > > > > applications.. > > > > > > > > > > > > > > > > Shamil > > > > > > > > > > > > ..I must be missing something ...that sounds like replication > > > > > > to me. > > > > > > > > > > > > William > > > > > > > > > > > > ----- Original Message ----- > > > > > > From: "Shamil Salakhetdinov" > > > > > > To: "!DBA-MAIN" > > > > > > Sent: Wednesday, August 17, 2005 7:28 PM > > > > > > Subject: [AccessD] Disconnected MS Access cient applications.. > > > > > > > > > > > > > > > > > > > Hi All, > > > > > > > > > > > > > > I wanted to ask you - what about the subject? Anybody > > > > > > > uses/interested to use MS Access client applications this > > > > > > > way? > > > > > > > > > > > > > > Do I miss obvious (RTFM) stuff and such a disconnected mode > > > > > > > is already implemented in MS Access and broadly used by MS > > > > > > > Access developers? Yes, > > > > > I > > > > > > > know ADO recordsets can be used with bound MS Access forms > > > > > > > etc. but this looks like a rather limited feature - am I > > > > > > > wrong? > > > > > > > > > > > > > > What I mean is cashing data locally into mdbs, only the data > > > > > > > needed for the currently open form(s) etc., processing this > > > > > > > data > > > > > > > > > > and then updating backend database(mdb, MSDE, MS SQL, > > > > > > > whatever...) > > > > > > > > > > > - with all this cashing and updating made mostly > > > > > > > automatically by a tiny framework code, based > > > > > on > > > > > > > ADO.NET...(yes, this local caching of data is not a new > > > > > > > subject but nowadays it can be (re-)implement really > > > > > > > scalable way with a > > > > > > > > > > way less efforts > > > > > than > > > > > > > before) > > > > > > > > > > > > > > Maybe MS plans to do something like that? > > > > > > > > > > > > > > Is that a wheel reinvention or anybody here sees such > > > > > > > opportunity like a really useful feature in their real life > > > > > > > projects? > > > > > > > > > > > > > > For me it looks like a useful feature because it could help: > > > > > > > to get MS Access back into mainstream development area > > > > > > > because it will allow to easily scale applications with MS > > > > > > > Access front-ends... > > > > > > > > > > > > > > There are many other ideas but most of them in this "ideas > > > > > > > pool" > > > > > > > > > > based > > > > > on > > > > > > > the subject one - if it doesn't make sense for real-life > > > > > > > projects then > > > > > I'd > > > > > > > better stop working on it... > > > > > > > > > > > > > > What is your opinion about the subject? > > > > > > > When you expect MS will do something like that in MS Access? > > > > > > > > > > > > > > Thank you, > > > > > > > Shamil > > > > > > > > > > > > > > -- > > > > > > > AccessD mailing list > > > > > > > AccessD at databaseadvisors.com > > > > > > > http://databaseadvisors.com/mailman/listinfo/accessd > > > > > > > Website: http://www.databaseadvisors.com > > > > > > > > > > > > > -- > > > > > > AccessD mailing list > > > > > > AccessD at databaseadvisors.com > > > > > > http://databaseadvisors.com/mailman/listinfo/accessd > > > > > > Website: http://www.databaseadvisors.com > > > > > > > > > > -- > > > > > AccessD mailing list > > > > > AccessD at databaseadvisors.com > > > > > http://databaseadvisors.com/mailman/listinfo/accessd > > > > > Website: http://www.databaseadvisors.com > > > > > -- > > > > > AccessD mailing list > > > > > AccessD at databaseadvisors.com > > > > > http://databaseadvisors.com/mailman/listinfo/accessd > > > > > Website: http://www.databaseadvisors.com > > > > > > > > -- > > > > AccessD mailing list > > > > AccessD at databaseadvisors.com > > > > http://databaseadvisors.com/mailman/listinfo/accessd > > > > Website: http://www.databaseadvisors.com > > > > -- > > > > AccessD mailing list > > > > AccessD at databaseadvisors.com > > > > http://databaseadvisors.com/mailman/listinfo/accessd > > > > Website: http://www.databaseadvisors.com > > > > > > -- > > > AccessD mailing list > > > AccessD at databaseadvisors.com > > > http://databaseadvisors.com/mailman/listinfo/accessd > > > Website: http://www.databaseadvisors.com > > > -- > > > AccessD mailing list > > > AccessD at databaseadvisors.com > > > http://databaseadvisors.com/mailman/listinfo/accessd > > > Website: http://www.databaseadvisors.com > > > > -- > > AccessD mailing list > > AccessD at databaseadvisors.com > > http://databaseadvisors.com/mailman/listinfo/accessd > > Website: http://www.databaseadvisors.com > > > > > > > > -- > > AccessD mailing list > > AccessD at databaseadvisors.com > > http://databaseadvisors.com/mailman/listinfo/accessd > > Website: http://www.databaseadvisors.com > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > 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 Aug 18 16:00:44 2005 From: cfoust at infostatsystems.com (Charlotte Foust) Date: Thu, 18 Aug 2005 14:00:44 -0700 Subject: [AccessD] Disconnected MS Access cient applications.. Message-ID: I'm still getting proficient at VB.Net and my object to C# is more the punctuation than anything. I am constrained to VB.Net where I work, and I don't have the energy to teach myself C# at the same time. :-{ Charlotte -----Original Message----- From: Shamil Salakhetdinov [mailto:shamil at users.mns.ru] Sent: Thursday, August 18, 2005 1:30 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Disconnected MS Access cient applications.. <<< would evangalize like crazy! ;-} >>> Exciting perspective! Anybody has money to pay for this work to accept evangelizing crowds together? :) (I'm sorry, I have no free resources and spare time right now but I'd make it implemented quickly for moderate payment after I finish the current project - somewhere middle of the next month I expect.) <<< I LOVE being able to > build methods and properties in the abstract and test them extensively > before I ever create a UI object that uses them >>> Yes, this is one of XP's core ideas/methods - unit testing - and it gives a lot of confidence that developed software will be stable.... <<< It is really an extension of spec writing, since you can easily model a spec >>> Yes, and acceptance tests are getting created while you're coding.... And regression testing when new features are implemented becomes just a childish game opposed to traditional development/testing when it usually takes a lot of time... <<< > Ndoc stuff, but I am NOT a C (any flavor) programmer and don't want > to become one. >>> I don't see big difference between C# and VB.NET - they both like VB6/VBA for me:) Even easier to use them in fact - no need usually to care about grabage collection, which have to be manually done in VB6/VBA advanced programming... Just give it a try to program on C# - I guess you will need just a few days to start programming on it ... As for XML comments - they say VBCommenter can help here - http://www.gotdotnet.com/workspaces/workspace.aspx?id=112b5449-f702-46e2 -87fa-86bdf39a17dd (I didn't try it). And the docs NDoc (and the like) create are very good. I think it would be very useful addition to your Unit Testing/XP pratices - to create impressive and useful program documentation while you are coding.... Shamil From fhtapia at gmail.com Thu Aug 18 18:10:03 2005 From: fhtapia at gmail.com (Francisco Tapia) Date: Thu, 18 Aug 2005 16:10:03 -0700 Subject: [AccessD] Opening an XML recordset Message-ID: I have an XML document that I obtain from a webservice, I was able to creat the schema and using XMLPad I can see that it is infact a valid document, (see below). However the error Message I get from Access (2000) is that "Recordset cannot be created. Source XML is incomplete or invalid." How can I make the following document a valid xml document for opening as an ado recordset, ie: rst.Open "C:\ShipVia.xml", "Provider=MSPersist;", adOpenDynamic, adLockReadOnly, adCmdFile thanks, I abbreviated the doc for simplyfing the post. 10 FED EX P1176208147 (SKINNER) -- -Francisco http://pcthis.blogspot.com |PC news with out the jargon! http://sqlthis.blogspot.com | Tsql and More... From accessd at shaw.ca Thu Aug 18 19:18:25 2005 From: accessd at shaw.ca (Jim Lawrence) Date: Thu, 18 Aug 2005 17:18:25 -0700 Subject: [AccessD] copy string to clipboard In-Reply-To: <4304D458.6080109@shaw.ca> Message-ID: <0ILG007540UO6X@l-daemon> Marty: I just do not know where you come up with all this great stuff... impressive :-) ... like many of the other awesome individuals that lurk this list. Jim -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of MartyConnelly Sent: Thursday, August 18, 2005 11:33 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] copy string to clipboard Long way around for a shortcut. But this might not be so safe. 'set reference to FM20.dll in windows/system32 'MS Forms 2.0 Object Library function getclipboard() as string Dim dobD As DataObject Dim strS As String Set dobD = New DataObject dobD.GetFromClipboard strS = dobD.GetText 'or put in formatted see object browser ' dobD.SetText ("Huh??") ' dobD.PutInClipboard Debug.Print strS getclipboard= strS Set dobD = Nothing End Sub John W. Colby wrote: >>I've even got a simple class to take care of text to and from the clipboard >> >> > > >And of course, so do I now, thanks to you. This is what makes this >group great. > >John W. Colby >www.ColbyConsulting.com > >Contribute your unused CPU cycles to a good cause: >http://folding.stanford.edu/ > >-----Original Message----- >From: accessd-bounces at databaseadvisors.com >[mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Heenan, Lambert >Sent: Thursday, August 18, 2005 12:03 PM >To: 'Access Developers discussion and problem solving' >Subject: RE: [AccessD] copy string to clipboard > > > >-----Original Message----- >From: accessd-bounces at databaseadvisors.com >[mailto:accessd-bounces at databaseadvisors.com] On Behalf Of John W. Colby >Sent: Thursday, August 18, 2005 11:00 AM >To: 'Access Developers discussion and problem solving' >Subject: RE: [AccessD] copy string to clipboard > > >Where is the matching ClipGetText? > >John W. Colby >www.ColbyConsulting.com > >------------------------ >It's another simple API call... > >Private Declare Function GetClipboardData Lib "user32" (ByVal wFormat As >Long) As Long > >I've even got a simple class to take care of text to and from the clipboard > > >'*************************** clsClipBoard ************* > >Option Compare Database >Option Explicit > > > >' Obtaining Clipboard Data using API >' (needed for VBA since no Clipboard Object) -- can also paste the data to a >control ' ************************************************************* > >' ******* Place following in declarations ********* >Private Declare Function OpenClipboard Lib "user32" (ByVal hWnd As Long) As >Long Private Declare Function CloseClipboard Lib "user32" () As Long Private >Declare Function EmptyClipboard Lib "user32" () As Long Private Declare >Function SetClipboardData Lib "user32" (ByVal wFormat As Long, ByVal hMem As >Long) As Long Private Declare Function GetClipboardData Lib "user32" (ByVal >wFormat As >Long) As Long >Private Declare Function GlobalAlloc Lib "kernel32" (ByVal wFlags&, ByVal >dwBytes As Long) As Long Private Declare Function GlobalLock Lib "kernel32" >(ByVal hMem As Long) As Long Private Declare Function GlobalUnlock Lib >"kernel32" (ByVal hMem As Long) As Long Private Declare Function GlobalSize >Lib "kernel32" (ByVal hMem As Long) As Long Private Declare Function lstrcpy >Lib "kernel32" (ByVal lpString1 As Any, ByVal lpString2 As Any) As Long > >Const GHND = &H42 >Const CF_TEXT = 1 >Const MAXSIZE = 4096 > >Function GetTextData() As String > Dim hClipMemory As Long > Dim lpClipMemory As Long > Dim MyString As String > Dim RetVal As Long > > If OpenClipboard(0&) = 0 Then > MsgBox "Cannot open Clipboard. Another app. may have it open", , >"Clipboard" > > Exit Function > End If > > ' Obtain the handle to the global memory > ' block that is referencing the text. > hClipMemory = GetClipboardData(CF_TEXT) > If IsNull(hClipMemory) Then > MsgBox "Could not allocate memory", , "Clipboard" > Else > > ' Lock Clipboard memory so we can reference > ' the actual data string. > lpClipMemory = GlobalLock(hClipMemory) > > If Not IsNull(lpClipMemory) Then > > MyString = SPACE$(MAXSIZE) > RetVal = lstrcpy(MyString, lpClipMemory) > RetVal = GlobalUnlock(hClipMemory) > > ' Peel off the null terminating character. > MyString = uMid(MyString, 1, InStr(1, MyString, Chr$(0), 0) - 1) > Else > MsgBox "Could not lock memory to copy string from.", , "Clipboard" > End If > > End If > > RetVal = CloseClipboard() > GetTextData = MyString > >End Function > >Sub SetTextData(MyString As String) > Dim hGlobalMemory As Long, lpGlobalMemory As Long > Dim hClipMemory As Long, x As Long > > ' Allocate movable global memory. > '------------------------------------------- > hGlobalMemory = GlobalAlloc(GHND, Len(MyString) + 1) > > ' Lock the block to get a far pointer > ' to this memory. > lpGlobalMemory = GlobalLock(hGlobalMemory) > > ' Copy the string to this global memory. > lpGlobalMemory = lstrcpy(lpGlobalMemory, MyString) > > ' Unlock the memory. > If GlobalUnlock(hGlobalMemory) <> 0 Then > MsgBox "Could not unlock memory location. Copy aborted.", , >"Clipboard" > Else > ' Open the Clipboard to copy data to. > If OpenClipboard(0&) = 0 Then > MsgBox "Could not open the Clipboard. Copy aborted.", , "Clipboard" > Exit Sub > End If > > ' Clear the Clipboard. > x = EmptyClipboard() > > ' Copy the data to the Clipboard. > hClipMemory = SetClipboardData(CF_TEXT, hGlobalMemory) > End If > > If CloseClipboard() = 0 Then > MsgBox "Could not close Clipboard.", , "Clipboard" > End If > >End Sub > >'******************************************** > > -- Marty Connelly Victoria, B.C. Canada -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From accessd at shaw.ca Thu Aug 18 19:29:39 2005 From: accessd at shaw.ca (Jim Lawrence) Date: Thu, 18 Aug 2005 17:29:39 -0700 Subject: [AccessD] OT: Why did Mac switch to Intel revisted In-Reply-To: Message-ID: <0ILG00CAK1DE5C@l-daemon> OT: Another reason why Mac switched? http://www.theinquirer.net/?article=25496 Jim From accessd at shaw.ca Thu Aug 18 19:15:25 2005 From: accessd at shaw.ca (Jim Lawrence) Date: Thu, 18 Aug 2005 17:15:25 -0700 Subject: [AccessD] Disconnected MS Access cient applications.. In-Reply-To: <009d01c5a435$79dd10c0$6401a8c0@fincomplex.spb.ru> Message-ID: <0ILG00BMU0POGD@l-daemon> Hi Shamil: But do not get too fancy with the code your wish to translate or it bales quite unceremoniously. Straight forward stuff works great but be careful with different references and/or 'using' assemblies. Great information Shamil :-) Jim -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Shamil Salakhetdinov Sent: Thursday, August 18, 2005 1:43 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Disconnected MS Access cient applications.. > So much to know, so few years remaining. The same problem here :( Go C#! - just a week to start with it - and it's as high level programming language as VB6/VBA, even higher. And you will save a lot of time. And the "cutest and coolest" stuff appears first of all in .NET Framework for C#... As for VB.NET -> C# conversion I recently used one of free online tools like this one - http://www.carlosag.net/Tools/CodeTranslator/Default.aspx to convert a lot of VB.NET code. In fact I did convert last autumn a lot of VBA code to VB.NET(three big MS Excel Add-Ins) using VS.NET 2003 converter + of course manual conversion. And then this July I converted VB.NET to C# using free online tools. Quite some manual work is still needed but it's mostly mechanical. And I did spend about two months to write original VBA code of these three MS Excel add-ins VBA-> VB.NET conversion was done in a week and all worked OK. C#->VB.NET conversion - it took a couple of days and all worked OK also of course (but I didn't convert all the VB.NET code) Shamil ----- Original Message ----- From: "John W. Colby" To: "'Access Developers discussion and problem solving'" Sent: Friday, August 19, 2005 12:01 AM Subject: RE: [AccessD] Disconnected MS Access cient applications.. > I have VS.Net 2002 and it isn't clear that it works with that. I also have > VB.Net Express (2005). In either case all I know at this point is that if > you comment your code in some unknown format a tool will allow you to export > the comments to a help file. Sigh. > > So much to know, so few years remaining. > > John W. Colby > www.ColbyConsulting.com > > Contribute your unused CPU cycles to a good cause: > http://folding.stanford.edu/ > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Shamil > Salakhetdinov > Sent: Thursday, August 18, 2005 3:47 PM > To: Access Developers discussion and problem solving > Subject: Re: [AccessD] Disconnected MS Access cient applications.. > > > Yes, I do use it with but with C# projects. > > They (MS) have XML comments in VS.NET 2005's VB.NET (to be released this > November?) > > As for VB.NET in VS.NET 2003 - I have heard there is a tool to work with XML > comments in it but I don't know how good it's - this is VBCommenter - > http://www.gotdotnet.com/workspaces/workspace.aspx?id=112b5449-f702-46e2-87f > a-86bdf39a17dd - And it exports XML comments to be used by NDoc? I didn't > check that but it's stated here: > > "NDoc generates class library documentation from .NET assemblies and the XML > documentation files generated by the C# compiler (or with an add-on tool for > VB.NET)." http://ndoc.sourceforge.net/ > > Sorry, I don't have any more info on NDoc - I did start to use it just last > month... > > HTH, > Shamil > > ----- Original Message ----- > From: "John W. Colby" > To: "'Access Developers discussion and problem solving'" > > Sent: Thursday, August 18, 2005 11:23 PM > Subject: RE: [AccessD] Disconnected MS Access cient applications.. > > > > Shamil, > > > > Do you use Ndoc? I was just about to post a question on how to figure > that > > out and tie it in to my VB.Net projects. > > > > John W. Colby > > www.ColbyConsulting.com > > > > Contribute your unused CPU cycles to a good cause: > > http://folding.stanford.edu/ > > > > -----Original Message----- > > From: accessd-bounces at databaseadvisors.com > > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Shamil > > Salakhetdinov > > Sent: Thursday, August 18, 2005 2:48 PM > > To: Access Developers discussion and problem solving > > Subject: Re: [AccessD] Disconnected MS Access cient applications.. > > > > > > > Like Nunit testing, for instance. Now THERE's a topic I could get > > > excited about if someone would like to rewrite it to work with VBA > > > ... > > So, you wanted JUnit/NUnit ideas ported to MS Access/VBA? We're > > thinking in the same direction :) Do you think it could be broadly > > used? (VBA is getting "dead" language?) > > > > Yes, VBA/Access Unit testing can be done several ways. > > I'd use open source NUnit sources for starters.... > > Rough estimation: not that much work - one/a couple of months - > > anybody > to > > sponsor? :) > > > > What about NDoc(http://ndoc.sourceforge.net/) ? > > Also wanted to port it to VBA? - no problem - any sponsors? :) > > > > Shamil > > > > ----- Original Message ----- > > From: "Charlotte Foust" > > To: "Access Developers discussion and problem solving" > > > > Sent: Thursday, August 18, 2005 10:23 PM > > Subject: RE: [AccessD] Disconnected MS Access cient applications.. > > > > > > > Yes, I work with ADO.Net a lot, but in VB.Net, not Access, and I > > > haven't even looked at C#. Most of my time is now spent in VB.Net, > > > but I keep thinking of how nice it would be to be able to do some of > > > these things with Access ... Like Nunit testing, for instance. Now > > > THERE's a topic I could get excited about if someone would like to > > > rewrite it to work with VBA ... Hint, hint, hint. ;-} > > > > > > Charlotte > > > > > > > > > -----Original Message----- > > > From: Shamil Salakhetdinov [mailto:shamil at users.mns.ru] > > > Sent: Thursday, August 18, 2005 11:04 AM > > > To: Access Developers discussion and problem solving > > > Subject: Re: [AccessD] Disconnected MS Access cient applications.. > > > > > > > > > > but have never had time to really pursue it. > > > Yes, the same thoughts/experience here. > > > Finally ADO.NET and WithEvents should make it rather easy to > > > implement... > > > > > > I think/plan, I will return to this subject end of the next week, > > > hopefully with some new results to publish as public domain/open > > > source... > > > > > > Meanwhile I have to finish reading two books about XP in C# and "MS > > > Object Thinking" and make some experiments in ADO.NET and a good > > > progress in a pending urgent project... > > > > > > Any ideas about directions in which to develop this small project > > > are very welcome! > > > > > > Thank you for your support! > > > > > > Shamil > > > > > > > > > ----- Original Message ----- > > > From: "Charlotte Foust" > > > To: "Access Developers discussion and problem solving" > > > > > > Sent: Thursday, August 18, 2005 9:30 PM > > > Subject: RE: [AccessD] Disconnected MS Access cient applications.. > > > > > > > > > > Not interesting, Shamil, FASCINATING! Yes, I do hope you continue > > > > this thread. Please! I've often thought of this kind of thing > > > > but have never had time to really pursue it. > > > > > > > > Charlotte Foust > > > > > > > > > > > > -----Original Message----- > > > > From: Shamil Salakhetdinov [mailto:shamil at users.mns.ru] > > > > Sent: Thursday, August 18, 2005 10:02 AM > > > > To: Access Developers discussion and problem solving > > > > Subject: Re: [AccessD] Disconnected MS Access cient applications.. > > > > > > > > > > > > Charlotte, > > > > > > > > Your means you're interested in continuation of this > > > > subject/thread or...? In my plans is to extend and make all the > > > > source > > > > > > > code available. How soon it will happen this is an open question - > > > > I have an urgent project here. But I do plan to continue this > > > > thread and > > > > > > > work if this looks interesting for you and others here. Maybe even > > > > make it open source project here when first useful results will be > > > > achieved? It would be interesting I guess to make it also > > > > XP(eXtreme > > > > Programming) style work with your being subject area expert - I mean > > > > your best knowing in what scenarios and in what business areas is > > > > the best to use MS Access in bound but disconnected mode with most > > > > of the software (MS Access FE > > > > databases) developed by power users but integrated by "mighty MS > > > > Access developers"? :) > > > > > > > > I know how to do all that, I know how to make MS Access > > > > applications assembly factories etc. - I have all that experience > > > > and I can share it if/when I will have spare time - is that > > > > interesting? > > > > > > > > Shamil > > > > > > > > > > > > ----- Original Message ----- > > > > From: "Charlotte Foust" > > > > To: "Access Developers discussion and problem solving" > > > > > > > > Sent: Thursday, August 18, 2005 7:35 PM > > > > Subject: RE: [AccessD] Disconnected MS Access cient applications.. > > > > > > > > > > > > > Oooohhh, I think I'm in love! > > > > > > > > > > Charlotte Foust > > > > > > > > > > > > > > > -----Original Message----- > > > > > From: Shamil Salakhetdinov [mailto:shamil at users.mns.ru] > > > > > Sent: Thursday, August 18, 2005 4:46 AM > > > > > To: Access Developers discussion and problem solving > > > > > Subject: Re: [AccessD] Disconnected MS Access cient > > > > > applications.. > > > > > > > > > > > > > > > No, William, this is not replication - here is what I mean in > > > > > short: > > > > > > > > > > http://www.smsconsulting.spb.ru/shamil_s/articles/ddo.htm > > > > > > > > > > Shamil > > > > > > > > > > ----- Original Message ----- > > > > > From: "William Hindman" > > > > > To: "Access Developers discussion and problem solving" > > > > > > > > > > Sent: Thursday, August 18, 2005 3:47 AM > > > > > Subject: Re: [AccessD] Disconnected MS Access cient > > > > > applications.. > > > > > > > > > > > > > > > > Shamil > > > > > > > > > > > > ..I must be missing something ...that sounds like replication > > > > > > to me. > > > > > > > > > > > > William > > > > > > > > > > > > ----- Original Message ----- > > > > > > From: "Shamil Salakhetdinov" > > > > > > To: "!DBA-MAIN" > > > > > > Sent: Wednesday, August 17, 2005 7:28 PM > > > > > > Subject: [AccessD] Disconnected MS Access cient applications.. > > > > > > > > > > > > > > > > > > > Hi All, > > > > > > > > > > > > > > I wanted to ask you - what about the subject? Anybody > > > > > > > uses/interested to use MS Access client applications this > > > > > > > way? > > > > > > > > > > > > > > Do I miss obvious (RTFM) stuff and such a disconnected mode > > > > > > > is already implemented in MS Access and broadly used by MS > > > > > > > Access developers? Yes, > > > > > I > > > > > > > know ADO recordsets can be used with bound MS Access forms > > > > > > > etc. but this looks like a rather limited feature - am I > > > > > > > wrong? > > > > > > > > > > > > > > What I mean is cashing data locally into mdbs, only the data > > > > > > > needed for the currently open form(s) etc., processing this > > > > > > > data > > > > > > > > > > and then updating backend database(mdb, MSDE, MS SQL, > > > > > > > whatever...) > > > > > > > > > > > - with all this cashing and updating made mostly > > > > > > > automatically by a tiny framework code, based > > > > > on > > > > > > > ADO.NET...(yes, this local caching of data is not a new > > > > > > > subject but nowadays it can be (re-)implement really > > > > > > > scalable way with a > > > > > > > > > > way less efforts > > > > > than > > > > > > > before) > > > > > > > > > > > > > > Maybe MS plans to do something like that? > > > > > > > > > > > > > > Is that a wheel reinvention or anybody here sees such > > > > > > > opportunity like a really useful feature in their real life > > > > > > > projects? > > > > > > > > > > > > > > For me it looks like a useful feature because it could help: > > > > > > > to get MS Access back into mainstream development area > > > > > > > because it will allow to easily scale applications with MS > > > > > > > Access front-ends... > > > > > > > > > > > > > > There are many other ideas but most of them in this "ideas > > > > > > > pool" > > > > > > > > > > based > > > > > on > > > > > > > the subject one - if it doesn't make sense for real-life > > > > > > > projects then > > > > > I'd > > > > > > > better stop working on it... > > > > > > > > > > > > > > What is your opinion about the subject? > > > > > > > When you expect MS will do something like that in MS Access? > > > > > > > > > > > > > > Thank you, > > > > > > > Shamil > > > > > > > > > > > > > > -- > > > > > > > AccessD mailing list > > > > > > > AccessD at databaseadvisors.com > > > > > > > http://databaseadvisors.com/mailman/listinfo/accessd > > > > > > > Website: http://www.databaseadvisors.com > > > > > > > > > > > > > -- > > > > > > AccessD mailing list > > > > > > AccessD at databaseadvisors.com > > > > > > http://databaseadvisors.com/mailman/listinfo/accessd > > > > > > Website: http://www.databaseadvisors.com > > > > > > > > > > -- > > > > > AccessD mailing list > > > > > AccessD at databaseadvisors.com > > > > > http://databaseadvisors.com/mailman/listinfo/accessd > > > > > Website: http://www.databaseadvisors.com > > > > > -- > > > > > AccessD mailing list > > > > > AccessD at databaseadvisors.com > > > > > http://databaseadvisors.com/mailman/listinfo/accessd > > > > > Website: http://www.databaseadvisors.com > > > > > > > > -- > > > > AccessD mailing list > > > > AccessD at databaseadvisors.com > > > > http://databaseadvisors.com/mailman/listinfo/accessd > > > > Website: http://www.databaseadvisors.com > > > > -- > > > > AccessD mailing list > > > > AccessD at databaseadvisors.com > > > > http://databaseadvisors.com/mailman/listinfo/accessd > > > > Website: http://www.databaseadvisors.com > > > > > > -- > > > AccessD mailing list > > > AccessD at databaseadvisors.com > > > http://databaseadvisors.com/mailman/listinfo/accessd > > > Website: http://www.databaseadvisors.com > > > -- > > > AccessD mailing list > > > AccessD at databaseadvisors.com > > > http://databaseadvisors.com/mailman/listinfo/accessd > > > Website: http://www.databaseadvisors.com > > > > -- > > AccessD mailing list > > AccessD at databaseadvisors.com > > http://databaseadvisors.com/mailman/listinfo/accessd > > Website: http://www.databaseadvisors.com > > > > > > > > -- > > AccessD mailing list > > AccessD at databaseadvisors.com > > http://databaseadvisors.com/mailman/listinfo/accessd > > Website: http://www.databaseadvisors.com > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > > > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > 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 Aug 18 20:16:40 2005 From: cfoust at infostatsystems.com (Charlotte Foust) Date: Thu, 18 Aug 2005 18:16:40 -0700 Subject: [AccessD] Opening an XML recordset Message-ID: I've never tried to do what you're doing, but here's a sample of the relevant part of an xml doc persisted from Access using the MSPersist driver. Is that useful at all? Charlotte -----Original Message----- From: Francisco Tapia [mailto:fhtapia at gmail.com] Sent: Thursday, August 18, 2005 4:10 PM To: Access Developers discussion and problem solving Subject: [AccessD] Opening an XML recordset I have an XML document that I obtain from a webservice, I was able to creat the schema and using XMLPad I can see that it is infact a valid document, (see below). However the error Message I get from Access (2000) is that "Recordset cannot be created. Source XML is incomplete or invalid." How can I make the following document a valid xml document for opening as an ado recordset, ie: rst.Open "C:\ShipVia.xml", "Provider=MSPersist;", adOpenDynamic, adLockReadOnly, adCmdFile thanks, I abbreviated the doc for simplyfing the post. 10 FED EX P1176208147 (SKINNER) -- -Francisco From martyconnelly at shaw.ca Thu Aug 18 22:57:14 2005 From: martyconnelly at shaw.ca (MartyConnelly) Date: Thu, 18 Aug 2005 20:57:14 -0700 Subject: [AccessD] Opening an XML recordset References: Message-ID: <4305589A.1030003@shaw.ca> The XML parses okay but you are trying to bring in a flat xml file with a self-contained xsd file The ado call is expecting an ADTG formatted xml (MS special xml format definition for an ado recordset) As Charlotte said. You are going to have to parse each element out to a recordset field via the DOM. Not a pleasant task. Generally when I use SOAP from a web service I parse out the relevant field strings via XPATH from the DOM, if am I getting a limited amount of data say less than 1 K.. This is a lot easier to do with SQLXML You could apply this xslt transform to remove all the ADTG junk to create a flat xml. but that is not what you need. ADOGeneric.xsl <row> < > </ > </row> Francisco Tapia wrote: >I have an XML document that I obtain from a webservice, I was able to creat >the schema and using XMLPad I can see that it is infact a valid document, >(see below). However the error Message I get from Access (2000) is that >"Recordset cannot be created. Source XML is incomplete or invalid." > >How can I make the following document a valid xml document for opening as an >ado recordset, ie: >rst.Open "C:\ShipVia.xml", "Provider=MSPersist;", adOpenDynamic, >adLockReadOnly, adCmdFile > > >thanks, > >I abbreviated the doc for simplyfing the post. > > >xmlns:od="urn:schemas-microsoft-com:officedata"> > > > > > > > > > > > > > > > >od:sqlSType="nvarchar"> > > > > > > >od:sqlSType="nvarchar"> > > > > > > > > > > >xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns=" >http://HAASService.org//WSAvanteData"> > >10 >FED EX P1176208147 (SKINNER) > > > > > > > -- Marty Connelly Victoria, B.C. Canada From shamil at users.mns.ru Fri Aug 19 00:54:24 2005 From: shamil at users.mns.ru (Shamil Salakhetdinov) Date: Fri, 19 Aug 2005 09:54:24 +0400 Subject: [AccessD] OT: Why did Mac switch to Intel revisted References: <0ILG00CAK1DE5C@l-daemon> Message-ID: <004701c5a482$793d9570$6401a8c0@fincomplex.spb.ru> > Another reason why Mac switched? I did read about multi-core Intel processors but I didn't know Interl acquired Russian Elbrus team and technology to design them: http://www.ournet.md/~hi-tech/elbrus_e2k.html <<< The new processor is expected to perform from three to five times faster than Merced processor from Intel. E2K will require lower power, and its manufacturing will appear considerably cheaper than that of Merced; >>> Before that Intel used one of the former Elbrus engineers... <<< Vladimir Pentkovski is a Principal Engineer in the Microprocessor Product Group in Folsom. He was one of the architects in the core team, which defined the Internet Streaming SIMD Extensions of IA-32 architecture. Vladimir led the development of Pentium III processor architecture and performance analysis. Previously he led the development of compilers and software and hardware support for programming languages for Elbrus multi-processor computers in Russia. Vladimir holds a Doctor of Science degree and Ph.D. degree in computer science and engineering from Russia >>> ...now, they got all of them. (That's a pity of course this country, wonderland Russia, is selling out and loosing her best people :( Just a few left when I look around. Sad story...) BTW, IMO one of the reasons to closely look on what eXtreme Programmers practiones say and do: Intel processors are getting multi-core. Therefore the trend is to write software, which can be executed on several processors in parallel - these are exactly "low coupled, highly cohesive" "intelligent" objects. MS will make it possible for sure in one of the next versions of VS.NET to execute .NET Framework assemblies' object instances on different processors on multi-core Intel systems: traffic light on crossroads metaphor I mentioned already - traffic light object runs on one processor, every car object coming to crossroad - run on another processor or shared processors if there are a few of them - all of them independent and all their independent behavior is simulated on parallel processors... - now you see the endless performance boost possibility here? The quantity of cores on multi-core Intel systems will grow endlessly with time - and so the overall performance will grow.... Be ready and prepare your brain to this "mentality shift" in programming - to stay competetive on the market... And VS.NET is already using broadly declarative programming with attributes - to mark an object as an "independent entity" belonging to this or that category (read running on independent core) is by just adding some attributes to the object code. Even more - .NET Assemblies can be changed on the fly using Reflection therefore such attributes can be "injected" on run-time. Even more.... yes, what they are doing with C# 2.0 and what they plan to do with C# 3.0 - all that becoming more and more "crazy" and flexible - real SOFTware can be written using this current and coming development tools... Shamil ----- Original Message ----- From: "Jim Lawrence" To: "'Access Developers discussion and problem solving'" Sent: Friday, August 19, 2005 4:29 AM Subject: [AccessD] OT: Why did Mac switch to Intel revisted > OT: > > Another reason why Mac switched? http://www.theinquirer.net/?article=25496 > > Jim > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com From Jdemarco at hudsonhealthplan.org Fri Aug 19 07:22:39 2005 From: Jdemarco at hudsonhealthplan.org (Jim DeMarco) Date: Fri, 19 Aug 2005 08:22:39 -0400 Subject: [AccessD] copy string to clipboard Message-ID: <08F823FD83787D4BA0B99CA580AD3C74016C3CDE@TTNEXCHCL2.hshhp.com> I meant gaining access to the clipboard. Obviously a method call is a method call. Jim D. -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Heenan, Lambert Sent: Thursday, August 18, 2005 10:54 AM To: 'Access Developers discussion and problem solving' Subject: RE: [AccessD] copy string to clipboard Which is simpler ClipPutText MyString Or Clipboard.SetText "Jim D" Answer: they are both real simple. But In the first case all you need is the code for the ClipPutText routine stashed away in a module, which you can then treat as a black box, and in the second case you have to distribute a DLL and ensure that it gets registered properly (assuming the user has privileges to register DLLs). I know which way I would go! :-) Lambert -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Jim DeMarco Sent: Thursday, August 18, 2005 9:56 AM To: Access Developers discussion and problem solving Subject: RE: [AccessD] copy string to clipboard If you have VB and don't mind shipping a dll with your app it's much simpler. Clipboard.SetText "Jim D" Me.Text1.Text = Clipboard.GetText Jim DeMarco -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Jim Lawrence Sent: Thursday, August 18, 2005 2:25 AM To: 'Access Developers discussion and problem solving' Subject: RE: [AccessD] copy string to clipboard Hi Bruce: I have some code that I have been using for years, mostly for debugging purposes. It just copies a string up into the clip board and it doesn't look as ugly as the code from Terry Kreft. The following code resides in a miodule declaration area: 'Whole bunch of APIs which allow text to be copied to clipboard... Private Declare Function OpenClipboard Lib "User32" (ByVal hWnd&) As Long Private Declare Function EmptyClipboard Lib "User32" () As Long Private Declare Function GetClipboardData Lib "User32" (ByVal wFormat&) As Long Private Declare Function SetClipboardData Lib "User32" (ByVal wFormat&, _ ByVal hMem&) As Long Private Declare Function CloseClipboard Lib "User32" () As Long ' Private Declare Function GlobalAlloc Lib "kernel32" (ByVal wFlags&, _ ByVal dwBytes&) As Long Private Declare Function GlobalLock Lib "kernel32" (ByVal hMem&) As Long Private Declare Function GlobalUnlock Lib "kernel32" (ByVal hMem&) As Long ' Private Declare Function lstrcpy Lib "kernel32" (ByVal lpString1 As Any, _ ByVal lpString2 As Any) As Long And the remainder is place in a module's function area: Public Sub ClipPutText(lsText As String) ' Stores text on the clipboard Dim hMem As Long Const GHND = &H42 hMem = GlobalAlloc(GHND, Len(lsText) + 1) lstrcpy GlobalLock(hMem), lsText If GlobalUnlock(hMem) = 0 Then If OpenClipboard(0&) <> 0 Then EmptyClipboard SetClipboardData 1, hMem CloseClipboard End If End If End Sub And it can be called from anywhere; forms, reports or modules like so: ClipPutText MyString 'Place the string 'MyString into the clipboard HTH Jim -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Bruen, Bruce Sent: Wednesday, August 17, 2005 7:29 PM To: Access Developers discussion and problem solving Subject: [AccessD] copy string to clipboard This must! be simple. I have a string variable created by concatenating the values of several form fields. So how can I copy the value of this string to the clipboard? Private Sub Command35_Click() Dim refstr As String refstr = "RCRef=|" & Me.ucref & "|" & Me.testname & "|" & Me.TestID & "|" Debug.Print refstr Stop ':-( Runcmd accmdStickTheStringInTheClipboard :-( End Sub tia bruce This e-mail and any attachments may contain confidential information that is intended solely for the use of the intended recipient and may be subject to copyright. If you receive this e-mail in error, please notify the sender immediately and delete the e-mail and its attachments from your system. You must not disclose, copy or use any part of this e-mail if you are not the intended recipient. Any opinion expressed in this e-mail and any attachments is not an opinion of RailCorp unless stated or apparent from its content. RailCorp is not responsible for any unauthorised alterations to this e-mail or any attachments. RailCorp will not incur any liability resulting directly or indirectly as a result of the recipient accessing any of the attached files that may contain a virus. -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/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 tinanfields at torchlake.com Fri Aug 19 08:23:10 2005 From: tinanfields at torchlake.com (Tina Norris Fields) Date: Fri, 19 Aug 2005 09:23:10 -0400 Subject: [AccessD] New Record Appearing on Top References: <000001c5a269$2bb3b2f0$0300a8c0@danwaters> Message-ID: <4305DD3E.2080103@torchlake.com> Dan, that is great. I often have my subform records sorted in descending order, but I never knew how I could make the new record appear to be at the top while it was being created. Thank you. I have a new tool. Tina Norris Fields Dan Waters wrote: >Julie, > >Yes - and it's a nice feature. > >The way to do this is to create fields directly above the subform container >that mimic the fields in the continuous form. These fields will be unbound. >A user will fill in these fields and push a Save button when done. The save >button will cause the data in the unbound fields to be inserted into the >table behind the subform. If your subform is sorted in descending order by >it's autonumber field, then the new record will display at the top of the >subform. > >I use this method in an hours tracking database. The Save button's click >event code is shown below: > >Private Sub butSaveHours_Click() > > Dim stgSQL As String > > stgSQL = "INSERT INTO tblHours (ClientID, Category, SubCategory, Hours, >ActivityDate, Description)" _ > & " VALUES (" & txtClientID & ", '" & cboCategory & "', '" & >cboSubCategory & "', " & txtHours & ", '" & txtActivityDate & "', '" & >memDescription & "');" > DoCmd.SetWarnings False > DoCmd.RunSQL stgSQL > DoCmd.SetWarnings True > > cboCategory = Null > cboSubCategory = Null > txtHours = Null > txtActivityDate = Null > memDescription = Null > > Me.Refresh > > cboCategory.SetFocus > butSaveHours.Enabled = False > >End Sub > >Note that the ClientID field is the Primary Key for the main table and is >also the Foreign Key for the related sub table. > >HTH, >Dan Waters > >-----Original Message----- >From: accessd-bounces at databaseadvisors.com >[mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Julie >Reardon-Taylor >Sent: Tuesday, August 16, 2005 8:35 AM >To: accessd at databaseadvisors.com >Subject: [AccessD] New Record Appearing on Top > >I have seen this question posted before and cannot remember the response. A > >client has asked that the "new" record in a continuous form appear at the >top. I know that Access doesn't work that way.....but is there a way to do >this? > > > >Julie Reardon-Taylor >PRO-SOFT OF NY, INC. >44 Public Square Suite #5 >Watertown, NY 13601 >Phone/Fax: (315) 785-0319 >www.pro-soft.net > > > > From dwaters at usinternet.com Fri Aug 19 08:47:45 2005 From: dwaters at usinternet.com (Dan Waters) Date: Fri, 19 Aug 2005 08:47:45 -0500 Subject: [AccessD] New Record Appearing on Top In-Reply-To: <10616264.1124457249642.JavaMail.root@sniper21> Message-ID: <000601c5a4c4$95b41700$0300a8c0@danwaters> Tina - you are most welcome. Dan Waters -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Tina Norris Fields Sent: Friday, August 19, 2005 8:23 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] New Record Appearing on Top Dan, that is great. I often have my subform records sorted in descending order, but I never knew how I could make the new record appear to be at the top while it was being created. Thank you. I have a new tool. Tina Norris Fields Dan Waters wrote: >Julie, > >Yes - and it's a nice feature. > >The way to do this is to create fields directly above the subform container >that mimic the fields in the continuous form. These fields will be unbound. >A user will fill in these fields and push a Save button when done. The save >button will cause the data in the unbound fields to be inserted into the >table behind the subform. If your subform is sorted in descending order by >it's autonumber field, then the new record will display at the top of the >subform. > >I use this method in an hours tracking database. The Save button's click >event code is shown below: > >Private Sub butSaveHours_Click() > > Dim stgSQL As String > > stgSQL = "INSERT INTO tblHours (ClientID, Category, SubCategory, Hours, >ActivityDate, Description)" _ > & " VALUES (" & txtClientID & ", '" & cboCategory & "', '" & >cboSubCategory & "', " & txtHours & ", '" & txtActivityDate & "', '" & >memDescription & "');" > DoCmd.SetWarnings False > DoCmd.RunSQL stgSQL > DoCmd.SetWarnings True > > cboCategory = Null > cboSubCategory = Null > txtHours = Null > txtActivityDate = Null > memDescription = Null > > Me.Refresh > > cboCategory.SetFocus > butSaveHours.Enabled = False > >End Sub > >Note that the ClientID field is the Primary Key for the main table and is >also the Foreign Key for the related sub table. > >HTH, >Dan Waters > >-----Original Message----- >From: accessd-bounces at databaseadvisors.com >[mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Julie >Reardon-Taylor >Sent: Tuesday, August 16, 2005 8:35 AM >To: accessd at databaseadvisors.com >Subject: [AccessD] New Record Appearing on Top > >I have seen this question posted before and cannot remember the response. A > >client has asked that the "new" record in a continuous form appear at the >top. I know that Access doesn't work that way.....but is there a way to do >this? > > > >Julie Reardon-Taylor >PRO-SOFT OF NY, INC. >44 Public Square Suite #5 >Watertown, NY 13601 >Phone/Fax: (315) 785-0319 >www.pro-soft.net > > > > -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From darsant at gmail.com Fri Aug 19 10:25:38 2005 From: darsant at gmail.com (Josh McFarlane) Date: Fri, 19 Aug 2005 10:25:38 -0500 Subject: [AccessD] OT: Why did Mac switch to Intel revisted In-Reply-To: <004701c5a482$793d9570$6401a8c0@fincomplex.spb.ru> References: <0ILG00CAK1DE5C@l-daemon> <004701c5a482$793d9570$6401a8c0@fincomplex.spb.ru> Message-ID: <53c8e05a05081908257c783205@mail.gmail.com> On 8/19/05, Shamil Salakhetdinov wrote: > And VS.NET is already using broadly declarative programming with > attributes - to mark an object as an "independent entity" belonging to this > or that category (read running on independent core) is by just adding some > attributes to the object code. Even more - .NET Assemblies can be changed on > the fly using Reflection therefore such attributes can be "injected" on > run-time. Even more.... yes, what they are doing with C# 2.0 and what they > plan to do with C# 3.0 - all that becoming more and more "crazy" and > flexible - real SOFTware can be written using this current and coming > development tools... > > Shamil The question you have to ask yourself is if the added reflection will bring more problems than it fixes. Modifying already-running code has never been one of Microsoft's strong points. The Edit and Continue compiler of VS 2005 is horribly horribly buggy, but not much can be done to fix it, as it doesn't crash at defined points, it just randomly crashes everything, including the compiler and the program that is running. Due to reflection and JIT compiling, .NET Assemblies are still very reverse engineerable also, and tend to make it appear like a Java-similar language. What I'd like to see Microsoft work more towards is the actual refinement of their other libraries, which they seem to have left in the dust in .NET. MFC and ATL still have huge defficiencies in some of their classes (CSocket / CSocketFile / CArchive comes to mind as a huge one that has never worked as intented). Prioritizing threads to logical processors, and even restricting them, is nothing particularly new. The commands were added when HyperThreading first hit language support, and it's actually quite easy to do both hardcoded and real-time. Good software design policies can always help make your software more flexible and "crazy".High-level languages can make this apparent by restricting the design policies you have control over, and making you more dependant on the language rather than your own design ideas. Josh McFarlane From Susan.Klos at fldoe.org Fri Aug 19 10:26:32 2005 From: Susan.Klos at fldoe.org (Klos, Susan) Date: Fri, 19 Aug 2005 11:26:32 -0400 Subject: [AccessD] "Find" combo box searches more than one table Message-ID: Yes, Kath, I think that is what I am looking for. Can you send me a copy of the code? Susan Klos Senior Database Analyst Evaluation and Reporting Florida Department of Education 850-245-0708 sc 205-0708 Maybe Susan means that the users would like to have a 'search function' which will find something anywhere in the database. I have had that request before, eg. for a database that tracked travel agent wholesalers, travel agent retailers, suppliers, clients etc. Users would get an inquiry from someone and wanted to type in their name and find all instances anywhere in the system. It depends whether you need to populate a combo or not. In my case I created an unbound text box and users type in any part of the person's surname and hit enter. The code then searches through the relevant tables one by one and populates a results table. Kath From cyx5 at cdc.gov Fri Aug 19 10:35:54 2005 From: cyx5 at cdc.gov (Nicholson, Karen) Date: Fri, 19 Aug 2005 11:35:54 -0400 Subject: [AccessD] "Find" combo box searches more than one table Message-ID: Oooh.... I want to see it too! I have over 1235 tables that I am putting into one table but this code would be great in the meantime. -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Klos, Susan Sent: Friday, August 19, 2005 11:27 AM To: accessd at databaseadvisors.com Subject: [AccessD] "Find" combo box searches more than one table Yes, Kath, I think that is what I am looking for. Can you send me a copy of the code? Susan Klos Senior Database Analyst Evaluation and Reporting Florida Department of Education 850-245-0708 sc 205-0708 Maybe Susan means that the users would like to have a 'search function' which will find something anywhere in the database. I have had that request before, eg. for a database that tracked travel agent wholesalers, travel agent retailers, suppliers, clients etc. Users would get an inquiry from someone and wanted to type in their name and find all instances anywhere in the system. It depends whether you need to populate a combo or not. In my case I created an unbound text box and users type in any part of the person's surname and hit enter. The code then searches through the relevant tables one by one and populates a results table. Kath -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From cfoust at infostatsystems.com Fri Aug 19 10:47:45 2005 From: cfoust at infostatsystems.com (Charlotte Foust) Date: Fri, 19 Aug 2005 08:47:45 -0700 Subject: [AccessD] "Find" combo box searches more than one table Message-ID: I never understood what the user expected to "find" in such a search function. Did they want to know every table the value appeared in, did they want to magically "see" each record in some form? Are they expected a treeview showing all the hits in each record in each table? It isn't hard to find a value by walking the tables, but what did you want to do with the results? Charlotte Foust -----Original Message----- From: Klos, Susan [mailto:Susan.Klos at fldoe.org] Sent: Friday, August 19, 2005 8:27 AM To: accessd at databaseadvisors.com Subject: [AccessD] "Find" combo box searches more than one table Yes, Kath, I think that is what I am looking for. Can you send me a copy of the code? Susan Klos Senior Database Analyst Evaluation and Reporting Florida Department of Education 850-245-0708 sc 205-0708 Maybe Susan means that the users would like to have a 'search function' which will find something anywhere in the database. I have had that request before, eg. for a database that tracked travel agent wholesalers, travel agent retailers, suppliers, clients etc. Users would get an inquiry from someone and wanted to type in their name and find all instances anywhere in the system. It depends whether you need to populate a combo or not. In my case I created an unbound text box and users type in any part of the person's surname and hit enter. The code then searches through the relevant tables one by one and populates a results table. Kath -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From shamil at users.mns.ru Fri Aug 19 11:09:33 2005 From: shamil at users.mns.ru (Shamil Salakhetdinov) Date: Fri, 19 Aug 2005 20:09:33 +0400 Subject: [AccessD] OT: Why did Mac switch to Intel revisted References: <0ILG00CAK1DE5C@l-daemon><004701c5a482$793d9570$6401a8c0@fincomplex.spb.ru> <53c8e05a05081908257c783205@mail.gmail.com> Message-ID: <000f01c5a4d8$69f78ed0$6401a8c0@fincomplex.spb.ru> Josh, Do you mean VS.NET 2005 Beta 2 when you talk about Edit & Continue feature? You guess they will never be able to make it stable? (they managed to do that with VB6 and even in MS Access 2003 (although both VB6 and MS Access 2003 still may crash unexpectedly in complicated cases) - they will probably make it working stable somewhere in not that far future? No any hopes you think? By using reflection I mean injecting specific attributes BEFORE Just-in-time compilation, just as one of thr possible ways to do that, in fact it will not be needed probably because attributes will be inline with the source code... Did you try any of obfuscators or other methods to protect compiled code from reverse engineering? - I did - and I found they are good enough even the cheap ones, and expensive ones are very good. I have heard they made good progress with ATL in VS.NET 2005. But I can't judge here because I do use ATL a few. I didn't know that much about prioritizing threads to logical processors and HyperThreading. Yes, I may also say that what MS and Intel are doing now - a lot of that is deja' vue - they got acuiqred a lot of that from the companies they bought etc. but they are compiling all that stuff now and adding their own very well IMO and they are developing very promising new technologies on top of that "deja' vue" knowledge and experience. (and no, I was never "crazy" about technologies...) "Good software design policies" if I got that correctly is a very broad term Do you mean they can restrict also the quantity of attributes and methods of a class? If yes - could you please post an example of such software design ploicy here or give a reference to it, which also shows that it worked in a real life project? Shamil ----- Original Message ----- From: "Josh McFarlane" To: "Access Developers discussion and problem solving" Sent: Friday, August 19, 2005 7:25 PM Subject: Re: [AccessD] OT: Why did Mac switch to Intel revisted > On 8/19/05, Shamil Salakhetdinov wrote: > > And VS.NET is already using broadly declarative programming with > > attributes - to mark an object as an "independent entity" belonging to this > > or that category (read running on independent core) is by just adding some > > attributes to the object code. Even more - .NET Assemblies can be changed on > > the fly using Reflection therefore such attributes can be "injected" on > > run-time. Even more.... yes, what they are doing with C# 2.0 and what they > > plan to do with C# 3.0 - all that becoming more and more "crazy" and > > flexible - real SOFTware can be written using this current and coming > > development tools... > > > > Shamil > > The question you have to ask yourself is if the added reflection will > bring more problems than it fixes. Modifying already-running code has > never been one of Microsoft's strong points. The Edit and Continue > compiler of VS 2005 is horribly horribly buggy, but not much can be > done to fix it, as it doesn't crash at defined points, it just > randomly crashes everything, including the compiler and the program > that is running. > > Due to reflection and JIT compiling, .NET Assemblies are still very > reverse engineerable also, and tend to make it appear like a > Java-similar language. What I'd like to see Microsoft work more > towards is the actual refinement of their other libraries, which they > seem to have left in the dust in .NET. MFC and ATL still have huge > defficiencies in some of their classes (CSocket / CSocketFile / > CArchive comes to mind as a huge one that has never worked as > intented). > > Prioritizing threads to logical processors, and even restricting them, > is nothing particularly new. The commands were added when > HyperThreading first hit language support, and it's actually quite > easy to do both hardcoded and real-time. > > Good software design policies can always help make your software more > flexible and "crazy".High-level languages can make this apparent by > restricting the design policies you have control over, and making you > more dependant on the language rather than your own design ideas. > > Josh McFarlane > -- > 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 Aug 19 11:15:42 2005 From: Jim.Hale at FleetPride.com (Hale, Jim) Date: Fri, 19 Aug 2005 11:15:42 -0500 Subject: [AccessD] AS400 data upload (Lost in Translation) Message-ID: <6A6AA9DF57E4F046BDA1E273BDDB677233779F@corp-es01.fleetpride.com> I imported tables into Access from the AS400 using IBM's client Access ODBC driver. I updated the tables in Access, emptied the tables on the AS400 and uploaded the Updated Access data to the AS400 via an append query (the AS400 tables were linked via the ODBC driver). This worked fine except for one table. The table came from the AS400 with blank fields. When I tried to upload it back the AS400 puked saying I was trying to place nulls in the field. The AS400 guys tell me the AS400 does not have nulls, that the field is really a blank (hex 40?). How can I change my query so that the AS400 will accept it? Use an empty string? Use the ASC equivalent of hex 40? TIA Jim Hale *********************************************************************** The information transmitted is intended solely for the individual or entity to which it is addressed and may contain confidential and/or privileged material. Any review, retransmission, dissemination or other use of or taking action in reliance upon this information by persons or entities other than the intended recipient is prohibited. If you have received this email in error please contact the sender and delete the material from any computer. As a recipient of this email, you are responsible for screening its contents and the contents of any attachments for the presence of viruses. No liability is accepted for any damages caused by any virus transmitted by this email. From Jdemarco at hudsonhealthplan.org Fri Aug 19 11:43:20 2005 From: Jdemarco at hudsonhealthplan.org (Jim DeMarco) Date: Fri, 19 Aug 2005 12:43:20 -0400 Subject: [AccessD] OT : Friday Freebie Message-ID: <08F823FD83787D4BA0B99CA580AD3C74016C3CE9@TTNEXCHCL2.hshhp.com> Hello All, I'm in the process of revamping my web site but I posted a couple of new downloads one of which is very temporary (but I'll make available to this list for the rest of today). 1. A new drum solo by son Jimmy 2. The first completed track from my upcoming solo EP - this will be replaced by a short clip of the tune this evening so if you want it get it now Both are recorded at my home studio and I welcome comments from any recording enthusiasts (music fans are welcome to comment as well). Jimmy has been kind enough to record these solos to help me get my recording chops together. Everytime I get new gear he records another track for me!! The site you'll see is temporary so please NO comments on that!!! Enjoy, Jim (preparing to ride my motorcycle home in the rain) DeMarco *********************************************************************************** "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 marcus at tsstech.com Fri Aug 19 12:10:49 2005 From: marcus at tsstech.com (Scott Marcus) Date: Fri, 19 Aug 2005 13:10:49 -0400 Subject: [AccessD] OT : Friday Freebie Message-ID: And your website URL would be... Scott Marcus IT Programmer TSS Technologies Inc. www.tss.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Jim DeMarco Sent: Friday, August 19, 2005 12:43 PM To: Access Developers discussion and problem solving Subject: [AccessD] OT : Friday Freebie Hello All, I'm in the process of revamping my web site but I posted a couple of new downloads one of which is very temporary (but I'll make available to this list for the rest of today). 1. A new drum solo by son Jimmy 2. The first completed track from my upcoming solo EP - this will be replaced by a short clip of the tune this evening so if you want it get it now Both are recorded at my home studio and I welcome comments from any recording enthusiasts (music fans are welcome to comment as well). Jimmy has been kind enough to record these solos to help me get my recording chops together. Everytime I get new gear he records another track for me!! The site you'll see is temporary so please NO comments on that!!! Enjoy, Jim (preparing to ride my motorcycle home in the rain) DeMarco ************************************************************************ *********** "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 cyx5 at cdc.gov Fri Aug 19 12:13:10 2005 From: cyx5 at cdc.gov (Nicholson, Karen) Date: Fri, 19 Aug 2005 13:13:10 -0400 Subject: [AccessD] "Find" combo box searches more than one table Message-ID: In my case, I have part numbers that are stored in over 1000 different tables. Management wants to find a part number. It is not (yet) in a central location, but I am working on it. To find a part number, the person would have to know the manufacturer before they can find the part number. Management does not know that. -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Charlotte Foust Sent: Friday, August 19, 2005 11:48 AM To: Access Developers discussion and problem solving Subject: RE: [AccessD] "Find" combo box searches more than one table I never understood what the user expected to "find" in such a search function. Did they want to know every table the value appeared in, did they want to magically "see" each record in some form? Are they expected a treeview showing all the hits in each record in each table? It isn't hard to find a value by walking the tables, but what did you want to do with the results? Charlotte Foust -----Original Message----- From: Klos, Susan [mailto:Susan.Klos at fldoe.org] Sent: Friday, August 19, 2005 8:27 AM To: accessd at databaseadvisors.com Subject: [AccessD] "Find" combo box searches more than one table Yes, Kath, I think that is what I am looking for. Can you send me a copy of the code? Susan Klos Senior Database Analyst Evaluation and Reporting Florida Department of Education 850-245-0708 sc 205-0708 Maybe Susan means that the users would like to have a 'search function' which will find something anywhere in the database. I have had that request before, eg. for a database that tracked travel agent wholesalers, travel agent retailers, suppliers, clients etc. Users would get an inquiry from someone and wanted to type in their name and find all instances anywhere in the system. It depends whether you need to populate a combo or not. In my case I created an unbound text box and users type in any part of the person's surname and hit enter. The code then searches through the relevant tables one by one and populates a results table. Kath -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd 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 hudsonhealthplan.org Fri Aug 19 12:14:49 2005 From: Jdemarco at hudsonhealthplan.org (Jim DeMarco) Date: Fri, 19 Aug 2005 13:14:49 -0400 Subject: [AccessD] OT : Friday Freebie Message-ID: <08F823FD83787D4BA0B99CA580AD3C74016C3CEC@TTNEXCHCL2.hshhp.com> Details, details... http://www.rocktillyadrop.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Scott Marcus Sent: Friday, August 19, 2005 1:11 PM To: Access Developers discussion and problem solving Subject: RE: [AccessD] OT : Friday Freebie And your website URL would be... Scott Marcus IT Programmer TSS Technologies Inc. www.tss.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Jim DeMarco Sent: Friday, August 19, 2005 12:43 PM To: Access Developers discussion and problem solving Subject: [AccessD] OT : Friday Freebie Hello All, I'm in the process of revamping my web site but I posted a couple of new downloads one of which is very temporary (but I'll make available to this list for the rest of today). 1. A new drum solo by son Jimmy 2. The first completed track from my upcoming solo EP - this will be replaced by a short clip of the tune this evening so if you want it get it now Both are recorded at my home studio and I welcome comments from any recording enthusiasts (music fans are welcome to comment as well). Jimmy has been kind enough to record these solos to help me get my recording chops together. Everytime I get new gear he records another track for me!! The site you'll see is temporary so please NO comments on that!!! Enjoy, Jim (preparing to ride my motorcycle home in the rain) DeMarco ************************************************************************ *********** "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 Susan.Klos at fldoe.org Fri Aug 19 12:24:15 2005 From: Susan.Klos at fldoe.org (Klos, Susan) Date: Fri, 19 Aug 2005 13:24:15 -0400 Subject: [AccessD] (no subject) Message-ID: Once I have found the record in the table I want to open a form that shows me that record. Let me go back to my original problem. I have several tables of contacts. I have a form with a tabbed subform. Once I have used my find form to search my various contacts tables and found the contact, I want the first tab to show me all the data about the contact, then I want the second tab to show me the data from the phone conversations I have had with that contact. These are linked through a linking table by contactID. If the person I am trying to find is not in one of those contact tables, then I want the form to open up blank so I can type in the information which would be loaded into a different 'people' table. If anyone can help me on this, I would be very grateful. Thank.s Date: Fri, 19 Aug 2005 08:47:45 -0700 From: "Charlotte Foust" Subject: RE: [AccessD] "Find" combo box searches more than one table To: "Access Developers discussion and problem solving" Message-ID: Content-Type: text/plain; charset="us-ascii" I never understood what the user expected to "find" in such a search function. Did they want to know every table the value appeared in, did they want to magically "see" each record in some form? Are they expected a treeview showing all the hits in each record in each table? It isn't hard to find a value by walking the tables, but what did you want to do with the results? Charlotte Foust Susan Klos Senior Database Analyst Evaluation and Reporting Florida Department of Education 850-245-0708 sc 205-0708 From garykjos at gmail.com Fri Aug 19 13:01:53 2005 From: garykjos at gmail.com (Gary Kjos) Date: Fri, 19 Aug 2005 13:01:53 -0500 Subject: [AccessD] AS400 data upload (Lost in Translation) In-Reply-To: <6A6AA9DF57E4F046BDA1E273BDDB677233779F@corp-es01.fleetpride.com> References: <6A6AA9DF57E4F046BDA1E273BDDB677233779F@corp-es01.fleetpride.com> Message-ID: Hi Jim, I think not an empty string but a single space character surrounded by the appropriate quotation marks is what I would use. Hex 40 is EBCDIC for a space. ASCII space is hex 20. Evidently the space it originally contained got stripped as part of a "trim" trailing spaces that the file transfer did for you - which you would have preferred in this case that it hadn't done. Give it a space and you should be good to go. Gary On 8/19/05, Hale, Jim wrote: > I imported tables into Access from the AS400 using IBM's client Access ODBC > driver. I updated the tables in Access, emptied the tables on the AS400 and > uploaded the Updated Access data to the AS400 via an append query (the AS400 > tables were linked via the ODBC driver). This worked fine except for one > table. The table came from the AS400 with blank fields. When I tried to > upload it back the AS400 puked saying I was trying to place nulls in the > field. The AS400 guys tell me the AS400 does not have nulls, that the field > is really a blank (hex 40?). How can I change my query so that the AS400 > will accept it? Use an empty string? Use the ASC equivalent of hex 40? TIA > > Jim Hale > > *********************************************************************** > The information transmitted is intended solely for the individual or > entity to which it is addressed and may contain confidential and/or > privileged material. Any review, retransmission, dissemination or > other use of or taking action in reliance upon this information by > persons or entities other than the intended recipient is prohibited. > If you have received this email in error please contact the sender and > delete the material from any computer. As a recipient of this email, > you are responsible for screening its contents and the contents of any > attachments for the presence of viruses. No liability is accepted for > any damages caused by any virus transmitted by this email. > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > > > -- Gary Kjos garykjos at gmail.com From Jim.Hale at FleetPride.com Fri Aug 19 13:13:14 2005 From: Jim.Hale at FleetPride.com (Hale, Jim) Date: Fri, 19 Aug 2005 13:13:14 -0500 Subject: [AccessD] (no subject) Message-ID: <6A6AA9DF57E4F046BDA1E273BDDB67723377A0@corp-es01.fleetpride.com> If the contact tables have the same structure why not create a union query and in the criteria put the key of the record you are looking for so the result set would have the record(s) you want. Jim Hale -----Original Message----- From: Klos, Susan [mailto:Susan.Klos at fldoe.org] Sent: Friday, August 19, 2005 12:24 PM To: accessd at databaseadvisors.com Subject: [AccessD] (no subject) Once I have found the record in the table I want to open a form that shows me that record. Let me go back to my original problem. I have several tables of contacts. I have a form with a tabbed subform. Once I have used my find form to search my various contacts tables and found the contact, I want the first tab to show me all the data about the contact, then I want the second tab to show me the data from the phone conversations I have had with that contact. These are linked through a linking table by contactID. If the person I am trying to find is not in one of those contact tables, then I want the form to open up blank so I can type in the information which would be loaded into a different 'people' table. If anyone can help me on this, I would be very grateful. Thank.s Date: Fri, 19 Aug 2005 08:47:45 -0700 From: "Charlotte Foust" Subject: RE: [AccessD] "Find" combo box searches more than one table To: "Access Developers discussion and problem solving" Message-ID: Content-Type: text/plain; charset="us-ascii" I never understood what the user expected to "find" in such a search function. Did they want to know every table the value appeared in, did they want to magically "see" each record in some form? Are they expected a treeview showing all the hits in each record in each table? It isn't hard to find a value by walking the tables, but what did you want to do with the results? Charlotte Foust Susan Klos Senior Database Analyst Evaluation and Reporting Florida Department of Education 850-245-0708 sc 205-0708 -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com *********************************************************************** The information transmitted is intended solely for the individual or entity to which it is addressed and may contain confidential and/or privileged material. Any review, retransmission, dissemination or other use of or taking action in reliance upon this information by persons or entities other than the intended recipient is prohibited. If you have received this email in error please contact the sender and delete the material from any computer. As a recipient of this email, you are responsible for screening its contents and the contents of any attachments for the presence of viruses. No liability is accepted for any damages caused by any virus transmitted by this email. From Jim.Hale at FleetPride.com Fri Aug 19 13:14:29 2005 From: Jim.Hale at FleetPride.com (Hale, Jim) Date: Fri, 19 Aug 2005 13:14:29 -0500 Subject: [AccessD] AS400 data upload (Lost in Translation) Message-ID: <6A6AA9DF57E4F046BDA1E273BDDB67723377A1@corp-es01.fleetpride.com> Thanks! Jim Hale -----Original Message----- From: Gary Kjos [mailto:garykjos at gmail.com] Sent: Friday, August 19, 2005 1:02 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] AS400 data upload (Lost in Translation) Hi Jim, I think not an empty string but a single space character surrounded by the appropriate quotation marks is what I would use. Hex 40 is EBCDIC for a space. ASCII space is hex 20. Evidently the space it originally contained got stripped as part of a "trim" trailing spaces that the file transfer did for you - which you would have preferred in this case that it hadn't done. Give it a space and you should be good to go. Gary On 8/19/05, Hale, Jim wrote: > I imported tables into Access from the AS400 using IBM's client Access ODBC > driver. I updated the tables in Access, emptied the tables on the AS400 and > uploaded the Updated Access data to the AS400 via an append query (the AS400 > tables were linked via the ODBC driver). This worked fine except for one > table. The table came from the AS400 with blank fields. When I tried to > upload it back the AS400 puked saying I was trying to place nulls in the > field. The AS400 guys tell me the AS400 does not have nulls, that the field > is really a blank (hex 40?). How can I change my query so that the AS400 > will accept it? Use an empty string? Use the ASC equivalent of hex 40? TIA > > Jim Hale > > *********************************************************************** > The information transmitted is intended solely for the individual or > entity to which it is addressed and may contain confidential and/or > privileged material. Any review, retransmission, dissemination or > other use of or taking action in reliance upon this information by > persons or entities other than the intended recipient is prohibited. > If you have received this email in error please contact the sender and > delete the material from any computer. As a recipient of this email, > you are responsible for screening its contents and the contents of any > attachments for the presence of viruses. No liability is accepted for > any damages caused by any virus transmitted by this email. > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > > > -- Gary Kjos garykjos at gmail.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com *********************************************************************** The information transmitted is intended solely for the individual or entity to which it is addressed and may contain confidential and/or privileged material. Any review, retransmission, dissemination or other use of or taking action in reliance upon this information by persons or entities other than the intended recipient is prohibited. If you have received this email in error please contact the sender and delete the material from any computer. As a recipient of this email, you are responsible for screening its contents and the contents of any attachments for the presence of viruses. No liability is accepted for any damages caused by any virus transmitted by this email. From darsant at gmail.com Fri Aug 19 13:40:34 2005 From: darsant at gmail.com (Josh McFarlane) Date: Fri, 19 Aug 2005 13:40:34 -0500 Subject: [AccessD] OT: Why did Mac switch to Intel revisted In-Reply-To: <000f01c5a4d8$69f78ed0$6401a8c0@fincomplex.spb.ru> References: <0ILG00CAK1DE5C@l-daemon> <004701c5a482$793d9570$6401a8c0@fincomplex.spb.ru> <53c8e05a05081908257c783205@mail.gmail.com> <000f01c5a4d8$69f78ed0$6401a8c0@fincomplex.spb.ru> Message-ID: <53c8e05a0508191140494fb148@mail.gmail.com> On 8/19/05, Shamil Salakhetdinov wrote: > Josh, > > Do you mean VS.NET 2005 Beta 2 when you talk about Edit & Continue feature? > You guess they will never be able to make it stable? (they managed to do > that with VB6 and even in MS Access 2003 (although both VB6 and MS Access > 2003 still may crash unexpectedly in complicated cases) - they will probably > make it working stable somewhere in not that far future? No any hopes you > think? Well, I'm using it mainly in reference to VC++, and having tried it on VS.NET 2002, 2003, and now 2005, they all have inherient crash issues even when doing simple things (for example, the crash I described can even happen when you just begin to type on a line while the program is at a breakpoint. > By using reflection I mean injecting specific attributes BEFORE Just-in-time > compilation, just as one of thr possible ways to do that, in fact it will > not be needed probably because attributes will be inline with the source > code... Ah, I misunderstood you there. > Did you try any of obfuscators or other methods to protect compiled code > from reverse engineering? - I did - and I found they are good enough even > the cheap ones, and expensive ones are very good. I've tried a few different ones, and while some parts of the code would be obfuscatied, core components such as algorithms were still semi-reproducable in some test cases. Granted, this was a little bit ago and they may have made improvements to the obfuscators now. > I have heard they made good progress with ATL in VS.NET 2005. But I can't > judge here because I do use ATL a few. > I didn't know that much about prioritizing threads to logical processors and > HyperThreading. Basically the way the multicore processors work at this moment (at least to the current library of MS code) is that they are just treated as hyper-threading processors. If you search the MSDN docs you should be able to find easy ways to build this implementation in. > "Good software design policies" if I got that correctly is a very broad term > Do you mean they can restrict also the quantity of attributes and methods of > a class? If yes - could you please post an example of such software design > ploicy here or give a reference to it, which also shows that it worked in a > real life project? Well, the classic example I like to use is the garbage collector. Normally in C++ you handle allocation / deallocation of objects on the heap yourself. In managed C++ with .NET you can use the garbage collector so you don't have to worry about memory leaks from heap allocated objects, restricting you from a common easy error, but at the cost of speed and efficiency. I wasn't trying to promote the .NET as a restrictive language. I was trying to state that MS and others can make framework seem more flexible and easier to maintain, but that the same effect can also be achieved by good coding practices and software design policy. In the example of the garbage collector: It is unnecessary to use the collector if you manage your resources of your classes and code properly so that you do not leak any resources. Microsoft seems to be taking the approach towards creating an easier-to-use interface (.NET) and it seems that the more default customizable interfaces are being left in the dust because of it. -- Josh McFarlane "Peace cannot be kept by force. It can only be achieved by understanding." -Albert Einstein From cfoust at infostatsystems.com Fri Aug 19 13:46:05 2005 From: cfoust at infostatsystems.com (Charlotte Foust) Date: Fri, 19 Aug 2005 11:46:05 -0700 Subject: [AccessD] (no subject) Message-ID: So do you have forms that match all the various table data structures to use in displaying that record? Or do you have multiple tables that are all the same structure with merely different data in them (NAUGHTY!!)? Actually even if you have different data structures, you should have a single "people" table that contains the part of the data structure that will be consistent for all different types of people in your database. If you have special data to capture about a particular kind of "people" that can be captured in a separate table. That would simplifiy your life a lot when it came to finding someone, since regardless of their category, the basic information would all be in one table. Charlotte Foust -----Original Message----- From: Klos, Susan [mailto:Susan.Klos at fldoe.org] Sent: Friday, August 19, 2005 10:24 AM To: accessd at databaseadvisors.com Subject: [AccessD] (no subject) Once I have found the record in the table I want to open a form that shows me that record. Let me go back to my original problem. I have several tables of contacts. I have a form with a tabbed subform. Once I have used my find form to search my various contacts tables and found the contact, I want the first tab to show me all the data about the contact, then I want the second tab to show me the data from the phone conversations I have had with that contact. These are linked through a linking table by contactID. If the person I am trying to find is not in one of those contact tables, then I want the form to open up blank so I can type in the information which would be loaded into a different 'people' table. If anyone can help me on this, I would be very grateful. Thank.s Date: Fri, 19 Aug 2005 08:47:45 -0700 From: "Charlotte Foust" Subject: RE: [AccessD] "Find" combo box searches more than one table To: "Access Developers discussion and problem solving" Message-ID: Content-Type: text/plain; charset="us-ascii" I never understood what the user expected to "find" in such a search function. Did they want to know every table the value appeared in, did they want to magically "see" each record in some form? Are they expected a treeview showing all the hits in each record in each table? It isn't hard to find a value by walking the tables, but what did you want to do with the results? Charlotte Foust Susan Klos Senior Database Analyst Evaluation and Reporting Florida Department of Education 850-245-0708 sc 205-0708 -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From BarbaraRyan at cox.net Fri Aug 19 13:51:50 2005 From: BarbaraRyan at cox.net (Barbara Ryan) Date: Fri, 19 Aug 2005 14:51:50 -0400 Subject: [AccessD] Close All Forms Message-ID: <00cb01c5a4ef$0f3fb6e0$0a00a8c0@cx470148a> I have used the following code successfully in Access 97 to close all forms when a specific function key is pressed. However, in Access 2002, this code causes the error box to appear (with the 2 options to send an error report to Microsoft or not) and then closes Access. Does anyone know why? Function CloseAllForms() Dim i As Integer ' Loop through the collection of open forms and close them (except for the main menu) If Forms.Count > 0 Then For i = Forms.Count - 1 To 0 Step -1 If Forms(i).Name <> "frmMainMenu" Then DoCmd.Close acForm, Forms(i).Name End If Next i End If End Function Thanks, Barb Ryan From darsant at gmail.com Fri Aug 19 13:50:54 2005 From: darsant at gmail.com (Josh McFarlane) Date: Fri, 19 Aug 2005 13:50:54 -0500 Subject: [AccessD] Close All Forms In-Reply-To: <00cb01c5a4ef$0f3fb6e0$0a00a8c0@cx470148a> References: <00cb01c5a4ef$0f3fb6e0$0a00a8c0@cx470148a> Message-ID: <53c8e05a0508191150df2f4af@mail.gmail.com> On 8/19/05, Barbara Ryan wrote: > I have used the following code successfully in Access 97 to close all forms when a specific function key is pressed. However, in Access 2002, this code causes the error box to appear (with the 2 options to send an error report to Microsoft or not) and then closes Access. Does anyone know why? > > Function CloseAllForms() > Dim i As Integer > ' Loop through the collection of open forms and close them (except for the main menu) > If Forms.Count > 0 Then > For i = Forms.Count - 1 To 0 Step -1 > If Forms(i).Name <> "frmMainMenu" Then > DoCmd.Close acForm, Forms(i).Name > End If > Next i > End If > End Function Can you trace the specific line that it dies on? (IE Set a breakpoint on DoCmd and see if it ever fires for each form.) -- Josh McFarlane "Peace cannot be kept by force. It can only be achieved by understanding." -Albert Einstein From BarbaraRyan at cox.net Fri Aug 19 14:11:13 2005 From: BarbaraRyan at cox.net (Barbara Ryan) Date: Fri, 19 Aug 2005 15:11:13 -0400 Subject: [AccessD] Close All Forms References: <00cb01c5a4ef$0f3fb6e0$0a00a8c0@cx470148a> <53c8e05a0508191150df2f4af@mail.gmail.com> Message-ID: <00f201c5a4f1$c41f8200$0a00a8c0@cx470148a> It dies after the "End Function" line is executed. ----- Original Message ----- From: "Josh McFarlane" To: "Access Developers discussion and problem solving" Sent: Friday, August 19, 2005 2:50 PM Subject: Re: [AccessD] Close All Forms > On 8/19/05, Barbara Ryan wrote: > > I have used the following code successfully in Access 97 to close all forms when a specific function key is pressed. However, in Access 2002, this code causes the error box to appear (with the 2 options to send an error report to Microsoft or not) and then closes Access. Does anyone know why? > > > > Function CloseAllForms() > > Dim i As Integer > > ' Loop through the collection of open forms and close them (except for the main menu) > > If Forms.Count > 0 Then > > For i = Forms.Count - 1 To 0 Step -1 > > If Forms(i).Name <> "frmMainMenu" Then > > DoCmd.Close acForm, Forms(i).Name > > End If > > Next i > > End If > > End Function > > Can you trace the specific line that it dies on? (IE Set a breakpoint > on DoCmd and see if it ever fires for each form.) > > -- > Josh McFarlane > > "Peace cannot be kept by force. It can only be achieved by understanding." > -Albert Einstein > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com From bheid at appdevgrp.com Fri Aug 19 14:14:34 2005 From: bheid at appdevgrp.com (Bobby Heid) Date: Fri, 19 Aug 2005 15:14:34 -0400 Subject: [AccessD] Close All Forms In-Reply-To: <916187228923D311A6FE00A0CC3FAA30C5E9C5@ADGSERVER> Message-ID: <916187228923D311A6FE00A0CC3FAA30ABEE82@ADGSERVER> Is it possible it is closing one of the standard access windows? Bobby -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Barbara Ryan Sent: Friday, August 19, 2005 3:11 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Close All Forms It dies after the "End Function" line is executed. From BarbaraRyan at cox.net Fri Aug 19 14:35:34 2005 From: BarbaraRyan at cox.net (Barbara Ryan) Date: Fri, 19 Aug 2005 15:35:34 -0400 Subject: [AccessD] Close All Forms References: <916187228923D311A6FE00A0CC3FAA30ABEE82@ADGSERVER> Message-ID: <011101c5a4f5$2aec5000$0a00a8c0@cx470148a> I don't know..... is there something new in Access 2002 that would allow this? Barb ----- Original Message ----- From: "Bobby Heid" To: "'Access Developers discussion and problem solving'" Sent: Friday, August 19, 2005 3:14 PM Subject: RE: [AccessD] Close All Forms > Is it possible it is closing one of the standard access windows? > > Bobby > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Barbara Ryan > Sent: Friday, August 19, 2005 3:11 PM > To: Access Developers discussion and problem solving > Subject: Re: [AccessD] Close All Forms > > > It dies after the "End Function" line is executed. > > > -- > 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 Aug 19 14:35:53 2005 From: Jim.Hale at FleetPride.com (Hale, Jim) Date: Fri, 19 Aug 2005 14:35:53 -0500 Subject: [AccessD] Close All Forms Message-ID: <6A6AA9DF57E4F046BDA1E273BDDB67723377A3@corp-es01.fleetpride.com> Aren't you iterating through the entire forms collection? So even if a form is closed you are attempting to close it? How about Function CloseAllForms() Dim i As Integer, strFrmName as string ' Loop through the collection of open forms and close them (except for the main menu) If Forms.Count > 0 Then For i = Forms.Count - 1 To 0 Step -1 strFrmName=Forms(i).Name If strFrmName <> "frmMainMenu" Then If IsFormOpen(strFrmName)= true then DoCmd.Close acForm, strFrmName End If Next i End If End Function Public Function IsFormOpen(strFormName As String) As Boolean On Error GoTo PROC_ERR IsFormOpen = (SysCmd(acSysCmdGetObjectState, acForm, strFormName) <> 0) PROC_EXIT: Exit Function PROC_ERR: MsgBox "Error: " & Err.Number & ". " & Err.Description, , _ "IsFormOpen" Resume PROC_EXIT End Function Jim Hale -----Original Message----- From: Barbara Ryan [mailto:BarbaraRyan at cox.net] Sent: Friday, August 19, 2005 2:11 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Close All Forms It dies after the "End Function" line is executed. ----- Original Message ----- From: "Josh McFarlane" To: "Access Developers discussion and problem solving" Sent: Friday, August 19, 2005 2:50 PM Subject: Re: [AccessD] Close All Forms > On 8/19/05, Barbara Ryan wrote: > > I have used the following code successfully in Access 97 to close all forms when a specific function key is pressed. However, in Access 2002, this code causes the error box to appear (with the 2 options to send an error report to Microsoft or not) and then closes Access. Does anyone know why? > > > > Function CloseAllForms() > > Dim i As Integer > > ' Loop through the collection of open forms and close them (except for the main menu) > > If Forms.Count > 0 Then > > For i = Forms.Count - 1 To 0 Step -1 > > If Forms(i).Name <> "frmMainMenu" Then > > DoCmd.Close acForm, Forms(i).Name > > End If > > Next i > > End If > > End Function > > Can you trace the specific line that it dies on? (IE Set a breakpoint > on DoCmd and see if it ever fires for each form.) > > -- > Josh McFarlane > > "Peace cannot be kept by force. It can only be achieved by understanding." > -Albert Einstein > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com *********************************************************************** The information transmitted is intended solely for the individual or entity to which it is addressed and may contain confidential and/or privileged material. Any review, retransmission, dissemination or other use of or taking action in reliance upon this information by persons or entities other than the intended recipient is prohibited. If you have received this email in error please contact the sender and delete the material from any computer. As a recipient of this email, you are responsible for screening its contents and the contents of any attachments for the presence of viruses. No liability is accepted for any damages caused by any virus transmitted by this email. From BarbaraRyan at cox.net Fri Aug 19 15:09:45 2005 From: BarbaraRyan at cox.net (Barbara Ryan) Date: Fri, 19 Aug 2005 16:09:45 -0400 Subject: [AccessD] Close All Forms References: <6A6AA9DF57E4F046BDA1E273BDDB67723377A3@corp-es01.fleetpride.com> Message-ID: <013b01c5a4fa$0c88d340$0a00a8c0@cx470148a> Forms.Count is equal to the number of open forms, so if 3 forms are open, the For loop executes 3 times.. Barb ----- Original Message ----- From: "Hale, Jim" To: "'Access Developers discussion and problem solving'" Sent: Friday, August 19, 2005 3:35 PM Subject: RE: [AccessD] Close All Forms > Aren't you iterating through the entire forms collection? So even if a form > is closed you are attempting to close it? > How about > Function CloseAllForms() > Dim i As Integer, strFrmName as string > ' Loop through the collection of open forms and close them (except > for the main menu) > If Forms.Count > 0 Then > For i = Forms.Count - 1 To 0 Step -1 > strFrmName=Forms(i).Name > If strFrmName <> "frmMainMenu" Then > If IsFormOpen(strFrmName)= true then DoCmd.Close > acForm, strFrmName > End If > Next i > End If > End Function > > Public Function IsFormOpen(strFormName As String) As Boolean > On Error GoTo PROC_ERR > > IsFormOpen = (SysCmd(acSysCmdGetObjectState, acForm, strFormName) <> 0) > > PROC_EXIT: > Exit Function > > PROC_ERR: > MsgBox "Error: " & Err.Number & ". " & Err.Description, , _ > "IsFormOpen" > Resume PROC_EXIT > > End Function > > Jim Hale > > -----Original Message----- > From: Barbara Ryan [mailto:BarbaraRyan at cox.net] > Sent: Friday, August 19, 2005 2:11 PM > To: Access Developers discussion and problem solving > Subject: Re: [AccessD] Close All Forms > > > It dies after the "End Function" line is executed. > > > ----- Original Message ----- > From: "Josh McFarlane" > To: "Access Developers discussion and problem solving" > > Sent: Friday, August 19, 2005 2:50 PM > Subject: Re: [AccessD] Close All Forms > > > > On 8/19/05, Barbara Ryan wrote: > > > I have used the following code successfully in Access 97 to close all > forms when a specific function key is pressed. However, in Access 2002, > this code causes the error box to appear (with the 2 options to send an > error report to Microsoft or not) and then closes Access. Does anyone know > why? > > > > > > Function CloseAllForms() > > > Dim i As Integer > > > ' Loop through the collection of open forms and close them > (except for the main menu) > > > If Forms.Count > 0 Then > > > For i = Forms.Count - 1 To 0 Step -1 > > > If Forms(i).Name <> "frmMainMenu" Then > > > DoCmd.Close acForm, Forms(i).Name > > > End If > > > Next i > > > End If > > > End Function > > > > Can you trace the specific line that it dies on? (IE Set a breakpoint > > on DoCmd and see if it ever fires for each form.) > > > > -- > > Josh McFarlane > > > > "Peace cannot be kept by force. It can only be achieved by understanding." > > -Albert Einstein > > -- > > AccessD mailing list > > AccessD at databaseadvisors.com > > http://databaseadvisors.com/mailman/listinfo/accessd > > Website: http://www.databaseadvisors.com > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > > *********************************************************************** > The information transmitted is intended solely for the individual or > entity to which it is addressed and may contain confidential and/or > privileged material. Any review, retransmission, dissemination or > other use of or taking action in reliance upon this information by > persons or entities other than the intended recipient is prohibited. > If you have received this email in error please contact the sender and > delete the material from any computer. As a recipient of this email, > you are responsible for screening its contents and the contents of any > attachments for the presence of viruses. No liability is accepted for > any damages caused by any virus transmitted by this email. ---------------------------------------------------------------------------- ---- > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > From shamil at users.mns.ru Fri Aug 19 15:28:29 2005 From: shamil at users.mns.ru (Shamil Salakhetdinov) Date: Sat, 20 Aug 2005 00:28:29 +0400 Subject: [AccessD] OT: Why did Mac switch to Intel revisted References: <0ILG00CAK1DE5C@l-daemon><004701c5a482$793d9570$6401a8c0@fincomplex.spb.ru><53c8e05a05081908257c783205@mail.gmail.com><000f01c5a4d8$69f78ed0$6401a8c0@fincomplex.spb.ru> <53c8e05a0508191140494fb148@mail.gmail.com> Message-ID: <001501c5a4fc$91e38c90$6401a8c0@fincomplex.spb.ru> > the crash I described can > even happen when you just begin to type on a line while the program is > at a breakpoint. They probably reuse some MS Access 97 interpretator code - just kidding :) Seriously they had similar problem in MS Access 97, in MS Access 2000 it was better, in MS Access XP/2003 it's even better but they disallowed to save modules in MS Acces while debugging in "Edit & Continue" mode. MS Acces 2003 is still crashing in complicated cases of "Edit & Continue" and you never know when... (And in MS Access 97 it was exactly like you describe - as soon as you start typing it crashes. Another famous problem when the last edited line of "Edit and Continue" mode in MS Access 97 was lost etc - never believe them! In fact eXtreme Programming is an answer here too - XP doesn't need Edit and continue development mode... > Granted, this was a little bit > ago and they may have made improvements to the obfuscators now. I did use/try several obfuscators this spring (April) - the best of them make code absolutely unreproducable I think. After tests my customer decided that Xenocode in standard mode ($99) is good enough. >If you search the MSDN docs you should >be able to find easy ways to build this implementation in. OK, thanks, I will read about that... > restricting you from a common easy error, but at > the cost of speed and efficiency. But if the code doesn't have custom memory allocation/deallocation calls i.e. it uses garbage collector like .NET then by definition it should be more efficient - right? Or do you mean that .NET garbage collector is slow? > In the example of the garbage collector: It is unnecessary to use the > collector if you manage your resources of your classes and code > properly so that you do not leak any resources. Well, the cost to manage resources properly is high - I did do that in MS Access 97/2000/XP/2003 and VB6 and in C/C++/Delphi. Automaic intelligent garbage collector is a real "life saver". Of course in complicated cases one has to force resources deallocation - .NET has IDisposable interface for that as it's well known.... > I wasn't trying to promote the .NET as a restrictive language. I was > trying to state that MS and others can make framework seem more > flexible and easier to maintain, but that the same effect can also be > achieved by good coding practices and software design policy. We probably talk about different subjects here - when I asked "how do you will restrict the quantity of attributes and methods of a class using good coding pratices and software design policy?" (this is what happening "automagically" when one uses XP and classical behavioral OO design and development) I meant that there is no probably any other good coding practice and software design policy except XP, which allows to do that so flexibly and almost seamlessly - of course this work needs really "high pilotage design & development experience" - I'm not there yet, rather far from there I think.... Whatever else good coding design practice and software design policy one invents they inevitably go XP way - that's what I meant.... As for .NET Framework vs. something "home made" - I'm not MS advocate but I'd say that programming in VS.NET is like a "dream come true" - finally, after 20+ years of my programming experience... Shamil ----- Original Message ----- From: "Josh McFarlane" To: "Access Developers discussion and problem solving" Sent: Friday, August 19, 2005 10:40 PM Subject: Re: [AccessD] OT: Why did Mac switch to Intel revisted > On 8/19/05, Shamil Salakhetdinov wrote: > > Josh, > > > > Do you mean VS.NET 2005 Beta 2 when you talk about Edit & Continue feature? > > You guess they will never be able to make it stable? (they managed to do > > that with VB6 and even in MS Access 2003 (although both VB6 and MS Access > > 2003 still may crash unexpectedly in complicated cases) - they will probably > > make it working stable somewhere in not that far future? No any hopes you > > think? > > Well, I'm using it mainly in reference to VC++, and having tried it on > VS.NET 2002, 2003, and now 2005, they all have inherient crash issues > even when doing simple things (for example, the crash I described can > even happen when you just begin to type on a line while the program is > at a breakpoint. > > > By using reflection I mean injecting specific attributes BEFORE Just-in-time > > compilation, just as one of thr possible ways to do that, in fact it will > > not be needed probably because attributes will be inline with the source > > code... > > Ah, I misunderstood you there. > > > Did you try any of obfuscators or other methods to protect compiled code > > from reverse engineering? - I did - and I found they are good enough even > > the cheap ones, and expensive ones are very good. > > I've tried a few different ones, and while some parts of the code > would be obfuscatied, core components such as algorithms were still > semi-reproducable in some test cases. Granted, this was a little bit > ago and they may have made improvements to the obfuscators now. > > > I have heard they made good progress with ATL in VS.NET 2005. But I can't > > judge here because I do use ATL a few. > > I didn't know that much about prioritizing threads to logical processors and > > HyperThreading. > > Basically the way the multicore processors work at this moment (at > least to the current library of MS code) is that they are just treated > as hyper-threading processors. If you search the MSDN docs you should > be able to find easy ways to build this implementation in. > > > > "Good software design policies" if I got that correctly is a very broad term > > Do you mean they can restrict also the quantity of attributes and methods of > > a class? If yes - could you please post an example of such software design > > ploicy here or give a reference to it, which also shows that it worked in a > > real life project? > > Well, the classic example I like to use is the garbage collector. > Normally in C++ you handle allocation / deallocation of objects on the > heap yourself. In managed C++ with .NET you can use the garbage > collector so you don't have to worry about memory leaks from heap > allocated objects, restricting you from a common easy error, but at > the cost of speed and efficiency. > > I wasn't trying to promote the .NET as a restrictive language. I was > trying to state that MS and others can make framework seem more > flexible and easier to maintain, but that the same effect can also be > achieved by good coding practices and software design policy. > > In the example of the garbage collector: It is unnecessary to use the > collector if you manage your resources of your classes and code > properly so that you do not leak any resources. > > Microsoft seems to be taking the approach towards creating an > easier-to-use interface (.NET) and it seems that the more default > customizable interfaces are being left in the dust because of it. > > -- > Josh McFarlane > "Peace cannot be kept by force. It can only be achieved by understanding." > -Albert Einstein > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com From cfoust at infostatsystems.com Fri Aug 19 15:36:24 2005 From: cfoust at infostatsystems.com (Charlotte Foust) Date: Fri, 19 Aug 2005 13:36:24 -0700 Subject: [AccessD] Close All Forms Message-ID: Is there any particular reason you're using a reverse step in this? Have you tried it like this: For i = 0 to Forms.Count - 1 If Forms(i).Name <> "frmMainMenu" Then DoCmd.Close acForm, Forms(i).Name End If Next i Does that also bail out on End Function? Charlotte Foust -----Original Message----- From: Barbara Ryan [mailto:BarbaraRyan at cox.net] Sent: Friday, August 19, 2005 11:52 AM To: Access List Subject: [AccessD] Close All Forms I have used the following code successfully in Access 97 to close all forms when a specific function key is pressed. However, in Access 2002, this code causes the error box to appear (with the 2 options to send an error report to Microsoft or not) and then closes Access. Does anyone know why? Function CloseAllForms() Dim i As Integer ' Loop through the collection of open forms and close them (except for the main menu) If Forms.Count > 0 Then For i = Forms.Count - 1 To 0 Step -1 If Forms(i).Name <> "frmMainMenu" Then DoCmd.Close acForm, Forms(i).Name End If Next i End If End Function Thanks, Barb Ryan -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From Lambert.Heenan at AIG.com Fri Aug 19 16:14:02 2005 From: Lambert.Heenan at AIG.com (Heenan, Lambert) Date: Fri, 19 Aug 2005 17:14:02 -0400 Subject: [AccessD] Close All Forms Message-ID: <1D7828CDB8350747AFE9D69E0E90DA1F1484BE41@xlivmbx21.aig.com> It's normal practice to go in reverse when destroying items in a collection. Here's why... Say there are three forms open. With this code For i = Forms.Count - 1 To 0 Step -1 On the first time through Forms.Count - 1 is evaluated as 2, and I is set to 2. Then DoCmd.Close acForm, Forms(i).Name will close some form in the collection (which is closed is unspecified as collections are not sorted). Next time round the loop i is set to 1 and another form is closed. Etc. etc. But if we try doing this in a 'forward' direction we have... For i = 0 to Forms.Count - 1 If Forms(i).Name <> "frmMainMenu" Then DoCmd.Close acForm, Forms(i).Name End If Next i First time round Count = 3, i is set to 0 and "forms(0)" closes. Next time round Count = 2, i = 1 and "forms(1)" closes Next time round Count = 1, i = 2 and "Forms(2).Name" generates an error 2456, "The number you user to refer to the form is invalid", which is the collection's equivalent of "Subscript out of range" The For loop is optimized by the compiler so that the termination condition (Forms.Count-1) is only evaluated once. That's why you do it in reverse. None of this explains why Barbara is seeing Access crash though. Her code is totally legitimate. It's not even anything to do with the fact that the 'Function' does not return a value. I'm sure she's set it up like that so it can be called from an AutoKey macro. So we are left with the possibility that the applications p-code is corrupt. Time to back it up, then decompile and compact. With any luck that will fix it. If not, import all the objects into a new database. Lambert -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Charlotte Foust Sent: Friday, August 19, 2005 4:36 PM To: Access Developers discussion and problem solving Subject: RE: [AccessD] Close All Forms Is there any particular reason you're using a reverse step in this? Have you tried it like this: For i = 0 to Forms.Count - 1 If Forms(i).Name <> "frmMainMenu" Then DoCmd.Close acForm, Forms(i).Name End If Next i Does that also bail out on End Function? Charlotte Foust -----Original Message----- From: Barbara Ryan [mailto:BarbaraRyan at cox.net] Sent: Friday, August 19, 2005 11:52 AM To: Access List Subject: [AccessD] Close All Forms I have used the following code successfully in Access 97 to close all forms when a specific function key is pressed. However, in Access 2002, this code causes the error box to appear (with the 2 options to send an error report to Microsoft or not) and then closes Access. Does anyone know why? Function CloseAllForms() Dim i As Integer ' Loop through the collection of open forms and close them (except for the main menu) If Forms.Count > 0 Then For i = Forms.Count - 1 To 0 Step -1 If Forms(i).Name <> "frmMainMenu" Then DoCmd.Close acForm, Forms(i).Name End If Next i End If End Function Thanks, Barb Ryan -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From BarbaraRyan at cox.net Fri Aug 19 16:27:25 2005 From: BarbaraRyan at cox.net (Barbara Ryan) Date: Fri, 19 Aug 2005 17:27:25 -0400 Subject: [AccessD] Close All Forms References: Message-ID: <015401c5a504$cb6d0920$0a00a8c0@cx470148a> That blew up, too. The code has a reverse step only because I copied it from someone else! Barb ----- Original Message ----- From: "Charlotte Foust" To: "Access Developers discussion and problem solving" Sent: Friday, August 19, 2005 4:36 PM Subject: RE: [AccessD] Close All Forms > Is there any particular reason you're using a reverse step in this? > Have you tried it like this: > > For i = 0 to Forms.Count - 1 > If Forms(i).Name <> "frmMainMenu" Then > DoCmd.Close acForm, Forms(i).Name > End If > Next i > > Does that also bail out on End Function? > > Charlotte Foust > > > -----Original Message----- > From: Barbara Ryan [mailto:BarbaraRyan at cox.net] > Sent: Friday, August 19, 2005 11:52 AM > To: Access List > Subject: [AccessD] Close All Forms > > > I have used the following code successfully in Access 97 to close all > forms when a specific function key is pressed. However, in Access 2002, > this code causes the error box to appear (with the 2 options to send an > error report to Microsoft or not) and then closes Access. Does anyone > know why? > > Function CloseAllForms() > Dim i As Integer > ' Loop through the collection of open forms and close them > (except for the main menu) > If Forms.Count > 0 Then > For i = Forms.Count - 1 To 0 Step -1 > If Forms(i).Name <> "frmMainMenu" Then > DoCmd.Close acForm, Forms(i).Name > End If > Next i > End If > End Function > > Thanks, > Barb Ryan > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com From accessd at shaw.ca Fri Aug 19 16:32:09 2005 From: accessd at shaw.ca (Jim Lawrence) Date: Fri, 19 Aug 2005 14:32:09 -0700 Subject: [AccessD] Close All Forms In-Reply-To: <00f201c5a4f1$c41f8200$0a00a8c0@cx470148a> Message-ID: <0ILH00F0ANTJP0@l-daemon> It wouldn't be because you have just closed the form that you are on or have called this function from and the system is having a problem getting back?? HTH Jim -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Barbara Ryan Sent: Friday, August 19, 2005 12:11 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Close All Forms It dies after the "End Function" line is executed. ----- Original Message ----- From: "Josh McFarlane" To: "Access Developers discussion and problem solving" Sent: Friday, August 19, 2005 2:50 PM Subject: Re: [AccessD] Close All Forms > On 8/19/05, Barbara Ryan wrote: > > I have used the following code successfully in Access 97 to close all forms when a specific function key is pressed. However, in Access 2002, this code causes the error box to appear (with the 2 options to send an error report to Microsoft or not) and then closes Access. Does anyone know why? > > > > Function CloseAllForms() > > Dim i As Integer > > ' Loop through the collection of open forms and close them (except for the main menu) > > If Forms.Count > 0 Then > > For i = Forms.Count - 1 To 0 Step -1 > > If Forms(i).Name <> "frmMainMenu" Then > > DoCmd.Close acForm, Forms(i).Name > > End If > > Next i > > End If > > End Function > > Can you trace the specific line that it dies on? (IE Set a breakpoint > on DoCmd and see if it ever fires for each form.) > > -- > Josh McFarlane > > "Peace cannot be kept by force. It can only be achieved by understanding." > -Albert Einstein > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > 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 Fri Aug 19 16:45:56 2005 From: martyconnelly at shaw.ca (MartyConnelly) Date: Fri, 19 Aug 2005 14:45:56 -0700 Subject: [AccessD] Close All Forms References: <916187228923D311A6FE00A0CC3FAA30ABEE82@ADGSERVER> <011101c5a4f5$2aec5000$0a00a8c0@cx470148a> Message-ID: <43065314.3010807@shaw.ca> Code runs okay in Access 2003 with or without any forms open Do you have a timer running on one of the forms. Perhaps you can narrow it down to a specific form. Also here is some code from solutions.mdb that you could modify It uses database container's collection rather than form's collection. It is used to close everything on exit and checks for open recordsets. Function CloseObject(strContainerName As String, intContainerType As Integer) 'From the Developer Solutions database 'Close open database objects of the specified type Dim dbs As Database, ctr As Container Dim intX As Integer Dim rstfind As Variant Set dbs = CurrentDb Set ctr = dbs.Containers(strContainerName) For intX = 0 To ctr.Documents.Count - 1 ' DoCmd.Close intContainerType, ctr.Documents(intX).Name Debug.Print intContainerType, ctr.Documents(intX).Name Next intX For Each rstfind In CurrentDb.Recordsets MsgBox "Recordset Found: " & rstfind.Name Next rstfind End Function Sub cmdExit_Click() On Error GoTo Err_cmdExit_Click Dim bolExitDatabase As Boolean If MsgBox("Exit database? (No='Exit Form')", vbYesNo) = vbYes Then On Error Resume Next bolExitDatabase = True 'Close all database objects, then exit application CloseObject "Tables", acTable CloseObject "Tables", acQuery CloseObject "Forms", acForm CloseObject "Reports", acReport CloseObject "Scripts", acMacro CloseObject "Modules", acModule 'CloseCurrentDatabase Else DoCmd.Close End If Exit_cmdExit_Click: Exit Sub Err_cmdExit_Click: MsgBox Err.Description, , "cmdExit_Click: " & Err.Number Resume Exit_cmdExit_Click End Sub Barbara Ryan wrote: >I don't know..... is there something new in Access 2002 that would allow >this? > >Barb > >----- Original Message ----- >From: "Bobby Heid" >To: "'Access Developers discussion and problem solving'" > >Sent: Friday, August 19, 2005 3:14 PM >Subject: RE: [AccessD] Close All Forms > > > > >>Is it possible it is closing one of the standard access windows? >> >>Bobby >> >>-----Original Message----- >>From: accessd-bounces at databaseadvisors.com >>[mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Barbara Ryan >>Sent: Friday, August 19, 2005 3:11 PM >>To: Access Developers discussion and problem solving >>Subject: Re: [AccessD] Close All Forms >> >> >>It dies after the "End Function" line is executed. >> >> >>-- >>AccessD mailing list >>AccessD at databaseadvisors.com >>http://databaseadvisors.com/mailman/listinfo/accessd >>Website: http://www.databaseadvisors.com >> >> > > > -- Marty Connelly Victoria, B.C. Canada From cfoust at infostatsystems.com Fri Aug 19 17:33:32 2005 From: cfoust at infostatsystems.com (Charlotte Foust) Date: Fri, 19 Aug 2005 15:33:32 -0700 Subject: [AccessD] Close All Forms Message-ID: Yes, I know that Lambert. I just wondered if it blew up the other way too, because if so it suggests something is corrupted. Of course, there is an entirely different way to do it in Access 2000 and later: use the AccessObject and loop through the Application.CurrentProject.AllForms collection test the form's IsLoaded property before closing it. ;-} Charlotte -----Original Message----- From: Heenan, Lambert [mailto:Lambert.Heenan at aig.com] Sent: Friday, August 19, 2005 2:14 PM To: 'Access Developers discussion and problem solving' Subject: RE: [AccessD] Close All Forms It's normal practice to go in reverse when destroying items in a collection. Here's why... Say there are three forms open. With this code For i = Forms.Count - 1 To 0 Step -1 On the first time through Forms.Count - 1 is evaluated as 2, and I is set to 2. Then DoCmd.Close acForm, Forms(i).Name will close some form in the collection (which is closed is unspecified as collections are not sorted). Next time round the loop i is set to 1 and another form is closed. Etc. etc. But if we try doing this in a 'forward' direction we have... For i = 0 to Forms.Count - 1 If Forms(i).Name <> "frmMainMenu" Then DoCmd.Close acForm, Forms(i).Name End If Next i First time round Count = 3, i is set to 0 and "forms(0)" closes. Next time round Count = 2, i = 1 and "forms(1)" closes Next time round Count = 1, i = 2 and "Forms(2).Name" generates an error 2456, "The number you user to refer to the form is invalid", which is the collection's equivalent of "Subscript out of range" The For loop is optimized by the compiler so that the termination condition (Forms.Count-1) is only evaluated once. That's why you do it in reverse. None of this explains why Barbara is seeing Access crash though. Her code is totally legitimate. It's not even anything to do with the fact that the 'Function' does not return a value. I'm sure she's set it up like that so it can be called from an AutoKey macro. So we are left with the possibility that the applications p-code is corrupt. Time to back it up, then decompile and compact. With any luck that will fix it. If not, import all the objects into a new database. Lambert -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Charlotte Foust Sent: Friday, August 19, 2005 4:36 PM To: Access Developers discussion and problem solving Subject: RE: [AccessD] Close All Forms Is there any particular reason you're using a reverse step in this? Have you tried it like this: For i = 0 to Forms.Count - 1 If Forms(i).Name <> "frmMainMenu" Then DoCmd.Close acForm, Forms(i).Name End If Next i Does that also bail out on End Function? Charlotte Foust -----Original Message----- From: Barbara Ryan [mailto:BarbaraRyan at cox.net] Sent: Friday, August 19, 2005 11:52 AM To: Access List Subject: [AccessD] Close All Forms I have used the following code successfully in Access 97 to close all forms when a specific function key is pressed. However, in Access 2002, this code causes the error box to appear (with the 2 options to send an error report to Microsoft or not) and then closes Access. Does anyone know why? Function CloseAllForms() Dim i As Integer ' Loop through the collection of open forms and close them (except for the main menu) If Forms.Count > 0 Then For i = Forms.Count - 1 To 0 Step -1 If Forms(i).Name <> "frmMainMenu" Then DoCmd.Close acForm, Forms(i).Name End If Next i End If End Function Thanks, Barb Ryan -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From jwcolby at colbyconsulting.com Fri Aug 19 18:40:21 2005 From: jwcolby at colbyconsulting.com (John W. Colby) Date: Fri, 19 Aug 2005 19:40:21 -0400 Subject: [AccessD] Close All Forms In-Reply-To: <1D7828CDB8350747AFE9D69E0E90DA1F1484BE41@xlivmbx21.aig.com> Message-ID: <002401c5a517$5d80cc40$6c7aa8c0@ColbyM6805> In general with collections I use: While col.count > 0 col.remove(0) wend Thus for open forms Function CloseAllForms() With Forms While .Count > 0 DoCmd.Close acForm, .Item(0).Name Wend End With End Function Or alternately: Public Sub CloseAllForms() On Error GoTo Err_CloseAllForms Dim f As AccessObject For Each f In CurrentProject.AllForms DoCmd.Close acForm, f.Name Next End sub John W. Colby www.ColbyConsulting.com Contribute your unused CPU cycles to a good cause: http://folding.stanford.edu/ -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Heenan, Lambert Sent: Friday, August 19, 2005 5:14 PM To: 'Access Developers discussion and problem solving' Subject: RE: [AccessD] Close All Forms It's normal practice to go in reverse when destroying items in a collection. Here's why... Say there are three forms open. With this code For i = Forms.Count - 1 To 0 Step -1 On the first time through Forms.Count - 1 is evaluated as 2, and I is set to 2. Then DoCmd.Close acForm, Forms(i).Name will close some form in the collection (which is closed is unspecified as collections are not sorted). Next time round the loop i is set to 1 and another form is closed. Etc. etc. But if we try doing this in a 'forward' direction we have... For i = 0 to Forms.Count - 1 If Forms(i).Name <> "frmMainMenu" Then DoCmd.Close acForm, Forms(i).Name End If Next i First time round Count = 3, i is set to 0 and "forms(0)" closes. Next time round Count = 2, i = 1 and "forms(1)" closes Next time round Count = 1, i = 2 and "Forms(2).Name" generates an error 2456, "The number you user to refer to the form is invalid", which is the collection's equivalent of "Subscript out of range" The For loop is optimized by the compiler so that the termination condition (Forms.Count-1) is only evaluated once. That's why you do it in reverse. None of this explains why Barbara is seeing Access crash though. Her code is totally legitimate. It's not even anything to do with the fact that the 'Function' does not return a value. I'm sure she's set it up like that so it can be called from an AutoKey macro. So we are left with the possibility that the applications p-code is corrupt. Time to back it up, then decompile and compact. With any luck that will fix it. If not, import all the objects into a new database. Lambert -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Charlotte Foust Sent: Friday, August 19, 2005 4:36 PM To: Access Developers discussion and problem solving Subject: RE: [AccessD] Close All Forms Is there any particular reason you're using a reverse step in this? Have you tried it like this: For i = 0 to Forms.Count - 1 If Forms(i).Name <> "frmMainMenu" Then DoCmd.Close acForm, Forms(i).Name End If Next i Does that also bail out on End Function? Charlotte Foust -----Original Message----- From: Barbara Ryan [mailto:BarbaraRyan at cox.net] Sent: Friday, August 19, 2005 11:52 AM To: Access List Subject: [AccessD] Close All Forms I have used the following code successfully in Access 97 to close all forms when a specific function key is pressed. However, in Access 2002, this code causes the error box to appear (with the 2 options to send an error report to Microsoft or not) and then closes Access. Does anyone know why? Function CloseAllForms() Dim i As Integer ' Loop through the collection of open forms and close them (except for the main menu) If Forms.Count > 0 Then For i = Forms.Count - 1 To 0 Step -1 If Forms(i).Name <> "frmMainMenu" Then DoCmd.Close acForm, Forms(i).Name End If Next i End If End Function Thanks, Barb Ryan -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From BarbaraRyan at cox.net Fri Aug 19 19:14:45 2005 From: BarbaraRyan at cox.net (Barbara Ryan) Date: Fri, 19 Aug 2005 20:14:45 -0400 Subject: [AccessD] Close All Forms References: Message-ID: <018901c5a51c$46927d80$0a00a8c0@cx470148a> Since the application is now Access 2002, I can ditch the code I'm using and use Charlotte's approach or Marty's....Thanks! Barb ----- Original Message ----- From: "Charlotte Foust" To: "Access Developers discussion and problem solving" Sent: Friday, August 19, 2005 6:33 PM Subject: RE: [AccessD] Close All Forms > Yes, I know that Lambert. I just wondered if it blew up the other way > too, because if so it suggests something is corrupted. Of course, there > is an entirely different way to do it in Access 2000 and later: use the > AccessObject and loop through the Application.CurrentProject.AllForms > collection test the form's IsLoaded property before closing it. ;-} > > Charlotte > > > -----Original Message----- > From: Heenan, Lambert [mailto:Lambert.Heenan at aig.com] > Sent: Friday, August 19, 2005 2:14 PM > To: 'Access Developers discussion and problem solving' > Subject: RE: [AccessD] Close All Forms > > > It's normal practice to go in reverse when destroying items in a > collection. Here's why... > > Say there are three forms open. With this code > > For i = Forms.Count - 1 To 0 Step -1 > > On the first time through Forms.Count - 1 is evaluated as 2, and I is > set to 2. > > Then DoCmd.Close acForm, Forms(i).Name will close some form in the > collection (which is closed is unspecified as collections are not > sorted). > > Next time round the loop i is set to 1 and another form is closed. Etc. > etc. > > But if we try doing this in a 'forward' direction we have... > > For i = 0 to Forms.Count - 1 > If Forms(i).Name <> "frmMainMenu" Then > DoCmd.Close acForm, Forms(i).Name > End If > Next i > > First time round Count = 3, i is set to 0 and "forms(0)" closes. Next > time round Count = 2, i = 1 and "forms(1)" closes Next time round Count > = 1, i = 2 and "Forms(2).Name" generates an error 2456, "The number you > user to refer to the form is invalid", which is the collection's > equivalent of "Subscript out of range" > > The For loop is optimized by the compiler so that the termination > condition > (Forms.Count-1) is only evaluated once. That's why you do it in reverse. > > > > None of this explains why Barbara is seeing Access crash though. Her > code is totally legitimate. It's not even anything to do with the fact > that the 'Function' does not return a value. I'm sure she's set it up > like that so it can be called from an AutoKey macro. > > So we are left with the possibility that the applications p-code is > corrupt. Time to back it up, then decompile and compact. With any luck > that will fix it. If not, import all the objects into a new database. > > Lambert > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Charlotte > Foust > Sent: Friday, August 19, 2005 4:36 PM > To: Access Developers discussion and problem solving > Subject: RE: [AccessD] Close All Forms > > > Is there any particular reason you're using a reverse step in this? Have > you tried it like this: > > For i = 0 to Forms.Count - 1 > If Forms(i).Name <> "frmMainMenu" Then > DoCmd.Close acForm, Forms(i).Name > End If > Next i > > Does that also bail out on End Function? > > Charlotte Foust > > > -----Original Message----- > From: Barbara Ryan [mailto:BarbaraRyan at cox.net] > Sent: Friday, August 19, 2005 11:52 AM > To: Access List > Subject: [AccessD] Close All Forms > > > I have used the following code successfully in Access 97 to close all > forms when a specific function key is pressed. However, in Access 2002, > this code causes the error box to appear (with the 2 options to send an > error report to Microsoft or not) and then closes Access. Does anyone > know why? > > Function CloseAllForms() > Dim i As Integer > ' Loop through the collection of open forms and close them > (except for the main menu) > If Forms.Count > 0 Then > For i = Forms.Count - 1 To 0 Step -1 > If Forms(i).Name <> "frmMainMenu" Then > DoCmd.Close acForm, Forms(i).Name > End If > Next i > End If > End Function > > Thanks, > Barb Ryan > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > 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 Fri Aug 19 23:29:14 2005 From: martyconnelly at shaw.ca (MartyConnelly) Date: Fri, 19 Aug 2005 21:29:14 -0700 Subject: [AccessD] Close All Forms References: <018901c5a51c$46927d80$0a00a8c0@cx470148a> Message-ID: <4306B19A.8060705@shaw.ca> You could also try a decompile just in case something flakey happened in the p-code Barbara Ryan wrote: >Since the application is now Access 2002, I can ditch the code I'm using and >use Charlotte's approach or Marty's....Thanks! Barb > > >----- Original Message ----- >From: "Charlotte Foust" >To: "Access Developers discussion and problem solving" > >Sent: Friday, August 19, 2005 6:33 PM >Subject: RE: [AccessD] Close All Forms > > > > >>Yes, I know that Lambert. I just wondered if it blew up the other way >>too, because if so it suggests something is corrupted. Of course, there >>is an entirely different way to do it in Access 2000 and later: use the >>AccessObject and loop through the Application.CurrentProject.AllForms >>collection test the form's IsLoaded property before closing it. ;-} >> >>Charlotte >> >> >>-----Original Message----- >>From: Heenan, Lambert [mailto:Lambert.Heenan at aig.com] >>Sent: Friday, August 19, 2005 2:14 PM >>To: 'Access Developers discussion and problem solving' >>Subject: RE: [AccessD] Close All Forms >> >> >>It's normal practice to go in reverse when destroying items in a >>collection. Here's why... >> >>Say there are three forms open. With this code >> >>For i = Forms.Count - 1 To 0 Step -1 >> >>On the first time through Forms.Count - 1 is evaluated as 2, and I is >>set to 2. >> >>Then DoCmd.Close acForm, Forms(i).Name will close some form in the >>collection (which is closed is unspecified as collections are not >>sorted). >> >>Next time round the loop i is set to 1 and another form is closed. Etc. >>etc. >> >>But if we try doing this in a 'forward' direction we have... >> >> For i = 0 to Forms.Count - 1 >> If Forms(i).Name <> "frmMainMenu" Then >> DoCmd.Close acForm, Forms(i).Name >> End If >> Next i >> >>First time round Count = 3, i is set to 0 and "forms(0)" closes. Next >>time round Count = 2, i = 1 and "forms(1)" closes Next time round Count >>= 1, i = 2 and "Forms(2).Name" generates an error 2456, "The number you >>user to refer to the form is invalid", which is the collection's >>equivalent of "Subscript out of range" >> >>The For loop is optimized by the compiler so that the termination >>condition >>(Forms.Count-1) is only evaluated once. That's why you do it in reverse. >> >> >> >>None of this explains why Barbara is seeing Access crash though. Her >>code is totally legitimate. It's not even anything to do with the fact >>that the 'Function' does not return a value. I'm sure she's set it up >>like that so it can be called from an AutoKey macro. >> >>So we are left with the possibility that the applications p-code is >>corrupt. Time to back it up, then decompile and compact. With any luck >>that will fix it. If not, import all the objects into a new database. >> >>Lambert >> >>-----Original Message----- >>From: accessd-bounces at databaseadvisors.com >>[mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Charlotte >>Foust >>Sent: Friday, August 19, 2005 4:36 PM >>To: Access Developers discussion and problem solving >>Subject: RE: [AccessD] Close All Forms >> >> >>Is there any particular reason you're using a reverse step in this? Have >>you tried it like this: >> >> For i = 0 to Forms.Count - 1 >> If Forms(i).Name <> "frmMainMenu" Then >> DoCmd.Close acForm, Forms(i).Name >> End If >> Next i >> >>Does that also bail out on End Function? >> >>Charlotte Foust >> >> >>-----Original Message----- >>From: Barbara Ryan [mailto:BarbaraRyan at cox.net] >>Sent: Friday, August 19, 2005 11:52 AM >>To: Access List >>Subject: [AccessD] Close All Forms >> >> >>I have used the following code successfully in Access 97 to close all >>forms when a specific function key is pressed. However, in Access 2002, >>this code causes the error box to appear (with the 2 options to send an >>error report to Microsoft or not) and then closes Access. Does anyone >>know why? >> >> Function CloseAllForms() >> Dim i As Integer >> ' Loop through the collection of open forms and close them >>(except for the main menu) >> If Forms.Count > 0 Then >> For i = Forms.Count - 1 To 0 Step -1 >> If Forms(i).Name <> "frmMainMenu" Then >> DoCmd.Close acForm, Forms(i).Name >> End If >> Next i >> End If >> End Function >> >>Thanks, >>Barb Ryan >> >>-- >>AccessD mailing list >>AccessD at databaseadvisors.com >>http://databaseadvisors.com/mailman/listinfo/accessd >>Website: http://www.databaseadvisors.com >>-- >>AccessD mailing list >>AccessD at databaseadvisors.com >>http://databaseadvisors.com/mailman/listinfo/accessd >>Website: http://www.databaseadvisors.com >>-- >>AccessD mailing list >>AccessD at databaseadvisors.com >>http://databaseadvisors.com/mailman/listinfo/accessd >>Website: http://www.databaseadvisors.com >>-- >>AccessD mailing list >>AccessD at databaseadvisors.com >>http://databaseadvisors.com/mailman/listinfo/accessd >>Website: http://www.databaseadvisors.com >> >> > > > -- Marty Connelly Victoria, B.C. Canada From dwaters at usinternet.com Sat Aug 20 08:59:08 2005 From: dwaters at usinternet.com (Dan Waters) Date: Sat, 20 Aug 2005 08:59:08 -0500 Subject: [AccessD] Close All Forms In-Reply-To: <28733657.1124512556545.JavaMail.root@sniper18> Message-ID: <000001c5a58f$57735610$0300a8c0@danwaters> I once solved a 'form corruption' problem by: 1) Comment ALL the code in the form 2) Decompile 3) Exit Access 4) Open Application 5) Uncomment all the code 6) Compile The reason I did this was because a form on one user's PC was erroring out on a line of code, but no one else's was doing that. The above solved the problem. I'm guessing that commenting out the VBA code and decompiling completely removed the offending p-code, then uncommenting and compiling created completely new p-code. A note - the form had been originally created in A95, had been modified heavily, and was being used in AXP. HTH, Dan Waters -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of MartyConnelly Sent: Friday, August 19, 2005 11:29 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Close All Forms You could also try a decompile just in case something flakey happened in the p-code Barbara Ryan wrote: >Since the application is now Access 2002, I can ditch the code I'm using and >use Charlotte's approach or Marty's....Thanks! Barb > > >----- Original Message ----- >From: "Charlotte Foust" >To: "Access Developers discussion and problem solving" > >Sent: Friday, August 19, 2005 6:33 PM >Subject: RE: [AccessD] Close All Forms > > > > >>Yes, I know that Lambert. I just wondered if it blew up the other way >>too, because if so it suggests something is corrupted. Of course, there >>is an entirely different way to do it in Access 2000 and later: use the >>AccessObject and loop through the Application.CurrentProject.AllForms >>collection test the form's IsLoaded property before closing it. ;-} >> >>Charlotte >> >> >>-----Original Message----- >>From: Heenan, Lambert [mailto:Lambert.Heenan at aig.com] >>Sent: Friday, August 19, 2005 2:14 PM >>To: 'Access Developers discussion and problem solving' >>Subject: RE: [AccessD] Close All Forms >> >> >>It's normal practice to go in reverse when destroying items in a >>collection. Here's why... >> >>Say there are three forms open. With this code >> >>For i = Forms.Count - 1 To 0 Step -1 >> >>On the first time through Forms.Count - 1 is evaluated as 2, and I is >>set to 2. >> >>Then DoCmd.Close acForm, Forms(i).Name will close some form in the >>collection (which is closed is unspecified as collections are not >>sorted). >> >>Next time round the loop i is set to 1 and another form is closed. Etc. >>etc. >> >>But if we try doing this in a 'forward' direction we have... >> >> For i = 0 to Forms.Count - 1 >> If Forms(i).Name <> "frmMainMenu" Then >> DoCmd.Close acForm, Forms(i).Name >> End If >> Next i >> >>First time round Count = 3, i is set to 0 and "forms(0)" closes. Next >>time round Count = 2, i = 1 and "forms(1)" closes Next time round Count >>= 1, i = 2 and "Forms(2).Name" generates an error 2456, "The number you >>user to refer to the form is invalid", which is the collection's >>equivalent of "Subscript out of range" >> >>The For loop is optimized by the compiler so that the termination >>condition >>(Forms.Count-1) is only evaluated once. That's why you do it in reverse. >> >> >> >>None of this explains why Barbara is seeing Access crash though. Her >>code is totally legitimate. It's not even anything to do with the fact >>that the 'Function' does not return a value. I'm sure she's set it up >>like that so it can be called from an AutoKey macro. >> >>So we are left with the possibility that the applications p-code is >>corrupt. Time to back it up, then decompile and compact. With any luck >>that will fix it. If not, import all the objects into a new database. >> >>Lambert >> >>-----Original Message----- >>From: accessd-bounces at databaseadvisors.com >>[mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Charlotte >>Foust >>Sent: Friday, August 19, 2005 4:36 PM >>To: Access Developers discussion and problem solving >>Subject: RE: [AccessD] Close All Forms >> >> >>Is there any particular reason you're using a reverse step in this? Have >>you tried it like this: >> >> For i = 0 to Forms.Count - 1 >> If Forms(i).Name <> "frmMainMenu" Then >> DoCmd.Close acForm, Forms(i).Name >> End If >> Next i >> >>Does that also bail out on End Function? >> >>Charlotte Foust >> >> >>-----Original Message----- >>From: Barbara Ryan [mailto:BarbaraRyan at cox.net] >>Sent: Friday, August 19, 2005 11:52 AM >>To: Access List >>Subject: [AccessD] Close All Forms >> >> >>I have used the following code successfully in Access 97 to close all >>forms when a specific function key is pressed. However, in Access 2002, >>this code causes the error box to appear (with the 2 options to send an >>error report to Microsoft or not) and then closes Access. Does anyone >>know why? >> >> Function CloseAllForms() >> Dim i As Integer >> ' Loop through the collection of open forms and close them >>(except for the main menu) >> If Forms.Count > 0 Then >> For i = Forms.Count - 1 To 0 Step -1 >> If Forms(i).Name <> "frmMainMenu" Then >> DoCmd.Close acForm, Forms(i).Name >> End If >> Next i >> End If >> End Function >> >>Thanks, >>Barb Ryan >> >>-- >>AccessD mailing list >>AccessD at databaseadvisors.com >>http://databaseadvisors.com/mailman/listinfo/accessd >>Website: http://www.databaseadvisors.com >>-- >>AccessD mailing list >>AccessD at databaseadvisors.com >>http://databaseadvisors.com/mailman/listinfo/accessd >>Website: http://www.databaseadvisors.com >>-- >>AccessD mailing list >>AccessD at databaseadvisors.com >>http://databaseadvisors.com/mailman/listinfo/accessd >>Website: http://www.databaseadvisors.com >>-- >>AccessD mailing list >>AccessD at databaseadvisors.com >>http://databaseadvisors.com/mailman/listinfo/accessd >>Website: http://www.databaseadvisors.com >> >> > > > -- Marty Connelly Victoria, B.C. Canada -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From gustav at cactus.dk Sat Aug 20 12:46:51 2005 From: gustav at cactus.dk (Gustav Brock) Date: Sat, 20 Aug 2005 19:46:51 +0200 Subject: [AccessD] Parameter make table query Message-ID: Hi Chester You could use this syntax for populating a recordset: MyQDef1.Parameters("Pattern Name").Value = PatternName However, this opens a new instance of the query knowing nothing of the parameter setting above: DoCmd.OpenQuery MyQDef1.Name, acViewNormal, acEdit You will need to set the parameter to a public variable (or static function), then create a function to retrieve that value; now, remove the parameter and use this function in the query to supply the value (after setting it in your code as previously). /gustav >>> Chester_Kaup at kindermorgan.com 17-08-05 23:27 >>> I try to run the following code for a make table query but it still asks for a parameter. Why? Do I need to run it differently? Thanks. PatternName = "123-4" Set MyQDef1 = MyDb.QueryDefs("qry Actual Production after Inj Start Date") MyQDef1.Parameters![Pattern Name] = PatternName DoCmd.OpenQuery "qry Actual Production after Inj Start Date", acViewNormal, acEdit From gustav at cactus.dk Sat Aug 20 12:53:12 2005 From: gustav at cactus.dk (Gustav Brock) Date: Sat, 20 Aug 2005 19:53:12 +0200 Subject: Svar: [AccessD] Disconnected MS Access cient applications.. Message-ID: Hi Shamil First, welcome back to AccessD! Then, I find this a very interesting topic with a lot of perspective. /gustav >>> shamil at users.mns.ru 18-08-05 1:28 >>> Hi All, I wanted to ask you - what about the subject? Anybody uses/interested to use MS Access client applications this way? Do I miss obvious (RTFM) stuff and such a disconnected mode is already implemented in MS Access and broadly used by MS Access developers? Yes, I know ADO recordsets can be used with bound MS Access forms etc. but this looks like a rather limited feature - am I wrong? What I mean is cashing data locally into mdbs, only the data needed for the currently open form(s) etc., processing this data and then updating backend database(mdb, MSDE, MS SQL, whatever...) - with all this cashing and updating made mostly automatically by a tiny framework code, based on ADO.NET...(yes, this local caching of data is not a new subject but nowadays it can be (re-)implement really scalable way with a way less efforts than before) Maybe MS plans to do something like that? Is that a wheel reinvention or anybody here sees such opportunity like a really useful feature in their real life projects? For me it looks like a useful feature because it could help: to get MS Access back into mainstream development area because it will allow to easily scale applications with MS Access front-ends... There are many other ideas but most of them in this "ideas pool" based on the subject one - if it doesn't make sense for real-life projects then I'd better stop working on it... What is your opinion about the subject? When you expect MS will do something like that in MS Access? Thank you, Shamil From shamil at users.mns.ru Sat Aug 20 15:34:27 2005 From: shamil at users.mns.ru (Shamil Salakhetdinov) Date: Sun, 21 Aug 2005 00:34:27 +0400 Subject: [AccessD] Disconnected MS Access cient applications.. References: Message-ID: <003801c5a5c6$91e41a00$6401a8c0@fincomplex.spb.ru> Hi Gustav, Thank you for your welcoming and support! I have intentions to start approaching and implementing this idea here beginning next week with progress results published as a blog. I decided to codename this project (and its main object) as "Virtual Data Vault". It sounds generic but nothing more than making MS Access clients working in disconnected mode via ADO.NET with MS Access backends is planned on first steps. I mean first of all MS Access clients using bounds forms with data cached into local mdb tables... I don't have a lot of spare time but I do plan to find at least 20-30 minutes per day for this project. To make this project possible and progressing in such small chunks I see the only way to go is to use XP with Unit testing. I hope Charlotte Foust will assist me and will be my peer reviewer becaue she seems to be most interested in this project. How about that opportunity Charlotte? - if you will find 10 minutes per day for this peroject - very fine, if just 10 minutes per week - would be good too! If this project fails or "dies", which may happen of course - this will be all my fault... Most of the programming is planned to be done in C#... For blogging bBlog is currently planned - http://www.bblog.com/ - but still to find out will it be possible to install it here on my ISP hosting.... Any other good and simple to install blogging engines/opportunities? Thank you, Shamil ----- Original Message ----- From: "Gustav Brock" To: Sent: Saturday, August 20, 2005 9:53 PM Subject: Svar: [AccessD] Disconnected MS Access cient applications.. > Hi Shamil > > First, welcome back to AccessD! > Then, I find this a very interesting topic with a lot of perspective. > > /gustav > > >>> shamil at users.mns.ru 18-08-05 1:28 >>> > Hi All, > > I wanted to ask you - what about the subject? > Anybody uses/interested to use MS Access client applications this way? > > Do I miss obvious (RTFM) stuff and such a disconnected mode is already > implemented in MS Access and broadly used by MS Access developers? Yes, > I > know ADO recordsets can be used with bound MS Access forms etc. but this > looks like a rather limited feature - am I wrong? > > What I mean is cashing data locally into mdbs, only the data needed for > the > currently open form(s) etc., processing this data and then updating > backend > database(mdb, MSDE, MS SQL, whatever...) - with all this cashing and > updating made mostly automatically by a tiny framework code, based on > ADO.NET...(yes, this local caching of data is not a new subject but > nowadays > it can be (re-)implement really scalable way with a way less efforts > than > before) > > Maybe MS plans to do something like that? > > Is that a wheel reinvention or anybody here sees such opportunity like a > really useful feature in their real life projects? > > For me it looks like a useful feature because it could help: to get MS > Access back into mainstream development area because it will allow to > easily > scale applications with MS Access front-ends... > > There are many other ideas but most of them in this "ideas pool" based > on > the subject one - if it doesn't make sense for real-life projects then > I'd > better stop working on it... > > What is your opinion about the subject? > When you expect MS will do something like that in MS Access? > > Thank you, > Shamil > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com From gustav at cactus.dk Sat Aug 20 16:53:28 2005 From: gustav at cactus.dk (Gustav Brock) Date: Sat, 20 Aug 2005 23:53:28 +0200 Subject: [AccessD] Close All Forms Message-ID: Hi Barbara First, there's no need to retrieve the Form collection count that many times. Second, your main form is probably the first form to open, so why not just leave it? Thus: Function CloseAllForms() Dim lngForms As Long Dim lngForm As Long lngForms = Forms.Count ' Loop through the collection of forms and close ' them except for the first opened (main form). For lngForm = lngForms - 1 To 1 Step -1 DoCmd.Close acForm, Forms(lngForm).Name Next End Function You cannot do this forward because if you close form N all form indexes above N will be shifted one down to fill the hole in numbers. This could, however, be taken advantage of: Function CloseAllForms() ' Close all forms except the first opened. While Forms.Count > 1 DoCmd.Close acForm, Forms(1).Name Wend End Function As you can see, your function seems to be a mix of these two approaches. /gustav >>> BarbaraRyan at cox.net 19-08-05 20:51 >>> I have used the following code successfully in Access 97 to close all forms when a specific function key is pressed. However, in Access 2002, this code causes the error box to appear (with the 2 options to send an error report to Microsoft or not) and then closes Access. Does anyone know why? Function CloseAllForms() Dim i As Integer ' Loop through the collection of open forms and close them (except for the main menu) If Forms.Count > 0 Then For i = Forms.Count - 1 To 0 Step -1 If Forms(i).Name <> "frmMainMenu" Then DoCmd.Close acForm, Forms(i).Name End If Next i End If End Function Thanks, Barb Ryan From artful at rogers.com Sat Aug 20 18:19:08 2005 From: artful at rogers.com (Arthur Fuller) Date: Sat, 20 Aug 2005 19:19:08 -0400 Subject: [AccessD] Friday Humour a Day Late Message-ID: <200508202319.j7KNJ7R10658@databaseadvisors.com> A very old Italian gentleman with a son Vito in prison, wrote him a letter. Vito, I wish you were here with me. I want to dig up the garden and plant some tomatoes and olive trees. But the garden is rocky and I am old and infirm and have no energy to do it. If you were here, I know you would dig the garden for me, and I could plant the tomatoes and olives and grow them to fruition. Vito, receiving the letter in prison, writes back: DO NOT dig up the garden. That is where I planted the bodies. Next morning, 5am, the FBI arrives with bulldozers, scoop-shovels and various equipment. They dig up the entire garden 12 meters deep and find nothing. They depart. Next morning, the old man receives another letter from Vito. Plant your tomatoes, Father. Under the circumstances, this is the best I could do. A. From artful at rogers.com Sun Aug 21 15:42:52 2005 From: artful at rogers.com (Arthur Fuller) Date: Sun, 21 Aug 2005 16:42:52 -0400 Subject: [AccessD] "Find" combo box searches more than one table In-Reply-To: Message-ID: <200508212042.j7LKgrR30343@databaseadvisors.com> UNION the pair of SELECT statements, each point to one table. Grab the second column to know the location of the hit. Assuming that both tables have similar structures, open the edit form passing the appropriate args, i.e. DoCmd.OpenForm FormName:= {arg1}, WhereClause:= {PK-column} = "your value" HTH, Arthur From cfoust at infostatsystems.com Mon Aug 22 10:29:58 2005 From: cfoust at infostatsystems.com (Charlotte Foust) Date: Mon, 22 Aug 2005 08:29:58 -0700 Subject: [AccessD] Disconnected MS Access cient applications.. Message-ID: Shamil, I would be deeply honored to work with you on this ... Especially if any failures are all *your* fault! LOL I suppose this means that I have to get better are reading C# code, right? bBlog looks awesome, and this looks like fun! Charlotte -----Original Message----- From: Shamil Salakhetdinov [mailto:shamil at users.mns.ru] Sent: Saturday, August 20, 2005 1:34 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Disconnected MS Access cient applications.. Hi Gustav, Thank you for your welcoming and support! I have intentions to start approaching and implementing this idea here beginning next week with progress results published as a blog. I decided to codename this project (and its main object) as "Virtual Data Vault". It sounds generic but nothing more than making MS Access clients working in disconnected mode via ADO.NET with MS Access backends is planned on first steps. I mean first of all MS Access clients using bounds forms with data cached into local mdb tables... I don't have a lot of spare time but I do plan to find at least 20-30 minutes per day for this project. To make this project possible and progressing in such small chunks I see the only way to go is to use XP with Unit testing. I hope Charlotte Foust will assist me and will be my peer reviewer becaue she seems to be most interested in this project. How about that opportunity Charlotte? - if you will find 10 minutes per day for this peroject - very fine, if just 10 minutes per week - would be good too! If this project fails or "dies", which may happen of course - this will be all my fault... Most of the programming is planned to be done in C#... For blogging bBlog is currently planned - http://www.bblog.com/ - but still to find out will it be possible to install it here on my ISP hosting.... Any other good and simple to install blogging engines/opportunities? Thank you, Shamil ----- Original Message ----- From: "Gustav Brock" To: Sent: Saturday, August 20, 2005 9:53 PM Subject: Svar: [AccessD] Disconnected MS Access cient applications.. > Hi Shamil > > First, welcome back to AccessD! > Then, I find this a very interesting topic with a lot of perspective. > > /gustav > > >>> shamil at users.mns.ru 18-08-05 1:28 >>> > Hi All, > > I wanted to ask you - what about the subject? > Anybody uses/interested to use MS Access client applications this way? > > Do I miss obvious (RTFM) stuff and such a disconnected mode is already > implemented in MS Access and broadly used by MS Access developers? > Yes, I know ADO recordsets can be used with bound MS Access forms etc. > but this looks like a rather limited feature - am I wrong? > > What I mean is cashing data locally into mdbs, only the data needed > for the currently open form(s) etc., processing this data and then > updating backend > database(mdb, MSDE, MS SQL, whatever...) - with all this cashing and > updating made mostly automatically by a tiny framework code, based on > ADO.NET...(yes, this local caching of data is not a new subject but > nowadays > it can be (re-)implement really scalable way with a way less efforts > than > before) > > Maybe MS plans to do something like that? > > Is that a wheel reinvention or anybody here sees such opportunity like > a really useful feature in their real life projects? > > For me it looks like a useful feature because it could help: to get MS > Access back into mainstream development area because it will allow to > easily scale applications with MS Access front-ends... > > There are many other ideas but most of them in this "ideas pool" based > on the subject one - if it doesn't make sense for real-life projects > then I'd > better stop working on it... > > What is your opinion about the subject? > When you expect MS will do something like that in MS Access? > > Thank you, > Shamil > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > 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 Aug 22 10:31:38 2005 From: cfoust at infostatsystems.com (Charlotte Foust) Date: Mon, 22 Aug 2005 08:31:38 -0700 Subject: [AccessD] Friday Humour a Day Late Message-ID: ROTFL It's good, even late! Charlotte Foust -----Original Message----- From: Arthur Fuller [mailto:artful at rogers.com] Sent: Saturday, August 20, 2005 4:19 PM To: 'Access Developers discussion and problem solving' Subject: [AccessD] Friday Humour a Day Late A very old Italian gentleman with a son Vito in prison, wrote him a letter. Vito, I wish you were here with me. I want to dig up the garden and plant some tomatoes and olive trees. But the garden is rocky and I am old and infirm and have no energy to do it. If you were here, I know you would dig the garden for me, and I could plant the tomatoes and olives and grow them to fruition. Vito, receiving the letter in prison, writes back: DO NOT dig up the garden. That is where I planted the bodies. Next morning, 5am, the FBI arrives with bulldozers, scoop-shovels and various equipment. They dig up the entire garden 12 meters deep and find nothing. They depart. Next morning, the old man receives another letter from Vito. Plant your tomatoes, Father. Under the circumstances, this is the best I could do. A. -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From Chester_Kaup at kindermorgan.com Mon Aug 22 10:30:26 2005 From: Chester_Kaup at kindermorgan.com (Kaup, Chester) Date: Mon, 22 Aug 2005 10:30:26 -0500 Subject: [AccessD] Table does not open to first record Message-ID: I use the following code to open a table (myds) which is indexed on the date field. When I pull a record in code it gets record 127. I tried a movefirst command and the table still starts on record 127. Any ideas what is happening appreciated. Dim MyDb As Database, myds As Recordset Set MyDb = CurrentDb() Set myds = MyDb.OpenRecordset("tbl Produced HCPV% One Pattern", dbOpenTable) myds.MoveFirst myds1.AddNew myds1.Fields(0) = myds.Fields(0) 'Date myds1.Fields(1) = myds.Fields(1) 'Pattern name myds1.Fields(2) = myds.Fields(2) 'Cum total injection myds1.Fields(3) = myds.Fields(3) 'Cum based HCPV% myds1.Fields(4) = myds.Fields(4) 'Derivative based HCPV% myds1.Update Chester Kaup Engineering Technician Kinder Morgan CO2 Company, LLP Office (432) 688-3797 FAX (432) 688-3799 No trees were killed in the sending of this message. However a large number of electrons were terribly inconvenienced. From cfoust at infostatsystems.com Mon Aug 22 10:48:25 2005 From: cfoust at infostatsystems.com (Charlotte Foust) Date: Mon, 22 Aug 2005 08:48:25 -0700 Subject: [AccessD] Table does not open to first record Message-ID: Sorry but I don't know what you mean by "pull a record in code". Do you mean that when you move to the first record in myds, it isn't the earliest date in the table? You don't indicate why myds1 is or how it's populated either. Charlotte Foust -----Original Message----- From: Kaup, Chester [mailto:Chester_Kaup at kindermorgan.com] Sent: Monday, August 22, 2005 8:30 AM To: Access Developers discussion and problem solving Subject: [AccessD] Table does not open to first record I use the following code to open a table (myds) which is indexed on the date field. When I pull a record in code it gets record 127. I tried a movefirst command and the table still starts on record 127. Any ideas what is happening appreciated. Dim MyDb As Database, myds As Recordset Set MyDb = CurrentDb() Set myds = MyDb.OpenRecordset("tbl Produced HCPV% One Pattern", dbOpenTable) myds.MoveFirst myds1.AddNew myds1.Fields(0) = myds.Fields(0) 'Date myds1.Fields(1) = myds.Fields(1) 'Pattern name myds1.Fields(2) = myds.Fields(2) 'Cum total injection myds1.Fields(3) = myds.Fields(3) 'Cum based HCPV% myds1.Fields(4) = myds.Fields(4) 'Derivative based HCPV% myds1.Update Chester Kaup Engineering Technician Kinder Morgan CO2 Company, LLP Office (432) 688-3797 FAX (432) 688-3799 No trees were killed in the sending of this message. However a large number of electrons were terribly inconvenienced. -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From Chester_Kaup at kindermorgan.com Mon Aug 22 10:56:26 2005 From: Chester_Kaup at kindermorgan.com (Kaup, Chester) Date: Mon, 22 Aug 2005 10:56:26 -0500 Subject: [AccessD] Table does not open to first record Message-ID: Myds is a table that has been populated in previous code one record at a time. When I view my list of tables and double click on the table it opens in ascending date order. When I open the table in code it does not open on the first record which is the one with the earliest date. Hope that makes sense. -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Charlotte Foust Sent: Monday, August 22, 2005 10:48 AM To: Access Developers discussion and problem solving Subject: RE: [AccessD] Table does not open to first record Sorry but I don't know what you mean by "pull a record in code". Do you mean that when you move to the first record in myds, it isn't the earliest date in the table? You don't indicate why myds1 is or how it's populated either. Charlotte Foust -----Original Message----- From: Kaup, Chester [mailto:Chester_Kaup at kindermorgan.com] Sent: Monday, August 22, 2005 8:30 AM To: Access Developers discussion and problem solving Subject: [AccessD] Table does not open to first record I use the following code to open a table (myds) which is indexed on the date field. When I pull a record in code it gets record 127. I tried a movefirst command and the table still starts on record 127. Any ideas what is happening appreciated. Dim MyDb As Database, myds As Recordset Set MyDb = CurrentDb() Set myds = MyDb.OpenRecordset("tbl Produced HCPV% One Pattern", dbOpenTable) myds.MoveFirst myds1.AddNew myds1.Fields(0) = myds.Fields(0) 'Date myds1.Fields(1) = myds.Fields(1) 'Pattern name myds1.Fields(2) = myds.Fields(2) 'Cum total injection myds1.Fields(3) = myds.Fields(3) 'Cum based HCPV% myds1.Fields(4) = myds.Fields(4) 'Derivative based HCPV% myds1.Update Chester Kaup Engineering Technician Kinder Morgan CO2 Company, LLP Office (432) 688-3797 FAX (432) 688-3799 No trees were killed in the sending of this message. However a large number of electrons were terribly inconvenienced. -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From andy at minstersystems.co.uk Mon Aug 22 11:02:14 2005 From: andy at minstersystems.co.uk (Andy Lacey) Date: Mon, 22 Aug 2005 17:02:14 +0100 Subject: [AccessD] Table does not open to first record Message-ID: <20050822160210.9B0B8254BCF@smtp.nildram.co.uk> Chester Try inserting myds.index="yourindexname" after the Open -- 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] Table does not open to first record Date: 22/08/05 15:57 Myds is a table that has been populated in previous code one record at a time. When I view my list of tables and double click on the table it opens in ascending date order. When I open the table in code it does not open on the first record which is the one with the earliest date. Hope that makes sense. -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Charlotte Foust Sent: Monday, August 22, 2005 10:48 AM To: Access Developers discussion and problem solving Subject: RE: [AccessD] Table does not open to first record Sorry but I don't know what you mean by "pull a record in code". Do you mean that when you move to the first record in myds, it isn't the earliest date in the table? You don't indicate why myds1 is or how it's populated either. Charlotte Foust -----Original Message----- From: Kaup, Chester [mailto:Chester_Kaup at kindermorgan.com] Sent: Monday, August 22, 2005 8:30 AM To: Access Developers discussion and problem solving Subject: [AccessD] Table does not open to first record I use the following code to open a table (myds) which is indexed on the date field. When I pull a record in code it gets record 127. I tried a movefirst command and the table still starts on record 127. Any ideas what is happening appreciated. Dim MyDb As Database, myds As Recordset Set MyDb = CurrentDb() Set myds = MyDb.OpenRecordset("tbl Produced HCPV% One Pattern", dbOpenTable) myds.MoveFirst myds1.AddNew myds1.Fields(0) = myds.Fields(0) 'Date myds1.Fields(1) = myds.Fields(1) 'Pattern name myds1.Fields(2) = myds.Fields(2) 'Cum total injection myds1.Fields(3) = myds.Fields(3) 'Cum based HCPV% myds1.Fields(4) = myds.Fields(4) 'Derivative based HCPV% myds1.Update Chester Kaup Engineering Technician Kinder Morgan CO2 Company, LLP Office (432) 688-3797 FAX (432) 688-3799 No trees were killed in the sending of this message. However a large number of electrons were terribly inconvenienced. -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com ________________________________________________ Message sent using UebiMiau 2.7.2 From Chester_Kaup at kindermorgan.com Mon Aug 22 11:21:02 2005 From: Chester_Kaup at kindermorgan.com (Kaup, Chester) Date: Mon, 22 Aug 2005 11:21:02 -0500 Subject: [AccessD] Table does not open to first record Message-ID: Thanks that fixed it. Learn something new every day. -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Andy Lacey Sent: Monday, August 22, 2005 11:02 AM To: Access Developers discussion and problem solving Subject: RE: [AccessD] Table does not open to first record Chester Try inserting myds.index="yourindexname" after the Open -- 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] Table does not open to first record Date: 22/08/05 15:57 Myds is a table that has been populated in previous code one record at a time. When I view my list of tables and double click on the table it opens in ascending date order. When I open the table in code it does not open on the first record which is the one with the earliest date. Hope that makes sense. -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Charlotte Foust Sent: Monday, August 22, 2005 10:48 AM To: Access Developers discussion and problem solving Subject: RE: [AccessD] Table does not open to first record Sorry but I don't know what you mean by "pull a record in code". Do you mean that when you move to the first record in myds, it isn't the earliest date in the table? You don't indicate why myds1 is or how it's populated either. Charlotte Foust -----Original Message----- From: Kaup, Chester [mailto:Chester_Kaup at kindermorgan.com] Sent: Monday, August 22, 2005 8:30 AM To: Access Developers discussion and problem solving Subject: [AccessD] Table does not open to first record I use the following code to open a table (myds) which is indexed on the date field. When I pull a record in code it gets record 127. I tried a movefirst command and the table still starts on record 127. Any ideas what is happening appreciated. Dim MyDb As Database, myds As Recordset Set MyDb = CurrentDb() Set myds = MyDb.OpenRecordset("tbl Produced HCPV% One Pattern", dbOpenTable) myds.MoveFirst myds1.AddNew myds1.Fields(0) = myds.Fields(0) 'Date myds1.Fields(1) = myds.Fields(1) 'Pattern name myds1.Fields(2) = myds.Fields(2) 'Cum total injection myds1.Fields(3) = myds.Fields(3) 'Cum based HCPV% myds1.Fields(4) = myds.Fields(4) 'Derivative based HCPV% myds1.Update Chester Kaup Engineering Technician Kinder Morgan CO2 Company, LLP Office (432) 688-3797 FAX (432) 688-3799 No trees were killed in the sending of this message. However a large number of electrons were terribly inconvenienced. -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com ________________________________________________ Message sent using UebiMiau 2.7.2 -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From martyconnelly at shaw.ca Mon Aug 22 11:43:26 2005 From: martyconnelly at shaw.ca (MartyConnelly) Date: Mon, 22 Aug 2005 09:43:26 -0700 Subject: [AccessD] Table does not open to first record References: Message-ID: <430A00AE.2070306@shaw.ca> An index won't guarantee the order in which the rows are returned from a table unless it is applied. otherwise the table will be just like a shuffled deck of cards. To apply an index use OrderBy and dbOpenDynaset rather than dbOpenTable If you don't specify the second parameter in Openrecordset , by default Access looks at the table and uses dbOpenTable, if a local Table or dbOpenDynaSet , if a query or linked backend table. So you would want to apply a dynamic query to establish indexed order like so. Or you can create your own named query in place of strSQL. dim strSQL as String strSQL = "SELECT * FROM [tbl Produced HCPV% One Pattern] OrderBy MyDateFieldname", debug.print strSQL ' just to check you got it right Set myds = MyDb.OpenRecordset(strSQL, dbOpenDynaset) Kaup, Chester wrote: >I use the following code to open a table (myds) which is indexed on the >date field. When I pull a record in code it gets record 127. I tried a >movefirst command and the table still starts on record 127. Any ideas >what is happening appreciated. > > > >Dim MyDb As Database, myds As Recordset > >Set MyDb = CurrentDb() > >Set myds = MyDb.OpenRecordset("tbl Produced HCPV% One Pattern", >dbOpenTable) > > > >myds.MoveFirst > >myds1.AddNew > > myds1.Fields(0) = myds.Fields(0) 'Date > > myds1.Fields(1) = myds.Fields(1) 'Pattern name > > myds1.Fields(2) = myds.Fields(2) 'Cum total injection > > myds1.Fields(3) = myds.Fields(3) 'Cum based HCPV% > > myds1.Fields(4) = myds.Fields(4) 'Derivative based HCPV% > >myds1.Update > > > >Chester Kaup > >Engineering Technician > >Kinder Morgan CO2 Company, LLP > >Office (432) 688-3797 > >FAX (432) 688-3799 > > > > > >No trees were killed in the sending of this message. However a large >number of electrons were terribly inconvenienced. > > > > > -- Marty Connelly Victoria, B.C. Canada From martyconnelly at shaw.ca Mon Aug 22 12:04:31 2005 From: martyconnelly at shaw.ca (MartyConnelly) Date: Mon, 22 Aug 2005 10:04:31 -0700 Subject: [AccessD] Table does not open to first record References: <20050822160210.9B0B8254BCF@smtp.nildram.co.uk> Message-ID: <430A059F.8070101@shaw.ca> Me too, learn something again you had long forgotten about. Andy Lacey wrote: >Chester >Try inserting > >myds.index="yourindexname" > >after the Open >-- >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] Table does not open to first record >Date: 22/08/05 15:57 > > >Myds is a table that has been populated in previous code one record at a >time. When I view my list of tables and double click on the table it >opens in ascending date order. When I open the table in code it does not >open on the first record which is the one with the earliest date. Hope >that makes sense. > >-----Original Message----- >From: accessd-bounces at databaseadvisors.com >[mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Charlotte >Foust >Sent: Monday, August 22, 2005 10:48 AM >To: Access Developers discussion and problem solving >Subject: RE: [AccessD] Table does not open to first record > >Sorry but I don't know what you mean by "pull a record in code". Do you >mean that when you move to the first record in myds, it isn't the >earliest date in the table? You don't indicate why myds1 is or how it's >populated either. > >Charlotte Foust > > >-----Original Message----- >From: Kaup, Chester [mailto:Chester_Kaup at kindermorgan.com] >Sent: Monday, August 22, 2005 8:30 AM >To: Access Developers discussion and problem solving >Subject: [AccessD] Table does not open to first record > > >I use the following code to open a table (myds) which is indexed on the >date field. When I pull a record in code it gets record 127. I tried a >movefirst command and the table still starts on record 127. Any ideas >what is happening appreciated. > > > >Dim MyDb As Database, myds As Recordset > >Set MyDb = CurrentDb() > >Set myds = MyDb.OpenRecordset("tbl Produced HCPV% One Pattern", >dbOpenTable) > > > >myds.MoveFirst > >myds1.AddNew > >myds1.Fields(0) = myds.Fields(0) 'Date > >myds1.Fields(1) = myds.Fields(1) 'Pattern name > >myds1.Fields(2) = myds.Fields(2) 'Cum total injection > >myds1.Fields(3) = myds.Fields(3) 'Cum based HCPV% > >myds1.Fields(4) = myds.Fields(4) 'Derivative based HCPV% > >myds1.Update > > > >Chester Kaup > >Engineering Technician > >Kinder Morgan CO2 Company, LLP > >Office (432) 688-3797 > >FAX (432) 688-3799 > > > > > >No trees were killed in the sending of this message. However a large >number of electrons were terribly inconvenienced. > > > >-- >AccessD mailing list >AccessD at databaseadvisors.com >http://databaseadvisors.com/mailman/listinfo/accessd >Website: http://www.databaseadvisors.com >-- >AccessD mailing list >AccessD at databaseadvisors.com >http://databaseadvisors.com/mailman/listinfo/accessd >Website: http://www.databaseadvisors.com > > > >-- >AccessD mailing list >AccessD at databaseadvisors.com >http://databaseadvisors.com/mailman/listinfo/accessd >Website: http://www.databaseadvisors.com > >________________________________________________ >Message sent using UebiMiau 2.7.2 > > > -- Marty Connelly Victoria, B.C. Canada From shamil at users.mns.ru Mon Aug 22 12:26:43 2005 From: shamil at users.mns.ru (Shamil Salakhetdinov) Date: Mon, 22 Aug 2005 21:26:43 +0400 Subject: [AccessD] Disconnected MS Access cient applications.. References: Message-ID: <004c01c5a741$49098280$6501a8c0@fincomplex.spb.ru> > I would be deeply honored to work with you on this ... Thank you, Charlotte, for your confirmation that you're interested to work in this project! > Especially if any failures are all *your* fault! LOL Yes, all the failures will be mine if you don't mind. Glorious results - common :) > I suppose this means that I have to get better > are reading C# code, right? Please don't do any preliminary work like starting to train yourself in coding in C#... > and this looks like fun! ...because you're right - it should be fun. If you program on VB.NET then running C# unit tests and samples will not be a problem at all I think. And I think you'll get good experience in C# "automagically" while we will be developing this project, therefore no need to worry about that now... So, now it's my duty to prepare everything to start this project somewhere end of this week. Installing bBlog on my ISP hosting is the main task for me now. Hopefully it will go smoothly. I'm setting deadline to have it running: this Thursday, August 23, 2005, evening... Thank you, Shamil ----- Original Message ----- From: "Charlotte Foust" To: "Access Developers discussion and problem solving" Sent: Monday, August 22, 2005 7:29 PM Subject: RE: [AccessD] Disconnected MS Access cient applications.. > Shamil, > > I would be deeply honored to work with you on this ... Especially if any > failures are all *your* fault! LOL > > I suppose this means that I have to get better are reading C# code, > right? > > bBlog looks awesome, and this looks like fun! > > > Charlotte > > > -----Original Message----- > From: Shamil Salakhetdinov [mailto:shamil at users.mns.ru] > Sent: Saturday, August 20, 2005 1:34 PM > To: Access Developers discussion and problem solving > Subject: Re: [AccessD] Disconnected MS Access cient applications.. > > > Hi Gustav, > > Thank you for your welcoming and support! > > I have intentions to start approaching and implementing this idea here > beginning next week with progress results published as a blog. > > I decided to codename this project (and its main object) as > > "Virtual Data Vault". > > It sounds generic but nothing more than making MS Access clients working > in disconnected mode via ADO.NET with MS Access backends is planned on > first steps. I mean first of all MS Access clients using bounds forms > with data cached into local mdb tables... > > I don't have a lot of spare time but I do plan to find at least 20-30 > minutes per day for this project. To make this project possible and > progressing in such small chunks I see the only way to go is to use XP > with Unit testing. I hope Charlotte Foust will assist me and will be my > peer reviewer becaue she seems to be most interested in this project. > How about that opportunity Charlotte? - if you will find 10 minutes per > day for this peroject - very fine, if just 10 minutes per week - would > be good too! If this project fails or "dies", which may happen of course > - this will be all my fault... > > Most of the programming is planned to be done in C#... > > For blogging bBlog is currently planned - http://www.bblog.com/ - but > still to find out will it be possible to install it here on my ISP > hosting.... > > Any other good and simple to install blogging engines/opportunities? > > Thank you, > Shamil > > ----- Original Message ----- > From: "Gustav Brock" > To: > Sent: Saturday, August 20, 2005 9:53 PM > Subject: Svar: [AccessD] Disconnected MS Access cient applications.. > > > > Hi Shamil > > > > First, welcome back to AccessD! > > Then, I find this a very interesting topic with a lot of perspective. > > > > /gustav > > > > >>> shamil at users.mns.ru 18-08-05 1:28 >>> > > Hi All, > > > > I wanted to ask you - what about the subject? > > Anybody uses/interested to use MS Access client applications this way? > > > > Do I miss obvious (RTFM) stuff and such a disconnected mode is already > > > implemented in MS Access and broadly used by MS Access developers? > > Yes, I know ADO recordsets can be used with bound MS Access forms etc. > > > but this looks like a rather limited feature - am I wrong? > > > > What I mean is cashing data locally into mdbs, only the data needed > > for the currently open form(s) etc., processing this data and then > > updating backend > > database(mdb, MSDE, MS SQL, whatever...) - with all this cashing and > > updating made mostly automatically by a tiny framework code, based on > > ADO.NET...(yes, this local caching of data is not a new subject but > > nowadays > > it can be (re-)implement really scalable way with a way less efforts > > than > > before) > > > > Maybe MS plans to do something like that? > > > > Is that a wheel reinvention or anybody here sees such opportunity like > > > a really useful feature in their real life projects? > > > > For me it looks like a useful feature because it could help: to get MS > > > Access back into mainstream development area because it will allow to > > easily scale applications with MS Access front-ends... > > > > There are many other ideas but most of them in this "ideas pool" based > > > on the subject one - if it doesn't make sense for real-life projects > > then I'd > > better stop working on it... > > > > What is your opinion about the subject? > > When you expect MS will do something like that in MS Access? > > > > Thank you, > > Shamil > > > > -- > > AccessD mailing list > > AccessD at databaseadvisors.com > > http://databaseadvisors.com/mailman/listinfo/accessd > > Website: http://www.databaseadvisors.com > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com From shamil at users.mns.ru Mon Aug 22 12:57:05 2005 From: shamil at users.mns.ru (Shamil Salakhetdinov) Date: Mon, 22 Aug 2005 21:57:05 +0400 Subject: [AccessD] Disconnected MS Access cient applications.. References: <004c01c5a741$49098280$6501a8c0@fincomplex.spb.ru> Message-ID: <000501c5a742$ea36b0a0$6501a8c0@fincomplex.spb.ru> > I'm setting deadline to have it running: this Thursday, August 23, 2005, > evening... Sorry, Thursday is 25 of August not 23th - I meant 25th as a deadline date for bBlog up&running here... Shamil ----- Original Message ----- From: "Shamil Salakhetdinov" To: "Access Developers discussion and problem solving" Sent: Monday, August 22, 2005 9:26 PM Subject: Re: [AccessD] Disconnected MS Access cient applications.. > > I would be deeply honored to work with you on this ... > Thank you, Charlotte, for your confirmation that you're interested to work > in this project! > > > Especially if any failures are all *your* fault! LOL > Yes, all the failures will be mine if you don't mind. > Glorious results - common :) > > > I suppose this means that I have to get better > > are reading C# code, right? > Please don't do any preliminary work like starting to train yourself in > coding in C#... > > > and this looks like fun! > ...because you're right - it should be fun. > > If you program on VB.NET then running C# unit tests and samples will not be > a problem at all I think. > And I think you'll get good experience in C# "automagically" while we will > be developing this project, therefore no need to worry about that now... > > So, now it's my duty to prepare everything to start this project somewhere > end of this week. > Installing bBlog on my ISP hosting is the main task for me now. > Hopefully it will go smoothly. > I'm setting deadline to have it running: this Thursday, August 23, 2005, > evening... > > Thank you, > Shamil > > ----- Original Message ----- > From: "Charlotte Foust" > To: "Access Developers discussion and problem solving" > > Sent: Monday, August 22, 2005 7:29 PM > Subject: RE: [AccessD] Disconnected MS Access cient applications.. > > > > Shamil, > > > > I would be deeply honored to work with you on this ... Especially if any > > failures are all *your* fault! LOL > > > > I suppose this means that I have to get better are reading C# code, > > right? > > > > bBlog looks awesome, and this looks like fun! > > > > > > Charlotte > > > > > > -----Original Message----- > > From: Shamil Salakhetdinov [mailto:shamil at users.mns.ru] > > Sent: Saturday, August 20, 2005 1:34 PM > > To: Access Developers discussion and problem solving > > Subject: Re: [AccessD] Disconnected MS Access cient applications.. > > > > > > Hi Gustav, > > > > Thank you for your welcoming and support! > > > > I have intentions to start approaching and implementing this idea here > > beginning next week with progress results published as a blog. > > > > I decided to codename this project (and its main object) as > > > > "Virtual Data Vault". > > > > It sounds generic but nothing more than making MS Access clients working > > in disconnected mode via ADO.NET with MS Access backends is planned on > > first steps. I mean first of all MS Access clients using bounds forms > > with data cached into local mdb tables... > > > > I don't have a lot of spare time but I do plan to find at least 20-30 > > minutes per day for this project. To make this project possible and > > progressing in such small chunks I see the only way to go is to use XP > > with Unit testing. I hope Charlotte Foust will assist me and will be my > > peer reviewer becaue she seems to be most interested in this project. > > How about that opportunity Charlotte? - if you will find 10 minutes per > > day for this peroject - very fine, if just 10 minutes per week - would > > be good too! If this project fails or "dies", which may happen of course > > - this will be all my fault... > > > > Most of the programming is planned to be done in C#... > > > > For blogging bBlog is currently planned - http://www.bblog.com/ - but > > still to find out will it be possible to install it here on my ISP > > hosting.... > > > > Any other good and simple to install blogging engines/opportunities? > > > > Thank you, > > Shamil > > > > ----- Original Message ----- > > From: "Gustav Brock" > > To: > > Sent: Saturday, August 20, 2005 9:53 PM > > Subject: Svar: [AccessD] Disconnected MS Access cient applications.. > > > > > > > Hi Shamil > > > > > > First, welcome back to AccessD! > > > Then, I find this a very interesting topic with a lot of perspective. > > > > > > /gustav > > > > > > >>> shamil at users.mns.ru 18-08-05 1:28 >>> > > > Hi All, > > > > > > I wanted to ask you - what about the subject? > > > Anybody uses/interested to use MS Access client applications this way? > > > > > > Do I miss obvious (RTFM) stuff and such a disconnected mode is already > > > > > implemented in MS Access and broadly used by MS Access developers? > > > Yes, I know ADO recordsets can be used with bound MS Access forms etc. > > > > > but this looks like a rather limited feature - am I wrong? > > > > > > What I mean is cashing data locally into mdbs, only the data needed > > > for the currently open form(s) etc., processing this data and then > > > updating backend > > > database(mdb, MSDE, MS SQL, whatever...) - with all this cashing and > > > updating made mostly automatically by a tiny framework code, based on > > > ADO.NET...(yes, this local caching of data is not a new subject but > > > nowadays > > > it can be (re-)implement really scalable way with a way less efforts > > > than > > > before) > > > > > > Maybe MS plans to do something like that? > > > > > > Is that a wheel reinvention or anybody here sees such opportunity like > > > > > a really useful feature in their real life projects? > > > > > > For me it looks like a useful feature because it could help: to get MS > > > > > Access back into mainstream development area because it will allow to > > > easily scale applications with MS Access front-ends... > > > > > > There are many other ideas but most of them in this "ideas pool" based > > > > > on the subject one - if it doesn't make sense for real-life projects > > > then I'd > > > better stop working on it... > > > > > > What is your opinion about the subject? > > > When you expect MS will do something like that in MS Access? > > > > > > Thank you, > > > Shamil > > > > > > -- > > > AccessD mailing list > > > AccessD at databaseadvisors.com > > > http://databaseadvisors.com/mailman/listinfo/accessd > > > Website: http://www.databaseadvisors.com > > > > -- > > AccessD mailing list > > AccessD at databaseadvisors.com > > http://databaseadvisors.com/mailman/listinfo/accessd > > Website: http://www.databaseadvisors.com > > -- > > AccessD mailing list > > AccessD at databaseadvisors.com > > http://databaseadvisors.com/mailman/listinfo/accessd > > Website: http://www.databaseadvisors.com > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com From Chester_Kaup at kindermorgan.com Mon Aug 22 16:17:01 2005 From: Chester_Kaup at kindermorgan.com (Kaup, Chester) Date: Mon, 22 Aug 2005 16:17:01 -0500 Subject: [AccessD] Table does not open to first record Message-ID: Doesn't order by just sort the records. Would I not still want an index on the table for speed of processing and searching? Why does access ask for a sort order when creating an index if it is not used in data retrieval? Help me understand. Thanks. -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of MartyConnelly Sent: Monday, August 22, 2005 11:43 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Table does not open to first record An index won't guarantee the order in which the rows are returned from a table unless it is applied. otherwise the table will be just like a shuffled deck of cards. To apply an index use OrderBy and dbOpenDynaset rather than dbOpenTable If you don't specify the second parameter in Openrecordset , by default Access looks at the table and uses dbOpenTable, if a local Table or dbOpenDynaSet , if a query or linked backend table. So you would want to apply a dynamic query to establish indexed order like so. Or you can create your own named query in place of strSQL. dim strSQL as String strSQL = "SELECT * FROM [tbl Produced HCPV% One Pattern] OrderBy MyDateFieldname", debug.print strSQL ' just to check you got it right Set myds = MyDb.OpenRecordset(strSQL, dbOpenDynaset) Kaup, Chester wrote: >I use the following code to open a table (myds) which is indexed on the >date field. When I pull a record in code it gets record 127. I tried a >movefirst command and the table still starts on record 127. Any ideas >what is happening appreciated. > > > >Dim MyDb As Database, myds As Recordset > >Set MyDb = CurrentDb() > >Set myds = MyDb.OpenRecordset("tbl Produced HCPV% One Pattern", >dbOpenTable) > > > >myds.MoveFirst > >myds1.AddNew > > myds1.Fields(0) = myds.Fields(0) 'Date > > myds1.Fields(1) = myds.Fields(1) 'Pattern name > > myds1.Fields(2) = myds.Fields(2) 'Cum total injection > > myds1.Fields(3) = myds.Fields(3) 'Cum based HCPV% > > myds1.Fields(4) = myds.Fields(4) 'Derivative based HCPV% > >myds1.Update > > > >Chester Kaup > >Engineering Technician > >Kinder Morgan CO2 Company, LLP > >Office (432) 688-3797 > >FAX (432) 688-3799 > > > > > >No trees were killed in the sending of this message. However a large >number of electrons were terribly inconvenienced. > > > > > -- Marty Connelly Victoria, B.C. Canada -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From prodevmg at yahoo.com Mon Aug 22 16:42:46 2005 From: prodevmg at yahoo.com (Lonnie Johnson) Date: Mon, 22 Aug 2005 14:42:46 -0700 (PDT) Subject: [AccessD] VBA to ActiveX Message-ID: <20050822214246.41640.qmail@web33114.mail.mud.yahoo.com> I have lots of VBA code in an Access datatabase that runs each night to update various tables and values based on certain conditions. Some of it is complicated such as calculating distance based on longitude and latitude and it is why I use VBA. However, I would like to move this processing over to our SQL Server. Would it be easy to convert some of the functions to DTS ActiveX packages? Is this even the way to go? I am looking to increase the performance and figured I could do so by moving it to the SQL Server side. May God bless you beyond your imagination! Lonnie Johnson ProDev, Professional Development of MS Access Databases Visit me at ==> http://www.prodev.us --------------------------------- Start your day with Yahoo! - make it your home page From stuart at lexacorp.com.pg Mon Aug 22 17:03:01 2005 From: stuart at lexacorp.com.pg (Stuart McLachlan) Date: Tue, 23 Aug 2005 08:03:01 +1000 Subject: [AccessD] Table does not open to first record In-Reply-To: Message-ID: <430AD835.9142.11AB50@stuart.lexacorp.com.pg> On 22 Aug 2005 at 16:17, Kaup, Chester wrote: > Doesn't order by just sort the records. Yes >Would I not still want an index > on the table for speed of processing and searching? Yes. >Why does access ask > for a sort order when creating an index if it is not used in data > retrieval? It is. Generally, Access is smart enough to work out what index(es) to use when sorting data, as long as you tell it what order you want it in. You can have many different indexes on a table in order to retreive data in a particular order quickly but until you tell it to do so, Access will not know what order you want and will just give you the records one at a time in the order they are stored (which can change at any time depnending on what you are doing with deletes/inserts/amends to the data) -- Stuart From artful at rogers.com Mon Aug 22 17:52:41 2005 From: artful at rogers.com (Arthur Fuller) Date: Mon, 22 Aug 2005 18:52:41 -0400 Subject: [AccessD] Cannot Compact and Repaid (Access 2003) Message-ID: <200508222252.j7MMqfR07523@databaseadvisors.com> I have an app that reports ``Invalid operation` when I attempt to compact and repair. I already tried creating a new one and importing everything, and I get the same error on the new one. I can however successfully compile the app. I am puzzled. There are lots of forms, queries, reports and modules, so I really do not want to import them one by one to see where the problem lies. Any other suggestions? TIA, Arthur From dwaters at usinternet.com Mon Aug 22 18:08:44 2005 From: dwaters at usinternet.com (Dan Waters) Date: Mon, 22 Aug 2005 16:08:44 -0700 Subject: [AccessD] Cannot Compact and Repaid (Access 2003) In-Reply-To: <29946311.1124750563727.JavaMail.root@sniper21> Message-ID: <000001c5a76e$71f80d10$38018e0a@danwaters> Arthur, Import each group of objects separately. Test after each import. I'd try tables first since nothing else compacts. Then import say, 10 of each object to narrow down to the offending single object. HTH, Dan Waters -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Arthur Fuller Sent: Monday, August 22, 2005 3:53 PM To: 'Access Developers discussion and problem solving' Subject: [AccessD] Cannot Compact and Repaid (Access 2003) I have an app that reports ``Invalid operation` when I attempt to compact and repair. I already tried creating a new one and importing everything, and I get the same error on the new one. I can however successfully compile the app. I am puzzled. There are lots of forms, queries, reports and modules, so I really do not want to import them one by one to see where the problem lies. Any other suggestions? TIA, Arthur -- 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 Aug 22 19:44:17 2005 From: bchacc at san.rr.com (Rocky Smolin - Beach Access Software) Date: Mon, 22 Aug 2005 17:44:17 -0700 Subject: [AccessD] Cannot Compact and Repaid (Access 2003) References: <200508222252.j7MMqfR07523@databaseadvisors.com> Message-ID: <03cd01c5a77b$cb11bb00$6501a8c0@HAL9004> Binary search? Import half the objects into one database, half into another. Compact and repair both. See which one fails. Eventually you'll find the culprit? But I'd try decompile first on the whole mdb. Then C&R. See if that clears up the problem. Rocky ----- Original Message ----- From: "Arthur Fuller" To: "'Access Developers discussion and problem solving'" Sent: Monday, August 22, 2005 3:52 PM Subject: [AccessD] Cannot Compact and Repaid (Access 2003) >I have an app that reports ``Invalid operation` when I attempt to compact > and repair. I already tried creating a new one and importing everything, > and > I get the same error on the new one. I can however successfully compile > the > app. I am puzzled. There are lots of forms, queries, reports and modules, > so > I really do not want to import them one by one to see where the problem > lies. Any other suggestions? > > TIA, > > Arthur > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > From artful at rogers.com Mon Aug 22 19:47:46 2005 From: artful at rogers.com (Arthur Fuller) Date: Mon, 22 Aug 2005 20:47:46 -0400 Subject: [AccessD] Cannot Compact and Repaid (Access 2003) In-Reply-To: <000001c5a76e$71f80d10$38018e0a@danwaters> Message-ID: <200508230047.j7N0ljR02969@databaseadvisors.com> All the tables are linked, not resident in the FE itself. But I guess that you are correct, I should import group by group and compact after each. Bummer! Arthur -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Dan Waters Sent: August 22, 2005 7:09 PM To: 'Access Developers discussion and problem solving' Subject: RE: [AccessD] Cannot Compact and Repaid (Access 2003) Arthur, Import each group of objects separately. Test after each import. I'd try tables first since nothing else compacts. Then import say, 10 of each object to narrow down to the offending single object. HTH, Dan Waters From itsame2000 at sbcglobal.net Mon Aug 22 23:30:45 2005 From: itsame2000 at sbcglobal.net (Jeremy Toves) Date: Mon, 22 Aug 2005 21:30:45 -0700 (PDT) Subject: [AccessD] Filter Problems Message-ID: <20050823043045.67936.qmail@web81501.mail.yahoo.com> I have a popup form that lists work orders as a continuous form. When it comes up, I want it only to list the active work orders. There is a check box on the popup that I can check to display all. This check box is meant to toggle back and forth between showing all and just the active work orders. The check box works, except when the form first comes up, it displays nothing. How can I have it display the actives without having to rewrite the SQL statement in VBA each time? I'm thinking there is a quick filter that can be used. Thanks, Jeremy From artful at rogers.com Tue Aug 23 00:53:24 2005 From: artful at rogers.com (Arthur Fuller) Date: Tue, 23 Aug 2005 01:53:24 -0400 Subject: [AccessD] Cannot Compact and Repaid (Access 2003) In-Reply-To: <200508230047.j7N0ljR02969@databaseadvisors.com> Message-ID: <200508230553.j7N5rKR12711@databaseadvisors.com> Truly weird. I pulled all the objects into a new MDB, 10 at a time, compacting after each pull. Everything came in and everything compiled, and the file size went from 31 MB to 5 MB. All is bliss, all is bliss. -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Arthur Fuller Sent: August 22, 2005 8:48 PM To: 'Access Developers discussion and problem solving' Subject: RE: [AccessD] Cannot Compact and Repaid (Access 2003) All the tables are linked, not resident in the FE itself. But I guess that you are correct, I should import group by group and compact after each. Bummer! Arthur From dwaters at usinternet.com Tue Aug 23 08:26:10 2005 From: dwaters at usinternet.com (Dan Waters) Date: Tue, 23 Aug 2005 06:26:10 -0700 Subject: [AccessD] Cannot Compact and Repaid (Access 2003) In-Reply-To: <33360566.1124776587796.JavaMail.root@sniper18> Message-ID: <000901c5a7e6$3af182b0$8d05a8c0@danwaters> It's weird, but not unusual. :-( Glad to hear to hear you got it all back!! Dan -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Arthur Fuller Sent: Monday, August 22, 2005 10:53 PM To: 'Access Developers discussion and problem solving' Subject: RE: [AccessD] Cannot Compact and Repaid (Access 2003) Truly weird. I pulled all the objects into a new MDB, 10 at a time, compacting after each pull. Everything came in and everything compiled, and the file size went from 31 MB to 5 MB. All is bliss, all is bliss. -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Arthur Fuller Sent: August 22, 2005 8:48 PM To: 'Access Developers discussion and problem solving' Subject: RE: [AccessD] Cannot Compact and Repaid (Access 2003) All the tables are linked, not resident in the FE itself. But I guess that you are correct, I should import group by group and compact after each. Bummer! Arthur -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From jwcolby at colbyconsulting.com Tue Aug 23 08:42:35 2005 From: jwcolby at colbyconsulting.com (John W. Colby) Date: Tue, 23 Aug 2005 09:42:35 -0400 Subject: [AccessD] Filter Problems In-Reply-To: <20050823043045.67936.qmail@web81501.mail.yahoo.com> Message-ID: <002701c5a7e8$87da7760$6c7aa8c0@ColbyM6805> Open the form with the checkbox set to a default value, then in OnOpen requery the form - me.requery. John W. Colby www.ColbyConsulting.com Contribute your unused CPU cycles to a good cause: http://folding.stanford.edu/ -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Jeremy Toves Sent: Tuesday, August 23, 2005 12:31 AM To: Access Developers Subject: [AccessD] Filter Problems I have a popup form that lists work orders as a continuous form. When it comes up, I want it only to list the active work orders. There is a check box on the popup that I can check to display all. This check box is meant to toggle back and forth between showing all and just the active work orders. The check box works, except when the form first comes up, it displays nothing. How can I have it display the actives without having to rewrite the SQL statement in VBA each time? I'm thinking there is a quick filter that can be used. Thanks, Jeremy -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From itsame2000 at sbcglobal.net Tue Aug 23 08:48:42 2005 From: itsame2000 at sbcglobal.net (Jeremy Toves) Date: Tue, 23 Aug 2005 06:48:42 -0700 (PDT) Subject: [AccessD] Filter Problems In-Reply-To: <002701c5a7e8$87da7760$6c7aa8c0@ColbyM6805> Message-ID: <20050823134842.54268.qmail@web81502.mail.yahoo.com> Thanks! That sounds like an easy solution. I will try that tonight. Jeremy "John W. Colby" wrote: Open the form with the checkbox set to a default value, then in OnOpen requery the form - me.requery. John W. Colby www.ColbyConsulting.com Contribute your unused CPU cycles to a good cause: http://folding.stanford.edu/ -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Jeremy Toves Sent: Tuesday, August 23, 2005 12:31 AM To: Access Developers Subject: [AccessD] Filter Problems I have a popup form that lists work orders as a continuous form. When it comes up, I want it only to list the active work orders. There is a check box on the popup that I can check to display all. This check box is meant to toggle back and forth between showing all and just the active work orders. The check box works, except when the form first comes up, it displays nothing. How can I have it display the actives without having to rewrite the SQL statement in VBA each time? I'm thinking there is a quick filter that can be used. Thanks, Jeremy -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From jwcolby at colbyconsulting.com Tue Aug 23 09:02:23 2005 From: jwcolby at colbyconsulting.com (John W. Colby) Date: Tue, 23 Aug 2005 10:02:23 -0400 Subject: [AccessD] Filter Problems In-Reply-To: <20050823134842.54268.qmail@web81502.mail.yahoo.com> Message-ID: <002901c5a7eb$4bdff9d0$6c7aa8c0@ColbyM6805> The other way to do this is to open the form with no recordset, or with a recordset (SQL Statement) with a where clause that pulls no records - perhaps with a WHERE WorkOrder = "Nonsense" or something like that. This causes the form to open with no records. Then in OnOpen just place the name of a saved query into the form's RecordSource. Doing that will cause the form to requery, displaying the records that match the checkbox. John W. Colby www.ColbyConsulting.com Contribute your unused CPU cycles to a good cause: http://folding.stanford.edu/ -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Jeremy Toves Sent: Tuesday, August 23, 2005 9:49 AM To: Access Developers discussion and problem solving Subject: RE: [AccessD] Filter Problems Thanks! That sounds like an easy solution. I will try that tonight. Jeremy "John W. Colby" wrote: Open the form with the checkbox set to a default value, then in OnOpen requery the form - me.requery. John W. Colby www.ColbyConsulting.com Contribute your unused CPU cycles to a good cause: http://folding.stanford.edu/ -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Jeremy Toves Sent: Tuesday, August 23, 2005 12:31 AM To: Access Developers Subject: [AccessD] Filter Problems I have a popup form that lists work orders as a continuous form. When it comes up, I want it only to list the active work orders. There is a check box on the popup that I can check to display all. This check box is meant to toggle back and forth between showing all and just the active work orders. The check box works, except when the form first comes up, it displays nothing. How can I have it display the actives without having to rewrite the SQL statement in VBA each time? I'm thinking there is a quick filter that can be used. Thanks, Jeremy -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From itsame2000 at sbcglobal.net Tue Aug 23 09:07:46 2005 From: itsame2000 at sbcglobal.net (Jeremy Toves) Date: Tue, 23 Aug 2005 07:07:46 -0700 (PDT) Subject: [AccessD] Filter Problems In-Reply-To: <002901c5a7eb$4bdff9d0$6c7aa8c0@ColbyM6805> Message-ID: <20050823140746.25506.qmail@web81507.mail.yahoo.com> Thanks again. The first solution seems more simple. If it has problems, then I will try this one. Jeremy "John W. Colby" wrote: The other way to do this is to open the form with no recordset, or with a recordset (SQL Statement) with a where clause that pulls no records - perhaps with a WHERE WorkOrder = "Nonsense" or something like that. This causes the form to open with no records. Then in OnOpen just place the name of a saved query into the form's RecordSource. Doing that will cause the form to requery, displaying the records that match the checkbox. John W. Colby www.ColbyConsulting.com Contribute your unused CPU cycles to a good cause: http://folding.stanford.edu/ -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Jeremy Toves Sent: Tuesday, August 23, 2005 9:49 AM To: Access Developers discussion and problem solving Subject: RE: [AccessD] Filter Problems Thanks! That sounds like an easy solution. I will try that tonight. Jeremy "John W. Colby" wrote: Open the form with the checkbox set to a default value, then in OnOpen requery the form - me.requery. John W. Colby www.ColbyConsulting.com Contribute your unused CPU cycles to a good cause: http://folding.stanford.edu/ -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Jeremy Toves Sent: Tuesday, August 23, 2005 12:31 AM To: Access Developers Subject: [AccessD] Filter Problems I have a popup form that lists work orders as a continuous form. When it comes up, I want it only to list the active work orders. There is a check box on the popup that I can check to display all. This check box is meant to toggle back and forth between showing all and just the active work orders. The check box works, except when the form first comes up, it displays nothing. How can I have it display the actives without having to rewrite the SQL statement in VBA each time? I'm thinking there is a quick filter that can be used. Thanks, Jeremy -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From jwcolby at colbyconsulting.com Tue Aug 23 09:15:30 2005 From: jwcolby at colbyconsulting.com (John W. Colby) Date: Tue, 23 Aug 2005 10:15:30 -0400 Subject: [AccessD] Filter Problems In-Reply-To: <20050823140746.25506.qmail@web81507.mail.yahoo.com> Message-ID: <002a01c5a7ed$1e59da60$6c7aa8c0@ColbyM6805> LOL, that is true. The first solution pulls all the records twice. If the form is simple and only pulls a handful of records this won't be an issue. If the form were to pull a large complex recordset it could cause a lot of network traffic and take a long time to open, then a long time to requery. John W. Colby www.ColbyConsulting.com Contribute your unused CPU cycles to a good cause: http://folding.stanford.edu/ -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Jeremy Toves Sent: Tuesday, August 23, 2005 10:08 AM To: Access Developers discussion and problem solving Subject: RE: [AccessD] Filter Problems Thanks again. The first solution seems more simple. If it has problems, then I will try this one. Jeremy "John W. Colby" wrote: The other way to do this is to open the form with no recordset, or with a recordset (SQL Statement) with a where clause that pulls no records - perhaps with a WHERE WorkOrder = "Nonsense" or something like that. This causes the form to open with no records. Then in OnOpen just place the name of a saved query into the form's RecordSource. Doing that will cause the form to requery, displaying the records that match the checkbox. John W. Colby www.ColbyConsulting.com Contribute your unused CPU cycles to a good cause: http://folding.stanford.edu/ -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Jeremy Toves Sent: Tuesday, August 23, 2005 9:49 AM To: Access Developers discussion and problem solving Subject: RE: [AccessD] Filter Problems Thanks! That sounds like an easy solution. I will try that tonight. Jeremy "John W. Colby" wrote: Open the form with the checkbox set to a default value, then in OnOpen requery the form - me.requery. John W. Colby www.ColbyConsulting.com Contribute your unused CPU cycles to a good cause: http://folding.stanford.edu/ -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Jeremy Toves Sent: Tuesday, August 23, 2005 12:31 AM To: Access Developers Subject: [AccessD] Filter Problems I have a popup form that lists work orders as a continuous form. When it comes up, I want it only to list the active work orders. There is a check box on the popup that I can check to display all. This check box is meant to toggle back and forth between showing all and just the active work orders. The check box works, except when the form first comes up, it displays nothing. How can I have it display the actives without having to rewrite the SQL statement in VBA each time? I'm thinking there is a quick filter that can be used. Thanks, Jeremy -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From shamil at users.mns.ru Tue Aug 23 10:27:30 2005 From: shamil at users.mns.ru (Shamil Salakhetdinov) Date: Tue, 23 Aug 2005 19:27:30 +0400 Subject: [AccessD] Disconnected MS Access cient applications.. References: <004c01c5a741$49098280$6501a8c0@fincomplex.spb.ru> Message-ID: <002001c5a7f7$3c8ecf40$6501a8c0@fincomplex.spb.ru> > I'm setting deadline to have it running: this Thursday, August 23, 2005, > evening... bBlog is installed today two days before planned schedule - http://smsconsulting.spb.ru/vdv/ You're welcome to visit it to see it's working and to post your comments! But nothing there yet - just the first welcome message. First posting is planned on this Friday. Till then I will play a little with bBlog to see how it can be tuned to make the blog more feature-rich.. Shamil ----- Original Message ----- From: "Shamil Salakhetdinov" To: "Access Developers discussion and problem solving" Sent: Monday, August 22, 2005 9:26 PM Subject: Re: [AccessD] Disconnected MS Access cient applications.. > > I would be deeply honored to work with you on this ... > Thank you, Charlotte, for your confirmation that you're interested to work > in this project! > > > Especially if any failures are all *your* fault! LOL > Yes, all the failures will be mine if you don't mind. > Glorious results - common :) > > > I suppose this means that I have to get better > > are reading C# code, right? > Please don't do any preliminary work like starting to train yourself in > coding in C#... > > > and this looks like fun! > ...because you're right - it should be fun. > > If you program on VB.NET then running C# unit tests and samples will not be > a problem at all I think. > And I think you'll get good experience in C# "automagically" while we will > be developing this project, therefore no need to worry about that now... > > So, now it's my duty to prepare everything to start this project somewhere > end of this week. > Installing bBlog on my ISP hosting is the main task for me now. > Hopefully it will go smoothly. > I'm setting deadline to have it running: this Thursday, August 23, 2005, > evening... > > Thank you, > Shamil > <<< tail skipped>>> From bheid at appdevgrp.com Tue Aug 23 12:47:22 2005 From: bheid at appdevgrp.com (Bobby Heid) Date: Tue, 23 Aug 2005 13:47:22 -0400 Subject: [AccessD] Weird VSS issue - again. X-posted to Access-L. Message-ID: <916187228923D311A6FE00A0CC3FAA30ABEE9B@ADGSERVER> Hey all, We have a fairly large FE with hundreds of queries in it (Acc XP). There is this one set of queries that use a pretty complex sub-query. By complex, I mean that there are a lot of joins and criteria in it. Whomever did the original design then self-joined the sub-query 5 times. This is to handle the tiering of the data. Any way, after building from source in VSS, this one query would sometimes be blank. We finally tracked down how to prevent it from happening. We had to view the query in SQL view and then save it. Well, we just had to add another tier to some other queries (which are like the ones above) and the same thing happened upon building from source. I believe it has something to do with the complexity of the queries. Does anyone know what might be going on and what we can do to stop it from happening? It's becoming a real PIA. Thanks, Bobby From Gustav at cactus.dk Tue Aug 23 13:18:55 2005 From: Gustav at cactus.dk (Gustav Brock) Date: Tue, 23 Aug 2005 20:18:55 +0200 Subject: [AccessD] Weird VSS issue - again. X-posted to Access-L. Message-ID: Hi Bobby I don't use VSS, but could it be that some of the field names of the subqueries are not known at design time? This may happen if one or more of these are crosstab queries, and it will cause troubles if you cannot specify (hardcode) the output columns or have not done so. /gustav >>> bheid at appdevgrp.com 08/23 7:47 pm >>> Hey all, We have a fairly large FE with hundreds of queries in it (Acc XP). There is this one set of queries that use a pretty complex sub-query. By complex, I mean that there are a lot of joins and criteria in it. Whomever did the original design then self-joined the sub-query 5 times. This is to handle the tiering of the data. Any way, after building from source in VSS, this one query would sometimes be blank. We finally tracked down how to prevent it from happening. We had to view the query in SQL view and then save it. Well, we just had to add another tier to some other queries (which are like the ones above) and the same thing happened upon building from source. I believe it has something to do with the complexity of the queries. Does anyone know what might be going on and what we can do to stop it from happening? It's becoming a real PIA. Thanks, Bobby From cfoust at infostatsystems.com Tue Aug 23 13:34:18 2005 From: cfoust at infostatsystems.com (Charlotte Foust) Date: Tue, 23 Aug 2005 11:34:18 -0700 Subject: [AccessD] Weird VSS issue - again. X-posted to Access-L. Message-ID: I've never seen anything like this as an artifact of VSS, but are you using in-line subqueries? I have seen weirdness occur when you view that query in design view and then save it because the query engine insists on changing the punctuation around the subquery to something that breaks later on. Charlotte Foust -----Original Message----- From: Bobby Heid [mailto:bheid at appdevgrp.com] Sent: Tuesday, August 23, 2005 10:47 AM To: 'Access Developers discussion and problem solving' Subject: [AccessD] Weird VSS issue - again. X-posted to Access-L. Hey all, We have a fairly large FE with hundreds of queries in it (Acc XP). There is this one set of queries that use a pretty complex sub-query. By complex, I mean that there are a lot of joins and criteria in it. Whomever did the original design then self-joined the sub-query 5 times. This is to handle the tiering of the data. Any way, after building from source in VSS, this one query would sometimes be blank. We finally tracked down how to prevent it from happening. We had to view the query in SQL view and then save it. Well, we just had to add another tier to some other queries (which are like the ones above) and the same thing happened upon building from source. I believe it has something to do with the complexity of the queries. Does anyone know what might be going on and what we can do to stop it from happening? It's becoming a real PIA. Thanks, Bobby -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From bheid at appdevgrp.com Tue Aug 23 13:42:49 2005 From: bheid at appdevgrp.com (Bobby Heid) Date: Tue, 23 Aug 2005 14:42:49 -0400 Subject: [AccessD] Weird VSS issue - again. X-posted to Access-L. In-Reply-To: <916187228923D311A6FE00A0CC3FAA30C6DAE9@ADGSERVER> Message-ID: <916187228923D311A6FE00A0CC3FAA30ABEE9F@ADGSERVER> Hey Gustav, At the time of creation/editing/saving all of the field names are known. These are not cross-tab queries. The weird thing is that it works ok most of the time. And when it does mess up, it messes up for all of the seven queries (that are usually affected) that have been edited (at least the 7 queries that it now affects). All of the other queries are fine. Bobby -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Gustav Brock Sent: Tuesday, August 23, 2005 2:19 PM To: accessd at databaseadvisors.com Subject: Re: [AccessD] Weird VSS issue - again. X-posted to Access-L. Hi Bobby I don't use VSS, but could it be that some of the field names of the subqueries are not known at design time? This may happen if one or more of these are crosstab queries, and it will cause troubles if you cannot specify (hardcode) the output columns or have not done so. /gustav >>> bheid at appdevgrp.com 08/23 7:47 pm >>> Hey all, We have a fairly large FE with hundreds of queries in it (Acc XP). There is this one set of queries that use a pretty complex sub-query. By complex, I mean that there are a lot of joins and criteria in it. Whomever did the original design then self-joined the sub-query 5 times. This is to handle the tiering of the data. Any way, after building from source in VSS, this one query would sometimes be blank. We finally tracked down how to prevent it from happening. We had to view the query in SQL view and then save it. Well, we just had to add another tier to some other queries (which are like the ones above) and the same thing happened upon building from source. I believe it has something to do with the complexity of the queries. Does anyone know what might be going on and what we can do to stop it from happening? It's becoming a real PIA. Thanks, Bobby From bheid at appdevgrp.com Tue Aug 23 13:44:04 2005 From: bheid at appdevgrp.com (Bobby Heid) Date: Tue, 23 Aug 2005 14:44:04 -0400 Subject: [AccessD] Weird VSS issue - again. X-posted to Access-L. In-Reply-To: <916187228923D311A6FE00A0CC3FAA30C6DAF5@ADGSERVER> Message-ID: <916187228923D311A6FE00A0CC3FAA30ABEEA0@ADGSERVER> Hey Charlotte, No, no inline queries. We create the sub queries as a separate query. But I do think it has to do with the complexity of the queries. Thanks, Bobby -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Charlotte Foust Sent: Tuesday, August 23, 2005 2:34 PM To: Access Developers discussion and problem solving Subject: RE: [AccessD] Weird VSS issue - again. X-posted to Access-L. I've never seen anything like this as an artifact of VSS, but are you using in-line subqueries? I have seen weirdness occur when you view that query in design view and then save it because the query engine insists on changing the punctuation around the subquery to something that breaks later on. Charlotte Foust -----Original Message----- From: Bobby Heid [mailto:bheid at appdevgrp.com] Sent: Tuesday, August 23, 2005 10:47 AM To: 'Access Developers discussion and problem solving' Subject: [AccessD] Weird VSS issue - again. X-posted to Access-L. Hey all, We have a fairly large FE with hundreds of queries in it (Acc XP). There is this one set of queries that use a pretty complex sub-query. By complex, I mean that there are a lot of joins and criteria in it. Whomever did the original design then self-joined the sub-query 5 times. This is to handle the tiering of the data. Any way, after building from source in VSS, this one query would sometimes be blank. We finally tracked down how to prevent it from happening. We had to view the query in SQL view and then save it. Well, we just had to add another tier to some other queries (which are like the ones above) and the same thing happened upon building from source. I believe it has something to do with the complexity of the queries. Does anyone know what might be going on and what we can do to stop it from happening? It's becoming a real PIA. Thanks, Bobby From martyconnelly at shaw.ca Tue Aug 23 14:29:42 2005 From: martyconnelly at shaw.ca (MartyConnelly) Date: Tue, 23 Aug 2005 12:29:42 -0700 Subject: [AccessD] Weird VSS issue - again. X-posted to Access-L. References: <916187228923D311A6FE00A0CC3FAA30ABEE9B@ADGSERVER> Message-ID: <430B7926.6070706@shaw.ca> I don't know if this will help but you can compile and decompile queries. http://www.trigeminal.com/lang/1033/codes.asp?ItemID=15#15 Bobby Heid wrote: >Hey all, > >We have a fairly large FE with hundreds of queries in it (Acc XP). There is >this one set of queries that use a pretty complex sub-query. By complex, I >mean that there are a lot of joins and criteria in it. > >Whomever did the original design then self-joined the sub-query 5 times. >This is to handle the tiering of the data. > >Any way, after building from source in VSS, this one query would sometimes >be blank. We finally tracked down how to prevent it from happening. We had >to view the query in SQL view and then save it. > >Well, we just had to add another tier to some other queries (which are like >the ones above) and the same thing happened upon building from source. I >believe it has something to do with the complexity of the queries. > >Does anyone know what might be going on and what we can do to stop it from >happening? It's becoming a real PIA. > >Thanks, >Bobby > > > -- Marty Connelly Victoria, B.C. Canada From itsame2000 at sbcglobal.net Tue Aug 23 20:46:33 2005 From: itsame2000 at sbcglobal.net (Jeremy Toves) Date: Tue, 23 Aug 2005 18:46:33 -0700 (PDT) Subject: [AccessD] Filter Problems In-Reply-To: <002701c5a7e8$87da7760$6c7aa8c0@ColbyM6805> Message-ID: <20050824014633.7815.qmail@web81504.mail.yahoo.com> John, This worked perfectly. There isn't much data. I'm just tracking work orders. There is no noticeable degradation in speed. Thanks, Jeremy "John W. Colby" wrote: Open the form with the checkbox set to a default value, then in OnOpen requery the form - me.requery. John W. Colby www.ColbyConsulting.com Contribute your unused CPU cycles to a good cause: http://folding.stanford.edu/ -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Jeremy Toves Sent: Tuesday, August 23, 2005 12:31 AM To: Access Developers Subject: [AccessD] Filter Problems I have a popup form that lists work orders as a continuous form. When it comes up, I want it only to list the active work orders. There is a check box on the popup that I can check to display all. This check box is meant to toggle back and forth between showing all and just the active work orders. The check box works, except when the form first comes up, it displays nothing. How can I have it display the actives without having to rewrite the SQL statement in VBA each time? I'm thinking there is a quick filter that can be used. Thanks, Jeremy -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From jwcolby at colbyconsulting.com Tue Aug 23 20:53:06 2005 From: jwcolby at colbyconsulting.com (John W. Colby) Date: Tue, 23 Aug 2005 21:53:06 -0400 Subject: [AccessD] Filter Problems In-Reply-To: <20050824014633.7815.qmail@web81504.mail.yahoo.com> Message-ID: <003e01c5a84e$95669290$6c7aa8c0@ColbyM6805> Yea, go. Glad I could help. John W. Colby www.ColbyConsulting.com Contribute your unused CPU cycles to a good cause: http://folding.stanford.edu/ -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Jeremy Toves Sent: Tuesday, August 23, 2005 9:47 PM To: Access Developers discussion and problem solving Subject: RE: [AccessD] Filter Problems John, This worked perfectly. There isn't much data. I'm just tracking work orders. There is no noticeable degradation in speed. Thanks, Jeremy "John W. Colby" wrote: Open the form with the checkbox set to a default value, then in OnOpen requery the form - me.requery. John W. Colby www.ColbyConsulting.com Contribute your unused CPU cycles to a good cause: http://folding.stanford.edu/ -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Jeremy Toves Sent: Tuesday, August 23, 2005 12:31 AM To: Access Developers Subject: [AccessD] Filter Problems I have a popup form that lists work orders as a continuous form. When it comes up, I want it only to list the active work orders. There is a check box on the popup that I can check to display all. This check box is meant to toggle back and forth between showing all and just the active work orders. The check box works, except when the form first comes up, it displays nothing. How can I have it display the actives without having to rewrite the SQL statement in VBA each time? I'm thinking there is a quick filter that can be used. Thanks, Jeremy -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From Gustav at cactus.dk Wed Aug 24 04:08:09 2005 From: Gustav at cactus.dk (Gustav Brock) Date: Wed, 24 Aug 2005 11:08:09 +0200 Subject: [AccessD] the dreaded n-recursive parts explosion (BOM) query...again Message-ID: Hi Bruce and Marty A recent article from MySQL covers this topic: http://dev.mysql.com/tech-resources/articles/hierarchical-data.html Still, I'm not sure these nested sets are pure happiness - on average you have to update 50% of all records when inserting or deleting a record. /gustav >>> martyconnelly at shaw.ca 07/20 1:49 am >>> Do you mean the nested set solution from Joe Celko It is further written up in his book "SQL for Smarties" http://www.mvps.org/access/queries/qry0023.htm or this one http://www.mvps.org/access/modules/mdl0027.htm Bruen, Bruce wrote: >Hi folks, > >I thought I had got over this one years ago and can't find the SQL query >template someone (Lembit???) here kindly supplied last time. > >But it has come back to get me again, so.... > >Does someone have a "template" query to return all the parts in an >n-level parts explosion, preferably in binary-tree pre-order order. >* all components, subcomponents and parts are held in the same table, >* it is a one way tree - i.e. parts that are used in multiple assemblies >appear multiple times in the table (i.e.i.e. the pkey for the tree table >is not the SKU) > > >tia >bruce > > > -- Marty Connelly Victoria, B.C. Canada From paul.hartland at fsmail.net Wed Aug 24 05:32:25 2005 From: paul.hartland at fsmail.net (paul.hartland at fsmail.net) Date: Wed, 24 Aug 2005 12:32:25 +0200 (CEST) Subject: [AccessD] Detecting CD Drive Letter Message-ID: <30292505.1124879545237.JavaMail.www@wwinf3101> To all, Is there a way of detecting via VBA or VB code the drive letter of the CD on a PC ? Thanks in advance for any help on this Paul Hartland Database Developer From tom.bolton at donnslaw.co.uk Wed Aug 24 05:44:57 2005 From: tom.bolton at donnslaw.co.uk (Tom Bolton) Date: Wed, 24 Aug 2005 11:44:57 +0100 Subject: [AccessD] Detecting CD Drive Letter Message-ID: <61F915314798D311A2F800A0C9C831880802A318@dibble.observatory.donnslaw.co.uk> There is - there's an API to do it. Not done this for a long while now, but I remember using a huge VB app with a database that lived on the CD; a bit like a rudimentary CD key. Anyhoo: http://support.microsoft.com/default.aspx?scid=kb;en-us;291575 This'll give you all the info. HTH Tom -----Original Message----- From: paul.hartland at fsmail.net [mailto:paul.hartland at fsmail.net] Sent: 24-Aug-2005 11:32 To: accessd Subject: [AccessD] Detecting CD Drive Letter To all, Is there a way of detecting via VBA or VB code the drive letter of the CD on a PC ? Thanks in advance for any help on this Paul Hartland Database Developer -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -------------- next part -------------- The contents of this message and any attachments are the property of Donns Solicitors and are intended for the confidential use of the named recipient only. They may be legally privileged and should not be communicated to, or relied upon, by any other party without our written consent. If you are not the addressee, please notify us immediately so that we can make arrangements for its return. You should not show this e-mail to any person or take copies as you may be committing a criminal or civil offence for which you may be liable. The statement and opinions expressed in this e-mail message are those of the writer, and do not necessarily represent that of Donns Solicitors. Although any files attached to this e-mail will have been checked with virus protection software prior to transmission, you should carry out your own virus check before opening any attachment. Donns Solicitors does not accept any liability for any damage or loss which may be caused by software viruses... From paul.hartland at isharp.co.uk Wed Aug 24 05:50:44 2005 From: paul.hartland at isharp.co.uk (Paul Hartland (ISHARP)) Date: Wed, 24 Aug 2005 11:50:44 +0100 Subject: [AccessD] Detecting CD Drive Letter In-Reply-To: <61F915314798D311A2F800A0C9C831880802A318@dibble.observatory.donnslaw.co.uk> Message-ID: Thanks a lot, forever in AccessD's debt I am -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Tom Bolton Sent: 24 August 2005 11:45 To: 'Access Developers discussion and problem solving' Subject: RE: [AccessD] Detecting CD Drive Letter There is - there's an API to do it. Not done this for a long while now, but I remember using a huge VB app with a database that lived on the CD; a bit like a rudimentary CD key. Anyhoo: http://support.microsoft.com/default.aspx?scid=kb;en-us;291575 This'll give you all the info. HTH Tom -----Original Message----- From: paul.hartland at fsmail.net [mailto:paul.hartland at fsmail.net] Sent: 24-Aug-2005 11:32 To: accessd Subject: [AccessD] Detecting CD Drive Letter To all, Is there a way of detecting via VBA or VB code the drive letter of the CD on a PC ? Thanks in advance for any help on this Paul Hartland Database Developer -- 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 Aug 24 05:53:05 2005 From: roz.clarke at donnslaw.co.uk (Roz Clarke) Date: Wed, 24 Aug 2005 11:53:05 +0100 Subject: [AccessD] Change of circumstances Message-ID: <61F915314798D311A2F800A0C9C8318807225F0D@dibble.observatory.donnslaw.co.uk> Dear all Like so many access-d members before me, I will shortly be giving up my day job and looking for freelance work. The trouble is I don't want to work 24/7 - I am starting a masters degree this autumn, and writing a novel. But it would be nice to keep my hand in with a bit of analysis &/or development work, and of course the money would not go amiss. Does anyone have any suggestions as to how I could do this? I have 10 years experience with Access but I'm no guru, as you know. I've extended into other Office apps a good deal, including Outlook. I have some SQL dev skills and a smattering of SQL DBA knowledge. I'm getting into ASP.NET. I'm a good analyst and I think I'm a decent team leader, (whatever Tom says). My real strength is project management. I'd like to work 2 days a week, but I appreciate that freelance work never respects that kind of wish. :) Any advice would be much appreciated TIA Roz -------------- next part -------------- The contents of this message and any attachments are the property of Donns Solicitors and are intended for the confidential use of the named recipient only. They may be legally privileged and should not be communicated to, or relied upon, by any other party without our written consent. If you are not the addressee, please notify us immediately so that we can make arrangements for its return. You should not show this e-mail to any person or take copies as you may be committing a criminal or civil offence for which you may be liable. The statement and opinions expressed in this e-mail message are those of the writer, and do not necessarily represent that of Donns Solicitors. Although any files attached to this e-mail will have been checked with virus protection software prior to transmission, you should carry out your own virus check before opening any attachment. Donns Solicitors does not accept any liability for any damage or loss which may be caused by software viruses... From Johncliviger at aol.com Wed Aug 24 06:23:40 2005 From: Johncliviger at aol.com (Johncliviger at aol.com) Date: Wed, 24 Aug 2005 07:23:40 EDT Subject: [AccessD] Change of circumstances Message-ID: <1e9.42c472d8.303db2bc@aol.com> Roz I think your are in the Manchester, England area, if I'm right email me a cv at _databaseuk at aol.com_ (mailto:databaseuk at aol.com) John From paul.hartland at isharp.co.uk Wed Aug 24 06:34:20 2005 From: paul.hartland at isharp.co.uk (Paul Hartland (ISHARP)) Date: Wed, 24 Aug 2005 12:34:20 +0100 Subject: [AccessD] Change of circumstances In-Reply-To: <1e9.42c472d8.303db2bc@aol.com> Message-ID: John, Forgive me for getting involved in this conversation, I am currently full time employed but will shortly be looking to do some freelance work outside hours...If you think I could be for anything, email me at paul.hartland at fsmail.net and I will send my CV in reply. Paul Hartland -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Johncliviger at aol.com Sent: 24 August 2005 12:24 To: accessd at databaseadvisors.com Subject: Re: [AccessD] Change of circumstances Roz I think your are in the Manchester, England area, if I'm right email me a cv at _databaseuk at aol.com_ (mailto:databaseuk at aol.com) John -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From andy at minstersystems.co.uk Wed Aug 24 06:53:04 2005 From: andy at minstersystems.co.uk (Andy Lacey) Date: Wed, 24 Aug 2005 12:53:04 +0100 Subject: [AccessD] Change of circumstances Message-ID: <20050824115301.A9E7624EEF6@smtp.nildram.co.uk> Hi Roz Don't have anything practical to add (you spotted the obvious one about freelance work not readily fitting round personal timetables) but just wanted to say good luck. What's the Masters in, and more intriguingly what's the novel? Is it your first? Do you have a publisher? etc etc When can we look to see Roz Clarke in Waterstones? And I hope you'll be sticking around AccessD. -- Andy Lacey http://www.minstersystems.co.uk --------- Original Message -------- From: "Access Developers discussion and problem solving" To: "'Access Developers discussion and problem solving'" Subject: [AccessD] Change of circumstances Date: 24/08/05 10:52 Dear all Like so many access-d members before me, I will shortly be giving up my day job and looking for freelance work. The trouble is I don't want to work 24/7 - I am starting a masters degree this autumn, and writing a novel. But it would be nice to keep my hand in with a bit of analysis &/or development work, and of course the money would not go amiss. Does anyone have any suggestions as to how I could do this? I have 10 years experience with Access but I'm no guru, as you know. I've extended into other Office apps a good deal, including Outlook. I have some SQL dev skills and a smattering of SQL DBA knowledge. I'm getting into ASP.NET. I'm a good analyst and I think I'm a decent team leader, (whatever Tom says). My real strength is project management. I'd like to work 2 days a week, but I appreciate that freelance work never respects that kind of wish. :) Any advice would be much appreciated TIA Roz The contents of this message and any attachments are the property of Donns Solicitors and are intended for the confidential use of the named recipient only. They may be legally privileged and should not be communicated to, or relied upon, by any other party without our written consent. If you are not the addressee, please notify us immediately so that we can make arrangements for its return. You should not show this e-mail to any person or take copies as you may be committing a criminal or civil offence for which you may be liable. The statement and opinions expressed in this e-mail message are those of the writer, and do not necessarily represent that of Donns Solicitors. Although any files attached to this e-mail will have been checked with virus protection software prior to transmission, you should carry out your own virus check before opening any attachment. Donns Solicitors does not accept any liability for any damage or loss which may be caused by software viruses... -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com ________________________________________________ Message sent using UebiMiau 2.7.2 From tom.bolton at donnslaw.co.uk Wed Aug 24 07:01:08 2005 From: tom.bolton at donnslaw.co.uk (Tom Bolton) Date: Wed, 24 Aug 2005 13:01:08 +0100 Subject: [AccessD] Change of circumstances Message-ID: <61F915314798D311A2F800A0C9C831880802A319@dibble.observatory.donnslaw.co.uk> "A Query Too Far" - Clarke, R. *hides under desk* -----Original Message----- From: Andy Lacey [mailto:andy at minstersystems.co.uk] Sent: 24-Aug-2005 12:53 To: Access Developers discussion and problem solving Subject: Re: [AccessD] Change of circumstances Hi Roz Don't have anything practical to add (you spotted the obvious one about freelance work not readily fitting round personal timetables) but just wanted to say good luck. What's the Masters in, and more intriguingly what's the novel? Is it your first? Do you have a publisher? etc etc When can we look to see Roz Clarke in Waterstones? And I hope you'll be sticking around AccessD. -- Andy Lacey http://www.minstersystems.co.uk -------------- next part -------------- The contents of this message and any attachments are the property of Donns Solicitors and are intended for the confidential use of the named recipient only. They may be legally privileged and should not be communicated to, or relied upon, by any other party without our written consent. If you are not the addressee, please notify us immediately so that we can make arrangements for its return. You should not show this e-mail to any person or take copies as you may be committing a criminal or civil offence for which you may be liable. The statement and opinions expressed in this e-mail message are those of the writer, and do not necessarily represent that of Donns Solicitors. Although any files attached to this e-mail will have been checked with virus protection software prior to transmission, you should carry out your own virus check before opening any attachment. Donns Solicitors does not accept any liability for any damage or loss which may be caused by software viruses... From roz.clarke at donnslaw.co.uk Wed Aug 24 07:13:34 2005 From: roz.clarke at donnslaw.co.uk (Roz Clarke) Date: Wed, 24 Aug 2005 13:13:34 +0100 Subject: [AccessD] Change of circumstances Message-ID: <61F915314798D311A2F800A0C9C8318807225F12@dibble.observatory.donnslaw.co.uk> Well remembered John, I will do :) -----Original Message----- From: Johncliviger at aol.com [mailto:Johncliviger at aol.com] Sent: 24 August 2005 12:24 To: accessd at databaseadvisors.com Subject: Re: [AccessD] Change of circumstances Roz I think your are in the Manchester, England area, if I'm right email me a cv at _databaseuk at aol.com_ (mailto:databaseuk at aol.com) John -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -------------- next part -------------- The contents of this message and any attachments are the property of Donns Solicitors and are intended for the confidential use of the named recipient only. They may be legally privileged and should not be communicated to, or relied upon, by any other party without our written consent. If you are not the addressee, please notify us immediately so that we can make arrangements for its return. You should not show this e-mail to any person or take copies as you may be committing a criminal or civil offence for which you may be liable. The statement and opinions expressed in this e-mail message are those of the writer, and do not necessarily represent that of Donns Solicitors. Although any files attached to this e-mail will have been checked with virus protection software prior to transmission, you should carry out your own virus check before opening any attachment. Donns Solicitors does not accept any liability for any damage or loss which may be caused by software viruses... From andy at minstersystems.co.uk Wed Aug 24 07:13:11 2005 From: andy at minstersystems.co.uk (Andy Lacey) Date: Wed, 24 Aug 2005 13:13:11 +0100 Subject: [AccessD] Change of circumstances Message-ID: <20050824121308.CA27124F43D@smtp.nildram.co.uk> ROTFL Oh God I'm really really tempted now, but it'll start something and as a responsible moderator I'd have to tell myself to shut up. Darn. -- 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] Change of circumstances Date: 24/08/05 12:00 "A Query Too Far" - Clarke, R. *hides under desk* -----Original Message----- From: Andy Lacey [mailto:andy at minstersystems.co.uk] Sent: 24-Aug-2005 12:53 To: Access Developers discussion and problem solving Subject: Re: [AccessD] Change of circumstances Hi Roz Don't have anything practical to add (you spotted the obvious one about freelance work not readily fitting round personal timetables) but just wanted to say good luck. What's the Masters in, and more intriguingly what's the novel? Is it your first? Do you have a publisher? etc etc When can we look to see Roz Clarke in Waterstones? And I hope you'll be sticking around AccessD. -- Andy Lacey http://www.minstersystems.co.uk The contents of this message and any attachments are the property of Donns Solicitors and are intended for the confidential use of the named recipient only. They may be legally privileged and should not be communicated to, or relied upon, by any other party without our written consent. If you are not the addressee, please notify us immediately so that we can make arrangements for its return. You should not show this e-mail to any person or take copies as you may be committing a criminal or civil offence for which you may be liable. The statement and opinions expressed in this e-mail message are those of the writer, and do not necessarily represent that of Donns Solicitors. Although any files attached to this e-mail will have been checked with virus protection software prior to transmission, you should carry out your own virus check before opening any attachment. Donns Solicitors does not accept any liability for any damage or loss which may be caused by software viruses... -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com ________________________________________________ Message sent using UebiMiau 2.7.2 From roz.clarke at donnslaw.co.uk Wed Aug 24 07:19:46 2005 From: roz.clarke at donnslaw.co.uk (Roz Clarke) Date: Wed, 24 Aug 2005 13:19:46 +0100 Subject: [AccessD] Change of circumstances Message-ID: <61F915314798D311A2F800A0C9C8318807225F13@dibble.observatory.donnslaw.co.uk> Hiya Thank you for the good wishes. The masters is in Creative Writing and the novel is one I started several years ago but have never found the time to finish, it's about erm... I guess it's about the nobility of truth versus the attractions of artifice. It's a very silly book really but I'm enjoying working on it. No publisher yet; I need a second draft before I share with anyone. I will certainly stick around - can't imagine life without y'all - though I might have to go to digest mode and resign my modship :( Roz -----Original Message----- From: Andy Lacey [mailto:andy at minstersystems.co.uk] Sent: 24 August 2005 12:53 To: Access Developers discussion and problem solving Subject: Re: [AccessD] Change of circumstances Hi Roz Don't have anything practical to add (you spotted the obvious one about freelance work not readily fitting round personal timetables) but just wanted to say good luck. What's the Masters in, and more intriguingly what's the novel? Is it your first? Do you have a publisher? etc etc When can we look to see Roz Clarke in Waterstones? And I hope you'll be sticking around AccessD. -- Andy Lacey http://www.minstersystems.co.uk --------- Original Message -------- From: "Access Developers discussion and problem solving" To: "'Access Developers discussion and problem solving'" Subject: [AccessD] Change of circumstances Date: 24/08/05 10:52 Dear all Like so many access-d members before me, I will shortly be giving up my day job and looking for freelance work. The trouble is I don't want to work 24/7 - I am starting a masters degree this autumn, and writing a novel. But it would be nice to keep my hand in with a bit of analysis &/or development work, and of course the money would not go amiss. Does anyone have any suggestions as to how I could do this? I have 10 years experience with Access but I'm no guru, as you know. I've extended into other Office apps a good deal, including Outlook. I have some SQL dev skills and a smattering of SQL DBA knowledge. I'm getting into ASP.NET. I'm a good analyst and I think I'm a decent team leader, (whatever Tom says). My real strength is project management. I'd like to work 2 days a week, but I appreciate that freelance work never respects that kind of wish. :) Any advice would be much appreciated TIA Roz The contents of this message and any attachments are the property of Donns Solicitors and are intended for the confidential use of the named recipient only. They may be legally privileged and should not be communicated to, or relied upon, by any other party without our written consent. If you are not the addressee, please notify us immediately so that we can make arrangements for its return. You should not show this e-mail to any person or take copies as you may be committing a criminal or civil offence for which you may be liable. The statement and opinions expressed in this e-mail message are those of the writer, and do not necessarily represent that of Donns Solicitors. Although any files attached to this e-mail will have been checked with virus protection software prior to transmission, you should carry out your own virus check before opening any attachment. Donns Solicitors does not accept any liability for any damage or loss which may be caused by software viruses... -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com ________________________________________________ Message sent using UebiMiau 2.7.2 -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -------------- next part -------------- The contents of this message and any attachments are the property of Donns Solicitors and are intended for the confidential use of the named recipient only. They may be legally privileged and should not be communicated to, or relied upon, by any other party without our written consent. If you are not the addressee, please notify us immediately so that we can make arrangements for its return. You should not show this e-mail to any person or take copies as you may be committing a criminal or civil offence for which you may be liable. The statement and opinions expressed in this e-mail message are those of the writer, and do not necessarily represent that of Donns Solicitors. Although any files attached to this e-mail will have been checked with virus protection software prior to transmission, you should carry out your own virus check before opening any attachment. Donns Solicitors does not accept any liability for any damage or loss which may be caused by software viruses... From roz.clarke at donnslaw.co.uk Wed Aug 24 07:21:00 2005 From: roz.clarke at donnslaw.co.uk (Roz Clarke) Date: Wed, 24 Aug 2005 13:21:00 +0100 Subject: [AccessD] Change of circumstances Message-ID: <61F915314798D311A2F800A0C9C8318807225F14@dibble.observatory.donnslaw.co.uk> LMFAO We can revisit the subject on Friday... -----Original Message----- From: Andy Lacey [mailto:andy at minstersystems.co.uk] Sent: 24 August 2005 13:13 To: Access Developers discussion and problem solving Subject: RE: [AccessD] Change of circumstances ROTFL Oh God I'm really really tempted now, but it'll start something and as a responsible moderator I'd have to tell myself to shut up. Darn. -- 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] Change of circumstances Date: 24/08/05 12:00 "A Query Too Far" - Clarke, R. *hides under desk* -----Original Message----- From: Andy Lacey [mailto:andy at minstersystems.co.uk] Sent: 24-Aug-2005 12:53 To: Access Developers discussion and problem solving Subject: Re: [AccessD] Change of circumstances Hi Roz Don't have anything practical to add (you spotted the obvious one about freelance work not readily fitting round personal timetables) but just wanted to say good luck. What's the Masters in, and more intriguingly what's the novel? Is it your first? Do you have a publisher? etc etc When can we look to see Roz Clarke in Waterstones? And I hope you'll be sticking around AccessD. -- Andy Lacey http://www.minstersystems.co.uk The contents of this message and any attachments are the property of Donns Solicitors and are intended for the confidential use of the named recipient only. They may be legally privileged and should not be communicated to, or relied upon, by any other party without our written consent. If you are not the addressee, please notify us immediately so that we can make arrangements for its return. You should not show this e-mail to any person or take copies as you may be committing a criminal or civil offence for which you may be liable. The statement and opinions expressed in this e-mail message are those of the writer, and do not necessarily represent that of Donns Solicitors. Although any files attached to this e-mail will have been checked with virus protection software prior to transmission, you should carry out your own virus check before opening any attachment. Donns Solicitors does not accept any liability for any damage or loss which may be caused by software viruses... -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com ________________________________________________ Message sent using UebiMiau 2.7.2 -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -------------- next part -------------- The contents of this message and any attachments are the property of Donns Solicitors and are intended for the confidential use of the named recipient only. They may be legally privileged and should not be communicated to, or relied upon, by any other party without our written consent. If you are not the addressee, please notify us immediately so that we can make arrangements for its return. You should not show this e-mail to any person or take copies as you may be committing a criminal or civil offence for which you may be liable. The statement and opinions expressed in this e-mail message are those of the writer, and do not necessarily represent that of Donns Solicitors. Although any files attached to this e-mail will have been checked with virus protection software prior to transmission, you should carry out your own virus check before opening any attachment. Donns Solicitors does not accept any liability for any damage or loss which may be caused by software viruses... From jwcolby at colbyconsulting.com Wed Aug 24 07:28:35 2005 From: jwcolby at colbyconsulting.com (John W. Colby) Date: Wed, 24 Aug 2005 08:28:35 -0400 Subject: [AccessD] Change of circumstances In-Reply-To: <61F915314798D311A2F800A0C9C8318807225F13@dibble.observatory.donnslaw.co.uk> Message-ID: <008a01c5a8a7$58f89ca0$6c7aa8c0@ColbyM6805> What, no Roz tickling my back with her cat-0-nine? Where will I get my titillation? John W. Colby www.ColbyConsulting.com Contribute your unused CPU cycles to a good cause: http://folding.stanford.edu/ -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Roz Clarke Sent: Wednesday, August 24, 2005 8:20 AM To: 'Access Developers discussion and problem solving' Subject: RE: [AccessD] Change of circumstances Hiya Thank you for the good wishes. The masters is in Creative Writing and the novel is one I started several years ago but have never found the time to finish, it's about erm... I guess it's about the nobility of truth versus the attractions of artifice. It's a very silly book really but I'm enjoying working on it. No publisher yet; I need a second draft before I share with anyone. I will certainly stick around - can't imagine life without y'all - though I might have to go to digest mode and resign my modship :( Roz -----Original Message----- From: Andy Lacey [mailto:andy at minstersystems.co.uk] Sent: 24 August 2005 12:53 To: Access Developers discussion and problem solving Subject: Re: [AccessD] Change of circumstances Hi Roz Don't have anything practical to add (you spotted the obvious one about freelance work not readily fitting round personal timetables) but just wanted to say good luck. What's the Masters in, and more intriguingly what's the novel? Is it your first? Do you have a publisher? etc etc When can we look to see Roz Clarke in Waterstones? And I hope you'll be sticking around AccessD. -- Andy Lacey http://www.minstersystems.co.uk --------- Original Message -------- From: "Access Developers discussion and problem solving" To: "'Access Developers discussion and problem solving'" Subject: [AccessD] Change of circumstances Date: 24/08/05 10:52 Dear all Like so many access-d members before me, I will shortly be giving up my day job and looking for freelance work. The trouble is I don't want to work 24/7 - I am starting a masters degree this autumn, and writing a novel. But it would be nice to keep my hand in with a bit of analysis &/or development work, and of course the money would not go amiss. Does anyone have any suggestions as to how I could do this? I have 10 years experience with Access but I'm no guru, as you know. I've extended into other Office apps a good deal, including Outlook. I have some SQL dev skills and a smattering of SQL DBA knowledge. I'm getting into ASP.NET. I'm a good analyst and I think I'm a decent team leader, (whatever Tom says). My real strength is project management. I'd like to work 2 days a week, but I appreciate that freelance work never respects that kind of wish. :) Any advice would be much appreciated TIA Roz The contents of this message and any attachments are the property of Donns Solicitors and are intended for the confidential use of the named recipient only. They may be legally privileged and should not be communicated to, or relied upon, by any other party without our written consent. If you are not the addressee, please notify us immediately so that we can make arrangements for its return. You should not show this e-mail to any person or take copies as you may be committing a criminal or civil offence for which you may be liable. The statement and opinions expressed in this e-mail message are those of the writer, and do not necessarily represent that of Donns Solicitors. Although any files attached to this e-mail will have been checked with virus protection software prior to transmission, you should carry out your own virus check before opening any attachment. Donns Solicitors does not accept any liability for any damage or loss which may be caused by software viruses... -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com ________________________________________________ Message sent using UebiMiau 2.7.2 -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From roz.clarke at donnslaw.co.uk Wed Aug 24 07:42:30 2005 From: roz.clarke at donnslaw.co.uk (Roz Clarke) Date: Wed, 24 Aug 2005 13:42:30 +0100 Subject: [AccessD] Change of circumstances Message-ID: <61F915314798D311A2F800A0C9C8318807225F17@dibble.observatory.donnslaw.co.uk> Well maybe I could rejoin the BOD, heheh. I don't finish here until 14th October though, so for now... That's *quite* enough from you Mr. Colby, this thread is getting dangerously off-topic! Back to your reusable code, forthwith! -----Original Message----- From: John W. Colby [mailto:jwcolby at colbyconsulting.com] Sent: 24 August 2005 13:29 To: 'Access Developers discussion and problem solving' Subject: RE: [AccessD] Change of circumstances What, no Roz tickling my back with her cat-0-nine? Where will I get my titillation? John W. Colby www.ColbyConsulting.com Contribute your unused CPU cycles to a good cause: http://folding.stanford.edu/ -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Roz Clarke Sent: Wednesday, August 24, 2005 8:20 AM To: 'Access Developers discussion and problem solving' Subject: RE: [AccessD] Change of circumstances Hiya Thank you for the good wishes. The masters is in Creative Writing and the novel is one I started several years ago but have never found the time to finish, it's about erm... I guess it's about the nobility of truth versus the attractions of artifice. It's a very silly book really but I'm enjoying working on it. No publisher yet; I need a second draft before I share with anyone. I will certainly stick around - can't imagine life without y'all - though I might have to go to digest mode and resign my modship :( Roz -----Original Message----- From: Andy Lacey [mailto:andy at minstersystems.co.uk] Sent: 24 August 2005 12:53 To: Access Developers discussion and problem solving Subject: Re: [AccessD] Change of circumstances Hi Roz Don't have anything practical to add (you spotted the obvious one about freelance work not readily fitting round personal timetables) but just wanted to say good luck. What's the Masters in, and more intriguingly what's the novel? Is it your first? Do you have a publisher? etc etc When can we look to see Roz Clarke in Waterstones? And I hope you'll be sticking around AccessD. -- Andy Lacey http://www.minstersystems.co.uk --------- Original Message -------- From: "Access Developers discussion and problem solving" To: "'Access Developers discussion and problem solving'" Subject: [AccessD] Change of circumstances Date: 24/08/05 10:52 Dear all Like so many access-d members before me, I will shortly be giving up my day job and looking for freelance work. The trouble is I don't want to work 24/7 - I am starting a masters degree this autumn, and writing a novel. But it would be nice to keep my hand in with a bit of analysis &/or development work, and of course the money would not go amiss. Does anyone have any suggestions as to how I could do this? I have 10 years experience with Access but I'm no guru, as you know. I've extended into other Office apps a good deal, including Outlook. I have some SQL dev skills and a smattering of SQL DBA knowledge. I'm getting into ASP.NET. I'm a good analyst and I think I'm a decent team leader, (whatever Tom says). My real strength is project management. I'd like to work 2 days a week, but I appreciate that freelance work never respects that kind of wish. :) Any advice would be much appreciated TIA Roz The contents of this message and any attachments are the property of Donns Solicitors and are intended for the confidential use of the named recipient only. They may be legally privileged and should not be communicated to, or relied upon, by any other party without our written consent. If you are not the addressee, please notify us immediately so that we can make arrangements for its return. You should not show this e-mail to any person or take copies as you may be committing a criminal or civil offence for which you may be liable. The statement and opinions expressed in this e-mail message are those of the writer, and do not necessarily represent that of Donns Solicitors. Although any files attached to this e-mail will have been checked with virus protection software prior to transmission, you should carry out your own virus check before opening any attachment. Donns Solicitors does not accept any liability for any damage or loss which may be caused by software viruses... -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com ________________________________________________ Message sent using UebiMiau 2.7.2 -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -------------- next part -------------- The contents of this message and any attachments are the property of Donns Solicitors and are intended for the confidential use of the named recipient only. They may be legally privileged and should not be communicated to, or relied upon, by any other party without our written consent. If you are not the addressee, please notify us immediately so that we can make arrangements for its return. You should not show this e-mail to any person or take copies as you may be committing a criminal or civil offence for which you may be liable. The statement and opinions expressed in this e-mail message are those of the writer, and do not necessarily represent that of Donns Solicitors. Although any files attached to this e-mail will have been checked with virus protection software prior to transmission, you should carry out your own virus check before opening any attachment. Donns Solicitors does not accept any liability for any damage or loss which may be caused by software viruses... From roz.clarke at donnslaw.co.uk Wed Aug 24 07:50:31 2005 From: roz.clarke at donnslaw.co.uk (Roz Clarke) Date: Wed, 24 Aug 2005 13:50:31 +0100 Subject: [AccessD] test Message-ID: <61F915314798D311A2F800A0C9C8318807225F18@dibble.observatory.donnslaw.co.uk> testing - not seeing my own mails to the list today -------------- next part -------------- The contents of this message and any attachments are the property of Donns Solicitors and are intended for the confidential use of the named recipient only. They may be legally privileged and should not be communicated to, or relied upon, by any other party without our written consent. If you are not the addressee, please notify us immediately so that we can make arrangements for its return. You should not show this e-mail to any person or take copies as you may be committing a criminal or civil offence for which you may be liable. The statement and opinions expressed in this e-mail message are those of the writer, and do not necessarily represent that of Donns Solicitors. Although any files attached to this e-mail will have been checked with virus protection software prior to transmission, you should carry out your own virus check before opening any attachment. Donns Solicitors does not accept any liability for any damage or loss which may be caused by software viruses... From jwcolby at colbyconsulting.com Wed Aug 24 07:49:37 2005 From: jwcolby at colbyconsulting.com (John W. Colby) Date: Wed, 24 Aug 2005 08:49:37 -0400 Subject: [AccessD] Change of circumstances In-Reply-To: <61F915314798D311A2F800A0C9C8318807225F17@dibble.observatory.donnslaw.co.uk> Message-ID: <00e401c5a8aa$4c726800$6c7aa8c0@ColbyM6805> Ahhhhhh.... That velvet touch I do so love... ;-) And good luck in your future endeavors, although to be quite honest, the book subject matter does not sound like it will make you the next female billionaire to come out of England. Or perhaps you just need good marketing. Anyway, don't be a stranger. John W. Colby www.ColbyConsulting.com Contribute your unused CPU cycles to a good cause: http://folding.stanford.edu/ -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Roz Clarke Sent: Wednesday, August 24, 2005 8:43 AM To: 'Access Developers discussion and problem solving' Subject: RE: [AccessD] Change of circumstances Well maybe I could rejoin the BOD, heheh. I don't finish here until 14th October though, so for now... That's *quite* enough from you Mr. Colby, this thread is getting dangerously off-topic! Back to your reusable code, forthwith! -----Original Message----- From: John W. Colby [mailto:jwcolby at colbyconsulting.com] Sent: 24 August 2005 13:29 To: 'Access Developers discussion and problem solving' Subject: RE: [AccessD] Change of circumstances What, no Roz tickling my back with her cat-0-nine? Where will I get my titillation? John W. Colby www.ColbyConsulting.com Contribute your unused CPU cycles to a good cause: http://folding.stanford.edu/ -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Roz Clarke Sent: Wednesday, August 24, 2005 8:20 AM To: 'Access Developers discussion and problem solving' Subject: RE: [AccessD] Change of circumstances Hiya Thank you for the good wishes. The masters is in Creative Writing and the novel is one I started several years ago but have never found the time to finish, it's about erm... I guess it's about the nobility of truth versus the attractions of artifice. It's a very silly book really but I'm enjoying working on it. No publisher yet; I need a second draft before I share with anyone. I will certainly stick around - can't imagine life without y'all - though I might have to go to digest mode and resign my modship :( Roz -----Original Message----- From: Andy Lacey [mailto:andy at minstersystems.co.uk] Sent: 24 August 2005 12:53 To: Access Developers discussion and problem solving Subject: Re: [AccessD] Change of circumstances Hi Roz Don't have anything practical to add (you spotted the obvious one about freelance work not readily fitting round personal timetables) but just wanted to say good luck. What's the Masters in, and more intriguingly what's the novel? Is it your first? Do you have a publisher? etc etc When can we look to see Roz Clarke in Waterstones? And I hope you'll be sticking around AccessD. -- Andy Lacey http://www.minstersystems.co.uk --------- Original Message -------- From: "Access Developers discussion and problem solving" To: "'Access Developers discussion and problem solving'" Subject: [AccessD] Change of circumstances Date: 24/08/05 10:52 Dear all Like so many access-d members before me, I will shortly be giving up my day job and looking for freelance work. The trouble is I don't want to work 24/7 - I am starting a masters degree this autumn, and writing a novel. But it would be nice to keep my hand in with a bit of analysis &/or development work, and of course the money would not go amiss. Does anyone have any suggestions as to how I could do this? I have 10 years experience with Access but I'm no guru, as you know. I've extended into other Office apps a good deal, including Outlook. I have some SQL dev skills and a smattering of SQL DBA knowledge. I'm getting into ASP.NET. I'm a good analyst and I think I'm a decent team leader, (whatever Tom says). My real strength is project management. I'd like to work 2 days a week, but I appreciate that freelance work never respects that kind of wish. :) Any advice would be much appreciated TIA Roz The contents of this message and any attachments are the property of Donns Solicitors and are intended for the confidential use of the named recipient only. They may be legally privileged and should not be communicated to, or relied upon, by any other party without our written consent. If you are not the addressee, please notify us immediately so that we can make arrangements for its return. You should not show this e-mail to any person or take copies as you may be committing a criminal or civil offence for which you may be liable. The statement and opinions expressed in this e-mail message are those of the writer, and do not necessarily represent that of Donns Solicitors. Although any files attached to this e-mail will have been checked with virus protection software prior to transmission, you should carry out your own virus check before opening any attachment. Donns Solicitors does not accept any liability for any damage or loss which may be caused by software viruses... -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com ________________________________________________ Message sent using UebiMiau 2.7.2 -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From andy at minstersystems.co.uk Wed Aug 24 07:57:20 2005 From: andy at minstersystems.co.uk (Andy Lacey) Date: Wed, 24 Aug 2005 13:57:20 +0100 Subject: [AccessD] Change of circumstances Message-ID: <20050824125717.54AE52A3686@smtp.nildram.co.uk> Not exactly airport pulp fiction then eh? Ok, other discussions and suggested titles on hold til Friday. -- 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] Change of circumstances Date: 24/08/05 12:19 Hiya Thank you for the good wishes. The masters is in Creative Writing and the novel is one I started several years ago but have never found the time to finish, it's about erm... I guess it's about the nobility of truth versus the attractions of artifice. It's a very silly book really but I'm enjoying working on it. No publisher yet; I need a second draft before I share with anyone. I will certainly stick around - can't imagine life without y'all - though I might have to go to digest mode and resign my modship :( Roz -----Original Message----- From: Andy Lacey [mailto:andy at minstersystems.co.uk] Sent: 24 August 2005 12:53 To: Access Developers discussion and problem solving Subject: Re: [AccessD] Change of circumstances Hi Roz Don't have anything practical to add (you spotted the obvious one about freelance work not readily fitting round personal timetables) but just wanted to say good luck. What's the Masters in, and more intriguingly what's the novel? Is it your first? Do you have a publisher? etc etc When can we look to see Roz Clarke in Waterstones? And I hope you'll be sticking around AccessD. -- Andy Lacey http://www.minstersystems.co.uk --------- Original Message -------- From: "Access Developers discussion and problem solving" To: "'Access Developers discussion and problem solving'" Subject: [AccessD] Change of circumstances Date: 24/08/05 10:52 Dear all Like so many access-d members before me, I will shortly be giving up my day job and looking for freelance work. The trouble is I don't want to work 24/7 - I am starting a masters degree this autumn, and writing a novel. But it would be nice to keep my hand in with a bit of analysis &/or development work, and of course the money would not go amiss. Does anyone have any suggestions as to how I could do this? I have 10 years experience with Access but I'm no guru, as you know. I've extended into other Office apps a good deal, including Outlook. I have some SQL dev skills and a smattering of SQL DBA knowledge. I'm getting into ASP.NET. I'm a good analyst and I think I'm a decent team leader, (whatever Tom says). My real strength is project management. I'd like to work 2 days a week, but I appreciate that freelance work never respects that kind of wish. :) Any advice would be much appreciated TIA Roz The contents of this message and any attachments are the property of Donns Solicitors and are intended for the confidential use of the named recipient only. They may be legally privileged and should not be communicated to, or relied upon, by any other party without our written consent. If you are not the addressee, please notify us immediately so that we can make arrangements for its return. You should not show this e-mail to any person or take copies as you may be committing a criminal or civil offence for which you may be liable. The statement and opinions expressed in this e-mail message are those of the writer, and do not necessarily represent that of Donns Solicitors. Although any files attached to this e-mail will have been checked with virus protection software prior to transmission, you should carry out your own virus check before opening any attachment. Donns Solicitors does not accept any liability for any damage or loss which may be caused by software viruses... -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com ________________________________________________ Message sent using UebiMiau 2.7.2 -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com The contents of this message and any attachments are the property of Donns Solicitors and are intended for the confidential use of the named recipient only. They may be legally privileged and should not be communicated to, or relied upon, by any other party without our written consent. If you are not the addressee, please notify us immediately so that we can make arrangements for its return. You should not show this e-mail to any person or take copies as you may be committing a criminal or civil offence for which you may be liable. The statement and opinions expressed in this e-mail message are those of the writer, and do not necessarily represent that of Donns Solicitors. Although any files attached to this e-mail will have been checked with virus protection software prior to transmission, you should carry out your own virus check before opening any attachment. Donns Solicitors does not accept any liability for any damage or loss which may be caused by software viruses... -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com ________________________________________________ Message sent using UebiMiau 2.7.2 From john at winhaven.net Wed Aug 24 08:25:42 2005 From: john at winhaven.net (John Bartow) Date: Wed, 24 Aug 2005 08:25:42 -0500 Subject: [AccessD] test In-Reply-To: <61F915314798D311A2F800A0C9C8318807225F18@dibble.observatory.donnslaw.co.uk> Message-ID: <200508241325.j7ODPlR01803@databaseadvisors.com> passed -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Roz Clarke Sent: Wednesday, August 24, 2005 7:51 AM To: 'Access Developers discussion and problem solving' Subject: [AccessD] test testing - not seeing my own mails to the list today From Jim.Hale at FleetPride.com Wed Aug 24 08:31:39 2005 From: Jim.Hale at FleetPride.com (Hale, Jim) Date: Wed, 24 Aug 2005 08:31:39 -0500 Subject: [AccessD] Change of circumstances Message-ID: <6A6AA9DF57E4F046BDA1E273BDDB67723377AD@corp-es01.fleetpride.com> Don't worry, I'll bet you're in the book :-> Good luck Roz! Jim Hale -----Original Message----- From: John W. Colby [mailto:jwcolby at colbyconsulting.com] Sent: Wednesday, August 24, 2005 7:29 AM To: 'Access Developers discussion and problem solving' Subject: RE: [AccessD] Change of circumstances What, no Roz tickling my back with her cat-0-nine? Where will I get my titillation? John W. Colby www.ColbyConsulting.com Contribute your unused CPU cycles to a good cause: http://folding.stanford.edu/ -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Roz Clarke Sent: Wednesday, August 24, 2005 8:20 AM To: 'Access Developers discussion and problem solving' Subject: RE: [AccessD] Change of circumstances Hiya Thank you for the good wishes. The masters is in Creative Writing and the novel is one I started several years ago but have never found the time to finish, it's about erm... I guess it's about the nobility of truth versus the attractions of artifice. It's a very silly book really but I'm enjoying working on it. No publisher yet; I need a second draft before I share with anyone. I will certainly stick around - can't imagine life without y'all - though I might have to go to digest mode and resign my modship :( Roz -----Original Message----- From: Andy Lacey [mailto:andy at minstersystems.co.uk] Sent: 24 August 2005 12:53 To: Access Developers discussion and problem solving Subject: Re: [AccessD] Change of circumstances Hi Roz Don't have anything practical to add (you spotted the obvious one about freelance work not readily fitting round personal timetables) but just wanted to say good luck. What's the Masters in, and more intriguingly what's the novel? Is it your first? Do you have a publisher? etc etc When can we look to see Roz Clarke in Waterstones? And I hope you'll be sticking around AccessD. -- Andy Lacey http://www.minstersystems.co.uk --------- Original Message -------- From: "Access Developers discussion and problem solving" To: "'Access Developers discussion and problem solving'" Subject: [AccessD] Change of circumstances Date: 24/08/05 10:52 Dear all Like so many access-d members before me, I will shortly be giving up my day job and looking for freelance work. The trouble is I don't want to work 24/7 - I am starting a masters degree this autumn, and writing a novel. But it would be nice to keep my hand in with a bit of analysis &/or development work, and of course the money would not go amiss. Does anyone have any suggestions as to how I could do this? I have 10 years experience with Access but I'm no guru, as you know. I've extended into other Office apps a good deal, including Outlook. I have some SQL dev skills and a smattering of SQL DBA knowledge. I'm getting into ASP.NET. I'm a good analyst and I think I'm a decent team leader, (whatever Tom says). My real strength is project management. I'd like to work 2 days a week, but I appreciate that freelance work never respects that kind of wish. :) Any advice would be much appreciated TIA Roz The contents of this message and any attachments are the property of Donns Solicitors and are intended for the confidential use of the named recipient only. They may be legally privileged and should not be communicated to, or relied upon, by any other party without our written consent. If you are not the addressee, please notify us immediately so that we can make arrangements for its return. You should not show this e-mail to any person or take copies as you may be committing a criminal or civil offence for which you may be liable. The statement and opinions expressed in this e-mail message are those of the writer, and do not necessarily represent that of Donns Solicitors. Although any files attached to this e-mail will have been checked with virus protection software prior to transmission, you should carry out your own virus check before opening any attachment. Donns Solicitors does not accept any liability for any damage or loss which may be caused by software viruses... -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com ________________________________________________ Message sent using UebiMiau 2.7.2 -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com *********************************************************************** The information transmitted is intended solely for the individual or entity to which it is addressed and may contain confidential and/or privileged material. Any review, retransmission, dissemination or other use of or taking action in reliance upon this information by persons or entities other than the intended recipient is prohibited. If you have received this email in error please contact the sender and delete the material from any computer. As a recipient of this email, you are responsible for screening its contents and the contents of any attachments for the presence of viruses. No liability is accepted for any damages caused by any virus transmitted by this email. From roz.clarke at donnslaw.co.uk Wed Aug 24 08:33:29 2005 From: roz.clarke at donnslaw.co.uk (Roz Clarke) Date: Wed, 24 Aug 2005 14:33:29 +0100 Subject: [AccessD] test Message-ID: <61F915314798D311A2F800A0C9C8318807225F1B@dibble.observatory.donnslaw.co.uk> Still didn't get my own email - and I have checked my list settings - but it could be something at this end. -----Original Message----- From: John Bartow [mailto:john at winhaven.net] Sent: 24 August 2005 14:26 To: 'Access Developers discussion and problem solving' Subject: RE: [AccessD] test passed -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Roz Clarke Sent: Wednesday, August 24, 2005 7:51 AM To: 'Access Developers discussion and problem solving' Subject: [AccessD] test testing - not seeing my own mails to the list today -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -------------- next part -------------- The contents of this message and any attachments are the property of Donns Solicitors and are intended for the confidential use of the named recipient only. They may be legally privileged and should not be communicated to, or relied upon, by any other party without our written consent. If you are not the addressee, please notify us immediately so that we can make arrangements for its return. You should not show this e-mail to any person or take copies as you may be committing a criminal or civil offence for which you may be liable. The statement and opinions expressed in this e-mail message are those of the writer, and do not necessarily represent that of Donns Solicitors. Although any files attached to this e-mail will have been checked with virus protection software prior to transmission, you should carry out your own virus check before opening any attachment. Donns Solicitors does not accept any liability for any damage or loss which may be caused by software viruses... From john at winhaven.net Wed Aug 24 09:02:31 2005 From: john at winhaven.net (John Bartow) Date: Wed, 24 Aug 2005 09:02:31 -0500 Subject: [AccessD] test In-Reply-To: <61F915314798D311A2F800A0C9C8318807225F1B@dibble.observatory.donnslaw.co.uk> Message-ID: <200508241402.j7OE2ZR12144@databaseadvisors.com> Just a thought, check your spam filter folders (sometimes ISPs do this and don't inform people). Lately when I send messages with test as a subject they get filtered. -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Roz Clarke Sent: Wednesday, August 24, 2005 8:33 AM To: 'Access Developers discussion and problem solving' Subject: RE: [AccessD] test Still didn't get my own email - and I have checked my list settings - but it could be something at this end. -----Original Message----- From: John Bartow [mailto:john at winhaven.net] Sent: 24 August 2005 14:26 To: 'Access Developers discussion and problem solving' Subject: RE: [AccessD] test passed -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Roz Clarke Sent: Wednesday, August 24, 2005 7:51 AM To: 'Access Developers discussion and problem solving' Subject: [AccessD] test testing - not seeing my own mails to the list today -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From iggy at nanaimo.ark.com Wed Aug 24 09:20:31 2005 From: iggy at nanaimo.ark.com (Tony Septav) Date: Wed, 24 Aug 2005 07:20:31 -0700 Subject: [AccessD] TreeView A97 Message-ID: <430C822F.4040705@nanaimo.ark.com> Hey All I am updating an old project. Does anyone know how to turn off the navigation keys (PgUp,PgDn, Up/Down arrow etc.) in a treeview. I have tried On Key Down Keycode=0 for both the form and control, but it doesn't seem to have any effect. Thanks Tony Septav Nanaimo, BC From DWUTKA at marlow.com Wed Aug 24 10:03:34 2005 From: DWUTKA at marlow.com (DWUTKA at marlow.com) Date: Wed, 24 Aug 2005 10:03:34 -0500 Subject: [AccessD] Change of circumstances Message-ID: <123701F54509D9119A4F00D0B747349016DE34@main2.marlow.com> You could always join OT, just to keep in touch...of course...I would make sure you are fully prepared to do so. OT is not for the faint of heart! ;) Good luck on the novel by the way. On occasion I get side jobs that I just don't have time for. Are you keeping the address below? If so, I'll keep you on my list of 'pass it on'. Haven't had anything in months, but since I am now salaried at my full time job, I have less time for side stuff. Drew -----Original Message----- From: Roz Clarke [mailto:roz.clarke at donnslaw.co.uk] Sent: Wednesday, August 24, 2005 7:20 AM To: 'Access Developers discussion and problem solving' Subject: RE: [AccessD] Change of circumstances Hiya Thank you for the good wishes. The masters is in Creative Writing and the novel is one I started several years ago but have never found the time to finish, it's about erm... I guess it's about the nobility of truth versus the attractions of artifice. It's a very silly book really but I'm enjoying working on it. No publisher yet; I need a second draft before I share with anyone. I will certainly stick around - can't imagine life without y'all - though I might have to go to digest mode and resign my modship :( Roz -----Original Message----- From: Andy Lacey [mailto:andy at minstersystems.co.uk] Sent: 24 August 2005 12:53 To: Access Developers discussion and problem solving Subject: Re: [AccessD] Change of circumstances Hi Roz Don't have anything practical to add (you spotted the obvious one about freelance work not readily fitting round personal timetables) but just wanted to say good luck. What's the Masters in, and more intriguingly what's the novel? Is it your first? Do you have a publisher? etc etc When can we look to see Roz Clarke in Waterstones? And I hope you'll be sticking around AccessD. -- Andy Lacey http://www.minstersystems.co.uk --------- Original Message -------- From: "Access Developers discussion and problem solving" To: "'Access Developers discussion and problem solving'" Subject: [AccessD] Change of circumstances Date: 24/08/05 10:52 Dear all Like so many access-d members before me, I will shortly be giving up my day job and looking for freelance work. The trouble is I don't want to work 24/7 - I am starting a masters degree this autumn, and writing a novel. But it would be nice to keep my hand in with a bit of analysis &/or development work, and of course the money would not go amiss. Does anyone have any suggestions as to how I could do this? I have 10 years experience with Access but I'm no guru, as you know. I've extended into other Office apps a good deal, including Outlook. I have some SQL dev skills and a smattering of SQL DBA knowledge. I'm getting into ASP.NET. I'm a good analyst and I think I'm a decent team leader, (whatever Tom says). My real strength is project management. I'd like to work 2 days a week, but I appreciate that freelance work never respects that kind of wish. :) Any advice would be much appreciated TIA Roz The contents of this message and any attachments are the property of Donns Solicitors and are intended for the confidential use of the named recipient only. They may be legally privileged and should not be communicated to, or relied upon, by any other party without our written consent. If you are not the addressee, please notify us immediately so that we can make arrangements for its return. You should not show this e-mail to any person or take copies as you may be committing a criminal or civil offence for which you may be liable. The statement and opinions expressed in this e-mail message are those of the writer, and do not necessarily represent that of Donns Solicitors. Although any files attached to this e-mail will have been checked with virus protection software prior to transmission, you should carry out your own virus check before opening any attachment. Donns Solicitors does not accept any liability for any damage or loss which may be caused by software viruses... -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com ________________________________________________ Message sent using UebiMiau 2.7.2 -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From DWUTKA at marlow.com Wed Aug 24 10:14:57 2005 From: DWUTKA at marlow.com (DWUTKA at marlow.com) Date: Wed, 24 Aug 2005 10:14:57 -0500 Subject: [AccessD] Change of circumstances Message-ID: <123701F54509D9119A4F00D0B747349016DE37@main2.marlow.com> Um....I'm speechless. Drew -----Original Message----- From: John W. Colby [mailto:jwcolby at colbyconsulting.com] Sent: Wednesday, August 24, 2005 7:29 AM To: 'Access Developers discussion and problem solving' Subject: RE: [AccessD] Change of circumstances What, no Roz tickling my back with her cat-0-nine? Where will I get my titillation? John W. Colby www.ColbyConsulting.com Contribute your unused CPU cycles to a good cause: http://folding.stanford.edu/ -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Roz Clarke Sent: Wednesday, August 24, 2005 8:20 AM To: 'Access Developers discussion and problem solving' Subject: RE: [AccessD] Change of circumstances Hiya Thank you for the good wishes. The masters is in Creative Writing and the novel is one I started several years ago but have never found the time to finish, it's about erm... I guess it's about the nobility of truth versus the attractions of artifice. It's a very silly book really but I'm enjoying working on it. No publisher yet; I need a second draft before I share with anyone. I will certainly stick around - can't imagine life without y'all - though I might have to go to digest mode and resign my modship :( Roz -----Original Message----- From: Andy Lacey [mailto:andy at minstersystems.co.uk] Sent: 24 August 2005 12:53 To: Access Developers discussion and problem solving Subject: Re: [AccessD] Change of circumstances Hi Roz Don't have anything practical to add (you spotted the obvious one about freelance work not readily fitting round personal timetables) but just wanted to say good luck. What's the Masters in, and more intriguingly what's the novel? Is it your first? Do you have a publisher? etc etc When can we look to see Roz Clarke in Waterstones? And I hope you'll be sticking around AccessD. -- Andy Lacey http://www.minstersystems.co.uk --------- Original Message -------- From: "Access Developers discussion and problem solving" To: "'Access Developers discussion and problem solving'" Subject: [AccessD] Change of circumstances Date: 24/08/05 10:52 Dear all Like so many access-d members before me, I will shortly be giving up my day job and looking for freelance work. The trouble is I don't want to work 24/7 - I am starting a masters degree this autumn, and writing a novel. But it would be nice to keep my hand in with a bit of analysis &/or development work, and of course the money would not go amiss. Does anyone have any suggestions as to how I could do this? I have 10 years experience with Access but I'm no guru, as you know. I've extended into other Office apps a good deal, including Outlook. I have some SQL dev skills and a smattering of SQL DBA knowledge. I'm getting into ASP.NET. I'm a good analyst and I think I'm a decent team leader, (whatever Tom says). My real strength is project management. I'd like to work 2 days a week, but I appreciate that freelance work never respects that kind of wish. :) Any advice would be much appreciated TIA Roz The contents of this message and any attachments are the property of Donns Solicitors and are intended for the confidential use of the named recipient only. They may be legally privileged and should not be communicated to, or relied upon, by any other party without our written consent. If you are not the addressee, please notify us immediately so that we can make arrangements for its return. You should not show this e-mail to any person or take copies as you may be committing a criminal or civil offence for which you may be liable. The statement and opinions expressed in this e-mail message are those of the writer, and do not necessarily represent that of Donns Solicitors. Although any files attached to this e-mail will have been checked with virus protection software prior to transmission, you should carry out your own virus check before opening any attachment. Donns Solicitors does not accept any liability for any damage or loss which may be caused by software viruses... -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com ________________________________________________ Message sent using UebiMiau 2.7.2 -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From DWUTKA at marlow.com Wed Aug 24 10:15:29 2005 From: DWUTKA at marlow.com (DWUTKA at marlow.com) Date: Wed, 24 Aug 2005 10:15:29 -0500 Subject: [AccessD] Change of circumstances Message-ID: <123701F54509D9119A4F00D0B747349016DE38@main2.marlow.com> Did anyone else hear the crack of a whip after reading this post? ;) Drew -----Original Message----- From: Roz Clarke [mailto:roz.clarke at donnslaw.co.uk] Sent: Wednesday, August 24, 2005 7:43 AM To: 'Access Developers discussion and problem solving' Subject: RE: [AccessD] Change of circumstances Well maybe I could rejoin the BOD, heheh. I don't finish here until 14th October though, so for now... That's *quite* enough from you Mr. Colby, this thread is getting dangerously off-topic! Back to your reusable code, forthwith! -----Original Message----- From: John W. Colby [mailto:jwcolby at colbyconsulting.com] Sent: 24 August 2005 13:29 To: 'Access Developers discussion and problem solving' Subject: RE: [AccessD] Change of circumstances What, no Roz tickling my back with her cat-0-nine? Where will I get my titillation? John W. Colby www.ColbyConsulting.com Contribute your unused CPU cycles to a good cause: http://folding.stanford.edu/ -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Roz Clarke Sent: Wednesday, August 24, 2005 8:20 AM To: 'Access Developers discussion and problem solving' Subject: RE: [AccessD] Change of circumstances Hiya Thank you for the good wishes. The masters is in Creative Writing and the novel is one I started several years ago but have never found the time to finish, it's about erm... I guess it's about the nobility of truth versus the attractions of artifice. It's a very silly book really but I'm enjoying working on it. No publisher yet; I need a second draft before I share with anyone. I will certainly stick around - can't imagine life without y'all - though I might have to go to digest mode and resign my modship :( Roz -----Original Message----- From: Andy Lacey [mailto:andy at minstersystems.co.uk] Sent: 24 August 2005 12:53 To: Access Developers discussion and problem solving Subject: Re: [AccessD] Change of circumstances Hi Roz Don't have anything practical to add (you spotted the obvious one about freelance work not readily fitting round personal timetables) but just wanted to say good luck. What's the Masters in, and more intriguingly what's the novel? Is it your first? Do you have a publisher? etc etc When can we look to see Roz Clarke in Waterstones? And I hope you'll be sticking around AccessD. -- Andy Lacey http://www.minstersystems.co.uk --------- Original Message -------- From: "Access Developers discussion and problem solving" To: "'Access Developers discussion and problem solving'" Subject: [AccessD] Change of circumstances Date: 24/08/05 10:52 Dear all Like so many access-d members before me, I will shortly be giving up my day job and looking for freelance work. The trouble is I don't want to work 24/7 - I am starting a masters degree this autumn, and writing a novel. But it would be nice to keep my hand in with a bit of analysis &/or development work, and of course the money would not go amiss. Does anyone have any suggestions as to how I could do this? I have 10 years experience with Access but I'm no guru, as you know. I've extended into other Office apps a good deal, including Outlook. I have some SQL dev skills and a smattering of SQL DBA knowledge. I'm getting into ASP.NET. I'm a good analyst and I think I'm a decent team leader, (whatever Tom says). My real strength is project management. I'd like to work 2 days a week, but I appreciate that freelance work never respects that kind of wish. :) Any advice would be much appreciated TIA Roz The contents of this message and any attachments are the property of Donns Solicitors and are intended for the confidential use of the named recipient only. They may be legally privileged and should not be communicated to, or relied upon, by any other party without our written consent. If you are not the addressee, please notify us immediately so that we can make arrangements for its return. You should not show this e-mail to any person or take copies as you may be committing a criminal or civil offence for which you may be liable. The statement and opinions expressed in this e-mail message are those of the writer, and do not necessarily represent that of Donns Solicitors. Although any files attached to this e-mail will have been checked with virus protection software prior to transmission, you should carry out your own virus check before opening any attachment. Donns Solicitors does not accept any liability for any damage or loss which may be caused by software viruses... -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com ________________________________________________ Message sent using UebiMiau 2.7.2 -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From roz.clarke at donnslaw.co.uk Wed Aug 24 10:23:04 2005 From: roz.clarke at donnslaw.co.uk (Roz Clarke) Date: Wed, 24 Aug 2005 16:23:04 +0100 Subject: [AccessD] Change of circumstances Message-ID: <61F915314798D311A2F800A0C9C8318807225F23@dibble.observatory.donnslaw.co.uk> I've tried OT. I wouldn't say I'm faint hearted, but I think I lasted about a fortnight. I won't get to keep this address. I'll be using zora_db at yahoo.com. Thanks for the offer, it's much appreciated. -----Original Message----- From: DWUTKA at marlow.com [mailto:DWUTKA at marlow.com] Sent: 24 August 2005 16:04 To: accessd at databaseadvisors.com Subject: RE: [AccessD] Change of circumstances You could always join OT, just to keep in touch...of course...I would make sure you are fully prepared to do so. OT is not for the faint of heart! ;) Good luck on the novel by the way. On occasion I get side jobs that I just don't have time for. Are you keeping the address below? If so, I'll keep you on my list of 'pass it on'. Haven't had anything in months, but since I am now salaried at my full time job, I have less time for side stuff. Drew -----Original Message----- From: Roz Clarke [mailto:roz.clarke at donnslaw.co.uk] Sent: Wednesday, August 24, 2005 7:20 AM To: 'Access Developers discussion and problem solving' Subject: RE: [AccessD] Change of circumstances Hiya Thank you for the good wishes. The masters is in Creative Writing and the novel is one I started several years ago but have never found the time to finish, it's about erm... I guess it's about the nobility of truth versus the attractions of artifice. It's a very silly book really but I'm enjoying working on it. No publisher yet; I need a second draft before I share with anyone. I will certainly stick around - can't imagine life without y'all - though I might have to go to digest mode and resign my modship :( Roz -----Original Message----- From: Andy Lacey [mailto:andy at minstersystems.co.uk] Sent: 24 August 2005 12:53 To: Access Developers discussion and problem solving Subject: Re: [AccessD] Change of circumstances Hi Roz Don't have anything practical to add (you spotted the obvious one about freelance work not readily fitting round personal timetables) but just wanted to say good luck. What's the Masters in, and more intriguingly what's the novel? Is it your first? Do you have a publisher? etc etc When can we look to see Roz Clarke in Waterstones? And I hope you'll be sticking around AccessD. -- Andy Lacey http://www.minstersystems.co.uk --------- Original Message -------- From: "Access Developers discussion and problem solving" To: "'Access Developers discussion and problem solving'" Subject: [AccessD] Change of circumstances Date: 24/08/05 10:52 Dear all Like so many access-d members before me, I will shortly be giving up my day job and looking for freelance work. The trouble is I don't want to work 24/7 - I am starting a masters degree this autumn, and writing a novel. But it would be nice to keep my hand in with a bit of analysis &/or development work, and of course the money would not go amiss. Does anyone have any suggestions as to how I could do this? I have 10 years experience with Access but I'm no guru, as you know. I've extended into other Office apps a good deal, including Outlook. I have some SQL dev skills and a smattering of SQL DBA knowledge. I'm getting into ASP.NET. I'm a good analyst and I think I'm a decent team leader, (whatever Tom says). My real strength is project management. I'd like to work 2 days a week, but I appreciate that freelance work never respects that kind of wish. :) Any advice would be much appreciated TIA Roz The contents of this message and any attachments are the property of Donns Solicitors and are intended for the confidential use of the named recipient only. They may be legally privileged and should not be communicated to, or relied upon, by any other party without our written consent. If you are not the addressee, please notify us immediately so that we can make arrangements for its return. You should not show this e-mail to any person or take copies as you may be committing a criminal or civil offence for which you may be liable. The statement and opinions expressed in this e-mail message are those of the writer, and do not necessarily represent that of Donns Solicitors. Although any files attached to this e-mail will have been checked with virus protection software prior to transmission, you should carry out your own virus check before opening any attachment. Donns Solicitors does not accept any liability for any damage or loss which may be caused by software viruses... -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com ________________________________________________ Message sent using UebiMiau 2.7.2 -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -------------- next part -------------- The contents of this message and any attachments are the property of Donns Solicitors and are intended for the confidential use of the named recipient only. They may be legally privileged and should not be communicated to, or relied upon, by any other party without our written consent. If you are not the addressee, please notify us immediately so that we can make arrangements for its return. You should not show this e-mail to any person or take copies as you may be committing a criminal or civil offence for which you may be liable. The statement and opinions expressed in this e-mail message are those of the writer, and do not necessarily represent that of Donns Solicitors. Although any files attached to this e-mail will have been checked with virus protection software prior to transmission, you should carry out your own virus check before opening any attachment. Donns Solicitors does not accept any liability for any damage or loss which may be caused by software viruses... From jwcolby at colbyconsulting.com Wed Aug 24 10:42:14 2005 From: jwcolby at colbyconsulting.com (John W. Colby) Date: Wed, 24 Aug 2005 11:42:14 -0400 Subject: [AccessD] Change of circumstances In-Reply-To: <61F915314798D311A2F800A0C9C8318807225F23@dibble.observatory.donnslaw.co.uk> Message-ID: <011a01c5a8c2$665fbfc0$6c7aa8c0@ColbyM6805> Roz, If you are tired of the "new email address" dance, may I recommend going to 1and1.com and buying their email only package. You select an unused domain (I found jwcolby still available - and took it) which you will have to pay $5 to maintain. Then for 99c / month you get up to 5 pop email accounts, and up to 1gb storage for those accounts. I thought that $17 / year was a pretty good price for a domain and 5 permanent email addresses with lots of storage. John W. Colby www.ColbyConsulting.com Contribute your unused CPU cycles to a good cause: http://folding.stanford.edu/ -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Roz Clarke Sent: Wednesday, August 24, 2005 11:23 AM To: 'Access Developers discussion and problem solving' Subject: RE: [AccessD] Change of circumstances I've tried OT. I wouldn't say I'm faint hearted, but I think I lasted about a fortnight. I won't get to keep this address. I'll be using zora_db at yahoo.com. Thanks for the offer, it's much appreciated. -----Original Message----- From: DWUTKA at marlow.com [mailto:DWUTKA at marlow.com] Sent: 24 August 2005 16:04 To: accessd at databaseadvisors.com Subject: RE: [AccessD] Change of circumstances You could always join OT, just to keep in touch...of course...I would make sure you are fully prepared to do so. OT is not for the faint of heart! ;) Good luck on the novel by the way. On occasion I get side jobs that I just don't have time for. Are you keeping the address below? If so, I'll keep you on my list of 'pass it on'. Haven't had anything in months, but since I am now salaried at my full time job, I have less time for side stuff. Drew -----Original Message----- From: Roz Clarke [mailto:roz.clarke at donnslaw.co.uk] Sent: Wednesday, August 24, 2005 7:20 AM To: 'Access Developers discussion and problem solving' Subject: RE: [AccessD] Change of circumstances Hiya Thank you for the good wishes. The masters is in Creative Writing and the novel is one I started several years ago but have never found the time to finish, it's about erm... I guess it's about the nobility of truth versus the attractions of artifice. It's a very silly book really but I'm enjoying working on it. No publisher yet; I need a second draft before I share with anyone. I will certainly stick around - can't imagine life without y'all - though I might have to go to digest mode and resign my modship :( Roz -----Original Message----- From: Andy Lacey [mailto:andy at minstersystems.co.uk] Sent: 24 August 2005 12:53 To: Access Developers discussion and problem solving Subject: Re: [AccessD] Change of circumstances Hi Roz Don't have anything practical to add (you spotted the obvious one about freelance work not readily fitting round personal timetables) but just wanted to say good luck. What's the Masters in, and more intriguingly what's the novel? Is it your first? Do you have a publisher? etc etc When can we look to see Roz Clarke in Waterstones? And I hope you'll be sticking around AccessD. -- Andy Lacey http://www.minstersystems.co.uk --------- Original Message -------- From: "Access Developers discussion and problem solving" To: "'Access Developers discussion and problem solving'" Subject: [AccessD] Change of circumstances Date: 24/08/05 10:52 Dear all Like so many access-d members before me, I will shortly be giving up my day job and looking for freelance work. The trouble is I don't want to work 24/7 - I am starting a masters degree this autumn, and writing a novel. But it would be nice to keep my hand in with a bit of analysis &/or development work, and of course the money would not go amiss. Does anyone have any suggestions as to how I could do this? I have 10 years experience with Access but I'm no guru, as you know. I've extended into other Office apps a good deal, including Outlook. I have some SQL dev skills and a smattering of SQL DBA knowledge. I'm getting into ASP.NET. I'm a good analyst and I think I'm a decent team leader, (whatever Tom says). My real strength is project management. I'd like to work 2 days a week, but I appreciate that freelance work never respects that kind of wish. :) Any advice would be much appreciated TIA Roz The contents of this message and any attachments are the property of Donns Solicitors and are intended for the confidential use of the named recipient only. They may be legally privileged and should not be communicated to, or relied upon, by any other party without our written consent. If you are not the addressee, please notify us immediately so that we can make arrangements for its return. You should not show this e-mail to any person or take copies as you may be committing a criminal or civil offence for which you may be liable. The statement and opinions expressed in this e-mail message are those of the writer, and do not necessarily represent that of Donns Solicitors. Although any files attached to this e-mail will have been checked with virus protection software prior to transmission, you should carry out your own virus check before opening any attachment. Donns Solicitors does not accept any liability for any damage or loss which may be caused by software viruses... -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com ________________________________________________ Message sent using UebiMiau 2.7.2 -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From jwcolby at colbyconsulting.com Wed Aug 24 10:43:25 2005 From: jwcolby at colbyconsulting.com (John W. Colby) Date: Wed, 24 Aug 2005 11:43:25 -0400 Subject: [AccessD] Change of circumstances In-Reply-To: <123701F54509D9119A4F00D0B747349016DE38@main2.marlow.com> Message-ID: <011b01c5a8c2$90d2e7f0$6c7aa8c0@ColbyM6805> And it felt sooooo good. ;-) It's a darned good thing Roz has a sense of humor. John W. Colby www.ColbyConsulting.com Contribute your unused CPU cycles to a good cause: http://folding.stanford.edu/ -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of DWUTKA at marlow.com Sent: Wednesday, August 24, 2005 11:15 AM To: accessd at databaseadvisors.com Subject: RE: [AccessD] Change of circumstances Did anyone else hear the crack of a whip after reading this post? ;) Drew -----Original Message----- From: Roz Clarke [mailto:roz.clarke at donnslaw.co.uk] Sent: Wednesday, August 24, 2005 7:43 AM To: 'Access Developers discussion and problem solving' Subject: RE: [AccessD] Change of circumstances Well maybe I could rejoin the BOD, heheh. I don't finish here until 14th October though, so for now... That's *quite* enough from you Mr. Colby, this thread is getting dangerously off-topic! Back to your reusable code, forthwith! -----Original Message----- From: John W. Colby [mailto:jwcolby at colbyconsulting.com] Sent: 24 August 2005 13:29 To: 'Access Developers discussion and problem solving' Subject: RE: [AccessD] Change of circumstances What, no Roz tickling my back with her cat-0-nine? Where will I get my titillation? John W. Colby www.ColbyConsulting.com Contribute your unused CPU cycles to a good cause: http://folding.stanford.edu/ -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Roz Clarke Sent: Wednesday, August 24, 2005 8:20 AM To: 'Access Developers discussion and problem solving' Subject: RE: [AccessD] Change of circumstances Hiya Thank you for the good wishes. The masters is in Creative Writing and the novel is one I started several years ago but have never found the time to finish, it's about erm... I guess it's about the nobility of truth versus the attractions of artifice. It's a very silly book really but I'm enjoying working on it. No publisher yet; I need a second draft before I share with anyone. I will certainly stick around - can't imagine life without y'all - though I might have to go to digest mode and resign my modship :( Roz -----Original Message----- From: Andy Lacey [mailto:andy at minstersystems.co.uk] Sent: 24 August 2005 12:53 To: Access Developers discussion and problem solving Subject: Re: [AccessD] Change of circumstances Hi Roz Don't have anything practical to add (you spotted the obvious one about freelance work not readily fitting round personal timetables) but just wanted to say good luck. What's the Masters in, and more intriguingly what's the novel? Is it your first? Do you have a publisher? etc etc When can we look to see Roz Clarke in Waterstones? And I hope you'll be sticking around AccessD. -- Andy Lacey http://www.minstersystems.co.uk --------- Original Message -------- From: "Access Developers discussion and problem solving" To: "'Access Developers discussion and problem solving'" Subject: [AccessD] Change of circumstances Date: 24/08/05 10:52 Dear all Like so many access-d members before me, I will shortly be giving up my day job and looking for freelance work. The trouble is I don't want to work 24/7 - I am starting a masters degree this autumn, and writing a novel. But it would be nice to keep my hand in with a bit of analysis &/or development work, and of course the money would not go amiss. Does anyone have any suggestions as to how I could do this? I have 10 years experience with Access but I'm no guru, as you know. I've extended into other Office apps a good deal, including Outlook. I have some SQL dev skills and a smattering of SQL DBA knowledge. I'm getting into ASP.NET. I'm a good analyst and I think I'm a decent team leader, (whatever Tom says). My real strength is project management. I'd like to work 2 days a week, but I appreciate that freelance work never respects that kind of wish. :) Any advice would be much appreciated TIA Roz The contents of this message and any attachments are the property of Donns Solicitors and are intended for the confidential use of the named recipient only. They may be legally privileged and should not be communicated to, or relied upon, by any other party without our written consent. If you are not the addressee, please notify us immediately so that we can make arrangements for its return. You should not show this e-mail to any person or take copies as you may be committing a criminal or civil offence for which you may be liable. The statement and opinions expressed in this e-mail message are those of the writer, and do not necessarily represent that of Donns Solicitors. Although any files attached to this e-mail will have been checked with virus protection software prior to transmission, you should carry out your own virus check before opening any attachment. Donns Solicitors does not accept any liability for any damage or loss which may be caused by software viruses... -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com ________________________________________________ Message sent using UebiMiau 2.7.2 -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From DWUTKA at marlow.com Wed Aug 24 10:42:01 2005 From: DWUTKA at marlow.com (DWUTKA at marlow.com) Date: Wed, 24 Aug 2005 10:42:01 -0500 Subject: [AccessD] Change of circumstances Message-ID: <123701F54509D9119A4F00D0B747349016DE3B@main2.marlow.com> LOL, OT can scare some people away. You have to stick to it for a week or so, and have some thick skin. ;) I put your email address in my address book. I'll let you know if anything comes my way. I put in the notes on the contact that you do Access and ASP.NET. Anything else? (VB, normal ASP, etc?) Drew -----Original Message----- From: Roz Clarke [mailto:roz.clarke at donnslaw.co.uk] Sent: Wednesday, August 24, 2005 10:23 AM To: 'Access Developers discussion and problem solving' Subject: RE: [AccessD] Change of circumstances I've tried OT. I wouldn't say I'm faint hearted, but I think I lasted about a fortnight. I won't get to keep this address. I'll be using zora_db at yahoo.com. Thanks for the offer, it's much appreciated. -----Original Message----- From: DWUTKA at marlow.com [mailto:DWUTKA at marlow.com] Sent: 24 August 2005 16:04 To: accessd at databaseadvisors.com Subject: RE: [AccessD] Change of circumstances You could always join OT, just to keep in touch...of course...I would make sure you are fully prepared to do so. OT is not for the faint of heart! ;) Good luck on the novel by the way. On occasion I get side jobs that I just don't have time for. Are you keeping the address below? If so, I'll keep you on my list of 'pass it on'. Haven't had anything in months, but since I am now salaried at my full time job, I have less time for side stuff. Drew -----Original Message----- From: Roz Clarke [mailto:roz.clarke at donnslaw.co.uk] Sent: Wednesday, August 24, 2005 7:20 AM To: 'Access Developers discussion and problem solving' Subject: RE: [AccessD] Change of circumstances Hiya Thank you for the good wishes. The masters is in Creative Writing and the novel is one I started several years ago but have never found the time to finish, it's about erm... I guess it's about the nobility of truth versus the attractions of artifice. It's a very silly book really but I'm enjoying working on it. No publisher yet; I need a second draft before I share with anyone. I will certainly stick around - can't imagine life without y'all - though I might have to go to digest mode and resign my modship :( Roz -----Original Message----- From: Andy Lacey [mailto:andy at minstersystems.co.uk] Sent: 24 August 2005 12:53 To: Access Developers discussion and problem solving Subject: Re: [AccessD] Change of circumstances Hi Roz Don't have anything practical to add (you spotted the obvious one about freelance work not readily fitting round personal timetables) but just wanted to say good luck. What's the Masters in, and more intriguingly what's the novel? Is it your first? Do you have a publisher? etc etc When can we look to see Roz Clarke in Waterstones? And I hope you'll be sticking around AccessD. -- Andy Lacey http://www.minstersystems.co.uk --------- Original Message -------- From: "Access Developers discussion and problem solving" To: "'Access Developers discussion and problem solving'" Subject: [AccessD] Change of circumstances Date: 24/08/05 10:52 Dear all Like so many access-d members before me, I will shortly be giving up my day job and looking for freelance work. The trouble is I don't want to work 24/7 - I am starting a masters degree this autumn, and writing a novel. But it would be nice to keep my hand in with a bit of analysis &/or development work, and of course the money would not go amiss. Does anyone have any suggestions as to how I could do this? I have 10 years experience with Access but I'm no guru, as you know. I've extended into other Office apps a good deal, including Outlook. I have some SQL dev skills and a smattering of SQL DBA knowledge. I'm getting into ASP.NET. I'm a good analyst and I think I'm a decent team leader, (whatever Tom says). My real strength is project management. I'd like to work 2 days a week, but I appreciate that freelance work never respects that kind of wish. :) Any advice would be much appreciated TIA Roz The contents of this message and any attachments are the property of Donns Solicitors and are intended for the confidential use of the named recipient only. They may be legally privileged and should not be communicated to, or relied upon, by any other party without our written consent. If you are not the addressee, please notify us immediately so that we can make arrangements for its return. You should not show this e-mail to any person or take copies as you may be committing a criminal or civil offence for which you may be liable. The statement and opinions expressed in this e-mail message are those of the writer, and do not necessarily represent that of Donns Solicitors. Although any files attached to this e-mail will have been checked with virus protection software prior to transmission, you should carry out your own virus check before opening any attachment. Donns Solicitors does not accept any liability for any damage or loss which may be caused by software viruses... -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com ________________________________________________ Message sent using UebiMiau 2.7.2 -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From Jim.Hale at FleetPride.com Wed Aug 24 10:51:52 2005 From: Jim.Hale at FleetPride.com (Hale, Jim) Date: Wed, 24 Aug 2005 10:51:52 -0500 Subject: [AccessD] SQL to count delimiters in a string Message-ID: <6A6AA9DF57E4F046BDA1E273BDDB67723377AE@corp-es01.fleetpride.com> Assume I have a text field in a table. Further assume that the text strings are delimited by the pipe character "|". I want to know how many pipe characters occur in each field, ie. the select statement should return: fldText Occurrences test|ddd|ww|ex 3 fff|sss 1 eenie|meenie|minie|moe 3 What is the correct SQL to produce the desired result? TIA Jim Hale *********************************************************************** The information transmitted is intended solely for the individual or entity to which it is addressed and may contain confidential and/or privileged material. Any review, retransmission, dissemination or other use of or taking action in reliance upon this information by persons or entities other than the intended recipient is prohibited. If you have received this email in error please contact the sender and delete the material from any computer. As a recipient of this email, you are responsible for screening its contents and the contents of any attachments for the presence of viruses. No liability is accepted for any damages caused by any virus transmitted by this email. From DWUTKA at marlow.com Wed Aug 24 10:52:18 2005 From: DWUTKA at marlow.com (DWUTKA at marlow.com) Date: Wed, 24 Aug 2005 10:52:18 -0500 Subject: [AccessD] Change of circumstances Message-ID: <123701F54509D9119A4F00D0B747349016DE3F@main2.marlow.com> I hear the whip coming again, you are a glutton for punishment JC, that is why you are Darth Vader, eh? Drew -----Original Message----- From: John W. Colby [mailto:jwcolby at colbyconsulting.com] Sent: Wednesday, August 24, 2005 10:43 AM To: 'Access Developers discussion and problem solving' Subject: RE: [AccessD] Change of circumstances And it felt sooooo good. ;-) It's a darned good thing Roz has a sense of humor. John W. Colby www.ColbyConsulting.com Contribute your unused CPU cycles to a good cause: http://folding.stanford.edu/ -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of DWUTKA at marlow.com Sent: Wednesday, August 24, 2005 11:15 AM To: accessd at databaseadvisors.com Subject: RE: [AccessD] Change of circumstances Did anyone else hear the crack of a whip after reading this post? ;) Drew -----Original Message----- From: Roz Clarke [mailto:roz.clarke at donnslaw.co.uk] Sent: Wednesday, August 24, 2005 7:43 AM To: 'Access Developers discussion and problem solving' Subject: RE: [AccessD] Change of circumstances Well maybe I could rejoin the BOD, heheh. I don't finish here until 14th October though, so for now... That's *quite* enough from you Mr. Colby, this thread is getting dangerously off-topic! Back to your reusable code, forthwith! -----Original Message----- From: John W. Colby [mailto:jwcolby at colbyconsulting.com] Sent: 24 August 2005 13:29 To: 'Access Developers discussion and problem solving' Subject: RE: [AccessD] Change of circumstances What, no Roz tickling my back with her cat-0-nine? Where will I get my titillation? John W. Colby www.ColbyConsulting.com Contribute your unused CPU cycles to a good cause: http://folding.stanford.edu/ -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Roz Clarke Sent: Wednesday, August 24, 2005 8:20 AM To: 'Access Developers discussion and problem solving' Subject: RE: [AccessD] Change of circumstances Hiya Thank you for the good wishes. The masters is in Creative Writing and the novel is one I started several years ago but have never found the time to finish, it's about erm... I guess it's about the nobility of truth versus the attractions of artifice. It's a very silly book really but I'm enjoying working on it. No publisher yet; I need a second draft before I share with anyone. I will certainly stick around - can't imagine life without y'all - though I might have to go to digest mode and resign my modship :( Roz -----Original Message----- From: Andy Lacey [mailto:andy at minstersystems.co.uk] Sent: 24 August 2005 12:53 To: Access Developers discussion and problem solving Subject: Re: [AccessD] Change of circumstances Hi Roz Don't have anything practical to add (you spotted the obvious one about freelance work not readily fitting round personal timetables) but just wanted to say good luck. What's the Masters in, and more intriguingly what's the novel? Is it your first? Do you have a publisher? etc etc When can we look to see Roz Clarke in Waterstones? And I hope you'll be sticking around AccessD. -- Andy Lacey http://www.minstersystems.co.uk --------- Original Message -------- From: "Access Developers discussion and problem solving" To: "'Access Developers discussion and problem solving'" Subject: [AccessD] Change of circumstances Date: 24/08/05 10:52 Dear all Like so many access-d members before me, I will shortly be giving up my day job and looking for freelance work. The trouble is I don't want to work 24/7 - I am starting a masters degree this autumn, and writing a novel. But it would be nice to keep my hand in with a bit of analysis &/or development work, and of course the money would not go amiss. Does anyone have any suggestions as to how I could do this? I have 10 years experience with Access but I'm no guru, as you know. I've extended into other Office apps a good deal, including Outlook. I have some SQL dev skills and a smattering of SQL DBA knowledge. I'm getting into ASP.NET. I'm a good analyst and I think I'm a decent team leader, (whatever Tom says). My real strength is project management. I'd like to work 2 days a week, but I appreciate that freelance work never respects that kind of wish. :) Any advice would be much appreciated TIA Roz The contents of this message and any attachments are the property of Donns Solicitors and are intended for the confidential use of the named recipient only. They may be legally privileged and should not be communicated to, or relied upon, by any other party without our written consent. If you are not the addressee, please notify us immediately so that we can make arrangements for its return. You should not show this e-mail to any person or take copies as you may be committing a criminal or civil offence for which you may be liable. The statement and opinions expressed in this e-mail message are those of the writer, and do not necessarily represent that of Donns Solicitors. Although any files attached to this e-mail will have been checked with virus protection software prior to transmission, you should carry out your own virus check before opening any attachment. Donns Solicitors does not accept any liability for any damage or loss which may be caused by software viruses... -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com ________________________________________________ Message sent using UebiMiau 2.7.2 -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From accessd at shaw.ca Wed Aug 24 12:20:10 2005 From: accessd at shaw.ca (Jim Lawrence) Date: Wed, 24 Aug 2005 10:20:10 -0700 Subject: [AccessD] test In-Reply-To: <61F915314798D311A2F800A0C9C8318807225F1B@dibble.observatory.donnslaw.co.uk> Message-ID: <0ILQ00A4LLHLFB@l-daemon> Hi Roz: Check, your company they might have started removing a 'past' employee from the email accounts a tad early. :-) Jim PS Great move; so what is the working title of new book? -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Roz Clarke Sent: Wednesday, August 24, 2005 6:33 AM To: 'Access Developers discussion and problem solving' Subject: RE: [AccessD] test Still didn't get my own email - and I have checked my list settings - but it could be something at this end. -----Original Message----- From: John Bartow [mailto:john at winhaven.net] Sent: 24 August 2005 14:26 To: 'Access Developers discussion and problem solving' Subject: RE: [AccessD] test passed -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Roz Clarke Sent: Wednesday, August 24, 2005 7:51 AM To: 'Access Developers discussion and problem solving' Subject: [AccessD] test testing - not seeing my own mails to the list today -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From John.Clark at niagaracounty.com Wed Aug 24 12:36:14 2005 From: John.Clark at niagaracounty.com (John Clark) Date: Wed, 24 Aug 2005 13:36:14 -0400 Subject: [AccessD] Logic issue Message-ID: Hi all I am having trouble working out how I want to go about something, and I am hoping somebody here can give me a nudge. It doesn't sound difficult, but I'm running into dead-ends. I am starting to think that I will just have to go ahead and finish up with "whatever" and work around things. I am doing a project for a district attorney's office, and it will basically just keep tabs on everybody that passes through the system. The problem is though that there are "Defendants", defense lawyers, prosecuting lawyers, judges, and victims, and it isn't rare for a single person to cross into multiple lists. And, theoretically, it is possible to be in all lists. For instance there are many prosecuting lawyers that become defense attorneys, and it is not unlikely that one of these attorneys could be a judge in the future. That scenario is very possible, and you can add it that a lawyer is very able to be a victim, and hell, we all know they can be criminals ;) Another scenario that happens very frequently, is that a person is both a defendant and a victim. I don't want the person entering data to scroll through hundreds, and eventually thousands, of names to pick an attorney's name from among the list of everybody else in the system. The idea I am working on presently is to add logical fields for each designation to the table of names. For instances: kNameID txtLastName txtFirstName txtMI txtSuffix logAttorney logADA logJudge logVictim logDefendant If I do this, I will have removed some fields that are currently there, such as: txtAddress1 txtAddress2 txtCity txtSt txtZip txtPhone And, I will put these in another linked table. There may be a need to have multiple addresses for the defendants, so this would be best I think. The problem that I am foreseeing here...I'm not at that point, so my fears could be unfounded...is setting these fields to true and/or false, as needed. Basically, thinking of victims for a minute here, the defendant screen, which will actually be an "Indictment" screen, will have a subform to hold potentially many victims for the indictment. If a victim IS already in the system as something else, I will need to tag that name as a victim and I'm wondering if this will present difficulties. Well, I hope I am being clear enough. If anyone out there has any tips for me, I would greatly appreciate it if you would pass them along. Thank you! John W Clark From ssharkins at bellsouth.net Wed Aug 24 12:43:21 2005 From: ssharkins at bellsouth.net (Susan Harkins) Date: Wed, 24 Aug 2005 13:43:21 -0400 Subject: [AccessD] Logic issue In-Reply-To: Message-ID: <20050824174329.GHHT21411.ibm70aec.bellsouth.net@SUSANONE> logAttorney logADA logJudge logVictim logDefendant ========What kind of values are these? If they're simply descriptive, you might consider kNameID Status Where you can have as many records as necessary to identify kNameID as Attorny, ADA, Judge, etc... Susan H. From DElam at jenkens.com Wed Aug 24 12:47:03 2005 From: DElam at jenkens.com (Elam, Debbie) Date: Wed, 24 Aug 2005 12:47:03 -0500 Subject: [AccessD] Logic issue Message-ID: <7B1961ED924D1A459E378C9B1BB22B4C0492CCD8@natexch.jenkens.com> I would actually have a table of people that includes everyone. Second, a table of trials. Link those two with a third table that has the trialID, personID and an ID indicating what role they had in the trial. Given the cross connections and likely possibility of multiple people in one role for a trial, this is the only scalable solution. Debbie -----Original Message----- From: John Clark [mailto:John.Clark at niagaracounty.com] Sent: Wednesday, August 24, 2005 12:36 PM To: accessd at databaseadvisors.com Subject: [AccessD] Logic issue Hi all I am having trouble working out how I want to go about something, and I am hoping somebody here can give me a nudge. It doesn't sound difficult, but I'm running into dead-ends. I am starting to think that I will just have to go ahead and finish up with "whatever" and work around things. I am doing a project for a district attorney's office, and it will basically just keep tabs on everybody that passes through the system. The problem is though that there are "Defendants", defense lawyers, prosecuting lawyers, judges, and victims, and it isn't rare for a single person to cross into multiple lists. And, theoretically, it is possible to be in all lists. For instance there are many prosecuting lawyers that become defense attorneys, and it is not unlikely that one of these attorneys could be a judge in the future. That scenario is very possible, and you can add it that a lawyer is very able to be a victim, and hell, we all know they can be criminals ;) Another scenario that happens very frequently, is that a person is both a defendant and a victim. I don't want the person entering data to scroll through hundreds, and eventually thousands, of names to pick an attorney's name from among the list of everybody else in the system. The idea I am working on presently is to add logical fields for each designation to the table of names. For instances: kNameID txtLastName txtFirstName txtMI txtSuffix logAttorney logADA logJudge logVictim logDefendant If I do this, I will have removed some fields that are currently there, such as: txtAddress1 txtAddress2 txtCity txtSt txtZip txtPhone And, I will put these in another linked table. There may be a need to have multiple addresses for the defendants, so this would be best I think. The problem that I am foreseeing here...I'm not at that point, so my fears could be unfounded...is setting these fields to true and/or false, as needed. Basically, thinking of victims for a minute here, the defendant screen, which will actually be an "Indictment" screen, will have a subform to hold potentially many victims for the indictment. If a victim IS already in the system as something else, I will need to tag that name as a victim and I'm wondering if this will present difficulties. Well, I hope I am being clear enough. If anyone out there has any tips for me, I would greatly appreciate it if you would pass them along. Thank you! John W Clark -- 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 Lambert.Heenan at AIG.com Wed Aug 24 12:32:20 2005 From: Lambert.Heenan at AIG.com (Heenan, Lambert) Date: Wed, 24 Aug 2005 13:32:20 -0400 Subject: [AccessD] SQL to count delimiters in a string Message-ID: <1D7828CDB8350747AFE9D69E0E90DA1F14EA3F42@xlivmbx21.aig.com> Yu need to use a VBA Function to do that, which you would call from the query. Here's an example... Function CountDelimiters(strSource As String, strDelim As String) As Long Dim nCount As Long Dim nPos As Long nPos = InStr(strSource, strDelim) While nPos > 0 nCount = nCount + 1 nPos = InStr(nPos + Len(strDelim), strSource, strDelim) Wend CountDelimiters = nCount End Function Lambert -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Hale, Jim Sent: Wednesday, August 24, 2005 11:52 AM To: 'Accessd (E-mail) Subject: [AccessD] SQL to count delimiters in a string Assume I have a text field in a table. Further assume that the text strings are delimited by the pipe character "|". I want to know how many pipe characters occur in each field, ie. the select statement should return: fldText Occurrences test|ddd|ww|ex 3 fff|sss 1 eenie|meenie|minie|moe 3 What is the correct SQL to produce the desired result? TIA Jim Hale *********************************************************************** The information transmitted is intended solely for the individual or entity to which it is addressed and may contain confidential and/or privileged material. Any review, retransmission, dissemination or other use of or taking action in reliance upon this information by persons or entities other than the intended recipient is prohibited. If you have received this email in error please contact the sender and delete the material from any computer. As a recipient of this email, you are responsible for screening its contents and the contents of any attachments for the presence of viruses. No liability is accepted for any damages caused by any virus transmitted by this email. From prosoft6 at hotmail.com Wed Aug 24 12:51:24 2005 From: prosoft6 at hotmail.com (Julie Reardon-Taylor) Date: Wed, 24 Aug 2005 13:51:24 -0400 Subject: [AccessD] Logic issue In-Reply-To: Message-ID: John, Have you thought about using an associative table, where the many to many problems are conquered? What does the rest of the list think about associative tables? Julie Reardon-Taylor PRO-SOFT OF NY, INC. 44 Public Square Suite #5 Watertown, NY 13601 Phone/Fax: (315) 785-0319 www.pro-soft.net From adtp at touchtelindia.net Wed Aug 24 12:58:01 2005 From: adtp at touchtelindia.net (A.D.Tejpal) Date: Wed, 24 Aug 2005 23:28:01 +0530 Subject: [AccessD] SQL to count delimiters in a string References: <6A6AA9DF57E4F046BDA1E273BDDB67723377AE@corp-es01.fleetpride.com > Message-ID: <01dc01c5a8d5$9c230b90$451865cb@winxp> Jim, Sample query given below should get you the count of specified delimiter in field named fldText. T_Data is the name of table. It makes use of function Fn_CountDelimiters() given below. Best wishes, A.D.Tejpal -------------- Select Query (Count of specified delimiter in field fldText) ================================= SELECT T_Data.fldText, Fn_CountDelimiters([fldText],"|") AS Occurences FROM T_Data; ================================= User-Defined Function (Count of specified delimiter (TxtDelimiter) in a given string (TxtMain)) ================================= Function Fn_CountDelimiters(ByVal TxtMain _ As String, ByVal TxtDelimiter _ As String) As Long Fn_CountDelimiters = UBound(Split(TxtMain, TxtDelimiter)) End Function ================================= ----- Original Message ----- From: Hale, Jim To: 'Accessd (E-mail) Sent: Wednesday, August 24, 2005 21:21 Subject: [AccessD] SQL to count delimiters in a string Assume I have a text field in a table. Further assume that the text strings are delimited by the pipe character "|". I want to know how many pipe characters occur in each field, ie. the select statement should return: fldText Occurrences test|ddd|ww|ex 3 fff|sss 1 eenie|meenie|minie|moe 3 What is the correct SQL to produce the desired result? TIA Jim Hale From John.Clark at niagaracounty.com Wed Aug 24 13:03:24 2005 From: John.Clark at niagaracounty.com (John Clark) Date: Wed, 24 Aug 2005 14:03:24 -0400 Subject: [AccessD] Logic issue Message-ID: I'm not sure what you mean >>> prosoft6 at hotmail.com 8/24/2005 1:51 PM >>> John, Have you thought about using an associative table, where the many to many problems are conquered? What does the rest of the list think about associative tables? Julie Reardon-Taylor PRO-SOFT OF NY, INC. 44 Public Square Suite #5 Watertown, NY 13601 Phone/Fax: (315) 785-0319 www.pro-soft.net -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From John.Clark at niagaracounty.com Wed Aug 24 13:05:48 2005 From: John.Clark at niagaracounty.com (John Clark) Date: Wed, 24 Aug 2005 14:05:48 -0400 Subject: [AccessD] Logic issue Message-ID: They are sort of just descriptive designations, however they will be useful later in the program. For instance, if they are entering a victims name into the db, they would like to know if this victim was also a defendant for something. And, I will be giving them drop downs that contain lawyers, judges, etc. that will be based on these fields. >>> ssharkins at bellsouth.net 8/24/2005 1:43 PM >>> logAttorney logADA logJudge logVictim logDefendant ========What kind of values are these? If they're simply descriptive, you might consider kNameID Status Where you can have as many records as necessary to identify kNameID as Attorny, ADA, Judge, etc... Susan H. -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From John.Clark at niagaracounty.com Wed Aug 24 13:12:36 2005 From: John.Clark at niagaracounty.com (John Clark) Date: Wed, 24 Aug 2005 14:12:36 -0400 Subject: [AccessD] Logic issue Message-ID: It isn't really based on trials though. It is based on indictment numbers, and these may or may not go to court...a defendant could plea out before it hits trial, or charges could be dropped. I think we are on the same page though, except it seems like you would pull all from this table, which I would too, but I want to filter it for certain lists (i.e. I don't want a thousand names showing up when I want to basically choose from three judges). I don't mind including all names when adding defendants, because it is probably necessary. >>> DElam at jenkens.com 8/24/2005 1:47 PM >>> I would actually have a table of people that includes everyone. Second, a table of trials. Link those two with a third table that has the trialID, personID and an ID indicating what role they had in the trial. Given the cross connections and likely possibility of multiple people in one role for a trial, this is the only scalable solution. Debbie -----Original Message----- From: John Clark [mailto:John.Clark at niagaracounty.com] Sent: Wednesday, August 24, 2005 12:36 PM To: accessd at databaseadvisors.com Subject: [AccessD] Logic issue Hi all I am having trouble working out how I want to go about something, and I am hoping somebody here can give me a nudge. It doesn't sound difficult, but I'm running into dead-ends. I am starting to think that I will just have to go ahead and finish up with "whatever" and work around things. I am doing a project for a district attorney's office, and it will basically just keep tabs on everybody that passes through the system. The problem is though that there are "Defendants", defense lawyers, prosecuting lawyers, judges, and victims, and it isn't rare for a single person to cross into multiple lists. And, theoretically, it is possible to be in all lists. For instance there are many prosecuting lawyers that become defense attorneys, and it is not unlikely that one of these attorneys could be a judge in the future. That scenario is very possible, and you can add it that a lawyer is very able to be a victim, and hell, we all know they can be criminals ;) Another scenario that happens very frequently, is that a person is both a defendant and a victim. I don't want the person entering data to scroll through hundreds, and eventually thousands, of names to pick an attorney's name from among the list of everybody else in the system. The idea I am working on presently is to add logical fields for each designation to the table of names. For instances: kNameID txtLastName txtFirstName txtMI txtSuffix logAttorney logADA logJudge logVictim logDefendant If I do this, I will have removed some fields that are currently there, such as: txtAddress1 txtAddress2 txtCity txtSt txtZip txtPhone And, I will put these in another linked table. There may be a need to have multiple addresses for the defendants, so this would be best I think. The problem that I am foreseeing here...I'm not at that point, so my fears could be unfounded...is setting these fields to true and/or false, as needed. Basically, thinking of victims for a minute here, the defendant screen, which will actually be an "Indictment" screen, will have a subform to hold potentially many victims for the indictment. If a victim IS already in the system as something else, I will need to tag that name as a victim and I'm wondering if this will present difficulties. Well, I hope I am being clear enough. If anyone out there has any tips for me, I would greatly appreciate it if you would pass them along. Thank you! John W Clark -- 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 From Jim.Hale at FleetPride.com Wed Aug 24 13:14:56 2005 From: Jim.Hale at FleetPride.com (Hale, Jim) Date: Wed, 24 Aug 2005 13:14:56 -0500 Subject: [AccessD] SQL to count delimiters in a string Message-ID: <6A6AA9DF57E4F046BDA1E273BDDB67723377B2@corp-es01.fleetpride.com> Thank you Jim Hale -----Original Message----- From: A.D.Tejpal [mailto:adtp at touchtelindia.net] Sent: Wednesday, August 24, 2005 12:58 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] SQL to count delimiters in a string Jim, Sample query given below should get you the count of specified delimiter in field named fldText. T_Data is the name of table. It makes use of function Fn_CountDelimiters() given below. Best wishes, A.D.Tejpal -------------- Select Query (Count of specified delimiter in field fldText) ================================= SELECT T_Data.fldText, Fn_CountDelimiters([fldText],"|") AS Occurences FROM T_Data; ================================= User-Defined Function (Count of specified delimiter (TxtDelimiter) in a given string (TxtMain)) ================================= Function Fn_CountDelimiters(ByVal TxtMain _ As String, ByVal TxtDelimiter _ As String) As Long Fn_CountDelimiters = UBound(Split(TxtMain, TxtDelimiter)) End Function ================================= ----- Original Message ----- From: Hale, Jim To: 'Accessd (E-mail) Sent: Wednesday, August 24, 2005 21:21 Subject: [AccessD] SQL to count delimiters in a string Assume I have a text field in a table. Further assume that the text strings are delimited by the pipe character "|". I want to know how many pipe characters occur in each field, ie. the select statement should return: fldText Occurrences test|ddd|ww|ex 3 fff|sss 1 eenie|meenie|minie|moe 3 What is the correct SQL to produce the desired result? TIA Jim Hale -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com *********************************************************************** The information transmitted is intended solely for the individual or entity to which it is addressed and may contain confidential and/or privileged material. Any review, retransmission, dissemination or other use of or taking action in reliance upon this information by persons or entities other than the intended recipient is prohibited. If you have received this email in error please contact the sender and delete the material from any computer. As a recipient of this email, you are responsible for screening its contents and the contents of any attachments for the presence of viruses. No liability is accepted for any damages caused by any virus transmitted by this email. From shamil at users.mns.ru Wed Aug 24 13:19:36 2005 From: shamil at users.mns.ru (Shamil Salakhetdinov) Date: Wed, 24 Aug 2005 22:19:36 +0400 Subject: [AccessD] SQL to count delimiters in a string References: <1D7828CDB8350747AFE9D69E0E90DA1F14EA3F42@xlivmbx21.aig.com> Message-ID: <002e01c5a8d8$6626d370$6501a8c0@fincomplex.spb.ru> Jim, It can be done in one line - so it should be possible to do it in MS Access SQL I think. Inline test in immediate window: ?IIf(Len("Just|a|test") > 0, UBound(Split("Just|a|test", "|")), 0) 2 One of the possible solutions as VBA function (lines wrapped this tricky way to let this code copy from this message and to paste it into VBA module and compile it without errors): Public Function CountDelimiters( _ ByVal vstrSource As String, _ ByVal vstrDelimiter As String) As Long CountDelimiters = IIf(Len(vstrSource) > 0, _ UBound(Split(vstrSource, _ vstrDelimiter)), 0) End Function HTH, Shamil > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Hale, Jim > Sent: Wednesday, August 24, 2005 11:52 AM > To: 'Accessd (E-mail) > Subject: [AccessD] SQL to count delimiters in a string > > > Assume I have a text field in a table. Further assume that the text strings > are delimited by the pipe character "|". I want to know how many pipe > characters occur in each field, ie. the select statement should return: > > fldText Occurrences > test|ddd|ww|ex 3 > fff|sss 1 > eenie|meenie|minie|moe 3 > > What is the correct SQL to produce the desired result? TIA > Jim Hale > > *********************************************************************** > The information transmitted is intended solely for the individual or entity > to which it is addressed and may contain confidential and/or privileged > material. Any review, retransmission, dissemination or other use of or > taking action in reliance upon this information by persons or entities other > than the intended recipient is prohibited. If you have received this email > in error please contact the sender and delete the material from any > computer. As a recipient of this email, you are responsible for screening > its contents and the contents of any attachments for the presence of > viruses. No liability is accepted for any damages caused by any virus > transmitted by this email. > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com From Jim.Hale at FleetPride.com Wed Aug 24 13:16:09 2005 From: Jim.Hale at FleetPride.com (Hale, Jim) Date: Wed, 24 Aug 2005 13:16:09 -0500 Subject: FW: [AccessD] SQL to count delimiters in a string Message-ID: <6A6AA9DF57E4F046BDA1E273BDDB67723377B3@corp-es01.fleetpride.com> This looks interesting. I'll give it a try, thanks Jim Hale -----Original Message----- From: catchrest at denverdb.com [mailto:catchrest at denverdb.com] Sent: Wednesday, August 24, 2005 11:25 AM To: Jim.Hale at fleetpride.com Subject: Re: [AccessD] SQL to count delimiters in a string Jim, Please feel free to post this to the group, my webmail does not work with the proper Reply To Settings. This SQl will get you what you want, I would convert it to a Function, but here's the code: DECLARE @str VarChar(500) DECLARE @x INT DECLARE @Count INT SET @str = 'st|ddd|ww|ex 3 fff|sss 1 eenie|meenie|minie|moe 3' SET @x = CharIndex('|', @str, 1) SET @Count = 0 WHILE @x <> 0 BEGIN SET @Count = @Count + 1 SET @str = SubString(@str, @x + 1, 500) SET @x = CharIndex('|', @str) END PRINT @Count -- Chris Mackin > > Assume I have a text field in a table. Further assume > that the text strings > are delimited by the pipe chara > cter "|". I want to know how many pipe > characters occ > ur in each field, ie. the select statement should retu > rn: > > fldText Occurrences > te > st|ddd|ww|ex 3 > fff|sss > 1 > eenie|meenie|minie|moe 3 > > What is > the correct SQL to produce the desired result? TIA > Ji > m Hale > > ******************************************** > *************************** > The information transmitt > ed is intended solely for the individual or > entity to > which it is addressed and may contain confidential an > d/or > privileged material. Any review, retransmission, > dissemination or > other use of or taking action in re > liance upon this information by > persons or entities o > ther than the intended recipient is prohibited. > If yo > u have received this email in error please contact the > sender and > delete the material from any computer. As > a recipient of this email, > you are responsible for s > creening its contents and the contents of any > attachm > ents for the presence of viruses. No liability is acce > pted for > any damages caused by any virus transmitted > by this email. > > > > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > > ______________________________________ This E-Mail was sent with MailMax/WEB. http://www.smartmax.com *********************************************************************** The information transmitted is intended solely for the individual or entity to which it is addressed and may contain confidential and/or privileged material. Any review, retransmission, dissemination or other use of or taking action in reliance upon this information by persons or entities other than the intended recipient is prohibited. If you have received this email in error please contact the sender and delete the material from any computer. As a recipient of this email, you are responsible for screening its contents and the contents of any attachments for the presence of viruses. No liability is accepted for any damages caused by any virus transmitted by this email. From DElam at jenkens.com Wed Aug 24 13:20:07 2005 From: DElam at jenkens.com (Elam, Debbie) Date: Wed, 24 Aug 2005 13:20:07 -0500 Subject: [AccessD] Logic issue Message-ID: <7B1961ED924D1A459E378C9B1BB22B4C0492CCD9@natexch.jenkens.com> Hmm, to get a smaller list you may need to have a field in person with their "default" role. As long as you allow for getting a larger list, this could work nicely. Debbie -----Original Message----- From: John Clark [mailto:John.Clark at niagaracounty.com] Sent: Wednesday, August 24, 2005 1:13 PM To: accessd at databaseadvisors.com Subject: RE: [AccessD] Logic issue It isn't really based on trials though. It is based on indictment numbers, and these may or may not go to court...a defendant could plea out before it hits trial, or charges could be dropped. I think we are on the same page though, except it seems like you would pull all from this table, which I would too, but I want to filter it for certain lists (i.e. I don't want a thousand names showing up when I want to basically choose from three judges). I don't mind including all names when adding defendants, because it is probably necessary. >>> DElam at jenkens.com 8/24/2005 1:47 PM >>> I would actually have a table of people that includes everyone. Second, a table of trials. Link those two with a third table that has the trialID, personID and an ID indicating what role they had in the trial. Given the cross connections and likely possibility of multiple people in one role for a trial, this is the only scalable solution. Debbie -----Original Message----- From: John Clark [mailto:John.Clark at niagaracounty.com] Sent: Wednesday, August 24, 2005 12:36 PM To: accessd at databaseadvisors.com Subject: [AccessD] Logic issue Hi all I am having trouble working out how I want to go about something, and I am hoping somebody here can give me a nudge. It doesn't sound difficult, but I'm running into dead-ends. I am starting to think that I will just have to go ahead and finish up with "whatever" and work around things. I am doing a project for a district attorney's office, and it will basically just keep tabs on everybody that passes through the system. The problem is though that there are "Defendants", defense lawyers, prosecuting lawyers, judges, and victims, and it isn't rare for a single person to cross into multiple lists. And, theoretically, it is possible to be in all lists. For instance there are many prosecuting lawyers that become defense attorneys, and it is not unlikely that one of these attorneys could be a judge in the future. That scenario is very possible, and you can add it that a lawyer is very able to be a victim, and hell, we all know they can be criminals ;) Another scenario that happens very frequently, is that a person is both a defendant and a victim. I don't want the person entering data to scroll through hundreds, and eventually thousands, of names to pick an attorney's name from among the list of everybody else in the system. The idea I am working on presently is to add logical fields for each designation to the table of names. For instances: kNameID txtLastName txtFirstName txtMI txtSuffix logAttorney logADA logJudge logVictim logDefendant If I do this, I will have removed some fields that are currently there, such as: txtAddress1 txtAddress2 txtCity txtSt txtZip txtPhone And, I will put these in another linked table. There may be a need to have multiple addresses for the defendants, so this would be best I think. The problem that I am foreseeing here...I'm not at that point, so my fears could be unfounded...is setting these fields to true and/or false, as needed. Basically, thinking of victims for a minute here, the defendant screen, which will actually be an "Indictment" screen, will have a subform to hold potentially many victims for the indictment. If a victim IS already in the system as something else, I will need to tag that name as a victim and I'm wondering if this will present difficulties. Well, I hope I am being clear enough. If anyone out there has any tips for me, I would greatly appreciate it if you would pass them along. Thank you! John W Clark -- 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 -- 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 DWUTKA at marlow.com Wed Aug 24 13:15:37 2005 From: DWUTKA at marlow.com (DWUTKA at marlow.com) Date: Wed, 24 Aug 2005 13:15:37 -0500 Subject: [AccessD] Logic issue Message-ID: <123701F54509D9119A4F00D0B747349016DE55@main2.marlow.com> I think you need to have a 'people' table. Whether a person is a judge, lawyer, defendant should be determined by relationships to the tables relating to those designations. Drew -----Original Message----- From: John Clark [mailto:John.Clark at niagaracounty.com] Sent: Wednesday, August 24, 2005 12:36 PM To: accessd at databaseadvisors.com Subject: [AccessD] Logic issue Hi all I am having trouble working out how I want to go about something, and I am hoping somebody here can give me a nudge. It doesn't sound difficult, but I'm running into dead-ends. I am starting to think that I will just have to go ahead and finish up with "whatever" and work around things. I am doing a project for a district attorney's office, and it will basically just keep tabs on everybody that passes through the system. The problem is though that there are "Defendants", defense lawyers, prosecuting lawyers, judges, and victims, and it isn't rare for a single person to cross into multiple lists. And, theoretically, it is possible to be in all lists. For instance there are many prosecuting lawyers that become defense attorneys, and it is not unlikely that one of these attorneys could be a judge in the future. That scenario is very possible, and you can add it that a lawyer is very able to be a victim, and hell, we all know they can be criminals ;) Another scenario that happens very frequently, is that a person is both a defendant and a victim. I don't want the person entering data to scroll through hundreds, and eventually thousands, of names to pick an attorney's name from among the list of everybody else in the system. The idea I am working on presently is to add logical fields for each designation to the table of names. For instances: kNameID txtLastName txtFirstName txtMI txtSuffix logAttorney logADA logJudge logVictim logDefendant If I do this, I will have removed some fields that are currently there, such as: txtAddress1 txtAddress2 txtCity txtSt txtZip txtPhone And, I will put these in another linked table. There may be a need to have multiple addresses for the defendants, so this would be best I think. The problem that I am foreseeing here...I'm not at that point, so my fears could be unfounded...is setting these fields to true and/or false, as needed. Basically, thinking of victims for a minute here, the defendant screen, which will actually be an "Indictment" screen, will have a subform to hold potentially many victims for the indictment. If a victim IS already in the system as something else, I will need to tag that name as a victim and I'm wondering if this will present difficulties. Well, I hope I am being clear enough. If anyone out there has any tips for me, I would greatly appreciate it if you would pass them along. Thank you! John W Clark -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From John.Clark at niagaracounty.com Wed Aug 24 13:50:23 2005 From: John.Clark at niagaracounty.com (John Clark) Date: Wed, 24 Aug 2005 14:50:23 -0400 Subject: [AccessD] Logic issue Message-ID: Well, I don't know if they so much need a "default" role. I've got to enter the name in at some point, and I guess at that time they could get their initial designation...maybe even automatically, dependant on where I call it from. Since writing my initial "cry for help," I've been experimenting with a "names" table (close to a person table Drew) that has the fields I mentioned. I then made a query for each logical field, which I would probably make a single sql statement for if I go this way, to test it out. It works pretty well and gives me proper results. Now I've just got to experiment w/getting data in...believe it or not I don't use recordsets very much and I think that is what I'll need to do here. I've gotta leave here soon for the night and take my kids to music lessons, but I'll be hitting it again tomorrow AM. >>> DElam at jenkens.com 8/24/2005 2:20 PM >>> Hmm, to get a smaller list you may need to have a field in person with their "default" role. As long as you allow for getting a larger list, this could work nicely. Debbie -----Original Message----- From: John Clark [mailto:John.Clark at niagaracounty.com] Sent: Wednesday, August 24, 2005 1:13 PM To: accessd at databaseadvisors.com Subject: RE: [AccessD] Logic issue It isn't really based on trials though. It is based on indictment numbers, and these may or may not go to court...a defendant could plea out before it hits trial, or charges could be dropped. I think we are on the same page though, except it seems like you would pull all from this table, which I would too, but I want to filter it for certain lists (i.e. I don't want a thousand names showing up when I want to basically choose from three judges). I don't mind including all names when adding defendants, because it is probably necessary. >>> DElam at jenkens.com 8/24/2005 1:47 PM >>> I would actually have a table of people that includes everyone. Second, a table of trials. Link those two with a third table that has the trialID, personID and an ID indicating what role they had in the trial. Given the cross connections and likely possibility of multiple people in one role for a trial, this is the only scalable solution. Debbie -----Original Message----- From: John Clark [mailto:John.Clark at niagaracounty.com] Sent: Wednesday, August 24, 2005 12:36 PM To: accessd at databaseadvisors.com Subject: [AccessD] Logic issue Hi all I am having trouble working out how I want to go about something, and I am hoping somebody here can give me a nudge. It doesn't sound difficult, but I'm running into dead-ends. I am starting to think that I will just have to go ahead and finish up with "whatever" and work around things. I am doing a project for a district attorney's office, and it will basically just keep tabs on everybody that passes through the system. The problem is though that there are "Defendants", defense lawyers, prosecuting lawyers, judges, and victims, and it isn't rare for a single person to cross into multiple lists. And, theoretically, it is possible to be in all lists. For instance there are many prosecuting lawyers that become defense attorneys, and it is not unlikely that one of these attorneys could be a judge in the future. That scenario is very possible, and you can add it that a lawyer is very able to be a victim, and hell, we all know they can be criminals ;) Another scenario that happens very frequently, is that a person is both a defendant and a victim. I don't want the person entering data to scroll through hundreds, and eventually thousands, of names to pick an attorney's name from among the list of everybody else in the system. The idea I am working on presently is to add logical fields for each designation to the table of names. For instances: kNameID txtLastName txtFirstName txtMI txtSuffix logAttorney logADA logJudge logVictim logDefendant If I do this, I will have removed some fields that are currently there, such as: txtAddress1 txtAddress2 txtCity txtSt txtZip txtPhone And, I will put these in another linked table. There may be a need to have multiple addresses for the defendants, so this would be best I think. The problem that I am foreseeing here...I'm not at that point, so my fears could be unfounded...is setting these fields to true and/or false, as needed. Basically, thinking of victims for a minute here, the defendant screen, which will actually be an "Indictment" screen, will have a subform to hold potentially many victims for the indictment. If a victim IS already in the system as something else, I will need to tag that name as a victim and I'm wondering if this will present difficulties. Well, I hope I am being clear enough. If anyone out there has any tips for me, I would greatly appreciate it if you would pass them along. Thank you! John W Clark -- 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 -- 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 From cfoust at infostatsystems.com Wed Aug 24 15:00:41 2005 From: cfoust at infostatsystems.com (Charlotte Foust) Date: Wed, 24 Aug 2005 13:00:41 -0700 Subject: [AccessD] Logic issue Message-ID: An associative table is also called a join table. It contains one record for each combination of keys that occurs in a many to many relationship. So if you have a tblPeople and a tblIndictments, you could have a tblPeopleIndictments that would contain a record for each occuring people-indictment combination. Charlotte Foust -----Original Message----- From: John Clark [mailto:John.Clark at niagaracounty.com] Sent: Wednesday, August 24, 2005 11:03 AM To: accessd at databaseadvisors.com Subject: RE: [AccessD] Logic issue I'm not sure what you mean >>> prosoft6 at hotmail.com 8/24/2005 1:51 PM >>> John, Have you thought about using an associative table, where the many to many problems are conquered? What does the rest of the list think about associative tables? Julie Reardon-Taylor PRO-SOFT OF NY, INC. 44 Public Square Suite #5 Watertown, NY 13601 Phone/Fax: (315) 785-0319 www.pro-soft.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 dejpolsys at hotmail.com Wed Aug 24 15:31:39 2005 From: dejpolsys at hotmail.com (William Hindman) Date: Wed, 24 Aug 2005 16:31:39 -0400 Subject: [AccessD] Logic issue References: Message-ID: ..list filters ...your opening form becomes a text box and a list to select from ...you open the form with no recordset ...you user types the first two characters of the last name in the text box ...the change event capture the 2nd letter entry, appends an asterisk to it and requeries the list box using the XX* as your SQL recordset filter ...as the list box fills the user can either select from it to open a new form using opening arguments ...or they can continue adding letters to the text box and the list box requeries each time with a shorter and shorter list to select from. ..I use this approach in most of my mdbs where there are thousands of names to select from but I don't want to pull them all across the network. ..it sounds complicated but once setup, it works like a charm ...I usually place an option group at the top that defaults to what people are commonly looking for but allows them to filter on other sets if needed. ..the table design ...normalization says if its not unique it belongs in a separate table ...we all try but fall short ...but if the focus of the mdb is indictments then you start there ...and you keep it simple ...an INDICTID AN and a type field ...then the entity table ...not names or people because companies and orgs get charged as well as people ...so an ENTID AN and a type ...individual or company or organization, etc. and any other fields that would be unique ...and then an address table, and a "role" type table. ..then you create a join table with the INDICTID and ENTID and add a role type ID and start and end dates. ..the join table weds the Indictment with the Entity and the role they played in the indictment process with dates ...thus if an Entity changes roles during the indictment process, you can capture the change and display it in a tabbed subform without a lot of hassle. ..this is off the top of my head of course but I've built more than a few on that basic structure ...hth :) William ----- Original Message ----- From: "John Clark" To: Sent: Wednesday, August 24, 2005 2:12 PM Subject: RE: [AccessD] Logic issue > It isn't really based on trials though. It is based on indictment > numbers, and these may or may not go to court...a defendant could plea > out before it hits trial, or charges could be dropped. I think we are on > the same page though, except it seems like you would pull all from this > table, which I would too, but I want to filter it for certain lists > (i.e. I don't want a thousand names showing up when I want to basically > choose from three judges). I don't mind including all names when adding > defendants, because it is probably necessary. > >>>> DElam at jenkens.com 8/24/2005 1:47 PM >>> > I would actually have a table of people that includes everyone. > Second, a > table of trials. Link those two with a third table that has the > trialID, > personID and an ID indicating what role they had in the trial. Given > the > cross connections and likely possibility of multiple people in one role > for > a trial, this is the only scalable solution. > > Debbie > > -----Original Message----- > From: John Clark [mailto:John.Clark at niagaracounty.com] > Sent: Wednesday, August 24, 2005 12:36 PM > To: accessd at databaseadvisors.com > Subject: [AccessD] Logic issue > > > Hi all > > I am having trouble working out how I want to go about something, and > I > am hoping somebody here can give me a nudge. It doesn't sound > difficult, > but I'm running into dead-ends. I am starting to think that I will > just > have to go ahead and finish up with "whatever" and work around things. > > I am doing a project for a district attorney's office, and it will > basically just keep tabs on everybody that passes through the system. > The problem is though that there are "Defendants", defense lawyers, > prosecuting lawyers, judges, and victims, and it isn't rare for a > single > person to cross into multiple lists. And, theoretically, it is > possible > to be in all lists. For instance there are many prosecuting lawyers > that > become defense attorneys, and it is not unlikely that one of these > attorneys could be a judge in the future. That scenario is very > possible, and you can add it that a lawyer is very able to be a > victim, > and hell, we all know they can be criminals ;) Another scenario that > happens very frequently, is that a person is both a defendant and a > victim. > > I don't want the person entering data to scroll through hundreds, and > eventually thousands, of names to pick an attorney's name from among > the > list of everybody else in the system. > > The idea I am working on presently is to add logical fields for each > designation to the table of names. For instances: > > kNameID > txtLastName > txtFirstName > txtMI > txtSuffix > logAttorney > logADA > logJudge > logVictim > logDefendant > > If I do this, I will have removed some fields that are currently > there, > such as: > > txtAddress1 > txtAddress2 > txtCity > txtSt > txtZip > txtPhone > > And, I will put these in another linked table. There may be a need to > have multiple addresses for the defendants, so this would be best I > think. > > The problem that I am foreseeing here...I'm not at that point, so my > fears could be unfounded...is setting these fields to true and/or > false, > as needed. Basically, thinking of victims for a minute here, the > defendant screen, which will actually be an "Indictment" screen, will > have a subform to hold potentially many victims for the indictment. If > a > victim IS already in the system as something else, I will need to tag > that name as a victim and I'm wondering if this will present > difficulties. > > Well, I hope I am being clear enough. If anyone out there has any tips > for me, I would greatly appreciate it if you would pass them along. > > Thank you! > > John W Clark > -- > 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 > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > From Chester_Kaup at kindermorgan.com Wed Aug 24 15:36:22 2005 From: Chester_Kaup at kindermorgan.com (Kaup, Chester) Date: Wed, 24 Aug 2005 15:36:22 -0500 Subject: [AccessD] Do While Loop Problem Message-ID: The following code generates a no current record error on the do while line. I thought it should exit the do loop when EOF = false was reached. Thanks. Do While myds.Fields(2) < myds5.Fields(2) Or myds.EOF = True 'some lines of code myds.MoveNext Loop Chester Kaup Engineering Technician Kinder Morgan CO2 Company, LLP Office (432) 688-3797 FAX (432) 688-3799 No trees were killed in the sending of this message. However a large number of electrons were terribly inconvenienced. From cfoust at infostatsystems.com Wed Aug 24 15:48:55 2005 From: cfoust at infostatsystems.com (Charlotte Foust) Date: Wed, 24 Aug 2005 13:48:55 -0700 Subject: [AccessD] Do While Loop Problem Message-ID: The problem is that it tries to evalute the first conditon before it checks for EOF. Try this instead: Do While myds.EOF = false If myds.Fields(2) < myds5.Fields(2) Then 'some lines of code End If myds.MoveNext Loop Charlotte -----Original Message----- From: Kaup, Chester [mailto:Chester_Kaup at kindermorgan.com] Sent: Wednesday, August 24, 2005 1:36 PM To: Access Developers discussion and problem solving Subject: [AccessD] Do While Loop Problem The following code generates a no current record error on the do while line. I thought it should exit the do loop when EOF = false was reached. Thanks. Do While myds.Fields(2) < myds5.Fields(2) Or myds.EOF = True 'some lines of code myds.MoveNext Loop Chester Kaup Engineering Technician Kinder Morgan CO2 Company, LLP Office (432) 688-3797 FAX (432) 688-3799 No trees were killed in the sending of this message. However a large number of electrons were terribly inconvenienced. -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From Lambert.Heenan at AIG.com Wed Aug 24 15:49:33 2005 From: Lambert.Heenan at AIG.com (Heenan, Lambert) Date: Wed, 24 Aug 2005 16:49:33 -0400 Subject: [AccessD] Do While Loop Problem Message-ID: <1D7828CDB8350747AFE9D69E0E90DA1F14EA4034@xlivmbx21.aig.com> When you hit EOF the expression myds.Fields(2) cannot be evaluated. You need two distinct tests... Do While Not myds.EOF If myds.Fields(2) < myds5.Fields(2) 'some lines of code End If myds.MoveNext Loop Now if access had 'short circuit' conditional testing you could have written... Do While Not myds.EOF And myds.Fields(2) < myds5.Fields(2) ...which would have exited the loop when the EOF condition failed, and before the other test was done. But alas you can't. Access does checks all the conditions, even if the first one would terminate the loop. Lambert -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Kaup, Chester Sent: Wednesday, August 24, 2005 4:36 PM To: Access Developers discussion and problem solving Subject: [AccessD] Do While Loop Problem The following code generates a no current record error on the do while line. I thought it should exit the do loop when EOF = false was reached. Thanks. Do While myds.Fields(2) < myds5.Fields(2) Or myds.EOF = True 'some lines of code myds.MoveNext Loop Chester Kaup Engineering Technician Kinder Morgan CO2 Company, LLP Office (432) 688-3797 FAX (432) 688-3799 No trees were killed in the sending of this message. However a large number of electrons were terribly inconvenienced. -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From pharold at proftesting.com Wed Aug 24 15:53:02 2005 From: pharold at proftesting.com (Perry L Harold) Date: Wed, 24 Aug 2005 16:53:02 -0400 Subject: [AccessD] Do While Loop Problem Message-ID: <00F5FCB4F80FDB4EB03FBAAEAD97CEAD0A955D@EXCHANGE.ptiorl.local> If myds.eof = true can't movenext ? Perry Harold -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Kaup, Chester Sent: Wednesday, August 24, 2005 4:36 PM To: Access Developers discussion and problem solving Subject: [AccessD] Do While Loop Problem The following code generates a no current record error on the do while line. I thought it should exit the do loop when EOF = false was reached. Thanks. Do While myds.Fields(2) < myds5.Fields(2) Or myds.EOF = True 'some lines of code myds.MoveNext Loop Chester Kaup Engineering Technician Kinder Morgan CO2 Company, LLP Office (432) 688-3797 FAX (432) 688-3799 No trees were killed in the sending of this message. However a large number of electrons were terribly inconvenienced. -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From frank at fhsservices.co.uk Wed Aug 24 16:21:59 2005 From: frank at fhsservices.co.uk (Frank Hill) Date: Wed, 24 Aug 2005 22:21:59 +0100 Subject: [AccessD] Logic issue In-Reply-To: Message-ID: <20050824212808.97DB113C6BD@smtp-node1.griffin.com> Here's a different solution! If you have a checkbox for each title or position that can be applicable to each person represented through the database then, on the client form of any of people the list the checkboxes will indicate positives for the applicable option. So, Jack Jones can have the boxes ticked for Defence attorney, prosecuting attorney, Judge etc. etc. The final checkbox (no 9 on my sample) can be set to "Other" and have an associated textbox in the table which will only be displayed it no 9 is ticked and the text will be entered into the open, blank textbox for storage and later retrieval. The trick here is to combine the bit value of each checkbox to obtain a unique value for the combination of boxes ticked. I have a small database of the principle as a working example which I can forward to anybody who would like to see it. The AccessD list is limited to a 30K unit size and will not allow me to attach the sample to this text Kind regards, Frank Hill Kind regards, Frank Hill -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of John Clark Sent: 24 August 2005 18:36 To: accessd at databaseadvisors.com Subject: [AccessD] Logic issue Hi all I am having trouble working out how I want to go about something, and I am hoping somebody here can give me a nudge. It doesn't sound difficult, but I'm running into dead-ends. I am starting to think that I will just have to go ahead and finish up with "whatever" and work around things. I am doing a project for a district attorney's office, and it will basically just keep tabs on everybody that passes through the system. The problem is though that there are "Defendants", defense lawyers, prosecuting lawyers, judges, and victims, and it isn't rare for a single person to cross into multiple lists. And, theoretically, it is possible to be in all lists. For instance there are many prosecuting lawyers that become defense attorneys, and it is not unlikely that one of these attorneys could be a judge in the future. That scenario is very possible, and you can add it that a lawyer is very able to be a victim, and hell, we all know they can be criminals ;) Another scenario that happens very frequently, is that a person is both a defendant and a victim. I don't want the person entering data to scroll through hundreds, and eventually thousands, of names to pick an attorney's name from among the list of everybody else in the system. The idea I am working on presently is to add logical fields for each designation to the table of names. For instances: kNameID txtLastName txtFirstName txtMI txtSuffix logAttorney logADA logJudge logVictim logDefendant If I do this, I will have removed some fields that are currently there, such as: txtAddress1 txtAddress2 txtCity txtSt txtZip txtPhone And, I will put these in another linked table. There may be a need to have multiple addresses for the defendants, so this would be best I think. The problem that I am foreseeing here...I'm not at that point, so my fears could be unfounded...is setting these fields to true and/or false, as needed. Basically, thinking of victims for a minute here, the defendant screen, which will actually be an "Indictment" screen, will have a subform to hold potentially many victims for the indictment. If a victim IS already in the system as something else, I will need to tag that name as a victim and I'm wondering if this will present difficulties. Well, I hope I am being clear enough. If anyone out there has any tips for me, I would greatly appreciate it if you would pass them along. Thank you! John W Clark -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From jwcolby at colbyconsulting.com Wed Aug 24 16:29:36 2005 From: jwcolby at colbyconsulting.com (John W. Colby) Date: Wed, 24 Aug 2005 17:29:36 -0400 Subject: [AccessD] Control codes to a printer Message-ID: <014701c5a8f2$ed496790$6c7aa8c0@ColbyM6805> I need to send a series of hex characters to an Epson receipt printer to execute the cutting. Hex characters are 1d 56 42 20 The printer is TCP/IP so I have an IP address stored in a table and hidden in a form that is open when the print command is executed. This is a Win98 environment. Does anyone already have something similar. John W. Colby www.ColbyConsulting.com Contribute your unused CPU cycles to a good cause: http://folding.stanford.edu/ From Chester_Kaup at kindermorgan.com Wed Aug 24 16:30:30 2005 From: Chester_Kaup at kindermorgan.com (Kaup, Chester) Date: Wed, 24 Aug 2005 16:30:30 -0500 Subject: [AccessD] Do While Loop Problem Message-ID: Thanks all! -----Original Message----- From: Heenan, Lambert [mailto:Lambert.Heenan at AIG.com] Sent: Wednesday, August 24, 2005 3:50 PM To: 'Access Developers discussion and problem solving' Cc: Kaup, Chester Subject: RE: [AccessD] Do While Loop Problem When you hit EOF the expression myds.Fields(2) cannot be evaluated. You need two distinct tests... Do While Not myds.EOF If myds.Fields(2) < myds5.Fields(2) 'some lines of code End If myds.MoveNext Loop Now if access had 'short circuit' conditional testing you could have written... Do While Not myds.EOF And myds.Fields(2) < myds5.Fields(2) ...which would have exited the loop when the EOF condition failed, and before the other test was done. But alas you can't. Access does checks all the conditions, even if the first one would terminate the loop. Lambert -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Kaup, Chester Sent: Wednesday, August 24, 2005 4:36 PM To: Access Developers discussion and problem solving Subject: [AccessD] Do While Loop Problem The following code generates a no current record error on the do while line. I thought it should exit the do loop when EOF = false was reached. Thanks. Do While myds.Fields(2) < myds5.Fields(2) Or myds.EOF = True 'some lines of code myds.MoveNext Loop Chester Kaup Engineering Technician Kinder Morgan CO2 Company, LLP Office (432) 688-3797 FAX (432) 688-3799 No trees were killed in the sending of this message. However a large number of electrons were terribly inconvenienced. -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From martyconnelly at shaw.ca Wed Aug 24 12:16:52 2005 From: martyconnelly at shaw.ca (MartyConnelly) Date: Wed, 24 Aug 2005 10:16:52 -0700 Subject: [AccessD] Change of circumstances References: <61F915314798D311A2F800A0C9C8318807225F12@dibble.observatory.donnslaw.co.uk> Message-ID: <430CAB84.2020505@shaw.ca> One thing to check out is the split day's type of jobs, especially in the civil service In other words you get a partner and one works 2 days, the other 3 days. My sisterinlaw did this in her government department in Alberta so people could attend university. during the day. She is in charge of HR. Wouldn't work for engineers they have 40 class hours a week, but arts generally have less then 20 hours. Now she is getting request from women with autistic kids etc. She calls the programmers doing this extreme programmers with some lag. The participants set up there own internal blog to keep track of what is happening. Roz Clarke wrote: >Well remembered John, I will do > >:) > >-----Original Message----- >From: Johncliviger at aol.com [mailto:Johncliviger at aol.com] >Sent: 24 August 2005 12:24 >To: accessd at databaseadvisors.com >Subject: Re: [AccessD] Change of circumstances > > >Roz > >I think your are in the Manchester, England area, if I'm right email me a >cv >at _databaseuk at aol.com_ (mailto:databaseuk at aol.com) > >John > > > > > > -- Marty Connelly Victoria, B.C. Canada From stuart at lexacorp.com.pg Wed Aug 24 19:46:18 2005 From: stuart at lexacorp.com.pg (Stuart McLachlan) Date: Thu, 25 Aug 2005 10:46:18 +1000 Subject: [AccessD] Control codes to a printer In-Reply-To: <014701c5a8f2$ed496790$6c7aa8c0@ColbyM6805> Message-ID: <430DA17A.277.2AB9E68@stuart.lexacorp.com.pg> On 24 Aug 2005 at 17:29, John W. Colby wrote: > I need to send a series of hex characters to an Epson receipt printer to > execute the cutting. Hex characters are 1d 56 42 20 The printer is TCP/IP > so I have an IP address stored in a table and hidden in a form that is open > when the print command is executed. This is a Win98 environment. Does > anyone already have something similar. > What happens if you open the port and print to it, something like: OPEN "IP:010.010.010.010" FOR OUTPUT AS #1 PRINT #1, CHR$(&H1D);CHR$(&H56),CHR$(&H42);CHR$(&H20) CLOSE #1 -- Stuart From jwcolby at colbyconsulting.com Wed Aug 24 22:23:01 2005 From: jwcolby at colbyconsulting.com (John W. Colby) Date: Wed, 24 Aug 2005 23:23:01 -0400 Subject: [AccessD] Building SQL statement Message-ID: <015101c5a924$4f937db0$6c7aa8c0@ColbyM6805> I'm attempting to build a SQL statement to append data into a record. One of the fields is text, including (possibly) any valid text including ' - for example in contractions such as "aren't" etc. My SQL statement is building up a statement in the format: lstrSQL = "INSERT INTO WebNewsItem ( WebNewsSourceID, Link, Title, ArticleDescription ) " & _ "SELECT " & webNewsSourceID & " AS WebNewsSourceID, '" & link & "' AS Link, '" & title & "' AS Title, '" & description & "' AS ArticleDescription;" The problem is that description can contain the ' character and thus I end up with an invalid SQL statement since the ' embedded in description "looks like" the ' that is supposed to enclose the text. I can't for the life of me remember how I am supposed to handle this. I could punt and open a recordset, create a new record, and place the data directly into the field, which I may end up doing but I sure would prefer to just do the "append query" thing. It is (was) much simpler. John W. Colby www.ColbyConsulting.com Contribute your unused CPU cycles to a good cause: http://folding.stanford.edu/ From stuart at lexacorp.com.pg Wed Aug 24 22:30:07 2005 From: stuart at lexacorp.com.pg (Stuart McLachlan) Date: Thu, 25 Aug 2005 13:30:07 +1000 Subject: [AccessD] Building SQL statement In-Reply-To: <015101c5a924$4f937db0$6c7aa8c0@ColbyM6805> Message-ID: <430DC7DF.564.341991F@stuart.lexacorp.com.pg> On 24 Aug 2005 at 23:23, John W. Colby wrote: > > The problem is that description can contain the ' character and thus I end > up with an invalid SQL statement since the ' embedded in description "looks > like" the ' that is supposed to enclose the text. > > I can't for the life of me remember how I am supposed to handle this. > Description = Replace(Description,"'","''") That's a single quote between double quotes as the second parameter and two single quotes between double quotes as the third parameter. Double up the single quote "escapes" it in the input string -- Stuart From jwcolby at colbyconsulting.com Wed Aug 24 22:43:23 2005 From: jwcolby at colbyconsulting.com (John W. Colby) Date: Wed, 24 Aug 2005 23:43:23 -0400 Subject: [AccessD] Building SQL statement In-Reply-To: <430DC7DF.564.341991F@stuart.lexacorp.com.pg> Message-ID: <015201c5a927$2960de00$6c7aa8c0@ColbyM6805> So I have to search the input string looking for all single quote ' characters and replace it with two single quote characters ''? I was afraid of that. John W. Colby www.ColbyConsulting.com Contribute your unused CPU cycles to a good cause: http://folding.stanford.edu/ -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Stuart McLachlan Sent: Wednesday, August 24, 2005 11:30 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Building SQL statement On 24 Aug 2005 at 23:23, John W. Colby wrote: > > The problem is that description can contain the ' character and thus I > end up with an invalid SQL statement since the ' embedded in > description "looks like" the ' that is supposed to enclose the text. > > I can't for the life of me remember how I am supposed to handle this. > Description = Replace(Description,"'","''") That's a single quote between double quotes as the second parameter and two single quotes between double quotes as the third parameter. Double up the single quote "escapes" it in the input string -- Stuart -- 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 Aug 25 00:13:14 2005 From: stuart at lexacorp.com.pg (Stuart McLachlan) Date: Thu, 25 Aug 2005 15:13:14 +1000 Subject: [AccessD] Building SQL statement In-Reply-To: <015201c5a927$2960de00$6c7aa8c0@ColbyM6805> References: <430DC7DF.564.341991F@stuart.lexacorp.com.pg> Message-ID: <430DE00A.690.39FFEF4@stuart.lexacorp.com.pg> On 24 Aug 2005 at 23:43, John W. Colby wrote: > So I have to search the input string looking for all single quote ' > characters and replace it with two single quote characters ''? I was afraid > of that. > No, you don't have to look for them all. Just use the Replace() function on every string as a precaution. -- Stuart From martyconnelly at shaw.ca Thu Aug 25 02:03:22 2005 From: martyconnelly at shaw.ca (MartyConnelly) Date: Thu, 25 Aug 2005 00:03:22 -0700 Subject: [AccessD] MDE question References: <000001c5a3b0$dfc37f30$6401a8c0@laptop1> <4305159C.15609.389644@stuart.lexacorp.com.pg> Message-ID: <430D6D3A.6000000@shaw.ca> This might be a bit of help http://accesstools.narod.ru/index.html MDE forms/reports extractor v2.1 MS Access 2000 add-in This utility is designed to allow you to extract the forms, reports and macros from mde file to mdb (without the form/report class module code). In other word just the form, report design no code behind forms Stuart McLachlan wrote: >On 18 Aug 2005 at 8:44, John W. Colby wrote: > > > > >>CONTAINER: If your users use A97, A2K, AXP and A2003, it should be possible >>to build the mde in and A97 container and all of these versions should be >>able to open the thing and use it. >> >> > >No! Definitely not. A2K/XP can't open an A97 MDE. If you try, will be >asked whether you want to open or convert it, but which ever option you >choose, you will then get a msgbox saying "You can't convert or enable an >MDE file." You can link to it or import the tables and queries from it but >you can't open or run it. > >I'm running into this frequently at present. I'm upgrading all the inhouse >applications for a group of companies. Many of these were created by >dabblers and they are a real mess. Unfortunately some of them are only >available as MDEs and they are totally unconvertible. Best I can do is >extract the data and recreate the functionality in a new FE. > > > > > > -- Marty Connelly Victoria, B.C. Canada From fhtapia at gmail.com Thu Aug 25 02:40:53 2005 From: fhtapia at gmail.com (Francisco Tapia) Date: Thu, 25 Aug 2005 00:40:53 -0700 Subject: [AccessD] MDE question In-Reply-To: References: <4304B2E3.16275.1A65F03@stuart.lexacorp.com.pg> Message-ID: another method for distribution and not worrying about what version your user have is to deploy your mde with a runtime. This way you can ensure that your db will work fine. W/ the latest sagekey scripts (wise installer). it is possible to deploy a runtime A) doesn't need the digital certificate and B) it keeps context menus for importing and exporting data for merging w/ excel/word. of course there's the added benefit w/ sage that you won't have to worry about a user haveing their install conflict w/ an existing Access version on the users machine. On 8/18/05, Joe Hecht wrote: > > So I should write in XP and then port up to 2K3. > Ten user would need to select proper version for their system. > > Or start in 2K3 and go down to XP. > > I would have 2 mde files of same app. > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Stuart > McLachlan > Sent: Wednesday, August 17, 2005 11:10 PM > To: Access Developers discussion and problem solving > Subject: Re: [AccessD] MDE question > > On 17 Aug 2005 at 21:53, Joe Hecht wrote: > > > If I do an app in Access 2K3 and make an .mde out if it will older > versions > > of Access be able to use it? > > > > No, and future versions probably won't be able to either - at least that's > been the case up to now. > > > > > -- > Stuart > > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > -- -Francisco http://pcthis.blogspot.com |PC news with out the jargon! http://sqlthis.blogspot.com | Tsql and More... From roz.clarke at donnslaw.co.uk Thu Aug 25 03:37:01 2005 From: roz.clarke at donnslaw.co.uk (Roz Clarke) Date: Thu, 25 Aug 2005 09:37:01 +0100 Subject: [AccessD] test Message-ID: <61F915314798D311A2F800A0C9C8318807225F26@dibble.observatory.donnslaw.co.uk> The working title is "The Boa Constrictor" No more on that 'til Friday :D -----Original Message----- From: Jim Lawrence [mailto:accessd at shaw.ca] Sent: 24 August 2005 18:20 To: 'Access Developers discussion and problem solving' Subject: RE: [AccessD] test Hi Roz: Check, your company they might have started removing a 'past' employee from the email accounts a tad early. :-) Jim PS Great move; so what is the working title of new book? -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Roz Clarke Sent: Wednesday, August 24, 2005 6:33 AM To: 'Access Developers discussion and problem solving' Subject: RE: [AccessD] test Still didn't get my own email - and I have checked my list settings - but it could be something at this end. -----Original Message----- From: John Bartow [mailto:john at winhaven.net] Sent: 24 August 2005 14:26 To: 'Access Developers discussion and problem solving' Subject: RE: [AccessD] test passed -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Roz Clarke Sent: Wednesday, August 24, 2005 7:51 AM To: 'Access Developers discussion and problem solving' Subject: [AccessD] test testing - not seeing my own mails to the list today -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/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 -------------- The contents of this message and any attachments are the property of Donns Solicitors and are intended for the confidential use of the named recipient only. They may be legally privileged and should not be communicated to, or relied upon, by any other party without our written consent. If you are not the addressee, please notify us immediately so that we can make arrangements for its return. You should not show this e-mail to any person or take copies as you may be committing a criminal or civil offence for which you may be liable. The statement and opinions expressed in this e-mail message are those of the writer, and do not necessarily represent that of Donns Solicitors. Although any files attached to this e-mail will have been checked with virus protection software prior to transmission, you should carry out your own virus check before opening any attachment. Donns Solicitors does not accept any liability for any damage or loss which may be caused by software viruses... From tom.bolton at donnslaw.co.uk Thu Aug 25 05:08:34 2005 From: tom.bolton at donnslaw.co.uk (Tom Bolton) Date: Thu, 25 Aug 2005 11:08:34 +0100 Subject: [AccessD] Logic issue Message-ID: <61F915314798D311A2F800A0C9C831880802A31D@dibble.observatory.donnslaw.co.uk> Right, although this *might* be simplifying a little. We (Roz and I) work for a big Law firm who use a software package called... wait for it... Case. Conceptually, the basic object is a 'case', which will have (amongst other things) the following: - Capacities - Entities - Details - Activities It's best to think of the 'case' as the container for the capacities, details etc. within. These are almost like properties and methods of a class; come to think of it they probably are. Capacities are types of a person or persons, such as Claimant, Client, Defendant, Police, Third-party Insurer etc. Entities are instances of those capacities, i.e. an instance of the Defendant capacity could be Mr. Smith who would be the entity. A bit like a UDT, capacities have several associated properties (name, address etc.) Capacities can be linked to each other (eg. Def. and Def. insurer) using an extremely convoluted method called the 'acting for' which makes me shudder just thinking about it. Details are more basic 'properties'. Common ones we use are Claimant's Vehicle Registration, Defendant's Policy Number etc. Activities can be thought of as Methods of a class, and will 'do' certain things like produce a letter to Defendant's Solicitor. By the sounds of it, these wouldn't be that important to you. Discussing this with Roz, she pointed out that having all the capacity types in one big list has never phased our 200+ users who are at all points on the spectrum in terms of computer literacy. Trust us, just bung 'em all in together. Give each capacity a type, and leave it at that. To sum up, each 'case' has 'capacities' (people), 'details' (things), and 'activities' (methods to perform tasks in your 'case'.) I've horrendously over-simplified a piece of software it's taken me 6 months to find my way around so if none of it makes sense, please do ask! HTH in some small way Tom -----Original Message----- From: DWUTKA at marlow.com [mailto:DWUTKA at marlow.com] Sent: 24-Aug-2005 19:16 To: accessd at databaseadvisors.com Subject: RE: [AccessD] Logic issue I think you need to have a 'people' table. Whether a person is a judge, lawyer, defendant should be determined by relationships to the tables relating to those designations. Drew -------------- next part -------------- The contents of this message and any attachments are the property of Donns Solicitors and are intended for the confidential use of the named recipient only. They may be legally privileged and should not be communicated to, or relied upon, by any other party without our written consent. If you are not the addressee, please notify us immediately so that we can make arrangements for its return. You should not show this e-mail to any person or take copies as you may be committing a criminal or civil offence for which you may be liable. The statement and opinions expressed in this e-mail message are those of the writer, and do not necessarily represent that of Donns Solicitors. Although any files attached to this e-mail will have been checked with virus protection software prior to transmission, you should carry out your own virus check before opening any attachment. Donns Solicitors does not accept any liability for any damage or loss which may be caused by software viruses... From zora_db at yahoo.com Thu Aug 25 05:08:03 2005 From: zora_db at yahoo.com (Roz Clarke) Date: Thu, 25 Aug 2005 11:08:03 +0100 (BST) Subject: [AccessD] Change of circumstances In-Reply-To: <430CAB84.2020505@shaw.ca> Message-ID: <20050825100803.49431.qmail@web50101.mail.yahoo.com> A good idea. Public bodies here are also much more flexible than most commercial employers, and try to encourage jobshare and so on. Do people have to provide their own partners, or does she pair them up? --- MartyConnelly wrote: > One thing to check out is the split day's type of jobs, especially in > the civil service > In other words you get a partner and one works 2 days, the other 3 days. > My sisterinlaw did this in her government department in Alberta so > people could attend university. > during the day. She is in charge of HR. Wouldn't work for engineers they > have 40 class hours a week, > but arts generally have less then 20 hours. Now she is getting request > from women with autistic kids etc. > She calls the programmers doing this extreme programmers with some lag. > The participants set up there own internal blog to keep track of what is > happening. > > Roz Clarke wrote: > > >Well remembered John, I will do > > > >:) > > > >-----Original Message----- > >From: Johncliviger at aol.com [mailto:Johncliviger at aol.com] > >Sent: 24 August 2005 12:24 > >To: accessd at databaseadvisors.com > >Subject: Re: [AccessD] Change of circumstances > > > > > >Roz > > > >I think your are in the Manchester, England area, if I'm right email me a > >cv > >at _databaseuk at aol.com_ (mailto:databaseuk at aol.com) > > > >John > > > > > > > > > > > > > > -- > Marty Connelly > Victoria, B.C. > Canada > > > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > ___________________________________________________________ Yahoo! Messenger - NEW crystal clear PC to PC calling worldwide with voicemail http://uk.messenger.yahoo.com From zora_db at yahoo.com Thu Aug 25 05:30:02 2005 From: zora_db at yahoo.com (Roz Clarke) Date: Thu, 25 Aug 2005 11:30:02 +0100 (BST) Subject: [AccessD] Logic issue In-Reply-To: <61F915314798D311A2F800A0C9C831880802A31D@dibble.observatory.donnslaw.co.uk> Message-ID: <20050825103003.85207.qmail@web50109.mail.yahoo.com> To tie this back to the dicussion about join tables (what I always called 'resolution' tables because they resolve a many to many relationship), entities in the system are linked to cases via an 'Involvements' table. This is like the idea of roles that Debbie mentioned. So there is a big ol' library of entities (people & organisations). There is a customisable lookup of standard capacities: Claimant, Defendant, Counsel etc. Entities are attached to cases by the 'involvement' which also gives the capacity in which they are involved; their role in the case. This is great, because it means that we get the advantages of having all our entities in one big table (reduces danger of duplication, which is a HUGE issue, makes finding individuals possible when you don't know what their role might have been, etc.), and we also get the advantages of categorisation; you can see what kinds of involvement individuals and organisations have had in your cases. If your search works well, and I like William's idea for dynamic filtering, there is no drawback to having everything jammed in together. Case's searches aren't great, but they are quick, and the users are perfectly happy, as Tom said. Another thing the system does that you may want to consider is allow you to set defaults, so that when you open a new case (indictment, for you) you can answer a couple of questions and it will then pre-populate not only involvements, but details and diary entries. The bit that doesn't work properly is attaching additional attributes to the involvements, and you'll want to make sure you can crack this; we can add custom details such as 'Defendant's vehicle registration' but we can't link them to a specific defendant involvement without jumping through a lot of hoops (especially as you might have several entities attached to a case all in the same capacity, multiple witnesses for example). I don't know if the same holds for you, but we are required by the Law Society to undertake conflict checks, which means that we *need* to know if our client has been the third party in another case. This is another thing Case doesn't do very well because the front end is badly implemented, but the table structure allows you to get the information out easily enough. --- Tom Bolton wrote: > Right, although this *might* be simplifying a little. > > We (Roz and I) work for a big Law firm who use a software package called... > wait for it... Case. Conceptually, the basic object is a 'case', which will > have (amongst other things) the following: > > - Capacities > - Entities > - Details > - Activities > > It's best to think of the 'case' as the container for the capacities, > details etc. within. These are almost like properties and methods of a > class; come to think of it they probably are. > > Capacities are types of a person or persons, such as Claimant, Client, > Defendant, Police, Third-party Insurer etc. Entities are instances of those > capacities, i.e. an instance of the Defendant capacity could be Mr. Smith > who would be the entity. A bit like a UDT, capacities have several > associated properties (name, address etc.) Capacities can be linked to each > other (eg. Def. and Def. insurer) using an extremely convoluted method > called the 'acting for' which makes me shudder just thinking about it. > > Details are more basic 'properties'. Common ones we use are Claimant's > Vehicle Registration, Defendant's Policy Number etc. > > Activities can be thought of as Methods of a class, and will 'do' certain > things like produce a letter to Defendant's Solicitor. By the sounds of it, > these wouldn't be that important to you. > > Discussing this with Roz, she pointed out that having all the capacity types > in one big list has never phased our 200+ users who are at all points on the > spectrum in terms of computer literacy. Trust us, just bung 'em all in > together. Give each capacity a type, and leave it at that. > > To sum up, each 'case' has 'capacities' (people), 'details' (things), and > 'activities' (methods to perform tasks in your 'case'.) > > I've horrendously over-simplified a piece of software it's taken me 6 months > to find my way around so if none of it makes sense, please do ask! > > HTH in some small way > Tom > > > > > -----Original Message----- > From: DWUTKA at marlow.com [mailto:DWUTKA at marlow.com] > Sent: 24-Aug-2005 19:16 > To: accessd at databaseadvisors.com > Subject: RE: [AccessD] Logic issue > > I think you need to have a 'people' table. Whether a person is a judge, > lawyer, defendant should be determined by relationships to the tables > relating to those designations. > > Drew > > > > The contents of this message and any attachments are the property of Donns Solicitors > and are intended for the confidential use of the named recipient only. They may be legally > privileged and should not be communicated to, or relied upon, by any other party without > our written consent. If you are not the addressee, please notify us immediately so that we > can make arrangements for its return. You should not show this e-mail to any person or > take copies as you may be committing a criminal or civil offence for which you may be > liable. The statement and opinions expressed in this e-mail message are those of the > writer, and do not necessarily represent that of Donns Solicitors. Although any files attached > to this e-mail will have been checked with virus protection software prior to transmission, > you should carry out your own virus check before opening any attachment. > Donns Solicitors does not accept any liability for any damage or loss which may be caused > by software viruses... > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > ___________________________________________________________ To help you stay safe and secure online, we've developed the all new Yahoo! Security Centre. http://uk.security.yahoo.com From Gustav at cactus.dk Thu Aug 25 05:57:04 2005 From: Gustav at cactus.dk (Gustav Brock) Date: Thu, 25 Aug 2005 12:57:04 +0200 Subject: [AccessD] SQL to count delimiters in a string Message-ID: Hi Jim Here's the real simple method: SELECT Len([fldText])-Len(Replace([fldText], '|', '')) AS Occurrences FROM ... If you expect Null values use: Len([fldText])-Len(Replace('' & [fldText], '|', '')) AS Occurrences to prevent errors. If you want a count of zero even for Null values: Len('' & [fldText])-Len(Replace('' & [fldText], '|', '')) AS Occurrences For Access 97 and below you'll need to supply the Replace() function too. /gustav >>> Jim.Hale at FleetPride.com 24-08-2005 17:51 >>> Assume I have a text field in a table. Further assume that the text strings are delimited by the pipe character "|". I want to know how many pipe characters occur in each field, ie. the select statement should return: fldText Occurrences test|ddd|ww|ex 3 fff|sss 1 eenie|meenie|minie|moe 3 What is the correct SQL to produce the desired result? TIA Jim Hale From artful at rogers.com Thu Aug 25 07:07:46 2005 From: artful at rogers.com (Arthur Fuller) Date: Thu, 25 Aug 2005 08:07:46 -0400 Subject: [AccessD] Logic issue In-Reply-To: <123701F54509D9119A4F00D0B747349016DE55@main2.marlow.com> Message-ID: <200508251207.j7PC7oR22410@databaseadvisors.com> I agree with Drew but I would take the idea a little further, adding an associative (bridge) table tblPersonRoles, allowing a many-to-many relationship between Persons and Roles. I would also add a date range to the tblPersonRoles table, so that I could note that Person X was a prosecutor until 1999, when she became a judge, and then in 2004 she was charged with drunk driving and became a defendant. -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of DWUTKA at marlow.com Sent: August 24, 2005 2:16 PM To: accessd at databaseadvisors.com Subject: RE: [AccessD] Logic issue I think you need to have a 'people' table. Whether a person is a judge, lawyer, defendant should be determined by relationships to the tables relating to those designations. Drew -----Original Message----- From: John Clark [mailto:John.Clark at niagaracounty.com] Sent: Wednesday, August 24, 2005 12:36 PM To: accessd at databaseadvisors.com Subject: [AccessD] Logic issue Hi all I am having trouble working out how I want to go about something, and I am hoping somebody here can give me a nudge. It doesn't sound difficult, but I'm running into dead-ends. I am starting to think that I will just have to go ahead and finish up with "whatever" and work around things. I am doing a project for a district attorney's office, and it will basically just keep tabs on everybody that passes through the system. The problem is though that there are "Defendants", defense lawyers, prosecuting lawyers, judges, and victims, and it isn't rare for a single person to cross into multiple lists. And, theoretically, it is possible to be in all lists. For instance there are many prosecuting lawyers that become defense attorneys, and it is not unlikely that one of these attorneys could be a judge in the future. That scenario is very possible, and you can add it that a lawyer is very able to be a victim, and hell, we all know they can be criminals ;) Another scenario that happens very frequently, is that a person is both a defendant and a victim. I don't want the person entering data to scroll through hundreds, and eventually thousands, of names to pick an attorney's name from among the list of everybody else in the system. The idea I am working on presently is to add logical fields for each designation to the table of names. For instances: kNameID txtLastName txtFirstName txtMI txtSuffix logAttorney logADA logJudge logVictim logDefendant If I do this, I will have removed some fields that are currently there, such as: txtAddress1 txtAddress2 txtCity txtSt txtZip txtPhone And, I will put these in another linked table. There may be a need to have multiple addresses for the defendants, so this would be best I think. The problem that I am foreseeing here...I'm not at that point, so my fears could be unfounded...is setting these fields to true and/or false, as needed. Basically, thinking of victims for a minute here, the defendant screen, which will actually be an "Indictment" screen, will have a subform to hold potentially many victims for the indictment. If a victim IS already in the system as something else, I will need to tag that name as a victim and I'm wondering if this will present difficulties. Well, I hope I am being clear enough. If anyone out there has any tips for me, I would greatly appreciate it if you would pass them along. Thank you! John W Clark -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd 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.Clark at niagaracounty.com Thu Aug 25 07:08:15 2005 From: John.Clark at niagaracounty.com (John Clark) Date: Thu, 25 Aug 2005 08:08:15 -0400 Subject: [AccessD] Logic issue Message-ID: Yes Frank, I always like to checkout someone's ideas...I learn so much more than any book can teach. My address is john.clark at niagaracounty.com If this is a zip file, change the extention to something like .zp, because we block .zip files. John W. Clark Computer Programmer Niagara County Central Data Processing >>> frank at fhsservices.co.uk 8/24/2005 5:21 PM >>> Here's a different solution! If you have a checkbox for each title or position that can be applicable to each person represented through the database then, on the client form of any of people the list the checkboxes will indicate positives for the applicable option. So, Jack Jones can have the boxes ticked for Defence attorney, prosecuting attorney, Judge etc. etc. The final checkbox (no 9 on my sample) can be set to "Other" and have an associated textbox in the table which will only be displayed it no 9 is ticked and the text will be entered into the open, blank textbox for storage and later retrieval. The trick here is to combine the bit value of each checkbox to obtain a unique value for the combination of boxes ticked. I have a small database of the principle as a working example which I can forward to anybody who would like to see it. The AccessD list is limited to a 30K unit size and will not allow me to attach the sample to this text Kind regards, Frank Hill Kind regards, Frank Hill -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of John Clark Sent: 24 August 2005 18:36 To: accessd at databaseadvisors.com Subject: [AccessD] Logic issue Hi all I am having trouble working out how I want to go about something, and I am hoping somebody here can give me a nudge. It doesn't sound difficult, but I'm running into dead-ends. I am starting to think that I will just have to go ahead and finish up with "whatever" and work around things. I am doing a project for a district attorney's office, and it will basically just keep tabs on everybody that passes through the system. The problem is though that there are "Defendants", defense lawyers, prosecuting lawyers, judges, and victims, and it isn't rare for a single person to cross into multiple lists. And, theoretically, it is possible to be in all lists. For instance there are many prosecuting lawyers that become defense attorneys, and it is not unlikely that one of these attorneys could be a judge in the future. That scenario is very possible, and you can add it that a lawyer is very able to be a victim, and hell, we all know they can be criminals ;) Another scenario that happens very frequently, is that a person is both a defendant and a victim. I don't want the person entering data to scroll through hundreds, and eventually thousands, of names to pick an attorney's name from among the list of everybody else in the system. The idea I am working on presently is to add logical fields for each designation to the table of names. For instances: kNameID txtLastName txtFirstName txtMI txtSuffix logAttorney logADA logJudge logVictim logDefendant If I do this, I will have removed some fields that are currently there, such as: txtAddress1 txtAddress2 txtCity txtSt txtZip txtPhone And, I will put these in another linked table. There may be a need to have multiple addresses for the defendants, so this would be best I think. The problem that I am foreseeing here...I'm not at that point, so my fears could be unfounded...is setting these fields to true and/or false, as needed. Basically, thinking of victims for a minute here, the defendant screen, which will actually be an "Indictment" screen, will have a subform to hold potentially many victims for the indictment. If a victim IS already in the system as something else, I will need to tag that name as a victim and I'm wondering if this will present difficulties. Well, I hope I am being clear enough. If anyone out there has any tips for me, I would greatly appreciate it if you would pass them along. Thank you! John W Clark -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd 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 Aug 25 07:33:42 2005 From: Gustav at cactus.dk (Gustav Brock) Date: Thu, 25 Aug 2005 14:33:42 +0200 Subject: [AccessD] Control codes to a printer Message-ID: Hi John Are you sure you need to do this? Can't you set the printer to auto cut? I've never seen the syntax Stewart presents, neither a method for sending hex (control) codes to a printer from Access. However, this page may help you: How do I Control an Epson Receipt Printer with Visual Basic? http://www.posworld.com/eprecprinvis.html It demonstrates the use of a special "Control font" which doesn't print but transforms some chars to some hex code sequences. /gustav >>> jwcolby at colbyconsulting.com 24-08-2005 23:29 >>> I need to send a series of hex characters to an Epson receipt printer to execute the cutting. Hex characters are 1d 56 42 20 The printer is TCP/IP so I have an IP address stored in a table and hidden in a form that is open when the print command is executed. This is a Win98 environment. Does anyone already have something similar. John W. Colby www.ColbyConsulting.com From Gustav at cactus.dk Thu Aug 25 07:36:30 2005 From: Gustav at cactus.dk (Gustav Brock) Date: Thu, 25 Aug 2005 14:36:30 +0200 Subject: [AccessD] Control codes to a printer Message-ID: Oops Stuart, sorry for spelling you Stewart! /gustav >>> stuart at lexacorp.com.pg 25-08-2005 02:46 >>> From stuart at lexacorp.com.pg Thu Aug 25 07:58:21 2005 From: stuart at lexacorp.com.pg (Stuart McLachlan) Date: Thu, 25 Aug 2005 22:58:21 +1000 Subject: [AccessD] Control codes to a printer In-Reply-To: Message-ID: <430E4D0D.23030.549CC53@stuart.lexacorp.com.pg> On 25 Aug 2005 at 14:33, Gustav Brock wrote: > Hi John > > Are you sure you need to do this? > Can't you set the printer to auto cut? > > I've never seen the syntax Stewart presents, neither a method for > sending hex (control) codes to a printer from Access. > However, this page may help you: > It certainly works for sending control codes to a printer on LPTx: or COMx:, but I've never tried it with an IP:xxx.xxx.xxx.xxx port and don't have one handy to test it. -- Stuart From artful at rogers.com Thu Aug 25 08:06:19 2005 From: artful at rogers.com (Arthur Fuller) Date: Thu, 25 Aug 2005 09:06:19 -0400 Subject: [AccessD] Building SQL statement In-Reply-To: <015101c5a924$4f937db0$6c7aa8c0@ColbyM6805> Message-ID: <200508251306.j7PD6MR04318@databaseadvisors.com> Replace(MyText,Chr(39),Chr(39)&Chr(39)) Should do it. Arthur -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of John W. Colby Sent: August 24, 2005 11:23 PM To: 'Access Developers discussion and problem solving' Subject: [AccessD] Building SQL statement I'm attempting to build a SQL statement to append data into a record. One of the fields is text, including (possibly) any valid text including ' - for example in contractions such as "aren't" etc. My SQL statement is building up a statement in the format: lstrSQL = "INSERT INTO WebNewsItem ( WebNewsSourceID, Link, Title, ArticleDescription ) " & _ "SELECT " & webNewsSourceID & " AS WebNewsSourceID, '" & link & "' AS Link, '" & title & "' AS Title, '" & description & "' AS ArticleDescription;" The problem is that description can contain the ' character and thus I end up with an invalid SQL statement since the ' embedded in description "looks like" the ' that is supposed to enclose the text. I can't for the life of me remember how I am supposed to handle this. I could punt and open a recordset, create a new record, and place the data directly into the field, which I may end up doing but I sure would prefer to just do the "append query" thing. It is (was) much simpler. John W. Colby www.ColbyConsulting.com Contribute your unused CPU cycles to a good cause: http://folding.stanford.edu/ -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From Gustav at cactus.dk Thu Aug 25 08:15:12 2005 From: Gustav at cactus.dk (Gustav Brock) Date: Thu, 25 Aug 2005 15:15:12 +0200 Subject: [AccessD] Control codes to a printer Message-ID: Hi Stuart Sorry, it is the IP:xxx.xxx.xxx.xxx syntax I've never seen. The surrounding part is common and we use that for writing directly to a receipt printer (not Epson but Axiohm) as this is terribly faster than printing a report. And at POS _every_ second counts. /gustav >>> stuart at lexacorp.com.pg 25-08-2005 14:58 >>> On 25 Aug 2005 at 14:33, Gustav Brock wrote: > Hi John > > Are you sure you need to do this? > Can't you set the printer to auto cut? > > I've never seen the syntax Stewart presents, neither a method for > sending hex (control) codes to a printer from Access. > However, this page may help you: > It certainly works for sending control codes to a printer on LPTx: or COMx:, but I've never tried it with an IP:xxx.xxx.xxx.xxx port and don't have one handy to test it. -- Stuart -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From artful at rogers.com Thu Aug 25 09:58:55 2005 From: artful at rogers.com (Arthur Fuller) Date: Thu, 25 Aug 2005 10:58:55 -0400 Subject: [AccessD] Logic issue In-Reply-To: <200508251207.j7PC7oR22410@databaseadvisors.com> Message-ID: <200508251458.j7PEwwR04886@databaseadvisors.com> On second thought, I would not use a Persons table since the defendant and or claimant could be a corporation. I would go with tblEntities which might be tied to a tblEntityTypes table containing such rows as Person, Corporation, NGO, etc. A given case could for example be a class action suit, with one or more corporations defending their alleged malfeasance against hundreds or thousands of claimants (some corporate, some individuals). -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Arthur Fuller Sent: August 25, 2005 8:08 AM To: 'Access Developers discussion and problem solving' Subject: RE: [AccessD] Logic issue I agree with Drew but I would take the idea a little further, adding an associative (bridge) table tblPersonRoles, allowing a many-to-many relationship between Persons and Roles. I would also add a date range to the tblPersonRoles table, so that I could note that Person X was a prosecutor until 1999, when she became a judge, and then in 2004 she was charged with drunk driving and became a defendant. -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of DWUTKA at marlow.com Sent: August 24, 2005 2:16 PM To: accessd at databaseadvisors.com Subject: RE: [AccessD] Logic issue I think you need to have a 'people' table. Whether a person is a judge, lawyer, defendant should be determined by relationships to the tables relating to those designations. Drew -----Original Message----- From: John Clark [mailto:John.Clark at niagaracounty.com] Sent: Wednesday, August 24, 2005 12:36 PM To: accessd at databaseadvisors.com Subject: [AccessD] Logic issue Hi all I am having trouble working out how I want to go about something, and I am hoping somebody here can give me a nudge. It doesn't sound difficult, but I'm running into dead-ends. I am starting to think that I will just have to go ahead and finish up with "whatever" and work around things. I am doing a project for a district attorney's office, and it will basically just keep tabs on everybody that passes through the system. The problem is though that there are "Defendants", defense lawyers, prosecuting lawyers, judges, and victims, and it isn't rare for a single person to cross into multiple lists. And, theoretically, it is possible to be in all lists. For instance there are many prosecuting lawyers that become defense attorneys, and it is not unlikely that one of these attorneys could be a judge in the future. That scenario is very possible, and you can add it that a lawyer is very able to be a victim, and hell, we all know they can be criminals ;) Another scenario that happens very frequently, is that a person is both a defendant and a victim. I don't want the person entering data to scroll through hundreds, and eventually thousands, of names to pick an attorney's name from among the list of everybody else in the system. The idea I am working on presently is to add logical fields for each designation to the table of names. For instances: kNameID txtLastName txtFirstName txtMI txtSuffix logAttorney logADA logJudge logVictim logDefendant If I do this, I will have removed some fields that are currently there, such as: txtAddress1 txtAddress2 txtCity txtSt txtZip txtPhone And, I will put these in another linked table. There may be a need to have multiple addresses for the defendants, so this would be best I think. The problem that I am foreseeing here...I'm not at that point, so my fears could be unfounded...is setting these fields to true and/or false, as needed. Basically, thinking of victims for a minute here, the defendant screen, which will actually be an "Indictment" screen, will have a subform to hold potentially many victims for the indictment. If a victim IS already in the system as something else, I will need to tag that name as a victim and I'm wondering if this will present difficulties. Well, I hope I am being clear enough. If anyone out there has any tips for me, I would greatly appreciate it if you would pass them along. Thank you! John W Clark -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd 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 Aug 25 10:20:52 2005 From: cfoust at infostatsystems.com (Charlotte Foust) Date: Thu, 25 Aug 2005 08:20:52 -0700 Subject: [AccessD] OT: Zip files (was Logic issue) Message-ID: Does anyone know what the logic is for blocking zip files? I run into this occasionally and it drives me nuts! You zip files to avoid the filters that won't accept an mdb, etc., and then you run into filters that won't accept the zip files. Oops, Catch-22. That drumming you hear is my head pounding against the wall .... Charlotte Foust -----Original Message----- From: John Clark [mailto:John.Clark at niagaracounty.com] Sent: Thursday, August 25, 2005 5:08 AM To: accessd at databaseadvisors.com Subject: RE: [AccessD] Logic issue Yes Frank, I always like to checkout someone's ideas...I learn so much more than any book can teach. My address is john.clark at niagaracounty.com If this is a zip file, change the extention to something like .zp, because we block .zip files. John W. Clark Computer Programmer Niagara County Central Data Processing >>> frank at fhsservices.co.uk 8/24/2005 5:21 PM >>> Here's a different solution! If you have a checkbox for each title or position that can be applicable to each person represented through the database then, on the client form of any of people the list the checkboxes will indicate positives for the applicable option. So, Jack Jones can have the boxes ticked for Defence attorney, prosecuting attorney, Judge etc. etc. The final checkbox (no 9 on my sample) can be set to "Other" and have an associated textbox in the table which will only be displayed it no 9 is ticked and the text will be entered into the open, blank textbox for storage and later retrieval. The trick here is to combine the bit value of each checkbox to obtain a unique value for the combination of boxes ticked. I have a small database of the principle as a working example which I can forward to anybody who would like to see it. The AccessD list is limited to a 30K unit size and will not allow me to attach the sample to this text Kind regards, Frank Hill Kind regards, Frank Hill -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of John Clark Sent: 24 August 2005 18:36 To: accessd at databaseadvisors.com Subject: [AccessD] Logic issue Hi all I am having trouble working out how I want to go about something, and I am hoping somebody here can give me a nudge. It doesn't sound difficult, but I'm running into dead-ends. I am starting to think that I will just have to go ahead and finish up with "whatever" and work around things. I am doing a project for a district attorney's office, and it will basically just keep tabs on everybody that passes through the system. The problem is though that there are "Defendants", defense lawyers, prosecuting lawyers, judges, and victims, and it isn't rare for a single person to cross into multiple lists. And, theoretically, it is possible to be in all lists. For instance there are many prosecuting lawyers that become defense attorneys, and it is not unlikely that one of these attorneys could be a judge in the future. That scenario is very possible, and you can add it that a lawyer is very able to be a victim, and hell, we all know they can be criminals ;) Another scenario that happens very frequently, is that a person is both a defendant and a victim. I don't want the person entering data to scroll through hundreds, and eventually thousands, of names to pick an attorney's name from among the list of everybody else in the system. The idea I am working on presently is to add logical fields for each designation to the table of names. For instances: kNameID txtLastName txtFirstName txtMI txtSuffix logAttorney logADA logJudge logVictim logDefendant If I do this, I will have removed some fields that are currently there, such as: txtAddress1 txtAddress2 txtCity txtSt txtZip txtPhone And, I will put these in another linked table. There may be a need to have multiple addresses for the defendants, so this would be best I think. The problem that I am foreseeing here...I'm not at that point, so my fears could be unfounded...is setting these fields to true and/or false, as needed. Basically, thinking of victims for a minute here, the defendant screen, which will actually be an "Indictment" screen, will have a subform to hold potentially many victims for the indictment. If a victim IS already in the system as something else, I will need to tag that name as a victim and I'm wondering if this will present difficulties. Well, I hope I am being clear enough. If anyone out there has any tips for me, I would greatly appreciate it if you would pass them along. Thank you! John W Clark -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd 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.Clark at niagaracounty.com Thu Aug 25 10:27:32 2005 From: John.Clark at niagaracounty.com (John Clark) Date: Thu, 25 Aug 2005 11:27:32 -0400 Subject: [AccessD] Field Sizes Message-ID: I've got bigger problems right now, but I've meant to ask something forever and...well...today is the day, I guess. What do y'all use for standard sizes for typical text fields, such as Last Name, First Name, Address, City, etc.? Is there a "common practice rule" concerning this? And, just to get the yuks outta the way, I guess I could have changed the subject line to, "does size matter?" From HARVEYF1 at WESTAT.com Thu Aug 25 10:38:22 2005 From: HARVEYF1 at WESTAT.com (Francis Harvey) Date: Thu, 25 Aug 2005 11:38:22 -0400 Subject: [AccessD] Building SQL statement Message-ID: <403593359CA56C4CAE1F8F4F00DCFE7D014C7074@MAILBE2.westat.com> John, Perhaps the SQL statement could be rewritten to use parameters, something like: PARAMETERS WebNewsSourceID Long, Link Text ( 255 ), Title Text ( 255 ), ArticleDescription Text ( 255 ); INSERT INTO WebNewsItem ( WebNewsSourceID, Link, Title, ArticleDescription ) SELECT [WebNewsSourceID] AS WebNewsSourceID, [Link] AS Link, [Title] AS Title, [ArticleDescription] AS ArticleDescription; so that you could create and execute a querydef where you could fill in its parameters without worrying about unexpected string termination. Francis R Harvey III WB 303, (301)294-3952 harveyf1 at westat.com > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of > John W. Colby > Sent: Wednesday, August 24, 2005 11:23 PM > To: 'Access Developers discussion and problem solving' > Subject: [AccessD] Building SQL statement > > > I'm attempting to build a SQL statement to append data into a > record. One > of the fields is text, including (possibly) any valid text > including ' - for > example in contractions such as "aren't" etc. > > My SQL statement is building up a statement in the format: > > lstrSQL = "INSERT INTO WebNewsItem ( > WebNewsSourceID, Link, > Title, ArticleDescription ) " & _ > "SELECT " & webNewsSourceID & " AS > WebNewsSourceID, > '" & link & "' AS Link, '" & title & "' AS Title, '" & > description & "' AS > ArticleDescription;" > > The problem is that description can contain the ' character > and thus I end > up with an invalid SQL statement since the ' embedded in > description "looks > like" the ' that is supposed to enclose the text. > > > John W. Colby > www.ColbyConsulting.com > > Contribute your unused CPU cycles to a good cause: > http://folding.stanford.edu/ From Lambert.Heenan at AIG.com Thu Aug 25 10:57:35 2005 From: Lambert.Heenan at AIG.com (Heenan, Lambert) Date: Thu, 25 Aug 2005 11:57:35 -0400 Subject: [AccessD] OT: Zip files (was Logic issue) Message-ID: <1D7828CDB8350747AFE9D69E0E90DA1F14EA41DE@xlivmbx21.aig.com> IMHO it's caused by IT people who are too paranoid by far. They invest thousands on virus scanning software, keep updating the sig files every 24 hours, but in the end they don't trust it to weed out the viruses coming at them via ZIP files. Rather than scanning the contents of ZIP files they blindly block them. Also, don't the realize that most (All?) antivirus programs can be set to scan files when they are opened and or written to disk? So even if a zip file does have a virus, the anti-virus package should kill it. Lambert -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Charlotte Foust Sent: Thursday, August 25, 2005 11:21 AM To: Access Developers discussion and problem solving Subject: RE: [AccessD] OT: Zip files (was Logic issue) Does anyone know what the logic is for blocking zip files? I run into this occasionally and it drives me nuts! You zip files to avoid the filters that won't accept an mdb, etc., and then you run into filters that won't accept the zip files. Oops, Catch-22. That drumming you hear is my head pounding against the wall .... Charlotte Foust -----Original Message----- From: John Clark [mailto:John.Clark at niagaracounty.com] Sent: Thursday, August 25, 2005 5:08 AM To: accessd at databaseadvisors.com Subject: RE: [AccessD] Logic issue Yes Frank, I always like to checkout someone's ideas...I learn so much more than any book can teach. My address is john.clark at niagaracounty.com If this is a zip file, change the extention to something like .zp, because we block .zip files. John W. Clark Computer Programmer Niagara County Central Data Processing >>> frank at fhsservices.co.uk 8/24/2005 5:21 PM >>> Here's a different solution! If you have a checkbox for each title or position that can be applicable to each person represented through the database then, on the client form of any of people the list the checkboxes will indicate positives for the applicable option. So, Jack Jones can have the boxes ticked for Defence attorney, prosecuting attorney, Judge etc. etc. The final checkbox (no 9 on my sample) can be set to "Other" and have an associated textbox in the table which will only be displayed it no 9 is ticked and the text will be entered into the open, blank textbox for storage and later retrieval. The trick here is to combine the bit value of each checkbox to obtain a unique value for the combination of boxes ticked. I have a small database of the principle as a working example which I can forward to anybody who would like to see it. The AccessD list is limited to a 30K unit size and will not allow me to attach the sample to this text Kind regards, Frank Hill Kind regards, Frank Hill -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of John Clark Sent: 24 August 2005 18:36 To: accessd at databaseadvisors.com Subject: [AccessD] Logic issue Hi all I am having trouble working out how I want to go about something, and I am hoping somebody here can give me a nudge. It doesn't sound difficult, but I'm running into dead-ends. I am starting to think that I will just have to go ahead and finish up with "whatever" and work around things. I am doing a project for a district attorney's office, and it will basically just keep tabs on everybody that passes through the system. The problem is though that there are "Defendants", defense lawyers, prosecuting lawyers, judges, and victims, and it isn't rare for a single person to cross into multiple lists. And, theoretically, it is possible to be in all lists. For instance there are many prosecuting lawyers that become defense attorneys, and it is not unlikely that one of these attorneys could be a judge in the future. That scenario is very possible, and you can add it that a lawyer is very able to be a victim, and hell, we all know they can be criminals ;) Another scenario that happens very frequently, is that a person is both a defendant and a victim. I don't want the person entering data to scroll through hundreds, and eventually thousands, of names to pick an attorney's name from among the list of everybody else in the system. The idea I am working on presently is to add logical fields for each designation to the table of names. For instances: kNameID txtLastName txtFirstName txtMI txtSuffix logAttorney logADA logJudge logVictim logDefendant If I do this, I will have removed some fields that are currently there, such as: txtAddress1 txtAddress2 txtCity txtSt txtZip txtPhone And, I will put these in another linked table. There may be a need to have multiple addresses for the defendants, so this would be best I think. The problem that I am foreseeing here...I'm not at that point, so my fears could be unfounded...is setting these fields to true and/or false, as needed. Basically, thinking of victims for a minute here, the defendant screen, which will actually be an "Indictment" screen, will have a subform to hold potentially many victims for the indictment. If a victim IS already in the system as something else, I will need to tag that name as a victim and I'm wondering if this will present difficulties. Well, I hope I am being clear enough. If anyone out there has any tips for me, I would greatly appreciate it if you would pass them along. Thank you! John W Clark -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd 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 Aug 25 11:08:35 2005 From: DElam at jenkens.com (Elam, Debbie) Date: Thu, 25 Aug 2005 11:08:35 -0500 Subject: [AccessD] OT: Zip files (was Logic issue) Message-ID: <7B1961ED924D1A459E378C9B1BB22B4C0492CCE1@natexch.jenkens.com> I know we temporarily block these files and several others. It gives the admins some time to scan before the file is delivered, but it does get delivered. Are you sure these are not getting through at all? If they are never getting through, I have received some files with a differently named extension. Text.zip is renamed to Text.zi and gets through. I must rename it back before I can open it, but it works. Debbie -----Original Message----- From: Heenan, Lambert [mailto:Lambert.Heenan at aig.com] Sent: Thursday, August 25, 2005 10:58 AM To: 'Access Developers discussion and problem solving' Subject: RE: [AccessD] OT: Zip files (was Logic issue) IMHO it's caused by IT people who are too paranoid by far. They invest thousands on virus scanning software, keep updating the sig files every 24 hours, but in the end they don't trust it to weed out the viruses coming at them via ZIP files. Rather than scanning the contents of ZIP files they blindly block them. Also, don't the realize that most (All?) antivirus programs can be set to scan files when they are opened and or written to disk? So even if a zip file does have a virus, the anti-virus package should kill it. Lambert -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Charlotte Foust Sent: Thursday, August 25, 2005 11:21 AM To: Access Developers discussion and problem solving Subject: RE: [AccessD] OT: Zip files (was Logic issue) Does anyone know what the logic is for blocking zip files? I run into this occasionally and it drives me nuts! You zip files to avoid the filters that won't accept an mdb, etc., and then you run into filters that won't accept the zip files. Oops, Catch-22. That drumming you hear is my head pounding against the wall .... Charlotte Foust -----Original Message----- From: John Clark [mailto:John.Clark at niagaracounty.com] Sent: Thursday, August 25, 2005 5:08 AM To: accessd at databaseadvisors.com Subject: RE: [AccessD] Logic issue Yes Frank, I always like to checkout someone's ideas...I learn so much more than any book can teach. My address is john.clark at niagaracounty.com If this is a zip file, change the extention to something like .zp, because we block .zip files. John W. Clark Computer Programmer Niagara County Central Data Processing >>> frank at fhsservices.co.uk 8/24/2005 5:21 PM >>> Here's a different solution! If you have a checkbox for each title or position that can be applicable to each person represented through the database then, on the client form of any of people the list the checkboxes will indicate positives for the applicable option. So, Jack Jones can have the boxes ticked for Defence attorney, prosecuting attorney, Judge etc. etc. The final checkbox (no 9 on my sample) can be set to "Other" and have an associated textbox in the table which will only be displayed it no 9 is ticked and the text will be entered into the open, blank textbox for storage and later retrieval. The trick here is to combine the bit value of each checkbox to obtain a unique value for the combination of boxes ticked. I have a small database of the principle as a working example which I can forward to anybody who would like to see it. The AccessD list is limited to a 30K unit size and will not allow me to attach the sample to this text Kind regards, Frank Hill Kind regards, Frank Hill -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of John Clark Sent: 24 August 2005 18:36 To: accessd at databaseadvisors.com Subject: [AccessD] Logic issue Hi all I am having trouble working out how I want to go about something, and I am hoping somebody here can give me a nudge. It doesn't sound difficult, but I'm running into dead-ends. I am starting to think that I will just have to go ahead and finish up with "whatever" and work around things. I am doing a project for a district attorney's office, and it will basically just keep tabs on everybody that passes through the system. The problem is though that there are "Defendants", defense lawyers, prosecuting lawyers, judges, and victims, and it isn't rare for a single person to cross into multiple lists. And, theoretically, it is possible to be in all lists. For instance there are many prosecuting lawyers that become defense attorneys, and it is not unlikely that one of these attorneys could be a judge in the future. That scenario is very possible, and you can add it that a lawyer is very able to be a victim, and hell, we all know they can be criminals ;) Another scenario that happens very frequently, is that a person is both a defendant and a victim. I don't want the person entering data to scroll through hundreds, and eventually thousands, of names to pick an attorney's name from among the list of everybody else in the system. The idea I am working on presently is to add logical fields for each designation to the table of names. For instances: kNameID txtLastName txtFirstName txtMI txtSuffix logAttorney logADA logJudge logVictim logDefendant If I do this, I will have removed some fields that are currently there, such as: txtAddress1 txtAddress2 txtCity txtSt txtZip txtPhone And, I will put these in another linked table. There may be a need to have multiple addresses for the defendants, so this would be best I think. The problem that I am foreseeing here...I'm not at that point, so my fears could be unfounded...is setting these fields to true and/or false, as needed. Basically, thinking of victims for a minute here, the defendant screen, which will actually be an "Indictment" screen, will have a subform to hold potentially many victims for the indictment. If a victim IS already in the system as something else, I will need to tag that name as a victim and I'm wondering if this will present difficulties. Well, I hope I am being clear enough. If anyone out there has any tips for me, I would greatly appreciate it if you would pass them along. Thank you! John W Clark -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.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 accessd at shaw.ca Thu Aug 25 12:08:19 2005 From: accessd at shaw.ca (Jim Lawrence) Date: Thu, 25 Aug 2005 10:08:19 -0700 Subject: [AccessD] Field Sizes In-Reply-To: Message-ID: <0ILS00F2OFLU17@l-daemon> Hi John: Off the top but as far as I know there are no standards but lengths that have worked in the past are as follows: Firstname: 15 MiddleName: 25 (can be multiple) LastName: 25 AptNumber: 5 Address: 10 StreetName: 25 City: 15 There are of course items which extend outside but 98% of the time these have worked. Jim -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of John Clark Sent: Thursday, August 25, 2005 8:28 AM To: accessd at databaseadvisors.com Subject: [AccessD] Field Sizes I've got bigger problems right now, but I've meant to ask something forever and...well...today is the day, I guess. What do y'all use for standard sizes for typical text fields, such as Last Name, First Name, Address, City, etc.? Is there a "common practice rule" concerning this? And, just to get the yuks outta the way, I guess I could have changed the subject line to, "does size matter?" -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From accessd at shaw.ca Thu Aug 25 12:26:04 2005 From: accessd at shaw.ca (Jim Lawrence) Date: Thu, 25 Aug 2005 10:26:04 -0700 Subject: [AccessD] OT: Zip files (was Logic issue) In-Reply-To: <1D7828CDB8350747AFE9D69E0E90DA1F14EA41DE@xlivmbx21.aig.com> Message-ID: <0ILS00D8HGFGA5@l-daemon> Hi Lambert: In theory virus can be hidden within a ZIP file and virus scanning programs can not see them as a signature stream of values are required for virus identification. The compression algorithm of the ZIP alters that signature stream. Also some tricky code within a so called ZIP file can activate in the process of unzipping the ZIP file. But that can always be got around by simply sending your ZIP file named like MYZipFile.ZIP.txt. When on one contract this technique was used by the local IT people to slip ZIP files through the filters and then the first dot and extension were removed. The ZIP files were then unzipped in isolation and tested before being introduced on LAN A little paranoid? You bet but at one government office, a couple of years ago, a BlasterWorm got in through a similar method and the result was that a couple of Ministries were down off and on for the better part of a month. Put a price tag on that incident. My two cents worth Jim -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Heenan, Lambert Sent: Thursday, August 25, 2005 8:58 AM To: 'Access Developers discussion and problem solving' Subject: RE: [AccessD] OT: Zip files (was Logic issue) IMHO it's caused by IT people who are too paranoid by far. They invest thousands on virus scanning software, keep updating the sig files every 24 hours, but in the end they don't trust it to weed out the viruses coming at them via ZIP files. Rather than scanning the contents of ZIP files they blindly block them. Also, don't the realize that most (All?) antivirus programs can be set to scan files when they are opened and or written to disk? So even if a zip file does have a virus, the anti-virus package should kill it. Lambert -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Charlotte Foust Sent: Thursday, August 25, 2005 11:21 AM To: Access Developers discussion and problem solving Subject: RE: [AccessD] OT: Zip files (was Logic issue) Does anyone know what the logic is for blocking zip files? I run into this occasionally and it drives me nuts! You zip files to avoid the filters that won't accept an mdb, etc., and then you run into filters that won't accept the zip files. Oops, Catch-22. That drumming you hear is my head pounding against the wall .... Charlotte Foust -----Original Message----- From: John Clark [mailto:John.Clark at niagaracounty.com] Sent: Thursday, August 25, 2005 5:08 AM To: accessd at databaseadvisors.com Subject: RE: [AccessD] Logic issue Yes Frank, I always like to checkout someone's ideas...I learn so much more than any book can teach. My address is john.clark at niagaracounty.com If this is a zip file, change the extention to something like .zp, because we block .zip files. John W. Clark Computer Programmer Niagara County Central Data Processing >>> frank at fhsservices.co.uk 8/24/2005 5:21 PM >>> Here's a different solution! If you have a checkbox for each title or position that can be applicable to each person represented through the database then, on the client form of any of people the list the checkboxes will indicate positives for the applicable option. So, Jack Jones can have the boxes ticked for Defence attorney, prosecuting attorney, Judge etc. etc. The final checkbox (no 9 on my sample) can be set to "Other" and have an associated textbox in the table which will only be displayed it no 9 is ticked and the text will be entered into the open, blank textbox for storage and later retrieval. The trick here is to combine the bit value of each checkbox to obtain a unique value for the combination of boxes ticked. I have a small database of the principle as a working example which I can forward to anybody who would like to see it. The AccessD list is limited to a 30K unit size and will not allow me to attach the sample to this text Kind regards, Frank Hill Kind regards, Frank Hill -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of John Clark Sent: 24 August 2005 18:36 To: accessd at databaseadvisors.com Subject: [AccessD] Logic issue Hi all I am having trouble working out how I want to go about something, and I am hoping somebody here can give me a nudge. It doesn't sound difficult, but I'm running into dead-ends. I am starting to think that I will just have to go ahead and finish up with "whatever" and work around things. I am doing a project for a district attorney's office, and it will basically just keep tabs on everybody that passes through the system. The problem is though that there are "Defendants", defense lawyers, prosecuting lawyers, judges, and victims, and it isn't rare for a single person to cross into multiple lists. And, theoretically, it is possible to be in all lists. For instance there are many prosecuting lawyers that become defense attorneys, and it is not unlikely that one of these attorneys could be a judge in the future. That scenario is very possible, and you can add it that a lawyer is very able to be a victim, and hell, we all know they can be criminals ;) Another scenario that happens very frequently, is that a person is both a defendant and a victim. I don't want the person entering data to scroll through hundreds, and eventually thousands, of names to pick an attorney's name from among the list of everybody else in the system. The idea I am working on presently is to add logical fields for each designation to the table of names. For instances: kNameID txtLastName txtFirstName txtMI txtSuffix logAttorney logADA logJudge logVictim logDefendant If I do this, I will have removed some fields that are currently there, such as: txtAddress1 txtAddress2 txtCity txtSt txtZip txtPhone And, I will put these in another linked table. There may be a need to have multiple addresses for the defendants, so this would be best I think. The problem that I am foreseeing here...I'm not at that point, so my fears could be unfounded...is setting these fields to true and/or false, as needed. Basically, thinking of victims for a minute here, the defendant screen, which will actually be an "Indictment" screen, will have a subform to hold potentially many victims for the indictment. If a victim IS already in the system as something else, I will need to tag that name as a victim and I'm wondering if this will present difficulties. Well, I hope I am being clear enough. If anyone out there has any tips for me, I would greatly appreciate it if you would pass them along. Thank you! John W Clark -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From john at winhaven.net Thu Aug 25 12:58:52 2005 From: john at winhaven.net (John Bartow) Date: Thu, 25 Aug 2005 12:58:52 -0500 Subject: [AccessD] OT: Zip files (was Logic issue) In-Reply-To: <0ILS00D8HGFGA5@l-daemon> Message-ID: <200508251758.j7PHwtR17189@databaseadvisors.com> Jim, Best to just rename the file as Debbie mentioned earlier. Many AV gateways won't allow double extensions through as this was a virus tactic for a time. The files would be named text.jpg.exe and other similar ways to fool the recipient into thinking it was simply a graphic. -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Jim Lawrence Hi Lambert: But that can always be got around by simply sending your ZIP file named like MYZipFile.ZIP.txt. From dwaters at usinternet.com Thu Aug 25 13:13:16 2005 From: dwaters at usinternet.com (Dan Waters) Date: Thu, 25 Aug 2005 11:13:16 -0700 Subject: [AccessD] OT: Zip files (was Logic issue) In-Reply-To: <24025584.1124993213535.JavaMail.root@sniper17> Message-ID: <000001c5a9a0$aada9380$0518820a@danwaters> Interesting! While I can't send an .mdb file as an attachment, if I change mdb to pdf, then it goes through just fine. Then my customer changes it back to mdb and installs the new objects. Dan Waters -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of John Bartow Sent: Thursday, August 25, 2005 10:59 AM To: 'Access Developers discussion and problem solving' Subject: RE: [AccessD] OT: Zip files (was Logic issue) Jim, Best to just rename the file as Debbie mentioned earlier. Many AV gateways won't allow double extensions through as this was a virus tactic for a time. The files would be named text.jpg.exe and other similar ways to fool the recipient into thinking it was simply a graphic. -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Jim Lawrence Hi Lambert: But that can always be got around by simply sending your ZIP file named like MYZipFile.ZIP.txt. -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From martyconnelly at shaw.ca Thu Aug 25 13:59:13 2005 From: martyconnelly at shaw.ca (MartyConnelly) Date: Thu, 25 Aug 2005 11:59:13 -0700 Subject: [AccessD] Change of circumstances References: <20050825100803.49431.qmail@web50101.mail.yahoo.com> Message-ID: <430E1501.5080907@shaw.ca> She prefers people that have worked together or agreed in advance. I have seen Public Service ads looking for people to fill the other half position.. The biggest problem is sorting out benefits, do they have enough hours to qualify for Unemployment Insurance or whatever you call the Dole. Roz Clarke wrote: >A good idea. Public bodies here are also much more flexible than most commercial employers, and >try to encourage jobshare and so on. > >Do people have to provide their own partners, or does she pair them up? > >--- MartyConnelly wrote: > > > >>One thing to check out is the split day's type of jobs, especially in >>the civil service >>In other words you get a partner and one works 2 days, the other 3 days. >>My sisterinlaw did this in her government department in Alberta so >>people could attend university. >>during the day. She is in charge of HR. Wouldn't work for engineers they >>have 40 class hours a week, >>but arts generally have less then 20 hours. Now she is getting request >>from women with autistic kids etc. >>She calls the programmers doing this extreme programmers with some lag. >>The participants set up there own internal blog to keep track of what is >>happening. >> >>Roz Clarke wrote: >> >> >> >>>Well remembered John, I will do >>> >>>:) >>> >>>-----Original Message----- >>>From: Johncliviger at aol.com [mailto:Johncliviger at aol.com] >>>Sent: 24 August 2005 12:24 >>>To: accessd at databaseadvisors.com >>>Subject: Re: [AccessD] Change of circumstances >>> >>> >>>Roz >>> >>>I think your are in the Manchester, England area, if I'm right email me a >>>cv >>>at _databaseuk at aol.com_ (mailto:databaseuk at aol.com) >>> >>>John >>> >>> >>> >>> >>> >>> >>> >>> >>-- >>Marty Connelly >>Victoria, B.C. >>Canada >> >> >> >>-- >>AccessD mailing list >>AccessD at databaseadvisors.com >>http://databaseadvisors.com/mailman/listinfo/accessd >>Website: http://www.databaseadvisors.com >> >> >> > > > > > > > > > > >___________________________________________________________ >Yahoo! Messenger - NEW crystal clear PC to PC calling worldwide with voicemail http://uk.messenger.yahoo.com > > -- Marty Connelly Victoria, B.C. Canada From Lambert.Heenan at AIG.com Thu Aug 25 14:00:33 2005 From: Lambert.Heenan at AIG.com (Heenan, Lambert) Date: Thu, 25 Aug 2005 15:00:33 -0400 Subject: [AccessD] OT: Zip files (was Logic issue) Message-ID: <1D7828CDB8350747AFE9D69E0E90DA1F14EA4297@xlivmbx21.aig.com> Interesting. I *think* I understand what you mean by "The compression algorithm of the ZIP alters that signature stream.": i.e. if you just scan the bytes that make up the zip file you will not see the signature. But my organization runs scanning s/w that unzips the zip file to check the contents, and it does this at a fairly deep level. For example, .exe files are blocked, and Zip files are not. But if you try to send a Zip file that contains an EXE file, that will be blocked. In addition, if you rename the EXE before adding it to the ZIP file it will *still* get blocked because the scanning s/w looks at the (renamed) EXE file and sees its signature first few bytes and detects the EXE that way. I confess I have not heard of any code being executed as a result of unzipping a ZIP file (with the exception of unzip tools like Winzip which will detect a setup.exe or a .msi file and will offer to run the install routine). Lambert -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Jim Lawrence Sent: Thursday, August 25, 2005 1:26 PM To: 'Access Developers discussion and problem solving' Subject: RE: [AccessD] OT: Zip files (was Logic issue) Hi Lambert: In theory virus can be hidden within a ZIP file and virus scanning programs can not see them as a signature stream of values are required for virus identification. The compression algorithm of the ZIP alters that signature stream. Also some tricky code within a so called ZIP file can activate in the process of unzipping the ZIP file. But that can always be got around by simply sending your ZIP file named like MYZipFile.ZIP.txt. When on one contract this technique was used by the local IT people to slip ZIP files through the filters and then the first dot and extension were removed. The ZIP files were then unzipped in isolation and tested before being introduced on LAN A little paranoid? You bet but at one government office, a couple of years ago, a BlasterWorm got in through a similar method and the result was that a couple of Ministries were down off and on for the better part of a month. Put a price tag on that incident. My two cents worth Jim -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Heenan, Lambert Sent: Thursday, August 25, 2005 8:58 AM To: 'Access Developers discussion and problem solving' Subject: RE: [AccessD] OT: Zip files (was Logic issue) IMHO it's caused by IT people who are too paranoid by far. They invest thousands on virus scanning software, keep updating the sig files every 24 hours, but in the end they don't trust it to weed out the viruses coming at them via ZIP files. Rather than scanning the contents of ZIP files they blindly block them. Also, don't the realize that most (All?) antivirus programs can be set to scan files when they are opened and or written to disk? So even if a zip file does have a virus, the anti-virus package should kill it. Lambert -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Charlotte Foust Sent: Thursday, August 25, 2005 11:21 AM To: Access Developers discussion and problem solving Subject: RE: [AccessD] OT: Zip files (was Logic issue) Does anyone know what the logic is for blocking zip files? I run into this occasionally and it drives me nuts! You zip files to avoid the filters that won't accept an mdb, etc., and then you run into filters that won't accept the zip files. Oops, Catch-22. That drumming you hear is my head pounding against the wall .... Charlotte Foust -----Original Message----- From: John Clark [mailto:John.Clark at niagaracounty.com] Sent: Thursday, August 25, 2005 5:08 AM To: accessd at databaseadvisors.com Subject: RE: [AccessD] Logic issue Yes Frank, I always like to checkout someone's ideas...I learn so much more than any book can teach. My address is john.clark at niagaracounty.com If this is a zip file, change the extention to something like .zp, because we block .zip files. John W. Clark Computer Programmer Niagara County Central Data Processing >>> frank at fhsservices.co.uk 8/24/2005 5:21 PM >>> Here's a different solution! If you have a checkbox for each title or position that can be applicable to each person represented through the database then, on the client form of any of people the list the checkboxes will indicate positives for the applicable option. So, Jack Jones can have the boxes ticked for Defence attorney, prosecuting attorney, Judge etc. etc. The final checkbox (no 9 on my sample) can be set to "Other" and have an associated textbox in the table which will only be displayed it no 9 is ticked and the text will be entered into the open, blank textbox for storage and later retrieval. The trick here is to combine the bit value of each checkbox to obtain a unique value for the combination of boxes ticked. I have a small database of the principle as a working example which I can forward to anybody who would like to see it. The AccessD list is limited to a 30K unit size and will not allow me to attach the sample to this text Kind regards, Frank Hill Kind regards, Frank Hill -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of John Clark Sent: 24 August 2005 18:36 To: accessd at databaseadvisors.com Subject: [AccessD] Logic issue Hi all I am having trouble working out how I want to go about something, and I am hoping somebody here can give me a nudge. It doesn't sound difficult, but I'm running into dead-ends. I am starting to think that I will just have to go ahead and finish up with "whatever" and work around things. I am doing a project for a district attorney's office, and it will basically just keep tabs on everybody that passes through the system. The problem is though that there are "Defendants", defense lawyers, prosecuting lawyers, judges, and victims, and it isn't rare for a single person to cross into multiple lists. And, theoretically, it is possible to be in all lists. For instance there are many prosecuting lawyers that become defense attorneys, and it is not unlikely that one of these attorneys could be a judge in the future. That scenario is very possible, and you can add it that a lawyer is very able to be a victim, and hell, we all know they can be criminals ;) Another scenario that happens very frequently, is that a person is both a defendant and a victim. I don't want the person entering data to scroll through hundreds, and eventually thousands, of names to pick an attorney's name from among the list of everybody else in the system. The idea I am working on presently is to add logical fields for each designation to the table of names. For instances: kNameID txtLastName txtFirstName txtMI txtSuffix logAttorney logADA logJudge logVictim logDefendant If I do this, I will have removed some fields that are currently there, such as: txtAddress1 txtAddress2 txtCity txtSt txtZip txtPhone And, I will put these in another linked table. There may be a need to have multiple addresses for the defendants, so this would be best I think. The problem that I am foreseeing here...I'm not at that point, so my fears could be unfounded...is setting these fields to true and/or false, as needed. Basically, thinking of victims for a minute here, the defendant screen, which will actually be an "Indictment" screen, will have a subform to hold potentially many victims for the indictment. If a victim IS already in the system as something else, I will need to tag that name as a victim and I'm wondering if this will present difficulties. Well, I hope I am being clear enough. If anyone out there has any tips for me, I would greatly appreciate it if you would pass them along. Thank you! John W Clark -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From john at winhaven.net Thu Aug 25 14:03:15 2005 From: john at winhaven.net (John Bartow) Date: Thu, 25 Aug 2005 14:03:15 -0500 Subject: [AccessD] OT: Zip files (was Logic issue) In-Reply-To: <000001c5a9a0$aada9380$0518820a@danwaters> Message-ID: <200508251903.j7PJ3HR00899@databaseadvisors.com> Yes, as long as it has an acceptable extension on it should go through. This is a seriously flawed approach to gateway security but then, there are some seriously flawed gateway admins :o) Although in some instances this is the quick and easy work around, I have changed my practices to send an email which includes instructions to download from my FTP site rather than "fooling" the gateway security scanners. One reason is because they do change the gateway settings now and then. A couple of customers can no longer receive attachments at all. Seems insane... -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Dan Waters Interesting! While I can't send an .mdb file as an attachment, if I change mdb to pdf, then it goes through just fine. Then my customer changes it back to mdb and installs the new objects. Dan Waters From martyconnelly at shaw.ca Thu Aug 25 14:06:48 2005 From: martyconnelly at shaw.ca (MartyConnelly) Date: Thu, 25 Aug 2005 12:06:48 -0700 Subject: [AccessD] Control codes to a printer References: Message-ID: <430E16C8.5030303@shaw.ca> RS232 to TCP/IP Converter There is a trial software for win98 but might be overkill, since it is designed for two way communication. It is $250 http://www.taltech.com/products/tcpcom.html Gustav Brock wrote: >Hi John > >Are you sure you need to do this? >Can't you set the printer to auto cut? > >I've never seen the syntax Stewart presents, neither a method for >sending hex (control) codes to a printer from Access. >However, this page may help you: > >How do I Control an Epson Receipt Printer with Visual Basic? >http://www.posworld.com/eprecprinvis.html > >It demonstrates the use of a special "Control font" which doesn't print >but transforms some chars to some hex code sequences. > >/gustav > > > >>>>jwcolby at colbyconsulting.com 24-08-2005 23:29 >>> >>>> >>>> >I need to send a series of hex characters to an Epson receipt printer >to >execute the cutting. Hex characters are 1d 56 42 20 The printer is >TCP/IP >so I have an IP address stored in a table and hidden in a form that is >open >when the print command is executed. This is a Win98 environment. >Does >anyone already have something similar. > >John W. Colby >www.ColbyConsulting.com > > > -- Marty Connelly Victoria, B.C. Canada From martyconnelly at shaw.ca Thu Aug 25 14:14:52 2005 From: martyconnelly at shaw.ca (MartyConnelly) Date: Thu, 25 Aug 2005 12:14:52 -0700 Subject: [AccessD] OT: Zip files (was Logic issue) References: <0ILS00D8HGFGA5@l-daemon> Message-ID: <430E18AC.6000202@shaw.ca> There used to be an old problem hiding ANSI bombs in ZIP files that executed on opening ZIP files with PKZIP. I still have the code somewhere to do it. But MS patched the ANSI.SYS file. I don't think anyone is still running unpatched DOS 3.2 Jim Lawrence wrote: >Hi Lambert: > >In theory virus can be hidden within a ZIP file and virus scanning programs >can not see them as a signature stream of values are required for virus >identification. The compression algorithm of the ZIP alters that signature >stream. Also some tricky code within a so called ZIP file can activate in >the process of unzipping the ZIP file. > >But that can always be got around by simply sending your ZIP file named like >MYZipFile.ZIP.txt. When on one contract this technique was used by the local >IT people to slip ZIP files through the filters and then the first dot and >extension were removed. The ZIP files were then unzipped in isolation and >tested before being introduced on LAN > >A little paranoid? You bet but at one government office, a couple of years >ago, a BlasterWorm got in through a similar method and the result was that a >couple of Ministries were down off and on for the better part of a month. >Put a price tag on that incident. > >My two cents worth >Jim > >-----Original Message----- >From: accessd-bounces at databaseadvisors.com >[mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Heenan, Lambert >Sent: Thursday, August 25, 2005 8:58 AM >To: 'Access Developers discussion and problem solving' >Subject: RE: [AccessD] OT: Zip files (was Logic issue) > >IMHO it's caused by IT people who are too paranoid by far. They invest >thousands on virus scanning software, keep updating the sig files every 24 >hours, but in the end they don't trust it to weed out the viruses coming at >them via ZIP files. Rather than scanning the contents of ZIP files they >blindly block them. Also, don't the realize that most (All?) antivirus >programs can be set to scan files when they are opened and or written to >disk? So even if a zip file does have a virus, the anti-virus package should >kill it. > >Lambert > >-----Original Message----- >From: accessd-bounces at databaseadvisors.com >[mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Charlotte Foust >Sent: Thursday, August 25, 2005 11:21 AM >To: Access Developers discussion and problem solving >Subject: RE: [AccessD] OT: Zip files (was Logic issue) > > >Does anyone know what the logic is for blocking zip files? I run into this >occasionally and it drives me nuts! You zip files to avoid the filters that >won't accept an mdb, etc., and then you run into filters that won't accept >the zip files. Oops, Catch-22. That drumming you hear is my head pounding >against the wall .... > >Charlotte Foust > > >-----Original Message----- >From: John Clark [mailto:John.Clark at niagaracounty.com] >Sent: Thursday, August 25, 2005 5:08 AM >To: accessd at databaseadvisors.com >Subject: RE: [AccessD] Logic issue > > >Yes Frank, I always like to checkout someone's ideas...I learn so much more >than any book can teach. My address is john.clark at niagaracounty.com > > >If this is a zip file, change the extention to something like .zp, because >we block .zip files. > >John W. Clark >Computer Programmer >Niagara County >Central Data Processing > > > >>>>frank at fhsservices.co.uk 8/24/2005 5:21 PM >>> >>>> >>>> >Here's a different solution! >If you have a checkbox for each title or position that can be applicable to >each person represented through the database then, on the client form of any >of people the list the checkboxes will indicate positives for the applicable >option. So, Jack Jones can have the boxes ticked for Defence attorney, >prosecuting attorney, Judge etc. etc. The final checkbox (no 9 on my sample) >can be set to "Other" and have an associated textbox in the table which will >only be displayed it no 9 is ticked and the text will be entered into the >open, blank textbox for storage and later retrieval. The trick here is to >combine the bit value of each checkbox to obtain a unique value for the >combination of boxes ticked. I have a small database of the principle as a >working example which I can forward to anybody who would like to see it. The >AccessD list is limited to a 30K unit size and will not allow me to attach >the sample to this text > >Kind regards, > >Frank Hill > >Kind regards, > >Frank Hill > > > >-----Original Message----- >From: accessd-bounces at databaseadvisors.com >[mailto:accessd-bounces at databaseadvisors.com] On Behalf Of John Clark >Sent: 24 August 2005 18:36 >To: accessd at databaseadvisors.com >Subject: [AccessD] Logic issue > >Hi all > >I am having trouble working out how I want to go about something, and I am >hoping somebody here can give me a nudge. It doesn't sound difficult, but >I'm running into dead-ends. I am starting to think that I will just have to >go ahead and finish up with "whatever" and work around things. > >I am doing a project for a district attorney's office, and it will basically >just keep tabs on everybody that passes through the system. The problem is >though that there are "Defendants", defense lawyers, prosecuting lawyers, >judges, and victims, and it isn't rare for a single person to cross into >multiple lists. And, theoretically, it is possible to be in all lists. For >instance there are many prosecuting lawyers that become defense attorneys, >and it is not unlikely that one of these attorneys could be a judge in the >future. That scenario is very possible, and you can add it that a lawyer is >very able to be a victim, and hell, we all know they can be criminals ;) >Another scenario that happens very frequently, is that a person is both a >defendant and a victim. > >I don't want the person entering data to scroll through hundreds, and >eventually thousands, of names to pick an attorney's name from among the >list of everybody else in the system. > >The idea I am working on presently is to add logical fields for each >designation to the table of names. For instances: > >kNameID >txtLastName >txtFirstName >txtMI >txtSuffix >logAttorney >logADA >logJudge >logVictim >logDefendant > >If I do this, I will have removed some fields that are currently there, such >as: > >txtAddress1 >txtAddress2 >txtCity >txtSt >txtZip >txtPhone > >And, I will put these in another linked table. There may be a need to have >multiple addresses for the defendants, so this would be best I think. > >The problem that I am foreseeing here...I'm not at that point, so my fears >could be unfounded...is setting these fields to true and/or false, as >needed. Basically, thinking of victims for a minute here, the defendant >screen, which will actually be an "Indictment" screen, will have a subform >to hold potentially many victims for the indictment. If a victim IS already >in the system as something else, I will need to tag that name as a victim >and I'm wondering if this will present difficulties. > >Well, I hope I am being clear enough. If anyone out there has any tips for >me, I would greatly appreciate it if you would pass them along. > >Thank you! > >John W Clark > > -- Marty Connelly Victoria, B.C. Canada From prodevmg at yahoo.com Thu Aug 25 14:21:11 2005 From: prodevmg at yahoo.com (Lonnie Johnson) Date: Thu, 25 Aug 2005 12:21:11 -0700 (PDT) Subject: [AccessD] How to find missing DLL's Message-ID: <20050825192111.45705.qmail@web33105.mail.mud.yahoo.com> I created a database for a friend that gets data from an excel file. I added two references... 1. Microsoft Excel 10.0 Object Libray (for apparent reasons for my statement above) 2. Microsoft Office 10.0 Object Libray (in order to show a Open File Dialog Box to allow them to pick the excel file to pull into the app) He does not have these references on his machine. Should he re-install MS Access, the entire MS Office or get the DLL's from somewhere and put them on his machine? If he needs to get them and put them on, what does he get? I cannot see the actual file name because the path is too long in the references box. Thanks. May God bless you beyond your imagination! Lonnie Johnson ProDev, Professional Development of MS Access Databases Visit me at ==> http://www.prodev.us --------------------------------- Start your day with Yahoo! - make it your home page From accessd at shaw.ca Thu Aug 25 14:23:54 2005 From: accessd at shaw.ca (Jim Lawrence) Date: Thu, 25 Aug 2005 12:23:54 -0700 Subject: [AccessD] OT: Zip files (was Logic issue) In-Reply-To: <1D7828CDB8350747AFE9D69E0E90DA1F14EA4297@xlivmbx21.aig.com> Message-ID: <0ILS0095TLVTAW@l-daemon> Hi Lambert: Within a ZIP file there is a header that stores the file names, uncompressed file size, what type of compression method was used, and a pointer to the file location within the zip. As far as I know this header is not really compressed so that an Unzip routine can quickly scan for initial setup and gives a user the option of selecting which file(s) to extract. My preference is to use the RAR compression program. It is like Winzip in that it is free for the standard version but has options that allow a much higher level of compression, can compress whole hard drives, with its lower profile has not as of yet had its format hacked and passes through email filters without issue. (http://www.win-rar.com) My four cents worth Jim -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Heenan, Lambert Sent: Thursday, August 25, 2005 12:01 PM To: 'Access Developers discussion and problem solving' Subject: RE: [AccessD] OT: Zip files (was Logic issue) Interesting. I *think* I understand what you mean by "The compression algorithm of the ZIP alters that signature stream.": i.e. if you just scan the bytes that make up the zip file you will not see the signature. But my organization runs scanning s/w that unzips the zip file to check the contents, and it does this at a fairly deep level. For example, .exe files are blocked, and Zip files are not. But if you try to send a Zip file that contains an EXE file, that will be blocked. In addition, if you rename the EXE before adding it to the ZIP file it will *still* get blocked because the scanning s/w looks at the (renamed) EXE file and sees its signature first few bytes and detects the EXE that way. I confess I have not heard of any code being executed as a result of unzipping a ZIP file (with the exception of unzip tools like Winzip which will detect a setup.exe or a .msi file and will offer to run the install routine). Lambert -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Jim Lawrence Sent: Thursday, August 25, 2005 1:26 PM To: 'Access Developers discussion and problem solving' Subject: RE: [AccessD] OT: Zip files (was Logic issue) Hi Lambert: In theory virus can be hidden within a ZIP file and virus scanning programs can not see them as a signature stream of values are required for virus identification. The compression algorithm of the ZIP alters that signature stream. Also some tricky code within a so called ZIP file can activate in the process of unzipping the ZIP file. But that can always be got around by simply sending your ZIP file named like MYZipFile.ZIP.txt. When on one contract this technique was used by the local IT people to slip ZIP files through the filters and then the first dot and extension were removed. The ZIP files were then unzipped in isolation and tested before being introduced on LAN A little paranoid? You bet but at one government office, a couple of years ago, a BlasterWorm got in through a similar method and the result was that a couple of Ministries were down off and on for the better part of a month. Put a price tag on that incident. My two cents worth Jim -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Heenan, Lambert Sent: Thursday, August 25, 2005 8:58 AM To: 'Access Developers discussion and problem solving' Subject: RE: [AccessD] OT: Zip files (was Logic issue) IMHO it's caused by IT people who are too paranoid by far. They invest thousands on virus scanning software, keep updating the sig files every 24 hours, but in the end they don't trust it to weed out the viruses coming at them via ZIP files. Rather than scanning the contents of ZIP files they blindly block them. Also, don't the realize that most (All?) antivirus programs can be set to scan files when they are opened and or written to disk? So even if a zip file does have a virus, the anti-virus package should kill it. Lambert -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Charlotte Foust Sent: Thursday, August 25, 2005 11:21 AM To: Access Developers discussion and problem solving Subject: RE: [AccessD] OT: Zip files (was Logic issue) Does anyone know what the logic is for blocking zip files? I run into this occasionally and it drives me nuts! You zip files to avoid the filters that won't accept an mdb, etc., and then you run into filters that won't accept the zip files. Oops, Catch-22. That drumming you hear is my head pounding against the wall .... Charlotte Foust -----Original Message----- From: John Clark [mailto:John.Clark at niagaracounty.com] Sent: Thursday, August 25, 2005 5:08 AM To: accessd at databaseadvisors.com Subject: RE: [AccessD] Logic issue Yes Frank, I always like to checkout someone's ideas...I learn so much more than any book can teach. My address is john.clark at niagaracounty.com If this is a zip file, change the extention to something like .zp, because we block .zip files. John W. Clark Computer Programmer Niagara County Central Data Processing >>> frank at fhsservices.co.uk 8/24/2005 5:21 PM >>> Here's a different solution! If you have a checkbox for each title or position that can be applicable to each person represented through the database then, on the client form of any of people the list the checkboxes will indicate positives for the applicable option. So, Jack Jones can have the boxes ticked for Defence attorney, prosecuting attorney, Judge etc. etc. The final checkbox (no 9 on my sample) can be set to "Other" and have an associated textbox in the table which will only be displayed it no 9 is ticked and the text will be entered into the open, blank textbox for storage and later retrieval. The trick here is to combine the bit value of each checkbox to obtain a unique value for the combination of boxes ticked. I have a small database of the principle as a working example which I can forward to anybody who would like to see it. The AccessD list is limited to a 30K unit size and will not allow me to attach the sample to this text Kind regards, Frank Hill Kind regards, Frank Hill -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of John Clark Sent: 24 August 2005 18:36 To: accessd at databaseadvisors.com Subject: [AccessD] Logic issue Hi all I am having trouble working out how I want to go about something, and I am hoping somebody here can give me a nudge. It doesn't sound difficult, but I'm running into dead-ends. I am starting to think that I will just have to go ahead and finish up with "whatever" and work around things. I am doing a project for a district attorney's office, and it will basically just keep tabs on everybody that passes through the system. The problem is though that there are "Defendants", defense lawyers, prosecuting lawyers, judges, and victims, and it isn't rare for a single person to cross into multiple lists. And, theoretically, it is possible to be in all lists. For instance there are many prosecuting lawyers that become defense attorneys, and it is not unlikely that one of these attorneys could be a judge in the future. That scenario is very possible, and you can add it that a lawyer is very able to be a victim, and hell, we all know they can be criminals ;) Another scenario that happens very frequently, is that a person is both a defendant and a victim. I don't want the person entering data to scroll through hundreds, and eventually thousands, of names to pick an attorney's name from among the list of everybody else in the system. The idea I am working on presently is to add logical fields for each designation to the table of names. For instances: kNameID txtLastName txtFirstName txtMI txtSuffix logAttorney logADA logJudge logVictim logDefendant If I do this, I will have removed some fields that are currently there, such as: txtAddress1 txtAddress2 txtCity txtSt txtZip txtPhone And, I will put these in another linked table. There may be a need to have multiple addresses for the defendants, so this would be best I think. The problem that I am foreseeing here...I'm not at that point, so my fears could be unfounded...is setting these fields to true and/or false, as needed. Basically, thinking of victims for a minute here, the defendant screen, which will actually be an "Indictment" screen, will have a subform to hold potentially many victims for the indictment. If a victim IS already in the system as something else, I will need to tag that name as a victim and I'm wondering if this will present difficulties. Well, I hope I am being clear enough. If anyone out there has any tips for me, I would greatly appreciate it if you would pass them along. Thank you! John W Clark -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From john at winhaven.net Thu Aug 25 14:30:57 2005 From: john at winhaven.net (John Bartow) Date: Thu, 25 Aug 2005 14:30:57 -0500 Subject: [AccessD] OT: Zip files (was Logic issue) In-Reply-To: <430E18AC.6000202@shaw.ca> Message-ID: <200508251931.j7PJV0R07977@databaseadvisors.com> LOL! Well, maybe some of the governments units around here are! I have govt. client that has to keep a win9x PC around because one of the apps they have to use will not run on WinXP and the agency that publishes it laid off all programers (and won't pay for a contractor) so they can't upgrade it to work on WinXP. -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of MartyConnelly I don't think anyone is still running unpatched DOS 3.2 From jwcolby at colbyconsulting.com Thu Aug 25 14:36:05 2005 From: jwcolby at colbyconsulting.com (John W. Colby) Date: Thu, 25 Aug 2005 15:36:05 -0400 Subject: [AccessD] How to find missing DLL's In-Reply-To: <20050825192111.45705.qmail@web33105.mail.mud.yahoo.com> Message-ID: <01f401c5a9ac$419c0460$6c7aa8c0@ColbyM6805> Use late binding instead. Dim your objects object instead of excel.sheet etc. John W. Colby www.ColbyConsulting.com Contribute your unused CPU cycles to a good cause: http://folding.stanford.edu/ -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Lonnie Johnson Sent: Thursday, August 25, 2005 3:21 PM To: AccessD solving' Subject: [AccessD] How to find missing DLL's I created a database for a friend that gets data from an excel file. I added two references... 1. Microsoft Excel 10.0 Object Libray (for apparent reasons for my statement above) 2. Microsoft Office 10.0 Object Libray (in order to show a Open File Dialog Box to allow them to pick the excel file to pull into the app) He does not have these references on his machine. Should he re-install MS Access, the entire MS Office or get the DLL's from somewhere and put them on his machine? If he needs to get them and put them on, what does he get? I cannot see the actual file name because the path is too long in the references box. Thanks. May God bless you beyond your imagination! Lonnie Johnson ProDev, Professional Development of MS Access Databases Visit me at ==> http://www.prodev.us --------------------------------- Start your day with Yahoo! - make it your home page -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From john at winhaven.net Thu Aug 25 14:40:27 2005 From: john at winhaven.net (John Bartow) Date: Thu, 25 Aug 2005 14:40:27 -0500 Subject: [AccessD] OT: Zip files (was Logic issue) In-Reply-To: <1D7828CDB8350747AFE9D69E0E90DA1F14EA4297@xlivmbx21.aig.com> Message-ID: <200508251940.j7PJeTR10739@databaseadvisors.com> Winzip (like many zip tools) can call the installed AV program to scan on decompression, which should eliminate this issue. -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Heenan, Lambert I confess I have not heard of any code being executed as a result of unzipping a ZIP file (with the exception of unzip tools like Winzip which will detect a setup.exe or a .msi file and will offer to run the install routine). Lambert From john at winhaven.net Thu Aug 25 14:40:27 2005 From: john at winhaven.net (John Bartow) Date: Thu, 25 Aug 2005 14:40:27 -0500 Subject: [AccessD] OT: Zip files (was Logic issue) In-Reply-To: <1D7828CDB8350747AFE9D69E0E90DA1F14EA4297@xlivmbx21.aig.com> Message-ID: <200508251940.j7PJeUR10745@databaseadvisors.com> Which is the correct manner of scanning and hence my switch to ftp instructions, but your shop is ahead of the curve on this. -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Heenan, Lambert But if you try to send a Zip file that contains an EXE file, that will be blocked. In addition, if you rename the EXE before adding it to the ZIP file it will *still* get blocked because the scanning s/w looks at the (renamed) EXE file and sees its signature first few bytes and detects the EXE that way. From mikedorism at verizon.net Thu Aug 25 14:49:57 2005 From: mikedorism at verizon.net (Mike & Doris Manning) Date: Thu, 25 Aug 2005 15:49:57 -0400 Subject: [AccessD] How to find missing DLL's In-Reply-To: <20050825192111.45705.qmail@web33105.mail.mud.yahoo.com> Message-ID: <000001c5a9ae$2ca6f4f0$2e01a8c0@dorismanning> It sounds like they have a lower or higher version of Office. The easiest way around this is not to use references and do late binding using "CreateObject" and "GetObject". Doris Manning mikedorism at verizon.net From prodevmg at yahoo.com Thu Aug 25 15:03:47 2005 From: prodevmg at yahoo.com (Lonnie Johnson) Date: Thu, 25 Aug 2005 13:03:47 -0700 (PDT) Subject: [AccessD] How to find missing DLL's In-Reply-To: <000001c5a9ae$2ca6f4f0$2e01a8c0@dorismanning> Message-ID: <20050825200347.77008.qmail@web33111.mail.mud.yahoo.com> Thanks Doris, That works for the Excel issue but how do I apply this to number two? 1. Microsoft Excel 10.0 Object Libray (for apparent reasons for my statement above) 2. Microsoft Office 10.0 Object Libray (in order to show a Open File Dialog Box to allow them to pick the excel file to pull into the app) Thanks. Mike & Doris Manning wrote: It sounds like they have a lower or higher version of Office. The easiest way around this is not to use references and do late binding using "CreateObject" and "GetObject". Doris Manning mikedorism at verizon.net -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com May God bless you beyond your imagination! Lonnie Johnson ProDev, Professional Development of MS Access Databases Visit me at ==> http://www.prodev.us __________________________________________________ Do You Yahoo!? Tired of spam? Yahoo! Mail has the best spam protection around http://mail.yahoo.com From Lambert.Heenan at AIG.com Thu Aug 25 15:12:38 2005 From: Lambert.Heenan at AIG.com (Heenan, Lambert) Date: Thu, 25 Aug 2005 16:12:38 -0400 Subject: [AccessD] OT: Zip files (was Logic issue) Message-ID: <1D7828CDB8350747AFE9D69E0E90DA1F14EA42F4@xlivmbx21.aig.com> I totally agree. If you are going to the trouble of scanning zip file contents it makes no sense at all to rely on the file extensions. But even my shop's method has a gaping hole. If the zip file has encrypted files in it the scanner gives up, adds a message to the effect that the file was not scanned and passes it on to the intended recipient. Not such a good idea. Lambert -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of John Bartow Sent: Thursday, August 25, 2005 3:40 PM To: 'Access Developers discussion and problem solving' Subject: RE: [AccessD] OT: Zip files (was Logic issue) Which is the correct manner of scanning and hence my switch to ftp instructions, but your shop is ahead of the curve on this. -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Heenan, Lambert But if you try to send a Zip file that contains an EXE file, that will be blocked. In addition, if you rename the EXE before adding it to the ZIP file it will *still* get blocked because the scanning s/w looks at the (renamed) EXE file and sees its signature first few bytes and detects the EXE that way. -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From martyconnelly at shaw.ca Thu Aug 25 15:27:19 2005 From: martyconnelly at shaw.ca (MartyConnelly) Date: Thu, 25 Aug 2005 13:27:19 -0700 Subject: [AccessD] How to find missing DLL's References: <20050825192111.45705.qmail@web33105.mail.mud.yahoo.com> Message-ID: <430E29A7.5090002@shaw.ca> What version of Office is he running, if 2000 replace reference 10.0 with 9.0 or if 2003 10.0 with 11.0 versions. Did he do a full install of Office or a selective one. ie. installed access but skipped excel or parts thereof. Also if using Dim objFD As Office.FileDialog Set objFD = Application.FileDialog(msoFile?DialogFolderPicker) This wont run in Access 2000 and I think in 2002 MDE Replacing the dll's is very iffy because they may need a cascade of other dll's to function If all else fails you can use the open file dialog api calls from www.mvps.org/access and read the excel file via ado or late binding calls Lonnie Johnson wrote: >I created a database for a friend that gets data from an excel file. > >I added two references... > >1. Microsoft Excel 10.0 Object Libray (for apparent reasons for my statement above) >2. Microsoft Office 10.0 Object Libray (in order to show a Open File Dialog Box to allow them to pick the excel file to pull into the app) > >He does not have these references on his machine. Should he re-install MS Access, the entire MS Office or get the DLL's from somewhere and put them on his machine? If he needs to get them and put them on, what does he get? I cannot see the actual file name because the path is too long in the references box. > >Thanks. > > > >May God bless you beyond your imagination! >Lonnie Johnson >ProDev, Professional Development of MS Access Databases >Visit me at ==> http://www.prodev.us > > > > > > > > > > > > >--------------------------------- > Start your day with Yahoo! - make it your home page > > -- Marty Connelly Victoria, B.C. Canada From prodevmg at yahoo.com Thu Aug 25 15:56:54 2005 From: prodevmg at yahoo.com (Lonnie Johnson) Date: Thu, 25 Aug 2005 13:56:54 -0700 (PDT) Subject: [AccessD] How to find missing DLL's In-Reply-To: <430E29A7.5090002@shaw.ca> Message-ID: <20050825205654.23463.qmail@web33110.mail.mud.yahoo.com> Thanks Marty!!! The "If all else fails..." option is the one I chose. Thanks again. MartyConnelly wrote: What version of Office is he running, if 2000 replace reference 10.0 with 9.0 or if 2003 10.0 with 11.0 versions. Did he do a full install of Office or a selective one. ie. installed access but skipped excel or parts thereof. Also if using Dim objFD As Office.FileDialog Set objFD = Application.FileDialog(msoFile­DialogFolderPicker) This wont run in Access 2000 and I think in 2002 MDE Replacing the dll's is very iffy because they may need a cascade of other dll's to function If all else fails you can use the open file dialog api calls from www.mvps.org/access and read the excel file via ado or late binding calls Lonnie Johnson wrote: >I created a database for a friend that gets data from an excel file. > >I added two references... > >1. Microsoft Excel 10.0 Object Libray (for apparent reasons for my statement above) >2. Microsoft Office 10.0 Object Libray (in order to show a Open File Dialog Box to allow them to pick the excel file to pull into the app) > >He does not have these references on his machine. Should he re-install MS Access, the entire MS Office or get the DLL's from somewhere and put them on his machine? If he needs to get them and put them on, what does he get? I cannot see the actual file name because the path is too long in the references box. > >Thanks. > > > >May God bless you beyond your imagination! >Lonnie Johnson >ProDev, Professional Development of MS Access Databases >Visit me at ==> http://www.prodev.us > > > > > > > > > > > > >--------------------------------- > Start your day with Yahoo! - make it your home page > > -- Marty Connelly Victoria, B.C. Canada -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com May God bless you beyond your imagination! Lonnie Johnson ProDev, Professional Development of MS Access Databases Visit me at ==> http://www.prodev.us __________________________________________________ Do You Yahoo!? Tired of spam? Yahoo! Mail has the best spam protection around http://mail.yahoo.com From stuart at lexacorp.com.pg Thu Aug 25 16:18:01 2005 From: stuart at lexacorp.com.pg (Stuart McLachlan) Date: Fri, 26 Aug 2005 07:18:01 +1000 Subject: [AccessD] Field Sizes In-Reply-To: Message-ID: <430EC229.20195.713431B@stuart.lexacorp.com.pg> On 25 Aug 2005 at 11:27, John Clark wrote: > I've got bigger problems right now, but I've meant to ask something > forever and...well...today is the day, I guess. What do y'all use for > standard sizes for typical text fields, such as Last Name, First Name, > Address, City, etc.? Is there a "common practice rule" concerning this? > We've had this discussion before 255 characters. Access doesn't use fixed length storage for strings and you don't save any space by defining text fields as less than the maximum allowable. I change the default field size for text strings to 255 in Options and never change it for individual filed definitions. All that restricting field sizes does for you is increase the risk of truncating data or throwing up error messages at the user sometime in the future. -- Stuart From cfoust at infostatsystems.com Thu Aug 25 16:50:55 2005 From: cfoust at infostatsystems.com (Charlotte Foust) Date: Thu, 25 Aug 2005 14:50:55 -0700 Subject: [AccessD] Field Sizes Message-ID: We may have discussed it before, but that doesn't mean we all agreed! I object to 255 because in prior versions of Access I ran into problems of "query too complex" when all the query fields were 255 because they inherited the table widths. If you don't want to save 255 characters in a field, there is absolutely no point in making the field that wide! So, there!! (Let the flames begin .... ) Charlotte Foust -----Original Message----- From: Stuart McLachlan [mailto:stuart at lexacorp.com.pg] Sent: Thursday, August 25, 2005 2:18 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Field Sizes On 25 Aug 2005 at 11:27, John Clark wrote: > I've got bigger problems right now, but I've meant to ask something > forever and...well...today is the day, I guess. What do y'all use for > standard sizes for typical text fields, such as Last Name, First Name, > Address, City, etc.? Is there a "common practice rule" concerning > this? > We've had this discussion before 255 characters. Access doesn't use fixed length storage for strings and you don't save any space by defining text fields as less than the maximum allowable. I change the default field size for text strings to 255 in Options and never change it for individual filed definitions. All that restricting field sizes does for you is increase the risk of truncating data or throwing up error messages at the user sometime in the future. -- Stuart -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From cfoust at infostatsystems.com Thu Aug 25 16:58:11 2005 From: cfoust at infostatsystems.com (Charlotte Foust) Date: Thu, 25 Aug 2005 14:58:11 -0700 Subject: [AccessD] OT: Zip files (was Logic issue) Message-ID: Actually, putting a couple of Ministries (or Federal Departments in the US) out of action for the better part of a month might lead to more sanity in government and THAT would be priceless!! ;-} I have to disagree with you though. My AV at work and a different one at home happily scan zip files and the active components of those AV programs prevent nasties from executing when you unzip the file. The MyZipFile.Zip.txt route was a virus workaround which had nothing to do with the actual format of the file involved but led people who had hidden know file extensions thinking they were dealing with a zip file or vice versa. Most gateways that I encounter these days don't let multiple extensions through. Charlotte Foust -----Original Message----- From: Jim Lawrence [mailto:accessd at shaw.ca] Sent: Thursday, August 25, 2005 10:26 AM To: 'Access Developers discussion and problem solving' Subject: RE: [AccessD] OT: Zip files (was Logic issue) Hi Lambert: In theory virus can be hidden within a ZIP file and virus scanning programs can not see them as a signature stream of values are required for virus identification. The compression algorithm of the ZIP alters that signature stream. Also some tricky code within a so called ZIP file can activate in the process of unzipping the ZIP file. But that can always be got around by simply sending your ZIP file named like MYZipFile.ZIP.txt. When on one contract this technique was used by the local IT people to slip ZIP files through the filters and then the first dot and extension were removed. The ZIP files were then unzipped in isolation and tested before being introduced on LAN A little paranoid? You bet but at one government office, a couple of years ago, a BlasterWorm got in through a similar method and the result was that a couple of Ministries were down off and on for the better part of a month. Put a price tag on that incident. My two cents worth Jim -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Heenan, Lambert Sent: Thursday, August 25, 2005 8:58 AM To: 'Access Developers discussion and problem solving' Subject: RE: [AccessD] OT: Zip files (was Logic issue) IMHO it's caused by IT people who are too paranoid by far. They invest thousands on virus scanning software, keep updating the sig files every 24 hours, but in the end they don't trust it to weed out the viruses coming at them via ZIP files. Rather than scanning the contents of ZIP files they blindly block them. Also, don't the realize that most (All?) antivirus programs can be set to scan files when they are opened and or written to disk? So even if a zip file does have a virus, the anti-virus package should kill it. Lambert -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Charlotte Foust Sent: Thursday, August 25, 2005 11:21 AM To: Access Developers discussion and problem solving Subject: RE: [AccessD] OT: Zip files (was Logic issue) Does anyone know what the logic is for blocking zip files? I run into this occasionally and it drives me nuts! You zip files to avoid the filters that won't accept an mdb, etc., and then you run into filters that won't accept the zip files. Oops, Catch-22. That drumming you hear is my head pounding against the wall .... Charlotte Foust -----Original Message----- From: John Clark [mailto:John.Clark at niagaracounty.com] Sent: Thursday, August 25, 2005 5:08 AM To: accessd at databaseadvisors.com Subject: RE: [AccessD] Logic issue Yes Frank, I always like to checkout someone's ideas...I learn so much more than any book can teach. My address is john.clark at niagaracounty.com If this is a zip file, change the extention to something like .zp, because we block .zip files. John W. Clark Computer Programmer Niagara County Central Data Processing >>> frank at fhsservices.co.uk 8/24/2005 5:21 PM >>> Here's a different solution! If you have a checkbox for each title or position that can be applicable to each person represented through the database then, on the client form of any of people the list the checkboxes will indicate positives for the applicable option. So, Jack Jones can have the boxes ticked for Defence attorney, prosecuting attorney, Judge etc. etc. The final checkbox (no 9 on my sample) can be set to "Other" and have an associated textbox in the table which will only be displayed it no 9 is ticked and the text will be entered into the open, blank textbox for storage and later retrieval. The trick here is to combine the bit value of each checkbox to obtain a unique value for the combination of boxes ticked. I have a small database of the principle as a working example which I can forward to anybody who would like to see it. The AccessD list is limited to a 30K unit size and will not allow me to attach the sample to this text Kind regards, Frank Hill Kind regards, Frank Hill -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of John Clark Sent: 24 August 2005 18:36 To: accessd at databaseadvisors.com Subject: [AccessD] Logic issue Hi all I am having trouble working out how I want to go about something, and I am hoping somebody here can give me a nudge. It doesn't sound difficult, but I'm running into dead-ends. I am starting to think that I will just have to go ahead and finish up with "whatever" and work around things. I am doing a project for a district attorney's office, and it will basically just keep tabs on everybody that passes through the system. The problem is though that there are "Defendants", defense lawyers, prosecuting lawyers, judges, and victims, and it isn't rare for a single person to cross into multiple lists. And, theoretically, it is possible to be in all lists. For instance there are many prosecuting lawyers that become defense attorneys, and it is not unlikely that one of these attorneys could be a judge in the future. That scenario is very possible, and you can add it that a lawyer is very able to be a victim, and hell, we all know they can be criminals ;) Another scenario that happens very frequently, is that a person is both a defendant and a victim. I don't want the person entering data to scroll through hundreds, and eventually thousands, of names to pick an attorney's name from among the list of everybody else in the system. The idea I am working on presently is to add logical fields for each designation to the table of names. For instances: kNameID txtLastName txtFirstName txtMI txtSuffix logAttorney logADA logJudge logVictim logDefendant If I do this, I will have removed some fields that are currently there, such as: txtAddress1 txtAddress2 txtCity txtSt txtZip txtPhone And, I will put these in another linked table. There may be a need to have multiple addresses for the defendants, so this would be best I think. The problem that I am foreseeing here...I'm not at that point, so my fears could be unfounded...is setting these fields to true and/or false, as needed. Basically, thinking of victims for a minute here, the defendant screen, which will actually be an "Indictment" screen, will have a subform to hold potentially many victims for the indictment. If a victim IS already in the system as something else, I will need to tag that name as a victim and I'm wondering if this will present difficulties. Well, I hope I am being clear enough. If anyone out there has any tips for me, I would greatly appreciate it if you would pass them along. Thank you! John W Clark -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd 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 Aug 25 16:59:30 2005 From: cfoust at infostatsystems.com (Charlotte Foust) Date: Thu, 25 Aug 2005 14:59:30 -0700 Subject: [AccessD] OT: Zip files (was Logic issue) Message-ID: But then you have to know that you are receiving a renamed zip file and should do something with it. An unopened zip file just sits there, regardless of the extension, so what's the point? Charlotte Foust -----Original Message----- From: Elam, Debbie [mailto:DElam at jenkens.com] Sent: Thursday, August 25, 2005 9:09 AM To: 'Access Developers discussion and problem solving' Subject: RE: [AccessD] OT: Zip files (was Logic issue) I know we temporarily block these files and several others. It gives the admins some time to scan before the file is delivered, but it does get delivered. Are you sure these are not getting through at all? If they are never getting through, I have received some files with a differently named extension. Text.zip is renamed to Text.zi and gets through. I must rename it back before I can open it, but it works. Debbie -----Original Message----- From: Heenan, Lambert [mailto:Lambert.Heenan at aig.com] Sent: Thursday, August 25, 2005 10:58 AM To: 'Access Developers discussion and problem solving' Subject: RE: [AccessD] OT: Zip files (was Logic issue) IMHO it's caused by IT people who are too paranoid by far. They invest thousands on virus scanning software, keep updating the sig files every 24 hours, but in the end they don't trust it to weed out the viruses coming at them via ZIP files. Rather than scanning the contents of ZIP files they blindly block them. Also, don't the realize that most (All?) antivirus programs can be set to scan files when they are opened and or written to disk? So even if a zip file does have a virus, the anti-virus package should kill it. Lambert -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Charlotte Foust Sent: Thursday, August 25, 2005 11:21 AM To: Access Developers discussion and problem solving Subject: RE: [AccessD] OT: Zip files (was Logic issue) Does anyone know what the logic is for blocking zip files? I run into this occasionally and it drives me nuts! You zip files to avoid the filters that won't accept an mdb, etc., and then you run into filters that won't accept the zip files. Oops, Catch-22. That drumming you hear is my head pounding against the wall .... Charlotte Foust -----Original Message----- From: John Clark [mailto:John.Clark at niagaracounty.com] Sent: Thursday, August 25, 2005 5:08 AM To: accessd at databaseadvisors.com Subject: RE: [AccessD] Logic issue Yes Frank, I always like to checkout someone's ideas...I learn so much more than any book can teach. My address is john.clark at niagaracounty.com If this is a zip file, change the extention to something like .zp, because we block .zip files. John W. Clark Computer Programmer Niagara County Central Data Processing >>> frank at fhsservices.co.uk 8/24/2005 5:21 PM >>> Here's a different solution! If you have a checkbox for each title or position that can be applicable to each person represented through the database then, on the client form of any of people the list the checkboxes will indicate positives for the applicable option. So, Jack Jones can have the boxes ticked for Defence attorney, prosecuting attorney, Judge etc. etc. The final checkbox (no 9 on my sample) can be set to "Other" and have an associated textbox in the table which will only be displayed it no 9 is ticked and the text will be entered into the open, blank textbox for storage and later retrieval. The trick here is to combine the bit value of each checkbox to obtain a unique value for the combination of boxes ticked. I have a small database of the principle as a working example which I can forward to anybody who would like to see it. The AccessD list is limited to a 30K unit size and will not allow me to attach the sample to this text Kind regards, Frank Hill Kind regards, Frank Hill -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of John Clark Sent: 24 August 2005 18:36 To: accessd at databaseadvisors.com Subject: [AccessD] Logic issue Hi all I am having trouble working out how I want to go about something, and I am hoping somebody here can give me a nudge. It doesn't sound difficult, but I'm running into dead-ends. I am starting to think that I will just have to go ahead and finish up with "whatever" and work around things. I am doing a project for a district attorney's office, and it will basically just keep tabs on everybody that passes through the system. The problem is though that there are "Defendants", defense lawyers, prosecuting lawyers, judges, and victims, and it isn't rare for a single person to cross into multiple lists. And, theoretically, it is possible to be in all lists. For instance there are many prosecuting lawyers that become defense attorneys, and it is not unlikely that one of these attorneys could be a judge in the future. That scenario is very possible, and you can add it that a lawyer is very able to be a victim, and hell, we all know they can be criminals ;) Another scenario that happens very frequently, is that a person is both a defendant and a victim. I don't want the person entering data to scroll through hundreds, and eventually thousands, of names to pick an attorney's name from among the list of everybody else in the system. The idea I am working on presently is to add logical fields for each designation to the table of names. For instances: kNameID txtLastName txtFirstName txtMI txtSuffix logAttorney logADA logJudge logVictim logDefendant If I do this, I will have removed some fields that are currently there, such as: txtAddress1 txtAddress2 txtCity txtSt txtZip txtPhone And, I will put these in another linked table. There may be a need to have multiple addresses for the defendants, so this would be best I think. The problem that I am foreseeing here...I'm not at that point, so my fears could be unfounded...is setting these fields to true and/or false, as needed. Basically, thinking of victims for a minute here, the defendant screen, which will actually be an "Indictment" screen, will have a subform to hold potentially many victims for the indictment. If a victim IS already in the system as something else, I will need to tag that name as a victim and I'm wondering if this will present difficulties. Well, I hope I am being clear enough. If anyone out there has any tips for me, I would greatly appreciate it if you would pass them along. Thank you! John W Clark -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.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. -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From john at winhaven.net Thu Aug 25 17:16:55 2005 From: john at winhaven.net (John Bartow) Date: Thu, 25 Aug 2005 17:16:55 -0500 Subject: [AccessD] OT: Zip files (was Logic issue) In-Reply-To: <1D7828CDB8350747AFE9D69E0E90DA1F14EA42F4@xlivmbx21.aig.com> Message-ID: <200508252216.j7PMGuR17833@databaseadvisors.com> That's a tough one for sure. If policy is to allow encrypted files get through then I would hope that there are still local anti-virus scanners installed on all workstations and that the message that goes with the non-scanned encrypted attachment would instruct the user to update the local virus signature files before opening and decrypting the attachment. About the only other way to handle it is to divert it to a "safe machine" and make the person open it there. That goes over like a lead balloon with mgt. Though. -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Heenan, Lambert I totally agree. If you are going to the trouble of scanning zip file contents it makes no sense at all to rely on the file extensions. But even my shop's method has a gaping hole. If the zip file has encrypted files in it the scanner gives up, adds a message to the effect that the file was not scanned and passes it on to the intended recipient. Not such a good idea. Lambert From accessd at shaw.ca Thu Aug 25 19:11:22 2005 From: accessd at shaw.ca (Jim Lawrence) Date: Thu, 25 Aug 2005 17:11:22 -0700 Subject: [AccessD] OT: Zip files (was Logic issue) In-Reply-To: Message-ID: <0ILS00D16Z6WFT@l-daemon> The issue was that certain people within an organization could not receive ZIP files that held patches that they required for their applications. The method of adding extra extensions or other methods of obfuscation were merely attempts to circumnavigate the hard-wired file-blocking security. Anyone that would received such an attachment with their email would be aware of what the attachment was for and might only need some associated instructions on saving, renaming, scanning and running the file. The extension file blocking is only meant to stop, malicious rouge broadcast ZIP files and gullible users from ever getting together. Jim -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Charlotte Foust Sent: Thursday, August 25, 2005 3:00 PM To: Access Developers discussion and problem solving Subject: RE: [AccessD] OT: Zip files (was Logic issue) But then you have to know that you are receiving a renamed zip file and should do something with it. An unopened zip file just sits there, regardless of the extension, so what's the point? Charlotte Foust -----Original Message----- From: Elam, Debbie [mailto:DElam at jenkens.com] Sent: Thursday, August 25, 2005 9:09 AM To: 'Access Developers discussion and problem solving' Subject: RE: [AccessD] OT: Zip files (was Logic issue) I know we temporarily block these files and several others. It gives the admins some time to scan before the file is delivered, but it does get delivered. Are you sure these are not getting through at all? If they are never getting through, I have received some files with a differently named extension. Text.zip is renamed to Text.zi and gets through. I must rename it back before I can open it, but it works. Debbie -----Original Message----- From: Heenan, Lambert [mailto:Lambert.Heenan at aig.com] Sent: Thursday, August 25, 2005 10:58 AM To: 'Access Developers discussion and problem solving' Subject: RE: [AccessD] OT: Zip files (was Logic issue) IMHO it's caused by IT people who are too paranoid by far. They invest thousands on virus scanning software, keep updating the sig files every 24 hours, but in the end they don't trust it to weed out the viruses coming at them via ZIP files. Rather than scanning the contents of ZIP files they blindly block them. Also, don't the realize that most (All?) antivirus programs can be set to scan files when they are opened and or written to disk? So even if a zip file does have a virus, the anti-virus package should kill it. Lambert -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Charlotte Foust Sent: Thursday, August 25, 2005 11:21 AM To: Access Developers discussion and problem solving Subject: RE: [AccessD] OT: Zip files (was Logic issue) Does anyone know what the logic is for blocking zip files? I run into this occasionally and it drives me nuts! You zip files to avoid the filters that won't accept an mdb, etc., and then you run into filters that won't accept the zip files. Oops, Catch-22. That drumming you hear is my head pounding against the wall .... Charlotte Foust -----Original Message----- From: John Clark [mailto:John.Clark at niagaracounty.com] Sent: Thursday, August 25, 2005 5:08 AM To: accessd at databaseadvisors.com Subject: RE: [AccessD] Logic issue Yes Frank, I always like to checkout someone's ideas...I learn so much more than any book can teach. My address is john.clark at niagaracounty.com If this is a zip file, change the extention to something like .zp, because we block .zip files. John W. Clark Computer Programmer Niagara County Central Data Processing >>> frank at fhsservices.co.uk 8/24/2005 5:21 PM >>> Here's a different solution! If you have a checkbox for each title or position that can be applicable to each person represented through the database then, on the client form of any of people the list the checkboxes will indicate positives for the applicable option. So, Jack Jones can have the boxes ticked for Defence attorney, prosecuting attorney, Judge etc. etc. The final checkbox (no 9 on my sample) can be set to "Other" and have an associated textbox in the table which will only be displayed it no 9 is ticked and the text will be entered into the open, blank textbox for storage and later retrieval. The trick here is to combine the bit value of each checkbox to obtain a unique value for the combination of boxes ticked. I have a small database of the principle as a working example which I can forward to anybody who would like to see it. The AccessD list is limited to a 30K unit size and will not allow me to attach the sample to this text Kind regards, Frank Hill Kind regards, Frank Hill -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of John Clark Sent: 24 August 2005 18:36 To: accessd at databaseadvisors.com Subject: [AccessD] Logic issue Hi all I am having trouble working out how I want to go about something, and I am hoping somebody here can give me a nudge. It doesn't sound difficult, but I'm running into dead-ends. I am starting to think that I will just have to go ahead and finish up with "whatever" and work around things. I am doing a project for a district attorney's office, and it will basically just keep tabs on everybody that passes through the system. The problem is though that there are "Defendants", defense lawyers, prosecuting lawyers, judges, and victims, and it isn't rare for a single person to cross into multiple lists. And, theoretically, it is possible to be in all lists. For instance there are many prosecuting lawyers that become defense attorneys, and it is not unlikely that one of these attorneys could be a judge in the future. That scenario is very possible, and you can add it that a lawyer is very able to be a victim, and hell, we all know they can be criminals ;) Another scenario that happens very frequently, is that a person is both a defendant and a victim. I don't want the person entering data to scroll through hundreds, and eventually thousands, of names to pick an attorney's name from among the list of everybody else in the system. The idea I am working on presently is to add logical fields for each designation to the table of names. For instances: kNameID txtLastName txtFirstName txtMI txtSuffix logAttorney logADA logJudge logVictim logDefendant If I do this, I will have removed some fields that are currently there, such as: txtAddress1 txtAddress2 txtCity txtSt txtZip txtPhone And, I will put these in another linked table. There may be a need to have multiple addresses for the defendants, so this would be best I think. The problem that I am foreseeing here...I'm not at that point, so my fears could be unfounded...is setting these fields to true and/or false, as needed. Basically, thinking of victims for a minute here, the defendant screen, which will actually be an "Indictment" screen, will have a subform to hold potentially many victims for the indictment. If a victim IS already in the system as something else, I will need to tag that name as a victim and I'm wondering if this will present difficulties. Well, I hope I am being clear enough. If anyone out there has any tips for me, I would greatly appreciate it if you would pass them along. Thank you! John W Clark -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.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. -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From accessd at shaw.ca Thu Aug 25 19:21:53 2005 From: accessd at shaw.ca (Jim Lawrence) Date: Thu, 25 Aug 2005 17:21:53 -0700 Subject: [AccessD] OT: Zip files (was Logic issue) In-Reply-To: <1D7828CDB8350747AFE9D69E0E90DA1F14EA4297@xlivmbx21.aig.com> Message-ID: <0ILS00J1WZOG8N@l-daemon> For that matter neither have I. I have indirectly heard it stated that there have been virus hidden in a ZIP file but have never seem one up close. Here is an article on the subject but whether it is just more fear mongering or just a diversion for more blatant user errors is open for debate: http://www.computerworld.com/securitytopics/security/virus/story/0,10801,898 97,00.html Jim -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Heenan, Lambert Sent: Thursday, August 25, 2005 12:01 PM To: 'Access Developers discussion and problem solving' Subject: RE: [AccessD] OT: Zip files (was Logic issue) Interesting. I *think* I understand what you mean by "The compression algorithm of the ZIP alters that signature stream.": i.e. if you just scan the bytes that make up the zip file you will not see the signature. But my organization runs scanning s/w that unzips the zip file to check the contents, and it does this at a fairly deep level. For example, .exe files are blocked, and Zip files are not. But if you try to send a Zip file that contains an EXE file, that will be blocked. In addition, if you rename the EXE before adding it to the ZIP file it will *still* get blocked because the scanning s/w looks at the (renamed) EXE file and sees its signature first few bytes and detects the EXE that way. I confess I have not heard of any code being executed as a result of unzipping a ZIP file (with the exception of unzip tools like Winzip which will detect a setup.exe or a .msi file and will offer to run the install routine). Lambert -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Jim Lawrence Sent: Thursday, August 25, 2005 1:26 PM To: 'Access Developers discussion and problem solving' Subject: RE: [AccessD] OT: Zip files (was Logic issue) Hi Lambert: In theory virus can be hidden within a ZIP file and virus scanning programs can not see them as a signature stream of values are required for virus identification. The compression algorithm of the ZIP alters that signature stream. Also some tricky code within a so called ZIP file can activate in the process of unzipping the ZIP file. But that can always be got around by simply sending your ZIP file named like MYZipFile.ZIP.txt. When on one contract this technique was used by the local IT people to slip ZIP files through the filters and then the first dot and extension were removed. The ZIP files were then unzipped in isolation and tested before being introduced on LAN A little paranoid? You bet but at one government office, a couple of years ago, a BlasterWorm got in through a similar method and the result was that a couple of Ministries were down off and on for the better part of a month. Put a price tag on that incident. My two cents worth Jim -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Heenan, Lambert Sent: Thursday, August 25, 2005 8:58 AM To: 'Access Developers discussion and problem solving' Subject: RE: [AccessD] OT: Zip files (was Logic issue) IMHO it's caused by IT people who are too paranoid by far. They invest thousands on virus scanning software, keep updating the sig files every 24 hours, but in the end they don't trust it to weed out the viruses coming at them via ZIP files. Rather than scanning the contents of ZIP files they blindly block them. Also, don't the realize that most (All?) antivirus programs can be set to scan files when they are opened and or written to disk? So even if a zip file does have a virus, the anti-virus package should kill it. Lambert -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Charlotte Foust Sent: Thursday, August 25, 2005 11:21 AM To: Access Developers discussion and problem solving Subject: RE: [AccessD] OT: Zip files (was Logic issue) Does anyone know what the logic is for blocking zip files? I run into this occasionally and it drives me nuts! You zip files to avoid the filters that won't accept an mdb, etc., and then you run into filters that won't accept the zip files. Oops, Catch-22. That drumming you hear is my head pounding against the wall .... Charlotte Foust -----Original Message----- From: John Clark [mailto:John.Clark at niagaracounty.com] Sent: Thursday, August 25, 2005 5:08 AM To: accessd at databaseadvisors.com Subject: RE: [AccessD] Logic issue Yes Frank, I always like to checkout someone's ideas...I learn so much more than any book can teach. My address is john.clark at niagaracounty.com If this is a zip file, change the extention to something like .zp, because we block .zip files. John W. Clark Computer Programmer Niagara County Central Data Processing >>> frank at fhsservices.co.uk 8/24/2005 5:21 PM >>> Here's a different solution! If you have a checkbox for each title or position that can be applicable to each person represented through the database then, on the client form of any of people the list the checkboxes will indicate positives for the applicable option. So, Jack Jones can have the boxes ticked for Defence attorney, prosecuting attorney, Judge etc. etc. The final checkbox (no 9 on my sample) can be set to "Other" and have an associated textbox in the table which will only be displayed it no 9 is ticked and the text will be entered into the open, blank textbox for storage and later retrieval. The trick here is to combine the bit value of each checkbox to obtain a unique value for the combination of boxes ticked. I have a small database of the principle as a working example which I can forward to anybody who would like to see it. The AccessD list is limited to a 30K unit size and will not allow me to attach the sample to this text Kind regards, Frank Hill Kind regards, Frank Hill -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of John Clark Sent: 24 August 2005 18:36 To: accessd at databaseadvisors.com Subject: [AccessD] Logic issue Hi all I am having trouble working out how I want to go about something, and I am hoping somebody here can give me a nudge. It doesn't sound difficult, but I'm running into dead-ends. I am starting to think that I will just have to go ahead and finish up with "whatever" and work around things. I am doing a project for a district attorney's office, and it will basically just keep tabs on everybody that passes through the system. The problem is though that there are "Defendants", defense lawyers, prosecuting lawyers, judges, and victims, and it isn't rare for a single person to cross into multiple lists. And, theoretically, it is possible to be in all lists. For instance there are many prosecuting lawyers that become defense attorneys, and it is not unlikely that one of these attorneys could be a judge in the future. That scenario is very possible, and you can add it that a lawyer is very able to be a victim, and hell, we all know they can be criminals ;) Another scenario that happens very frequently, is that a person is both a defendant and a victim. I don't want the person entering data to scroll through hundreds, and eventually thousands, of names to pick an attorney's name from among the list of everybody else in the system. The idea I am working on presently is to add logical fields for each designation to the table of names. For instances: kNameID txtLastName txtFirstName txtMI txtSuffix logAttorney logADA logJudge logVictim logDefendant If I do this, I will have removed some fields that are currently there, such as: txtAddress1 txtAddress2 txtCity txtSt txtZip txtPhone And, I will put these in another linked table. There may be a need to have multiple addresses for the defendants, so this would be best I think. The problem that I am foreseeing here...I'm not at that point, so my fears could be unfounded...is setting these fields to true and/or false, as needed. Basically, thinking of victims for a minute here, the defendant screen, which will actually be an "Indictment" screen, will have a subform to hold potentially many victims for the indictment. If a victim IS already in the system as something else, I will need to tag that name as a victim and I'm wondering if this will present difficulties. Well, I hope I am being clear enough. If anyone out there has any tips for me, I would greatly appreciate it if you would pass them along. Thank you! John W Clark -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From KP at sdsonline.net Thu Aug 25 22:24:15 2005 From: KP at sdsonline.net (Kath Pelletti) Date: Fri, 26 Aug 2005 13:24:15 +1000 Subject: [AccessD] OT: Friday humour Message-ID: <001901c5a9ed$a38087a0$6601a8c0@user> OK - I'm bored, so here we go.... ------- "Doctor," said the patient. "I can't stop singing 'The Green, Green Grass of Home.'" "Sounds like Tom Jones Syndrom to me," the doctor replies. "Is that common?" "It's not unusual." -------------------------- Q: How many Spaniards does it take to screw in a lightbulb? A: Juan -------------------------- Person 1: Knock knock. Person 2: Who's there? Person 1: Control freak. Person 1: Now you say "control freak who?" ---------- ______________________________________________ Kath Pelletti Software Design & Solutions Pty Ltd. Ph: 9505-6714 Fax: 9505-6430 KP at SDSOnline.net From dmcafee at pacbell.net Thu Aug 25 22:54:39 2005 From: dmcafee at pacbell.net (dmcafee at pacbell.net) Date: Thu, 25 Aug 2005 20:54:39 -0700 Subject: [AccessD] OT: Friday humour In-Reply-To: <001901c5a9ed$a38087a0$6601a8c0@user> Message-ID: Last week I purchased a burger and fries at McDonalds for $3.58. The counter girl took my $4.00 and I pulled 8 cents from my pocket and gave it to her. She stood there, holding the nickel and 3 pennies. While looking at the screen on her register, I sensed her discomfort and tried to tell her to just give me two quarters, but she hailed the manager for help. While he tried to explain the transaction to her, she stood there and cried. ---------------------------------------------------------------------------- ---- Why do I tell you this? Because of the evolution in teaching math since the 1950s: Teaching Math In 1950 A logger sells a truckload of lumber for $100. His cost of production is 4/5 of the price. What is his profit? Teaching Math In 1960 A logger sells a truckload of lumber for $100. His cost of production is 4/5 of the price, or $80. What is his profit? Teaching Math In 1970 A logger sells a truckload of lumber for $100. His cost of production is $80. Did he make a profit? Teaching Math In 1980 A logger sells a truckload of lumber for $100. His cost of production is $80 and his profit is $20 Your assignment: Underline the number 20. Teaching Math In 1990 A logger cuts down a beautiful forest because he is selfish and inconsiderate and cares nothing for the habitat of animals or the preservation of our woodlands. He does this so he can make a profit of $20. What do you think of this way of making a living? Topic for class participation after answering the question: How did the birds and squirrels feel as the logger cut down their homes? (There are no wrong answers.) Teaching Math In 2005 Un ranchero vende una carretera de madera para $100. El cuesto de la produccion era $80. Cuantos tortillas se puede comprar? From andy at minstersystems.co.uk Fri Aug 26 02:20:51 2005 From: andy at minstersystems.co.uk (Andy Lacey) Date: Fri, 26 Aug 2005 08:20:51 +0100 Subject: [AccessD] OT: Roz's Novel In-Reply-To: Message-ID: <001d01c5aa0e$b377bcc0$a5c00c54@minster33c3r25> It's Friday so we can go for suggestions for alternative titles for Roz's book. I'll start the ball rolling. Firstly I was musing about her subject matter and thinking of another work which treats that broad subject. Thus I came up with "Hamlet - The SQL". But that's more for the literary end of the market. Or, Roz, you could blatantly go for the market of people who don't really read but will do if it's a children's book that's ok for adults to be seen with - so "Harry Potter And The Nobility Of Truth Versus The Attractions Of Artifice" (catchy I thought). Finally if you wanted another theme how about a book for gullible Ark theorists who like Dan Brown but prefer a quicker read - "The Da Vinci Compiler" (groan). -- Andy Lacey http://www.minstersystems.co.uk From KP at sdsonline.net Fri Aug 26 03:39:46 2005 From: KP at sdsonline.net (Kath Pelletti) Date: Fri, 26 Aug 2005 18:39:46 +1000 Subject: [AccessD] OT: Roz's Novel References: <001d01c5aa0e$b377bcc0$a5c00c54@minster33c3r25> Message-ID: <001101c5aa19$b7bae3b0$6601a8c0@user> Big Fat Artifice? :) ----- Original Message ----- From: Andy Lacey To: 'Access Developers discussion and problem solving' Sent: Friday, August 26, 2005 5:20 PM Subject: [AccessD] OT: Roz's Novel It's Friday so we can go for suggestions for alternative titles for Roz's book. I'll start the ball rolling. Firstly I was musing about her subject matter and thinking of another work which treats that broad subject. Thus I came up with "Hamlet - The SQL". But that's more for the literary end of the market. Or, Roz, you could blatantly go for the market of people who don't really read but will do if it's a children's book that's ok for adults to be seen with - so "Harry Potter And The Nobility Of Truth Versus The Attractions Of Artifice" (catchy I thought). Finally if you wanted another theme how about a book for gullible Ark theorists who like Dan Brown but prefer a quicker read - "The Da Vinci Compiler" (groan). -- Andy Lacey http://www.minstersystems.co.uk -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From pedro at plex.nl Fri Aug 26 11:11:05 2005 From: pedro at plex.nl (pedro at plex.nl) Date: Fri, 26 Aug 2005 11:11:05 (MET DST) Subject: [AccessD] adding control number Message-ID: <200508260911.j7Q9B55U004511@mailhostC.plex.net> Hello Group, I have an ID (text, because it begins with 00) that exist of 8 numbers. I need to change this ID by removing the first 0, and by adding a extra control number. This control number can be calculated from this ID. This can be done by several query?s. Is it possible to do in one query?? For example. I have ID: 00327833 Take the number of the odd positions: 0 3 7 3 Place these numbers behind each other to make one number: 0373 Multiply this number with 2: 0373 x 2 = 0746 Count up the separate numbers from this last multiplication: 0 + 7 + 4 + 6 = 17 >From the original ID, take the even positions: 0 2 8 3 Count up the separate numbers from the even positions with the sum of the last count up: 17 + 0 + 2 + 8 + 3 = 30 The last number of the previous sum is the extra control number: 0 >From the original ID, remove the first 0 and add the control number: 03278330 Who can help me with this? TIA Pedro Janssen From andy at minstersystems.co.uk Fri Aug 26 04:32:56 2005 From: andy at minstersystems.co.uk (Andy Lacey) Date: Fri, 26 Aug 2005 10:32:56 +0100 Subject: [AccessD] adding control number Message-ID: <20050826093254.0A8DD24F266@smtp.nildram.co.uk> I'll have a shot. Assuming always 8-digits how about Mid(Id,2) & Right(Cstr(Val(Mid(Right("0000" & Cstr(CLng(Val(Mid(Id,1,1)) & Val(Mid(Id,3,1)) & Val(Mid(Id,5,1)) & Val(Mid(Id,7,1)))*2),4),1,1)) + Val(Mid(Right("0000" & Cstr(CLng(Val(Mid(Id,1,1)) & Val(Mid(Id,3,1)) & Val(Mid(Id,5,1)) & Val(Mid(Id,7,1)))*2),4),2,1)) + Val(Mid(Right("0000" & Cstr(CLng(Val(Mid(Id,1,1)) & Val(Mid(Id,3,1)) & Val(Mid(Id,5,1)) & Val(Mid(Id,7,1)))*2),4),3,1)) + Val(Mid(Right("0000" & Cstr(CLng(Val(Mid(Id,1,1)) & Val(Mid(Id,3,1)) & Val(Mid(Id,5,1)) & Val(Mid(Id,7,1)))*2),4),4,1)) + Val(Mid(Id,2,1)) + Val(Mid(Id,4,1)) + Val(Mid(Id,6,1)) + Val(Mid(Id,8,1))),1) -- Andy Lacey http://www.minstersystems.co.uk --------- Original Message -------- From: "Access Developers discussion and problem solving" To: "AccessD at databaseadvisors.com" Subject: [AccessD] adding control number Date: 26/08/05 09:10 Hello Group, I have an ID (text, because it begins with 00) that exist of 8 numbers. I need to change this ID by removing the first 0, and by adding a extra control number. This control number can be calculated from this ID. This can be done by several query?s. Is it possible to do in one query?? For example. I have ID: 00327833 Take the number of the odd positions: 0 3 7 3 Place these numbers behind each other to make one number: 0373 Multiply this number with 2: 0373 x 2 = 0746 Count up the separate numbers from this last multiplication: 0 + 7 + 4 + 6 = 17 >From the original ID, take the even positions: 0 2 8 3 Count up the separate numbers from the even positions with the sum of the last count up: 17 + 0 + 2 + 8 + 3 = 30 The last number of the previous sum is the extra control number: 0 >From the original ID, remove the first 0 and add the control number: 03278330 Who can help me with this? TIA Pedro Janssen -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com ________________________________________________ Message sent using UebiMiau 2.7.2 From zora_db at yahoo.com Fri Aug 26 05:15:42 2005 From: zora_db at yahoo.com (Roz Clarke) Date: Fri, 26 Aug 2005 11:15:42 +0100 (BST) Subject: [AccessD] OT: Roz's Novel In-Reply-To: <001101c5aa19$b7bae3b0$6601a8c0@user> Message-ID: <20050826101542.48751.qmail@web50106.mail.yahoo.com> Or one for the OT list... Fear of Flaming Roz --- Kath Pelletti wrote: > Big Fat Artifice? > > :) > ----- Original Message ----- > From: Andy Lacey > To: 'Access Developers discussion and problem solving' > Sent: Friday, August 26, 2005 5:20 PM > Subject: [AccessD] OT: Roz's Novel > > > It's Friday so we can go for suggestions for alternative titles for Roz's > book. I'll start the ball rolling. > > Firstly I was musing about her subject matter and thinking of another work > which treats that broad subject. Thus I came up with "Hamlet - The SQL". But > that's more for the literary end of the market. Or, Roz, you could blatantly > go for the market of people who don't really read but will do if it's a > children's book that's ok for adults to be seen with - so "Harry Potter And > The Nobility Of Truth Versus The Attractions Of Artifice" (catchy I > thought). Finally if you wanted another theme how about a book for gullible > Ark theorists who like Dan Brown but prefer a quicker read - "The Da Vinci > Compiler" (groan). > > -- Andy Lacey > http://www.minstersystems.co.uk > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > ___________________________________________________________ How much free photo storage do you get? Store your holiday snaps for FREE with Yahoo! Photos http://uk.photos.yahoo.com From zora_db at yahoo.com Fri Aug 26 05:17:33 2005 From: zora_db at yahoo.com (Roz Clarke) Date: Fri, 26 Aug 2005 11:17:33 +0100 (BST) Subject: [AccessD] OT: Roz's Novel In-Reply-To: <001d01c5aa0e$b377bcc0$a5c00c54@minster33c3r25> Message-ID: <20050826101733.47892.qmail@web50109.mail.yahoo.com> Harry Colby and the Nobility of Bound Versus the Attractions of Unbound --- Andy Lacey wrote: > It's Friday so we can go for suggestions for alternative titles for Roz's > book. I'll start the ball rolling. > > Firstly I was musing about her subject matter and thinking of another work > which treats that broad subject. Thus I came up with "Hamlet - The SQL". But > that's more for the literary end of the market. Or, Roz, you could blatantly > go for the market of people who don't really read but will do if it's a > children's book that's ok for adults to be seen with - so "Harry Potter And > The Nobility Of Truth Versus The Attractions Of Artifice" (catchy I > thought). Finally if you wanted another theme how about a book for gullible > Ark theorists who like Dan Brown but prefer a quicker read - "The Da Vinci > Compiler" (groan). > > -- Andy Lacey > http://www.minstersystems.co.uk > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > Send instant messages to your online friends http://uk.messenger.yahoo.com From Gustav at cactus.dk Fri Aug 26 05:28:02 2005 From: Gustav at cactus.dk (Gustav Brock) Date: Fri, 26 Aug 2005 12:28:02 +0200 Subject: [AccessD] OT: Zip files (was Logic issue) Message-ID: Hi all As I wrote last year: Some strip zip files from e-mails to avoid vira and spyware, thus cab files can be a valid alternative for attaching compressed files. You can use a MS command line util for this (cabarc.exe or makecab.exe) or a freeware tool like CabPack 1.4, but did you know that Internet Explorer comes with a GUI wizard-type wrapper for CabArc called IExpress? Just type iexpress at the Run entry in the Start menu. When finished, it offers to save your settings as a "sed" file so you easily can repeat a packing session. /gustav >>> cfoust at infostatsystems.com 25-08-2005 17:20 >>> Does anyone know what the logic is for blocking zip files? I run into this occasionally and it drives me nuts! You zip files to avoid the filters that won't accept an mdb, etc., and then you run into filters that won't accept the zip files. Oops, Catch-22. That drumming you hear is my head pounding against the wall .... Charlotte Foust From andy at minstersystems.co.uk Fri Aug 26 05:31:51 2005 From: andy at minstersystems.co.uk (Andy Lacey) Date: Fri, 26 Aug 2005 11:31:51 +0100 Subject: [AccessD] OT: Roz's Novel Message-ID: <20050826103149.774A4260EAB@smtp.nildram.co.uk> A best seller waiting to happen. -- 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] OT: Roz's Novel Date: 26/08/05 10:18 Harry Colby and the Nobility of Bound Versus the Attractions of Unbound --- Andy Lacey wrote: > It's Friday so we can go for suggestions for alternative titles for Roz's > book. I'll start the ball rolling. > > Firstly I was musing about her subject matter and thinking of another work > which treats that broad subject. Thus I came up with "Hamlet - The SQL". But > that's more for the literary end of the market. Or, Roz, you could blatantly > go for the market of people who don't really read but will do if it's a > children's book that's ok for adults to be seen with - so "Harry Potter And > The Nobility Of Truth Versus The Attractions Of Artifice" (catchy I > thought). Finally if you wanted another theme how about a book for gullible > Ark theorists who like Dan Brown but prefer a quicker read - "The Da Vinci > Compiler" (groan). > > -- Andy Lacey > http://www.minstersystems.co.uk > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > Send instant messages to your online friends http://uk.messenger.yahoo.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com ________________________________________________ Message sent using UebiMiau 2.7.2 From prodevmg at yahoo.com Fri Aug 26 05:32:55 2005 From: prodevmg at yahoo.com (Lonnie Johnson) Date: Fri, 26 Aug 2005 03:32:55 -0700 (PDT) Subject: [AccessD] adding control number In-Reply-To: <200508260911.j7Q9B55U004511@mailhostC.plex.net> Message-ID: <20050826103255.84492.qmail@web33101.mail.mud.yahoo.com> Why not write a function in VBA and do everything you just said instead of using your queries? How is your VBA? pedro at plex.nl wrote:Hello Group, I have an ID (text, because it begins with 00) that exist of 8 numbers. I need to change this ID by removing the first 0, and by adding a extra control number. This control number can be calculated from this ID. This can be done by several query?s. Is it possible to do in one query?? For example. I have ID: 00327833 Take the number of the odd positions: 0 3 7 3 Place these numbers behind each other to make one number: 0373 Multiply this number with 2: 0373 x 2 = 0746 Count up the separate numbers from this last multiplication: 0 + 7 + 4 + 6 = 17 >From the original ID, take the even positions: 0 2 8 3 Count up the separate numbers from the even positions with the sum of the last count up: 17 + 0 + 2 + 8 + 3 = 30 The last number of the previous sum is the extra control number: 0 >From the original ID, remove the first 0 and add the control number: 03278330 Who can help me with this? TIA Pedro Janssen -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com May God bless you beyond your imagination! Lonnie Johnson ProDev, Professional Development of MS Access Databases Visit me at ==> http://www.prodev.us --------------------------------- Start your day with Yahoo! - make it your home page From andy at minstersystems.co.uk Fri Aug 26 05:45:33 2005 From: andy at minstersystems.co.uk (Andy Lacey) Date: Fri, 26 Aug 2005 11:45:33 +0100 Subject: [AccessD] adding control number Message-ID: <20050826104531.53FBC24E332@smtp.nildram.co.uk> I agree wholeheartedly with Lonnie. That's what I'd do. It was an interesting exercise doing it in one shot but I wouldn't want to have to maintain that. -- 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] adding control number Date: 26/08/05 10:33 Why not write a function in VBA and do everything you just said instead of using your queries? How is your VBA? pedro at plex.nl wrote:Hello Group, I have an ID (text, because it begins with 00) that exist of 8 numbers. I need to change this ID by removing the first 0, and by adding a extra control number. This control number can be calculated from this ID. This can be done by several query?s. Is it possible to do in one query?? For example. I have ID: 00327833 Take the number of the odd positions: 0 3 7 3 Place these numbers behind each other to make one number: 0373 Multiply this number with 2: 0373 x 2 = 0746 Count up the separate numbers from this last multiplication: 0 + 7 + 4 + 6 = 17 >From the original ID, take the even positions: 0 2 8 3 Count up the separate numbers from the even positions with the sum of the last count up: 17 + 0 + 2 + 8 + 3 = 30 The last number of the previous sum is the extra control number: 0 >From the original ID, remove the first 0 and add the control number: 03278330 Who can help me with this? TIA Pedro Janssen -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com May God bless you beyond your imagination! Lonnie Johnson ProDev, Professional Development of MS Access Databases Visit me at ==> http://www.prodev.us --------------------------------- Start your day with Yahoo! - make it your home page -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com ________________________________________________ Message sent using UebiMiau 2.7.2 From jwcolby at colbyconsulting.com Fri Aug 26 05:51:34 2005 From: jwcolby at colbyconsulting.com (John W. Colby) Date: Fri, 26 Aug 2005 06:51:34 -0400 Subject: [AccessD] OT: Roz's Novel In-Reply-To: <20050826101733.47892.qmail@web50109.mail.yahoo.com> Message-ID: <021e01c5aa2c$206155e0$6c7aa8c0@ColbyM6805> My favorite book. ;-) John W. Colby www.ColbyConsulting.com Contribute your unused CPU cycles to a good cause: http://folding.stanford.edu/ -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Roz Clarke Sent: Friday, August 26, 2005 6:18 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] OT: Roz's Novel Harry Colby and the Nobility of Bound Versus the Attractions of Unbound --- Andy Lacey wrote: > It's Friday so we can go for suggestions for alternative titles for > Roz's book. I'll start the ball rolling. > > Firstly I was musing about her subject matter and thinking of another > work which treats that broad subject. Thus I came up with "Hamlet - > The SQL". But that's more for the literary end of the market. Or, Roz, > you could blatantly go for the market of people who don't really read > but will do if it's a children's book that's ok for adults to be seen > with - so "Harry Potter And The Nobility Of Truth Versus The > Attractions Of Artifice" (catchy I thought). Finally if you wanted > another theme how about a book for gullible Ark theorists who like Dan > Brown but prefer a quicker read - "The Da Vinci Compiler" (groan). > > -- Andy Lacey > http://www.minstersystems.co.uk > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > Send instant messages to your online friends http://uk.messenger.yahoo.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From jwcolby at colbyconsulting.com Fri Aug 26 06:10:30 2005 From: jwcolby at colbyconsulting.com (John W. Colby) Date: Fri, 26 Aug 2005 07:10:30 -0400 Subject: [AccessD] DotNet passing by value Message-ID: <021f01c5aa2e$c88d7b20$6c7aa8c0@ColbyM6805> As you might be aware, VB.Net (and I assume the other .net languages as well) pass all variables by value. But what does this mean, and is it true. As you know, everything in .net is an object, even common variables such as an integer or decimal etc. Passing by value (in other languages) means placing a COPY of the variable (or object in this case) on the stack as the function is called. In VBA for example, when you pass by value, it really does ONLY for the simple data types, passing anything else (including strings) by value. Imagine passing a string, which could be a million bytes, by value - literally making a copy and passing that into the stack. IIRC the total stack space for a given program in an Intel machine is something like 128 kbytes which means that passing a single (huge) string by value could cause a stack overflow. Now DotNet comes along claiming to pass everything by value. Is this more doublespeak? And if so, what is the truth? John W. Colby www.ColbyConsulting.com Contribute your unused CPU cycles to a good cause: http://folding.stanford.edu/ From jwcolby at colbyconsulting.com Fri Aug 26 06:21:46 2005 From: jwcolby at colbyconsulting.com (John W. Colby) Date: Fri, 26 Aug 2005 07:21:46 -0400 Subject: [AccessD] DotNet passing by value In-Reply-To: <021f01c5aa2e$c88d7b20$6c7aa8c0@ColbyM6805> Message-ID: <022001c5aa30$5df64560$6c7aa8c0@ColbyM6805> Oooops... >.. passing anything else (including strings) by value. Should have said "by reference", i.e. placing a pointer to the object on the stack. John W. Colby www.ColbyConsulting.com Contribute your unused CPU cycles to a good cause: http://folding.stanford.edu/ -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of John W. Colby Sent: Friday, August 26, 2005 7:11 AM To: dba-vb at databaseadvisors.com; 'Access Developers discussion and problemsolving' Subject: [AccessD] DotNet passing by value As you might be aware, VB.Net (and I assume the other .net languages as well) pass all variables by value. But what does this mean, and is it true. As you know, everything in .net is an object, even common variables such as an integer or decimal etc. Passing by value (in other languages) means placing a COPY of the variable (or object in this case) on the stack as the function is called. In VBA for example, when you pass by value, it really does ONLY for the simple data types, passing anything else (including strings) by value. Imagine passing a string, which could be a million bytes, by value - literally making a copy and passing that into the stack. IIRC the total stack space for a given program in an Intel machine is something like 128 kbytes which means that passing a single (huge) string by value could cause a stack overflow. Now DotNet comes along claiming to pass everything by value. Is this more doublespeak? And if so, what is the truth? John W. Colby www.ColbyConsulting.com Contribute your unused CPU cycles to a good cause: http://folding.stanford.edu/ -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From Gustav at cactus.dk Fri Aug 26 06:40:18 2005 From: Gustav at cactus.dk (Gustav Brock) Date: Fri, 26 Aug 2005 13:40:18 +0200 Subject: [AccessD] adding control number Message-ID: Hi Pedro Looks like a Modulus 10 check digit calculation. Below is a function that will do this for you in a maintainable way. Use it like this: strChk = Right(ModulusAppend("00327833", 10), Len("00327833")) /gustav Function ModulusAppend( _ ByVal strNumber As String, _ ByVal intModulus As Integer) _ As String ' Appends a Modulus 10 or 11 check digit to strNumber. ' ' 1999-10-08. Cactus Data ApS, CPH. Dim intC As Integer, intF As Integer, intN As Integer Dim intL As Integer, intM As Integer, intT As Integer Dim strNumCheck As String Dim strNumChr As String Dim strNumClean As String ' Max. length of number. intM = 32 - 1 If intModulus = 10 Or intModulus = 11 Then intL = Len(strNumber) ' Remove non-digits. For intN = 0 To intL - 1 strNumChr = Mid(strNumber, intN + 1, 1) If (Asc(strNumChr) >= 48) And (Asc(strNumChr) <= 57) Then strNumClean = strNumClean & strNumChr End If Next intN strNumber = strNumClean intL = Len(strNumber) End If If intL > 0 And intL <= intM Then For intN = 0 To intL - 1 intC = Val(Mid(strNumber, intL - intN, 1)) Select Case intModulus Case Is = 10 intF = (1 + ((intN + 1) Mod 2)) intC = intF * intC intC = Int(intC / 10) + (intC Mod 10) Case Is = 11 intF = 2 + (intN Mod 6) intC = intF * intC End Select intT = intT + intC Next Select Case intModulus Case Is = 10 intC = intT - (intT Mod intModulus) + intModulus strNumCheck = Format((intC - intT) Mod intModulus, "@") Case Is = 11 intC = intModulus - (intT Mod intModulus) Select Case intC Case Is = 11 ' A check digit for this number cannot be calculated! strNumber = vbNullString intC = 0 Beep Case Is = 10 intC = 0 End Select strNumCheck = Format(intC, "@") End Select strNumber = strNumber & strNumCheck Else strNumber = "0" End If ModulusAppend = strNumber End Function >>> pedro at plex.nl 26-08-2005 11:11 >>> Hello Group, I have an ID (text, because it begins with 00) that exist of 8 numbers. I need to change this ID by removing the first 0, and by adding a extra control number. This control number can be calculated from this ID. This can be done by several query's. Is it possible to do in one query?? For example. I have ID: 00327833 Take the number of the odd positions: 0 3 7 3 Place these numbers behind each other to make one number: 0373 Multiply this number with 2: 0373 x 2 = 0746 Count up the separate numbers from this last multiplication: 0 + 7 + 4 + 6 = 17 >From the original ID, take the even positions: 0 2 8 3 Count up the separate numbers from the even positions with the sum of the last count up: 17 + 0 + 2 + 8 + 3 = 30 The last number of the previous sum is the extra control number: 0 >From the original ID, remove the first 0 and add the control number: 03278330 From dejpolsys at hotmail.com Fri Aug 26 06:50:51 2005 From: dejpolsys at hotmail.com (William Hindman) Date: Fri, 26 Aug 2005 07:50:51 -0400 Subject: [AccessD] OT: Roz's Novel References: <021e01c5aa2c$206155e0$6c7aa8c0@ColbyM6805> Message-ID: ..and by far, the longest :) William ----- Original Message ----- From: "John W. Colby" To: "'Access Developers discussion and problem solving'" Sent: Friday, August 26, 2005 6:51 AM Subject: RE: [AccessD] OT: Roz's Novel > My favorite book. ;-) > > John W. Colby > www.ColbyConsulting.com > > Contribute your unused CPU cycles to a good cause: > http://folding.stanford.edu/ > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Roz Clarke > Sent: Friday, August 26, 2005 6:18 AM > To: Access Developers discussion and problem solving > Subject: Re: [AccessD] OT: Roz's Novel > > > Harry Colby and the Nobility of Bound Versus the Attractions of Unbound > > > --- Andy Lacey wrote: > >> It's Friday so we can go for suggestions for alternative titles for >> Roz's book. I'll start the ball rolling. >> >> Firstly I was musing about her subject matter and thinking of another >> work which treats that broad subject. Thus I came up with "Hamlet - >> The SQL". But that's more for the literary end of the market. Or, Roz, >> you could blatantly go for the market of people who don't really read >> but will do if it's a children's book that's ok for adults to be seen >> with - so "Harry Potter And The Nobility Of Truth Versus The >> Attractions Of Artifice" (catchy I thought). Finally if you wanted >> another theme how about a book for gullible Ark theorists who like Dan >> Brown but prefer a quicker read - "The Da Vinci Compiler" (groan). >> >> -- Andy Lacey >> http://www.minstersystems.co.uk >> >> -- >> AccessD mailing list >> AccessD at databaseadvisors.com >> http://databaseadvisors.com/mailman/listinfo/accessd >> Website: http://www.databaseadvisors.com >> > > > > > > > Send instant messages to your online friends http://uk.messenger.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 > From John.Clark at niagaracounty.com Fri Aug 26 06:49:50 2005 From: John.Clark at niagaracounty.com (John Clark) Date: Fri, 26 Aug 2005 07:49:50 -0400 Subject: [AccessD] OT: Roz's Novel Message-ID: Now THIS would start a nice thread on OT. Statements like, "Finally if you wanted another theme how about a book for gullible Ark theorists who like Dan Brown but...," which to me implies that anyone who may contemplate alternatives to the accepted norm is gullible, while to me those that just accept the norm are more prone to be gullible, will get the posts pumpin'. Ah, but this is for OT, so we'll see. I do like the title though ;) J Clark >>> andy at minstersystems.co.uk 8/26/2005 3:20 AM >>> It's Friday so we can go for suggestions for alternative titles for Roz's book. I'll start the ball rolling. Firstly I was musing about her subject matter and thinking of another work which treats that broad subject. Thus I came up with "Hamlet - The SQL". But that's more for the literary end of the market. Or, Roz, you could blatantly go for the market of people who don't really read but will do if it's a children's book that's ok for adults to be seen with - so "Harry Potter And The Nobility Of Truth Versus The Attractions Of Artifice" (catchy I thought). Finally if you wanted another theme how about a book for gullible Ark theorists who like Dan Brown but prefer a quicker read - "The Da Vinci Compiler" (groan). -- Andy Lacey http://www.minstersystems.co.uk -- 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 Aug 26 06:58:35 2005 From: andy at minstersystems.co.uk (Andy Lacey) Date: Fri, 26 Aug 2005 12:58:35 +0100 Subject: [AccessD] OT: Roz's Novel Message-ID: <20050826115832.C9AAF2547C4@smtp.nildram.co.uk> Was waiting for that to get a response ;-) -- Andy Lacey http://www.minstersystems.co.uk --------- Original Message -------- From: "Access Developers discussion and problem solving" To: "accessd at databaseadvisors.com" Subject: Re: [AccessD] OT: Roz's Novel Date: 26/08/05 11:52 Now THIS would start a nice thread on OT. Statements like, "Finally if you wanted another theme how about a book for gullible Ark theorists who like Dan Brown but...," which to me implies that anyone who may contemplate alternatives to the accepted norm is gullible, while to me those that just accept the norm are more prone to be gullible, will get the posts pumpin'. Ah, but this is for OT, so we'll see. I do like the title though ;) J Clark >>> andy at minstersystems.co.uk 8/26/2005 3:20 AM >>> It's Friday so we can go for suggestions for alternative titles for Roz's book. I'll start the ball rolling. Firstly I was musing about her subject matter and thinking of another work which treats that broad subject. Thus I came up with "Hamlet - The SQL". But that's more for the literary end of the market. Or, Roz, you could blatantly go for the market of people who don't really read but will do if it's a children's book that's ok for adults to be seen with - so "Harry Potter And The Nobility Of Truth Versus The Attractions Of Artifice" (catchy I thought). Finally if you wanted another theme how about a book for gullible Ark theorists who like Dan Brown but prefer a quicker read - "The Da Vinci Compiler" (groan). -- Andy Lacey http://www.minstersystems.co.uk -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com ________________________________________________ Message sent using UebiMiau 2.7.2 From shamil at users.mns.ru Fri Aug 26 07:24:31 2005 From: shamil at users.mns.ru (Shamil Salakhetdinov) Date: Fri, 26 Aug 2005 16:24:31 +0400 Subject: [AccessD] DotNet passing by value References: <022001c5aa30$5df64560$6c7aa8c0@ColbyM6805> Message-ID: <003101c5aa39$2837cad0$6501a8c0@fincomplex.spb.ru> John, AFAIK VBA passes ByVal strings by reference but it first makes the copy of the string to the heap memory... The same should be true for VB.NET/C#. So, one million bytes' length string will be copied to the heap memory and then passed internally by ref. Heap memory is handled by virtual memory management system - it should work rather well if one has speedy moderrn HHDs for automatic swapping... But of course passing one million bytes long strings as a ByVal parameter isn't a good idea at all.... > As you know, everything in .net is an object Yes, everything is an object but scalar types are used internall as they are usually used in unmanaged systems - this optimization is done by .NET Framework compilers. When a scalar type has to be treated as an object it is getting "boxed" - boxing is a ,NET Framework term: See also: Writing Faster Managed Code: Know What Things Cost http://msdn.microsoft.com/library/default.asp?url=/library/en-us/dndotnet/html/fastmanagedcode.asp Shamil ----- Original Message ----- From: "John W. Colby" To: "'Access Developers discussion and problem solving'" Sent: Friday, August 26, 2005 3:21 PM Subject: RE: [AccessD] DotNet passing by value > Oooops... > > >.. passing anything else (including strings) by value. > > Should have said "by reference", i.e. placing a pointer to the object on the > stack. > > John W. Colby > www.ColbyConsulting.com > > Contribute your unused CPU cycles to a good cause: > http://folding.stanford.edu/ > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of John W. Colby > Sent: Friday, August 26, 2005 7:11 AM > To: dba-vb at databaseadvisors.com; 'Access Developers discussion and > problemsolving' > Subject: [AccessD] DotNet passing by value > > > As you might be aware, VB.Net (and I assume the other .net languages as > well) pass all variables by value. But what does this mean, and is it true. > As you know, everything in .net is an object, even common variables such as > an integer or decimal etc. Passing by value (in other languages) means > placing a COPY of the variable (or object in this case) on the stack as the > function is called. In VBA for example, when you pass by value, it really > does ONLY for the simple data types, passing anything else (including > strings) by value. > > Imagine passing a string, which could be a million bytes, by value - > literally making a copy and passing that into the stack. IIRC the total > stack space for a given program in an Intel machine is something like 128 > kbytes which means that passing a single (huge) string by value could cause > a stack overflow. Now DotNet comes along claiming to pass everything by > value. Is this more doublespeak? And if so, what is the truth? > > John W. Colby > www.ColbyConsulting.com > > Contribute your unused CPU cycles to a good cause: > http://folding.stanford.edu/ > > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > > > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com From jwcolby at colbyconsulting.com Fri Aug 26 07:34:20 2005 From: jwcolby at colbyconsulting.com (John W. Colby) Date: Fri, 26 Aug 2005 08:34:20 -0400 Subject: [AccessD] DotNet passing by value In-Reply-To: <003101c5aa39$2837cad0$6501a8c0@fincomplex.spb.ru> Message-ID: <022201c5aa3a$7bb03de0$6c7aa8c0@ColbyM6805> Does this imply that it makes a copy of every object before passing a pointer to that copy of the object? That seems like a lot of overhead. And is there any way to set the default to true "by reference"? I am accustomed to "by reference", and know what that means, and am accustomed to thinking about whether I am modifying the original object. John W. Colby www.ColbyConsulting.com Contribute your unused CPU cycles to a good cause: http://folding.stanford.edu/ -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Shamil Salakhetdinov Sent: Friday, August 26, 2005 8:25 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] DotNet passing by value John, AFAIK VBA passes ByVal strings by reference but it first makes the copy of the string to the heap memory... The same should be true for VB.NET/C#. So, one million bytes' length string will be copied to the heap memory and then passed internally by ref. Heap memory is handled by virtual memory management system - it should work rather well if one has speedy moderrn HHDs for automatic swapping... But of course passing one million bytes long strings as a ByVal parameter isn't a good idea at all.... > As you know, everything in .net is an object Yes, everything is an object but scalar types are used internall as they are usually used in unmanaged systems - this optimization is done by .NET Framework compilers. When a scalar type has to be treated as an object it is getting "boxed" - boxing is a ,NET Framework term: See also: Writing Faster Managed Code: Know What Things Cost http://msdn.microsoft.com/library/default.asp?url=/library/en-us/dndotnet/ht ml/fastmanagedcode.asp Shamil ----- Original Message ----- From: "John W. Colby" To: "'Access Developers discussion and problem solving'" Sent: Friday, August 26, 2005 3:21 PM Subject: RE: [AccessD] DotNet passing by value > Oooops... > > >.. passing anything else (including strings) by value. > > Should have said "by reference", i.e. placing a pointer to the object > on the > stack. > > John W. Colby > www.ColbyConsulting.com > > Contribute your unused CPU cycles to a good cause: > http://folding.stanford.edu/ > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of John W. > Colby > Sent: Friday, August 26, 2005 7:11 AM > To: dba-vb at databaseadvisors.com; 'Access Developers discussion and > problemsolving' > Subject: [AccessD] DotNet passing by value > > > As you might be aware, VB.Net (and I assume the other .net languages > as > well) pass all variables by value. But what does this mean, and is it true. > As you know, everything in .net is an object, even common variables > such as > an integer or decimal etc. Passing by value (in other languages) > means placing a COPY of the variable (or object in this case) on the > stack as the > function is called. In VBA for example, when you pass by value, it > really does ONLY for the simple data types, passing anything else > (including > strings) by value. > > Imagine passing a string, which could be a million bytes, by value - > literally making a copy and passing that into the stack. IIRC the > total stack space for a given program in an Intel machine is something > like 128 kbytes which means that passing a single (huge) string by > value could cause > a stack overflow. Now DotNet comes along claiming to pass everything > by value. Is this more doublespeak? And if so, what is the truth? > > John W. Colby > www.ColbyConsulting.com > > Contribute your unused CPU cycles to a good cause: > http://folding.stanford.edu/ > > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > > > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From jwcolby at colbyconsulting.com Fri Aug 26 07:38:40 2005 From: jwcolby at colbyconsulting.com (John W. Colby) Date: Fri, 26 Aug 2005 08:38:40 -0400 Subject: [AccessD] OT: FireFox not wrapping Message-ID: <022401c5aa3b$19dacfd0$6c7aa8c0@ColbyM6805> Does anyone know how to get firefox to wrap to the screen dimensions? I am viewing MS pages which trail off to the side (have to use the slider) in FF but wrap correctly in IE. John W. Colby www.ColbyConsulting.com Contribute your unused CPU cycles to a good cause: http://folding.stanford.edu/ From jwcolby at colbyconsulting.com Fri Aug 26 07:42:42 2005 From: jwcolby at colbyconsulting.com (John W. Colby) Date: Fri, 26 Aug 2005 08:42:42 -0400 Subject: [AccessD] DotNet passing by value In-Reply-To: <003101c5aa39$2837cad0$6501a8c0@fincomplex.spb.ru> Message-ID: <022501c5aa3b$aa060200$6c7aa8c0@ColbyM6805> Good article so far (not done yet). John W. Colby www.ColbyConsulting.com Contribute your unused CPU cycles to a good cause: http://folding.stanford.edu/ -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Shamil Salakhetdinov Sent: Friday, August 26, 2005 8:25 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] DotNet passing by value John, AFAIK VBA passes ByVal strings by reference but it first makes the copy of the string to the heap memory... The same should be true for VB.NET/C#. So, one million bytes' length string will be copied to the heap memory and then passed internally by ref. Heap memory is handled by virtual memory management system - it should work rather well if one has speedy moderrn HHDs for automatic swapping... But of course passing one million bytes long strings as a ByVal parameter isn't a good idea at all.... > As you know, everything in .net is an object Yes, everything is an object but scalar types are used internall as they are usually used in unmanaged systems - this optimization is done by .NET Framework compilers. When a scalar type has to be treated as an object it is getting "boxed" - boxing is a ,NET Framework term: See also: Writing Faster Managed Code: Know What Things Cost http://msdn.microsoft.com/library/default.asp?url=/library/en-us/dndotnet/ht ml/fastmanagedcode.asp Shamil ----- Original Message ----- From: "John W. Colby" To: "'Access Developers discussion and problem solving'" Sent: Friday, August 26, 2005 3:21 PM Subject: RE: [AccessD] DotNet passing by value > Oooops... > > >.. passing anything else (including strings) by value. > > Should have said "by reference", i.e. placing a pointer to the object > on the > stack. > > John W. Colby > www.ColbyConsulting.com > > Contribute your unused CPU cycles to a good cause: > http://folding.stanford.edu/ > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of John W. > Colby > Sent: Friday, August 26, 2005 7:11 AM > To: dba-vb at databaseadvisors.com; 'Access Developers discussion and > problemsolving' > Subject: [AccessD] DotNet passing by value > > > As you might be aware, VB.Net (and I assume the other .net languages > as > well) pass all variables by value. But what does this mean, and is it true. > As you know, everything in .net is an object, even common variables > such as > an integer or decimal etc. Passing by value (in other languages) > means placing a COPY of the variable (or object in this case) on the > stack as the > function is called. In VBA for example, when you pass by value, it > really does ONLY for the simple data types, passing anything else > (including > strings) by value. > > Imagine passing a string, which could be a million bytes, by value - > literally making a copy and passing that into the stack. IIRC the > total stack space for a given program in an Intel machine is something > like 128 kbytes which means that passing a single (huge) string by > value could cause > a stack overflow. Now DotNet comes along claiming to pass everything > by value. Is this more doublespeak? And if so, what is the truth? > > John W. Colby > www.ColbyConsulting.com > > Contribute your unused CPU cycles to a good cause: > http://folding.stanford.edu/ > > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > > > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > 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 verizon.net Fri Aug 26 07:47:44 2005 From: mikedorism at verizon.net (Mike & Doris Manning) Date: Fri, 26 Aug 2005 08:47:44 -0400 Subject: [AccessD] DotNet passing by value In-Reply-To: <022201c5aa3a$7bb03de0$6c7aa8c0@ColbyM6805> Message-ID: <000201c5aa3c$5cb3bcd0$2e01a8c0@dorismanning> When you declare the variable, you can set the default. Dim bolTest as Boolean = False Doris Manning mikedorism at verizon.net -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of John W. Colby Sent: Friday, August 26, 2005 8:34 AM To: 'Access Developers discussion and problem solving' Subject: RE: [AccessD] DotNet passing by value Does this imply that it makes a copy of every object before passing a pointer to that copy of the object? That seems like a lot of overhead. And is there any way to set the default to true "by reference"? I am accustomed to "by reference", and know what that means, and am accustomed to thinking about whether I am modifying the original object. John W. Colby www.ColbyConsulting.com Contribute your unused CPU cycles to a good cause: http://folding.stanford.edu/ -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Shamil Salakhetdinov Sent: Friday, August 26, 2005 8:25 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] DotNet passing by value John, AFAIK VBA passes ByVal strings by reference but it first makes the copy of the string to the heap memory... The same should be true for VB.NET/C#. So, one million bytes' length string will be copied to the heap memory and then passed internally by ref. Heap memory is handled by virtual memory management system - it should work rather well if one has speedy moderrn HHDs for automatic swapping... But of course passing one million bytes long strings as a ByVal parameter isn't a good idea at all.... > As you know, everything in .net is an object Yes, everything is an object but scalar types are used internall as they are usually used in unmanaged systems - this optimization is done by .NET Framework compilers. When a scalar type has to be treated as an object it is getting "boxed" - boxing is a ,NET Framework term: See also: Writing Faster Managed Code: Know What Things Cost http://msdn.microsoft.com/library/default.asp?url=/library/en-us/dndotnet/ht ml/fastmanagedcode.asp Shamil ----- Original Message ----- From: "John W. Colby" To: "'Access Developers discussion and problem solving'" Sent: Friday, August 26, 2005 3:21 PM Subject: RE: [AccessD] DotNet passing by value > Oooops... > > >.. passing anything else (including strings) by value. > > Should have said "by reference", i.e. placing a pointer to the object > on the > stack. > > John W. Colby > www.ColbyConsulting.com > > Contribute your unused CPU cycles to a good cause: > http://folding.stanford.edu/ > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of John W. > Colby > Sent: Friday, August 26, 2005 7:11 AM > To: dba-vb at databaseadvisors.com; 'Access Developers discussion and > problemsolving' > Subject: [AccessD] DotNet passing by value > > > As you might be aware, VB.Net (and I assume the other .net languages > as > well) pass all variables by value. But what does this mean, and is it true. > As you know, everything in .net is an object, even common variables > such as > an integer or decimal etc. Passing by value (in other languages) > means placing a COPY of the variable (or object in this case) on the > stack as the > function is called. In VBA for example, when you pass by value, it > really does ONLY for the simple data types, passing anything else > (including > strings) by value. > > Imagine passing a string, which could be a million bytes, by value - > literally making a copy and passing that into the stack. IIRC the > total stack space for a given program in an Intel machine is something > like 128 kbytes which means that passing a single (huge) string by > value could cause > a stack overflow. Now DotNet comes along claiming to pass everything > by value. Is this more doublespeak? And if so, what is the truth? > > John W. Colby > www.ColbyConsulting.com > > Contribute your unused CPU cycles to a good cause: > http://folding.stanford.edu/ > > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > > > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From shamil at users.mns.ru Fri Aug 26 08:05:55 2005 From: shamil at users.mns.ru (Shamil Salakhetdinov) Date: Fri, 26 Aug 2005 17:05:55 +0400 Subject: [AccessD] DotNet passing by value References: <022201c5aa3a$7bb03de0$6c7aa8c0@ColbyM6805> Message-ID: <000e01c5aa3e$ebef7400$6501a8c0@fincomplex.spb.ru> No, objects are always passed by reference - here is a quick test, which shows the difference (watch line wraps): Module Module1 Class TestMe Public TestInt As Integer = 0 End Class Sub Main() Dim obj As TestMe = New TestMe Dim s As String = "***" testObject(obj, s) Console.WriteLine(String.Format("ByVal test: [{0}] [{1}]", obj.TestInt.ToString(), s)) obj.TestInt = 0 testObject1(obj, s) Console.WriteLine(String.Format("ByRef test: [{0}] [{1}]", obj.TestInt.ToString(), s)) End Sub Sub testObject(ByVal obj As TestMe, ByVal s As String) obj.TestInt = 503 s = "503" End Sub Sub testObject1(ByRef obj As TestMe, ByRef s As String) obj.TestInt = 503 s = "503" End Sub To pass objects by value you have to implement custom cloning: See also: 1. IClonable interface 2. http://www.windojitsu.com/blog/copyctorvsicloneable.html ( Copy Constructors vs ICloneable -- Redux (Updated!)) Shamil ----- Original Message ----- From: "John W. Colby" To: "'Access Developers discussion and problem solving'" Sent: Friday, August 26, 2005 4:34 PM Subject: RE: [AccessD] DotNet passing by value > Does this imply that it makes a copy of every object before passing a > pointer to that copy of the object? That seems like a lot of overhead. And > is there any way to set the default to true "by reference"? I am accustomed > to "by reference", and know what that means, and am accustomed to thinking > about whether I am modifying the original object. > > John W. Colby > www.ColbyConsulting.com > > Contribute your unused CPU cycles to a good cause: > http://folding.stanford.edu/ > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Shamil > Salakhetdinov > Sent: Friday, August 26, 2005 8:25 AM > To: Access Developers discussion and problem solving > Subject: Re: [AccessD] DotNet passing by value > > > John, > > AFAIK VBA passes ByVal strings by reference but it first makes the copy of > the string to the heap memory... The same should be true for VB.NET/C#. So, > one million bytes' length string will be copied to the heap memory and then > passed internally by ref. Heap memory is handled by virtual memory > management system - it should work rather well if one has speedy moderrn > HHDs for automatic swapping... > > But of course passing one million bytes long strings as a ByVal parameter > isn't a good idea at all.... > > > As you know, everything in .net is an object > Yes, everything is an object but scalar types are used internall as they are > usually used in unmanaged systems - this optimization is done by .NET > Framework compilers. When a scalar type has to be treated as an object it is > getting "boxed" - boxing is a ,NET Framework term: > > See also: > > Writing Faster Managed Code: Know What Things Cost > http://msdn.microsoft.com/library/default.asp?url=/library/en-us/dndotnet/ht > ml/fastmanagedcode.asp > > Shamil > > ----- Original Message ----- > From: "John W. Colby" > To: "'Access Developers discussion and problem solving'" > > Sent: Friday, August 26, 2005 3:21 PM > Subject: RE: [AccessD] DotNet passing by value > > > > Oooops... > > > > >.. passing anything else (including strings) by value. > > > > Should have said "by reference", i.e. placing a pointer to the object > > on > the > > stack. > > > > John W. Colby > > www.ColbyConsulting.com > > > > Contribute your unused CPU cycles to a good cause: > > http://folding.stanford.edu/ > > > > -----Original Message----- > > From: accessd-bounces at databaseadvisors.com > > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of John W. > > Colby > > Sent: Friday, August 26, 2005 7:11 AM > > To: dba-vb at databaseadvisors.com; 'Access Developers discussion and > > problemsolving' > > Subject: [AccessD] DotNet passing by value > > > > > > As you might be aware, VB.Net (and I assume the other .net languages > > as > > well) pass all variables by value. But what does this mean, and is it > true. > > As you know, everything in .net is an object, even common variables > > such > as > > an integer or decimal etc. Passing by value (in other languages) > > means placing a COPY of the variable (or object in this case) on the > > stack as > the > > function is called. In VBA for example, when you pass by value, it > > really does ONLY for the simple data types, passing anything else > > (including > > strings) by value. > > > > Imagine passing a string, which could be a million bytes, by value - > > literally making a copy and passing that into the stack. IIRC the > > total stack space for a given program in an Intel machine is something > > like 128 kbytes which means that passing a single (huge) string by > > value could > cause > > a stack overflow. Now DotNet comes along claiming to pass everything > > by value. Is this more doublespeak? And if so, what is the truth? > > > > John W. Colby > > www.ColbyConsulting.com > > > > Contribute your unused CPU cycles to a good cause: > > http://folding.stanford.edu/ > > > > > > -- > > AccessD mailing list > > AccessD at databaseadvisors.com > > http://databaseadvisors.com/mailman/listinfo/accessd > > Website: http://www.databaseadvisors.com > > > > > > > > -- > > AccessD mailing list > > AccessD at databaseadvisors.com > > http://databaseadvisors.com/mailman/listinfo/accessd > > Website: http://www.databaseadvisors.com > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > 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 Fri Aug 26 08:02:44 2005 From: artful at rogers.com (Arthur Fuller) Date: Fri, 26 Aug 2005 09:02:44 -0400 Subject: [AccessD] OT: Roz's Novel In-Reply-To: <20050826101542.48751.qmail@web50106.mail.yahoo.com> Message-ID: <200508261302.j7QD2mR12703@databaseadvisors.com> Roz on Extra-Marital Relationships? -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Roz Clarke Sent: August 26, 2005 6:16 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] OT: Roz's Novel Or one for the OT list... Fear of Flaming Roz From jwcolby at colbyconsulting.com Fri Aug 26 08:04:38 2005 From: jwcolby at colbyconsulting.com (John W. Colby) Date: Fri, 26 Aug 2005 09:04:38 -0400 Subject: [AccessD] DotNet passing by value In-Reply-To: <000201c5aa3c$5cb3bcd0$2e01a8c0@dorismanning> Message-ID: <022601c5aa3e$b70ddb00$6c7aa8c0@ColbyM6805> Sorry, I was referring to setting the default "pass by" method to TRUE "by reference" - passing a pointer to the original object, not a copy of the object. John W. Colby www.ColbyConsulting.com Contribute your unused CPU cycles to a good cause: http://folding.stanford.edu/ -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Mike & Doris Manning Sent: Friday, August 26, 2005 8:48 AM To: 'Access Developers discussion and problem solving' Subject: RE: [AccessD] DotNet passing by value When you declare the variable, you can set the default. Dim bolTest as Boolean = False Doris Manning mikedorism at verizon.net -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of John W. Colby Sent: Friday, August 26, 2005 8:34 AM To: 'Access Developers discussion and problem solving' Subject: RE: [AccessD] DotNet passing by value Does this imply that it makes a copy of every object before passing a pointer to that copy of the object? That seems like a lot of overhead. And is there any way to set the default to true "by reference"? I am accustomed to "by reference", and know what that means, and am accustomed to thinking about whether I am modifying the original object. John W. Colby www.ColbyConsulting.com Contribute your unused CPU cycles to a good cause: http://folding.stanford.edu/ -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Shamil Salakhetdinov Sent: Friday, August 26, 2005 8:25 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] DotNet passing by value John, AFAIK VBA passes ByVal strings by reference but it first makes the copy of the string to the heap memory... The same should be true for VB.NET/C#. So, one million bytes' length string will be copied to the heap memory and then passed internally by ref. Heap memory is handled by virtual memory management system - it should work rather well if one has speedy moderrn HHDs for automatic swapping... But of course passing one million bytes long strings as a ByVal parameter isn't a good idea at all.... > As you know, everything in .net is an object Yes, everything is an object but scalar types are used internall as they are usually used in unmanaged systems - this optimization is done by .NET Framework compilers. When a scalar type has to be treated as an object it is getting "boxed" - boxing is a ,NET Framework term: See also: Writing Faster Managed Code: Know What Things Cost http://msdn.microsoft.com/library/default.asp?url=/library/en-us/dndotnet/ht ml/fastmanagedcode.asp Shamil ----- Original Message ----- From: "John W. Colby" To: "'Access Developers discussion and problem solving'" Sent: Friday, August 26, 2005 3:21 PM Subject: RE: [AccessD] DotNet passing by value > Oooops... > > >.. passing anything else (including strings) by value. > > Should have said "by reference", i.e. placing a pointer to the object > on the > stack. > > John W. Colby > www.ColbyConsulting.com > > Contribute your unused CPU cycles to a good cause: > http://folding.stanford.edu/ > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of John W. > Colby > Sent: Friday, August 26, 2005 7:11 AM > To: dba-vb at databaseadvisors.com; 'Access Developers discussion and > problemsolving' > Subject: [AccessD] DotNet passing by value > > > As you might be aware, VB.Net (and I assume the other .net languages > as > well) pass all variables by value. But what does this mean, and is it true. > As you know, everything in .net is an object, even common variables > such as > an integer or decimal etc. Passing by value (in other languages) > means placing a COPY of the variable (or object in this case) on the > stack as the > function is called. In VBA for example, when you pass by value, it > really does ONLY for the simple data types, passing anything else > (including > strings) by value. > > Imagine passing a string, which could be a million bytes, by value - > literally making a copy and passing that into the stack. IIRC the > total stack space for a given program in an Intel machine is something > like 128 kbytes which means that passing a single (huge) string by > value could cause > a stack overflow. Now DotNet comes along claiming to pass everything > by value. Is this more doublespeak? And if so, what is the truth? > > John W. Colby > www.ColbyConsulting.com > > Contribute your unused CPU cycles to a good cause: > http://folding.stanford.edu/ > > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > > > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd 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 Fri Aug 26 03:30:53 2005 From: roz.clarke at donnslaw.co.uk (Roz Clarke) Date: Fri, 26 Aug 2005 09:30:53 +0100 Subject: [AccessD] OT: Roz's Novel Message-ID: <61F915314798D311A2F800A0C9C8318807225F32@dibble.observatory.donnslaw.co.uk> ROFL. Very good Andy. I had to clutch my head for several minutes after reading that last one. -----Original Message----- From: Andy Lacey [mailto:andy at minstersystems.co.uk] Sent: 26 August 2005 08:21 To: 'Access Developers discussion and problem solving' Subject: [AccessD] OT: Roz's Novel It's Friday so we can go for suggestions for alternative titles for Roz's book. I'll start the ball rolling. Firstly I was musing about her subject matter and thinking of another work which treats that broad subject. Thus I came up with "Hamlet - The SQL". But that's more for the literary end of the market. Or, Roz, you could blatantly go for the market of people who don't really read but will do if it's a children's book that's ok for adults to be seen with - so "Harry Potter And The Nobility Of Truth Versus The Attractions Of Artifice" (catchy I thought). Finally if you wanted another theme how about a book for gullible Ark theorists who like Dan Brown but prefer a quicker read - "The Da Vinci Compiler" (groan). -- Andy Lacey http://www.minstersystems.co.uk -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -------------- next part -------------- The contents of this message and any attachments are the property of Donns Solicitors and are intended for the confidential use of the named recipient only. They may be legally privileged and should not be communicated to, or relied upon, by any other party without our written consent. If you are not the addressee, please notify us immediately so that we can make arrangements for its return. You should not show this e-mail to any person or take copies as you may be committing a criminal or civil offence for which you may be liable. The statement and opinions expressed in this e-mail message are those of the writer, and do not necessarily represent that of Donns Solicitors. Although any files attached to this e-mail will have been checked with virus protection software prior to transmission, you should carry out your own virus check before opening any attachment. Donns Solicitors does not accept any liability for any damage or loss which may be caused by software viruses... From tom.bolton at donnslaw.co.uk Fri Aug 26 05:55:21 2005 From: tom.bolton at donnslaw.co.uk (Tom Bolton) Date: Fri, 26 Aug 2005 11:55:21 +0100 Subject: [AccessD] OT: Roz's Novel Message-ID: <61F915314798D311A2F800A0C9C831880802A32E@dibble.observatory.donnslaw.co.uk> The Bound of the Baskervilles *runs away* -----Original Message----- From: Andy Lacey [mailto:andy at minstersystems.co.uk] Sent: 26-Aug-2005 11:32 To: Access Developers discussion and problem solving Subject: Re: [AccessD] OT: Roz's Novel A best seller waiting to happen. -- 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] OT: Roz's Novel Date: 26/08/05 10:18 Harry Colby and the Nobility of Bound Versus the Attractions of Unbound --- Andy Lacey wrote: > It's Friday so we can go for suggestions for alternative titles for Roz's > book. I'll start the ball rolling. > > Firstly I was musing about her subject matter and thinking of another work > which treats that broad subject. Thus I came up with "Hamlet - The SQL". But > that's more for the literary end of the market. Or, Roz, you could blatantly > go for the market of people who don't really read but will do if it's a > children's book that's ok for adults to be seen with - so "Harry Potter And > The Nobility Of Truth Versus The Attractions Of Artifice" (catchy I > thought). Finally if you wanted another theme how about a book for gullible > Ark theorists who like Dan Brown but prefer a quicker read - "The Da Vinci > Compiler" (groan). > > -- Andy Lacey > http://www.minstersystems.co.uk > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > Send instant messages to your online friends http://uk.messenger.yahoo.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com ________________________________________________ Message sent using UebiMiau 2.7.2 -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -------------- next part -------------- The contents of this message and any attachments are the property of Donns Solicitors and are intended for the confidential use of the named recipient only. They may be legally privileged and should not be communicated to, or relied upon, by any other party without our written consent. If you are not the addressee, please notify us immediately so that we can make arrangements for its return. You should not show this e-mail to any person or take copies as you may be committing a criminal or civil offence for which you may be liable. The statement and opinions expressed in this e-mail message are those of the writer, and do not necessarily represent that of Donns Solicitors. Although any files attached to this e-mail will have been checked with virus protection software prior to transmission, you should carry out your own virus check before opening any attachment. Donns Solicitors does not accept any liability for any damage or loss which may be caused by software viruses... From tom.bolton at donnslaw.co.uk Fri Aug 26 05:53:46 2005 From: tom.bolton at donnslaw.co.uk (Tom Bolton) Date: Fri, 26 Aug 2005 11:53:46 +0100 Subject: [AccessD] OT: Roz's Novel Message-ID: <61F915314798D311A2F800A0C9C831880802A32D@dibble.observatory.donnslaw.co.uk> The 158-Unbound Marriage Or The World According to Clarke P.S. if anyone can think of a way of getting 'A Son of the Circus' in there I'll be impressed -----Original Message----- From: Andy Lacey [mailto:andy at minstersystems.co.uk] Sent: 26-Aug-2005 11:32 To: Access Developers discussion and problem solving Subject: Re: [AccessD] OT: Roz's Novel A best seller waiting to happen. -- 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] OT: Roz's Novel Date: 26/08/05 10:18 Harry Colby and the Nobility of Bound Versus the Attractions of Unbound --- Andy Lacey wrote: > It's Friday so we can go for suggestions for alternative titles for Roz's > book. I'll start the ball rolling. > > Firstly I was musing about her subject matter and thinking of another work > which treats that broad subject. Thus I came up with "Hamlet - The SQL". But > that's more for the literary end of the market. Or, Roz, you could blatantly > go for the market of people who don't really read but will do if it's a > children's book that's ok for adults to be seen with - so "Harry Potter And > The Nobility Of Truth Versus The Attractions Of Artifice" (catchy I > thought). Finally if you wanted another theme how about a book for gullible > Ark theorists who like Dan Brown but prefer a quicker read - "The Da Vinci > Compiler" (groan). > > -- Andy Lacey > http://www.minstersystems.co.uk > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > Send instant messages to your online friends http://uk.messenger.yahoo.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com ________________________________________________ Message sent using UebiMiau 2.7.2 -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -------------- next part -------------- The contents of this message and any attachments are the property of Donns Solicitors and are intended for the confidential use of the named recipient only. They may be legally privileged and should not be communicated to, or relied upon, by any other party without our written consent. If you are not the addressee, please notify us immediately so that we can make arrangements for its return. You should not show this e-mail to any person or take copies as you may be committing a criminal or civil offence for which you may be liable. The statement and opinions expressed in this e-mail message are those of the writer, and do not necessarily represent that of Donns Solicitors. Although any files attached to this e-mail will have been checked with virus protection software prior to transmission, you should carry out your own virus check before opening any attachment. Donns Solicitors does not accept any liability for any damage or loss which may be caused by software viruses... From roz.clarke at donnslaw.co.uk Fri Aug 26 08:11:47 2005 From: roz.clarke at donnslaw.co.uk (Roz Clarke) Date: Fri, 26 Aug 2005 14:11:47 +0100 Subject: [AccessD] OT: Roz's Novel Message-ID: <61F915314798D311A2F800A0C9C8318807225F42@dibble.observatory.donnslaw.co.uk> What are you trying to say? -----Original Message----- From: Arthur Fuller [mailto:artful at rogers.com] Sent: 26 August 2005 14:03 To: 'Access Developers discussion and problem solving' Subject: RE: [AccessD] OT: Roz's Novel Roz on Extra-Marital Relationships? -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Roz Clarke Sent: August 26, 2005 6:16 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] OT: Roz's Novel Or one for the OT list... Fear of Flaming Roz -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -------------- next part -------------- The contents of this message and any attachments are the property of Donns Solicitors and are intended for the confidential use of the named recipient only. They may be legally privileged and should not be communicated to, or relied upon, by any other party without our written consent. If you are not the addressee, please notify us immediately so that we can make arrangements for its return. You should not show this e-mail to any person or take copies as you may be committing a criminal or civil offence for which you may be liable. The statement and opinions expressed in this e-mail message are those of the writer, and do not necessarily represent that of Donns Solicitors. Although any files attached to this e-mail will have been checked with virus protection software prior to transmission, you should carry out your own virus check before opening any attachment. Donns Solicitors does not accept any liability for any damage or loss which may be caused by software viruses... From jwcolby at colbyconsulting.com Fri Aug 26 09:25:45 2005 From: jwcolby at colbyconsulting.com (John W. Colby) Date: Fri, 26 Aug 2005 10:25:45 -0400 Subject: [AccessD] OT: Roz's Novel In-Reply-To: <61F915314798D311A2F800A0C9C8318807225F42@dibble.observatory.donnslaw.co.uk> Message-ID: <025001c5aa4a$0c363c70$6c7aa8c0@ColbyM6805> I was wondering the same thing! I think they took your love of the whip "a step too far". John W. Colby www.ColbyConsulting.com Contribute your unused CPU cycles to a good cause: http://folding.stanford.edu/ -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Roz Clarke Sent: Friday, August 26, 2005 9:12 AM To: 'Access Developers discussion and problem solving' Subject: RE: [AccessD] OT: Roz's Novel What are you trying to say? -----Original Message----- From: Arthur Fuller [mailto:artful at rogers.com] Sent: 26 August 2005 14:03 To: 'Access Developers discussion and problem solving' Subject: RE: [AccessD] OT: Roz's Novel Roz on Extra-Marital Relationships? -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Roz Clarke Sent: August 26, 2005 6:16 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] OT: Roz's Novel Or one for the OT list... Fear of Flaming Roz -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From adtp at touchtelindia.net Fri Aug 26 09:40:05 2005 From: adtp at touchtelindia.net (A.D.Tejpal) Date: Fri, 26 Aug 2005 20:10:05 +0530 Subject: [AccessD] Building SQL statement References: <015101c5a924$4f937db0$6c7aa8c0@ColbyM6805> Message-ID: <237001c5aa4c$259ab720$9a1865cb@winxp> John, Add-In named SQLToVBAString_ver2.zip, available in folder 0_Utilities And Add-Ins, in files section of Yahoo group named MS_Access_Professionals might be of interest to you. Once installed, it coverts an SQL statement into VBA string (duly taking care of extra quotes if any) and copies the contents to the clipboard for direct use in VBA editor. A.D.Tejpal -------------- ----- Original Message ----- From: John W. Colby To: 'Access Developers discussion and problem solving' Sent: Thursday, August 25, 2005 08:53 Subject: [AccessD] Building SQL statement I'm attempting to build a SQL statement to append data into a record. One of the fields is text, including (possibly) any valid text including ' - for example in contractions such as "aren't" etc. My SQL statement is building up a statement in the format: lstrSQL = "INSERT INTO WebNewsItem ( WebNewsSourceID, Link, Title, ArticleDescription ) " & _ "SELECT " & webNewsSourceID & " AS WebNewsSourceID, '" & link & "' AS Link, '" & title & "' AS Title, '" & description & "' AS ArticleDescription;" The problem is that description can contain the ' character and thus I end up with an invalid SQL statement since the ' embedded in description "looks like" the ' that is supposed to enclose the text. I can't for the life of me remember how I am supposed to handle this. I could punt and open a recordset, create a new record, and place the data directly into the field, which I may end up doing but I sure would prefer to just do the "append query" thing. It is (was) much simpler. John W. Colby www.ColbyConsulting.com From jwcolby at colbyconsulting.com Fri Aug 26 09:54:35 2005 From: jwcolby at colbyconsulting.com (John W. Colby) Date: Fri, 26 Aug 2005 10:54:35 -0400 Subject: [AccessD] Building SQL statement In-Reply-To: <237001c5aa4c$259ab720$9a1865cb@winxp> Message-ID: <025401c5aa4e$1302f8a0$6c7aa8c0@ColbyM6805> I thank everyone for their solutions. In fact this is in VB.Net. Fir this particular problem I think the easiest solution will be to open a recordset and place the string into a specific field. I do understand the issue though and the solution if I do want to build a SQL statement. John W. Colby www.ColbyConsulting.com Contribute your unused CPU cycles to a good cause: http://folding.stanford.edu/ -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of A.D.Tejpal Sent: Friday, August 26, 2005 10:40 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Building SQL statement John, Add-In named SQLToVBAString_ver2.zip, available in folder 0_Utilities And Add-Ins, in files section of Yahoo group named MS_Access_Professionals might be of interest to you. Once installed, it coverts an SQL statement into VBA string (duly taking care of extra quotes if any) and copies the contents to the clipboard for direct use in VBA editor. A.D.Tejpal -------------- ----- Original Message ----- From: John W. Colby To: 'Access Developers discussion and problem solving' Sent: Thursday, August 25, 2005 08:53 Subject: [AccessD] Building SQL statement I'm attempting to build a SQL statement to append data into a record. One of the fields is text, including (possibly) any valid text including ' - for example in contractions such as "aren't" etc. My SQL statement is building up a statement in the format: lstrSQL = "INSERT INTO WebNewsItem ( WebNewsSourceID, Link, Title, ArticleDescription ) " & _ "SELECT " & webNewsSourceID & " AS WebNewsSourceID, '" & link & "' AS Link, '" & title & "' AS Title, '" & description & "' AS ArticleDescription;" The problem is that description can contain the ' character and thus I end up with an invalid SQL statement since the ' embedded in description "looks like" the ' that is supposed to enclose the text. I can't for the life of me remember how I am supposed to handle this. I could punt and open a recordset, create a new record, and place the data directly into the field, which I may end up doing but I sure would prefer to just do the "append query" thing. It is (was) much simpler. 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 Fri Aug 26 10:00:25 2005 From: artful at rogers.com (Arthur Fuller) Date: Fri, 26 Aug 2005 11:00:25 -0400 Subject: [AccessD] Iterate through controls on a form In-Reply-To: <022601c5aa3e$b70ddb00$6c7aa8c0@ColbyM6805> Message-ID: <200508261500.j7QF0SR13353@databaseadvisors.com> Anyone got a loop handy that iterates through the controls on a form and prints their data source? Ideally, it would also print a vbCRLF between the controls on each tab page, if there are multiple pages. TIA, Arthur From Lambert.Heenan at AIG.com Fri Aug 26 10:19:34 2005 From: Lambert.Heenan at AIG.com (Heenan, Lambert) Date: Fri, 26 Aug 2005 11:19:34 -0400 Subject: [AccessD] Iterate through controls on a form Message-ID: <1D7828CDB8350747AFE9D69E0E90DA1F14EA4490@xlivmbx21.aig.com> Basically it's ... Dim c as control For Each c in Me Debug.Print c.Name, c.ControlSource Next c But you'll have to check for controls that do not have a Controlsource property. -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Arthur Fuller Sent: Friday, August 26, 2005 11:00 AM To: 'Access Developers discussion and problem solving' Subject: [AccessD] Iterate through controls on a form Anyone got a loop handy that iterates through the controls on a form and prints their data source? Ideally, it would also print a vbCRLF between the controls on each tab page, if there are multiple pages. TIA, Arthur -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From cfoust at infostatsystems.com Fri Aug 26 10:51:31 2005 From: cfoust at infostatsystems.com (Charlotte Foust) Date: Fri, 26 Aug 2005 08:51:31 -0700 Subject: [AccessD] OT: Zip files (was Logic issue) Message-ID: Don't you think a cab file is a bit of overkill when all you want to do is send an Access demo of a particular kind of operation?? Charlotte Foust -----Original Message----- From: Gustav Brock [mailto:Gustav at cactus.dk] Sent: Friday, August 26, 2005 3:28 AM To: accessd at databaseadvisors.com Subject: RE: [AccessD] OT: Zip files (was Logic issue) Hi all As I wrote last year: Some strip zip files from e-mails to avoid vira and spyware, thus cab files can be a valid alternative for attaching compressed files. You can use a MS command line util for this (cabarc.exe or makecab.exe) or a freeware tool like CabPack 1.4, but did you know that Internet Explorer comes with a GUI wizard-type wrapper for CabArc called IExpress? Just type iexpress at the Run entry in the Start menu. When finished, it offers to save your settings as a "sed" file so you easily can repeat a packing session. /gustav >>> cfoust at infostatsystems.com 25-08-2005 17:20 >>> Does anyone know what the logic is for blocking zip files? I run into this occasionally and it drives me nuts! You zip files to avoid the filters that won't accept an mdb, etc., and then you run into filters that won't accept the zip files. Oops, Catch-22. That drumming you hear is my head pounding against the wall .... Charlotte Foust -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From cfoust at infostatsystems.com Fri Aug 26 10:58:15 2005 From: cfoust at infostatsystems.com (Charlotte Foust) Date: Fri, 26 Aug 2005 08:58:15 -0700 Subject: [AccessD] OT: Roz's Novel Message-ID: ROTFLMAO I'll buy that one!! Charlotte Foust -----Original Message----- From: Tom Bolton [mailto:tom.bolton at donnslaw.co.uk] Sent: Friday, August 26, 2005 3:55 AM To: 'Access Developers discussion and problem solving' Subject: RE: [AccessD] OT: Roz's Novel The Bound of the Baskervilles *runs away* -----Original Message----- From: Andy Lacey [mailto:andy at minstersystems.co.uk] Sent: 26-Aug-2005 11:32 To: Access Developers discussion and problem solving Subject: Re: [AccessD] OT: Roz's Novel A best seller waiting to happen. -- 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] OT: Roz's Novel Date: 26/08/05 10:18 Harry Colby and the Nobility of Bound Versus the Attractions of Unbound --- Andy Lacey wrote: > It's Friday so we can go for suggestions for alternative titles for > Roz's book. I'll start the ball rolling. > > Firstly I was musing about her subject matter and thinking of another > work which treats that broad subject. Thus I came up with "Hamlet - > The SQL". But > that's more for the literary end of the market. Or, Roz, you could blatantly > go for the market of people who don't really read but will do if it's > a children's book that's ok for adults to be seen with - so "Harry > Potter And > The Nobility Of Truth Versus The Attractions Of Artifice" (catchy I > thought). Finally if you wanted another theme how about a book for gullible > Ark theorists who like Dan Brown but prefer a quicker read - "The Da > Vinci Compiler" (groan). > > -- Andy Lacey > http://www.minstersystems.co.uk > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > Send instant messages to your online friends http://uk.messenger.yahoo.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com ________________________________________________ Message sent using UebiMiau 2.7.2 -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From cfoust at infostatsystems.com Fri Aug 26 11:05:58 2005 From: cfoust at infostatsystems.com (Charlotte Foust) Date: Fri, 26 Aug 2005 09:05:58 -0700 Subject: [AccessD] DotNet passing by value Message-ID: John, It's true and it isn't. You can pass arguments ByRef in .Net, but it isn't the default. And ByVal isn't the same in .Net as it was in VB/VBA. The VS.Net help contains a topic called "Parameter Passing Mechanism Changes in Visual Basic" that you can find by typing "ByRef keyword, what's changed" in the Look for: box under the index tab. Charlotte Foust -----Original Message----- From: John W. Colby [mailto:jwcolby at colbyconsulting.com] Sent: Friday, August 26, 2005 4:10 AM To: dba-vb at databaseadvisors.com; 'Access Developers discussion and problemsolving' Subject: [AccessD] DotNet passing by value As you might be aware, VB.Net (and I assume the other .net languages as well) pass all variables by value. But what does this mean, and is it true. As you know, everything in .net is an object, even common variables such as an integer or decimal etc. Passing by value (in other languages) means placing a COPY of the variable (or object in this case) on the stack as the function is called. In VBA for example, when you pass by value, it really does ONLY for the simple data types, passing anything else (including strings) by value. Imagine passing a string, which could be a million bytes, by value - literally making a copy and passing that into the stack. IIRC the total stack space for a given program in an Intel machine is something like 128 kbytes which means that passing a single (huge) string by value could cause a stack overflow. Now DotNet comes along claiming to pass everything by value. Is this more doublespeak? And if so, what is the truth? John W. Colby www.ColbyConsulting.com Contribute your unused CPU cycles to a good cause: http://folding.stanford.edu/ -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From cfoust at infostatsystems.com Fri Aug 26 11:18:41 2005 From: cfoust at infostatsystems.com (Charlotte Foust) Date: Fri, 26 Aug 2005 09:18:41 -0700 Subject: [AccessD] Building SQL statement Message-ID: John, You might have some cleaner, easier to read code if you made use of a StringBuilder in .Net. Once you get the hang of them, you never revert to VB style concatenation again. Dim bld As New System.Text.StringBuilder bld.Append("INSERT INTO WebNewsItem ( WebNewsSourceID, Link, Title, ArticleDescription ) ") bld.AppendFormat(" "SELECT {0} AS WebNewsSourceID, ", webNewsSourceID) bld.AppendFormat("'{0}' AS Link, ", link) bld.AppendFormat("'{0}' AS Title, ", title) bld.AppendFormat("'{0}' AS ArticleDescription;", description.Replace("'", "''")) lstrSQL = bld.ToString Charlotte -----Original Message----- From: John W. Colby [mailto:jwcolby at colbyconsulting.com] Sent: Friday, August 26, 2005 7:55 AM To: 'Access Developers discussion and problem solving' Subject: RE: [AccessD] Building SQL statement I thank everyone for their solutions. In fact this is in VB.Net. Fir this particular problem I think the easiest solution will be to open a recordset and place the string into a specific field. I do understand the issue though and the solution if I do want to build a SQL statement. John W. Colby www.ColbyConsulting.com Contribute your unused CPU cycles to a good cause: http://folding.stanford.edu/ -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of A.D.Tejpal Sent: Friday, August 26, 2005 10:40 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Building SQL statement John, Add-In named SQLToVBAString_ver2.zip, available in folder 0_Utilities And Add-Ins, in files section of Yahoo group named MS_Access_Professionals might be of interest to you. Once installed, it coverts an SQL statement into VBA string (duly taking care of extra quotes if any) and copies the contents to the clipboard for direct use in VBA editor. A.D.Tejpal -------------- ----- Original Message ----- From: John W. Colby To: 'Access Developers discussion and problem solving' Sent: Thursday, August 25, 2005 08:53 Subject: [AccessD] Building SQL statement I'm attempting to build a SQL statement to append data into a record. One of the fields is text, including (possibly) any valid text including ' - for example in contractions such as "aren't" etc. My SQL statement is building up a statement in the format: lstrSQL = "INSERT INTO WebNewsItem ( WebNewsSourceID, Link, Title, ArticleDescription ) " & _ "SELECT " & webNewsSourceID & " AS WebNewsSourceID, '" & link & "' AS Link, '" & title & "' AS Title, '" & description & "' AS ArticleDescription;" The problem is that description can contain the ' character and thus I end up with an invalid SQL statement since the ' embedded in description "looks like" the ' that is supposed to enclose the text. I can't for the life of me remember how I am supposed to handle this. I could punt and open a recordset, create a new record, and place the data directly into the field, which I may end up doing but I sure would prefer to just do the "append query" thing. It is (was) much simpler. 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 Fri Aug 26 11:32:31 2005 From: Gustav at cactus.dk (Gustav Brock) Date: Fri, 26 Aug 2005 18:32:31 +0200 Subject: [AccessD] OT: Zip files (was Logic issue) Message-ID: Hi Charlotte No, why? If so, it would be overkill too, to zip the file. Cab files - are never filtered out except if all attachments are removed. - are opened natively by Windows 2000+ - do compress mdb files better than zip /gustav >>> cfoust at infostatsystems.com 26-08-2005 17:51 >>> Don't you think a cab file is a bit of overkill when all you want to do is send an Access demo of a particular kind of operation?? From cfoust at infostatsystems.com Fri Aug 26 11:43:20 2005 From: cfoust at infostatsystems.com (Charlotte Foust) Date: Fri, 26 Aug 2005 09:43:20 -0700 Subject: [AccessD] Building SQL statement Message-ID: Darn! The code got mangled and wrapped. Lets try it again .. . Dim bld As New System.Text.StringBuilder bld.Append("INSERT INTO WebNewsItem ( WebNewsSourceID, Link, Title, ArticleDescription ) ") bld.AppendFormat(" "SELECT {0} AS WebNewsSourceID, ", webNewsSourceID) bld.AppendFormat("'{0}' AS Link, ", link) bld.AppendFormat("'{0}' AS Title, ", title) bld.AppendFormat("'{0}' AS ArticleDescription;", description.Replace("'", "''")) lstrSQL = bld.ToString Charlotte -----Original Message----- From: Charlotte Foust Sent: Friday, August 26, 2005 9:19 AM To: Access Developers discussion and problem solving Subject: RE: [AccessD] Building SQL statement John, You might have some cleaner, easier to read code if you made use of a StringBuilder in .Net. Once you get the hang of them, you never revert to VB style concatenation again. Dim bld As New System.Text.StringBuilder bld.Append("INSERT INTO WebNewsItem ( WebNewsSourceID, Link, Title, ArticleDescription ) ") bld.AppendFormat(" "SELECT {0} AS WebNewsSourceID, ", webNewsSourceID) bld.AppendFormat("'{0}' AS Link, ", link) bld.AppendFormat("'{0}' AS Title, ", title) bld.AppendFormat("'{0}' AS ArticleDescription;", description.Replace("'", "''")) lstrSQL = bld.ToString Charlotte -----Original Message----- From: John W. Colby [mailto:jwcolby at colbyconsulting.com] Sent: Friday, August 26, 2005 7:55 AM To: 'Access Developers discussion and problem solving' Subject: RE: [AccessD] Building SQL statement I thank everyone for their solutions. In fact this is in VB.Net. Fir this particular problem I think the easiest solution will be to open a recordset and place the string into a specific field. I do understand the issue though and the solution if I do want to build a SQL statement. John W. Colby www.ColbyConsulting.com Contribute your unused CPU cycles to a good cause: http://folding.stanford.edu/ -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of A.D.Tejpal Sent: Friday, August 26, 2005 10:40 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Building SQL statement John, Add-In named SQLToVBAString_ver2.zip, available in folder 0_Utilities And Add-Ins, in files section of Yahoo group named MS_Access_Professionals might be of interest to you. Once installed, it coverts an SQL statement into VBA string (duly taking care of extra quotes if any) and copies the contents to the clipboard for direct use in VBA editor. A.D.Tejpal -------------- ----- Original Message ----- From: John W. Colby To: 'Access Developers discussion and problem solving' Sent: Thursday, August 25, 2005 08:53 Subject: [AccessD] Building SQL statement I'm attempting to build a SQL statement to append data into a record. One of the fields is text, including (possibly) any valid text including ' - for example in contractions such as "aren't" etc. My SQL statement is building up a statement in the format: lstrSQL = "INSERT INTO WebNewsItem ( WebNewsSourceID, Link, Title, ArticleDescription ) " & _ "SELECT " & webNewsSourceID & " AS WebNewsSourceID, '" & link & "' AS Link, '" & title & "' AS Title, '" & description & "' AS ArticleDescription;" The problem is that description can contain the ' character and thus I end up with an invalid SQL statement since the ' embedded in description "looks like" the ' that is supposed to enclose the text. I can't for the life of me remember how I am supposed to handle this. I could punt and open a recordset, create a new record, and place the data directly into the field, which I may end up doing but I sure would prefer to just do the "append query" thing. It is (was) much simpler. 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 accessd at shaw.ca Fri Aug 26 11:56:53 2005 From: accessd at shaw.ca (Jim Lawrence) Date: Fri, 26 Aug 2005 09:56:53 -0700 Subject: [AccessD] OT: Using technolgyl In-Reply-To: <001d01c5aa0e$b377bcc0$a5c00c54@minster33c3r25> Message-ID: <0ILU002WQ9QSE7@l-daemon> As this is Friday I thought I would pass this along. Just your typical integration expert who happens to know some Microsoft and java technology jargon keywords and decided it was a brilliant idea to integrate technologies using as many as he/she could: http://www.thedailywtf.com/forums/41672/ShowPost.aspx ...and it works... only just. Of course we have all done similar projects :-) Jim From accessd at shaw.ca Fri Aug 26 12:00:57 2005 From: accessd at shaw.ca (Jim Lawrence) Date: Fri, 26 Aug 2005 10:00:57 -0700 Subject: [AccessD] OT: Zip files (was Logic issue) In-Reply-To: Message-ID: <0ILU0024E9XKAU@l-daemon> That is brilliant... where do find all this stuff? Jim -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Gustav Brock Sent: Friday, August 26, 2005 3:28 AM To: accessd at databaseadvisors.com Subject: RE: [AccessD] OT: Zip files (was Logic issue) Hi all As I wrote last year: Some strip zip files from e-mails to avoid vira and spyware, thus cab files can be a valid alternative for attaching compressed files. You can use a MS command line util for this (cabarc.exe or makecab.exe) or a freeware tool like CabPack 1.4, but did you know that Internet Explorer comes with a GUI wizard-type wrapper for CabArc called IExpress? Just type iexpress at the Run entry in the Start menu. When finished, it offers to save your settings as a "sed" file so you easily can repeat a packing session. /gustav >>> cfoust at infostatsystems.com 25-08-2005 17:20 >>> Does anyone know what the logic is for blocking zip files? I run into this occasionally and it drives me nuts! You zip files to avoid the filters that won't accept an mdb, etc., and then you run into filters that won't accept the zip files. Oops, Catch-22. That drumming you hear is my head pounding against the wall .... Charlotte Foust -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From Gustav at cactus.dk Fri Aug 26 12:30:12 2005 From: Gustav at cactus.dk (Gustav Brock) Date: Fri, 26 Aug 2005 19:30:12 +0200 Subject: [AccessD] OT: Zip files (was Logic issue) Message-ID: Hi Jim Thanks! This one I picked up at Fred Langa: http://www.langa.com/newsletters/2003/2003-06-23.htm /gustav >>> accessd at shaw.ca 26-08-2005 19:00 >>> That is brilliant... where do find all this stuff? Jim -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Gustav Brock Sent: Friday, August 26, 2005 3:28 AM To: accessd at databaseadvisors.com Subject: RE: [AccessD] OT: Zip files (was Logic issue) Hi all As I wrote last year: Some strip zip files from e-mails to avoid vira and spyware, thus cab files can be a valid alternative for attaching compressed files. You can use a MS command line util for this (cabarc.exe or makecab.exe) or a freeware tool like CabPack 1.4, but did you know that Internet Explorer comes with a GUI wizard-type wrapper for CabArc called IExpress? Just type iexpress at the Run entry in the Start menu. When finished, it offers to save your settings as a "sed" file so you easily can repeat a packing session. /gustav >>> cfoust at infostatsystems.com 25-08-2005 17:20 >>> Does anyone know what the logic is for blocking zip files? I run into this occasionally and it drives me nuts! You zip files to avoid the filters that won't accept an mdb, etc., and then you run into filters that won't accept the zip files. Oops, Catch-22. That drumming you hear is my head pounding against the wall .... Charlotte Foust From pedro at plex.nl Fri Aug 26 17:29:52 2005 From: pedro at plex.nl (Pedro Janssen) Date: Sat, 27 Aug 2005 00:29:52 +0200 Subject: [AccessD] adding control number References: Message-ID: <008c01c5aa8d$ae8cc960$fac581d5@pedro> Hello, thanks to alle who responded. You real time savers. Pedro Janssen ----- Original Message ----- From: "Gustav Brock" To: Sent: Friday, August 26, 2005 1:40 PM Subject: Re: [AccessD] adding control number > Hi Pedro > > Looks like a Modulus 10 check digit calculation. > Below is a function that will do this for you in a maintainable way. > > Use it like this: > > strChk = Right(ModulusAppend("00327833", 10), Len("00327833")) > > /gustav > > > > Function ModulusAppend( _ > ByVal strNumber As String, _ > ByVal intModulus As Integer) _ > As String > > ' Appends a Modulus 10 or 11 check digit to strNumber. > ' > ' 1999-10-08. Cactus Data ApS, CPH. > > Dim intC As Integer, intF As Integer, intN As Integer > Dim intL As Integer, intM As Integer, intT As Integer > Dim strNumCheck As String > Dim strNumChr As String > Dim strNumClean As String > > ' Max. length of number. > intM = 32 - 1 > > If intModulus = 10 Or intModulus = 11 Then > intL = Len(strNumber) > ' Remove non-digits. > For intN = 0 To intL - 1 > strNumChr = Mid(strNumber, intN + 1, 1) > If (Asc(strNumChr) >= 48) And (Asc(strNumChr) <= 57) Then > strNumClean = strNumClean & strNumChr > End If > Next intN > strNumber = strNumClean > intL = Len(strNumber) > End If > > If intL > 0 And intL <= intM Then > For intN = 0 To intL - 1 > intC = Val(Mid(strNumber, intL - intN, 1)) > Select Case intModulus > Case Is = 10 > intF = (1 + ((intN + 1) Mod 2)) > intC = intF * intC > intC = Int(intC / 10) + (intC Mod 10) > Case Is = 11 > intF = 2 + (intN Mod 6) > intC = intF * intC > End Select > intT = intT + intC > Next > Select Case intModulus > Case Is = 10 > intC = intT - (intT Mod intModulus) + intModulus > strNumCheck = Format((intC - intT) Mod intModulus, "@") > Case Is = 11 > intC = intModulus - (intT Mod intModulus) > Select Case intC > Case Is = 11 > ' A check digit for this number cannot be calculated! > strNumber = vbNullString > intC = 0 > Beep > Case Is = 10 > intC = 0 > End Select > strNumCheck = Format(intC, "@") > End Select > strNumber = strNumber & strNumCheck > Else > strNumber = "0" > End If > > ModulusAppend = strNumber > > End Function > > > > > >>> pedro at plex.nl 26-08-2005 11:11 >>> > Hello Group, > > I have an ID (text, because it begins with 00) that exist of 8 > numbers. > I need to change this ID by removing the first 0, and by adding a extra > control number. > This control number can be calculated from this ID. This can be done by > several query's. Is it possible to do in one query?? > > For example. > > I have ID: 00327833 > > Take the number of the odd positions: 0 3 7 3 > > Place these numbers behind each other to make one number: 0373 > > Multiply this number with 2: 0373 x 2 = 0746 > > Count up the separate numbers from this last multiplication: 0 + 7 + > 4 + 6 = 17 > > >From the original ID, take the even positions: 0 2 8 3 > > Count up the separate numbers from the even positions with the sum of > the last count up: 17 + 0 + 2 + 8 + 3 = 30 > > The last number of the previous sum is the extra control number: 0 > > >From the original ID, remove the first 0 and add the control number: > 03278330 > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > > From artful at rogers.com Fri Aug 26 22:38:33 2005 From: artful at rogers.com (Arthur Fuller) Date: Fri, 26 Aug 2005 23:38:33 -0400 Subject: [AccessD] VBA to ActiveX In-Reply-To: <20050822214246.41640.qmail@web33114.mail.mud.yahoo.com> Message-ID: <200508270338.j7R3cTR04495@databaseadvisors.com> I somehow missed your question in previous visits. Did you receive a satisfactory answer? In short, I would say that ALL such calculation-type code that can be moved to the server SHOULD be moved to the server. Depending on the particulars, you might use a sproc or a UDF, but I am most definitely in the camp that what the back end can do the back end SHOULD do. Arthur -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Lonnie Johnson Sent: August 22, 2005 5:43 PM To: AccessD solving' Subject: [AccessD] VBA to ActiveX I have lots of VBA code in an Access datatabase that runs each night to update various tables and values based on certain conditions. Some of it is complicated such as calculating distance based on longitude and latitude and it is why I use VBA. However, I would like to move this processing over to our SQL Server. Would it be easy to convert some of the functions to DTS ActiveX packages? Is this even the way to go? I am looking to increase the performance and figured I could do so by moving it to the SQL Server side. May God bless you beyond your imagination! Lonnie Johnson ProDev, Professional Development of MS Access Databases Visit me at ==> http://www.prodev.us --------------------------------- Start your day with Yahoo! - make it your home page -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From martyconnelly at shaw.ca Sat Aug 27 00:19:22 2005 From: martyconnelly at shaw.ca (MartyConnelly) Date: Fri, 26 Aug 2005 22:19:22 -0700 Subject: [AccessD] adding control number References: Message-ID: <430FF7DA.6050700@shaw.ca> Just as a matter of interest this works to verify last digit on Canadian SIN Social Insurance number Just pass first 8 digits in string ModulusAppend(lSIN, 10) and you get 9'th check digit appended. You could use for verifying ISBN numbers but need to handle additional appending of -X in method Gustav Brock wrote: >Hi Pedro > >Looks like a Modulus 10 check digit calculation. >Below is a function that will do this for you in a maintainable way. > >Use it like this: > >strChk = Right(ModulusAppend("00327833", 10), Len("00327833")) > >/gustav > > > >Function ModulusAppend( _ > ByVal strNumber As String, _ > ByVal intModulus As Integer) _ > As String > >' Appends a Modulus 10 or 11 check digit to strNumber. >' >' 1999-10-08. Cactus Data ApS, CPH. > > Dim intC As Integer, intF As Integer, intN As Integer > Dim intL As Integer, intM As Integer, intT As Integer > Dim strNumCheck As String > Dim strNumChr As String > Dim strNumClean As String > > ' Max. length of number. > intM = 32 - 1 > > If intModulus = 10 Or intModulus = 11 Then > intL = Len(strNumber) > ' Remove non-digits. > For intN = 0 To intL - 1 > strNumChr = Mid(strNumber, intN + 1, 1) > If (Asc(strNumChr) >= 48) And (Asc(strNumChr) <= 57) Then > strNumClean = strNumClean & strNumChr > End If > Next intN > strNumber = strNumClean > intL = Len(strNumber) > End If > > If intL > 0 And intL <= intM Then > For intN = 0 To intL - 1 > intC = Val(Mid(strNumber, intL - intN, 1)) > Select Case intModulus > Case Is = 10 > intF = (1 + ((intN + 1) Mod 2)) > intC = intF * intC > intC = Int(intC / 10) + (intC Mod 10) > Case Is = 11 > intF = 2 + (intN Mod 6) > intC = intF * intC > End Select > intT = intT + intC > Next > Select Case intModulus > Case Is = 10 > intC = intT - (intT Mod intModulus) + intModulus > strNumCheck = Format((intC - intT) Mod intModulus, "@") > Case Is = 11 > intC = intModulus - (intT Mod intModulus) > Select Case intC > Case Is = 11 > ' A check digit for this number cannot be calculated! > strNumber = vbNullString > intC = 0 > Beep > Case Is = 10 > intC = 0 > End Select > strNumCheck = Format(intC, "@") > End Select > strNumber = strNumber & strNumCheck > Else > strNumber = "0" > End If > > ModulusAppend = strNumber > >End Function > > > > > > >>>>pedro at plex.nl 26-08-2005 11:11 >>> >>>> >>>> >Hello Group, > >I have an ID (text, because it begins with 00) that exist of 8 >numbers. >I need to change this ID by removing the first 0, and by adding a extra >control number. >This control number can be calculated from this ID. This can be done by >several query's. Is it possible to do in one query?? > >For example. > >I have ID: 00327833 > >Take the number of the odd positions: 0 3 7 3 > >Place these numbers behind each other to make one number: 0373 > >Multiply this number with 2: 0373 x 2 = 0746 > >Count up the separate numbers from this last multiplication: 0 + 7 + >4 + 6 = 17 > >>From the original ID, take the even positions: 0 2 8 3 > >Count up the separate numbers from the even positions with the sum of >the last count up: 17 + 0 + 2 + 8 + 3 = 30 > >The last number of the previous sum is the extra control number: 0 > >>From the original ID, remove the first 0 and add the control number: > 03278330 > > > -- Marty Connelly Victoria, B.C. Canada From Gustav at cactus.dk Sat Aug 27 01:38:53 2005 From: Gustav at cactus.dk (Gustav Brock) Date: Sat, 27 Aug 2005 08:38:53 +0200 Subject: [AccessD] adding control number Message-ID: Hi Marty Yes, Modulus 10 verification is widely used. Another example is the European unique product numbers EAN-8 and EAN-13 which I understand now is to be implemented in the US as well. Usually it is presented as a barcode too. Another check is the Modulus 9710 verification. Much more fun, and used for the international exchange of bank accounts called IBAN. /gustav >>> martyconnelly at shaw.ca 27-08-2005 07:19 >>> Just as a matter of interest this works to verify last digit on Canadian SIN Social Insurance number Just pass first 8 digits in string ModulusAppend(lSIN, 10) and you get 9'th check digit appended. You could use for verifying ISBN numbers but need to handle additional appending of -X in method Gustav Brock wrote: >Hi Pedro > >Looks like a Modulus 10 check digit calculation. From artful at rogers.com Sun Aug 28 07:37:33 2005 From: artful at rogers.com (Arthur Fuller) Date: Sun, 28 Aug 2005 08:37:33 -0400 Subject: [AccessD] Select Count(*) from different tables In-Reply-To: <200508270338.j7R3cTR04495@databaseadvisors.com> Message-ID: <200508281237.j7SCbdR05631@databaseadvisors.com> I have two MDBs identical in structure (or nearly so) and I want to compare the counts of each pair of tables and put the results all in a single query. I know that I have done this before, but I can't quite remember the syntax I used. It is something along the lines of: SELECT Count(*) AS AssessID_Notes_Count FROM [AssessID_Notes_DS Without Matching AssessID_Notes], (SELECT Count(*) AS Bill_Time_Machine_Count FROM [Bill_Time_Machine_DS Without Matching Bill_Time_Machine]) But the above returns only one column, not two as I would expect. Since I want to compare about two dozen tables (queries, actually), I stopped at two until I could get it right. Removing the parentheses from the second "column" results in an error. Can anyone suggest the correct syntax for this type of query? (This case is Access MDB not ADP, but it might be useful to have both answers handy.) TIA, Arthur From artful at rogers.com Sun Aug 28 07:51:46 2005 From: artful at rogers.com (Arthur Fuller) Date: Sun, 28 Aug 2005 08:51:46 -0400 Subject: [AccessD] Select Count(*) from different tables In-Reply-To: <200508281237.j7SCbdR05631@databaseadvisors.com> Message-ID: <200508281251.j7SCpqR09395@databaseadvisors.com> I should perhaps have pointed out that the way I am doing this is by using a third MDB which links to the two MDBs of interest and their tables of interest. The links to the tables in MDB_1 have been renamed using the "_DS" suffix, to distinguish them from identically named tables without the suffix in MDB_2. That might help you make sense of the query. I did it this way so as not to clutter either MDB_1 or MDB_2 with the compare queries. -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Arthur Fuller Sent: August 28, 2005 8:38 AM To: 'Access Developers discussion and problem solving' Subject: [AccessD] Select Count(*) from different tables I have two MDBs identical in structure (or nearly so) and I want to compare the counts of each pair of tables and put the results all in a single query. I know that I have done this before, but I can't quite remember the syntax I used. It is something along the lines of: SELECT Count(*) AS AssessID_Notes_Count FROM [AssessID_Notes_DS Without Matching AssessID_Notes], (SELECT Count(*) AS Bill_Time_Machine_Count FROM [Bill_Time_Machine_DS Without Matching Bill_Time_Machine]) But the above returns only one column, not two as I would expect. Since I want to compare about two dozen tables (queries, actually), I stopped at two until I could get it right. Removing the parentheses from the second "column" results in an error. Can anyone suggest the correct syntax for this type of query? (This case is Access MDB not ADP, but it might be useful to have both answers handy.) TIA, Arthur -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From Gustav at cactus.dk Sun Aug 28 08:01:35 2005 From: Gustav at cactus.dk (Gustav Brock) Date: Sun, 28 Aug 2005 15:01:35 +0200 Subject: [AccessD] Select Count(*) from different tables Message-ID: Hi Arthur It could be: SELECT Count(*) AS AssessID_Notes_Count, (SELECT Count(*) FROM [Bill_Time_Machine_DS Without Matching Bill_Time_Machine]) AS Bill_Time_Machine_Count FROM [AssessID_Notes_DS Without Matching AssessID_Notes]; /gustav >>> artful at rogers.com 28-08-2005 14:37 >>> I have two MDBs identical in structure (or nearly so) and I want to compare the counts of each pair of tables and put the results all in a single query. I know that I have done this before, but I can't quite remember the syntax I used. It is something along the lines of: SELECT Count(*) AS AssessID_Notes_Count FROM [AssessID_Notes_DS Without Matching AssessID_Notes], (SELECT Count(*) AS Bill_Time_Machine_Count FROM [Bill_Time_Machine_DS Without Matching Bill_Time_Machine]) But the above returns only one column, not two as I would expect. Since I want to compare about two dozen tables (queries, actually), I stopped at two until I could get it right. Removing the parentheses from the second "column" results in an error. Can anyone suggest the correct syntax for this type of query? (This case is Access MDB not ADP, but it might be useful to have both answers handy.) TIA, Arthur From adtp at touchtelindia.net Sun Aug 28 09:44:12 2005 From: adtp at touchtelindia.net (A.D.Tejpal) Date: Sun, 28 Aug 2005 20:14:12 +0530 Subject: [AccessD] Select Count(*) from different tables References: <200508281237.j7SCbdR05631@databaseadvisors.com> Message-ID: <008d01c5abdf$05905950$811865cb@winxp> Arthur, Sample query given below will get you four columns of Count(*) from four tables named T_A to T_D. Table T_Dummy is a dummy table with just one record. Its contents are of no significance. Best wishes, A.D.Tejpal -------------- ================================== SELECT (Select Count(*) From T_A) AS Count_A, (Select Count(*) From T_B) AS Count_B, (Select Count(*) From T_C) AS Count_C, (Select Count(*) From T_D) AS Count_D FROM T_Dummy; ================================== ----- Original Message ----- From: Arthur Fuller To: 'Access Developers discussion and problem solving' Sent: Sunday, August 28, 2005 18:07 Subject: [AccessD] Select Count(*) from different tables I have two MDBs identical in structure (or nearly so) and I want to compare the counts of each pair of tables and put the results all in a single query. I know that I have done this before, but I can't quite remember the syntax I used. It is something along the lines of: SELECT Count(*) AS AssessID_Notes_Count FROM [AssessID_Notes_DS Without Matching AssessID_Notes], (SELECT Count(*) AS Bill_Time_Machine_Count FROM [Bill_Time_Machine_DS Without Matching Bill_Time_Machine]) But the above returns only one column, not two as I would expect. Since I want to compare about two dozen tables (queries, actually), I stopped at two until I could get it right. Removing the parentheses from the second "column" results in an error. Can anyone suggest the correct syntax for this type of query? (This case is Access MDB not ADP, but it might be useful to have both answers handy.) TIA, Arthur From artful at rogers.com Sun Aug 28 11:35:26 2005 From: artful at rogers.com (Arthur Fuller) Date: Sun, 28 Aug 2005 12:35:26 -0400 Subject: [AccessD] Select Count(*) from different tables In-Reply-To: Message-ID: <200508281635.j7SGZTR00910@databaseadvisors.com> Thanks! My excuse is old age LOL. :-) -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Gustav Brock Sent: August 28, 2005 9:02 AM To: accessd at databaseadvisors.com Subject: Re: [AccessD] Select Count(*) from different tables Hi Arthur It could be: SELECT Count(*) AS AssessID_Notes_Count, (SELECT Count(*) FROM [Bill_Time_Machine_DS Without Matching Bill_Time_Machine]) AS Bill_Time_Machine_Count FROM [AssessID_Notes_DS Without Matching AssessID_Notes]; /gustav >>> artful at rogers.com 28-08-2005 14:37 >>> I have two MDBs identical in structure (or nearly so) and I want to compare the counts of each pair of tables and put the results all in a single query. I know that I have done this before, but I can't quite remember the syntax I used. It is something along the lines of: SELECT Count(*) AS AssessID_Notes_Count FROM [AssessID_Notes_DS Without Matching AssessID_Notes], (SELECT Count(*) AS Bill_Time_Machine_Count FROM [Bill_Time_Machine_DS Without Matching Bill_Time_Machine]) But the above returns only one column, not two as I would expect. Since I want to compare about two dozen tables (queries, actually), I stopped at two until I could get it right. Removing the parentheses from the second "column" results in an error. Can anyone suggest the correct syntax for this type of query? (This case is Access MDB not ADP, but it might be useful to have both answers handy.) TIA, Arthur -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From stuart at lexacorp.com.pg Sun Aug 28 17:02:01 2005 From: stuart at lexacorp.com.pg (Stuart McLachlan) Date: Mon, 29 Aug 2005 08:02:01 +1000 Subject: [AccessD] Select Count(*) from different tables In-Reply-To: <200508281237.j7SCbdR05631@databaseadvisors.com> References: <200508270338.j7R3cTR04495@databaseadvisors.com> Message-ID: <4312C0F9.270.16AE89F0@stuart.lexacorp.com.pg> On 28 Aug 2005 at 8:37, Arthur Fuller wrote: Not sure quite what you mean bye compair the count of "each pair of tables" since you also say "I want to compare about two dozen tables" Is this what you are talking about? SELECT "AssessID_Notes" as QName, Count(*) FROM [AssessID_Notes_DS Without Matching AssessID_Notes], UNION SELECT "Bill_Time_Machine", Count(*) FROM [Bill_Time_Machine_DS Without Matching Bill_Time_Machine]) UNION SELECT "Description","Count(*) FROM [qryMyNextQuery] > I have two MDBs identical in structure (or nearly so) and I want to > compare the counts of each pair of tables and put the results all in a > single query. I know that I have done this before, but I can't quite > remember the syntax I used. It is something along the lines of: > > But the above returns only one column, not two as I would expect. Since > I want to compare about two dozen tables (queries, actually), I stopped > at two until I could get it right. Removing the parentheses from the > second "column" results in an error. > Can anyone suggest the correct syntax for this type of query? (This case > is Access MDB not ADP, but it might be useful to have both answers > handy.) -- Stuart From artful at rogers.com Sun Aug 28 17:14:44 2005 From: artful at rogers.com (Arthur Fuller) Date: Sun, 28 Aug 2005 18:14:44 -0400 Subject: [AccessD] Select Count(*) from different tables In-Reply-To: <4312C0F9.270.16AE89F0@stuart.lexacorp.com.pg> Message-ID: <200508282214.j7SMEiR18224@databaseadvisors.com> That is one potential approach but not the one I had in mind. What I had in mind was more like this. Assume BE1 and BE2, both linked to the FE that does this. Select Count(*) From BE1.Table1, Count(*) From BE2.T1 Select Count(*) From BE1.Table2, Count(*) From BE2.T2 Actually, this is not necessary since there are queries that use the non-duplicate thingie to return the rows not present in BE2 that are present in BE1. I then use this query result to do an append query to BE2. At this moment, I can do what I need to do using Dcount(), but it sucks, in terms of performance. It works, but it is SLOW. For each pair of tables (call the abstract T1_DS and T1), I want the rowcount from each and to report the difference. And I want to do these differences for all the tables of interest. Assume about 25 pairs of tables. The Union approach gives me rows. I want columns, because I want to display the results on one "row" of one results form. A. -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Stuart McLachlan Sent: August 28, 2005 6:02 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Select Count(*) from different tables On 28 Aug 2005 at 8:37, Arthur Fuller wrote: Not sure quite what you mean bye compair the count of "each pair of tables" since you also say "I want to compare about two dozen tables" Is this what you are talking about? SELECT "AssessID_Notes" as QName, Count(*) FROM [AssessID_Notes_DS Without Matching AssessID_Notes], UNION SELECT "Bill_Time_Machine", Count(*) FROM [Bill_Time_Machine_DS Without Matching Bill_Time_Machine]) UNION SELECT "Description","Count(*) FROM [qryMyNextQuery] > I have two MDBs identical in structure (or nearly so) and I want to > compare the counts of each pair of tables and put the results all in a > single query. I know that I have done this before, but I can't quite > remember the syntax I used. It is something along the lines of: > > But the above returns only one column, not two as I would expect. Since > I want to compare about two dozen tables (queries, actually), I stopped > at two until I could get it right. Removing the parentheses from the > second "column" results in an error. > Can anyone suggest the correct syntax for this type of query? (This case > is Access MDB not ADP, but it might be useful to have both answers > handy.) -- Stuart -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From actebs at actebs.com.au Sun Aug 28 19:05:48 2005 From: actebs at actebs.com.au (ACTEBS) Date: Mon, 29 Aug 2005 10:05:48 +1000 Subject: [AccessD] Relink temporarily Message-ID: <2025BB6F17FCB54791F23CD50558332810FC74@starfleet.unknown.local> Hi everyone, Does anyone have a procedure that they are willing to share that can temporarily link a table and then once finished removes the link from the DB? I am using A2K for a small app and just can't seem to find any info on this... Thanks in advance Vlad From adtp at touchtelindia.net Sun Aug 28 22:58:22 2005 From: adtp at touchtelindia.net (A.D.Tejpal) Date: Mon, 29 Aug 2005 09:28:22 +0530 Subject: [AccessD] Select Count(*) from different tables References: <200508282214.j7SMEiR18224@databaseadvisors.com> Message-ID: <004a01c5ac4d$f97c4f60$0100007f@winxp> Arthur, The solution suggested in my previous post is meant to ensure an output of just one row, the number of columns being equal to the number of tables in question. Best wishes, A.D.Tejpal -------------- ----- Original Message ----- From: Arthur Fuller To: 'Access Developers discussion and problem solving' Sent: Monday, August 29, 2005 03:44 Subject: RE: [AccessD] Select Count(*) from different tables That is one potential approach but not the one I had in mind. What I had in mind was more like this. Assume BE1 and BE2, both linked to the FE that does this. Select Count(*) From BE1.Table1, Count(*) From BE2.T1 Select Count(*) From BE1.Table2, Count(*) From BE2.T2 Actually, this is not necessary since there are queries that use the non-duplicate thingie to return the rows not present in BE2 that are present in BE1. I then use this query result to do an append query to BE2. At this moment, I can do what I need to do using Dcount(), but it sucks, in terms of performance. It works, but it is SLOW. For each pair of tables (call the abstract T1_DS and T1), I want the rowcount from each and to report the difference. And I want to do these differences for all the tables of interest. Assume about 25 pairs of tables. The Union approach gives me rows. I want columns, because I want to display the results on one "row" of one results form. A. -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Stuart McLachlan Sent: August 28, 2005 6:02 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Select Count(*) from different tables On 28 Aug 2005 at 8:37, Arthur Fuller wrote: Not sure quite what you mean bye compair the count of "each pair of tables" since you also say "I want to compare about two dozen tables" Is this what you are talking about? SELECT "AssessID_Notes" as QName, Count(*) FROM [AssessID_Notes_DS Without Matching AssessID_Notes], UNION SELECT "Bill_Time_Machine", Count(*) FROM [Bill_Time_Machine_DS Without Matching Bill_Time_Machine]) UNION SELECT "Description","Count(*) FROM [qryMyNextQuery] > I have two MDBs identical in structure (or nearly so) and I want to > compare the counts of each pair of tables and put the results all in a > single query. I know that I have done this before, but I can't quite > remember the syntax I used. It is something along the lines of: > > But the above returns only one column, not two as I would expect. Since > I want to compare about two dozen tables (queries, actually), I stopped > at two until I could get it right. Removing the parentheses from the > second "column" results in an error. > Can anyone suggest the correct syntax for this type of query? (This case > is Access MDB not ADP, but it might be useful to have both answers > handy.) -- Stuart From Gustav at cactus.dk Mon Aug 29 03:15:57 2005 From: Gustav at cactus.dk (Gustav Brock) Date: Mon, 29 Aug 2005 10:15:57 +0200 Subject: [AccessD] Relink temporarily Message-ID: Hi Vlad You can use IN in a select query for this: SELECT * FROM tblTable IN "" [;DATABASE=d:\folder\file.mdb;]; This will not even link the table, just open it. If you need an actual linked table, use DoCmd.TransferDatabase with the constant acLink and delete the table when finished. /gustav >>> actebs at actebs.com.au 29-08-2005 02:05 >>> Hi everyone, Does anyone have a procedure that they are willing to share that can temporarily link a table and then once finished removes the link from the DB? I am using A2K for a small app and just can't seem to find any info on this... Thanks in advance Vlad From viner at EUnet.yu Mon Aug 29 06:46:29 2005 From: viner at EUnet.yu (Ervin Brindza) Date: Mon, 29 Aug 2005 13:46:29 +0200 Subject: [AccessD] OT: Excel Repeat the first row of the table on every page Message-ID: <003301c5ac8f$55a896e0$0100a8c0@RazvojErvin> My little problem is: I wish to repeat the header row of the table on every printed page. Can somebody help me? TIA, Ervin From stuart at lexacorp.com.pg Mon Aug 29 07:10:17 2005 From: stuart at lexacorp.com.pg (Stuart McLachlan) Date: Mon, 29 Aug 2005 22:10:17 +1000 Subject: [AccessD] OT: Excel Repeat the first row of the table on every page In-Reply-To: <003301c5ac8f$55a896e0$0100a8c0@RazvojErvin> Message-ID: <431387C9.16618.19B7299C@stuart.lexacorp.com.pg> On 29 Aug 2005 at 13:46, Ervin Brindza wrote: > My little problem is: I wish to repeat the header row of the table on > every printed page. "File | Page Setup | Sheet | Rows to repeat at top" -- Stuart From viner at EUnet.yu Mon Aug 29 07:19:38 2005 From: viner at EUnet.yu (Ervin Brindza) Date: Mon, 29 Aug 2005 14:19:38 +0200 Subject: [AccessD] OT: Excel Repeat the first row of the table on everypage References: <431387C9.16618.19B7299C@stuart.lexacorp.com.pg> Message-ID: <000b01c5ac93$f2366bf0$0100a8c0@RazvojErvin> Oh, I forgot that ;-( Stuart many thanks for the info! Ervin ----- Original Message ----- From: "Stuart McLachlan" To: "Access Developers discussion and problem solving" Sent: Monday, August 29, 2005 2:10 PM Subject: Re: [AccessD] OT: Excel Repeat the first row of the table on everypage > On 29 Aug 2005 at 13:46, Ervin Brindza wrote: > > > My little problem is: I wish to repeat the header row of the table on > > every printed page. > > "File | Page Setup | Sheet | Rows to repeat at top" > > -- > Stuart > > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com From actebs at actebs.com.au Mon Aug 29 08:13:09 2005 From: actebs at actebs.com.au (ACTEBS) Date: Mon, 29 Aug 2005 23:13:09 +1000 Subject: [AccessD] Relink temporarily Message-ID: <2025BB6F17FCB54791F23CD50558332810FC85@starfleet.unknown.local> Thanks Gustav - you're a god!! -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Gustav Brock Sent: Monday, 29 August 2005 6:16 PM To: accessd at databaseadvisors.com Subject: Re: [AccessD] Relink temporarily Hi Vlad You can use IN in a select query for this: SELECT * FROM tblTable IN "" [;DATABASE=d:\folder\file.mdb;]; This will not even link the table, just open it. If you need an actual linked table, use DoCmd.TransferDatabase with the constant acLink and delete the table when finished. /gustav >>> actebs at actebs.com.au 29-08-2005 02:05 >>> Hi everyone, Does anyone have a procedure that they are willing to share that can temporarily link a table and then once finished removes the link from the DB? I am using A2K for a small app and just can't seem to find any info on this... Thanks in advance Vlad -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From Gustav at cactus.dk Mon Aug 29 08:59:03 2005 From: Gustav at cactus.dk (Gustav Brock) Date: Mon, 29 Aug 2005 15:59:03 +0200 Subject: [AccessD] Relink temporarily Message-ID: Hi Vlad Oh, thanks, if only I was. That would minimize my to-do list within a few seconds - and at the same time add a lot of new hot topics with quite wide coverage! Well, back to work ... /gustav >>> actebs at actebs.com.au 29-08-2005 15:13 >>> Thanks Gustav - you're a god!! -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Gustav Brock Sent: Monday, 29 August 2005 6:16 PM To: accessd at databaseadvisors.com Subject: Re: [AccessD] Relink temporarily Hi Vlad You can use IN in a select query for this: SELECT * FROM tblTable IN "" [;DATABASE=d:\folder\file.mdb;]; This will not even link the table, just open it. If you need an actual linked table, use DoCmd.TransferDatabase with the constant acLink and delete the table when finished. /gustav >>> actebs at actebs.com.au 29-08-2005 02:05 >>> Hi everyone, Does anyone have a procedure that they are willing to share that can temporarily link a table and then once finished removes the link from the DB? I am using A2K for a small app and just can't seem to find any info on this... Thanks in advance Vlad From DWUTKA at marlow.com Mon Aug 29 09:46:26 2005 From: DWUTKA at marlow.com (DWUTKA at marlow.com) Date: Mon, 29 Aug 2005 09:46:26 -0500 Subject: [AccessD] Field Sizes Message-ID: <123701F54509D9119A4F00D0B747349016DE97@main2.marlow.com> Flames? Over field sizes? Oh please, not worth the effort. Besides, everyone knows that 255 is the way to go. ;) Drew -----Original Message----- From: Charlotte Foust [mailto:cfoust at infostatsystems.com] Sent: Thursday, August 25, 2005 4:51 PM To: Access Developers discussion and problem solving Subject: RE: [AccessD] Field Sizes We may have discussed it before, but that doesn't mean we all agreed! I object to 255 because in prior versions of Access I ran into problems of "query too complex" when all the query fields were 255 because they inherited the table widths. If you don't want to save 255 characters in a field, there is absolutely no point in making the field that wide! So, there!! (Let the flames begin .... ) Charlotte Foust -----Original Message----- From: Stuart McLachlan [mailto:stuart at lexacorp.com.pg] Sent: Thursday, August 25, 2005 2:18 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Field Sizes On 25 Aug 2005 at 11:27, John Clark wrote: > I've got bigger problems right now, but I've meant to ask something > forever and...well...today is the day, I guess. What do y'all use for > standard sizes for typical text fields, such as Last Name, First Name, > Address, City, etc.? Is there a "common practice rule" concerning > this? > We've had this discussion before 255 characters. Access doesn't use fixed length storage for strings and you don't save any space by defining text fields as less than the maximum allowable. I change the default field size for text strings to 255 in Options and never change it for individual filed definitions. All that restricting field sizes does for you is increase the risk of truncating data or throwing up error messages at the user sometime in the future. -- Stuart -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd 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 Aug 29 10:23:56 2005 From: DWUTKA at marlow.com (DWUTKA at marlow.com) Date: Mon, 29 Aug 2005 10:23:56 -0500 Subject: [AccessD] Select Count(*) from different tables Message-ID: <123701F54509D9119A4F00D0B747349016DE98@main2.marlow.com> You need subquerries for the second (third, fourth, etc) 'counts' Drew -----Original Message----- From: Arthur Fuller [mailto:artful at rogers.com] Sent: Sunday, August 28, 2005 7:38 AM To: 'Access Developers discussion and problem solving' Subject: [AccessD] Select Count(*) from different tables I have two MDBs identical in structure (or nearly so) and I want to compare the counts of each pair of tables and put the results all in a single query. I know that I have done this before, but I can't quite remember the syntax I used. It is something along the lines of: SELECT Count(*) AS AssessID_Notes_Count FROM [AssessID_Notes_DS Without Matching AssessID_Notes], (SELECT Count(*) AS Bill_Time_Machine_Count FROM [Bill_Time_Machine_DS Without Matching Bill_Time_Machine]) But the above returns only one column, not two as I would expect. Since I want to compare about two dozen tables (queries, actually), I stopped at two until I could get it right. Removing the parentheses from the second "column" results in an error. Can anyone suggest the correct syntax for this type of query? (This case is Access MDB not ADP, but it might be useful to have both answers handy.) TIA, Arthur -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From Chester_Kaup at kindermorgan.com Mon Aug 29 11:04:28 2005 From: Chester_Kaup at kindermorgan.com (Kaup, Chester) Date: Mon, 29 Aug 2005 11:04:28 -0500 Subject: [AccessD] Label on a chart problem Message-ID: I have a chart that is based on a table that has 21 rows. The chart plots fine. However if I base the report on the same table and put a label on the chart using one of the fields in the table the chart prints 21 times. The field I am using is called pattern name and is the same in all 21 records. Is there a way to put this field on the chart as a label but only one time? Chester Kaup Engineering Technician Kinder Morgan CO2 Company, LLP Office (432) 688-3797 FAX (432) 688-3799 No trees were killed in the sending of this message. However a large number of electrons were terribly inconvenienced. From john at winhaven.net Mon Aug 29 11:20:29 2005 From: john at winhaven.net (John Bartow) Date: Mon, 29 Aug 2005 11:20:29 -0500 Subject: [AccessD] Field Sizes In-Reply-To: <430EC229.20195.713431B@stuart.lexacorp.com.pg> Message-ID: <200508291620.j7TGKVR15741@databaseadvisors.com> Q: Does it matter when upsizing to SQL Server? -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Stuart McLachlan 255 characters. Access doesn't use fixed length storage for strings and you don't save any space by defining text fields as less than the maximum allowable. I change the default field size for text strings to 255 in Options and never change it for individual filed definitions. All that restricting field sizes does for you is increase the risk of truncating data or throwing up error messages at the user sometime in the future. From dmcafee at pacbell.net Mon Aug 29 11:37:42 2005 From: dmcafee at pacbell.net (dmcafee at pacbell.net) Date: Mon, 29 Aug 2005 09:37:42 -0700 Subject: [AccessD] Field Sizes In-Reply-To: <200508291620.j7TGKVR15741@databaseadvisors.com> Message-ID: In SQL you can make everything a VARCHAR(8000) :P -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of John Bartow Sent: Monday, August 29, 2005 9:20 AM To: 'Access Developers discussion and problem solving' Subject: RE: [AccessD] Field Sizes Q: Does it matter when upsizing to SQL Server? -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Stuart McLachlan 255 characters. Access doesn't use fixed length storage for strings and you don't save any space by defining text fields as less than the maximum allowable. I change the default field size for text strings to 255 in Options and never change it for individual filed definitions. All that restricting field sizes does for you is increase the risk of truncating data or throwing up error messages at the user sometime in the future. -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From Chester_Kaup at kindermorgan.com Mon Aug 29 11:37:41 2005 From: Chester_Kaup at kindermorgan.com (Kaup, Chester) Date: Mon, 29 Aug 2005 11:37:41 -0500 Subject: [AccessD] RE: Label on a chart problem Message-ID: Problem solved by making a query to extract one record and then doing a sub report for that one record and placing it in the main report. Works but maybe there is a better way? _____ From: Kaup, Chester Sent: Monday, August 29, 2005 11:04 AM To: 'Access Developers discussion and problem solving' Subject: Label on a chart problem I have a chart that is based on a table that has 21 rows. The chart plots fine. However if I base the report on the same table and put a label on the chart using one of the fields in the table the chart prints 21 times. The field I am using is called pattern name and is the same in all 21 records. Is there a way to put this field on the chart as a label but only one time? Chester Kaup Engineering Technician Kinder Morgan CO2 Company, LLP Office (432) 688-3797 FAX (432) 688-3799 No trees were killed in the sending of this message. However a large number of electrons were terribly inconvenienced. From john at winhaven.net Mon Aug 29 12:01:16 2005 From: john at winhaven.net (John Bartow) Date: Mon, 29 Aug 2005 12:01:16 -0500 Subject: [AccessD] Field Sizes In-Reply-To: Message-ID: <200508291701.j7TH1HR26777@databaseadvisors.com> On that note, is it good advice to make all text fields VarCHar in SQL Server? -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of dmcafee at pacbell.net In SQL you can make everything a VARCHAR(8000) -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of John Bartow Q: Does it matter when upsizing to SQL Server? -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Stuart McLachlan 255 characters. Access doesn't use fixed length storage for strings and you don't save any space by defining text fields as less than the maximum allowable. I change the default field size for text strings to 255 in Options and never change it for individual filed definitions. All that restricting field sizes does for you is increase the risk of truncating data or throwing up error messages at the user sometime in the future. From dmcafee at pacbell.net Mon Aug 29 12:38:57 2005 From: dmcafee at pacbell.net (dmcafee at pacbell.net) Date: Mon, 29 Aug 2005 10:38:57 -0700 Subject: [AccessD] Field Sizes In-Reply-To: <200508291701.j7TH1HR26777@databaseadvisors.com> Message-ID: I "was" kidding when I said to make them all varcahr(8000). I tend to use 50. I prefer Varchars to chars, unless when dealing with a specific charcter length datatypes. Char's tend to pad the vales with spaces. So if you have a field titled fname, a varchar(50) would store the name Joe as "Joe" a char(50) would store the name Joe as "Joe " I tend to sometimes forget to RTRIM() my chars when selecting :( D -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of John Bartow Sent: Monday, August 29, 2005 10:01 AM To: 'Access Developers discussion and problem solving' Subject: RE: [AccessD] Field Sizes On that note, is it good advice to make all text fields VarCHar in SQL Server? -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of dmcafee at pacbell.net In SQL you can make everything a VARCHAR(8000) -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of John Bartow Q: Does it matter when upsizing to SQL Server? -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Stuart McLachlan 255 characters. Access doesn't use fixed length storage for strings and you don't save any space by defining text fields as less than the maximum allowable. I change the default field size for text strings to 255 in Options and never change it for individual filed definitions. All that restricting field sizes does for you is increase the risk of truncating data or throwing up error messages at the user sometime in the future. -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From john at winhaven.net Mon Aug 29 12:58:35 2005 From: john at winhaven.net (John Bartow) Date: Mon, 29 Aug 2005 12:58:35 -0500 Subject: [AccessD] Field Sizes In-Reply-To: Message-ID: <200508291758.j7THwaR10622@databaseadvisors.com> Oh, OK, I'm a bit weary this morning, have a blistering headache and even after 4 advil and a pot of coffee didn't catch the kidding part, sorry, now that I look back it was obvious!. Good point about the padding with spaces though, so I guess it was worth it ;o) I originally wanted to discuss if upsizing from an access db to a SQL Server db was any more of a hassle based on needed field lengths or standard 255 field lengths. We know Access doesn't use fixed length storage for strings and you don't save any space by defining text fields as less than the maximum allowable. But IIRC SQL Server does so when upsizing you now have all 255 field lengths (which isn't terrible but not optimal) or do you go in and resize all the fields lengths? NOTE: I'm not taking sides here. I generally size fields similar to what Jim mentioned but I also have taken the easier route and done as Stuart mentioned - resetting the default field length size and (knowing how Access deals with text fields) not really caring if it was set smaller. -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of dmcafee at pacbell.net Sent: Monday, August 29, 2005 12:39 PM To: Access Developers discussion and problem solving Subject: RE: [AccessD] Field Sizes I "was" kidding when I said to make them all varcahr(8000). I tend to use 50. I prefer Varchars to chars, unless when dealing with a specific charcter length datatypes. Char's tend to pad the vales with spaces. So if you have a field titled fname, a varchar(50) would store the name Joe as "Joe" a char(50) would store the name Joe as "Joe " I tend to sometimes forget to RTRIM() my chars when selecting :( D -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of John Bartow Sent: Monday, August 29, 2005 10:01 AM To: 'Access Developers discussion and problem solving' Subject: RE: [AccessD] Field Sizes On that note, is it good advice to make all text fields VarCHar in SQL Server? -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of dmcafee at pacbell.net In SQL you can make everything a VARCHAR(8000) -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of John Bartow Q: Does it matter when upsizing to SQL Server? -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Stuart McLachlan 255 characters. Access doesn't use fixed length storage for strings and you don't save any space by defining text fields as less than the maximum allowable. I change the default field size for text strings to 255 in Options and never change it for individual filed definitions. All that restricting field sizes does for you is increase the risk of truncating data or throwing up error messages at the user sometime in the future. -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd 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 pacbell.net Mon Aug 29 13:47:39 2005 From: dmcafee at pacbell.net (dmcafee at pacbell.net) Date: Mon, 29 Aug 2005 11:47:39 -0700 Subject: [AccessD] Field Sizes In-Reply-To: <200508291758.j7THwaR10622@databaseadvisors.com> Message-ID: I believe when upsizing, text fields are converted to Char(). The only weird conversion is when dealing with Memo Fields, they become "text" in SQL :) so don't get the two "text" types confused between SQL & Access. I prefer SQL Servers import wizard over Access' Upsize wizard. you can save the import script and modify the fields if one is converted incorrectly. D -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of John Bartow Sent: Monday, August 29, 2005 10:59 AM To: 'Access Developers discussion and problem solving' Subject: RE: [AccessD] Field Sizes Oh, OK, I'm a bit weary this morning, have a blistering headache and even after 4 advil and a pot of coffee didn't catch the kidding part, sorry, now that I look back it was obvious!. Good point about the padding with spaces though, so I guess it was worth it ;o) I originally wanted to discuss if upsizing from an access db to a SQL Server db was any more of a hassle based on needed field lengths or standard 255 field lengths. We know Access doesn't use fixed length storage for strings and you don't save any space by defining text fields as less than the maximum allowable. But IIRC SQL Server does so when upsizing you now have all 255 field lengths (which isn't terrible but not optimal) or do you go in and resize all the fields lengths? NOTE: I'm not taking sides here. I generally size fields similar to what Jim mentioned but I also have taken the easier route and done as Stuart mentioned - resetting the default field length size and (knowing how Access deals with text fields) not really caring if it was set smaller. -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of dmcafee at pacbell.net Sent: Monday, August 29, 2005 12:39 PM To: Access Developers discussion and problem solving Subject: RE: [AccessD] Field Sizes I "was" kidding when I said to make them all varcahr(8000). I tend to use 50. I prefer Varchars to chars, unless when dealing with a specific charcter length datatypes. Char's tend to pad the vales with spaces. So if you have a field titled fname, a varchar(50) would store the name Joe as "Joe" a char(50) would store the name Joe as "Joe " I tend to sometimes forget to RTRIM() my chars when selecting :( D -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of John Bartow Sent: Monday, August 29, 2005 10:01 AM To: 'Access Developers discussion and problem solving' Subject: RE: [AccessD] Field Sizes On that note, is it good advice to make all text fields VarCHar in SQL Server? -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of dmcafee at pacbell.net In SQL you can make everything a VARCHAR(8000) -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of John Bartow Q: Does it matter when upsizing to SQL Server? -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Stuart McLachlan 255 characters. Access doesn't use fixed length storage for strings and you don't save any space by defining text fields as less than the maximum allowable. I change the default field size for text strings to 255 in Options and never change it for individual filed definitions. All that restricting field sizes does for you is increase the risk of truncating data or throwing up error messages at the user sometime in the future. -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd 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 Aug 29 13:57:35 2005 From: john at winhaven.net (John Bartow) Date: Mon, 29 Aug 2005 13:57:35 -0500 Subject: [AccessD] Field Sizes In-Reply-To: Message-ID: <200508291857.j7TIvZR26957@databaseadvisors.com> Does an Access Memo field get converted to VarChar (by default)? -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of dmcafee at pacbell.net I believe when upsizing, text fields are converted to Char(). The only weird conversion is when dealing with Memo Fields, they become "text" in SQL :) so don't get the two "text" types confused between SQL & Access. I prefer SQL Servers import wizard over Access' Upsize wizard. you can save the import script and modify the fields if one is converted incorrectly. D From mwp.reid at qub.ac.uk Mon Aug 29 14:21:40 2005 From: mwp.reid at qub.ac.uk (Martin) Date: Mon, 29 Aug 2005 20:21:40 +0100 Subject: [AccessD] Ot John Colby Message-ID: <200508291922.j7TJMpR00581@databaseadvisors.com> JC Can you contact me of List. Apologise I dont have johns email here Martin From accessd at shaw.ca Mon Aug 29 14:24:05 2005 From: accessd at shaw.ca (Jim Lawrence) Date: Mon, 29 Aug 2005 12:24:05 -0700 Subject: [AccessD] Field Sizes In-Reply-To: <200508291758.j7THwaR10622@databaseadvisors.com> Message-ID: <0IM0008560K01R@l-daemon> My Thought on the whole thing is that if MS MDB has variable length fields it doesn't matter what size is requested and set, the data storage shrinks the minimum anyway. Now if we are referring to MS SQL server DB then fixed-fields sizes are set. Historically, all database programs that use variable length data storage were slower and more prone to corruption but if space is at a premium then that was required. But with sufficient space fixed size fields were faster and unless there was a hard drive failure always recoverable. My two cent worth. Jim -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of John Bartow Sent: Monday, August 29, 2005 10:59 AM To: 'Access Developers discussion and problem solving' Subject: RE: [AccessD] Field Sizes Oh, OK, I'm a bit weary this morning, have a blistering headache and even after 4 advil and a pot of coffee didn't catch the kidding part, sorry, now that I look back it was obvious!. Good point about the padding with spaces though, so I guess it was worth it ;o) I originally wanted to discuss if upsizing from an access db to a SQL Server db was any more of a hassle based on needed field lengths or standard 255 field lengths. We know Access doesn't use fixed length storage for strings and you don't save any space by defining text fields as less than the maximum allowable. But IIRC SQL Server does so when upsizing you now have all 255 field lengths (which isn't terrible but not optimal) or do you go in and resize all the fields lengths? NOTE: I'm not taking sides here. I generally size fields similar to what Jim mentioned but I also have taken the easier route and done as Stuart mentioned - resetting the default field length size and (knowing how Access deals with text fields) not really caring if it was set smaller. -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of dmcafee at pacbell.net Sent: Monday, August 29, 2005 12:39 PM To: Access Developers discussion and problem solving Subject: RE: [AccessD] Field Sizes I "was" kidding when I said to make them all varcahr(8000). I tend to use 50. I prefer Varchars to chars, unless when dealing with a specific charcter length datatypes. Char's tend to pad the vales with spaces. So if you have a field titled fname, a varchar(50) would store the name Joe as "Joe" a char(50) would store the name Joe as "Joe " I tend to sometimes forget to RTRIM() my chars when selecting :( D -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of John Bartow Sent: Monday, August 29, 2005 10:01 AM To: 'Access Developers discussion and problem solving' Subject: RE: [AccessD] Field Sizes On that note, is it good advice to make all text fields VarCHar in SQL Server? -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of dmcafee at pacbell.net In SQL you can make everything a VARCHAR(8000) -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of John Bartow Q: Does it matter when upsizing to SQL Server? -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Stuart McLachlan 255 characters. Access doesn't use fixed length storage for strings and you don't save any space by defining text fields as less than the maximum allowable. I change the default field size for text strings to 255 in Options and never change it for individual filed definitions. All that restricting field sizes does for you is increase the risk of truncating data or throwing up error messages at the user sometime in the future. -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd 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 Aug 29 15:09:46 2005 From: artful at rogers.com (Arthur Fuller) Date: Mon, 29 Aug 2005 16:09:46 -0400 Subject: [AccessD] Field Sizes In-Reply-To: <200508291701.j7TH1HR26777@databaseadvisors.com> Message-ID: <200508292009.j7TK9mR12454@databaseadvisors.com> No it is NOT best practice. There are performance hits with varchar columns that do not exist with char columns. I will shortly post a benchmark that proves this, but in the meantime use these rules: 1. If the existing rows and anticipated rows never go beyond N characters, make the column N + some. 2. If you cannot predict how much text will be entered, use a text column rather than varchar. 3. If you plan on indexing this column (i.e. other than a full-text index), use char. Arthur -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of John Bartow Sent: August 29, 2005 1:01 PM To: 'Access Developers discussion and problem solving' Subject: RE: [AccessD] Field Sizes On that note, is it good advice to make all text fields VarCHar in SQL Server? From stephen at bondsoftware.co.nz Mon Aug 29 16:02:00 2005 From: stephen at bondsoftware.co.nz (Stephen Bond) Date: Tue, 30 Aug 2005 09:02:00 +1200 Subject: [AccessD] Data from temp table being rammed into an Excel spreadsheet Message-ID: <70F3D727890C784291D8433E9C418F2916BC78@server.bondsoftware.co.nz> In A2K I have built a temp table and am trying to then export it to a spreadsheet using the following line of code: objXLRange.FormulaArray = objXLApp.Transpose(varResults) where 'Dim objXLApp As Excel.Application ' and 'Dim objXLRange As Excel.Range' and has been defined precisely, according to the size of the incoming data in the temp table, and varResults is a 2-dimension array being the result of SELECT * FROM tmpTable. The column count is fixed at 18 but the Row count is variable. This works well when the temp table has 303 rows or less. Over 303 rows, and I get 'Error 13 Type Mismatch'. I have looked for corrupted data coming in thru the query that creates the temp table, but after many hours of experimentation it comes back to an apparent limit on the number of Rows. I don't remember where I got the code from and I don't pretend to understand the 'FormulaArray' property in Excel, but someone here might have been down this track .... any takers? Stephen Bond From jim.moss at jlmoss.net Mon Aug 29 17:05:59 2005 From: jim.moss at jlmoss.net (Jim Moss) Date: Mon, 29 Aug 2005 17:05:59 -0500 (CDT) Subject: [AccessD] Data from temp table being rammed into an Excel spreadsheet In-Reply-To: <70F3D727890C784291D8433E9C418F2916BC78@server.bondsoftware.co.nz> References: <70F3D727890C784291D8433E9C418F2916BC78@server.bondsoftware.co.nz> Message-ID: <9032.65.196.182.34.1125353159.squirrel@65.196.182.34> Stephen, The following code does a copy from recordset: intMaxCol = rs1.Fields.Count If rs1.RecordCount > 0 Then rs1.MoveLast rs1.MoveFirst intMaxRow = rs1.RecordCount Set objXL = New Excel.Application With objXL .Visible = False Set objWkb = .Workbooks.Add Set objSht = objWkb.Worksheets(1) With objSht .Range(.Cells(2, 1), .Cells(intMaxRow, _ intMaxCol)).CopyFromRecordset rs1 End With End With End If Jim > In A2K I have built a temp table and am trying to then export it to a > spreadsheet using the following line of code: > > objXLRange.FormulaArray = objXLApp.Transpose(varResults) > > where 'Dim objXLApp As Excel.Application ' > and 'Dim objXLRange As Excel.Range' and has been defined precisely, > according to the size of the incoming data in the temp table, > and varResults is a 2-dimension array being the result of SELECT * FROM > tmpTable. The column count is fixed at 18 but the Row count is variable. > > This works well when the temp table has 303 rows or less. Over 303 rows, > and I get 'Error 13 Type Mismatch'. I have looked for corrupted data > coming in thru the query that creates the temp table, but after many hours > of experimentation it comes back to an apparent limit on the number of > Rows. > > I don't remember where I got the code from and I don't pretend to > understand the 'FormulaArray' property in Excel, but someone here might > have been down this track .... any takers? > > > Stephen Bond > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > From martyconnelly at shaw.ca Mon Aug 29 18:51:23 2005 From: martyconnelly at shaw.ca (MartyConnelly) Date: Mon, 29 Aug 2005 16:51:23 -0700 Subject: [AccessD] Data from temp table being rammed into an Excel spreadsheet References: <70F3D727890C784291D8433E9C418F2916BC78@server.bondsoftware.co.nz> Message-ID: <43139F7B.6030703@shaw.ca> There are limits on Excel 65K rows 32K per cell varies with version of Excel There is also something about memo fields being truncated at 255 chars but there is a workaround. If the worksheet aleady exists needs terminating "$" in name Here are a couple of samples methods using ADO. '? CopyTableToExcel("Products", "C:\Excel\Product2.xls", "C:\Program Files\Microsoft Office\Office\Samples\Northwind.mdb") Public Function CopyTableToExcel(strTable As String, strXLSFile As String, strAccessFile As String) Dim cnSrc As New ADODB.Connection Dim num_copied As Long DoEvents strAccessFile = CurrentDb.Name cnSrc.Open "Provider=Microsoft.Jet.OLEDB.4.0;" & _ "Data Source=" & strAccessFile & ";" 'pick a sheetname "Books" cnSrc.Execute "SELECT * INTO [Excel 8.0;" & _ "Database=" & strXLSFile & "].[Books] FROM " & _ strTable, num_copied cnSrc.Close MsgBox "Copied " & num_copied & " records." End Function ' Open the database and build the Recordset containing the data 'you want to transfer. Then open the Excel workbook, 'find the worksheet that should contain the data, 'create a Range on the worksheet, 'and use its CopyFromRecordset method to load the data. 'This example also calls AutoFit to make the column widths fit the data. Function CopyTableToExcelCreate(strTable As String, strXLSFilename As String) Dim conn As ADODB.Connection Dim rs As ADODB.Recordset Dim excel_app As Excel.Application Dim excel_sheet As Excel.Worksheet DoEvents ' Open the Access database. Set conn = New ADODB.Connection conn.ConnectionString = _ "Provider=Microsoft.Jet.OLEDB.4.0;" & _ "Data Source=" & strXLSFilename conn.Open ' Select the Access data. Set rs = conn.Execute(strTable) ' Create the Excel application. Set excel_app = CreateObject("Excel.Application") ' Uncomment this line to make Excel visible. ' excel_app.Visible = True ' Open the Excel workbook. excel_app.Workbooks.Open strXLSFilename ' Check for later versions. If Val(excel_app.Application.Version) >= 8 Then Set excel_sheet = excel_app.ActiveSheet Else Set excel_sheet = excel_app End If ' Use the Recordset to fill the table. excel_sheet.Cells.CopyFromRecordset rs excel_sheet.Cells.Columns.AutoFit ' Save the workbook. excel_app.ActiveWorkbook.Save ' Shut down. excel_app.Quit rs.Close conn.Close MsgBox "Ok" End Function Stephen Bond wrote: >In A2K I have built a temp table and am trying to then export it to a spreadsheet using the following line of code: > > objXLRange.FormulaArray = objXLApp.Transpose(varResults) > >where 'Dim objXLApp As Excel.Application ' >and 'Dim objXLRange As Excel.Range' and has been defined precisely, according to the size of the incoming data in the temp table, >and varResults is a 2-dimension array being the result of SELECT * FROM tmpTable. The column count is fixed at 18 but the Row count is variable. > >This works well when the temp table has 303 rows or less. Over 303 rows, and I get 'Error 13 Type Mismatch'. I have looked for corrupted data coming in thru the query that creates the temp table, but after many hours of experimentation it comes back to an apparent limit on the number of Rows. > >I don't remember where I got the code from and I don't pretend to understand the 'FormulaArray' property in Excel, but someone here might have been down this track .... any takers? > > >Stephen Bond > > > >------------------------------------------------------------------------ > >No virus found in this incoming message. >Checked by AVG Anti-Virus. >Version: 7.0.344 / Virus Database: 267.10.17/84 - Release Date: 29/08/2005 > > -- Marty Connelly Victoria, B.C. Canada From Gustav at cactus.dk Tue Aug 30 02:47:53 2005 From: Gustav at cactus.dk (Gustav Brock) Date: Tue, 30 Aug 2005 09:47:53 +0200 Subject: [AccessD] OT: Stupid antispam Message-ID: Hi all Well, to this guy our list certainly will look quit! Re: [AccessD] Relink temporarily (Zaep Key: 7bae2957.4313bfb6.04bc08b3) Dear Gustav, Thanks for your email, but at this point I have NOT actually received your message because I have implemented a challenge-response based anti-spam solution. Before I can receive your message you must respond in ONE of the ways outlined below. You will not have to do this again. To comment this for you with an in-house mailserver, we have successfully installed a spamfilter using the SpamAssassin daemon as a proxy. It automatically tests received mail towards the blacklists and filters virus infected mails, and these two features alone has cut our received spam by about 95%: http://www.pinjo.nl/ Cost is EUR 150,00 which are well spent as it is a snap to install. /gustav From tom.bolton at donnslaw.co.uk Tue Aug 30 03:57:35 2005 From: tom.bolton at donnslaw.co.uk (Tom Bolton) Date: Tue, 30 Aug 2005 09:57:35 +0100 Subject: [AccessD] RE: A2k2 / SQL Server dropped indexes Message-ID: <61F915314798D311A2F800A0C9C831880802A335@dibble.observatory.donnslaw.co.uk> Morning all We've had a problem in the past here with linking tables into an Access .mdb from a SQL Server database - when the tables are linked, Access decides on its own primary key and creates an index. So far, so good, but then seemingly at random Access is dropping the index which results in the table becoming read-only. The problem can be fixed manually, but there's no pattern to the behaviour. I cured this before using a bit of ADOX to drop and relink the tables (an extra button, but in this case the user was pretty Access-conversant), but now in a separate .mdb looking at a different SQL backend, it's happening again - to a mission-critical application. Anyone any clues? I've Googled from top to bottom for this one, and not a sausage to be found. Many TIA as always Tom Tom Bolton Systems Developer (I.T.) Donns Solicitors Tel: 0161 834 3311 Fax: 0161 834 2317 -------------- next part -------------- The contents of this message and any attachments are the property of Donns Solicitors and are intended for the confidential use of the named recipient only. They may be legally privileged and should not be communicated to, or relied upon, by any other party without our written consent. If you are not the addressee, please notify us immediately so that we can make arrangements for its return. You should not show this e-mail to any person or take copies as you may be committing a criminal or civil offence for which you may be liable. The statement and opinions expressed in this e-mail message are those of the writer, and do not necessarily represent that of Donns Solicitors. Although any files attached to this e-mail will have been checked with virus protection software prior to transmission, you should carry out your own virus check before opening any attachment. Donns Solicitors does not accept any liability for any damage or loss which may be caused by software viruses... From tom.bolton at donnslaw.co.uk Tue Aug 30 04:04:11 2005 From: tom.bolton at donnslaw.co.uk (Tom Bolton) Date: Tue, 30 Aug 2005 10:04:11 +0100 Subject: [AccessD] RE: A2k2 / SQL Server dropped indexes Message-ID: <61F915314798D311A2F800A0C9C831880802A336@dibble.observatory.donnslaw.co.uk> Hi All In a correction to the previous email, I've just discovered that it is indeed the same SQL database we've had problems with. The tables in the SQL database aren't indexed either - could this have a bearing? Again, TIA for your help! Tom Tom Bolton Systems Developer (I.T.) Donns Solicitors Tel: 0161 834 3311 Fax: 0161 834 2317 -------------- next part -------------- The contents of this message and any attachments are the property of Donns Solicitors and are intended for the confidential use of the named recipient only. They may be legally privileged and should not be communicated to, or relied upon, by any other party without our written consent. If you are not the addressee, please notify us immediately so that we can make arrangements for its return. You should not show this e-mail to any person or take copies as you may be committing a criminal or civil offence for which you may be liable. The statement and opinions expressed in this e-mail message are those of the writer, and do not necessarily represent that of Donns Solicitors. Although any files attached to this e-mail will have been checked with virus protection software prior to transmission, you should carry out your own virus check before opening any attachment. Donns Solicitors does not accept any liability for any damage or loss which may be caused by software viruses... From carbonnb at gmail.com Tue Aug 30 04:41:26 2005 From: carbonnb at gmail.com (Bryan Carbonnell) Date: Tue, 30 Aug 2005 05:41:26 -0400 Subject: [AccessD] OT: Stupid antispam In-Reply-To: References: Message-ID: On 30/08/05, Gustav Brock wrote: > Hi all > > Well, to this guy our list certainly will look quit! > > > > Re: [AccessD] Relink temporarily (Zaep Key: > 7bae2957.4313bfb6.04bc08b3) Yep. So will dba-tech. -- Bryan Carbonnell - carbonnb at gmail.com Life's journey is not to arrive at the grave safely in a well preserved body, but rather to skid in sideways, totally worn out, shouting "What a great ride!" From R.Griffiths at bury.gov.uk Tue Aug 30 10:44:26 2005 From: R.Griffiths at bury.gov.uk (Griffiths, Richard) Date: Tue, 30 Aug 2005 16:44:26 +0100 Subject: [AccessD] A2k to sql Message-ID: <200508301535.j7UFZM927033@smarthost.yourcomms.net> Hi I have an application written using A2k and have now moved to SQL 2000. Can anyone give me advice in how to distribute an app that uses SQL as the BE. Is it as simple as generating a SQL script from my SQL db and then running this script on the client server via query analyzer? Or do I copy the mdf files? Or is there some third pary stuff that installs? Any help would be appreciated Richard From martyconnelly at shaw.ca Tue Aug 30 13:33:43 2005 From: martyconnelly at shaw.ca (MartyConnelly) Date: Tue, 30 Aug 2005 11:33:43 -0700 Subject: [AccessD] RE: A2k2 / SQL Server dropped indexes References: <61F915314798D311A2F800A0C9C831880802A335@dibble.observatory.donnslaw.co.uk> Message-ID: <4314A687.7060003@shaw.ca> Some maybes. When you link a table from an ODBC data source, such as Microsoft SQL Server or ORACLE, and that table contains more than one unique index, Microsoft Access may select the wrong index as the primary key. Has someone been adding indexes to the sql tables ACC2000: Access May Choose an Unexpected Index as the Primary Key http://support.microsoft.com/default.aspx?scid=KB;EN-US;207745 ACC2000: Creating Virtual Indexes with SQL Data-Definition Queries http://support.microsoft.com/kb/q209123 Tom Bolton wrote: >Morning all > > > >We've had a problem in the past here with linking tables into an Access .mdb >from a SQL Server database - when the tables are linked, Access decides on >its own primary key and creates an index. So far, so good, but then >seemingly at random Access is dropping the index which results in the table >becoming read-only. The problem can be fixed manually, but there's no >pattern to the behaviour. > > > >I cured this before using a bit of ADOX to drop and relink the tables (an >extra button, but in this case the user was pretty Access-conversant), but >now in a separate .mdb looking at a different SQL backend, it's happening >again - to a mission-critical application. > > > >Anyone any clues? I've Googled from top to bottom for this one, and not a >sausage to be found. > > > >Many TIA as always > >Tom > > > > > > > > > >Tom Bolton > >Systems Developer (I.T.) > >Donns Solicitors > >Tel: 0161 834 3311 > >Fax: 0161 834 2317 > > > > > > > >------------------------------------------------------------------------ > > >The contents of this message and any attachments are the property of Donns Solicitors >and are intended for the confidential use of the named recipient only. They may be legally > privileged and should not be communicated to, or relied upon, by any other party without >our written consent. If you are not the addressee, please notify us immediately so that we >can make arrangements for its return. You should not show this e-mail to any person or > take copies as you may be committing a criminal or civil offence for which you may be > liable. The statement and opinions expressed in this e-mail message are those of the >writer, and do not necessarily represent that of Donns Solicitors. Although any files attached > to this e-mail will have been checked with virus protection software prior to transmission, >you should carry out your own virus check before opening any attachment. >Donns Solicitors does not accept any liability for any damage or loss which may be caused >by software viruses... > > >------------------------------------------------------------------------ > >No virus found in this incoming message. >Checked by AVG Anti-Virus. >Version: 7.0.344 / Virus Database: 267.10.17/84 - Release Date: 29/08/2005 > > -- Marty Connelly Victoria, B.C. Canada From DWUTKA at marlow.com Tue Aug 30 18:35:24 2005 From: DWUTKA at marlow.com (DWUTKA at marlow.com) Date: Tue, 30 Aug 2005 18:35:24 -0500 Subject: [AccessD] Oracle Question Message-ID: <123701F54509D9119A4F00D0B747349016DED3@main2.marlow.com> I normally treat Oracle like a bag of rattle snakes (don't mess around inside it much, and typically just beat it with a big long stick when it's acting up......) ;) However, we are having to create some auditing processes due to Sar-Ox. I put a trigger in place to log changes to a few key changes, however, using the USER function, to record who is making the changes, the trigger is putting in the account that I created the trigger with, not the account who is making the changes. Any ideas? Thanks, Drew From stephen at bondsoftware.co.nz Tue Aug 30 19:38:43 2005 From: stephen at bondsoftware.co.nz (Stephen Bond) Date: Wed, 31 Aug 2005 12:38:43 +1200 Subject: [AccessD] Data from temp table being rammed into an Excel spreadsheet Message-ID: <70F3D727890C784291D8433E9C418F29149917@server.bondsoftware.co.nz> Thanks Jim and Marty, As a quick fix I had coded a bypass to the problem (the customer is across the ditch in Australia and needed some sort of resolution immediately, even a temporary one), BUT left the original code in there as well, but with an elegant message if the error occurred. Now they report the original problem has gone away. Completely. Go figger .... At the risk of plagiarising a line from Woody's Watch ... 'trustworthy computing!' Bah humbug. Anyway, your submissions have been filed for future reference. Thanks again. Stephen Bond -----Original Message----- From: Stephen Bond Sent: Tuesday, 30 August 2005 9:02 a.m. To: accessd at databaseadvisors.com Subject: [AccessD] Data from temp table being rammed into an Excel spreadsheet In A2K I have built a temp table and am trying to then export it to a spreadsheet using the following line of code: objXLRange.FormulaArray = objXLApp.Transpose(varResults) where 'Dim objXLApp As Excel.Application ' and 'Dim objXLRange As Excel.Range' and has been defined precisely, according to the size of the incoming data in the temp table, and varResults is a 2-dimension array being the result of SELECT * FROM tmpTable. The column count is fixed at 18 but the Row count is variable. This works well when the temp table has 303 rows or less. Over 303 rows, and I get 'Error 13 Type Mismatch'. I have looked for corrupted data coming in thru the query that creates the temp table, but after many hours of experimentation it comes back to an apparent limit on the number of Rows. I don't remember where I got the code from and I don't pretend to understand the 'FormulaArray' property in Excel, but someone here might have been down this track .... any takers? Stephen Bond From marklbreen at gmail.com Wed Aug 31 03:53:12 2005 From: marklbreen at gmail.com (Mark Breen) Date: Wed, 31 Aug 2005 09:53:12 +0100 Subject: [AccessD] Re: How to Manage Maintenance Mode - Auto shutdown In-Reply-To: References: Message-ID: Hello All, Thanks for your replies on this thread, you gave me what I was looking for - some opinions. I have not worked on it yet, but I did notice that yesterday, the app had not been used since midnight and I was looking at it at 10:00 am, so an element of Johns auto logout will probably be required, in conjunction with an activity monitor, as this app is used for production support, it is not possible to request a logout. The timer and auto logout are OK, but what I have to contend with is the user attempting to log back in, this will have to be handled elegantly, or as an Indian guy I worked with recently says "I will have to fine a graceful solution to this" I thought the graceful was slight out of context for day to day language, but I thought it wonderfully apt. Thanks again for all your time, I always appreciate it. Mark On 8/17/05, Mark Breen wrote: > > Hello Group, > > I have an app uses MS SQL 2000 Server as it's backend database. I > want to run some maintenance routines on the db and they require that > I switch the db into single user mode. This is easily done and once I > have it in Single User Mode, it is easy to kick off the maintenance > routines. > > My question is what ways you may have handled a polite automatic > shutdown of the application in your worlds. > > Technically, I do not have to shut down my app, I could just break the > connection to SQL server, but I think that I may as well shut down the > entire app. > > I could use timers, and I could insert 'activity' updates and only > shut down the FE app when the app is not being used. > > So for example, I could update a database field and when the field has > not been used for more than 30 minutes I can assume that it is > in-active. This would allow me to auto shut down the app, but I would > like to leave some message behind me to let the user know where their > app went rather than just killing it! > > I could also break the connection to the db, then display a message > box saying the db has been shutdown and allow the user to click OK to > continue. > > I am not seeking detailed technical help here, more philosophically > how you guys handle this type of situation. > > Any thoughts or comments are appreciated, > > I hope you and your family are all well, > > Mark Breen > From listmaster at databaseadvisors.com Wed Aug 31 08:21:41 2005 From: listmaster at databaseadvisors.com (Bryan Carbonnell) Date: Wed, 31 Aug 2005 09:21:41 -0400 Subject: [AccessD] Administrivia - List Software Upgrade - Sep 4 Message-ID: <431576A5.23677.326CD85@listmaster.databaseadvisors.com> The software that runs our list has released a new version to fix some security issues, add some new features to help out the admins and mods and some bug fixes. So I will be upgrading the software on Sunday Sep 4. This will mean the lists will be down starting at 10am (EDT - UTC -0400) on Sunday Set 4. If the previous upgrades are any indication, they will be down for less than 1/2 hour. So there won't be much disruption. -- Bryan Carbonnell - listmaster at databaseadvisors.com Failure is not an option. It comes bundled with the software. From tom.bolton at donnslaw.co.uk Wed Aug 31 09:38:37 2005 From: tom.bolton at donnslaw.co.uk (Tom Bolton) Date: Wed, 31 Aug 2005 15:38:37 +0100 Subject: [AccessD] RE: A2k2 / SQL Server dropped indexes Message-ID: <61F915314798D311A2F800A0C9C831880802A347@dibble.observatory.donnslaw.co.uk> Thanks Marty, from this I have a sneaking suspicion that it's something to do with the indexing on the underlying tables. My colleague who's dealing with the app in question is going to add some proper indexing to the SQL table and I'll pass on this info for when he does. Again thanks for this! Tom -----Original Message----- From: MartyConnelly [mailto:martyconnelly at shaw.ca] Sent: 30-Aug-2005 19:34 To: Access Developers discussion and problem solving Subject: Re: [AccessD] RE: A2k2 / SQL Server dropped indexes Some maybes. When you link a table from an ODBC data source, such as Microsoft SQL Server or ORACLE, and that table contains more than one unique index, Microsoft Access may select the wrong index as the primary key. Has someone been adding indexes to the sql tables ACC2000: Access May Choose an Unexpected Index as the Primary Key http://support.microsoft.com/default.aspx?scid=KB;EN-US;207745 ACC2000: Creating Virtual Indexes with SQL Data-Definition Queries http://support.microsoft.com/kb/q209123 Tom Bolton wrote: >Morning all > > > >We've had a problem in the past here with linking tables into an Access .mdb >from a SQL Server database - when the tables are linked, Access decides on >its own primary key and creates an index. So far, so good, but then >seemingly at random Access is dropping the index which results in the table >becoming read-only. The problem can be fixed manually, but there's no >pattern to the behaviour. > > > >I cured this before using a bit of ADOX to drop and relink the tables (an >extra button, but in this case the user was pretty Access-conversant), but >now in a separate .mdb looking at a different SQL backend, it's happening >again - to a mission-critical application. > > > >Anyone any clues? I've Googled from top to bottom for this one, and not a >sausage to be found. > > > >Many TIA as always > >Tom > > > > > > > > > >Tom Bolton > >Systems Developer (I.T.) > >Donns Solicitors > >Tel: 0161 834 3311 > >Fax: 0161 834 2317 > > > > > > > >------------------------------------------------------------------------ > > >The contents of this message and any attachments are the property of Donns Solicitors >and are intended for the confidential use of the named recipient only. They may be legally > privileged and should not be communicated to, or relied upon, by any other party without >our written consent. If you are not the addressee, please notify us immediately so that we >can make arrangements for its return. You should not show this e-mail to any person or > take copies as you may be committing a criminal or civil offence for which you may be > liable. The statement and opinions expressed in this e-mail message are those of the >writer, and do not necessarily represent that of Donns Solicitors. Although any files attached > to this e-mail will have been checked with virus protection software prior to transmission, >you should carry out your own virus check before opening any attachment. >Donns Solicitors does not accept any liability for any damage or loss which may be caused >by software viruses... > > >------------------------------------------------------------------------ > >No virus found in this incoming message. >Checked by AVG Anti-Virus. >Version: 7.0.344 / Virus Database: 267.10.17/84 - Release Date: 29/08/2005 > > -- Marty Connelly Victoria, B.C. Canada -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -------------- next part -------------- The contents of this message and any attachments are the property of Donns Solicitors and are intended for the confidential use of the named recipient only. They may be legally privileged and should not be communicated to, or relied upon, by any other party without our written consent. If you are not the addressee, please notify us immediately so that we can make arrangements for its return. You should not show this e-mail to any person or take copies as you may be committing a criminal or civil offence for which you may be liable. The statement and opinions expressed in this e-mail message are those of the writer, and do not necessarily represent that of Donns Solicitors. Although any files attached to this e-mail will have been checked with virus protection software prior to transmission, you should carry out your own virus check before opening any attachment. Donns Solicitors does not accept any liability for any damage or loss which may be caused by software viruses... From JRojas at tnco-inc.com Wed Aug 31 10:01:54 2005 From: JRojas at tnco-inc.com (Joe Rojas) Date: Wed, 31 Aug 2005 11:01:54 -0400 Subject: [AccessD] A2K: Trap Mouse Scroll Wheel Message-ID: <0CC84C9461AE6445AD5A602001C41C4B05A481@mercury.tnco-inc.com> Hi All, Is it possible to trap the mouse scroll wheel event in Access 2000? If so, how is this done? Normally the scroll wheel will scroll through the records on a form but I am looking for a way to disable this from happening. I know that I could disable the wheel in windows but I don't want this to be a system wide change, just when the user scrolls in Access. Thanks! JR 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. From cyx5 at cdc.gov Wed Aug 31 10:16:30 2005 From: cyx5 at cdc.gov (Nicholson, Karen) Date: Wed, 31 Aug 2005 11:16:30 -0400 Subject: [AccessD] A2K: Trap Mouse Scroll Wheel Message-ID: Yes. There is a mousehook.dll that you can call to disable this. Send me your email offline and I will send it to you. -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Joe Rojas Sent: Wednesday, August 31, 2005 11:02 AM To: 'Access Developers discussion and problem solving' Subject: [AccessD] A2K: Trap Mouse Scroll Wheel Hi All, Is it possible to trap the mouse scroll wheel event in Access 2000? If so, how is this done? Normally the scroll wheel will scroll through the records on a form but I am looking for a way to disable this from happening. I know that I could disable the wheel in windows but I don't want this to be a system wide change, just when the user scrolls in Access. Thanks! JR 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. -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From cyx5 at cdc.gov Wed Aug 31 10:17:37 2005 From: cyx5 at cdc.gov (Nicholson, Karen) Date: Wed, 31 Aug 2005 11:17:37 -0400 Subject: [AccessD] Renaming SQL Tables Message-ID: I just linked to about 150 SQL tables; of course all are prefaced with NIOSH\get3_ I want to strip off the prefix. Does anybody have that code? I know I have seen it somewhere. From Donald.A.McGillivray at sprint.com Wed Aug 31 10:18:42 2005 From: Donald.A.McGillivray at sprint.com (Mcgillivray, Don [ITS]) Date: Wed, 31 Aug 2005 10:18:42 -0500 Subject: [AccessD] A2K: Trap Mouse Scroll Wheel Message-ID: Joe, I'm sure there are other ways to do this, but I've used the mousehook.dll that I downloaded from Lebans site: http://www.lebans.com/mousewheelonoff.htm Comes with the code and instructions for implementing. Don From cfoust at infostatsystems.com Wed Aug 31 10:21:24 2005 From: cfoust at infostatsystems.com (Charlotte Foust) Date: Wed, 31 Aug 2005 08:21:24 -0700 Subject: [AccessD] A2K: Trap Mouse Scroll Wheel Message-ID: Access 2002 has an OnMouseWheel event, but I don't recall if that exists in 2000. Charlotte Foust -----Original Message----- From: Joe Rojas [mailto:JRojas at tnco-inc.com] Sent: Wednesday, August 31, 2005 8:02 AM To: 'Access Developers discussion and problem solving' Subject: [AccessD] A2K: Trap Mouse Scroll Wheel Hi All, Is it possible to trap the mouse scroll wheel event in Access 2000? If so, how is this done? Normally the scroll wheel will scroll through the records on a form but I am looking for a way to disable this from happening. I know that I could disable the wheel in windows but I don't want this to be a system wide change, just when the user scrolls in Access. Thanks! JR 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. -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From paul.hartland at isharp.co.uk Wed Aug 31 10:30:19 2005 From: paul.hartland at isharp.co.uk (Paul Hartland (ISHARP)) Date: Wed, 31 Aug 2005 16:30:19 +0100 Subject: [AccessD] Renaming SQL Tables In-Reply-To: Message-ID: Karen, This is a quick little function I use: Function dbo_Remover() As Integer ' Use this module remove the linked table start name dbo_ Dim db As Database Dim i As Integer Dim c As Long c = 0 Set db = DBEngine.Workspaces(0).Databases(0) dbo_Remover = False db.TableDefs.Refresh For i = 0 To db.TableDefs.Count - 1 If (Left(db.TableDefs(i).Name, 10) = "NIOSH\get3_") Then 'MsgBox "found " & db.TableDefs(i).Name db.TableDefs(i).Name = Mid(db.TableDefs(i).Name, 11) c = c + 1 'MsgBox "new name = " & db.TableDefs(i).Name End If Next i Set db = Nothing MsgBox "NIOSH\get3_ Removed From " & c & " Filenames....." End Function Paul Hartland Database Developer 07730 523179 -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Nicholson, Karen Sent: 31 August 2005 16:18 To: Access Developers discussion and problem solving Subject: [AccessD] Renaming SQL Tables I just linked to about 150 SQL tables; of course all are prefaced with NIOSH\get3_ I want to strip off the prefix. Does anybody have that code? I know I have seen it somewhere. -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From JRojas at tnco-inc.com Wed Aug 31 10:34:14 2005 From: JRojas at tnco-inc.com (Joe Rojas) Date: Wed, 31 Aug 2005 11:34:14 -0400 Subject: [AccessD] A2K: Trap Mouse Scroll Wheel Message-ID: <0CC84C9461AE6445AD5A602001C41C4B05A482@mercury.tnco-inc.com> I ran into Microsoft's example in their knowledgebase. Is this the same thing? If not, please send me what you have. jrojas at tnco-inc.com Thanks Karen! -----Original Message----- From: Nicholson, Karen [mailto:cyx5 at cdc.gov] Sent: Wednesday, August 31, 2005 11:17 AM To: Access Developers discussion and problem solving Subject: RE: [AccessD] A2K: Trap Mouse Scroll Wheel Yes. There is a mousehook.dll that you can call to disable this. Send me your email offline and I will send it to you. -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Joe Rojas Sent: Wednesday, August 31, 2005 11:02 AM To: 'Access Developers discussion and problem solving' Subject: [AccessD] A2K: Trap Mouse Scroll Wheel Hi All, Is it possible to trap the mouse scroll wheel event in Access 2000? If so, how is this done? Normally the scroll wheel will scroll through the records on a form but I am looking for a way to disable this from happening. I know that I could disable the wheel in windows but I don't want this to be a system wide change, just when the user scrolls in Access. Thanks! JR 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. -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/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 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. From paul.hartland at isharp.co.uk Wed Aug 31 10:35:49 2005 From: paul.hartland at isharp.co.uk (Paul Hartland (ISHARP)) Date: Wed, 31 Aug 2005 16:35:49 +0100 Subject: [AccessD] Renaming SQL Tables In-Reply-To: Message-ID: Karen, Sorry, mis-counted replace : For i = 0 To db.TableDefs.Count - 1 If (Left(db.TableDefs(i).Name, 10) = "NIOSH\get3_") Then 'MsgBox "found " & db.TableDefs(i).Name db.TableDefs(i).Name = Mid(db.TableDefs(i).Name, 11) c = c + 1 'MsgBox "new name = " & db.TableDefs(i).Name End If Next i With For i = 0 To db.TableDefs.Count - 1 If (Left(db.TableDefs(i).Name, 11) = "NIOSH\get3_") Then 'MsgBox "found " & db.TableDefs(i).Name db.TableDefs(i).Name = Mid(db.TableDefs(i).Name, 12) c = c + 1 'MsgBox "new name = " & db.TableDefs(i).Name End If Next i Paul Hartland Database Developer 07730 523179 -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Paul Hartland (ISHARP) Sent: 31 August 2005 16:30 To: 'Access Developers discussion and problem solving' Subject: RE: [AccessD] Renaming SQL Tables Karen, This is a quick little function I use: Function dbo_Remover() As Integer ' Use this module remove the linked table start name dbo_ Dim db As Database Dim i As Integer Dim c As Long c = 0 Set db = DBEngine.Workspaces(0).Databases(0) dbo_Remover = False db.TableDefs.Refresh For i = 0 To db.TableDefs.Count - 1 If (Left(db.TableDefs(i).Name, 10) = "NIOSH\get3_") Then 'MsgBox "found " & db.TableDefs(i).Name db.TableDefs(i).Name = Mid(db.TableDefs(i).Name, 11) c = c + 1 'MsgBox "new name = " & db.TableDefs(i).Name End If Next i Set db = Nothing MsgBox "NIOSH\get3_ Removed From " & c & " Filenames....." End Function Paul Hartland Database Developer 07730 523179 -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Nicholson, Karen Sent: 31 August 2005 16:18 To: Access Developers discussion and problem solving Subject: [AccessD] Renaming SQL Tables I just linked to about 150 SQL tables; of course all are prefaced with NIOSH\get3_ I want to strip off the prefix. Does anybody have that code? I know I have seen it somewhere. -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From dw-murphy at cox.net Wed Aug 31 11:28:52 2005 From: dw-murphy at cox.net (Doug Murphy) Date: Wed, 31 Aug 2005 09:28:52 -0700 Subject: [AccessD] A2K: Trap Mouse Scroll Wheel In-Reply-To: <0CC84C9461AE6445AD5A602001C41C4B05A481@mercury.tnco-inc.com> Message-ID: <001b01c5ae49$12f3f270$0200a8c0@murphyf3vdfepi> In Access XP is use the following in a forms module to keep the mouse wheel from moving through records. The routine uses the On Mouse Wheel event and On Current Event. Delclare a String variable at the module level sCurRec Then put the following in the appropriate events Private Sub Form_Current() If sCurRec <> "" Then Me.Bookmark = sCurRec sCurRec = "" End If End Sub Private Sub Form_MouseWheel(ByVal Page As Boolean, ByVal Count As Long) sCurRec = Me.Bookmark End Sub I don't know if the On Mouse Wheel event is in Access 2000 Doug -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Joe Rojas Sent: Wednesday, August 31, 2005 8:02 AM To: 'Access Developers discussion and problem solving' Subject: [AccessD] A2K: Trap Mouse Scroll Wheel Hi All, Is it possible to trap the mouse scroll wheel event in Access 2000? If so, how is this done? Normally the scroll wheel will scroll through the records on a form but I am looking for a way to disable this from happening. I know that I could disable the wheel in windows but I don't want this to be a system wide change, just when the user scrolls in Access. Thanks! JR 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. -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From cyx5 at cdc.gov Wed Aug 31 11:36:59 2005 From: cyx5 at cdc.gov (Nicholson, Karen) Date: Wed, 31 Aug 2005 12:36:59 -0400 Subject: [AccessD] A2K: Trap Mouse Scroll Wheel Message-ID: I must have the same mousehook.dll from Leban's site. For me, it works great. You can call it for the whole app or for an individual form. Then I had to do the trapping to prevent the up and down pages, too. -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Joe Rojas Sent: Wednesday, August 31, 2005 11:34 AM To: 'Access Developers discussion and problem solving' Subject: RE: [AccessD] A2K: Trap Mouse Scroll Wheel I ran into Microsoft's example in their knowledgebase. Is this the same thing? If not, please send me what you have. jrojas at tnco-inc.com Thanks Karen! -----Original Message----- From: Nicholson, Karen [mailto:cyx5 at cdc.gov] Sent: Wednesday, August 31, 2005 11:17 AM To: Access Developers discussion and problem solving Subject: RE: [AccessD] A2K: Trap Mouse Scroll Wheel Yes. There is a mousehook.dll that you can call to disable this. Send me your email offline and I will send it to you. -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Joe Rojas Sent: Wednesday, August 31, 2005 11:02 AM To: 'Access Developers discussion and problem solving' Subject: [AccessD] A2K: Trap Mouse Scroll Wheel Hi All, Is it possible to trap the mouse scroll wheel event in Access 2000? If so, how is this done? Normally the scroll wheel will scroll through the records on a form but I am looking for a way to disable this from happening. I know that I could disable the wheel in windows but I don't want this to be a system wide change, just when the user scrolls in Access. Thanks! JR 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. -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/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 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. -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From fhtapia at gmail.com Wed Aug 31 16:08:43 2005 From: fhtapia at gmail.com (Francisco Tapia) Date: Wed, 31 Aug 2005 14:08:43 -0700 Subject: [AccessD] Form Before Update Message-ID: I have a bound form in an Access 2000 data project. I have a field named txtADE, I set it to 3 and immediatly the before_update fires. however in the before_update code if I try to reference txtADE it shows my previous value, not the new one... what gives? thanks, -- -Francisco http://pcthis.blogspot.com |PC news with out the jargon! http://sqlthis.blogspot.com | Tsql and More... From Donald.A.McGillivray at sprint.com Wed Aug 31 16:39:45 2005 From: Donald.A.McGillivray at sprint.com (Mcgillivray, Don [ITS]) Date: Wed, 31 Aug 2005 16:39:45 -0500 Subject: [AccessD] Form Before Update Message-ID: Francisco, Is it possible that you're using the *control's* Before_Update, instead of the *Form's*? At the control level, Before_Update will fire "before" the update - that is, before the control's value is updated to whatever you have typed. Thus, the control will still contain its original value. With the form's Before_Update, you will be able to retrieve the values that you have entered into any controls on the form, but it doesn't fire until you save or otherwise attempt to move off the record. If you're trying to evaluate what's been entered in a control either as it's being entered or after, try the On_Change event for the control. HTH Don From dc8 at btinternet.com Wed Aug 31 17:00:28 2005 From: dc8 at btinternet.com (Chris Swann) Date: Wed, 31 Aug 2005 23:00:28 +0100 Subject: [AccessD] Forcing a date calculation In-Reply-To: Message-ID: <200508312200.j7VM0TR26592@databaseadvisors.com> All, I have a form that users are supposed to enter a start date, always a Monday and an end date, always the Sunday after. However, they seem completely unable to enter these dates correctly so I am trying to see if there is a way to force a date into the system using Date() and then going back to the previous Sunday and then working out the Monday prior to that. So, 31 August 2005 would go back to Sunday 28th August 2005 and I would then subtract days to get Monday 22 August 2005. Could anybody give me a pointer on if this is possible as the data being returned currently is normally incorrect and this is causing more than a few headaches !! Thanks in advance, Chris Swann From stuart at lexacorp.com.pg Wed Aug 31 17:43:06 2005 From: stuart at lexacorp.com.pg (Stuart McLachlan) Date: Thu, 01 Sep 2005 08:43:06 +1000 Subject: [AccessD] Forcing a date calculation In-Reply-To: <200508312200.j7VM0TR26592@databaseadvisors.com> References: Message-ID: <4316BF1A.8793.4642F90@stuart.lexacorp.com.pg> On 31 Aug 2005 at 23:00, Chris Swann wrote: > All, > > I have a form that users are supposed to enter a start date, always a Monday > and an end date, always the Sunday after. > > However, they seem completely unable to enter these dates correctly so I am > trying to see if there is a way to force a date into the system using Date() > and then going back to the previous Sunday and then working out the Monday > prior to that. > > So, 31 August 2005 would go back to Sunday 28th August 2005 and I would then > subtract days to get Monday 22 August 2005. > > Could anybody give me a pointer on if this is possible as the data being > returned currently is normally incorrect and this is causing more than a few > headaches !! > This will givew you the current date for any Sunday and the previous Sunday for any day other than Sunday: Function PreviousSunday(CurrDate As Date) As Date PreviousSunday = CurrDate - Weekday(CurrDate) + 1 End Function PrevisouSunday() - 6 will give you the preceding Monday. -- Stuart From dmcafee at pacbell.net Wed Aug 31 17:48:29 2005 From: dmcafee at pacbell.net (David Mcafee) Date: Wed, 31 Aug 2005 15:48:29 -0700 (PDT) Subject: [AccessD] Form Before Update In-Reply-To: Message-ID: <20050831224829.9757.qmail@web80802.mail.yahoo.com> txtADE.Text? --- Francisco Tapia wrote: > I have a bound form in an Access 2000 data project. > I have a field > named txtADE, I set it to 3 and immediatly the > before_update fires. > however in the before_update code if I try to > reference txtADE it > shows my previous value, not the new one... what > gives? > > thanks, > -- > -Francisco > http://pcthis.blogspot.com |PC news with out the > jargon! > http://sqlthis.blogspot.com | Tsql and More... > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > From Donald.A.McGillivray at sprint.com Wed Aug 31 18:18:16 2005 From: Donald.A.McGillivray at sprint.com (Mcgillivray, Don [ITS]) Date: Wed, 31 Aug 2005 18:18:16 -0500 Subject: [AccessD] Form Before Update Message-ID: Never mind. My response is incorrect. Should have actually tried this BEFORE chiming in. Hope somebody else can shed a little light. Don -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Mcgillivray, Don [ITS] Sent: Wednesday, August 31, 2005 2:40 PM To: Access Developers discussion and problem solving Subject: RE: [AccessD] Form Before Update Francisco, Is it possible that you're using the *control's* Before_Update, instead of the *Form's*? At the control level, Before_Update will fire "before" the update - that is, before the control's value is updated to whatever you have typed. Thus, the control will still contain its original value. With the form's Before_Update, you will be able to retrieve the values that you have entered into any controls on the form, but it doesn't fire until you save or otherwise attempt to move off the record. If you're trying to evaluate what's been entered in a control either as it's being entered or after, try the On_Change event for the control. HTH Don -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com