From clh at christopherhawkins.com Wed Jun 1 02:43:05 2005 From: clh at christopherhawkins.com (Christopher Hawkins) Date: Wed, 1 Jun 2005 01:43:05 -0600 Subject: [AccessD] OT: Icons Message-ID: <71409e737f5144de8915a5d7a975fa34@christopherhawkins.com> http://www.glyfx.com/?offers a decent set of free icons, and their purchasable sets are pretty good.? Affordable too.? Check them out. -C- ---------------------------------------- From: "Andy Lacey" Sent: Friday, May 27, 2005 2:05 PM To: "'Access Developers discussion and problem solving'" Subject: RE: [AccessD] OT: Icons Whoa. That'll keep me occupied. Thanks Brett. -- Andy Lacey http://www.minstersystems.co.uk > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of > Brett Barabash > Sent: 27 May 2005 15:39 > To: Access Developers discussion and problem solving > Subject: RE: [AccessD] OT: Icons > > > This was discussed a while ago. > Credit Goes to Joe Rojas, Joshua B, Martin, Drew and Francisco. > > http://www.marvilla.us/ > http://www.foood.net/icons/ http://www.studiotwentyeight.net/icons.htm > http://xcession.web1000.com/pages/default.html > http://www.hardwaregeeks.com/board/forumdisplay.php?s=&forumid=128 > http://www.jonmega.com/~clotz/ > http://www.deskmod.com/?show=showcat&cat_name=icons > http://www.deviantart.com/browse/t/icon/winicons/ > http://www.dotico.com/ > http://icons.visualnoise.net/ > http://icons.wbchug.net/ > http://www.deathlace.tk/ > http://www.logipole.com/ > http://axialis.com > http://www.aha-soft.com/iconxp/index.htm > > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Andy Lacey > Sent: Friday, May 27, 2005 8:22 AM > To: Dba > Subject: [AccessD] OT: Icons > > > Hi all > Does anyone have a source for good icons/images? Serious, > neat ones not cartoon-y. I alwsys run into this problem when > the customer asks for a picture on a screen. I've got DIB > Pictures but that's limited to Windows-related stuff, so when > I need a car, an ambulance, a fire, etc I'm stuffed. And when > I Google "free icons" I get a million links, mostly to sites > which want to charge you in the end. Any good pointers? > -- > Andy Lacey > http://www.minstersystems.co.uk > > > > > -------------------------------------------------------------- > ------------------------------------------------------ > The information in this email may contain confidential > information that > is legally privileged. The information is only for the use of > the intended > recipient(s) named above. If you are not the intended > recipient(s), you > are hereby notified that any disclosure, copying, > distribution, or the taking > of any action in regard to the content of this email is > strictly prohibited. If > transmission is incorrect, unclear, or incomplete, please > notify the sender > immediately. The authorized recipient(s) of this information > is/are prohibited > from disclosing this in > to > destroy the information after its stated need has been fulfilled. > > Any views expressed in this message are those of the > individual sender, except where the sender specifies and with > authority, states them to be the views of Tappe Construction Co. > > This footer also confirms that this email message has been > scanned for the presence of computer viruses.Scanning of this > message and addition of this footer is performed by > SurfControl E-mail Filter software in conjunction with virus > detection software. > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > > -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From lembit.soobik at t-online.de Wed Jun 1 03:08:22 2005 From: lembit.soobik at t-online.de (Lembit Soobik) Date: Wed, 1 Jun 2005 10:08:22 +0200 Subject: [AccessD] OT: Icons References: <71409e737f5144de8915a5d7a975fa34@christopherhawkins.com> Message-ID: <00b601c56681$141b1260$0800a8c0@s856> and I just found out that Irfanview, a free software, can convert your JPG or BMP or whatever to ICO. so you can make your own icons also. Lembit ----- Original Message ----- From: "Christopher Hawkins" To: Sent: Wednesday, June 01, 2005 9:43 AM Subject: RE: [AccessD] OT: Icons http://www.glyfx.com/ offers a decent set of free icons, and their purchasable sets are pretty good. Affordable too. Check them out. -C- ---------------------------------------- From: "Andy Lacey" Sent: Friday, May 27, 2005 2:05 PM To: "'Access Developers discussion and problem solving'" Subject: RE: [AccessD] OT: Icons Whoa. That'll keep me occupied. Thanks Brett. -- Andy Lacey http://www.minstersystems.co.uk > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of > Brett Barabash > Sent: 27 May 2005 15:39 > To: Access Developers discussion and problem solving > Subject: RE: [AccessD] OT: Icons > > > This was discussed a while ago. > Credit Goes to Joe Rojas, Joshua B, Martin, Drew and Francisco. > > http://www.marvilla.us/ > http://www.foood.net/icons/ http://www.studiotwentyeight.net/icons.htm > http://xcession.web1000.com/pages/default.html > http://www.hardwaregeeks.com/board/forumdisplay.php?s=&forumid=128 > http://www.jonmega.com/~clotz/ > http://www.deskmod.com/?show=showcat&cat_name=icons > http://www.deviantart.com/browse/t/icon/winicons/ > http://www.dotico.com/ > http://icons.visualnoise.net/ > http://icons.wbchug.net/ > http://www.deathlace.tk/ > http://www.logipole.com/ > http://axialis.com > http://www.aha-soft.com/iconxp/index.htm > > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Andy Lacey > Sent: Friday, May 27, 2005 8:22 AM > To: Dba > Subject: [AccessD] OT: Icons > > > Hi all > Does anyone have a source for good icons/images? Serious, > neat ones not cartoon-y. I alwsys run into this problem when > the customer asks for a picture on a screen. I've got DIB > Pictures but that's limited to Windows-related stuff, so when > I need a car, an ambulance, a fire, etc I'm stuffed. And when > I Google "free icons" I get a million links, mostly to sites > which want to charge you in the end. Any good pointers? > -- > Andy Lacey > http://www.minstersystems.co.uk > > > > > -------------------------------------------------------------- > ------------------------------------------------------ > The information in this email may contain confidential > information that > is legally privileged. The information is only for the use of > the intended > recipient(s) named above. If you are not the intended > recipient(s), you > are hereby notified that any disclosure, copying, > distribution, or the taking > of any action in regard to the content of this email is > strictly prohibited. If > transmission is incorrect, unclear, or incomplete, please > notify the sender > immediately. The authorized recipient(s) of this information > is/are prohibited > from disclosing this in > to > destroy the information after its stated need has been fulfilled. > > Any views expressed in this message are those of the > individual sender, except where the sender specifies and with > authority, states them to be the views of Tappe Construction Co. > > This footer also confirms that this email message has been > scanned for the presence of computer viruses.Scanning of this > message and addition of this footer is performed by > SurfControl E-mail Filter software in conjunction with virus > detection software. > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > > -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- No virus found in this incoming message. Checked by AVG Anti-Virus. Version: 7.0.322 / Virus Database: 267.3.3 - Release Date: 31.05.2005 -- No virus found in this outgoing message. Checked by AVG Anti-Virus. Version: 7.0.322 / Virus Database: 267.3.3 - Release Date: 31.05.2005 From cyx5 at cdc.gov Wed Jun 1 05:57:47 2005 From: cyx5 at cdc.gov (Nicholson, Karen) Date: Wed, 1 Jun 2005 06:57:47 -0400 Subject: [AccessD] The Sleep Advisor - Version 5 - Call for Beta Testers Message-ID: I took the survey and sent in my results. It is a great system. I did not try to break it - I answered the questions as ordered. I will download again today if that is possible and try to be stupid and not answer yes or no to some of the questions to see if it error traps me for a reply. -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Rocky Smolin - Beach Access Software Sent: Tuesday, May 31, 2005 2:49 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] The Sleep Advisor - Version 5 - Call for Beta Testers Thanks. My partner actually caught that one. Fixed but not posted yet. Any other? All typo notices gratefully accepted. Rocky ----- Original Message ----- From: "Nicholson, Karen" To: "Access Developers discussion and problem solving" Sent: Tuesday, May 31, 2005 10:52 AM Subject: RE: [AccessD] The Sleep Advisor - Version 5 - Call for Beta Testers > Grammar lady. Assessment is mis-spelled on the overview screen. > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Rocky Smolin > - Beach Access Software > Sent: Tuesday, May 31, 2005 12:53 PM > To: AccessD at databaseadvisors.com > Subject: [AccessD] The Sleep Advisor - Version 5 - Call for Beta Testers > > Dear List: > > Version 5 of The Sleep Advisor is now ready for beta testing: > > All new graphics! > Reorganized friendlier reporting! > All new bugs! > > There is a Wise/Sagekey run-time download available at > http://www.drnaiman.com/sleepad.php > > or for those of you who have Access 2003 you can email me off line and > I'll send you just the mde. > > Although it runs on Windows 2000 I have noticed some problems that don't > affect the operation or outcome of the program - just the esthetics (in > particular, I have an embedded background graphic that doesn't display > under W2K but does fine under WXP, go figure). > > For those who may not be aware, The Sleep Advisor is an expert system > designed to diagnose the most common sleep problems - insomnias, apnea, > narcolepsy, hypersomnia, etc., as well as identify a variety of sleep > health related issues such as nocturia, bruxism, jet lag, shift work, > anxiety disorders, bed and bedroom problems, etc. The report includes a > Guidebook to remedies and recommendations the contents of which are > tailored to the user's responses and sleep health analysis. > > We still need a lot of beta testing to perfect the diagnostic engine. > In addition, any technical feedback I could get from this list would be > of great value. > > Hopefully for your time and efforts you'll receive some value from the > reports. > > With many thanks in advance, > > Rocky Smolin > Beach Access Software > http://www.e-z-mrp.com > 858-259-4334 > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From bchacc at san.rr.com Wed Jun 1 08:29:53 2005 From: bchacc at san.rr.com (Rocky Smolin - Beach Access Software) Date: Wed, 1 Jun 2005 06:29:53 -0700 Subject: [AccessD] The Sleep Advisor - Version 5 - Call for Beta Testers References: Message-ID: <002301c566ad$fe93c680$6501a8c0@HAL9004> Karen: You might not be able to download it to the same address. If so, let me know and I'll just send you the mde. Tanks and regards, Rocky ----- Original Message ----- From: "Nicholson, Karen" To: "Access Developers discussion and problem solving" Sent: Wednesday, June 01, 2005 3:57 AM Subject: RE: [AccessD] The Sleep Advisor - Version 5 - Call for Beta Testers >I took the survey and sent in my results. It is a great system. I did > not try to break it - I answered the questions as ordered. I will > download again today if that is possible and try to be stupid and not > answer yes or no to some of the questions to see if it error traps me > for a reply. > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Rocky Smolin > - Beach Access Software > Sent: Tuesday, May 31, 2005 2:49 PM > To: Access Developers discussion and problem solving > Subject: Re: [AccessD] The Sleep Advisor - Version 5 - Call for Beta > Testers > > Thanks. My partner actually caught that one. Fixed but not posted yet. > Any other? All typo notices gratefully accepted. > > Rocky > > ----- Original Message ----- > From: "Nicholson, Karen" > To: "Access Developers discussion and problem solving" > > Sent: Tuesday, May 31, 2005 10:52 AM > Subject: RE: [AccessD] The Sleep Advisor - Version 5 - Call for Beta > Testers > > >> Grammar lady. Assessment is mis-spelled on the overview screen. >> >> -----Original Message----- >> From: accessd-bounces at databaseadvisors.com >> [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Rocky > Smolin >> - Beach Access Software >> Sent: Tuesday, May 31, 2005 12:53 PM >> To: AccessD at databaseadvisors.com >> Subject: [AccessD] The Sleep Advisor - Version 5 - Call for Beta > Testers >> >> Dear List: >> >> Version 5 of The Sleep Advisor is now ready for beta testing: >> >> All new graphics! >> Reorganized friendlier reporting! >> All new bugs! >> >> There is a Wise/Sagekey run-time download available at >> http://www.drnaiman.com/sleepad.php >> >> or for those of you who have Access 2003 you can email me off line and >> I'll send you just the mde. >> >> Although it runs on Windows 2000 I have noticed some problems that > don't >> affect the operation or outcome of the program - just the esthetics > (in >> particular, I have an embedded background graphic that doesn't display >> under W2K but does fine under WXP, go figure). >> >> For those who may not be aware, The Sleep Advisor is an expert system >> designed to diagnose the most common sleep problems - insomnias, > apnea, >> narcolepsy, hypersomnia, etc., as well as identify a variety of sleep >> health related issues such as nocturia, bruxism, jet lag, shift work, >> anxiety disorders, bed and bedroom problems, etc. The report includes > a >> Guidebook to remedies and recommendations the contents of which are >> tailored to the user's responses and sleep health analysis. >> >> We still need a lot of beta testing to perfect the diagnostic engine. >> In addition, any technical feedback I could get from this list would > be >> of great value. >> >> Hopefully for your time and efforts you'll receive some value from the >> reports. >> >> With many thanks in advance, >> >> Rocky Smolin >> Beach Access Software >> http://www.e-z-mrp.com >> 858-259-4334 >> >> -- >> AccessD mailing list >> AccessD at databaseadvisors.com >> http://databaseadvisors.com/mailman/listinfo/accessd >> Website: http://www.databaseadvisors.com >> >> -- >> AccessD mailing list >> AccessD at databaseadvisors.com >> http://databaseadvisors.com/mailman/listinfo/accessd >> Website: http://www.databaseadvisors.com >> > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > 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 Wed Jun 1 08:31:32 2005 From: JRojas at tnco-inc.com (Joe Rojas) Date: Wed, 1 Jun 2005 09:31:32 -0400 Subject: [AccessD] Queries vs In-line SQL Message-ID: <0CC84C9461AE6445AD5A602001C41C4B05A2FD@mercury.tnco-inc.com> Is there a performance increase between in-line SQL and queries in Access 2000? For example: Going from CurrentDB.Execute "SELECT * FROM MyTable" To putting the SELECT statement above in a query? 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 Lambert.Heenan at AIG.com Wed Jun 1 09:19:55 2005 From: Lambert.Heenan at AIG.com (Heenan, Lambert) Date: Wed, 1 Jun 2005 10:19:55 -0400 Subject: [AccessD] More Silly Access 2002 Behavior Message-ID: <1D7828CDB8350747AFE9D69E0E90DA1F10BB502D@xlivmbx21.aig.com> X-Posted to Access-L and Access-D Has anyone yet figured out why Access 2002 often seems to take *for ever* to save a single line of code changes? For example I just loaded a working form, added a Stop statement to one event procedure and hit the save button. After a five minute wait the save operation completed and the mdb was 4 megabytes larger! Fortunately it compacted (often I'll get an error of the 'can I call home to tell MS about this problem' variety). Lambert (ain't progress wun'erful) From cfoust at infostatsystems.com Wed Jun 1 10:10:16 2005 From: cfoust at infostatsystems.com (Charlotte Foust) Date: Wed, 1 Jun 2005 08:10:16 -0700 Subject: [AccessD] Queries vs In-line SQL Message-ID: In 2000 and later, saved queries are optimized and so should execute faster than on the fly queries, including the sort generated in code. Charlotte Foust -----Original Message----- From: Joe Rojas [mailto:JRojas at tnco-inc.com] Sent: Wednesday, June 01, 2005 6:32 AM To: 'Access Developers discussion and problem solving' Subject: [AccessD] Queries vs In-line SQL Is there a performance increase between in-line SQL and queries in Access 2000? For example: Going from CurrentDB.Execute "SELECT * FROM MyTable" To putting the SELECT statement above in a query? 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 cfoust at infostatsystems.com Wed Jun 1 10:15:09 2005 From: cfoust at infostatsystems.com (Charlotte Foust) Date: Wed, 1 Jun 2005 08:15:09 -0700 Subject: [AccessD] More Silly Access 2002 Behavior Message-ID: Are you sure that's the only thing going on at that time? Background applications can cause this behavior as well. For example, I use Junk-Out, and when Outlook is running, I notice occasional pauses in other applications when it is filtering. That said, I do notice the occasional "coffee break" in Access XP, although nothing like you are describing. Charlotte Foust -----Original Message----- From: Heenan, Lambert [mailto:Lambert.Heenan at aig.com] Sent: Wednesday, June 01, 2005 7:20 AM To: 'ACCESS-L Email (ACCESS-L at PEACH.EASE.LSOFT.COM)'; 'Access-D Email (accessd at databaseadvisors.com)' Subject: [AccessD] More Silly Access 2002 Behavior X-Posted to Access-L and Access-D Has anyone yet figured out why Access 2002 often seems to take *for ever* to save a single line of code changes? For example I just loaded a working form, added a Stop statement to one event procedure and hit the save button. After a five minute wait the save operation completed and the mdb was 4 megabytes larger! Fortunately it compacted (often I'll get an error of the 'can I call home to tell MS about this problem' variety). Lambert (ain't progress wun'erful) -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From MarkBoyd at McBeeAssociates.com Wed Jun 1 10:53:29 2005 From: MarkBoyd at McBeeAssociates.com (Mark Boyd) Date: Wed, 1 Jun 2005 11:53:29 -0400 Subject: [AccessD] Excel Macro Automation from within Access Message-ID: <974F830FE464C14E8652F95E24DA663C043F6B@mail03.Mcbassoc.com> Thanks to everyone who helped with this issue. I greatly appreciate it. The only issue that I'm now having is the excel file seems to be created with Excel 5.0/95. I'm using Office 2003, and the excel file is created with ("DoCmd.OutputTo acOutputReport, strXLName, acFormatXLS, "c:\" & strXLName & ".xls", False"). Why does Access create the file using a lower version of Office than what is running on the client? Is there a way to specify the Office version when exporting the file? FYI - The macro automation function is below: Function ExcelMacro(ByVal strFileName As String) On Error GoTo Err_ExcelMacro Dim xlApp As Excel.Application Dim xlWkb As Excel.Workbook If fIsAppRunning("Excel") Then Set xlApp = GetObject(, "Excel.Application") Else Set xlApp = CreateObject("Excel.Application") End If xlApp.Application.Visible = True Set xlWkb = xlApp.Workbooks.Open(strFileName, 0) 'run Excel macro code here '... '... 'end macro code Exit_ExcelMacro: On Error Resume Next Set xlWkb = Nothing Set xlApp = Nothing Exit Function Err_ExcelMacro: Select Case Err Case 0 'insert Errors you wish to ignore here Resume Next Case Else 'All other errors will trap MsgBox Err.Number & " - " & Err.Description, vbCritical, "Error" Resume Exit_ExcelMacro End Select End Function Thanks again, Mark Boyd I/S Supervisor McBee Associates, Inc. -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Gustav Brock Sent: Thursday, May 26, 2005 5:22 AM To: accessd at databaseadvisors.com Subject: Re: [AccessD] Excel Macro Automation from within Access Hi Mark Here is how (as I learned from Mr. Colby). It works very reliably: Function RunExcelMacros( _ ByVal strFileName As String, _ ParamArray avarMacros()) As Boolean Debug.Print "xl ini", Time On Error GoTo Err_RunExcelMacros Static xlApp As Excel.Application Dim xlWkb As Excel.Workbook Dim varMacro As Variant Dim booSuccess As Boolean Dim booTerminate As Boolean If Len(strFileName) = 0 Then ' Excel shall be closed. booTerminate = True End If If xlApp Is Nothing Then If booTerminate = False Then Set xlApp = New Excel.Application End If ElseIf booTerminate = True Then xlApp.Quit Set xlApp = Nothing End If If booTerminate = False Then Set xlWkb = xlApp.Workbooks.Open(FileName:=strFileName, UpdateLinks:=0, ReadOnly:=True) ' Make Excel visible (for troubleshooting only) or not. xlApp.Visible = False 'True For Each varMacro In avarMacros() If Not Len(varMacro) = 0 Then Debug.Print "xl run", Time, varMacro booSuccess = xlApp.Run(varMacro) End If Next varMacro Else booSuccess = True End If RunExcelMacros = booSuccess Exit_RunExcelMacros: On Error Resume Next If booTerminate = False Then xlWkb.Close SaveChanges:=False Set xlWkb = Nothing End If Debug.Print "xl end", Time Exit Function Err_RunExcelMacros: Select Case Err Case 0 'insert Errors you wish to ignore here Resume Next Case Else 'All other errors will trap Beep MsgBox "Error: " & Err & ". " & Err.Description, vbCritical + vbOKOnly, "Error, macro " & varMacro Resume Exit_RunExcelMacros End Select End Function /gustav >>> MarkBoyd at McBeeAssociates.com 05/25 11:28 pm >>> I have a need to run Excel macro code from within Access VBA. Basically, the code logic flows as follows: 1. Export Access report as a new Excel file (DoCmd.OutputTo acOutputReport, strXLName, acFormatXLS, , True) 2. Run Excel macro (from within Access VBA) to format the Excel file accordingly. Does anyone have any sample code and/or resources related to this logic? Any help is greatly appreciated. Thanks, Mark Boyd I/S Supervisor McBee Associates, Inc. -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com ----------------------------------------- This message and any attachments are intended only for the use of the individual or entity to which it is addressed and may contain information that is privileged, confidential, and exempt from disclosure under applicable law. If the reader of this message is not the intended recipient, or the employee or agent responsible for delivering the message to the intended recipient, you are hereby notified that any dissemination, distribution or copying of this communication is strictly prohibited. If you have received this communication in error, please notify the sender by replying to this message, and then delete it from your system. ------------------------------------------- From donald.a.Mcgillivray at mail.sprint.com Wed Jun 1 10:54:24 2005 From: donald.a.Mcgillivray at mail.sprint.com (Mcgillivray, Don [ITS]) Date: Wed, 1 Jun 2005 10:54:24 -0500 Subject: [AccessD] Queries vs In-line SQL Message-ID: And (acknowledging that you may have simply banged out a simple SQL statement for illustrative purposes) "CurrentDB.Execute" works only for "action" (update, append, delete, etc.) queries. A select query won't "execute". Don -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Charlotte Foust Sent: Wednesday, June 01, 2005 8:10 AM To: Access Developers discussion and problem solving Subject: RE: [AccessD] Queries vs In-line SQL In 2000 and later, saved queries are optimized and so should execute faster than on the fly queries, including the sort generated in code. Charlotte Foust -----Original Message----- From: Joe Rojas [mailto:JRojas at tnco-inc.com] Sent: Wednesday, June 01, 2005 6:32 AM To: 'Access Developers discussion and problem solving' Subject: [AccessD] Queries vs In-line SQL Is there a performance increase between in-line SQL and queries in Access 2000? For example: Going from CurrentDB.Execute "SELECT * FROM MyTable" To putting the SELECT statement above in a query? Thanks! JR From Lambert.Heenan at AIG.com Wed Jun 1 11:08:30 2005 From: Lambert.Heenan at AIG.com (Heenan, Lambert) Date: Wed, 1 Jun 2005 12:08:30 -0400 Subject: [AccessD] Excel Macro Automation from within Access Message-ID: <1D7828CDB8350747AFE9D69E0E90DA1F10BB50C1@xlivmbx21.aig.com> You cannot set the excel type with OutputTo, but with DoCmd.TransferSpreadsheet you can. Lambert -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Mark Boyd Sent: Wednesday, June 01, 2005 11:53 AM To: Access Developers discussion and problem solving Subject: RE: [AccessD] Excel Macro Automation from within Access Thanks to everyone who helped with this issue. I greatly appreciate it. The only issue that I'm now having is the excel file seems to be created with Excel 5.0/95. I'm using Office 2003, and the excel file is created with ("DoCmd.OutputTo acOutputReport, strXLName, acFormatXLS, "c:\" & strXLName & ".xls", False"). Why does Access create the file using a lower version of Office than what is running on the client? Is there a way to specify the Office version when exporting the file? FYI - The macro automation function is below: Function ExcelMacro(ByVal strFileName As String) On Error GoTo Err_ExcelMacro Dim xlApp As Excel.Application Dim xlWkb As Excel.Workbook If fIsAppRunning("Excel") Then Set xlApp = GetObject(, "Excel.Application") Else Set xlApp = CreateObject("Excel.Application") End If xlApp.Application.Visible = True Set xlWkb = xlApp.Workbooks.Open(strFileName, 0) 'run Excel macro code here '... '... 'end macro code Exit_ExcelMacro: On Error Resume Next Set xlWkb = Nothing Set xlApp = Nothing Exit Function Err_ExcelMacro: Select Case Err Case 0 'insert Errors you wish to ignore here Resume Next Case Else 'All other errors will trap MsgBox Err.Number & " - " & Err.Description, vbCritical, "Error" Resume Exit_ExcelMacro End Select End Function Thanks again, Mark Boyd I/S Supervisor McBee Associates, Inc. -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Gustav Brock Sent: Thursday, May 26, 2005 5:22 AM To: accessd at databaseadvisors.com Subject: Re: [AccessD] Excel Macro Automation from within Access Hi Mark Here is how (as I learned from Mr. Colby). It works very reliably: Function RunExcelMacros( _ ByVal strFileName As String, _ ParamArray avarMacros()) As Boolean Debug.Print "xl ini", Time On Error GoTo Err_RunExcelMacros Static xlApp As Excel.Application Dim xlWkb As Excel.Workbook Dim varMacro As Variant Dim booSuccess As Boolean Dim booTerminate As Boolean If Len(strFileName) = 0 Then ' Excel shall be closed. booTerminate = True End If If xlApp Is Nothing Then If booTerminate = False Then Set xlApp = New Excel.Application End If ElseIf booTerminate = True Then xlApp.Quit Set xlApp = Nothing End If If booTerminate = False Then Set xlWkb = xlApp.Workbooks.Open(FileName:=strFileName, UpdateLinks:=0, ReadOnly:=True) ' Make Excel visible (for troubleshooting only) or not. xlApp.Visible = False 'True For Each varMacro In avarMacros() If Not Len(varMacro) = 0 Then Debug.Print "xl run", Time, varMacro booSuccess = xlApp.Run(varMacro) End If Next varMacro Else booSuccess = True End If RunExcelMacros = booSuccess Exit_RunExcelMacros: On Error Resume Next If booTerminate = False Then xlWkb.Close SaveChanges:=False Set xlWkb = Nothing End If Debug.Print "xl end", Time Exit Function Err_RunExcelMacros: Select Case Err Case 0 'insert Errors you wish to ignore here Resume Next Case Else 'All other errors will trap Beep MsgBox "Error: " & Err & ". " & Err.Description, vbCritical + vbOKOnly, "Error, macro " & varMacro Resume Exit_RunExcelMacros End Select End Function /gustav >>> MarkBoyd at McBeeAssociates.com 05/25 11:28 pm >>> I have a need to run Excel macro code from within Access VBA. Basically, the code logic flows as follows: 1. Export Access report as a new Excel file (DoCmd.OutputTo acOutputReport, strXLName, acFormatXLS, , True) 2. Run Excel macro (from within Access VBA) to format the Excel file accordingly. Does anyone have any sample code and/or resources related to this logic? Any help is greatly appreciated. Thanks, Mark Boyd I/S Supervisor McBee Associates, Inc. -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com ----------------------------------------- This message and any attachments are intended only for the use of the individual or entity to which it is addressed and may contain information that is privileged, confidential, and exempt from disclosure under applicable law. If the reader of this message is not the intended recipient, or the employee or agent responsible for delivering the message to the intended recipient, you are hereby notified that any dissemination, distribution or copying of this communication is strictly prohibited. If you have received this communication in error, please notify the sender by replying to this message, and then delete it from your system. ------------------------------------------- -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From MarkBoyd at McBeeAssociates.com Wed Jun 1 11:23:33 2005 From: MarkBoyd at McBeeAssociates.com (Mark Boyd) Date: Wed, 1 Jun 2005 12:23:33 -0400 Subject: [AccessD] Excel Macro Automation from within Access Message-ID: <974F830FE464C14E8652F95E24DA663C043F6C@mail03.Mcbassoc.com> Thanks Lambert. I can't use DoCmd.TransferSpreadsheet b/c I need to send an Access report to Excel, not a table or select query. I would use a query, but I need to keep the report headings intact. The macro that runs afterward formats the headings and columns appropriately. Mark Boyd I/S Supervisor McBee Associates, Inc. -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Heenan, Lambert Sent: Wednesday, June 01, 2005 12:09 PM To: 'Access Developers discussion and problem solving' Subject: RE: [AccessD] Excel Macro Automation from within Access You cannot set the excel type with OutputTo, but with DoCmd.TransferSpreadsheet you can. Lambert -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Mark Boyd Sent: Wednesday, June 01, 2005 11:53 AM To: Access Developers discussion and problem solving Subject: RE: [AccessD] Excel Macro Automation from within Access Thanks to everyone who helped with this issue. I greatly appreciate it. The only issue that I'm now having is the excel file seems to be created with Excel 5.0/95. I'm using Office 2003, and the excel file is created with ("DoCmd.OutputTo acOutputReport, strXLName, acFormatXLS, "c:\" & strXLName & ".xls", False"). Why does Access create the file using a lower version of Office than what is running on the client? Is there a way to specify the Office version when exporting the file? FYI - The macro automation function is below: Function ExcelMacro(ByVal strFileName As String) On Error GoTo Err_ExcelMacro Dim xlApp As Excel.Application Dim xlWkb As Excel.Workbook If fIsAppRunning("Excel") Then Set xlApp = GetObject(, "Excel.Application") Else Set xlApp = CreateObject("Excel.Application") End If xlApp.Application.Visible = True Set xlWkb = xlApp.Workbooks.Open(strFileName, 0) 'run Excel macro code here '... '... 'end macro code Exit_ExcelMacro: On Error Resume Next Set xlWkb = Nothing Set xlApp = Nothing Exit Function Err_ExcelMacro: Select Case Err Case 0 'insert Errors you wish to ignore here Resume Next Case Else 'All other errors will trap MsgBox Err.Number & " - " & Err.Description, vbCritical, "Error" Resume Exit_ExcelMacro End Select End Function Thanks again, Mark Boyd I/S Supervisor McBee Associates, Inc. -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Gustav Brock Sent: Thursday, May 26, 2005 5:22 AM To: accessd at databaseadvisors.com Subject: Re: [AccessD] Excel Macro Automation from within Access Hi Mark Here is how (as I learned from Mr. Colby). It works very reliably: Function RunExcelMacros( _ ByVal strFileName As String, _ ParamArray avarMacros()) As Boolean Debug.Print "xl ini", Time On Error GoTo Err_RunExcelMacros Static xlApp As Excel.Application Dim xlWkb As Excel.Workbook Dim varMacro As Variant Dim booSuccess As Boolean Dim booTerminate As Boolean If Len(strFileName) = 0 Then ' Excel shall be closed. booTerminate = True End If If xlApp Is Nothing Then If booTerminate = False Then Set xlApp = New Excel.Application End If ElseIf booTerminate = True Then xlApp.Quit Set xlApp = Nothing End If If booTerminate = False Then Set xlWkb = xlApp.Workbooks.Open(FileName:=strFileName, UpdateLinks:=0, ReadOnly:=True) ' Make Excel visible (for troubleshooting only) or not. xlApp.Visible = False 'True For Each varMacro In avarMacros() If Not Len(varMacro) = 0 Then Debug.Print "xl run", Time, varMacro booSuccess = xlApp.Run(varMacro) End If Next varMacro Else booSuccess = True End If RunExcelMacros = booSuccess Exit_RunExcelMacros: On Error Resume Next If booTerminate = False Then xlWkb.Close SaveChanges:=False Set xlWkb = Nothing End If Debug.Print "xl end", Time Exit Function Err_RunExcelMacros: Select Case Err Case 0 'insert Errors you wish to ignore here Resume Next Case Else 'All other errors will trap Beep MsgBox "Error: " & Err & ". " & Err.Description, vbCritical + vbOKOnly, "Error, macro " & varMacro Resume Exit_RunExcelMacros End Select End Function /gustav >>> MarkBoyd at McBeeAssociates.com 05/25 11:28 pm >>> I have a need to run Excel macro code from within Access VBA. Basically, the code logic flows as follows: 1. Export Access report as a new Excel file (DoCmd.OutputTo acOutputReport, strXLName, acFormatXLS, , True) 2. Run Excel macro (from within Access VBA) to format the Excel file accordingly. Does anyone have any sample code and/or resources related to this logic? Any help is greatly appreciated. Thanks, Mark Boyd I/S Supervisor McBee Associates, Inc. -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com ----------------------------------------- This message and any attachments are intended only for the use of the individual or entity to which it is addressed and may contain information that is privileged, confidential, and exempt from disclosure under applicable law. If the reader of this message is not the intended recipient, or the employee or agent responsible for delivering the message to the intended recipient, you are hereby notified that any dissemination, distribution or copying of this communication is strictly prohibited. If you have received this communication in error, please notify the sender by replying to this message, and then delete it from your system. ------------------------------------------- -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com ----------------------------------------- This message and any attachments are intended only for the use of the individual or entity to which it is addressed and may contain information that is privileged, confidential, and exempt from disclosure under applicable law. If the reader of this message is not the intended recipient, or the employee or agent responsible for delivering the message to the intended recipient, you are hereby notified that any dissemination, distribution or copying of this communication is strictly prohibited. If you have received this communication in error, please notify the sender by replying to this message, and then delete it from your system. ------------------------------------------- From Lambert.Heenan at AIG.com Wed Jun 1 11:43:00 2005 From: Lambert.Heenan at AIG.com (Heenan, Lambert) Date: Wed, 1 Jun 2005 12:43:00 -0400 Subject: [AccessD] Excel Macro Automation from within Access Message-ID: <1D7828CDB8350747AFE9D69E0E90DA1F10BB50DC@xlivmbx21.aig.com> Can't you just design a query that uses the column headings you want to display? -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Mark Boyd Sent: Wednesday, June 01, 2005 12:24 PM To: Access Developers discussion and problem solving Subject: RE: [AccessD] Excel Macro Automation from within Access Thanks Lambert. I can't use DoCmd.TransferSpreadsheet b/c I need to send an Access report to Excel, not a table or select query. I would use a query, but I need to keep the report headings intact. The macro that runs afterward formats the headings and columns appropriately. Mark Boyd I/S Supervisor McBee Associates, Inc. -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Heenan, Lambert Sent: Wednesday, June 01, 2005 12:09 PM To: 'Access Developers discussion and problem solving' Subject: RE: [AccessD] Excel Macro Automation from within Access You cannot set the excel type with OutputTo, but with DoCmd.TransferSpreadsheet you can. Lambert -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Mark Boyd Sent: Wednesday, June 01, 2005 11:53 AM To: Access Developers discussion and problem solving Subject: RE: [AccessD] Excel Macro Automation from within Access Thanks to everyone who helped with this issue. I greatly appreciate it. The only issue that I'm now having is the excel file seems to be created with Excel 5.0/95. I'm using Office 2003, and the excel file is created with ("DoCmd.OutputTo acOutputReport, strXLName, acFormatXLS, "c:\" & strXLName & ".xls", False"). Why does Access create the file using a lower version of Office than what is running on the client? Is there a way to specify the Office version when exporting the file? FYI - The macro automation function is below: Function ExcelMacro(ByVal strFileName As String) On Error GoTo Err_ExcelMacro Dim xlApp As Excel.Application Dim xlWkb As Excel.Workbook If fIsAppRunning("Excel") Then Set xlApp = GetObject(, "Excel.Application") Else Set xlApp = CreateObject("Excel.Application") End If xlApp.Application.Visible = True Set xlWkb = xlApp.Workbooks.Open(strFileName, 0) 'run Excel macro code here '... '... 'end macro code Exit_ExcelMacro: On Error Resume Next Set xlWkb = Nothing Set xlApp = Nothing Exit Function Err_ExcelMacro: Select Case Err Case 0 'insert Errors you wish to ignore here Resume Next Case Else 'All other errors will trap MsgBox Err.Number & " - " & Err.Description, vbCritical, "Error" Resume Exit_ExcelMacro End Select End Function Thanks again, Mark Boyd I/S Supervisor McBee Associates, Inc. -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Gustav Brock Sent: Thursday, May 26, 2005 5:22 AM To: accessd at databaseadvisors.com Subject: Re: [AccessD] Excel Macro Automation from within Access Hi Mark Here is how (as I learned from Mr. Colby). It works very reliably: Function RunExcelMacros( _ ByVal strFileName As String, _ ParamArray avarMacros()) As Boolean Debug.Print "xl ini", Time On Error GoTo Err_RunExcelMacros Static xlApp As Excel.Application Dim xlWkb As Excel.Workbook Dim varMacro As Variant Dim booSuccess As Boolean Dim booTerminate As Boolean If Len(strFileName) = 0 Then ' Excel shall be closed. booTerminate = True End If If xlApp Is Nothing Then If booTerminate = False Then Set xlApp = New Excel.Application End If ElseIf booTerminate = True Then xlApp.Quit Set xlApp = Nothing End If If booTerminate = False Then Set xlWkb = xlApp.Workbooks.Open(FileName:=strFileName, UpdateLinks:=0, ReadOnly:=True) ' Make Excel visible (for troubleshooting only) or not. xlApp.Visible = False 'True For Each varMacro In avarMacros() If Not Len(varMacro) = 0 Then Debug.Print "xl run", Time, varMacro booSuccess = xlApp.Run(varMacro) End If Next varMacro Else booSuccess = True End If RunExcelMacros = booSuccess Exit_RunExcelMacros: On Error Resume Next If booTerminate = False Then xlWkb.Close SaveChanges:=False Set xlWkb = Nothing End If Debug.Print "xl end", Time Exit Function Err_RunExcelMacros: Select Case Err Case 0 'insert Errors you wish to ignore here Resume Next Case Else 'All other errors will trap Beep MsgBox "Error: " & Err & ". " & Err.Description, vbCritical + vbOKOnly, "Error, macro " & varMacro Resume Exit_RunExcelMacros End Select End Function /gustav >>> MarkBoyd at McBeeAssociates.com 05/25 11:28 pm >>> I have a need to run Excel macro code from within Access VBA. Basically, the code logic flows as follows: 1. Export Access report as a new Excel file (DoCmd.OutputTo acOutputReport, strXLName, acFormatXLS, , True) 2. Run Excel macro (from within Access VBA) to format the Excel file accordingly. Does anyone have any sample code and/or resources related to this logic? Any help is greatly appreciated. Thanks, Mark Boyd I/S Supervisor McBee Associates, Inc. -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com ----------------------------------------- This message and any attachments are intended only for the use of the individual or entity to which it is addressed and may contain information that is privileged, confidential, and exempt from disclosure under applicable law. If the reader of this message is not the intended recipient, or the employee or agent responsible for delivering the message to the intended recipient, you are hereby notified that any dissemination, distribution or copying of this communication is strictly prohibited. If you have received this communication in error, please notify the sender by replying to this message, and then delete it from your system. ------------------------------------------- -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com ----------------------------------------- This message and any attachments are intended only for the use of the individual or entity to which it is addressed and may contain information that is privileged, confidential, and exempt from disclosure under applicable law. If the reader of this message is not the intended recipient, or the employee or agent responsible for delivering the message to the intended recipient, you are hereby notified that any dissemination, distribution or copying of this communication is strictly prohibited. If you have received this communication in error, please notify the sender by replying to this message, and then delete it from your system. ------------------------------------------- -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From MarkBoyd at McBeeAssociates.com Wed Jun 1 12:03:14 2005 From: MarkBoyd at McBeeAssociates.com (Mark Boyd) Date: Wed, 1 Jun 2005 13:03:14 -0400 Subject: [AccessD] Excel Macro Automation from within Access Message-ID: <974F830FE464C14E8652F95E24DA663C043F6E@mail03.Mcbassoc.com> It isn't the column headings that I need to preserve, but the data in the Report Header section, such as titles, sub-titles, etc. Mark Boyd I/S Supervisor McBee Associates, Inc. -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Heenan, Lambert Sent: Wednesday, June 01, 2005 12:43 PM To: 'Access Developers discussion and problem solving' Subject: RE: [AccessD] Excel Macro Automation from within Access Can't you just design a query that uses the column headings you want to display? -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Mark Boyd Sent: Wednesday, June 01, 2005 12:24 PM To: Access Developers discussion and problem solving Subject: RE: [AccessD] Excel Macro Automation from within Access Thanks Lambert. I can't use DoCmd.TransferSpreadsheet b/c I need to send an Access report to Excel, not a table or select query. I would use a query, but I need to keep the report headings intact. The macro that runs afterward formats the headings and columns appropriately. Mark Boyd I/S Supervisor McBee Associates, Inc. -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Heenan, Lambert Sent: Wednesday, June 01, 2005 12:09 PM To: 'Access Developers discussion and problem solving' Subject: RE: [AccessD] Excel Macro Automation from within Access You cannot set the excel type with OutputTo, but with DoCmd.TransferSpreadsheet you can. Lambert -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Mark Boyd Sent: Wednesday, June 01, 2005 11:53 AM To: Access Developers discussion and problem solving Subject: RE: [AccessD] Excel Macro Automation from within Access Thanks to everyone who helped with this issue. I greatly appreciate it. The only issue that I'm now having is the excel file seems to be created with Excel 5.0/95. I'm using Office 2003, and the excel file is created with ("DoCmd.OutputTo acOutputReport, strXLName, acFormatXLS, "c:\" & strXLName & ".xls", False"). Why does Access create the file using a lower version of Office than what is running on the client? Is there a way to specify the Office version when exporting the file? FYI - The macro automation function is below: Function ExcelMacro(ByVal strFileName As String) On Error GoTo Err_ExcelMacro Dim xlApp As Excel.Application Dim xlWkb As Excel.Workbook If fIsAppRunning("Excel") Then Set xlApp = GetObject(, "Excel.Application") Else Set xlApp = CreateObject("Excel.Application") End If xlApp.Application.Visible = True Set xlWkb = xlApp.Workbooks.Open(strFileName, 0) 'run Excel macro code here '... '... 'end macro code Exit_ExcelMacro: On Error Resume Next Set xlWkb = Nothing Set xlApp = Nothing Exit Function Err_ExcelMacro: Select Case Err Case 0 'insert Errors you wish to ignore here Resume Next Case Else 'All other errors will trap MsgBox Err.Number & " - " & Err.Description, vbCritical, "Error" Resume Exit_ExcelMacro End Select End Function Thanks again, Mark Boyd I/S Supervisor McBee Associates, Inc. -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Gustav Brock Sent: Thursday, May 26, 2005 5:22 AM To: accessd at databaseadvisors.com Subject: Re: [AccessD] Excel Macro Automation from within Access Hi Mark Here is how (as I learned from Mr. Colby). It works very reliably: Function RunExcelMacros( _ ByVal strFileName As String, _ ParamArray avarMacros()) As Boolean Debug.Print "xl ini", Time On Error GoTo Err_RunExcelMacros Static xlApp As Excel.Application Dim xlWkb As Excel.Workbook Dim varMacro As Variant Dim booSuccess As Boolean Dim booTerminate As Boolean If Len(strFileName) = 0 Then ' Excel shall be closed. booTerminate = True End If If xlApp Is Nothing Then If booTerminate = False Then Set xlApp = New Excel.Application End If ElseIf booTerminate = True Then xlApp.Quit Set xlApp = Nothing End If If booTerminate = False Then Set xlWkb = xlApp.Workbooks.Open(FileName:=strFileName, UpdateLinks:=0, ReadOnly:=True) ' Make Excel visible (for troubleshooting only) or not. xlApp.Visible = False 'True For Each varMacro In avarMacros() If Not Len(varMacro) = 0 Then Debug.Print "xl run", Time, varMacro booSuccess = xlApp.Run(varMacro) End If Next varMacro Else booSuccess = True End If RunExcelMacros = booSuccess Exit_RunExcelMacros: On Error Resume Next If booTerminate = False Then xlWkb.Close SaveChanges:=False Set xlWkb = Nothing End If Debug.Print "xl end", Time Exit Function Err_RunExcelMacros: Select Case Err Case 0 'insert Errors you wish to ignore here Resume Next Case Else 'All other errors will trap Beep MsgBox "Error: " & Err & ". " & Err.Description, vbCritical + vbOKOnly, "Error, macro " & varMacro Resume Exit_RunExcelMacros End Select End Function /gustav >>> MarkBoyd at McBeeAssociates.com 05/25 11:28 pm >>> I have a need to run Excel macro code from within Access VBA. Basically, the code logic flows as follows: 1. Export Access report as a new Excel file (DoCmd.OutputTo acOutputReport, strXLName, acFormatXLS, , True) 2. Run Excel macro (from within Access VBA) to format the Excel file accordingly. Does anyone have any sample code and/or resources related to this logic? Any help is greatly appreciated. Thanks, Mark Boyd I/S Supervisor McBee Associates, Inc. -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com ----------------------------------------- This message and any attachments are intended only for the use of the individual or entity to which it is addressed and may contain information that is privileged, confidential, and exempt from disclosure under applicable law. If the reader of this message is not the intended recipient, or the employee or agent responsible for delivering the message to the intended recipient, you are hereby notified that any dissemination, distribution or copying of this communication is strictly prohibited. If you have received this communication in error, please notify the sender by replying to this message, and then delete it from your system. ------------------------------------------- -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com ----------------------------------------- This message and any attachments are intended only for the use of the individual or entity to which it is addressed and may contain information that is privileged, confidential, and exempt from disclosure under applicable law. If the reader of this message is not the intended recipient, or the employee or agent responsible for delivering the message to the intended recipient, you are hereby notified that any dissemination, distribution or copying of this communication is strictly prohibited. If you have received this communication in error, please notify the sender by replying to this message, and then delete it from your system. ------------------------------------------- -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com ----------------------------------------- This message and any attachments are intended only for the use of the individual or entity to which it is addressed and may contain information that is privileged, confidential, and exempt from disclosure under applicable law. If the reader of this message is not the intended recipient, or the employee or agent responsible for delivering the message to the intended recipient, you are hereby notified that any dissemination, distribution or copying of this communication is strictly prohibited. If you have received this communication in error, please notify the sender by replying to this message, and then delete it from your system. ------------------------------------------- From darsant at gmail.com Wed Jun 1 13:45:08 2005 From: darsant at gmail.com (Darsant Silverstring) Date: Wed, 1 Jun 2005 13:45:08 -0500 Subject: [AccessD] Excel Macro Automation from within Access In-Reply-To: <974F830FE464C14E8652F95E24DA663C043F6E@mail03.Mcbassoc.com> References: <974F830FE464C14E8652F95E24DA663C043F6E@mail03.Mcbassoc.com> Message-ID: <53c8e05a05060111452d4b8d5@mail.gmail.com> On 6/1/05, Mark Boyd wrote: > It isn't the column headings that I need to preserve, but the data in > the Report Header section, such as titles, sub-titles, etc. > > Mark Boyd > I/S Supervisor > McBee Associates, Inc. Well, you could take the query that the report is feeding from, and pipe the data through VBA code to export it to excel. Err, well, it'd be multiple recordsets depending on what you wanted to format, but you could use do while loops on each recordset to output the appropriate heading, then output the data, then total the data, then move onto the next recordset. With VBA code linking it to excel you can do whatever formatting you want, but you're going to have to more softcode the output and modify the macro that you created to work with the Access interface. In other words, instead of outputting from report format to excel, you can output from the module itself. More work but allows you 100% accessability and formating options vs having to correct the auto-formatting done by report-->excel procedure. -- Darsant Silverstring "Peace cannot be kept by force. It can only be achieved by understanding." -Albert Einstein From MarkBoyd at McBeeAssociates.com Wed Jun 1 14:10:15 2005 From: MarkBoyd at McBeeAssociates.com (Mark Boyd) Date: Wed, 1 Jun 2005 15:10:15 -0400 Subject: [AccessD] Excel Macro Automation from within Access Message-ID: <974F830FE464C14E8652F95E24DA663C043F72@mail03.Mcbassoc.com> Thanks Darsant. This option seems feasible, but sounds like a lot of coding to get it to work by tomorrow. I'll have to use a band-aid until I can look into your approach when I have more time. Thanks, Mark Boyd I/S Supervisor McBee Associates, Inc. -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Darsant Silverstring Sent: Wednesday, June 01, 2005 2:45 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Excel Macro Automation from within Access On 6/1/05, Mark Boyd wrote: > It isn't the column headings that I need to preserve, but the data in > the Report Header section, such as titles, sub-titles, etc. > > Mark Boyd > I/S Supervisor > McBee Associates, Inc. Well, you could take the query that the report is feeding from, and pipe the data through VBA code to export it to excel. Err, well, it'd be multiple recordsets depending on what you wanted to format, but you could use do while loops on each recordset to output the appropriate heading, then output the data, then total the data, then move onto the next recordset. With VBA code linking it to excel you can do whatever formatting you want, but you're going to have to more softcode the output and modify the macro that you created to work with the Access interface. In other words, instead of outputting from report format to excel, you can output from the module itself. More work but allows you 100% accessability and formating options vs having to correct the auto-formatting done by report-->excel procedure. -- Darsant Silverstring "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 ----------------------------------------- This message and any attachments are intended only for the use of the individual or entity to which it is addressed and may contain information that is privileged, confidential, and exempt from disclosure under applicable law. If the reader of this message is not the intended recipient, or the employee or agent responsible for delivering the message to the intended recipient, you are hereby notified that any dissemination, distribution or copying of this communication is strictly prohibited. If you have received this communication in error, please notify the sender by replying to this message, and then delete it from your system. ------------------------------------------- From Jim.Hale at FleetPride.com Wed Jun 1 14:40:18 2005 From: Jim.Hale at FleetPride.com (Hale, Jim) Date: Wed, 1 Jun 2005 14:40:18 -0500 Subject: [AccessD] Excel Macro Automation from within Access Message-ID: <6A6AA9DF57E4F046BDA1E273BDDB677233761D@corp-es01.fleetpride.com> Are you saving the file using code? Check out Excel's SaveAs method. It allows a fileformat parameter. I think xlWorkbookNormal is the correct one. Jim Hale -----Original Message----- From: Mark Boyd [mailto:MarkBoyd at mcbeeassociates.com] Sent: Wednesday, June 01, 2005 10:53 AM To: Access Developers discussion and problem solving Subject: RE: [AccessD] Excel Macro Automation from within Access Thanks to everyone who helped with this issue. I greatly appreciate it. The only issue that I'm now having is the excel file seems to be created with Excel 5.0/95. I'm using Office 2003, and the excel file is created with ("DoCmd.OutputTo acOutputReport, strXLName, acFormatXLS, "c:\" & strXLName & ".xls", False"). Why does Access create the file using a lower version of Office than what is running on the client? Is there a way to specify the Office version when exporting the file? FYI - The macro automation function is below: Function ExcelMacro(ByVal strFileName As String) On Error GoTo Err_ExcelMacro Dim xlApp As Excel.Application Dim xlWkb As Excel.Workbook If fIsAppRunning("Excel") Then Set xlApp = GetObject(, "Excel.Application") Else Set xlApp = CreateObject("Excel.Application") End If xlApp.Application.Visible = True Set xlWkb = xlApp.Workbooks.Open(strFileName, 0) 'run Excel macro code here '... '... 'end macro code Exit_ExcelMacro: On Error Resume Next Set xlWkb = Nothing Set xlApp = Nothing Exit Function Err_ExcelMacro: Select Case Err Case 0 'insert Errors you wish to ignore here Resume Next Case Else 'All other errors will trap MsgBox Err.Number & " - " & Err.Description, vbCritical, "Error" Resume Exit_ExcelMacro End Select End Function Thanks again, Mark Boyd I/S Supervisor McBee Associates, Inc. *********************************************************************** 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 MarkBoyd at McBeeAssociates.com Wed Jun 1 17:21:27 2005 From: MarkBoyd at McBeeAssociates.com (Mark Boyd) Date: Wed, 1 Jun 2005 18:21:27 -0400 Subject: [AccessD] Excel Macro Automation from within Access Message-ID: <974F830FE464C14E8652F95E24DA663C043F78@mail03.Mcbassoc.com> Thanks Jim, this is pointing me in the right direction. The export process is as follows: 1. Export report to Excel 2. Format report w/ macro 3. Save formatting changes 4. Attach file to email message When using the SaveAs method, I'm prompted to overwrite the existing excel file (the one just formatted). Am I missing something in regard to the properties of the SaveAs method, that will allow me to save the existing, formatted file? If I select Yes to overwrite the existing file, all of the macro formats are lost. Mark Boyd I/S Supervisor McBee Associates, Inc. -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Hale, Jim Sent: Wednesday, June 01, 2005 3:40 PM To: 'Access Developers discussion and problem solving' Subject: RE: [AccessD] Excel Macro Automation from within Access Are you saving the file using code? Check out Excel's SaveAs method. It allows a fileformat parameter. I think xlWorkbookNormal is the correct one. Jim Hale -----Original Message----- From: Mark Boyd [mailto:MarkBoyd at mcbeeassociates.com] Sent: Wednesday, June 01, 2005 10:53 AM To: Access Developers discussion and problem solving Subject: RE: [AccessD] Excel Macro Automation from within Access Thanks to everyone who helped with this issue. I greatly appreciate it. The only issue that I'm now having is the excel file seems to be created with Excel 5.0/95. I'm using Office 2003, and the excel file is created with ("DoCmd.OutputTo acOutputReport, strXLName, acFormatXLS, "c:\" & strXLName & ".xls", False"). Why does Access create the file using a lower version of Office than what is running on the client? Is there a way to specify the Office version when exporting the file? FYI - The macro automation function is below: Function ExcelMacro(ByVal strFileName As String) On Error GoTo Err_ExcelMacro Dim xlApp As Excel.Application Dim xlWkb As Excel.Workbook If fIsAppRunning("Excel") Then Set xlApp = GetObject(, "Excel.Application") Else Set xlApp = CreateObject("Excel.Application") End If xlApp.Application.Visible = True Set xlWkb = xlApp.Workbooks.Open(strFileName, 0) 'run Excel macro code here '... '... 'end macro code Exit_ExcelMacro: On Error Resume Next Set xlWkb = Nothing Set xlApp = Nothing Exit Function Err_ExcelMacro: Select Case Err Case 0 'insert Errors you wish to ignore here Resume Next Case Else 'All other errors will trap MsgBox Err.Number & " - " & Err.Description, vbCritical, "Error" Resume Exit_ExcelMacro End Select End Function Thanks again, Mark Boyd I/S Supervisor McBee Associates, Inc. *********************************************************************** 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. ----------------------------------------- This message and any attachments are intended only for the use of the individual or entity to which it is addressed and may contain information that is privileged, confidential, and exempt from disclosure under applicable law. If the reader of this message is not the intended recipient, or the employee or agent responsible for delivering the message to the intended recipient, you are hereby notified that any dissemination, distribution or copying of this communication is strictly prohibited. If you have received this communication in error, please notify the sender by replying to this message, and then delete it from your system. ------------------------------------------- From jwcolby at colbyconsulting.com Wed Jun 1 17:29:23 2005 From: jwcolby at colbyconsulting.com (John W. Colby) Date: Wed, 01 Jun 2005 18:29:23 -0400 Subject: [AccessD] Any MapPoint programmers out there? Message-ID: <002901c566f9$5c6c79f0$6c7aa8c0@ColbyM6805> I'm getting ready to do some pretty serious MapPoint stuff and wondered if anyone else out there is doing MapPoint? John W. Colby www.ColbyConsulting.com Contribute your unused CPU cycles to a good cause: http://folding.stanford.edu/ From DWUTKA at marlow.com Wed Jun 1 17:42:17 2005 From: DWUTKA at marlow.com (DWUTKA at marlow.com) Date: Wed, 1 Jun 2005 17:42:17 -0500 Subject: [AccessD] Any MapPoint programmers out there? Message-ID: <123701F54509D9119A4F00D0B747349016D61C@main2.marlow.com> Mike Mattys does Mappoint. Drew -----Original Message----- From: John W. Colby [mailto:jwcolby at colbyconsulting.com] Sent: Wednesday, June 01, 2005 5:29 PM To: 'Access Developers discussion and problem solving' Subject: [AccessD] Any MapPoint programmers out there? I'm getting ready to do some pretty serious MapPoint stuff and wondered if anyone else out there is doing MapPoint? 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 fhtapia at gmail.com Wed Jun 1 19:46:48 2005 From: fhtapia at gmail.com (Francisco Tapia) Date: Wed, 1 Jun 2005 17:46:48 -0700 Subject: [AccessD] Error Loading Project? Message-ID: Recently I've been plauged by this error: I have 2 Access ADP's , the primary is the dev copy and I write in this copy all my development code, once compiled, and tested I "EXPORT" the new form or modified form to the Production .adp copy this file used to be on the network, but due to the more recent network errors that I was plauged w/ I decided to simply create a folder on my pc called "build" and export to that folder instead, everything had been working great, and in fact each copy compiles w/o errors... but if I export from the dev on drive C to the build on drive C I end up w/ an error on the build copy as "Error Loading Project, disk or network error, continue loading?" if you click ok I find that the module is empty. If I then (while in the build copy), IMPORT the same form, then I get a new Form1 classic import, I delete the corrupted form and rename Form1 to Form and all is well again... why can I not export anymore? -- -Francisco http://pcthis.blogspot.com |PC news with out the jargon! http://sqlthis.blogspot.com | Tsql and More... From jwcolby at colbyconsulting.com Wed Jun 1 19:56:44 2005 From: jwcolby at colbyconsulting.com (John W. Colby) Date: Wed, 01 Jun 2005 20:56:44 -0400 Subject: [AccessD] Error Loading Project? In-Reply-To: Message-ID: <002c01c5670d$f64a08d0$6c7aa8c0@ColbyM6805> Do you happen to have 2K and XP on the same machine? John W. Colby www.ColbyConsulting.com Contribute your unused CPU cycles to a good cause: http://folding.stanford.edu/ -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Francisco Tapia Sent: Wednesday, June 01, 2005 8:47 PM To: access-l at peach.ease.lsoft.com; Access Developers discussion and problem solving Subject: [AccessD] Error Loading Project? Recently I've been plauged by this error: I have 2 Access ADP's , the primary is the dev copy and I write in this copy all my development code, once compiled, and tested I "EXPORT" the new form or modified form to the Production .adp copy this file used to be on the network, but due to the more recent network errors that I was plauged w/ I decided to simply create a folder on my pc called "build" and export to that folder instead, everything had been working great, and in fact each copy compiles w/o errors... but if I export from the dev on drive C to the build on drive C I end up w/ an error on the build copy as "Error Loading Project, disk or network error, continue loading?" if you click ok I find that the module is empty. If I then (while in the build copy), IMPORT the same form, then I get a new Form1 classic import, I delete the corrupted form and rename Form1 to Form and all is well again... why can I not export anymore? -- -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 mcaro at bigpond.net.au Wed Jun 1 21:17:41 2005 From: mcaro at bigpond.net.au (Martin Caro) Date: Thu, 2 Jun 2005 12:17:41 +1000 Subject: [AccessD] Changing Criteria Message-ID: <006901c56719$419def80$0100000a@MITSERVER> Hi Folks Is it possible to do the following: I have a query where one of the fields references a text box containing a Filter Code to pick up the required selection criteria for the query. It works fine for Case 1 to 6 but what is the syntax to make Case 7 and 8 work? Private Sub HotelFilter_AfterUpdate() Select Case HotelFilter Case Is = 1 FilterCode = "FH" Case Is = 2 FilterCode = "FHI" Case Is = 3 FilterCode = "LH" Case Is = 4 FilterCode = "B" Case Is = 5 FilterCode = "L" Case Is = 6 FilterCode = "E" Case Is = 7 FilterCode = Display only those records that do not have a code ie Code is Null Case Is = 8 FilterCode = Display all records ie no filter End Select Me.Refresh From bchacc at san.rr.com Wed Jun 1 22:16:35 2005 From: bchacc at san.rr.com (Rocky Smolin - Beach Access Software) Date: Wed, 1 Jun 2005 20:16:35 -0700 Subject: [AccessD] Changing Criteria References: <006901c56719$419def80$0100000a@MITSERVER> Message-ID: <043b01c56721$7b889ee0$6501a8c0@HAL9004> Martin: I think case 7 would be IsNull. You can try it. Case 8 would be Me.Filter="": Me.FilterOn=False. I think. Rocky ----- Original Message ----- From: "Martin Caro" To: "Access Developers discussion and problem solving" Sent: Wednesday, June 01, 2005 7:17 PM Subject: [AccessD] Changing Criteria Hi Folks Is it possible to do the following: I have a query where one of the fields references a text box containing a Filter Code to pick up the required selection criteria for the query. It works fine for Case 1 to 6 but what is the syntax to make Case 7 and 8 work? Private Sub HotelFilter_AfterUpdate() Select Case HotelFilter Case Is = 1 FilterCode = "FH" Case Is = 2 FilterCode = "FHI" Case Is = 3 FilterCode = "LH" Case Is = 4 FilterCode = "B" Case Is = 5 FilterCode = "L" Case Is = 6 FilterCode = "E" Case Is = 7 FilterCode = Display only those records that do not have a code ie Code is Null Case Is = 8 FilterCode = Display all records ie no filter End Select Me.Refresh -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From jwcolby at colbyconsulting.com Wed Jun 1 22:41:31 2005 From: jwcolby at colbyconsulting.com (John W. Colby) Date: Wed, 01 Jun 2005 23:41:31 -0400 Subject: [AccessD] Height and width of usable screen Message-ID: <002d01c56724$fa56c000$6c7aa8c0@ColbyM6805> How do you determine the height and width (in pixels) of the USABLE area of the screen, i.e. the screen dimensions minus any toolbars? I am working with MapPoint and am able to instantiate it, and display it, but I am now trying to set it to display full screen and I don't find any "maximize" method, rather it seems you have to set the top/left/height/width (in pixels). 0/0/1280/7xx sets it correctly for my laptop, but the 7XX is the issue. If I make it too large it simply places some part of the application off the screen. Not good. John W. Colby www.ColbyConsulting.com Contribute your unused CPU cycles to a good cause: http://folding.stanford.edu/ From jwcolby at colbyconsulting.com Wed Jun 1 22:48:32 2005 From: jwcolby at colbyconsulting.com (John W. Colby) Date: Wed, 01 Jun 2005 23:48:32 -0400 Subject: [AccessD] Height and width of usable screen In-Reply-To: <002d01c56724$fa56c000$6c7aa8c0@ColbyM6805> Message-ID: <002e01c56725$f28bb460$6c7aa8c0@ColbyM6805> Never mind, I found it (WindowState). John W. Colby www.ColbyConsulting.com Contribute your unused CPU cycles to 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: Wednesday, June 01, 2005 11:42 PM To: 'Access Developers discussion and problem solving' Subject: [AccessD] Height and width of usable screen How do you determine the height and width (in pixels) of the USABLE area of the screen, i.e. the screen dimensions minus any toolbars? I am working with MapPoint and am able to instantiate it, and display it, but I am now trying to set it to display full screen and I don't find any "maximize" method, rather it seems you have to set the top/left/height/width (in pixels). 0/0/1280/7xx sets it correctly for my laptop, but the 7XX is the issue. If I make it too large it simply places some part of the application off the screen. Not good. 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 jmhecht at earthlink.net Wed Jun 1 23:37:44 2005 From: jmhecht at earthlink.net (Joe Hecht) Date: Wed, 1 Jun 2005 21:37:44 -0700 Subject: [AccessD] Invitations DB Design Ideas Message-ID: <001f01c5672c$d20f09b0$6401a8c0@laptop1> So my niece got engaged and I figure I better get my DB going soon. Right now the database is one table, These are typed in to readable and not names with spaces etc: I rec num 1st Person first Name 1st person last name 2cd person first name 2cd person last name Address fields Adults Invitation Represents Children Invitation represents Contact phone Memo Source (Bride/Groom/Family/friend?) Invited Y/N Coming y/n Gift received Y/N Note Sent Y/N Looking for ideas to normalize this OK wise guys, I know no wedding is normal but... Joe Hecht Los Angeles CA From bchacc at san.rr.com Thu Jun 2 00:08:27 2005 From: bchacc at san.rr.com (Rocky Smolin - Beach Access Software) Date: Wed, 1 Jun 2005 22:08:27 -0700 Subject: [AccessD] Invitations DB Design Ideas References: <001f01c5672c$d20f09b0$6401a8c0@laptop1> Message-ID: <048601c56731$1c5d6b70$6501a8c0@HAL9004> Will there only be two persons' names at most? If not, then you can put the names in a name table with a foreign key to the Invitation table's primary key. Source could also be a table with a FK in the Invitation pointing to the source table's PK. Seems like maybe more trouble than it's worth for this app, though. Rocky ----- Original Message ----- From: "Joe Hecht" To: "'Access Developers discussion and problem solving'" Sent: Wednesday, June 01, 2005 9:37 PM Subject: [AccessD] Invitations DB Design Ideas > So my niece got engaged and I figure I better get my DB going soon. > > Right now the database is one table, > > These are typed in to readable and not names with spaces etc: > > I rec num > 1st Person first Name > 1st person last name > 2cd person first name > 2cd person last name > Address fields > Adults Invitation Represents > Children Invitation represents > Contact phone > Memo > Source (Bride/Groom/Family/friend?) > Invited Y/N > Coming y/n > Gift received Y/N > Note Sent Y/N > > > > Looking for ideas to normalize this > > OK wise guys, I know no wedding is normal but... > > > > Joe Hecht > Los Angeles CA > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > From adtp at touchtelindia.net Thu Jun 2 00:56:35 2005 From: adtp at touchtelindia.net (A.D.Tejpal) Date: Thu, 2 Jun 2005 11:26:35 +0530 Subject: [AccessD] Changing Criteria References: <006901c56719$419def80$0100000a@MITSERVER> Message-ID: <00d601c56738$027cccd0$aa1865cb@winxp> Martin, You wish to incorporate criteria options in a query (to be picked up from a form) for - (a) Null values only (b) All values (including Nulls) These two involve non-string expressions if direct comparison with existing field in the table is attempted. The situation does not directly afford an appropriate string that could straightaway be used in the manner applicable to case statements 1 to 6. For getting the desired results, following course of action is suggested. HotelCode is the name of text type field in table T_HotelCode. (a) Select query may be modified as shown below. It would mean that the value of FilterCode on form F_HotelFilter will get tested against Nz([HotelCode],"") in the query. (b) Code in form's module may be modified as shown below. It provides for - Case Is = 7 FilterCode = "" Case Is = 8 FilterCode = "ALL" Best wishes, A.D.Tejpal -------------- Select Query ==================================== SELECT T_HotelCode.* FROM T_HotelCode WHERE (((Nz([HotelCode],""))=IIf([Forms]![F_HotelFilter]![FilterCode]="ALL",Nz([HotelCode],""),[Forms]![F_HotelFilter]![FilterCode]))); ==================================== Code in Form's module ==================================== Private Sub HotelFilter_AfterUpdate() Select Case HotelFilter Case Is = 1 FilterCode = "FH" Case Is = 2 FilterCode = "FHI" Case Is = 3 FilterCode = "LH" Case Is = 4 FilterCode = "B" Case Is = 5 FilterCode = "L" Case Is = 6 FilterCode = "E" Case Is = 7 FilterCode = "" Case Is = 8 FilterCode = "ALL" End Select Me.Refresh End Sub ==================================== ----- Original Message ----- From: Martin Caro To: Access Developers discussion and problem solving Sent: Thursday, June 02, 2005 07:47 Subject: [AccessD] Changing Criteria Hi Folks Is it possible to do the following: I have a query where one of the fields references a text box containing a Filter Code to pick up the required selection criteria for the query. It works fine for Case 1 to 6 but what is the syntax to make Case 7 and 8 work? Private Sub HotelFilter_AfterUpdate() Select Case HotelFilter Case Is = 1 FilterCode = "FH" Case Is = 2 FilterCode = "FHI" Case Is = 3 FilterCode = "LH" Case Is = 4 FilterCode = "B" Case Is = 5 FilterCode = "L" Case Is = 6 FilterCode = "E" Case Is = 7 FilterCode = Display only those records that do not have a code ie Code is Null Case Is = 8 FilterCode = Display all records ie no filter End Select Me.Refresh From jmhecht at earthlink.net Thu Jun 2 01:24:49 2005 From: jmhecht at earthlink.net (Joe Hecht) Date: Wed, 1 Jun 2005 23:24:49 -0700 Subject: [AccessD] Invitations DB Design Ideas In-Reply-To: <048601c56731$1c5d6b70$6501a8c0@HAL9004> Message-ID: <002701c5673b$c854a8d0$6401a8c0@laptop1> Rocky, I can not see three names on an invitation. Worst case would be Mr. Rocky Smolin and Ms. Mrs. Smolin. Maybe and kids? Joe Hecht Los Angeles CA -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Rocky Smolin - Beach Access Software Sent: Wednesday, June 01, 2005 10:08 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Invitations DB Design Ideas Will there only be two persons' names at most? If not, then you can put the names in a name table with a foreign key to the Invitation table's primary key. Source could also be a table with a FK in the Invitation pointing to the source table's PK. Seems like maybe more trouble than it's worth for this app, though. Rocky ----- Original Message ----- From: "Joe Hecht" To: "'Access Developers discussion and problem solving'" Sent: Wednesday, June 01, 2005 9:37 PM Subject: [AccessD] Invitations DB Design Ideas > So my niece got engaged and I figure I better get my DB going soon. > > Right now the database is one table, > > These are typed in to readable and not names with spaces etc: > > I rec num > 1st Person first Name > 1st person last name > 2cd person first name > 2cd person last name > Address fields > Adults Invitation Represents > Children Invitation represents > Contact phone > Memo > Source (Bride/Groom/Family/friend?) > Invited Y/N > Coming y/n > Gift received Y/N > Note Sent Y/N > > > > Looking for ideas to normalize this > > OK wise guys, I know no wedding is normal but... > > > > 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 From paul.hartland at isharp.co.uk Thu Jun 2 02:00:09 2005 From: paul.hartland at isharp.co.uk (Paul Hartland (ISHARP)) Date: Thu, 2 Jun 2005 08:00:09 +0100 Subject: [AccessD] Any MapPoint programmers out there? In-Reply-To: <002901c566f9$5c6c79f0$6c7aa8c0@ColbyM6805> Message-ID: I am also getting ready to use MapPoint with VB6 and SQL Server 2000, mainly want to use it to calculate distances that our employees are from our clients, but may also want to be able to create maps/directions etc.... So if anyone knows any good sites or can help me with getting started I would be grateful.... Thanks in advance for any help on this.... Paul Hartland -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of John W. Colby Sent: 01 June 2005 23:29 To: 'Access Developers discussion and problem solving' Subject: [AccessD] Any MapPoint programmers out there? I'm getting ready to do some pretty serious MapPoint stuff and wondered if anyone else out there is doing MapPoint? 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 michael.mattys at verizon.net Thu Jun 2 04:45:16 2005 From: michael.mattys at verizon.net (Michael R Mattys) Date: Thu, 02 Jun 2005 05:45:16 -0400 Subject: [AccessD] Any MapPoint programmers out there? References: Message-ID: <040001c56757$c9d0d7d0$0202a8c0@default> I have been programming in MapPoint for over 2 years using both Access and VB6. I have several apps created that I sell, including a full routing and scheduling app. Haven't had time to update my website since I started. My efforts were started at Eric Frost's www.mp2kmag.com, where you'll find articles and discussion. I frequently answer questions on Newsgroups: Microsoft.Public.MapPoint and Microsoft.Public.Street-Trips. ---- Michael R. Mattys Mattys MapLib for Microsoft MapPoint http://www.mattysconsulting.com ----- Original Message ----- From: "Paul Hartland (ISHARP)" To: "'Access Developers discussion and problem solving'" Sent: Thursday, June 02, 2005 3:00 AM Subject: RE: [AccessD] Any MapPoint programmers out there? > I am also getting ready to use MapPoint with VB6 and SQL Server 2000, mainly > want to use it to calculate distances that our employees are from our > clients, but may also want to be able to create maps/directions etc.... > > So if anyone knows any good sites or can help me with getting started I > would be grateful.... > > Thanks in advance for any help on this.... > > Paul Hartland > > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of John W. Colby > Sent: 01 June 2005 23:29 > To: 'Access Developers discussion and problem solving' > Subject: [AccessD] Any MapPoint programmers out there? > > I'm getting ready to do some pretty serious MapPoint stuff and wondered if > anyone else out there is doing MapPoint? > > 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 Thu Jun 2 05:05:57 2005 From: paul.hartland at isharp.co.uk (Paul Hartland (ISHARP)) Date: Thu, 2 Jun 2005 11:05:57 +0100 Subject: [AccessD] Any MapPoint programmers out there? In-Reply-To: <040001c56757$c9d0d7d0$0202a8c0@default> Message-ID: Initially all I want to be able to do is pass a clients postcode and several + employee postcodes into MapPoint and return the miles from client for every employee.... -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Michael R Mattys Sent: 02 June 2005 10:45 To: Access Developers discussion and problem solving Subject: Re: [AccessD] Any MapPoint programmers out there? I have been programming in MapPoint for over 2 years using both Access and VB6. I have several apps created that I sell, including a full routing and scheduling app. Haven't had time to update my website since I started. My efforts were started at Eric Frost's www.mp2kmag.com, where you'll find articles and discussion. I frequently answer questions on Newsgroups: Microsoft.Public.MapPoint and Microsoft.Public.Street-Trips. ---- Michael R. Mattys Mattys MapLib for Microsoft MapPoint http://www.mattysconsulting.com ----- Original Message ----- From: "Paul Hartland (ISHARP)" To: "'Access Developers discussion and problem solving'" Sent: Thursday, June 02, 2005 3:00 AM Subject: RE: [AccessD] Any MapPoint programmers out there? > I am also getting ready to use MapPoint with VB6 and SQL Server 2000, mainly > want to use it to calculate distances that our employees are from our > clients, but may also want to be able to create maps/directions etc.... > > So if anyone knows any good sites or can help me with getting started > I would be grateful.... > > Thanks in advance for any help on this.... > > Paul Hartland > > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of John W. > Colby > Sent: 01 June 2005 23:29 > To: 'Access Developers discussion and problem solving' > Subject: [AccessD] Any MapPoint programmers out there? > > I'm getting ready to do some pretty serious MapPoint stuff and > wondered if anyone else out there is doing MapPoint? > > 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 pedro at plex.nl Thu Jun 2 12:10:16 2005 From: pedro at plex.nl (pedro at plex.nl) Date: Thu, 02 Jun 2005 12:10:16 (MET DST) Subject: [AccessD] Any ArcGis vba programmers out there? Message-ID: <200506021010.j52AAGGB021861@mailhostC.plex.net> Hello Group, John W. Colby question about mappoint triggered me to ask the same about ArcGis. I have a script in Avenue that i need to have in VBA for ArcGis. Who can help me with this. Pedro Janssen From michael.mattys at verizon.net Thu Jun 2 05:24:48 2005 From: michael.mattys at verizon.net (Michael R Mattys) Date: Thu, 02 Jun 2005 06:24:48 -0400 Subject: [AccessD] Any MapPoint programmers out there? References: Message-ID: <042401c5675d$506a2440$0202a8c0@default> Since you've said 'postcodes', I'll assume you're in the UK (Not that it makes a difference at the moment.) You'll be looking to use the .DistanceTo function Try here: http://groups-beta.google.com/groups?hl=en&q=mappoint+distanceto ---- Michael R. Mattys Mattys MapLib for Microsoft MapPoint http://www.mattysconsulting.com ----- Original Message ----- From: "Paul Hartland (ISHARP)" To: "'Access Developers discussion and problem solving'" Sent: Thursday, June 02, 2005 6:05 AM Subject: RE: [AccessD] Any MapPoint programmers out there? > Initially all I want to be able to do is pass a clients postcode and several > + employee postcodes into MapPoint and return the miles from client for > every employee.... > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Michael R Mattys > Sent: 02 June 2005 10:45 > To: Access Developers discussion and problem solving > Subject: Re: [AccessD] Any MapPoint programmers out there? > > I have been programming in MapPoint for over 2 years using both Access and > VB6. I have several apps created that I sell, including a full routing and > scheduling app. > Haven't had time to update my website since I started. > > My efforts were started at Eric Frost's www.mp2kmag.com, where you'll find > articles and discussion. > > I frequently answer questions on Newsgroups: > Microsoft.Public.MapPoint and Microsoft.Public.Street-Trips. > ---- > > Michael R. Mattys > Mattys MapLib for Microsoft MapPoint > http://www.mattysconsulting.com > > > > ----- Original Message ----- > From: "Paul Hartland (ISHARP)" > To: "'Access Developers discussion and problem solving'" > > Sent: Thursday, June 02, 2005 3:00 AM > Subject: RE: [AccessD] Any MapPoint programmers out there? > > > > I am also getting ready to use MapPoint with VB6 and SQL Server 2000, > mainly > > want to use it to calculate distances that our employees are from our > > clients, but may also want to be able to create maps/directions etc.... > > > > So if anyone knows any good sites or can help me with getting started > > I would be grateful.... > > > > Thanks in advance for any help on this.... > > > > Paul Hartland > > > > > > -----Original Message----- > > From: accessd-bounces at databaseadvisors.com > > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of John W. > > Colby > > Sent: 01 June 2005 23:29 > > To: 'Access Developers discussion and problem solving' > > Subject: [AccessD] Any MapPoint programmers out there? > > > > I'm getting ready to do some pretty serious MapPoint stuff and > > wondered if anyone else out there is doing MapPoint? > > > > 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 paul.hartland at isharp.co.uk Thu Jun 2 05:31:34 2005 From: paul.hartland at isharp.co.uk (Paul Hartland (ISHARP)) Date: Thu, 2 Jun 2005 11:31:34 +0100 Subject: [AccessD] Any MapPoint programmers out there? In-Reply-To: <042401c5675d$506a2440$0202a8c0@default> Message-ID: Thanks, I haven't actually installed our evaluation edition yet but plan on doing so today or tomorrow so I will look into that... -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Michael R Mattys Sent: 02 June 2005 11:25 To: Access Developers discussion and problem solving Subject: Re: [AccessD] Any MapPoint programmers out there? Since you've said 'postcodes', I'll assume you're in the UK (Not that it makes a difference at the moment.) You'll be looking to use the .DistanceTo function Try here: http://groups-beta.google.com/groups?hl=en&q=mappoint+distanceto ---- Michael R. Mattys Mattys MapLib for Microsoft MapPoint http://www.mattysconsulting.com ----- Original Message ----- From: "Paul Hartland (ISHARP)" To: "'Access Developers discussion and problem solving'" Sent: Thursday, June 02, 2005 6:05 AM Subject: RE: [AccessD] Any MapPoint programmers out there? > Initially all I want to be able to do is pass a clients postcode and several > + employee postcodes into MapPoint and return the miles from client > + for > every employee.... > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Michael R Mattys > Sent: 02 June 2005 10:45 > To: Access Developers discussion and problem solving > Subject: Re: [AccessD] Any MapPoint programmers out there? > > I have been programming in MapPoint for over 2 years using both Access > and VB6. I have several apps created that I sell, including a full > routing and scheduling app. > Haven't had time to update my website since I started. > > My efforts were started at Eric Frost's www.mp2kmag.com, where you'll > find articles and discussion. > > I frequently answer questions on Newsgroups: > Microsoft.Public.MapPoint and Microsoft.Public.Street-Trips. > ---- > > Michael R. Mattys > Mattys MapLib for Microsoft MapPoint > http://www.mattysconsulting.com > > > > ----- Original Message ----- > From: "Paul Hartland (ISHARP)" > To: "'Access Developers discussion and problem solving'" > > Sent: Thursday, June 02, 2005 3:00 AM > Subject: RE: [AccessD] Any MapPoint programmers out there? > > > > I am also getting ready to use MapPoint with VB6 and SQL Server > > 2000, > mainly > > want to use it to calculate distances that our employees are from > > our clients, but may also want to be able to create maps/directions etc.... > > > > So if anyone knows any good sites or can help me with getting > > started I would be grateful.... > > > > Thanks in advance for any help on this.... > > > > Paul Hartland > > > > > > -----Original Message----- > > From: accessd-bounces at databaseadvisors.com > > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of John W. > > Colby > > Sent: 01 June 2005 23:29 > > To: 'Access Developers discussion and problem solving' > > Subject: [AccessD] Any MapPoint programmers out there? > > > > I'm getting ready to do some pretty serious MapPoint stuff and > > wondered if anyone else out there is doing MapPoint? > > > > 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 mcaro at bigpond.net.au Thu Jun 2 05:59:43 2005 From: mcaro at bigpond.net.au (Martin Caro) Date: Thu, 2 Jun 2005 20:59:43 +1000 Subject: [AccessD] Changing Criteria References: <006901c56719$419def80$0100000a@MITSERVER> <00d601c56738$027cccd0$aa1865cb@winxp> Message-ID: <008301c56762$2e9a0970$0100000a@MITSERVER> Thanks A.D. & Rocky for your replies Managed to get ADs code working although needed to make a slight mod to the WHERE line first WHERE (((Nz([HotelCode],""))=IIf([Forms]![F_HotelFilter]![FilterCode]="ALL",Nz([Ho telCode],""),[Forms]![F_HotelFilter]![FilterCode]))); Modified to: WHERE (((Nz([HotelCode]))=IIf([Forms]![F_HotelFilter]![FilterCode]="ALL",Nz([Hotel Code]),[Forms]![F_HotelFilter]![FilterCode]))); Thanks again Martin ----- Original Message ----- From: "A.D.Tejpal" To: "Access Developers discussion and problem solving" Sent: Thursday, June 02, 2005 3:56 PM Subject: Re: [AccessD] Changing Criteria Martin, You wish to incorporate criteria options in a query (to be picked up from a form) for - (a) Null values only (b) All values (including Nulls) These two involve non-string expressions if direct comparison with existing field in the table is attempted. The situation does not directly afford an appropriate string that could straightaway be used in the manner applicable to case statements 1 to 6. For getting the desired results, following course of action is suggested. HotelCode is the name of text type field in table T_HotelCode. (a) Select query may be modified as shown below. It would mean that the value of FilterCode on form F_HotelFilter will get tested against Nz([HotelCode],"") in the query. (b) Code in form's module may be modified as shown below. It provides for - Case Is = 7 FilterCode = "" Case Is = 8 FilterCode = "ALL" Best wishes, A.D.Tejpal -------------- Select Query ==================================== SELECT T_HotelCode.* FROM T_HotelCode WHERE (((Nz([HotelCode],""))=IIf([Forms]![F_HotelFilter]![FilterCode]="ALL",Nz([Ho telCode],""),[Forms]![F_HotelFilter]![FilterCode]))); ==================================== Code in Form's module ==================================== Private Sub HotelFilter_AfterUpdate() Select Case HotelFilter Case Is = 1 FilterCode = "FH" Case Is = 2 FilterCode = "FHI" Case Is = 3 FilterCode = "LH" Case Is = 4 FilterCode = "B" Case Is = 5 FilterCode = "L" Case Is = 6 FilterCode = "E" Case Is = 7 FilterCode = "" Case Is = 8 FilterCode = "ALL" End Select Me.Refresh End Sub ==================================== ----- Original Message ----- From: Martin Caro To: Access Developers discussion and problem solving Sent: Thursday, June 02, 2005 07:47 Subject: [AccessD] Changing Criteria Hi Folks Is it possible to do the following: I have a query where one of the fields references a text box containing a Filter Code to pick up the required selection criteria for the query. It works fine for Case 1 to 6 but what is the syntax to make Case 7 and 8 work? Private Sub HotelFilter_AfterUpdate() Select Case HotelFilter Case Is = 1 FilterCode = "FH" Case Is = 2 FilterCode = "FHI" Case Is = 3 FilterCode = "LH" Case Is = 4 FilterCode = "B" Case Is = 5 FilterCode = "L" Case Is = 6 FilterCode = "E" Case Is = 7 FilterCode = Display only those records that do not have a code ie Code is Null Case Is = 8 FilterCode = Display all records ie no filter End Select Me.Refresh -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From accessd666 at yahoo.com Thu Jun 2 06:13:55 2005 From: accessd666 at yahoo.com (Sad Der) Date: Thu, 2 Jun 2005 04:13:55 -0700 (PDT) Subject: [AccessD] Check if array is initialized Message-ID: <20050602111355.24662.qmail@web31603.mail.mud.yahoo.com> Hi group, one of our programmers came to me with a question regarding an error when the UBOUND() of an array was retrieved. The error occures when an array has been DIMmed, without specifing the size, but not REDIMmed. In the sample below I've created a simple example. When the function is called a byref array is to be filled with values. However the line: for lngCntr = 0 to UBOUND(r_alngMyArray) Will always fill since it hasn't been ReDimmed. I suggested a workaround: 1 - use the function IsInitialized() and check if the function returns -1. If so the array isnt't intitialized. However, is there an official way of handling this error/problem/occurence? Thnx Regards, SD -------------------- EXAMPLE -------------------- Main Dim alngValues() as long Call RetrieveSomething(alngValues()) End Main Public Function RetrieveSomething(byref r_alngMyArray() as Long) dim lngCntr as long for lngCntr = 0 to UBOUND(r_alngMyArray) Redim PRESERVE r_alngMyArray(lngCntr) r_alngMyArray(lngCntr) = "THIS DOES NOT WORK!" next lngCntr End Function ------------------ WORKAROUND ------------------ Function IsInitialized(byref r_alngInitialized) as Long On Error Goto error_not_initialized IsInitialized = UBOUND(r_alngInitialized) Exit Function Goto error_not_initialized IsInitialized = -1 End Function __________________________________________________ Do You Yahoo!? Tired of spam? Yahoo! Mail has the best spam protection around http://mail.yahoo.com From Gustav at cactus.dk Thu Jun 2 07:13:28 2005 From: Gustav at cactus.dk (Gustav Brock) Date: Thu, 02 Jun 2005 14:13:28 +0200 Subject: [AccessD] Check if array is initialized Message-ID: Hi SD We use this function to check that: Public Function IsReDimmed(ByRef varArrayToCheck) As Boolean ' Checks a dynamic array to see if it has been ReDim'med. ' This is to prevent errors before applying LBound() or UBound(). ' ' Returns False if varArrayToCheck is dynamic and ' never has been ReDim'med or just has been erased. ' ' 2001-08-11. Cactus Data ApS, CPH. Gustav Brock. Dim booIsReDimmed As Boolean On Error GoTo Err_IsReDimmed If IsArray(varArrayToCheck) = True Then ' Check if varArrayToCheck is ReDim'med. ' LBound() will fail if varArrayToCheck not has been ReDim'med. booIsReDimmed = LBound(varArrayToCheck) Imp True ' No error raised; varArrayToCheck is ReDim'med. Else ' varArrayToCheck is not an array. End If IsReDimmed = booIsReDimmed Exit_IsReDimmed: Exit Function Err_IsReDimmed: Select Case Err Case 9 ' Subscript (array index) out of range. ' varArrayToCheck is dynamic and not ReDim'med. Case Else ' Other error. End Select ' Exit function returning False. Resume Exit_IsReDimmed End Function /gustav >>> accessd666 at yahoo.com 06/02 1:13 pm >>> Hi group, one of our programmers came to me with a question regarding an error when the UBOUND() of an array was retrieved. The error occures when an array has been DIMmed, without specifing the size, but not REDIMmed. In the sample below I've created a simple example. When the function is called a byref array is to be filled with values. However the line: for lngCntr = 0 to UBOUND(r_alngMyArray) Will always fill since it hasn't been ReDimmed. I suggested a workaround: 1 - use the function IsInitialized() and check if the function returns -1. If so the array isnt't intitialized. However, is there an official way of handling this error/problem/occurence? Thnx Regards, SD -------------------- EXAMPLE -------------------- Main Dim alngValues() as long Call RetrieveSomething(alngValues()) End Main Public Function RetrieveSomething(byref r_alngMyArray() as Long) dim lngCntr as long for lngCntr = 0 to UBOUND(r_alngMyArray) Redim PRESERVE r_alngMyArray(lngCntr) r_alngMyArray(lngCntr) = "THIS DOES NOT WORK!" next lngCntr End Function ------------------ WORKAROUND ------------------ Function IsInitialized(byref r_alngInitialized) as Long On Error Goto error_not_initialized IsInitialized = UBOUND(r_alngInitialized) Exit Function Goto error_not_initialized IsInitialized = -1 End Function From adtp at touchtelindia.net Thu Jun 2 07:21:37 2005 From: adtp at touchtelindia.net (A.D.Tejpal) Date: Thu, 2 Jun 2005 17:51:37 +0530 Subject: [AccessD] Changing Criteria References: <006901c56719$419def80$0100000a@MITSERVER><00d601c56738$027cccd0 $aa1865cb@winxp> <008301c56762$2e9a0970$0100000a@MITSERVER> Message-ID: <006901c5676d$bed36b70$c91865cb@winxp> You are most welcome Martin! Two clarifications - (a) It is seen that your existing code uses the following syntax for Case statement Case Is = 1 ' (and so on) This can be replaced by Case 1 ' (and so on) (b) Is it correct that the only modification carried out in Where clause of the suggested SQL statement is by way of omitting the second argument in Nz() function, replacing Nz([HotelCode],"") by Nz([HotelCode]). Was there any compulsion to do so? Was there any problem with the original one? Although the second argument is optional, and if not supplied, zero length string is assumed as the default value, it is considered a desirable practice to provide this argument explicitly. Best wishes, A.D.Tejpal -------------- ----- Original Message ----- From: Martin Caro To: Access Developers discussion and problem solving Sent: Thursday, June 02, 2005 16:29 Subject: Re: [AccessD] Changing Criteria Thanks A.D. & Rocky for your replies Managed to get ADs code working although needed to make a slight mod to the WHERE line first WHERE (((Nz([HotelCode],""))=IIf([Forms]![F_HotelFilter]![FilterCode]="ALL",Nz([Ho telCode],""),[Forms]![F_HotelFilter]![FilterCode]))); Modified to: WHERE (((Nz([HotelCode]))=IIf([Forms]![F_HotelFilter]![FilterCode]="ALL",Nz([Hotel Code]),[Forms]![F_HotelFilter]![FilterCode]))); Thanks again Martin ----- Original Message ----- From: "A.D.Tejpal" To: "Access Developers discussion and problem solving" Sent: Thursday, June 02, 2005 3:56 PM Subject: Re: [AccessD] Changing Criteria Martin, You wish to incorporate criteria options in a query (to be picked up from a form) for - (a) Null values only (b) All values (including Nulls) These two involve non-string expressions if direct comparison with existing field in the table is attempted. The situation does not directly afford an appropriate string that could straightaway be used in the manner applicable to case statements 1 to 6. For getting the desired results, following course of action is suggested. HotelCode is the name of text type field in table T_HotelCode. (a) Select query may be modified as shown below. It would mean that the value of FilterCode on form F_HotelFilter will get tested against Nz([HotelCode],"") in the query. (b) Code in form's module may be modified as shown below. It provides for - Case Is = 7 FilterCode = "" Case Is = 8 FilterCode = "ALL" Best wishes, A.D.Tejpal -------------- Select Query ==================================== SELECT T_HotelCode.* FROM T_HotelCode WHERE (((Nz([HotelCode],""))=IIf([Forms]![F_HotelFilter]![FilterCode]="ALL",Nz([Ho telCode],""),[Forms]![F_HotelFilter]![FilterCode]))); ==================================== Code in Form's module ==================================== Private Sub HotelFilter_AfterUpdate() Select Case HotelFilter Case Is = 1 FilterCode = "FH" Case Is = 2 FilterCode = "FHI" Case Is = 3 FilterCode = "LH" Case Is = 4 FilterCode = "B" Case Is = 5 FilterCode = "L" Case Is = 6 FilterCode = "E" Case Is = 7 FilterCode = "" Case Is = 8 FilterCode = "ALL" End Select Me.Refresh End Sub ==================================== ----- Original Message ----- From: Martin Caro To: Access Developers discussion and problem solving Sent: Thursday, June 02, 2005 07:47 Subject: [AccessD] Changing Criteria Hi Folks Is it possible to do the following: I have a query where one of the fields references a text box containing a Filter Code to pick up the required selection criteria for the query. It works fine for Case 1 to 6 but what is the syntax to make Case 7 and 8 work? Private Sub HotelFilter_AfterUpdate() Select Case HotelFilter Case Is = 1 FilterCode = "FH" Case Is = 2 FilterCode = "FHI" Case Is = 3 FilterCode = "LH" Case Is = 4 FilterCode = "B" Case Is = 5 FilterCode = "L" Case Is = 6 FilterCode = "E" Case Is = 7 FilterCode = Display only those records that do not have a code ie Code is Null Case Is = 8 FilterCode = Display all records ie no filter End Select Me.Refresh From accessd666 at yahoo.com Thu Jun 2 07:50:51 2005 From: accessd666 at yahoo.com (Sad Der) Date: Thu, 2 Jun 2005 05:50:51 -0700 (PDT) Subject: [AccessD] Check if array is initialized In-Reply-To: Message-ID: <20050602125051.75972.qmail@web31605.mail.mud.yahoo.com> Thnx Gustav. It's more or less the same. You've got some extra checks (is it an array). I'll send it through...and the developers can make the decission. HAHA and I can shoot them down if their decission doesn't work HAHA. I'm getting DILBERT visions :-) thnx again. SD --- Gustav Brock wrote: > Hi SD > > We use this function to check that: > > Public Function IsReDimmed(ByRef varArrayToCheck) As > Boolean > > ' Checks a dynamic array to see if it has been > ReDim'med. > ' This is to prevent errors before applying LBound() > or UBound(). > ' > ' Returns False if varArrayToCheck is dynamic and > ' never has been ReDim'med or just has been erased. > ' > ' 2001-08-11. Cactus Data ApS, CPH. Gustav Brock. > > Dim booIsReDimmed As Boolean > > On Error GoTo Err_IsReDimmed > > If IsArray(varArrayToCheck) = True Then > ' Check if varArrayToCheck is ReDim'med. > ' LBound() will fail if varArrayToCheck not has > been ReDim'med. > booIsReDimmed = LBound(varArrayToCheck) Imp True > ' No error raised; varArrayToCheck is ReDim'med. > Else > ' varArrayToCheck is not an array. > End If > > IsReDimmed = booIsReDimmed > > Exit_IsReDimmed: > Exit Function > > Err_IsReDimmed: > Select Case Err > Case 9 > ' Subscript (array index) out of range. > ' varArrayToCheck is dynamic and not > ReDim'med. > Case Else > ' Other error. > End Select > ' Exit function returning False. > Resume Exit_IsReDimmed > > End Function > > /gustav > > > >>> accessd666 at yahoo.com 06/02 1:13 pm >>> > Hi group, > > one of our programmers came to me with a question > regarding an error when the UBOUND() of an array was > retrieved. The error occures when an array has been > DIMmed, without specifing the size, but not > REDIMmed. > > In the sample below I've created a simple example. > When the function is called a byref array is to be > filled with values. However the line: > for lngCntr = 0 to UBOUND(r_alngMyArray) > Will always fill since it hasn't been ReDimmed. > > I suggested a workaround: > 1 - use the function IsInitialized() and check if > the > function returns -1. If so the array isnt't > intitialized. > > However, is there an official way of handling this > error/problem/occurence? > > Thnx > > Regards, > > SD > -------------------- > EXAMPLE > -------------------- > > Main > Dim alngValues() as long > Call RetrieveSomething(alngValues()) > End Main > > Public Function RetrieveSomething(byref > r_alngMyArray() as Long) > dim lngCntr as long > > for lngCntr = 0 to UBOUND(r_alngMyArray) > Redim PRESERVE r_alngMyArray(lngCntr) > r_alngMyArray(lngCntr) = "THIS DOES NOT WORK!" > next lngCntr > > End Function > > ------------------ > WORKAROUND > ------------------ > Function IsInitialized(byref r_alngInitialized) as > Long > On Error Goto error_not_initialized > > IsInitialized = UBOUND(r_alngInitialized) > > Exit Function > Goto error_not_initialized > IsInitialized = -1 > End Function > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > __________________________________ Discover Yahoo! Stay in touch with email, IM, photo sharing and more. Check it out! http://discover.yahoo.com/stayintouch.html From bheid at appdevgrp.com Thu Jun 2 08:05:34 2005 From: bheid at appdevgrp.com (Bobby Heid) Date: Thu, 2 Jun 2005 09:05:34 -0400 Subject: [AccessD] SELECT IN using pw protected db. In-Reply-To: <916187228923D311A6FE00A0CC3FAA30BC6A5A@ADGSERVER> Message-ID: <916187228923D311A6FE00A0CC3FAA30ABEBCB@ADGSERVER> Thanks to all for your input. I had to get this stuff out fast so I ended up just opening the external database with a database variable and then just querying against that database. I will probably go back and revisit this. Sorry for the delay in getting back to you all, I took a few days off. Bobby -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of MartyConnelly Sent: Friday, May 27, 2005 1:59 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] SELECT IN using pw protected db. hope this helps, Set rs = cn.Execute("SELECT * FROM [ODBC;DSN={DSN Name};uid={User Name};pwd ={Password};database={Name of Database}].{Table in Database} WHERE FALSE") One of these syntaxes may work select * from customer in [ 'C:\Program Files\Microsoft Office\Office\Samples\Copy of Northwind.mdb';UID="Admin";PWD=""] select * from customers in 'C:\Program Files\Microsoft Office\Office\Samples\Copy of Northwind.mdb'[uid="a"]; Bobby Heid wrote: >Hey, > >I've done this before but can not seem to remember how at the moment. > >When I use: >SELECT * > FROM Version IN ';PWD=somepassword;DATABASE=D:\Wrap\WrapMrg\Merge >5.04\Hudson.mdb;' > >I get a "Disk or Network error" error message. > >What am I doing wrong? > >Thanks, >Bobby > > > -- 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 bchacc at san.rr.com Thu Jun 2 08:09:53 2005 From: bchacc at san.rr.com (Rocky Smolin - Beach Access Software) Date: Thu, 2 Jun 2005 06:09:53 -0700 Subject: [AccessD] Invitations DB Design Ideas References: <002701c5673b$c854a8d0$6401a8c0@laptop1> Message-ID: <006201c56774$5dc5ab70$6901a8c0@HAL9004> Joe: Actually, although it's absolutely no fun, it would seem that since it could be done with one flat file that a spreadsheet would be more quicker and easier if all you want to do is manage the data. Rocky ----- Original Message ----- From: "Joe Hecht" To: "'Access Developers discussion and problem solving'" Sent: Wednesday, June 01, 2005 11:24 PM Subject: RE: [AccessD] Invitations DB Design Ideas > Rocky, > > I can not see three names on an invitation. > > Worst case would be Mr. Rocky Smolin and Ms. Mrs. Smolin. > > Maybe and kids? > > Joe Hecht > Los Angeles CA > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Rocky Smolin - > Beach Access Software > Sent: Wednesday, June 01, 2005 10:08 PM > To: Access Developers discussion and problem solving > Subject: Re: [AccessD] Invitations DB Design Ideas > > Will there only be two persons' names at most? If not, then you can put > the > > names in a name table with a foreign key to the Invitation table's primary > key. > > Source could also be a table with a FK in the Invitation pointing to the > source table's PK. > > Seems like maybe more trouble than it's worth for this app, though. > > Rocky > > ----- Original Message ----- > From: "Joe Hecht" > To: "'Access Developers discussion and problem solving'" > > Sent: Wednesday, June 01, 2005 9:37 PM > Subject: [AccessD] Invitations DB Design Ideas > > >> So my niece got engaged and I figure I better get my DB going soon. >> >> Right now the database is one table, >> >> These are typed in to readable and not names with spaces etc: >> >> I rec num >> 1st Person first Name >> 1st person last name >> 2cd person first name >> 2cd person last name >> Address fields >> Adults Invitation Represents >> Children Invitation represents >> Contact phone >> Memo >> Source (Bride/Groom/Family/friend?) >> Invited Y/N >> Coming y/n >> Gift received Y/N >> Note Sent Y/N >> >> >> >> Looking for ideas to normalize this >> >> OK wise guys, I know no wedding is normal but... >> >> >> >> 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 john at winhaven.net Thu Jun 2 08:16:09 2005 From: john at winhaven.net (John Bartow) Date: Thu, 2 Jun 2005 08:16:09 -0500 Subject: [AccessD] Any ArcGis vba programmers out there? In-Reply-To: <200506021010.j52AAGGB021861@mailhostC.plex.net> Message-ID: <200506021316.j52DGAIJ222210@pimout3-ext.prodigy.net> Pedro, I can't help you directly. There are usually ESRI User Groups in most areas where their products have a user base of any size. However, I would start with the ESRI Regional staff. I have found that they are very helpful in this type of endeavor. Good luck John B. -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of pedro at plex.nl Sent: Thursday, June 02, 2005 12:10 PM To: AccessD at databaseadvisors.com Subject: [AccessD] Any ArcGis vba programmers out there? Hello Group, John W. Colby question about mappoint triggered me to ask the same about ArcGis. I have a script in Avenue that i need to have in VBA for ArcGis. Who can help me with this. Pedro Janssen -- 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 Jun 2 08:19:01 2005 From: JRojas at tnco-inc.com (Joe Rojas) Date: Thu, 2 Jun 2005 09:19:01 -0400 Subject: [AccessD] Check if array is initialized Message-ID: <0CC84C9461AE6445AD5A602001C41C4B05A302@mercury.tnco-inc.com> What I have done is dim the variable and use the IsArray() function is see if it's an array. If not then I know I the array is not initialized. Using your example: Main Dim alngValues Call RetrieveSomething(alngValues) End Main Public Function RetrieveSomething(byref r_alngMyArray() as Long) dim lngCntr as long If Not IsArray(r_alngMyArray) Then ReDim r_alngMyArray(0) End If for lngCntr = 0 to UBOUND(r_alngMyArray) Redim PRESERVE r_alngMyArray(lngCntr) r_alngMyArray(lngCntr) = "THIS DOES NOT WORK!" next lngCntr End Function Thanks, Joe Rojas IT Manager TNCO, Inc. 781-447-6661 x7506 jrojas at tnco-inc.com -----Original Message----- From: Sad Der [mailto:accessd666 at yahoo.com] Sent: Thursday, June 02, 2005 7:14 AM To: Acces User Group Subject: [AccessD] Check if array is initialized Hi group, one of our programmers came to me with a question regarding an error when the UBOUND() of an array was retrieved. The error occures when an array has been DIMmed, without specifing the size, but not REDIMmed. In the sample below I've created a simple example. When the function is called a byref array is to be filled with values. However the line: for lngCntr = 0 to UBOUND(r_alngMyArray) Will always fill since it hasn't been ReDimmed. I suggested a workaround: 1 - use the function IsInitialized() and check if the function returns -1. If so the array isnt't intitialized. However, is there an official way of handling this error/problem/occurence? Thnx Regards, SD -------------------- EXAMPLE -------------------- Main Dim alngValues() as long Call RetrieveSomething(alngValues()) End Main Public Function RetrieveSomething(byref r_alngMyArray() as Long) dim lngCntr as long for lngCntr = 0 to UBOUND(r_alngMyArray) Redim PRESERVE r_alngMyArray(lngCntr) r_alngMyArray(lngCntr) = "THIS DOES NOT WORK!" next lngCntr End Function ------------------ WORKAROUND ------------------ Function IsInitialized(byref r_alngInitialized) as Long On Error Goto error_not_initialized IsInitialized = UBOUND(r_alngInitialized) Exit Function Goto error_not_initialized IsInitialized = -1 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 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 Jim.Hale at FleetPride.com Thu Jun 2 09:09:44 2005 From: Jim.Hale at FleetPride.com (Hale, Jim) Date: Thu, 2 Jun 2005 09:09:44 -0500 Subject: [AccessD] Excel Macro Automation from within Access Message-ID: <6A6AA9DF57E4F046BDA1E273BDDB6772337629@corp-es01.fleetpride.com> I think the sequence you are looking for is similar to this: Sub rpt_to_excel() Dim appExcel As Excel.Application, strpathname As String Dim strpathnew As String, strReport As String strpathname = "C:\test.xls" strpathnew = "C:\test2.xls" strReport = "rptInvsummary" DoCmd.OutputTo acOutputReport, strReport, acFormatXLS, strpathname Set appExcel = New Excel.Application 'format your report With appExcel .Workbooks.Open strpathname, 0 .Visible = True 'just to watch the sheet .Range("A1:G1").Select .Selection.Font.Bold = True .Selection.Font.Name = "Arial" .Selection.Font.Size = 12 .ActiveWorkbook.SaveAs Filename:=strpathnew, FileFormat:=xlNormal End With appExcel.Quit Set appExcel = Nothing End Sub This opens the file you output and saves it as a current version workbook under a new name. As you debug be aware of leaving orphan instances of Excel in memory. You can tell if any exist by placing the following script in notepad and running it: Dim objXL Dim strMessage On Error Resume Next ' Try to grab a running instance of ' Excel... Set objXL = GetObject(, "Excel.Application") ' What did we find?.. If Not TypeName(objXL) = "Empty" Then strMessage = "Excel Running." Else strMessage = "Excel Not Running." End If ' Feedback to user... MsgBox strMessage, vbInformation, "Excel Status" ' Make the Excel instance visible ' if we found one if strMessage = "Excel Running." then _ objXL.Visible = true -----Original Message----- From: Mark Boyd [mailto:MarkBoyd at mcbeeassociates.com] Sent: Wednesday, June 01, 2005 5:21 PM To: Access Developers discussion and problem solving Subject: RE: [AccessD] Excel Macro Automation from within Access Thanks Jim, this is pointing me in the right direction. The export process is as follows: 1. Export report to Excel 2. Format report w/ macro 3. Save formatting changes 4. Attach file to email message When using the SaveAs method, I'm prompted to overwrite the existing excel file (the one just formatted). Am I missing something in regard to the properties of the SaveAs method, that will allow me to save the existing, formatted file? If I select Yes to overwrite the existing file, all of the macro formats are lost. Mark Boyd I/S Supervisor McBee Associates, Inc. -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Hale, Jim Sent: Wednesday, June 01, 2005 3:40 PM To: 'Access Developers discussion and problem solving' Subject: RE: [AccessD] Excel Macro Automation from within Access Are you saving the file using code? Check out Excel's SaveAs method. It allows a fileformat parameter. I think xlWorkbookNormal is the correct one. 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 adtp at touchtelindia.net Thu Jun 2 09:34:32 2005 From: adtp at touchtelindia.net (A.D.Tejpal) Date: Thu, 2 Jun 2005 20:04:32 +0530 Subject: [AccessD] Check if array is initialized References: <20050602111355.24662.qmail@web31603.mail.mud.yahoo.com> Message-ID: <005601c56780$75aaf4a0$1c1865cb@winxp> SD, Function Fn_IsInitialized() given below is another simplified way of getting the desired information. It will return true only if the argument is an array which has been re-dimmed. The following sub-routine illustrates the use of this function. If statement (A) is enabled, the immediate window will show True, otherwise False. Sub P_Test_IfArrayInitialized() Dim StrArray() As String ReDim StrArray(5) ' (A) Debug.Print Fn_IsInitialized(StrArray) End Sub Best wishes, A.D.Tejpal -------------- ======================================== Function Fn_IsInitialized(ByVal varArray _ As Variant) As Boolean Dim Rtv As Variant On Error Resume Next Fn_IsInitialized = Not IsError(Rtv = UBound(varArray)) End Function ======================================== ----- Original Message ----- From: Sad Der To: Acces User Group Sent: Thursday, June 02, 2005 16:43 Subject: [AccessD] Check if array is initialized Hi group, one of our programmers came to me with a question regarding an error when the UBOUND() of an array was retrieved. The error occures when an array has been DIMmed, without specifing the size, but not REDIMmed. In the sample below I've created a simple example. When the function is called a byref array is to be filled with values. However the line: for lngCntr = 0 to UBOUND(r_alngMyArray) Will always fill since it hasn't been ReDimmed. I suggested a workaround: 1 - use the function IsInitialized() and check if the function returns -1. If so the array isnt't intitialized. However, is there an official way of handling this error/problem/occurence? Thnx Regards, SD -------------------- EXAMPLE -------------------- Main Dim alngValues() as long Call RetrieveSomething(alngValues()) End Main Public Function RetrieveSomething(byref r_alngMyArray() as Long) dim lngCntr as long for lngCntr = 0 to UBOUND(r_alngMyArray) Redim PRESERVE r_alngMyArray(lngCntr) r_alngMyArray(lngCntr) = "THIS DOES NOT WORK!" next lngCntr End Function ------------------ WORKAROUND ------------------ Function IsInitialized(byref r_alngInitialized) as Long On Error Goto error_not_initialized IsInitialized = UBOUND(r_alngInitialized) Exit Function Goto error_not_initialized IsInitialized = -1 End Function From jmhecht at earthlink.net Thu Jun 2 10:28:39 2005 From: jmhecht at earthlink.net (Joe Hecht) Date: Thu, 2 Jun 2005 08:28:39 -0700 Subject: [AccessD] Invitations DB Design Ideas In-Reply-To: <048601c56731$1c5d6b70$6501a8c0@HAL9004> Message-ID: <000801c56787$c0e339d0$6401a8c0@laptop1> Need something to do to keep my hand in Joe Hecht Los Angeles CA Seems like maybe more trouble than it's worth for this app, though. Rocky : http://www.databaseadvisors.com From cfoust at infostatsystems.com Thu Jun 2 10:42:09 2005 From: cfoust at infostatsystems.com (Charlotte Foust) Date: Thu, 2 Jun 2005 08:42:09 -0700 Subject: [AccessD] Error Loading Project? Message-ID: If you have 2k and XP on your either machine, make sure 2k is patched to SP3 before you do any exporting. OXP installed a VBE6.dll that breaks the version in 2k, causing that blasted network connection error to be thrown erroneously. Take a look at this MSKB article: http://support.microsoft.com/default.aspx?scid=kb;en-us;304548 Charlotte Foust -----Original Message----- From: Francisco Tapia [mailto:fhtapia at gmail.com] Sent: Wednesday, June 01, 2005 5:47 PM To: access-l at peach.ease.lsoft.com; Access Developers discussion and problem solving Subject: [AccessD] Error Loading Project? Recently I've been plauged by this error: I have 2 Access ADP's , the primary is the dev copy and I write in this copy all my development code, once compiled, and tested I "EXPORT" the new form or modified form to the Production .adp copy this file used to be on the network, but due to the more recent network errors that I was plauged w/ I decided to simply create a folder on my pc called "build" and export to that folder instead, everything had been working great, and in fact each copy compiles w/o errors... but if I export from the dev on drive C to the build on drive C I end up w/ an error on the build copy as "Error Loading Project, disk or network error, continue loading?" if you click ok I find that the module is empty. If I then (while in the build copy), IMPORT the same form, then I get a new Form1 classic import, I delete the corrupted form and rename Form1 to Form and all is well again... why can I not export anymore? -- -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 fhtapia at gmail.com Thu Jun 2 10:56:03 2005 From: fhtapia at gmail.com (Francisco Tapia) Date: Thu, 2 Jun 2005 08:56:03 -0700 Subject: [AccessD] Error Loading Project? In-Reply-To: <002c01c5670d$f64a08d0$6c7aa8c0@ColbyM6805> References: <002c01c5670d$f64a08d0$6c7aa8c0@ColbyM6805> Message-ID: Not at this time, I Just ordered Access 2003, currenlty I have Office 97 & 2000 w/ Outlook 2003. On 6/1/05, John W. Colby wrote: > Do you happen to have 2K and XP on the same machine? > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Francisco Tapia > Sent: Wednesday, June 01, 2005 8:47 PM > To: access-l at peach.ease.lsoft.com; Access Developers discussion and problem > solving > Subject: [AccessD] Error Loading Project? > > > Recently I've been plauged by this error: > > I have 2 Access ADP's , the primary is the dev copy and I write in this copy > all my development code, once compiled, and tested I "EXPORT" the new form > or modified form to the Production .adp copy > this file used to be on the network, but due to the more recent network > errors that I was plauged w/ I decided to simply create a folder on my pc > called "build" and export to that folder instead, everything had been > working great, and in fact each copy compiles w/o errors... but if I export > from the dev on drive C to the build on drive C I end up w/ an error on the > build copy as "Error Loading Project, disk or network error, continue > loading?" if you click ok I find that the module is empty. If I then (while > in the build copy), IMPORT the same form, then I get a new Form1 classic > import, I delete the corrupted form and rename Form1 to Form and all is well > again... why can I not export anymore? > -- -Francisco http://pcthis.blogspot.com |PC news with out the jargon! http://sqlthis.blogspot.com | Tsql and More... From fhtapia at gmail.com Thu Jun 2 10:56:59 2005 From: fhtapia at gmail.com (Francisco Tapia) Date: Thu, 2 Jun 2005 08:56:59 -0700 Subject: [AccessD] Error Loading Project? In-Reply-To: References: Message-ID: SP3 :O I've only patched up to SR-1 on 2000 before... anything I should watch out for in SP3? On 6/2/05, Charlotte Foust wrote: > If you have 2k and XP on your either machine, make sure 2k is patched to > SP3 before you do any exporting. OXP installed a VBE6.dll that breaks > the version in 2k, causing that blasted network connection error to be > thrown erroneously. Take a look at this MSKB article: > http://support.microsoft.com/default.aspx?scid=kb;en-us;304548 > > Charlotte Foust > > > -----Original Message----- > From: Francisco Tapia [mailto:fhtapia at gmail.com] > Sent: Wednesday, June 01, 2005 5:47 PM > To: access-l at peach.ease.lsoft.com; Access Developers discussion and > problem solving > Subject: [AccessD] Error Loading Project? > > > Recently I've been plauged by this error: > > I have 2 Access ADP's , the primary is the dev copy and I write in this > copy all my development code, once compiled, and tested I "EXPORT" the > new form or modified form to the Production .adp copy > this file used to be on the network, but due to the more recent network > errors that I was plauged w/ I decided to simply create a folder on my > pc called "build" and export to that folder instead, everything had been > working great, and in fact each copy compiles w/o errors... but if I > export from the dev on drive C to the build on drive C I end up w/ an > error on the build copy as "Error Loading Project, disk or network > error, continue loading?" if you click ok I find that the module is > empty. If I then (while in the build copy), IMPORT the same form, then > I get a new Form1 classic import, I delete the corrupted form and rename > Form1 to Form and all is well again... why can I not export anymore? > > > -- > -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 > -- -Francisco http://pcthis.blogspot.com |PC news with out the jargon! http://sqlthis.blogspot.com | Tsql and More... From fhtapia at gmail.com Thu Jun 2 12:19:59 2005 From: fhtapia at gmail.com (Francisco Tapia) Date: Thu, 2 Jun 2005 10:19:59 -0700 Subject: [AccessD] Error Loading Project? In-Reply-To: References: Message-ID: I was skeptical because I've been on SR1a for sooo long now, but I did upgrade to SP3 and everything is now working as expected :). Just hope this does not contribute to some additional bug :S On 6/2/05, Francisco Tapia wrote: > SP3 :O > I've only patched up to SR-1 on 2000 before... anything I should watch > out for in SP3? > > On 6/2/05, Charlotte Foust wrote: > > If you have 2k and XP on your either machine, make sure 2k is patched to > > SP3 before you do any exporting. OXP installed a VBE6.dll that breaks > > the version in 2k, causing that blasted network connection error to be > > thrown erroneously. Take a look at this MSKB article: > > http://support.microsoft.com/default.aspx?scid=kb;en-us;304548 > > > > Charlotte Foust > > > > > > -----Original Message----- > > From: Francisco Tapia [mailto:fhtapia at gmail.com] > > Sent: Wednesday, June 01, 2005 5:47 PM > > To: access-l at peach.ease.lsoft.com; Access Developers discussion and > > problem solving > > Subject: [AccessD] Error Loading Project? > > > > > > Recently I've been plauged by this error: > > > > I have 2 Access ADP's , the primary is the dev copy and I write in this > > copy all my development code, once compiled, and tested I "EXPORT" the > > new form or modified form to the Production .adp copy > > this file used to be on the network, but due to the more recent network > > errors that I was plauged w/ I decided to simply create a folder on my > > pc called "build" and export to that folder instead, everything had been > > working great, and in fact each copy compiles w/o errors... but if I > > export from the dev on drive C to the build on drive C I end up w/ an > > error on the build copy as "Error Loading Project, disk or network > > error, continue loading?" if you click ok I find that the module is > > empty. If I then (while in the build copy), IMPORT the same form, then > > I get a new Form1 classic import, I delete the corrupted form and rename > > Form1 to Form and all is well again... why can I not export anymore? > > > > > > -- > > -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 > > > > > -- > -Francisco > http://pcthis.blogspot.com |PC news with out the jargon! > http://sqlthis.blogspot.com | Tsql and More... > -- -Francisco http://pcthis.blogspot.com |PC news with out the jargon! http://sqlthis.blogspot.com | Tsql and More... From cfoust at infostatsystems.com Thu Jun 2 13:24:39 2005 From: cfoust at infostatsystems.com (Charlotte Foust) Date: Thu, 2 Jun 2005 11:24:39 -0700 Subject: [AccessD] Error Loading Project? Message-ID: 2003 breaks it the same way as XP. Charlotte Foust -----Original Message----- From: Francisco Tapia [mailto:fhtapia at gmail.com] Sent: Thursday, June 02, 2005 8:56 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Error Loading Project? Not at this time, I Just ordered Access 2003, currenlty I have Office 97 & 2000 w/ Outlook 2003. On 6/1/05, John W. Colby wrote: > Do you happen to have 2K and XP on the same machine? > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Francisco > Tapia > Sent: Wednesday, June 01, 2005 8:47 PM > To: access-l at peach.ease.lsoft.com; Access Developers discussion and problem > solving > Subject: [AccessD] Error Loading Project? > > > Recently I've been plauged by this error: > > I have 2 Access ADP's , the primary is the dev copy and I write in > this copy all my development code, once compiled, and tested I > "EXPORT" the new form or modified form to the Production .adp copy > this file used to be on the network, but due to the more recent > network errors that I was plauged w/ I decided to simply create a > folder on my pc called "build" and export to that folder instead, > everything had been working great, and in fact each copy compiles w/o > errors... but if I export from the dev on drive C to the build on > drive C I end up w/ an error on the build copy as "Error Loading > Project, disk or network error, continue loading?" if you click ok I > find that the module is empty. If I then (while in the build copy), > IMPORT the same form, then I get a new Form1 classic import, I delete > the corrupted form and rename Form1 to Form and all is well again... > why can I not export anymore? > -- -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 Thu Jun 2 13:25:45 2005 From: cfoust at infostatsystems.com (Charlotte Foust) Date: Thu, 2 Jun 2005 11:25:45 -0700 Subject: [AccessD] Error Loading Project? Message-ID: I seem to recall that it reinstitutes a bug or two cured in earlier SPs, perhaps something to do with resetting the autonumber seed, but I don't recall. Charlotte Foust -----Original Message----- From: Francisco Tapia [mailto:fhtapia at gmail.com] Sent: Thursday, June 02, 2005 10:20 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Error Loading Project? I was skeptical because I've been on SR1a for sooo long now, but I did upgrade to SP3 and everything is now working as expected :). Just hope this does not contribute to some additional bug :S On 6/2/05, Francisco Tapia wrote: > SP3 :O > I've only patched up to SR-1 on 2000 before... anything I should watch > out for in SP3? > > On 6/2/05, Charlotte Foust wrote: > > If you have 2k and XP on your either machine, make sure 2k is > > patched to SP3 before you do any exporting. OXP installed a > > VBE6.dll that breaks the version in 2k, causing that blasted network > > connection error to be thrown erroneously. Take a look at this MSKB > > article: > > http://support.microsoft.com/default.aspx?scid=kb;en-us;304548 > > > > Charlotte Foust > > > > > > -----Original Message----- > > From: Francisco Tapia [mailto:fhtapia at gmail.com] > > Sent: Wednesday, June 01, 2005 5:47 PM > > To: access-l at peach.ease.lsoft.com; Access Developers discussion and > > problem solving > > Subject: [AccessD] Error Loading Project? > > > > > > Recently I've been plauged by this error: > > > > I have 2 Access ADP's , the primary is the dev copy and I write in > > this copy all my development code, once compiled, and tested I > > "EXPORT" the new form or modified form to the Production .adp copy > > this file used to be on the network, but due to the more recent > > network errors that I was plauged w/ I decided to simply create a > > folder on my pc called "build" and export to that folder instead, > > everything had been working great, and in fact each copy compiles > > w/o errors... but if I export from the dev on drive C to the build > > on drive C I end up w/ an error on the build copy as "Error Loading > > Project, disk or network error, continue loading?" if you click ok I > > find that the module is empty. If I then (while in the build copy), > > IMPORT the same form, then I get a new Form1 classic import, I > > delete the corrupted form and rename Form1 to Form and all is well > > again... why can I not export anymore? > > > > > > -- > > -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 > > > > > -- > -Francisco > http://pcthis.blogspot.com |PC news with out the jargon! > http://sqlthis.blogspot.com | Tsql and More... > -- -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 accessd at shaw.ca Thu Jun 2 13:32:09 2005 From: accessd at shaw.ca (Jim Lawrence) Date: Thu, 02 Jun 2005 11:32:09 -0700 Subject: [AccessD] Error Loading Project? In-Reply-To: Message-ID: <0IHG00I0BZHIY6@l-daemon> So what would be the best way to import Access into XP and 2003 without major issues other than hand coding? Jim -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Charlotte Foust Sent: Thursday, June 02, 2005 11:25 AM To: Access Developers discussion and problem solving Subject: RE: [AccessD] Error Loading Project? 2003 breaks it the same way as XP. Charlotte Foust -----Original Message----- From: Francisco Tapia [mailto:fhtapia at gmail.com] Sent: Thursday, June 02, 2005 8:56 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Error Loading Project? Not at this time, I Just ordered Access 2003, currenlty I have Office 97 & 2000 w/ Outlook 2003. On 6/1/05, John W. Colby wrote: > Do you happen to have 2K and XP on the same machine? > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Francisco > Tapia > Sent: Wednesday, June 01, 2005 8:47 PM > To: access-l at peach.ease.lsoft.com; Access Developers discussion and problem > solving > Subject: [AccessD] Error Loading Project? > > > Recently I've been plauged by this error: > > I have 2 Access ADP's , the primary is the dev copy and I write in > this copy all my development code, once compiled, and tested I > "EXPORT" the new form or modified form to the Production .adp copy > this file used to be on the network, but due to the more recent > network errors that I was plauged w/ I decided to simply create a > folder on my pc called "build" and export to that folder instead, > everything had been working great, and in fact each copy compiles w/o > errors... but if I export from the dev on drive C to the build on > drive C I end up w/ an error on the build copy as "Error Loading > Project, disk or network error, continue loading?" if you click ok I > find that the module is empty. If I then (while in the build copy), > IMPORT the same form, then I get a new Form1 classic import, I delete > the corrupted form and rename Form1 to Form and all is well again... > why can I not export anymore? > -- -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 Drawbridge.Jack at ic.gc.ca Thu Jun 2 14:00:48 2005 From: Drawbridge.Jack at ic.gc.ca (Drawbridge, Jack: #CIO - BPI) Date: Thu, 2 Jun 2005 15:00:48 -0400 Subject: [AccessD] A2K talking to IE6 - File Save As Message-ID: <0F3AFAE449DD4A40BED8B6C4A97ABF5B0298AAAA@MSG-MB3.icent.ic.gc.ca> Looking for help/advice or sample code to open IE6 from code in A2K. Am interested in how to do a File| Save As Webpage, Complete. We have a database of 60000 companies and want to put extracts of selected 100-500 companies (html and graphics etc) onto a CD for use with Offline Browser. Can not figure out how to get to IE6 File | Save As. I have some code to open a page with IE browser and save all the links on the page. Any help would be appreciated. TIA jack '---- CODE to GET the Links from a given page ---- '--------------------------------------------------------------------------------------- ' Procedure : GetLinks ' DateTime : 2005-06-02 14:19 ' Author : ' Purpose : get all links from a named webpage URL '--------------------------------------------------------------------------------------- ' Sub GetLinks() ' ** need to set a reference to ' ** Microsoft Internet Controls Dim IeApp As InternetExplorer Dim sURL As String Dim IeDoc As Object Dim i As Long 'Create new instance of IE Set IeApp = New InternetExplorer 'May wish to make IeApp visible 'apparently some things don't work 'unless it's visible IeApp.Visible = False 'define the page to open sURL = "www.diligens.com" 'navigate to the page based on URL IeApp.Navigate sURL 'Pause until the webpage is completely loaded Do Loop Until IeApp.ReadyState = READYSTATE_COMPLETE 'Create instance of Document object Set IeDoc = IeApp.Document 'Loop through the document's links collection. For i = 0 To IeDoc.links.Length - 1 Debug.Print IeDoc.links(i).href Next i 'Clean up Set IeApp = Nothing Set IeDoc = Nothing End Sub From cfoust at infostatsystems.com Thu Jun 2 14:52:44 2005 From: cfoust at infostatsystems.com (Charlotte Foust) Date: Thu, 2 Jun 2005 12:52:44 -0700 Subject: [AccessD] Error Loading Project? Message-ID: They don't break in XP and 2003, only the other direction. Charlotte Foust -----Original Message----- From: Jim Lawrence [mailto:accessd at shaw.ca] Sent: Thursday, June 02, 2005 11:32 AM To: 'Access Developers discussion and problem solving' Subject: RE: [AccessD] Error Loading Project? So what would be the best way to import Access into XP and 2003 without major issues other than hand coding? Jim -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Charlotte Foust Sent: Thursday, June 02, 2005 11:25 AM To: Access Developers discussion and problem solving Subject: RE: [AccessD] Error Loading Project? 2003 breaks it the same way as XP. Charlotte Foust -----Original Message----- From: Francisco Tapia [mailto:fhtapia at gmail.com] Sent: Thursday, June 02, 2005 8:56 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Error Loading Project? Not at this time, I Just ordered Access 2003, currenlty I have Office 97 & 2000 w/ Outlook 2003. On 6/1/05, John W. Colby wrote: > Do you happen to have 2K and XP on the same machine? > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Francisco > Tapia > Sent: Wednesday, June 01, 2005 8:47 PM > To: access-l at peach.ease.lsoft.com; Access Developers discussion and problem > solving > Subject: [AccessD] Error Loading Project? > > > Recently I've been plauged by this error: > > I have 2 Access ADP's , the primary is the dev copy and I write in > this copy all my development code, once compiled, and tested I > "EXPORT" the new form or modified form to the Production .adp copy > this file used to be on the network, but due to the more recent > network errors that I was plauged w/ I decided to simply create a > folder on my pc called "build" and export to that folder instead, > everything had been working great, and in fact each copy compiles w/o > errors... but if I export from the dev on drive C to the build on > drive C I end up w/ an error on the build copy as "Error Loading > Project, disk or network error, continue loading?" if you click ok I > find that the module is empty. If I then (while in the build copy), > IMPORT the same form, then I get a new Form1 classic import, I delete > the corrupted form and rename Form1 to Form and all is well again... > why can I not export anymore? > -- -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 jwcolby at colbyconsulting.com Thu Jun 2 14:59:52 2005 From: jwcolby at colbyconsulting.com (John W. Colby) Date: Thu, 02 Jun 2005 15:59:52 -0400 Subject: [AccessD] Error Loading Project? In-Reply-To: Message-ID: <004301c567ad$a3fbd2c0$6c7aa8c0@ColbyM6805> Charlotte, Why don't you give a synopsis of what the problem is and how it is triggered. XP provides new dll, 2K PreSP3 has wrong entry points, 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 Charlotte Foust Sent: Thursday, June 02, 2005 3:53 PM To: Access Developers discussion and problem solving Subject: RE: [AccessD] Error Loading Project? They don't break in XP and 2003, only the other direction. Charlotte Foust -----Original Message----- From: Jim Lawrence [mailto:accessd at shaw.ca] Sent: Thursday, June 02, 2005 11:32 AM To: 'Access Developers discussion and problem solving' Subject: RE: [AccessD] Error Loading Project? So what would be the best way to import Access into XP and 2003 without major issues other than hand coding? Jim -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Charlotte Foust Sent: Thursday, June 02, 2005 11:25 AM To: Access Developers discussion and problem solving Subject: RE: [AccessD] Error Loading Project? 2003 breaks it the same way as XP. Charlotte Foust -----Original Message----- From: Francisco Tapia [mailto:fhtapia at gmail.com] Sent: Thursday, June 02, 2005 8:56 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Error Loading Project? Not at this time, I Just ordered Access 2003, currenlty I have Office 97 & 2000 w/ Outlook 2003. On 6/1/05, John W. Colby wrote: > Do you happen to have 2K and XP on the same machine? > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Francisco > Tapia > Sent: Wednesday, June 01, 2005 8:47 PM > To: access-l at peach.ease.lsoft.com; Access Developers discussion and problem > solving > Subject: [AccessD] Error Loading Project? > > > Recently I've been plauged by this error: > > I have 2 Access ADP's , the primary is the dev copy and I write in > this copy all my development code, once compiled, and tested I > "EXPORT" the new form or modified form to the Production .adp copy > this file used to be on the network, but due to the more recent > network errors that I was plauged w/ I decided to simply create a > folder on my pc called "build" and export to that folder instead, > everything had been working great, and in fact each copy compiles w/o > errors... but if I export from the dev on drive C to the build on > drive C I end up w/ an error on the build copy as "Error Loading > Project, disk or network error, continue loading?" if you click ok I > find that the module is empty. If I then (while in the build copy), > IMPORT the same form, then I get a new Form1 classic import, I delete > the corrupted form and rename Form1 to Form and all is well again... > why can I not export anymore? > -- -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 -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From pedro at plex.nl Thu Jun 2 15:34:18 2005 From: pedro at plex.nl (Pedro Janssen) Date: Thu, 2 Jun 2005 22:34:18 +0200 Subject: [AccessD] Any ArcGis vba programmers out there? References: <200506021316.j52DGAIJ222210@pimout3-ext.prodigy.net> Message-ID: <00be01c567b5$35f4bbe0$f4c581d5@pedro> Hello John, I asked with the ESRI department in the Netherlands, but they charge money for the writing of the script. I still can use the avenue script in ArcView3, but it would be nice to have it in VBA. The Workinggroup where i use this script for are all volunteers, and we don't have the money to let the script be written in VBA. I now don't have the time to dive into VBA for Gis applications. Thanks for your response. Pedro Janssen ----- Original Message ----- From: "John Bartow" To: "'Access Developers discussion and problem solving'" Sent: Thursday, June 02, 2005 3:16 PM Subject: RE: [AccessD] Any ArcGis vba programmers out there? > Pedro, > I can't help you directly. > > There are usually ESRI User Groups in most areas where their products have a > user base of any size. However, I would start with the ESRI Regional staff. > I have found that they are very helpful in this type of endeavor. > > Good luck > John B. > > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of pedro at plex.nl > Sent: Thursday, June 02, 2005 12:10 PM > To: AccessD at databaseadvisors.com > Subject: [AccessD] Any ArcGis vba programmers out there? > > Hello Group, > > John W. Colby question about mappoint triggered me to ask the same about > ArcGis. > > I have a script in Avenue that i need to have in VBA for ArcGis. Who can > help me with this. > > 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 mmattys at rochester.rr.com Thu Jun 2 16:18:25 2005 From: mmattys at rochester.rr.com (Michael R Mattys) Date: Thu, 2 Jun 2005 17:18:25 -0400 Subject: [AccessD] Any MapPoint programmers out there? References: <002901c566f9$5c6c79f0$6c7aa8c0@ColbyM6805> Message-ID: <018001c567b8$9e7b95f0$0202a8c0@default> JC, What solutions will you be coding in MapPoint? ---- Michael R. Mattys Mattys MapLib for Microsoft MapPoint http://www.mattysconsulting.com ----- Original Message ----- From: "John W. Colby" To: "'Access Developers discussion and problem solving'" Sent: Wednesday, June 01, 2005 6:29 PM Subject: [AccessD] Any MapPoint programmers out there? > I'm getting ready to do some pretty serious MapPoint stuff and wondered if > anyone else out there is doing MapPoint? > > 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 Thu Jun 2 17:14:07 2005 From: cfoust at infostatsystems.com (Charlotte Foust) Date: Thu, 2 Jun 2005 15:14:07 -0700 Subject: [AccessD] Error Loading Project? Message-ID: Well, it has been discussed here in the past, but the gist is that both XP and 2003 provide a VBE6.dll that is a different version from that used by Office 2000. This is not strictly an Access problem, since I've seen reports of it toasting Excel and Word as well. The errors arise with both Access 2000 pre-SP3 and version 6.3.91.8 of the dll. So if you have 2000 and are running it on the same machine with a later version or are passing code containers between machines with differing versions, you will run into problems on the 2000 machine unless you have SP3 installed. SP3, and also a hot patch that was available prior to SP3 release, actually patch the A2k executable so that it can cope with the later version of the dll without going down in flames. When I first ran into it, way back, I discovered that if I opened an mdb created elsewhere in Access XP on my machine, which only had 2000, and tried to view the code I was likely to regret it. If I tried to *import* the code containers into an Access 2000 database, I was SURE to regret it. The recovery steps listed in MSKB 304548 may or may not work. They didn't work for me when I encountered the problem. Charlotte Foust -----Original Message----- From: John W. Colby [mailto:jwcolby at colbyconsulting.com] Sent: Thursday, June 02, 2005 1:00 PM To: 'Access Developers discussion and problem solving' Subject: RE: [AccessD] Error Loading Project? Charlotte, Why don't you give a synopsis of what the problem is and how it is triggered. XP provides new dll, 2K PreSP3 has wrong entry points, 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 Charlotte Foust Sent: Thursday, June 02, 2005 3:53 PM To: Access Developers discussion and problem solving Subject: RE: [AccessD] Error Loading Project? They don't break in XP and 2003, only the other direction. Charlotte Foust -----Original Message----- From: Jim Lawrence [mailto:accessd at shaw.ca] Sent: Thursday, June 02, 2005 11:32 AM To: 'Access Developers discussion and problem solving' Subject: RE: [AccessD] Error Loading Project? So what would be the best way to import Access into XP and 2003 without major issues other than hand coding? Jim -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Charlotte Foust Sent: Thursday, June 02, 2005 11:25 AM To: Access Developers discussion and problem solving Subject: RE: [AccessD] Error Loading Project? 2003 breaks it the same way as XP. Charlotte Foust -----Original Message----- From: Francisco Tapia [mailto:fhtapia at gmail.com] Sent: Thursday, June 02, 2005 8:56 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Error Loading Project? Not at this time, I Just ordered Access 2003, currenlty I have Office 97 & 2000 w/ Outlook 2003. On 6/1/05, John W. Colby wrote: > Do you happen to have 2K and XP on the same machine? > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Francisco > Tapia > Sent: Wednesday, June 01, 2005 8:47 PM > To: access-l at peach.ease.lsoft.com; Access Developers discussion and problem > solving > Subject: [AccessD] Error Loading Project? > > > Recently I've been plauged by this error: > > I have 2 Access ADP's , the primary is the dev copy and I write in > this copy all my development code, once compiled, and tested I > "EXPORT" the new form or modified form to the Production .adp copy > this file used to be on the network, but due to the more recent > network errors that I was plauged w/ I decided to simply create a > folder on my pc called "build" and export to that folder instead, > everything had been working great, and in fact each copy compiles w/o > errors... but if I export from the dev on drive C to the build on > drive C I end up w/ an error on the build copy as "Error Loading > Project, disk or network error, continue loading?" if you click ok I > find that the module is empty. If I then (while in the build copy), > IMPORT the same form, then I get a new Form1 classic import, I delete > the corrupted form and rename Form1 to Form and all is well again... > why can I not export anymore? > -- -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 -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd 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 Jun 2 17:35:19 2005 From: jwcolby at colbyconsulting.com (John W. Colby) Date: Thu, 02 Jun 2005 18:35:19 -0400 Subject: [AccessD] Any MapPoint programmers out there? In-Reply-To: <018001c567b8$9e7b95f0$0202a8c0@default> Message-ID: <004401c567c3$5af6e220$6c7aa8c0@ColbyM6805> My client calls people about contracts they need to fill. They want to see the location of the contract, and the location of the people selected to be called. I am well along. The map is opening (I am programming to the lib, not the activex control), I have built up a mappoint framework which can open and close the app, the map, has classes for locations that hold the pieces of the address as well as a location object for the address (if just one), a pushpin if the location is put into the map etc. Eventually they want to do things like "this person is also close to this other open contract" so that as they display a person to call, the map will not only display the contract location they are being called about, they will be shown other contracts close to that person's address. 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 Michael R Mattys Sent: Thursday, June 02, 2005 5:18 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Any MapPoint programmers out there? JC, What solutions will you be coding in MapPoint? ---- Michael R. Mattys Mattys MapLib for Microsoft MapPoint http://www.mattysconsulting.com ----- Original Message ----- From: "John W. Colby" To: "'Access Developers discussion and problem solving'" Sent: Wednesday, June 01, 2005 6:29 PM Subject: [AccessD] Any MapPoint programmers out there? > I'm getting ready to do some pretty serious MapPoint stuff and > wondered if anyone else out there is doing MapPoint? > > 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 mmattys at rochester.rr.com Thu Jun 2 18:12:57 2005 From: mmattys at rochester.rr.com (Michael R Mattys) Date: Thu, 2 Jun 2005 19:12:57 -0400 Subject: [AccessD] Any MapPoint programmers out there? References: <004401c567c3$5af6e220$6c7aa8c0@ColbyM6805> Message-ID: <01bf01c567c8$9f42c340$0202a8c0@default> Hi John, I have no doubt that everything you do in the next month will match what I have done in 2 years. Nevertheless, if you have any questions, I'll try to help. ---- Michael R. Mattys Mattys MapLib for Microsoft MapPoint http://www.mattysconsulting.com ----- Original Message ----- From: "John W. Colby" To: "'Access Developers discussion and problem solving'" Sent: Thursday, June 02, 2005 6:35 PM Subject: RE: [AccessD] Any MapPoint programmers out there? > My client calls people about contracts they need to fill. They want to see > the location of the contract, and the location of the people selected to be > called. I am well along. The map is opening (I am programming to the lib, > not the activex control), I have built up a mappoint framework which can > open and close the app, the map, has classes for locations that hold the > pieces of the address as well as a location object for the address (if just > one), a pushpin if the location is put into the map etc. > > Eventually they want to do things like "this person is also close to this > other open contract" so that as they display a person to call, the map will > not only display the contract location they are being called about, they > will be shown other contracts close to that person's address. > > 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 Michael R Mattys > Sent: Thursday, June 02, 2005 5:18 PM > To: Access Developers discussion and problem solving > Subject: Re: [AccessD] Any MapPoint programmers out there? > > > JC, > > What solutions will you be coding in MapPoint? > > ---- > > Michael R. Mattys > Mattys MapLib for Microsoft MapPoint http://www.mattysconsulting.com > > > > ----- Original Message ----- > From: "John W. Colby" > To: "'Access Developers discussion and problem solving'" > > Sent: Wednesday, June 01, 2005 6:29 PM > Subject: [AccessD] Any MapPoint programmers out there? > > > > I'm getting ready to do some pretty serious MapPoint stuff and > > wondered if anyone else out there is doing MapPoint? > > > > John W. Colby > > www.ColbyConsulting.com From jwcolby at colbyconsulting.com Thu Jun 2 18:34:52 2005 From: jwcolby at colbyconsulting.com (John W. Colby) Date: Thu, 02 Jun 2005 19:34:52 -0400 Subject: [AccessD] Any MapPoint programmers out there? In-Reply-To: <01bf01c567c8$9f42c340$0202a8c0@default> Message-ID: <004501c567cb$acefb5e0$6c7aa8c0@ColbyM6805> I appreciate it. Mostly it's a matter of discovering how to do all those things that can be done. John W. Colby www.ColbyConsulting.com Contribute your unused CPU cycles to 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: Thursday, June 02, 2005 7:13 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Any MapPoint programmers out there? Hi John, I have no doubt that everything you do in the next month will match what I have done in 2 years. Nevertheless, if you have any questions, I'll try to help. ---- Michael R. Mattys Mattys MapLib for Microsoft MapPoint http://www.mattysconsulting.com ----- Original Message ----- From: "John W. Colby" To: "'Access Developers discussion and problem solving'" Sent: Thursday, June 02, 2005 6:35 PM Subject: RE: [AccessD] Any MapPoint programmers out there? > My client calls people about contracts they need to fill. They want > to see > the location of the contract, and the location of the people selected > to be > called. I am well along. The map is opening (I am programming to the lib, > not the activex control), I have built up a mappoint framework which > can open and close the app, the map, has classes for locations that > hold the pieces of the address as well as a location object for the > address (if just > one), a pushpin if the location is put into the map etc. > > Eventually they want to do things like "this person is also close to > this other open contract" so that as they display a person to call, > the map will > not only display the contract location they are being called about, > they will be shown other contracts close to that person's address. > > 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 Michael R Mattys > Sent: Thursday, June 02, 2005 5:18 PM > To: Access Developers discussion and problem solving > Subject: Re: [AccessD] Any MapPoint programmers out there? > > > JC, > > What solutions will you be coding in MapPoint? > > ---- > > Michael R. Mattys > Mattys MapLib for Microsoft MapPoint http://www.mattysconsulting.com > > > > ----- Original Message ----- > From: "John W. Colby" > To: "'Access Developers discussion and problem solving'" > > Sent: Wednesday, June 01, 2005 6:29 PM > Subject: [AccessD] Any MapPoint programmers out there? > > > > I'm getting ready to do some pretty serious MapPoint stuff and > > wondered if anyone else out there is doing MapPoint? > > > > John W. Colby > > www.ColbyConsulting.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From accessd at shaw.ca Fri Jun 3 01:42:20 2005 From: accessd at shaw.ca (Jim Lawrence) Date: Thu, 02 Jun 2005 23:42:20 -0700 Subject: [AccessD] Error Loading Project? In-Reply-To: Message-ID: <0IHH00M2OXAFC3@l-daemon> Charlotte: Good, honestly, who would ever go back... now the going back option has been eliminated. :-) It is a good plan. Thanks Jim -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Charlotte Foust Sent: Thursday, June 02, 2005 12:53 PM To: Access Developers discussion and problem solving Subject: RE: [AccessD] Error Loading Project? They don't break in XP and 2003, only the other direction. Charlotte Foust -----Original Message----- From: Jim Lawrence [mailto:accessd at shaw.ca] Sent: Thursday, June 02, 2005 11:32 AM To: 'Access Developers discussion and problem solving' Subject: RE: [AccessD] Error Loading Project? So what would be the best way to import Access into XP and 2003 without major issues other than hand coding? Jim -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Charlotte Foust Sent: Thursday, June 02, 2005 11:25 AM To: Access Developers discussion and problem solving Subject: RE: [AccessD] Error Loading Project? 2003 breaks it the same way as XP. Charlotte Foust -----Original Message----- From: Francisco Tapia [mailto:fhtapia at gmail.com] Sent: Thursday, June 02, 2005 8:56 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Error Loading Project? Not at this time, I Just ordered Access 2003, currenlty I have Office 97 & 2000 w/ Outlook 2003. On 6/1/05, John W. Colby wrote: > Do you happen to have 2K and XP on the same machine? > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Francisco > Tapia > Sent: Wednesday, June 01, 2005 8:47 PM > To: access-l at peach.ease.lsoft.com; Access Developers discussion and problem > solving > Subject: [AccessD] Error Loading Project? > > > Recently I've been plauged by this error: > > I have 2 Access ADP's , the primary is the dev copy and I write in > this copy all my development code, once compiled, and tested I > "EXPORT" the new form or modified form to the Production .adp copy > this file used to be on the network, but due to the more recent > network errors that I was plauged w/ I decided to simply create a > folder on my pc called "build" and export to that folder instead, > everything had been working great, and in fact each copy compiles w/o > errors... but if I export from the dev on drive C to the build on > drive C I end up w/ an error on the build copy as "Error Loading > Project, disk or network error, continue loading?" if you click ok I > find that the module is empty. If I then (while in the build copy), > IMPORT the same form, then I get a new Form1 classic import, I delete > the corrupted form and rename Form1 to Form and all is well again... > why can I not export anymore? > -- -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 -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From accessd666 at yahoo.com Fri Jun 3 04:55:14 2005 From: accessd666 at yahoo.com (Sad Der) Date: Fri, 3 Jun 2005 02:55:14 -0700 (PDT) Subject: [AccessD] OT: Adjust an Outlook Form? Message-ID: <20050603095514.62793.qmail@web31611.mail.mud.yahoo.com> Hi group, I need to change an Outlook form. When I click: Tools -> Forms -> Choose Form I see the form in the folder: Organizational Forms Library I saved this form to a folder on my harddisk. How the %$%$@ can I change the code/gui for this form?? When I click: Tools -> Forms -> Design Form I cannot select the form I just saved. I cannot browse! This button is gray. Any ideas? I want to add some minor changes and implement them today....I hope. TIA SD __________________________________ Discover Yahoo! Stay in touch with email, IM, photo sharing and more. Check it out! http://discover.yahoo.com/stayintouch.html From paul.hartland at isharp.co.uk Fri Jun 3 04:59:06 2005 From: paul.hartland at isharp.co.uk (Paul Hartland (ISHARP)) Date: Fri, 3 Jun 2005 10:59:06 +0100 Subject: [AccessD] Any MapPoint programmers out there? In-Reply-To: <004501c567cb$acefb5e0$6c7aa8c0@ColbyM6805> Message-ID: Anyone got any sample code to get me started, I have just installed MapPoint 2004 (60 day evaluation). All I want to do (using Visual Basic 6.0) is send two postcodes to MapPoint and have Visual Basic display a message box with the distance between the two postcodes. Sample code for this and anything like it will be greatly appreciated. Many thanks in advance... Paul Hartland Database Developer -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of John W. Colby Sent: 03 June 2005 00:35 To: 'Access Developers discussion and problem solving' Subject: RE: [AccessD] Any MapPoint programmers out there? I appreciate it. Mostly it's a matter of discovering how to do all those things that can be done. John W. Colby www.ColbyConsulting.com Contribute your unused CPU cycles to 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: Thursday, June 02, 2005 7:13 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Any MapPoint programmers out there? Hi John, I have no doubt that everything you do in the next month will match what I have done in 2 years. Nevertheless, if you have any questions, I'll try to help. ---- Michael R. Mattys Mattys MapLib for Microsoft MapPoint http://www.mattysconsulting.com ----- Original Message ----- From: "John W. Colby" To: "'Access Developers discussion and problem solving'" Sent: Thursday, June 02, 2005 6:35 PM Subject: RE: [AccessD] Any MapPoint programmers out there? > My client calls people about contracts they need to fill. They want > to see > the location of the contract, and the location of the people selected > to be > called. I am well along. The map is opening (I am programming to the lib, > not the activex control), I have built up a mappoint framework which > can open and close the app, the map, has classes for locations that > hold the pieces of the address as well as a location object for the > address (if just > one), a pushpin if the location is put into the map etc. > > Eventually they want to do things like "this person is also close to > this other open contract" so that as they display a person to call, > the map will > not only display the contract location they are being called about, > they will be shown other contracts close to that person's address. > > 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 Michael R Mattys > Sent: Thursday, June 02, 2005 5:18 PM > To: Access Developers discussion and problem solving > Subject: Re: [AccessD] Any MapPoint programmers out there? > > > JC, > > What solutions will you be coding in MapPoint? > > ---- > > Michael R. Mattys > Mattys MapLib for Microsoft MapPoint http://www.mattysconsulting.com > > > > ----- Original Message ----- > From: "John W. Colby" > To: "'Access Developers discussion and problem solving'" > > Sent: Wednesday, June 01, 2005 6:29 PM > Subject: [AccessD] Any MapPoint programmers out there? > > > > I'm getting ready to do some pretty serious MapPoint stuff and > > wondered if anyone else out there is doing MapPoint? > > > > 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 paul.hartland at isharp.co.uk Fri Jun 3 05:44:15 2005 From: paul.hartland at isharp.co.uk (Paul Hartland (ISHARP)) Date: Fri, 3 Jun 2005 11:44:15 +0100 Subject: [AccessD] Any MapPoint programmers out there? In-Reply-To: <042401c5675d$506a2440$0202a8c0@default> Message-ID: The .DistanceTo function seems to return distance as the crow flies....Is this correct, only I need the actual mileage calculation -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Michael R Mattys Sent: 02 June 2005 11:25 To: Access Developers discussion and problem solving Subject: Re: [AccessD] Any MapPoint programmers out there? Since you've said 'postcodes', I'll assume you're in the UK (Not that it makes a difference at the moment.) You'll be looking to use the .DistanceTo function Try here: http://groups-beta.google.com/groups?hl=en&q=mappoint+distanceto ---- Michael R. Mattys Mattys MapLib for Microsoft MapPoint http://www.mattysconsulting.com ----- Original Message ----- From: "Paul Hartland (ISHARP)" To: "'Access Developers discussion and problem solving'" Sent: Thursday, June 02, 2005 6:05 AM Subject: RE: [AccessD] Any MapPoint programmers out there? > Initially all I want to be able to do is pass a clients postcode and several > + employee postcodes into MapPoint and return the miles from client > + for > every employee.... > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Michael R Mattys > Sent: 02 June 2005 10:45 > To: Access Developers discussion and problem solving > Subject: Re: [AccessD] Any MapPoint programmers out there? > > I have been programming in MapPoint for over 2 years using both Access > and VB6. I have several apps created that I sell, including a full > routing and scheduling app. > Haven't had time to update my website since I started. > > My efforts were started at Eric Frost's www.mp2kmag.com, where you'll > find articles and discussion. > > I frequently answer questions on Newsgroups: > Microsoft.Public.MapPoint and Microsoft.Public.Street-Trips. > ---- > > Michael R. Mattys > Mattys MapLib for Microsoft MapPoint > http://www.mattysconsulting.com > > > > ----- Original Message ----- > From: "Paul Hartland (ISHARP)" > To: "'Access Developers discussion and problem solving'" > > Sent: Thursday, June 02, 2005 3:00 AM > Subject: RE: [AccessD] Any MapPoint programmers out there? > > > > I am also getting ready to use MapPoint with VB6 and SQL Server > > 2000, > mainly > > want to use it to calculate distances that our employees are from > > our clients, but may also want to be able to create maps/directions etc.... > > > > So if anyone knows any good sites or can help me with getting > > started I would be grateful.... > > > > Thanks in advance for any help on this.... > > > > Paul Hartland > > > > > > -----Original Message----- > > From: accessd-bounces at databaseadvisors.com > > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of John W. > > Colby > > Sent: 01 June 2005 23:29 > > To: 'Access Developers discussion and problem solving' > > Subject: [AccessD] Any MapPoint programmers out there? > > > > I'm getting ready to do some pretty serious MapPoint stuff and > > wondered if anyone else out there is doing MapPoint? > > > > 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 mmattys at rochester.rr.com Fri Jun 3 06:15:24 2005 From: mmattys at rochester.rr.com (Michael R Mattys) Date: Fri, 3 Jun 2005 07:15:24 -0400 Subject: [AccessD] Any MapPoint programmers out there? References: Message-ID: <025c01c5682d$8cc142e0$0202a8c0@default> ----- Original Message ----- From: "Paul Hartland (ISHARP)" To: "'Access Developers discussion and problem solving'" Sent: Friday, June 03, 2005 6:44 AM Subject: RE: [AccessD] Any MapPoint programmers out there? > The .DistanceTo function seems to return distance as the crow flies....Is > this correct, only I need the actual mileage calculation Paul, It's a good approximation. The code that gives you actual miles involves enumeration of routes directions, which is a "just a tiny bit more" code to write. ---- Michael R. Mattys Mattys MapLib for Microsoft MapPoint http://www.mattysconsulting.com From paul.hartland at fsmail.net Fri Jun 3 06:23:16 2005 From: paul.hartland at fsmail.net (paul.hartland at fsmail.net) Date: Fri, 3 Jun 2005 13:23:16 +0200 (CEST) Subject: [AccessD] Any MapPoint programmers out there? Message-ID: <10153117.1117797796484.JavaMail.www@wwinf3001> That's what I am going to have to do then, cause it will be used to cross reference expense claims on our main system with around a 10% leeway, at the moment I am just playing about with MapPoint as I only installed it today.... So if anyone can help me with getting the actual mileage, it would be very appreciated. Paul Hartland Message date : Jun 03 2005, 12:14 PM >From : "Michael R Mattys" To : "Access Developers discussion and problem solving" Copy to : Subject : Re: [AccessD] Any MapPoint programmers out there? ----- Original Message ----- From: "Paul Hartland (ISHARP)" To: "'Access Developers discussion and problem solving'" Sent: Friday, June 03, 2005 6:44 AM Subject: RE: [AccessD] Any MapPoint programmers out there? > The .DistanceTo function seems to return distance as the crow flies....Is > this correct, only I need the actual mileage calculation Paul, It's a good approximation. The code that gives you actual miles involves enumeration of routes directions, which is a "just a tiny bit more" code to write. ---- Michael R. Mattys Mattys MapLib for Microsoft MapPoint http://www.mattysconsulting.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- Whatever you Wanadoo: http://www.wanadoo.co.uk/time/ This email has been checked for most known viruses - find out more at: http://www.wanadoo.co.uk/help/id/7098.htm From mmattys at rochester.rr.com Fri Jun 3 06:31:04 2005 From: mmattys at rochester.rr.com (Michael R Mattys) Date: Fri, 3 Jun 2005 07:31:04 -0400 Subject: [AccessD] Any MapPoint programmers out there? References: <10153117.1117797796484.JavaMail.www@wwinf3001> Message-ID: <027801c5682f$bbaa9f00$0202a8c0@default> Hang on, Paul - I'm looking for it. ---- Michael R. Mattys Mattys MapLib for Microsoft MapPoint http://www.mattysconsulting.com ----- Original Message ----- From: To: "Access Developers discussion and problem solving" Sent: Friday, June 03, 2005 7:23 AM Subject: Re: Re: [AccessD] Any MapPoint programmers out there? > That's what I am going to have to do then, cause it will be used to cross reference expense claims on our main system with around a 10% leeway, at the moment I am just playing about with MapPoint as I only installed it today.... > > So if anyone can help me with getting the actual mileage, it would be very appreciated. From cyx5 at cdc.gov Fri Jun 3 06:34:10 2005 From: cyx5 at cdc.gov (Nicholson, Karen) Date: Fri, 3 Jun 2005 07:34:10 -0400 Subject: [AccessD] Friday Joke Day Message-ID: Just a reminder... From mmattys at rochester.rr.com Fri Jun 3 06:45:21 2005 From: mmattys at rochester.rr.com (Michael R Mattys) Date: Fri, 3 Jun 2005 07:45:21 -0400 Subject: [AccessD] Any MapPoint programmers out there? References: <10153117.1117797796484.JavaMail.www@wwinf3001> <027801c5682f$bbaa9f00$0202a8c0@default> Message-ID: <028401c56831$baa41990$0202a8c0@default> Paul, I pulled this from an answer on Google Author is Gilles Kohl (MVP) ************************ >In my custom software I need to provide driving distance and directions >between any 2 addresses (a map would be nice too). Does MapPoint have an API >that I can hook into so I can integrate these features in my software? Yes it does, no problem. And in case you won't take my word for it, here's sample code that works with MapPoint 2001 (to prevent word-wrapping problems, I've also attached it as a text file) For a map, you could either use the CopyMap method of the Map object (copies the map as a picture to the clipboard, use like so: objMap.CopyMap Image1.Picture = Clipboard.GetData ), or use the full-blown MapPoint ActiveX control available in MapPoint 2002. Hope this helps, Regards, Gilles. Option Explicit ' remember to set a reference to the Microsoft MapPoint Object Library (North American) Dim objApp As New MapPoint.Application Private Sub cmdCalcDistance_Click() Dim objMap As MapPoint.Map Dim objLocMS As MapPoint.Location Dim objLocHRC As MapPoint.Location ' Uncomment the following line to make MapPoint visible ' objApp.Visible = True ' Get a map object Set objMap = objApp.NewMap ' Clear the route ( objMap.ActiveRoute.Clear 'Illustrate finding a United States address Set objLocMS = objMap.FindAddress("One Microsoft Way", "Redmond", "Washington", "98052", geoCountryUnitedStates) If objLocMS Is Nothing Then MsgBox "Sorry - did not find US address" Exit Sub End If ' Found it OK - add to route objMap.ActiveRoute.Waypoints.A dd objLocMS, "Microsoft" 'Illustrate finding a Canadian address Set objLocHRC = objMap.FindAddress("4295 Blackcombe Way", "Whistler", "British Columbia", "VON1B4", geoCountryCanada) If objLocHRC Is Nothing Then MsgBox "Sorry - did not find Canadian address" Exit Sub End If ' Found it OK - add to route objMap.ActiveRoute.Waypoints.Add objLocHRC, "HRC" ' Compute route objMap.ActiveRoute.Calculate If objMap.ActiveRoute.IsCalculated Then MsgBox "The distance is " & objMap.ActiveRoute.Distance & _ IIf(objApp.Units = geoMiles, " miles", " km") Else MsgBox "Sorry, could not compute route" End If End Sub Michael R. Mattys Mattys MapLib for Microsoft MapPoint http://www.mattysconsulting.com From paul.hartland at fsmail.net Fri Jun 3 06:49:51 2005 From: paul.hartland at fsmail.net (paul.hartland at fsmail.net) Date: Fri, 3 Jun 2005 13:49:51 +0200 (CEST) Subject: [AccessD] Any MapPoint programmers out there? Message-ID: <8847644.1117799391745.JavaMail.www@wwinf3102> Thanks very much, I can start playing now..... Message date : Jun 03 2005, 12:46 PM >From : "Michael R Mattys" To : "Access Developers discussion and problem solving" Copy to : Subject : Re: Re: [AccessD] Any MapPoint programmers out there? Paul, I pulled this from an answer on Google Author is Gilles Kohl (MVP) ************************ >In my custom software I need to provide driving distance and directions >between any 2 addresses (a map would be nice too). Does MapPoint have an API >that I can hook into so I can integrate these features in my software? Yes it does, no problem. And in case you won't take my word for it, here's sample code that works with MapPoint 2001 (to prevent word-wrapping problems, I've also attached it as a text file) For a map, you could either use the CopyMap method of the Map object (copies the map as a picture to the clipboard, use like so: objMap.CopyMap Image1.Picture = Clipboard.GetData ), or use the full-blown MapPoint ActiveX control available in MapPoint 2002. Hope this helps, Regards, Gilles. Option Explicit ' remember to set a reference to the Microsoft MapPoint Object Library (North American) Dim objApp As New MapPoint.Application Private Sub cmdCalcDistance_Click() Dim objMap As MapPoint.Map Dim objLocMS As MapPoint.Location Dim objLocHRC As MapPoint.Location ' Uncomment the following line to make MapPoint visible ' objApp.Visible = True ' Get a map object Set objMap = objApp.NewMap ' Clear the route ( objMap.ActiveRoute.Clear 'Illustrate finding a United States address Set objLocMS = objMap.FindAddress("One Microsoft Way", "Redmond", "Washington", "98052", geoCountryUnitedStates) If objLocMS Is Nothing Then MsgBox "Sorry - did not find US address" Exit Sub End If ' Found it OK - add to route objMap.ActiveRoute.Waypoints.A dd objLocMS, "Microsoft" 'Illustrate finding a Canadian address Set objLocHRC = objMap.FindAddress("4295 Blackcombe Way", "Whistler", "British Columbia", "VON1B4", geoCountryCanada) If objLocHRC Is Nothing Then MsgBox "Sorry - did not find Canadian address" Exit Sub End If ' Found it OK - add to route objMap.ActiveRoute.Waypoints.Add objLocHRC, "HRC" ' Compute route objMap.ActiveRoute.Calculate If objMap.ActiveRoute.IsCalculated Then MsgBox "The distance is " & objMap.ActiveRoute.Distance & _ IIf(objApp.Units = geoMiles, " miles", " km") Else MsgBox "Sorry, could not compute route" End If End Sub Michael R. Mattys Mattys MapLib for Microsoft MapPoint http://www.mattysconsulting.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- Whatever you Wanadoo: http://www.wanadoo.co.uk/time/ This email has been checked for most known viruses - find out more at: http://www.wanadoo.co.uk/help/id/7098.htm From jwcolby at colbyconsulting.com Fri Jun 3 07:24:06 2005 From: jwcolby at colbyconsulting.com (John W. Colby) Date: Fri, 03 Jun 2005 08:24:06 -0400 Subject: [AccessD] Any MapPoint programmers out there? In-Reply-To: Message-ID: <000001c56837$2607c2e0$6c7aa8c0@ColbyM6805> Public Function DistanceAsTheCarDrives(Lat1 As Double, Lon1 As Double, Lat2 As Double, Lon2 As Double) As Double Dim oLoc1 As MapPoint.Location Dim oLoc2 As MapPoint.Location Set oLoc1 = mMap.GetLocation(Lat1, Lon1, 0) Set oLoc2 = mMap.GetLocation(Lat2, Lon2, 0) mMap.ActiveRoute.Clear mMap.ActiveRoute.Waypoints.Add oLoc1, "Start" mMap.ActiveRoute.Waypoints.Add oLoc2, "End" mMap.ActiveRoute.Calculate DistanceAsTheCarDrives = mMap.ActiveRoute.Distance End Function Ignore the lat/long thing and start with your two locations. John W. Colby www.ColbyConsulting.com Contribute your unused CPU cycles to a good cause: http://folding.stanford.edu/ -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Paul Hartland (ISHARP) Sent: Friday, June 03, 2005 6:44 AM To: 'Access Developers discussion and problem solving' Subject: RE: [AccessD] Any MapPoint programmers out there? The .DistanceTo function seems to return distance as the crow flies....Is this correct, only I need the actual mileage calculation -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Michael R Mattys Sent: 02 June 2005 11:25 To: Access Developers discussion and problem solving Subject: Re: [AccessD] Any MapPoint programmers out there? Since you've said 'postcodes', I'll assume you're in the UK (Not that it makes a difference at the moment.) You'll be looking to use the .DistanceTo function Try here: http://groups-beta.google.com/groups?hl=en&q=mappoint+distanceto ---- Michael R. Mattys Mattys MapLib for Microsoft MapPoint http://www.mattysconsulting.com ----- Original Message ----- From: "Paul Hartland (ISHARP)" To: "'Access Developers discussion and problem solving'" Sent: Thursday, June 02, 2005 6:05 AM Subject: RE: [AccessD] Any MapPoint programmers out there? > Initially all I want to be able to do is pass a clients postcode and several > + employee postcodes into MapPoint and return the miles from client > + for > every employee.... > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Michael R Mattys > Sent: 02 June 2005 10:45 > To: Access Developers discussion and problem solving > Subject: Re: [AccessD] Any MapPoint programmers out there? > > I have been programming in MapPoint for over 2 years using both Access > and VB6. I have several apps created that I sell, including a full > routing and scheduling app. > Haven't had time to update my website since I started. > > My efforts were started at Eric Frost's www.mp2kmag.com, where you'll > find articles and discussion. > > I frequently answer questions on Newsgroups: Microsoft.Public.MapPoint > and Microsoft.Public.Street-Trips. > ---- > > Michael R. Mattys > Mattys MapLib for Microsoft MapPoint http://www.mattysconsulting.com > > > > ----- Original Message ----- > From: "Paul Hartland (ISHARP)" > To: "'Access Developers discussion and problem solving'" > > Sent: Thursday, June 02, 2005 3:00 AM > Subject: RE: [AccessD] Any MapPoint programmers out there? > > > > I am also getting ready to use MapPoint with VB6 and SQL Server > > 2000, > mainly > > want to use it to calculate distances that our employees are from > > our clients, but may also want to be able to create maps/directions etc.... > > > > So if anyone knows any good sites or can help me with getting > > started I would be grateful.... > > > > Thanks in advance for any help on this.... > > > > Paul Hartland > > > > > > -----Original Message----- > > From: accessd-bounces at databaseadvisors.com > > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of John W. > > Colby > > Sent: 01 June 2005 23:29 > > To: 'Access Developers discussion and problem solving' > > Subject: [AccessD] Any MapPoint programmers out there? > > > > I'm getting ready to do some pretty serious MapPoint stuff and > > wondered if anyone else out there is doing MapPoint? > > > > 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 paul.hartland at isharp.co.uk Fri Jun 3 08:36:46 2005 From: paul.hartland at isharp.co.uk (Paul Hartland (ISHARP)) Date: Fri, 3 Jun 2005 14:36:46 +0100 Subject: [AccessD] Any MapPoint programmers out there? In-Reply-To: <000001c56837$2607c2e0$6c7aa8c0@ColbyM6805> Message-ID: Thanks to everyone for their code samples, the day should now fly by with this for me to play with -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of John W. Colby Sent: 03 June 2005 13:24 To: 'Access Developers discussion and problem solving' Subject: RE: [AccessD] Any MapPoint programmers out there? Public Function DistanceAsTheCarDrives(Lat1 As Double, Lon1 As Double, Lat2 As Double, Lon2 As Double) As Double Dim oLoc1 As MapPoint.Location Dim oLoc2 As MapPoint.Location Set oLoc1 = mMap.GetLocation(Lat1, Lon1, 0) Set oLoc2 = mMap.GetLocation(Lat2, Lon2, 0) mMap.ActiveRoute.Clear mMap.ActiveRoute.Waypoints.Add oLoc1, "Start" mMap.ActiveRoute.Waypoints.Add oLoc2, "End" mMap.ActiveRoute.Calculate DistanceAsTheCarDrives = mMap.ActiveRoute.Distance End Function Ignore the lat/long thing and start with your two locations. John W. Colby www.ColbyConsulting.com Contribute your unused CPU cycles to a good cause: http://folding.stanford.edu/ -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Paul Hartland (ISHARP) Sent: Friday, June 03, 2005 6:44 AM To: 'Access Developers discussion and problem solving' Subject: RE: [AccessD] Any MapPoint programmers out there? The .DistanceTo function seems to return distance as the crow flies....Is this correct, only I need the actual mileage calculation -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Michael R Mattys Sent: 02 June 2005 11:25 To: Access Developers discussion and problem solving Subject: Re: [AccessD] Any MapPoint programmers out there? Since you've said 'postcodes', I'll assume you're in the UK (Not that it makes a difference at the moment.) You'll be looking to use the .DistanceTo function Try here: http://groups-beta.google.com/groups?hl=en&q=mappoint+distanceto ---- Michael R. Mattys Mattys MapLib for Microsoft MapPoint http://www.mattysconsulting.com ----- Original Message ----- From: "Paul Hartland (ISHARP)" To: "'Access Developers discussion and problem solving'" Sent: Thursday, June 02, 2005 6:05 AM Subject: RE: [AccessD] Any MapPoint programmers out there? > Initially all I want to be able to do is pass a clients postcode and several > + employee postcodes into MapPoint and return the miles from client > + for > every employee.... > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Michael R Mattys > Sent: 02 June 2005 10:45 > To: Access Developers discussion and problem solving > Subject: Re: [AccessD] Any MapPoint programmers out there? > > I have been programming in MapPoint for over 2 years using both Access > and VB6. I have several apps created that I sell, including a full > routing and scheduling app. > Haven't had time to update my website since I started. > > My efforts were started at Eric Frost's www.mp2kmag.com, where you'll > find articles and discussion. > > I frequently answer questions on Newsgroups: Microsoft.Public.MapPoint > and Microsoft.Public.Street-Trips. > ---- > > Michael R. Mattys > Mattys MapLib for Microsoft MapPoint http://www.mattysconsulting.com > > > > ----- Original Message ----- > From: "Paul Hartland (ISHARP)" > To: "'Access Developers discussion and problem solving'" > > Sent: Thursday, June 02, 2005 3:00 AM > Subject: RE: [AccessD] Any MapPoint programmers out there? > > > > I am also getting ready to use MapPoint with VB6 and SQL Server > > 2000, > mainly > > want to use it to calculate distances that our employees are from > > our clients, but may also want to be able to create maps/directions etc.... > > > > So if anyone knows any good sites or can help me with getting > > started I would be grateful.... > > > > Thanks in advance for any help on this.... > > > > Paul Hartland > > > > > > -----Original Message----- > > From: accessd-bounces at databaseadvisors.com > > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of John W. > > Colby > > Sent: 01 June 2005 23:29 > > To: 'Access Developers discussion and problem solving' > > Subject: [AccessD] Any MapPoint programmers out there? > > > > I'm getting ready to do some pretty serious MapPoint stuff and > > wondered if anyone else out there is doing MapPoint? > > > > 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 Fri Jun 3 09:09:26 2005 From: jwcolby at colbyconsulting.com (John W. Colby) Date: Fri, 03 Jun 2005 10:09:26 -0400 Subject: [AccessD] MapPoint location class In-Reply-To: <8847644.1117799391745.JavaMail.www@wwinf3102> Message-ID: <000101c56845$dcc88c90$6c7aa8c0@ColbyM6805> Paul, This code (see below this message) is a class clsLocation that I developed to hold information about a location. There is only one reference that is specific to my code which I will get to in a minute. As you know I prefer to use classes if the code is going to be more than trivial. This class holds all the information and methods that I thought would be useful for a single location. I populate it initially from a function that opens a recordset of addresses I want to map. Each class instance holds data about a single location. I pass in the address information. I also pass in a "name" value in order to allow naming the pushpin etc. I pass in a "type" integer just so that I can sort the locations. For example I am mapping contracts and people to call about the contracts. For this purpose, in my application every contract address is a "type" of 1 and people are "type" of 2. Type information is obviously specific to the application and can just be zero if you don't need to "group" the locations into sets. All of the data passed in are stored in private variables in the class. Function init(strName As String, lintType As Integer, lstrAddr1 As String, lstrCity As String, _ lstrState As String, lstrPostalCode As String, _ Optional lstrCountry As String = "USA") The one piece of code specific to my MapPoint framework (which is under development and which this is pulled from) is the line in init: Set mcolFindAddrRes = cMPtApp.ActiveMap.FindAddressResults(mstrAddr1, mstrCity, , lstrState, mstrPostalCode, mstrCountry) cMPTApp is a function that returns a pointer to the open MapPoint application. This corresponds to a single global variable pointer to the MapPoint Application, dimensioned private to the basInitMapPoint module, initialized in an InitMapPoint() method, and then a function cMPtApp() returns the pointer to that private global variable. This class then can provide properties to get back the data originally supplied (if you want that) such as the zipcode and so forth. It also has built into the class a call to "find" the address - in Init(): Set mcolFindAddrRes = cMPtApp.ActiveMap.FindAddressResults(mstrAddr1, mstrCity, , lstrState, mstrPostalCode, mstrCountry) The ActiveMap.FindAddressResults returns a collection of location objects that are candidates for the address you passed in. What happens is that if the address does not resolve to a single address then MapPoint will return 0 to N possible locations that MIGHT be what you are looking for. mcolFindAddrRes by the way is a collection in my class which holds all of the location objects returned by ActiveMap.FindAddressResults. You may or may not even want this kept around after the Init() finishes. It does allow you to map all the "possible locations" if you want to see them for some reason. Having asked MapPoint to find the address, the class then checks to see if exactly one location was returned in the collection. First of all, I have seen issues where the call to the FindAddressResults returned an automation error so I check for errors first. I get the feeling that the automation errors were caused by operator error (me) but it caused me to put in the check anyway. If no error, then I check for just one location in the results collection: If mcolFindAddrRes.Count = 1 Then Set mLoc = mcolFindAddrRes.Item(1) mblnOneLoc = True Else mblnOneLoc = False End If If there is just one location returned, I grab that location object and store it in mLoc. Mloc is the key to this class since it is the actual location object for an address that MapPoint understands. Having this location object allows us to create a push pin, get distances to other locations etc. So by the time the Init() returns you either have a location object and a Boolean saying you have just one, or you do not have a location object and the Boolean says that you didn't find just one location for the address supplied. What I have found is that MapPoint is very sensitive to things like "PO Box XXX" or "Suite 44" in the address1 field and fails to map to a single location for such addresses. The class then provides other functions useful to a location such as the MapIt() method which places a pushpin into the map and stores the pushpin object. I do not automatically create push pins since some applications don't need them. The class also provides two distance methods which will return the distance between this location and another location object passed in. Obviously error handling is still under development. I have only been doing this for two days, and that time includes a bunch of dev on the MapPoint framework itself - which this class is a part of. As an example of using this class, I am adding a couple of fields in my application's Agency table to allow me to iterate through all the agencies and try and map their address. I want to do this up front, then not pull an agency for mapping if I have already found it not mappable. The code to do that is immediately below. As you can see, once the Location class is built, using it is trivial and allows you to do a lot of stuff pretty quickly. Anyway, this should allow for a discussion of possibilities with MapPoint. By having a class for the location, you can wrap any and all code and properties that you think a location needs into a wrapper and use it quickly and easily. '**************************************** 'Class usage code - map all agencies that are mappable '**************************************** Function TestAgencyMapAddr() Dim db As DAO.Database Dim rst As DAO.Recordset Dim strSQL As String Dim lclsLocation As clsLocation Const cintAgency = 1 MPtInit CurrentProject.Connection With cMPtApp .Top = 0 .Left = 0 .WindowState = geoWindowStateMaximize .Visible = True End With strSQL = "SELECT * " & _ "FROM qSelAgencyMapAddr " & _ "WHERE AG_DteMappable IS NULL" Set db = CurrentDb Set rst = db.OpenRecordset(strSQL) With rst While Not .EOF Set lclsLocation = New clsLocation lclsLocation.init !Name, cintAgency, !Addr1, !City, !State, !Zip If lclsLocation.pOneLoc Then lclsLocation.mMapIt End If .MoveNext DoEvents Wend End With End Function '**************************************** 'The class code '**************************************** Option Compare Database Option Explicit Private mintType As Integer 'The type of location. Defined by application. For example, 1 = business, 2 = personal etc. Private mstrName As String 'The location name - company name, person name etc. Private mstrAddr1 As String 'The address fields needed to find a location Private mstrCity As String Private mstrState As String Private mstrPostalCode As String Private mstrCountry As String Private mblnOneLoc As Boolean 'True if more than one location matches the address info Private mblnAutomationErr As Boolean Private mcolFindAddrRes As MapPoint.FindResults 'The collection of possible locations if more than one Private mLoc As MapPoint.Location 'The specific location object if narrowed down to just one Private mPushPin As MapPoint.Pushpin 'The pushpin associated with the location Private Sub Class_Terminate() Set mLoc = Nothing Set mcolFindAddrRes = Nothing Set mPushPin = Nothing End Sub Function init(strName As String, lintType As Integer, lstrAddr1 As String, lstrCity As String, _ lstrState As String, lstrPostalCode As String, _ Optional lstrCountry As String = "USA") On Error GoTo Err_init mstrName = strName mintType = lintType mstrAddr1 = lstrAddr1 mstrCity = lstrCity mstrState = lstrState mstrPostalCode = lstrPostalCode mstrCountry = lstrCountry On Error Resume Next Set mcolFindAddrRes = cMPtApp.ActiveMap.FindAddressResults(mstrAddr1, mstrCity, , lstrState, mstrPostalCode, mstrCountry) If Err = 0 Then If mcolFindAddrRes.Count = 1 Then Set mLoc = mcolFindAddrRes.Item(1) mblnOneLoc = True Else mblnOneLoc = False End If Else mblnOneLoc = False mblnAutomationErr = True End If Exit_init: Exit Function Err_init: MsgBox Err.Description, , "Error in Function clsLocation.init" Resume Exit_init Resume 0 '.FOR TROUBLESHOOTING End Function Property Get pOneLoc() As Boolean pOneLoc = mblnOneLoc End PropertyProperty Get colFindAddrRes() As MapPoint.FindResults Set colFindAddrRes = mcolFindAddrRes End Property Property Get pLoc() As MapPoint.Location Set pLoc = mLoc End Property Property Get pPushPin() As MapPoint.Pushpin Set pPushPin = mPushPin End Property Property Get pName() As String pName = mstrName End Property Function mMapIt() As Boolean On Error GoTo Err_mMapIt Dim objLoc As MapPoint.Location If mblnAutomationErr Then Debug.Print mstrName & " Could not be looked up" Else If mblnOneLoc Then Set mPushPin = cMPtApp.ActiveMap.AddPushpin(mcolFindAddrRes(1), mstrName) mMapIt = True Else Debug.Print mcolFindAddrRes.Count & " locations found for " & mstrName End If End If ' For Each objLoc In mcolFindAddrRes ' Set mPushPin = cMPtApp.ActiveMap.AddPushpin(objLoc, mstrName) ' Next objLoc Exit_mMapIt: Exit Function Err_mMapIt: MsgBox Err.Description, , "Error in Function clsLocation.mMapIt" Resume Exit_mMapIt Resume 0 '.FOR TROUBLESHOOTING End Function Public Function DistanceAsTheCrowFlies(oLoc2 As MapPoint.Location) As Double If mblnOneLoc Then DistanceAsTheCrowFlies = mLoc.DistanceTo(oLoc2) Else DistanceAsTheCrowFlies = 0 End If End Function Public Function DistanceAsTheCarDrives(oLoc2 As MapPoint.Location) As Double On Error GoTo Err_DistanceAsTheCarDrives With cMPt.cMPtMap .ActiveRoute.Clear .ActiveRoute.Waypoints.Add mLoc, "Start" .ActiveRoute.Waypoints.Add oLoc2, "End" .ActiveRoute.Calculate DistanceAsTheCarDrives = .ActiveRoute.Distance End With Exit_DistanceAsTheCarDrives: Exit Function Err_DistanceAsTheCarDrives: MsgBox Err.Description, , "Error in Function clsFWMapPt.DistanceAsTheCarDrives" Resume Exit_DistanceAsTheCarDrives 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/ From mmattys at rochester.rr.com Fri Jun 3 09:37:18 2005 From: mmattys at rochester.rr.com (Michael R Mattys) Date: Fri, 3 Jun 2005 10:37:18 -0400 Subject: [AccessD] MapPoint location class References: <000101c56845$dcc88c90$6c7aa8c0@ColbyM6805> Message-ID: <02d801c56849$c0438940$0202a8c0@default> ----- Original Message ----- From: "John W. Colby" To: "'Access Developers discussion and problem solving'" Sent: Friday, June 03, 2005 10:09 AM Subject: [AccessD] MapPoint location class > Paul, > > This code (see below this message) is a class clsLocation that I developed > '**************************************** > 'The class code > '**************************************** John, Nice ! You could optionally add another recordset to populate addresses that MapPoint can't find and present it at the end of your routine. ---- Michael R. Mattys Mattys MapLib for Microsoft MapPoint http://www.mattysconsulting.com From jwcolby at colbyconsulting.com Fri Jun 3 10:08:28 2005 From: jwcolby at colbyconsulting.com (John W. Colby) Date: Fri, 03 Jun 2005 11:08:28 -0400 Subject: [AccessD] MapPoint location class In-Reply-To: <02d801c56849$c0438940$0202a8c0@default> Message-ID: <000201c5684e$1bb80630$6c7aa8c0@ColbyM6805> It is quite cool watching this populate the map with pushpins. I just setup a couple of timer classes to time how long it takes to do this. To "map" 3686 agencies took 217 seconds for about 60 milliseconds per agency. This on an AMD64 3ghz laptop with 1.2g ram and a fast hard drive. Remember though that this processed 3686 agencies but didn't resolve all of those to a single location. I didn't count the actual number resolved (sigh) and pushpins created. John W. Colby www.ColbyConsulting.com Contribute your unused CPU cycles to 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: Friday, June 03, 2005 10:37 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] MapPoint location class ----- Original Message ----- From: "John W. Colby" To: "'Access Developers discussion and problem solving'" Sent: Friday, June 03, 2005 10:09 AM Subject: [AccessD] MapPoint location class > Paul, > > This code (see below this message) is a class clsLocation that I > developed > '**************************************** > 'The class code > '**************************************** John, Nice ! You could optionally add another recordset to populate addresses that MapPoint can't find and present it at the end of your routine. ---- Michael R. Mattys Mattys MapLib for Microsoft MapPoint http://www.mattysconsulting.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From cfoust at infostatsystems.com Fri Jun 3 10:10:49 2005 From: cfoust at infostatsystems.com (Charlotte Foust) Date: Fri, 3 Jun 2005 08:10:49 -0700 Subject: [AccessD] Error Loading Project? Message-ID: I can't say that I agree. No, I wouldn't go back to 2000, but I don't think installing a later version on my machine should cause problems on a machine running 2000 if I share an mdb with them. Charlotte Foust -----Original Message----- From: Jim Lawrence [mailto:accessd at shaw.ca] Sent: Thursday, June 02, 2005 11:42 PM To: 'Access Developers discussion and problem solving' Subject: RE: [AccessD] Error Loading Project? Charlotte: Good, honestly, who would ever go back... now the going back option has been eliminated. :-) It is a good plan. Thanks Jim -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Charlotte Foust Sent: Thursday, June 02, 2005 12:53 PM To: Access Developers discussion and problem solving Subject: RE: [AccessD] Error Loading Project? They don't break in XP and 2003, only the other direction. Charlotte Foust -----Original Message----- From: Jim Lawrence [mailto:accessd at shaw.ca] Sent: Thursday, June 02, 2005 11:32 AM To: 'Access Developers discussion and problem solving' Subject: RE: [AccessD] Error Loading Project? So what would be the best way to import Access into XP and 2003 without major issues other than hand coding? Jim -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Charlotte Foust Sent: Thursday, June 02, 2005 11:25 AM To: Access Developers discussion and problem solving Subject: RE: [AccessD] Error Loading Project? 2003 breaks it the same way as XP. Charlotte Foust -----Original Message----- From: Francisco Tapia [mailto:fhtapia at gmail.com] Sent: Thursday, June 02, 2005 8:56 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Error Loading Project? Not at this time, I Just ordered Access 2003, currenlty I have Office 97 & 2000 w/ Outlook 2003. On 6/1/05, John W. Colby wrote: > Do you happen to have 2K and XP on the same machine? > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Francisco > Tapia > Sent: Wednesday, June 01, 2005 8:47 PM > To: access-l at peach.ease.lsoft.com; Access Developers discussion and problem > solving > Subject: [AccessD] Error Loading Project? > > > Recently I've been plauged by this error: > > I have 2 Access ADP's , the primary is the dev copy and I write in > this copy all my development code, once compiled, and tested I > "EXPORT" the new form or modified form to the Production .adp copy > this file used to be on the network, but due to the more recent > network errors that I was plauged w/ I decided to simply create a > folder on my pc called "build" and export to that folder instead, > everything had been working great, and in fact each copy compiles w/o > errors... but if I export from the dev on drive C to the build on > drive C I end up w/ an error on the build copy as "Error Loading > Project, disk or network error, continue loading?" if you click ok I > find that the module is empty. If I then (while in the build copy), > IMPORT the same form, then I get a new Form1 classic import, I delete > the corrupted form and rename Form1 to Form and all is well again... > why can I not export anymore? > -- -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 -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From carbonnb at gmail.com Fri Jun 3 10:57:31 2005 From: carbonnb at gmail.com (Bryan Carbonnell) Date: Fri, 3 Jun 2005 11:57:31 -0400 Subject: [AccessD] Friday Joke Day In-Reply-To: References: Message-ID: On 6/3/05, Nicholson, Karen wrote: > Just a reminder... OK. Here you go. An interesting article on new technology: Article by Freelance Journalist I. Reid Introducing the new Bio-Optic Organized Knowledge device - BOOK. BOOK is a revolutionary breakthrough in technology; no wires, no electric circuits, no batteries, nothing to be connected or switched on. It's easy to use. Even a child can operate it. Compact and portable, it can be used anywhere - even sitting in an armchair by the fire - yet it is powerful enough to hold as much as a CD-ROM. BOOK is constructed of sequentially numbered sheets of paper (recyclable), each capable of holding thousands of bits of information. The pages are locked together with one of two different custom devices, a BINDER, or DOUBLE STITCH BINDING, which keep the sheets in their correct sequence. Opaque Paper Technology (OPT) allows manufacturers to use both sides of the sheet, doubling the information density. Each sheet is scanned optically, registering information directly to your brain. A flick of the finger takes you to the next sheet. BOOK never crashes, nor requires rebooting. The 'browse' function allows instant movement to any sheet, forward or backward, as one wishes. Many come with an 'index' feature, which pinpoints the exact location of any selected information for instant retrieval. Portable, durable and affordable, BOOK is being hailed as a precursor of a new entertainment wave. BOOK's appeal seems so certain that thousands of content creators have committed to the platform and investor are reportedly flocking to the medium. Look for a flood of new BOOKs at your local BOOKstore! -- 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 tim at irwingreenhouses.com Fri Jun 3 11:50:38 2005 From: tim at irwingreenhouses.com (Tim Thiessen) Date: Fri, 03 Jun 2005 11:50:38 -0500 Subject: [AccessD] Friday Joke Day In-Reply-To: Message-ID: <42A0440E.17229.B2A3FF6@localhost> On 3 Jun 2005 at 7:34, Nicholson, Karen wrote: > Just a reminder... Have you been guilty of looking at others your own age and thinking, "Surely I cannot look that old?" Well, I was sitting in the waiting room for my first appointment with a new dentist. I noticed his DDS diploma, which bore his full name. Suddenly, I remembered that a tall, handsome, dark-haired boy with the same name had been in my high school class some 40-odd years ago. Could he be the same guy that I had a secret crush on, way back then? Upon seeing him, however, I quickly discarded any such thought. This balding, gray-haired man with the deeply lined face was way, way too old to have been my classmate...or could he? After he examined my teeth, I asked him if he had attended Morgan Park High School. "Yes. Yes. I did...I'm a Morgan Mustang," he gleamed with pride. "When did you graduate?" I asked. He answered, "In 1959. Why do you ask?" "You were in my class!" I exclaimed. He looked at me closely...and that ugly, old, wrinkled jerk asked, "What did you teach?" today's THOUGHT============================ Why is it that at class reunions you feel younger than everyone else looks? Tim Thiessen From tinanfields at torchlake.com Sat Jun 4 10:20:58 2005 From: tinanfields at torchlake.com (Tina Norris Fields) Date: Sat, 04 Jun 2005 11:20:58 -0400 Subject: [AccessD] Invitations DB Design Ideas References: <001f01c5672c$d20f09b0$6401a8c0@laptop1> Message-ID: <42A1C6DA.6020500@torchlake.com> Joe, My Mom died January 29, 2005. She despised funerals, so my Dad planned a special celebration of life for her. Not wanting to put our family members and friends at additional risk of travel accident (it being the middle of winter here in northern Michigan, he chose April 27 (their wedding anniversary) as the date for the celebration. We had time to plan properly, thank those who had already contacted us, organize the invitation list, and handle the designation for memorial contributions. I put the little database together. As Dad thought of people that should be notified or invited, the list grew from an anticipated 50 or so to over 400 - I needed my database! For my mother's memorial celebration mailing list I used two tables: tblHouseholds and tblIndividuals. That allowed me to put as many people in a household (or office, as the case often was) as I might need. That was useful in running my "how many people might come" reports. When I got a reply, I updated my HowMany field with the actual number given, to help with my "how many people are really coming" reports. There was a special science education fund in our Three Lakes Association, begun by my family, and to which and memorial contributions were given (some came to us, others were sent directly to TLA, so I needed some way to keep track). tbl Households HH_ID HH_Name (to alphabetize my list) HH_MailingName (first line of the mailing label) HH_Str_Address (street address) HH_POB_Address (po box address) HH_City HH_State (for US and Canada addresses) HH_Zip (for US addresses) HH_PostCode (for non-US addresses) HH_Country HH_Tel HH_email HH_Invite (ysn to invite this HH) HH_Thank (ysn to thank this HH for previous communication) HH_TLA (ysn did this HH make a memorial contribution to TLA?) HH_Coming (ysn anyone in this HH coming?) HH_HowMany (after reply to our invitation) HH_Comments (can't get away from needing this in family celebration planning) tblIndividuals Ind_ID HH_ID IndLastName IndFirstName My father was completely amazed to have a mailing list of 1) those to receive only a notification 2) those to receive notification and invitation to the ceremony 3) those to receive notification, invitation, and thanks for earlier communication He was further amazed to have up-to-date reports showing who had responded, who was coming (and how many), and who was not. Many who were unable to come wanted Dad to know why, so that information was recorded in the Comments field. I hope this is helpful to you, Tina Joe Hecht wrote: >So my niece got engaged and I figure I better get my DB going soon. > >Right now the database is one table, > >These are typed in to readable and not names with spaces etc: > >I rec num >1st Person first Name >1st person last name >2cd person first name >2cd person last name >Address fields >Adults Invitation Represents >Children Invitation represents >Contact phone >Memo >Source (Bride/Groom/Family/friend?) >Invited Y/N >Coming y/n >Gift received Y/N >Note Sent Y/N > > > > Looking for ideas to normalize this > >OK wise guys, I know no wedding is normal but... > > > >Joe Hecht >Los Angeles CA > > > From tinanfields at torchlake.com Sat Jun 4 12:10:35 2005 From: tinanfields at torchlake.com (Tina Norris Fields) Date: Sat, 04 Jun 2005 13:10:35 -0400 Subject: [AccessD] The Sleep Advisor - Version 5 - Call for Beta Testers References: <010d01c56601$38f04cc0$6501a8c0@HAL9004> Message-ID: <42A1E08B.7020903@torchlake.com> Hi Rocky, I downloaded it and completed it and sent off the email to rrnaiman at cox.net. It was interesting and fun to do. I'll be interested in following the "career" of this program. Best, Tina Rocky Smolin - Beach Access Software wrote: >Dear List: > >Version 5 of The Sleep Advisor is now ready for beta testing: > >All new graphics! >Reorganized friendlier reporting! >All new bugs! > >There is a Wise/Sagekey run-time download available at http://www.drnaiman.com/sleepad.php > >or for those of you who have Access 2003 you can email me off line and I'll send you just the mde. > >Although it runs on Windows 2000 I have noticed some problems that don't affect the operation or outcome of the program - just the esthetics (in particular, I have an embedded background graphic that doesn't display under W2K but does fine under WXP, go figure). > >For those who may not be aware, The Sleep Advisor is an expert system designed to diagnose the most common sleep problems - insomnias, apnea, narcolepsy, hypersomnia, etc., as well as identify a variety of sleep health related issues such as nocturia, bruxism, jet lag, shift work, anxiety disorders, bed and bedroom problems, etc. The report includes a Guidebook to remedies and recommendations the contents of which are tailored to the user's responses and sleep health analysis. > >We still need a lot of beta testing to perfect the diagnostic engine. In addition, any technical feedback I could get from this list would be of great value. > >Hopefully for your time and efforts you'll receive some value from the reports. > >With many thanks in advance, > >Rocky Smolin >Beach Access Software >http://www.e-z-mrp.com >858-259-4334 > > > From bchacc at san.rr.com Sat Jun 4 12:26:20 2005 From: bchacc at san.rr.com (Rocky Smolin - Beach Access Software) Date: Sat, 4 Jun 2005 10:26:20 -0700 Subject: [AccessD] The Sleep Advisor - Version 5 - Call for Beta Testers References: <010d01c56601$38f04cc0$6501a8c0@HAL9004> <42A1E08B.7020903@torchlake.com> Message-ID: <012c01c5692a$864f3d10$6901a8c0@HAL9004> Tina: Many thanks for your time. We should be sending you your report shortly. Hopefully it will have some useful info in it. Best regards, Rocky Smolin Beach Access Software http://www.e-z-mrp.com 858-259-4334 ----- Original Message ----- From: "Tina Norris Fields" To: "Access Developers discussion and problem solving" Sent: Saturday, June 04, 2005 10:10 AM Subject: Re: [AccessD] The Sleep Advisor - Version 5 - Call for Beta Testers > Hi Rocky, > > I downloaded it and completed it and sent off the email to > rrnaiman at cox.net. It was interesting and fun to do. I'll be interested > in following the "career" of this program. > Best, > Tina > > > > Rocky Smolin - Beach Access Software wrote: > >>Dear List: >> >>Version 5 of The Sleep Advisor is now ready for beta testing: >> >>All new graphics! >>Reorganized friendlier reporting! >>All new bugs! >> >>There is a Wise/Sagekey run-time download available at >>http://www.drnaiman.com/sleepad.php >> >>or for those of you who have Access 2003 you can email me off line and >>I'll send you just the mde. >> >>Although it runs on Windows 2000 I have noticed some problems that don't >>affect the operation or outcome of the program - just the esthetics (in >>particular, I have an embedded background graphic that doesn't display >>under W2K but does fine under WXP, go figure). >> >>For those who may not be aware, The Sleep Advisor is an expert system >>designed to diagnose the most common sleep problems - insomnias, apnea, >>narcolepsy, hypersomnia, etc., as well as identify a variety of sleep >>health related issues such as nocturia, bruxism, jet lag, shift work, >>anxiety disorders, bed and bedroom problems, etc. The report includes a >>Guidebook to remedies and recommendations the contents of which are >>tailored to the user's responses and sleep health analysis. >> >>We still need a lot of beta testing to perfect the diagnostic engine. In >>addition, any technical feedback I could get from this list would be of >>great value. >>Hopefully for your time and efforts you'll receive some value from the >>reports. >> >>With many thanks in advance, >> >>Rocky Smolin >>Beach Access Software >>http://www.e-z-mrp.com >>858-259-4334 >> >> > > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > From kost36 at otenet.gr Sat Jun 4 13:58:40 2005 From: kost36 at otenet.gr (Kostas Konstantinidis) Date: Sat, 4 Jun 2005 21:58:40 +0300 Subject: [AccessD] Trying to Eliminate white space in a report it doesn't work References: <71409e737f5144de8915a5d7a975fa34@christopherhawkins.com> Message-ID: <012d01c56937$6c7ff4d0$0100a8c0@KOST36> Hi all, in a report I use the follown =IIf(IsNull([Production]);"";[Production] & Chr(13) & Chr(10)) & IIf(IsNull([PROD_ADDRESS]);"";[PROD_ADDRESS] & Chr(13) & Chr(10)) & IIf(IsNull([Address2]);"";[Address2] & Chr(13) & Chr(10)) & IIf(IsNull([Communication]);"";[Communication]) & Chr(13) & Chr(10) & IIf(IsNull([PROD_E_MAIL]);"";[PROD_E_MAIL]) & Chr(13) & Chr(10) but in case one of the in between Production and Addess2 records are blank and PROD_E_MAIL is not, then it seems it doesn't eliminate the vertical space holding white space am I doing something wrong or it needs to CanShrink the Details too? I also tried the Microsoft's Public Function on http://support.microsoft.com/default.aspx?scid=kb;en-us;299011 but the result remains the same Thank's Kostas Konstantinidis From mikedorism at verizon.net Sat Jun 4 19:25:55 2005 From: mikedorism at verizon.net (Mike & Doris Manning) Date: Sat, 04 Jun 2005 20:25:55 -0400 Subject: [AccessD] Trying to Eliminate white space in a report it doesn't work In-Reply-To: <012d01c56937$6c7ff4d0$0100a8c0@KOST36> Message-ID: <000001c56965$250fe820$2f01a8c0@hargrove.internal> You are correct that you do need to set the Details section to CanShrink = Yes. Doris Manning Database Administrator Hargrove Inc. www.hargroveinc.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Kostas Konstantinidis Sent: Saturday, June 04, 2005 2:59 PM To: Access Developers discussion and problem solving Subject: [AccessD] Trying to Eliminate white space in a report it doesn't work Hi all, in a report I use the follown =IIf(IsNull([Production]);"";[Production] & Chr(13) & Chr(10)) & IIf(IsNull([PROD_ADDRESS]);"";[PROD_ADDRESS] & Chr(13) & Chr(10)) & IIf(IsNull([Address2]);"";[Address2] & Chr(13) & Chr(10)) & IIf(IsNull([Communication]);"";[Communication]) & Chr(13) & Chr(10) & IIf(IsNull([PROD_E_MAIL]);"";[PROD_E_MAIL]) & Chr(13) & Chr(10) but in case one of the in between Production and Addess2 records are blank and PROD_E_MAIL is not, then it seems it doesn't eliminate the vertical space holding white space am I doing something wrong or it needs to CanShrink the Details too? I also tried the Microsoft's Public Function on http://support.microsoft.com/default.aspx?scid=kb;en-us;299011 but the result remains the same Thank's Kostas Konstantinidis -- 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 Jun 4 19:55:37 2005 From: stuart at lexacorp.com.pg (Stuart McLachlan) Date: Sun, 05 Jun 2005 10:55:37 +1000 Subject: [AccessD] Trying to Eliminate white space in a report it doesn't work In-Reply-To: <012d01c56937$6c7ff4d0$0100a8c0@KOST36> Message-ID: <42A2DA29.8784.A7540D4@stuart.lexacorp.com.pg> On 4 Jun 2005 at 21:58, Kostas Konstantinidis wrote: > Hi all, > in a report I use the follown > > =IIf(IsNull([Production]);"";[Production] & Chr(13) & Chr(10)) & > IIf(IsNull([PROD_ADDRESS]);"";[PROD_ADDRESS] & Chr(13) & Chr(10)) & > IIf(IsNull([Address2]);"";[Address2] & Chr(13) & Chr(10)) & > IIf(IsNull([Communication]);"";[Communication]) & Chr(13) & Chr(10) & > IIf(IsNull([PROD_E_MAIL]);"";[PROD_E_MAIL]) & Chr(13) & Chr(10) > > but in case one of the in between Production and Addess2 records are blank > and PROD_E_MAIL is not, then it seems it doesn't eliminate the vertical > space holding white space > am I doing something wrong or it needs to CanShrink the Details too? > There is a difference between Null an empty string ("").. If you are getting a vertical blank line, I'd suspect that one of the fields contains an empty string rather than a Null. Try replacing IsNull with NZ([Production],"") = "" -- Stuart From kost36 at otenet.gr Sun Jun 5 01:59:52 2005 From: kost36 at otenet.gr (Kostas Konstantinidis) Date: Sun, 5 Jun 2005 09:59:52 +0300 Subject: [AccessD] Trying to Eliminate white space in a report it doesn'twork References: <42A2DA29.8784.A7540D4@stuart.lexacorp.com.pg> Message-ID: <006101c5699c$2cb6f690$07a1fea9@studio2> Mike & Doris and Stuart thank's a lot for your responses here is the query on which the report is based on SELECT RT_AM_production.AM, IIf(IsNull([Producer]),"",[Producer]) & IIf(IsNull([person]),"",(" / " & [person])) AS Production, RT_AM_production.PROD_ADDRESS, IIf([PROD_CODE] Is Null,[town] & "" & [country],[PROD_CODE] & "" & [town] & "" & [country]) AS Address2, IIf(IsNull([PROD_TLE]),"",("Tel: " & [PROD_TLE])) & IIf(IsNull([PROD_FAX]),"",(" Fax: " & [PROD_FAX])) AS Communication, RT_AM_production.PROD_E_MAIL FROM T_town RIGHT JOIN (T_producer RIGHT JOIN (T_person RIGHT JOIN (T_country RIGHT JOIN RT_AM_production ON T_country.ID_country = RT_AM_production.ID_PROD_COUNTRY) ON T_person.ID_person = RT_AM_production.ID_PROD_PERSON) ON T_producer.ID_producer = RT_AM_production.IDproducer) ON T_town.IDDIR_TOWN = RT_AM_production.ID_PROD_TOWN; Running it seems to keep no blank spaces into the records. The problem must be between fields Address2 and Communication but I cant understand the real reason thank's / kostas ----- Original Message ----- From: "Stuart McLachlan" To: "Access Developers discussion and problem solving" Sent: Sunday, June 05, 2005 3:55 AM Subject: Re: [AccessD] Trying to Eliminate white space in a report it doesn'twork > On 4 Jun 2005 at 21:58, Kostas Konstantinidis wrote: > >> Hi all, >> in a report I use the follown >> >> =IIf(IsNull([Production]);"";[Production] & Chr(13) & Chr(10)) & >> IIf(IsNull([PROD_ADDRESS]);"";[PROD_ADDRESS] & Chr(13) & Chr(10)) & >> IIf(IsNull([Address2]);"";[Address2] & Chr(13) & Chr(10)) & >> IIf(IsNull([Communication]);"";[Communication]) & Chr(13) & Chr(10) & >> IIf(IsNull([PROD_E_MAIL]);"";[PROD_E_MAIL]) & Chr(13) & Chr(10) >> >> but in case one of the in between Production and Addess2 records are >> blank >> and PROD_E_MAIL is not, then it seems it doesn't eliminate the vertical >> space holding white space >> am I doing something wrong or it needs to CanShrink the Details too? >> > > There is a difference between Null an empty string ("").. If you are > getting a vertical blank line, I'd suspect that one of the fields contains > an empty string rather than a Null. > > Try replacing IsNull with NZ([Production],"") = "" > > > > > -- > Stuart > > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > > From Gustav at cactus.dk Sun Jun 5 03:52:53 2005 From: Gustav at cactus.dk (Gustav Brock) Date: Sun, 05 Jun 2005 10:52:53 +0200 Subject: [AccessD] Trying to Eliminate white space in a report itdoesn'twork Message-ID: Hi Kostas Adjust it to: SELECT RT_AM_production.AM, [Producer] & (" / " + [person]) AS Production, RT_AM_production.PROD_ADDRESS, ([PROD_CODE] + " ") & [town] & (" " + [country]) AS Address2, ("Tel: " + [PROD_TLE]) & (" Fax: " + [PROD_FAX]) AS Communication, RT_AM_production.PROD_E_MAIL FROM T_town RIGHT JOIN (T_producer RIGHT JOIN (T_person RIGHT JOIN (T_country RIGHT JOIN RT_AM_production ON T_country.ID_country = RT_AM_production.ID_PROD_COUNTRY) ON T_person.ID_person = RT_AM_production.ID_PROD_PERSON) ON T_producer.ID_producer = RT_AM_production.IDproducer) ON T_town.IDDIR_TOWN = RT_AM_production.ID_PROD_TOWN; This will return Null values for empty fields, and now your code in the report will work and can be reduced to this: =([Production] + Chr(13) & Chr(10)) & ([PROD_ADDRESS] + Chr(13) & Chr(10)) & ([Address2] + & Chr(13) & Chr(10)) & ([Communication] + Chr(13) & Chr(10)) & [PROD_E_MAIL] The plus sign has the effect that (Null + somestring) is still Null. /gustav >>> kost36 at otenet.gr 06/05 8:59 am >>> Mike & Doris and Stuart thank's a lot for your responses here is the query on which the report is based on SELECT RT_AM_production.AM, IIf(IsNull([Producer]),"",[Producer]) & IIf(IsNull([person]),"",(" / " & [person])) AS Production, RT_AM_production.PROD_ADDRESS, IIf([PROD_CODE] Is Null,[town] & "" & [country],[PROD_CODE] & "" & [town] & "" & [country]) AS Address2, IIf(IsNull([PROD_TLE]),"",("Tel: " & [PROD_TLE])) & IIf(IsNull([PROD_FAX]),"",(" Fax: " & [PROD_FAX])) AS Communication, RT_AM_production.PROD_E_MAIL FROM T_town RIGHT JOIN (T_producer RIGHT JOIN (T_person RIGHT JOIN (T_country RIGHT JOIN RT_AM_production ON T_country.ID_country = RT_AM_production.ID_PROD_COUNTRY) ON T_person.ID_person = RT_AM_production.ID_PROD_PERSON) ON T_producer.ID_producer = RT_AM_production.IDproducer) ON T_town.IDDIR_TOWN = RT_AM_production.ID_PROD_TOWN; Running it seems to keep no blank spaces into the records. The problem must be between fields Address2 and Communication but I cant understand the real reason thank's / kostas ----- Original Message ----- From: "Stuart McLachlan" To: "Access Developers discussion and problem solving" Sent: Sunday, June 05, 2005 3:55 AM Subject: Re: [AccessD] Trying to Eliminate white space in a report it doesn'twork > On 4 Jun 2005 at 21:58, Kostas Konstantinidis wrote: > >> Hi all, >> in a report I use the follown >> >> =IIf(IsNull([Production]);"";[Production] & Chr(13) & Chr(10)) & >> IIf(IsNull([PROD_ADDRESS]);"";[PROD_ADDRESS] & Chr(13) & Chr(10)) & >> IIf(IsNull([Address2]);"";[Address2] & Chr(13) & Chr(10)) & >> IIf(IsNull([Communication]);"";[Communication]) & Chr(13) & Chr(10) & >> IIf(IsNull([PROD_E_MAIL]);"";[PROD_E_MAIL]) & Chr(13) & Chr(10) >> >> but in case one of the in between Production and Addess2 records are >> blank >> and PROD_E_MAIL is not, then it seems it doesn't eliminate the vertical >> space holding white space >> am I doing something wrong or it needs to CanShrink the Details too? >> > > There is a difference between Null an empty string ("").. If you are > getting a vertical blank line, I'd suspect that one of the fields contains > an empty string rather than a Null. > > Try replacing IsNull with NZ([Production],"") = "" From kost36 at otenet.gr Sun Jun 5 04:44:21 2005 From: kost36 at otenet.gr (Kostas Konstantinidis) Date: Sun, 5 Jun 2005 12:44:21 +0300 Subject: [AccessD] Trying to Eliminate white space in a reportitdoesn'twork References: Message-ID: <00bd01c569b3$268e9c70$07a1fea9@studio2> Gustav thank's now it works perfect /kostas ----- Original Message ----- From: "Gustav Brock" To: Sent: Sunday, June 05, 2005 11:52 AM Subject: Re: [AccessD] Trying to Eliminate white space in a reportitdoesn'twork > Hi Kostas > > Adjust it to: > > SELECT > RT_AM_production.AM, > [Producer] & (" / " + [person]) AS Production, > RT_AM_production.PROD_ADDRESS, > ([PROD_CODE] + " ") & [town] & (" " + [country]) AS Address2, > ("Tel: " + [PROD_TLE]) & (" Fax: " + [PROD_FAX]) AS Communication, > RT_AM_production.PROD_E_MAIL > FROM > T_town > RIGHT JOIN > (T_producer RIGHT JOIN > (T_person RIGHT JOIN > (T_country RIGHT JOIN > RT_AM_production > ON > T_country.ID_country = RT_AM_production.ID_PROD_COUNTRY) > ON > T_person.ID_person = RT_AM_production.ID_PROD_PERSON) > ON > T_producer.ID_producer = RT_AM_production.IDproducer) > ON > T_town.IDDIR_TOWN = RT_AM_production.ID_PROD_TOWN; > > This will return Null values for empty fields, and now your code in the > report will work and can be reduced to this: > > =([Production] + Chr(13) & Chr(10)) & > ([PROD_ADDRESS] + Chr(13) & Chr(10)) & > ([Address2] + & Chr(13) & Chr(10)) & > ([Communication] + Chr(13) & Chr(10)) & > [PROD_E_MAIL] > > The plus sign has the effect that (Null + somestring) is still Null. > > /gustav > >>>> kost36 at otenet.gr 06/05 8:59 am >>> > Mike & Doris and Stuart thank's a lot for your responses > here is the query on which the report is based on > > SELECT RT_AM_production.AM, IIf(IsNull([Producer]),"",[Producer]) & > IIf(IsNull([person]),"",(" / " & [person])) AS Production, > RT_AM_production.PROD_ADDRESS, IIf([PROD_CODE] Is Null,[town] & "" & > [country],[PROD_CODE] & "" & [town] & "" & [country]) AS Address2, > IIf(IsNull([PROD_TLE]),"",("Tel: " & [PROD_TLE])) & > IIf(IsNull([PROD_FAX]),"",(" Fax: " & [PROD_FAX])) AS Communication, > RT_AM_production.PROD_E_MAIL > FROM T_town RIGHT JOIN (T_producer RIGHT JOIN (T_person RIGHT JOIN > (T_country RIGHT JOIN RT_AM_production ON T_country.ID_country = > RT_AM_production.ID_PROD_COUNTRY) ON T_person.ID_person = > RT_AM_production.ID_PROD_PERSON) ON T_producer.ID_producer = > RT_AM_production.IDproducer) ON T_town.IDDIR_TOWN = > RT_AM_production.ID_PROD_TOWN; > > Running it seems to keep no blank spaces into the records. > The problem must be between fields Address2 and Communication but I > cant > understand the real reason > > thank's > / kostas > > > ----- Original Message ----- > From: "Stuart McLachlan" > To: "Access Developers discussion and problem solving" > > Sent: Sunday, June 05, 2005 3:55 AM > Subject: Re: [AccessD] Trying to Eliminate white space in a report it > doesn'twork > > >> On 4 Jun 2005 at 21:58, Kostas Konstantinidis wrote: >> >>> Hi all, >>> in a report I use the follown >>> >>> =IIf(IsNull([Production]);"";[Production] & Chr(13) & Chr(10)) & >>> IIf(IsNull([PROD_ADDRESS]);"";[PROD_ADDRESS] & Chr(13) & Chr(10)) & >>> IIf(IsNull([Address2]);"";[Address2] & Chr(13) & Chr(10)) & >>> IIf(IsNull([Communication]);"";[Communication]) & Chr(13) & Chr(10) > & >>> IIf(IsNull([PROD_E_MAIL]);"";[PROD_E_MAIL]) & Chr(13) & Chr(10) >>> >>> but in case one of the in between Production and Addess2 records > are >>> blank >>> and PROD_E_MAIL is not, then it seems it doesn't eliminate the > vertical >>> space holding white space >>> am I doing something wrong or it needs to CanShrink the Details > too? >>> >> >> There is a difference between Null an empty string ("").. If you > are >> getting a vertical blank line, I'd suspect that one of the fields > contains >> an empty string rather than a Null. >> >> Try replacing IsNull with NZ([Production],"") = "" > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > > From bgeldart at verizon.net Sun Jun 5 09:49:47 2005 From: bgeldart at verizon.net (Bob Geldart) Date: Sun, 05 Jun 2005 10:49:47 -0400 Subject: [AccessD] The Sleep Advisor - Version 5 - Call for Beta Testers In-Reply-To: <010d01c56601$38f04cc0$6501a8c0@HAL9004> References: <010d01c56601$38f04cc0$6501a8c0@HAL9004> Message-ID: <6.2.1.2.0.20050605104652.040f9d38@incoming.verizon.net> Rocky, If you are still looking for beta testers, I'll take a look. I've had sleep problems off and on for some time. Not as bad now as when I was in college. My son has also had some problems, too, so I may have him take it too. I'm currently using Access 2003, so the mde version might be better. Thanks, Bob At 5/31/2005 12:53 PM, you wrote: >Dear List: > >Version 5 of The Sleep Advisor is now ready for beta testing: > >There is a Wise/Sagekey run-time download available at >http://www.drnaiman.com/sleepad.php >or for those of you who have Access 2003 you can email me off line and >I'll send you just the mde. Bob Geldart BGeldart at verizon.net Maynard, MA From jwcolby at colbyconsulting.com Sun Jun 5 16:24:04 2005 From: jwcolby at colbyconsulting.com (John W. Colby) Date: Sun, 05 Jun 2005 17:24:04 -0400 Subject: [AccessD] Arrow keys in Excel Message-ID: <000e01c56a14$eaafd810$6c7aa8c0@ColbyM6805> Does anyone know why the arrow keys do not move the cursor in Excel? John W. Colby www.ColbyConsulting.com Contribute your unused CPU cycles to a good cause: http://folding.stanford.edu/ From dwaters at usinternet.com Sun Jun 5 16:37:29 2005 From: dwaters at usinternet.com (Dan Waters) Date: Sun, 5 Jun 2005 16:37:29 -0500 Subject: [AccessD] Arrow keys in Excel In-Reply-To: <16642981.1118007213908.JavaMail.root@sniper15> Message-ID: <000001c56a16$c6c0b530$0300a8c0@danwaters> John, I just tried it. If you've double-clicked in a cell with text/numbers, then the arrow keys do move the cursor. Otherwise the arrow keys move your cell selection. Dan Waters -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of John W. Colby Sent: Sunday, June 05, 2005 4:24 PM To: 'Access Developers discussion and problem solving' Subject: [AccessD] Arrow keys in Excel Does anyone know why the arrow keys do not move the cursor in Excel? 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 stuart at lexacorp.com.pg Sun Jun 5 16:57:54 2005 From: stuart at lexacorp.com.pg (Stuart McLachlan) Date: Mon, 06 Jun 2005 07:57:54 +1000 Subject: [AccessD] Arrow keys in Excel In-Reply-To: <000e01c56a14$eaafd810$6c7aa8c0@ColbyM6805> Message-ID: <42A40202.17252.EF8DBCA@stuart.lexacorp.com.pg> On 5 Jun 2005 at 17:24, John W. Colby wrote: > Does anyone know why the arrow keys do not move the cursor in Excel? > Because you've got "scroll lock" in? -- Stuart From relations at rescom.cc Sun Jun 5 18:16:56 2005 From: relations at rescom.cc (Res-Com Environmental) Date: Sun, 5 Jun 2005 16:16:56 -0700 Subject: [AccessD] Another Commission Dilemma Message-ID: Dear List: We have another problem with the commission structure we are trying to setup. The boss wants the current system where we enter customer and sales info into the tblCustomers and tblOrders tables. The tblEmployees tracks each employees sale. We also have a tblReturns for those orders that get returned. The commission system we use now is in Excel and we would like to integrate it into Access fully. I'm relatively new to database design and am trying to design a system where each week the sales get totaled for each employee and they get setup on a special commission structure where: 0-2 sales = no commission, 0-7 = regular commission %, 8+ sales would get a different commission % as the sales add up. This is because we have integrated a flat bonus amount ($50 for 8-10 sales, $100 for 10-12 sales, $150 for 10-15, etc, etc.) and we have to change the commission % for each sale to accommodate this flat bonus amount. However, there is also another variable. There is a special bonus if the entire sales staff meets a goal that every salesperson who received 5+ sales that week will receive. It goes $75 for 60-69, $100 for 70-79 and so forth. What I need to do is produce a system where it looks at both individual sales and group sales to produce the total commission amount for each salesperson on a weekly basis. After this I would need to integrate a deduction system for order returns and random deductions for employee tardiness, corrective action, etc. If anyone can help me with any part of the design for this project it would be greatly appreciated. Sincerely, Adam Faulkner Res-Com From jwcolby at colbyconsulting.com Sun Jun 5 19:01:42 2005 From: jwcolby at colbyconsulting.com (John W. Colby) Date: Sun, 05 Jun 2005 20:01:42 -0400 Subject: [AccessD] Arrow keys in Excel In-Reply-To: <42A40202.17252.EF8DBCA@stuart.lexacorp.com.pg> Message-ID: <001101c56a2a$ef846890$6c7aa8c0@ColbyM6805> Nope. What it is doing is causing the spreadsheet to scroll up and down instead of the cursor move to the next cell. John W. Colby www.ColbyConsulting.com Contribute your unused CPU cycles to 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: Sunday, June 05, 2005 5:58 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Arrow keys in Excel On 5 Jun 2005 at 17:24, John W. Colby wrote: > Does anyone know why the arrow keys do not move the cursor in Excel? > Because you've got "scroll lock" in? -- 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 Sun Jun 5 21:25:11 2005 From: stuart at lexacorp.com.pg (Stuart McLachlan) Date: Mon, 06 Jun 2005 12:25:11 +1000 Subject: [AccessD] Arrow keys in Excel In-Reply-To: <001101c56a2a$ef846890$6c7aa8c0@ColbyM6805> References: <42A40202.17252.EF8DBCA@stuart.lexacorp.com.pg> Message-ID: <42A440A7.14795.FED8D07@stuart.lexacorp.com.pg> On 5 Jun 2005 at 20:01, John W. Colby wrote: > Nope. What it is doing is causing the spreadsheet to scroll up and down > instead of the cursor move to the next cell. > That's what happens when you have "Scroll Lock" turned on. The Scroll Lock key on your keyboard is a toggle, just like Caps lock and Num Lock. -- Stuart From jwcolby at colbyconsulting.com Sun Jun 5 21:35:34 2005 From: jwcolby at colbyconsulting.com (John W. Colby) Date: Sun, 05 Jun 2005 22:35:34 -0400 Subject: [AccessD] Arrow keys in Excel In-Reply-To: <42A440A7.14795.FED8D07@stuart.lexacorp.com.pg> Message-ID: <001201c56a40$6d959d20$6c7aa8c0@ColbyM6805> Yes, I understand that, but in this case it happens whether or not I have scroll lock on. This is my laptop and there is a blue led that tells me if the scroll lock is on. On or off, the arrow keys act the same. I am guessing there is some setting in Excel but I haven't found 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 Stuart McLachlan Sent: Sunday, June 05, 2005 10:25 PM To: Access Developers discussion and problem solving Subject: RE: [AccessD] Arrow keys in Excel On 5 Jun 2005 at 20:01, John W. Colby wrote: > Nope. What it is doing is causing the spreadsheet to scroll up and > down instead of the cursor move to the next cell. > That's what happens when you have "Scroll Lock" turned on. The Scroll Lock key on your keyboard is a toggle, just like Caps lock and Num Lock. -- 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 Sun Jun 5 22:18:49 2005 From: stuart at lexacorp.com.pg (Stuart McLachlan) Date: Mon, 06 Jun 2005 13:18:49 +1000 Subject: [AccessD] Arrow keys in Excel In-Reply-To: <001201c56a40$6d959d20$6c7aa8c0@ColbyM6805> References: <42A440A7.14795.FED8D07@stuart.lexacorp.com.pg> Message-ID: <42A44D39.24659.101EA831@stuart.lexacorp.com.pg> On 5 Jun 2005 at 22:35, John W. Colby wrote: > Yes, I understand that, but in this case it happens whether or not I have > scroll lock on. This is my laptop and there is a blue led that tells me if > the scroll lock is on. On or off, the arrow keys act the same. I am > guessing there is some setting in Excel but I haven't found it. > AFAIK, it's purely based on the Scroll Lock state. Check whether the status bar at the bottom right of the Excel window has "SCRL" showing. If so, I'd suspect a hardware problem with your Scroll Lock key. -- Stuart From jmhecht at earthlink.net Sun Jun 5 22:23:54 2005 From: jmhecht at earthlink.net (Joe Hecht) Date: Sun, 5 Jun 2005 20:23:54 -0700 Subject: [AccessD] Is this a really bad Idea in my purchase order database? Message-ID: <000001c56a47$2be64260$6401a8c0@laptop1> I have a multiple table query where one field is dept id on my POmaster table. SELECT DISTINCTROW PurchaseOrders.PurchaseOrderID, Vendors.VendorName, Vendors.Address, Vendors.City, Vendors.State, Vendors.Zip, Vendors.Phone, Vendors.Fax, PurchaseOrders.DateOrdered, PurchaseOrders.DateRequired, PurchaseOrders.ShippingMethodID, Locations.LocationName, Locations.LocationAddress, Locations.LocationCity, Locations.LocationState, Locations.LocationZip, Locations.LocationPhone, Locations.LocationFax, [City] & " " & [State] & " " & [Zip] AS VendaddLine3, [LocationCity] & " " & [LocationState] & " " & [LocationZip] AS LocationAddLine3, [Shipping Methods].ShippingMethod, PurchaseOrders.Notes, PurchaseOrders.Initails, Locations.LocationID, PurchaseOrders.Dept FROM Locations INNER JOIN ([Shipping Methods] INNER JOIN (Vendors INNER JOIN PurchaseOrders ON Vendors.VendorID = PurchaseOrders.VendorID) ON [Shipping Methods].ShippingMethodID = PurchaseOrders.ShippingMethodID) ON Locations.LocationID = PurchaseOrders.LocationID WHERE (((PurchaseOrders.PurchaseOrderID)=[Forms]![PurchaseOrders]![PurchaseOrderID ])); The above works properly. If I try to add the department table, I get ambigious outer join error. I can fix that by making a second query. The department is a static item. Is it really bad or wrong to store the actual department in the table rather than the Dept ID to reduce the number of queries and generally make the DB work better? I expect to be here till at least midnight PST if anyone has suggestions? Joe Hecht Los Angeles CA From jwcolby at colbyconsulting.com Sun Jun 5 22:27:41 2005 From: jwcolby at colbyconsulting.com (John W. Colby) Date: Sun, 05 Jun 2005 23:27:41 -0400 Subject: [AccessD] Arrow keys in Excel In-Reply-To: <42A44D39.24659.101EA831@stuart.lexacorp.com.pg> Message-ID: <001301c56a47$b25def50$6c7aa8c0@ColbyM6805> ROTFL. THANKS. I never knew the scroll lock indicator was there in Excel, and yes, it WAS on, and it turns out I need to tap the function key WITHOUT the FN shift key. All is fine now. I have a 4 year old boy who is probably the culprit here. Thanks! John W. Colby www.ColbyConsulting.com Contribute your unused CPU cycles to 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: Sunday, June 05, 2005 11:19 PM To: Access Developers discussion and problem solving Subject: RE: [AccessD] Arrow keys in Excel On 5 Jun 2005 at 22:35, John W. Colby wrote: > Yes, I understand that, but in this case it happens whether or not I > have scroll lock on. This is my laptop and there is a blue led that > tells me if the scroll lock is on. On or off, the arrow keys act the > same. I am guessing there is some setting in Excel but I haven't > found it. > AFAIK, it's purely based on the Scroll Lock state. Check whether the status bar at the bottom right of the Excel window has "SCRL" showing. If so, I'd suspect a hardware problem with your Scroll Lock key. -- Stuart -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From jmhecht at earthlink.net Sun Jun 5 22:32:24 2005 From: jmhecht at earthlink.net (Joe Hecht) Date: Sun, 5 Jun 2005 20:32:24 -0700 Subject: [AccessD] Arrow keys in Excel In-Reply-To: <001301c56a47$b25def50$6c7aa8c0@ColbyM6805> Message-ID: <000501c56a48$5bcd54e0$6401a8c0@laptop1> Sure John, Blame some one else ; ) 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: Sunday, June 05, 2005 8:28 PM To: 'Access Developers discussion and problem solving' Subject: RE: [AccessD] Arrow keys in Excel ROTFL. THANKS. I never knew the scroll lock indicator was there in Excel, and yes, it WAS on, and it turns out I need to tap the function key WITHOUT the FN shift key. All is fine now. I have a 4 year old boy who is probably the culprit here. Thanks! John W. Colby www.ColbyConsulting.com Contribute your unused CPU cycles to 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: Sunday, June 05, 2005 11:19 PM To: Access Developers discussion and problem solving Subject: RE: [AccessD] Arrow keys in Excel On 5 Jun 2005 at 22:35, John W. Colby wrote: > Yes, I understand that, but in this case it happens whether or not I > have scroll lock on. This is my laptop and there is a blue led that > tells me if the scroll lock is on. On or off, the arrow keys act the > same. I am guessing there is some setting in Excel but I haven't > found it. > AFAIK, it's purely based on the Scroll Lock state. Check whether the status bar at the bottom right of the Excel window has "SCRL" showing. If so, I'd suspect a hardware problem with your Scroll Lock key. -- 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 jwcolby at colbyconsulting.com Sun Jun 5 22:49:49 2005 From: jwcolby at colbyconsulting.com (John W. Colby) Date: Sun, 05 Jun 2005 23:49:49 -0400 Subject: [AccessD] Arrow keys in Excel In-Reply-To: <000501c56a48$5bcd54e0$6401a8c0@laptop1> Message-ID: <001401c56a4a$c9c6f2b0$6c7aa8c0@ColbyM6805> LOL. Hey, when you have a 4 year old boy, it is easy to believe. ;-) John W. Colby www.ColbyConsulting.com Contribute your unused CPU cycles to 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: Sunday, June 05, 2005 11:32 PM To: 'Access Developers discussion and problem solving' Subject: RE: [AccessD] Arrow keys in Excel Sure John, Blame some one else ; ) 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: Sunday, June 05, 2005 8:28 PM To: 'Access Developers discussion and problem solving' Subject: RE: [AccessD] Arrow keys in Excel ROTFL. THANKS. I never knew the scroll lock indicator was there in Excel, and yes, it WAS on, and it turns out I need to tap the function key WITHOUT the FN shift key. All is fine now. I have a 4 year old boy who is probably the culprit here. Thanks! John W. Colby www.ColbyConsulting.com Contribute your unused CPU cycles to 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: Sunday, June 05, 2005 11:19 PM To: Access Developers discussion and problem solving Subject: RE: [AccessD] Arrow keys in Excel On 5 Jun 2005 at 22:35, John W. Colby wrote: > Yes, I understand that, but in this case it happens whether or not I > have scroll lock on. This is my laptop and there is a blue led that > tells me if the scroll lock is on. On or off, the arrow keys act the > same. I am guessing there is some setting in Excel but I haven't > found it. > AFAIK, it's purely based on the Scroll Lock state. Check whether the status bar at the bottom right of the Excel window has "SCRL" showing. If so, I'd suspect a hardware problem with your Scroll Lock key. -- 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 -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From jmhecht at earthlink.net Sun Jun 5 22:52:43 2005 From: jmhecht at earthlink.net (Joe Hecht) Date: Sun, 5 Jun 2005 20:52:43 -0700 Subject: [AccessD] Arrow keys in Excel In-Reply-To: <001401c56a4a$c9c6f2b0$6c7aa8c0@ColbyM6805> Message-ID: <000601c56a4b$3260bfe0$6401a8c0@laptop1> I have me to louse up my work. I do need any help. See my other post? 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: Sunday, June 05, 2005 8:50 PM To: 'Access Developers discussion and problem solving' Subject: RE: [AccessD] Arrow keys in Excel LOL. Hey, when you have a 4 year old boy, it is easy to believe. ;-) John W. Colby www.ColbyConsulting.com Contribute your unused CPU cycles to 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: Sunday, June 05, 2005 11:32 PM To: 'Access Developers discussion and problem solving' Subject: RE: [AccessD] Arrow keys in Excel Sure John, Blame some one else ; ) 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: Sunday, June 05, 2005 8:28 PM To: 'Access Developers discussion and problem solving' Subject: RE: [AccessD] Arrow keys in Excel ROTFL. THANKS. I never knew the scroll lock indicator was there in Excel, and yes, it WAS on, and it turns out I need to tap the function key WITHOUT the FN shift key. All is fine now. I have a 4 year old boy who is probably the culprit here. Thanks! John W. Colby www.ColbyConsulting.com Contribute your unused CPU cycles to 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: Sunday, June 05, 2005 11:19 PM To: Access Developers discussion and problem solving Subject: RE: [AccessD] Arrow keys in Excel On 5 Jun 2005 at 22:35, John W. Colby wrote: > Yes, I understand that, but in this case it happens whether or not I > have scroll lock on. This is my laptop and there is a blue led that > tells me if the scroll lock is on. On or off, the arrow keys act the > same. I am guessing there is some setting in Excel but I haven't > found it. > AFAIK, it's purely based on the Scroll Lock state. Check whether the status bar at the bottom right of the Excel window has "SCRL" showing. If so, I'd suspect a hardware problem with your Scroll Lock key. -- 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 -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd 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 Sun Jun 5 23:01:11 2005 From: jmhecht at earthlink.net (Joe Hecht) Date: Sun, 5 Jun 2005 21:01:11 -0700 Subject: [AccessD] Arrow keys in Excel In-Reply-To: <001401c56a4a$c9c6f2b0$6c7aa8c0@ColbyM6805> Message-ID: <000c01c56a4c$60df1aa0$6401a8c0@laptop1> Besides, I a missing half the code for one of those : ( 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: Sunday, June 05, 2005 8:50 PM To: access at joe2.endjunk.com; 'Access Developers discussion and problem solving' Subject: RE: [AccessD] Arrow keys in Excel LOL. Hey, when you have a 4 year old boy, it is easy to believe. ;-) John W. Colby www.ColbyConsulting.com Contribute your unused CPU cycles to 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: Sunday, June 05, 2005 11:32 PM To: 'Access Developers discussion and problem solving' Subject: RE: [AccessD] Arrow keys in Excel Sure John, Blame some one else ; ) 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: Sunday, June 05, 2005 8:28 PM To: 'Access Developers discussion and problem solving' Subject: RE: [AccessD] Arrow keys in Excel ROTFL. THANKS. I never knew the scroll lock indicator was there in Excel, and yes, it WAS on, and it turns out I need to tap the function key WITHOUT the FN shift key. All is fine now. I have a 4 year old boy who is probably the culprit here. Thanks! John W. Colby www.ColbyConsulting.com Contribute your unused CPU cycles to 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: Sunday, June 05, 2005 11:19 PM To: Access Developers discussion and problem solving Subject: RE: [AccessD] Arrow keys in Excel On 5 Jun 2005 at 22:35, John W. Colby wrote: > Yes, I understand that, but in this case it happens whether or not I > have scroll lock on. This is my laptop and there is a blue led that > tells me if the scroll lock is on. On or off, the arrow keys act the > same. I am guessing there is some setting in Excel but I haven't > found it. > AFAIK, it's purely based on the Scroll Lock state. Check whether the status bar at the bottom right of the Excel window has "SCRL" showing. If so, I'd suspect a hardware problem with your Scroll Lock key. -- 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 -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd 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 Sun Jun 5 23:22:08 2005 From: jmhecht at earthlink.net (Joe Hecht) Date: Sun, 5 Jun 2005 21:22:08 -0700 Subject: [AccessD] Anyone out there Message-ID: <001201c56a4f$4e3b58c0$6401a8c0@laptop1> It is 9:20 here in LA Sunday night. Anyone out there? I am deep trouble with a database. Joe Hecht Los Angeles CA From martyconnelly at shaw.ca Sun Jun 5 23:55:44 2005 From: martyconnelly at shaw.ca (MartyConnelly) Date: Sun, 05 Jun 2005 21:55:44 -0700 Subject: [AccessD] Anyone out there References: <001201c56a4f$4e3b58c0$6401a8c0@laptop1> Message-ID: <42A3D750.1070105@shaw.ca> Nobody here but us chickens. Joe Hecht wrote: >It is 9:20 here in LA Sunday night. > >Anyone out there? I am deep trouble with a database. > >Joe Hecht >Los Angeles CA > > > -- Marty Connelly Victoria, B.C. Canada From bchacc at san.rr.com Mon Jun 6 00:01:24 2005 From: bchacc at san.rr.com (Rocky Smolin - Beach Access Software) Date: Sun, 5 Jun 2005 22:01:24 -0700 Subject: [AccessD] For Charles Hise - Fw: Returned mail: see transcript for details Message-ID: <01ee01c56a54$ca09e390$6901a8c0@HAL9004> Charles Hise: I'm trying to send you the Sleep Advisor but your address seems to be hosed. Do you have another one? Rocky ----- Original Message ----- From: "Mail Delivery Subsystem" To: Sent: Sunday, June 05, 2005 8:39 PM Subject: Returned mail: see transcript for details > The original message was received at Fri, 3 Jun 2005 18:23:44 -0700 (PDT) > from cpe-24-25-217-158.san.res.rr.com [24.25.217.158] > > ----- The following addresses had permanent fatal errors ----- > > > ----- Transcript of session follows ----- > ... Deferred: Connection refused by charterr.net. > Message could not be delivered for 2 days > Message will be deleted from queue > -------------------------------------------------------------------------------- > Received: from HAL9004 (cpe-24-25-217-158.san.res.rr.com [24.25.217.158]) > by ms-smtp-03-eri0.socal.rr.com (8.12.10/8.12.7) with SMTP id > j541NigQ013736 > for ; Fri, 3 Jun 2005 18:23:44 -0700 (PDT) > Message-ID: <07ce01c568a4$0bea31f0$6901a8c0 at HAL9004> > From: "Rocky Smolin - Beach Access Software" > To: > Subject: Fw: Returned mail: see transcript for details > Date: Fri, 3 Jun 2005 18:23:42 -0700 > MIME-Version: 1.0 > Content-Type: text/plain; > format=flowed; > charset="iso-8859-1"; > reply-type=response > Content-Transfer-Encoding: 7bit > X-Priority: 3 > X-MSMail-Priority: Normal > X-Mailer: Microsoft Outlook Express 6.00.2900.2180 > X-MIMEOLE: Produced By Microsoft MimeOLE V6.00.2900.2180 > X-Virus-Scanned: Symantec AntiVirus Scan Engine > From jmhecht at earthlink.net Mon Jun 6 00:03:25 2005 From: jmhecht at earthlink.net (Joe Hecht) Date: Sun, 5 Jun 2005 22:03:25 -0700 Subject: [AccessD] Anyone out there In-Reply-To: <42A3D750.1070105@shaw.ca> Message-ID: <000001c56a55$12822290$6401a8c0@laptop1> Marty, You do have to help me. I have one tuff problem and one that is probably easy. TIA Joe Hecht Los Angeles CA -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of MartyConnelly Sent: Sunday, June 05, 2005 9:56 PM To: access at joe2.endjunk.com; Access Developers discussion and problem solving Subject: Re: [AccessD] Anyone out there Nobody here but us chickens. Joe Hecht wrote: >It is 9:20 here in LA Sunday night. > >Anyone out there? I am deep trouble with a database. > >Joe Hecht >Los Angeles CA > > > -- 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 jmhecht at earthlink.net Mon Jun 6 00:09:31 2005 From: jmhecht at earthlink.net (Joe Hecht) Date: Sun, 5 Jun 2005 22:09:31 -0700 Subject: [AccessD] Anyone out there In-Reply-To: <000001c56a55$12822290$6401a8c0@laptop1> Message-ID: <001201c56a55$ecdcb9a0$6401a8c0@laptop1> That was well butchered. Do you have time to help me tonight? Joe Hecht Los Angeles CA -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Joe Hecht Sent: Sunday, June 05, 2005 10:03 PM To: access at joe2.endjunk.com; 'Access Developers discussion and problem solving' Subject: RE: [AccessD] Anyone out there Marty, You do have to help me. I have one tuff problem and one that is probably easy. TIA Joe Hecht Los Angeles CA -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of MartyConnelly Sent: Sunday, June 05, 2005 9:56 PM To: access at joe2.endjunk.com; Access Developers discussion and problem solving Subject: Re: [AccessD] Anyone out there Nobody here but us chickens. Joe Hecht wrote: >It is 9:20 here in LA Sunday night. > >Anyone out there? I am deep trouble with a database. > >Joe Hecht >Los Angeles CA > > > -- 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 jeff at boyes.net Mon Jun 6 00:13:12 2005 From: jeff at boyes.net (Jeff) Date: Sun, 5 Jun 2005 23:13:12 -0600 Subject: [AccessD] Anyone out there In-Reply-To: <001201c56a4f$4e3b58c0$6401a8c0@laptop1> Message-ID: <200506060513.j565D7s01849@databaseadvisors.com> Joe... 11:15 in Colorado right now...What's the problem? Jeff -----Original Message----- From: Joe Hecht [mailto:jmhecht at earthlink.net] Sent: Sunday, June 05, 2005 10:22 PM To: 'Access Developers discussion and problem solving' Subject: [AccessD] Anyone out there It is 9:20 here in LA Sunday night. Anyone out there? I am deep trouble with a database. Joe Hecht Los Angeles CA -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From jmhecht at earthlink.net Mon Jun 6 00:26:35 2005 From: jmhecht at earthlink.net (Joe Hecht) Date: Sun, 5 Jun 2005 22:26:35 -0700 Subject: [AccessD] Anyone out there In-Reply-To: <200506060513.j565D7s01849@databaseadvisors.com> Message-ID: <001301c56a58$4efd0c00$6401a8c0@laptop1> Thanks Jeff This is the sequence I open a form to show a Purchase order. It shows the first record. I hit the print preview and all is ok. I go to other records and the report shows multiple errors and missing data. I am going nuts trying to get it. Any thoughts? Joe Hecht Los Angeles CA -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Jeff Sent: Sunday, June 05, 2005 10:13 PM To: 'Access Developers discussion and problem solving' Subject: RE: [AccessD] Anyone out there Joe... 11:15 in Colorado right now...What's the problem? Jeff -----Original Message----- From: Joe Hecht [mailto:jmhecht at earthlink.net] Sent: Sunday, June 05, 2005 10:22 PM To: 'Access Developers discussion and problem solving' Subject: [AccessD] Anyone out there It is 9:20 here in LA Sunday night. Anyone out there? I am deep trouble with a database. 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 From kost36 at otenet.gr Mon Jun 6 01:12:42 2005 From: kost36 at otenet.gr (Kostas Konstantinidis) Date: Mon, 6 Jun 2005 09:12:42 +0300 Subject: [AccessD] Separate selected records from a table References: <001201c56a4f$4e3b58c0$6401a8c0@laptop1> <42A3D750.1070105@shaw.ca> Message-ID: <00a301c56a5e$bffd8460$07a1fea9@studio2> Hi again :) in a table there are names and in some cases there are two names with a "," between them What I want to do is to separate only the records keeping the second name. I tried the follown 1st: Right$([director];Len([director])-InStr(1;[director];",")) 2nd: Left$([director];InStr(1;[director];",")-1) but it returns with 2 problems 1. in 2nd (Left$) #ERROR for the blank records 2. in 1st (Right$) a space " " in the begginning of the separated records thank's /kostas From martyconnelly at shaw.ca Mon Jun 6 01:13:35 2005 From: martyconnelly at shaw.ca (MartyConnelly) Date: Sun, 05 Jun 2005 23:13:35 -0700 Subject: [AccessD] Anyone out there References: <001301c56a58$4efd0c00$6401a8c0@laptop1> Message-ID: <42A3E98F.90906@shaw.ca> Look at the query feeding the report, if you can't see anything obvious try a full decompile Do a backup before the /decompile. 1a) Create a shortcut with the following "C:\Program Files\Microsoft Office\Office\MSACCESS.EXE" "d:\My Documents\access\mayapp.mdb" /decompile As appropriate for your environment of course. Note that if your path to your MDB contains a space it must be enclosed in double quotes just as the MSACCESS.EXE component. You can create a short cut but right clicking in the directory of your choice, highlighting new and creating or 1b) Create a one line .bat or .cmd line with the above text in it it using notepad. Hint: Right click in your directory of choice, highlight new and select Text Document. You will be presented with a new file named "New Text Document.txt" or similar. Rename that file to something like "decompile.bat". Then right click that file and select edit. Notepad should then run opening up that file. 2) Click on the short cut or click on the .bat or .cmd file and, in Access 97, you'll get the message "... has converted the code in ... to your current version of Visual Basic". This message does not appear in Access 2000 or newer. Hold the shift key down when you click on Okay so the MDBs autoexec macro won't execute or the start-up form will not be opened. If you have any class modules exit the MDB and re-enter it. This will keep the class modules intact. 3) Now compact the MDB to clean out the old VBA code.. 4) Hit Ctrl+G to open the debug/immediate window or go into any module and click on Debug. If Access 97 click on Compile and Save All Modules. If Access 2000 or newer click on Compile. Compiling is particularly important to see if there were any problems and for performance reasons. 5) Then compact again. Joe Hecht wrote: >Thanks Jeff > >This is the sequence > >I open a form to show a Purchase order. It shows the first record. I hit the >print preview and all is ok. > >I go to other records and the report shows multiple errors and missing data. >I am going nuts trying to get it. > >Any thoughts? > >Joe Hecht >Los Angeles CA > >-----Original Message----- >From: accessd-bounces at databaseadvisors.com >[mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Jeff >Sent: Sunday, June 05, 2005 10:13 PM >To: 'Access Developers discussion and problem solving' >Subject: RE: [AccessD] Anyone out there > >Joe... > >11:15 in Colorado right now...What's the problem? > >Jeff > > >-----Original Message----- >From: Joe Hecht [mailto:jmhecht at earthlink.net] >Sent: Sunday, June 05, 2005 10:22 PM >To: 'Access Developers discussion and problem solving' >Subject: [AccessD] Anyone out there > >It is 9:20 here in LA Sunday night. > >Anyone out there? I am deep trouble with a database. > >Joe Hecht >Los Angeles CA > >-- >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 Bruce.Bruen at railcorp.nsw.gov.au Mon Jun 6 01:28:30 2005 From: Bruce.Bruen at railcorp.nsw.gov.au (Bruen, Bruce) Date: Mon, 6 Jun 2005 16:28:30 +1000 Subject: [AccessD] Separate selected records from a table Message-ID: Try IIf(InStr(1,[names],",")<>0,Trim(Right$([names],Len([names])-InStr(1,[na mes],","))),Null) (replacing "names" with "director") N.B This is probably not optimal, I just juggled yours to make it work. Here's a sample: Input names returned value ahab <> bhab, chab chab dhab,ehab ehab fhab, ghab ihab ghab ihab jhab khab,lhab mhab lhab mhab ohab phab, qhab qhab rhab, <> Hth Bruce Bruen P.s. hello guys - long time no see! -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Kostas Konstantinidis Sent: Monday, 6 June 2005 4:13 PM To: Access Developers discussion and problem solving Subject: [AccessD] Separate selected records from a table Hi again :) in a table there are names and in some cases there are two names with a "," between them What I want to do is to separate only the records keeping the second name. I tried the follown 1st: Right$([director];Len([director])-InStr(1;[director];",")) 2nd: Left$([director];InStr(1;[director];",")-1) but it returns with 2 problems 1. in 2nd (Left$) #ERROR for the blank records 2. in 1st (Right$) a space " " in the begginning of the separated records thank's /kostas -- 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 Mon Jun 6 01:44:32 2005 From: jmhecht at earthlink.net (Joe Hecht) Date: Sun, 5 Jun 2005 23:44:32 -0700 Subject: [AccessD] Anyone out there In-Reply-To: <42A3E98F.90906@shaw.ca> Message-ID: <000001c56a63$329661f0$6401a8c0@laptop1> If I make.bat use the quotes? Joe Hecht Los Angeles CA -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of MartyConnelly Sent: Sunday, June 05, 2005 11:14 PM To: access at joe2.endjunk.com; Access Developers discussion and problem solving Subject: Re: [AccessD] Anyone out there Look at the query feeding the report, if you can't see anything obvious try a full decompile Do a backup before the /decompile. 1a) Create a shortcut with the following "C:\Program Files\Microsoft Office\Office\MSACCESS.EXE" "d:\My Documents\access\mayapp.mdb" /decompile As appropriate for your environment of course. Note that if your path to your MDB contains a space it must be enclosed in double quotes just as the MSACCESS.EXE component. You can create a short cut but right clicking in the directory of your choice, highlighting new and creating or 1b) Create a one line .bat or .cmd line with the above text in it it using notepad. Hint: Right click in your directory of choice, highlight new and select Text Document. You will be presented with a new file named "New Text Document.txt" or similar. Rename that file to something like "decompile.bat". Then right click that file and select edit. Notepad should then run opening up that file. 2) Click on the short cut or click on the .bat or .cmd file and, in Access 97, you'll get the message "... has converted the code in ... to your current version of Visual Basic". This message does not appear in Access 2000 or newer. Hold the shift key down when you click on Okay so the MDBs autoexec macro won't execute or the start-up form will not be opened. If you have any class modules exit the MDB and re-enter it. This will keep the class modules intact. 3) Now compact the MDB to clean out the old VBA code.. 4) Hit Ctrl+G to open the debug/immediate window or go into any module and click on Debug. If Access 97 click on Compile and Save All Modules. If Access 2000 or newer click on Compile. Compiling is particularly important to see if there were any problems and for performance reasons. 5) Then compact again. Joe Hecht wrote: >Thanks Jeff > >This is the sequence > >I open a form to show a Purchase order. It shows the first record. I hit the >print preview and all is ok. > >I go to other records and the report shows multiple errors and missing data. >I am going nuts trying to get it. > >Any thoughts? > >Joe Hecht >Los Angeles CA > >-----Original Message----- >From: accessd-bounces at databaseadvisors.com >[mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Jeff >Sent: Sunday, June 05, 2005 10:13 PM >To: 'Access Developers discussion and problem solving' >Subject: RE: [AccessD] Anyone out there > >Joe... > >11:15 in Colorado right now...What's the problem? > >Jeff > > >-----Original Message----- >From: Joe Hecht [mailto:jmhecht at earthlink.net] >Sent: Sunday, June 05, 2005 10:22 PM >To: 'Access Developers discussion and problem solving' >Subject: [AccessD] Anyone out there > >It is 9:20 here in LA Sunday night. > >Anyone out there? I am deep trouble with a database. > >Joe Hecht >Los Angeles CA > >-- >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 kost36 at otenet.gr Mon Jun 6 01:54:19 2005 From: kost36 at otenet.gr (Kostas Konstantinidis) Date: Mon, 6 Jun 2005 09:54:19 +0300 Subject: [AccessD] Separate selected records from a table References: Message-ID: <000801c56a64$903e6810$07a1fea9@studio2> Hi Bruce, thank's for your quickly response the 1st of my questions was really solved with your help /kostas ----- Original Message ----- From: "Bruen, Bruce" To: "Access Developers discussion and problem solving" Sent: Monday, June 06, 2005 9:28 AM Subject: RE: [AccessD] Separate selected records from a table > Try > > IIf(InStr(1,[names],",")<>0,Trim(Right$([names],Len([names])-InStr(1,[na > mes],","))),Null) > > (replacing "names" with "director") > > N.B This is probably not optimal, I just juggled yours to make it work. > > > Here's a sample: > Input names returned value > ahab <> > bhab, chab chab > dhab,ehab ehab > fhab, ghab ihab ghab ihab > jhab khab,lhab mhab lhab mhab > ohab phab, qhab qhab > rhab, <> > > Hth > Bruce Bruen > > P.s. hello guys - long time no see! > > > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Kostas > Konstantinidis > Sent: Monday, 6 June 2005 4:13 PM > To: Access Developers discussion and problem solving > Subject: [AccessD] Separate selected records from a table > > Hi again :) > in a table there are names and in some cases there are two names with a > "," > between them > What I want to do is to separate only the records keeping the second > name. > > I tried the follown > 1st: Right$([director];Len([director])-InStr(1;[director];",")) > 2nd: Left$([director];InStr(1;[director];",")-1) > > but it returns with 2 problems > 1. in 2nd (Left$) #ERROR for the blank records 2. in 1st (Right$) a > space " " in the begginning of the separated records > > thank's > /kostas > > > -- > 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. > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > > From kost36 at otenet.gr Mon Jun 6 04:42:47 2005 From: kost36 at otenet.gr (Kostas Konstantinidis) Date: Mon, 6 Jun 2005 12:42:47 +0300 Subject: [AccessD] Separate selected records from a table References: <000801c56a64$903e6810$07a1fea9@studio2> Message-ID: <005701c56a7c$19173f10$07a1fea9@studio2> Hi Bruce again, and how to keep the left$ without the "," thank's /kostas ----- Original Message ----- From: "Kostas Konstantinidis" To: "Access Developers discussion and problem solving" Sent: Monday, June 06, 2005 9:54 AM Subject: Re: [AccessD] Separate selected records from a table > Hi Bruce, > thank's for your quickly response > the 1st of my questions was really solved with your help > > /kostas > > > ----- Original Message ----- > From: "Bruen, Bruce" > To: "Access Developers discussion and problem solving" > > Sent: Monday, June 06, 2005 9:28 AM > Subject: RE: [AccessD] Separate selected records from a table > > >> Try >> >> IIf(InStr(1,[names],",")<>0,Trim(Right$([names],Len([names])-InStr(1,[na >> mes],","))),Null) >> >> (replacing "names" with "director") >> >> N.B This is probably not optimal, I just juggled yours to make it work. >> >> >> Here's a sample: >> Input names returned value >> ahab <> >> bhab, chab chab >> dhab,ehab ehab >> fhab, ghab ihab ghab ihab >> jhab khab,lhab mhab lhab mhab >> ohab phab, qhab qhab >> rhab, <> >> >> Hth >> Bruce Bruen >> >> P.s. hello guys - long time no see! >> >> >> >> -----Original Message----- >> From: accessd-bounces at databaseadvisors.com >> [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Kostas >> Konstantinidis >> Sent: Monday, 6 June 2005 4:13 PM >> To: Access Developers discussion and problem solving >> Subject: [AccessD] Separate selected records from a table >> >> Hi again :) >> in a table there are names and in some cases there are two names with a >> "," >> between them >> What I want to do is to separate only the records keeping the second >> name. >> >> I tried the follown >> 1st: Right$([director];Len([director])-InStr(1;[director];",")) >> 2nd: Left$([director];InStr(1;[director];",")-1) >> >> but it returns with 2 problems >> 1. in 2nd (Left$) #ERROR for the blank records 2. in 1st (Right$) a >> space " " in the begginning of the separated records >> >> thank's >> /kostas >> >> >> -- >> 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. >> -- >> AccessD mailing list >> AccessD at databaseadvisors.com >> http://databaseadvisors.com/mailman/listinfo/accessd >> Website: http://www.databaseadvisors.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 Jun 6 05:47:03 2005 From: vrm at tim-cms.com (Marcel Vreuls) Date: Mon, 6 Jun 2005 12:47:03 +0200 Subject: [AccessD] Support Solutions In-Reply-To: <20050602125051.75972.qmail@web31605.mail.mud.yahoo.com> Message-ID: <20050606064931.SM04100@ACERVREULS> Hi Group, I am wondering what support solutions you are using at this moment and which you can advice me. I browsed the net for 20 minutes and found a ziljoen applications which suggest all work perfectly. I receive about 20 e-mail a day for information request and support calls. Now I arrange this within outlook with rules. It works, but I keep losing information. I can write a own Access App and asp frontend but this cost time which I rather spent on paying customers :-). What the supportsystem must handle is: - automaticly convert incoming email to a support call and give a reply - can handle attachments/screen shots. - keep a history of call communnications. Any ideas, suggestions are welcome. I am willing to buy a good working package if someone has one. Thanks, Marcel From BarbaraRyan at cox.net Mon Jun 6 06:50:01 2005 From: BarbaraRyan at cox.net (Barbara Ryan) Date: Mon, 6 Jun 2005 07:50:01 -0400 Subject: [AccessD] Replication Message-ID: <001801c56a8d$df236920$0a00a8c0@cx470148a> I have two Access 2002 databases (appr 40 MB) that will need to be replicated on a regular (daily?) basis. The replica resides in Missouri and the design master in Virginia (at the company main office). The Missouri site has dial-up capabilities to the Norfolk network (via T1 line? --- please excuse me, this kind of stuff confuses me!). The company also has a website --- where databases can uploaded/downloaded. Any suggestions on the most efficient way to replicate a database of this size over this distance? Thanks, Barb Ryan From BarbaraRyan at cox.net Mon Jun 6 06:57:41 2005 From: BarbaraRyan at cox.net (Barbara Ryan) Date: Mon, 6 Jun 2005 07:57:41 -0400 Subject: [AccessD] Replication Message-ID: <002101c56a8e$f1aeeb40$0a00a8c0@cx470148a> Another question ---- I created a Design Master in Access 97 (when opened in Access 97, the title bar says "Design Master"). When I convert this Design Master to Access 2002, the title bar says "Replica". How can I convert a 97 Design Master to a 2002 Design Master? Thanks Again, Barb Ryan From bheid at appdevgrp.com Mon Jun 6 07:40:09 2005 From: bheid at appdevgrp.com (Bobby Heid) Date: Mon, 6 Jun 2005 08:40:09 -0400 Subject: [AccessD] Copyright stuff Message-ID: <916187228923D311A6FE00A0CC3FAA30ABEBEB@ADGSERVER> Hey, I have an app that I wrote for a church. They are interested in selling it to some other local churches. They asked me to find out about copyrighting it. What do I need to know about copyrights? Thanks, Bobby From jmhecht at earthlink.net Mon Jun 6 09:15:28 2005 From: jmhecht at earthlink.net (Joe Hecht) Date: Mon, 6 Jun 2005 07:15:28 -0700 Subject: [AccessD] Help with a query Message-ID: <001501c56aa2$314fd990$6401a8c0@laptop1> I have a database where a query works with about 14 of almost 5000 records. I rewrote the query and still the same results I have added data in some fields that were missing data. Ant thoughts TIA Joe Hecht Los Angeles CA From roz.clarke at donnslaw.co.uk Mon Jun 6 09:34:05 2005 From: roz.clarke at donnslaw.co.uk (Roz Clarke) Date: Mon, 6 Jun 2005 15:34:05 +0100 Subject: [AccessD] Help with a query Message-ID: <61F915314798D311A2F800A0C9C8318807225B00@dibble.observatory.donnslaw.co.uk> your SQL would be helpful Joe -----Original Message----- From: Joe Hecht [mailto:jmhecht at earthlink.net] Sent: 06 June 2005 15:15 To: 'Access Developers discussion and problem solving' Subject: [AccessD] Help with a query I have a database where a query works with about 14 of almost 5000 records. I rewrote the query and still the same results I have added data in some fields that were missing data. Ant thoughts TIA Joe Hecht Los Angeles CA -- 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 jmhecht at earthlink.net Mon Jun 6 09:41:12 2005 From: jmhecht at earthlink.net (Joe Hecht) Date: Mon, 6 Jun 2005 07:41:12 -0700 Subject: [AccessD] Help with a query In-Reply-To: <61F915314798D311A2F800A0C9C8318807225B00@dibble.observatory.donnslaw.co.uk> Message-ID: <003101c56aa5$c9ee1a60$6401a8c0@laptop1> You are right SELECT DISTINCTROW PurchaseOrders.PurchaseOrderID, Vendors.VendorName, Vendors.Address, Vendors.City, Vendors.State, Vendors.Zip, Vendors.Phone, Vendors.Fax, PurchaseOrders.DateOrdered, PurchaseOrders.DateRequired, PurchaseOrders.ShippingMethodID, Locations.LocationName, Locations.LocationAddress, Locations.LocationCity, Locations.LocationState, Locations.LocationZip, Locations.LocationPhone, Locations.LocationFax, [City] & " " & [State] & " " & [Zip] AS VendaddLine3, [LocationCity] & " " & [LocationState] & " " & [LocationZip] AS LocationAddLine3, [Shipping Methods].ShippingMethod, PurchaseOrders.Notes, PurchaseOrders.Initails, Locations.LocationID, Department.Department FROM Department INNER JOIN (Locations INNER JOIN ([Shipping Methods] INNER JOIN (Vendors INNER JOIN PurchaseOrders ON Vendors.VendorID = PurchaseOrders.VendorID) ON [Shipping Methods].ShippingMethodID = PurchaseOrders.ShippingMethodID) ON Locations.LocationID = PurchaseOrders.LocationID) ON Department.DeptID = PurchaseOrders.DeptID WHERE (((PurchaseOrders.PurchaseOrderID)=[Forms]![PurchaseOrders]![PurchaseOrderID ])); Joe Hecht Los Angeles CA -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Roz Clarke Sent: Monday, June 06, 2005 7:34 AM To: access at joe2.endjunk.com; 'Access Developers discussion and problem solving' Subject: RE: [AccessD] Help with a query your SQL would be helpful Joe -----Original Message----- From: Joe Hecht [mailto:jmhecht at earthlink.net] Sent: 06 June 2005 15:15 To: 'Access Developers discussion and problem solving' Subject: [AccessD] Help with a query I have a database where a query works with about 14 of almost 5000 records. I rewrote the query and still the same results I have added data in some fields that were missing data. Ant thoughts TIA Joe Hecht Los Angeles CA -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From john at winhaven.net Mon Jun 6 09:43:31 2005 From: john at winhaven.net (John Bartow) Date: Mon, 6 Jun 2005 09:43:31 -0500 Subject: [AccessD] Copyright stuff In-Reply-To: <916187228923D311A6FE00A0CC3FAA30ABEBEB@ADGSERVER> Message-ID: <200506061443.j56EhZM4400092@pimout2-ext.prodigy.net> Bobby, We've discussed it a bit before here and its a country specific question. Make sure you cover yourself in this venture because you will be the one answering all the questions! John B. -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Bobby Heid Sent: Monday, June 06, 2005 7:40 AM To: 'Access Developers discussion and problem solving' Subject: [AccessD] Copyright stuff Hey, I have an app that I wrote for a church. They are interested in selling it to some other local churches. They asked me to find out about copyrighting it. What do I need to know about copyrights? Thanks, Bobby -- 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 Mon Jun 6 09:51:13 2005 From: roz.clarke at donnslaw.co.uk (Roz Clarke) Date: Mon, 6 Jun 2005 15:51:13 +0100 Subject: [AccessD] Help with a query Message-ID: <61F915314798D311A2F800A0C9C8318807225B02@dibble.observatory.donnslaw.co.uk> Well, your WHERE clause is simple enough that it's unlikely to be the culprit. Have you tried making all your joins outer instead of inner, in case any information is missing from the child side? -----Original Message----- From: Joe Hecht [mailto:jmhecht at earthlink.net] Sent: 06 June 2005 15:41 To: 'Access Developers discussion and problem solving' Subject: RE: [AccessD] Help with a query You are right SELECT DISTINCTROW PurchaseOrders.PurchaseOrderID, Vendors.VendorName, Vendors.Address, Vendors.City, Vendors.State, Vendors.Zip, Vendors.Phone, Vendors.Fax, PurchaseOrders.DateOrdered, PurchaseOrders.DateRequired, PurchaseOrders.ShippingMethodID, Locations.LocationName, Locations.LocationAddress, Locations.LocationCity, Locations.LocationState, Locations.LocationZip, Locations.LocationPhone, Locations.LocationFax, [City] & " " & [State] & " " & [Zip] AS VendaddLine3, [LocationCity] & " " & [LocationState] & " " & [LocationZip] AS LocationAddLine3, [Shipping Methods].ShippingMethod, PurchaseOrders.Notes, PurchaseOrders.Initails, Locations.LocationID, Department.Department FROM Department INNER JOIN (Locations INNER JOIN ([Shipping Methods] INNER JOIN (Vendors INNER JOIN PurchaseOrders ON Vendors.VendorID = PurchaseOrders.VendorID) ON [Shipping Methods].ShippingMethodID = PurchaseOrders.ShippingMethodID) ON Locations.LocationID = PurchaseOrders.LocationID) ON Department.DeptID = PurchaseOrders.DeptID WHERE (((PurchaseOrders.PurchaseOrderID)=[Forms]![PurchaseOrders]![PurchaseOrderID ])); Joe Hecht Los Angeles CA -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Roz Clarke Sent: Monday, June 06, 2005 7:34 AM To: access at joe2.endjunk.com; 'Access Developers discussion and problem solving' Subject: RE: [AccessD] Help with a query your SQL would be helpful Joe -----Original Message----- From: Joe Hecht [mailto:jmhecht at earthlink.net] Sent: 06 June 2005 15:15 To: 'Access Developers discussion and problem solving' Subject: [AccessD] Help with a query I have a database where a query works with about 14 of almost 5000 records. I rewrote the query and still the same results I have added data in some fields that were missing data. Ant thoughts TIA 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 -------------- 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 Mon Jun 6 09:50:20 2005 From: jwcolby at colbyconsulting.com (John W. Colby) Date: Mon, 06 Jun 2005 10:50:20 -0400 Subject: [AccessD] Help with a query In-Reply-To: <003101c56aa5$c9ee1a60$6401a8c0@laptop1> Message-ID: <004001c56aa7$0fb1a430$6c7aa8c0@ColbyM6805> Make your inner joins into outer joins and see what happens. John W. Colby www.ColbyConsulting.com Contribute your unused CPU cycles to 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: Monday, June 06, 2005 10:41 AM To: 'Access Developers discussion and problem solving' Subject: RE: [AccessD] Help with a query You are right SELECT DISTINCTROW PurchaseOrders.PurchaseOrderID, Vendors.VendorName, Vendors.Address, Vendors.City, Vendors.State, Vendors.Zip, Vendors.Phone, Vendors.Fax, PurchaseOrders.DateOrdered, PurchaseOrders.DateRequired, PurchaseOrders.ShippingMethodID, Locations.LocationName, Locations.LocationAddress, Locations.LocationCity, Locations.LocationState, Locations.LocationZip, Locations.LocationPhone, Locations.LocationFax, [City] & " " & [State] & " " & [Zip] AS VendaddLine3, [LocationCity] & " " & [LocationState] & " " & [LocationZip] AS LocationAddLine3, [Shipping Methods].ShippingMethod, PurchaseOrders.Notes, PurchaseOrders.Initails, Locations.LocationID, Department.Department FROM Department INNER JOIN (Locations INNER JOIN ([Shipping Methods] INNER JOIN (Vendors INNER JOIN PurchaseOrders ON Vendors.VendorID = PurchaseOrders.VendorID) ON [Shipping Methods].ShippingMethodID = PurchaseOrders.ShippingMethodID) ON Locations.LocationID = PurchaseOrders.LocationID) ON Department.DeptID = PurchaseOrders.DeptID WHERE (((PurchaseOrders.PurchaseOrderID)=[Forms]![PurchaseOrders]![PurchaseOrderID ])); Joe Hecht Los Angeles CA -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Roz Clarke Sent: Monday, June 06, 2005 7:34 AM To: access at joe2.endjunk.com; 'Access Developers discussion and problem solving' Subject: RE: [AccessD] Help with a query your SQL would be helpful Joe -----Original Message----- From: Joe Hecht [mailto:jmhecht at earthlink.net] Sent: 06 June 2005 15:15 To: 'Access Developers discussion and problem solving' Subject: [AccessD] Help with a query I have a database where a query works with about 14 of almost 5000 records. I rewrote the query and still the same results I have added data in some fields that were missing data. Ant thoughts TIA 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 From jmhecht at earthlink.net Mon Jun 6 09:52:47 2005 From: jmhecht at earthlink.net (Joe Hecht) Date: Mon, 6 Jun 2005 07:52:47 -0700 Subject: [AccessD] Help with a query In-Reply-To: <61F915314798D311A2F800A0C9C8318807225B02@dibble.observatory.donnslaw.co.uk> Message-ID: <003d01c56aa7$680b7070$6401a8c0@laptop1> I am building the query again as several queries to find records dropping out. How would I force all joins to be outer. Thanks Joe Hecht Los Angeles CA -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Roz Clarke Sent: Monday, June 06, 2005 7:51 AM To: 'Access Developers discussion and problem solving' Subject: RE: [AccessD] Help with a query Well, your WHERE clause is simple enough that it's unlikely to be the culprit. Have you tried making all your joins outer instead of inner, in case any information is missing from the child side? -----Original Message----- From: Joe Hecht [mailto:jmhecht at earthlink.net] Sent: 06 June 2005 15:41 To: 'Access Developers discussion and problem solving' Subject: RE: [AccessD] Help with a query You are right SELECT DISTINCTROW PurchaseOrders.PurchaseOrderID, Vendors.VendorName, Vendors.Address, Vendors.City, Vendors.State, Vendors.Zip, Vendors.Phone, Vendors.Fax, PurchaseOrders.DateOrdered, PurchaseOrders.DateRequired, PurchaseOrders.ShippingMethodID, Locations.LocationName, Locations.LocationAddress, Locations.LocationCity, Locations.LocationState, Locations.LocationZip, Locations.LocationPhone, Locations.LocationFax, [City] & " " & [State] & " " & [Zip] AS VendaddLine3, [LocationCity] & " " & [LocationState] & " " & [LocationZip] AS LocationAddLine3, [Shipping Methods].ShippingMethod, PurchaseOrders.Notes, PurchaseOrders.Initails, Locations.LocationID, Department.Department FROM Department INNER JOIN (Locations INNER JOIN ([Shipping Methods] INNER JOIN (Vendors INNER JOIN PurchaseOrders ON Vendors.VendorID = PurchaseOrders.VendorID) ON [Shipping Methods].ShippingMethodID = PurchaseOrders.ShippingMethodID) ON Locations.LocationID = PurchaseOrders.LocationID) ON Department.DeptID = PurchaseOrders.DeptID WHERE (((PurchaseOrders.PurchaseOrderID)=[Forms]![PurchaseOrders]![PurchaseOrderID ])); Joe Hecht Los Angeles CA -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Roz Clarke Sent: Monday, June 06, 2005 7:34 AM To: access at joe2.endjunk.com; 'Access Developers discussion and problem solving' Subject: RE: [AccessD] Help with a query your SQL would be helpful Joe -----Original Message----- From: Joe Hecht [mailto:jmhecht at earthlink.net] Sent: 06 June 2005 15:15 To: 'Access Developers discussion and problem solving' Subject: [AccessD] Help with a query I have a database where a query works with about 14 of almost 5000 records. I rewrote the query and still the same results I have added data in some fields that were missing data. Ant thoughts TIA 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 From cfoust at infostatsystems.com Mon Jun 6 09:52:52 2005 From: cfoust at infostatsystems.com (Charlotte Foust) Date: Mon, 6 Jun 2005 07:52:52 -0700 Subject: [AccessD] Copyright stuff Message-ID: LOL The name of a good attorney! Actually, in the absence of a specific contract that states otherwise, YOU hold the copyright to the software, the church doesn't. Charlotte Foust -----Original Message----- From: Bobby Heid [mailto:bheid at appdevgrp.com] Sent: Monday, June 06, 2005 5:40 AM To: 'Access Developers discussion and problem solving' Subject: [AccessD] Copyright stuff Hey, I have an app that I wrote for a church. They are interested in selling it to some other local churches. They asked me to find out about copyrighting it. What do I need to know about copyrights? Thanks, Bobby -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From cfoust at infostatsystems.com Mon Jun 6 09:57:14 2005 From: cfoust at infostatsystems.com (Charlotte Foust) Date: Mon, 6 Jun 2005 07:57:14 -0700 Subject: [AccessD] Replication Message-ID: When you copy or convert a design master, the result is always a replica. You will have to turn that into a design master by "recovering" it. I don't have replication installed on this machine, so I can't be more specific, but I'm sure someone else can jump in with the details. Charlotte Foust -----Original Message----- From: Barbara Ryan [mailto:BarbaraRyan at cox.net] Sent: Monday, June 06, 2005 4:58 AM To: Access List Subject: [AccessD] Replication Another question ---- I created a Design Master in Access 97 (when opened in Access 97, the title bar says "Design Master"). When I convert this Design Master to Access 2002, the title bar says "Replica". How can I convert a 97 Design Master to a 2002 Design Master? Thanks Again, Barb Ryan -- 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 Mon Jun 6 10:24:57 2005 From: roz.clarke at donnslaw.co.uk (Roz Clarke) Date: Mon, 6 Jun 2005 16:24:57 +0100 Subject: [AccessD] Help with a query Message-ID: <61F915314798D311A2F800A0C9C8318807225B04@dibble.observatory.donnslaw.co.uk> double click on the join in the QBE window, and select the appropriate option -----Original Message----- From: Joe Hecht [mailto:jmhecht at earthlink.net] Sent: 06 June 2005 15:53 To: 'Access Developers discussion and problem solving' Subject: RE: [AccessD] Help with a query I am building the query again as several queries to find records dropping out. How would I force all joins to be outer. Thanks Joe Hecht Los Angeles CA -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Roz Clarke Sent: Monday, June 06, 2005 7:51 AM To: 'Access Developers discussion and problem solving' Subject: RE: [AccessD] Help with a query Well, your WHERE clause is simple enough that it's unlikely to be the culprit. Have you tried making all your joins outer instead of inner, in case any information is missing from the child side? -----Original Message----- From: Joe Hecht [mailto:jmhecht at earthlink.net] Sent: 06 June 2005 15:41 To: 'Access Developers discussion and problem solving' Subject: RE: [AccessD] Help with a query You are right SELECT DISTINCTROW PurchaseOrders.PurchaseOrderID, Vendors.VendorName, Vendors.Address, Vendors.City, Vendors.State, Vendors.Zip, Vendors.Phone, Vendors.Fax, PurchaseOrders.DateOrdered, PurchaseOrders.DateRequired, PurchaseOrders.ShippingMethodID, Locations.LocationName, Locations.LocationAddress, Locations.LocationCity, Locations.LocationState, Locations.LocationZip, Locations.LocationPhone, Locations.LocationFax, [City] & " " & [State] & " " & [Zip] AS VendaddLine3, [LocationCity] & " " & [LocationState] & " " & [LocationZip] AS LocationAddLine3, [Shipping Methods].ShippingMethod, PurchaseOrders.Notes, PurchaseOrders.Initails, Locations.LocationID, Department.Department FROM Department INNER JOIN (Locations INNER JOIN ([Shipping Methods] INNER JOIN (Vendors INNER JOIN PurchaseOrders ON Vendors.VendorID = PurchaseOrders.VendorID) ON [Shipping Methods].ShippingMethodID = PurchaseOrders.ShippingMethodID) ON Locations.LocationID = PurchaseOrders.LocationID) ON Department.DeptID = PurchaseOrders.DeptID WHERE (((PurchaseOrders.PurchaseOrderID)=[Forms]![PurchaseOrders]![PurchaseOrderID ])); Joe Hecht Los Angeles CA -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Roz Clarke Sent: Monday, June 06, 2005 7:34 AM To: access at joe2.endjunk.com; 'Access Developers discussion and problem solving' Subject: RE: [AccessD] Help with a query your SQL would be helpful Joe -----Original Message----- From: Joe Hecht [mailto:jmhecht at earthlink.net] Sent: 06 June 2005 15:15 To: 'Access Developers discussion and problem solving' Subject: [AccessD] Help with a query I have a database where a query works with about 14 of almost 5000 records. I rewrote the query and still the same results I have added data in some fields that were missing data. Ant thoughts TIA 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 -------------- 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 jmhecht at earthlink.net Mon Jun 6 10:32:02 2005 From: jmhecht at earthlink.net (Joe Hecht) Date: Mon, 6 Jun 2005 08:32:02 -0700 Subject: [AccessD] Help with a query (Solved) Message-ID: <005901c56aac$e38d61e0$6401a8c0@laptop1> Thanks to Rocky, Roz and John C It was a join issue. Under their tutelage and Guidance I got it. THANK YOU Joe Hecht Los Angeles CA From john at winhaven.net Mon Jun 6 10:38:13 2005 From: john at winhaven.net (John Bartow) Date: Mon, 6 Jun 2005 10:38:13 -0500 Subject: [AccessD] Copyright stuff In-Reply-To: <200506061443.j56EhZM4400092@pimout2-ext.prodigy.net> Message-ID: <200506061538.j56FcGIK204482@pimout3-ext.prodigy.net> I found it! It was quite receently discussed. Do an archive search on "Copyright Ownership". HTH John -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of John Bartow Sent: Monday, June 06, 2005 9:44 AM To: 'Access Developers discussion and problem solving' Subject: RE: [AccessD] Copyright stuff Bobby, We've discussed it a bit before here and its a country specific question. Make sure you cover yourself in this venture because you will be the one answering all the questions! John B. -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Bobby Heid Sent: Monday, June 06, 2005 7:40 AM To: 'Access Developers discussion and problem solving' Subject: [AccessD] Copyright stuff Hey, I have an app that I wrote for a church. They are interested in selling it to some other local churches. They asked me to find out about copyrighting it. What do I need to know about copyrights? Thanks, Bobby -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From martyconnelly at shaw.ca Mon Jun 6 10:43:38 2005 From: martyconnelly at shaw.ca (MartyConnelly) Date: Mon, 06 Jun 2005 08:43:38 -0700 Subject: [AccessD] Copyright stuff References: Message-ID: <42A46F2A.2010005@shaw.ca> Copyright on software in US Just for Info. One other thing to do is file a copyright, you have a copyright automatically but you cannot sue for copyright infringement, unless it is registered with government This costs $30. You send in roughly first and last 25 pages of source code with blocked out trade secrets. Government processing time is six months. For US details see: Copyright Registration for Computer Programs http://www.copyright.gov/circs/circ61.html#deposit I suppose you could use SaveAsText to dump forms queries reports and modules to text files. If you sell MDE's you might want to escrow your source code, there are sevice sites that handle this, cost is about 100 -500 a year depending on dispersion and update practices. You could do this via your local attorney and a couple of CD's but I think it would leave the attorney scratching his head, if he doesn't do it on a regular basis. Charlotte Foust wrote: >LOL The name of a good attorney! Actually, in the absence of a >specific contract that states otherwise, YOU hold the copyright to the >software, the church doesn't. > >Charlotte Foust > > >-----Original Message----- >From: Bobby Heid [mailto:bheid at appdevgrp.com] >Sent: Monday, June 06, 2005 5:40 AM >To: 'Access Developers discussion and problem solving' >Subject: [AccessD] Copyright stuff > > >Hey, > >I have an app that I wrote for a church. They are interested in selling >it to some other local churches. They asked me to find out about >copyrighting it. What do I need to know about copyrights? > >Thanks, >Bobby > > > -- Marty Connelly Victoria, B.C. Canada From bheid at appdevgrp.com Mon Jun 6 11:19:50 2005 From: bheid at appdevgrp.com (Bobby Heid) Date: Mon, 6 Jun 2005 12:19:50 -0400 Subject: [AccessD] Copyright stuff In-Reply-To: <916187228923D311A6FE00A0CC3FAA30BDC544@ADGSERVER> Message-ID: <916187228923D311A6FE00A0CC3FAA30ABEBF4@ADGSERVER> Thanks all for the links and information, this will get me started. Bobby -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of MartyConnelly Sent: Monday, June 06, 2005 11:44 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Copyright stuff Copyright on software in US Just for Info. One other thing to do is file a copyright, you have a copyright automatically but you cannot sue for copyright infringement, unless it is registered with government This costs $30. You send in roughly first and last 25 pages of source code with blocked out trade secrets. Government processing time is six months. For US details see: Copyright Registration for Computer Programs http://www.copyright.gov/circs/circ61.html#deposit I suppose you could use SaveAsText to dump forms queries reports and modules to text files. If you sell MDE's you might want to escrow your source code, there are sevice sites that handle this, cost is about 100 -500 a year depending on dispersion and update practices. You could do this via your local attorney and a couple of CD's but I think it would leave the attorney scratching his head, if he doesn't do it on a regular basis. Charlotte Foust wrote: >LOL The name of a good attorney! Actually, in the absence of a >specific contract that states otherwise, YOU hold the copyright to the >software, the church doesn't. > >Charlotte Foust > > >-----Original Message----- >From: Bobby Heid [mailto:bheid at appdevgrp.com] >Sent: Monday, June 06, 2005 5:40 AM >To: 'Access Developers discussion and problem solving' >Subject: [AccessD] Copyright stuff > > >Hey, > >I have an app that I wrote for a church. They are interested in >selling it to some other local churches. They asked me to find out >about copyrighting it. What do I need to know about copyrights? > >Thanks, >Bobby > > > -- Marty Connelly Victoria, B.C. Canada From MarkBoyd at McBeeAssociates.com Mon Jun 6 11:31:04 2005 From: MarkBoyd at McBeeAssociates.com (Mark Boyd) Date: Mon, 6 Jun 2005 12:31:04 -0400 Subject: [AccessD] Excel Macro Automation from within Access Message-ID: <974F830FE464C14E8652F95E24DA663C043FA6@mail03.Mcbassoc.com> Thanks Jim. This is perfect! Mark Boyd I/S Supervisor McBee Associates, Inc. -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Hale, Jim Sent: Thursday, June 02, 2005 10:10 AM To: 'Access Developers discussion and problem solving' Subject: RE: [AccessD] Excel Macro Automation from within Access I think the sequence you are looking for is similar to this: Sub rpt_to_excel() Dim appExcel As Excel.Application, strpathname As String Dim strpathnew As String, strReport As String strpathname = "C:\test.xls" strpathnew = "C:\test2.xls" strReport = "rptInvsummary" DoCmd.OutputTo acOutputReport, strReport, acFormatXLS, strpathname Set appExcel = New Excel.Application 'format your report With appExcel .Workbooks.Open strpathname, 0 .Visible = True 'just to watch the sheet .Range("A1:G1").Select .Selection.Font.Bold = True .Selection.Font.Name = "Arial" .Selection.Font.Size = 12 .ActiveWorkbook.SaveAs Filename:=strpathnew, FileFormat:=xlNormal End With appExcel.Quit Set appExcel = Nothing End Sub This opens the file you output and saves it as a current version workbook under a new name. As you debug be aware of leaving orphan instances of Excel in memory. You can tell if any exist by placing the following script in notepad and running it: Dim objXL Dim strMessage On Error Resume Next ' Try to grab a running instance of ' Excel... Set objXL = GetObject(, "Excel.Application") ' What did we find?.. If Not TypeName(objXL) = "Empty" Then strMessage = "Excel Running." Else strMessage = "Excel Not Running." End If ' Feedback to user... MsgBox strMessage, vbInformation, "Excel Status" ' Make the Excel instance visible ' if we found one if strMessage = "Excel Running." then _ objXL.Visible = true -----Original Message----- From: Mark Boyd [mailto:MarkBoyd at mcbeeassociates.com] Sent: Wednesday, June 01, 2005 5:21 PM To: Access Developers discussion and problem solving Subject: RE: [AccessD] Excel Macro Automation from within Access Thanks Jim, this is pointing me in the right direction. The export process is as follows: 1. Export report to Excel 2. Format report w/ macro 3. Save formatting changes 4. Attach file to email message When using the SaveAs method, I'm prompted to overwrite the existing excel file (the one just formatted). Am I missing something in regard to the properties of the SaveAs method, that will allow me to save the existing, formatted file? If I select Yes to overwrite the existing file, all of the macro formats are lost. Mark Boyd I/S Supervisor McBee Associates, Inc. -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Hale, Jim Sent: Wednesday, June 01, 2005 3:40 PM To: 'Access Developers discussion and problem solving' Subject: RE: [AccessD] Excel Macro Automation from within Access Are you saving the file using code? Check out Excel's SaveAs method. It allows a fileformat parameter. I think xlWorkbookNormal is the correct one. 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. ----------------------------------------- This message and any attachments are intended only for the use of the individual or entity to which it is addressed and may contain information that is privileged, confidential, and exempt from disclosure under applicable law. If the reader of this message is not the intended recipient, or the employee or agent responsible for delivering the message to the intended recipient, you are hereby notified that any dissemination, distribution or copying of this communication is strictly prohibited. If you have received this communication in error, please notify the sender by replying to this message, and then delete it from your system. ------------------------------------------- From Jim.Hale at FleetPride.com Mon Jun 6 13:43:16 2005 From: Jim.Hale at FleetPride.com (Hale, Jim) Date: Mon, 6 Jun 2005 13:43:16 -0500 Subject: [AccessD] Excel Macro Automation from within Access Message-ID: <6A6AA9DF57E4F046BDA1E273BDDB6772337633@corp-es01.fleetpride.com> I'm glad it worked for you. I was thinking that you might want to add a Kill strpathname 'deletes original Excel sheet statement after the new copy has been saved so you are left with only the new copy. Jim Hale -----Original Message----- From: Mark Boyd [mailto:MarkBoyd at mcbeeassociates.com] Sent: Monday, June 06, 2005 11:31 AM To: Access Developers discussion and problem solving Subject: RE: [AccessD] Excel Macro Automation from within Access Thanks Jim. This is perfect! Mark Boyd I/S Supervisor McBee Associates, Inc. -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Hale, Jim Sent: Thursday, June 02, 2005 10:10 AM To: 'Access Developers discussion and problem solving' Subject: RE: [AccessD] Excel Macro Automation from within Access I think the sequence you are looking for is similar to this: Sub rpt_to_excel() Dim appExcel As Excel.Application, strpathname As String Dim strpathnew As String, strReport As String strpathname = "C:\test.xls" strpathnew = "C:\test2.xls" strReport = "rptInvsummary" DoCmd.OutputTo acOutputReport, strReport, acFormatXLS, strpathname Set appExcel = New Excel.Application 'format your report With appExcel .Workbooks.Open strpathname, 0 .Visible = True 'just to watch the sheet .Range("A1:G1").Select .Selection.Font.Bold = True .Selection.Font.Name = "Arial" .Selection.Font.Size = 12 .ActiveWorkbook.SaveAs Filename:=strpathnew,FileFormat:=xlNormal End With appExcel.Quit Set appExcel = Nothing End Sub This opens the file you output and saves it as a current version workbook under a new name. As you debug be aware of leaving orphan instances of Excel in memory. You can tell if any exist by placing the following script in notepad and running it: Dim objXL Dim strMessage On Error Resume Next ' Try to grab a running instance of ' Excel... Set objXL = GetObject(, "Excel.Application") ' What did we find?.. If Not TypeName(objXL) = "Empty" Then strMessage = "Excel Running." Else strMessage = "Excel Not Running." End If ' Feedback to user... MsgBox strMessage, vbInformation, "Excel Status" ' Make the Excel instance visible ' if we found one if strMessage = "Excel Running." then _ objXL.Visible = true -----Original Message----- From: Mark Boyd [mailto:MarkBoyd at mcbeeassociates.com] Sent: Wednesday, June 01, 2005 5:21 PM To: Access Developers discussion and problem solving Subject: RE: [AccessD] Excel Macro Automation from within Access Thanks Jim, this is pointing me in the right direction. The export process is as follows: 1. Export report to Excel 2. Format report w/ macro 3. Save formatting changes 4. Attach file to email message When using the SaveAs method, I'm prompted to overwrite the existing excel file (the one just formatted). Am I missing something in regard to the properties of the SaveAs method, that will allow me to save the existing, formatted file? If I select Yes to overwrite the existing file, all of the macro formats are lost. Mark Boyd I/S Supervisor McBee Associates, Inc. *********************************************************************** 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 MarkBoyd at McBeeAssociates.com Mon Jun 6 13:55:51 2005 From: MarkBoyd at McBeeAssociates.com (Mark Boyd) Date: Mon, 6 Jun 2005 14:55:51 -0400 Subject: [AccessD] Excel Macro Automation from within Access Message-ID: <974F830FE464C14E8652F95E24DA663C043FAF@mail03.Mcbassoc.com> Great idea. I wasn't aware of the Kill statement. My plan was to shell a batch file to delete it, but this is much easier. Thanks again, Mark Boyd I/S Supervisor McBee Associates, Inc. -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Hale, Jim Sent: Monday, June 06, 2005 2:43 PM To: 'Access Developers discussion and problem solving' Subject: RE: [AccessD] Excel Macro Automation from within Access I'm glad it worked for you. I was thinking that you might want to add a Kill strpathname 'deletes original Excel sheet statement after the new copy has been saved so you are left with only the new copy. Jim Hale -----Original Message----- From: Mark Boyd [mailto:MarkBoyd at mcbeeassociates.com] Sent: Monday, June 06, 2005 11:31 AM To: Access Developers discussion and problem solving Subject: RE: [AccessD] Excel Macro Automation from within Access Thanks Jim. This is perfect! Mark Boyd I/S Supervisor McBee Associates, Inc. -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Hale, Jim Sent: Thursday, June 02, 2005 10:10 AM To: 'Access Developers discussion and problem solving' Subject: RE: [AccessD] Excel Macro Automation from within Access I think the sequence you are looking for is similar to this: Sub rpt_to_excel() Dim appExcel As Excel.Application, strpathname As String Dim strpathnew As String, strReport As String strpathname = "C:\test.xls" strpathnew = "C:\test2.xls" strReport = "rptInvsummary" DoCmd.OutputTo acOutputReport, strReport, acFormatXLS, strpathname Set appExcel = New Excel.Application 'format your report With appExcel .Workbooks.Open strpathname, 0 .Visible = True 'just to watch the sheet .Range("A1:G1").Select .Selection.Font.Bold = True .Selection.Font.Name = "Arial" .Selection.Font.Size = 12 .ActiveWorkbook.SaveAs Filename:=strpathnew,FileFormat:=xlNormal End With appExcel.Quit Set appExcel = Nothing End Sub This opens the file you output and saves it as a current version workbook under a new name. As you debug be aware of leaving orphan instances of Excel in memory. You can tell if any exist by placing the following script in notepad and running it: Dim objXL Dim strMessage On Error Resume Next ' Try to grab a running instance of ' Excel... Set objXL = GetObject(, "Excel.Application") ' What did we find?.. If Not TypeName(objXL) = "Empty" Then strMessage = "Excel Running." Else strMessage = "Excel Not Running." End If ' Feedback to user... MsgBox strMessage, vbInformation, "Excel Status" ' Make the Excel instance visible ' if we found one if strMessage = "Excel Running." then _ objXL.Visible = true -----Original Message----- From: Mark Boyd [mailto:MarkBoyd at mcbeeassociates.com] Sent: Wednesday, June 01, 2005 5:21 PM To: Access Developers discussion and problem solving Subject: RE: [AccessD] Excel Macro Automation from within Access Thanks Jim, this is pointing me in the right direction. The export process is as follows: 1. Export report to Excel 2. Format report w/ macro 3. Save formatting changes 4. Attach file to email message When using the SaveAs method, I'm prompted to overwrite the existing excel file (the one just formatted). Am I missing something in regard to the properties of the SaveAs method, that will allow me to save the existing, formatted file? If I select Yes to overwrite the existing file, all of the macro formats are lost. Mark Boyd I/S Supervisor McBee Associates, Inc. *********************************************************************** 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. ----------------------------------------- This message and any attachments are intended only for the use of the individual or entity to which it is addressed and may contain information that is privileged, confidential, and exempt from disclosure under applicable law. If the reader of this message is not the intended recipient, or the employee or agent responsible for delivering the message to the intended recipient, you are hereby notified that any dissemination, distribution or copying of this communication is strictly prohibited. If you have received this communication in error, please notify the sender by replying to this message, and then delete it from your system. ------------------------------------------- From Jim.Hale at FleetPride.com Mon Jun 6 14:00:46 2005 From: Jim.Hale at FleetPride.com (Hale, Jim) Date: Mon, 6 Jun 2005 14:00:46 -0500 Subject: [AccessD] Excel Macro Automation from within Access Message-ID: <6A6AA9DF57E4F046BDA1E273BDDB6772337634@corp-es01.fleetpride.com> Just make sure before you kill it that the other file was successfully created :-> Jim Hale -----Original Message----- From: Mark Boyd [mailto:MarkBoyd at mcbeeassociates.com] Sent: Monday, June 06, 2005 1:56 PM To: Access Developers discussion and problem solving Subject: RE: [AccessD] Excel Macro Automation from within Access Great idea. I wasn't aware of the Kill statement. My plan was to shell a batch file to delete it, but this is much easier. Thanks again, Mark Boyd I/S Supervisor McBee Associates, Inc. -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Hale, Jim Sent: Monday, June 06, 2005 2:43 PM To: 'Access Developers discussion and problem solving' Subject: RE: [AccessD] Excel Macro Automation from within Access I'm glad it worked for you. I was thinking that you might want to add a Kill strpathname 'deletes original Excel sheet statement after the new copy has been saved so you are left with only the new copy. Jim Hale -----Original Message----- From: Mark Boyd [mailto:MarkBoyd at mcbeeassociates.com] Sent: Monday, June 06, 2005 11:31 AM To: Access Developers discussion and problem solving Subject: RE: [AccessD] Excel Macro Automation from within Access Thanks Jim. This is perfect! Mark Boyd I/S Supervisor McBee Associates, Inc. -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Hale, Jim Sent: Thursday, June 02, 2005 10:10 AM To: 'Access Developers discussion and problem solving' Subject: RE: [AccessD] Excel Macro Automation from within Access I think the sequence you are looking for is similar to this: Sub rpt_to_excel() Dim appExcel As Excel.Application, strpathname As String Dim strpathnew As String, strReport As String strpathname = "C:\test.xls" strpathnew = "C:\test2.xls" strReport = "rptInvsummary" DoCmd.OutputTo acOutputReport, strReport, acFormatXLS, strpathname Set appExcel = New Excel.Application 'format your report With appExcel .Workbooks.Open strpathname, 0 .Visible = True 'just to watch the sheet .Range("A1:G1").Select .Selection.Font.Bold = True .Selection.Font.Name = "Arial" .Selection.Font.Size = 12 .ActiveWorkbook.SaveAs Filename:=strpathnew,FileFormat:=xlNormal End With appExcel.Quit Set appExcel = Nothing End Sub This opens the file you output and saves it as a current version workbook under a new name. As you debug be aware of leaving orphan instances of Excel in memory. You can tell if any exist by placing the following script in notepad and running it: Dim objXL Dim strMessage On Error Resume Next ' Try to grab a running instance of ' Excel... Set objXL = GetObject(, "Excel.Application") ' What did we find?.. If Not TypeName(objXL) = "Empty" Then strMessage = "Excel Running." Else strMessage = "Excel Not Running." End If ' Feedback to user... MsgBox strMessage, vbInformation, "Excel Status" ' Make the Excel instance visible ' if we found one if strMessage = "Excel Running." then _ objXL.Visible = true -----Original Message----- From: Mark Boyd [mailto:MarkBoyd at mcbeeassociates.com] Sent: Wednesday, June 01, 2005 5:21 PM To: Access Developers discussion and problem solving Subject: RE: [AccessD] Excel Macro Automation from within Access Thanks Jim, this is pointing me in the right direction. The export process is as follows: 1. Export report to Excel 2. Format report w/ macro 3. Save formatting changes 4. Attach file to email message When using the SaveAs method, I'm prompted to overwrite the existing excel file (the one just formatted). Am I missing something in regard to the properties of the SaveAs method, that will allow me to save the existing, formatted file? If I select Yes to overwrite the existing file, all of the macro formats are lost. Mark Boyd I/S Supervisor McBee Associates, Inc. *********************************************************************** 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. ----------------------------------------- This message and any attachments are intended only for the use of the individual or entity to which it is addressed and may contain information that is privileged, confidential, and exempt from disclosure under applicable law. If the reader of this message is not the intended recipient, or the employee or agent responsible for delivering the message to the intended recipient, you are hereby notified that any dissemination, distribution or copying of this communication is strictly prohibited. If you have received this communication in error, please notify the sender by replying to this message, and then delete it from your system. ------------------------------------------- -- 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 erbachs at gmail.com Mon Jun 6 16:21:45 2005 From: erbachs at gmail.com (Steve Erbach) Date: Mon, 6 Jun 2005 16:21:45 -0500 Subject: [AccessD] Access security question Message-ID: <39cb22f30506061421710cef34@mail.gmail.com> Dear Group, I've converted an application to Access 2000 for a client. This application is running on single user workstations at about a half dozen places around the U.S. The question my client has is this: Lets say that the tables in the BE have Access security invoked. If the FE/BE is distributed in MDE format with Access Runtime, can a user with a full-bore package of Access start the application, break out of it, and wind up with all the tables available to him for editing, etc? This is provided that the security is administered by the software so that the actual security password is not known by the user. Only user names and application passwords would be known. Or is it even possible for the application to handle Access security like this. That is, can Access security work without a user explicitly typing in a password? Thank you. Regards, Steve Erbach Scientific Marketing Neenah, WI www.swerbach.com Security Page: www.swerbach.com/security From cfoust at infostatsystems.com Mon Jun 6 16:34:24 2005 From: cfoust at infostatsystems.com (Charlotte Foust) Date: Mon, 6 Jun 2005 14:34:24 -0700 Subject: [AccessD] Access security question Message-ID: They can if the BE is not adequately secured, which means at the least that the admin user is stripped of permissions and put in the users group rather than the admins group. Charlotte Foust -----Original Message----- From: Steve Erbach [mailto:erbachs at gmail.com] Sent: Monday, June 06, 2005 2:22 PM To: Access Developers discussion and problem solving Subject: [AccessD] Access security question Dear Group, I've converted an application to Access 2000 for a client. This application is running on single user workstations at about a half dozen places around the U.S. The question my client has is this: Lets say that the tables in the BE have Access security invoked. If the FE/BE is distributed in MDE format with Access Runtime, can a user with a full-bore package of Access start the application, break out of it, and wind up with all the tables available to him for editing, etc? This is provided that the security is administered by the software so that the actual security password is not known by the user. Only user names and application passwords would be known. Or is it even possible for the application to handle Access security like this. That is, can Access security work without a user explicitly typing in a password? Thank you. Regards, Steve Erbach Scientific Marketing Neenah, WI www.swerbach.com Security Page: www.swerbach.com/security -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From jimdettman at earthlink.net Mon Jun 6 16:50:52 2005 From: jimdettman at earthlink.net (Jim Dettman) Date: Mon, 6 Jun 2005 17:50:52 -0400 Subject: [AccessD] Access security question In-Reply-To: <39cb22f30506061421710cef34@mail.gmail.com> Message-ID: Steve, <> Yes it can. Access security is always "on", it's just that you don't get a password prompt if the admin user has a blank password (JET always attempts a logon with username admin and a blank password when it first tries to open a database). <> Without Access user level security in place on the BE tables, yes. To prevent that, they need to be properly secured with user level security and all the queries will need RWO (Run with owner permissions) set or you need to open a workspace object with the correct username/password in code. Jim. -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Steve Erbach Sent: Monday, June 06, 2005 5:22 PM To: Access Developers discussion and problem solving Subject: [AccessD] Access security question Dear Group, I've converted an application to Access 2000 for a client. This application is running on single user workstations at about a half dozen places around the U.S. The question my client has is this: Lets say that the tables in the BE have Access security invoked. If the FE/BE is distributed in MDE format with Access Runtime, can a user with a full-bore package of Access start the application, break out of it, and wind up with all the tables available to him for editing, etc? This is provided that the security is administered by the software so that the actual security password is not known by the user. Only user names and application passwords would be known. Or is it even possible for the application to handle Access security like this. That is, can Access security work without a user explicitly typing in a password? Thank you. Regards, Steve Erbach Scientific Marketing Neenah, WI www.swerbach.com Security Page: www.swerbach.com/security -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From darsant at gmail.com Mon Jun 6 17:23:01 2005 From: darsant at gmail.com (Josh McFarlane) Date: Mon, 6 Jun 2005 17:23:01 -0500 Subject: [AccessD] Access security question In-Reply-To: References: <39cb22f30506061421710cef34@mail.gmail.com> Message-ID: <53c8e05a0506061523523a63be@mail.gmail.com> On 6/6/05, Jim Dettman wrote: > Steve, > > < like this. That is, can Access security work without a user explicitly > typing in a password?>> > > Yes it can. Access security is always "on", it's just that you don't get > a password prompt if the admin user has a blank password (JET always > attempts a logon with username admin and a blank password when it first > tries to open a database). > > < say that the tables in the BE have Access security invoked. If the > FE/BE is distributed in MDE format with Access Runtime, can a user > with a full-bore package of Access start the application, break out of > it, and wind up with all the tables available to him for editing, etc? > This is provided that the security is administered by the software so > that the actual security password is not known by the user. Only user > names and application passwords would be known.>> > > Without Access user level security in place on the BE tables, yes. To > prevent that, they need to be properly secured with user level security and > all the queries will need RWO (Run with owner permissions) set or you need > to open a workspace object with the correct username/password in code. > > Jim. Here's another access security question: In terms of front-end security, can a front-end truly be locked down to force a user to remain in the GUI and abide by it's code? Coding in C++ with an interface to an Access backend allows you to allow the user to only work in the program your way, without tinkering with the tables (you can always password protect the Access database then encode the password into the program itself). However, in also using Access as a front end, it seems to me that a user could still break out the loop and use whatever queries had write access to manually go in and mess around with things, sometimes allowing a bypass of a transaction log. Can Access be locked down so someone who knows a thing or two about Access can't modify data directly? Thanks, Josh McFarlane "Peace cannot be kept by force. It can only be achieved by understanding." -Albert Einstein From KIsmert at texassystems.com Mon Jun 6 18:27:53 2005 From: KIsmert at texassystems.com (Ken Ismert) Date: Mon, 6 Jun 2005 18:27:53 -0500 Subject: [AccessD] Copyright stuff Message-ID: Bobby, Given the charitable nature of the organizations that the software is intended for, you might consider copyrighting it under one of several open source licenses, and giving it away. The copyright is still vital, because it establishes authorship, and, depending on the type of license, places limits on how the software can be used. Also, note that going open source does not preclude the possibility of making money. The focus merely shifts from selling software to selling services and support around the software. The software then becomes a tool for gaining market penetration, an makes you, the author, the logical person to go to for conversions, training, paid extensions, etc. Open Source Initiative http://www.opensource.org/ Free Software Foundation: http://www.fsf.org/ -Ken -----Original Message----- From: Bobby Heid [mailto:bheid at appdevgrp.com] Sent: Monday, June 06, 2005 11:20 AM To: 'Access Developers discussion and problem solving' Subject: RE: [AccessD] Copyright stuff Thanks all for the links and information, this will get me started. Bobby From relations at rescom.cc Mon Jun 6 18:37:37 2005 From: relations at rescom.cc (Res-Com Environmental) Date: Mon, 6 Jun 2005 16:37:37 -0700 Subject: [AccessD] Insert Access Info Into Web page Message-ID: 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 From paul.hartland at isharp.co.uk Tue Jun 7 02:21:22 2005 From: paul.hartland at isharp.co.uk (Paul Hartland (ISHARP)) Date: Tue, 7 Jun 2005 08:21:22 +0100 Subject: [AccessD] Access security question In-Reply-To: Message-ID: Talking of Access security, can someone tell me a good point of reference for a novice in Access security to get started. I have tinkered about with it before for a very short while without much success. Basically I think I am looking for some sort of total idiots guide to Access Security.... Help/sample web pages etc greatly appreciated.... Paul Hartland -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Charlotte Foust Sent: 06 June 2005 22:34 To: Access Developers discussion and problem solving Subject: RE: [AccessD] Access security question They can if the BE is not adequately secured, which means at the least that the admin user is stripped of permissions and put in the users group rather than the admins group. Charlotte Foust -----Original Message----- From: Steve Erbach [mailto:erbachs at gmail.com] Sent: Monday, June 06, 2005 2:22 PM To: Access Developers discussion and problem solving Subject: [AccessD] Access security question Dear Group, I've converted an application to Access 2000 for a client. This application is running on single user workstations at about a half dozen places around the U.S. The question my client has is this: Lets say that the tables in the BE have Access security invoked. If the FE/BE is distributed in MDE format with Access Runtime, can a user with a full-bore package of Access start the application, break out of it, and wind up with all the tables available to him for editing, etc? This is provided that the security is administered by the software so that the actual security password is not known by the user. Only user names and application passwords would be known. Or is it even possible for the application to handle Access security like this. That is, can Access security work without a user explicitly typing in a password? Thank you. Regards, Steve Erbach Scientific Marketing Neenah, WI www.swerbach.com Security Page: www.swerbach.com/security -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd 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 fsmail.net Tue Jun 7 02:36:00 2005 From: paul.hartland at fsmail.net (paul.hartland at fsmail.net) Date: Tue, 7 Jun 2005 09:36:00 +0200 (CEST) Subject: [AccessD] More MapPoint Help If Possible Message-ID: <8071615.1118129760195.JavaMail.www@wwinf3101> To all, Firstly many thanks for all the MapPoint help already given. What I would like to know is what would be the fastest way to send a Client Postcode and around 450 Employee postcodes to either an ActiveX or API call with MapPoint and return the mileage from the Client for every employee. I have played around a little bit but it seems slow so I am probably doing something wrong. Many thanks in advance once again for any help on this..... -- Whatever you Wanadoo: http://www.wanadoo.co.uk/time/ This email has been checked for most known viruses - find out more at: http://www.wanadoo.co.uk/help/id/7098.htm From KP at sdsonline.net Tue Jun 7 04:02:25 2005 From: KP at sdsonline.net (Kath Pelletti) Date: Tue, 7 Jun 2005 19:02:25 +1000 Subject: [AccessD] Access security question References: Message-ID: <004401c56b3f$a0e41120$6601a8c0@user> Hi Paul - here's the link for the Access security FAQ. http://support.microsoft.com/support/access/content/secfaq.asp HTH Kath ----- Original Message ----- From: Paul Hartland (ISHARP) To: 'Access Developers discussion and problem solving' Sent: Tuesday, June 07, 2005 5:21 PM Subject: RE: [AccessD] Access security question Talking of Access security, can someone tell me a good point of reference for a novice in Access security to get started. I have tinkered about with it before for a very short while without much success. Basically I think I am looking for some sort of total idiots guide to Access Security.... Help/sample web pages etc greatly appreciated.... Paul Hartland -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Charlotte Foust Sent: 06 June 2005 22:34 To: Access Developers discussion and problem solving Subject: RE: [AccessD] Access security question They can if the BE is not adequately secured, which means at the least that the admin user is stripped of permissions and put in the users group rather than the admins group. Charlotte Foust -----Original Message----- From: Steve Erbach [mailto:erbachs at gmail.com] Sent: Monday, June 06, 2005 2:22 PM To: Access Developers discussion and problem solving Subject: [AccessD] Access security question Dear Group, I've converted an application to Access 2000 for a client. This application is running on single user workstations at about a half dozen places around the U.S. The question my client has is this: Lets say that the tables in the BE have Access security invoked. If the FE/BE is distributed in MDE format with Access Runtime, can a user with a full-bore package of Access start the application, break out of it, and wind up with all the tables available to him for editing, etc? This is provided that the security is administered by the software so that the actual security password is not known by the user. Only user names and application passwords would be known. Or is it even possible for the application to handle Access security like this. That is, can Access security work without a user explicitly typing in a password? Thank you. Regards, Steve Erbach Scientific Marketing Neenah, WI www.swerbach.com Security Page: www.swerbach.com/security -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd 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 Jun 7 04:12:35 2005 From: paul.hartland at isharp.co.uk (Paul Hartland (ISHARP)) Date: Tue, 7 Jun 2005 10:12:35 +0100 Subject: [AccessD] Access security question In-Reply-To: <004401c56b3f$a0e41120$6601a8c0@user> Message-ID: Thanks will look into it -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Kath Pelletti Sent: 07 June 2005 10:02 To: Access Developers discussion and problem solving Subject: Re: [AccessD] Access security question Hi Paul - here's the link for the Access security FAQ. http://support.microsoft.com/support/access/content/secfaq.asp HTH Kath ----- Original Message ----- From: Paul Hartland (ISHARP) To: 'Access Developers discussion and problem solving' Sent: Tuesday, June 07, 2005 5:21 PM Subject: RE: [AccessD] Access security question Talking of Access security, can someone tell me a good point of reference for a novice in Access security to get started. I have tinkered about with it before for a very short while without much success. Basically I think I am looking for some sort of total idiots guide to Access Security.... Help/sample web pages etc greatly appreciated.... Paul Hartland -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Charlotte Foust Sent: 06 June 2005 22:34 To: Access Developers discussion and problem solving Subject: RE: [AccessD] Access security question They can if the BE is not adequately secured, which means at the least that the admin user is stripped of permissions and put in the users group rather than the admins group. Charlotte Foust -----Original Message----- From: Steve Erbach [mailto:erbachs at gmail.com] Sent: Monday, June 06, 2005 2:22 PM To: Access Developers discussion and problem solving Subject: [AccessD] Access security question Dear Group, I've converted an application to Access 2000 for a client. This application is running on single user workstations at about a half dozen places around the U.S. The question my client has is this: Lets say that the tables in the BE have Access security invoked. If the FE/BE is distributed in MDE format with Access Runtime, can a user with a full-bore package of Access start the application, break out of it, and wind up with all the tables available to him for editing, etc? This is provided that the security is administered by the software so that the actual security password is not known by the user. Only user names and application passwords would be known. Or is it even possible for the application to handle Access security like this. That is, can Access security work without a user explicitly typing in a password? Thank you. Regards, Steve Erbach Scientific Marketing Neenah, WI www.swerbach.com Security Page: www.swerbach.com/security -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From mmattys at rochester.rr.com Tue Jun 7 05:33:26 2005 From: mmattys at rochester.rr.com (Michael R Mattys) Date: Tue, 7 Jun 2005 06:33:26 -0400 Subject: [AccessD] More MapPoint Help If Possible References: <8071615.1118129760195.JavaMail.www@wwinf3101> Message-ID: <013601c56b4c$58b99110$0202a8c0@default> Paul, It's best to have the map _not_ visible, or at least locked from refreshing, when processing that much data. The graphics in MapPoint are spectacular, but they take a lot of resources. Also, allow MapPoint's own Import Wizard to do the work when possible. It will make the fastest routine you have look silly ... and the more data you feed it, the faster it goes! ---- Michael R. Mattys Mattys MapLib for Microsoft MapPoint http://www.mattysconsulting.com From Gustav at cactus.dk Tue Jun 7 06:41:48 2005 From: Gustav at cactus.dk (Gustav Brock) Date: Tue, 07 Jun 2005 13:41:48 +0200 Subject: [AccessD] Access security question Message-ID: Hi Paul There's a book on the subject: http://www.vb123.com/toolshed/00_accvb/accesssecurity.htm /gustav >>> paul.hartland at isharp.co.uk 06/07 9:21 am >>> Talking of Access security, can someone tell me a good point of reference for a novice in Access security to get started. I have tinkered about with it before for a very short while without much success. Basically I think I am looking for some sort of total idiots guide to Access Security.... Help/sample web pages etc greatly appreciated.... Paul Hartland From erbachs at gmail.com Tue Jun 7 06:46:55 2005 From: erbachs at gmail.com (Steve Erbach) Date: Tue, 7 Jun 2005 06:46:55 -0500 Subject: [AccessD] Access security question In-Reply-To: References: Message-ID: <39cb22f305060704465e9785a8@mail.gmail.com> Charlotte, Jim, and Kath, Thanks for the clear responses and resources. I appreciate it. Steve Erbach On 6/6/05, Charlotte Foust wrote: > They can if the BE is not adequately secured, which means at the least > that the admin user is stripped of permissions and put in the users > group rather than the admins group. > > Charlotte Foust Without Access user level security in place on the BE tables, yes. To prevent that, they need to be properly secured with user level security and all the queries will need RWO (Run with owner permissions) set or you need to open a workspace object with the correct username/password in code. Jim. here's the link for the Access security FAQ. http://support.microsoft.com/support/access/content/secfaq.asp HTH Kath From paul.hartland at isharp.co.uk Tue Jun 7 06:48:30 2005 From: paul.hartland at isharp.co.uk (Paul Hartland (ISHARP)) Date: Tue, 7 Jun 2005 12:48:30 +0100 Subject: [AccessD] Access security question In-Reply-To: Message-ID: Thanks will look into that as well, really need to get upto speed on Access Security. -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Gustav Brock Sent: 07 June 2005 12:42 To: accessd at databaseadvisors.com Subject: RE: [AccessD] Access security question Hi Paul There's a book on the subject: http://www.vb123.com/toolshed/00_accvb/accesssecurity.htm /gustav >>> paul.hartland at isharp.co.uk 06/07 9:21 am >>> Talking of Access security, can someone tell me a good point of reference for a novice in Access security to get started. I have tinkered about with it before for a very short while without much success. Basically I think I am looking for some sort of total idiots guide to Access Security.... Help/sample web pages etc greatly appreciated.... Paul Hartland -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From jimdettman at earthlink.net Tue Jun 7 07:05:26 2005 From: jimdettman at earthlink.net (Jim Dettman) Date: Tue, 7 Jun 2005 08:05:26 -0400 Subject: [AccessD] Access security question In-Reply-To: <53c8e05a0506061523523a63be@mail.gmail.com> Message-ID: Josh, First let me say that the security in Access has always been weak. If security is a concern, then you need to be using something other then Access/JET. This is even outside of the fact that cracking tools for both database and user level security are now widespread, which makes talking about Access security at all a rather moot point. I don't use it at all any more. It's not worth the effort. Second, keep in mind that we are talking about JET as the database engine, not with SQL server as the BE. <> Yes. <> It depends on how you set things up. If you open workspace objects in code and access the tables that way and your distributing as a mde, then there is no way for them to get at them other then through the FE. If you setup queries to run with owner permissions, then you must keep them out of the database container. That still partially works as they won't be able to open the tables directly, but they will be able to execute any of the queries. I see someone has already posted the link to the FAQ, which is the #1 resource for the security stuff. Give it a read if you have time. Jim. -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Josh McFarlane Sent: Monday, June 06, 2005 6:23 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Access security question On 6/6/05, Jim Dettman wrote: > Steve, > > < like this. That is, can Access security work without a user explicitly > typing in a password?>> > > Yes it can. Access security is always "on", it's just that you don't get > a password prompt if the admin user has a blank password (JET always > attempts a logon with username admin and a blank password when it first > tries to open a database). > > < say that the tables in the BE have Access security invoked. If the > FE/BE is distributed in MDE format with Access Runtime, can a user > with a full-bore package of Access start the application, break out of > it, and wind up with all the tables available to him for editing, etc? > This is provided that the security is administered by the software so > that the actual security password is not known by the user. Only user > names and application passwords would be known.>> > > Without Access user level security in place on the BE tables, yes. To > prevent that, they need to be properly secured with user level security and > all the queries will need RWO (Run with owner permissions) set or you need > to open a workspace object with the correct username/password in code. > > Jim. Here's another access security question: In terms of front-end security, can a front-end truly be locked down to force a user to remain in the GUI and abide by it's code? Coding in C++ with an interface to an Access backend allows you to allow the user to only work in the program your way, without tinkering with the tables (you can always password protect the Access database then encode the password into the program itself). However, in also using Access as a front end, it seems to me that a user could still break out the loop and use whatever queries had write access to manually go in and mess around with things, sometimes allowing a bypass of a transaction log. Can Access be locked down so someone who knows a thing or two about Access can't modify data directly? Thanks, 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 BarbaraRyan at cox.net Tue Jun 7 07:35:16 2005 From: BarbaraRyan at cox.net (Barbara Ryan) Date: Tue, 7 Jun 2005 08:35:16 -0400 Subject: [AccessD] Replication Manager Message-ID: <003701c56b5d$5bd5dc80$0a00a8c0@cx470148a> Where I can I find Replication Manager for Access 2002? Is it a separate interface from the Replication option under Tools in Access 2002? I can't seem to locate it on the Office XP Pro installation CD. Thanks, Barb Ryan From spikee at oatlandspark.org.uk Tue Jun 7 07:43:34 2005 From: spikee at oatlandspark.org.uk (Chris Foote (Spike)) Date: Tue, 7 Jun 2005 13:43:34 +0100 Subject: [AccessD] Access-based website "hit" analyser? Message-ID: Hello listers! Has anyone got, or know where I can find an Access based "hit" analyser for an Apache web server. I'm looking for something to analyse the text log files that I get e-mailed every 24hours. I could craft my own, but if there is an existing app. that I could use as a basis... Regards Chris Foote - UK From Chester_Kaup at kindermorgan.com Tue Jun 7 08:54:37 2005 From: Chester_Kaup at kindermorgan.com (Kaup, Chester) Date: Tue, 7 Jun 2005 08:54:37 -0500 Subject: [AccessD] Code to open table fails Message-ID: I have used this code in many Access 2003 databases successfully. Just tried it in a 2003 version database and it will not open the table. I have checked and the table exists and name matched. I can open the table no problem from the table list. What may be happening here? Sub TableNames() Set MyDB = CurrentDb() Set AllTableDefs = MyDB.TableDefs Set myds = MyDB.OpenRecordset("tbl Table Definitions", dbOpenTable) Chester Kaup Engineering Technician Kinder Morgan CO2 Company, LLP Office (432) 688-3797 FAX (432) 688-3799 From jeffrey.demulling at usbank.com Tue Jun 7 09:10:31 2005 From: jeffrey.demulling at usbank.com (jeffrey.demulling at usbank.com) Date: Tue, 7 Jun 2005 09:10:31 -0500 Subject: [AccessD] Code to open table fails In-Reply-To: Message-ID: Check your references to make sure DAO is selected and then declare your variables as follows: Dim MyDB as DAO.Database Dim AllTableDefs as DAO.TableDef Dim myds as DAO.Recordset Jeffrey F. Demulling Project Manager U.S. Bank Corporate Trust Services 60 Livingston Avenue EP-MN-WS3C St. Paul, MN 55107-2292 Ph: 651-495-3925 Fax: 651-495-8103 email: jeffrey.demulling at usbank.com "Kaup, Chester" To Sent by: accessd at databaseadvisors.com accessd-bounces at d cc atabaseadvisors.c om Subject [AccessD] Code to open table fails 06/07/2005 08:54 AM Please respond to "Access Developers discussion and problem solving" I have used this code in many Access 2003 databases successfully. Just tried it in a 2003 version database and it will not open the table. I have checked and the table exists and name matched. I can open the table no problem from the table list. What may be happening here? Sub TableNames() Set MyDB = CurrentDb() Set AllTableDefs = MyDB.TableDefs Set myds = MyDB.OpenRecordset("tbl Table Definitions", dbOpenTable) Chester Kaup Engineering Technician Kinder Morgan CO2 Company, LLP Office (432) 688-3797 FAX (432) 688-3799 -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From bheid at appdevgrp.com Tue Jun 7 09:14:52 2005 From: bheid at appdevgrp.com (Bobby Heid) Date: Tue, 7 Jun 2005 10:14:52 -0400 Subject: [AccessD] Code to open table fails In-Reply-To: <916187228923D311A6FE00A0CC3FAA30BDC6B6@ADGSERVER> Message-ID: <916187228923D311A6FE00A0CC3FAA30ABEBFA@ADGSERVER> What error message are you getting? Do you have a reference set to DAO instead of the default ADO? If you have a reference to both ADO and DAO, is the DAO first? Bobby -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Kaup, Chester Sent: Tuesday, June 07, 2005 9:55 AM To: accessd at databaseadvisors.com Subject: [AccessD] Code to open table fails I have used this code in many Access 2003 databases successfully. Just tried it in a 2003 version database and it will not open the table. I have checked and the table exists and name matched. I can open the table no problem from the table list. What may be happening here? Sub TableNames() Set MyDB = CurrentDb() Set AllTableDefs = MyDB.TableDefs Set myds = MyDB.OpenRecordset("tbl Table Definitions", dbOpenTable) Chester Kaup Engineering Technician Kinder Morgan CO2 Company, LLP Office (432) 688-3797 FAX (432) 688-3799 -- 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 Jun 7 09:21:42 2005 From: Lambert.Heenan at AIG.com (Heenan, Lambert) Date: Tue, 7 Jun 2005 10:21:42 -0400 Subject: [AccessD] Code to open table fails Message-ID: <1D7828CDB8350747AFE9D69E0E90DA1F1121425A@xlivmbx21.aig.com> Could it be as simple as the spaces in the table name? Have you tried... Set myds = MyDB.OpenRecordset("[tbl Table Definitions]", dbOpenTable) ...? Lambert -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Kaup, Chester Sent: Tuesday, June 07, 2005 9:55 AM To: accessd at databaseadvisors.com Subject: [AccessD] Code to open table fails I have used this code in many Access 2003 databases successfully. Just tried it in a 2003 version database and it will not open the table. I have checked and the table exists and name matched. I can open the table no problem from the table list. What may be happening here? Sub TableNames() Set MyDB = CurrentDb() Set AllTableDefs = MyDB.TableDefs Set myds = MyDB.OpenRecordset("tbl Table Definitions", dbOpenTable) Chester Kaup Engineering Technician Kinder Morgan CO2 Company, LLP Office (432) 688-3797 FAX (432) 688-3799 -- 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 Jun 7 09:21:44 2005 From: Chester_Kaup at kindermorgan.com (Kaup, Chester) Date: Tue, 7 Jun 2005 09:21:44 -0500 Subject: [AccessD] Code to open table fails Message-ID: Thanks! That was it. -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of jeffrey.demulling at usbank.com Sent: Tuesday, June 07, 2005 9:11 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Code to open table fails Check your references to make sure DAO is selected and then declare your variables as follows: Dim MyDB as DAO.Database Dim AllTableDefs as DAO.TableDef Dim myds as DAO.Recordset Jeffrey F. Demulling Project Manager U.S. Bank Corporate Trust Services 60 Livingston Avenue EP-MN-WS3C St. Paul, MN 55107-2292 Ph: 651-495-3925 Fax: 651-495-8103 email: jeffrey.demulling at usbank.com "Kaup, Chester" To Sent by: accessd at databaseadvisors.com accessd-bounces at d cc atabaseadvisors.c om Subject [AccessD] Code to open table fails 06/07/2005 08:54 AM Please respond to "Access Developers discussion and problem solving" I have used this code in many Access 2003 databases successfully. Just tried it in a 2003 version database and it will not open the table. I have checked and the table exists and name matched. I can open the table no problem from the table list. What may be happening here? Sub TableNames() Set MyDB = CurrentDb() Set AllTableDefs = MyDB.TableDefs Set myds = MyDB.OpenRecordset("tbl Table Definitions", dbOpenTable) Chester Kaup Engineering Technician Kinder Morgan CO2 Company, LLP Office (432) 688-3797 FAX (432) 688-3799 -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd 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 Jun 7 09:22:19 2005 From: Chester_Kaup at kindermorgan.com (Kaup, Chester) Date: Tue, 7 Jun 2005 09:22:19 -0500 Subject: [AccessD] Code to open table fails Message-ID: Needed DAO reference. Thanks! -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Bobby Heid Sent: Tuesday, June 07, 2005 9:15 AM To: 'Access Developers discussion and problem solving' Subject: RE: [AccessD] Code to open table fails What error message are you getting? Do you have a reference set to DAO instead of the default ADO? If you have a reference to both ADO and DAO, is the DAO first? Bobby -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Kaup, Chester Sent: Tuesday, June 07, 2005 9:55 AM To: accessd at databaseadvisors.com Subject: [AccessD] Code to open table fails I have used this code in many Access 2003 databases successfully. Just tried it in a 2003 version database and it will not open the table. I have checked and the table exists and name matched. I can open the table no problem from the table list. What may be happening here? Sub TableNames() Set MyDB = CurrentDb() Set AllTableDefs = MyDB.TableDefs Set myds = MyDB.OpenRecordset("tbl Table Definitions", dbOpenTable) Chester Kaup Engineering Technician Kinder Morgan CO2 Company, LLP Office (432) 688-3797 FAX (432) 688-3799 -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd 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 Jun 7 09:48:20 2005 From: DWUTKA at marlow.com (DWUTKA at marlow.com) Date: Tue, 7 Jun 2005 09:48:20 -0500 Subject: [AccessD] Insert Access Info Into Web page Message-ID: <123701F54509D9119A4F00D0B747349016D667@main2.marlow.com> You can open an instance of IE (then go to the site you want to 'dump' the data too), and you can then interact with IE's document object to insert your data. Drew -----Original Message----- From: Res-Com Environmental [mailto:relations at rescom.cc] Sent: Monday, June 06, 2005 6:38 PM To: accessd at databaseadvisors.com Subject: [AccessD] Insert Access Info Into Web page 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 -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From JRojas at tnco-inc.com Tue Jun 7 10:10:08 2005 From: JRojas at tnco-inc.com (Joe Rojas) Date: Tue, 7 Jun 2005 11:10:08 -0400 Subject: [AccessD] Creating SPC charts Message-ID: <0CC84C9461AE6445AD5A602001C41C4B05A323@mercury.tnco-inc.com> Hello, (Access 2000) I need to create statistical process control charts. Also known as X-bar charts, R-charts, ect. I already have the data but I don't know how to generate these kinds of charts in Access. Has anyone created these kinds of charts before? 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 Alun.Garraway at otto.de Tue Jun 7 10:12:20 2005 From: Alun.Garraway at otto.de (Garraway, Alun) Date: Tue, 7 Jun 2005 17:12:20 +0200 Subject: [AccessD] deleting first line of a text file? Message-ID: hallo, how do I delete the first line of a text file (whats the command)? or in other words Function DeleteFirstLine(strFile As String) Dim varFile As Variant varFile = FreeFile Open strFile For Input As #varFile (is open For Input correct?) what do I put in here?????????? End Function TIA :-) alun From jwcolby at colbyconsulting.com Tue Jun 7 10:22:48 2005 From: jwcolby at colbyconsulting.com (John W. Colby) Date: Tue, 7 Jun 2005 11:22:48 -0400 Subject: [AccessD] deleting first line of a text file? In-Reply-To: Message-ID: <000001c56b74$c6c5b030$6400a8c0@ColbyM6805> AFAIK there isn't any such thing. If you want to do that you need to open a file for input, another for writing, then read the first file, writing back to the second file and DON'T write the first line. John W. Colby www.ColbyConsulting.com Contribute your unused CPU cycles to a good cause: http://folding.stanford.edu/ -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Garraway, Alun Sent: Tuesday, June 07, 2005 11:12 AM To: accessd at databaseadvisors.com Subject: [AccessD] deleting first line of a text file? hallo, how do I delete the first line of a text file (whats the command)? or in other words Function DeleteFirstLine(strFile As String) Dim varFile As Variant varFile = FreeFile Open strFile For Input As #varFile (is open For Input correct?) what do I put in here?????????? End Function TIA :-) alun -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From bheid at appdevgrp.com Tue Jun 7 10:32:32 2005 From: bheid at appdevgrp.com (Bobby Heid) Date: Tue, 7 Jun 2005 11:32:32 -0400 Subject: [AccessD] deleting first line of a text file? In-Reply-To: <916187228923D311A6FE00A0CC3FAA30BDC6E4@ADGSERVER> Message-ID: <916187228923D311A6FE00A0CC3FAA30ABEBFD@ADGSERVER> Unless there's some sort of function that I do not know of, you need to: 1) open output file 2) open input file 3) read line of input file 4) read line of input file 5) write input line to output file 6) if not eof, goto #4. 7) close input file 8) close output file 9) delete input file 10) rename output file with the name of the old input file. Bobby -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Garraway, Alun Sent: Tuesday, June 07, 2005 11:12 AM To: accessd at databaseadvisors.com Subject: [AccessD] deleting first line of a text file? hallo, how do I delete the first line of a text file (whats the command)? or in other words Function DeleteFirstLine(strFile As String) Dim varFile As Variant varFile = FreeFile Open strFile For Input As #varFile (is open For Input correct?) what do I put in here?????????? End Function TIA :-) alun From cfoust at infostatsystems.com Tue Jun 7 10:34:06 2005 From: cfoust at infostatsystems.com (Charlotte Foust) Date: Tue, 7 Jun 2005 08:34:06 -0700 Subject: [AccessD] Replication Manager Message-ID: No, it's on the tools menu. I just don't have replication installed on this machine, so all I see is the grayed out item on the tools menu. Charlotte Foust -----Original Message----- From: Barbara Ryan [mailto:BarbaraRyan at cox.net] Sent: Tuesday, June 07, 2005 5:35 AM To: Access List Subject: [AccessD] Replication Manager Where I can I find Replication Manager for Access 2002? Is it a separate interface from the Replication option under Tools in Access 2002? I can't seem to locate it on the Office XP Pro installation CD. Thanks, Barb Ryan -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From Alun.Garraway at otto.de Tue Jun 7 10:39:15 2005 From: Alun.Garraway at otto.de (Garraway, Alun) Date: Tue, 7 Jun 2005 17:39:15 +0200 Subject: [AccessD] deleting first line of a text file? Message-ID: AHHHH, got it :-) thanks John & Bobby all the best alun -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of John W. Colby Sent: Tuesday, June 07, 2005 5:23 PM To: 'Access Developers discussion and problem solving' Subject: RE: [AccessD] deleting first line of a text file? AFAIK there isn't any such thing. If you want to do that you need to open a file for input, another for writing, then read the first file, writing back to the second file and DON'T write the first line. John W. Colby www.ColbyConsulting.com Contribute your unused CPU cycles to a good cause: http://folding.stanford.edu/ -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Garraway, Alun Sent: Tuesday, June 07, 2005 11:12 AM To: accessd at databaseadvisors.com Subject: [AccessD] deleting first line of a text file? hallo, how do I delete the first line of a text file (whats the command)? or in other words Function DeleteFirstLine(strFile As String) Dim varFile As Variant varFile = FreeFile Open strFile For Input As #varFile (is open For Input correct?) what do I put in here?????????? End Function TIA :-) alun -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From MarkBoyd at McBeeAssociates.com Tue Jun 7 10:49:30 2005 From: MarkBoyd at McBeeAssociates.com (Mark Boyd) Date: Tue, 7 Jun 2005 11:49:30 -0400 Subject: [AccessD] Dates From Previous Month Message-ID: <974F830FE464C14E8652F95E24DA663C043FB6@mail03.Mcbassoc.com> I'm looking for a way to get the 1st and last dates from the previous month. I'm working on an invoicing app, and need to determine the previous months date range. Is there a function, or use of the Format statement that will give me this info? Thanks, Mark Boyd I/S Supervisor McBee Associates, Inc. ----------------------------------------- This message and any attachments are intended only for the use of the individual or entity to which it is addressed and may contain information that is privileged, confidential, and exempt from disclosure under applicable law. If the reader of this message is not the intended recipient, or the employee or agent responsible for delivering the message to the intended recipient, you are hereby notified that any dissemination, distribution or copying of this communication is strictly prohibited. If you have received this communication in error, please notify the sender by replying to this message, and then delete it from your system. ------------------------------------------- From DWUTKA at marlow.com Tue Jun 7 10:58:15 2005 From: DWUTKA at marlow.com (DWUTKA at marlow.com) Date: Tue, 7 Jun 2005 10:58:15 -0500 Subject: [AccessD] Dates From Previous Month Message-ID: <123701F54509D9119A4F00D0B747349016D669@main2.marlow.com> 1st Previous month=DateSerial(Year(date),Month(date)-1,1) Last Previous month=DateSerial(Year(date),month(date),0) Drew -----Original Message----- From: Mark Boyd [mailto:MarkBoyd at mcbeeassociates.com] Sent: Tuesday, June 07, 2005 10:50 AM To: Access Developers discussion and problem solving Subject: [AccessD] Dates From Previous Month I'm looking for a way to get the 1st and last dates from the previous month. I'm working on an invoicing app, and need to determine the previous months date range. Is there a function, or use of the Format statement that will give me this info? Thanks, Mark Boyd I/S Supervisor McBee Associates, Inc. ----------------------------------------- This message and any attachments are intended only for the use of the individual or entity to which it is addressed and may contain information that is privileged, confidential, and exempt from disclosure under applicable law. If the reader of this message is not the intended recipient, or the employee or agent responsible for delivering the message to the intended recipient, you are hereby notified that any dissemination, distribution or copying of this communication is strictly prohibited. If you have received this communication in error, please notify the sender by replying to this message, and then delete it from your system. ------------------------------------------- -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From jimdettman at earthlink.net Tue Jun 7 11:05:46 2005 From: jimdettman at earthlink.net (Jim Dettman) Date: Tue, 7 Jun 2005 12:05:46 -0400 Subject: [AccessD] Replication Manager In-Reply-To: <003701c56b5d$5bd5dc80$0a00a8c0@cx470148a> Message-ID: <> It's only in the developers edition. Jim. -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Barbara Ryan Sent: Tuesday, June 07, 2005 8:35 AM To: Access List Subject: [AccessD] Replication Manager Where I can I find Replication Manager for Access 2002? Is it a separate interface from the Replication option under Tools in Access 2002? I can't seem to locate it on the Office XP Pro installation CD. Thanks, Barb Ryan -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From jwcolby at colbyconsulting.com Tue Jun 7 11:05:54 2005 From: jwcolby at colbyconsulting.com (John W. Colby) Date: Tue, 7 Jun 2005 12:05:54 -0400 Subject: [AccessD] Dates From Previous Month In-Reply-To: <974F830FE464C14E8652F95E24DA663C043FB6@mail03.Mcbassoc.com> Message-ID: <000101c56b7a$cbe34ae0$6400a8c0@ColbyM6805> Private Function dateStartRange(intRangeOption As Integer) As Date On Error GoTo Err_dateStartRange 'Julie Schwalm, Backroads Data, 1999 'Input: interger value of option group containing standard date ranges, 'such as Current Month, Year-to-Date, Last Quarter, etc. Values equal: ' 1 = Include all Dates ' 2 = Current Month ' 3 = Current Quarter ' 4 = Current Year ' 5 = Month-to-Date ' 6 = Quarter-to-Date ' 7 = Year-to-Date ' 8 = Last Month ' 9 = Last Quarter ' 10 = Last Year ' 11 = Last 12 months ' 12 = Custom Date 'OUTPUT: Date to be placed in unbound text box, representing the beginning 'of the date range for the selected report. Dim dateResult As Date Select Case intRangeOption Case 1 'Include all Dates Let dateResult = #1/1/1900# Case 2, 5 'Current Month Let dateResult = DateSerial(Year(Date), Month(Date), 1) Case 3, 6 Let dateResult = DateSerial(Year(Date), Int((Month(Date) - 1) / 3) * 3 + 1, 1) Case 4, 7 Let dateResult = DateSerial(Year(Date), 1, 1) Case 8 Let dateResult = DateSerial(Year(Date), Month(Date) - 1, 1) Case 9 Let dateResult = DateSerial(Year(Date), Int((Month(Date) - 1) / 3) * 3 + 1 - 3, 1) Case 10 Let dateResult = DateSerial(Year(Date) - 1, 1, 1) Case 11 Let dateResult = DateAdd("yyyy", -1, Date) + 1 End Select dateStartRange = Format(dateResult, "mm\/dd\/yyyy") Exit_dateStartRange: Exit Function Err_dateStartRange: Select Case Err Case 0 '.insert Errors you wish to ignore here Resume Next Case Else '.All other errors will trap Beep MsgBox Err.Description, , "Error in Function basDateFunctions.dateStartRange" Resume Exit_dateStartRange End Select Resume 0 '.FOR TROUBLESHOOTING End Function Private Function dateEndRange(intRangeOption As Integer) As Date On Error GoTo Err_dateEndRange 'Julie Schwalm, Backroads Data, 1999 'Input: interger value of option group containing standard date ranges, 'such as Current Month, Year-to-Date, Last Quarter, etc. Values equal: ' 1 = Include all Dates ' 2 = Current Month ' 3 = Current Quarter ' 4 = Current Year ' 5 = Month-to-Date ' 6 = Quarter-to-Date ' 7 = Year-to-Date ' 8 = Last Month ' 9 = Last Quarter ' 10 = Last Year ' 11 = Last 12 months ' 12 = Custom Date 'OUTPUT: Date to be placed in unbound text box, representing the end 'of the date range for the selected report. Dim dateResult As Date Dim strDate As Date Select Case intRangeOption Case 1 Let dateResult = #1/1/2115# Case 2 Let dateResult = DateSerial(Year(Date), Month(Date) + 1, 0) Case 3 Let dateResult = DateSerial(Year(Date), Int((Month(Date) - 1) / 3) * 3 + 4, 0) Case 4 Let dateResult = DateSerial(Year(Date), 12, 31) Case 5, 6, 7, 11 Let dateResult = Date Case 8 Let dateResult = DateSerial(Year(Date), Month(Date), 0) Case 9 Let dateResult = DateSerial(Year(Date), Int((Month(Date) - 1) / 3) * 3 + 4 - 3, 0) Case 10 ' Let dateResult = DateAdd("yyyy", -1, Date) + 1 Let dateResult = DateSerial(Year(Date) - 1, 12, 31) End Select dateEndRange = Format(dateResult, "mm\/dd\/yyyy") Exit_dateEndRange: Exit Function Err_dateEndRange: Select Case Err Case 0 '.insert Errors you wish to ignore here Resume Next Case Else '.All other errors will trap Beep MsgBox Err.Description, , "Error in Function basDateFunctions.dateEndRange" Resume Exit_dateEndRange End Select 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 Mark Boyd Sent: Tuesday, June 07, 2005 11:49 AM To: Access Developers discussion and problem solving Subject: [AccessD] Dates From Previous Month I'm looking for a way to get the 1st and last dates from the previous month. I'm working on an invoicing app, and need to determine the previous months date range. Is there a function, or use of the Format statement that will give me this info? Thanks, Mark Boyd I/S Supervisor McBee Associates, Inc. ----------------------------------------- This message and any attachments are intended only for the use of the individual or entity to which it is addressed and may contain information that is privileged, confidential, and exempt from disclosure under applicable law. If the reader of this message is not the intended recipient, or the employee or agent responsible for delivering the message to the intended recipient, you are hereby notified that any dissemination, distribution or copying of this communication is strictly prohibited. If you have received this communication in error, please notify the sender by replying to this message, and then delete it from your system. ------------------------------------------- -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From MarkBoyd at McBeeAssociates.com Tue Jun 7 11:15:23 2005 From: MarkBoyd at McBeeAssociates.com (Mark Boyd) Date: Tue, 7 Jun 2005 12:15:23 -0400 Subject: [AccessD] Dates From Previous Month Message-ID: <974F830FE464C14E8652F95E24DA663C043FB7@mail03.Mcbassoc.com> Perfect. Thanks Drew. Mark Boyd I/S Supervisor McBee Associates, Inc. -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of DWUTKA at marlow.com Sent: Tuesday, June 07, 2005 11:58 AM To: accessd at databaseadvisors.com Subject: RE: [AccessD] Dates From Previous Month 1st Previous month=DateSerial(Year(date),Month(date)-1,1) Last Previous month=DateSerial(Year(date),month(date),0) Drew -----Original Message----- From: Mark Boyd [mailto:MarkBoyd at mcbeeassociates.com] Sent: Tuesday, June 07, 2005 10:50 AM To: Access Developers discussion and problem solving Subject: [AccessD] Dates From Previous Month I'm looking for a way to get the 1st and last dates from the previous month. I'm working on an invoicing app, and need to determine the previous months date range. Is there a function, or use of the Format statement that will give me this info? Thanks, Mark Boyd I/S Supervisor McBee Associates, Inc. ----------------------------------------- This message and any attachments are intended only for the use of the individual or entity to which it is addressed and may contain information that is privileged, confidential, and exempt from disclosure under applicable law. If the reader of this message is not the intended recipient, or the employee or agent responsible for delivering the message to the intended recipient, you are hereby notified that any dissemination, distribution or copying of this communication is strictly prohibited. If you have received this communication in error, please notify the sender by replying to this message, and then delete it from your system. ------------------------------------------- -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com ----------------------------------------- This message and any attachments are intended only for the use of the individual or entity to which it is addressed and may contain information that is privileged, confidential, and exempt from disclosure under applicable law. If the reader of this message is not the intended recipient, or the employee or agent responsible for delivering the message to the intended recipient, you are hereby notified that any dissemination, distribution or copying of this communication is strictly prohibited. If you have received this communication in error, please notify the sender by replying to this message, and then delete it from your system. ------------------------------------------- From reuben at gfconsultants.com Tue Jun 7 11:16:56 2005 From: reuben at gfconsultants.com (Reuben Cummings) Date: Tue, 7 Jun 2005 11:16:56 -0500 Subject: [AccessD] Dates From Previous Month In-Reply-To: <974F830FE464C14E8652F95E24DA663C043FB6@mail03.Mcbassoc.com> Message-ID: 1st of Previous Month = dateserial(year(date()),month(date())-1,1) Last of previous month = dateadd("d",-1,dateserial(year(date()), month(date()),1)) Reuben Cummings GFC, LLC phone: 812.523.1017 email: reuben at gfconsultants.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Mark Boyd Sent: Tuesday, June 07, 2005 10:50 AM To: Access Developers discussion and problem solving Subject: [AccessD] Dates From Previous Month I'm looking for a way to get the 1st and last dates from the previous month. I'm working on an invoicing app, and need to determine the previous months date range. Is there a function, or use of the Format statement that will give me this info? Thanks, Mark Boyd I/S Supervisor McBee Associates, Inc. ----------------------------------------- This message and any attachments are intended only for the use of the individual or entity to which it is addressed and may contain information that is privileged, confidential, and exempt from disclosure under applicable law. If the reader of this message is not the intended recipient, or the employee or agent responsible for delivering the message to the intended recipient, you are hereby notified that any dissemination, distribution or copying of this communication is strictly prohibited. If you have received this communication in error, please notify the sender by replying to this message, and then delete it from your system. ------------------------------------------- -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From reuben at gfconsultants.com Tue Jun 7 11:20:02 2005 From: reuben at gfconsultants.com (Reuben Cummings) Date: Tue, 7 Jun 2005 11:20:02 -0500 Subject: [AccessD] Dates From Previous Month In-Reply-To: <123701F54509D9119A4F00D0B747349016D669@main2.marlow.com> Message-ID: Drew, does that mean the 6-0-05 = 5-31-05? I learned something today. Thanks. Reuben Cummings GFC, LLC phone: 812.523.1017 email: reuben at gfconsultants.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of DWUTKA at marlow.com Sent: Tuesday, June 07, 2005 10:58 AM To: accessd at databaseadvisors.com Subject: RE: [AccessD] Dates From Previous Month 1st Previous month=DateSerial(Year(date),Month(date)-1,1) Last Previous month=DateSerial(Year(date),month(date),0) Drew -----Original Message----- From: Mark Boyd [mailto:MarkBoyd at mcbeeassociates.com] Sent: Tuesday, June 07, 2005 10:50 AM To: Access Developers discussion and problem solving Subject: [AccessD] Dates From Previous Month I'm looking for a way to get the 1st and last dates from the previous month. I'm working on an invoicing app, and need to determine the previous months date range. Is there a function, or use of the Format statement that will give me this info? Thanks, Mark Boyd I/S Supervisor McBee Associates, Inc. ----------------------------------------- This message and any attachments are intended only for the use of the individual or entity to which it is addressed and may contain information that is privileged, confidential, and exempt from disclosure under applicable law. If the reader of this message is not the intended recipient, or the employee or agent responsible for delivering the message to the intended recipient, you are hereby notified that any dissemination, distribution or copying of this communication is strictly prohibited. If you have received this communication in error, please notify the sender by replying to this message, and then delete it from your system. ------------------------------------------- -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From martyconnelly at shaw.ca Tue Jun 7 11:24:41 2005 From: martyconnelly at shaw.ca (MartyConnelly) Date: Tue, 07 Jun 2005 09:24:41 -0700 Subject: [AccessD] Replication Manager References: <003701c56b5d$5bd5dc80$0a00a8c0@cx470148a> Message-ID: <42A5CA49.3070604@shaw.ca> RepMan 4.0 is on the Office XP Developers Edition, not the Pro Edition, funnily enough there is no RepMan for 2003. I don't know what you do here use VB.Net and JRO or old version of RepMan with Access 2003 Documentation within MS-Access 2003 states that this tool is still required to setup Internet replicated Access databases. http://support.microsoft.com/default.aspx?scid=kb;en-us;828089 so, unless you have that RepMan from XP .... you need to write your own using JRO or use a tool like TSI Synchronizer http://www.trigeminal.com/repl?ication/synch.asp?1033 Note that this is not really true, either -- the TSI Synchronizer depends upon you having the Jet Synchronizer (which comes with Replication Manager). You do not need Replication Manager to use all forms of Jet replication. Replication Manager is a tool for implementing certain advanced replication functionalities such as synchronizer configuration for indirect or internet replication or for changing the the retention period of a replication set. Also, you do not need to have a copy of Replication Manager on every computer (and probably shouldn't) since it is only an administrators tool. Anything that can be done with Replication manager can also be accomplished using DAO or JRO code Jet 8 SP has a seperate update for replication http://support.microsoft.com/default.aspx?kbid=321076 This shows installation procedures for RepMan Internet Synchronization with the Microsoft Jet Database Engine: A Technical Overview http://msdn.microsoft.com/library/default.asp?url=/library/en-us/dnacc2k/html/intrjet4.asp Make sure you have read the replication faq and understand indirect and direct synchronization http://support.microsoft.com/kb/q282977/ Here's some DAO code to illustrate a basic synchronization process of BE over a Lan... 'Courtesy Lambert Heenan Private Sub btnUpdateMaster_Click() Dim msg As String Dim sReplicaDb As Variant Dim sMainStore As String Dim db As Database On Error GoTo btnUpdateMaster_err 'First get the path to the replica file we will synch. with. msg = "This procedure will update the MASTER database with one or more replica databases.@" msg = msg & "Do you with to continue?@" If MsgBox(msg, vbYesNo Or vbQuestion, "Synchronize Master Database") = vbYes Then sReplicaDb = sDataToSynchFrom() ' ' sDataToSynchFrom() is a function that returns the full path to an MDB file If sReplicaDb & "" = "" Then Exit Sub sMainStore = GetAttachedDbName(GetFirstAttachedtable) ' GetAttachedDbName() is a function that returns the full path to the back end database ' given the name of one of the linked tables ' sanity check If sMainStore = sReplicaDb Then MsgBox "Cannot synchronize your main data file with itself. at Please select the correct replica data file to synchronize with.@", , "Invalid data file selected" Exit Sub End If DoCmd.Hourglass True ' here is where the synchronization takes place Set db = OpenDatabase(sMainStore) ' this does a one-way synchronizatin - just importing changes in the data. ' you can also do two way using the constant "dbRepImpExpChanges" db.Synchronize sReplicaDb, dbRepImportChanges RenameSynchedFile CStr(sReplicaDb) DoCmd.Hourglass False MsgBox "Synchronization completed", , "Synchronize Master Database" End If btnUpdateMaster_Click_Exit: Set db = Nothing Exit Sub btnUpdateMaster_err: DoCmd.Hourglass False ' put your favorite error handler here MsgBox "Error synchronizing with " & sReplicaDb & "@" & Err.Description & "@Error number " & Err.Number Resume btnUpdateMaster_Click_Exit End Sub Barbara Ryan wrote: >Where I can I find Replication Manager for Access 2002? Is it a separate interface from the Replication option under Tools in Access 2002? I can't seem to locate it on the Office XP Pro installation CD. > >Thanks, >Barb Ryan > > -- Marty Connelly Victoria, B.C. Canada From martyconnelly at shaw.ca Tue Jun 7 11:41:09 2005 From: martyconnelly at shaw.ca (MartyConnelly) Date: Tue, 07 Jun 2005 09:41:09 -0700 Subject: [AccessD] Insert Access Info Into Web page References: Message-ID: <42A5CE25.1030709@shaw.ca> 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 From iggy at nanaimo.ark.com Tue Jun 7 12:19:36 2005 From: iggy at nanaimo.ark.com (Tony Septav) Date: Tue, 07 Jun 2005 10:19:36 -0700 Subject: [AccessD] Converting Access97 app to 2000 Message-ID: <42A5D728.4080206@nanaimo.ark.com> Hey All I have converted my first Access97 application to Access2000. Everything seems to be working fine. I have not as yet gone through and changed my declarations to DAO.Recordset, DAO.Database, etc.. Are there any other things I should be aware of.? And I know some of you are saying "Geez about time". I am planning on purchasing Access2003, but one step at a time, it is hard to teach an old dog new tricks. From DWUTKA at marlow.com Tue Jun 7 12:13:00 2005 From: DWUTKA at marlow.com (DWUTKA at marlow.com) Date: Tue, 7 Jun 2005 12:13:00 -0500 Subject: [AccessD] Dates From Previous Month Message-ID: <123701F54509D9119A4F00D0B747349016D66B@main2.marlow.com> No problem, glad to help. Drew -----Original Message----- From: Mark Boyd [mailto:MarkBoyd at mcbeeassociates.com] Sent: Tuesday, June 07, 2005 11:15 AM To: Access Developers discussion and problem solving Subject: RE: [AccessD] Dates From Previous Month Perfect. Thanks Drew. Mark Boyd I/S Supervisor McBee Associates, Inc. -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of DWUTKA at marlow.com Sent: Tuesday, June 07, 2005 11:58 AM To: accessd at databaseadvisors.com Subject: RE: [AccessD] Dates From Previous Month 1st Previous month=DateSerial(Year(date),Month(date)-1,1) Last Previous month=DateSerial(Year(date),month(date),0) Drew -----Original Message----- From: Mark Boyd [mailto:MarkBoyd at mcbeeassociates.com] Sent: Tuesday, June 07, 2005 10:50 AM To: Access Developers discussion and problem solving Subject: [AccessD] Dates From Previous Month I'm looking for a way to get the 1st and last dates from the previous month. I'm working on an invoicing app, and need to determine the previous months date range. Is there a function, or use of the Format statement that will give me this info? Thanks, Mark Boyd I/S Supervisor McBee Associates, Inc. ----------------------------------------- This message and any attachments are intended only for the use of the individual or entity to which it is addressed and may contain information that is privileged, confidential, and exempt from disclosure under applicable law. If the reader of this message is not the intended recipient, or the employee or agent responsible for delivering the message to the intended recipient, you are hereby notified that any dissemination, distribution or copying of this communication is strictly prohibited. If you have received this communication in error, please notify the sender by replying to this message, and then delete it from your system. ------------------------------------------- -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com ----------------------------------------- This message and any attachments are intended only for the use of the individual or entity to which it is addressed and may contain information that is privileged, confidential, and exempt from disclosure under applicable law. If the reader of this message is not the intended recipient, or the employee or agent responsible for delivering the message to the intended recipient, you are hereby notified that any dissemination, distribution or copying of this communication is strictly prohibited. If you have received this communication in error, please notify the sender by replying to this message, and then delete it from your system. ------------------------------------------- -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From DWUTKA at marlow.com Tue Jun 7 12:13:27 2005 From: DWUTKA at marlow.com (DWUTKA at marlow.com) Date: Tue, 7 Jun 2005 12:13:27 -0500 Subject: [AccessD] Dates From Previous Month Message-ID: <123701F54509D9119A4F00D0B747349016D66C@main2.marlow.com> It does to that function.... Drew -----Original Message----- From: Reuben Cummings [mailto:reuben at gfconsultants.com] Sent: Tuesday, June 07, 2005 11:20 AM To: Access Developers discussion and problem solving Subject: RE: [AccessD] Dates From Previous Month Drew, does that mean the 6-0-05 = 5-31-05? I learned something today. Thanks. Reuben Cummings GFC, LLC phone: 812.523.1017 email: reuben at gfconsultants.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of DWUTKA at marlow.com Sent: Tuesday, June 07, 2005 10:58 AM To: accessd at databaseadvisors.com Subject: RE: [AccessD] Dates From Previous Month 1st Previous month=DateSerial(Year(date),Month(date)-1,1) Last Previous month=DateSerial(Year(date),month(date),0) Drew -----Original Message----- From: Mark Boyd [mailto:MarkBoyd at mcbeeassociates.com] Sent: Tuesday, June 07, 2005 10:50 AM To: Access Developers discussion and problem solving Subject: [AccessD] Dates From Previous Month I'm looking for a way to get the 1st and last dates from the previous month. I'm working on an invoicing app, and need to determine the previous months date range. Is there a function, or use of the Format statement that will give me this info? Thanks, Mark Boyd I/S Supervisor McBee Associates, Inc. ----------------------------------------- This message and any attachments are intended only for the use of the individual or entity to which it is addressed and may contain information that is privileged, confidential, and exempt from disclosure under applicable law. If the reader of this message is not the intended recipient, or the employee or agent responsible for delivering the message to the intended recipient, you are hereby notified that any dissemination, distribution or copying of this communication is strictly prohibited. If you have received this communication in error, please notify the sender by replying to this message, and then delete it from your system. ------------------------------------------- -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From cfoust at infostatsystems.com Tue Jun 7 12:22:04 2005 From: cfoust at infostatsystems.com (Charlotte Foust) Date: Tue, 7 Jun 2005 10:22:04 -0700 Subject: [AccessD] Replication Manager Message-ID: It may be in VSTO, along with the rest of the developer tools for Access. Charlotte Foust -----Original Message----- From: MartyConnelly [mailto:martyconnelly at shaw.ca] Sent: Tuesday, June 07, 2005 9:25 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Replication Manager RepMan 4.0 is on the Office XP Developers Edition, not the Pro Edition, funnily enough there is no RepMan for 2003. I don't know what you do here use VB.Net and JRO or old version of RepMan with Access 2003 Documentation within MS-Access 2003 states that this tool is still required to setup Internet replicated Access databases. http://support.microsoft.com/default.aspx?scid=kb;en-us;828089 so, unless you have that RepMan from XP .... you need to write your own using JRO or use a tool like TSI Synchronizer http://www.trigeminal.com/repl-ication/synch.asp?1033 Note that this is not really true, either -- the TSI Synchronizer depends upon you having the Jet Synchronizer (which comes with Replication Manager). You do not need Replication Manager to use all forms of Jet replication. Replication Manager is a tool for implementing certain advanced replication functionalities such as synchronizer configuration for indirect or internet replication or for changing the the retention period of a replication set. Also, you do not need to have a copy of Replication Manager on every computer (and probably shouldn't) since it is only an administrators tool. Anything that can be done with Replication manager can also be accomplished using DAO or JRO code Jet 8 SP has a seperate update for replication http://support.microsoft.com/default.aspx?kbid=321076 This shows installation procedures for RepMan Internet Synchronization with the Microsoft Jet Database Engine: A Technical Overview http://msdn.microsoft.com/library/default.asp?url=/library/en-us/dnacc2k /html/intrjet4.asp Make sure you have read the replication faq and understand indirect and direct synchronization http://support.microsoft.com/kb/q282977/ Here's some DAO code to illustrate a basic synchronization process of BE over a Lan... 'Courtesy Lambert Heenan Private Sub btnUpdateMaster_Click() Dim msg As String Dim sReplicaDb As Variant Dim sMainStore As String Dim db As Database On Error GoTo btnUpdateMaster_err 'First get the path to the replica file we will synch. with. msg = "This procedure will update the MASTER database with one or more replica databases.@" msg = msg & "Do you with to continue?@" If MsgBox(msg, vbYesNo Or vbQuestion, "Synchronize Master Database") = vbYes Then sReplicaDb = sDataToSynchFrom() ' ' sDataToSynchFrom() is a function that returns the full path to an MDB file If sReplicaDb & "" = "" Then Exit Sub sMainStore = GetAttachedDbName(GetFirstAttachedtable) ' GetAttachedDbName() is a function that returns the full path to the back end database ' given the name of one of the linked tables ' sanity check If sMainStore = sReplicaDb Then MsgBox "Cannot synchronize your main data file with itself. at Please select the correct replica data file to synchronize with.@", , "Invalid data file selected" Exit Sub End If DoCmd.Hourglass True ' here is where the synchronization takes place Set db = OpenDatabase(sMainStore) ' this does a one-way synchronizatin - just importing changes in the data. ' you can also do two way using the constant "dbRepImpExpChanges" db.Synchronize sReplicaDb, dbRepImportChanges RenameSynchedFile CStr(sReplicaDb) DoCmd.Hourglass False MsgBox "Synchronization completed", , "Synchronize Master Database" End If btnUpdateMaster_Click_Exit: Set db = Nothing Exit Sub btnUpdateMaster_err: DoCmd.Hourglass False ' put your favorite error handler here MsgBox "Error synchronizing with " & sReplicaDb & "@" & Err.Description & "@Error number " & Err.Number Resume btnUpdateMaster_Click_Exit End Sub Barbara Ryan wrote: >Where I can I find Replication Manager for Access 2002? Is it a >separate interface from the Replication option under Tools in Access >2002? I can't seem to locate it on the Office XP Pro installation CD. > >Thanks, >Barb Ryan > > -- 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 cfoust at infostatsystems.com Tue Jun 7 12:28:29 2005 From: cfoust at infostatsystems.com (Charlotte Foust) Date: Tue, 7 Jun 2005 10:28:29 -0700 Subject: [AccessD] Converting Access97 app to 2000 Message-ID: Several things. If you ever played with pipe concatenation (if you don't know what it is, you haven't), you'll have to change it to standard concatenation because 2000 and higher don't interpret it properly. If you use parameter queries that reference forms, you'll have to go into the queries and make sure the query parameters use proper referencing like [forms]![MyForm]![MyControl]. If any of the brackets around any of the sections are missing, 2000 and later will put brackets around the whole thing, like [forms!MyForm![MyControl]], which breaks the query. Using @ in messagebox prompts to bold parts of the text no longer works in 2000+, so you'll have to deal with that if you used it. If you used any common controls (calendar controls, datetime picker, OpenFile dialog, etc.) you'll need to make sure the references point to the VB6 version, becase the VB5 versions don't work in 2000+. Charlotte Foust -----Original Message----- From: Tony Septav [mailto:iggy at nanaimo.ark.com] Sent: Tuesday, June 07, 2005 10:20 AM To: accessd at databaseadvisors.com Subject: [AccessD] Converting Access97 app to 2000 Hey All I have converted my first Access97 application to Access2000. Everything seems to be working fine. I have not as yet gone through and changed my declarations to DAO.Recordset, DAO.Database, etc.. Are there any other things I should be aware of.? And I know some of you are saying "Geez about time". I am planning on purchasing Access2003, but one step at a time, it is hard to teach an old dog new tricks. -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From BarbaraRyan at cox.net Tue Jun 7 12:45:32 2005 From: BarbaraRyan at cox.net (Barbara Ryan) Date: Tue, 7 Jun 2005 13:45:32 -0400 Subject: [AccessD] Replication Manager References: <003701c56b5d$5bd5dc80$0a00a8c0@cx470148a> <42A5CA49.3070604@shaw.ca> Message-ID: <00af01c56b88$b3f79a40$0a00a8c0@cx470148a> Thanks, Marty.....I REALLY appreciate all this information. I'm sure it took a bit of time to pull it all together....Barb ----- Original Message ----- From: "MartyConnelly" To: "Access Developers discussion and problem solving" Sent: Tuesday, June 07, 2005 12:24 PM Subject: Re: [AccessD] Replication Manager > RepMan 4.0 is on the Office XP Developers Edition, not the Pro Edition, > funnily enough there is no RepMan for 2003. > I don't know what you do here use VB.Net and JRO or old version of > RepMan with Access 2003 > > Documentation within MS-Access 2003 states that this tool is still > required to setup Internet replicated Access databases. > http://support.microsoft.com/default.aspx?scid=kb;en-us;828089 > > so, unless you have that RepMan from XP > .... you need to write your own using JRO or use a tool like TSI > Synchronizer > http://www.trigeminal.com/repl?ication/synch.asp?1033 > > Note that this is not really true, either -- the TSI Synchronizer depends > upon you having the Jet Synchronizer (which comes with Replication > Manager). > > You do not need Replication Manager to use all forms of Jet replication. > Replication > Manager is a tool for implementing certain advanced replication > functionalities such as synchronizer configuration for indirect or internet > replication or for changing the the retention period of a replication set. > Also, you do not need to have a copy of Replication Manager on every > computer (and probably shouldn't) since it is only an administrators tool. > Anything that can be done with Replication manager can also be accomplished > using DAO or JRO code > > Jet 8 SP has a seperate update for replication > > http://support.microsoft.com/default.aspx?kbid=321076 > > This shows installation procedures for RepMan > > Internet Synchronization with the Microsoft Jet Database Engine: A > Technical Overview > http://msdn.microsoft.com/library/default.asp?url=/library/en-us/dnacc2k/html/intrjet4.asp > > Make sure you have read the replication faq and understand indirect and > direct synchronization > > http://support.microsoft.com/kb/q282977/ > > Here's some DAO code to illustrate a basic synchronization process of BE > over a Lan... > 'Courtesy Lambert Heenan > Private Sub btnUpdateMaster_Click() > Dim msg As String > Dim sReplicaDb As Variant > Dim sMainStore As String > Dim db As Database > > On Error GoTo btnUpdateMaster_err > 'First get the path to the replica file we will synch. with. > msg = "This procedure will update the MASTER database with one or more > replica databases.@" > msg = msg & "Do you with to continue?@" > If MsgBox(msg, vbYesNo Or vbQuestion, "Synchronize Master Database") = > vbYes Then > > sReplicaDb = sDataToSynchFrom() ' > > ' sDataToSynchFrom() is a function that returns the full path to an MDB file > > If sReplicaDb & "" = "" Then Exit Sub > sMainStore = GetAttachedDbName(GetFirstAttachedtable) > > ' GetAttachedDbName() is a function that returns the full path to the back > end database > ' given the name of one of the linked tables > > ' sanity check > If sMainStore = sReplicaDb Then > MsgBox "Cannot synchronize your main data file with > itself. at Please select the correct replica data file to synchronize with.@", > , "Invalid data file selected" > Exit Sub > End If > DoCmd.Hourglass True > ' here is where the synchronization takes place > Set db = OpenDatabase(sMainStore) > ' this does a one-way synchronizatin - just importing changes in the data. > ' you can also do two way using the constant "dbRepImpExpChanges" > db.Synchronize sReplicaDb, dbRepImportChanges > RenameSynchedFile CStr(sReplicaDb) > DoCmd.Hourglass False > MsgBox "Synchronization completed", , "Synchronize Master Database" > End If > btnUpdateMaster_Click_Exit: > Set db = Nothing > Exit Sub > btnUpdateMaster_err: > DoCmd.Hourglass False > ' put your favorite error handler here > MsgBox "Error synchronizing with " & sReplicaDb & "@" & Err.Description > & "@Error number " & Err.Number > Resume btnUpdateMaster_Click_Exit > End Sub > > > Barbara Ryan wrote: > > >Where I can I find Replication Manager for Access 2002? Is it a separate interface from the Replication option under Tools in Access 2002? I can't seem to locate it on the Office XP Pro installation CD. > > > >Thanks, > >Barb Ryan > > > > > > -- > 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 iggy at nanaimo.ark.com Tue Jun 7 13:04:04 2005 From: iggy at nanaimo.ark.com (Tony Septav) Date: Tue, 07 Jun 2005 11:04:04 -0700 Subject: [AccessD] Converting Access97 app to 2000 Message-ID: <42A5E194.30200@nanaimo.ark.com> Thanks Charlotte, much appreciated. From accessd at shaw.ca Tue Jun 7 13:15:20 2005 From: accessd at shaw.ca (Jim Lawrence) Date: Tue, 07 Jun 2005 11:15:20 -0700 Subject: [AccessD] Insert Access Info Into Web page In-Reply-To: <123701F54509D9119A4F00D0B747349016D667@main2.marlow.com> Message-ID: <0IHQ004IK81HAL@l-daemon> Hi Drew: ...That is supposing a superior knowledge in the use of both the MSHTML.TBL library, Java-Script and write access to the web site. Check out: http://www.cpcug.org/user/clemenzi/technical/Databases/WebAccess.html for a simple sample of Access web access. HTH Jim -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of DWUTKA at marlow.com Sent: Tuesday, June 07, 2005 7:48 AM To: accessd at databaseadvisors.com Subject: RE: [AccessD] Insert Access Info Into Web page You can open an instance of IE (then go to the site you want to 'dump' the data too), and you can then interact with IE's document object to insert your data. Drew -----Original Message----- From: Res-Com Environmental [mailto:relations at rescom.cc] Sent: Monday, June 06, 2005 6:38 PM To: accessd at databaseadvisors.com Subject: [AccessD] Insert Access Info Into Web page 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 -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd 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 Jun 7 15:05:15 2005 From: dwaters at usinternet.com (Dan Waters) Date: Tue, 7 Jun 2005 13:05:15 -0700 Subject: [AccessD] Creating SPC charts In-Reply-To: <3354369.1118157678779.JavaMail.root@sniper17> Message-ID: <000201c56b9c$398031a0$54018e0a@danwaters> Hi Joe, I am a Quality Engineer and have made many SPC charts! But none in Access yet. You can use MS Graph to make these - pretty much anything you can create in Excel you can make in MS Graph. All the best! Dan Waters -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Joe Rojas Sent: Tuesday, June 07, 2005 8:10 AM To: 'Access Developers discussion and problem solving' Subject: [AccessD] Creating SPC charts Hello, (Access 2000) I need to create statistical process control charts. Also known as X-bar charts, R-charts, ect. I already have the data but I don't know how to generate these kinds of charts in Access. Has anyone created these kinds of charts before? 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 Jim.Hale at FleetPride.com Tue Jun 7 15:31:32 2005 From: Jim.Hale at FleetPride.com (Hale, Jim) Date: Tue, 7 Jun 2005 15:31:32 -0500 Subject: [AccessD] Excel Macro Automation from within Access Message-ID: <6A6AA9DF57E4F046BDA1E273BDDB677233763F@corp-es01.fleetpride.com> I believe MicoSith is vaguely ashamed of the Kill statement since it derives from a simpler era when such barbaric practices were the norm. Rumors indicate, as part of their agreement with the European Union, the command will be renamed TerminatedWithoutPrejudice. The damage may have already been done, however, since certain large files have already requested amnesty and are seeking refuge in certain unnamed hidden folders. :-) Jim Hale -----Original Message----- From: Mark Boyd [mailto:MarkBoyd at mcbeeassociates.com] Sent: Monday, June 06, 2005 1:56 PM To: Access Developers discussion and problem solving Subject: RE: [AccessD] Excel Macro Automation from within Access Great idea. I wasn't aware of the Kill statement. My plan was to shell a batch file to delete it, but this is much easier. Thanks again, Mark Boyd I/S Supervisor McBee Associates, Inc. -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Hale, Jim Sent: Monday, June 06, 2005 2:43 PM To: 'Access Developers discussion and problem solving' Subject: RE: [AccessD] Excel Macro Automation from within Access I'm glad it worked for you. I was thinking that you might want to add a Kill strpathname 'deletes original Excel sheet statement after the new copy has been saved so you are left with only the new copy. Jim Hale -----Original Message----- From: Mark Boyd [mailto:MarkBoyd at mcbeeassociates.com] Sent: Monday, June 06, 2005 11:31 AM To: Access Developers discussion and problem solving Subject: RE: [AccessD] Excel Macro Automation from within Access Thanks Jim. This is perfect! Mark Boyd I/S Supervisor McBee Associates, Inc. -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Hale, Jim Sent: Thursday, June 02, 2005 10:10 AM To: 'Access Developers discussion and problem solving' Subject: RE: [AccessD] Excel Macro Automation from within Access I think the sequence you are looking for is similar to this: Sub rpt_to_excel() Dim appExcel As Excel.Application, strpathname As String Dim strpathnew As String, strReport As String strpathname = "C:\test.xls" strpathnew = "C:\test2.xls" strReport = "rptInvsummary" DoCmd.OutputTo acOutputReport, strReport, acFormatXLS, strpathname Set appExcel = New Excel.Application 'format your report With appExcel .Workbooks.Open strpathname, 0 .Visible = True 'just to watch the sheet .Range("A1:G1").Select .Selection.Font.Bold = True .Selection.Font.Name = "Arial" .Selection.Font.Size = 12 .ActiveWorkbook.SaveAs Filename:=strpathnew,FileFormat:=xlNormal End With appExcel.Quit Set appExcel = Nothing End Sub This opens the file you output and saves it as a current version workbook under a new name. As you debug be aware of leaving orphan instances of Excel in memory. You can tell if any exist by placing the following script in notepad and running it: Dim objXL Dim strMessage On Error Resume Next ' Try to grab a running instance of ' Excel... Set objXL = GetObject(, "Excel.Application") ' What did we find?.. If Not TypeName(objXL) = "Empty" Then strMessage = "Excel Running." Else strMessage = "Excel Not Running." End If ' Feedback to user... MsgBox strMessage, vbInformation, "Excel Status" ' Make the Excel instance visible ' if we found one if strMessage = "Excel Running." then _ objXL.Visible = true -----Original Message----- From: Mark Boyd [mailto:MarkBoyd at mcbeeassociates.com] Sent: Wednesday, June 01, 2005 5:21 PM To: Access Developers discussion and problem solving Subject: RE: [AccessD] Excel Macro Automation from within Access Thanks Jim, this is pointing me in the right direction. The export process is as follows: 1. Export report to Excel 2. Format report w/ macro 3. Save formatting changes 4. Attach file to email message When using the SaveAs method, I'm prompted to overwrite the existing excel file (the one just formatted). Am I missing something in regard to the properties of the SaveAs method, that will allow me to save the existing, formatted file? If I select Yes to overwrite the existing file, all of the macro formats are lost. Mark Boyd I/S Supervisor McBee Associates, Inc. *********************************************************************** 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. ----------------------------------------- This message and any attachments are intended only for the use of the individual or entity to which it is addressed and may contain information that is privileged, confidential, and exempt from disclosure under applicable law. If the reader of this message is not the intended recipient, or the employee or agent responsible for delivering the message to the intended recipient, you are hereby notified that any dissemination, distribution or copying of this communication is strictly prohibited. If you have received this communication in error, please notify the sender by replying to this message, and then delete it from your system. ------------------------------------------- -- 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 stuart at lexacorp.com.pg Tue Jun 7 17:33:00 2005 From: stuart at lexacorp.com.pg (Stuart McLachlan) Date: Wed, 08 Jun 2005 08:33:00 +1000 Subject: [AccessD] Dates From Previous Month In-Reply-To: References: <123701F54509D9119A4F00D0B747349016D669@main2.marlow.com> Message-ID: <42A6AD3C.13260.264D6B8@stuart.lexacorp.com.pg> On 7 Jun 2005 at 11:20, Reuben Cummings wrote: > Drew, does that mean the 6-0-05 = 5-31-05? > > I learned something today. Thanks. > As well a 0, try playing around with negative numbers in both the month and day parameters of DateSerial It's often easier than using DateAdd :-) -- Stuart From DWUTKA at marlow.com Tue Jun 7 19:18:13 2005 From: DWUTKA at marlow.com (DWUTKA at marlow.com) Date: Tue, 7 Jun 2005 19:18:13 -0500 Subject: [AccessD] Dates From Previous Month Message-ID: <123701F54509D9119A4F00D0B747349016D678@main2.marlow.com> I usually chuckle when I see DateAdd all over the place. I find DateSerial to be tremendously effective. One of the more useful purposes is dealing the 'international' dates.....DateSerial is universally Year, Month, Day....so there is no need to worry about local settings, if you use it properly. Not trying to bring up the internationally compliant thread... Drew -----Original Message----- From: Stuart McLachlan [mailto:stuart at lexacorp.com.pg] Sent: Tuesday, June 07, 2005 5:33 PM To: Access Developers discussion and problem solving Subject: RE: [AccessD] Dates From Previous Month On 7 Jun 2005 at 11:20, Reuben Cummings wrote: > Drew, does that mean the 6-0-05 = 5-31-05? > > I learned something today. Thanks. > As well a 0, try playing around with negative numbers in both the month and day parameters of DateSerial It's often easier than using DateAdd :-) -- Stuart -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From chise at charter.net Tue Jun 7 20:38:36 2005 From: chise at charter.net (Charles Hise) Date: Tue, 7 Jun 2005 20:38:36 -0500 Subject: [AccessD] For Charles Hise - Fw: Returned mail: see transcript fordetails In-Reply-To: <01ee01c56a54$ca09e390$6901a8c0@HAL9004> Message-ID: <4404qh$11bqmdk@mxip19a.cluster1.charter.net> Sorry, try chise at parkplacecare.com Charles This E-mail is confidential, may be legally privileged, and is for the intended recipient only. Access, disclosure, copying, distribution, or reliance on any of it by anyone else is prohibited and may be a criminal offence. Please delete if obtained in error and E-mail confirmation to the sender. -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Rocky Smolin - Beach Access Software Sent: Monday, June 06, 2005 12:01 AM To: AccessD at databaseadvisors.com Subject: [AccessD] For Charles Hise - Fw: Returned mail: see transcript fordetails Charles Hise: I'm trying to send you the Sleep Advisor but your address seems to be hosed. Do you have another one? Rocky ----- Original Message ----- From: "Mail Delivery Subsystem" To: Sent: Sunday, June 05, 2005 8:39 PM Subject: Returned mail: see transcript for details > The original message was received at Fri, 3 Jun 2005 18:23:44 -0700 (PDT) > from cpe-24-25-217-158.san.res.rr.com [24.25.217.158] > > ----- The following addresses had permanent fatal errors ----- > > > ----- Transcript of session follows ----- > ... Deferred: Connection refused by charterr.net. > Message could not be delivered for 2 days > Message will be deleted from queue > ---------------------------------------------------------------------------- ---- > Received: from HAL9004 (cpe-24-25-217-158.san.res.rr.com [24.25.217.158]) > by ms-smtp-03-eri0.socal.rr.com (8.12.10/8.12.7) with SMTP id > j541NigQ013736 > for ; Fri, 3 Jun 2005 18:23:44 -0700 (PDT) > Message-ID: <07ce01c568a4$0bea31f0$6901a8c0 at HAL9004> > From: "Rocky Smolin - Beach Access Software" > To: > Subject: Fw: Returned mail: see transcript for details > Date: Fri, 3 Jun 2005 18:23:42 -0700 > MIME-Version: 1.0 > Content-Type: text/plain; > format=flowed; > charset="iso-8859-1"; > reply-type=response > Content-Transfer-Encoding: 7bit > X-Priority: 3 > X-MSMail-Priority: Normal > X-Mailer: Microsoft Outlook Express 6.00.2900.2180 > X-MIMEOLE: Produced By Microsoft MimeOLE V6.00.2900.2180 > X-Virus-Scanned: Symantec AntiVirus Scan Engine > From JRojas at tnco-inc.com Tue Jun 7 20:53:44 2005 From: JRojas at tnco-inc.com (Joe Rojas) Date: Tue, 7 Jun 2005 21:53:44 -0400 Subject: [AccessD] Creating SPC charts Message-ID: <0CC84C9461AE6445AD5A602001C41C4B05A32B@mercury.tnco-inc.com> Thanks Dan! I was hoping you were going to say that. I wanted to try and keep this all in Access. When you say "MS Graph", does this mean the same thing as inserting a chart in an access report by going to Insert -> Chart? Or is this something different? Thanks, JR -----Original Message----- From: Dan Waters [mailto:dwaters at usinternet.com] Sent: Tuesday, June 07, 2005 4:05 PM To: 'Access Developers discussion and problem solving' Subject: RE: [AccessD] Creating SPC charts Hi Joe, I am a Quality Engineer and have made many SPC charts! But none in Access yet. You can use MS Graph to make these - pretty much anything you can create in Excel you can make in MS Graph. All the best! Dan Waters -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Joe Rojas Sent: Tuesday, June 07, 2005 8:10 AM To: 'Access Developers discussion and problem solving' Subject: [AccessD] Creating SPC charts Hello, (Access 2000) I need to create statistical process control charts. Also known as X-bar charts, R-charts, ect. I already have the data but I don't know how to generate these kinds of charts in Access. Has anyone created these kinds of charts before? 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 accessd at shaw.ca Tue Jun 7 20:55:21 2005 From: accessd at shaw.ca (Jim Lawrence) Date: Tue, 07 Jun 2005 18:55:21 -0700 Subject: [AccessD] Excel Macro Automation from within Access In-Reply-To: <6A6AA9DF57E4F046BDA1E273BDDB677233763F@corp-es01.fleetpride.com> Message-ID: <0IHQ00E1UTC50D@l-daemon> Jin...very funny. Jim -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Hale, Jim Sent: Tuesday, June 07, 2005 1:32 PM To: 'Access Developers discussion and problem solving' Subject: RE: [AccessD] Excel Macro Automation from within Access I believe MicoSith is vaguely ashamed of the Kill statement since it derives from a simpler era when such barbaric practices were the norm. Rumors indicate, as part of their agreement with the European Union, the command will be renamed TerminatedWithoutPrejudice. The damage may have already been done, however, since certain large files have already requested amnesty and are seeking refuge in certain unnamed hidden folders. :-) Jim Hale -----Original Message----- From: Mark Boyd [mailto:MarkBoyd at mcbeeassociates.com] Sent: Monday, June 06, 2005 1:56 PM To: Access Developers discussion and problem solving Subject: RE: [AccessD] Excel Macro Automation from within Access Great idea. I wasn't aware of the Kill statement. My plan was to shell a batch file to delete it, but this is much easier. Thanks again, Mark Boyd I/S Supervisor McBee Associates, Inc. -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Hale, Jim Sent: Monday, June 06, 2005 2:43 PM To: 'Access Developers discussion and problem solving' Subject: RE: [AccessD] Excel Macro Automation from within Access I'm glad it worked for you. I was thinking that you might want to add a Kill strpathname 'deletes original Excel sheet statement after the new copy has been saved so you are left with only the new copy. Jim Hale -----Original Message----- From: Mark Boyd [mailto:MarkBoyd at mcbeeassociates.com] Sent: Monday, June 06, 2005 11:31 AM To: Access Developers discussion and problem solving Subject: RE: [AccessD] Excel Macro Automation from within Access Thanks Jim. This is perfect! Mark Boyd I/S Supervisor McBee Associates, Inc. -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Hale, Jim Sent: Thursday, June 02, 2005 10:10 AM To: 'Access Developers discussion and problem solving' Subject: RE: [AccessD] Excel Macro Automation from within Access I think the sequence you are looking for is similar to this: Sub rpt_to_excel() Dim appExcel As Excel.Application, strpathname As String Dim strpathnew As String, strReport As String strpathname = "C:\test.xls" strpathnew = "C:\test2.xls" strReport = "rptInvsummary" DoCmd.OutputTo acOutputReport, strReport, acFormatXLS, strpathname Set appExcel = New Excel.Application 'format your report With appExcel .Workbooks.Open strpathname, 0 .Visible = True 'just to watch the sheet .Range("A1:G1").Select .Selection.Font.Bold = True .Selection.Font.Name = "Arial" .Selection.Font.Size = 12 .ActiveWorkbook.SaveAs Filename:=strpathnew,FileFormat:=xlNormal End With appExcel.Quit Set appExcel = Nothing End Sub This opens the file you output and saves it as a current version workbook under a new name. As you debug be aware of leaving orphan instances of Excel in memory. You can tell if any exist by placing the following script in notepad and running it: Dim objXL Dim strMessage On Error Resume Next ' Try to grab a running instance of ' Excel... Set objXL = GetObject(, "Excel.Application") ' What did we find?.. If Not TypeName(objXL) = "Empty" Then strMessage = "Excel Running." Else strMessage = "Excel Not Running." End If ' Feedback to user... MsgBox strMessage, vbInformation, "Excel Status" ' Make the Excel instance visible ' if we found one if strMessage = "Excel Running." then _ objXL.Visible = true -----Original Message----- From: Mark Boyd [mailto:MarkBoyd at mcbeeassociates.com] Sent: Wednesday, June 01, 2005 5:21 PM To: Access Developers discussion and problem solving Subject: RE: [AccessD] Excel Macro Automation from within Access Thanks Jim, this is pointing me in the right direction. The export process is as follows: 1. Export report to Excel 2. Format report w/ macro 3. Save formatting changes 4. Attach file to email message When using the SaveAs method, I'm prompted to overwrite the existing excel file (the one just formatted). Am I missing something in regard to the properties of the SaveAs method, that will allow me to save the existing, formatted file? If I select Yes to overwrite the existing file, all of the macro formats are lost. Mark Boyd I/S Supervisor McBee Associates, Inc. *********************************************************************** 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. ----------------------------------------- This message and any attachments are intended only for the use of the individual or entity to which it is addressed and may contain information that is privileged, confidential, and exempt from disclosure under applicable law. If the reader of this message is not the intended recipient, or the employee or agent responsible for delivering the message to the intended recipient, you are hereby notified that any dissemination, distribution or copying of this communication is strictly prohibited. If you have received this communication in error, please notify the sender by replying to this message, and then delete it from your system. ------------------------------------------- -- 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 Bruce.Bruen at railcorp.nsw.gov.au Tue Jun 7 21:51:25 2005 From: Bruce.Bruen at railcorp.nsw.gov.au (Bruen, Bruce) Date: Wed, 8 Jun 2005 12:51:25 +1000 Subject: [AccessD] Access-based website "hit" analyser? Message-ID: Check out ClickTracks at www.clicktracks.com.au Hth bruce -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Chris Foote (Spike) Sent: Tuesday, 7 June 2005 10:44 PM To: AccessD at databaseadvisors.com Subject: [AccessD] Access-based website "hit" analyser? Hello listers! Has anyone got, or know where I can find an Access based "hit" analyser for an Apache web server. I'm looking for something to analyse the text log files that I get e-mailed every 24hours. I could craft my own, but if there is an existing app. that I could use as a basis... Regards Chris Foote - UK -- 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 viner at EUnet.yu Wed Jun 8 01:12:55 2005 From: viner at EUnet.yu (Ervin Brindza) Date: Wed, 8 Jun 2005 08:12:55 +0200 Subject: [AccessD] Insert Access Info Into Web page References: <42A5CE25.1030709@shaw.ca> Message-ID: <013801c56bf1$23408b10$0100a8c0@RazvojErvin> 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 From Chris.Foote at uk.thalesgroup.com Wed Jun 8 05:44:44 2005 From: Chris.Foote at uk.thalesgroup.com (Foote, Chris) Date: Wed, 8 Jun 2005 11:44:44 +0100 Subject: [AccessD] Access-based website "hit" analyser? Message-ID: <97CF276BD8C6D4119C4B00508BB18DE709E0C778@ntscxch1.int.rdel.co.uk> Thanks for that Bruce! My hosting company (http://www.dsvr.co.uk/) provides and supports Webalizer (http://www.webalizer.com) . I've had problems setting-up Webalizer so was looking for an Access alternative. Thanks again for your reply! Chris Foote - UK > -----Original Message----- > From: Bruen, Bruce [mailto:Bruce.Bruen at railcorp.nsw.gov.au] > Sent: Wednesday, June 08, 2005 3:51 AM > To: Access Developers discussion and problem solving > Subject: RE: [AccessD] Access-based website "hit" analyser? > > > Check out ClickTracks at www.clicktracks.com.au > Hth > bruce > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Chris Foote > (Spike) > Sent: Tuesday, 7 June 2005 10:44 PM > To: AccessD at databaseadvisors.com > Subject: [AccessD] Access-based website "hit" analyser? > > Hello listers! > > Has anyone got, or know where I can find an Access based > "hit" analyser > for an Apache web server. > > I'm looking for something to analyse the text log files that I get > e-mailed every 24hours. I could craft my own, but if there is an > existing app. that I could use as a basis... > > Regards > Chris Foote - UK > > > -- > 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. > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > From paul.hartland at fsmail.net Wed Jun 8 06:55:49 2005 From: paul.hartland at fsmail.net (paul.hartland at fsmail.net) Date: Wed, 8 Jun 2005 13:55:49 +0200 (CEST) Subject: [AccessD] OT - Looping Through Controls on Visual Basic Form Message-ID: <13281180.1118231749723.JavaMail.www@wwinf3102> To all, I have a lot of text boxes, combo boxes and check boxes on a form and need them locked for certain users I tried the following code to loop through them and when txt, pv or chk is found to lock or disable the control but it doesn't work.... Dim intFields As Integer For intFields = 0 To frmClient.Controls.Count If (Left(frmClient.Controls(intFields).Name, 3) = "chk" Or Left(frmClient.Controls(intFields).Name, 3) = "txt") Then frmClient(frmClient.Controls(intFields).Name).Locked = True End If If (Left(frmClient.Controls(intFields).Name, 2) = "PV") Then frmClient(frmClient.Controls(intFields).Name).Enabled = False End If Next intFields can anyone tell me what I am doing wrong cause I can't seem to see the wood for the tree's at the moment... Thanks in advance for all your help... Paul Hartland -- Whatever you Wanadoo: http://www.wanadoo.co.uk/time/ This email has been checked for most known viruses - find out more at: http://www.wanadoo.co.uk/help/id/7098.htm From RRANTHON at sentara.com Wed Jun 8 07:02:45 2005 From: RRANTHON at sentara.com (Randall R Anthony) Date: Wed, 08 Jun 2005 08:02:45 -0400 Subject: [AccessD] OT - Looping Through Controls on Visual Basic Form Message-ID: <200506081202.j58C2ws07457@databaseadvisors.com> Paul, This is what I'm currently using to do just what you described. I'm sure it can be manipulated to search on specific control names, although I have not done it because I don't need the specificity. For Each cCtrl In frmFormName.Controls If TypeOf cCtrl Is TextBox Then cCtrl.Locked = True End If If TypeOf cCtrl Is ComboBox Then cCtrl.Locked = True End If If TypeOf cCtrl Is DBGrid Then cCtrl.AllowAddNew = False cCtrl.AllowDelete = False cCtrl.AllowUpdate = False End If Next From ssharkins at bellsouth.net Wed Jun 8 07:14:13 2005 From: ssharkins at bellsouth.net (Susan Harkins) Date: Wed, 8 Jun 2005 08:14:13 -0400 Subject: [AccessD] OT - Looping Through Controls on Visual Basic Form In-Reply-To: <13281180.1118231749723.JavaMail.www@wwinf3102> Message-ID: <20050608121416.MKX25470.ibm57aec.bellsouth.net@SUSANONE> It worked for me -- almost. I had to qualify all the form references by adding Forms! -- and it worked. Also, I think you need to add -1 to the count definition: For intFields = 0 To frmClient.Controls.Count - 1 Susan H. To all, I have a lot of text boxes, combo boxes and check boxes on a form and need them locked for certain users I tried the following code to loop through them and when txt, pv or chk is found to lock or disable the control but it doesn't work.... Dim intFields As Integer For intFields = 0 To frmClient.Controls.Count If (Left(frmClient.Controls(intFields).Name, 3) = "chk" Or Left(frmClient.Controls(intFields).Name, 3) = "txt") Then frmClient(frmClient.Controls(intFields).Name).Locked = True End If If (Left(frmClient.Controls(intFields).Name, 2) = "PV") Then frmClient(frmClient.Controls(intFields).Name).Enabled = False End If Next intFields can anyone tell me what I am doing wrong cause I can't seem to see the wood for the tree's at the moment... Thanks in advance for all your help... Paul Hartland -- Whatever you Wanadoo: http://www.wanadoo.co.uk/time/ This email has been checked for most known viruses - find out more at: http://www.wanadoo.co.uk/help/id/7098.htm -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From bheygood at abestsystems.com Wed Jun 8 08:35:15 2005 From: bheygood at abestsystems.com (Bob Heygood) Date: Wed, 8 Jun 2005 06:35:15 -0700 Subject: [AccessD] Scrape Word Part II In-Reply-To: <6A6AA9DF57E4F046BDA1E273BDDB6772337511@corp-es01.fleetpride.com> Message-ID: Hello to the list, Well, my project is alive again. This time I have the luxury of being able to create the Word document from which I need to cull the info. I still need to have a Word table but I can create bookmarks or whatever within the table in the document. To recap I need to import 10 pieces of text from a Word document and store them in a mdb table. Jim Hale's code below worked really good except that we were pressed for time and did not ever get it to work in all areas of the Word doc. So my first question is how to search the Word doc to find the text, bookmarks, fields, custom properties or ???? TIA, Bob Heygood -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Hale, Jim Sent: Monday, April 18, 2005 8:54 AM To: 'Access Developers discussion and problem solving' Subject: RE: [AccessD] Scrape Word Whatever it takes to get the job done! Sorry I couldn't be more help. Jim Hale -----Original Message----- From: Bob Heygood [mailto:bheygood at abestsystems.com] Sent: Monday, April 18, 2005 10:09 AM To: Access Developers discussion and problem solving Subject: RE: [AccessD] Scrape Word Thanks Jim I finally just ran the job as it took about 4 hours to process 256 documents. it is a one time deal and the customer needed to have the results. your help was fantastic. bob -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Hale, Jim Sent: Friday, April 15, 2005 3:18 PM To: 'Access Developers discussion and problem solving' Subject: RE: [AccessD] Scrape Word I'll look at it some more on Monday. You might examine the selection object in the Word application. It has numerous properties and methods one or more of which should do the trick. Jim Hale -----Original Message----- From: Bob Heygood [mailto:bheygood at abestsystems.com] Sent: Friday, April 15, 2005 4:52 PM To: Access Developers discussion and problem solving Subject: RE: [AccessD] Scrape Word yes in a table cell. again your code is working super. but only grabs the first word, sometimes there is more than one word in the cell, and I would like to capture all of them. if you have thought, I would welcome it. again I tried to manipulate the code further but it acts very erratic when in a table cell. thanks for the great help. bob -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Hale, Jim Sent: Thursday, April 14, 2005 12:53 PM To: 'Access Developers discussion and problem solving' Subject: RE: [AccessD] Scrape Word So the data you want (including the search string) is in a table cell? In the code I sent you delete wd.Selection.Start = wd.Selection.End Call wd.Selection.EndOf(wdSentence, wdExtend) and replace with wd.Selection.Next(Unit:=wdWord, Count:=1).Select Or if the entire string is returned you can replace the search string with an empty string "" using the following function: Function ReplaceString(strTextIn As String, strFind As String, strReplace As String, fCaseSensitive As Boolean) As String Dim strTmp As String Dim intPos As Integer Dim intCaseSensitive As Integer intCaseSensitive = IIf(fCaseSensitive, 2, 1) strTmp = strTextIn intPos = InStr(1, strTmp, strFind, intCaseSensitive) Do While intPos > 0 strTmp = Left$(strTmp, intPos - 1) & strReplace & Mid$(strTmp, intPos + Len(strFind)) intPos = InStr(intPos + Len(strReplace), strTmp, strFind, intCaseSensitive) Loop ReplaceString = strTmp End Function 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 *********************************************************************** 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 isharp.co.uk Wed Jun 8 09:35:52 2005 From: paul.hartland at isharp.co.uk (Paul Hartland (ISHARP)) Date: Wed, 8 Jun 2005 15:35:52 +0100 Subject: [AccessD] OT - Looping Through Controls on Visual BasicForm In-Reply-To: <200506081202.j58C2ws07457@databaseadvisors.com> Message-ID: Thanks ever so much, makes my life so much easier Paul Hartland -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Randall R Anthony Sent: 08 June 2005 13:03 To: accessd at databaseadvisors.com Subject: Re: [AccessD] OT - Looping Through Controls on Visual BasicForm Paul, This is what I'm currently using to do just what you described. I'm sure it can be manipulated to search on specific control names, although I have not done it because I don't need the specificity. For Each cCtrl In frmFormName.Controls If TypeOf cCtrl Is TextBox Then cCtrl.Locked = True End If If TypeOf cCtrl Is ComboBox Then cCtrl.Locked = True End If If TypeOf cCtrl Is DBGrid Then cCtrl.AllowAddNew = False cCtrl.AllowDelete = False cCtrl.AllowUpdate = False End If Next -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From RRANTHON at sentara.com Wed Jun 8 09:45:20 2005 From: RRANTHON at sentara.com (Randall R Anthony) Date: Wed, 08 Jun 2005 10:45:20 -0400 Subject: [AccessD] OT - Looping Through Controls on Visual BasicForm Message-ID: <200506081445.j58EjTs14443@databaseadvisors.com> Glad to be able to help. >>> paul.hartland at isharp.co.uk 6/8/2005 10:35:52 AM >>> Thanks ever so much, makes my life so much easier Paul Hartland -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Randall R Anthony Sent: 08 June 2005 13:03 To: accessd at databaseadvisors.com Subject: Re: [AccessD] OT - Looping Through Controls on Visual BasicForm Paul, This is what I'm currently using to do just what you described. I'm sure it can be manipulated to search on specific control names, although I have not done it because I don't need the specificity. For Each cCtrl In frmFormName.Controls If TypeOf cCtrl Is TextBox Then cCtrl.Locked = True End If If TypeOf cCtrl Is ComboBox Then cCtrl.Locked = True End If If TypeOf cCtrl Is DBGrid Then cCtrl.AllowAddNew = False cCtrl.AllowDelete = False cCtrl.AllowUpdate = False End If Next -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd 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 Wed Jun 8 09:57:21 2005 From: darsant at gmail.com (Josh McFarlane) Date: Wed, 8 Jun 2005 09:57:21 -0500 Subject: [AccessD] OT - Looping Through Controls on Visual Basic Form In-Reply-To: <13281180.1118231749723.JavaMail.www@wwinf3102> References: <13281180.1118231749723.JavaMail.www@wwinf3102> Message-ID: <53c8e05a05060807575f007e47@mail.gmail.com> On 6/8/05, paul.hartland at fsmail.net wrote: > To all, > > I have a lot of text boxes, combo boxes and check boxes on a form and need them locked for certain users I tried the following code to loop through them and when txt, pv or chk is found to lock or disable the control but it doesn't work.... > > Dim intFields As Integer > For intFields = 0 To frmClient.Controls.Count > If (Left(frmClient.Controls(intFields).Name, 3) = "chk" Or Left(frmClient.Controls(intFields).Name, 3) = "txt") Then > frmClient(frmClient.Controls(intFields).Name).Locked = True > End If > If (Left(frmClient.Controls(intFields).Name, 2) = "PV") Then > frmClient(frmClient.Controls(intFields).Name).Enabled = False > End If > Next intFields > > can anyone tell me what I am doing wrong cause I can't seem to see the wood for the tree's at the moment... > > Thanks in advance for all your help... > > Paul Hartland Sorry I'm getting into this a little late. I think you might want to take a look into the tag property for controls. You label controls with any tags (or a number of tags) and then search for controls based on that tag, and disable / enable accordingly. This really comes in handy when different sets of controls need to be enabled / disabled for different states. Basic structure is a For Each statement. If you're interested I can give you a code sample. -- Josh McFarlane "Peace cannot be kept by force. It can only be achieved by understanding." -Albert Einstein From paul.hartland at fsmail.net Wed Jun 8 10:06:14 2005 From: paul.hartland at fsmail.net (paul.hartland at fsmail.net) Date: Wed, 8 Jun 2005 17:06:14 +0200 (CEST) Subject: [AccessD] OT - Looping Through Controls on Visual Basic Form Message-ID: <2212784.1118243174470.JavaMail.www@wwinf3001> Thanks but have already had one, I ended up using the For Each as you suggested... Thanks for the help anyway... Paul Hartland Message date : Jun 08 2005, 04:02 PM >From : "Josh McFarlane" To : "Access Developers discussion and problem solving" Copy to : Subject : Re: [AccessD] OT - Looping Through Controls on Visual Basic Form On 6/8/05, paul.hartland at fsmail.net wrote: > To all, > > I have a lot of text boxes, combo boxes and check boxes on a form and need them locked for certain users I tried the following code to loop through them and when txt, pv or chk is found to lock or disable the control but it doesn't work.... > > Dim intFields As Integer > For intFields = 0 To frmClient.Controls.Count > If (Left(frmClient.Controls(intFields).Name, 3) = "chk" Or Left(frmClient.Controls(intFields).Name, 3) = "txt") Then > frmClient(frmClient.Controls(intFields).Name).Locked = True > End If > If (Left(frmClient.Controls(intFields).Name, 2) = "PV") Then > frmClient(frmClient.Controls(intFields).Name).Enabled = False > End If > Next intFields > > can anyone tell me what I am doing wrong cause I can't seem to see the wood for the tree's at the moment... > > Thanks in advance for all your help... > > Paul Hartland Sorry I'm getting into this a little late. I think you might want to take a look into the tag property for controls. You label controls with any tags (or a number of tags) and then search for controls based on that tag, and disable / enable accordingly. This really comes in handy when different sets of controls need to be enabled / disabled for different states. Basic structure is a For Each statement. If you're interested I can give you a code sample. -- 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 -- Whatever you Wanadoo: http://www.wanadoo.co.uk/time/ This email has been checked for most known viruses - find out more at: http://www.wanadoo.co.uk/help/id/7098.htm From Jim.Hale at FleetPride.com Wed Jun 8 10:17:02 2005 From: Jim.Hale at FleetPride.com (Hale, Jim) Date: Wed, 8 Jun 2005 10:17:02 -0500 Subject: [AccessD] Scrape Word Part II Message-ID: <6A6AA9DF57E4F046BDA1E273BDDB6772337644@corp-es01.fleetpride.com> At the very bottom of this link Helen Feddema has some code that may help you. http://www.helenfeddema.com/CodeSamples.htm Jim Hale -----Original Message----- From: Bob Heygood [mailto:bheygood at abestsystems.com] Sent: Wednesday, June 08, 2005 8:35 AM To: Access Developers discussion and problem solving Subject: [AccessD] Scrape Word Part II Hello to the list, Well, my project is alive again. This time I have the luxury of being able to create the Word document from which I need to cull the info. I still need to have a Word table but I can create bookmarks or whatever within the table in the document. To recap I need to import 10 pieces of text from a Word document and store them in a mdb table. Jim Hale's code below worked really good except that we were pressed for time and did not ever get it to work in all areas of the Word doc. So my first question is how to search the Word doc to find the text, bookmarks, fields, custom properties or ???? TIA, Bob Heygood -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Hale, Jim Sent: Monday, April 18, 2005 8:54 AM To: 'Access Developers discussion and problem solving' Subject: RE: [AccessD] Scrape Word Whatever it takes to get the job done! Sorry I couldn't be more help. Jim Hale -----Original Message----- From: Bob Heygood [mailto:bheygood at abestsystems.com] Sent: Monday, April 18, 2005 10:09 AM To: Access Developers discussion and problem solving Subject: RE: [AccessD] Scrape Word Thanks Jim I finally just ran the job as it took about 4 hours to process 256 documents. it is a one time deal and the customer needed to have the results. your help was fantastic. bob -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Hale, Jim Sent: Friday, April 15, 2005 3:18 PM To: 'Access Developers discussion and problem solving' Subject: RE: [AccessD] Scrape Word I'll look at it some more on Monday. You might examine the selection object in the Word application. It has numerous properties and methods one or more of which should do the trick. Jim Hale -----Original Message----- From: Bob Heygood [mailto:bheygood at abestsystems.com] Sent: Friday, April 15, 2005 4:52 PM To: Access Developers discussion and problem solving Subject: RE: [AccessD] Scrape Word yes in a table cell. again your code is working super. but only grabs the first word, sometimes there is more than one word in the cell, and I would like to capture all of them. if you have thought, I would welcome it. again I tried to manipulate the code further but it acts very erratic when in a table cell. thanks for the great help. bob -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Hale, Jim Sent: Thursday, April 14, 2005 12:53 PM To: 'Access Developers discussion and problem solving' Subject: RE: [AccessD] Scrape Word So the data you want (including the search string) is in a table cell? In the code I sent you delete wd.Selection.Start = wd.Selection.End Call wd.Selection.EndOf(wdSentence, wdExtend) and replace with wd.Selection.Next(Unit:=wdWord, Count:=1).Select Or if the entire string is returned you can replace the search string with an empty string "" using the following function: Function ReplaceString(strTextIn As String, strFind As String, strReplace As String, fCaseSensitive As Boolean) As String Dim strTmp As String Dim intPos As Integer Dim intCaseSensitive As Integer intCaseSensitive = IIf(fCaseSensitive, 2, 1) strTmp = strTextIn intPos = InStr(1, strTmp, strFind, intCaseSensitive) Do While intPos > 0 strTmp = Left$(strTmp, intPos - 1) & strReplace & Mid$(strTmp, intPos + Len(strFind)) intPos = InStr(intPos + Len(strReplace), strTmp, strFind, intCaseSensitive) Loop ReplaceString = strTmp End Function 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 *********************************************************************** 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 Wed Jun 8 10:40:54 2005 From: jwcolby at colbyconsulting.com (John W. Colby) Date: Wed, 08 Jun 2005 11:40:54 -0400 Subject: [AccessD] No anonymous logon allowed Message-ID: <002b01c56c40$796535f0$6c7aa8c0@ColbyM6805> When I try and use FireFox to logon to my ftp site I get "Sorry, no anonymous logon allowed". It does not pop up the box for asking for the user name / password. Any idea why not and how to make it do so? John W. Colby www.ColbyConsulting.com Contribute your unused CPU cycles to a good cause: http://folding.stanford.edu/ From nkling at co.montgomery.ny.us Wed Jun 8 10:42:02 2005 From: nkling at co.montgomery.ny.us (Neal Kling) Date: Wed, 8 Jun 2005 11:42:02 -0400 Subject: [AccessD] No anonymous logon allowed Message-ID: <30BC111F638EB54082001A7E7282FE4107F3AD@elmo.co.montgomery.ny.us> Tools: Options: Web Features The Block Popup Windows check box may be blocking it. You should be able to add your site to the exceptions list. Neal -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of John W. Colby Sent: Wednesday, June 08, 2005 11:41 AM To: 'Access Developers discussion and problem solving' Subject: [AccessD] No anonymous logon allowed When I try and use FireFox to logon to my ftp site I get "Sorry, no anonymous logon allowed". It does not pop up the box for asking for the user name / password. Any idea why not and how to make it do so? 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 carbonnb at gmail.com Wed Jun 8 10:48:37 2005 From: carbonnb at gmail.com (Bryan Carbonnell) Date: Wed, 8 Jun 2005 11:48:37 -0400 Subject: [AccessD] No anonymous logon allowed In-Reply-To: <002b01c56c40$796535f0$6c7aa8c0@ColbyM6805> References: <002b01c56c40$796535f0$6c7aa8c0@ColbyM6805> Message-ID: On 6/8/05, John W. Colby wrote: > When I try and use FireFox to logon to my ftp site I get "Sorry, no > anonymous logon allowed". It does not pop up the box for asking for the > user name / password. Any idea why not and how to make it do so? I believe the default is to use anonymous logins for ftp sites. If you want to login with a specific user, you will have to use the following format for the URL: ftp://username at you.host.tld This will prompt you for the password. -- 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 jwcolby at colbyconsulting.com Wed Jun 8 10:51:33 2005 From: jwcolby at colbyconsulting.com (John W. Colby) Date: Wed, 08 Jun 2005 11:51:33 -0400 Subject: [AccessD] No anonymous logon allowed In-Reply-To: <30BC111F638EB54082001A7E7282FE4107F3AD@elmo.co.montgomery.ny.us> Message-ID: <002c01c56c41$f4e8d1e0$6c7aa8c0@ColbyM6805> Nope, that's apparently not it. I added my site, no help. I am talking about the FTP username/password dialog. John W. Colby www.ColbyConsulting.com Contribute your unused CPU cycles to a good cause: http://folding.stanford.edu/ -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Neal Kling Sent: Wednesday, June 08, 2005 11:42 AM To: Access Developers discussion and problem solving Subject: RE: [AccessD] No anonymous logon allowed Tools: Options: Web Features The Block Popup Windows check box may be blocking it. You should be able to add your site to the exceptions list. Neal -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of John W. Colby Sent: Wednesday, June 08, 2005 11:41 AM To: 'Access Developers discussion and problem solving' Subject: [AccessD] No anonymous logon allowed When I try and use FireFox to logon to my ftp site I get "Sorry, no anonymous logon allowed". It does not pop up the box for asking for the user name / password. Any idea why not and how to make it do so? 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 Wed Jun 8 11:01:52 2005 From: jwcolby at colbyconsulting.com (John W. Colby) Date: Wed, 08 Jun 2005 12:01:52 -0400 Subject: [AccessD] No anonymous logon allowed In-Reply-To: Message-ID: <002f01c56c43$65da4860$6c7aa8c0@ColbyM6805> Well, that does it. FireFox sure sucks as a FTP manager though. IE at least allows you to use the windows explorer to drag and drop files both directions. John W. Colby www.ColbyConsulting.com Contribute your unused CPU cycles to 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: Wednesday, June 08, 2005 11:49 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] No anonymous logon allowed On 6/8/05, John W. Colby wrote: > When I try and use FireFox to logon to my ftp site I get "Sorry, no > anonymous logon allowed". It does not pop up the box for asking for > the user name / password. Any idea why not and how to make it do so? I believe the default is to use anonymous logins for ftp sites. If you want to login with a specific user, you will have to use the following format for the URL: ftp://username at you.host.tld This will prompt you for the password. -- Bryan Carbonnell - carbonnb at gmail.com Life's journey is not to arrive at the grave safely in a well preserved body, but rather to skid in sideways, totally worn out, shouting "What a great ride!" -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From john at winhaven.net Wed Jun 8 11:05:25 2005 From: john at winhaven.net (John Bartow) Date: Wed, 8 Jun 2005 11:05:25 -0500 Subject: [AccessD] No anonymous logon allowed In-Reply-To: Message-ID: <200506081605.j58G5UM3358744@pimout2-ext.prodigy.net> And you do have to include the ftp:// otherwise for some odd reason it jumps back to http:// -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Bryan Carbonnell Sent: Wednesday, June 08, 2005 10:49 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] No anonymous logon allowed On 6/8/05, John W. Colby wrote: > When I try and use FireFox to logon to my ftp site I get "Sorry, no > anonymous logon allowed". It does not pop up the box for asking for > the user name / password. Any idea why not and how to make it do so? I believe the default is to use anonymous logins for ftp sites. If you want to login with a specific user, you will have to use the following format for the URL: ftp://username at you.host.tld This will prompt you for the password. -- Bryan Carbonnell - carbonnb at gmail.com Life's journey is not to arrive at the grave safely in a well preserved body, but rather to skid in sideways, totally worn out, shouting "What a great ride!" -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From Lambert.Heenan at AIG.com Wed Jun 8 11:05:37 2005 From: Lambert.Heenan at AIG.com (Heenan, Lambert) Date: Wed, 8 Jun 2005 12:05:37 -0400 Subject: [AccessD] No anonymous logon allowed Message-ID: <1D7828CDB8350747AFE9D69E0E90DA1F112146B5@xlivmbx21.aig.com> Have you tried using the neat FTP extension for firefox, fireFTP? It's at... https://addons.mozilla.org/extensions/moreinfo.php?id=684 Lambert -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of John W. Colby Sent: Wednesday, June 08, 2005 11:52 AM To: 'Access Developers discussion and problem solving' Subject: RE: [AccessD] No anonymous logon allowed Nope, that's apparently not it. I added my site, no help. I am talking about the FTP username/password dialog. John W. Colby www.ColbyConsulting.com Contribute your unused CPU cycles to a good cause: http://folding.stanford.edu/ -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Neal Kling Sent: Wednesday, June 08, 2005 11:42 AM To: Access Developers discussion and problem solving Subject: RE: [AccessD] No anonymous logon allowed Tools: Options: Web Features The Block Popup Windows check box may be blocking it. You should be able to add your site to the exceptions list. Neal -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of John W. Colby Sent: Wednesday, June 08, 2005 11:41 AM To: 'Access Developers discussion and problem solving' Subject: [AccessD] No anonymous logon allowed When I try and use FireFox to logon to my ftp site I get "Sorry, no anonymous logon allowed". It does not pop up the box for asking for the user name / password. Any idea why not and how to make it do so? 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 Wed Jun 8 11:12:58 2005 From: jwcolby at colbyconsulting.com (John W. Colby) Date: Wed, 08 Jun 2005 12:12:58 -0400 Subject: [AccessD] No anonymous logon allowed In-Reply-To: <1D7828CDB8350747AFE9D69E0E90DA1F112146B5@xlivmbx21.aig.com> Message-ID: <003001c56c44$eff11fa0$6c7aa8c0@ColbyM6805> Lambert, I haven't. I've just heard too Many horror stories about FF and addins. John W. Colby www.ColbyConsulting.com Contribute your unused CPU cycles to 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: Wednesday, June 08, 2005 12:06 PM To: 'Access Developers discussion and problem solving' Subject: RE: [AccessD] No anonymous logon allowed Have you tried using the neat FTP extension for firefox, fireFTP? It's at... https://addons.mozilla.org/extensions/moreinfo.php?id=684 Lambert -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of John W. Colby Sent: Wednesday, June 08, 2005 11:52 AM To: 'Access Developers discussion and problem solving' Subject: RE: [AccessD] No anonymous logon allowed Nope, that's apparently not it. I added my site, no help. I am talking about the FTP username/password dialog. John W. Colby www.ColbyConsulting.com Contribute your unused CPU cycles to a good cause: http://folding.stanford.edu/ -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Neal Kling Sent: Wednesday, June 08, 2005 11:42 AM To: Access Developers discussion and problem solving Subject: RE: [AccessD] No anonymous logon allowed Tools: Options: Web Features The Block Popup Windows check box may be blocking it. You should be able to add your site to the exceptions list. Neal -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of John W. Colby Sent: Wednesday, June 08, 2005 11:41 AM To: 'Access Developers discussion and problem solving' Subject: [AccessD] No anonymous logon allowed When I try and use FireFox to logon to my ftp site I get "Sorry, no anonymous logon allowed". It does not pop up the box for asking for the user name / password. Any idea why not and how to make it do so? 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 Gustav at cactus.dk Wed Jun 8 11:24:02 2005 From: Gustav at cactus.dk (Gustav Brock) Date: Wed, 08 Jun 2005 18:24:02 +0200 Subject: [AccessD] No anonymous logon allowed Message-ID: ** Low Priority ** Hi John et all Wouldn't this question fit perfectly on our dba-tech list? /gustav >>> jwcolby at colbyconsulting.com 06/08 5:40 pm >>> When I try and use FireFox to logon to my ftp site .. From Lambert.Heenan at AIG.com Wed Jun 8 11:28:07 2005 From: Lambert.Heenan at AIG.com (Heenan, Lambert) Date: Wed, 8 Jun 2005 12:28:07 -0400 Subject: [AccessD] No anonymous logon allowed Message-ID: <1D7828CDB8350747AFE9D69E0E90DA1F112146CC@xlivmbx21.aig.com> I doubt that they (horror stories about FF) are even close in number to the horror stories we have about IE! The only hassle I've had with FireFox (tempting fate, I know) is with the FlashBlock extension. On some sites that insist of showing us whiz-bang flash animations, FF will crash in flashblock is enabled. I suspect that the advertisers may have planed little bombs in the flash animations to force us to look at them. Thus far the only sites I've come across that do this (and then only intermittently) are www.refdesk.com and the drudge report. Losing Drudge was no hardship, but I like Refdest - so I just enable flash for the problem sites and get on with life. The FTP entn. Works very well for me. Lambert -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of John W. Colby Sent: Wednesday, June 08, 2005 12:13 PM To: 'Access Developers discussion and problem solving' Subject: RE: [AccessD] No anonymous logon allowed Lambert, I haven't. I've just heard too Many horror stories about FF and addins. John W. Colby www.ColbyConsulting.com Contribute your unused CPU cycles to 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: Wednesday, June 08, 2005 12:06 PM To: 'Access Developers discussion and problem solving' Subject: RE: [AccessD] No anonymous logon allowed Have you tried using the neat FTP extension for firefox, fireFTP? It's at... https://addons.mozilla.org/extensions/moreinfo.php?id=684 Lambert -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of John W. Colby Sent: Wednesday, June 08, 2005 11:52 AM To: 'Access Developers discussion and problem solving' Subject: RE: [AccessD] No anonymous logon allowed Nope, that's apparently not it. I added my site, no help. I am talking about the FTP username/password dialog. John W. Colby www.ColbyConsulting.com Contribute your unused CPU cycles to a good cause: http://folding.stanford.edu/ -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Neal Kling Sent: Wednesday, June 08, 2005 11:42 AM To: Access Developers discussion and problem solving Subject: RE: [AccessD] No anonymous logon allowed Tools: Options: Web Features The Block Popup Windows check box may be blocking it. You should be able to add your site to the exceptions list. Neal -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of John W. Colby Sent: Wednesday, June 08, 2005 11:41 AM To: 'Access Developers discussion and problem solving' Subject: [AccessD] No anonymous logon allowed When I try and use FireFox to logon to my ftp site I get "Sorry, no anonymous logon allowed". It does not pop up the box for asking for the user name / password. Any idea why not and how to make it do so? 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 john at winhaven.net Wed Jun 8 12:18:44 2005 From: john at winhaven.net (John Bartow) Date: Wed, 8 Jun 2005 12:18:44 -0500 Subject: [AccessD] No anonymous logon allowed In-Reply-To: Message-ID: <200506081718.j58HImM3393102@pimout2-ext.prodigy.net> Yes Gustav, you're correct! Sometimes I forget which list I'm replying too... John B. -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Gustav Brock Sent: Wednesday, June 08, 2005 11:24 AM To: accessd at databaseadvisors.com Subject: Re: [AccessD] No anonymous logon allowed Importance: Low ** Low Priority ** Hi John et all Wouldn't this question fit perfectly on our dba-tech list? /gustav >>> jwcolby at colbyconsulting.com 06/08 5:40 pm >>> When I try and use FireFox to logon to my ftp site .. -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From dwaters at usinternet.com Wed Jun 8 12:38:54 2005 From: dwaters at usinternet.com (Dan Waters) Date: Wed, 8 Jun 2005 10:38:54 -0700 Subject: [AccessD] Creating SPC charts In-Reply-To: <17102778.1118195814428.JavaMail.root@sniper16> Message-ID: <000001c56c50$f1e1fcb0$35018e0a@danwaters> Joe, That's it! But let me get back to you again later today with a little more info. Dan Waters -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Joe Rojas Sent: Tuesday, June 07, 2005 6:54 PM To: 'Access Developers discussion and problem solving' Subject: RE: [AccessD] Creating SPC charts Thanks Dan! I was hoping you were going to say that. I wanted to try and keep this all in Access. When you say "MS Graph", does this mean the same thing as inserting a chart in an access report by going to Insert -> Chart? Or is this something different? Thanks, JR -----Original Message----- From: Dan Waters [mailto:dwaters at usinternet.com] Sent: Tuesday, June 07, 2005 4:05 PM To: 'Access Developers discussion and problem solving' Subject: RE: [AccessD] Creating SPC charts Hi Joe, I am a Quality Engineer and have made many SPC charts! But none in Access yet. You can use MS Graph to make these - pretty much anything you can create in Excel you can make in MS Graph. All the best! Dan Waters -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Joe Rojas Sent: Tuesday, June 07, 2005 8:10 AM To: 'Access Developers discussion and problem solving' Subject: [AccessD] Creating SPC charts Hello, (Access 2000) I need to create statistical process control charts. Also known as X-bar charts, R-charts, ect. I already have the data but I don't know how to generate these kinds of charts in Access. Has anyone created these kinds of charts before? 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 carbonnb at gmail.com Wed Jun 8 12:52:50 2005 From: carbonnb at gmail.com (Bryan Carbonnell) Date: Wed, 8 Jun 2005 13:52:50 -0400 Subject: [AccessD] No anonymous logon allowed In-Reply-To: <002f01c56c43$65da4860$6c7aa8c0@ColbyM6805> References: <002f01c56c43$65da4860$6c7aa8c0@ColbyM6805> Message-ID: On 6/8/05, John W. Colby wrote: > Well, that does it. FireFox sure sucks as a FTP manager though. IE at > least allows you to use the windows explorer to drag and drop files both > directions. That's because FF is a web browser. Not an FTP client. -- 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 stuart at lexacorp.com.pg Wed Jun 8 13:44:35 2005 From: stuart at lexacorp.com.pg (Stuart McLachlan) Date: Thu, 09 Jun 2005 04:44:35 +1000 Subject: [AccessD] No anonymous logon allowed In-Reply-To: References: <002f01c56c43$65da4860$6c7aa8c0@ColbyM6805> Message-ID: <42A7C933.20861.2AD608B@stuart.lexacorp.com.pg> On 8 Jun 2005 at 13:52, Bryan Carbonnell wrote: > On 6/8/05, John W. Colby wrote: > > Well, that does it. FireFox sure sucks as a FTP manager though. IE at > > least allows you to use the windows explorer to drag and drop files both > > directions. > > That's because FF is a web browser. Not an FTP client. > That's why I use SmartFTP http://www.smartftp.com-- Stuart From fhtapia at gmail.com Wed Jun 8 17:48:20 2005 From: fhtapia at gmail.com (Francisco Tapia) Date: Wed, 8 Jun 2005 15:48:20 -0700 Subject: [AccessD] Access 2003, and ADPs Message-ID: I just got my copy of Access 2003 along w/ the Developer Extensions... IF I open up Access 2003 and create a blank ADP, I noticed in the title bar that the file format is in Access 2000 instead of Access 2003... did I misconfigure something? -- -Francisco http://pcthis.blogspot.com |PC news with out the jargon! http://sqlthis.blogspot.com | Tsql and More... From jwcolby at colbyconsulting.com Wed Jun 8 17:56:07 2005 From: jwcolby at colbyconsulting.com (John W. Colby) Date: Wed, 08 Jun 2005 18:56:07 -0400 Subject: [AccessD] Access 2003, and ADPs In-Reply-To: Message-ID: <004001c56c7d$4166dfe0$6c7aa8c0@ColbyM6805> I think it is just a continuation of the bug (never fixed) that prevents compacting any containers after 2K. Thus the default is to build containers in the 2K format since they can be compacted. John W. Colby www.ColbyConsulting.com Contribute your unused CPU cycles to a good cause: http://folding.stanford.edu/ -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Francisco Tapia Sent: Wednesday, June 08, 2005 6:48 PM To: Access Developers discussion and problem solving Subject: [AccessD] Access 2003, and ADPs I just got my copy of Access 2003 along w/ the Developer Extensions... IF I open up Access 2003 and create a blank ADP, I noticed in the title bar that the file format is in Access 2000 instead of Access 2003... did I misconfigure something? -- -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 fhtapia at gmail.com Wed Jun 8 18:45:09 2005 From: fhtapia at gmail.com (Francisco Tapia) Date: Wed, 8 Jun 2005 16:45:09 -0700 Subject: [AccessD] Access 2003, and ADPs In-Reply-To: <004001c56c7d$4166dfe0$6c7aa8c0@ColbyM6805> References: <004001c56c7d$4166dfe0$6c7aa8c0@ColbyM6805> Message-ID: huh? damn nobody mentioned this bug when I first asked about problems w/ Access 2003 (before I bought it...) I'm having buyer's remorse ;) I did a bit of diggin around and if I start a new db, then I can go into options and choose 2002-2003 format as the default. which is nice. (i hope). On 6/8/05, John W. Colby wrote: > I think it is just a continuation of the bug (never fixed) that prevents > compacting any containers after 2K. Thus the default is to build containers > in the 2K format since they can be compacted. > > John W. Colby > www.ColbyConsulting.com > > Contribute your unused CPU cycles to a good cause: > http://folding.stanford.edu/ > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Francisco Tapia > Sent: Wednesday, June 08, 2005 6:48 PM > To: Access Developers discussion and problem solving > Subject: [AccessD] Access 2003, and ADPs > > > I just got my copy of Access 2003 along w/ the Developer Extensions... IF I > open up Access 2003 and create a blank ADP, I noticed in the title bar that > the file format is in Access 2000 instead of Access 2003... did I > misconfigure something? > > > -- > -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 > -- -Francisco http://pcthis.blogspot.com |PC news with out the jargon! http://sqlthis.blogspot.com | Tsql and More... From fhtapia at gmail.com Wed Jun 8 18:59:39 2005 From: fhtapia at gmail.com (Francisco Tapia) Date: Wed, 8 Jun 2005 16:59:39 -0700 Subject: [AccessD] Access 2003, and ADPs In-Reply-To: References: <004001c56c7d$4166dfe0$6c7aa8c0@ColbyM6805> Message-ID: i'm looking at this error too... Microsoft Jet 4.0 Service Pack 8 or later must be installed to block unsafe expressions without affecting common functionality. what is the concensus for this?... On 6/8/05, Francisco Tapia wrote: > huh? > > damn nobody mentioned this bug when I first asked about problems w/ > Access 2003 (before I bought it...) I'm having buyer's remorse ;) > > I did a bit of diggin around and if I start a new db, then I can go > into options and choose 2002-2003 format as the default. which is > nice. (i hope). > > On 6/8/05, John W. Colby wrote: > > I think it is just a continuation of the bug (never fixed) that prevents > > compacting any containers after 2K. Thus the default is to build containers > > in the 2K format since they can be compacted. > > > > John W. Colby > > www.ColbyConsulting.com > > > > Contribute your unused CPU cycles to a good cause: > > http://folding.stanford.edu/ > > > > -----Original Message----- > > From: accessd-bounces at databaseadvisors.com > > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Francisco Tapia > > Sent: Wednesday, June 08, 2005 6:48 PM > > To: Access Developers discussion and problem solving > > Subject: [AccessD] Access 2003, and ADPs > > > > > > I just got my copy of Access 2003 along w/ the Developer Extensions... IF I > > open up Access 2003 and create a blank ADP, I noticed in the title bar that > > the file format is in Access 2000 instead of Access 2003... did I > > misconfigure something? > > > > > > -- > > -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 > > > > > -- > -Francisco > http://pcthis.blogspot.com |PC news with out the jargon! > http://sqlthis.blogspot.com | Tsql and More... > -- -Francisco http://pcthis.blogspot.com |PC news with out the jargon! http://sqlthis.blogspot.com | Tsql and More... From dwaters at usinternet.com Wed Jun 8 18:59:41 2005 From: dwaters at usinternet.com (Dan Waters) Date: Wed, 8 Jun 2005 16:59:41 -0700 Subject: [AccessD] Access 2003, and ADPs In-Reply-To: <24720894.1118274468106.JavaMail.root@sniper15> Message-ID: <000001c56c86$23fbf720$35018e0a@danwaters> Francisco! Don't have buyer's remorse! All you have to do is keep the database file format in A2k. There are no drawbacks (that I know of) to doing this. It's just something to remember. And, keep the Default database format set to A2K as well. In any case, this will only affect tables. Since you're making a ADP, this may not affect you. Perhaps someone else knows the story on this. Dan Waters -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Francisco Tapia Sent: Wednesday, June 08, 2005 4:45 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Access 2003, and ADPs huh? damn nobody mentioned this bug when I first asked about problems w/ Access 2003 (before I bought it...) I'm having buyer's remorse ;) I did a bit of diggin around and if I start a new db, then I can go into options and choose 2002-2003 format as the default. which is nice. (i hope). On 6/8/05, John W. Colby wrote: > I think it is just a continuation of the bug (never fixed) that prevents > compacting any containers after 2K. Thus the default is to build containers > in the 2K format since they can be compacted. > > John W. Colby > www.ColbyConsulting.com > > Contribute your unused CPU cycles to a good cause: > http://folding.stanford.edu/ > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Francisco Tapia > Sent: Wednesday, June 08, 2005 6:48 PM > To: Access Developers discussion and problem solving > Subject: [AccessD] Access 2003, and ADPs > > > I just got my copy of Access 2003 along w/ the Developer Extensions... IF I > open up Access 2003 and create a blank ADP, I noticed in the title bar that > the file format is in Access 2000 instead of Access 2003... did I > misconfigure something? > > > -- > -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 > -- -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 KP at sdsonline.net Wed Jun 8 19:26:11 2005 From: KP at sdsonline.net (Kath Pelletti) Date: Thu, 9 Jun 2005 10:26:11 +1000 Subject: [AccessD] Website down? Message-ID: <00a901c56c89$d72c2100$6601a8c0@user> Hi all - is the website down? I'm trying to get at the archive and having no luck...... ______________________________________________ Kath Pelletti From KP at sdsonline.net Wed Jun 8 19:38:16 2005 From: KP at sdsonline.net (Kath Pelletti) Date: Thu, 9 Jun 2005 10:38:16 +1000 Subject: [AccessD] Website down? References: <00a901c56c89$d72c2100$6601a8c0@user> Message-ID: <00c401c56c8b$872e9c80$6601a8c0@user> Don't worry - there does seem to be some trouble with the home page but I found the archive link - ----- Original Message ----- From: Kath Pelletti To: AccessD at databaseadvisors.com Sent: Thursday, June 09, 2005 10:26 AM Subject: [AccessD] Website down? Hi all - is the website down? I'm trying to get at the archive and having no luck...... ______________________________________________ Kath Pelletti -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From KP at sdsonline.net Wed Jun 8 19:58:07 2005 From: KP at sdsonline.net (Kath Pelletti) Date: Thu, 9 Jun 2005 10:58:07 +1000 Subject: [AccessD] Website / archive / error loading picture Message-ID: <003c01c56c8e$4d024f40$6601a8c0@user> I take it back - when I access the archive it doesnt seem to give me the full history. (I have an idea that this topic may have been covered before..) In the interim, could someone help with an error 2114. Situation is existing client with 4 workstations - 1 was replaced this week - Windows XP Pro re-installed, Office 2000 re-installed. When the user opens a form which attempts to load a .jpg or .gif picture the system come up with "...the database doesn't support the format of 'E:\Database\Photos\Peru.jpg' so it can't load the picture. Google brought up a few instances of developers getting this error where the graphics filters in Office haven't been installed. I have gone in to the setup of Office on that PC and re-installed the graphics filters but I am still getting the error. Can anyone help ? ______________________________________________ Kath Pelletti Software Design & Solutions Pty Ltd. Ph: 9505-6714 Fax: 9505-6430 KP at SDSOnline.net From john at winhaven.net Wed Jun 8 20:31:11 2005 From: john at winhaven.net (John Bartow) Date: Wed, 8 Jun 2005 20:31:11 -0500 Subject: [AccessD] Website down? In-Reply-To: <00a901c56c89$d72c2100$6601a8c0@user> Message-ID: <200506090131.j591VFPA207598@pimout4-ext.prodigy.net> Hi Kath, It would appear our web server is down. I cannot ftp in either. We're working on it... John Bartow, President Database Advisors, Inc. Email: mailto:president at databaseadvisors.com Website: http://www.databaseadvisors.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Kath Pelletti Sent: Wednesday, June 08, 2005 7:26 PM To: AccessD at databaseadvisors.com Subject: [AccessD] Website down? Hi all - is the website down? I'm trying to get at the archive and having no luck...... ______________________________________________ Kath Pelletti -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From GregSmith at starband.net Wed Jun 8 21:41:48 2005 From: GregSmith at starband.net (Greg Smith) Date: Wed, 8 Jun 2005 21:41:48 -0500 Subject: [AccessD] Website down? In-Reply-To: <00c401c56c8b$872e9c80$6601a8c0@user> Message-ID: <200506090245.j592jJ3Y022699@apophis.email.starband.net> I can't get to www.databaseadvisors.com either. "Page cannot be displayed". It's toast, at least for the moment. As for the 2114 error, try going to: http://support.microsoft.com/default.aspx?scid=kb;en-us;294255 And see if this is what you are getting. Greg -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Kath Pelletti Sent: Wednesday, June 08, 2005 7:38 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Website down? Don't worry - there does seem to be some trouble with the home page but I found the archive link - ----- Original Message ----- From: Kath Pelletti To: AccessD at databaseadvisors.com Sent: Thursday, June 09, 2005 10:26 AM Subject: [AccessD] Website down? Hi all - is the website down? I'm trying to get at the archive and having no luck...... ______________________________________________ Kath Pelletti -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From dwaters at usinternet.com Wed Jun 8 22:05:44 2005 From: dwaters at usinternet.com (Dan Waters) Date: Wed, 8 Jun 2005 20:05:44 -0700 Subject: [AccessD] Creating SPC charts In-Reply-To: <17102778.1118195814428.JavaMail.root@sniper16> Message-ID: <000101c56ca0$21861650$7905a8c0@danwaters> Joe, After you insert the chart, change the Class property to MSGraph.Chart, not MSGraph.Chart.8, which will be entered automatically. Then, in References select Microsoft Graph 10.0 Object Library (for AXP), or the appropriate reference for your version of Access. It's been a while, but I seem to remember that once I did this, then everything else seemed to work out OK. Actually, creating the queries is more of a challenge than making the chart. You may need to create a series of queries to get what you're looking for. HTH! Dan Waters -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Joe Rojas Sent: Tuesday, June 07, 2005 6:54 PM To: 'Access Developers discussion and problem solving' Subject: RE: [AccessD] Creating SPC charts Thanks Dan! I was hoping you were going to say that. I wanted to try and keep this all in Access. When you say "MS Graph", does this mean the same thing as inserting a chart in an access report by going to Insert -> Chart? Or is this something different? Thanks, JR -----Original Message----- From: Dan Waters [mailto:dwaters at usinternet.com] Sent: Tuesday, June 07, 2005 4:05 PM To: 'Access Developers discussion and problem solving' Subject: RE: [AccessD] Creating SPC charts Hi Joe, I am a Quality Engineer and have made many SPC charts! But none in Access yet. You can use MS Graph to make these - pretty much anything you can create in Excel you can make in MS Graph. All the best! Dan Waters -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Joe Rojas Sent: Tuesday, June 07, 2005 8:10 AM To: 'Access Developers discussion and problem solving' Subject: [AccessD] Creating SPC charts Hello, (Access 2000) I need to create statistical process control charts. Also known as X-bar charts, R-charts, ect. I already have the data but I don't know how to generate these kinds of charts in Access. Has anyone created these kinds of charts before? 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 martyconnelly at shaw.ca Thu Jun 9 00:10:33 2005 From: martyconnelly at shaw.ca (MartyConnelly) Date: Wed, 08 Jun 2005 22:10:33 -0700 Subject: [AccessD] Website / archive / error loading picture References: <003c01c56c8e$4d024f40$6601a8c0@user> Message-ID: <42A7CF49.9020801@shaw.ca> I know it coughs on jpeg but sometimes just changing extension to jpg works You need a full install of office I think, If not this works http://www.lebans.com/loadjpeg?gif.htm A97LoadJpegGif.zip is a database containing a function to allow for the Display of Jpeg and Gif files on systems that do not have the Office Graphic Filters installed. Here is the A2K version: A2KLoadJpegGif.zip NEW - April 05 2003 Ver 5.0 Developed to allow Access RunTime installations to display Jpeg files in a standard Image Control. Provides functionality to load JPG,GIF,BMP,EMF,WMF,CUR and ICO files on systems without the Office Graphics Filters loaded. Originally developed for Systems with Access Runtime only. Supports transparency in Transparent Gifs. Allows you to resize Images on Forms/Reports at runtime with no loss of Image quality. Kath Pelletti wrote: >I take it back - when I access the archive it doesnt seem to give me the full history. (I have an idea that this topic may have been covered before..) > >In the interim, could someone help with an error 2114. > >Situation is existing client with 4 workstations - 1 was replaced this week - Windows XP Pro re-installed, Office 2000 re-installed. > >When the user opens a form which attempts to load a .jpg or .gif picture the system come up with "...the database doesn't support the format of >'E:\Database\Photos\Peru.jpg' so it can't load the picture. > >Google brought up a few instances of developers getting this error where the graphics filters in Office haven't been installed. I have gone in to the setup of Office on that PC and re-installed the graphics filters but I am still getting the error. > >Can anyone help ? > >______________________________________________ >Kath Pelletti >Software Design & Solutions Pty Ltd. >Ph: 9505-6714 >Fax: 9505-6430 >KP at SDSOnline.net > > -- Marty Connelly Victoria, B.C. Canada From martyconnelly at shaw.ca Thu Jun 9 00:38:03 2005 From: martyconnelly at shaw.ca (MartyConnelly) Date: Wed, 08 Jun 2005 22:38:03 -0700 Subject: [AccessD] Website / archive / error loading picture References: <003c01c56c8e$4d024f40$6601a8c0@user> <42A7CF49.9020801@shaw.ca> Message-ID: <42A7D5BB.1010807@shaw.ca> This may also help but I have never used, there are complaints about this with Office 2003 and Tiff image filters which may require a hotfix, this download is supposed to install filters commensurate with version you have installed Additional text converters and image filters are available in the Microsoft Office File Converter Pack http://support.microsoft.com/kb/212265/ MartyConnelly wrote: > I know it coughs on jpeg but sometimes just changing extension to jpg > works > You need a full install of office I think, If not this works > > http://www.lebans.com/loadjpeg?gif.htm > A97LoadJpegGif.zip is a database containing a function to allow for the > Display of Jpeg and Gif files on systems that do not have the Office > Graphic Filters installed. Here is the A2K version: A2KLoadJpegGif.zip > > > NEW - April 05 2003 Ver 5.0 Developed to allow Access RunTime > installations to display Jpeg files in a standard Image Control. > Provides functionality to load JPG,GIF,BMP,EMF,WMF,CUR and ICO files on > systems without the Office Graphics Filters loaded. > Originally developed for Systems with Access Runtime only. Supports > transparency in Transparent Gifs. Allows you to resize Images on > Forms/Reports at runtime with no loss of Image quality. > > > > Kath Pelletti wrote: > >> I take it back - when I access the archive it doesnt seem to give me >> the full history. (I have an idea that this topic may have been >> covered before..) >> >> In the interim, could someone help with an error 2114. >> >> Situation is existing client with 4 workstations - 1 was replaced >> this week - Windows XP Pro re-installed, Office 2000 re-installed. >> >> When the user opens a form which attempts to load a .jpg or .gif >> picture the system come up with "...the database doesn't support the >> format of 'E:\Database\Photos\Peru.jpg' so it can't load the picture. >> >> Google brought up a few instances of developers getting this error >> where the graphics filters in Office haven't been installed. I have >> gone in to the setup of Office on that PC and re-installed the >> graphics filters but I am still getting the error. >> >> Can anyone help ? >> >> ______________________________________________ >> Kath Pelletti >> Software Design & Solutions Pty Ltd. >> Ph: 9505-6714 >> Fax: 9505-6430 >> KP at SDSOnline.net >> >> > -- Marty Connelly Victoria, B.C. Canada From paul.hartland at fsmail.net Thu Jun 9 04:05:37 2005 From: paul.hartland at fsmail.net (paul.hartland at fsmail.net) Date: Thu, 9 Jun 2005 11:05:37 +0200 (CEST) Subject: [AccessD] More MapPoint Help If Possible Message-ID: <20893438.1118307937034.JavaMail.www@wwinf3102> To all, I have the following code which sends a Client postcode and around 475 employee postcodes to MapPoint and returns the Mileage, however this takes around 16 minutes to complete which is far too long for our needs, can anyone see a way of speeding this up we really need this procedure to be as fast as possible. Private Sub FlyMap_Click() On Error Resume Next Dim rsClient As ADODB.Recordset Dim rsEmp As ADODB.Recordset Dim oMap As MapPoint.Map Dim oLoc1 As MapPoint.Location Dim oLoc2 As MapPoint.Location Dim strCPC As String Dim dtStart As Date Dim dtFinish As Date Set rsClient = New ADODB.Recordset rsClient.Open ("SELECT InvPostCode FROM tblClaires"), OpenDataConn, adOpenDynamic, adLockReadOnly strCPC = rsClient!InvPostCode rsClient.Close Set rsClient = Nothing Set rsEmp = New ADODB.Recordset rsEmp.Open ("SELECT PayrollNo, Postcode, DistFromClient FROM tblMidlands"), OpenDataConn, adOpenDynamic, adLockOptimistic Set oMap = CreateObject("MapPoint.Application").ActiveMap oMap.Parent.PaneState = geoPaneRoutePlanner With oMap.ActiveRoute rsEmp.MoveFirst dtStart = Format(Time(), "HH:MM:SS") Screen.MousePointer = vbHourglass Do Until (rsEmp.EOF) If (IsNull(rsEmp.Fields("Postcode")) = False Or rsEmp.Fields("Postcode") <> "") Then Set oLoc1 = oMap.FindResults(strCPC)(1) Set oLoc2 = oMap.FindResults(rsEmp.Fields("Postcode"))(1) If (oLoc1 Is Nothing Or oLoc2 Is Nothing) Then ' **** No Results Returned **** Else ' **** Results Returned So Calculate Distance Etc **** .Waypoints.Add oLoc1, "Start" .Waypoints.Add oLoc2, "End" .Calculate If (.IsCalculated = True) Then rsEmp.Fields("DistFromClient") = Format(.Distance, "00.00") rsEmp.Update End If End If End If rsEmp.MoveNext .Clear Loop Screen.MousePointer = vbDefault End With rsEmp.Close Set rsEmp = Nothing oMap.Saved = True Set oMap = Nothing dtFinish = Format(Time(), "HH:MM:SS") MsgBox "Finished : " & Format(dtFinish - dtStart, "HH:MM:SS") End Sub Thanks in advance for any help and/or code samples Paul Hartland -- Whatever you Wanadoo: http://www.wanadoo.co.uk/time/ This email has been checked for most known viruses - find out more at: http://www.wanadoo.co.uk/help/id/7098.htm From mmattys at rochester.rr.com Thu Jun 9 07:14:58 2005 From: mmattys at rochester.rr.com (Michael R Mattys) Date: Thu, 9 Jun 2005 08:14:58 -0400 Subject: [AccessD] More MapPoint Help If Possible References: <20893438.1118307937034.JavaMail.www@wwinf3102> Message-ID: <034701c56cec$dd4893d0$0202a8c0@default> ----- Original Message ----- From: To: "accessd" Sent: Thursday, June 09, 2005 5:05 AM Subject: [AccessD] More MapPoint Help If Possible Paul, Try MileCharter here: http://www.mapping-tools.com/ ---- Michael R. Mattys Mattys MapLib for Microsoft MapPoint http://www.mattysconsulting.com From jwcolby at colbyconsulting.com Thu Jun 9 07:17:58 2005 From: jwcolby at colbyconsulting.com (John W. Colby) Date: Thu, 09 Jun 2005 08:17:58 -0400 Subject: [AccessD] More MapPoint Help If Possible In-Reply-To: <20893438.1118307937034.JavaMail.www@wwinf3102> Message-ID: <004e01c56ced$490af130$6c7aa8c0@ColbyM6805> Paul, Are you pretesting the addresses to ensure that they resolve to a single location? In my data I get a ton of addresses which end up with many possible locations (can't be found so a "set" of possibilities is returned. .FindResults returns a collection of all the possible locations. If .Count is 1 then a single address was found and thus the address is "valid". You might want to look at how many addresses are returning a count > 0 and mark those addresses as invalid (using a field in the table), then do not look them up in the future until they are fixed. These location lookups take far longer than if the address resolves correctly and in the end just shouldn't be calculated every time. The thing you need to do is time the various parts of the code. Here is a look at a set of data points as I look up the address, and then look up the distance as the crow flies and distance as the car drives: Time to find Children's Specialized Hospital and 12 MSec Time to calc Distance ATCF between Family Resource Associates, Inc. and Children's Specialized Hospital: 1 MSec - 26.89295 miles" Time to calc Distance ATCD between Family Resource Associates, Inc. and Children's Specialized Hospital: 448 MSec - 33.64725 miles Time to find Fort Lee School District and 7 MSec Time to calc Distance ATCF between Family Resource Associates, Inc. and Fort Lee School District: 0 MSec - 35.70896 miles" Time to calc Distance ATCD between Family Resource Associates, Inc. and Fort Lee School District: 1143 MSec - 53.54356 miles Time to find Garfield School District and 4 MSec Time to calc Distance ATCF between Family Resource Associates, Inc. and Garfield School District: 0 MSec - 37.72034 miles" Time to calc Distance ATCD between Family Resource Associates, Inc. and Garfield School District: 758 MSec - 52.45616 miles Time to find Garwood School District and 8 MSec Time to calc Distance ATCF between Family Resource Associates, Inc. and Garwood School District: 0 MSec - 25.45199 miles" Time to calc Distance ATCD between Family Resource Associates, Inc. and Garwood School District: 401 MSec - 30.58389 miles What this tells me is that the time to look up an address that correctly resolves to a single address is minimal (~10 milliseconds), the time to calc the distance as the crow floes is almost nothing, but the time to calc the distance driven is huge and obviously varies with the number of roads that have to be found and calculated. I would guess that you just aren't going to change that time. John W. Colby www.ColbyConsulting.com Contribute your unused CPU cycles to a good cause: http://folding.stanford.edu/ -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of paul.hartland at fsmail.net Sent: Thursday, June 09, 2005 5:06 AM To: accessd Subject: [AccessD] More MapPoint Help If Possible To all, I have the following code which sends a Client postcode and around 475 employee postcodes to MapPoint and returns the Mileage, however this takes around 16 minutes to complete which is far too long for our needs, can anyone see a way of speeding this up we really need this procedure to be as fast as possible. Private Sub FlyMap_Click() On Error Resume Next Dim rsClient As ADODB.Recordset Dim rsEmp As ADODB.Recordset Dim oMap As MapPoint.Map Dim oLoc1 As MapPoint.Location Dim oLoc2 As MapPoint.Location Dim strCPC As String Dim dtStart As Date Dim dtFinish As Date Set rsClient = New ADODB.Recordset rsClient.Open ("SELECT InvPostCode FROM tblClaires"), OpenDataConn, adOpenDynamic, adLockReadOnly strCPC = rsClient!InvPostCode rsClient.Close Set rsClient = Nothing Set rsEmp = New ADODB.Recordset rsEmp.Open ("SELECT PayrollNo, Postcode, DistFromClient FROM tblMidlands"), OpenDataConn, adOpenDynamic, adLockOptimistic Set oMap = CreateObject("MapPoint.Application").ActiveMap oMap.Parent.PaneState = geoPaneRoutePlanner With oMap.ActiveRoute rsEmp.MoveFirst dtStart = Format(Time(), "HH:MM:SS") Screen.MousePointer = vbHourglass Do Until (rsEmp.EOF) If (IsNull(rsEmp.Fields("Postcode")) = False Or rsEmp.Fields("Postcode") <> "") Then Set oLoc1 = oMap.FindResults(strCPC)(1) Set oLoc2 = oMap.FindResults(rsEmp.Fields("Postcode"))(1) If (oLoc1 Is Nothing Or oLoc2 Is Nothing) Then ' **** No Results Returned **** Else ' **** Results Returned So Calculate Distance Etc **** .Waypoints.Add oLoc1, "Start" .Waypoints.Add oLoc2, "End" .Calculate If (.IsCalculated = True) Then rsEmp.Fields("DistFromClient") = Format(.Distance, "00.00") rsEmp.Update End If End If End If rsEmp.MoveNext .Clear Loop Screen.MousePointer = vbDefault End With rsEmp.Close Set rsEmp = Nothing oMap.Saved = True Set oMap = Nothing dtFinish = Format(Time(), "HH:MM:SS") MsgBox "Finished : " & Format(dtFinish - dtStart, "HH:MM:SS") End Sub Thanks in advance for any help and/or code samples Paul Hartland -- Whatever you Wanadoo: http://www.wanadoo.co.uk/time/ This email has been checked for most known viruses - find out more at: http://www.wanadoo.co.uk/help/id/7098.htm -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From jwcolby at colbyconsulting.com Thu Jun 9 07:41:43 2005 From: jwcolby at colbyconsulting.com (John W. Colby) Date: Thu, 09 Jun 2005 08:41:43 -0400 Subject: [AccessD] More MapPoint Help If Possible In-Reply-To: <20893438.1118307937034.JavaMail.www@wwinf3102> Message-ID: <004f01c56cf0$9aa45920$6c7aa8c0@ColbyM6805> Do these addresses change daily? If not why not precalc the distances and store them? John W. Colby www.ColbyConsulting.com Contribute your unused CPU cycles to a good cause: http://folding.stanford.edu/ -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of paul.hartland at fsmail.net Sent: Thursday, June 09, 2005 5:06 AM To: accessd Subject: [AccessD] More MapPoint Help If Possible To all, I have the following code which sends a Client postcode and around 475 employee postcodes to MapPoint and returns the Mileage, however this takes around 16 minutes to complete which is far too long for our needs, can anyone see a way of speeding this up we really need this procedure to be as fast as possible. Private Sub FlyMap_Click() On Error Resume Next Dim rsClient As ADODB.Recordset Dim rsEmp As ADODB.Recordset Dim oMap As MapPoint.Map Dim oLoc1 As MapPoint.Location Dim oLoc2 As MapPoint.Location Dim strCPC As String Dim dtStart As Date Dim dtFinish As Date Set rsClient = New ADODB.Recordset rsClient.Open ("SELECT InvPostCode FROM tblClaires"), OpenDataConn, adOpenDynamic, adLockReadOnly strCPC = rsClient!InvPostCode rsClient.Close Set rsClient = Nothing Set rsEmp = New ADODB.Recordset rsEmp.Open ("SELECT PayrollNo, Postcode, DistFromClient FROM tblMidlands"), OpenDataConn, adOpenDynamic, adLockOptimistic Set oMap = CreateObject("MapPoint.Application").ActiveMap oMap.Parent.PaneState = geoPaneRoutePlanner With oMap.ActiveRoute rsEmp.MoveFirst dtStart = Format(Time(), "HH:MM:SS") Screen.MousePointer = vbHourglass Do Until (rsEmp.EOF) If (IsNull(rsEmp.Fields("Postcode")) = False Or rsEmp.Fields("Postcode") <> "") Then Set oLoc1 = oMap.FindResults(strCPC)(1) Set oLoc2 = oMap.FindResults(rsEmp.Fields("Postcode"))(1) If (oLoc1 Is Nothing Or oLoc2 Is Nothing) Then ' **** No Results Returned **** Else ' **** Results Returned So Calculate Distance Etc **** .Waypoints.Add oLoc1, "Start" .Waypoints.Add oLoc2, "End" .Calculate If (.IsCalculated = True) Then rsEmp.Fields("DistFromClient") = Format(.Distance, "00.00") rsEmp.Update End If End If End If rsEmp.MoveNext .Clear Loop Screen.MousePointer = vbDefault End With rsEmp.Close Set rsEmp = Nothing oMap.Saved = True Set oMap = Nothing dtFinish = Format(Time(), "HH:MM:SS") MsgBox "Finished : " & Format(dtFinish - dtStart, "HH:MM:SS") End Sub Thanks in advance for any help and/or code samples Paul Hartland -- Whatever you Wanadoo: http://www.wanadoo.co.uk/time/ This email has been checked for most known viruses - find out more at: http://www.wanadoo.co.uk/help/id/7098.htm -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From BBarabash at TappeConstruction.com Thu Jun 9 08:57:10 2005 From: BBarabash at TappeConstruction.com (Brett Barabash) Date: Thu, 9 Jun 2005 08:57:10 -0500 Subject: [AccessD] Access 2003, and ADPs Message-ID: <100F91B31300334B89EC531C9DCB08659F7682@tccexch01.tappeconstruction.net> I installed it (after a lengthy search through the MS site). If you don't, be prepared for non-stop nagging everytime you open a database. Access 2003 has worked well for me, although functionality wise it is pretty much on par with Access 2000. -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Francisco Tapia Sent: Wednesday, June 08, 2005 7:00 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Access 2003, and ADPs i'm looking at this error too... Microsoft Jet 4.0 Service Pack 8 or later must be installed to block unsafe expressions without affecting common functionality. what is the concensus for this?... On 6/8/05, Francisco Tapia wrote: > huh? > > damn nobody mentioned this bug when I first asked about problems w/ > Access 2003 (before I bought it...) I'm having buyer's remorse ;) > > I did a bit of diggin around and if I start a new db, then I can go > into options and choose 2002-2003 format as the default. which is > nice. (i hope). > > On 6/8/05, John W. Colby wrote: > > I think it is just a continuation of the bug (never fixed) that > > prevents compacting any containers after 2K. Thus the default is to > > build containers in the 2K format since they can be compacted. > > > > John W. Colby > > www.ColbyConsulting.com > > > > Contribute your unused CPU cycles to a good cause: > > http://folding.stanford.edu/ > > > > -----Original Message----- > > From: accessd-bounces at databaseadvisors.com > > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Francisco > > Tapia > > Sent: Wednesday, June 08, 2005 6:48 PM > > To: Access Developers discussion and problem solving > > Subject: [AccessD] Access 2003, and ADPs > > > > > > I just got my copy of Access 2003 along w/ the Developer > > Extensions... IF I open up Access 2003 and create a blank ADP, I > > noticed in the title > > instead of Access 2003... did I misconfigure something? > > > > > > -- > > -Francisco > > http://pcthis.blogspot.com |PC news with out the jargon! > > http://sqlthis.blogspot.com | Tsql and More... > > -- -------------------------------------------------------------------------------------------------------------------- The information in this email may contain confidential information that is legally privileged. The information is only for the use of the intended recipient(s) named above. If you are not the intended recipient(s), you are hereby notified that any disclosure, copying, distribution, or the taking of any action in regard to the content of this email is strictly prohibited. If transmission is incorrect, unclear, or incomplete, please notify the sender immediately. The authorized recipient(s) of this information is/are prohibited from disclosing this information to any other party and is/are required to destroy the information after its stated need has been fulfilled. Any views expressed in this message are those of the individual sender, except where the sender specifies and with authority, states them to be the views of Tappe Construction Co. This footer also confirms that this email message has been scanned for the presence of computer viruses.Scanning of this message and addition of this footer is performed by SurfControl E-mail Filter software in conjunction with virus detection software. From JHewson at karta.com Thu Jun 9 10:11:47 2005 From: JHewson at karta.com (Jim Hewson) Date: Thu, 9 Jun 2005 10:11:47 -0500 Subject: [AccessD] Close object without saving Message-ID: <9C382E065F54AE48BC3AA7925DCBB01C034D87CE@karta-exc-int.Karta.com> I'm having trouble finding the Close Action parameters. I want to close created and/or modified objects without saving them. Currently, forms, reports and queries close with any changes saved automatically. New Query Defs I get the "Save As" dialog box. I can't find the toggle to change it. Where is it? A2K. Thanks, Jim From RRANTHON at sentara.com Thu Jun 9 10:16:18 2005 From: RRANTHON at sentara.com (Randall R Anthony) Date: Thu, 09 Jun 2005 11:16:18 -0400 Subject: [AccessD] Close object without saving Message-ID: <200506091516.j59FGas18254@databaseadvisors.com> Is this what you're looking for? Added to the end of the DoCmd. statement. , acSaveNo From JHewson at karta.com Thu Jun 9 10:27:06 2005 From: JHewson at karta.com (Jim Hewson) Date: Thu, 9 Jun 2005 10:27:06 -0500 Subject: [AccessD] Close object without saving Message-ID: <9C382E065F54AE48BC3AA7925DCBB01C034D87D8@karta-exc-int.Karta.com> No, I found that. What I'm looking for is the dialog box and asks if I want to save the query, form, etc. Instead it automatically saves. Thanks Jim -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Randall R Anthony Sent: Thursday, June 09, 2005 10:16 AM To: accessd at databaseadvisors.com Subject: Re: [AccessD] Close object without saving Is this what you're looking for? Added to the end of the DoCmd. statement. , acSaveNo -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From andy at minstersystems.co.uk Thu Jun 9 10:39:17 2005 From: andy at minstersystems.co.uk (Andy Lacey) Date: Thu, 9 Jun 2005 16:39:17 +0100 Subject: [AccessD] Close object without saving Message-ID: <20050609153913.AED82253ACF@smtp.nildram.co.uk> Jim I suspect that your program somewhere has done a Docmd.SetWarnings False and not set it True again. So I'd a) put Docmd.Setwarnings True at the start of your MDB to get it sorted, but b) try to find the offending code cos it's going to keep happening otherwise. One thought is that the code may be setting it False, falling into an error and the error handler doesn't set it 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: RE: [AccessD] Close object without saving Date: 09/06/05 15:27 > > No, I found that. > What I'm looking for is the dialog box and asks if I want to save the > query, form, etc. > Instead it automatically saves. > Thanks > Jim > > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Randall R > Anthony > Sent: Thursday, June 09, 2005 10:16 AM > To: accessd at databaseadvisors.com > Subject: Re: [AccessD] Close object without saving > > Is this what you're looking for? Added to the end of the DoCmd. > statement. > > , acSaveNo > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/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 Lambert.Heenan at AIG.com Thu Jun 9 10:54:13 2005 From: Lambert.Heenan at AIG.com (Heenan, Lambert) Date: Thu, 9 Jun 2005 11:54:13 -0400 Subject: [AccessD] Close object without saving Message-ID: <1D7828CDB8350747AFE9D69E0E90DA1F112149F7@xlivmbx21.aig.com> What you need is Docmd.SetWarnings True Which you can type in the immediate window and hit enter. This setting is specific to each database, and it defaults to True (On). Normally this code is used, for example, just before running an update query, and then the warnings are turned back on with Docmd.SetWarnings True. I suspect that you have turned warnings off at some point in your code and then did not turn them back on. This setting persists with the database even when it is closed and started up again. A common cause of the problem is where warnings are turned off in code, but then a runtime error happened and they were never turned back on. That is why I always ensure that routines that turn off the warnings have an error handler that turns them back on. Lambert -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Jim Hewson Sent: Thursday, June 09, 2005 11:27 AM To: Access Developers discussion and problem solving Subject: RE: [AccessD] Close object without saving No, I found that. What I'm looking for is the dialog box and asks if I want to save the query, form, etc. Instead it automatically saves. Thanks Jim -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Randall R Anthony Sent: Thursday, June 09, 2005 10:16 AM To: accessd at databaseadvisors.com Subject: Re: [AccessD] Close object without saving Is this what you're looking for? Added to the end of the DoCmd. statement. , acSaveNo -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From RRANTHON at sentara.com Thu Jun 9 11:20:59 2005 From: RRANTHON at sentara.com (Randall R Anthony) Date: Thu, 09 Jun 2005 12:20:59 -0400 Subject: [AccessD] Close object without saving Message-ID: <200506091621.j59GLLs04560@databaseadvisors.com> Another way, which I don't recommend (but found out the hard way) is to go to Tools >> Options >> Edit/Find tab and uncheck Record Changes, Document Deletions and Action Queries check boxes. >>> Lambert.Heenan at aig.com 6/9/2005 11:54:13 AM >>> What you need is Docmd.SetWarnings True Which you can type in the immediate window and hit enter. This setting is specific to each database, and it defaults to True (On). Normally this code is used, for example, just before running an update query, and then the warnings are turned back on with Docmd.SetWarnings True. I suspect that you have turned warnings off at some point in your code and then did not turn them back on. This setting persists with the database even when it is closed and started up again. A common cause of the problem is where warnings are turned off in code, but then a runtime error happened and they were never turned back on. That is why I always ensure that routines that turn off the warnings have an error handler that turns them back on. Lambert -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Jim Hewson Sent: Thursday, June 09, 2005 11:27 AM To: Access Developers discussion and problem solving Subject: RE: [AccessD] Close object without saving No, I found that. What I'm looking for is the dialog box and asks if I want to save the query, form, etc. Instead it automatically saves. Thanks Jim -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Randall R Anthony Sent: Thursday, June 09, 2005 10:16 AM To: accessd at databaseadvisors.com Subject: Re: [AccessD] Close object without saving Is this what you're looking for? Added to the end of the DoCmd. statement. , acSaveNo -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From fhtapia at gmail.com Thu Jun 9 11:27:48 2005 From: fhtapia at gmail.com (Francisco Tapia) Date: Thu, 9 Jun 2005 09:27:48 -0700 Subject: [AccessD] Access 2003, and ADPs In-Reply-To: <100F91B31300334B89EC531C9DCB08659F7682@tccexch01.tappeconstruction.net> References: <100F91B31300334B89EC531C9DCB08659F7682@tccexch01.tappeconstruction.net> Message-ID: well I plan on deploying my next DB w/ the Access 2003 runtime... this means that my wise installer "MUST" include the SP8 for Jet? On 6/9/05, Brett Barabash wrote: > I installed it (after a lengthy search through the MS site). If you > don't, be prepared for non-stop nagging everytime you open a database. > > Access 2003 has worked well for me, although functionality wise it is > pretty much on par with Access 2000. > > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Francisco > Tapia > Sent: Wednesday, June 08, 2005 7:00 PM > To: Access Developers discussion and problem solving > Subject: Re: [AccessD] Access 2003, and ADPs > > i'm looking at this error too... > > Microsoft Jet 4.0 Service Pack 8 or later must be installed to block > unsafe expressions without affecting common functionality. > > what is the concensus for this?... > > On 6/8/05, Francisco Tapia wrote: > > huh? > > > > damn nobody mentioned this bug when I first asked about problems w/ > > Access 2003 (before I bought it...) I'm having buyer's remorse ;) > > > > I did a bit of diggin around and if I start a new db, then I can go > > into options and choose 2002-2003 format as the default. which is > > nice. (i hope). > > > > On 6/8/05, John W. Colby wrote: > > > I think it is just a continuation of the bug (never fixed) that > > > prevents compacting any containers after 2K. Thus the default is to > > > > build containers in the 2K format since they can be compacted. > > > > > > John W. Colby > > > www.ColbyConsulting.com > > > > > > Contribute your unused CPU cycles to a good cause: > > > http://folding.stanford.edu/ > > > > > > -----Original Message----- > > > From: accessd-bounces at databaseadvisors.com > > > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Francisco > > > > Tapia > > > Sent: Wednesday, June 08, 2005 6:48 PM > > > To: Access Developers discussion and problem solving > > > Subject: [AccessD] Access 2003, and ADPs > > > > > > > > > I just got my copy of Access 2003 along w/ the Developer > > > Extensions... IF I open up Access 2003 and create a blank ADP, I > > > noticed in the title > > > > instead of Access 2003... did I misconfigure something? > > > > > > > > > -- > > > -Francisco > > > http://pcthis.blogspot.com |PC news with out the jargon! > > > http://sqlthis.blogspot.com | Tsql and More... > > > -- > > -------------------------------------------------------------------------------------------------------------------- > The information in this email may contain confidential information that > is legally privileged. The information is only for the use of the intended > recipient(s) named above. If you are not the intended recipient(s), you > are hereby notified that any disclosure, copying, distribution, or the taking > of any action in regard to the content of this email is strictly prohibited. If > transmission is incorrect, unclear, or incomplete, please notify the sender > immediately. The authorized recipient(s) of this information is/are prohibited > from disclosing this information to any other party and is/are required to > destroy the information after its stated need has been fulfilled. > > Any views expressed in this message are those of the individual > sender, except where the sender specifies and with authority, > states them to be the views of Tappe Construction Co. > > This footer also confirms that this email message has been scanned > for the presence of computer viruses.Scanning of this message and > addition of this footer is performed by SurfControl E-mail Filter software > in conjunction with virus detection software. > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > -- -Francisco http://pcthis.blogspot.com |PC news with out the jargon! http://sqlthis.blogspot.com | Tsql and More... From BBarabash at TappeConstruction.com Thu Jun 9 11:50:03 2005 From: BBarabash at TappeConstruction.com (Brett Barabash) Date: Thu, 9 Jun 2005 11:50:03 -0500 Subject: [AccessD] Access 2003, and ADPs Message-ID: <100F91B31300334B89EC531C9DCB08659F76C8@tccexch01.tappeconstruction.net> I don't have the A2003 runtime, so I don't know if it will display the message to the end user. Try opening a database with /runtime in the command line and see what happens. For all intents and purposes, the unsafe expressions vulnerability probably won't be nearly as problematic as forcing the user to click past a dialog that most people cannot understand. -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Francisco Tapia Sent: Thursday, June 09, 2005 11:28 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Access 2003, and ADPs well I plan on deploying my next DB w/ the Access 2003 runtime... this means that my wise installer "MUST" include the SP8 for Jet? On 6/9/05, Brett Barabash wrote: > I installed it (after a lengthy search through the MS site). If you > don't, be prepared for non-stop nagging everytime you open a database. > > Access 2003 has worked well for me, although functionality wise it is > pretty much on par with Access 2000. > > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Francisco > Tapia > Sent: Wednesday, June 08, 2005 7:00 PM > To: Access Developers discussion and problem solving > Subject: Re: [AccessD] Access 2003, and ADPs > > i'm looking at this error too... > > Microsoft Jet 4.0 Service Pack 8 or later must be installed to block > unsafe expressions without affecting common functionality. > > what is the concensus for this?... > -------------------------------------------------------------------------------------------------------------------- The information in this email may contain confidential information that is legally privileged. The information is only for the use of the intended recipient(s) named above. If you are not the intended recipient(s), you are hereby notified that any dis f any action in regard to the content of this email is strictly prohibited. If transmission is incorrect, unclear, or incomplete, please notify the sender immediately. The authorized recipient(s) of this information is/are prohibited from disclosing this information to any other party and is/are required to destroy the information after its stated need has been fulfilled. Any views expressed in this message are those of the individual sender, except where the sender specifies and with authority, states them to be the views of Tappe Construction Co. This footer also confirms that this email message has been scanned for the presence of computer viruses.Scanning of this message and addition of this footer is performed by SurfControl E-mail Filter software in conjunction with virus detection software. From jwcolby at colbyconsulting.com Thu Jun 9 11:50:58 2005 From: jwcolby at colbyconsulting.com (John W. Colby) Date: Thu, 09 Jun 2005 12:50:58 -0400 Subject: [AccessD] Close object without saving In-Reply-To: <20050609153913.AED82253ACF@smtp.nildram.co.uk> Message-ID: <005401c56d13$6d6ddd50$6c7aa8c0@ColbyM6805> And for that reason, the Docmd.SetWarnings True should be placed immediately in front of the (ONLY) line of code that says Exit 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 Andy Lacey Sent: Thursday, June 09, 2005 11:39 AM To: Access Developers discussion and problem solving Subject: RE: [AccessD] Close object without saving Jim I suspect that your program somewhere has done a Docmd.SetWarnings False and not set it True again. So I'd a) put Docmd.Setwarnings True at the start of your MDB to get it sorted, but b) try to find the offending code cos it's going to keep happening otherwise. One thought is that the code may be setting it False, falling into an error and the error handler doesn't set it 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: RE: [AccessD] Close object without saving Date: 09/06/05 15:27 > > No, I found that. > What I'm looking for is the dialog box and asks if I want to save the > query, form, etc. Instead it automatically saves. > Thanks > Jim > > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Randall R > Anthony > Sent: Thursday, June 09, 2005 10:16 AM > To: accessd at databaseadvisors.com > Subject: Re: [AccessD] Close object without saving > > Is this what you're looking for? Added to the end of the DoCmd. > statement. > > , acSaveNo > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/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 scapistrant at symphonyinfo.com Thu Jun 9 12:11:41 2005 From: scapistrant at symphonyinfo.com (Steve Capistrant) Date: Thu, 9 Jun 2005 12:11:41 -0500 Subject: [AccessD] Access on Macs Message-ID: <855499653F55AD4190B242717DF132BC082B31@dewey.Symphony.local> I met yesterday with a prospect for our Access-based software product. A fifth of their computers are Macs, the remainder PCs. Based on what I have assumed for YEARS, I noted that it won't fly with the Mac users, unless you buy some third party emulator, and even then I've heard about flaky behavior. Yet they assured me that Macs can run all MS Office applications. No emulator. Am I in the dark here? Do Macs have a native MS Office version? If so, does it include Access? And if so, can they work seamlessly with an Access file generated from a PC, or is there some format conversion that is required to create a Mac-enabled file? Steve Capistrant scapistrant at symphonyinfo.com Symphony Information Services 7308 Aspen Lane North, Suite 132 Brooklyn Park, MN 55428 763-391-7400 www.symphonyinfo.com From cfoust at infostatsystems.com Thu Jun 9 12:19:40 2005 From: cfoust at infostatsystems.com (Charlotte Foust) Date: Thu, 9 Jun 2005 10:19:40 -0700 Subject: [AccessD] Access on Macs Message-ID: Macs have a native version of Office, but it doesn't include Access, which is strictly PC-based. They can run Access on a PowerPC, but I don't know if that requires using an emulator. I have seen Access running on a PowerPC notebook, but I quickly ran in the other direction and didn't ask for the ugly details. Charlotte Foust -----Original Message----- From: Steve Capistrant [mailto:scapistrant at symphonyinfo.com] Sent: Thursday, June 09, 2005 10:12 AM To: Access Developers discussion and problem solving Subject: [AccessD] Access on Macs I met yesterday with a prospect for our Access-based software product. A fifth of their computers are Macs, the remainder PCs. Based on what I have assumed for YEARS, I noted that it won't fly with the Mac users, unless you buy some third party emulator, and even then I've heard about flaky behavior. Yet they assured me that Macs can run all MS Office applications. No emulator. Am I in the dark here? Do Macs have a native MS Office version? If so, does it include Access? And if so, can they work seamlessly with an Access file generated from a PC, or is there some format conversion that is required to create a Mac-enabled file? Steve Capistrant scapistrant at symphonyinfo.com Symphony Information Services 7308 Aspen Lane North, Suite 132 Brooklyn Park, MN 55428 763-391-7400 www.symphonyinfo.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From Mike.W.Gowey at doc.state.or.us Thu Jun 9 12:34:53 2005 From: Mike.W.Gowey at doc.state.or.us (Gowey Mike W) Date: Thu, 9 Jun 2005 11:34:53 -0600 Subject: [AccessD] Access on Macs Message-ID: <05EBB8A3BEB95B4F8216BE4EF48607780579B4DE@srciml1.ds.doc.state.or.us> I want to be able to display the value of the following select statement on a form. It should only find one tag number since I do not allow duplicates. I want to be able to see the results on the form. strSQL = "SELECT DISTINCT tblInventory.[DOC Tag Number+] FROM tblInventory " strSQL = strSQL & " WHERE tblInventory.[DOC Tag Number+] = '" & Tag & "'" strSQL = strSQL & " ORDER BY tblInventory.[DOC Tag Number+];" Thanks in advance for any advice. Mike Gowey MCDST, A+, LME, NET+ Team Leader - East Region Information Systems Unit From garykjos at gmail.com Thu Jun 9 12:39:40 2005 From: garykjos at gmail.com (Gary Kjos) Date: Thu, 9 Jun 2005 12:39:40 -0500 Subject: [AccessD] Access on Macs In-Reply-To: <855499653F55AD4190B242717DF132BC082B31@dewey.Symphony.local> References: <855499653F55AD4190B242717DF132BC082B31@dewey.Symphony.local> Message-ID: It was announced on Monday that next year Macs willl start using Intel processors and will be able to run Windows.... http://www.pcmag.com/article2/0,1759,1824718,00.asp VirtualPC is a PC Emulator for the Mac http://www.microsoft.com/mac/products/virtualpc/virtualpc.aspx?pid=virtualpc On 6/9/05, Steve Capistrant wrote: > I met yesterday with a prospect for our Access-based software product. > A fifth of their computers are Macs, the remainder PCs. Based on what I > have assumed for YEARS, I noted that it won't fly with the Mac users, > unless you buy some third party emulator, and even then I've heard about > flaky behavior. > > Yet they assured me that Macs can run all MS Office applications. No > emulator. Am I in the dark here? Do Macs have a native MS Office > version? If so, does it include Access? And if so, can they work > seamlessly with an Access file generated from a PC, or is there some > format conversion that is required to create a Mac-enabled file? > > Steve Capistrant > scapistrant at symphonyinfo.com > Symphony Information Services > 7308 Aspen Lane North, Suite 132 > Brooklyn Park, MN 55428 > 763-391-7400 > www.symphonyinfo.com > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > -- Gary Kjos garykjos at gmail.com From dw-murphy at cox.net Thu Jun 9 12:43:50 2005 From: dw-murphy at cox.net (Doug Murphy) Date: Thu, 9 Jun 2005 10:43:50 -0700 Subject: [AccessD] Access on Macs In-Reply-To: <855499653F55AD4190B242717DF132BC082B31@dewey.Symphony.local> Message-ID: <002401c56d1a$cfadd360$c300a8c0@murphyf3vdfepi> Steve, To run Access on a Mac you have to do it under Windows emulation. We have had folks run our software, which is an Access runtime, on their Macs under Virtual PC. I set one of these up a couple of years ago and it wasn't a big deal, aside from the cost to the client to get virtual PC which included the licensed version of Windows running in Virtual PC. Microsoft purchased VirtualPC a while back and I can't speak to how it works now. The two installations I worked with ran well. There is another Operating system emulator program available but I can't remember the name at the moment. Doug -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Steve Capistrant Sent: Thursday, June 09, 2005 10:12 AM To: Access Developers discussion and problem solving Subject: [AccessD] Access on Macs I met yesterday with a prospect for our Access-based software product. A fifth of their computers are Macs, the remainder PCs. Based on what I have assumed for YEARS, I noted that it won't fly with the Mac users, unless you buy some third party emulator, and even then I've heard about flaky behavior. Yet they assured me that Macs can run all MS Office applications. No emulator. Am I in the dark here? Do Macs have a native MS Office version? If so, does it include Access? And if so, can they work seamlessly with an Access file generated from a PC, or is there some format conversion that is required to create a Mac-enabled file? Steve Capistrant scapistrant at symphonyinfo.com Symphony Information Services 7308 Aspen Lane North, Suite 132 Brooklyn Park, MN 55428 763-391-7400 www.symphonyinfo.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From JHewson at karta.com Thu Jun 9 12:46:04 2005 From: JHewson at karta.com (Jim Hewson) Date: Thu, 9 Jun 2005 12:46:04 -0500 Subject: [AccessD] Close object without saving Message-ID: <9C382E065F54AE48BC3AA7925DCBB01C03628EF7@karta-exc-int.Karta.com> Good point! I'll do it. Thanks all. Jim -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of John W. Colby Sent: Thursday, June 09, 2005 11:51 AM To: 'Access Developers discussion and problem solving' Subject: RE: [AccessD] Close object without saving And for that reason, the Docmd.SetWarnings True should be placed immediately in front of the (ONLY) line of code that says Exit 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 Andy Lacey Sent: Thursday, June 09, 2005 11:39 AM To: Access Developers discussion and problem solving Subject: RE: [AccessD] Close object without saving Jim I suspect that your program somewhere has done a Docmd.SetWarnings False and not set it True again. So I'd a) put Docmd.Setwarnings True at the start of your MDB to get it sorted, but b) try to find the offending code cos it's going to keep happening otherwise. One thought is that the code may be setting it False, falling into an error and the error handler doesn't set it 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: RE: [AccessD] Close object without saving Date: 09/06/05 15:27 > > No, I found that. > What I'm looking for is the dialog box and asks if I want to save the > query, form, etc. Instead it automatically saves. > Thanks > Jim > > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Randall R > Anthony > Sent: Thursday, June 09, 2005 10:16 AM > To: accessd at databaseadvisors.com > Subject: Re: [AccessD] Close object without saving > > Is this what you're looking for? Added to the end of the DoCmd. > statement. > > , acSaveNo > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/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 -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From Mike.W.Gowey at doc.state.or.us Thu Jun 9 12:46:09 2005 From: Mike.W.Gowey at doc.state.or.us (Gowey Mike W) Date: Thu, 9 Jun 2005 11:46:09 -0600 Subject: [AccessD] Value Retrieval Message-ID: <05EBB8A3BEB95B4F8216BE4EF48607780579B4DF@srciml1.ds.doc.state.or.us> I'm wondering if someone can get me out of my brain freeze: I want to be able to display the value of the following select statement on a form. It should only find one tag number since I do not allow duplicates. I want to be able to see the results on the form. strSQL = "SELECT DISTINCT tblInventory.[DOC Tag Number+] FROM tblInventory " strSQL = strSQL & " WHERE tblInventory.[DOC Tag Number+] = '" & Tag & "'" strSQL = strSQL & " ORDER BY tblInventory.[DOC Tag Number+];" Thanks in advance for any advice. Mike Gowey MCDST, A+, LME, NET+ Team Leader - East Region Information Systems Unit From dwaters at usinternet.com Thu Jun 9 12:46:24 2005 From: dwaters at usinternet.com (Dan Waters) Date: Thu, 9 Jun 2005 10:46:24 -0700 Subject: [AccessD] Access on Macs In-Reply-To: <15625217.1118337394485.JavaMail.root@sniper17> Message-ID: <000001c56d1b$28e50750$35018e0a@danwaters> Steve, Macs can have a Windows emulator so it can do all that a PC can do. There is also an Office version that is developed for Macs without using the emulator, but does not include Access. Depending on what they've actually got, they might be able to use your product! Dan Waters -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Steve Capistrant Sent: Thursday, June 09, 2005 10:12 AM To: Access Developers discussion and problem solving Subject: [AccessD] Access on Macs I met yesterday with a prospect for our Access-based software product. A fifth of their computers are Macs, the remainder PCs. Based on what I have assumed for YEARS, I noted that it won't fly with the Mac users, unless you buy some third party emulator, and even then I've heard about flaky behavior. Yet they assured me that Macs can run all MS Office applications. No emulator. Am I in the dark here? Do Macs have a native MS Office version? If so, does it include Access? And if so, can they work seamlessly with an Access file generated from a PC, or is there some format conversion that is required to create a Mac-enabled file? Steve Capistrant scapistrant at symphonyinfo.com Symphony Information Services 7308 Aspen Lane North, Suite 132 Brooklyn Park, MN 55428 763-391-7400 www.symphonyinfo.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 Jun 9 12:55:16 2005 From: Lambert.Heenan at AIG.com (Heenan, Lambert) Date: Thu, 9 Jun 2005 13:55:16 -0400 Subject: [AccessD] Close object without saving Message-ID: <1D7828CDB8350747AFE9D69E0E90DA1F1176BF5A@xlivmbx21.aig.com> Like I said, I strongly suspect that at one time or another you got a runtime error in one of your of the routines that turns the warnings off, and that's what the corresponding line to turn them back on never executed. That's what I meant by ensuring that your routines have error handlers, so that the error handler will turn the warning back on regardless of what error happened. Lambert -----Original Message----- From: Jim Hewson [mailto:JHewson at karta.com] Sent: Thursday, June 09, 2005 12:15 PM To: Heenan, Lambert Subject: RE: [AccessD] Close object without saving Thanks. I reviewed the code and each time SetWarnings was set to false, I have another line that turns them back on. I'm not sure what I did, but it's working correctly now.... Thanks, Jim -----Original Message----- From: Heenan, Lambert [mailto:Lambert.Heenan at AIG.com] Sent: Thursday, June 09, 2005 10:54 AM To: 'Access Developers discussion and problem solving' Cc: Jim Hewson Subject: RE: [AccessD] Close object without saving What you need is Docmd.SetWarnings True Which you can type in the immediate window and hit enter. This setting is specific to each database, and it defaults to True (On). Normally this code is used, for example, just before running an update query, and then the warnings are turned back on with Docmd.SetWarnings True. I suspect that you have turned warnings off at some point in your code and then did not turn them back on. This setting persists with the database even when it is closed and started up again. A common cause of the problem is where warnings are turned off in code, but then a runtime error happened and they were never turned back on. That is why I always ensure that routines that turn off the warnings have an error handler that turns them back on. Lambert -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Jim Hewson Sent: Thursday, June 09, 2005 11:27 AM To: Access Developers discussion and problem solving Subject: RE: [AccessD] Close object without saving No, I found that. What I'm looking for is the dialog box and asks if I want to save the query, form, etc. Instead it automatically saves. Thanks Jim -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Randall R Anthony Sent: Thursday, June 09, 2005 10:16 AM To: accessd at databaseadvisors.com Subject: Re: [AccessD] Close object without saving Is this what you're looking for? Added to the end of the DoCmd. statement. , acSaveNo -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd 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 Jun 9 13:48:07 2005 From: dwaters at usinternet.com (Dan Waters) Date: Thu, 9 Jun 2005 11:48:07 -0700 Subject: [AccessD] Value Retrieval In-Reply-To: <21981408.1118339393758.JavaMail.root@sniper15> Message-ID: <000001c56d23$c789b1a0$35018e0a@danwaters> Mike, 1) You have an unneeded space at the end of FROM tblInventory. 2) Check the rules on field names - is a + sign usable? 3) Try running this without DISTINCT to see if it works then. HTH! Dan Waters -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Gowey Mike W Sent: Thursday, June 09, 2005 10:46 AM To: Access Developers discussion and problem solving Subject: [AccessD] Value Retrieval I'm wondering if someone can get me out of my brain freeze: I want to be able to display the value of the following select statement on a form. It should only find one tag number since I do not allow duplicates. I want to be able to see the results on the form. strSQL = "SELECT DISTINCT tblInventory.[DOC Tag Number+] FROM tblInventory " strSQL = strSQL & " WHERE tblInventory.[DOC Tag Number+] = '" & Tag & "'" strSQL = strSQL & " ORDER BY tblInventory.[DOC Tag Number+];" Thanks in advance for any advice. Mike Gowey MCDST, A+, LME, NET+ Team Leader - East Region Information Systems Unit -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From martyconnelly at shaw.ca Thu Jun 9 13:57:27 2005 From: martyconnelly at shaw.ca (MartyConnelly) Date: Thu, 09 Jun 2005 11:57:27 -0700 Subject: [AccessD] Replication Manager References: Message-ID: <42A89117.80808@shaw.ca> According to Michael Kaplan's posts dating to last june, it is not included as of that date However you can install the synchronizer with the special extra Jet SP 8.0 replication upgrade and then use JRO code, Getz has a couple of hundred pages on vba jro coding in one of his ADH books 2000 or 2002 vol 2. I don't have the latest VSTO to check for sure. Charlotte Foust wrote: >It may be in VSTO, along with the rest of the developer tools for >Access. > >Charlotte Foust > > >-----Original Message----- >From: MartyConnelly [mailto:martyconnelly at shaw.ca] >Sent: Tuesday, June 07, 2005 9:25 AM >To: Access Developers discussion and problem solving >Subject: Re: [AccessD] Replication Manager > > >RepMan 4.0 is on the Office XP Developers Edition, not the Pro Edition, >funnily enough there is no RepMan for 2003. I don't know what you do >here use VB.Net and JRO or old version of >RepMan with Access 2003 > >Documentation within MS-Access 2003 states that this tool is still >required to setup Internet replicated Access databases. >http://support.microsoft.com/default.aspx?scid=kb;en-us;828089 > > so, unless you have that RepMan from XP >.... you need to write your own using JRO or use a tool like TSI >Synchronizer http://www.trigeminal.com/repl-ication/synch.asp?1033 > >Note that this is not really true, either -- the TSI Synchronizer >depends upon you having the Jet Synchronizer (which comes with >Replication >Manager). > >You do not need Replication Manager to use all forms of Jet replication. > >Replication >Manager is a tool for implementing certain advanced replication >functionalities such as synchronizer configuration for indirect or >internet replication or for changing the the retention period of a >replication set. Also, you do not need to have a copy of Replication >Manager on every computer (and probably shouldn't) since it is only an >administrators tool. Anything that can be done with Replication manager >can also be accomplished using DAO or JRO code > >Jet 8 SP has a seperate update for replication > >http://support.microsoft.com/default.aspx?kbid=321076 > >This shows installation procedures for RepMan > >Internet Synchronization with the Microsoft Jet Database Engine: A >Technical Overview >http://msdn.microsoft.com/library/default.asp?url=/library/en-us/dnacc2k >/html/intrjet4.asp > >Make sure you have read the replication faq and understand indirect and >direct synchronization > >http://support.microsoft.com/kb/q282977/ > >Here's some DAO code to illustrate a basic synchronization process of BE > >over a Lan... >'Courtesy Lambert Heenan >Private Sub btnUpdateMaster_Click() >Dim msg As String >Dim sReplicaDb As Variant >Dim sMainStore As String >Dim db As Database > > On Error GoTo btnUpdateMaster_err > 'First get the path to the replica file we will synch. with. > msg = "This procedure will update the MASTER database with one or >more replica databases.@" > msg = msg & "Do you with to continue?@" > If MsgBox(msg, vbYesNo Or vbQuestion, "Synchronize Master Database") >= vbYes Then > > sReplicaDb = sDataToSynchFrom() ' > >' sDataToSynchFrom() is a function that returns the full path to an MDB >file > > If sReplicaDb & "" = "" Then Exit Sub > sMainStore = GetAttachedDbName(GetFirstAttachedtable) > >' GetAttachedDbName() is a function that returns the full path to the >back end database ' given the name of one of the linked tables > > ' sanity check > If sMainStore = sReplicaDb Then > MsgBox "Cannot synchronize your main data file with >itself. at Please select the correct replica data file to synchronize >with.@", , "Invalid data file selected" > Exit Sub > End If > DoCmd.Hourglass True >' here is where the synchronization takes place > Set db = OpenDatabase(sMainStore) >' this does a one-way synchronizatin - just importing changes in the >data. ' you can also do two way using the constant "dbRepImpExpChanges" > db.Synchronize sReplicaDb, dbRepImportChanges > RenameSynchedFile CStr(sReplicaDb) > DoCmd.Hourglass False > MsgBox "Synchronization completed", , "Synchronize Master >Database" > End If >btnUpdateMaster_Click_Exit: > Set db = Nothing > Exit Sub >btnUpdateMaster_err: > DoCmd.Hourglass False >' put your favorite error handler here > MsgBox "Error synchronizing with " & sReplicaDb & "@" & >Err.Description & "@Error number " & Err.Number > Resume btnUpdateMaster_Click_Exit >End Sub > > >Barbara Ryan wrote: > > > >>Where I can I find Replication Manager for Access 2002? Is it a >>separate interface from the Replication option under Tools in Access >>2002? I can't seem to locate it on the Office XP Pro installation CD. >> >>Thanks, >>Barb Ryan >> >> >> >> > > > -- Marty Connelly Victoria, B.C. Canada From fhtapia at gmail.com Thu Jun 9 13:59:32 2005 From: fhtapia at gmail.com (Francisco Tapia) Date: Thu, 9 Jun 2005 11:59:32 -0700 Subject: [AccessD] Access 2003, and ADPs In-Reply-To: <100F91B31300334B89EC531C9DCB08659F76C8@tccexch01.tappeconstruction.net> References: <100F91B31300334B89EC531C9DCB08659F76C8@tccexch01.tappeconstruction.net> Message-ID: I tried the typical /Runtime, apperenatly this is not a valid command anymore.. anyone know for sure? On 6/9/05, Brett Barabash wrote: > I don't have the A2003 runtime, so I don't know if it will display the > message to the end user. > Try opening a database with /runtime in the command line and see what > happens. > > For all intents and purposes, the unsafe expressions vulnerability > probably won't be nearly as problematic as forcing the user to click > past a dialog that most people cannot understand. > > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Francisco > Tapia > Sent: Thursday, June 09, 2005 11:28 AM > To: Access Developers discussion and problem solving > Subject: Re: [AccessD] Access 2003, and ADPs > > well I plan on deploying my next DB w/ the Access 2003 runtime... this > means that my wise installer "MUST" include the SP8 for Jet? > > On 6/9/05, Brett Barabash wrote: > > I installed it (after a lengthy search through the MS site). If you > > don't, be prepared for non-stop nagging everytime you open a database. > > > > Access 2003 has worked well for me, although functionality wise it is > > pretty much on par with Access 2000. > > > > > > -----Original Message----- > > From: accessd-bounces at databaseadvisors.com > > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Francisco > > Tapia > > Sent: Wednesday, June 08, 2005 7:00 PM > > To: Access Developers discussion and problem solving > > Subject: Re: [AccessD] Access 2003, and ADPs > > > > i'm looking at this error too... > > > > Microsoft Jet 4.0 Service Pack 8 or later must be installed to block > > unsafe expressions without affecting common functionality. > > > > what is the concensus for this?... > > > > -------------------------------------------------------------------------------------------------------------------- > The information in this email may contain confidential information that > is legally privileged. The information is only for the use of the intended > recipient(s) named above. If you are not the intended recipient(s), you > are hereby notified that any dis > f any action in regard to the content of this email is strictly prohibited. If > transmission is incorrect, unclear, or incomplete, please notify the sender > immediately. The authorized recipient(s) of this information is/are prohibited > from disclosing this information to any other party and is/are required to > destroy the information after its stated need has been fulfilled. > > Any views expressed in this message are those of the individual > sender, except where the sender specifies and with authority, > states them to be the views of Tappe Construction Co. > > This footer also confirms that this email message has been scanned > for the presence of computer viruses.Scanning of this message and > addition of this footer is performed by SurfControl E-mail Filter software > in conjunction with virus detection software. > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > -- -Francisco http://pcthis.blogspot.com |PC news with out the jargon! http://sqlthis.blogspot.com | Tsql and More... From rbgajewski at adelphia.net Thu Jun 9 14:09:59 2005 From: rbgajewski at adelphia.net (Bob Gajewski) Date: Thu, 9 Jun 2005 15:09:59 -0400 Subject: [AccessD] Value Retrieval In-Reply-To: <000001c56d23$c789b1a0$35018e0a@danwaters> Message-ID: <20050609190756.WFQA4191.mta13.adelphia.net@DG1P2N21> Mike I may be missing something, but if this can return one and only one record, why are you using an ORDER BY clause? Bob Gajewski -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Dan Waters Sent: Thursday, June 09, 2005 14:48 PM To: 'Access Developers discussion and problem solving' Subject: RE: [AccessD] Value Retrieval Mike, 1) You have an unneeded space at the end of FROM tblInventory. 2) Check the rules on field names - is a + sign usable? 3) Try running this without DISTINCT to see if it works then. HTH! Dan Waters -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Gowey Mike W Sent: Thursday, June 09, 2005 10:46 AM To: Access Developers discussion and problem solving Subject: [AccessD] Value Retrieval I'm wondering if someone can get me out of my brain freeze: I want to be able to display the value of the following select statement on a form. It should only find one tag number since I do not allow duplicates. I want to be able to see the results on the form. strSQL = "SELECT DISTINCT tblInventory.[DOC Tag Number+] FROM tblInventory " strSQL = strSQL & " WHERE tblInventory.[DOC Tag Number+] = '" & Tag & "'" strSQL = strSQL & " ORDER BY tblInventory.[DOC Tag Number+];" Thanks in advance for any advice. Mike Gowey MCDST, A+, LME, NET+ Team Leader - East Region Information Systems Unit -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd 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 Jun 9 14:08:09 2005 From: accessd at shaw.ca (Jim Lawrence) Date: Thu, 09 Jun 2005 12:08:09 -0700 Subject: [AccessD] Website down? In-Reply-To: <00a901c56c89$d72c2100$6601a8c0@user> Message-ID: <0IHT0056AZTITH@l-daemon> Hi Kath: I was away in another city yesterday but everything is working fine today. Jim -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Kath Pelletti Sent: Wednesday, June 08, 2005 5:26 PM To: AccessD at databaseadvisors.com Subject: [AccessD] Website down? Hi all - is the website down? I'm trying to get at the archive and having no luck...... ______________________________________________ Kath Pelletti -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From BBarabash at TappeConstruction.com Thu Jun 9 14:14:19 2005 From: BBarabash at TappeConstruction.com (Brett Barabash) Date: Thu, 9 Jun 2005 14:14:19 -0500 Subject: [AccessD] Access 2003, and ADPs Message-ID: <100F91B31300334B89EC531C9DCB08659F7712@tccexch01.tappeconstruction.net> I have A2003 on this machine, and from the Run menu typed msaccess /runtime. It definitely opened in runtime mode (no window caption and it gave the missing application filename message). -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Francisco Tapia Sent: Thursday, June 09, 2005 2:00 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Access 2003, and ADPs I tried the typical /Runtime, apperenatly this is not a valid command anymore.. anyone know for sure? On 6/9/05, Brett Barabash wrote: > I don't have the A2003 runtime, so I don't know if it will display the > message to the end user. > Try opening a database with /runtime in the command line and see what > happens. > > For all intents and purposes, the unsafe expressions vulnerability > probably won't be nearly as problematic as forcing the user to click > past a dialog that most people cannot understand. > > -------------------------------------------------------------------------------------------------------------------- The information in this email may contain confidential information that is legally privileged. The information is only for the use of the intended recipient(s) named above. If you are not the intended recipient(s), you are hereby notified that any disclosure, copying, distribution, or the taking of any action in regard to the content of this email is strictly prohibited. If transmission is incorrect, unclear, or incomplete, please notify the sender immediately. The authorized recipient(s) of this information is/are prohibited from disclosing this information to any other party and is/are required to destroy the information after its stated need has been fulfilled. Any views expressed in this message are those of the individual sender, except where the sender specifies and with authority, states them to be the views of Tappe Construct s been scanned for the presence of computer viruses.Scanning of this message and addition of this footer is performed by SurfControl E-mail Filter software in conjunction with virus detection software. From cfoust at infostatsystems.com Thu Jun 9 14:58:08 2005 From: cfoust at infostatsystems.com (Charlotte Foust) Date: Thu, 9 Jun 2005 12:58:08 -0700 Subject: [AccessD] Replication Manager Message-ID: I bow to your research. I am working primarily in .Net now, so I don't even HAVE Access 2003. Charlotte Foust -----Original Message----- From: MartyConnelly [mailto:martyconnelly at shaw.ca] Sent: Thursday, June 09, 2005 11:57 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Replication Manager According to Michael Kaplan's posts dating to last june, it is not included as of that date However you can install the synchronizer with the special extra Jet SP 8.0 replication upgrade and then use JRO code, Getz has a couple of hundred pages on vba jro coding in one of his ADH books 2000 or 2002 vol 2. I don't have the latest VSTO to check for sure. Charlotte Foust wrote: >It may be in VSTO, along with the rest of the developer tools for >Access. > >Charlotte Foust > > >-----Original Message----- >From: MartyConnelly [mailto:martyconnelly at shaw.ca] >Sent: Tuesday, June 07, 2005 9:25 AM >To: Access Developers discussion and problem solving >Subject: Re: [AccessD] Replication Manager > > >RepMan 4.0 is on the Office XP Developers Edition, not the Pro >Edition, funnily enough there is no RepMan for 2003. I don't know what >you do here use VB.Net and JRO or old version of RepMan with Access >2003 > >Documentation within MS-Access 2003 states that this tool is still >required to setup Internet replicated Access databases. >http://support.microsoft.com/default.aspx?scid=kb;en-us;828089 > > so, unless you have that RepMan from XP >.... you need to write your own using JRO or use a tool like TSI >Synchronizer http://www.trigeminal.com/repl-ication/synch.asp?1033 > >Note that this is not really true, either -- the TSI Synchronizer >depends upon you having the Jet Synchronizer (which comes with >Replication Manager). > >You do not need Replication Manager to use all forms of Jet >replication. > >Replication >Manager is a tool for implementing certain advanced replication >functionalities such as synchronizer configuration for indirect or >internet replication or for changing the the retention period of a >replication set. Also, you do not need to have a copy of Replication >Manager on every computer (and probably shouldn't) since it is only an >administrators tool. Anything that can be done with Replication manager >can also be accomplished using DAO or JRO code > >Jet 8 SP has a seperate update for replication > >http://support.microsoft.com/default.aspx?kbid=321076 > >This shows installation procedures for RepMan > >Internet Synchronization with the Microsoft Jet Database Engine: A >Technical Overview >http://msdn.microsoft.com/library/default.asp?url=/library/en-us/dnacc2 k >/html/intrjet4.asp > >Make sure you have read the replication faq and understand indirect and >direct synchronization > >http://support.microsoft.com/kb/q282977/ > >Here's some DAO code to illustrate a basic synchronization process of >BE > >over a Lan... >'Courtesy Lambert Heenan >Private Sub btnUpdateMaster_Click() >Dim msg As String >Dim sReplicaDb As Variant >Dim sMainStore As String >Dim db As Database > > On Error GoTo btnUpdateMaster_err > 'First get the path to the replica file we will synch. with. > msg = "This procedure will update the MASTER database with one or >more replica databases.@" > msg = msg & "Do you with to continue?@" > If MsgBox(msg, vbYesNo Or vbQuestion, "Synchronize Master >Database") = vbYes Then > > sReplicaDb = sDataToSynchFrom() ' > >' sDataToSynchFrom() is a function that returns the full path to an MDB >file > > If sReplicaDb & "" = "" Then Exit Sub > sMainStore = GetAttachedDbName(GetFirstAttachedtable) > >' GetAttachedDbName() is a function that returns the full path to the >back end database ' given the name of one of the linked tables > > ' sanity check > If sMainStore = sReplicaDb Then > MsgBox "Cannot synchronize your main data file with >itself. at Please select the correct replica data file to synchronize >with.@", , "Invalid data file selected" > Exit Sub > End If > DoCmd.Hourglass True >' here is where the synchronization takes place > Set db = OpenDatabase(sMainStore) >' this does a one-way synchronizatin - just importing changes in the >data. ' you can also do two way using the constant "dbRepImpExpChanges" > db.Synchronize sReplicaDb, dbRepImportChanges > RenameSynchedFile CStr(sReplicaDb) > DoCmd.Hourglass False > MsgBox "Synchronization completed", , "Synchronize Master >Database" > End If >btnUpdateMaster_Click_Exit: > Set db = Nothing > Exit Sub >btnUpdateMaster_err: > DoCmd.Hourglass False >' put your favorite error handler here > MsgBox "Error synchronizing with " & sReplicaDb & "@" & >Err.Description & "@Error number " & Err.Number > Resume btnUpdateMaster_Click_Exit >End Sub > > >Barbara Ryan wrote: > > > >>Where I can I find Replication Manager for Access 2002? Is it a >>separate interface from the Replication option under Tools in Access >>2002? I can't seem to locate it on the Office XP Pro installation CD. >> >>Thanks, >>Barb Ryan >> >> >> >> > > > -- 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 cfoust at infostatsystems.com Thu Jun 9 15:00:13 2005 From: cfoust at infostatsystems.com (Charlotte Foust) Date: Thu, 9 Jun 2005 13:00:13 -0700 Subject: [AccessD] Access on Macs Message-ID: Are you sure you have the right subject on this post? Charlotte Foust -----Original Message----- From: Gowey Mike W [mailto:Mike.W.Gowey at doc.state.or.us] Sent: Thursday, June 09, 2005 10:35 AM To: Access Developers discussion and problem solving Subject: RE: [AccessD] Access on Macs I want to be able to display the value of the following select statement on a form. It should only find one tag number since I do not allow duplicates. I want to be able to see the results on the form. strSQL = "SELECT DISTINCT tblInventory.[DOC Tag Number+] FROM tblInventory " strSQL = strSQL & " WHERE tblInventory.[DOC Tag Number+] = '" & Tag & "'" strSQL = strSQL & " ORDER BY tblInventory.[DOC Tag Number+];" Thanks in advance for any advice. Mike Gowey MCDST, A+, LME, NET+ Team Leader - East Region Information Systems Unit -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From fhtapia at gmail.com Thu Jun 9 15:08:37 2005 From: fhtapia at gmail.com (Francisco Tapia) Date: Thu, 9 Jun 2005 13:08:37 -0700 Subject: [AccessD] Access 2003, and ADPs In-Reply-To: <100F91B31300334B89EC531C9DCB08659F7712@tccexch01.tappeconstruction.net> References: <100F91B31300334B89EC531C9DCB08659F7712@tccexch01.tappeconstruction.net> Message-ID: haha, i'm starting to feel like a dumbass w/ this new version... lol...I had mistyped RUNTIME go figure... ... so I load it as a runtime and yes I still get the JET 4 sp8 error message.. only not as dramatic as the normal access boot up. On 6/9/05, Brett Barabash wrote: > I have A2003 on this machine, and from the Run menu typed msaccess > /runtime. > It definitely opened in runtime mode (no window caption and it gave the > missing application filename message). > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Francisco > Tapia > Sent: Thursday, June 09, 2005 2:00 PM > To: Access Developers discussion and problem solving > Subject: Re: [AccessD] Access 2003, and ADPs > > I tried the typical /Runtime, apperenatly this is not a valid command > anymore.. anyone know for sure? > > > On 6/9/05, Brett Barabash wrote: > > I don't have the A2003 runtime, so I don't know if it will display the > > > message to the end user. > > Try opening a database with /runtime in the command line and see what > > happens. > > > > For all intents and purposes, the unsafe expressions vulnerability > > probably won't be nearly as problematic as forcing the user to click > > past a dialog that most people cannot understand. > > > > -- -Francisco http://pcthis.blogspot.com |PC news with out the jargon! http://sqlthis.blogspot.com | Tsql and More... From BBarabash at TappeConstruction.com Thu Jun 9 15:35:45 2005 From: BBarabash at TappeConstruction.com (Brett Barabash) Date: Thu, 9 Jun 2005 15:35:45 -0500 Subject: [AccessD] Access 2003, and ADPs Message-ID: <100F91B31300334B89EC531C9DCB08659F773D@tccexch01.tappeconstruction.net> Hmm... You would think that AutoCorrect would fix the misspelling ;-) Perhaps the next version? -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Francisco Tapia Sent: Thursday, June 09, 2005 3:09 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Access 2003, and ADPs haha, i'm starting to feel like a dumbass w/ this new version... lol...I had mistyped RUNTIME go figure... ... so I load it as a runtime and yes I still get the JET 4 sp8 error message.. only not as dramatic as the normal access boot up. -------------------------------------------------------------------------------------------------------------------- The information in this email may contain confidential information that is legally privileged. The information is only for the use of the intended recipient(s) named above. If you are not the intended recipient(s), you are hereby notified that any disclosure, copying, distribution, or the taking of any action in regard to the content of this email is strictly prohibited. If transmission is incorrect, unclear, or incomplete, please notify the sender immediately. The authorized recipient(s) of this information is/are prohibited from disclosing this information to any other party and is/are required to destroy the information after its stated need has been fulfilled. Any views expressed in this message are those of the individual sender, except where the sender specifies and with authority, states them to be the views of Tappe Construction Co. This footer also confirms that this email message has been scanned for the presence of computer viruses.Scanning of this message and addition of this footer is performed by SurfControl E-mail Filter software in conjunction with virus detection software. From KP at sdsonline.net Thu Jun 9 17:33:21 2005 From: KP at sdsonline.net (Kath Pelletti) Date: Fri, 10 Jun 2005 08:33:21 +1000 Subject: [AccessD] Website down? References: <0IHT0056AZTITH@l-daemon> Message-ID: <003001c56d43$3e7ea210$6601a8c0@user> Thanks Jim ----- Original Message ----- From: Jim Lawrence To: 'Access Developers discussion and problem solving' Sent: Friday, June 10, 2005 5:08 AM Subject: RE: [AccessD] Website down? Hi Kath: I was away in another city yesterday but everything is working fine today. Jim -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Kath Pelletti Sent: Wednesday, June 08, 2005 5:26 PM To: AccessD at databaseadvisors.com Subject: [AccessD] Website down? Hi all - is the website down? I'm trying to get at the archive and having no luck...... ______________________________________________ Kath Pelletti -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From KP at sdsonline.net Thu Jun 9 17:33:44 2005 From: KP at sdsonline.net (Kath Pelletti) Date: Fri, 10 Jun 2005 08:33:44 +1000 Subject: [AccessD] Website / archive / error loading picture References: <003c01c56c8e$4d024f40$6601a8c0@user> <42A7CF49.9020801@shaw.ca> Message-ID: <003a01c56d43$4ba38050$6601a8c0@user> Thanks Marty - I will try this out tomorrow - rgds Kath ----- Original Message ----- From: MartyConnelly To: Access Developers discussion and problem solving Sent: Thursday, June 09, 2005 3:10 PM Subject: Re: [AccessD] Website / archive / error loading picture I know it coughs on jpeg but sometimes just changing extension to jpg works You need a full install of office I think, If not this works http://www.lebans.com/loadjpeg?gif.htm A97LoadJpegGif.zip is a database containing a function to allow for the Display of Jpeg and Gif files on systems that do not have the Office Graphic Filters installed. Here is the A2K version: A2KLoadJpegGif.zip NEW - April 05 2003 Ver 5.0 Developed to allow Access RunTime installations to display Jpeg files in a standard Image Control. Provides functionality to load JPG,GIF,BMP,EMF,WMF,CUR and ICO files on systems without the Office Graphics Filters loaded. Originally developed for Systems with Access Runtime only. Supports transparency in Transparent Gifs. Allows you to resize Images on Forms/Reports at runtime with no loss of Image quality. Kath Pelletti wrote: >I take it back - when I access the archive it doesnt seem to give me the full history. (I have an idea that this topic may have been covered before..) > >In the interim, could someone help with an error 2114. > >Situation is existing client with 4 workstations - 1 was replaced this week - Windows XP Pro re-installed, Office 2000 re-installed. > >When the user opens a form which attempts to load a .jpg or .gif picture the system come up with "...the database doesn't support the format of >'E:\Database\Photos\Peru.jpg' so it can't load the picture. > >Google brought up a few instances of developers getting this error where the graphics filters in Office haven't been installed. I have gone in to the setup of Office on that PC and re-installed the graphics filters but I am still getting the error. > >Can anyone help ? > >______________________________________________ >Kath Pelletti >Software Design & Solutions Pty Ltd. >Ph: 9505-6714 >Fax: 9505-6430 >KP at SDSOnline.net > > -- 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 Jun 9 19:22:21 2005 From: KP at sdsonline.net (Kath Pelletti) Date: Fri, 10 Jun 2005 10:22:21 +1000 Subject: [AccessD] Australia - find nearest location Message-ID: <000a01c56d52$78a71990$6601a8c0@user> Hi all - Just wondering whether there happens to be anyone on list who may already have done this - I'm writing a new system for a training company and they want add a geographic search capability - ie. they would like to enter a suburb or postcode and the system displays will show the courses which run closest to them geographically. Any tips? Or if anyone has done this at all - can you tell me what your approach was? Thanks - rgds ______________________________________________ Kath Pelletti Software Design & Solutions Pty Ltd. Ph: 9505-6714 Fax: 9505-6430 KP at SDSOnline.net From michael at ddisolutions.com.au Thu Jun 9 19:48:28 2005 From: michael at ddisolutions.com.au (Michael Maddison) Date: Fri, 10 Jun 2005 10:48:28 +1000 Subject: [AccessD] Australia - find nearest location Message-ID: <59A61174B1F5B54B97FD4ADDE71E7D010E4CA3@ddi-01.DDI.local> Never tried myself, but the discussions here recently on MapPoint might lead the way. cheers Michael M Hi all - Just wondering whether there happens to be anyone on list who may already have done this - I'm writing a new system for a training company and they want add a geographic search capability - ie. they would like to enter a suburb or postcode and the system displays will show the courses which run closest to them geographically. Any tips? Or if anyone has done this at all - can you tell me what your approach was? Thanks - rgds ______________________________________________ Kath Pelletti Software Design & Solutions Pty Ltd. Ph: 9505-6714 Fax: 9505-6430 KP at SDSOnline.net -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From Mark.Porter at acsalaska.com Thu Jun 9 20:33:44 2005 From: Mark.Porter at acsalaska.com (Porter, Mark) Date: Thu, 9 Jun 2005 17:33:44 -0800 Subject: [AccessD] Australia - find nearest location Message-ID: <635B80FE6C7D5A409586A6A110D97D17A20A9F@ACSANCHOR.corp.acsalaska.com> They have been doing neat things with Google Maps, maybe something here will lead you to what you are looking for: http://www.cnn.com/2005/TECH/internet/06/09/google.map.hacks.ap/index.ht ml -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Michael Maddison Sent: Thursday, June 09, 2005 4:48 PM To: Access Developers discussion and problem solving Subject: RE: [AccessD] Australia - find nearest location Never tried myself, but the discussions here recently on MapPoint might lead the way. cheers Michael M Hi all - Just wondering whether there happens to be anyone on list who may already have done this - I'm writing a new system for a training company and they want add a geographic search capability - ie. they would like to enter a suburb or postcode and the system displays will show the courses which run closest to them geographically. Any tips? Or if anyone has done this at all - can you tell me what your approach was? Thanks - rgds ______________________________________________ Kath Pelletti Software Design & Solutions Pty Ltd. Ph: 9505-6714 Fax: 9505-6430 KP at SDSOnline.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 *********************************************************************************** This transmittal may contain confidential information intended solely for the addressee. If you are not the intended recipient, you are hereby notified that you have received this transmittal in error; any review, dissemination, distribution or copying of this transmittal is strictly prohibited. If you have received this communication in error, please notify us immediately by reply or by telephone (collect at 907-564-1000) and ask to speak with the message sender. In addition, please immediately delete this message and all attachments. Thank you. ACS From Bruce.Bruen at railcorp.nsw.gov.au Thu Jun 9 21:08:38 2005 From: Bruce.Bruen at railcorp.nsw.gov.au (Bruen, Bruce) Date: Fri, 10 Jun 2005 12:08:38 +1000 Subject: [AccessD] Generating a rownumber field in a query Message-ID: Hi folks, I want to output a sequence number as a field in a query result. Everytime the query runs it should restart the sequence number from 1. The query appends rows to a "testscript" table, every new test cycle we generate a new set of test scripts which is made up of all the tests in the previous cycle plus new tests that were added during the execution of the last cycle. The natural key for the output table is the cycle number + the sequence number. Cycle Seq Testname ..... 1 1 blah 1 2 blah blah ... 2 1 blah blah 2 2 blah blah blah etc The cycle number is input as a parameter to the append query. But how can I generate the sequence numbers? 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 Bruce.Bruen at railcorp.nsw.gov.au Thu Jun 9 21:25:26 2005 From: Bruce.Bruen at railcorp.nsw.gov.au (Bruen, Bruce) Date: Fri, 10 Jun 2005 12:25:26 +1000 Subject: [AccessD] A2K: How to change subform view Message-ID: Hi guys again, Memory has failed me. In Access 2000, what is the code trick to change the subform view from datasheet to normal? The following 2003 code does not work. Private Sub Test_DblClick(Cancel As Integer) DoCmd.RunCommand acCmdSubformFormView 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 mmattys at rochester.rr.com Thu Jun 9 21:37:58 2005 From: mmattys at rochester.rr.com (Michael R Mattys) Date: Thu, 9 Jun 2005 22:37:58 -0400 Subject: [AccessD] A2K: How to change subform view References: Message-ID: <00c801c56d65$6d454d70$0202a8c0@default> ----- Original Message ----- From: "Bruen, Bruce" To: Sent: Thursday, June 09, 2005 10:25 PM Subject: [AccessD] A2K: How to change subform view Hi guys again, Memory has failed me. In Access 2000, what is the code trick to change the subform view from datasheet to normal? The following 2003 code does not work. Private Sub Test_DblClick(Cancel As Integer) DoCmd.RunCommand acCmdSubformFormView End Sub --------- bruce 'Form to Datasheet (It's a subform) If Me.Customers.Form.CurrentView = 1 Then Me.Customers.SetFocus DoCmd.RunCommand acCmdSubformDatasheet End If 'Datasheet to Form If Me.Customers.Form.CurrentView = 2 Then Me.Customers.SetFocus DoCmd.RunCommand acCmdSubformDatasheet End If ---- Michael R. Mattys Mattys MapLib for Microsoft MapPoint http://www.mattysconsulting.com From KP at sdsonline.net Thu Jun 9 21:46:22 2005 From: KP at sdsonline.net (Kath Pelletti) Date: Fri, 10 Jun 2005 12:46:22 +1000 Subject: [AccessD] Australia - find nearest location References: <635B80FE6C7D5A409586A6A110D97D17A20A9F@ACSANCHOR.corp.acsalaska.com> Message-ID: <007a01c56d66$9683a9b0$6601a8c0@user> It's a very hot topic at the moment....thanks Mark ----- Original Message ----- From: Porter, Mark To: Access Developers discussion and problem solving Sent: Friday, June 10, 2005 11:33 AM Subject: RE: [AccessD] Australia - find nearest location They have been doing neat things with Google Maps, maybe something here will lead you to what you are looking for: http://www.cnn.com/2005/TECH/internet/06/09/google.map.hacks.ap/index.ht ml -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Michael Maddison Sent: Thursday, June 09, 2005 4:48 PM To: Access Developers discussion and problem solving Subject: RE: [AccessD] Australia - find nearest location Never tried myself, but the discussions here recently on MapPoint might lead the way. cheers Michael M Hi all - Just wondering whether there happens to be anyone on list who may already have done this - I'm writing a new system for a training company and they want add a geographic search capability - ie. they would like to enter a suburb or postcode and the system displays will show the courses which run closest to them geographically. Any tips? Or if anyone has done this at all - can you tell me what your approach was? Thanks - rgds ______________________________________________ Kath Pelletti Software Design & Solutions Pty Ltd. Ph: 9505-6714 Fax: 9505-6430 KP at SDSOnline.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 *********************************************************************************** This transmittal may contain confidential information intended solely for the addressee. If you are not the intended recipient, you are hereby notified that you have received this transmittal in error; any review, dissemination, distribution or copying of this transmittal is strictly prohibited. If you have received this communication in error, please notify us immediately by reply or by telephone (collect at 907-564-1000) and ask to speak with the message sender. In addition, please immediately delete this message and all attachments. Thank you. ACS -- 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 Fri Jun 10 00:54:50 2005 From: Bruce.Bruen at railcorp.nsw.gov.au (Bruen, Bruce) Date: Fri, 10 Jun 2005 15:54:50 +1000 Subject: [AccessD] A2K: How to change subform view Message-ID: Michael, Both your Docmds are the same????? bruce -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Michael R Mattys Sent: Friday, 10 June 2005 12:38 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] A2K: How to change subform view ----- Original Message ----- From: "Bruen, Bruce" To: Sent: Thursday, June 09, 2005 10:25 PM Subject: [AccessD] A2K: How to change subform view Hi guys again, Memory has failed me. In Access 2000, what is the code trick to change the subform view from datasheet to normal? The following 2003 code does not work. Private Sub Test_DblClick(Cancel As Integer) DoCmd.RunCommand acCmdSubformFormView End Sub --------- bruce 'Form to Datasheet (It's a subform) If Me.Customers.Form.CurrentView = 1 Then Me.Customers.SetFocus DoCmd.RunCommand acCmdSubformDatasheet End If 'Datasheet to Form If Me.Customers.Form.CurrentView = 2 Then Me.Customers.SetFocus DoCmd.RunCommand acCmdSubformDatasheet End If ---- Michael R. Mattys Mattys MapLib for Microsoft MapPoint http://www.mattysconsulting.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 mmattys at rochester.rr.com Fri Jun 10 06:23:39 2005 From: mmattys at rochester.rr.com (Michael R Mattys) Date: Fri, 10 Jun 2005 07:23:39 -0400 Subject: [AccessD] A2K: How to change subform view References: Message-ID: <008601c56dae$db1746c0$0202a8c0@default> Hi Bruce, It was not a mistake. That's how it works. ---- Michael R. Mattys Mattys MapLib for Microsoft MapPoint http://www.mattysconsulting.com ----- Original Message ----- From: "Bruen, Bruce" To: "Access Developers discussion and problem solving" Sent: Friday, June 10, 2005 1:54 AM Subject: RE: [AccessD] A2K: How to change subform view > Michael, > > Both your Docmds are the same????? > > > bruce > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Michael R > Mattys > Sent: Friday, 10 June 2005 12:38 PM > To: Access Developers discussion and problem solving > Subject: Re: [AccessD] A2K: How to change subform view > > ----- Original Message ----- > From: "Bruen, Bruce" > To: > Sent: Thursday, June 09, 2005 10:25 PM > Subject: [AccessD] A2K: How to change subform view > > > Hi guys again, > > Memory has failed me. In Access 2000, what is the code trick to change > the subform view from datasheet to normal? > The following 2003 code does not work. > > Private Sub Test_DblClick(Cancel As Integer) > DoCmd.RunCommand acCmdSubformFormView > End Sub > --------- > > bruce > > 'Form to Datasheet (It's a subform) > If Me.Customers.Form.CurrentView = 1 Then > Me.Customers.SetFocus > DoCmd.RunCommand acCmdSubformDatasheet > End If > > 'Datasheet to Form > If Me.Customers.Form.CurrentView = 2 Then > Me.Customers.SetFocus > DoCmd.RunCommand acCmdSubformDatasheet > End If > > ---- > > Michael R. Mattys > Mattys MapLib for Microsoft MapPoint > http://www.mattysconsulting.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. > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com From JHewson at karta.com Fri Jun 10 07:42:02 2005 From: JHewson at karta.com (Jim Hewson) Date: Fri, 10 Jun 2005 07:42:02 -0500 Subject: [AccessD] Generating a rownumber field in a query Message-ID: <9C382E065F54AE48BC3AA7925DCBB01C03628F6C@karta-exc-int.Karta.com> If the results of the query will be used for a report, you don't need the sequence number from the query. Use the Group Header in the report to separate the Cycle numbers. Put a text box in the detail section with "=1" in the Control Source. Over Group should designated for the Running Sum. Each time the report is run, the group sequence number is regenerated... HTH. Jim -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Bruen, Bruce Sent: Thursday, June 09, 2005 9:09 PM To: AccessD at databaseadvisors.com Subject: [AccessD] Generating a rownumber field in a query Hi folks, I want to output a sequence number as a field in a query result. Everytime the query runs it should restart the sequence number from 1. The query appends rows to a "testscript" table, every new test cycle we generate a new set of test scripts which is made up of all the tests in the previous cycle plus new tests that were added during the execution of the last cycle. The natural key for the output table is the cycle number + the sequence number. Cycle Seq Testname ..... 1 1 blah 1 2 blah blah ... 2 1 blah blah 2 2 blah blah blah etc The cycle number is input as a parameter to the append query. But how can I generate the sequence numbers? 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 bheygood at abestsystems.com Fri Jun 10 09:01:24 2005 From: bheygood at abestsystems.com (Bob Heygood) Date: Fri, 10 Jun 2005 07:01:24 -0700 Subject: [AccessD] Scrape Word Part II In-Reply-To: <6A6AA9DF57E4F046BDA1E273BDDB6772337644@corp-es01.fleetpride.com> Message-ID: thanks Jim. I have looked before at Helen's code. Lots of great stuff there. bob -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Hale, Jim Sent: Wednesday, June 08, 2005 8:17 AM To: 'Access Developers discussion and problem solving' Subject: RE: [AccessD] Scrape Word Part II At the very bottom of this link Helen Feddema has some code that may help you. http://www.helenfeddema.com/CodeSamples.htm Jim Hale -----Original Message----- From: Bob Heygood [mailto:bheygood at abestsystems.com] Sent: Wednesday, June 08, 2005 8:35 AM To: Access Developers discussion and problem solving Subject: [AccessD] Scrape Word Part II Hello to the list, Well, my project is alive again. This time I have the luxury of being able to create the Word document from which I need to cull the info. I still need to have a Word table but I can create bookmarks or whatever within the table in the document. To recap I need to import 10 pieces of text from a Word document and store them in a mdb table. Jim Hale's code below worked really good except that we were pressed for time and did not ever get it to work in all areas of the Word doc. So my first question is how to search the Word doc to find the text, bookmarks, fields, custom properties or ???? TIA, Bob Heygood -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Hale, Jim Sent: Monday, April 18, 2005 8:54 AM To: 'Access Developers discussion and problem solving' Subject: RE: [AccessD] Scrape Word Whatever it takes to get the job done! Sorry I couldn't be more help. Jim Hale -----Original Message----- From: Bob Heygood [mailto:bheygood at abestsystems.com] Sent: Monday, April 18, 2005 10:09 AM To: Access Developers discussion and problem solving Subject: RE: [AccessD] Scrape Word Thanks Jim I finally just ran the job as it took about 4 hours to process 256 documents. it is a one time deal and the customer needed to have the results. your help was fantastic. bob -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Hale, Jim Sent: Friday, April 15, 2005 3:18 PM To: 'Access Developers discussion and problem solving' Subject: RE: [AccessD] Scrape Word I'll look at it some more on Monday. You might examine the selection object in the Word application. It has numerous properties and methods one or more of which should do the trick. Jim Hale -----Original Message----- From: Bob Heygood [mailto:bheygood at abestsystems.com] Sent: Friday, April 15, 2005 4:52 PM To: Access Developers discussion and problem solving Subject: RE: [AccessD] Scrape Word yes in a table cell. again your code is working super. but only grabs the first word, sometimes there is more than one word in the cell, and I would like to capture all of them. if you have thought, I would welcome it. again I tried to manipulate the code further but it acts very erratic when in a table cell. thanks for the great help. bob -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Hale, Jim Sent: Thursday, April 14, 2005 12:53 PM To: 'Access Developers discussion and problem solving' Subject: RE: [AccessD] Scrape Word So the data you want (including the search string) is in a table cell? In the code I sent you delete wd.Selection.Start = wd.Selection.End Call wd.Selection.EndOf(wdSentence, wdExtend) and replace with wd.Selection.Next(Unit:=wdWord, Count:=1).Select Or if the entire string is returned you can replace the search string with an empty string "" using the following function: Function ReplaceString(strTextIn As String, strFind As String, strReplace As String, fCaseSensitive As Boolean) As String Dim strTmp As String Dim intPos As Integer Dim intCaseSensitive As Integer intCaseSensitive = IIf(fCaseSensitive, 2, 1) strTmp = strTextIn intPos = InStr(1, strTmp, strFind, intCaseSensitive) Do While intPos > 0 strTmp = Left$(strTmp, intPos - 1) & strReplace & Mid$(strTmp, intPos + Len(strFind)) intPos = InStr(intPos + Len(strReplace), strTmp, strFind, intCaseSensitive) Loop ReplaceString = strTmp End Function 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 *********************************************************************** 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 mmattys at rochester.rr.com Fri Jun 10 09:03:47 2005 From: mmattys at rochester.rr.com (Michael R Mattys) Date: Fri, 10 Jun 2005 10:03:47 -0400 Subject: [AccessD] Australia - find nearest location References: <635B80FE6C7D5A409586A6A110D97D17A20A9F@ACSANCHOR.corp.acsalaska.com> <007a01c56d66$9683a9b0$6601a8c0@user> Message-ID: <00e101c56dc5$39c9f990$0202a8c0@default> Kath, Steven Pushee indicates that you can use the MapPoint Web$ervice for Australia in this link: http://www.mp2kmag.com/mappoint/discussion/viewtopic.asp?t=6860&sid=e802f4fd 47057ee6724f62a2ff4fbcc2 ---- Michael R. Mattys Mattys MapLib for Microsoft MapPoint http://www.mattysconsulting.com ----- Original Message ----- From: "Kath Pelletti" To: "Access Developers discussion and problem solving" Sent: Thursday, June 09, 2005 10:46 PM Subject: Re: [AccessD] Australia - find nearest location It's a very hot topic at the moment....thanks Mark ----- Original Message ----- From: Porter, Mark To: Access Developers discussion and problem solving Sent: Friday, June 10, 2005 11:33 AM Subject: RE: [AccessD] Australia - find nearest location They have been doing neat things with Google Maps, maybe something here will lead you to what you are looking for: http://www.cnn.com/2005/TECH/internet/06/09/google.map.hacks.ap/index.ht ml -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Michael Maddison Sent: Thursday, June 09, 2005 4:48 PM To: Access Developers discussion and problem solving Subject: RE: [AccessD] Australia - find nearest location Never tried myself, but the discussions here recently on MapPoint might lead the way. cheers Michael M Hi all - Just wondering whether there happens to be anyone on list who may already have done this - I'm writing a new system for a training company and they want add a geographic search capability - ie. they would like to enter a suburb or postcode and the system displays will show the courses which run closest to them geographically. Any tips? Or if anyone has done this at all - can you tell me what your approach was? Thanks - rgds ______________________________________________ Kath Pelletti Software Design & Solutions Pty Ltd. Ph: 9505-6714 Fax: 9505-6430 KP at SDSOnline.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 **************************************************************************** ******* This transmittal may contain confidential information intended solely for the addressee. If you are not the intended recipient, you are hereby notified that you have received this transmittal in error; any review, dissemination, distribution or copying of this transmittal is strictly prohibited. If you have received this communication in error, please notify us immediately by reply or by telephone (collect at 907-564-1000) and ask to speak with the message sender. In addition, please immediately delete this message and all attachments. Thank you. ACS -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd 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 Fri Jun 10 09:41:01 2005 From: dejpolsys at hotmail.com (William Hindman) Date: Fri, 10 Jun 2005 10:41:01 -0400 Subject: [AccessD] A2K: How to change subform view References: Message-ID: Bruce: ..Matty's code is correct: DoCmd.RunCommand acCmdSubformFormView ..switches the Subform to FormView. DoCmd.RunCommand acCmdSubformDatasheetView ..switches the Subform to DatasheetView DoCmd.RunCommand acCmdSubformDatasheet ..toggles between the 2 views. ..hth :) William ----- Original Message ----- From: "Bruen, Bruce" To: "Access Developers discussion and problem solving" Sent: Friday, June 10, 2005 1:54 AM Subject: RE: [AccessD] A2K: How to change subform view > Michael, > > Both your Docmds are the same????? > > > bruce > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Michael R > Mattys > Sent: Friday, 10 June 2005 12:38 PM > To: Access Developers discussion and problem solving > Subject: Re: [AccessD] A2K: How to change subform view > > ----- Original Message ----- > From: "Bruen, Bruce" > To: > Sent: Thursday, June 09, 2005 10:25 PM > Subject: [AccessD] A2K: How to change subform view > > > Hi guys again, > > Memory has failed me. In Access 2000, what is the code trick to change > the subform view from datasheet to normal? > The following 2003 code does not work. > > Private Sub Test_DblClick(Cancel As Integer) > DoCmd.RunCommand acCmdSubformFormView > End Sub > --------- > > bruce > > 'Form to Datasheet (It's a subform) > If Me.Customers.Form.CurrentView = 1 Then > Me.Customers.SetFocus > DoCmd.RunCommand acCmdSubformDatasheet > End If > > 'Datasheet to Form > If Me.Customers.Form.CurrentView = 2 Then > Me.Customers.SetFocus > DoCmd.RunCommand acCmdSubformDatasheet > End If > > ---- > > Michael R. Mattys > Mattys MapLib for Microsoft MapPoint > http://www.mattysconsulting.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. > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > From JHewson at karta.com Fri Jun 10 11:12:23 2005 From: JHewson at karta.com (Jim Hewson) Date: Fri, 10 Jun 2005 11:12:23 -0500 Subject: [AccessD] Filtering a sub-subform Message-ID: <9C382E065F54AE48BC3AA7925DCBB01C03628FA8@karta-exc-int.Karta.com> I'm having difficulty filtering a sub-subform in A2K. The main form has subform1 which contains subform2. A combobox on subform2 filters the records, which works when the form is opened as a main form. Subform1 is filtered using a listbox on subform1 and is not linked to the main form. Subform2 is linked to subform1. I need to filter the records in subform2 with the combobox and still be able to edit and add records. How is this done? Jim From martyconnelly at shaw.ca Fri Jun 10 11:17:26 2005 From: martyconnelly at shaw.ca (MartyConnelly) Date: Fri, 10 Jun 2005 09:17:26 -0700 Subject: [AccessD] Scrape Word Part II References: Message-ID: <42A9BD16.9050504@shaw.ca> As to custom properties you could use the dsofiles.dll, it works for any ole type file mdb,doc,xls,ppt or whatever visio uses, this also works from vb.net, doesn't require word be installed. There is also code to search for text which might be modified for bookmarks but there are two types of word bookmarks. http://www.word.mvps.org/faqs/macrosvba/WorkWithBookmarks.htm You could try searching this site especially the links to other word mvp's like cindy meister I think you will have to poke around to find all the bits and pieces http://word.mvps.org or the main site http://www.mvps.org 'See MSKB and Dsofile.exe Lets You Edit Office Document Properties from Visual Basic and ASP 'Microsoft Knowledge Base Article - 224351 'and download dsofile.exe 'http://support.microsoft.com/?kbid=224351 'Add a reference (Tools | References in the VBE window) to it. ' depending on path where you have installed dsofile.dll 'Put the following in a new module and you should be OK 'Dsofile.dll lets you edit Office document properties without 'Office in Visual Basic .NET 2003 and in Visual Basic .NET 2002 'http://support.microsoft.com/?id=224351 '=========================================================== 'http://www.word.mvps.org/faqs/macrosvba/WorkWithBookmarks.htm Private oFilePropReader As DSOleFile.PropertyReader Private oDocProp As DSOleFile.DocumentProperties Public Sub GetPropsFromDirectory() 'this routine gets all doc files in a directory and shows Line Count and author Dim ffile As String On Error Resume Next 'careful with above line 'this is Quick and Dirty used to avoid missing propereties on some filetypes ' this can be used with microsoft, doc, ppt, xls and mdb files ffile = Dir("c:\wordvba\*.doc") Do While ffile <> "" 'recursive search for sub directories can be written If ffile <> "." And ffile <> ".." Then Set oFilePropReader = New DSOleFile.PropertyReader Set oDocProp = _ oFilePropReader.GetDocumentProperties("c:\wordvba\" & ffile) MsgBox oDocProp.Name & " " & oDocProp.PageCount & _ " pages " & oDocProp.Author With oDocProp Debug.Print "Name " & .Name Debug.Print "Application Name " & .AppName Debug.Print "Author " & .Author Debug.Print "Category " & .Category Debug.Print "Class Id " & .CLSID Debug.Print "Comments " & .Comments Debug.Print "Company " & .Company 'Debug.Print "Custom " & .CustomProperties 'check index values Debug.Print "Create date " & .DateCreated Debug.Print "Last edited " & .DateLastEdited Debug.Print "Last printed " & .DateLastPrinted Debug.Print "Last saved " & .DateLastSaved Debug.Print "Contains Macros " & .HasMacros 'doesn't work with ppt files 'Debug.Print .Icon 'you can view thumbnail in picture object Debug.Print "Read only " & .IsReadOnly Debug.Print "Keywords " & .Keywords Debug.Print "Last edited by " & .LastEditedBy Debug.Print "Line Count " & .LineCount Debug.Print "Location " & .Location Debug.Print "Manager " & .Manager Debug.Print "Page Count " & .PageCount Debug.Print "Paragraphs "; .ParagraphCount Debug.Print "Program Id " & .ProgId Debug.Print "Revision No. " & .RevisionNumber Debug.Print "Slides "; .SlideCount Debug.Print "Subject " & .Subject Debug.Print "Title " & .Title Debug.Print "Version " & .Version Debug.Print "WordCount " & .WordCount Debug.Print "Char Cnt " & .CharacterCount Debug.Print " " End With ffile = Dir() Set oDocProp = Nothing Set oFilePropReader = Nothing End If Loop End Sub Here is some quick and dirty code that opens a Word doc from inside Access, searches for the string "special code:" and sets a string variable equal to the sentence that follows the code string. If your documents all have the same string you can find that string and select words, sentences or paragraphs that come after it. from Jim Hale Function LiftText() Dim wd As Word.Application, strPhrase As String, strFindphrase As String strFindphrase = "special code:" Set wd = New Word.Application wd.Documents.Open "C:\Test.doc" wd.Visible = True wd.Selection.Find.ClearFormatting With wd.Selection.Find .Text = strFindphrase .Replacement.Text = "" .Forward = True .Wrap = wdFindContinue .Format = False .MatchCase = False .MatchWholeWord = False .MatchWildcards = False .MatchSoundsLike = False .MatchAllWordForms = False End With wd.Selection.Find.Execute wd.Selection.Start = wd.Selection.End Call wd.Selection.EndOf(wdSentence, wdExtend) strPhrase = wd.Selection MsgBox "Look what I found: " & strPhrase wd.ActiveDocument.Close wd.Quit Set wd = Nothing End Function Bob Heygood wrote: >thanks Jim. >I have looked before at Helen's code. Lots of great stuff there. > >bob > > > >-----Original Message----- >From: accessd-bounces at databaseadvisors.com >[mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Hale, Jim >Sent: Wednesday, June 08, 2005 8:17 AM >To: 'Access Developers discussion and problem solving' >Subject: RE: [AccessD] Scrape Word Part II > > >At the very bottom of this link Helen Feddema has some code that may help >you. >http://www.helenfeddema.com/CodeSamples.htm > >Jim Hale > >-----Original Message----- >From: Bob Heygood [mailto:bheygood at abestsystems.com] >Sent: Wednesday, June 08, 2005 8:35 AM >To: Access Developers discussion and problem solving >Subject: [AccessD] Scrape Word Part II > > >Hello to the list, > >Well, my project is alive again. This time I have the luxury of being able >to create the Word document from which I need to cull the info. I still need >to have a Word table but I can create bookmarks or whatever within the table >in the document. >To recap I need to import 10 pieces of text from a Word document and store >them in a mdb table. >Jim Hale's code below worked really good except that we were pressed for >time and did not ever get it to work in all areas of the Word doc. >So my first question is how to search the Word doc to find the text, >bookmarks, fields, custom properties or ???? > > >TIA, > >Bob Heygood > >-----Original Message----- >From: accessd-bounces at databaseadvisors.com >[mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Hale, Jim >Sent: Monday, April 18, 2005 8:54 AM >To: 'Access Developers discussion and problem solving' >Subject: RE: [AccessD] Scrape Word > > >Whatever it takes to get the job done! Sorry I couldn't be more help. >Jim Hale > >-----Original Message----- >From: Bob Heygood [mailto:bheygood at abestsystems.com] >Sent: Monday, April 18, 2005 10:09 AM >To: Access Developers discussion and problem solving >Subject: RE: [AccessD] Scrape Word > > >Thanks Jim >I finally just ran the job as it took about 4 hours to process 256 >documents. >it is a one time deal and the customer needed to have the results. > >your help was fantastic. > >bob > > > >-----Original Message----- >From: accessd-bounces at databaseadvisors.com >[mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Hale, Jim >Sent: Friday, April 15, 2005 3:18 PM >To: 'Access Developers discussion and problem solving' >Subject: RE: [AccessD] Scrape Word > > >I'll look at it some more on Monday. You might examine the selection object >in the Word application. It has numerous properties and methods one or more >of which should do the trick. >Jim Hale > >-----Original Message----- >From: Bob Heygood [mailto:bheygood at abestsystems.com] >Sent: Friday, April 15, 2005 4:52 PM >To: Access Developers discussion and problem solving >Subject: RE: [AccessD] Scrape Word > > >yes in a table cell. >again your code is working super. >but only grabs the first word, sometimes there is more than one word in the >cell, and I would like to capture all of them. >if you have thought, I would welcome it. > > >again I tried to manipulate the code further but it acts very erratic when >in a table cell. > >thanks for the great help. > >bob > > >-----Original Message----- >From: accessd-bounces at databaseadvisors.com >[mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Hale, Jim >Sent: Thursday, April 14, 2005 12:53 PM >To: 'Access Developers discussion and problem solving' >Subject: RE: [AccessD] Scrape Word > > >So the data you want (including the search string) is in a table cell? In >the code I sent you delete > wd.Selection.Start = wd.Selection.End > Call wd.Selection.EndOf(wdSentence, wdExtend) > >and replace with > wd.Selection.Next(Unit:=wdWord, Count:=1).Select > >Or if the entire string is returned you can replace the search string with >an empty string "" using the following function: > >Function ReplaceString(strTextIn As String, strFind As String, strReplace As >String, fCaseSensitive As Boolean) As String > > Dim strTmp As String > Dim intPos As Integer > Dim intCaseSensitive As Integer > > intCaseSensitive = IIf(fCaseSensitive, 2, 1) > > strTmp = strTextIn > intPos = InStr(1, strTmp, strFind, intCaseSensitive) > > Do While intPos > 0 > strTmp = Left$(strTmp, intPos - 1) & strReplace & Mid$(strTmp, intPos + >Len(strFind)) > intPos = InStr(intPos + Len(strReplace), strTmp, strFind, >intCaseSensitive) > Loop > > ReplaceString = strTmp > >End Function > >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 > >*********************************************************************** >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. > > > > -- Marty Connelly Victoria, B.C. Canada From darsant at gmail.com Fri Jun 10 11:21:28 2005 From: darsant at gmail.com (Josh McFarlane) Date: Fri, 10 Jun 2005 11:21:28 -0500 Subject: [AccessD] Filtering a sub-subform In-Reply-To: <9C382E065F54AE48BC3AA7925DCBB01C03628FA8@karta-exc-int.Karta.com> References: <9C382E065F54AE48BC3AA7925DCBB01C03628FA8@karta-exc-int.Karta.com> Message-ID: <53c8e05a050610092144430ca3@mail.gmail.com> On 6/10/05, Jim Hewson wrote: > > I'm having difficulty filtering a sub-subform in A2K. > > The main form has subform1 which contains subform2. > A combobox on subform2 filters the records, which works when the form is > opened as a main form. > Subform1 is filtered using a listbox on subform1 and is not linked to > the main form. > Subform2 is linked to subform1. > > I need to filter the records in subform2 with the combobox and still be > able to edit and add records. > > How is this done? > > Jim How are you filtering this at the moment? Are you filtering using filters or by modifying the recordsource on the afterupdate event of the combo box? -- HTH Josh McFarlane "Peace cannot be kept by force. It can only be achieved by understanding." -Albert Einstein From martyconnelly at shaw.ca Fri Jun 10 11:31:22 2005 From: martyconnelly at shaw.ca (MartyConnelly) Date: Fri, 10 Jun 2005 09:31:22 -0700 Subject: [AccessD] Scrape Word Part II References: Message-ID: <42A9C05A.7030602@shaw.ca> Just as a matter of interest this will be easy to do in the new Office 12 XML word formats you just write an XSLT to pick out the relevant bits. According to Brian Jones MS Word Project Manager at this week's TechED. Microsoft will backward patch most versions of word to handle or at least read this new format http://blogs.msdn.com/brian_jones/archive/2005/06/08/426818.aspx#comments Bob Heygood wrote: >thanks Jim. >I have looked before at Helen's code. Lots of great stuff there. > >bob > > > >-----Original Message----- >From: accessd-bounces at databaseadvisors.com >[mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Hale, Jim >Sent: Wednesday, June 08, 2005 8:17 AM >To: 'Access Developers discussion and problem solving' >Subject: RE: [AccessD] Scrape Word Part II > > >At the very bottom of this link Helen Feddema has some code that may help >you. >http://www.helenfeddema.com/CodeSamples.htm > >Jim Hale > >-----Original Message----- >From: Bob Heygood [mailto:bheygood at abestsystems.com] >Sent: Wednesday, June 08, 2005 8:35 AM >To: Access Developers discussion and problem solving >Subject: [AccessD] Scrape Word Part II > > >Hello to the list, > >Well, my project is alive again. This time I have the luxury of being able >to create the Word document from which I need to cull the info. I still need >to have a Word table but I can create bookmarks or whatever within the table >in the document. >To recap I need to import 10 pieces of text from a Word document and store >them in a mdb table. >Jim Hale's code below worked really good except that we were pressed for >time and did not ever get it to work in all areas of the Word doc. >So my first question is how to search the Word doc to find the text, >bookmarks, fields, custom properties or ???? > > >TIA, > >Bob Heygood > >-----Original Message----- >From: accessd-bounces at databaseadvisors.com >[mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Hale, Jim >Sent: Monday, April 18, 2005 8:54 AM >To: 'Access Developers discussion and problem solving' >Subject: RE: [AccessD] Scrape Word > > >Whatever it takes to get the job done! Sorry I couldn't be more help. >Jim Hale > >-----Original Message----- >From: Bob Heygood [mailto:bheygood at abestsystems.com] >Sent: Monday, April 18, 2005 10:09 AM >To: Access Developers discussion and problem solving >Subject: RE: [AccessD] Scrape Word > > >Thanks Jim >I finally just ran the job as it took about 4 hours to process 256 >documents. >it is a one time deal and the customer needed to have the results. > >your help was fantastic. > >bob > > > >-----Original Message----- >From: accessd-bounces at databaseadvisors.com >[mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Hale, Jim >Sent: Friday, April 15, 2005 3:18 PM >To: 'Access Developers discussion and problem solving' >Subject: RE: [AccessD] Scrape Word > > >I'll look at it some more on Monday. You might examine the selection object >in the Word application. It has numerous properties and methods one or more >of which should do the trick. >Jim Hale > >-----Original Message----- >From: Bob Heygood [mailto:bheygood at abestsystems.com] >Sent: Friday, April 15, 2005 4:52 PM >To: Access Developers discussion and problem solving >Subject: RE: [AccessD] Scrape Word > > >yes in a table cell. >again your code is working super. >but only grabs the first word, sometimes there is more than one word in the >cell, and I would like to capture all of them. >if you have thought, I would welcome it. > > >again I tried to manipulate the code further but it acts very erratic when >in a table cell. > >thanks for the great help. > >bob > > >-----Original Message----- >From: accessd-bounces at databaseadvisors.com >[mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Hale, Jim >Sent: Thursday, April 14, 2005 12:53 PM >To: 'Access Developers discussion and problem solving' >Subject: RE: [AccessD] Scrape Word > > >So the data you want (including the search string) is in a table cell? In >the code I sent you delete > wd.Selection.Start = wd.Selection.End > Call wd.Selection.EndOf(wdSentence, wdExtend) > >and replace with > wd.Selection.Next(Unit:=wdWord, Count:=1).Select > >Or if the entire string is returned you can replace the search string with >an empty string "" using the following function: > >Function ReplaceString(strTextIn As String, strFind As String, strReplace As >String, fCaseSensitive As Boolean) As String > > Dim strTmp As String > Dim intPos As Integer > Dim intCaseSensitive As Integer > > intCaseSensitive = IIf(fCaseSensitive, 2, 1) > > strTmp = strTextIn > intPos = InStr(1, strTmp, strFind, intCaseSensitive) > > Do While intPos > 0 > strTmp = Left$(strTmp, intPos - 1) & strReplace & Mid$(strTmp, intPos + >Len(strFind)) > intPos = InStr(intPos + Len(strReplace), strTmp, strFind, >intCaseSensitive) > Loop > > ReplaceString = strTmp > >End Function > >Jim Hale > > > > -- Marty Connelly Victoria, B.C. Canada From JHewson at karta.com Fri Jun 10 12:45:06 2005 From: JHewson at karta.com (Jim Hewson) Date: Fri, 10 Jun 2005 12:45:06 -0500 Subject: [AccessD] Filtering a sub-subform Message-ID: <9C382E065F54AE48BC3AA7925DCBB01C03628FBE@karta-exc-int.Karta.com> There is no filter currently. I'm adding the filter through the afterupdate event of the combo box. Thanks, Jim -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Josh McFarlane Sent: Friday, June 10, 2005 11:21 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Filtering a sub-subform On 6/10/05, Jim Hewson wrote: > > I'm having difficulty filtering a sub-subform in A2K. > > The main form has subform1 which contains subform2. > A combobox on subform2 filters the records, which works when the form > is opened as a main form. > Subform1 is filtered using a listbox on subform1 and is not linked to > the main form. > Subform2 is linked to subform1. > > I need to filter the records in subform2 with the combobox and still > be able to edit and add records. > > How is this done? > > Jim How are you filtering this at the moment? Are you filtering using filters or by modifying the recordsource on the afterupdate event of the combo box? -- HTH 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 accessd at shaw.ca Fri Jun 10 13:00:01 2005 From: accessd at shaw.ca (Jim Lawrence) Date: Fri, 10 Jun 2005 11:00:01 -0700 Subject: [AccessD] Friday humour In-Reply-To: <9C382E065F54AE48BC3AA7925DCBB01C03628FBE@karta-exc-int.Karta.com> Message-ID: <0IHV0011IRBYPU@l-daemon> Hi All: When first read I thought this was a joke... but I think it is for real; which of course would make it more hilarious. Check this out: http://www.catholicintl.com/epologetics/articles/science/geochallenge.htm Jim From DElam at jenkens.com Fri Jun 10 13:14:47 2005 From: DElam at jenkens.com (Elam, Debbie) Date: Fri, 10 Jun 2005 13:14:47 -0500 Subject: [AccessD] Friday humour Message-ID: <7B1961ED924D1A459E378C9B1BB22B4C0492C986@natexch.jenkens.com> Actually they are right. The whole thing comes down to perspective. Of course the math is a heck of a lot easier if you simply consider the sun the center around which the solar system revolves. In this case as many others, why not go with the simplest answer that gives the most correct predictions? Why complicate the issue by insisting that a certain perspective has to be maintained? Groan, no doubt they will call it proof. Of course the reverse is just as true. No one can prove that the sun revolves around the Earth, but that is a minor detail. Debbie -----Original Message----- From: Jim Lawrence [mailto:accessd at shaw.ca] Sent: Friday, June 10, 2005 1:00 PM To: 'Access Developers discussion and problem solving' Subject: [AccessD] Friday humour Hi All: When first read I thought this was a joke... but I think it is for real; which of course would make it more hilarious. Check this out: http://www.catholicintl.com/epologetics/articles/science/geochallenge.htm Jim -- 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 Fri Jun 10 13:23:03 2005 From: accessd at shaw.ca (Jim Lawrence) Date: Fri, 10 Jun 2005 11:23:03 -0700 Subject: [AccessD] Friday humour In-Reply-To: <7B1961ED924D1A459E378C9B1BB22B4C0492C986@natexch.jenkens.com> Message-ID: <0IHV00LBLSECYT@l-daemon> What's next... a challenge from the 'Flat Earth Society'? Jim -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Elam, Debbie Sent: Friday, June 10, 2005 11:15 AM To: 'Access Developers discussion and problem solving' Subject: RE: [AccessD] Friday humour Actually they are right. The whole thing comes down to perspective. Of course the math is a heck of a lot easier if you simply consider the sun the center around which the solar system revolves. In this case as many others, why not go with the simplest answer that gives the most correct predictions? Why complicate the issue by insisting that a certain perspective has to be maintained? Groan, no doubt they will call it proof. Of course the reverse is just as true. No one can prove that the sun revolves around the Earth, but that is a minor detail. Debbie -----Original Message----- From: Jim Lawrence [mailto:accessd at shaw.ca] Sent: Friday, June 10, 2005 1:00 PM To: 'Access Developers discussion and problem solving' Subject: [AccessD] Friday humour Hi All: When first read I thought this was a joke... but I think it is for real; which of course would make it more hilarious. Check this out: http://www.catholicintl.com/epologetics/articles/science/geochallenge.htm Jim -- 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 drboz at pacbell.net Fri Jun 10 13:24:57 2005 From: drboz at pacbell.net (Don Bozarth) Date: Fri, 10 Jun 2005 11:24:57 -0700 Subject: [AccessD] Friday humour References: <7B1961ED924D1A459E378C9B1BB22B4C0492C986@natexch.jenkens.com> Message-ID: <002701c56de9$b578af40$6401a8c0@don> Well, if the solar system is Earth centered, a lot of the math dealing with planetary motion goes right out the window... not to mention that little sniggle called gravity. The math of orbital mechanics suddenly disappears. Were all that math wrong, we could never have made it to the Moon, Venus, Mars, Jupiter, Saturn, and Uranus those places manmade satellites have visited. Don B. ----- Original Message ----- From: "Elam, Debbie" To: "'Access Developers discussion and problem solving'" Sent: Friday, June 10, 2005 11:14 AM Subject: RE: [AccessD] Friday humour > Actually they are right. The whole thing comes down to perspective. Of > course the math is a heck of a lot easier if you simply consider the sun the > center around which the solar system revolves. In this case as many others, > why not go with the simplest answer that gives the most correct predictions? > Why complicate the issue by insisting that a certain perspective has to be > maintained? Groan, no doubt they will call it proof. Of course the reverse > is just as true. No one can prove that the sun revolves around the Earth, > but that is a minor detail. > > Debbie > > -----Original Message----- > From: Jim Lawrence [mailto:accessd at shaw.ca] > Sent: Friday, June 10, 2005 1:00 PM > To: 'Access Developers discussion and problem solving' > Subject: [AccessD] Friday humour > > > Hi All: > > When first read I thought this was a joke... but I think it is for real; > which of course would make it more hilarious. Check this out: > http://www.catholicintl.com/epologetics/articles/science/geochallenge.htm > > Jim > > -- > 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 darsant at gmail.com Fri Jun 10 13:25:55 2005 From: darsant at gmail.com (Josh McFarlane) Date: Fri, 10 Jun 2005 13:25:55 -0500 Subject: [AccessD] Filtering a sub-subform In-Reply-To: <9C382E065F54AE48BC3AA7925DCBB01C03628FBE@karta-exc-int.Karta.com> References: <9C382E065F54AE48BC3AA7925DCBB01C03628FBE@karta-exc-int.Karta.com> Message-ID: <53c8e05a05061011254877bf7a@mail.gmail.com> On 6/10/05, Jim Hewson wrote: > There is no filter currently. > I'm adding the filter through the afterupdate event of the combo box. > Thanks, > Jim It may be easiest to set the recordsource on the afterupdate (SELECT * FROM Table WHERE FilteredField = " & CmbBoxSelection Don't forget to Requery the form too after updating it. -- Josh McFarlane "Peace cannot be kept by force. It can only be achieved by understanding." -Albert Einstein From cfoust at infostatsystems.com Fri Jun 10 13:27:49 2005 From: cfoust at infostatsystems.com (Charlotte Foust) Date: Fri, 10 Jun 2005 11:27:49 -0700 Subject: [AccessD] Friday humour Message-ID: No, I think they're all in public office already! ,wink> Charlotte Foust -----Original Message----- From: Jim Lawrence [mailto:accessd at shaw.ca] Sent: Friday, June 10, 2005 11:23 AM To: 'Access Developers discussion and problem solving' Subject: RE: [AccessD] Friday humour What's next... a challenge from the 'Flat Earth Society'? Jim -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Elam, Debbie Sent: Friday, June 10, 2005 11:15 AM To: 'Access Developers discussion and problem solving' Subject: RE: [AccessD] Friday humour Actually they are right. The whole thing comes down to perspective. Of course the math is a heck of a lot easier if you simply consider the sun the center around which the solar system revolves. In this case as many others, why not go with the simplest answer that gives the most correct predictions? Why complicate the issue by insisting that a certain perspective has to be maintained? Groan, no doubt they will call it proof. Of course the reverse is just as true. No one can prove that the sun revolves around the Earth, but that is a minor detail. Debbie -----Original Message----- From: Jim Lawrence [mailto:accessd at shaw.ca] Sent: Friday, June 10, 2005 1:00 PM To: 'Access Developers discussion and problem solving' Subject: [AccessD] Friday humour Hi All: When first read I thought this was a joke... but I think it is for real; which of course would make it more hilarious. Check this out: http://www.catholicintl.com/epologetics/articles/science/geochallenge.ht m Jim -- 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 Lambert.Heenan at AIG.com Fri Jun 10 13:33:16 2005 From: Lambert.Heenan at AIG.com (Heenan, Lambert) Date: Fri, 10 Jun 2005 14:33:16 -0400 Subject: [AccessD] Friday humour Message-ID: <1D7828CDB8350747AFE9D69E0E90DA1F1176C2D3@xlivmbx21.aig.com> Though I makes me feel unclean to even think about responding to such orgs as the CAI, I will simply state that the question / challenge not only points out their inbuilt prejudice on the subject (as does the web site, which states that no-one *will* be able to offer any proof), but also reveals their utter ignorance of the theory that their behind the times dogma wishes to deny. The sun does not revolve around the Earth and the Earth does not revolve around the sun. They both orbit a common center of gravity, to which all the other planets in the solar system contribute. If they are so damned certain that the sun orbits the Earth then why don't they offer up their "proof"? Furthermore, no scientific minded person would be silly enough to suggest that any theory can be proven. The only thing you can do to a theory is discover more data that *supports* it and its predictions, or new data that *refutes* the theory. Once the refutation data is on hand the theory must be abandoned, or used with the understanding that it has limits. Thus when Einstein's explanation of the orbit of Mercury was shown to be correct *by observation*, the previous Newtonian theory had been shown to be wrong. But then we always knew it was wrong anyway. It's just that it took until Einstein for someone to explain the differences between observation and Newton's theory. Lambert -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Elam, Debbie Sent: Friday, June 10, 2005 2:15 PM To: 'Access Developers discussion and problem solving' Subject: RE: [AccessD] Friday humour Actually they are right. The whole thing comes down to perspective. Of course the math is a heck of a lot easier if you simply consider the sun the center around which the solar system revolves. In this case as many others, why not go with the simplest answer that gives the most correct predictions? Why complicate the issue by insisting that a certain perspective has to be maintained? Groan, no doubt they will call it proof. Of course the reverse is just as true. No one can prove that the sun revolves around the Earth, but that is a minor detail. Debbie -----Original Message----- From: Jim Lawrence [mailto:accessd at shaw.ca] Sent: Friday, June 10, 2005 1:00 PM To: 'Access Developers discussion and problem solving' Subject: [AccessD] Friday humour Hi All: When first read I thought this was a joke... but I think it is for real; which of course would make it more hilarious. Check this out: http://www.catholicintl.com/epologetics/articles/science/geochallenge.htm Jim -- 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 DElam at jenkens.com Fri Jun 10 13:39:17 2005 From: DElam at jenkens.com (Elam, Debbie) Date: Fri, 10 Jun 2005 13:39:17 -0500 Subject: [AccessD] Friday humour Message-ID: <7B1961ED924D1A459E378C9B1BB22B4C0492C988@natexch.jenkens.com> No it does not throw it out the window, it just makes the lovely and simple orbital mechanics equations into monster equations that take a super computer to calculate with any proficiency. Of course those other planets just orbit around the sun while the whole mess orbits around the Earth ;-). That was the real reason it became obvious that the best method of calculation was to put the sun in the center of the system. The whole mess with the rings was to account for planetary movements. It is a little like the headaches caused when you try to take the Earth's total motion into account when compared to the motion of another star in the milky way galaxy which is all rotating around a cluster of stars in the galaxy center. Much more pleasant to break it into chunks and consider the solar system a single unit when talking about motion with respect to the galaxy. Debbie -----Original Message----- From: Don Bozarth [mailto:drboz at pacbell.net] Sent: Friday, June 10, 2005 1:25 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Friday humour Well, if the solar system is Earth centered, a lot of the math dealing with planetary motion goes right out the window... not to mention that little sniggle called gravity. The math of orbital mechanics suddenly disappears. Were all that math wrong, we could never have made it to the Moon, Venus, Mars, Jupiter, Saturn, and Uranus those places manmade satellites have visited. Don B. ----- Original Message ----- From: "Elam, Debbie" To: "'Access Developers discussion and problem solving'" Sent: Friday, June 10, 2005 11:14 AM Subject: RE: [AccessD] Friday humour > Actually they are right. The whole thing comes down to perspective. Of > course the math is a heck of a lot easier if you simply consider the sun the > center around which the solar system revolves. In this case as many others, > why not go with the simplest answer that gives the most correct predictions? > Why complicate the issue by insisting that a certain perspective has to be > maintained? Groan, no doubt they will call it proof. Of course the reverse > is just as true. No one can prove that the sun revolves around the Earth, > but that is a minor detail. > > Debbie > > -----Original Message----- > From: Jim Lawrence [mailto:accessd at shaw.ca] > Sent: Friday, June 10, 2005 1:00 PM > To: 'Access Developers discussion and problem solving' > Subject: [AccessD] Friday humour > > > Hi All: > > When first read I thought this was a joke... but I think it is for real; > which of course would make it more hilarious. Check this out: > http://www.catholicintl.com/epologetics/articles/science/geochallenge.htm > > Jim > > -- > 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 DElam at jenkens.com Fri Jun 10 13:46:12 2005 From: DElam at jenkens.com (Elam, Debbie) Date: Fri, 10 Jun 2005 13:46:12 -0500 Subject: [AccessD] Friday humour Message-ID: <7B1961ED924D1A459E378C9B1BB22B4C0492C989@natexch.jenkens.com> Are any of you under the impression that I support this garbage? They have a point, but as I pointed out it is a really ridiculous one. If two objects are in motion around each other it is a matter of perspective to say which orbits the other without a point of reference they are moving against. Space itself is fairly reference less. It is the motion of other planets as well that enables us to pick a gravitational center of the solar system so we can come up with coherent math that explains it all quite nicely. Debbie -----Original Message----- From: Heenan, Lambert [mailto:Lambert.Heenan at aig.com] Sent: Friday, June 10, 2005 1:33 PM To: 'Access Developers discussion and problem solving' Subject: RE: [AccessD] Friday humour Though I makes me feel unclean to even think about responding to such orgs as the CAI, I will simply state that the question / challenge not only points out their inbuilt prejudice on the subject (as does the web site, which states that no-one *will* be able to offer any proof), but also reveals their utter ignorance of the theory that their behind the times dogma wishes to deny. The sun does not revolve around the Earth and the Earth does not revolve around the sun. They both orbit a common center of gravity, to which all the other planets in the solar system contribute. If they are so damned certain that the sun orbits the Earth then why don't they offer up their "proof"? Furthermore, no scientific minded person would be silly enough to suggest that any theory can be proven. The only thing you can do to a theory is discover more data that *supports* it and its predictions, or new data that *refutes* the theory. Once the refutation data is on hand the theory must be abandoned, or used with the understanding that it has limits. Thus when Einstein's explanation of the orbit of Mercury was shown to be correct *by observation*, the previous Newtonian theory had been shown to be wrong. But then we always knew it was wrong anyway. It's just that it took until Einstein for someone to explain the differences between observation and Newton's theory. Lambert -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Elam, Debbie Sent: Friday, June 10, 2005 2:15 PM To: 'Access Developers discussion and problem solving' Subject: RE: [AccessD] Friday humour Actually they are right. The whole thing comes down to perspective. Of course the math is a heck of a lot easier if you simply consider the sun the center around which the solar system revolves. In this case as many others, why not go with the simplest answer that gives the most correct predictions? Why complicate the issue by insisting that a certain perspective has to be maintained? Groan, no doubt they will call it proof. Of course the reverse is just as true. No one can prove that the sun revolves around the Earth, but that is a minor detail. Debbie -----Original Message----- From: Jim Lawrence [mailto:accessd at shaw.ca] Sent: Friday, June 10, 2005 1:00 PM To: 'Access Developers discussion and problem solving' Subject: [AccessD] Friday humour Hi All: When first read I thought this was a joke... but I think it is for real; which of course would make it more hilarious. Check this out: http://www.catholicintl.com/epologetics/articles/science/geochallenge.htm Jim -- 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 drboz at pacbell.net Fri Jun 10 13:46:26 2005 From: drboz at pacbell.net (Don Bozarth) Date: Fri, 10 Jun 2005 11:46:26 -0700 Subject: [AccessD] Friday humour References: <7B1961ED924D1A459E378C9B1BB22B4C0492C988@natexch.jenkens.com> Message-ID: <000701c56dec$b51d4170$6401a8c0@don> Occams razor applies... the simplest solution is often the best. Those monster equations would be unstable on their best days... since the center of gravity of the total mass of that "mess" would be changing moment to moment. Than anyone seriously doubts the sun centric solar system simply astounds me. There are more than sufficient observable effects to support that theory. There are none... zero.. zip... nada observations that support the earth centric model. Don B. ----- Original Message ----- From: "Elam, Debbie" To: "'Access Developers discussion and problem solving'" Sent: Friday, June 10, 2005 11:39 AM Subject: RE: [AccessD] Friday humour > No it does not throw it out the window, it just makes the lovely and simple > orbital mechanics equations into monster equations that take a super > computer to calculate with any proficiency. Of course those other planets > just orbit around the sun while the whole mess orbits around the Earth ;-). > That was the real reason it became obvious that the best method of > calculation was to put the sun in the center of the system. The whole mess > with the rings was to account for planetary movements. It is a little like > the headaches caused when you try to take the Earth's total motion into > account when compared to the motion of another star in the milky way galaxy > which is all rotating around a cluster of stars in the galaxy center. Much > more pleasant to break it into chunks and consider the solar system a single > unit when talking about motion with respect to the galaxy. > > Debbie > > -----Original Message----- > From: Don Bozarth [mailto:drboz at pacbell.net] > Sent: Friday, June 10, 2005 1:25 PM > To: Access Developers discussion and problem solving > Subject: Re: [AccessD] Friday humour > > > Well, if the solar system is Earth centered, a lot of the math dealing with > planetary motion goes right out the window... not to mention that little > sniggle called gravity. The math of orbital mechanics suddenly disappears. > Were all that math wrong, we could never have made it to the Moon, Venus, > Mars, Jupiter, Saturn, and Uranus those places manmade satellites have > visited. > > Don B. > > ----- Original Message ----- > From: "Elam, Debbie" > To: "'Access Developers discussion and problem solving'" > > Sent: Friday, June 10, 2005 11:14 AM > Subject: RE: [AccessD] Friday humour > > > > Actually they are right. The whole thing comes down to perspective. Of > > course the math is a heck of a lot easier if you simply consider the sun > the > > center around which the solar system revolves. In this case as many > others, > > why not go with the simplest answer that gives the most correct > predictions? > > Why complicate the issue by insisting that a certain perspective has to be > > maintained? Groan, no doubt they will call it proof. Of course the > reverse > > is just as true. No one can prove that the sun revolves around the Earth, > > but that is a minor detail. > > > > Debbie > > > > -----Original Message----- > > From: Jim Lawrence [mailto:accessd at shaw.ca] > > Sent: Friday, June 10, 2005 1:00 PM > > To: 'Access Developers discussion and problem solving' > > Subject: [AccessD] Friday humour > > > > > > Hi All: > > > > When first read I thought this was a joke... but I think it is for real; > > which of course would make it more hilarious. Check this out: > > http://www.catholicintl.com/epologetics/articles/science/geochallenge.htm > > > > Jim > > > > -- > > 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 Lambert.Heenan at AIG.com Fri Jun 10 13:49:04 2005 From: Lambert.Heenan at AIG.com (Heenan, Lambert) Date: Fri, 10 Jun 2005 14:49:04 -0400 Subject: [AccessD] Friday humour Message-ID: <1D7828CDB8350747AFE9D69E0E90DA1F1176C2EC@xlivmbx21.aig.com> Anyone care to tell us how the Earth Centric types explain stellar parallax? Or do they simply deny its existence as their various 'good books' refer to the 'fixed stars'? -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Elam, Debbie Sent: Friday, June 10, 2005 2:39 PM To: 'Access Developers discussion and problem solving' Subject: RE: [AccessD] Friday humour No it does not throw it out the window, it just makes the lovely and simple orbital mechanics equations into monster equations that take a super computer to calculate with any proficiency. Of course those other planets just orbit around the sun while the whole mess orbits around the Earth ;-). That was the real reason it became obvious that the best method of calculation was to put the sun in the center of the system. The whole mess with the rings was to account for planetary movements. It is a little like the headaches caused when you try to take the Earth's total motion into account when compared to the motion of another star in the milky way galaxy which is all rotating around a cluster of stars in the galaxy center. Much more pleasant to break it into chunks and consider the solar system a single unit when talking about motion with respect to the galaxy. Debbie -----Original Message----- From: Don Bozarth [mailto:drboz at pacbell.net] Sent: Friday, June 10, 2005 1:25 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Friday humour Well, if the solar system is Earth centered, a lot of the math dealing with planetary motion goes right out the window... not to mention that little sniggle called gravity. The math of orbital mechanics suddenly disappears. Were all that math wrong, we could never have made it to the Moon, Venus, Mars, Jupiter, Saturn, and Uranus those places manmade satellites have visited. Don B. ----- Original Message ----- From: "Elam, Debbie" To: "'Access Developers discussion and problem solving'" Sent: Friday, June 10, 2005 11:14 AM Subject: RE: [AccessD] Friday humour > Actually they are right. The whole thing comes down to perspective. > Of course the math is a heck of a lot easier if you simply consider > the sun the > center around which the solar system revolves. In this case as many others, > why not go with the simplest answer that gives the most correct predictions? > Why complicate the issue by insisting that a certain perspective has > to be maintained? Groan, no doubt they will call it proof. Of course > the reverse > is just as true. No one can prove that the sun revolves around the > Earth, but that is a minor detail. > > Debbie > > -----Original Message----- > From: Jim Lawrence [mailto:accessd at shaw.ca] > Sent: Friday, June 10, 2005 1:00 PM > To: 'Access Developers discussion and problem solving' > Subject: [AccessD] Friday humour > > > Hi All: > > When first read I thought this was a joke... but I think it is for > real; which of course would make it more hilarious. Check this out: > http://www.catholicintl.com/epologetics/articles/science/geochallenge. > htm > > Jim > > -- > 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 accessd at shaw.ca Fri Jun 10 13:50:31 2005 From: accessd at shaw.ca (Jim Lawrence) Date: Fri, 10 Jun 2005 11:50:31 -0700 Subject: [AccessD] Friday humour In-Reply-To: Message-ID: <0IHV00J7JTO472@l-daemon> On that subject, an email arrived with this link: http://www.boreme.com/boreme/funny-2005/bush-ten-years-ago.php?gobackto=home It sometimes is nice to be one step removed. Jim -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Charlotte Foust Sent: Friday, June 10, 2005 11:28 AM To: Access Developers discussion and problem solving Subject: RE: [AccessD] Friday humour No, I think they're all in public office already! ,wink> Charlotte Foust -----Original Message----- From: Jim Lawrence [mailto:accessd at shaw.ca] Sent: Friday, June 10, 2005 11:23 AM To: 'Access Developers discussion and problem solving' Subject: RE: [AccessD] Friday humour What's next... a challenge from the 'Flat Earth Society'? Jim -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Elam, Debbie Sent: Friday, June 10, 2005 11:15 AM To: 'Access Developers discussion and problem solving' Subject: RE: [AccessD] Friday humour Actually they are right. The whole thing comes down to perspective. Of course the math is a heck of a lot easier if you simply consider the sun the center around which the solar system revolves. In this case as many others, why not go with the simplest answer that gives the most correct predictions? Why complicate the issue by insisting that a certain perspective has to be maintained? Groan, no doubt they will call it proof. Of course the reverse is just as true. No one can prove that the sun revolves around the Earth, but that is a minor detail. Debbie -----Original Message----- From: Jim Lawrence [mailto:accessd at shaw.ca] Sent: Friday, June 10, 2005 1:00 PM To: 'Access Developers discussion and problem solving' Subject: [AccessD] Friday humour Hi All: When first read I thought this was a joke... but I think it is for real; which of course would make it more hilarious. Check this out: http://www.catholicintl.com/epologetics/articles/science/geochallenge.ht m Jim -- 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 -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From DElam at jenkens.com Fri Jun 10 13:52:00 2005 From: DElam at jenkens.com (Elam, Debbie) Date: Fri, 10 Jun 2005 13:52:00 -0500 Subject: [AccessD] Friday humour Message-ID: <7B1961ED924D1A459E378C9B1BB22B4C0492C98A@natexch.jenkens.com> Umm...yeah. Did you read the whole thing? Debbie -----Original Message----- From: Don Bozarth [mailto:drboz at pacbell.net] Sent: Friday, June 10, 2005 1:46 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Friday humour Occams razor applies... the simplest solution is often the best. Those monster equations would be unstable on their best days... since the center of gravity of the total mass of that "mess" would be changing moment to moment. Than anyone seriously doubts the sun centric solar system simply astounds me. There are more than sufficient observable effects to support that theory. There are none... zero.. zip... nada observations that support the earth centric model. Don B. ----- Original Message ----- From: "Elam, Debbie" To: "'Access Developers discussion and problem solving'" Sent: Friday, June 10, 2005 11:39 AM Subject: RE: [AccessD] Friday humour > No it does not throw it out the window, it just makes the lovely and simple > orbital mechanics equations into monster equations that take a super > computer to calculate with any proficiency. Of course those other planets > just orbit around the sun while the whole mess orbits around the Earth ;-). > That was the real reason it became obvious that the best method of > calculation was to put the sun in the center of the system. The whole mess > with the rings was to account for planetary movements. It is a little like > the headaches caused when you try to take the Earth's total motion into > account when compared to the motion of another star in the milky way galaxy > which is all rotating around a cluster of stars in the galaxy center. Much > more pleasant to break it into chunks and consider the solar system a single > unit when talking about motion with respect to the galaxy. > > Debbie > > -----Original Message----- > From: Don Bozarth [mailto:drboz at pacbell.net] > Sent: Friday, June 10, 2005 1:25 PM > To: Access Developers discussion and problem solving > Subject: Re: [AccessD] Friday humour > > > Well, if the solar system is Earth centered, a lot of the math dealing with > planetary motion goes right out the window... not to mention that little > sniggle called gravity. The math of orbital mechanics suddenly disappears. > Were all that math wrong, we could never have made it to the Moon, Venus, > Mars, Jupiter, Saturn, and Uranus those places manmade satellites have > visited. > > Don B. > > ----- Original Message ----- > From: "Elam, Debbie" > To: "'Access Developers discussion and problem solving'" > > Sent: Friday, June 10, 2005 11:14 AM > Subject: RE: [AccessD] Friday humour > > > > Actually they are right. The whole thing comes down to perspective. Of > > course the math is a heck of a lot easier if you simply consider the sun > the > > center around which the solar system revolves. In this case as many > others, > > why not go with the simplest answer that gives the most correct > predictions? > > Why complicate the issue by insisting that a certain perspective has to be > > maintained? Groan, no doubt they will call it proof. Of course the > reverse > > is just as true. No one can prove that the sun revolves around the Earth, > > but that is a minor detail. > > > > Debbie > > > > -----Original Message----- > > From: Jim Lawrence [mailto:accessd at shaw.ca] > > Sent: Friday, June 10, 2005 1:00 PM > > To: 'Access Developers discussion and problem solving' > > Subject: [AccessD] Friday humour > > > > > > Hi All: > > > > When first read I thought this was a joke... but I think it is for real; > > which of course would make it more hilarious. Check this out: > > http://www.catholicintl.com/epologetics/articles/science/geochallenge.htm > > > > Jim > > > > -- > > 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 > -- 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 Fri Jun 10 13:54:54 2005 From: accessd at shaw.ca (Jim Lawrence) Date: Fri, 10 Jun 2005 11:54:54 -0700 Subject: [AccessD] Friday humour In-Reply-To: <1D7828CDB8350747AFE9D69E0E90DA1F1176C2EC@xlivmbx21.aig.com> Message-ID: <0IHV00JAJTVF5E@l-daemon> As Creationists have established that it is not necessary to prove your theory it is only necessary to add doubt to the alternative theory. -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Heenan, Lambert Sent: Friday, June 10, 2005 11:49 AM To: 'Access Developers discussion and problem solving' Subject: RE: [AccessD] Friday humour Anyone care to tell us how the Earth Centric types explain stellar parallax? Or do they simply deny its existence as their various 'good books' refer to the 'fixed stars'? -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Elam, Debbie Sent: Friday, June 10, 2005 2:39 PM To: 'Access Developers discussion and problem solving' Subject: RE: [AccessD] Friday humour No it does not throw it out the window, it just makes the lovely and simple orbital mechanics equations into monster equations that take a super computer to calculate with any proficiency. Of course those other planets just orbit around the sun while the whole mess orbits around the Earth ;-). That was the real reason it became obvious that the best method of calculation was to put the sun in the center of the system. The whole mess with the rings was to account for planetary movements. It is a little like the headaches caused when you try to take the Earth's total motion into account when compared to the motion of another star in the milky way galaxy which is all rotating around a cluster of stars in the galaxy center. Much more pleasant to break it into chunks and consider the solar system a single unit when talking about motion with respect to the galaxy. Debbie -----Original Message----- From: Don Bozarth [mailto:drboz at pacbell.net] Sent: Friday, June 10, 2005 1:25 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Friday humour Well, if the solar system is Earth centered, a lot of the math dealing with planetary motion goes right out the window... not to mention that little sniggle called gravity. The math of orbital mechanics suddenly disappears. Were all that math wrong, we could never have made it to the Moon, Venus, Mars, Jupiter, Saturn, and Uranus those places manmade satellites have visited. Don B. ----- Original Message ----- From: "Elam, Debbie" To: "'Access Developers discussion and problem solving'" Sent: Friday, June 10, 2005 11:14 AM Subject: RE: [AccessD] Friday humour > Actually they are right. The whole thing comes down to perspective. > Of course the math is a heck of a lot easier if you simply consider > the sun the > center around which the solar system revolves. In this case as many others, > why not go with the simplest answer that gives the most correct predictions? > Why complicate the issue by insisting that a certain perspective has > to be maintained? Groan, no doubt they will call it proof. Of course > the reverse > is just as true. No one can prove that the sun revolves around the > Earth, but that is a minor detail. > > Debbie > > -----Original Message----- > From: Jim Lawrence [mailto:accessd at shaw.ca] > Sent: Friday, June 10, 2005 1:00 PM > To: 'Access Developers discussion and problem solving' > Subject: [AccessD] Friday humour > > > Hi All: > > When first read I thought this was a joke... but I think it is for > real; which of course would make it more hilarious. Check this out: > http://www.catholicintl.com/epologetics/articles/science/geochallenge. > htm > > Jim > > -- > 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 -- 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 Jun 10 13:55:51 2005 From: Lambert.Heenan at AIG.com (Heenan, Lambert) Date: Fri, 10 Jun 2005 14:55:51 -0400 Subject: [AccessD] Friday humour Message-ID: <1D7828CDB8350747AFE9D69E0E90DA1F1176C2F5@xlivmbx21.aig.com> Golly no! I would seriously doubt if anyone on this group supports these dogma befuddled notions! -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Elam, Debbie Sent: Friday, June 10, 2005 2:46 PM To: 'Access Developers discussion and problem solving' Subject: RE: [AccessD] Friday humour Are any of you under the impression that I support this garbage? They have a point, but as I pointed out it is a really ridiculous one. If two objects are in motion around each other it is a matter of perspective to say which orbits the other without a point of reference they are moving against. Space itself is fairly reference less. It is the motion of other planets as well that enables us to pick a gravitational center of the solar system so we can come up with coherent math that explains it all quite nicely. Debbie -----Original Message----- From: Heenan, Lambert [mailto:Lambert.Heenan at aig.com] Sent: Friday, June 10, 2005 1:33 PM To: 'Access Developers discussion and problem solving' Subject: RE: [AccessD] Friday humour Though I makes me feel unclean to even think about responding to such orgs as the CAI, I will simply state that the question / challenge not only points out their inbuilt prejudice on the subject (as does the web site, which states that no-one *will* be able to offer any proof), but also reveals their utter ignorance of the theory that their behind the times dogma wishes to deny. The sun does not revolve around the Earth and the Earth does not revolve around the sun. They both orbit a common center of gravity, to which all the other planets in the solar system contribute. If they are so damned certain that the sun orbits the Earth then why don't they offer up their "proof"? Furthermore, no scientific minded person would be silly enough to suggest that any theory can be proven. The only thing you can do to a theory is discover more data that *supports* it and its predictions, or new data that *refutes* the theory. Once the refutation data is on hand the theory must be abandoned, or used with the understanding that it has limits. Thus when Einstein's explanation of the orbit of Mercury was shown to be correct *by observation*, the previous Newtonian theory had been shown to be wrong. But then we always knew it was wrong anyway. It's just that it took until Einstein for someone to explain the differences between observation and Newton's theory. Lambert -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Elam, Debbie Sent: Friday, June 10, 2005 2:15 PM To: 'Access Developers discussion and problem solving' Subject: RE: [AccessD] Friday humour Actually they are right. The whole thing comes down to perspective. Of course the math is a heck of a lot easier if you simply consider the sun the center around which the solar system revolves. In this case as many others, why not go with the simplest answer that gives the most correct predictions? Why complicate the issue by insisting that a certain perspective has to be maintained? Groan, no doubt they will call it proof. Of course the reverse is just as true. No one can prove that the sun revolves around the Earth, but that is a minor detail. Debbie -----Original Message----- From: Jim Lawrence [mailto:accessd at shaw.ca] Sent: Friday, June 10, 2005 1:00 PM To: 'Access Developers discussion and problem solving' Subject: [AccessD] Friday humour Hi All: When first read I thought this was a joke... but I think it is for real; which of course would make it more hilarious. Check this out: http://www.catholicintl.com/epologetics/articles/science/geochallenge.htm Jim -- 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 darsant at gmail.com Fri Jun 10 14:01:08 2005 From: darsant at gmail.com (Josh McFarlane) Date: Fri, 10 Jun 2005 14:01:08 -0500 Subject: [AccessD] Friday humour In-Reply-To: <0IHV00JAJTVF5E@l-daemon> References: <1D7828CDB8350747AFE9D69E0E90DA1F1176C2EC@xlivmbx21.aig.com> <0IHV00JAJTVF5E@l-daemon> Message-ID: <53c8e05a050610120128f44e52@mail.gmail.com> On 6/10/05, Jim Lawrence wrote: > As Creationists have established that it is not necessary to prove your > theory it is only necessary to add doubt to the alternative theory. Ah, but do not forget that when someone adds doubt your theory, it does not matter, as they are wrong. -- Josh McFarlane "Peace cannot be kept by force. It can only be achieved by understanding." -Albert Einstein From dejpolsys at hotmail.com Fri Jun 10 14:03:25 2005 From: dejpolsys at hotmail.com (William Hindman) Date: Fri, 10 Jun 2005 15:03:25 -0400 Subject: [AccessD] Friday humour References: <0IHV0011IRBYPU@l-daemon> Message-ID: ..cretins arguing with morons :) William ----- Original Message ----- From: "Jim Lawrence" To: "'Access Developers discussion and problem solving'" Sent: Friday, June 10, 2005 2:00 PM Subject: [AccessD] Friday humour > Hi All: > > When first read I thought this was a joke... but I think it is for real; > which of course would make it more hilarious. Check this out: > http://www.catholicintl.com/epologetics/articles/science/geochallenge.htm > > Jim > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > From DElam at jenkens.com Fri Jun 10 14:11:01 2005 From: DElam at jenkens.com (Elam, Debbie) Date: Fri, 10 Jun 2005 14:11:01 -0500 Subject: [AccessD] Friday humour Message-ID: <7B1961ED924D1A459E378C9B1BB22B4C0492C98B@natexch.jenkens.com> They are comparing against one speech 10 years ago, not the best baseline sample for a reasonable analysis. As they pointed out they can find current examples where he is just as articulate today. What a hack job! Debbie -----Original Message----- From: Jim Lawrence [mailto:accessd at shaw.ca] Sent: Friday, June 10, 2005 1:51 PM To: 'Access Developers discussion and problem solving' Subject: RE: [AccessD] Friday humour On that subject, an email arrived with this link: http://www.boreme.com/boreme/funny-2005/bush-ten-years-ago.php?gobackto=home It sometimes is nice to be one step removed. Jim -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Charlotte Foust Sent: Friday, June 10, 2005 11:28 AM To: Access Developers discussion and problem solving Subject: RE: [AccessD] Friday humour No, I think they're all in public office already! ,wink> Charlotte Foust -----Original Message----- From: Jim Lawrence [mailto:accessd at shaw.ca] Sent: Friday, June 10, 2005 11:23 AM To: 'Access Developers discussion and problem solving' Subject: RE: [AccessD] Friday humour What's next... a challenge from the 'Flat Earth Society'? Jim -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Elam, Debbie Sent: Friday, June 10, 2005 11:15 AM To: 'Access Developers discussion and problem solving' Subject: RE: [AccessD] Friday humour Actually they are right. The whole thing comes down to perspective. Of course the math is a heck of a lot easier if you simply consider the sun the center around which the solar system revolves. In this case as many others, why not go with the simplest answer that gives the most correct predictions? Why complicate the issue by insisting that a certain perspective has to be maintained? Groan, no doubt they will call it proof. Of course the reverse is just as true. No one can prove that the sun revolves around the Earth, but that is a minor detail. Debbie -----Original Message----- From: Jim Lawrence [mailto:accessd at shaw.ca] Sent: Friday, June 10, 2005 1:00 PM To: 'Access Developers discussion and problem solving' Subject: [AccessD] Friday humour Hi All: When first read I thought this was a joke... but I think it is for real; which of course would make it more hilarious. Check this out: http://www.catholicintl.com/epologetics/articles/science/geochallenge.ht m Jim -- 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 -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/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 dmcafee at pacbell.net Fri Jun 10 14:20:44 2005 From: dmcafee at pacbell.net (David Mcafee) Date: Fri, 10 Jun 2005 12:20:44 -0700 (PDT) Subject: [AccessD] Friday humour (funny) In-Reply-To: <7B1961ED924D1A459E378C9B1BB22B4C0492C98B@natexch.jenkens.com> Message-ID: <20050610192044.47500.qmail@web80808.mail.yahoo.com> A 6-year old and a 4-year old are upstairs in their bedroom. "You know what?" says the 6-year old. "I think it's about time we started cussing." The 4-year old nods his head in approval. The 6-year old continues, "When we go downstairs for breakfast, I'm gonna say something with hell and you say something with ass." The 4-year old agrees with enthusiasm. When the mother walks into the kitchen and asks the 6-year old what he wants for breakfast, he replies, "Aw, hell, Mom, I guess I'll have some Cheerios." WHACK! He flies out of his chair, tumbles across the kitchen floor, gets up, and runs upstairs crying his eyes out, with his mother in hot pursuit, slapping his rear with every step. His Mom locks him in his room and shouts, "You can stay there until I let you out!" She then comes back downstairs, looks at the 4-year old and asks with a stern voice, "And what do YOU want for breakfast, young man?" "I don't know," he blubbers, "but you can bet your fat ass it won't be Cheerios." From drboz at pacbell.net Fri Jun 10 14:23:03 2005 From: drboz at pacbell.net (Don Bozarth) Date: Fri, 10 Jun 2005 12:23:03 -0700 Subject: [AccessD] Friday humour References: <7B1961ED924D1A459E378C9B1BB22B4C0492C98B@natexch.jenkens.com> Message-ID: <000d01c56df1$d2c7e9f0$6401a8c0@don> Yes, I read the whole thing. Typical defend "the church" at all costs rhetoric. According to this group no scientist ever did anything right. Don B. From cfoust at infostatsystems.com Fri Jun 10 15:02:58 2005 From: cfoust at infostatsystems.com (Charlotte Foust) Date: Fri, 10 Jun 2005 13:02:58 -0700 Subject: [AccessD] Friday humour Message-ID: Friends, In Woody's Lounge, we axe threads like this to avoid offending anyone, however misinformed they might be in their beliefs. Is there an equivalent rule in this list? I get very twitchy when conversations wander into the areas of religion and politics, since they tend to deteriorate into name calling and flames. Charlotte Foust -----Original Message----- From: Heenan, Lambert [mailto:Lambert.Heenan at aig.com] Sent: Friday, June 10, 2005 11:49 AM To: 'Access Developers discussion and problem solving' Subject: RE: [AccessD] Friday humour Anyone care to tell us how the Earth Centric types explain stellar parallax? Or do they simply deny its existence as their various 'good books' refer to the 'fixed stars'? -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Elam, Debbie Sent: Friday, June 10, 2005 2:39 PM To: 'Access Developers discussion and problem solving' Subject: RE: [AccessD] Friday humour No it does not throw it out the window, it just makes the lovely and simple orbital mechanics equations into monster equations that take a super computer to calculate with any proficiency. Of course those other planets just orbit around the sun while the whole mess orbits around the Earth ;-). That was the real reason it became obvious that the best method of calculation was to put the sun in the center of the system. The whole mess with the rings was to account for planetary movements. It is a little like the headaches caused when you try to take the Earth's total motion into account when compared to the motion of another star in the milky way galaxy which is all rotating around a cluster of stars in the galaxy center. Much more pleasant to break it into chunks and consider the solar system a single unit when talking about motion with respect to the galaxy. Debbie -----Original Message----- From: Don Bozarth [mailto:drboz at pacbell.net] Sent: Friday, June 10, 2005 1:25 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Friday humour Well, if the solar system is Earth centered, a lot of the math dealing with planetary motion goes right out the window... not to mention that little sniggle called gravity. The math of orbital mechanics suddenly disappears. Were all that math wrong, we could never have made it to the Moon, Venus, Mars, Jupiter, Saturn, and Uranus those places manmade satellites have visited. Don B. ----- Original Message ----- From: "Elam, Debbie" To: "'Access Developers discussion and problem solving'" Sent: Friday, June 10, 2005 11:14 AM Subject: RE: [AccessD] Friday humour > Actually they are right. The whole thing comes down to perspective. > Of course the math is a heck of a lot easier if you simply consider > the sun the > center around which the solar system revolves. In this case as many others, > why not go with the simplest answer that gives the most correct predictions? > Why complicate the issue by insisting that a certain perspective has > to be maintained? Groan, no doubt they will call it proof. Of course > the reverse > is just as true. No one can prove that the sun revolves around the > Earth, but that is a minor detail. > > Debbie > > -----Original Message----- > From: Jim Lawrence [mailto:accessd at shaw.ca] > Sent: Friday, June 10, 2005 1:00 PM > To: 'Access Developers discussion and problem solving' > Subject: [AccessD] Friday humour > > > Hi All: > > When first read I thought this was a joke... but I think it is for > real; which of course would make it more hilarious. Check this out: > http://www.catholicintl.com/epologetics/articles/science/geochallenge. > htm > > Jim > > -- > 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 -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From Gustav at cactus.dk Fri Jun 10 15:03:42 2005 From: Gustav at cactus.dk (Gustav Brock) Date: Fri, 10 Jun 2005 22:03:42 +0200 Subject: [AccessD] Friday humour Message-ID: Hi Jim It isn't even funny. Such a site makes me feel sick. /gustav >>> accessd at shaw.ca 06/10 8:00 pm >>> Hi All: When first read I thought this was a joke... but I think it is for real; which of course would make it more hilarious. Check this out: http://www.catholicintl.com/epologetics/articles/science/geochallenge.htm Jim From cfoust at infostatsystems.com Fri Jun 10 15:05:28 2005 From: cfoust at infostatsystems.com (Charlotte Foust) Date: Fri, 10 Jun 2005 13:05:28 -0700 Subject: [AccessD] Friday humour Message-ID: Sure, but you have to be demented to want to be in politics anyhow, so they're at least half right, regardless of who the politician is. ;-> Charlotte Foust -----Original Message----- From: Elam, Debbie [mailto:DElam at jenkens.com] Sent: Friday, June 10, 2005 12:11 PM To: 'Access Developers discussion and problem solving' Subject: RE: [AccessD] Friday humour They are comparing against one speech 10 years ago, not the best baseline sample for a reasonable analysis. As they pointed out they can find current examples where he is just as articulate today. What a hack job! Debbie -----Original Message----- From: Jim Lawrence [mailto:accessd at shaw.ca] Sent: Friday, June 10, 2005 1:51 PM To: 'Access Developers discussion and problem solving' Subject: RE: [AccessD] Friday humour On that subject, an email arrived with this link: http://www.boreme.com/boreme/funny-2005/bush-ten-years-ago.php?gobackto= home It sometimes is nice to be one step removed. Jim -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Charlotte Foust Sent: Friday, June 10, 2005 11:28 AM To: Access Developers discussion and problem solving Subject: RE: [AccessD] Friday humour No, I think they're all in public office already! ,wink> Charlotte Foust -----Original Message----- From: Jim Lawrence [mailto:accessd at shaw.ca] Sent: Friday, June 10, 2005 11:23 AM To: 'Access Developers discussion and problem solving' Subject: RE: [AccessD] Friday humour What's next... a challenge from the 'Flat Earth Society'? Jim -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Elam, Debbie Sent: Friday, June 10, 2005 11:15 AM To: 'Access Developers discussion and problem solving' Subject: RE: [AccessD] Friday humour Actually they are right. The whole thing comes down to perspective. Of course the math is a heck of a lot easier if you simply consider the sun the center around which the solar system revolves. In this case as many others, why not go with the simplest answer that gives the most correct predictions? Why complicate the issue by insisting that a certain perspective has to be maintained? Groan, no doubt they will call it proof. Of course the reverse is just as true. No one can prove that the sun revolves around the Earth, but that is a minor detail. Debbie -----Original Message----- From: Jim Lawrence [mailto:accessd at shaw.ca] Sent: Friday, June 10, 2005 1:00 PM To: 'Access Developers discussion and problem solving' Subject: [AccessD] Friday humour Hi All: When first read I thought this was a joke... but I think it is for real; which of course would make it more hilarious. Check this out: http://www.catholicintl.com/epologetics/articles/science/geochallenge.ht m Jim -- 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 -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/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 DElam at jenkens.com Fri Jun 10 15:05:23 2005 From: DElam at jenkens.com (Elam, Debbie) Date: Fri, 10 Jun 2005 15:05:23 -0500 Subject: [AccessD] Friday humour Message-ID: <7B1961ED924D1A459E378C9B1BB22B4C0492C98D@natexch.jenkens.com> OK, you were talking about the original article. I thought you were accusing me of believing what they wrote. Debbie -----Original Message----- From: Don Bozarth [mailto:drboz at pacbell.net] Sent: Friday, June 10, 2005 2:23 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Friday humour Yes, I read the whole thing. Typical defend "the church" at all costs rhetoric. According to this group no scientist ever did anything right. Don B. -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com - JENKENS & GILCHRIST E-MAIL NOTICE - This transmission may be: (1) subject to the Attorney-Client Privilege, (2) an attorney work product, or (3) strictly confidential. If you are not the intended recipient of this message, you may not disclose, print, copy or disseminate this information. If you have received this in error, please reply and notify the sender (only) and delete the message. Unauthorized interception of this e-mail is a violation of federal criminal law. This communication does not reflect an intention by the sender or the sender's client or principal to conduct a transaction or make any agreement by electronic means. Nothing contained in this message or in any attachment shall satisfy the requirements for a writing, and nothing contained herein shall constitute a contract or electronic signature under the Electronic Signatures in Global and National Commerce Act, any version of the Uniform Electronic Transactions Act or any other statute governing electronic transactions. From Gustav at cactus.dk Fri Jun 10 15:06:20 2005 From: Gustav at cactus.dk (Gustav Brock) Date: Fri, 10 Jun 2005 22:06:20 +0200 Subject: [AccessD] Access on Macs Message-ID: Hi Steve Install your app on a Windows Terminal Server or - for a few sessions and running on a standard WinXP Pro: http://www.thinsoftinc.com/products_winconserver_info.html The client for Mac is ready for download at MS: /gustav >>> scapistrant at symphonyinfo.com 06/09 7:11 pm >>> I met yesterday with a prospect for our Access-based software product. A fifth of their computers are Macs, the remainder PCs. Based on what I have assumed for YEARS, I noted that it won't fly with the Mac users, unless you buy some third party emulator, and even then I've heard about flaky behavior. Yet they assured me that Macs can run all MS Office applications. No emulator. Am I in the dark here? Do Macs have a native MS Office version? If so, does it include Access? And if so, can they work seamlessly with an Access file generated from a PC, or is there some format conversion that is required to create a Mac-enabled file? Steve Capistrant From cfoust at infostatsystems.com Fri Jun 10 15:07:27 2005 From: cfoust at infostatsystems.com (Charlotte Foust) Date: Fri, 10 Jun 2005 13:07:27 -0700 Subject: [AccessD] Friday humour Message-ID: Erm ... Am I wrong or was Coepernicus exonerated posthumously by the Church? Charlotte Foust -----Original Message----- From: Don Bozarth [mailto:drboz at pacbell.net] Sent: Friday, June 10, 2005 12:23 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Friday humour Yes, I read the whole thing. Typical defend "the church" at all costs rhetoric. According to this group no scientist ever did anything right. Don B. -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From Gustav at cactus.dk Fri Jun 10 15:11:03 2005 From: Gustav at cactus.dk (Gustav Brock) Date: Fri, 10 Jun 2005 22:11:03 +0200 Subject: [AccessD] Generating a rownumber field in a query Message-ID: Hi Bruce Here's a function for this purpose: Public Function SequentialID( _ ByVal booReset As Boolean, _ Optional ByVal varDummy, _ Optional ByVal intIncrement As Integer = 1, _ Optional ByVal lngInitialID As Long) _ As Long ' Increments static variable lngCurrentID with intIncrement. ' Returns the new value of lngCurrentID. ' Parameter varDummy is used to force repeated calls of ' this function when used in a query. ' ' Reset to start counting from zero incrementing by one: ' Call SequentialID(True) ' Reset to start counting from 1000: ' Call SequentialID(True, Null, 1, 1000) ' Reset to start counting from zero incrementing by 2: ' Call SequentialID(True, Null, 2) ' Reset to start counting from -2000 incrementing by -8 ' and returning initial ID: ' lngID = SequentialID(True, Null, -8, -2000) ' ' Retrieve the current ID: ' lngID = SequentialID(False) ' Do a count by one and retrieve the current ID: ' lngID = SequentialID(False, Null, 1) ' Do a count by one in a query and retrieve the current ID: ' lngID = SequentialID(False, [fldAnyField], 1) ' Do a count by minus two and retrieve the current ID: ' lngID = SequentialID(False, varAny, -2) ' ' 2001-12-13. Cactus Data ApS, CPH. Static lngCurrentID As Long Dim intSgn As Integer If booReset = True Then ' Reset ID. lngCurrentID = lngInitialID ElseIf Not intIncrement = 0 Then intSgn = Sgn(intIncrement) If intSgn * lngCurrentID < intSgn * lngInitialID Then ' Reset ID. lngCurrentID = lngInitialID Else ' Increment ID. lngCurrentID = lngCurrentID + intIncrement End If End If SequentialID = lngCurrentID End Function /gustav >>> Bruce.Bruen at railcorp.nsw.gov.au 06/10 4:08 am >>> Hi folks, I want to output a sequence number as a field in a query result. Everytime the query runs it should restart the sequence number from 1. The query appends rows to a "testscript" table, every new test cycle we generate a new set of test scripts which is made up of all the tests in the previous cycle plus new tests that were added during the execution of the last cycle. The natural key for the output table is the cycle number + the sequence number. Cycle Seq Testname ..... 1 1 blah 1 2 blah blah ... 2 1 blah blah 2 2 blah blah blah etc The cycle number is input as a parameter to the append query. But how can I generate the sequence numbers? From drboz at pacbell.net Fri Jun 10 15:23:40 2005 From: drboz at pacbell.net (Don Bozarth) Date: Fri, 10 Jun 2005 13:23:40 -0700 Subject: [AccessD] Friday humour References: <7B1961ED924D1A459E378C9B1BB22B4C0492C98D@natexch.jenkens.com> Message-ID: <001f01c56dfa$4a4b5630$6401a8c0@don> Gawd no! Sorry if you had that impression it certainly wasn't my intent. Don B. ----- Original Message ----- From: "Elam, Debbie" To: "'Access Developers discussion and problem solving'" Sent: Friday, June 10, 2005 1:05 PM Subject: RE: [AccessD] Friday humour > OK, you were talking about the original article. I thought you were > accusing me of believing what they wrote. > > Debbie > > -----Original Message----- > From: Don Bozarth [mailto:drboz at pacbell.net] > Sent: Friday, June 10, 2005 2:23 PM > To: Access Developers discussion and problem solving > Subject: Re: [AccessD] Friday humour > > > Yes, I read the whole thing. Typical defend "the church" at all costs > rhetoric. According to this group no scientist ever did anything right. > > Don B. > > > -- > 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 drboz at pacbell.net Fri Jun 10 15:24:30 2005 From: drboz at pacbell.net (Don Bozarth) Date: Fri, 10 Jun 2005 13:24:30 -0700 Subject: [AccessD] Friday humour References: Message-ID: <002701c56dfa$68081960$6401a8c0@don> I belive he was... Galileo too. Long after they had shed this mortal coil... Don B. ----- Original Message ----- From: "Charlotte Foust" To: "Access Developers discussion and problem solving" Sent: Friday, June 10, 2005 1:07 PM Subject: RE: [AccessD] Friday humour > Erm ... Am I wrong or was Coepernicus exonerated posthumously by the > Church? > > Charlotte Foust > > > -----Original Message----- > From: Don Bozarth [mailto:drboz at pacbell.net] > Sent: Friday, June 10, 2005 12:23 PM > To: Access Developers discussion and problem solving > Subject: Re: [AccessD] Friday humour > > > Yes, I read the whole thing. Typical defend "the church" at all costs > rhetoric. According to this group no scientist ever did anything right. > > Don B. > > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > From BBarabash at TappeConstruction.com Fri Jun 10 15:28:00 2005 From: BBarabash at TappeConstruction.com (Brett Barabash) Date: Fri, 10 Jun 2005 15:28:00 -0500 Subject: [AccessD] RE: Friday humour Message-ID: <100F91B31300334B89EC531C9DCB08659F77D5@tccexch01.tappeconstruction.net> So I open up my inbox this afternoon, and I find 2 Friday "humor" threads: 1. Science vs. Religion absurdist debate 2. "George W. Bush is so dumb" political rhetoric Thank goodness that David McAfee tossed in an honest to goodness joke. Offending people should be the least of your worries. Boring them to death is more likely. ;-) C'mon people, it's Friday. Laugh a little! -------------------------------------------------------------------------------------------------------------------- The information in this email may contain confidential information that is legally privileged. The information is only for the use of the intended recipient(s) named above. If you are not the intended recipient(s), you are hereby notified that any disclosure, copying, distribution, or the taking of any action in regard to the content of this email is strictly prohibited. If transmission is incorrect, unclear, or incomplete, please notify the sender immediately. The authorized recipient(s) of this information is/are prohibited from disclosing this information to any other party and is/are required to destroy the information after its stated need has been fulfilled. Any views expressed in this message are those of the individual sender, except where the sender specifies and with authority, states them to be the views of Tappe Construction Co. This footer also confirms that this email message has been scanned for the presence of computer viruses.Scanning of this message and addition of this footer is performed by SurfControl E-mail Filter software in conjunction with virus detection software. From BBarabash at TappeConstruction.com Fri Jun 10 15:34:22 2005 From: BBarabash at TappeConstruction.com (Brett Barabash) Date: Fri, 10 Jun 2005 15:34:22 -0500 Subject: [AccessD] Friday humor, with 30% more real funny Message-ID: <100F91B31300334B89EC531C9DCB08659F77D7@tccexch01.tappeconstruction.net> Since I've done my share of complaining today, I need to back it up with one of my favorites: Analogies and Metaphors Found in School Essays, stupid but some funny: His thoughts tumbled in his head, making and breaking alliances like underpants in a dryer without Cling Free. He spoke with the wisdom that can only come from experience, like a guy who went blind because he looked at a solar eclipse without one of those boxes with a pinhole in it and now goes around the country speaking at high schools about the dangers of looking at a solar eclipse without one of those boxes with a pinhole in it. The little boat gently drifted across the pond exactly the way a bowling ball wouldn't. >From the attic came an unearthly howl. The whole scene had an eerie, surreal quality, like when you're on vacation in another city and "Jeopardy" comes on at 7:00 pm instead of 7:30. Her hair glistened in the rain like nose hair after a sneeze. Her eyes were like two brown circles with big black dots in the centre. Her vocabulary was as bad as, like, whatever. He was as tall as a six-foot-three-inch tree. The hailstones leaped from the pavement, just like maggots when you fry them in hot grease. Long separated by cruel fate, the star-crossed lovers raced across the grassy field toward each other like two freight trains, one having left Cleveland at 6:36 p.m. travelling at 55 mph, the other from Topeka at 4:19 p.m. at a speed of 35 mph. The politician was gone but unnoticed, like the full stop after the Dr. on a Dr Pepper can. John and Mary had never met. They were like two hummingbirds who had also never met. The thunder was ominous sounding, much like the sound of a thin sheet of metal being shaken backstage during the storm scene in a play. The red brick wall was the colour of a brick-red crayon. He fell for her like his heart was a mob informant and she was the East River. Even in his last years, Grandpa had a mind like a steel trap, only one that had been left ou g, it had rusted shut. The plan was simple, like my brother-in-law Phil. But unlike Phil, this plan just might work. The young fighter had a hungry look, the kind you get from not eating for a while. Her artistic sense was exquisitely refined, like someone who can tell butter from I Can't Believe It's Not Butter. She had a deep, throaty, genuine laugh like that sound a dog makes just before it throws up. It came down the stairs looking very much like something no one had ever seen before. The ballerina rose gracefully en pointe and extended one slender leg behind her, like a dog at a fire hydrant. It was an American tradition, like fathers chasing kids around with power tools. She was as easy as the "TV Guide" crossword. She grew on him like she was a colony of E. coli and he was room-temperature beef. She walked into my office like a centipede with 98 missing legs. It hurt - the way your tongue hurts after you accidentally staple it to the wall. -------------------------------------------------------------------------------------------------------------------- The information in this email may contain confidential information that is legally privileged. The information is only for the use of the intended recipient(s) named above. If you are not the intended recipient(s), you are hereby notified that any disclosure, copying, distribution, or the taking of any action in regard to the content of this email is strictly prohibited. If transmission is incorrect, unclear, or incomplete, please notify the sender immediately. The authorized recipient(s) of this information is/are prohibited from disclosing this information to any other party and is/are required to destroy the information after its stated need has been fulfilled. Any views expressed in this message are those of the individual sender, except where the sender specifies and with authority, states them to be the views of Tappe Construction Co. This footer also confirms that this email mess f this message and addition of this footer is performed by SurfControl E-mail Filter software in conjunction with virus detection software. From Jim.Hale at FleetPride.com Fri Jun 10 15:34:25 2005 From: Jim.Hale at FleetPride.com (Hale, Jim) Date: Fri, 10 Jun 2005 15:34:25 -0500 Subject: [AccessD] RE: Friday humour Message-ID: <6A6AA9DF57E4F046BDA1E273BDDB6772337652@corp-es01.fleetpride.com> Ok, here is my contribution. This one didn't go through last week for some reason. Jim Hale Classified Ads Actually Taken From Classified Ad's In Newspapers: FREE YORKSHIRE TERRIER. 8 years old Hateful little dog. Bites ---------------------------------- FREE PUPPIES: 1/2 Cocker Spaniel, 1/2 sneaky neighbor's dog ----------------------------- FREE PUPPIES... Part German Shepherd, part stupid dog ------------------------------ GERMAN SHEPHERD 85 lbs. Neutered. Speaks German. Free ---------------------------------- FOUND: DIRTY WHITE DOG. Looks like a rat ... been out awhile. Better be reward. ---------------------------------- COWS, CALVES NEVER BRED.... Also 1 gay bull for sale ------------------------------- NORDIC TRACK $300 Hardly used, call Chubby ---------------------------------- NICE PARACHUTE: Never opened - used once ---------------------------------- JOINING NUDIST COLONY! Must sell washer and dryer $300 ---------------------------------- (AND THE BEST ONE) FOR SALE BY OWNER: Complete set of Encyclopedia Britannica. 45 volumes. Excellent condition. $1,000 or best offer. No longer needed. Got married last month. Wife knows everything. -----Original Message----- From: Brett Barabash [mailto:BBarabash at tappeconstruction.com] Sent: Friday, June 10, 2005 3:28 PM To: Access Developers discussion and problem solving Subject: [AccessD] RE: Friday humour So I open up my inbox this afternoon, and I find 2 Friday "humor" threads: 1. Science vs. Religion absurdist debate 2. "George W. Bush is so dumb" political rhetoric Thank goodness that David McAfee tossed in an honest to goodness joke. Offending people should be the least of your worries. Boring them to death is more likely. ;-) C'mon people, it's Friday. Laugh a little! ---------------------------------------------------------------------------- ---------------------------------------- The information in this email may contain confidential information that is legally privileged. The information is only for the use of the intended recipient(s) named above. If you are not the intended recipient(s), you are hereby notified that any disclosure, copying, distribution, or the taking of any action in regard to the content of this email is strictly prohibited. If transmission is incorrect, unclear, or incomplete, please notify the sender immediately. The authorized recipient(s) of this information is/are prohibited from disclosing this information to any other party and is/are required to destroy the information after its stated need has been fulfilled. Any views expressed in this message are those of the individual sender, except where the sender specifies and with authority, states them to be the views of Tappe Construction Co. This footer also confirms that this email message has been scanned for the presence of computer viruses.Scanning of this message and addition of this footer is performed by SurfControl E-mail Filter software in conjunction with virus detection software. -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com *********************************************************************** 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 Jun 10 15:47:04 2005 From: Jim.Hale at FleetPride.com (Hale, Jim) Date: Fri, 10 Jun 2005 15:47:04 -0500 Subject: [AccessD] Friday humor, with 30% more real funny Message-ID: <6A6AA9DF57E4F046BDA1E273BDDB6772337653@corp-es01.fleetpride.com> LOL thanks I needed that today Jim Hale -----Original Message----- From: Brett Barabash [mailto:BBarabash at tappeconstruction.com] Sent: Friday, June 10, 2005 3:34 PM To: Access Developers discussion and problem solving Subject: [AccessD] Friday humor, with 30% more real funny Since I've done my share of complaining today, I need to back it up with one of my favorites: Analogies and Metaphors Found in School Essays, stupid but some funny: His thoughts tumbled in his head, making and breaking alliances like underpants in a dryer without Cling Free. He spoke with the wisdom that can only come from experience, like a guy who went blind because he looked at a solar eclipse without one of those boxes with a pinhole in it and now goes around the country speaking at high schools about the dangers of looking at a solar eclipse without one of those boxes with a pinhole in it. The little boat gently drifted across the pond exactly the way a bowling ball wouldn't. >From the attic came an unearthly howl. The whole scene had an eerie, surreal quality, like when you're on vacation in another city and "Jeopardy" comes on at 7:00 pm instead of 7:30. Her hair glistened in the rain like nose hair after a sneeze. Her eyes were like two brown circles with big black dots in the centre. Her vocabulary was as bad as, like, whatever. He was as tall as a six-foot-three-inch tree. The hailstones leaped from the pavement, just like maggots when you fry them in hot grease. Long separated by cruel fate, the star-crossed lovers raced across the grassy field toward each other like two freight trains, one having left Cleveland at 6:36 p.m. travelling at 55 mph, the other from Topeka at 4:19 p.m. at a speed of 35 mph. The politician was gone but unnoticed, like the full stop after the Dr. on a Dr Pepper can. John and Mary had never met. They were like two hummingbirds who had also never met. The thunder was ominous sounding, much like the sound of a thin sheet of metal being shaken backstage during the storm scene in a play. The red brick wall was the colour of a brick-red crayon. He fell for her like his heart was a mob informant and she was the East River. Even in his last years, Grandpa had a mind like a steel trap, only one that had been left ou g, it had rusted shut. The plan was simple, like my brother-in-law Phil. But unlike Phil, this plan just might work. The young fighter had a hungry look, the kind you get from not eating for a while. Her artistic sense was exquisitely refined, like someone who can tell butter from I Can't Believe It's Not Butter. She had a deep, throaty, genuine laugh like that sound a dog makes just before it throws up. It came down the stairs looking very much like something no one had ever seen before. The ballerina rose gracefully en pointe and extended one slender leg behind her, like a dog at a fire hydrant. It was an American tradition, like fathers chasing kids around with power tools. She was as easy as the "TV Guide" crossword. She grew on him like she was a colony of E. coli and he was room-temperature beef. She walked into my office like a centipede with 98 missing legs. It hurt - the way your tongue hurts after you accidentally staple it to the wall. ---------------------------------------------------------------------------- ---------------------------------------- The information in this email may contain confidential information that is legally privileged. The information is only for the use of the intended recipient(s) named above. If you are not the intended recipient(s), you are hereby notified that any disclosure, copying, distribution, or the taking of any action in regard to the content of this email is strictly prohibited. If transmission is incorrect, unclear, or incomplete, please notify the sender immediately. The authorized recipient(s) of this information is/are prohibited from disclosing this information to any other party and is/are required to destroy the information after its stated need has been fulfilled. Any views expressed in this message are those of the individual sender, except where the sender specifies and with authority, states them to be the views of Tappe Construction Co. This footer also confirms that this email mess f this message and addition of this footer is performed by SurfControl E-mail Filter software in conjunction with virus detection software. -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com *********************************************************************** 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 Drawbridge.Jack at ic.gc.ca Fri Jun 10 15:54:30 2005 From: Drawbridge.Jack at ic.gc.ca (Drawbridge, Jack: #CIO - BPI) Date: Fri, 10 Jun 2005 16:54:30 -0400 Subject: [AccessD] Automating - IE6 - File Save As Message-ID: <0F3AFAE449DD4A40BED8B6C4A97ABF5B0298AABB@MSG-MB3.icent.ic.gc.ca> Have had no responses with original post. I believe it is a question of automating IE, and how to get to CommonDialog in order to do the File Save As. IE does a fantastic job of removing relative links and downloading a clean set of files when using the File Save As webpage complete option. I do not want to do the File saves manually. There must be a means to automate this in VBA??? Any advice/help on this would be greatly appreciated. Thanks, jack -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Drawbridge, Jack: #CIO - BPI Sent: Thursday, June 2, 2005 3:01 PM To: Access Developers discussion and problem solving Subject: [AccessD] A2K talking to IE6 - File Save As Looking for help/advice or sample code to open IE6 from code in A2K. Am interested in how to do a File| Save As Webpage, Complete. We have a database of 60000 companies and want to put extracts of selected 100-500 companies (html and graphics etc) onto a CD for use with Offline Browser. Can not figure out how to get to IE6 File | Save As. I have some code to open a page with IE browser and save all the links on the page. Any help would be appreciated. TIA jack '---- CODE to GET the Links from a given page ---- '--------------------------------------------------------------------------------------- ' Procedure : GetLinks ' DateTime : 2005-06-02 14:19 ' Author : ' Purpose : get all links from a named webpage URL '--------------------------------------------------------------------------------------- ' Sub GetLinks() ' ** need to set a reference to ' ** Microsoft Internet Controls Dim IeApp As InternetExplorer Dim sURL As String Dim IeDoc As Object Dim i As Long 'Create new instance of IE Set IeApp = New InternetExplorer 'May wish to make IeApp visible 'apparently some things don't work 'unless it's visible IeApp.Visible = False 'define the page to open sURL = "www.diligens.com" 'navigate to the page based on URL IeApp.Navigate sURL 'Pause until the webpage is completely loaded Do Loop Until IeApp.ReadyState = READYSTATE_COMPLETE 'Create instance of Document object Set IeDoc = IeApp.Document 'Loop through the document's links collection. For i = 0 To IeDoc.links.Length - 1 Debug.Print IeDoc.links(i).href Next i 'Clean up Set IeApp = Nothing Set IeDoc = Nothing End Sub -- 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 Jun 10 15:54:37 2005 From: Lambert.Heenan at AIG.com (Heenan, Lambert) Date: Fri, 10 Jun 2005 16:54:37 -0400 Subject: [AccessD] Friday humour Message-ID: <1D7828CDB8350747AFE9D69E0E90DA1F1176C3A2@xlivmbx21.aig.com> In Kansas they add Creationism to the school curriculum in order not to offend one specific group of people. That doesn't make it right either. On the whole though I agree with your comment. I especially do not like to see politics being discussed in a software developer's group, but every rule has its exceptions and pointing out the lunacy of the religions of this world (not just Christina ones) is an exception for me. Politicians can be voted out of office. Religious nuts want us to vote our brains out of office. But of course they never say that they are willing to give up all the benefits and comforts that the hateful world of science has given them - like the internet where they can publish their rubbish to the hearts content, where no paper and glue publisher would have touched it, and the computers they use to do it with. This despite the fact that it is heretical scientific research that made it all possible. Not one single solitary advance in human technology has come out of the world of religion. Stone tools, metal tools, agriculture, writing, you name it, they all came out of human needs. Lambert -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Charlotte Foust Sent: Friday, June 10, 2005 4:03 PM To: Access Developers discussion and problem solving Subject: RE: [AccessD] Friday humour Friends, In Woody's Lounge, we axe threads like this to avoid offending anyone, however misinformed they might be in their beliefs. Is there an equivalent rule in this list? I get very twitchy when conversations wander into the areas of religion and politics, since they tend to deteriorate into name calling and flames. Charlotte Foust -----Original Message----- From: Heenan, Lambert [mailto:Lambert.Heenan at aig.com] Sent: Friday, June 10, 2005 11:49 AM To: 'Access Developers discussion and problem solving' Subject: RE: [AccessD] Friday humour Anyone care to tell us how the Earth Centric types explain stellar parallax? Or do they simply deny its existence as their various 'good books' refer to the 'fixed stars'? -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Elam, Debbie Sent: Friday, June 10, 2005 2:39 PM To: 'Access Developers discussion and problem solving' Subject: RE: [AccessD] Friday humour No it does not throw it out the window, it just makes the lovely and simple orbital mechanics equations into monster equations that take a super computer to calculate with any proficiency. Of course those other planets just orbit around the sun while the whole mess orbits around the Earth ;-). That was the real reason it became obvious that the best method of calculation was to put the sun in the center of the system. The whole mess with the rings was to account for planetary movements. It is a little like the headaches caused when you try to take the Earth's total motion into account when compared to the motion of another star in the milky way galaxy which is all rotating around a cluster of stars in the galaxy center. Much more pleasant to break it into chunks and consider the solar system a single unit when talking about motion with respect to the galaxy. Debbie -----Original Message----- From: Don Bozarth [mailto:drboz at pacbell.net] Sent: Friday, June 10, 2005 1:25 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Friday humour Well, if the solar system is Earth centered, a lot of the math dealing with planetary motion goes right out the window... not to mention that little sniggle called gravity. The math of orbital mechanics suddenly disappears. Were all that math wrong, we could never have made it to the Moon, Venus, Mars, Jupiter, Saturn, and Uranus those places manmade satellites have visited. Don B. ----- Original Message ----- From: "Elam, Debbie" To: "'Access Developers discussion and problem solving'" Sent: Friday, June 10, 2005 11:14 AM Subject: RE: [AccessD] Friday humour > Actually they are right. The whole thing comes down to perspective. > Of course the math is a heck of a lot easier if you simply consider > the sun the > center around which the solar system revolves. In this case as many others, > why not go with the simplest answer that gives the most correct predictions? > Why complicate the issue by insisting that a certain perspective has > to be maintained? Groan, no doubt they will call it proof. Of course > the reverse > is just as true. No one can prove that the sun revolves around the > Earth, but that is a minor detail. > > Debbie > > -----Original Message----- > From: Jim Lawrence [mailto:accessd at shaw.ca] > Sent: Friday, June 10, 2005 1:00 PM > To: 'Access Developers discussion and problem solving' > Subject: [AccessD] Friday humour > > > Hi All: > > When first read I thought this was a joke... but I think it is for > real; which of course would make it more hilarious. Check this out: > http://www.catholicintl.com/epologetics/articles/science/geochallenge. > htm > > Jim > > -- > 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 -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From cfoust at infostatsystems.com Fri Jun 10 16:04:31 2005 From: cfoust at infostatsystems.com (Charlotte Foust) Date: Fri, 10 Jun 2005 14:04:31 -0700 Subject: [AccessD] Friday humour Message-ID: That didn't prevent any arguments, it started more and offended more people than it satisfied. I am areligious and largely apolitical, so I am only offended by a lack of common sense and basic courtesy. I just think it is playing with fire to discuss these topics in a public playground where fistfights are discouraged. Charlotte Foust -----Original Message----- From: Heenan, Lambert [mailto:Lambert.Heenan at aig.com] Sent: Friday, June 10, 2005 1:55 PM To: 'Access Developers discussion and problem solving' Subject: RE: [AccessD] Friday humour In Kansas they add Creationism to the school curriculum in order not to offend one specific group of people. That doesn't make it right either. On the whole though I agree with your comment. I especially do not like to see politics being discussed in a software developer's group, but every rule has its exceptions and pointing out the lunacy of the religions of this world (not just Christina ones) is an exception for me. Politicians can be voted out of office. Religious nuts want us to vote our brains out of office. But of course they never say that they are willing to give up all the benefits and comforts that the hateful world of science has given them - like the internet where they can publish their rubbish to the hearts content, where no paper and glue publisher would have touched it, and the computers they use to do it with. This despite the fact that it is heretical scientific research that made it all possible. Not one single solitary advance in human technology has come out of the world of religion. Stone tools, metal tools, agriculture, writing, you name it, they all came out of human needs. Lambert -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Charlotte Foust Sent: Friday, June 10, 2005 4:03 PM To: Access Developers discussion and problem solving Subject: RE: [AccessD] Friday humour Friends, In Woody's Lounge, we axe threads like this to avoid offending anyone, however misinformed they might be in their beliefs. Is there an equivalent rule in this list? I get very twitchy when conversations wander into the areas of religion and politics, since they tend to deteriorate into name calling and flames. Charlotte Foust -----Original Message----- From: Heenan, Lambert [mailto:Lambert.Heenan at aig.com] Sent: Friday, June 10, 2005 11:49 AM To: 'Access Developers discussion and problem solving' Subject: RE: [AccessD] Friday humour Anyone care to tell us how the Earth Centric types explain stellar parallax? Or do they simply deny its existence as their various 'good books' refer to the 'fixed stars'? -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Elam, Debbie Sent: Friday, June 10, 2005 2:39 PM To: 'Access Developers discussion and problem solving' Subject: RE: [AccessD] Friday humour No it does not throw it out the window, it just makes the lovely and simple orbital mechanics equations into monster equations that take a super computer to calculate with any proficiency. Of course those other planets just orbit around the sun while the whole mess orbits around the Earth ;-). That was the real reason it became obvious that the best method of calculation was to put the sun in the center of the system. The whole mess with the rings was to account for planetary movements. It is a little like the headaches caused when you try to take the Earth's total motion into account when compared to the motion of another star in the milky way galaxy which is all rotating around a cluster of stars in the galaxy center. Much more pleasant to break it into chunks and consider the solar system a single unit when talking about motion with respect to the galaxy. Debbie -----Original Message----- From: Don Bozarth [mailto:drboz at pacbell.net] Sent: Friday, June 10, 2005 1:25 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Friday humour Well, if the solar system is Earth centered, a lot of the math dealing with planetary motion goes right out the window... not to mention that little sniggle called gravity. The math of orbital mechanics suddenly disappears. Were all that math wrong, we could never have made it to the Moon, Venus, Mars, Jupiter, Saturn, and Uranus those places manmade satellites have visited. Don B. ----- Original Message ----- From: "Elam, Debbie" To: "'Access Developers discussion and problem solving'" Sent: Friday, June 10, 2005 11:14 AM Subject: RE: [AccessD] Friday humour > Actually they are right. The whole thing comes down to perspective. > Of course the math is a heck of a lot easier if you simply consider > the sun the > center around which the solar system revolves. In this case as many others, > why not go with the simplest answer that gives the most correct predictions? > Why complicate the issue by insisting that a certain perspective has > to be maintained? Groan, no doubt they will call it proof. Of course > the reverse > is just as true. No one can prove that the sun revolves around the > Earth, but that is a minor detail. > > Debbie > > -----Original Message----- > From: Jim Lawrence [mailto:accessd at shaw.ca] > Sent: Friday, June 10, 2005 1:00 PM > To: 'Access Developers discussion and problem solving' > Subject: [AccessD] Friday humour > > > Hi All: > > When first read I thought this was a joke... but I think it is for > real; which of course would make it more hilarious. Check this out: > http://www.catholicintl.com/epologetics/articles/science/geochallenge. > htm > > Jim > > -- > 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 -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd 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 Fri Jun 10 16:18:27 2005 From: Lambert.Heenan at AIG.com (Heenan, Lambert) Date: Fri, 10 Jun 2005 17:18:27 -0400 Subject: [AccessD] Friday humour Message-ID: <1D7828CDB8350747AFE9D69E0E90DA1F1176C3B8@xlivmbx21.aig.com> My last comment on this (honest!!! ) I'm wholeheartedly atheist, but I certainly not apolitical. I believe that everyone should be involved in the political process because politics impacts everyone. But this is not the place for politics. The Kansas situation may have offended more people than it satisfied, but still the stickers are in the school books. It seems enough Kansans were convinced that they voted in the measure, and to hell with the unbelievers. This country is being taken over by religious fanatics/extemists/nutters/fools (you choose) who's agenda has nothing at all to do with the common good and everything to do with their desire for power. Power of you, me, your dog and cat, and ultimately the rest of the world. Lambert -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Charlotte Foust Sent: Friday, June 10, 2005 5:05 PM To: Access Developers discussion and problem solving Subject: RE: [AccessD] Friday humour That didn't prevent any arguments, it started more and offended more people than it satisfied. I am areligious and largely apolitical, so I am only offended by a lack of common sense and basic courtesy. I just think it is playing with fire to discuss these topics in a public playground where fistfights are discouraged. Charlotte Foust -----Original Message----- From: Heenan, Lambert [mailto:Lambert.Heenan at aig.com] Sent: Friday, June 10, 2005 1:55 PM To: 'Access Developers discussion and problem solving' Subject: RE: [AccessD] Friday humour In Kansas they add Creationism to the school curriculum in order not to offend one specific group of people. That doesn't make it right either. On the whole though I agree with your comment. I especially do not like to see politics being discussed in a software developer's group, but every rule has its exceptions and pointing out the lunacy of the religions of this world (not just Christina ones) is an exception for me. Politicians can be voted out of office. Religious nuts want us to vote our brains out of office. But of course they never say that they are willing to give up all the benefits and comforts that the hateful world of science has given them - like the internet where they can publish their rubbish to the hearts content, where no paper and glue publisher would have touched it, and the computers they use to do it with. This despite the fact that it is heretical scientific research that made it all possible. Not one single solitary advance in human technology has come out of the world of religion. Stone tools, metal tools, agriculture, writing, you name it, they all came out of human needs. Lambert -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Charlotte Foust Sent: Friday, June 10, 2005 4:03 PM To: Access Developers discussion and problem solving Subject: RE: [AccessD] Friday humour Friends, In Woody's Lounge, we axe threads like this to avoid offending anyone, however misinformed they might be in their beliefs. Is there an equivalent rule in this list? I get very twitchy when conversations wander into the areas of religion and politics, since they tend to deteriorate into name calling and flames. Charlotte Foust -----Original Message----- From: Heenan, Lambert [mailto:Lambert.Heenan at aig.com] Sent: Friday, June 10, 2005 11:49 AM To: 'Access Developers discussion and problem solving' Subject: RE: [AccessD] Friday humour Anyone care to tell us how the Earth Centric types explain stellar parallax? Or do they simply deny its existence as their various 'good books' refer to the 'fixed stars'? -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Elam, Debbie Sent: Friday, June 10, 2005 2:39 PM To: 'Access Developers discussion and problem solving' Subject: RE: [AccessD] Friday humour No it does not throw it out the window, it just makes the lovely and simple orbital mechanics equations into monster equations that take a super computer to calculate with any proficiency. Of course those other planets just orbit around the sun while the whole mess orbits around the Earth ;-). That was the real reason it became obvious that the best method of calculation was to put the sun in the center of the system. The whole mess with the rings was to account for planetary movements. It is a little like the headaches caused when you try to take the Earth's total motion into account when compared to the motion of another star in the milky way galaxy which is all rotating around a cluster of stars in the galaxy center. Much more pleasant to break it into chunks and consider the solar system a single unit when talking about motion with respect to the galaxy. Debbie -----Original Message----- From: Don Bozarth [mailto:drboz at pacbell.net] Sent: Friday, June 10, 2005 1:25 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Friday humour Well, if the solar system is Earth centered, a lot of the math dealing with planetary motion goes right out the window... not to mention that little sniggle called gravity. The math of orbital mechanics suddenly disappears. Were all that math wrong, we could never have made it to the Moon, Venus, Mars, Jupiter, Saturn, and Uranus those places manmade satellites have visited. Don B. ----- Original Message ----- From: "Elam, Debbie" To: "'Access Developers discussion and problem solving'" Sent: Friday, June 10, 2005 11:14 AM Subject: RE: [AccessD] Friday humour > Actually they are right. The whole thing comes down to perspective. > Of course the math is a heck of a lot easier if you simply consider > the sun the > center around which the solar system revolves. In this case as many others, > why not go with the simplest answer that gives the most correct predictions? > Why complicate the issue by insisting that a certain perspective has > to be maintained? Groan, no doubt they will call it proof. Of course > the reverse > is just as true. No one can prove that the sun revolves around the > Earth, but that is a minor detail. > > Debbie > > -----Original Message----- > From: Jim Lawrence [mailto:accessd at shaw.ca] > Sent: Friday, June 10, 2005 1:00 PM > To: 'Access Developers discussion and problem solving' > Subject: [AccessD] Friday humour > > > Hi All: > > When first read I thought this was a joke... but I think it is for > real; which of course would make it more hilarious. Check this out: > http://www.catholicintl.com/epologetics/articles/science/geochallenge. > htm > > Jim > > -- > 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 -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From stuart at lexacorp.com.pg Fri Jun 10 16:45:49 2005 From: stuart at lexacorp.com.pg (Stuart McLachlan) Date: Sat, 11 Jun 2005 07:45:49 +1000 Subject: [AccessD] Friday humour In-Reply-To: <7B1961ED924D1A459E378C9B1BB22B4C0492C988@natexch.jenkens.com> Message-ID: <42AA96AD.196.1B3CBA8@stuart.lexacorp.com.pg> On 10 Jun 2005 at 13:39, Elam, Debbie wrote: > with the rings was to account for planetary movements. It is a little like > the headaches caused when you try to take the Earth's total motion into > account when compared to the motion of another star in the milky way galaxy > which is all rotating around a cluster of stars in the galaxy center. Just remember that you're standing on a planet that's evolving and revolving at 900 miles an hour, It's orbiting at 19 miles a second, so it's reckoned, the sun that is the source of all our power. The Sun and you and me, and all the stars that we can see, are moving at a million miles a day, In the outer spiral arm, at 40,000 miles an hour, of the Galaxy we call the Milky Way. Our Galaxy itself contains 100 billion stars, it's 100,000 light-years side-to-side, It bulges in the middle, 16 000 light-years thick, but out by us it's just 3 000 light-years wide. We're 30,000 light-years from galactic central point, we go round every 200 million years, And our galaxy is only one of millions of billions in this amazing and expanding universe. The universe itself keeps on expanding and expanding, in all of the directions it can whizz, As fast as it can go, at the speed of light you know, twelve million miles a minute, and that's the fastest speed there is. So remember, when you're feeling very small and insecure, how amazingly unlikely is your birth, Pray that there's intelligent life somewhere up in space, because there's bugger all down here on Earth. The Galaxy Song Composers: Eric Idle & John Du Prez Author: Eric Idle >From the movie "Monty Python's Meaning of Life"-- Stuart From dejpolsys at hotmail.com Fri Jun 10 16:49:53 2005 From: dejpolsys at hotmail.com (William Hindman) Date: Fri, 10 Jun 2005 17:49:53 -0400 Subject: [AccessD] MODERATOR NEEDED NOW!!! /was Friday humour References: <1D7828CDB8350747AFE9D69E0E90DA1F1176C3B8@xlivmbx21.aig.com> Message-ID: ..can somebody with a smattering of common sense please delete this. ..OT is the place for this ...not AccessD. William ----- Original Message ----- From: "Heenan, Lambert" To: "'Access Developers discussion and problem solving'" Sent: Friday, June 10, 2005 5:18 PM Subject: RE: [AccessD] Friday humour > My last comment on this (honest!!! ) > > I'm wholeheartedly atheist, but I certainly not apolitical. I believe that > everyone should be involved in the political process because politics > impacts everyone. But this is not the place for politics. > > The Kansas situation may have offended more people than it satisfied, but > still the stickers are in the school books. It seems enough Kansans were > convinced that they voted in the measure, and to hell with the > unbelievers. > This country is being taken over by religious > fanatics/extemists/nutters/fools (you choose) who's agenda has nothing at > all to do with the common good and everything to do with their desire for > power. Power of you, me, your dog and cat, and ultimately the rest of the > world. > > Lambert > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Charlotte Foust > Sent: Friday, June 10, 2005 5:05 PM > To: Access Developers discussion and problem solving > Subject: RE: [AccessD] Friday humour > > > That didn't prevent any arguments, it started more and offended more > people > than it satisfied. I am areligious and largely apolitical, so I am only > offended by a lack of common sense and basic courtesy. I just think it is > playing with fire to discuss these topics in a public playground where > fistfights are discouraged. > > Charlotte Foust > > > -----Original Message----- > From: Heenan, Lambert [mailto:Lambert.Heenan at aig.com] > Sent: Friday, June 10, 2005 1:55 PM > To: 'Access Developers discussion and problem solving' > Subject: RE: [AccessD] Friday humour > > > In Kansas they add Creationism to the school curriculum in order not to > offend one specific group of people. That doesn't make it right either. > > On the whole though I agree with your comment. I especially do not like to > see politics being discussed in a software developer's group, but every > rule > has its exceptions and pointing out the lunacy of the religions of this > world (not just Christina ones) is an exception for me. > > Politicians can be voted out of office. Religious nuts want us to vote our > brains out of office. But of course they never say that they are willing > to > give up all the benefits and comforts that the hateful world of science > has > given them - like the internet where they can publish their rubbish to the > hearts content, where no paper and glue publisher would have touched it, > and > the computers they use to do it with. This despite the fact that it is > heretical scientific research that made it all possible. Not one single > solitary advance in human technology has come out of the world of > religion. > Stone tools, metal tools, agriculture, writing, you name it, they all came > out of human needs. > > Lambert > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Charlotte Foust > Sent: Friday, June 10, 2005 4:03 PM > To: Access Developers discussion and problem solving > Subject: RE: [AccessD] Friday humour > > > Friends, > > In Woody's Lounge, we axe threads like this to avoid offending anyone, > however misinformed they might be in their beliefs. Is there an > equivalent > rule in this list? I get very twitchy when conversations wander into the > areas of religion and politics, since they tend to deteriorate into name > calling and flames. > > Charlotte Foust > > > -----Original Message----- > From: Heenan, Lambert [mailto:Lambert.Heenan at aig.com] > Sent: Friday, June 10, 2005 11:49 AM > To: 'Access Developers discussion and problem solving' > Subject: RE: [AccessD] Friday humour > > > Anyone care to tell us how the Earth Centric types explain stellar > parallax? > Or do they simply deny its existence as their various 'good books' refer > to > the 'fixed stars'? > > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Elam, Debbie > Sent: Friday, June 10, 2005 2:39 PM > To: 'Access Developers discussion and problem solving' > Subject: RE: [AccessD] Friday humour > > > No it does not throw it out the window, it just makes the lovely and > simple > orbital mechanics equations into monster equations that take a super > computer to calculate with any proficiency. Of course those other planets > just orbit around the sun while the whole mess orbits around the Earth > ;-). > That was the real reason it became obvious that the best method of > calculation was to put the sun in the center of the system. The whole mess > with the rings was to account for planetary movements. It is a little like > the headaches caused when you try to take the Earth's total motion into > account when compared to the motion of another star in the milky way > galaxy > which is all rotating around a cluster of stars in the galaxy center. > Much > more pleasant to break it into chunks and consider the solar system a > single > unit when talking about motion with respect to the galaxy. > > Debbie > > -----Original Message----- > From: Don Bozarth [mailto:drboz at pacbell.net] > Sent: Friday, June 10, 2005 1:25 PM > To: Access Developers discussion and problem solving > Subject: Re: [AccessD] Friday humour > > > Well, if the solar system is Earth centered, a lot of the math dealing > with > planetary motion goes right out the window... not to mention that little > sniggle called gravity. The math of orbital mechanics suddenly > disappears. > Were all that math wrong, we could never have made it to the Moon, Venus, > Mars, Jupiter, Saturn, and Uranus those places manmade satellites have > visited. > > Don B. > > ----- Original Message ----- > From: "Elam, Debbie" > To: "'Access Developers discussion and problem solving'" > > Sent: Friday, June 10, 2005 11:14 AM > Subject: RE: [AccessD] Friday humour > > >> Actually they are right. The whole thing comes down to perspective. >> Of course the math is a heck of a lot easier if you simply consider >> the sun > the >> center around which the solar system revolves. In this case as many > others, >> why not go with the simplest answer that gives the most correct > predictions? >> Why complicate the issue by insisting that a certain perspective has >> to be maintained? Groan, no doubt they will call it proof. Of course > >> the > reverse >> is just as true. No one can prove that the sun revolves around the >> Earth, but that is a minor detail. >> >> Debbie >> >> -----Original Message----- >> From: Jim Lawrence [mailto:accessd at shaw.ca] >> Sent: Friday, June 10, 2005 1:00 PM >> To: 'Access Developers discussion and problem solving' >> Subject: [AccessD] Friday humour >> >> >> Hi All: >> >> When first read I thought this was a joke... but I think it is for >> real; which of course would make it more hilarious. Check this out: >> http://www.catholicintl.com/epologetics/articles/science/geochallenge. >> htm >> >> Jim >> >> -- >> 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 > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > 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 Fri Jun 10 16:53:11 2005 From: dejpolsys at hotmail.com (William Hindman) Date: Fri, 10 Jun 2005 17:53:11 -0400 Subject: [AccessD] Automating - IE6 - File Save As References: <0F3AFAE449DD4A40BED8B6C4A97ABF5B0298AABB@MSG-MB3.icent.ic.gc.ca> Message-ID: http://www.vbaexpress.com/forum/archive/index.php?t-863.html ..hth William ----- Original Message ----- From: "Drawbridge, Jack: #CIO - BPI" To: "Access Developers discussion and problem solving" Sent: Friday, June 10, 2005 4:54 PM Subject: RE: [AccessD] Automating - IE6 - File Save As > Have had no responses with original post. I believe it is a question of > automating IE, and how to get to CommonDialog in order to do the File Save > As. > > IE does a fantastic job of removing relative links and downloading a clean > set of files when using the File Save As webpage complete option. I do not > want to do the File saves manually. There must be a means to automate this > in VBA??? > > Any advice/help on this would be greatly appreciated. > > Thanks, > > jack > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Drawbridge, > Jack: #CIO - BPI > Sent: Thursday, June 2, 2005 3:01 PM > To: Access Developers discussion and problem solving > Subject: [AccessD] A2K talking to IE6 - File Save As > > > Looking for help/advice or sample code to open IE6 from code in A2K. Am > interested in how to do a File| Save As Webpage, Complete. > We have a database of 60000 companies and want to put extracts of selected > 100-500 companies (html and graphics etc) onto a CD for use with Offline > Browser. > > Can not figure out how to get to IE6 File | Save As. > > I have some code to open a page with IE browser and save all the links on > the page. > > Any help would be appreciated. > > TIA > > jack > > '---- CODE to GET the Links from a given page ---- > '--------------------------------------------------------------------------------------- > ' Procedure : GetLinks > ' DateTime : 2005-06-02 14:19 > ' Author : > ' Purpose : get all links from a named webpage URL > '--------------------------------------------------------------------------------------- > ' > Sub GetLinks() > > ' ** need to set a reference to > ' ** Microsoft Internet Controls > > Dim IeApp As InternetExplorer > Dim sURL As String > Dim IeDoc As Object > Dim i As Long > > 'Create new instance of IE > Set IeApp = New InternetExplorer > > 'May wish to make IeApp visible > 'apparently some things don't work > 'unless it's visible > IeApp.Visible = False > > 'define the page to open > sURL = "www.diligens.com" > > 'navigate to the page based on URL > IeApp.Navigate sURL > > 'Pause until the webpage is completely loaded > Do > Loop Until IeApp.ReadyState = READYSTATE_COMPLETE > > 'Create instance of Document object > Set IeDoc = IeApp.Document > > 'Loop through the document's links collection. > For i = 0 To IeDoc.links.Length - 1 > Debug.Print IeDoc.links(i).href > Next i > > 'Clean up > Set IeApp = Nothing > Set IeDoc = Nothing > End Sub > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > From ssharkins at bellsouth.net Fri Jun 10 16:54:05 2005 From: ssharkins at bellsouth.net (Susan Harkins) Date: Fri, 10 Jun 2005 17:54:05 -0400 Subject: [AccessD] MODERATOR NEEDED NOW!!! /was Friday humour In-Reply-To: Message-ID: <20050610215409.GVS4468.ibm61aec.bellsouth.net@SUSANONE> If you need a second, I'll second that, and third it, and fourth it... Frankly, Lambert was rather tart, even by OT standards! ;) Susan H. ..can somebody with a smattering of common sense please delete this. ..OT is the place for this ...not AccessD. From dejpolsys at hotmail.com Fri Jun 10 17:03:44 2005 From: dejpolsys at hotmail.com (William Hindman) Date: Fri, 10 Jun 2005 18:03:44 -0400 Subject: [AccessD] MODERATOR NEEDED NOW!!! /was Friday humour References: <20050610215409.GVS4468.ibm61aec.bellsouth.net@SUSANONE> Message-ID: ..OT has standards? :) William ----- Original Message ----- From: "Susan Harkins" To: "'Access Developers discussion and problem solving'" Sent: Friday, June 10, 2005 5:54 PM Subject: RE: [AccessD] MODERATOR NEEDED NOW!!! /was Friday humour > If you need a second, I'll second that, and third it, and fourth it... > > > Frankly, Lambert was rather tart, even by OT standards! ;) > > Susan H. > > ..can somebody with a smattering of common sense please delete this. > > ..OT is the place for this ...not AccessD. > > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > From dejpolsys at hotmail.com Fri Jun 10 17:06:41 2005 From: dejpolsys at hotmail.com (William Hindman) Date: Fri, 10 Jun 2005 18:06:41 -0400 Subject: [AccessD] Automating - IE6 - File Save As References: <0F3AFAE449DD4A40BED8B6C4A97ABF5B0298AABB@MSG-MB3.icent.ic.gc.ca> Message-ID: ..oops ...wrong link ...should have been: http://www.vbaexpress.com/forum/archive/index.php?t-3484.html William ----- Original Message ----- From: "William Hindman" To: "Access Developers discussion and problem solving" Sent: Friday, June 10, 2005 5:53 PM Subject: Re: [AccessD] Automating - IE6 - File Save As > http://www.vbaexpress.com/forum/archive/index.php?t-863.html > ..hth > > William > > ----- Original Message ----- > From: "Drawbridge, Jack: #CIO - BPI" > To: "Access Developers discussion and problem solving" > > Sent: Friday, June 10, 2005 4:54 PM > Subject: RE: [AccessD] Automating - IE6 - File Save As > > >> Have had no responses with original post. I believe it is a question of >> automating IE, and how to get to CommonDialog in order to do the File >> Save As. >> >> IE does a fantastic job of removing relative links and downloading a >> clean set of files when using the File Save As webpage complete option. I >> do not want to do the File saves manually. There must be a means to >> automate this in VBA??? >> >> Any advice/help on this would be greatly appreciated. >> >> Thanks, >> >> jack >> >> -----Original Message----- >> From: accessd-bounces at databaseadvisors.com >> [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Drawbridge, >> Jack: #CIO - BPI >> Sent: Thursday, June 2, 2005 3:01 PM >> To: Access Developers discussion and problem solving >> Subject: [AccessD] A2K talking to IE6 - File Save As >> >> >> Looking for help/advice or sample code to open IE6 from code in A2K. Am >> interested in how to do a File| Save As Webpage, Complete. >> We have a database of 60000 companies and want to put extracts of >> selected 100-500 companies (html and graphics etc) onto a CD for use with >> Offline Browser. >> >> Can not figure out how to get to IE6 File | Save As. >> >> I have some code to open a page with IE browser and save all the links on >> the page. >> >> Any help would be appreciated. >> >> TIA >> >> jack >> >> '---- CODE to GET the Links from a given page ---- >> '--------------------------------------------------------------------------------------- >> ' Procedure : GetLinks >> ' DateTime : 2005-06-02 14:19 >> ' Author : >> ' Purpose : get all links from a named webpage URL >> '--------------------------------------------------------------------------------------- >> ' >> Sub GetLinks() >> >> ' ** need to set a reference to >> ' ** Microsoft Internet Controls >> >> Dim IeApp As InternetExplorer >> Dim sURL As String >> Dim IeDoc As Object >> Dim i As Long >> >> 'Create new instance of IE >> Set IeApp = New InternetExplorer >> >> 'May wish to make IeApp visible >> 'apparently some things don't work >> 'unless it's visible >> IeApp.Visible = False >> >> 'define the page to open >> sURL = "www.diligens.com" >> >> 'navigate to the page based on URL >> IeApp.Navigate sURL >> >> 'Pause until the webpage is completely loaded >> Do >> Loop Until IeApp.ReadyState = READYSTATE_COMPLETE >> >> 'Create instance of Document object >> Set IeDoc = IeApp.Document >> >> 'Loop through the document's links collection. >> For i = 0 To IeDoc.links.Length - 1 >> Debug.Print IeDoc.links(i).href >> Next i >> >> 'Clean up >> Set IeApp = Nothing >> Set IeDoc = Nothing >> End Sub >> -- >> AccessD mailing list >> AccessD at databaseadvisors.com >> http://databaseadvisors.com/mailman/listinfo/accessd >> Website: http://www.databaseadvisors.com >> -- >> AccessD mailing list >> AccessD at databaseadvisors.com >> http://databaseadvisors.com/mailman/listinfo/accessd >> Website: http://www.databaseadvisors.com >> > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > From cfoust at infostatsystems.com Fri Jun 10 17:32:35 2005 From: cfoust at infostatsystems.com (Charlotte Foust) Date: Fri, 10 Jun 2005 15:32:35 -0700 Subject: [AccessD] Friday humour Message-ID: Oh, I take politics seriously, but I can't bring myself to take *politicians* seriously. I think they're all crooks, which is what I mean by "apolitical". I don't support any of them. Charlotte Foust -----Original Message----- From: Heenan, Lambert [mailto:Lambert.Heenan at aig.com] Sent: Friday, June 10, 2005 2:18 PM To: 'Access Developers discussion and problem solving' Subject: RE: [AccessD] Friday humour My last comment on this (honest!!! ) I'm wholeheartedly atheist, but I certainly not apolitical. I believe that everyone should be involved in the political process because politics impacts everyone. But this is not the place for politics. The Kansas situation may have offended more people than it satisfied, but still the stickers are in the school books. It seems enough Kansans were convinced that they voted in the measure, and to hell with the unbelievers. This country is being taken over by religious fanatics/extemists/nutters/fools (you choose) who's agenda has nothing at all to do with the common good and everything to do with their desire for power. Power of you, me, your dog and cat, and ultimately the rest of the world. Lambert -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Charlotte Foust Sent: Friday, June 10, 2005 5:05 PM To: Access Developers discussion and problem solving Subject: RE: [AccessD] Friday humour That didn't prevent any arguments, it started more and offended more people than it satisfied. I am areligious and largely apolitical, so I am only offended by a lack of common sense and basic courtesy. I just think it is playing with fire to discuss these topics in a public playground where fistfights are discouraged. Charlotte Foust -----Original Message----- From: Heenan, Lambert [mailto:Lambert.Heenan at aig.com] Sent: Friday, June 10, 2005 1:55 PM To: 'Access Developers discussion and problem solving' Subject: RE: [AccessD] Friday humour In Kansas they add Creationism to the school curriculum in order not to offend one specific group of people. That doesn't make it right either. On the whole though I agree with your comment. I especially do not like to see politics being discussed in a software developer's group, but every rule has its exceptions and pointing out the lunacy of the religions of this world (not just Christina ones) is an exception for me. Politicians can be voted out of office. Religious nuts want us to vote our brains out of office. But of course they never say that they are willing to give up all the benefits and comforts that the hateful world of science has given them - like the internet where they can publish their rubbish to the hearts content, where no paper and glue publisher would have touched it, and the computers they use to do it with. This despite the fact that it is heretical scientific research that made it all possible. Not one single solitary advance in human technology has come out of the world of religion. Stone tools, metal tools, agriculture, writing, you name it, they all came out of human needs. Lambert -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Charlotte Foust Sent: Friday, June 10, 2005 4:03 PM To: Access Developers discussion and problem solving Subject: RE: [AccessD] Friday humour Friends, In Woody's Lounge, we axe threads like this to avoid offending anyone, however misinformed they might be in their beliefs. Is there an equivalent rule in this list? I get very twitchy when conversations wander into the areas of religion and politics, since they tend to deteriorate into name calling and flames. Charlotte Foust -----Original Message----- From: Heenan, Lambert [mailto:Lambert.Heenan at aig.com] Sent: Friday, June 10, 2005 11:49 AM To: 'Access Developers discussion and problem solving' Subject: RE: [AccessD] Friday humour Anyone care to tell us how the Earth Centric types explain stellar parallax? Or do they simply deny its existence as their various 'good books' refer to the 'fixed stars'? -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Elam, Debbie Sent: Friday, June 10, 2005 2:39 PM To: 'Access Developers discussion and problem solving' Subject: RE: [AccessD] Friday humour No it does not throw it out the window, it just makes the lovely and simple orbital mechanics equations into monster equations that take a super computer to calculate with any proficiency. Of course those other planets just orbit around the sun while the whole mess orbits around the Earth ;-). That was the real reason it became obvious that the best method of calculation was to put the sun in the center of the system. The whole mess with the rings was to account for planetary movements. It is a little like the headaches caused when you try to take the Earth's total motion into account when compared to the motion of another star in the milky way galaxy which is all rotating around a cluster of stars in the galaxy center. Much more pleasant to break it into chunks and consider the solar system a single unit when talking about motion with respect to the galaxy. Debbie -----Original Message----- From: Don Bozarth [mailto:drboz at pacbell.net] Sent: Friday, June 10, 2005 1:25 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Friday humour Well, if the solar system is Earth centered, a lot of the math dealing with planetary motion goes right out the window... not to mention that little sniggle called gravity. The math of orbital mechanics suddenly disappears. Were all that math wrong, we could never have made it to the Moon, Venus, Mars, Jupiter, Saturn, and Uranus those places manmade satellites have visited. Don B. ----- Original Message ----- From: "Elam, Debbie" To: "'Access Developers discussion and problem solving'" Sent: Friday, June 10, 2005 11:14 AM Subject: RE: [AccessD] Friday humour > Actually they are right. The whole thing comes down to perspective. > Of course the math is a heck of a lot easier if you simply consider > the sun the > center around which the solar system revolves. In this case as many others, > why not go with the simplest answer that gives the most correct predictions? > Why complicate the issue by insisting that a certain perspective has > to be maintained? Groan, no doubt they will call it proof. Of course > the reverse > is just as true. No one can prove that the sun revolves around the > Earth, but that is a minor detail. > > Debbie > > -----Original Message----- > From: Jim Lawrence [mailto:accessd at shaw.ca] > Sent: Friday, June 10, 2005 1:00 PM > To: 'Access Developers discussion and problem solving' > Subject: [AccessD] Friday humour > > > Hi All: > > When first read I thought this was a joke... but I think it is for > real; which of course would make it more hilarious. Check this out: > http://www.catholicintl.com/epologetics/articles/science/geochallenge. > htm > > Jim > > -- > 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 -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From cfoust at infostatsystems.com Fri Jun 10 17:36:27 2005 From: cfoust at infostatsystems.com (Charlotte Foust) Date: Fri, 10 Jun 2005 15:36:27 -0700 Subject: [AccessD] MODERATOR NEEDED NOW!!! /was Friday humour Message-ID: ROTFL Charlotte Foust -----Original Message----- From: William Hindman [mailto:dejpolsys at hotmail.com] Sent: Friday, June 10, 2005 3:04 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] MODERATOR NEEDED NOW!!! /was Friday humour ..OT has standards? :) William ----- Original Message ----- From: "Susan Harkins" To: "'Access Developers discussion and problem solving'" Sent: Friday, June 10, 2005 5:54 PM Subject: RE: [AccessD] MODERATOR NEEDED NOW!!! /was Friday humour > If you need a second, I'll second that, and third it, and fourth it... > > > Frankly, Lambert was rather tart, even by OT standards! ;) > > Susan H. > > ..can somebody with a smattering of common sense please delete this. > > ..OT is the place for this ...not AccessD. > > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > 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 Jun 10 17:39:37 2005 From: martyconnelly at shaw.ca (MartyConnelly) Date: Fri, 10 Jun 2005 15:39:37 -0700 Subject: [AccessD] Automating - IE6 - File Save As References: <0F3AFAE449DD4A40BED8B6C4A97ABF5B0298AABB@MSG-MB3.icent.ic.gc.ca> Message-ID: <42AA16A9.1060801@shaw.ca> You maynot be able to do this for security reasons on second method. Ran this okay from WinXP SP2, Access97, IE6.0.2900 xpsp2 patches Here are two ways. 'This gets around security limitations 'will only save between tags CreateObject("Scripting.FileSystemObject").OpenTextFile("C:\temp\myurlsaved.htm", 2, True).Write _ objExplorer.Document.Body.innerHTML 'or alternate method that security may clobber, saves everthing with fileopen box used With objExplorer.Document If .queryCommandEnabled("saveAs") Then .execCommand "saveAs", False, "C:\temp\myurl.htm" End With Anywho here is some rough test code, that works both ways. You can throw out all the commented objdocument code at bottom. Sub testIESave(strpassHTML As String) '------------------ 'testIESave "http://www.Viescas.com/" Dim objExplorer As Object Dim objDocument As Object Dim strComputer As String Dim strReturn As String Set objExplorer = CreateObject("InternetExplorer.Application") 'objExplorer.navigate "about:blank" objExplorer.navigate strpassHTML objExplorer.Toolbar = 1 'or 0 to turnoff toolbar turned off maynot save all html source objExplorer.StatusBar = 0 objExplorer.Width = 800 objExplorer.Height = 570 objExplorer.Left = 0 objExplorer.Top = 0 objExplorer.Visible = 1 'dont't need to navigate to file or http site 'just drop html string in document object 'objExplorer.Navigate "file://c:\temp\test.html" 'objExplorer.Navigate "http://www.Viescas.com/" 'objExplorer.Navigate "http://checkip.dyndns.org/" Do While (objExplorer.Busy) Loop Dim webtx As String Dim strHTML As String 'will only save between tags CreateObject("Scripting.FileSystemObject").OpenTextFile("C:\temp\myurlsmall.htm", 2, True).Write _ objExplorer.Document.Body.innerHTML 'alternate method security may clobber saves everything With objExplorer.Document If .queryCommandEnabled("saveAs") Then .execCommand "saveAs", False, "C:\temp\myurl.htm" End With 'Set objDocument = objExplorer.Document 'objDocument.Open 'objDocument.writeln "My Continuous Pictures" 'you probably don't need all this but you could throw in some css 'objDocument.writeln "" 'objDocument.writeln "" 'objDocument.writeln "" 'objDocument.writeln "" 'objDocument.writeln "" 'objDocument.writeln "
Pictures
" 'objDocument.writeln "

Method #2:

" 'objDocument.writeln strpassHTML 'objDocument.writeln "" 'objDocument.Write() 'objDocument.Close 'MsgBox "finished" Set objExplorer = Nothing Set objDocument = Nothing End Sub Drawbridge, Jack: #CIO - BPI wrote: >Have had no responses with original post. I believe it is a question of automating IE, and how to get to CommonDialog in order to do the File Save As. > >IE does a fantastic job of removing relative links and downloading a clean set of files when using the File Save As webpage complete option. I do not want to do the File saves manually. There must be a means to automate this in VBA??? > >Any advice/help on this would be greatly appreciated. > >Thanks, > >jack > >-----Original Message----- >From: accessd-bounces at databaseadvisors.com >[mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Drawbridge, >Jack: #CIO - BPI >Sent: Thursday, June 2, 2005 3:01 PM >To: Access Developers discussion and problem solving >Subject: [AccessD] A2K talking to IE6 - File Save As > > >Looking for help/advice or sample code to open IE6 from code in A2K. Am interested in how to do a File| Save As Webpage, Complete. >We have a database of 60000 companies and want to put extracts of selected 100-500 companies (html and graphics etc) onto a CD for use with Offline Browser. > >Can not figure out how to get to IE6 File | Save As. > >I have some code to open a page with IE browser and save all the links on the page. > >Any help would be appreciated. > >TIA > >jack > >'---- CODE to GET the Links from a given page ---- >'--------------------------------------------------------------------------------------- >' Procedure : GetLinks >' DateTime : 2005-06-02 14:19 >' Author : >' Purpose : get all links from a named webpage URL >'--------------------------------------------------------------------------------------- >' >Sub GetLinks() > >' ** need to set a reference to >' ** Microsoft Internet Controls > > Dim IeApp As InternetExplorer > Dim sURL As String > Dim IeDoc As Object > Dim i As Long > > 'Create new instance of IE > Set IeApp = New InternetExplorer > > 'May wish to make IeApp visible > 'apparently some things don't work > 'unless it's visible > IeApp.Visible = False > > 'define the page to open > sURL = "www.diligens.com" > > 'navigate to the page based on URL > IeApp.Navigate sURL > > 'Pause until the webpage is completely loaded > Do > Loop Until IeApp.ReadyState = READYSTATE_COMPLETE > > 'Create instance of Document object > Set IeDoc = IeApp.Document > > 'Loop through the document's links collection. > For i = 0 To IeDoc.links.Length - 1 > Debug.Print IeDoc.links(i).href > Next i > > 'Clean up > Set IeApp = Nothing > Set IeDoc = Nothing >End Sub > > -- Marty Connelly Victoria, B.C. Canada From john at winhaven.net Fri Jun 10 17:40:58 2005 From: john at winhaven.net (John Bartow) Date: Fri, 10 Jun 2005 17:40:58 -0500 Subject: [AccessD] Friday humour - END THIS THREAD In-Reply-To: <0IHV00J7JTO472@l-daemon> Message-ID: <200506102241.j5AMewPA265944@pimout4-ext.prodigy.net> This isn't humor either Jim, please don't abuse the Firday humor allowance in the future. John Bartow, President Database Advisors, Inc. Email: mailto:president at databaseadvisors.com Website: http://www.databaseadvisors.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Jim Lawrence Sent: Friday, June 10, 2005 1:51 PM To: 'Access Developers discussion and problem solving' Subject: RE: [AccessD] Friday humour On that subject, an email arrived with this link: http://www.boreme.com/boreme/funny-2005/bush-ten-years-ago.php?gobackto=home It sometimes is nice to be one step removed. Jim -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Charlotte Foust Sent: Friday, June 10, 2005 11:28 AM To: Access Developers discussion and problem solving Subject: RE: [AccessD] Friday humour No, I think they're all in public office already! ,wink> Charlotte Foust -----Original Message----- From: Jim Lawrence [mailto:accessd at shaw.ca] Sent: Friday, June 10, 2005 11:23 AM To: 'Access Developers discussion and problem solving' Subject: RE: [AccessD] Friday humour What's next... a challenge from the 'Flat Earth Society'? Jim -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Elam, Debbie Sent: Friday, June 10, 2005 11:15 AM To: 'Access Developers discussion and problem solving' Subject: RE: [AccessD] Friday humour Actually they are right. The whole thing comes down to perspective. Of course the math is a heck of a lot easier if you simply consider the sun the center around which the solar system revolves. In this case as many others, why not go with the simplest answer that gives the most correct predictions? Why complicate the issue by insisting that a certain perspective has to be maintained? Groan, no doubt they will call it proof. Of course the reverse is just as true. No one can prove that the sun revolves around the Earth, but that is a minor detail. Debbie -----Original Message----- From: Jim Lawrence [mailto:accessd at shaw.ca] Sent: Friday, June 10, 2005 1:00 PM To: 'Access Developers discussion and problem solving' Subject: [AccessD] Friday humour Hi All: When first read I thought this was a joke... but I think it is for real; which of course would make it more hilarious. Check this out: http://www.catholicintl.com/epologetics/articles/science/geochallenge.ht m Jim -- 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 -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd 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 Fri Jun 10 17:40:58 2005 From: john at winhaven.net (John Bartow) Date: Fri, 10 Jun 2005 17:40:58 -0500 Subject: [AccessD] Friday humour - END THIS THREAD In-Reply-To: <0IHV0011IRBYPU@l-daemon> Message-ID: <200506102241.j5AMewPB265944@pimout4-ext.prodigy.net> This isn't humor Jim, please don't abuse the Firday humor allowance in the future. John Bartow, President Database Advisors, Inc. Email: mailto:president at databaseadvisors.com Website: http://www.databaseadvisors.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Jim Lawrence Sent: Friday, June 10, 2005 1:00 PM To: 'Access Developers discussion and problem solving' Subject: [AccessD] Friday humour Hi All: When first read I thought this was a joke... but I think it is for real; which of course would make it more hilarious. Check this out: http://www.catholicintl.com/epologetics/articles/science/geochallenge.htm Jim -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From bchacc at san.rr.com Fri Jun 10 18:31:04 2005 From: bchacc at san.rr.com (Rocky Smolin - Beach Access Software) Date: Fri, 10 Jun 2005 16:31:04 -0700 Subject: [AccessD] RE: Friday humour References: <6A6AA9DF57E4F046BDA1E273BDDB6772337652@corp-es01.fleetpride.com> Message-ID: <034301c56e14$7962b340$6901a8c0@HAL9004> I like: "Kittens. Five cents or best offer." Rocky ----- Original Message ----- From: "Hale, Jim" To: "'Access Developers discussion and problem solving'" Sent: Friday, June 10, 2005 1:34 PM Subject: RE: [AccessD] RE: Friday humour > Ok, here is my contribution. This one didn't go through last week for some > reason. > Jim Hale > > Classified Ads > > Actually Taken From Classified Ad's In Newspapers: > > FREE YORKSHIRE TERRIER. 8 years old Hateful little dog. Bites > ---------------------------------- > FREE PUPPIES: 1/2 Cocker Spaniel, 1/2 sneaky neighbor's dog > ----------------------------- > FREE PUPPIES... Part German Shepherd, part stupid dog > ------------------------------ > GERMAN SHEPHERD 85 lbs. Neutered. Speaks German. Free > ---------------------------------- > FOUND: DIRTY WHITE DOG. Looks like a rat ... been out awhile. Better be > reward. > ---------------------------------- > COWS, CALVES NEVER BRED.... Also 1 gay bull for sale > ------------------------------- > NORDIC TRACK $300 Hardly used, call Chubby > ---------------------------------- > NICE PARACHUTE: Never opened - used once > ---------------------------------- > JOINING NUDIST COLONY! Must sell washer and dryer $300 > ---------------------------------- > (AND THE BEST ONE) > FOR SALE BY OWNER: Complete set of Encyclopedia Britannica. 45 volumes. > Excellent condition. $1,000 or best offer. No longer needed. Got married > last month. Wife knows everything. > > -----Original Message----- > From: Brett Barabash [mailto:BBarabash at tappeconstruction.com] > Sent: Friday, June 10, 2005 3:28 PM > To: Access Developers discussion and problem solving > Subject: [AccessD] RE: Friday humour > > > So I open up my inbox this afternoon, and I find 2 Friday "humor" > threads: > > 1. Science vs. Religion absurdist debate > 2. "George W. Bush is so dumb" political rhetoric > > Thank goodness that David McAfee tossed in an honest to goodness joke. > Offending people should be the least of your worries. Boring them to > death is more likely. ;-) > > C'mon people, it's Friday. Laugh a little! > > ---------------------------------------------------------------------------- > ---------------------------------------- > The information in this email may contain confidential information that > is legally privileged. The information is only for the use of the intended > recipient(s) named above. If you are not the intended recipient(s), you > are hereby notified that any disclosure, copying, distribution, or the > taking > of any action in regard to the content of this email is strictly > prohibited. > If > transmission is incorrect, unclear, or incomplete, please notify the > sender > immediately. The authorized recipient(s) of this information is/are > prohibited > from disclosing this information to any other party and is/are required to > destroy the information after its stated need has been fulfilled. > > Any views expressed in this message are those of the individual > sender, except where the sender specifies and with authority, > states them to be the views of Tappe Construction Co. > > This footer also confirms that this email message has been scanned > for the presence of computer viruses.Scanning of this message and > addition of this footer is performed by SurfControl E-mail Filter software > in conjunction with virus detection software. > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > > *********************************************************************** > 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 martyconnelly at shaw.ca Fri Jun 10 19:15:13 2005 From: martyconnelly at shaw.ca (MartyConnelly) Date: Fri, 10 Jun 2005 17:15:13 -0700 Subject: [AccessD] Friday humour References: <002701c56dfa$68081960$6401a8c0@don> Message-ID: <42AA2D11.90103@shaw.ca> Argggh. Noone knows any history. 1. Copernicus died in 1543 a week after his book "Six Books on the Revolutions of the Celestial Orbits" otherwise known as "De Revolutionibis" was finally published. In 1533 Albert Widmanstadt lectured before Pope Clement VII on the Copernican solar system. His reward consisted of a Greek codex which is preserved in the State library of Munich. Three years later Copernicus was urged by Cardinal Schonberg, then Archbishop of Capua, in a letter, dated at Rome, 1 November, 1536, to publish his discovery, or at least to have a copy made at the cardinal's expense. He was also asked to reform the Calendar by Pope Leo X. Finally Copernicus, at sixty-eight , yielded, as he writes to Paul III, to the entreaties of Cardinal Schonberg, of Bishop Giese of Culm, and of other learned men to surrender his manuscripts for publication. Bishop Giese charged Rheticus, as the ablest disciple of the great master, with the task of editing the work. It was finally edited by Osiander who took out any possible objectionable theological bits, and added a preface stating it was an hypothesis. This was done not so much to appease the Catholic church but knowing the attitude of Luther and Melanchthon against the heliocentric system, who were running around Germany at the time.Copernicus was an invalid and living in Frauenburg Germany at the time. There were 6 popes inbetween Copernicus' book and the Galileo inquisition and none objected to the heliocentric theory. On the Catholic side opposition only commenced seventy-three years later, when it was started up by Galileo. On 5 March, 1616, the work of Copernicus was forbidden by the Congregation of the Index "until corrected", and in 1620 these corrections were indicated. Nine sentences, by which the heliocentric system was represented as certain, had to be either omitted or changed. In 1820 Canon Settele, a Roman astronomy professor who was a priest tried to publish a book in which the Copernican system was treated as fact. At first, the censor of the press, a guy named Anfossi, wouldn't allow the book to be published unless Settele revised it so that it treated the Copernican system as merely a theory. But Settele appealed to Pope Pius VII, who referred the matter to the Congregation of the Holy Office. On August 16, 1820, it was decided that Settele could, in fact, treat the Copernican system as established fact, and that decision was approved by Pius VII. Pope John Paul II referred to this incident in 1992 when he said that as far as the Church was concerned, the heliocentric debate "was closed in 1820 with the imprimatur given to the work of Canon Settele." This was an address to Pontifical Academy of the Sciences. I could add corrections on Galileo and all the politics involved which was a genuine fubar but here is Cardinal Bellarmine's response. "I say that if a real proof be found that the sun is fixed and does not revolve round the earth, but the earth round the sun, then it will be necessary, very carefully, to proceed to the explanation of the passages of Scripture which appear to be contrary, and we should rather say that we have misunderstood these than pronounce that to be false which is demonstrated." I put Robert Sungenis in the Art Bell camp. Don Bozarth wrote: >I belive he was... Galileo too. Long after they had shed this mortal >coil... > >Don B. > >----- Original Message ----- >From: "Charlotte Foust" >To: "Access Developers discussion and problem solving" > >Sent: Friday, June 10, 2005 1:07 PM >Subject: RE: [AccessD] Friday humour > > > > >>Erm ... Am I wrong or was Coepernicus exonerated posthumously by the >>Church? >> >>Charlotte Foust >> >> >>-----Original Message----- >>From: Don Bozarth [mailto:drboz at pacbell.net] >>Sent: Friday, June 10, 2005 12:23 PM >>To: Access Developers discussion and problem solving >>Subject: Re: [AccessD] Friday humour >> >> >>Yes, I read the whole thing. Typical defend "the church" at all costs >>rhetoric. According to this group no scientist ever did anything right. >> >>Don B. >> >> >> >> > > > > -- Marty Connelly Victoria, B.C. Canada From cfoust at infostatsystems.com Fri Jun 10 19:27:31 2005 From: cfoust at infostatsystems.com (Charlotte Foust) Date: Fri, 10 Jun 2005 17:27:31 -0700 Subject: [AccessD] Friday humour Message-ID: Well, since I'm convinced the earth is not the center of the solar system and I'm much younger than Copernicus, is it really necessary for me to avoid getting him confused with someone else who had a theory on completely different subjects?? On a Friday?? Charlotte Foust -----Original Message----- From: MartyConnelly [mailto:martyconnelly at shaw.ca] Sent: Friday, June 10, 2005 5:15 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Friday humour Argggh. Noone knows any history. 1. Copernicus died in 1543 a week after his book "Six Books on the Revolutions of the Celestial Orbits" otherwise known as "De Revolutionibis" was finally published. In 1533 Albert Widmanstadt lectured before Pope Clement VII on the Copernican solar system. His reward consisted of a Greek codex which is preserved in the State library of Munich. Three years later Copernicus was urged by Cardinal Schonberg, then Archbishop of Capua, in a letter, dated at Rome, 1 November, 1536, to publish his discovery, or at least to have a copy made at the cardinal's expense. He was also asked to reform the Calendar by Pope Leo X. Finally Copernicus, at sixty-eight , yielded, as he writes to Paul III, to the entreaties of Cardinal Schonberg, of Bishop Giese of Culm, and of other learned men to surrender his manuscripts for publication. Bishop Giese charged Rheticus, as the ablest disciple of the great master, with the task of editing the work. It was finally edited by Osiander who took out any possible objectionable theological bits, and added a preface stating it was an hypothesis. This was done not so much to appease the Catholic church but knowing the attitude of Luther and Melanchthon against the heliocentric system, who were running around Germany at the time.Copernicus was an invalid and living in Frauenburg Germany at the time. There were 6 popes inbetween Copernicus' book and the Galileo inquisition and none objected to the heliocentric theory. On the Catholic side opposition only commenced seventy-three years later, when it was started up by Galileo. On 5 March, 1616, the work of Copernicus was forbidden by the Congregation of the Index "until corrected", and in 1620 these corrections were indicated. Nine sentences, by which the heliocentric system was represented as certain, had to be either omitted or changed. In 1820 Canon Settele, a Roman astronomy professor who was a priest tried to publish a book in which the Copernican system was treated as fact. At first, the censor of the press, a guy named Anfossi, wouldn't allow the book to be published unless Settele revised it so that it treated the Copernican system as merely a theory. But Settele appealed to Pope Pius VII, who referred the matter to the Congregation of the Holy Office. On August 16, 1820, it was decided that Settele could, in fact, treat the Copernican system as established fact, and that decision was approved by Pius VII. Pope John Paul II referred to this incident in 1992 when he said that as far as the Church was concerned, the heliocentric debate "was closed in 1820 with the imprimatur given to the work of Canon Settele." This was an address to Pontifical Academy of the Sciences. I could add corrections on Galileo and all the politics involved which was a genuine fubar but here is Cardinal Bellarmine's response. "I say that if a real proof be found that the sun is fixed and does not revolve round the earth, but the earth round the sun, then it will be necessary, very carefully, to proceed to the explanation of the passages of Scripture which appear to be contrary, and we should rather say that we have misunderstood these than pronounce that to be false which is demonstrated." I put Robert Sungenis in the Art Bell camp. Don Bozarth wrote: >I belive he was... Galileo too. Long after they had shed this mortal >coil... > >Don B. > >----- Original Message ----- >From: "Charlotte Foust" >To: "Access Developers discussion and problem solving" > >Sent: Friday, June 10, 2005 1:07 PM >Subject: RE: [AccessD] Friday humour > > > > >>Erm ... Am I wrong or was Coepernicus exonerated posthumously by the >>Church? >> >>Charlotte Foust >> >> >>-----Original Message----- >>From: Don Bozarth [mailto:drboz at pacbell.net] >>Sent: Friday, June 10, 2005 12:23 PM >>To: Access Developers discussion and problem solving >>Subject: Re: [AccessD] Friday humour >> >> >>Yes, I read the whole thing. Typical defend "the church" at all costs >>rhetoric. According to this group no scientist ever did anything >>right. >> >>Don B. >> >> >> >> > > > > -- 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 Fri Jun 10 19:30:23 2005 From: accessd at shaw.ca (Jim Lawrence) Date: Fri, 10 Jun 2005 17:30:23 -0700 Subject: [AccessD] Friday humour In-Reply-To: Message-ID: <0IHW002039EKLS@l-daemon> Hi All: Sorry about starting this. I did not mean to stir up things... maybe just a smile for Friday. Jim From artful at rogers.com Fri Jun 10 20:34:21 2005 From: artful at rogers.com (Arthur Fuller) Date: Fri, 10 Jun 2005 21:34:21 -0400 Subject: [AccessD] Iterate through similarlnamed columns in a recordset In-Reply-To: References: Message-ID: <42AA3F9D.2010402@rogers.com> You have a table like this (let's not bring up normalisation)... PK autonumber Size1 long Height1 long Weight1 long (The last three are repeated 3 times, so their last digits are 2, 3 and 4.) Assume the required vars are declared and filled. rs = New ADODB.RecordSet. etc. I want to write a loop something like this: For i = 1 to 4 debug.print rs("Size"&i) etc. Next But I can't seem to get it right. I tried using eval() and various other approaches. Ideas? Arthur From dejpolsys at hotmail.com Fri Jun 10 21:23:36 2005 From: dejpolsys at hotmail.com (William Hindman) Date: Fri, 10 Jun 2005 22:23:36 -0400 Subject: [AccessD] Friday humour References: <0IHW002039EKLS@l-daemon> Message-ID: ..s'ok Jim ...likely been a smash on OT :) William ----- Original Message ----- From: "Jim Lawrence" To: "'Access Developers discussion and problem solving'" Sent: Friday, June 10, 2005 8:30 PM Subject: RE: [AccessD] Friday humour > Hi All: > > Sorry about starting this. I did not mean to stir up things... maybe just > a > smile for Friday. > > Jim > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > From martyconnelly at shaw.ca Fri Jun 10 22:37:03 2005 From: martyconnelly at shaw.ca (MartyConnelly) Date: Fri, 10 Jun 2005 20:37:03 -0700 Subject: [AccessD] Friday humour References: <1D7828CDB8350747AFE9D69E0E90DA1F1176C3A2@xlivmbx21.aig.com> Message-ID: <42AA5C5F.3050501@shaw.ca> This debate started out by a website of some nutter catholic's attempted refutation of the Heliocentric theory. I pointed out that Copernicus, you know the guy that started it all, was a known Cleric in religious orders He may also have been an ordained priest as he was short listed for a bishopric by the King of Poland. So much for no solitary technological advance by religious nuts or coming out of the world of religion. Of course there are humorous advanced scientific technological advances in the US like the following. http://www.big-boys.com/articles/parafire.html which brings it all back to humour ;) Heenan, Lambert wrote: >In Kansas they add Creationism to the school curriculum in order not to >offend one specific group of people. That doesn't make it right either. > >On the whole though I agree with your comment. I especially do not like to >see politics being discussed in a software developer's group, but every rule >has its exceptions and pointing out the lunacy of the religions of this >world (not just Christina ones) is an exception for me. > >Politicians can be voted out of office. Religious nuts want us to vote our >brains out of office. But of course they never say that they are willing to >give up all the benefits and comforts that the hateful world of science has >given them - like the internet where they can publish their rubbish to the >hearts content, where no paper and glue publisher would have touched it, and >the computers they use to do it with. This despite the fact that it is >heretical scientific research that made it all possible. Not one single >solitary advance in human technology has come out of the world of religion. >Stone tools, metal tools, agriculture, writing, you name it, they all came >out of human needs. > >Lambert > >-----Original Message----- >From: accessd-bounces at databaseadvisors.com >[mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Charlotte Foust >Sent: Friday, June 10, 2005 4:03 PM >To: Access Developers discussion and problem solving >Subject: RE: [AccessD] Friday humour > > >Friends, > >In Woody's Lounge, we axe threads like this to avoid offending anyone, >however misinformed they might be in their beliefs. Is there an equivalent >rule in this list? I get very twitchy when conversations wander into the >areas of religion and politics, since they tend to deteriorate into name >calling and flames. > >Charlotte Foust > > >-----Original Message----- >From: Heenan, Lambert [mailto:Lambert.Heenan at aig.com] >Sent: Friday, June 10, 2005 11:49 AM >To: 'Access Developers discussion and problem solving' >Subject: RE: [AccessD] Friday humour > > >Anyone care to tell us how the Earth Centric types explain stellar parallax? >Or do they simply deny its existence as their various 'good books' refer to >the 'fixed stars'? > > >-----Original Message----- >From: accessd-bounces at databaseadvisors.com >[mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Elam, Debbie >Sent: Friday, June 10, 2005 2:39 PM >To: 'Access Developers discussion and problem solving' >Subject: RE: [AccessD] Friday humour > > >No it does not throw it out the window, it just makes the lovely and simple >orbital mechanics equations into monster equations that take a super >computer to calculate with any proficiency. Of course those other planets >just orbit around the sun while the whole mess orbits around the Earth ;-). >That was the real reason it became obvious that the best method of >calculation was to put the sun in the center of the system. The whole mess >with the rings was to account for planetary movements. It is a little like >the headaches caused when you try to take the Earth's total motion into >account when compared to the motion of another star in the milky way galaxy >which is all rotating around a cluster of stars in the galaxy center. Much >more pleasant to break it into chunks and consider the solar system a single >unit when talking about motion with respect to the galaxy. > >Debbie > >-----Original Message----- >From: Don Bozarth [mailto:drboz at pacbell.net] >Sent: Friday, June 10, 2005 1:25 PM >To: Access Developers discussion and problem solving >Subject: Re: [AccessD] Friday humour > > >Well, if the solar system is Earth centered, a lot of the math dealing with >planetary motion goes right out the window... not to mention that little >sniggle called gravity. The math of orbital mechanics suddenly disappears. >Were all that math wrong, we could never have made it to the Moon, Venus, >Mars, Jupiter, Saturn, and Uranus those places manmade satellites have >visited. > >Don B. > >----- Original Message ----- >From: "Elam, Debbie" >To: "'Access Developers discussion and problem solving'" > >Sent: Friday, June 10, 2005 11:14 AM >Subject: RE: [AccessD] Friday humour > > > > >>Actually they are right. The whole thing comes down to perspective. >>Of course the math is a heck of a lot easier if you simply consider >>the sun >> >> >the > > >>center around which the solar system revolves. In this case as many >> >> >others, > > >>why not go with the simplest answer that gives the most correct >> >> >predictions? > > >>Why complicate the issue by insisting that a certain perspective has >>to be maintained? Groan, no doubt they will call it proof. Of course >> >> > > > >>the >> >> >reverse > > >>is just as true. No one can prove that the sun revolves around the >>Earth, but that is a minor detail. >> >>Debbie >> >>-----Original Message----- >>From: Jim Lawrence [mailto:accessd at shaw.ca] >>Sent: Friday, June 10, 2005 1:00 PM >>To: 'Access Developers discussion and problem solving' >>Subject: [AccessD] Friday humour >> >> >>Hi All: >> >>When first read I thought this was a joke... but I think it is for >>real; which of course would make it more hilarious. Check this out: >>http://www.catholicintl.com/epologetics/articles/science/geochallenge. >>htm >> >>Jim >> >>-- >>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 >> >> >> > > > > -- Marty Connelly Victoria, B.C. Canada From andy at minstersystems.co.uk Sat Jun 11 01:35:32 2005 From: andy at minstersystems.co.uk (Andy Lacey) Date: Sat, 11 Jun 2005 07:35:32 +0100 Subject: [AccessD] Friday humour - A MODERATOR'S VIEW In-Reply-To: <42AA5C5F.3050501@shaw.ca> Message-ID: <005801c56e4f$c475e6a0$c0d80651@minster33c3r25> Gosh, I have a Friday away from the list and miss all the "fun". You lot just can't be trusted can you? I know JB has stepped in but just in case anyone's tempted to get up this morning and add their 2c worth, or somethiong like this off next week, can I just remind everyone that Friday humour is not a free pass to say any old thing which would not be acceptable on the list any other day. It's purpose is to offer light entertainment, not political/religious debate. Those are not, ever, topics for this list. These subjects not only CAN cause offence, they usually DO. And if you want offence go to OT. For all I, or you, know there may be a hundred Catholic fundamentalists part of this list. Opus Dei may log on to us on a daily basis. I've no idea. The point is that if they do they are welcome on the same basis as everyone else. So don't just assume everyone is going to hold your views, whatever they are, and have a good laugh at the other feller. It never works that way. -- Andy Lacey http://www.minstersystems.co.uk > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of > MartyConnelly > Sent: 11 June 2005 04:37 > To: Access Developers discussion and problem solving > Subject: Re: [AccessD] Friday humour > > > This debate started out by a website of some nutter > catholic's attempted > refutation of the Heliocentric theory. > I pointed out that Copernicus, you know the guy that started > it all, was > a known Cleric in religious orders > He may also have been an ordained priest as he was short listed for a > bishopric by the King of Poland. > So much for no solitary technological advance by religious nuts or > coming out of the world of religion. > > Of course there are humorous advanced scientific > technological advances > in the US > like the following. http://www.big-boys.com/articles/parafire.html > > which brings it all back to humour ;) > > Heenan, Lambert wrote: > > >In Kansas they add Creationism to the school curriculum in > order not to > >offend one specific group of people. That doesn't make it > right either. > > > >On the whole though I agree with your comment. I especially > do not like > >to see politics being discussed in a software developer's group, but > >every rule has its exceptions and pointing out the lunacy of the > >religions of this world (not just Christina ones) is an > exception for > >me. > > > >Politicians can be voted out of office. Religious nuts want > us to vote > >our brains out of office. But of course they never say that they are > >willing to give up all the benefits and comforts that the > hateful world > >of science has given them - like the internet where they can publish > >their rubbish to the hearts content, where no paper and glue > publisher > >would have touched it, and the computers they use to do it > with. This > >despite the fact that it is heretical scientific research > that made it > >all possible. Not one single solitary advance in human > technology has > >come out of the world of religion. Stone tools, metal tools, > >agriculture, writing, you name it, they all came out of human needs. > > > >Lambert > > > >-----Original Message----- > >From: accessd-bounces at databaseadvisors.com > >[mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Charlotte > >Foust > >Sent: Friday, June 10, 2005 4:03 PM > >To: Access Developers discussion and problem solving > >Subject: RE: [AccessD] Friday humour > > > > > >Friends, > > > >In Woody's Lounge, we axe threads like this to avoid > offending anyone, > >however misinformed they might be in their beliefs. Is there an > >equivalent rule in this list? I get very twitchy when conversations > >wander into the areas of religion and politics, since they tend to > >deteriorate into name calling and flames. > > > >Charlotte Foust > > > > > >-----Original Message----- > >From: Heenan, Lambert [mailto:Lambert.Heenan at aig.com] > >Sent: Friday, June 10, 2005 11:49 AM > >To: 'Access Developers discussion and problem solving' > >Subject: RE: [AccessD] Friday humour > > > > > >Anyone care to tell us how the Earth Centric types explain stellar > >parallax? Or do they simply deny its existence as their > various 'good > >books' refer to the 'fixed stars'? > > > > > >-----Original Message----- > >From: accessd-bounces at databaseadvisors.com > >[mailto:accessd-bounces at databaseadvisors.com] On Behalf Of > Elam, Debbie > >Sent: Friday, June 10, 2005 2:39 PM > >To: 'Access Developers discussion and problem solving' > >Subject: RE: [AccessD] Friday humour > > > > > >No it does not throw it out the window, it just makes the lovely and > >simple orbital mechanics equations into monster equations > that take a > >super computer to calculate with any proficiency. Of course those > >other planets just orbit around the sun while the whole mess orbits > >around the Earth ;-). That was the real reason it became > obvious that > >the best method of calculation was to put the sun in the > center of the > >system. The whole mess with the rings was to account for planetary > >movements. It is a little like the headaches caused when you try to > >take the Earth's total motion into account when compared to > the motion > >of another star in the milky way galaxy which is all > rotating around a > >cluster of stars in the galaxy center. Much more pleasant > to break it > >into chunks and consider the solar system a single unit when talking > >about motion with respect to the galaxy. > > > >Debbie > > > >-----Original Message----- > >From: Don Bozarth [mailto:drboz at pacbell.net] > >Sent: Friday, June 10, 2005 1:25 PM > >To: Access Developers discussion and problem solving > >Subject: Re: [AccessD] Friday humour > > > > > >Well, if the solar system is Earth centered, a lot of the > math dealing > >with planetary motion goes right out the window... not to > mention that > >little sniggle called gravity. The math of orbital > mechanics suddenly > >disappears. Were all that math wrong, we could never have made it to > >the Moon, Venus, Mars, Jupiter, Saturn, and Uranus those > places manmade > >satellites have visited. > > > >Don B. > > > >----- Original Message ----- > >From: "Elam, Debbie" > >To: "'Access Developers discussion and problem solving'" > > > >Sent: Friday, June 10, 2005 11:14 AM > >Subject: RE: [AccessD] Friday humour > > > > > > > > > >>Actually they are right. The whole thing comes down to perspective. > >>Of course the math is a heck of a lot easier if you simply consider > >>the sun > >> > >> > >the > > > > > >>center around which the solar system revolves. In this case as many > >> > >> > >others, > > > > > >>why not go with the simplest answer that gives the most correct > >> > >> > >predictions? > > > > > >>Why complicate the issue by insisting that a certain perspective has > >>to be maintained? Groan, no doubt they will call it proof. > Of course > >> > >> > > > > > > > >>the > >> > >> > >reverse > > > > > >>is just as true. No one can prove that the sun revolves around the > >>Earth, but that is a minor detail. > >> > >>Debbie > >> > >>-----Original Message----- > >>From: Jim Lawrence [mailto:accessd at shaw.ca] > >>Sent: Friday, June 10, 2005 1:00 PM > >>To: 'Access Developers discussion and problem solving' > >>Subject: [AccessD] Friday humour > >> > >> > >>Hi All: > >> > >>When first read I thought this was a joke... but I think it is for > >>real; which of course would make it more hilarious. Check this out: > >>http://www.catholicintl.com/epologetics/articles/science/geo > challenge. > >>htm > >> > >>Jim > >> > >>-- > >>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 > >> > >> > >> > > > > > > > > > > -- > 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 Jun 11 02:12:37 2005 From: Gustav at cactus.dk (Gustav Brock) Date: Sat, 11 Jun 2005 09:12:37 +0200 Subject: [AccessD] Iterate through similarlnamed columns in a recordset Message-ID: Hi Arthur It should work, at least in the extended version: For i = 1 to 4 debug.print rs.Fields("Size" & i & "").Value etc. Next /gustav >>> artful at rogers.com 06/11 3:34 am >>> You have a table like this (let's not bring up normalisation)... PK autonumber Size1 long Height1 long Weight1 long (The last three are repeated 3 times, so their last digits are 2, 3 and 4.) Assume the required vars are declared and filled. rs = New ADODB.RecordSet. etc. I want to write a loop something like this: For i = 1 to 4 debug.print rs("Size"&i) etc. Next But I can't seem to get it right. I tried using eval() and various other approaches. Ideas? Arthur From bheygood at abestsystems.com Sat Jun 11 10:28:36 2005 From: bheygood at abestsystems.com (Bob Heygood) Date: Sat, 11 Jun 2005 08:28:36 -0700 Subject: [AccessD] Scrape Word Part II In-Reply-To: <42A9BD16.9050504@shaw.ca> Message-ID: thanks for your response Marty. I started out this time to use custom properties, but am backing away because I can't see how to keep the info the user types in at my prompt in the custom property. think I'll go back to just a simple bookmark, though that is a hassle as it is hard to capture particular info once in a cell of a Word table. bob -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of MartyConnelly Sent: Friday, June 10, 2005 9:17 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Scrape Word Part II As to custom properties you could use the dsofiles.dll, it works for any ole type file mdb,doc,xls,ppt or whatever visio uses, this also works from vb.net, doesn't require word be installed. There is also code to search for text which might be modified for bookmarks but there are two types of word bookmarks. http://www.word.mvps.org/faqs/macrosvba/WorkWithBookmarks.htm You could try searching this site especially the links to other word mvp's like cindy meister I think you will have to poke around to find all the bits and pieces http://word.mvps.org or the main site http://www.mvps.org 'See MSKB and Dsofile.exe Lets You Edit Office Document Properties from Visual Basic and ASP 'Microsoft Knowledge Base Article - 224351 'and download dsofile.exe 'http://support.microsoft.com/?kbid=224351 'Add a reference (Tools | References in the VBE window) to it. ' depending on path where you have installed dsofile.dll 'Put the following in a new module and you should be OK 'Dsofile.dll lets you edit Office document properties without 'Office in Visual Basic .NET 2003 and in Visual Basic .NET 2002 'http://support.microsoft.com/?id=224351 '=========================================================== 'http://www.word.mvps.org/faqs/macrosvba/WorkWithBookmarks.htm Private oFilePropReader As DSOleFile.PropertyReader Private oDocProp As DSOleFile.DocumentProperties Public Sub GetPropsFromDirectory() 'this routine gets all doc files in a directory and shows Line Count and author Dim ffile As String On Error Resume Next 'careful with above line 'this is Quick and Dirty used to avoid missing propereties on some filetypes ' this can be used with microsoft, doc, ppt, xls and mdb files ffile = Dir("c:\wordvba\*.doc") Do While ffile <> "" 'recursive search for sub directories can be written If ffile <> "." And ffile <> ".." Then Set oFilePropReader = New DSOleFile.PropertyReader Set oDocProp = _ oFilePropReader.GetDocumentProperties("c:\wordvba\" & ffile) MsgBox oDocProp.Name & " " & oDocProp.PageCount & _ " pages " & oDocProp.Author With oDocProp Debug.Print "Name " & .Name Debug.Print "Application Name " & .AppName Debug.Print "Author " & .Author Debug.Print "Category " & .Category Debug.Print "Class Id " & .CLSID Debug.Print "Comments " & .Comments Debug.Print "Company " & .Company 'Debug.Print "Custom " & .CustomProperties 'check index values Debug.Print "Create date " & .DateCreated Debug.Print "Last edited " & .DateLastEdited Debug.Print "Last printed " & .DateLastPrinted Debug.Print "Last saved " & .DateLastSaved Debug.Print "Contains Macros " & .HasMacros 'doesn't work with ppt files 'Debug.Print .Icon 'you can view thumbnail in picture object Debug.Print "Read only " & .IsReadOnly Debug.Print "Keywords " & .Keywords Debug.Print "Last edited by " & .LastEditedBy Debug.Print "Line Count " & .LineCount Debug.Print "Location " & .Location Debug.Print "Manager " & .Manager Debug.Print "Page Count " & .PageCount Debug.Print "Paragraphs "; .ParagraphCount Debug.Print "Program Id " & .ProgId Debug.Print "Revision No. " & .RevisionNumber Debug.Print "Slides "; .SlideCount Debug.Print "Subject " & .Subject Debug.Print "Title " & .Title Debug.Print "Version " & .Version Debug.Print "WordCount " & .WordCount Debug.Print "Char Cnt " & .CharacterCount Debug.Print " " End With ffile = Dir() Set oDocProp = Nothing Set oFilePropReader = Nothing End If Loop End Sub Here is some quick and dirty code that opens a Word doc from inside Access, searches for the string "special code:" and sets a string variable equal to the sentence that follows the code string. If your documents all have the same string you can find that string and select words, sentences or paragraphs that come after it. from Jim Hale Function LiftText() Dim wd As Word.Application, strPhrase As String, strFindphrase As String strFindphrase = "special code:" Set wd = New Word.Application wd.Documents.Open "C:\Test.doc" wd.Visible = True wd.Selection.Find.ClearFormatting With wd.Selection.Find .Text = strFindphrase .Replacement.Text = "" .Forward = True .Wrap = wdFindContinue .Format = False .MatchCase = False .MatchWholeWord = False .MatchWildcards = False .MatchSoundsLike = False .MatchAllWordForms = False End With wd.Selection.Find.Execute wd.Selection.Start = wd.Selection.End Call wd.Selection.EndOf(wdSentence, wdExtend) strPhrase = wd.Selection MsgBox "Look what I found: " & strPhrase wd.ActiveDocument.Close wd.Quit Set wd = Nothing End Function Bob Heygood wrote: >thanks Jim. >I have looked before at Helen's code. Lots of great stuff there. > >bob > > > >-----Original Message----- >From: accessd-bounces at databaseadvisors.com >[mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Hale, Jim >Sent: Wednesday, June 08, 2005 8:17 AM >To: 'Access Developers discussion and problem solving' >Subject: RE: [AccessD] Scrape Word Part II > > >At the very bottom of this link Helen Feddema has some code that may help >you. >http://www.helenfeddema.com/CodeSamples.htm > >Jim Hale > >-----Original Message----- >From: Bob Heygood [mailto:bheygood at abestsystems.com] >Sent: Wednesday, June 08, 2005 8:35 AM >To: Access Developers discussion and problem solving >Subject: [AccessD] Scrape Word Part II > > >Hello to the list, > >Well, my project is alive again. This time I have the luxury of being able >to create the Word document from which I need to cull the info. I still need >to have a Word table but I can create bookmarks or whatever within the table >in the document. >To recap I need to import 10 pieces of text from a Word document and store >them in a mdb table. >Jim Hale's code below worked really good except that we were pressed for >time and did not ever get it to work in all areas of the Word doc. >So my first question is how to search the Word doc to find the text, >bookmarks, fields, custom properties or ???? > > >TIA, > >Bob Heygood > >-----Original Message----- >From: accessd-bounces at databaseadvisors.com >[mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Hale, Jim >Sent: Monday, April 18, 2005 8:54 AM >To: 'Access Developers discussion and problem solving' >Subject: RE: [AccessD] Scrape Word > > >Whatever it takes to get the job done! Sorry I couldn't be more help. >Jim Hale > >-----Original Message----- >From: Bob Heygood [mailto:bheygood at abestsystems.com] >Sent: Monday, April 18, 2005 10:09 AM >To: Access Developers discussion and problem solving >Subject: RE: [AccessD] Scrape Word > > >Thanks Jim >I finally just ran the job as it took about 4 hours to process 256 >documents. >it is a one time deal and the customer needed to have the results. > >your help was fantastic. > >bob > > > >-----Original Message----- >From: accessd-bounces at databaseadvisors.com >[mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Hale, Jim >Sent: Friday, April 15, 2005 3:18 PM >To: 'Access Developers discussion and problem solving' >Subject: RE: [AccessD] Scrape Word > > >I'll look at it some more on Monday. You might examine the selection object >in the Word application. It has numerous properties and methods one or more >of which should do the trick. >Jim Hale > >-----Original Message----- >From: Bob Heygood [mailto:bheygood at abestsystems.com] >Sent: Friday, April 15, 2005 4:52 PM >To: Access Developers discussion and problem solving >Subject: RE: [AccessD] Scrape Word > > >yes in a table cell. >again your code is working super. >but only grabs the first word, sometimes there is more than one word in the >cell, and I would like to capture all of them. >if you have thought, I would welcome it. > > >again I tried to manipulate the code further but it acts very erratic when >in a table cell. > >thanks for the great help. > >bob > > >-----Original Message----- >From: accessd-bounces at databaseadvisors.com >[mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Hale, Jim >Sent: Thursday, April 14, 2005 12:53 PM >To: 'Access Developers discussion and problem solving' >Subject: RE: [AccessD] Scrape Word > > >So the data you want (including the search string) is in a table cell? In >the code I sent you delete > wd.Selection.Start = wd.Selection.End > Call wd.Selection.EndOf(wdSentence, wdExtend) > >and replace with > wd.Selection.Next(Unit:=wdWord, Count:=1).Select > >Or if the entire string is returned you can replace the search string with >an empty string "" using the following function: > >Function ReplaceString(strTextIn As String, strFind As String, strReplace As >String, fCaseSensitive As Boolean) As String > > Dim strTmp As String > Dim intPos As Integer > Dim intCaseSensitive As Integer > > intCaseSensitive = IIf(fCaseSensitive, 2, 1) > > strTmp = strTextIn > intPos = InStr(1, strTmp, strFind, intCaseSensitive) > > Do While intPos > 0 > strTmp = Left$(strTmp, intPos - 1) & strReplace & Mid$(strTmp, intPos + >Len(strFind)) > intPos = InStr(intPos + Len(strReplace), strTmp, strFind, >intCaseSensitive) > Loop > > ReplaceString = strTmp > >End Function > >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 > >*********************************************************************** >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. > > > > -- 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 Sun Jun 12 02:22:02 2005 From: KP at sdsonline.net (Kath Pelletti) Date: Sun, 12 Jun 2005 17:22:02 +1000 Subject: [AccessD]Error loading picture Message-ID: <004601c56f1f$6e8c6090$6601a8c0@user> Re: this problem: >When the user opens a form which attempts to load a .jpg or .gif picture the system come up with "...the database doesn't support the format of >'E:\Database\Photos\Peru.jpg' so it can't load the picture. I found a bizarre solution in a line on the Lebans website to the effect that if the file extension is upper case it is treated differently by Access to it being in lower case. Disbelieving, I tried it and it works. If I change the file extension of the 350 photos which this system uses (which I can do with one DOS command) from .jpg to .JPG then Access manages to load them correctly. It's a bit of a bizarre solution but having uninstalled and re-installed the graphics filters for Office twice, then doing a complete re-installation of Office I am relieved to find any kind of a simple solution. BTW - Marty - I did spend some tine on this: http://www.lebans.com/loadjpeg?gif.htm but found that it was difficult to follow. Have you used it? Kath ______________________________________________ Kath Pelletti Software Design & Solutions Pty Ltd. Ph: 9505-6714 Fax: 9505-6430 KP at SDSOnline.net From artful at rogers.com Sun Jun 12 15:46:12 2005 From: artful at rogers.com (Arthur Fuller) Date: Sun, 12 Jun 2005 16:46:12 -0400 Subject: [AccessD] Access SaveAs command In-Reply-To: <6.2.1.2.0.20050605104652.040f9d38@incoming.verizon.net> References: <010d01c56601$38f04cc0$6501a8c0@HAL9004> <6.2.1.2.0.20050605104652.040f9d38@incoming.verizon.net> Message-ID: <42AC9F14.4020600@rogers.com> Assume a report Arthur_rpt, which is scoped by the currently selected PK. I want to create an HTML file from said rpt and save it to a name derived from the PK (i.e. 12345-T1-20050612). What is the command to to do this? I have read the Access help and a few related docs and still cannot deduce what I am to do, nor where I am to do it. The exact scenario: a) I have a Word template AF001.dot. b) from this, in Access and using the Word object model, I create a new Word doc and populate various bookmarks with data. c) What remains to do is fill in three tables in the created doc with rows derived from the principal or ancillary queries. The template has the table already created, with its headers etc. Now supposing that the query returns 8 rows; I need to add 8 rows to the table to contain the retrieved data. On my reading, mail-merge was not designed to do this. It assumes instead that each row corresponds to one document. Let me reiterate to make my requirements as clear as possible. a) I have an Access report which behaves correctly (i.e. retrieves the data desired and places it in the places desired. b) I have a Word template containing a bunch of boilerplate and places for N tables., which correspond exactly to the subforms in the Access report aforementioned. c) Assume N tables that must be embedded in the Word doc. Assume also that any of these may contain no rows -- in which case the table(s) must be remdered invisible. I have been looking at the mailmerge docs, the Word objiect-model docs, and so on, and I still don;t have a clear handle on this. I know exactly what I want to do, and will try to express iti clearly below. I iust can't see the way to do it. Access PK = 12345 SubTable 1 SubTable 2 SubTable 1.1 Most of the Word doc is boilerplate (but even then. conditionals are at play). Here and there in the DOT file are bookmarks, which I populate without difficulty. The issues I have arise with the embedded tables. For simplicity's sake. assume one template containing two tables. each of whose length varies from doc to doc. Table 1 must be formatted in this way (3 cols) while Table 2 must be formatted in that way (4 cols). The kludge that works is sickening as judged from my peers' pov... so don't waste our bandwidth bitching about that. What I do at the moment (permission granted to laugh) is gen an HTML file of the requisite tables then import that into the actual document. It sucks I admit but it works. for now. I need this all to become a one-button no-brainder for the users to use. Recipe" 1 Word Template with both bookmarks (simple) and slots for tables 2. Access tabular outputs in whatever form will work best 3. Drop the tables into the doc and allow the user to save it to a suggeted name. Table A might have one row; Table B might have 3 rows for every row in T1. I can make this happen manually (i.e. intervening with keystrokes) but I need to automate it. Any suggestions? TIA, Arthur From martyconnelly at shaw.ca Sun Jun 12 16:14:26 2005 From: martyconnelly at shaw.ca (MartyConnelly) Date: Sun, 12 Jun 2005 14:14:26 -0700 Subject: [AccessD]Error loading picture References: <004601c56f1f$6e8c6090$6601a8c0@user> Message-ID: <42ACA5B2.6090104@shaw.ca> Actually it is a bit more bizarre You don't have to change the actual physical filename extension case. Just change the filename string or just the extension part via UCase or LCase when you pass to the Picture property of the Image control. lower case bypasses Office Graphics filters, something to do with metafiles in the image. If the file extension is in uppercase then the Office Graphicsfilters will be used to load the image. You can also download and install, if something has gone wrong with your filters. Office File Converter Pack OCONVPCK.EXE This download provides file converters and image filters for Microsoft Office programs, from Microsoft Office 97 to Microsoft Office 2003. It depends on what version of office is installed. http://www.microsoft.com/downloads/details.aspx?FamilyID=cf196df0-70e5-4595-8a98-370278f40c57&DisplayLang=en Info here http://office.microsoft.com/en-us/assistance/HA011513581033.aspx If you use Lebans method (a bit convoluted) to get .jpeg extensions make this change in Function fLoadPicture Select Case right$(strfName, 3) Case "bmp", "dib", "Gif", "emf", "Wmf", "ico", "cur", "jpg", "peg" I gave up using jpegs for other reasons, I was getting microfilm images and so used djvu format as it can be up to 10 times smaller on black and white text type images and has a text searchable metafile plugins. Some University libraries are using for historical archive display on the web. Things like old manuscripts and folios. http://www.djvuzone.org/wid/index.html http://www.djvuzone.org/ Kath Pelletti wrote: >Re: this problem: > > > >>When the user opens a form which attempts to load a .jpg or .gif picture the system come up with "...the database doesn't support the format of >>'E:\Database\Photos\Peru.jpg' so it can't load the picture. >> >> > >I found a bizarre solution in a line on the Lebans website to the effect that if the file extension is upper case it is treated differently by Access to it being in lower case. Disbelieving, I tried it and it works. If I change the file extension of the 350 photos which this system uses (which I can do with one DOS command) from .jpg to .JPG then Access manages to load them correctly. > >It's a bit of a bizarre solution but having uninstalled and re-installed the graphics filters for Office twice, then doing a complete re-installation of Office I am relieved to find any kind of a simple solution. > >BTW - Marty - I did spend some tine on this: http://www.lebans.com/loadjpeg?gif.htm but found that it was difficult to follow. Have you used it? > >Kath > >______________________________________________ >Kath Pelletti >Software Design & Solutions Pty Ltd. >Ph: 9505-6714 >Fax: 9505-6430 >KP at SDSOnline.net > > -- Marty Connelly Victoria, B.C. Canada From pedro at plex.nl Sun Jun 12 16:50:37 2005 From: pedro at plex.nl (Pedro Janssen) Date: Sun, 12 Jun 2005 23:50:37 +0200 Subject: [AccessD] invalid number of arguments Message-ID: <002a01c56f98$c62e6a90$fac581d5@pedro> Hello Group, i am using a function that Neil Kling provided me in the past. When running it from an expression i get an error: Invalid number of arguments. Who can help me with this Pedro Janssen Function DeleteTableLink(strTableName As String) As Boolean On Error GoTo Err_DeleteTableLink Dim db As Database strTableName = "tblDebiteurAlgemeen" Set db = DBEngine(0)(0) db.TableDefs.Delete strTableName db.TableDefs.Refresh DeleteTableLink = True Exit_DeleteTableLink: Exit Function Err_DeleteTableLink: Select Case Err Case 0 'insert Errors you wish to ignore here Resume Next Case 3265 'Item doesn't exist in collection Resume Next Case Else 'All other errors will trap Beep MsgBox Err.Number & "; " & Err.Description, , "Error in function basObjectHandlers.DeleteTableLink" Resume Exit_DeleteTableLink End Select Resume 0 'FOR TROUBLESHOOTING End Function From mmattys at rochester.rr.com Sun Jun 12 18:13:08 2005 From: mmattys at rochester.rr.com (Michael R Mattys) Date: Sun, 12 Jun 2005 19:13:08 -0400 Subject: [AccessD] invalid number of arguments References: <002a01c56f98$c62e6a90$fac581d5@pedro> Message-ID: <017001c56fa4$4d7685e0$0202a8c0@default> ----- Original Message ----- From: "Pedro Janssen" To: Sent: Sunday, June 12, 2005 5:50 PM Subject: [AccessD] invalid number of arguments Hello Group, i am using a function that Neil Kling provided me in the past. When running it from an expression i get an error: Invalid number of arguments. Who can help me with this ------ Pedro, It should be db.TableDefs(strTableName).Delete ---- Michael R. Mattys Mattys MapLib for Microsoft MapPoint http://www.mattysconsulting.com From lists at theopg.com Sun Jun 12 18:19:13 2005 From: lists at theopg.com (MarkH) Date: Mon, 13 Jun 2005 00:19:13 +0100 Subject: [AccessD] invalid number of arguments In-Reply-To: <017001c56fa4$4d7685e0$0202a8c0@default> Message-ID: <000501c56fa5$26b3c610$b20b6bd5@netboxxp> Have you checked strTableName is <>"" Mark -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Michael R Mattys Sent: 13 June 2005 00:13 To: Access Developers discussion and problem solving Subject: Re: [AccessD] invalid number of arguments ----- Original Message ----- From: "Pedro Janssen" To: Sent: Sunday, June 12, 2005 5:50 PM Subject: [AccessD] invalid number of arguments Hello Group, i am using a function that Neil Kling provided me in the past. When running it from an expression i get an error: Invalid number of arguments. Who can help me with this ------ Pedro, It should be db.TableDefs(strTableName).Delete ---- Michael R. Mattys Mattys MapLib for Microsoft MapPoint http://www.mattysconsulting.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- Internal Virus Database is out-of-date. Checked by AVG Anti-Virus. Version: 7.0.308 / Virus Database: 267.6.4 - Release Date: 06/06/2005 -- Internal Virus Database is out-of-date. Checked by AVG Anti-Virus. Version: 7.0.308 / Virus Database: 267.6.4 - Release Date: 06/06/2005 From stuart at lexacorp.com.pg Sun Jun 12 19:30:56 2005 From: stuart at lexacorp.com.pg (Stuart McLachlan) Date: Mon, 13 Jun 2005 10:30:56 +1000 Subject: [AccessD] Access SaveAs command In-Reply-To: <42AC9F14.4020600@rogers.com> References: <6.2.1.2.0.20050605104652.040f9d38@incoming.verizon.net> Message-ID: <42AD6060.22471.294D4D@stuart.lexacorp.com.pg> On 12 Jun 2005 at 16:46, Arthur Fuller wrote: > Assume a report Arthur_rpt, which is scoped by the currently selected > PK. I want to create an HTML file from said rpt and save it to a name > derived from the PK (i.e. 12345-T1-20050612). What is the command to to > do this? I have read the Access help and a few related docs and still > cannot deduce what I am to do, nor where I am to do it. > I gave up on trying to export reports to HTML. You get horribly bloated HTML. The worst part is that Access creates a new table for every row and bases the cell widths on the contents of that row so rows NEVER line up properly. I use VBA code to Print the HTML code directly to file from the original recordset. That way have total control of the end product. Something like: Open "12345-T1-20050612.htm" for Output as #1 Print #1 "" Print #1 "" Print #1 "" ...... Print #1, "" Print #1, "" ........ ........ Print #1 "" While not rs.eof Print #1,"" & _ "" & _ "" & _ "" & _ ............. " rs.movenext Wend Print #1,"
" & rs(0) & "
" & rs(1) & "" & rs(2) & "
........................ ........................ Print "" Print " -- Stuart From adtp at touchtelindia.net Mon Jun 13 00:19:22 2005 From: adtp at touchtelindia.net (A.D.Tejpal) Date: Mon, 13 Jun 2005 10:49:22 +0530 Subject: [AccessD] Generating a rownumber field in a query References: Message-ID: <006e01c56fd8$1819a4c0$351865cb@winxp> Bruce, So long as the source table has a primary key field, simplified function Fn_RowNum() as given below, gets sequential row numbers, starting from 1. Its use in a sample query is demonstrated below. This function has an additional advantage that the output is stable as compared to alternatives using increments to static or global variables, where the results are volatile, prone to change with repeat navigation (up and down) through the column concerned. Q_Source is the source query (where contents of source table / tables are duly collected and sorted as desired), while ID is the name of primary key field in source table. If raw data in a single source table is desired to be used directly, without any sorting, name of this table can be used (in lieu of Q_Source), in the sample query given below. Best wishes, A.D.Tejpal -------------- Sample Query (for generating sequential row numbers) Based upon source query Q_Source. (ID is the name of primary key field). ===================================== SELECT Q_Source.*, Fn_RowNum("Q_Source","ID",[ID]) AS RowNum FROM Q_Source; ===================================== Fn_RowNum() - User defined function ===================================== Function Fn_RowNum(ByVal QueryName As String, _ ByVal PrimaryKeyName As String, _ ByVal PrimaryKeyValue As Long) As Long ' Returns Row number for the record having primary key field ' named PrimaryKeyName with a value = PrimaryKeyValue, ' in source query named QueryName Dim Rct As Long Dim rst As DAO.Recordset Rct = 0 Set rst = CurrentDb.OpenRecordset(QueryName) rst.FindFirst PrimaryKeyName & " = " & PrimaryKeyValue If Not rst.NoMatch Then Rct = rst.AbsolutePosition + 1 End If Fn_RowNum = Rct rst.Close Set rst = Nothing End Function ===================================== ----- Original Message ----- From: Bruen, Bruce To: AccessD at databaseadvisors.com Sent: Friday, June 10, 2005 07:38 Subject: [AccessD] Generating a rownumber field in a query Hi folks, I want to output a sequence number as a field in a query result. Everytime the query runs it should restart the sequence number from 1. The query appends rows to a "testscript" table, every new test cycle we generate a new set of test scripts which is made up of all the tests in the previous cycle plus new tests that were added during the execution of the last cycle. The natural key for the output table is the cycle number + the sequence number. Cycle Seq Testname ..... 1 1 blah 1 2 blah blah ... 2 1 blah blah 2 2 blah blah blah etc The cycle number is input as a parameter to the append query. But how can I generate the sequence numbers? tia bruce From roz.clarke at donnslaw.co.uk Mon Jun 13 04:28:38 2005 From: roz.clarke at donnslaw.co.uk (Roz Clarke) Date: Mon, 13 Jun 2005 10:28:38 +0100 Subject: [AccessD] MODERATOR NEEDED NOW!!! /was Friday humour Message-ID: <61F915314798D311A2F800A0C9C8318807225B3A@dibble.observatory.donnslaw.co.uk> Hi all As a general reminder, please everyone - if you need to refer a thread to the mods and none seem to be around, email us at ops-mod at databaseadvisors.com. Thanks Roz -----Original Message----- From: Susan Harkins [mailto:ssharkins at bellsouth.net] Sent: 10 June 2005 22:54 To: 'Access Developers discussion and problem solving' Subject: RE: [AccessD] MODERATOR NEEDED NOW!!! /was Friday humour If you need a second, I'll second that, and third it, and fourth it... Frankly, Lambert was rather tart, even by OT standards! ;) Susan H. ..can somebody with a smattering of common sense please delete this. ..OT is the place for this ...not AccessD. -- 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 carbonnb at gmail.com Mon Jun 13 06:47:39 2005 From: carbonnb at gmail.com (Bryan Carbonnell) Date: Mon, 13 Jun 2005 07:47:39 -0400 Subject: [AccessD] MODERATOR NEEDED NOW!!! /was Friday humour In-Reply-To: <61F915314798D311A2F800A0C9C8318807225B3A@dibble.observatory.donnslaw.co.uk> References: <61F915314798D311A2F800A0C9C8318807225B3A@dibble.observatory.donnslaw.co.uk> Message-ID: On 6/13/05, Roz Clarke wrote: > As a general reminder, please everyone - if you need to refer a thread to > the mods and none seem to be around, email us at > ops-mod at databaseadvisors.com. Actually, only Moderators can post to ops-mod at databaseadvisors.com. It's a closed list for the mods only. Please sned a note to one or more of the moderators listed at http://www.databaseadvisors.com/lists/moderators.htm -- 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 pedro at plex.nl Mon Jun 13 07:39:33 2005 From: pedro at plex.nl (Pedro Janssen) Date: Mon, 13 Jun 2005 14:39:33 +0200 Subject: [AccessD] invalid number of arguments References: <000501c56fa5$26b3c610$b20b6bd5@netboxxp> Message-ID: <001501c57014$f50b4320$fac581d5@pedro> Hello Mark, if you mean; when the strTableName is empty, it gives an error, can't fnd table. Otherwise i don't know what you mean. Pedro Janssen ----- Original Message ----- From: "MarkH" To: "'Access Developers discussion and problem solving'" Sent: Monday, June 13, 2005 1:19 AM Subject: RE: [AccessD] invalid number of arguments > Have you checked strTableName is <>"" > > Mark > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Michael R > Mattys > Sent: 13 June 2005 00:13 > To: Access Developers discussion and problem solving > Subject: Re: [AccessD] invalid number of arguments > > > ----- Original Message ----- > From: "Pedro Janssen" > To: > Sent: Sunday, June 12, 2005 5:50 PM > Subject: [AccessD] invalid number of arguments > > > Hello Group, > > i am using a function that Neil Kling provided me in the past. When > running it from an expression i get an error: > > Invalid number of arguments. > > Who can help me with this > > ------ > > Pedro, > > It should be > > db.TableDefs(strTableName).Delete > > ---- > > Michael R. Mattys > Mattys MapLib for Microsoft MapPoint > http://www.mattysconsulting.com > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > > -- > Internal Virus Database is out-of-date. > Checked by AVG Anti-Virus. > Version: 7.0.308 / Virus Database: 267.6.4 - Release Date: 06/06/2005 > > > -- > Internal Virus Database is out-of-date. > Checked by AVG Anti-Virus. > Version: 7.0.308 / Virus Database: 267.6.4 - Release Date: 06/06/2005 > > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > From pedro at plex.nl Mon Jun 13 07:41:37 2005 From: pedro at plex.nl (Pedro Janssen) Date: Mon, 13 Jun 2005 14:41:37 +0200 Subject: [AccessD] invalid number of arguments References: <002a01c56f98$c62e6a90$fac581d5@pedro> <017001c56fa4$4d7685e0$0202a8c0@default> Message-ID: <001901c57015$3ddf5dc0$fac581d5@pedro> Hello Michael, when using db.TableDefs(strTableName).Delete it gives an compile-error: Can't find methode or member. Any other ideas. Pedro Janssen ----- Original Message ----- From: "Michael R Mattys" To: "Access Developers discussion and problem solving" Sent: Monday, June 13, 2005 1:13 AM Subject: Re: [AccessD] invalid number of arguments > ----- Original Message ----- > From: "Pedro Janssen" > To: > Sent: Sunday, June 12, 2005 5:50 PM > Subject: [AccessD] invalid number of arguments > > > Hello Group, > > i am using a function that Neil Kling provided me in the past. > When running it from an expression i get an error: > > Invalid number of arguments. > > Who can help me with this > > ------ > > Pedro, > > It should be > > db.TableDefs(strTableName).Delete > > ---- > > Michael R. Mattys > Mattys MapLib for Microsoft MapPoint > http://www.mattysconsulting.com > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > From nkling at co.montgomery.ny.us Mon Jun 13 07:52:02 2005 From: nkling at co.montgomery.ny.us (Neal Kling) Date: Mon, 13 Jun 2005 08:52:02 -0400 Subject: [AccessD] invalid number of arguments Message-ID: <30BC111F638EB54082001A7E7282FE4107F3BE@elmo.co.montgomery.ny.us> I see you're setting the table variable right in the function. But the function it's self is still expecting you to pass a table name. I suspect this may be where you are having a problem. Either redeclare the function without the strTableName parameter, or pass it the table name. In other words instead of setting strTableName in the function, call the function like this: DeleteTableLink "tblDebiteurAlgemeen" Don't forget to comment out the line strTableName = "tblDebiteurAlgemeen" Neal -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Pedro Janssen Sent: Sunday, June 12, 2005 5:51 PM To: AccessD at databaseadvisors.com Subject: [AccessD] invalid number of arguments Hello Group, i am using a function that Neil Kling provided me in the past. When running it from an expression i get an error: Invalid number of arguments. Who can help me with this Pedro Janssen Function DeleteTableLink(strTableName As String) As Boolean On Error GoTo Err_DeleteTableLink Dim db As Database strTableName = "tblDebiteurAlgemeen" Set db = DBEngine(0)(0) db.TableDefs.Delete strTableName db.TableDefs.Refresh DeleteTableLink = True Exit_DeleteTableLink: Exit Function Err_DeleteTableLink: Select Case Err Case 0 'insert Errors you wish to ignore here Resume Next Case 3265 'Item doesn't exist in collection Resume Next Case Else 'All other errors will trap Beep MsgBox Err.Number & "; " & Err.Description, , "Error in function basObjectHandlers.DeleteTableLink" Resume Exit_DeleteTableLink End Select Resume 0 'FOR TROUBLESHOOTING End Function -- 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 Mon Jun 13 08:01:41 2005 From: roz.clarke at donnslaw.co.uk (Roz Clarke) Date: Mon, 13 Jun 2005 14:01:41 +0100 Subject: [AccessD] MODERATOR NEEDED NOW!!! /was Friday humour Message-ID: <61F915314798D311A2F800A0C9C8318807225B3E@dibble.observatory.donnslaw.co.uk> oops /sheepish grin -----Original Message----- From: Bryan Carbonnell [mailto:carbonnb at gmail.com] Sent: 13 June 2005 12:48 To: Access Developers discussion and problem solving Subject: Re: [AccessD] MODERATOR NEEDED NOW!!! /was Friday humour On 6/13/05, Roz Clarke wrote: > As a general reminder, please everyone - if you need to refer a thread > to the mods and none seem to be around, email us at > ops-mod at databaseadvisors.com. Actually, only Moderators can post to ops-mod at databaseadvisors.com. It's a closed list for the mods only. Please sned a note to one or more of the moderators listed at http://www.databaseadvisors.com/lists/moderators.htm -- Bryan Carbonnell - carbonnb at gmail.com Life's journey is not to arrive at the grave safely in a well preserved body, but rather to skid in sideways, totally worn out, shouting "What a great ride!" -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -------------- 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 mmattys at rochester.rr.com Mon Jun 13 08:13:33 2005 From: mmattys at rochester.rr.com (Michael R Mattys) Date: Mon, 13 Jun 2005 09:13:33 -0400 Subject: [AccessD] invalid number of arguments References: <002a01c56f98$c62e6a90$fac581d5@pedro> <017001c56fa4$4d7685e0$0202a8c0@default> <001901c57015$3ddf5dc0$fac581d5@pedro> Message-ID: <00c101c57019$b79955e0$0202a8c0@default> Pedro, Sorry. This is how I remove linked tables: To make it so that you remove only specific tables you modify it so that you end up with Neal's function. Function RemoveLinkedTbls() Dim db As DAO.Database, tdf As DAO.TableDef Set db = CurrentDb For Each tdf In db.TableDefs If tdf.Connect <> "" Then DoCmd.DeleteObject acTable, tdf.Name End If Next Set db = Nothing End Function ---- Michael R. Mattys Mattys MapLib for Microsoft MapPoint http://www.mattysconsulting.com ----- Original Message ----- From: "Pedro Janssen" To: "Access Developers discussion and problem solving" Sent: Monday, June 13, 2005 8:41 AM Subject: Re: [AccessD] invalid number of arguments > Hello Michael, > > when using db.TableDefs(strTableName).Delete it gives an compile-error: > Can't find methode or member. > > Any other ideas. > > Pedro Janssen > > > > ----- Original Message ----- > From: "Michael R Mattys" > To: "Access Developers discussion and problem solving" > > Sent: Monday, June 13, 2005 1:13 AM > Subject: Re: [AccessD] invalid number of arguments > > > > ----- Original Message ----- > > From: "Pedro Janssen" > > To: > > Sent: Sunday, June 12, 2005 5:50 PM > > Subject: [AccessD] invalid number of arguments > > > > > > Hello Group, > > > > i am using a function that Neil Kling provided me in the past. > > When running it from an expression i get an error: > > > > Invalid number of arguments. > > > > Who can help me with this > > > > ------ > > > > Pedro, > > > > It should be > > > > db.TableDefs(strTableName).Delete > > > > ---- > > > > Michael R. Mattys > > Mattys MapLib for Microsoft MapPoint > > http://www.mattysconsulting.com > > -- > > AccessD mailing list > > AccessD at databaseadvisors.com > > http://databaseadvisors.com/mailman/listinfo/accessd > > Website: http://www.databaseadvisors.com > > > > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com From dkalsow at yahoo.com Mon Jun 13 09:40:53 2005 From: dkalsow at yahoo.com (Dale Kalsow) Date: Mon, 13 Jun 2005 07:40:53 -0700 (PDT) Subject: [AccessD] Friday humour In-Reply-To: <7B1961ED924D1A459E378C9B1BB22B4C0492C98D@natexch.jenkens.com> Message-ID: <20050613144053.92498.qmail@web50409.mail.yahoo.com> Good Morning Everyone, Some one told me I can create a visio document and then from visio create my SQL tables. Does anyone know who to do this? Does it also work for MS Access? Can I also go from SQL or Access and have my table documented in Visio? Thanks! Dale --------------------------------- Discover Yahoo! Find restaurants, movies, travel & more fun for the weekend. Check it out! From andy at minstersystems.co.uk Mon Jun 13 09:46:05 2005 From: andy at minstersystems.co.uk (Andy Lacey) Date: Mon, 13 Jun 2005 15:46:05 +0100 Subject: [AccessD] Friday humour Message-ID: <20050613144601.DCEF424E637@smtp.nildram.co.uk> Hi Dale Sorry but I don't get it. It must be the way you tell 'em. (I think you need to change the Subject) -- 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] Friday humour Date: 13/06/05 14:42 > > > Good Morning Everyone, > > Some one told me I can create a visio document and then from visio create my SQL tables. Does anyone know who to do this? Does it also work for MS Access? Can I also go from SQL or Access and have my table documented in Visio? > > > > Thanks! > > Dale > > > > > --------------------------------- > Discover Yahoo! > Find restaurants, movies, travel & more fun for the weekend. Check it out! > -- > 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 mikedorism at verizon.net Mon Jun 13 10:41:09 2005 From: mikedorism at verizon.net (Mike & Doris Manning) Date: Mon, 13 Jun 2005 11:41:09 -0400 Subject: [AccessD] Visio Database Question In-Reply-To: <20050613144053.92498.qmail@web50409.mail.yahoo.com> Message-ID: <001701c5702e$52a4b660$2f01a8c0@hargrove.internal> You need Visio Professional. It does work\s with both Access and SQL Server. The template you want is the Database Model Diagram. Doris Manning Database Administrator Hargrove Inc. www.hargroveinc.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Dale Kalsow Sent: Monday, June 13, 2005 10:41 AM To: Access Developers discussion and problem solving Subject: RE: [AccessD] Friday humour Good Morning Everyone, Some one told me I can create a visio document and then from visio create my SQL tables. Does anyone know who to do this? Does it also work for MS Access? Can I also go from SQL or Access and have my table documented in Visio? Thanks! Dale --------------------------------- Discover Yahoo! Find restaurants, movies, travel & more fun for the weekend. Check it out! -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From zding at symphonyinfo.com Mon Jun 13 12:01:20 2005 From: zding at symphonyinfo.com (Zhaoxin Ding) Date: Mon, 13 Jun 2005 12:01:20 -0500 Subject: [AccessD] automated response Message-ID: <10506131201.AA52723292@symphonyinfo.com> I am presently out on maternity leave from Symphony Information Services, L.L.C. and will not be returning to work until August 1st - in my absence all emails are being routed to Debbie Cramer, our Project Manager, who will route your request to the appropriate party to handle your request. We are sorry for any inconvenience this delay may cause your organization but someone will get back to you as soon as possible. Thank you! From Drawbridge.Jack at ic.gc.ca Mon Jun 13 13:53:01 2005 From: Drawbridge.Jack at ic.gc.ca (Drawbridge, Jack: #CIO - BPI) Date: Mon, 13 Jun 2005 14:53:01 -0400 Subject: [AccessD] Automating - IE6 - File Save As -- Marty Message-ID: <0F3AFAE449DD4A40BED8B6C4A97ABF5B0298AABE@MSG-MB3.icent.ic.gc.ca> Marty Thanks for info. It's close to what I'm looking for. Have not seen the ".queryCommandEnabled" or ".execCommand" In your code 'or alternate method that security may clobber, saves everthing with fileopen box used -With objExplorer.Document -If .queryCommandEnabled("saveAs") Then .execCommand "saveAs", False, "C:\temp\myurl.htm" -End With I'm trying to actually use File SaveAs Webpage, Complete. If you manually do a File SaveAs in Internet explorer, you'll see other options than (htm,html). Your technique gives me (htm, html). Can you see any means of supplying/gettign other options? Thanks jack -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of MartyConnelly Sent: Friday, June 10, 2005 6:40 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Automating - IE6 - File Save As -- Marty You maynot be able to do this for security reasons on second method. Ran this okay from WinXP SP2, Access97, IE6.0.2900 xpsp2 patches Here are two ways. 'This gets around security limitations 'will only save between tags CreateObject("Scripting.FileSystemObject").OpenTextFile("C:\temp\myurlsaved.htm", 2, True).Write _ objExplorer.Document.Body.innerHTML 'or alternate method that security may clobber, saves everthing with fileopen box used With objExplorer.Document If .queryCommandEnabled("saveAs") Then .execCommand "saveAs", False, "C:\temp\myurl.htm" End With Anywho here is some rough test code, that works both ways. You can throw out all the commented objdocument code at bottom. Sub testIESave(strpassHTML As String) '------------------ 'testIESave "http://www.Viescas.com/" Dim objExplorer As Object Dim objDocument As Object Dim strComputer As String Dim strReturn As String Set objExplorer = CreateObject("InternetExplorer.Application") 'objExplorer.navigate "about:blank" objExplorer.navigate strpassHTML objExplorer.Toolbar = 1 'or 0 to turnoff toolbar turned off maynot save all html source objExplorer.StatusBar = 0 objExplorer.Width = 800 objExplorer.Height = 570 objExplorer.Left = 0 objExplorer.Top = 0 objExplorer.Visible = 1 'dont't need to navigate to file or http site 'just drop html string in document object 'objExplorer.Navigate "file://c:\temp\test.html" 'objExplorer.Navigate "http://www.Viescas.com/" 'objExplorer.Navigate "http://checkip.dyndns.org/" Do While (objExplorer.Busy) Loop Dim webtx As String Dim strHTML As String 'will only save between tags CreateObject("Scripting.FileSystemObject").OpenTextFile("C:\temp\myurlsmall.htm", 2, True).Write _ objExplorer.Document.Body.innerHTML 'alternate method security may clobber saves everything With objExplorer.Document If .queryCommandEnabled("saveAs") Then .execCommand "saveAs", False, "C:\temp\myurl.htm" End With 'Set objDocument = objExplorer.Document 'objDocument.Open 'objDocument.writeln "My Continuous Pictures" 'you probably don't need all this but you could throw in some css 'objDocument.writeln "" 'objDocument.writeln "" 'objDocument.writeln "" 'objDocument.writeln "" 'objDocument.writeln "" 'objDocument.writeln "
Pictures
" 'objDocument.writeln "

Method #2:

" 'objDocument.writeln strpassHTML 'objDocument.writeln "" 'objDocument.Write() 'objDocument.Close 'MsgBox "finished" Set objExplorer = Nothing Set objDocument = Nothing End Sub Drawbridge, Jack: #CIO - BPI wrote: >Have had no responses with original post. I believe it is a question of automating IE, and how to get to CommonDialog in order to do the File Save As. > >IE does a fantastic job of removing relative links and downloading a clean set of files when using the File Save As webpage complete option. I do not want to do the File saves manually. There must be a means to automate this in VBA??? > >Any advice/help on this would be greatly appreciated. > >Thanks, > >jack > >-----Original Message----- >From: accessd-bounces at databaseadvisors.com >[mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Drawbridge, >Jack: #CIO - BPI >Sent: Thursday, June 2, 2005 3:01 PM >To: Access Developers discussion and problem solving >Subject: [AccessD] A2K talking to IE6 - File Save As > > >Looking for help/advice or sample code to open IE6 from code in A2K. Am interested in how to do a File| Save As Webpage, Complete. >We have a database of 60000 companies and want to put extracts of selected 100-500 companies (html and graphics etc) onto a CD for use with Offline Browser. > >Can not figure out how to get to IE6 File | Save As. > >I have some code to open a page with IE browser and save all the links on the page. > >Any help would be appreciated. > >TIA > >jack > >'---- CODE to GET the Links from a given page ---- >'--------------------------------------------------------------------------------------- >' Procedure : GetLinks >' DateTime : 2005-06-02 14:19 >' Author : >' Purpose : get all links from a named webpage URL >'--------------------------------------------------------------------------------------- >' >Sub GetLinks() > >' ** need to set a reference to >' ** Microsoft Internet Controls > > Dim IeApp As InternetExplorer > Dim sURL As String > Dim IeDoc As Object > Dim i As Long > > 'Create new instance of IE > Set IeApp = New InternetExplorer > > 'May wish to make IeApp visible > 'apparently some things don't work > 'unless it's visible > IeApp.Visible = False > > 'define the page to open > sURL = "www.diligens.com" > > 'navigate to the page based on URL > IeApp.Navigate sURL > > 'Pause until the webpage is completely loaded > Do > Loop Until IeApp.ReadyState = READYSTATE_COMPLETE > > 'Create instance of Document object > Set IeDoc = IeApp.Document > > 'Loop through the document's links collection. > For i = 0 To IeDoc.links.Length - 1 > Debug.Print IeDoc.links(i).href > Next i > > 'Clean up > Set IeApp = Nothing > Set IeDoc = Nothing >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 pedro at plex.nl Mon Jun 13 14:10:46 2005 From: pedro at plex.nl (Pedro Janssen) Date: Mon, 13 Jun 2005 21:10:46 +0200 Subject: [AccessD] invalid number of arguments References: <002a01c56f98$c62e6a90$fac581d5@pedro><017001c56fa4$4d7685e0$0202a8c0@default><001901c57015$3ddf5dc0$fac581d5@pedro> <00c101c57019$b79955e0$0202a8c0@default> Message-ID: <002301c5704b$9b1b4180$fac581d5@pedro> Thanks for this code Michael, but i need to solve the invalid argument error anyway, because i have other codes with the same problem. Pedro Janssen ----- Original Message ----- From: "Michael R Mattys" To: "Access Developers discussion and problem solving" Sent: Monday, June 13, 2005 3:13 PM Subject: Re: [AccessD] invalid number of arguments > Pedro, > > Sorry. This is how I remove linked tables: > To make it so that you remove only specific tables > you modify it so that you end up with Neal's function. > > Function RemoveLinkedTbls() > Dim db As DAO.Database, tdf As DAO.TableDef > Set db = CurrentDb > For Each tdf In db.TableDefs > If tdf.Connect <> "" Then > DoCmd.DeleteObject acTable, tdf.Name > End If > Next > Set db = Nothing > End Function > ---- > > Michael R. Mattys > Mattys MapLib for Microsoft MapPoint > http://www.mattysconsulting.com > > > > ----- Original Message ----- > From: "Pedro Janssen" > To: "Access Developers discussion and problem solving" > > Sent: Monday, June 13, 2005 8:41 AM > Subject: Re: [AccessD] invalid number of arguments > > > > Hello Michael, > > > > when using db.TableDefs(strTableName).Delete it gives an compile-error: > > Can't find methode or member. > > > > Any other ideas. > > > > Pedro Janssen > > > > > > > > ----- Original Message ----- > > From: "Michael R Mattys" > > To: "Access Developers discussion and problem solving" > > > > Sent: Monday, June 13, 2005 1:13 AM > > Subject: Re: [AccessD] invalid number of arguments > > > > > > > ----- Original Message ----- > > > From: "Pedro Janssen" > > > To: > > > Sent: Sunday, June 12, 2005 5:50 PM > > > Subject: [AccessD] invalid number of arguments > > > > > > > > > Hello Group, > > > > > > i am using a function that Neil Kling provided me in the past. > > > When running it from an expression i get an error: > > > > > > Invalid number of arguments. > > > > > > Who can help me with this > > > > > > ------ > > > > > > Pedro, > > > > > > It should be > > > > > > db.TableDefs(strTableName).Delete > > > > > > ---- > > > > > > Michael R. Mattys > > > Mattys MapLib for Microsoft MapPoint > > > http://www.mattysconsulting.com > > > -- > > > AccessD mailing list > > > AccessD at databaseadvisors.com > > > http://databaseadvisors.com/mailman/listinfo/accessd > > > Website: http://www.databaseadvisors.com > > > > > > > > > -- > > AccessD mailing list > > AccessD at databaseadvisors.com > > http://databaseadvisors.com/mailman/listinfo/accessd > > Website: http://www.databaseadvisors.com > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > From pedro at plex.nl Mon Jun 13 14:14:47 2005 From: pedro at plex.nl (Pedro Janssen) Date: Mon, 13 Jun 2005 21:14:47 +0200 Subject: [AccessD] invalid number of arguments References: <30BC111F638EB54082001A7E7282FE4107F3BE@elmo.co.montgomery.ny.us> Message-ID: <002901c5704c$2a9720e0$fac581d5@pedro> Hello Neal, i now have tried: Function DeleteTableLink(tblDebiteurAlgemeen As String) As Boolean On Error GoTo Err_DeleteTableLink Dim db As Database Set db = DBEngine(0)(0) db.TableDefs.Delete (tblDebiteurAlgemeen) db.TableDefs.Refresh DeleteTableLink = True Exit_DeleteTableLink: etc.etc.etc but i still have the error. Anyone any ideas. Pedro ----- Original Message ----- From: "Neal Kling" To: "Access Developers discussion and problem solving" Sent: Monday, June 13, 2005 2:52 PM Subject: RE: [AccessD] invalid number of arguments > I see you're setting the table variable right in the function. But the function it's self is still expecting you to pass a table name. I suspect this may be where you are having a problem. Either redeclare the function without the strTableName parameter, or pass it the table name. In other words instead of setting strTableName in the function, call the function like this: > > DeleteTableLink "tblDebiteurAlgemeen" > > Don't forget to comment out the line > strTableName = "tblDebiteurAlgemeen" > > Neal > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Pedro Janssen > Sent: Sunday, June 12, 2005 5:51 PM > To: AccessD at databaseadvisors.com > Subject: [AccessD] invalid number of arguments > > > Hello Group, > > i am using a function that Neil Kling provided me in the past. > When running it from an expression i get an error: > > Invalid number of arguments. > > Who can help me with this > > Pedro Janssen > > > > > Function DeleteTableLink(strTableName As String) As Boolean > On Error GoTo Err_DeleteTableLink > Dim db As Database > > strTableName = "tblDebiteurAlgemeen" > > Set db = DBEngine(0)(0) > db.TableDefs.Delete strTableName > db.TableDefs.Refresh > > DeleteTableLink = True > > Exit_DeleteTableLink: > Exit Function > > Err_DeleteTableLink: > Select Case Err > Case 0 'insert Errors you wish to ignore here > Resume Next > Case 3265 'Item doesn't exist in collection > Resume Next > Case Else 'All other errors will trap > Beep > MsgBox Err.Number & "; " & Err.Description, , "Error in function basObjectHandlers.DeleteTableLink" > Resume Exit_DeleteTableLink > End Select > Resume 0 'FOR TROUBLESHOOTING > End Function > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > From mmattys at rochester.rr.com Mon Jun 13 14:41:24 2005 From: mmattys at rochester.rr.com (Michael R Mattys) Date: Mon, 13 Jun 2005 15:41:24 -0400 Subject: [AccessD] invalid number of arguments References: <002a01c56f98$c62e6a90$fac581d5@pedro> <017001c56fa4$4d7685e0$0202a8c0@default> <001901c57015$3ddf5dc0$fac581d5@pedro> <00c101c57019$b79955e0$0202a8c0@default> <002301c5704b$9b1b4180$fac581d5@pedro> Message-ID: <00be01c5704f$e33b0370$0202a8c0@default> Pedro, Will the error go away if you set a reference to DAO 3.6 and then put Dim db As DAO.Database? ---- Michael R. Mattys Mattys MapLib for Microsoft MapPoint http://www.mattysconsulting.com ----- Original Message ----- From: "Pedro Janssen" To: "Access Developers discussion and problem solving" Sent: Monday, June 13, 2005 3:10 PM Subject: Re: [AccessD] invalid number of arguments > Thanks for this code Michael, > > but i need to solve the invalid argument error anyway, because i have other > codes with the same problem. > > Pedro Janssen > > > ----- Original Message ----- > From: "Michael R Mattys" > To: "Access Developers discussion and problem solving" > > Sent: Monday, June 13, 2005 3:13 PM > Subject: Re: [AccessD] invalid number of arguments > > > > Pedro, > > > > Sorry. This is how I remove linked tables: > > To make it so that you remove only specific tables > > you modify it so that you end up with Neal's function. > > > > Function RemoveLinkedTbls() > > Dim db As DAO.Database, tdf As DAO.TableDef > > Set db = CurrentDb > > For Each tdf In db.TableDefs > > If tdf.Connect <> "" Then > > DoCmd.DeleteObject acTable, tdf.Name > > End If > > Next > > Set db = Nothing > > End Function > > ---- > > > > Michael R. Mattys > > Mattys MapLib for Microsoft MapPoint > > http://www.mattysconsulting.com > > > > > > > > ----- Original Message ----- > > From: "Pedro Janssen" > > To: "Access Developers discussion and problem solving" > > > > Sent: Monday, June 13, 2005 8:41 AM > > Subject: Re: [AccessD] invalid number of arguments > > > > > > > Hello Michael, > > > > > > when using db.TableDefs(strTableName).Delete it gives an compile-error: > > > Can't find methode or member. > > > > > > Any other ideas. > > > > > > Pedro Janssen > > > > > > > > > > > > ----- Original Message ----- > > > From: "Michael R Mattys" > > > To: "Access Developers discussion and problem solving" > > > > > > Sent: Monday, June 13, 2005 1:13 AM > > > Subject: Re: [AccessD] invalid number of arguments > > > > > > > > > > ----- Original Message ----- > > > > From: "Pedro Janssen" > > > > To: > > > > Sent: Sunday, June 12, 2005 5:50 PM > > > > Subject: [AccessD] invalid number of arguments > > > > > > > > > > > > Hello Group, > > > > > > > > i am using a function that Neil Kling provided me in the past. > > > > When running it from an expression i get an error: > > > > > > > > Invalid number of arguments. > > > > > > > > Who can help me with this > > > > > > > > ------ > > > > > > > > Pedro, > > > > > > > > It should be > > > > > > > > db.TableDefs(strTableName).Delete > > > > > > > > ---- > > > > > > > > Michael R. Mattys > > > > Mattys MapLib for Microsoft MapPoint > > > > http://www.mattysconsulting.com > > > > -- > > > > AccessD mailing list > > > > AccessD at databaseadvisors.com > > > > http://databaseadvisors.com/mailman/listinfo/accessd > > > > Website: http://www.databaseadvisors.com > > > > > > > > > > > > > -- > > > AccessD mailing list > > > AccessD at databaseadvisors.com > > > http://databaseadvisors.com/mailman/listinfo/accessd > > > Website: http://www.databaseadvisors.com > > > > -- > > AccessD mailing list > > AccessD at databaseadvisors.com > > http://databaseadvisors.com/mailman/listinfo/accessd > > Website: http://www.databaseadvisors.com > > > > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com From mikedorism at verizon.net Mon Jun 13 14:45:46 2005 From: mikedorism at verizon.net (Mike & Doris Manning) Date: Mon, 13 Jun 2005 15:45:46 -0400 Subject: [AccessD] invalid number of arguments In-Reply-To: <002901c5704c$2a9720e0$fac581d5@pedro> Message-ID: <001a01c57050$7e6d15e0$2f01a8c0@hargrove.internal> What are you passing in as the value of "tblDebiteurAlgemeen"? Doris Manning Database Administrator Hargrove Inc. www.hargroveinc.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Pedro Janssen Sent: Monday, June 13, 2005 3:15 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] invalid number of arguments Hello Neal, i now have tried: Function DeleteTableLink(tblDebiteurAlgemeen As String) As Boolean On Error GoTo Err_DeleteTableLink Dim db As Database Set db = DBEngine(0)(0) db.TableDefs.Delete (tblDebiteurAlgemeen) db.TableDefs.Refresh DeleteTableLink = True Exit_DeleteTableLink: etc.etc.etc but i still have the error. Anyone any ideas. Pedro ----- Original Message ----- From: "Neal Kling" To: "Access Developers discussion and problem solving" Sent: Monday, June 13, 2005 2:52 PM Subject: RE: [AccessD] invalid number of arguments > I see you're setting the table variable right in the function. But the function it's self is still expecting you to pass a table name. I suspect this may be where you are having a problem. Either redeclare the function without the strTableName parameter, or pass it the table name. In other words instead of setting strTableName in the function, call the function like this: > > DeleteTableLink "tblDebiteurAlgemeen" > > Don't forget to comment out the line > strTableName = "tblDebiteurAlgemeen" > > Neal > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Pedro > Janssen > Sent: Sunday, June 12, 2005 5:51 PM > To: AccessD at databaseadvisors.com > Subject: [AccessD] invalid number of arguments > > > Hello Group, > > i am using a function that Neil Kling provided me in the past. When > running it from an expression i get an error: > > Invalid number of arguments. > > Who can help me with this > > Pedro Janssen > > > > > Function DeleteTableLink(strTableName As String) As Boolean On Error > GoTo Err_DeleteTableLink > Dim db As Database > > strTableName = "tblDebiteurAlgemeen" > > Set db = DBEngine(0)(0) > db.TableDefs.Delete strTableName > db.TableDefs.Refresh > > DeleteTableLink = True > > Exit_DeleteTableLink: > Exit Function > > Err_DeleteTableLink: > Select Case Err > Case 0 'insert Errors you wish to ignore here > Resume Next > Case 3265 'Item doesn't exist in collection > Resume Next > Case Else 'All other errors will trap > Beep > MsgBox Err.Number & "; " & Err.Description, , "Error in function basObjectHandlers.DeleteTableLink" > Resume Exit_DeleteTableLink > End Select > Resume 0 'FOR TROUBLESHOOTING > End Function > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From nkling at co.montgomery.ny.us Mon Jun 13 14:49:54 2005 From: nkling at co.montgomery.ny.us (Neal Kling) Date: Mon, 13 Jun 2005 15:49:54 -0400 Subject: [AccessD] invalid number of arguments Message-ID: <30BC111F638EB54082001A7E7282FE41114D45@elmo.co.montgomery.ny.us> Pedro, This line Function DeleteTableLink(tblDebiteurAlgemeen As String) As Boolean is telling the function that it is going to expect you to pass it a string parameter of the name of the table you want to delete. Where you are calling the function it would have to done like this: DeleteTableLink "tblDebiteurAlgemeen" That way the function knows which table to delete. If this is causing you too many problems you can get rid of the requirement for that parameter and declare the function like this: Function DeleteTableLink() as Boolean Then you would need to specify which table in the function like this db.TableDefs.Delete "tblDebiteurAlgemeen" The problem is now you have a function that will only do one thing. It won't be reusable. Neal -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Pedro Janssen Sent: Monday, June 13, 2005 3:15 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] invalid number of arguments Hello Neal, i now have tried: Function DeleteTableLink(tblDebiteurAlgemeen As String) As Boolean On Error GoTo Err_DeleteTableLink Dim db As Database Set db = DBEngine(0)(0) db.TableDefs.Delete (tblDebiteurAlgemeen) db.TableDefs.Refresh DeleteTableLink = True Exit_DeleteTableLink: etc.etc.etc but i still have the error. Anyone any ideas. Pedro ----- Original Message ----- From: "Neal Kling" To: "Access Developers discussion and problem solving" Sent: Monday, June 13, 2005 2:52 PM Subject: RE: [AccessD] invalid number of arguments > I see you're setting the table variable right in the function. But the function it's self is still expecting you to pass a table name. I suspect this may be where you are having a problem. Either redeclare the function without the strTableName parameter, or pass it the table name. In other words instead of setting strTableName in the function, call the function like this: > > DeleteTableLink "tblDebiteurAlgemeen" > > Don't forget to comment out the line > strTableName = "tblDebiteurAlgemeen" > > Neal > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Pedro Janssen > Sent: Sunday, June 12, 2005 5:51 PM > To: AccessD at databaseadvisors.com > Subject: [AccessD] invalid number of arguments > > > Hello Group, > > i am using a function that Neil Kling provided me in the past. > When running it from an expression i get an error: > > Invalid number of arguments. > > Who can help me with this > > Pedro Janssen > > > > > Function DeleteTableLink(strTableName As String) As Boolean > On Error GoTo Err_DeleteTableLink > Dim db As Database > > strTableName = "tblDebiteurAlgemeen" > > Set db = DBEngine(0)(0) > db.TableDefs.Delete strTableName > db.TableDefs.Refresh > > DeleteTableLink = True > > Exit_DeleteTableLink: > Exit Function > > Err_DeleteTableLink: > Select Case Err > Case 0 'insert Errors you wish to ignore here > Resume Next > Case 3265 'Item doesn't exist in collection > Resume Next > Case Else 'All other errors will trap > Beep > MsgBox Err.Number & "; " & Err.Description, , "Error in function basObjectHandlers.DeleteTableLink" > Resume Exit_DeleteTableLink > End Select > Resume 0 'FOR TROUBLESHOOTING > End Function > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From nkling at co.montgomery.ny.us Mon Jun 13 14:51:11 2005 From: nkling at co.montgomery.ny.us (Neal Kling) Date: Mon, 13 Jun 2005 15:51:11 -0400 Subject: [AccessD] invalid number of arguments Message-ID: <30BC111F638EB54082001A7E7282FE4107F3D6@elmo.co.montgomery.ny.us> I believe he's passing nothing, which of course results in the missing parameter. Perhaps you can explain this better than I. Neal -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Mike & Doris Manning Sent: Monday, June 13, 2005 3:46 PM To: 'Access Developers discussion and problem solving' Subject: RE: [AccessD] invalid number of arguments What are you passing in as the value of "tblDebiteurAlgemeen"? Doris Manning Database Administrator Hargrove Inc. www.hargroveinc.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Pedro Janssen Sent: Monday, June 13, 2005 3:15 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] invalid number of arguments Hello Neal, i now have tried: Function DeleteTableLink(tblDebiteurAlgemeen As String) As Boolean On Error GoTo Err_DeleteTableLink Dim db As Database Set db = DBEngine(0)(0) db.TableDefs.Delete (tblDebiteurAlgemeen) db.TableDefs.Refresh DeleteTableLink = True Exit_DeleteTableLink: etc.etc.etc but i still have the error. Anyone any ideas. Pedro ----- Original Message ----- From: "Neal Kling" To: "Access Developers discussion and problem solving" Sent: Monday, June 13, 2005 2:52 PM Subject: RE: [AccessD] invalid number of arguments > I see you're setting the table variable right in the function. But the function it's self is still expecting you to pass a table name. I suspect this may be where you are having a problem. Either redeclare the function without the strTableName parameter, or pass it the table name. In other words instead of setting strTableName in the function, call the function like this: > > DeleteTableLink "tblDebiteurAlgemeen" > > Don't forget to comment out the line > strTableName = "tblDebiteurAlgemeen" > > Neal > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Pedro > Janssen > Sent: Sunday, June 12, 2005 5:51 PM > To: AccessD at databaseadvisors.com > Subject: [AccessD] invalid number of arguments > > > Hello Group, > > i am using a function that Neil Kling provided me in the past. When > running it from an expression i get an error: > > Invalid number of arguments. > > Who can help me with this > > Pedro Janssen > > > > > Function DeleteTableLink(strTableName As String) As Boolean On Error > GoTo Err_DeleteTableLink > Dim db As Database > > strTableName = "tblDebiteurAlgemeen" > > Set db = DBEngine(0)(0) > db.TableDefs.Delete strTableName > db.TableDefs.Refresh > > DeleteTableLink = True > > Exit_DeleteTableLink: > Exit Function > > Err_DeleteTableLink: > Select Case Err > Case 0 'insert Errors you wish to ignore here > Resume Next > Case 3265 'Item doesn't exist in collection > Resume Next > Case Else 'All other errors will trap > Beep > MsgBox Err.Number & "; " & Err.Description, , "Error in function basObjectHandlers.DeleteTableLink" > Resume Exit_DeleteTableLink > End Select > Resume 0 'FOR TROUBLESHOOTING > End Function > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From marcus at tsstech.com Mon Jun 13 15:15:24 2005 From: marcus at tsstech.com (Scott Marcus) Date: Mon, 13 Jun 2005 16:15:24 -0400 Subject: [AccessD] Visio data modeling: was Friday humour Message-ID: This requires the enterprise architect version of Visual Studio 2003. -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Dale Kalsow Sent: Monday, June 13, 2005 10:41 AM To: Access Developers discussion and problem solving Subject: RE: [AccessD] Friday humour Good Morning Everyone, Some one told me I can create a visio document and then from visio create my SQL tables. Does anyone know who to do this? Does it also work for MS Access? Can I also go from SQL or Access and have my table documented in Visio? Thanks! Dale --------------------------------- Discover Yahoo! Find restaurants, movies, travel & more fun for the weekend. Check it out! -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com NOTICE: This electronic mail transmission is for the use of the named individual or entity to which it is directed and may contain information that is privileged or confidential. If you are not the intended recipient, any disclosure, copying, distribution or use of the contents of any information contained herein is prohibited. If you have received this electronic mail transmission in error, delete it from your system without copying or forwarding, and notify the sender of the error by replying via email or by calling TSS Technologies at (513) 772-7000, so our address record can be corrected. Any information included in this email is provided on an ?as is? and ?where is? basis, and TSS Technologies makes no representations or warranties of any kind with respect to the completeness or accuracy of the information contained in this email, or with respect to any other matters communicated in this email. TSS Technologies hereby disclaims any and all express or implied warranties of any kind. Nothing in this email shall be construed to create any kind of contractual or binding agreement or commitment by or on behalf of TSS Technologies, Inc., the recipient, or any third-parties. From mikedorism at verizon.net Mon Jun 13 15:44:18 2005 From: mikedorism at verizon.net (Mike & Doris Manning) Date: Mon, 13 Jun 2005 16:44:18 -0400 Subject: [AccessD] Visio data modeling: was Friday humour In-Reply-To: Message-ID: <001b01c57058$abbc3b40$2f01a8c0@hargrove.internal> No it doesn't. Visio Professional 2002 and 2003 have the same capabilities. Visio uses ODBC to link directly to the databases involved. Doris Manning Database Administrator Hargrove Inc. www.hargroveinc.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Scott Marcus Sent: Monday, June 13, 2005 4:15 PM To: Access Developers discussion and problem solving Subject: RE: [AccessD] Visio data modeling: was Friday humour This requires the enterprise architect version of Visual Studio 2003. -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Dale Kalsow Sent: Monday, June 13, 2005 10:41 AM To: Access Developers discussion and problem solving Subject: RE: [AccessD] Friday humour Good Morning Everyone, Some one told me I can create a visio document and then from visio create my SQL tables. Does anyone know who to do this? Does it also work for MS Access? Can I also go from SQL or Access and have my table documented in Visio? Thanks! Dale --------------------------------- Discover Yahoo! Find restaurants, movies, travel & more fun for the weekend. Check it out! -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com NOTICE: This electronic mail transmission is for the use of the named individual or entity to which it is directed and may contain information that is privileged or confidential. If you are not the intended recipient, any disclosure, copying, distribution or use of the contents of any information contained herein is prohibited. If you have received this electronic mail transmission in error, delete it from your system without copying or forwarding, and notify the sender of the error by replying via email or by calling TSS Technologies at (513) 772-7000, so our address record can be corrected. Any information included in this email is provided on an "as is" and "where is" basis, and TSS Technologies makes no representations or warranties of any kind with respect to the completeness or accuracy of the information contained in this email, or with respect to any other matters communicated in this email. TSS Technologies hereby disclaims any and all express or implied warranties of any kind. Nothing in this email shall be construed to create any kind of contractual or binding agreement or commitment by or on behalf of TSS Technologies, Inc., the recipient, or any third-parties. -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From marcus at tsstech.com Mon Jun 13 15:54:39 2005 From: marcus at tsstech.com (Scott Marcus) Date: Mon, 13 Jun 2005 16:54:39 -0400 Subject: [AccessD] Visio data modeling: was Friday humour Message-ID: So you have Visio 2003 Pro? I have it and you cannot generate the database. But the 2003 version called enterprise architect does (which I also have). -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Mike & Doris Manning Sent: Monday, June 13, 2005 4:44 PM To: 'Access Developers discussion and problem solving' Subject: RE: [AccessD] Visio data modeling: was Friday humour No it doesn't. Visio Professional 2002 and 2003 have the same capabilities. Visio uses ODBC to link directly to the databases involved. Doris Manning Database Administrator Hargrove Inc. www.hargroveinc.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Scott Marcus Sent: Monday, June 13, 2005 4:15 PM To: Access Developers discussion and problem solving Subject: RE: [AccessD] Visio data modeling: was Friday humour This requires the enterprise architect version of Visual Studio 2003. -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Dale Kalsow Sent: Monday, June 13, 2005 10:41 AM To: Access Developers discussion and problem solving Subject: RE: [AccessD] Friday humour Good Morning Everyone, Some one told me I can create a visio document and then from visio create my SQL tables. Does anyone know who to do this? Does it also work for MS Access? Can I also go from SQL or Access and have my table documented in Visio? Thanks! Dale --------------------------------- Discover Yahoo! Find restaurants, movies, travel & more fun for the weekend. Check it out! -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com NOTICE: This electronic mail transmission is for the use of the named individual or entity to which it is directed and may contain information that is privileged or confidential. If you are not the intended recipient, any disclosure, copying, distribution or use of the contents of any information contained herein is prohibited. If you have received this electronic mail transmission in error, delete it from your system without copying or forwarding, and notify the sender of the error by replying via email or by calling TSS Technologies at (513) 772-7000, so our address record can be corrected. Any information included in this email is provided on an "as is" and "where is" basis, and TSS Technologies makes no representations or warranties of any kind with respect to the completeness or accuracy of the information contained in this email, or with respect to any other matters communicated in this email. TSS Technologies hereby disclaims any and all express or implied warranties of any kind. Nothing in this email shall be construed to create any kind of contractual or binding agreement or commitment by or on behalf of TSS Technologies, Inc., the recipient, or any third-parties. -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com NOTICE: This electronic mail transmission is for the use of the named individual or entity to which it is directed and may contain information that is privileged or confidential. If you are not the intended recipient, any disclosure, copying, distribution or use of the contents of any information contained herein is prohibited. If you have received this electronic mail transmission in error, delete it from your system without copying or forwarding, and notify the sender of the error by replying via email or by calling TSS Technologies at (513) 772-7000, so our address record can be corrected. Any information included in this email is provided on an ?as is? and ?where is? basis, and TSS Technologies makes no representations or warranties of any kind with respect to the completeness or accuracy of the information contained in this email, or with respect to any other matters communicated in this email. TSS Technologies hereby disclaims any and all express or implied warranties of any kind. Nothing in this email shall be construed to create any kind of contractual or binding agreement or commitment by or on behalf of TSS Technologies, Inc., the recipient, or any third-parties. From cfoust at infostatsystems.com Mon Jun 13 16:02:05 2005 From: cfoust at infostatsystems.com (Charlotte Foust) Date: Mon, 13 Jun 2005 14:02:05 -0700 Subject: [AccessD] Visio data modeling: was Friday humour Message-ID: The enterprise edition of Visio is required to *generate* database structures from a Visio database diagram. The Pro version will reverse engineer the structure into a diagram. The forward engineering was removed from the Pro version after Microsoft acquired the product. Charlotte Foust -----Original Message----- From: Mike & Doris Manning [mailto:mikedorism at verizon.net] Sent: Monday, June 13, 2005 1:44 PM To: 'Access Developers discussion and problem solving' Subject: RE: [AccessD] Visio data modeling: was Friday humour No it doesn't. Visio Professional 2002 and 2003 have the same capabilities. Visio uses ODBC to link directly to the databases involved. Doris Manning Database Administrator Hargrove Inc. www.hargroveinc.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Scott Marcus Sent: Monday, June 13, 2005 4:15 PM To: Access Developers discussion and problem solving Subject: RE: [AccessD] Visio data modeling: was Friday humour This requires the enterprise architect version of Visual Studio 2003. -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Dale Kalsow Sent: Monday, June 13, 2005 10:41 AM To: Access Developers discussion and problem solving Subject: RE: [AccessD] Friday humour Good Morning Everyone, Some one told me I can create a visio document and then from visio create my SQL tables. Does anyone know who to do this? Does it also work for MS Access? Can I also go from SQL or Access and have my table documented in Visio? Thanks! Dale --------------------------------- Discover Yahoo! Find restaurants, movies, travel & more fun for the weekend. Check it out! -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com NOTICE: This electronic mail transmission is for the use of the named individual or entity to which it is directed and may contain information that is privileged or confidential. If you are not the intended recipient, any disclosure, copying, distribution or use of the contents of any information contained herein is prohibited. If you have received this electronic mail transmission in error, delete it from your system without copying or forwarding, and notify the sender of the error by replying via email or by calling TSS Technologies at (513) 772-7000, so our address record can be corrected. Any information included in this email is provided on an "as is" and "where is" basis, and TSS Technologies makes no representations or warranties of any kind with respect to the completeness or accuracy of the information contained in this email, or with respect to any other matters communicated in this email. TSS Technologies hereby disclaims any and all express or implied warranties of any kind. Nothing in this email shall be construed to create any kind of contractual or binding agreement or commitment by or on behalf of TSS Technologies, Inc., the recipient, or any third-parties. -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From Robert at servicexp.com Mon Jun 13 18:56:21 2005 From: Robert at servicexp.com (Robert Gracie) Date: Mon, 13 Jun 2005 19:56:21 -0400 Subject: [AccessD] Detecting Database Connection Type? In-Reply-To: Message-ID: <20050613235623.6E4FB41468@mail01.powweb.com> How can one check the type of connection to the back end data, making sure the connection is not wireless? Robert From mmattys at rochester.rr.com Mon Jun 13 19:15:50 2005 From: mmattys at rochester.rr.com (Michael R Mattys) Date: Mon, 13 Jun 2005 20:15:50 -0400 Subject: [AccessD] Detecting Database Connection Type? References: <20050613235623.6E4FB41468@mail01.powweb.com> Message-ID: <019a01c57076$3ae95830$0202a8c0@default> ----- Original Message ----- From: "Robert Gracie" To: "'Access Developers discussion and problem solving'" Sent: Monday, June 13, 2005 7:56 PM Subject: [AccessD] Detecting Database Connection Type? > > How can one check the type of connection to the back end data, making sure > the connection is not wireless? Robert, What prompted your question? Is it not simply a matter of connection exists verus connection does not exist? ---- Michael R. Mattys Mattys MapLib for Microsoft MapPoint http://www.mattysconsulting.com From Robert at servicexp.com Mon Jun 13 19:38:03 2005 From: Robert at servicexp.com (Robert Gracie) Date: Mon, 13 Jun 2005 20:38:03 -0400 Subject: [AccessD] Detecting Database Connection Type? In-Reply-To: <019a01c57076$3ae95830$0202a8c0@default> Message-ID: <20050614003805.CF92C4154D@mail01.powweb.com> Michael, The problem is a little deeper that that. We have several laptop users, each with wireless capabilities that automatically connect to the LAN. I have instructed them, (sigh) time and time again, that they must plug into the network, via a LAN jack before logging in the program. I'm at the point now where I need to come up with a solution that works to prevent a wireless connection to this one program. All laptop users are running Win XP. I sure hope there is a "Coded" solution, as I don't want to convert this program to SQL.... I hope this helps... Robert -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Michael R Mattys Sent: Monday, June 13, 2005 8:16 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Detecting Database Connection Type? ----- Original Message ----- From: "Robert Gracie" To: "'Access Developers discussion and problem solving'" Sent: Monday, June 13, 2005 7:56 PM Subject: [AccessD] Detecting Database Connection Type? > > How can one check the type of connection to the back end data, making sure > the connection is not wireless? Robert, What prompted your question? Is it not simply a matter of connection exists verus connection does not exist? ---- Michael R. Mattys Mattys MapLib for Microsoft MapPoint http://www.mattysconsulting.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From mmattys at rochester.rr.com Mon Jun 13 20:18:50 2005 From: mmattys at rochester.rr.com (Michael R Mattys) Date: Mon, 13 Jun 2005 21:18:50 -0400 Subject: [AccessD] Detecting Database Connection Type? References: <20050614003805.CF92C4154D@mail01.powweb.com> Message-ID: <01ad01c5707f$0c39cfc0$0202a8c0@default> ----- Original Message ----- From: "Robert Gracie" To: "'Access Developers discussion and problem solving'" Sent: Monday, June 13, 2005 8:38 PM Subject: RE: [AccessD] Detecting Database Connection Type? > Michael, > The problem is a little deeper that that. We have several laptop users, > each with wireless capabilities that automatically connect to the LAN. I > have instructed them, (sigh) time and time again, that they must plug into > the network, via a LAN jack before logging in the program. I'm at the point > now where I need to come up with a solution that works to prevent a wireless > connection to this one program. All laptop users are running Win XP. > > I sure hope there is a "Coded" solution, as I don't want to convert this > program to SQL.... > > I hope this helps... > Robert, Wow. Well, this is going to be hit or miss. I figure it must be WMI related. So, I tried a search on Google for [ wmi wireless +dim ]. 37 hits. I saw "How to Detect Network Connection" "Enable / Disable 802.1x with some script" "Disabling Wireless Driver" "WMI MSNdis_80211_ReceivedSignalStrength" That MSNdis_80211 could be another search term. I'm thinking the front-end will need to execute code before connecting that will disable (well, how would you say it?) wireless connections while the FE is open. Good luck to you :) I may need whatever your solution is someday! ---- Michael R. Mattys Mattys MapLib for Microsoft MapPoint http://www.mattysconsulting.com From martyconnelly at shaw.ca Mon Jun 13 20:24:17 2005 From: martyconnelly at shaw.ca (MartyConnelly) Date: Mon, 13 Jun 2005 18:24:17 -0700 Subject: [AccessD] Automating - IE6 - File Save As -- Marty References: <0F3AFAE449DD4A40BED8B6C4A97ABF5B0298AABE@MSG-MB3.icent.ic.gc.ca> Message-ID: <42AE31C1.7010103@shaw.ca> Ah you want to save the images as well , doing a complete "saveas" will save multiple html files and directories, so you might want a single archive .mht file. The reason the "saveas" only allows saves to a text based html file is a security feature. Otherwise the little darlings could save binary excutables onto your disk. However if you want to risk it, this replacement code will work, sendkeys has it own flaws. It may only work if your browser allows scripting of unsafe ActiveX Works for me IE 6.01 with Medium security and MS scripting installed To get an mht archive file you will have to change code to tab around with sendkeys. Dim X As Object Set X = CreateObject("WScript.Shell") X.SendKeys ("%f") ' select IE File Menu X.SendKeys ("a") 'selects save as menu X.SendKeys ("{del}") 'delete filename X.SendKeys ("c:\temp\mycompletehtml") 'double slashes may be required if multi folder path X.SendKeys ("{Tab}") X.SendKeys ("{Tab}") 'get to save button X.SendKeys ("{ENTER}") ' comment this out to see what happens on screen Drawbridge, Jack: #CIO - BPI wrote: >Marty > >Thanks for info. It's close to what I'm looking for. >Have not seen the ".queryCommandEnabled" or ".execCommand" > >In your code > 'or alternate method that security may clobber, saves everthing with > fileopen box used > -With objExplorer.Document > -If .queryCommandEnabled("saveAs") Then .execCommand "saveAs", False, > "C:\temp\myurl.htm" > -End With > I'm trying to actually use File SaveAs Webpage, Complete. If you manually do a File SaveAs in Internet explorer, you'll see other options than (htm,html). >Your technique gives me (htm, html). Can you see any means of supplying/gettign other options? > >Thanks >jack > > >-----Original Message----- >From: accessd-bounces at databaseadvisors.com >[mailto:accessd-bounces at databaseadvisors.com]On Behalf Of MartyConnelly >Sent: Friday, June 10, 2005 6:40 PM >To: Access Developers discussion and problem solving >Subject: Re: [AccessD] Automating - IE6 - File Save As -- Marty > > >You maynot be able to do this for security reasons on second method. >Ran this okay from WinXP SP2, Access97, IE6.0.2900 xpsp2 patches > >Here are two ways. > >'This gets around security limitations >'will only save between tags >CreateObject("Scripting.FileSystemObject").OpenTextFile("C:\temp\myurlsaved.htm", >2, True).Write _ > objExplorer.Document.Body.innerHTML > >'or alternate method that security may clobber, saves everthing with >fileopen box used >With objExplorer.Document > If .queryCommandEnabled("saveAs") Then .execCommand "saveAs", False, >"C:\temp\myurl.htm" > End With > >Anywho here is some rough test code, that works both ways. >You can throw out all the commented objdocument code at bottom. > > >Sub testIESave(strpassHTML As String) >'------------------ >'testIESave "http://www.Viescas.com/" >Dim objExplorer As Object >Dim objDocument As Object >Dim strComputer As String > >Dim strReturn As String > >Set objExplorer = CreateObject("InternetExplorer.Application") > >'objExplorer.navigate "about:blank" >objExplorer.navigate strpassHTML >objExplorer.Toolbar = 1 'or 0 to turnoff toolbar turned off maynot save >all html source >objExplorer.StatusBar = 0 >objExplorer.Width = 800 >objExplorer.Height = 570 >objExplorer.Left = 0 >objExplorer.Top = 0 >objExplorer.Visible = 1 >'dont't need to navigate to file or http site >'just drop html string in document object >'objExplorer.Navigate "file://c:\temp\test.html" >'objExplorer.Navigate "http://www.Viescas.com/" >'objExplorer.Navigate "http://checkip.dyndns.org/" > >Do While (objExplorer.Busy) >Loop >Dim webtx As String >Dim strHTML As String >'will only save between tags >CreateObject("Scripting.FileSystemObject").OpenTextFile("C:\temp\myurlsmall.htm", >2, True).Write _ > objExplorer.Document.Body.innerHTML >'alternate method security may clobber saves everything >With objExplorer.Document > If .queryCommandEnabled("saveAs") Then .execCommand "saveAs", False, >"C:\temp\myurl.htm" > End With > >'Set objDocument = objExplorer.Document >'objDocument.Open >'objDocument.writeln "My Continuous >Pictures" >'you probably don't need all this but you could throw in some css >'objDocument.writeln "' " { background-attachment: fixed; background-position: 97% >bottom; " & _ >' " background-image= 'url(logoBackGround.gif)';background-repeat: >no-repeat;" & _ >' " padding: 5px;font-family='Georgia';font-size: 80%;} >" > >'objDocument.writeln "" >'objDocument.writeln "" >'objDocument.writeln "" >'objDocument.writeln "" >'objDocument.writeln "
Pictures
" > >'objDocument.writeln "

Method #2:

files\CandaceTripp\picture\shakes.bmp"" Width = ""150"" Height = ""75"" >alt = ""Random Image #4"" />" > >'objDocument.writeln strpassHTML >'objDocument.writeln "" >'objDocument.Write() >'objDocument.Close >'MsgBox "finished" >Set objExplorer = Nothing >Set objDocument = Nothing > >End Sub > > >Drawbridge, Jack: #CIO - BPI wrote: > > > >>Have had no responses with original post. I believe it is a question of automating IE, and how to get to CommonDialog in order to do the File Save As. >> >>IE does a fantastic job of removing relative links and downloading a clean set of files when using the File Save As webpage complete option. I do not want to do the File saves manually. There must be a means to automate this in VBA??? >> >>Any advice/help on this would be greatly appreciated. >> >>Thanks, >> >>jack >> >>-----Original Message----- >>From: accessd-bounces at databaseadvisors.com >>[mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Drawbridge, >>Jack: #CIO - BPI >>Sent: Thursday, June 2, 2005 3:01 PM >>To: Access Developers discussion and problem solving >>Subject: [AccessD] A2K talking to IE6 - File Save As >> >> >>Looking for help/advice or sample code to open IE6 from code in A2K. Am interested in how to do a File| Save As Webpage, Complete. >>We have a database of 60000 companies and want to put extracts of selected 100-500 companies (html and graphics etc) onto a CD for use with Offline Browser. >> >>Can not figure out how to get to IE6 File | Save As. >> >>I have some code to open a page with IE browser and save all the links on the page. >> >>Any help would be appreciated. >> >>TIA >> >>jack >> >>'---- CODE to GET the Links from a given page ---- >>'--------------------------------------------------------------------------------------- >>' Procedure : GetLinks >>' DateTime : 2005-06-02 14:19 >>' Author : >>' Purpose : get all links from a named webpage URL >>'--------------------------------------------------------------------------------------- >>' >>Sub GetLinks() >> >>' ** need to set a reference to >>' ** Microsoft Internet Controls >> >> Dim IeApp As InternetExplorer >> Dim sURL As String >> Dim IeDoc As Object >> Dim i As Long >> >> 'Create new instance of IE >> Set IeApp = New InternetExplorer >> >> 'May wish to make IeApp visible >> 'apparently some things don't work >> 'unless it's visible >> IeApp.Visible = False >> >> 'define the page to open >> sURL = "www.diligens.com" >> >> 'navigate to the page based on URL >> IeApp.Navigate sURL >> >> 'Pause until the webpage is completely loaded >> Do >> Loop Until IeApp.ReadyState = READYSTATE_COMPLETE >> >> 'Create instance of Document object >> Set IeDoc = IeApp.Document >> >> 'Loop through the document's links collection. >> For i = 0 To IeDoc.links.Length - 1 >> Debug.Print IeDoc.links(i).href >> Next i >> >> 'Clean up >> Set IeApp = Nothing >> Set IeDoc = Nothing >>End Sub >> >> >> >> > > > -- Marty Connelly Victoria, B.C. Canada From martyconnelly at shaw.ca Mon Jun 13 20:37:34 2005 From: martyconnelly at shaw.ca (MartyConnelly) Date: Mon, 13 Jun 2005 18:37:34 -0700 Subject: [AccessD] Visio data modeling: was Friday humour References: Message-ID: <42AE34DE.9050700@shaw.ca> You could also have a look at various Case Tools. Vast price range from a couple of $100 to many thousands. This is one I prefer Enterprise Architect ,I use to reverse engineer Access mdb's, Does Oracle SQL Server and most ODBC accessible databases, It has a 30 day trial. Does Data modeling, Forward Database Engineering to DDL and Reverse Database Engineering from ODBC Just point to correct ODBC connection and will turn out an ER diagram, with table documentation. http://www.sparxsystems.com.au/ea.htm Scott Marcus wrote: >This requires the enterprise architect version of Visual Studio 2003. > >-----Original Message----- >From: accessd-bounces at databaseadvisors.com >[mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Dale Kalsow >Sent: Monday, June 13, 2005 10:41 AM >To: Access Developers discussion and problem solving >Subject: RE: [AccessD] Friday humour > > >Good Morning Everyone, > >Some one told me I can create a visio document and then from visio >create my SQL tables. Does anyone know who to do this? Does it also >work for MS Access? Can I also go from SQL or Access and have my table >documented in Visio? > > > >Thanks! > >Dale > > > > >--------------------------------- >Discover Yahoo! > Find restaurants, movies, travel & more fun for the weekend. Check it >out! > > -- Marty Connelly Victoria, B.C. Canada From KP at sdsonline.net Mon Jun 13 21:01:25 2005 From: KP at sdsonline.net (Kath Pelletti) Date: Tue, 14 Jun 2005 12:01:25 +1000 Subject: [AccessD]Error loading picture References: <004601c56f1f$6e8c6090$6601a8c0@user> <42ACA5B2.6090104@shaw.ca> Message-ID: <006901c57084$f9236e90$6601a8c0@user> Just change the filename string or just the extension part via UCase or LCase when you pass to the Picture property of the Image control. Great idea. You can also download and install, if something has gone wrong with your filters. Office File Converter Pack OCONVPCK.EXE Will try. Kath ----- Original Message ----- From: MartyConnelly To: Access Developers discussion and problem solving Sent: Monday, June 13, 2005 7:14 AM Subject: Re: [AccessD]Error loading picture Actually it is a bit more bizarre You don't have to change the actual physical filename extension case. Just change the filename string or just the extension part via UCase or LCase when you pass to the Picture property of the Image control. lower case bypasses Office Graphics filters, something to do with metafiles in the image. If the file extension is in uppercase then the Office Graphicsfilters will be used to load the image. You can also download and install, if something has gone wrong with your filters. Office File Converter Pack OCONVPCK.EXE This download provides file converters and image filters for Microsoft Office programs, from Microsoft Office 97 to Microsoft Office 2003. It depends on what version of office is installed. http://www.microsoft.com/downloads/details.aspx?FamilyID=cf196df0-70e5-4595-8a98-370278f40c57&DisplayLang=en Info here http://office.microsoft.com/en-us/assistance/HA011513581033.aspx If you use Lebans method (a bit convoluted) to get .jpeg extensions make this change in Function fLoadPicture Select Case right$(strfName, 3) Case "bmp", "dib", "Gif", "emf", "Wmf", "ico", "cur", "jpg", "peg" I gave up using jpegs for other reasons, I was getting microfilm images and so used djvu format as it can be up to 10 times smaller on black and white text type images and has a text searchable metafile plugins. Some University libraries are using for historical archive display on the web. Things like old manuscripts and folios. http://www.djvuzone.org/wid/index.html http://www.djvuzone.org/ Kath Pelletti wrote: >Re: this problem: > > > >>When the user opens a form which attempts to load a .jpg or .gif picture the system come up with "...the database doesn't support the format of >>'E:\Database\Photos\Peru.jpg' so it can't load the picture. >> >> > >I found a bizarre solution in a line on the Lebans website to the effect that if the file extension is upper case it is treated differently by Access to it being in lower case. Disbelieving, I tried it and it works. If I change the file extension of the 350 photos which this system uses (which I can do with one DOS command) from .jpg to .JPG then Access manages to load them correctly. > >It's a bit of a bizarre solution but having uninstalled and re-installed the graphics filters for Office twice, then doing a complete re-installation of Office I am relieved to find any kind of a simple solution. > >BTW - Marty - I did spend some tine on this: http://www.lebans.com/loadjpeg?gif.htm but found that it was difficult to follow. Have you used it? > >Kath > >______________________________________________ >Kath Pelletti >Software Design & Solutions Pty Ltd. >Ph: 9505-6714 >Fax: 9505-6430 >KP at SDSOnline.net > > -- 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 D.Dick at uws.edu.au Mon Jun 13 21:28:16 2005 From: D.Dick at uws.edu.au (Darren Dick) Date: Tue, 14 Jun 2005 12:28:16 +1000 Subject: [AccessD] A2003:Connection Method failing Message-ID: <2FDE83AF1A69C84796CBD13788DDA8833FEECD@BONHAM.AD.UWS.EDU.AU> Hello all (Cross Posted to Sue and Dmitri's list) The code below used to work - now it doesn't Our enterprise has moved to Exchange - does that matter? The error is ERR.Number = -2147024769 ERR.Description = Method 'Connection' of object '_CurrentProject' failed Any suggestions? Code snip below Dim rs As Object Dim con As Object Dim objOutlook As Outlook.Application Dim objAppt As Outlook.AppointmentItem Dim objRecurPattern As Outlook.RecurrencePattern Set objOutlook = CreateObject("Outlook.Application") Set objAppt = objOutlook.CreateItem(olAppointmentItem) Set rs = CreateObject("ADODB.Recordset") Set con = Application.CurrentProject.Connection '<=============Error here From KP at sdsonline.net Tue Jun 14 03:33:16 2005 From: KP at sdsonline.net (Kath Pelletti) Date: Tue, 14 Jun 2005 18:33:16 +1000 Subject: [AccessD] Australia - find nearest location References: <000a01c56d52$78a71990$6601a8c0@user> Message-ID: <001c01c570bb$b6e603d0$6601a8c0@user> What's happening? I posted this last week - and it just appeared on the list now.... ----- Original Message ----- From: Kath Pelletti To: AccessD at databaseadvisors.com Sent: Friday, June 10, 2005 10:22 AM Subject: [AccessD] Australia - find nearest location Hi all - Just wondering whether there happens to be anyone on list who may already have done this - I'm writing a new system for a training company and they want add a geographic search capability - ie. they would like to enter a suburb or postcode and the system displays will show the courses which run closest to them geographically. Any tips? Or if anyone has done this at all - can you tell me what your approach was? Thanks - rgds ______________________________________________ Kath Pelletti Software Design & Solutions Pty Ltd. Ph: 9505-6714 Fax: 9505-6430 KP at SDSOnline.net -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From Chris.Foote at uk.thalesgroup.com Tue Jun 14 03:46:59 2005 From: Chris.Foote at uk.thalesgroup.com (Foote, Chris) Date: Tue, 14 Jun 2005 09:46:59 +0100 Subject: [AccessD] Australia - find nearest location Message-ID: <97CF276BD8C6D4119C4B00508BB18DE709E0C79C@ntscxch1.int.rdel.co.uk> Hi Kath! Problem may be your end somewhere - I got your original post on Fri 10th June at 01:24 UK British Summer Time (GMT+1). There have been at least three replies - did you get them? Regards Chris Foote - UK > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of > Kath Pelletti > Sent: Tuesday, June 14, 2005 9:33 AM > To: Access Developers discussion and problem solving > Subject: Re: [AccessD] Australia - find nearest location > > > What's happening? I posted this last week - and it just > appeared on the list now.... > ----- Original Message ----- > From: Kath Pelletti > To: AccessD at databaseadvisors.com > Sent: Friday, June 10, 2005 10:22 AM > Subject: [AccessD] Australia - find nearest location > > > Hi all - Just wondering whether there happens to be anyone > on list who may already have done this - > > I'm writing a new system for a training company and they > want add a geographic search capability - ie. they would like > to enter a suburb or postcode and the system displays will > show the courses which run closest to them geographically. > > Any tips? Or if anyone has done this at all - can you tell > me what your approach was? > > Thanks - rgds > > ______________________________________________ > Kath Pelletti > Software Design & Solutions Pty Ltd. > Ph: 9505-6714 > Fax: 9505-6430 > KP at SDSOnline.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 KP at sdsonline.net Tue Jun 14 04:00:28 2005 From: KP at sdsonline.net (Kath Pelletti) Date: Tue, 14 Jun 2005 19:00:28 +1000 Subject: [AccessD] Australia - find nearest location References: <97CF276BD8C6D4119C4B00508BB18DE709E0C79C@ntscxch1.int.rdel.co.uk> Message-ID: <003801c570bf$82e77b00$6601a8c0@user> Hi Chris - I got one reply (other than one I also just received from Michael re: Map Point). If there were 3 then for some strange reason I didn't get them. I'll search the archive.... rgds Kath ----- Original Message ----- From: Foote, Chris To: 'Access Developers discussion and problem solving' Sent: Tuesday, June 14, 2005 6:46 PM Subject: RE: [AccessD] Australia - find nearest location Hi Kath! Problem may be your end somewhere - I got your original post on Fri 10th June at 01:24 UK British Summer Time (GMT+1). There have been at least three replies - did you get them? Regards Chris Foote - UK > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of > Kath Pelletti > Sent: Tuesday, June 14, 2005 9:33 AM > To: Access Developers discussion and problem solving > Subject: Re: [AccessD] Australia - find nearest location > > > What's happening? I posted this last week - and it just > appeared on the list now.... > ----- Original Message ----- > From: Kath Pelletti > To: AccessD at databaseadvisors.com > Sent: Friday, June 10, 2005 10:22 AM > Subject: [AccessD] Australia - find nearest location > > > Hi all - Just wondering whether there happens to be anyone > on list who may already have done this - > > I'm writing a new system for a training company and they > want add a geographic search capability - ie. they would like > to enter a suburb or postcode and the system displays will > show the courses which run closest to them geographically. > > Any tips? Or if anyone has done this at all - can you tell > me what your approach was? > > Thanks - rgds > > ______________________________________________ > Kath Pelletti > Software Design & Solutions Pty Ltd. > Ph: 9505-6714 > Fax: 9505-6430 > KP at SDSOnline.net > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From Chris.Foote at uk.thalesgroup.com Tue Jun 14 04:03:05 2005 From: Chris.Foote at uk.thalesgroup.com (Foote, Chris) Date: Tue, 14 Jun 2005 10:03:05 +0100 Subject: [AccessD] Australia - find nearest location Message-ID: <97CF276BD8C6D4119C4B00508BB18DE709E0C79D@ntscxch1.int.rdel.co.uk> Strange things happen sometimes! I'll forward the replies to you off-list Kath! Regards! Chris Foote - UK > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of > Kath Pelletti > Sent: Tuesday, June 14, 2005 10:00 AM > To: Access Developers discussion and problem solving > Subject: Re: [AccessD] Australia - find nearest location > > > Hi Chris - I got one reply (other than one I also just > received from Michael re: Map Point). > > If there were 3 then for some strange reason I didn't get > them. I'll search the archive.... > > rgds > Kath > ----- Original Message ----- > From: Foote, Chris > To: 'Access Developers discussion and problem solving' > Sent: Tuesday, June 14, 2005 6:46 PM > Subject: RE: [AccessD] Australia - find nearest location > > > Hi Kath! > > Problem may be your end somewhere - I got your original > post on Fri 10th > June at 01:24 UK British Summer Time (GMT+1). > > There have been at least three replies - did you get them? > > Regards > Chris Foote - UK > > > -----Original Message----- > > From: accessd-bounces at databaseadvisors.com > > [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of > > Kath Pelletti > > Sent: Tuesday, June 14, 2005 9:33 AM > > To: Access Developers discussion and problem solving > > Subject: Re: [AccessD] Australia - find nearest location > > > > > > What's happening? I posted this last week - and it just > > appeared on the list now.... > > ----- Original Message ----- > > From: Kath Pelletti > > To: AccessD at databaseadvisors.com > > Sent: Friday, June 10, 2005 10:22 AM > > Subject: [AccessD] Australia - find nearest location > > > > > > Hi all - Just wondering whether there happens to be anyone > > on list who may already have done this - > > > > I'm writing a new system for a training company and they > > want add a geographic search capability - ie. they would like > > to enter a suburb or postcode and the system displays will > > show the courses which run closest to them geographically. > > > > Any tips? Or if anyone has done this at all - can you tell > > me what your approach was? > > > > Thanks - rgds > > > > ______________________________________________ > > Kath Pelletti > > Software Design & Solutions Pty Ltd. > > Ph: 9505-6714 > > Fax: 9505-6430 > > KP at SDSOnline.net > > -- > > AccessD mailing list > > AccessD at databaseadvisors.com > > http://databaseadvisors.com/mailman/listinfo/accessd > > Website: http://www.databaseadvisors.com > > -- > > AccessD mailing list > > AccessD at databaseadvisors.com > > http://databaseadvisors.com/mailman/listinfo/accessd > > Website: http://www.databaseadvisors.com > > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > From KP at sdsonline.net Tue Jun 14 04:05:58 2005 From: KP at sdsonline.net (Kath Pelletti) Date: Tue, 14 Jun 2005 19:05:58 +1000 Subject: [AccessD] Australia - find nearest location References: <59A61174B1F5B54B97FD4ADDE71E7D010E4CA3@ddi-01.DDI.local> Message-ID: <004401c570c0$47bce280$6601a8c0@user> Thanks Michael - I think I need to learn about the way / rules that postcodes are allocated in my region - that way I may be able to create some sort of process. Just thought someone may have looked into that before. Basically what I need to know is whether proximity in number = proximity in distance - I am guessing that it won't always be the case... Kath ----- Original Message ----- From: Michael Maddison To: Access Developers discussion and problem solving Sent: Friday, June 10, 2005 10:48 AM Subject: RE: [AccessD] Australia - find nearest location Never tried myself, but the discussions here recently on MapPoint might lead the way. cheers Michael M Hi all - Just wondering whether there happens to be anyone on list who may already have done this - I'm writing a new system for a training company and they want add a geographic search capability - ie. they would like to enter a suburb or postcode and the system displays will show the courses which run closest to them geographically. Any tips? Or if anyone has done this at all - can you tell me what your approach was? Thanks - rgds ______________________________________________ Kath Pelletti Software Design & Solutions Pty Ltd. Ph: 9505-6714 Fax: 9505-6430 KP at SDSOnline.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 ssharkins at bellsouth.net Tue Jun 14 08:25:44 2005 From: ssharkins at bellsouth.net (Susan Harkins) Date: Tue, 14 Jun 2005 09:25:44 -0400 Subject: [AccessD] Australia - find nearest location In-Reply-To: <001c01c570bb$b6e603d0$6601a8c0@user> Message-ID: <20050614132543.ULNQ13045.ibm69aec.bellsouth.net@SUSANONE> FWIW, list mail has been bad all week for me -- not just accessd, but all of the lists I'm on -- I see responses long before the originals -- sometimes as long as an entire day. Also, my own postings are taking forever to show up. I don't think there's anything we can really do about it, except wait for it to work itself out. Susan H. What's happening? I posted this last week - and it just appeared on the list now.... From Paul.Rogers at SummitMedia.co.uk Tue Jun 14 08:56:53 2005 From: Paul.Rogers at SummitMedia.co.uk (Paul Rodgers) Date: Tue, 14 Jun 2005 14:56:53 +0100 Subject: [AccessD] Updating from Text to Number data type Message-ID: <1FF4D9105232EB4DA1901BB7D175877E03F706@s003.wolds.summitmedia.co.uk> I'm changing a one-table db over to a relational db. I have retained old fields with data so I can update the new look-up fields quickly. For example, Hostel records into UnitID via an update query to save doing hundreds by hand. Only ... UnitID becomes a Number data type, and Access2K won't let the data be moved across. Be most grateful for a nod in the right direction. All the best paul -- No virus found in this outgoing message. Checked by AVG Anti-Virus. Version: 7.0.323 / Virus Database: 267.7.1 - Release Date: 13/06/2005 From Paul.Rogers at SummitMedia.co.uk Tue Jun 14 09:01:41 2005 From: Paul.Rogers at SummitMedia.co.uk (Paul Rodgers) Date: Tue, 14 Jun 2005 15:01:41 +0100 Subject: [AccessD] Web page to Access Message-ID: <1FF4D9105232EB4DA1901BB7D175877E03F707@s003.wolds.summitmedia.co.uk> The client asks: Can information in a table (Name, Address, City, etc) on a webpage be fed (coded) automatically straight into Access 2k? I said, 'I don't think so.' But perhaps it is possible. Anyone any experience, please? All the best paul -- No virus found in this outgoing message. Checked by AVG Anti-Virus. Version: 7.0.323 / Virus Database: 267.7.1 - Release Date: 13/06/2005 From ssharkins at bellsouth.net Tue Jun 14 09:02:40 2005 From: ssharkins at bellsouth.net (Susan Harkins) Date: Tue, 14 Jun 2005 10:02:40 -0400 Subject: [AccessD] Web page to Access In-Reply-To: <1FF4D9105232EB4DA1901BB7D175877E03F707@s003.wolds.summitmedia.co.uk> Message-ID: <20050614140239.VCVL13045.ibm69aec.bellsouth.net@SUSANONE> I've asked about this and never found a direct way -- but using the Browser control, you can browse right inside Access, which might make the transfer process easier. Also, Drew has a cool API that forces an Access form to "stay on top" even while you're in a browser -- which makes it easier to cut and paste from the web page directly into your folder -- works well if you're just gleaning small, infrequent pieces of data. Susan H. The client asks: Can information in a table (Name, Address, City, etc) on a webpage be fed (coded) automatically straight into Access 2k? I said, 'I don't think so.' But perhaps it is possible. Anyone any experience, please? From dejpolsys at hotmail.com Tue Jun 14 09:08:40 2005 From: dejpolsys at hotmail.com (William Hindman) Date: Tue, 14 Jun 2005 10:08:40 -0400 Subject: [AccessD] Australia - find nearest location References: <20050614132543.ULNQ13045.ibm69aec.bellsouth.net@SUSANONE> Message-ID: ..move to civilization? :) William ----- Original Message ----- From: "Susan Harkins" To: "'Access Developers discussion and problem solving'" Sent: Tuesday, June 14, 2005 9:25 AM Subject: RE: [AccessD] Australia - find nearest location > FWIW, list mail has been bad all week for me -- not just accessd, but all > of > the lists I'm on -- I see responses long before the originals -- sometimes > as long as an entire day. Also, my own postings are taking forever to show > up. > > I don't think there's anything we can really do about it, except wait for > it > to work itself out. > > Susan H. > > What's happening? I posted this last week - and it just appeared on the > list > now.... > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > From ssharkins at bellsouth.net Tue Jun 14 09:14:55 2005 From: ssharkins at bellsouth.net (Susan Harkins) Date: Tue, 14 Jun 2005 10:14:55 -0400 Subject: [AccessD] Australia - find nearest location In-Reply-To: Message-ID: <20050614141559.OQHC5167.ibm59aec.bellsouth.net@SUSANONE> Hmmmm... William, you could be talking to Kath or me. :) Susan H. ..move to civilization? :) From reuben at gfconsultants.com Tue Jun 14 09:26:57 2005 From: reuben at gfconsultants.com (Reuben Cummings) Date: Tue, 14 Jun 2005 09:26:57 -0500 Subject: [AccessD] Updating from Text to Number data type In-Reply-To: <1FF4D9105232EB4DA1901BB7D175877E03F706@s003.wolds.summitmedia.co.uk> Message-ID: I've always been able to append or update records with text and change to a number at the same time. In fact, I did a bunch last week. Are you sure all the ID's will actually convert to numbers? Or the number type is correct for the incoming data. What is A2K telling you? Reuben Cummings GFC, LLC phone: 812.523.1017 email: reuben at gfconsultants.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Paul Rodgers Sent: Tuesday, June 14, 2005 8:57 AM To: 'Access Developers discussion and problem solving' Subject: RE: [AccessD] Updating from Text to Number data type I'm changing a one-table db over to a relational db. I have retained old fields with data so I can update the new look-up fields quickly. For example, Hostel records into UnitID via an update query to save doing hundreds by hand. Only ... UnitID becomes a Number data type, and Access2K won't let the data be moved across. Be most grateful for a nod in the right direction. All the best paul -- No virus found in this outgoing message. Checked by AVG Anti-Virus. Version: 7.0.323 / Virus Database: 267.7.1 - Release Date: 13/06/2005 -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From Paul.Rogers at SummitMedia.co.uk Tue Jun 14 10:38:17 2005 From: Paul.Rogers at SummitMedia.co.uk (Paul Rodgers) Date: Tue, 14 Jun 2005 16:38:17 +0100 Subject: [AccessD] Web page to Access Message-ID: <1FF4D9105232EB4DA1901BB7D175877E03F708@s003.wolds.summitmedia.co.uk> Thanks for the direction, Susan. Will explore that way. Cheers paul -----Original Message----- From: Susan Harkins [mailto:ssharkins at bellsouth.net] Sent: 14 June 2005 15:03 To: 'Access Developers discussion and problem solving' Subject: RE: [AccessD] Web page to Access I've asked about this and never found a direct way -- but using the Browser control, you can browse right inside Access, which might make the transfer process easier. Also, Drew has a cool API that forces an Access form to "stay on top" even while you're in a browser -- which makes it easier to cut and paste from the web page directly into your folder -- works well if you're just gleaning small, infrequent pieces of data. Susan H. The client asks: Can information in a table (Name, Address, City, etc) on a webpage be fed (coded) automatically straight into Access 2k? I said, 'I don't think so.' But perhaps it is possible. Anyone any experience, please? -- AccessD mailing list AccessD 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.323 / Virus Database: 267.7.1 - Release Date: 13/06/2005 -- No virus found in this outgoing message. Checked by AVG Anti-Virus. Version: 7.0.323 / Virus Database: 267.7.1 - Release Date: 13/06/2005 From martyconnelly at shaw.ca Tue Jun 14 12:01:10 2005 From: martyconnelly at shaw.ca (MartyConnelly) Date: Tue, 14 Jun 2005 10:01:10 -0700 Subject: [AccessD] Web page to Access References: <1FF4D9105232EB4DA1901BB7D175877E03F707@s003.wolds.summitmedia.co.uk> Message-ID: <42AF0D56.2010205@shaw.ca> It can be done by screen scraping via xmlhttp request object, winhhtp or wininet. Essentially you send a http post command like www.somesite.com?table=A&recordrange=100 It then returns a text string which is a copy of the html screen You then parse the returned html for the values desired. Really easy if html is xhtml compliant (ha ha rarely true) you can then use xslt to parse out values Drawbacks if html page format changes (common) you may have rewrite parser code. also some sites may do page redirects for security to stop this type of scraping or have hidden the asp source. Some of the bigger or more technically adept companies may provide this data as a web service. Needs some knowledge of html forms to get it to work.You may have to figure out button code on original html source of the request page. If you don't have a formal data sharing agreement with the company, I wouldn't bet the farm on it. for a whole variety of reasons. I know one VP of an airline in Canada went to jail or was severely fined for screenscraping a competitors route and load info from an internal website. He ummm borrowed a password from an ex-employee of the competitor and then hit the webpage thousands of time via code using this method, they sort of noticed the spike of hits in the middle of the night. Here is some sample code that works off a webservice for limited US Canada address testing. See here for info. http://ws.cdyne.com/psaddress/addresslookup.asmx/ You need a purchased license key other than 0 for a large volume. To use this code elsewhere You would just change oXMLHTTP.send string to whatever parameters comes behind "?" and then read or dump returned string to a file with the returned html text in oXMLHTTP.responseText and then parse text string for your values. This site returns xml rather than straight text so easier to parse with DOM or XSLT or XPath query. Sub test() Dim strAddress As String strAddress = AddrCorrect("One Microsoft Way", "Redmond", "WA", "98052-6399", "0") MsgBox strAddress strAddress = AddrCorrect("1 Microsoft Way", "Redmond", "WA", "98052-6399", "0") MsgBox strAddress strAddress = AddrCorrect("One Lake St", "Upper Saddle River", "NJ", "07458", "0") MsgBox strAddress strAddress = AddrCorrect("", "Redmond", "WA", "", "0") MsgBox strAddress strAddress = AddrCorrect("417 Fifth Ave", "New York", "NY", "10016", "0") 'more than 1 zip code MsgBox strAddress strAddress = AddrCorrect("2400 East Bayshore Road", "Palo Alto", "CA", "94303", "0") MsgBox strAddress Debug.Print strAddress End Sub Public Function AddrCorrect(ByRef address As String, ByRef city As String, ByRef state As String, ByRef zip As String, Optional LicenseKey As String) As String 'Dim oXMLHTTP As MSXML2.ServerXMLHTTP Dim oXMLHTTP As Object ' Call the web service to get an XML document Set oXMLHTTP = CreateObject("Msxml2.ServerXMLHTTP") ' Set oXMLHTTP = New MSXML2.ServerXMLHTTP oXMLHTTP.Open "POST", _ "http://ws.cdyne.com/psaddress/addresslookup.asmx/CheckAddress", _ False oXMLHTTP.setRequestHeader "Content-Type", _ "application/x-www-form-urlencoded" oXMLHTTP.send "AddressLine=" & URLEncode(address) & "&ZipCode=" & URLEncode(zip) & "&City=" & URLEncode(city) & "&StateAbbrev=" & URLEncode(state) & "&LicenseKey=" & URLEncode(LicenseKey) If oXMLHTTP.status <> 200 Then MsgBox "Service Unavailable. Try again later" Set oXMLHTTP = Nothing Exit Function End If 'Dim oDOM As Object ' doesn't work why Dim oDOM As MSXML2.DOMDocument50 Dim oDOM As MSXML2.DOMDocument40 Set oDOM = oXMLHTTP.responseXML 'Debug.Print oDOM.xml Dim oNL As Object Dim oCN As Object Dim oCC As Object Set oNL = oDOM.getElementsByTagName("Address") For Each oCN In oNL For Each oCC In oCN.childNodes Select Case LCase(oCC.nodeName) Case "serviceerror" If CBool(oCC.Text) = True Then AddrCorrect = "Service Error. Try again Later" GoTo leaveit End If Case "addresserror" If CBool(oCC.Text) = True Then AddrCorrect = "Address uncorrectable." Debug.Print oDOM.xml GoTo leaveit End If Case "servicecurrentlyunavailable" If CBool(oCC.Text) = True Then AddrCorrect = "Service Unavailable. Try again Later" GoTo leaveit End If Case "addressfoundbemorespecific" If CBool(oCC.Text) = True Then AddrCorrect = "Address Found. Be more Specific." GoTo leaveit End If Case "deliveryaddress" address = oCC.Text Case "city" city = oCC.Text Case "stateabbrev" state = oCC.Text Case "zipcode" zip = oCC.Text End Select Next Next AddrCorrect = "OK" ' Address corrected leaveit: Set oCC = Nothing Set oCN = Nothing Set oNL = Nothing Set oDOM = Nothing Set oXMLHTTP = Nothing End Function Public Function URLEncode(inS As String) As String Dim i As Long Dim inC, outC As String For i = 1 To Len(inS) inC = Mid(inS, i, 1) Select Case inC Case " " outC = "+" Case "&" outC = "%38" Case "!" To "~" outC = inC Case Else outC = "%" + Right("00" + Hex(Asc(inC)), 2) End Select URLEncode = URLEncode + outC Next i End Function Paul Rodgers wrote: >The client asks: Can information in a table (Name, Address, City, etc) on a >webpage be fed (coded) automatically straight into Access 2k? > >I said, 'I don't think so.' But perhaps it is possible. Anyone any >experience, please? > >All the best >paul > > > -- Marty Connelly Victoria, B.C. Canada From dejpolsys at hotmail.com Tue Jun 14 12:31:44 2005 From: dejpolsys at hotmail.com (William Hindman) Date: Tue, 14 Jun 2005 13:31:44 -0400 Subject: [AccessD] Australia - find nearest location References: <20050614141559.OQHC5167.ibm59aec.bellsouth.net@SUSANONE> Message-ID: ..no, no, no ...Kath lives in Australia ...you live in the outback :) William ----- Original Message ----- From: "Susan Harkins" To: "'Access Developers discussion and problem solving'" Sent: Tuesday, June 14, 2005 10:14 AM Subject: RE: [AccessD] Australia - find nearest location > Hmmmm... William, you could be talking to Kath or me. :) > > Susan H. > > ..move to civilization? :) > > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > From martyconnelly at shaw.ca Tue Jun 14 14:54:58 2005 From: martyconnelly at shaw.ca (MartyConnelly) Date: Tue, 14 Jun 2005 12:54:58 -0700 Subject: [AccessD] Detecting Database Connection Type? References: <20050614003805.CF92C4154D@mail01.powweb.com> Message-ID: <42AF3612.9020600@shaw.ca> You can try Win32_NetworkAdapter and Win32_NetworkAdapterConfiguration to get information about the network adapter. Also, you can obtain the information about what kind of connection (such as VPN, PPPoE..etc) is using in the remote PC from these two classes. You can have both wireless and lan connection made at same time. but you can set opening precedence from Network Control Panel advanced options. This code might tell you if wireless or Lan connection, haven't got wireless one to test. You can code to disable one of the Nics via Shell namespace. also this DOS command might tell you something netsh interface show interface > c:\temp\netsh.txt Sub testnics() 'this code takes several seconds to run initially Dim NICA As Object Dim Nic As Variant Dim lngCount As Long Dim StrNic As String Dim StrIP As String Dim i As Long Set NICA = GetObject("winmgmts:").InstancesOf("Win32_NetworkAdapterConfiguration") For Each Nic In NICA Debug.Print "============================" StrNic = Nic.Description 'type of NIC Debug.Print StrNic If Nic.IPEnabled Then lngCount = UBound(Nic.IPAddress) 'For i = 0 To lngCount StrIP = vbTab & Nic.IPAddress(0) 'array If StrIP <> "" Then Debug.Print "IP " & StrIP & " MAC address " & Nic.MACAddress Debug.Print "DNS Name " & Nic.DNSHostName End If ' Next End If Debug.Print vbNewLine Next Robert Gracie wrote: >Michael, > The problem is a little deeper that that. We have several laptop users, >each with wireless capabilities that automatically connect to the LAN. I >have instructed them, (sigh) time and time again, that they must plug into >the network, via a LAN jack before logging in the program. I'm at the point >now where I need to come up with a solution that works to prevent a wireless >connection to this one program. All laptop users are running Win XP. > >I sure hope there is a "Coded" solution, as I don't want to convert this >program to SQL.... > >I hope this helps... > >Robert > > > >-----Original Message----- >From: accessd-bounces at databaseadvisors.com >[mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Michael R Mattys >Sent: Monday, June 13, 2005 8:16 PM >To: Access Developers discussion and problem solving >Subject: Re: [AccessD] Detecting Database Connection Type? > >----- Original Message ----- >From: "Robert Gracie" >To: "'Access Developers discussion and problem solving'" > >Sent: Monday, June 13, 2005 7:56 PM >Subject: [AccessD] Detecting Database Connection Type? > > > > >> How can one check the type of connection to the back end data, making >> >> >sure > > >>the connection is not wireless? >> >> > >Robert, > >What prompted your question? >Is it not simply a matter of connection exists verus connection does not >exist? > >---- > >Michael R. Mattys >Mattys MapLib for Microsoft MapPoint >http://www.mattysconsulting.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 pedro at plex.nl Tue Jun 14 15:56:14 2005 From: pedro at plex.nl (Pedro Janssen) Date: Tue, 14 Jun 2005 22:56:14 +0200 Subject: [AccessD] invalid number of arguments References: <002a01c56f98$c62e6a90$fac581d5@pedro><017001c56fa4$4d7685e0$0202a8c0@default><001901c57015$3ddf5dc0$fac581d5@pedro><00c101c57019$b79955e0$0202a8c0@default><002301c5704b$9b1b4180$fac581d5@pedro> <00be01c5704f$e33b0370$0202a8c0@default> Message-ID: <007901c57128$6b131390$fac581d5@pedro> Hello Michael, no the error then still exists. Pedro Janssen ----- Original Message ----- From: "Michael R Mattys" To: "Access Developers discussion and problem solving" Sent: Monday, June 13, 2005 9:41 PM Subject: Re: [AccessD] invalid number of arguments > Pedro, > > Will the error go away if you set a reference to DAO 3.6 > and then put Dim db As DAO.Database? > ---- > > Michael R. Mattys > Mattys MapLib for Microsoft MapPoint > http://www.mattysconsulting.com > > > > ----- Original Message ----- > From: "Pedro Janssen" > To: "Access Developers discussion and problem solving" > > Sent: Monday, June 13, 2005 3:10 PM > Subject: Re: [AccessD] invalid number of arguments > > > > Thanks for this code Michael, > > > > but i need to solve the invalid argument error anyway, because i have > other > > codes with the same problem. > > > > Pedro Janssen > > > > > > ----- Original Message ----- > > From: "Michael R Mattys" > > To: "Access Developers discussion and problem solving" > > > > Sent: Monday, June 13, 2005 3:13 PM > > Subject: Re: [AccessD] invalid number of arguments > > > > > > > Pedro, > > > > > > Sorry. This is how I remove linked tables: > > > To make it so that you remove only specific tables > > > you modify it so that you end up with Neal's function. > > > > > > Function RemoveLinkedTbls() > > > Dim db As DAO.Database, tdf As DAO.TableDef > > > Set db = CurrentDb > > > For Each tdf In db.TableDefs > > > If tdf.Connect <> "" Then > > > DoCmd.DeleteObject acTable, tdf.Name > > > End If > > > Next > > > Set db = Nothing > > > End Function > > > ---- > > > > > > Michael R. Mattys > > > Mattys MapLib for Microsoft MapPoint > > > http://www.mattysconsulting.com > > > > > > > > > > > > ----- Original Message ----- > > > From: "Pedro Janssen" > > > To: "Access Developers discussion and problem solving" > > > > > > Sent: Monday, June 13, 2005 8:41 AM > > > Subject: Re: [AccessD] invalid number of arguments > > > > > > > > > > Hello Michael, > > > > > > > > when using db.TableDefs(strTableName).Delete it gives an > compile-error: > > > > Can't find methode or member. > > > > > > > > Any other ideas. > > > > > > > > Pedro Janssen > > > > > > > > > > > > > > > > ----- Original Message ----- > > > > From: "Michael R Mattys" > > > > To: "Access Developers discussion and problem solving" > > > > > > > > Sent: Monday, June 13, 2005 1:13 AM > > > > Subject: Re: [AccessD] invalid number of arguments > > > > > > > > > > > > > ----- Original Message ----- > > > > > From: "Pedro Janssen" > > > > > To: > > > > > Sent: Sunday, June 12, 2005 5:50 PM > > > > > Subject: [AccessD] invalid number of arguments > > > > > > > > > > > > > > > Hello Group, > > > > > > > > > > i am using a function that Neil Kling provided me in the past. > > > > > When running it from an expression i get an error: > > > > > > > > > > Invalid number of arguments. > > > > > > > > > > Who can help me with this > > > > > > > > > > ------ > > > > > > > > > > Pedro, > > > > > > > > > > It should be > > > > > > > > > > db.TableDefs(strTableName).Delete > > > > > > > > > > ---- > > > > > > > > > > Michael R. Mattys > > > > > Mattys MapLib for Microsoft MapPoint > > > > > http://www.mattysconsulting.com > > > > > -- > > > > > AccessD mailing list > > > > > AccessD at databaseadvisors.com > > > > > http://databaseadvisors.com/mailman/listinfo/accessd > > > > > Website: http://www.databaseadvisors.com > > > > > > > > > > > > > > > > > -- > > > > AccessD mailing list > > > > AccessD at databaseadvisors.com > > > > http://databaseadvisors.com/mailman/listinfo/accessd > > > > Website: http://www.databaseadvisors.com > > > > > > -- > > > AccessD mailing list > > > AccessD at databaseadvisors.com > > > http://databaseadvisors.com/mailman/listinfo/accessd > > > Website: http://www.databaseadvisors.com > > > > > > > > > -- > > AccessD mailing list > > AccessD at databaseadvisors.com > > http://databaseadvisors.com/mailman/listinfo/accessd > > 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 Jun 14 16:26:37 2005 From: pedro at plex.nl (Pedro Janssen) Date: Tue, 14 Jun 2005 23:26:37 +0200 Subject: [AccessD] invalid number of arguments References: <30BC111F638EB54082001A7E7282FE4107F3D6@elmo.co.montgomery.ny.us> Message-ID: <007a01c57128$6b8d73b0$fac581d5@pedro> Indeed i am not passing in anything, now i understand why the error occurs. Is there no other way to work arround this. Pedro Janssen ----- Original Message ----- From: "Neal Kling" To: "Access Developers discussion and problem solving" Sent: Monday, June 13, 2005 9:51 PM Subject: RE: [AccessD] invalid number of arguments > I believe he's passing nothing, which of course results in the missing parameter. Perhaps you can explain this better than I. > > Neal > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Mike & Doris > Manning > Sent: Monday, June 13, 2005 3:46 PM > To: 'Access Developers discussion and problem solving' > Subject: RE: [AccessD] invalid number of arguments > > > What are you passing in as the value of "tblDebiteurAlgemeen"? > > Doris Manning > Database Administrator > Hargrove Inc. > www.hargroveinc.com > > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Pedro Janssen > Sent: Monday, June 13, 2005 3:15 PM > To: Access Developers discussion and problem solving > Subject: Re: [AccessD] invalid number of arguments > > > Hello Neal, > > i now have tried: > > Function DeleteTableLink(tblDebiteurAlgemeen As String) As Boolean On Error > GoTo Err_DeleteTableLink > Dim db As Database > > Set db = DBEngine(0)(0) > db.TableDefs.Delete (tblDebiteurAlgemeen) > db.TableDefs.Refresh > > DeleteTableLink = True > > Exit_DeleteTableLink: > > etc.etc.etc > > > but i still have the error. > > Anyone any ideas. > > Pedro > > > > ----- Original Message ----- > From: "Neal Kling" > To: "Access Developers discussion and problem solving" > > Sent: Monday, June 13, 2005 2:52 PM > Subject: RE: [AccessD] invalid number of arguments > > > > I see you're setting the table variable right in the function. But the > function it's self is still expecting you to pass a table name. I suspect > this may be where you are having a problem. Either redeclare the function > without the strTableName parameter, or pass it the table name. In other > words instead of setting strTableName in the function, call the function > like this: > > > > DeleteTableLink "tblDebiteurAlgemeen" > > > > Don't forget to comment out the line > > strTableName = "tblDebiteurAlgemeen" > > > > Neal > > > > -----Original Message----- > > From: accessd-bounces at databaseadvisors.com > > [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Pedro > > Janssen > > Sent: Sunday, June 12, 2005 5:51 PM > > To: AccessD at databaseadvisors.com > > Subject: [AccessD] invalid number of arguments > > > > > > Hello Group, > > > > i am using a function that Neil Kling provided me in the past. When > > running it from an expression i get an error: > > > > Invalid number of arguments. > > > > Who can help me with this > > > > Pedro Janssen > > > > > > > > > > Function DeleteTableLink(strTableName As String) As Boolean On Error > > GoTo Err_DeleteTableLink > > Dim db As Database > > > > strTableName = "tblDebiteurAlgemeen" > > > > Set db = DBEngine(0)(0) > > db.TableDefs.Delete strTableName > > db.TableDefs.Refresh > > > > DeleteTableLink = True > > > > Exit_DeleteTableLink: > > Exit Function > > > > Err_DeleteTableLink: > > Select Case Err > > Case 0 'insert Errors you wish to ignore here > > Resume Next > > Case 3265 'Item doesn't exist in collection > > Resume Next > > Case Else 'All other errors will trap > > Beep > > MsgBox Err.Number & "; " & Err.Description, , "Error in function > basObjectHandlers.DeleteTableLink" > > Resume Exit_DeleteTableLink > > End Select > > Resume 0 'FOR TROUBLESHOOTING > > End Function > > -- > > AccessD mailing list > > AccessD at databaseadvisors.com > > http://databaseadvisors.com/mailman/listinfo/accessd > > Website: http://www.databaseadvisors.com > > -- > > AccessD mailing list > > AccessD at databaseadvisors.com > > http://databaseadvisors.com/mailman/listinfo/accessd > > Website: http://www.databaseadvisors.com > > > > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > 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 Jun 14 16:30:19 2005 From: pedro at plex.nl (Pedro Janssen) Date: Tue, 14 Jun 2005 23:30:19 +0200 Subject: [AccessD] invalid number of arguments References: <30BC111F638EB54082001A7E7282FE41114D45@elmo.co.montgomery.ny.us> Message-ID: <007b01c57128$6c07acc0$fac581d5@pedro> Hello Neal, WQhen using: ""Function DeleteTableLink() as Boolean Then you would need to specify which table in the function like this db.TableDefs.Delete "tblDebiteurAlgemeen" "" It not only removes the link, but also deletes the table. What i would like is to remove the link, so that the table can be used. Can you explain, where and how to use: DeleteTableLink "tblDebiteurAlgemeen" in the code. Maybe i misunderstand what you mean because when using this after Function, i get Compiling errors, because the code expects instruction ends. Let me explain a little more why i need to delete the link: I have a linked table. I need a copy of that table (structure and data) , without the copy is beeing linked to. After that i need to adjust, by code some field names. Who has done this before and can help me with this?? Pedro Janssen ----- Original Message ----- From: "Neal Kling" To: "Access Developers discussion and problem solving" Sent: Monday, June 13, 2005 9:49 PM Subject: RE: [AccessD] invalid number of arguments > Pedro, > > This line > > Function DeleteTableLink(tblDebiteurAlgemeen As String) As Boolean > > is telling the function that it is going to expect you to pass it a string parameter of the name of the table you want to delete. > > Where you are calling the function it would have to done like this: > DeleteTableLink "tblDebiteurAlgemeen" > > That way the function knows which table to delete. If this is causing you too many problems you can get rid of the requirement for that parameter and declare the function like this: > > Function DeleteTableLink() as Boolean > > Then you would need to specify which table in the function like this > > db.TableDefs.Delete "tblDebiteurAlgemeen" > > The problem is now you have a function that will only do one thing. It won't be reusable. > > Neal > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Pedro Janssen > Sent: Monday, June 13, 2005 3:15 PM > To: Access Developers discussion and problem solving > Subject: Re: [AccessD] invalid number of arguments > > > Hello Neal, > > i now have tried: > > Function DeleteTableLink(tblDebiteurAlgemeen As String) As Boolean > On Error GoTo Err_DeleteTableLink > Dim db As Database > > Set db = DBEngine(0)(0) > db.TableDefs.Delete (tblDebiteurAlgemeen) > db.TableDefs.Refresh > > DeleteTableLink = True > > Exit_DeleteTableLink: > > etc.etc.etc > > > but i still have the error. > > Anyone any ideas. > > Pedro > > > > ----- Original Message ----- > From: "Neal Kling" > To: "Access Developers discussion and problem solving" > > Sent: Monday, June 13, 2005 2:52 PM > Subject: RE: [AccessD] invalid number of arguments > > > > I see you're setting the table variable right in the function. But the > function it's self is still expecting you to pass a table name. I suspect > this may be where you are having a problem. Either redeclare the function > without the strTableName parameter, or pass it the table name. In other > words instead of setting strTableName in the function, call the function > like this: > > > > DeleteTableLink "tblDebiteurAlgemeen" > > > > Don't forget to comment out the line > > strTableName = "tblDebiteurAlgemeen" > > > > Neal > > > > -----Original Message----- > > From: accessd-bounces at databaseadvisors.com > > [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Pedro Janssen > > Sent: Sunday, June 12, 2005 5:51 PM > > To: AccessD at databaseadvisors.com > > Subject: [AccessD] invalid number of arguments > > > > > > Hello Group, > > > > i am using a function that Neil Kling provided me in the past. > > When running it from an expression i get an error: > > > > Invalid number of arguments. > > > > Who can help me with this > > > > Pedro Janssen > > > > > > > > > > Function DeleteTableLink(strTableName As String) As Boolean > > On Error GoTo Err_DeleteTableLink > > Dim db As Database > > > > strTableName = "tblDebiteurAlgemeen" > > > > Set db = DBEngine(0)(0) > > db.TableDefs.Delete strTableName > > db.TableDefs.Refresh > > > > DeleteTableLink = True > > > > Exit_DeleteTableLink: > > Exit Function > > > > Err_DeleteTableLink: > > Select Case Err > > Case 0 'insert Errors you wish to ignore here > > Resume Next > > Case 3265 'Item doesn't exist in collection > > Resume Next > > Case Else 'All other errors will trap > > Beep > > MsgBox Err.Number & "; " & Err.Description, , "Error in function > basObjectHandlers.DeleteTableLink" > > Resume Exit_DeleteTableLink > > End Select > > Resume 0 'FOR TROUBLESHOOTING > > End Function > > -- > > AccessD mailing list > > AccessD at databaseadvisors.com > > http://databaseadvisors.com/mailman/listinfo/accessd > > Website: http://www.databaseadvisors.com > > -- > > AccessD mailing list > > AccessD at databaseadvisors.com > > http://databaseadvisors.com/mailman/listinfo/accessd > > Website: http://www.databaseadvisors.com > > > > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > -- > 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 Jun 14 23:31:11 2005 From: D.Dick at uws.edu.au (Darren Dick) Date: Wed, 15 Jun 2005 14:31:11 +1000 Subject: [AccessD] A2003:Connection Method failing (SOLVED) Message-ID: <2FDE83AF1A69C84796CBD13788DDA8833FF3C8@BONHAM.AD.UWS.EDU.AU> Never Mind Updated to latest MDAC and that sorted it See ya DD -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Darren Dick Sent: Tuesday, June 14, 2005 12:28 PM To: accessd at databaseadvisors.com Subject: [AccessD] A2003:Connection Method failing Hello all (Cross Posted to Sue and Dmitri's list) The code below used to work - now it doesn't Our enterprise has moved to Exchange - does that matter? The error is ERR.Number = -2147024769 ERR.Description = Method 'Connection' of object '_CurrentProject' failed Any suggestions? Code snip below Dim rs As Object Dim con As Object Dim objOutlook As Outlook.Application Dim objAppt As Outlook.AppointmentItem Dim objRecurPattern As Outlook.RecurrencePattern Set objOutlook = CreateObject("Outlook.Application") Set objAppt = objOutlook.CreateItem(olAppointmentItem) Set rs = CreateObject("ADODB.Recordset") Set con = Application.CurrentProject.Connection '<=============Error here -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From marvkin at hotmail.com Wed Jun 15 01:25:32 2005 From: marvkin at hotmail.com (marvin hunkin) Date: Wed, 15 Jun 2005 16:25:32 +1000 Subject: [AccessD] ms access 2003 query Message-ID: Hi. some one mentioned on the list a while back, how to get round of activating the advanced wizards using the tool box in ms access 2003. how to get round, having no short cut keys, and no way to activate the say command button wizard in form or report design of a form or report in ms access 2003. if any one got any tips on how to get round this problem, without dragging and dropping the mouse, and tried the jaws drag and drop feature, but still would not activate it without sighted assistance. did ask freedom scientific, but had no plans to fix this problem, and did report it to tech support over 12 months ago before jaws 6.0 came out last year. so if any one has got me the answer i am looking for, then let me know. cheers Marvin. From Paul.Rogers at SummitMedia.co.uk Wed Jun 15 03:11:02 2005 From: Paul.Rogers at SummitMedia.co.uk (Paul Rodgers) Date: Wed, 15 Jun 2005 09:11:02 +0100 Subject: [AccessD] Web page to Access Message-ID: <1FF4D9105232EB4DA1901BB7D175877E03F70A@s003.wolds.summitmedia.co.uk> That's amazing, Marty. Thanks very much for the guidance and for the code etc. Much obliged to you. Cheers paul -----Original Message----- From: MartyConnelly [mailto:martyconnelly at shaw.ca] Sent: 14 June 2005 18:01 To: Access Developers discussion and problem solving Subject: Re: [AccessD] Web page to Access It can be done by screen scraping via xmlhttp request object, winhhtp or wininet. Essentially you send a http post command like www.somesite.com?table=A&recordrange=100 It then returns a text string which is a copy of the html screen You then parse the returned html for the values desired. Really easy if html is xhtml compliant (ha ha rarely true) you can then use xslt to parse out values Drawbacks if html page format changes (common) you may have rewrite parser code. also some sites may do page redirects for security to stop this type of scraping or have hidden the asp source. Some of the bigger or more technically adept companies may provide this data as a web service. Needs some knowledge of html forms to get it to work.You may have to figure out button code on original html source of the request page. If you don't have a formal data sharing agreement with the company, I wouldn't bet the farm on it. for a whole variety of reasons. I know one VP of an airline in Canada went to jail or was severely fined for screenscraping a competitors route and load info from an internal website. He ummm borrowed a password from an ex-employee of the competitor and then hit the webpage thousands of time via code using this method, they sort of noticed the spike of hits in the middle of the night. Here is some sample code that works off a webservice for limited US Canada address testing. See here for info. http://ws.cdyne.com/psaddress/addresslookup.asmx/ You need a purchased license key other than 0 for a large volume. To use this code elsewhere You would just change oXMLHTTP.send string to whatever parameters comes behind "?" and then read or dump returned string to a file with the returned html text in oXMLHTTP.responseText and then parse text string for your values. This site returns xml rather than straight text so easier to parse with DOM or XSLT or XPath query. Sub test() Dim strAddress As String strAddress = AddrCorrect("One Microsoft Way", "Redmond", "WA", "98052-6399", "0") MsgBox strAddress strAddress = AddrCorrect("1 Microsoft Way", "Redmond", "WA", "98052-6399", "0") MsgBox strAddress strAddress = AddrCorrect("One Lake St", "Upper Saddle River", "NJ", "07458", "0") MsgBox strAddress strAddress = AddrCorrect("", "Redmond", "WA", "", "0") MsgBox strAddress strAddress = AddrCorrect("417 Fifth Ave", "New York", "NY", "10016", "0") 'more than 1 zip code MsgBox strAddress strAddress = AddrCorrect("2400 East Bayshore Road", "Palo Alto", "CA", "94303", "0") MsgBox strAddress Debug.Print strAddress End Sub Public Function AddrCorrect(ByRef address As String, ByRef city As String, ByRef state As String, ByRef zip As String, Optional LicenseKey As String) As String 'Dim oXMLHTTP As MSXML2.ServerXMLHTTP Dim oXMLHTTP As Object ' Call the web service to get an XML document Set oXMLHTTP = CreateObject("Msxml2.ServerXMLHTTP") ' Set oXMLHTTP = New MSXML2.ServerXMLHTTP oXMLHTTP.Open "POST", _ "http://ws.cdyne.com/psaddress/addresslookup.asmx/CheckAddress", _ False oXMLHTTP.setRequestHeader "Content-Type", _ "application/x-www-form-urlencoded" oXMLHTTP.send "AddressLine=" & URLEncode(address) & "&ZipCode=" & URLEncode(zip) & "&City=" & URLEncode(city) & "&StateAbbrev=" & URLEncode(state) & "&LicenseKey=" & URLEncode(LicenseKey) If oXMLHTTP.status <> 200 Then MsgBox "Service Unavailable. Try again later" Set oXMLHTTP = Nothing Exit Function End If 'Dim oDOM As Object ' doesn't work why Dim oDOM As MSXML2.DOMDocument50 Dim oDOM As MSXML2.DOMDocument40 Set oDOM = oXMLHTTP.responseXML 'Debug.Print oDOM.xml Dim oNL As Object Dim oCN As Object Dim oCC As Object Set oNL = oDOM.getElementsByTagName("Address") For Each oCN In oNL For Each oCC In oCN.childNodes Select Case LCase(oCC.nodeName) Case "serviceerror" If CBool(oCC.Text) = True Then AddrCorrect = "Service Error. Try again Later" GoTo leaveit End If Case "addresserror" If CBool(oCC.Text) = True Then AddrCorrect = "Address uncorrectable." Debug.Print oDOM.xml GoTo leaveit End If Case "servicecurrentlyunavailable" If CBool(oCC.Text) = True Then AddrCorrect = "Service Unavailable. Try again Later" GoTo leaveit End If Case "addressfoundbemorespecific" If CBool(oCC.Text) = True Then AddrCorrect = "Address Found. Be more Specific." GoTo leaveit End If Case "deliveryaddress" address = oCC.Text Case "city" city = oCC.Text Case "stateabbrev" state = oCC.Text Case "zipcode" zip = oCC.Text End Select Next Next AddrCorrect = "OK" ' Address corrected leaveit: Set oCC = Nothing Set oCN = Nothing Set oNL = Nothing Set oDOM = Nothing Set oXMLHTTP = Nothing End Function Public Function URLEncode(inS As String) As String Dim i As Long Dim inC, outC As String For i = 1 To Len(inS) inC = Mid(inS, i, 1) Select Case inC Case " " outC = "+" Case "&" outC = "%38" Case "!" To "~" outC = inC Case Else outC = "%" + Right("00" + Hex(Asc(inC)), 2) End Select URLEncode = URLEncode + outC Next i End Function Paul Rodgers wrote: >The client asks: Can information in a table (Name, Address, City, etc) on a >webpage be fed (coded) automatically straight into Access 2k? > >I said, 'I don't think so.' But perhaps it is possible. Anyone any >experience, please? > >All the best >paul > > > -- Marty Connelly Victoria, B.C. Canada -- AccessD mailing list AccessD 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.323 / Virus Database: 267.7.1 - Release Date: 13/06/2005 -- No virus found in this outgoing message. Checked by AVG Anti-Virus. Version: 7.0.323 / Virus Database: 267.7.3/15 - Release Date: 14/06/2005 From Paul.Rogers at SummitMedia.co.uk Wed Jun 15 03:32:04 2005 From: Paul.Rogers at SummitMedia.co.uk (Paul Rodgers) Date: Wed, 15 Jun 2005 09:32:04 +0100 Subject: [AccessD] Updating from Text to Number data type Message-ID: <1FF4D9105232EB4DA1901BB7D175877E03F70C@s003.wolds.summitmedia.co.uk> Hi Reuben You are right, but in this case the field is linked to a lookup table. To make it 'easy', I have a field with the information I want to appear in the new lookup field. The lookup field's data type is Number. The information's data type is text, because it is text. It seems the only way is to update it all by hand because I can't change the data types ... Many thanks paul -----Original Message----- From: Reuben Cummings [mailto:reuben at gfconsultants.com] Sent: 14 June 2005 15:27 To: Access Developers discussion and problem solving Subject: RE: [AccessD] Updating from Text to Number data type I've always been able to append or update records with text and change to a number at the same time. In fact, I did a bunch last week. Are you sure all the ID's will actually convert to numbers? Or the number type is correct for the incoming data. What is A2K telling you? Reuben Cummings GFC, LLC phone: 812.523.1017 email: reuben at gfconsultants.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Paul Rodgers Sent: Tuesday, June 14, 2005 8:57 AM To: 'Access Developers discussion and problem solving' Subject: RE: [AccessD] Updating from Text to Number data type I'm changing a one-table db over to a relational db. I have retained old fields with data so I can update the new look-up fields quickly. For example, Hostel records into UnitID via an update query to save doing hundreds by hand. Only ... UnitID becomes a Number data type, and Access2K won't let the data be moved across. Be most grateful for a nod in the right direction. All the best paul -- No virus found in this outgoing message. Checked by AVG Anti-Virus. Version: 7.0.323 / Virus Database: 267.7.1 - Release Date: 13/06/2005 -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/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.323 / Virus Database: 267.7.1 - Release Date: 13/06/2005 -- No virus found in this outgoing message. Checked by AVG Anti-Virus. Version: 7.0.323 / Virus Database: 267.7.3/15 - Release Date: 14/06/2005 From artful at rogers.com Wed Jun 15 06:08:02 2005 From: artful at rogers.com (Arthur Fuller) Date: Wed, 15 Jun 2005 07:08:02 -0400 Subject: [AccessD] Iterate through similarlnamed columns in a recordset In-Reply-To: References: Message-ID: <42B00C12.6090004@rogers.com> You have a table like this (let's not bring up normalisation)... PK autonumber Size1 long Height1 long Weight1 long (The last three are repeated 3 times, so their last digits are 2, 3 and 4.) Assume the required vars are declared and filled. rs = New ADODB.RecordSet. etc. I want to write a loop something like this: For i = 1 to 4 debug.print rs("Size"&i) etc. Next But I can't seem to get it right. I tried using eval() and various other approaches. Ideas? Arthur From Gustav at cactus.dk Wed Jun 15 06:49:18 2005 From: Gustav at cactus.dk (Gustav Brock) Date: Wed, 15 Jun 2005 13:49:18 +0200 Subject: [AccessD] Iterate through similarlnamed columns in a recordset Message-ID: Hi Arthur Did you send this today? And the 11. June too? /gustav >>> artful at rogers.com 06/15 1:08 pm >>> You have a table like this (let's not bring up normalisation)... PK autonumber Size1 long Height1 long Weight1 long (The last three are repeated 3 times, so their last digits are 2, 3 and 4.) Assume the required vars are declared and filled. rs = New ADODB.RecordSet. etc. I want to write a loop something like this: For i = 1 to 4 debug.print rs("Size"&i) etc. Next But I can't seem to get it right. I tried using eval() and various other approaches. Ideas? Arthur -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From artful at rogers.com Wed Jun 15 08:17:30 2005 From: artful at rogers.com (Arthur Fuller) Date: Wed, 15 Jun 2005 09:17:30 -0400 Subject: [AccessD] Iterate through similarlnamed columns in a recordset In-Reply-To: References: Message-ID: <42B02A6A.1080004@rogers.com> Gustav Brock wrote: >Hi Arthur > >Did you send this today? And the 11. June too? > >/gustav > > > >>>>artful at rogers.com 06/15 1:08 pm >>> >>>> >>>> >You have a table like this (let's not bring up normalisation)... > >PK autonumber >Size1 long >Height1 long >Weight1 long > >(The last three are repeated 3 times, so their last digits are 2, 3 and >4.) > >Assume the required vars are declared and filled. rs = New >ADODB.RecordSet. etc. >I want to write a loop something like this: > >For i = 1 to 4 > debug.print rs("Size"&i) > etc. >Next > >But I can't seem to get it right. I tried using eval() and various >other >approaches. Ideas? > >Arthur > > > I guess I did. Suddenly Thunderbird is screwing up on me big time. I may (gasp) return to Outlook. From mmattys at rochester.rr.com Wed Jun 15 08:49:39 2005 From: mmattys at rochester.rr.com (Michael R Mattys) Date: Wed, 15 Jun 2005 09:49:39 -0400 Subject: [AccessD] invalid number of arguments References: <30BC111F638EB54082001A7E7282FE41114D45@elmo.co.montgomery.ny.us> <007b01c57128$6c07acc0$fac581d5@pedro> Message-ID: <00ba01c571b1$155f3bc0$0202a8c0@default> ----- Original Message ----- From: "Pedro Janssen" To: "Access Developers discussion and problem solving" Sent: Tuesday, June 14, 2005 5:30 PM Subject: Re: [AccessD] invalid number of arguments [Snip] > Let me explain a little more why i need to delete the link: > I have a linked table. > I need a copy of that table (structure and data) , without the copy is > beeing linked to. > After that i need to adjust, by code some field names. > > Who has done this before and can help me with this?? [Snip] Pedro, I have done and can do what you're asking. It may be that you only need to ALIAS fields from your linked table in a query. Then again, you may have to delete the link in order to manipulate fields in the external database. Please explain exactly what you are going to do and we'll see which option needs implementation. ---- Michael R. Mattys Mattys MapLib for Microsoft MapPoint http://www.mattysconsulting.com From Gustav at cactus.dk Wed Jun 15 09:54:17 2005 From: Gustav at cactus.dk (Gustav Brock) Date: Wed, 15 Jun 2005 16:54:17 +0200 Subject: [AccessD] Iterate through similarlnamed columns in a recordset Message-ID: Hi Arthur I see. But did you find out? /gustav >>> artful at rogers.com 06/15 3:17 pm >>> Gustav Brock wrote: >Hi Arthur > >Did you send this today? And the 11. June too? > >/gustav > > > >>>>artful at rogers.com 06/15 1:08 pm >>> >>>> >>>> >You have a table like this (let's not bring up normalisation)... > >PK autonumber >Size1 long >Height1 long >Weight1 long > >(The last three are repeated 3 times, so their last digits are 2, 3 and >4.) > >Assume the required vars are declared and filled. rs = New >ADODB.RecordSet. etc. >I want to write a loop something like this: > >For i = 1 to 4 > debug.print rs("Size"&i) > etc. >Next > >But I can't seem to get it right. I tried using eval() and various >other >approaches. Ideas? > >Arthur > > > I guess I did. Suddenly Thunderbird is screwing up on me big time. I may (gasp) return to Outlook. From reuben at gfconsultants.com Wed Jun 15 09:57:04 2005 From: reuben at gfconsultants.com (Reuben Cummings) Date: Wed, 15 Jun 2005 09:57:04 -0500 Subject: [AccessD] Updating from Text to Number data type In-Reply-To: <1FF4D9105232EB4DA1901BB7D175877E03F70C@s003.wolds.summitmedia.co.uk> Message-ID: I think you are saying that you have a field in one table with datatype text. It is being filled by a combo box using a table with datatype number. Is that correct? I'm sure it can be done (I've been doing a lot of this stuff lately due to some new contracts we have). Send me the tables (including any relationships) offline and I'll check it out. Reuben Cummings GFC, LLC phone: 812.523.1017 email: reuben at gfconsultants.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Paul Rodgers Sent: Wednesday, June 15, 2005 3:32 AM To: 'Access Developers discussion and problem solving' Subject: RE: [AccessD] Updating from Text to Number data type Hi Reuben You are right, but in this case the field is linked to a lookup table. To make it 'easy', I have a field with the information I want to appear in the new lookup field. The lookup field's data type is Number. The information's data type is text, because it is text. It seems the only way is to update it all by hand because I can't change the data types ... Many thanks paul -----Original Message----- From: Reuben Cummings [mailto:reuben at gfconsultants.com] Sent: 14 June 2005 15:27 To: Access Developers discussion and problem solving Subject: RE: [AccessD] Updating from Text to Number data type I've always been able to append or update records with text and change to a number at the same time. In fact, I did a bunch last week. Are you sure all the ID's will actually convert to numbers? Or the number type is correct for the incoming data. What is A2K telling you? Reuben Cummings GFC, LLC phone: 812.523.1017 email: reuben at gfconsultants.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Paul Rodgers Sent: Tuesday, June 14, 2005 8:57 AM To: 'Access Developers discussion and problem solving' Subject: RE: [AccessD] Updating from Text to Number data type I'm changing a one-table db over to a relational db. I have retained old fields with data so I can update the new look-up fields quickly. For example, Hostel records into UnitID via an update query to save doing hundreds by hand. Only ... UnitID becomes a Number data type, and Access2K won't let the data be moved across. Be most grateful for a nod in the right direction. All the best paul -- No virus found in this outgoing message. Checked by AVG Anti-Virus. Version: 7.0.323 / Virus Database: 267.7.1 - Release Date: 13/06/2005 -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/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.323 / Virus Database: 267.7.1 - Release Date: 13/06/2005 -- No virus found in this outgoing message. Checked by AVG Anti-Virus. Version: 7.0.323 / Virus Database: 267.7.3/15 - Release Date: 14/06/2005 -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From fhtapia at gmail.com Wed Jun 15 11:30:00 2005 From: fhtapia at gmail.com (Francisco Tapia) Date: Wed, 15 Jun 2005 09:30:00 -0700 Subject: [AccessD] ms access 2003 query In-Reply-To: References: Message-ID: I did a quick search in my inbox for all the accessD mail that I've received, and found nothing in either the Access-L or AccessD list for "advanced wizards" I just received my copy of Access 2003 last week and it seems everything is fine w/ it except I must load jet 4sp8 in order for it to stop crying like a baby ;). for me to do that I have to have the helpdesk "PUSH" out the upgrade to the clients as many people won't have the admin rights required for this. On 6/14/05, marvin hunkin wrote: > > Hi. > some one mentioned on the list a while back, how to get round of > activating > the advanced wizards using the tool box in ms access 2003. > how to get round, having no short cut keys, and no way to activate the say > command button wizard in form or report design of a form or report in ms > access 2003. > if any one got any tips on how to get round this problem, without dragging > and dropping the mouse, and tried the jaws drag and drop feature, but > still > would not activate it without sighted assistance. > did ask freedom scientific, but had no plans to fix this problem, and did > report it to tech support over 12 months ago before jaws 6.0 came out last > year. > so if any one has got me the answer i am looking for, then let me know. > cheers Marvin. > > > -- > 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 accessd at shaw.ca Wed Jun 15 12:30:48 2005 From: accessd at shaw.ca (Jim Lawrence) Date: Wed, 15 Jun 2005 10:30:48 -0700 Subject: [AccessD] Iterate through similarlnamed columns in a recordset In-Reply-To: <42B00C12.6090004@rogers.com> Message-ID: <0II40031UZB9PW@l-daemon> Hi Arthur: Here is a piece of code that loops through a couple tables and all fields. With rs1 .MoveLast .MoveFirst Do While .EOF = False rs2.AddNew For i = 0 To .Fields.Count - 1 rs2.Fields(i).Value = .Fields(i).Value Next rs2.Update .MoveNext Loop End with HTH Jim -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Arthur Fuller Sent: Wednesday, June 15, 2005 4:08 AM To: Access Developers discussion and problem solving Subject: [AccessD] Iterate through similarlnamed columns in a recordset You have a table like this (let's not bring up normalisation)... PK autonumber Size1 long Height1 long Weight1 long (The last three are repeated 3 times, so their last digits are 2, 3 and 4.) Assume the required vars are declared and filled. rs = New ADODB.RecordSet. etc. I want to write a loop something like this: For i = 1 to 4 debug.print rs("Size"&i) etc. Next But I can't seem to get it right. I tried using eval() and various other approaches. Ideas? 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 Wed Jun 15 12:39:25 2005 From: bchacc at san.rr.com (Rocky Smolin - Beach Access Software) Date: Wed, 15 Jun 2005 10:39:25 -0700 Subject: [AccessD] Design View Increment Message-ID: <018701c571d1$2c609d80$6801a8c0@HAL9004> Dear List: I use the control and arrow keys to move controls around on forms and reports because of the fine control your get that way. In Access 2000 the increment (ctrl-Up Arrow, for instance) was very small. I recently moved to Access 2003 and the increment is very large. I tries increasing the Grid X Grid Y values but it didn't help. Is there a setting that controls the increment? MTIA, Rocky Smolin Beach Access Software http://www.e-z-mrp.com 858-259-4334 From newsgrps at dalyn.co.nz Wed Jun 15 12:55:40 2005 From: newsgrps at dalyn.co.nz (David Emerson) Date: Thu, 16 Jun 2005 05:55:40 +1200 Subject: [AccessD] Design View Increment In-Reply-To: <018701c571d1$2c609d80$6801a8c0@HAL9004> References: <018701c571d1$2c609d80$6801a8c0@HAL9004> Message-ID: <6.2.1.2.0.20050616055031.02b302d0@mail.dalyn.co.nz> Rocky, I don't have A2003 but have noticed funny behaviour in A2002 - sometimes holding the Ctrl key combination behaves as if the Snap To Grid option is checked in the format menu bar (ie with large increments). Then when I check the Snap to Grid option, the Ctrl combination works with small increments and not larger ones. :-\ Regards David Emerson Dalyn Software Ltd 25 Cunliffe St, Churton Park Wellington, New Zealand Ph/Fax (04) 478-7456 Mobile 027-280-9348 At 16/06/2005, you wrote: >Dear List: > >I use the control and arrow keys to move controls around on forms and >reports because of the fine control your get that way. In Access 2000 the >increment (ctrl-Up Arrow, for instance) was very small. I recently moved >to Access 2003 and the increment is very large. I tries increasing the >Grid X Grid Y values but it didn't help. > >Is there a setting that controls the increment? > >MTIA, > >Rocky Smolin >Beach Access Software >http://www.e-z-mrp.com >858-259-4334 >-- >AccessD mailing list >AccessD at databaseadvisors.com >http://databaseadvisors.com/mailman/listinfo/accessd >Website: http://www.databaseadvisors.com From pedro at plex.nl Wed Jun 15 16:05:36 2005 From: pedro at plex.nl (Pedro Janssen) Date: Wed, 15 Jun 2005 23:05:36 +0200 Subject: [AccessD] invalid number of arguments References: <30BC111F638EB54082001A7E7282FE41114D45@elmo.co.montgomery.ny.us><007b01c57128$6c07acc0$fac581d5@pedro> <00ba01c571b1$155f3bc0$0202a8c0@default> Message-ID: <005001c571f0$06e703e0$fac581d5@pedro> Hello Michael, thanks for your help. I will send you an Email tomorrow or friday which will give you some extra details. Pedro Janssen ----- Original Message ----- From: "Michael R Mattys" To: "Access Developers discussion and problem solving" Sent: Wednesday, June 15, 2005 3:49 PM Subject: Re: [AccessD] invalid number of arguments > ----- Original Message ----- > From: "Pedro Janssen" > To: "Access Developers discussion and problem solving" > > Sent: Tuesday, June 14, 2005 5:30 PM > Subject: Re: [AccessD] invalid number of arguments > [Snip] > > > Let me explain a little more why i need to delete the link: > > I have a linked table. > > I need a copy of that table (structure and data) , without the copy is > > beeing linked to. > > After that i need to adjust, by code some field names. > > > > Who has done this before and can help me with this?? > [Snip] > > Pedro, > > I have done and can do what you're asking. > > It may be that you only need to ALIAS fields from your > linked table in a query. Then again, you may have to delete > the link in order to manipulate fields in the external database. > > Please explain exactly what you are going to do and > we'll see which option needs implementation. > ---- > > Michael R. Mattys > Mattys MapLib for Microsoft MapPoint > http://www.mattysconsulting.com > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > From KP at sdsonline.net Wed Jun 15 19:50:32 2005 From: KP at sdsonline.net (Kath Pelletti) Date: Thu, 16 Jun 2005 10:50:32 +1000 Subject: [AccessD] Australia - find nearest location References: <20050614141559.OQHC5167.ibm59aec.bellsouth.net@SUSANONE> Message-ID: <003d01c5720d$67331730$6601a8c0@user> Not sure where Susan lives - but were not that civilised........ :) Kath ----- Original Message ----- From: William Hindman To: Access Developers discussion and problem solving Sent: Wednesday, June 15, 2005 3:31 AM Subject: Re: [AccessD] Australia - find nearest location ..no, no, no ...Kath lives in Australia ...you live in the outback :) William ----- Original Message ----- From: "Susan Harkins" To: "'Access Developers discussion and problem solving'" Sent: Tuesday, June 14, 2005 10:14 AM Subject: RE: [AccessD] Australia - find nearest location > Hmmmm... William, you could be talking to Kath or me. :) > > Susan H. > > ..move to civilization? :) > > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From KP at sdsonline.net Wed Jun 15 19:50:50 2005 From: KP at sdsonline.net (Kath Pelletti) Date: Thu, 16 Jun 2005 10:50:50 +1000 Subject: [AccessD] Australia - find nearest location References: <20050614132543.ULNQ13045.ibm69aec.bellsouth.net@SUSANONE> Message-ID: <004b01c5720d$712f8c50$6601a8c0@user> Yeah - me too. ----- Original Message ----- From: Susan Harkins To: 'Access Developers discussion and problem solving' Sent: Tuesday, June 14, 2005 11:25 PM Subject: RE: [AccessD] Australia - find nearest location FWIW, list mail has been bad all week for me -- not just accessd, but all of the lists I'm on -- I see responses long before the originals -- sometimes as long as an entire day. Also, my own postings are taking forever to show up. I don't think there's anything we can really do about it, except wait for it to work itself out. Susan H. What's happening? I posted this last week - and it just appeared on the list now.... -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From dejpolsys at hotmail.com Wed Jun 15 20:13:47 2005 From: dejpolsys at hotmail.com (William Hindman) Date: Wed, 15 Jun 2005 21:13:47 -0400 Subject: [AccessD] Australia - find nearest location References: <20050614141559.OQHC5167.ibm59aec.bellsouth.net@SUSANONE> <003d01c5720d$67331730$6601a8c0@user> Message-ID: ..the wilds of Kentucky ...uncivilized by any standards :)))) William ----- Original Message ----- From: "Kath Pelletti" To: "Access Developers discussion and problem solving" Sent: Wednesday, June 15, 2005 8:50 PM Subject: Re: [AccessD] Australia - find nearest location Not sure where Susan lives - but were not that civilised........ :) Kath ----- Original Message ----- From: William Hindman To: Access Developers discussion and problem solving Sent: Wednesday, June 15, 2005 3:31 AM Subject: Re: [AccessD] Australia - find nearest location ..no, no, no ...Kath lives in Australia ...you live in the outback :) William ----- Original Message ----- From: "Susan Harkins" To: "'Access Developers discussion and problem solving'" Sent: Tuesday, June 14, 2005 10:14 AM Subject: RE: [AccessD] Australia - find nearest location > Hmmmm... William, you could be talking to Kath or me. :) > > Susan H. > > ..move to civilization? :) > > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From ssharkins at bellsouth.net Wed Jun 15 20:18:48 2005 From: ssharkins at bellsouth.net (Susan Harkins) Date: Wed, 15 Jun 2005 21:18:48 -0400 Subject: [AccessD] Australia - find nearest location In-Reply-To: <003d01c5720d$67331730$6601a8c0@user> Message-ID: <20050616011855.VLOI13045.ibm69aec.bellsouth.net@SUSANONE> Cowpoke, Kentucky :) Beautiful women, fast horses, and smooth bourbon. :) Susan H. Not sure where Susan lives - but were not that civilised........ :) From dejpolsys at hotmail.com Wed Jun 15 20:38:14 2005 From: dejpolsys at hotmail.com (William Hindman) Date: Wed, 15 Jun 2005 21:38:14 -0400 Subject: [AccessD] Australia - find nearest location References: <20050616011855.VLOI13045.ibm69aec.bellsouth.net@SUSANONE> Message-ID: ..the way I heard it was ...fast women, beautiful horses, and hard liquor ..not necessarily in that order :))) William ----- Original Message ----- From: "Susan Harkins" To: "'Access Developers discussion and problem solving'" Sent: Wednesday, June 15, 2005 9:18 PM Subject: RE: [AccessD] Australia - find nearest location > Cowpoke, Kentucky :) Beautiful women, fast horses, and smooth bourbon. :) > > Susan H. > > Not sure where Susan lives - but were not that civilised........ > :) > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > From ssharkins at bellsouth.net Wed Jun 15 20:42:48 2005 From: ssharkins at bellsouth.net (Susan Harkins) Date: Wed, 15 Jun 2005 21:42:48 -0400 Subject: [AccessD] Australia - find nearest location In-Reply-To: Message-ID: <20050616014247.HBTZ25209.ibm63aec.bellsouth.net@SUSANONE> You've been here?????????? ;) I'm sorry -- that's my absolute last -- William, do NOT respond or we're going to get spanked! ;) Susan H. ..the way I heard it was ...fast women, beautiful horses, and hard liquor ..not necessarily in that order :))) From Bruce.Bruen at railcorp.nsw.gov.au Wed Jun 15 20:58:43 2005 From: Bruce.Bruen at railcorp.nsw.gov.au (Bruen, Bruce) Date: Thu, 16 Jun 2005 11:58:43 +1000 Subject: [AccessD] Australia - find nearest location Message-ID: "Basically what I need to know is whether proximity in number = proximity in distance - I am guessing that it won't always be the case..." You have guessed correctly. It wont work, a) the original postcodes were allocated as a loose function of distance from the mail clearance centre - (way back in the 60's??) b)since then new codes have been allocated and old ones modified and reallocated under a series of illogic that thoroughly eliminates any possibility of determining relative geographic co-ordinates across Australia. However, there is a correlation between a postcode and a thing, IIRC, a mail delivery point (which in some cases goes down to a building or even a location within a building.) APO has occassionally published this database but I haven't seen or had any use for it for over 4 years - so I've lost the access to it. Sensis, yahoo/local and even the website that lists your company have functionality that provides this type of lookup but I'm d*mned if I know how they do it. regards bruce -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Kath Pelletti Sent: Tuesday, 14 June 2005 7:06 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Australia - find nearest location Thanks Michael - I think I need to learn about the way / rules that postcodes are allocated in my region - that way I may be able to create some sort of process. Just thought someone may have looked into that before. Basically what I need to know is whether proximity in number = proximity in distance - I am guessing that it won't always be the case... Kath ----- Original Message ----- From: Michael Maddison To: Access Developers discussion and problem solving Sent: Friday, June 10, 2005 10:48 AM Subject: RE: [AccessD] Australia - find nearest location Never tried myself, but the discussions here recently on MapPoint might lead the way. cheers Michael M Hi all - Just wondering whether there happens to be anyone on list who may already have done this - I'm writing a new system for a training company and they want add a geographic search capability - ie. they would like to enter a suburb or postcode and the system displays will show the courses which run closest to them geographically. Any tips? Or if anyone has done this at all - can you tell me what your approach was? Thanks - rgds ______________________________________________ Kath Pelletti Software Design & Solutions Pty Ltd. Ph: 9505-6714 Fax: 9505-6430 KP at SDSOnline.net -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com 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 bchacc at san.rr.com Thu Jun 16 00:35:24 2005 From: bchacc at san.rr.com (Rocky Smolin - Beach Access Software) Date: Wed, 15 Jun 2005 22:35:24 -0700 Subject: [AccessD] Design View Increment References: <018701c571d1$2c609d80$6801a8c0@HAL9004> <6.2.1.2.0.20050616055031.02b302d0@mail.dalyn.co.nz> Message-ID: <02eb01c57235$326e26c0$6801a8c0@HAL9004> Can't get it to behave correctly in 2003. Rocky ----- Original Message ----- From: "David Emerson" To: "Access Developers discussion and problem solving" Sent: Wednesday, June 15, 2005 10:55 AM Subject: Re: [AccessD] Design View Increment > Rocky, > > I don't have A2003 but have noticed funny behaviour in A2002 - sometimes > holding the Ctrl key combination behaves as if the Snap To Grid option is > checked in the format menu bar (ie with large increments). Then when I > check the Snap to Grid option, the Ctrl combination works with small > increments and not larger ones. :-\ > > Regards > > David Emerson > Dalyn Software Ltd > 25 Cunliffe St, Churton Park > Wellington, New Zealand > Ph/Fax (04) 478-7456 > Mobile 027-280-9348 > > At 16/06/2005, you wrote: >>Dear List: >> >>I use the control and arrow keys to move controls around on forms and >>reports because of the fine control your get that way. In Access 2000 the >>increment (ctrl-Up Arrow, for instance) was very small. I recently moved >>to Access 2003 and the increment is very large. I tries increasing the >>Grid X Grid Y values but it didn't help. >> >>Is there a setting that controls the increment? >> >>MTIA, >> >>Rocky Smolin >>Beach Access Software >>http://www.e-z-mrp.com >>858-259-4334 >>-- >>AccessD mailing list >>AccessD at databaseadvisors.com >>http://databaseadvisors.com/mailman/listinfo/accessd >>Website: http://www.databaseadvisors.com > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > From Erwin.Craps at ithelps.be Thu Jun 16 06:43:18 2005 From: Erwin.Craps at ithelps.be (Erwin Craps - IT Helps) Date: Thu, 16 Jun 2005 13:43:18 +0200 Subject: [AccessD] Urgent help needed with IIS server.CreateObject("ADODB.Connection") Message-ID: <46B976F2B698FF46A4FE7636509B22DF1B5C7F@stekelbes.ithelps.local> I'm getting desperate over here. Yesterday I installed this mont security fixes on my W2K server. I also took the opportunity to install SQL SP4. >From that reboot on, non of my database driven website no longer functions. For both "JET 4 MDB" and "SQL server" access I get an error on this command where it always used to work before the updates. failing command server.CreateObject("ADODB.Connection") Retunred error Server object error 'ASP 0178 : 80070005' Server.CreateObject Access Error The call to Server.CreateObject failed while checking permissions. Access is denied to this object. I checked al my NTFS permissons according to the MSKB, but I believe everything is ok. Anyway, it worked for years before this update. Is this a bug in the windows fiexes???? Erwin Craps Zaakvoerder www.ithelps.be/onsgezin This E-mail is confidential, may be legally privileged, and is for the intended recipient only. Access, disclosure, copying, distribution, or reliance on any of it by anyone else is prohibited and may be a criminal offence. Please delete if obtained in error and E-mail confirmation to the sender. IT Helps - I.T. Help Center *** Box Office Belgium & Luxembourg www.ithelps.be * www.boxoffice.be * www.stadleuven.be IT Helps bvba* ** Mercatorpad 3 ** 3000 Leuven IT Helps * Phone: +32 16 296 404 * Fax: +32 16 296 405 E-mail: Info at ithelps.be Box Office ** Fax: +32 16 296 406 ** Box Office E-mail: Staff at boxoffice.be From nkling at co.montgomery.ny.us Thu Jun 16 07:16:06 2005 From: nkling at co.montgomery.ny.us (Neal Kling) Date: Thu, 16 Jun 2005 08:16:06 -0400 Subject: [AccessD] Urgent help needed with IISserver.CreateObject("ADODB.Connection") Message-ID: <30BC111F638EB54082001A7E7282FE41114D4A@elmo.co.montgomery.ny.us> Google returned this possibility http://www.developersdex.com/asp/message.asp?p=575&ID=%3C%23J3kRXQyEHA.2012%40TK2MSFTNGP15.phx.gbl%3E and http://support.microsoft.com/kb/198432/EN-US/ -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Erwin Craps - IT Helps Sent: Thursday, June 16, 2005 7:43 AM To: Access Developers discussion and problem solving Subject: [AccessD] Urgent help needed with IISserver.CreateObject("ADODB.Connection") Importance: High I'm getting desperate over here. Yesterday I installed this mont security fixes on my W2K server. I also took the opportunity to install SQL SP4. >From that reboot on, non of my database driven website no longer functions. For both "JET 4 MDB" and "SQL server" access I get an error on this command where it always used to work before the updates. failing command server.CreateObject("ADODB.Connection") Retunred error Server object error 'ASP 0178 : 80070005' Server.CreateObject Access Error The call to Server.CreateObject failed while checking permissions. Access is denied to this object. I checked al my NTFS permissons according to the MSKB, but I believe everything is ok. Anyway, it worked for years before this update. Is this a bug in the windows fiexes???? Erwin Craps Zaakvoerder www.ithelps.be/onsgezin This E-mail is confidential, may be legally privileged, and is for the intended recipient only. Access, disclosure, copying, distribution, or reliance on any of it by anyone else is prohibited and may be a criminal offence. Please delete if obtained in error and E-mail confirmation to the sender. IT Helps - I.T. Help Center *** Box Office Belgium & Luxembourg www.ithelps.be * www.boxoffice.be * www.stadleuven.be IT Helps bvba* ** Mercatorpad 3 ** 3000 Leuven IT Helps * Phone: +32 16 296 404 * Fax: +32 16 296 405 E-mail: Info at ithelps.be Box Office ** Fax: +32 16 296 406 ** Box Office E-mail: Staff at boxoffice.be -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From Erwin.Craps at ithelps.be Thu Jun 16 07:36:56 2005 From: Erwin.Craps at ithelps.be (Erwin Craps - IT Helps) Date: Thu, 16 Jun 2005 14:36:56 +0200 Subject: [AccessD] Urgent help needed withIISserver.CreateObject("ADODB.Connection") Message-ID: <46B976F2B698FF46A4FE7636509B22DF1B5C80@stekelbes.ithelps.local> Already checked those, was already OK. It is however a security issue, turning of anonimous access and loggin on as a administrator works. Afterwards I can put back anonymous on and it still works until reboot. So there must be a DLL with insuffciant rights that needs to be launched with IUSR rights. Some dll must be changed while installing these fixes and lost its IUSR or everyone rights. But which one, I already checked "common Files\system\ado", "common Files\system\msadc", "common Files\system\ole db", "system32\msvbvm50.dll" and "system32\msvbvm60.dll" Erwin -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Neal Kling Sent: Thursday, June 16, 2005 2:16 PM To: Access Developers discussion and problem solving Subject: RE: [AccessD] Urgent help needed withIISserver.CreateObject("ADODB.Connection") Google returned this possibility http://www.developersdex.com/asp/message.asp?p=575&ID=%3C%23J3kRXQyEHA.2 012%40TK2MSFTNGP15.phx.gbl%3E and http://support.microsoft.com/kb/198432/EN-US/ -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Erwin Craps - IT Helps Sent: Thursday, June 16, 2005 7:43 AM To: Access Developers discussion and problem solving Subject: [AccessD] Urgent help needed with IISserver.CreateObject("ADODB.Connection") Importance: High I'm getting desperate over here. Yesterday I installed this mont security fixes on my W2K server. I also took the opportunity to install SQL SP4. >From that reboot on, non of my database driven website no longer functions. For both "JET 4 MDB" and "SQL server" access I get an error on this command where it always used to work before the updates. failing command server.CreateObject("ADODB.Connection") Retunred error Server object error 'ASP 0178 : 80070005' Server.CreateObject Access Error The call to Server.CreateObject failed while checking permissions. Access is denied to this object. I checked al my NTFS permissons according to the MSKB, but I believe everything is ok. Anyway, it worked for years before this update. Is this a bug in the windows fiexes???? Erwin Craps Zaakvoerder www.ithelps.be/onsgezin This E-mail is confidential, may be legally privileged, and is for the intended recipient only. Access, disclosure, copying, distribution, or reliance on any of it by anyone else is prohibited and may be a criminal offence. Please delete if obtained in error and E-mail confirmation to the sender. IT Helps - I.T. Help Center *** Box Office Belgium & Luxembourg www.ithelps.be * www.boxoffice.be * www.stadleuven.be IT Helps bvba* ** Mercatorpad 3 ** 3000 Leuven IT Helps * Phone: +32 16 296 404 * Fax: +32 16 296 405 E-mail: Info at ithelps.be Box Office ** Fax: +32 16 296 406 ** Box Office E-mail: Staff at boxoffice.be -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From Erwin.Craps at ithelps.be Thu Jun 16 09:20:39 2005 From: Erwin.Craps at ithelps.be (Erwin Craps - IT Helps) Date: Thu, 16 Jun 2005 16:20:39 +0200 Subject: [AccessD] Urgent help neededwithIISserver.CreateObject("ADODB.Connection") Message-ID: <46B976F2B698FF46A4FE7636509B22DF1B5C81@stekelbes.ithelps.local> I still havent found the origin of the problem but it is related to the windows updates of last night or the SQL SP4. I have workaround the problem by this. Starting from a freshly booted server. Turn of anonymous access for one of the database driven webs/subwebs. Goto the the database driven webpage. A login popup screen asks for the loging >>> ignore it by canceling. The page loads normaly with access to the database. Turn back on the anonymous access so the popup is no longer presented to the user. All website now function again until reboot... So it is clearly a security issue with the IUSR account, I believe there a problem with the synchronisation of this password. Executing "cscript.exe adsutil.vbs get w3svc/anonymoususerpass" to retrieve the password results in a "Parameter anonymoususerpass not set in this node" error. So when deactivating the anonymous option, I supose it load with some other right (everyone???). Posibly some dll with missing IUSR ReX rights. My website (database part) is already down for almost 24 hours now.. -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Erwin Craps - IT Helps Sent: Thursday, June 16, 2005 2:37 PM To: Access Developers discussion and problem solving Subject: RE: [AccessD] Urgent help neededwithIISserver.CreateObject("ADODB.Connection") Already checked those, was already OK. It is however a security issue, turning of anonimous access and loggin on as a administrator works. Afterwards I can put back anonymous on and it still works until reboot. So there must be a DLL with insuffciant rights that needs to be launched with IUSR rights. Some dll must be changed while installing these fixes and lost its IUSR or everyone rights. But which one, I already checked "common Files\system\ado", "common Files\system\msadc", "common Files\system\ole db", "system32\msvbvm50.dll" and "system32\msvbvm60.dll" Erwin -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Neal Kling Sent: Thursday, June 16, 2005 2:16 PM To: Access Developers discussion and problem solving Subject: RE: [AccessD] Urgent help needed withIISserver.CreateObject("ADODB.Connection") Google returned this possibility http://www.developersdex.com/asp/message.asp?p=575&ID=%3C%23J3kRXQyEHA.2 012%40TK2MSFTNGP15.phx.gbl%3E and http://support.microsoft.com/kb/198432/EN-US/ -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Erwin Craps - IT Helps Sent: Thursday, June 16, 2005 7:43 AM To: Access Developers discussion and problem solving Subject: [AccessD] Urgent help needed with IISserver.CreateObject("ADODB.Connection") Importance: High I'm getting desperate over here. Yesterday I installed this mont security fixes on my W2K server. I also took the opportunity to install SQL SP4. >From that reboot on, non of my database driven website no longer functions. For both "JET 4 MDB" and "SQL server" access I get an error on this command where it always used to work before the updates. failing command server.CreateObject("ADODB.Connection") Retunred error Server object error 'ASP 0178 : 80070005' Server.CreateObject Access Error The call to Server.CreateObject failed while checking permissions. Access is denied to this object. I checked al my NTFS permissons according to the MSKB, but I believe everything is ok. Anyway, it worked for years before this update. Is this a bug in the windows fiexes???? Erwin Craps Zaakvoerder www.ithelps.be/onsgezin This E-mail is confidential, may be legally privileged, and is for the intended recipient only. Access, disclosure, copying, distribution, or reliance on any of it by anyone else is prohibited and may be a criminal offence. Please delete if obtained in error and E-mail confirmation to the sender. IT Helps - I.T. Help Center *** Box Office Belgium & Luxembourg www.ithelps.be * www.boxoffice.be * www.stadleuven.be IT Helps bvba* ** Mercatorpad 3 ** 3000 Leuven IT Helps * Phone: +32 16 296 404 * Fax: +32 16 296 405 E-mail: Info at ithelps.be Box Office ** Fax: +32 16 296 406 ** Box Office E-mail: Staff at boxoffice.be -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd 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 Jun 16 10:06:54 2005 From: accessd at shaw.ca (Jim Lawrence) Date: Thu, 16 Jun 2005 08:06:54 -0700 Subject: [AccessD] Urgent help needed with IISserver.CreateObject("ADODB.Connection") In-Reply-To: <46B976F2B698FF46A4FE7636509B22DF1B5C7F@stekelbes.ithelps.local> Message-ID: <0II600MHTNBGJZ@l-daemon> Hi Erwin: Have you seen this article from MS? http://support.microsoft.com/kb/198432/EN-US/ Solution: You need to give the IUSR_ account permissions to launch and access your OOP COM object using dcomcnfg by doing the following: 1. Launch DCOMCNFG by clicking the Start button, selecting Run, and typing "Dcomcnfg" in the Run dialog box. 2. In the Default Security tab, click the "Edit Default" in the "Default Access Permissions" frame. The Registry Value Permissions dialog box appears. 3. Add the IUSR_account and the INTERACTIVE account to the Registry Value Permissions dialog box, and click OK. 4. In the Default Security tab, click the Edit Default in the Default Launch Permissions frame. The Registry Value Permissions dialog box appears. 5. Add the IUSR_ account to the Registry Value Permissions dialog box0, and click OK. HTH Jim -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Erwin Craps - IT Helps Sent: Thursday, June 16, 2005 4:43 AM To: Access Developers discussion and problem solving Subject: [AccessD] Urgent help needed with IISserver.CreateObject("ADODB.Connection") Importance: High I'm getting desperate over here. Yesterday I installed this mont security fixes on my W2K server. I also took the opportunity to install SQL SP4. >From that reboot on, non of my database driven website no longer functions. For both "JET 4 MDB" and "SQL server" access I get an error on this command where it always used to work before the updates. failing command server.CreateObject("ADODB.Connection") Retunred error Server object error 'ASP 0178 : 80070005' Server.CreateObject Access Error The call to Server.CreateObject failed while checking permissions. Access is denied to this object. I checked al my NTFS permissons according to the MSKB, but I believe everything is ok. Anyway, it worked for years before this update. Is this a bug in the windows fiexes???? Erwin Craps Zaakvoerder www.ithelps.be/onsgezin This E-mail is confidential, may be legally privileged, and is for the intended recipient only. Access, disclosure, copying, distribution, or reliance on any of it by anyone else is prohibited and may be a criminal offence. Please delete if obtained in error and E-mail confirmation to the sender. IT Helps - I.T. Help Center *** Box Office Belgium & Luxembourg www.ithelps.be * www.boxoffice.be * www.stadleuven.be IT Helps bvba* ** Mercatorpad 3 ** 3000 Leuven IT Helps * Phone: +32 16 296 404 * Fax: +32 16 296 405 E-mail: Info at ithelps.be Box Office ** Fax: +32 16 296 406 ** Box Office E-mail: Staff at boxoffice.be -- 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 Jun 16 13:06:16 2005 From: Jim.Hale at FleetPride.com (Hale, Jim) Date: Thu, 16 Jun 2005 13:06:16 -0500 Subject: [AccessD] Select case is too cumbersome Message-ID: <6A6AA9DF57E4F046BDA1E273BDDB6772337677@corp-es01.fleetpride.com> I have a form which lists different Excel workbooks I can populate. When I make a selection from the form I read the path to the appropriate excel template and the select case number from a table. I pass these to a function "Public Function Load_Financials(intCaseno As Integer, strpathname As String)" for processing. The function opens the appropriate Excel template and, based upon the select case number, populates the template from various recordsets and formats the workbook as appropriate. All of this works fine. My problem is that I am up to case 40 in my select statement. Many of the cases are quite lengthy so Load_Financials is getting out of hand. 5 cases was no big deal, 40 and 500 lines of code is a bit much. Surely there is a more elegant way to arrange this. For example, I read "Two functions you don't use enough" in this month's Smart Access which suggested each case can be placed in its own function and the EVAL function can be used to execute them. How do ya'll handle this issue? 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 darsant at gmail.com Thu Jun 16 13:17:59 2005 From: darsant at gmail.com (Josh McFarlane) Date: Thu, 16 Jun 2005 13:17:59 -0500 Subject: [AccessD] Select case is too cumbersome In-Reply-To: <6A6AA9DF57E4F046BDA1E273BDDB6772337677@corp-es01.fleetpride.com> References: <6A6AA9DF57E4F046BDA1E273BDDB6772337677@corp-es01.fleetpride.com> Message-ID: <53c8e05a05061611173cc0420c@mail.gmail.com> On 6/16/05, Hale, Jim wrote: > I have a form which lists different Excel workbooks I can populate. When I > make a selection from the form I read the path to the appropriate excel > template and the select case number from a table. I pass these to a > function "Public Function Load_Financials(intCaseno As Integer, strpathname > As String)" for processing. The function opens the appropriate Excel > template and, based upon the select case number, populates the template from > various recordsets and formats the workbook as appropriate. All of this > works fine. My problem is that I am up to case 40 in my select statement. > Many of the cases are quite lengthy so Load_Financials is getting out of > hand. 5 cases was no big deal, 40 and 500 lines of code is a bit much. > Surely there is a more elegant way to arrange this. For example, I read "Two > functions you don't use enough" in this month's Smart Access which suggested > each case can be placed in its own function and the EVAL function can be > used to execute them. How do ya'll handle this issue? > > Jim Hale > If you're just speaking from an Access perspective, I'd haev one function with just the SELECT / CASE statement, then for each case, call a seperate function for the differences. If some of your cases have the same code for chunks, you could group them in one function and call the function in the Case statement. For example, creating an excel file, formating a header, formatting the data, then saving, you could seperate it into 4 functions: Create file (before the case), Format Header and Format Data within the case, then Save File / Write Data at the end. This way you would have a set of stable functions and can save yourself from redundant work / large files. -- Josh McFarlane "Peace cannot be kept by force. It can only be achieved by understanding." -Albert Einstein From marcus at tsstech.com Thu Jun 16 13:26:07 2005 From: marcus at tsstech.com (Scott Marcus) Date: Thu, 16 Jun 2005 14:26:07 -0400 Subject: [AccessD] Select case is too cumbersome Message-ID: Why not this? Public Function Load_Financials(intCaseno As Integer, strpathname As String) Select Case intCaseno Case 1 Call SubroutineForFirstCase(strpathname) Case 2 Call SubroutineForSecondCase(strpathname) . . . Case n Call SubroutineForNthCase(strpathname) End Select End Function Private Sub SubroutineForFirstCase(strpathname as string) 'Do some work. End Sub Scott Marcus TSS Technologies, Inc. marcus at tsstech.com NOTICE: This electronic mail transmission is for the use of the named individual or entity to which it is directed and may contain information that is privileged or confidential. If you are not the intended recipient, any disclosure, copying, distribution or use of the contents of any information contained herein is prohibited. If you have received this electronic mail transmission in error, delete it from your system without copying or forwarding, and notify the sender of the error by replying via email or by calling TSS Technologies at (513) 772-7000, so our address record can be corrected. Any information included in this email is provided on an ?as is? and ?where is? basis, and TSS Technologies makes no representations or warranties of any kind with respect to the completeness or accuracy of the information contained in this email, or with respect to any other matters communicated in this email. TSS Technologies hereby disclaims any and all express or implied warranties of any kind. Nothing in this email shall be construed to create any kind of contractual or binding agreement or commitment by or on behalf of TSS Technologies, Inc., the recipient, or any third-parties. From Jim.Hale at FleetPride.com Thu Jun 16 14:29:17 2005 From: Jim.Hale at FleetPride.com (Hale, Jim) Date: Thu, 16 Jun 2005 14:29:17 -0500 Subject: [AccessD] Select case is too cumbersome Message-ID: <6A6AA9DF57E4F046BDA1E273BDDB6772337678@corp-es01.fleetpride.com> I think what you suggest is doable. I have created a class that handles opening and saving the Excel spreadsheet. I think much of the remaining code deals with opening recordsets and pasting data. I think I'll create a table to hold all the query names and work sheet names and execute the paste function as a method from within my class. This will still leave a fairly bodacious, if somewhat slimmed down, select statement. The trick as you suggest is to identify the truly repeating elements and build functions. Anyone used used the EVAL function like the Article I mentioned suggests? Jim Hale -----Original Message----- From: Josh McFarlane [mailto:darsant at gmail.com] Sent: Thursday, June 16, 2005 1:18 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Select case is too cumbersome On 6/16/05, Hale, Jim wrote: > I have a form which lists different Excel workbooks I can populate. When I > make a selection from the form I read the path to the appropriate excel > template and the select case number from a table. I pass these to a > function "Public Function Load_Financials(intCaseno As Integer, strpathname > As String)" for processing. The function opens the appropriate Excel > template and, based upon the select case number, populates the template from > various recordsets and formats the workbook as appropriate. All of this > works fine. My problem is that I am up to case 40 in my select statement. > Many of the cases are quite lengthy so Load_Financials is getting out of > hand. 5 cases was no big deal, 40 and 500 lines of code is a bit much. > Surely there is a more elegant way to arrange this. For example, I read "Two > functions you don't use enough" in this month's Smart Access which suggested > each case can be placed in its own function and the EVAL function can be > used to execute them. How do ya'll handle this issue? > > Jim Hale > If you're just speaking from an Access perspective, I'd haev one function with just the SELECT / CASE statement, then for each case, call a seperate function for the differences. If some of your cases have the same code for chunks, you could group them in one function and call the function in the Case statement. For example, creating an excel file, formating a header, formatting the data, then saving, you could seperate it into 4 functions: Create file (before the case), Format Header and Format Data within the case, then Save File / Write Data at the end. This way you would have a set of stable functions and can save yourself from redundant work / large files. -- 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 *********************************************************************** 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 dejpolsys at hotmail.com Thu Jun 16 15:15:29 2005 From: dejpolsys at hotmail.com (William Hindman) Date: Thu, 16 Jun 2005 16:15:29 -0400 Subject: [AccessD] Select case is too cumbersome References: <6A6AA9DF57E4F046BDA1E273BDDB6772337678@corp-es01.fleetpride.com> Message-ID: ..I'm missing something here (not the first time) ...but why are you using a select here rather than building a combo on the fly and using that instead? ...rename all the applicable queries from qryxxx to zqryxxx and fill your combo with a qry on zqryxxx ...much faster than a select and you don't have to recode it everytime you add a new qry. William ----- Original Message ----- From: "Hale, Jim" To: "'Access Developers discussion and problem solving'" Sent: Thursday, June 16, 2005 3:29 PM Subject: RE: [AccessD] Select case is too cumbersome >I think what you suggest is doable. I have created a class that handles > opening and saving the Excel spreadsheet. I think much of the remaining > code deals with opening recordsets and pasting data. I think I'll create a > table to hold all the query names and work sheet names and execute the > paste > function as a method from within my class. This will still leave a fairly > bodacious, if somewhat slimmed down, select statement. The trick as you > suggest is to identify the truly repeating elements and build functions. > Anyone used used the EVAL function like the Article I mentioned suggests? > > Jim Hale > > -----Original Message----- > From: Josh McFarlane [mailto:darsant at gmail.com] > Sent: Thursday, June 16, 2005 1:18 PM > To: Access Developers discussion and problem solving > Subject: Re: [AccessD] Select case is too cumbersome > > > On 6/16/05, Hale, Jim wrote: >> I have a form which lists different Excel workbooks I can populate. When >> I >> make a selection from the form I read the path to the appropriate excel >> template and the select case number from a table. I pass these to a >> function "Public Function Load_Financials(intCaseno As Integer, > strpathname >> As String)" for processing. The function opens the appropriate Excel >> template and, based upon the select case number, populates the template > from >> various recordsets and formats the workbook as appropriate. All of this >> works fine. My problem is that I am up to case 40 in my select statement. >> Many of the cases are quite lengthy so Load_Financials is getting out of >> hand. 5 cases was no big deal, 40 and 500 lines of code is a bit much. >> Surely there is a more elegant way to arrange this. For example, I read > "Two >> functions you don't use enough" in this month's Smart Access which > suggested >> each case can be placed in its own function and the EVAL function can be >> used to execute them. How do ya'll handle this issue? >> >> Jim Hale >> > If you're just speaking from an Access perspective, I'd haev one > function with just the SELECT / CASE statement, then for each case, > call a seperate function for the differences. > > If some of your cases have the same code for chunks, you could group > them in one function and call the function in the Case statement. > > For example, creating an excel file, formating a header, formatting > the data, then saving, you could seperate it into 4 functions: Create > file (before the case), Format Header and Format Data within the case, > then Save File / Write Data at the end. > > This way you would have a set of stable functions and can save > yourself from redundant work / large files. > > -- > 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 > > *********************************************************************** > 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 martyconnelly at shaw.ca Thu Jun 16 15:19:37 2005 From: martyconnelly at shaw.ca (MartyConnelly) Date: Thu, 16 Jun 2005 13:19:37 -0700 Subject: [AccessD] ms access 2003 query References: Message-ID: <42B1DED9.2050102@shaw.ca> Ah you are trying to toggle the control wizards button on the toolbox menu in form design view. If anyone else is wondering why this is needed, we have a blind programmer here. An accomplishment with Access GUI. Create a function in modules like this Function toggleControlWizard() Dim ctl As Variant For Each ctl In CommandBars("Toolbox").Controls ' Debug.Print ctl.Caption 'List all Caption Names If ctl.Caption = "Control &Wizards" Then 'toggle the button on of off ctl.Execute End If Next Then create a special macro called "autokeys" There is a catch 22 for you here you have to toggle macro names on but you can set this to be automatically turned on for all Access via this menu sequence Tools --> Options --> View There are two check boxes under this part of menu Show in Macro Design Check off both. Names Column Conditions Column Now open up a new Macro under macro name put a control key sequence I chose CTRL - F12 as it is not used much ^{F12} under Action put RunCode under Action put Beep This will give you an auditory clue. in function name toggleControlWizard() save the autokeys macro call it autokeys Now in Forms Design Pressing CTL + F12 will toggle Control Wizards On and Off Pressing this key combinations elsewhere will generate an error You may have login and out of the mdb to initialize autokeys, can't remember. There maybe another way to do this via code that I haven't puzzled out. since it is mostly used by excel programmers. using something like a statement of this variety using direct control of the IDE or as it is called VBE With Application.VBE.CommandBars("Menu Bar").Controls("Toolbox") See these articles http://www.cpearson.com/excel/vbe.htm http://www.cpearson.com/excel/vbemenus.htm marvin hunkin wrote: > Hi. > some one mentioned on the list a while back, how to get round of > activating the advanced wizards using the tool box in ms access 2003. > how to get round, having no short cut keys, and no way to activate the > say command button wizard in form or report design of a form or report > in ms access 2003. > if any one got any tips on how to get round this problem, without > dragging and dropping the mouse, and tried the jaws drag and drop > feature, but still would not activate it without sighted assistance. > did ask freedom scientific, but had no plans to fix this problem, and > did report it to tech support over 12 months ago before jaws 6.0 came > out last year. > so if any one has got me the answer i am looking for, then let me know. > cheers Marvin. > > -- Marty Connelly Victoria, B.C. Canada From Jim.Hale at FleetPride.com Thu Jun 16 15:54:46 2005 From: Jim.Hale at FleetPride.com (Hale, Jim) Date: Thu, 16 Jun 2005 15:54:46 -0500 Subject: [AccessD] Select case is too cumbersome Message-ID: <6A6AA9DF57E4F046BDA1E273BDDB677233767A@corp-es01.fleetpride.com> I don't follow. I am selecting from a combo box the name of an excel template to be filled. The template may require data from one or more recordsets. Additionally, special formatting may be necessary. The way I identify the unique code required by each template to open the separate recordsets, paste the data, do the formatting etc. is by assigning it a select case no which is stored in a table. Make sense? Jim Hale -----Original Message----- From: William Hindman [mailto:dejpolsys at hotmail.com] Sent: Thursday, June 16, 2005 3:15 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Select case is too cumbersome ..I'm missing something here (not the first time) ...but why are you using a select here rather than building a combo on the fly and using that instead? ...rename all the applicable queries from qryxxx to zqryxxx and fill your combo with a qry on zqryxxx ...much faster than a select and you don't have to recode it everytime you add a new qry. William ----- Original Message ----- From: "Hale, Jim" To: "'Access Developers discussion and problem solving'" Sent: Thursday, June 16, 2005 3:29 PM Subject: RE: [AccessD] Select case is too cumbersome >I think what you suggest is doable. I have created a class that handles > opening and saving the Excel spreadsheet. I think much of the remaining > code deals with opening recordsets and pasting data. I think I'll create a > table to hold all the query names and work sheet names and execute the > paste > function as a method from within my class. This will still leave a fairly > bodacious, if somewhat slimmed down, select statement. The trick as you > suggest is to identify the truly repeating elements and build functions. > Anyone used used the EVAL function like the Article I mentioned suggests? > > Jim Hale > > -----Original Message----- > From: Josh McFarlane [mailto:darsant at gmail.com] > Sent: Thursday, June 16, 2005 1:18 PM > To: Access Developers discussion and problem solving > Subject: Re: [AccessD] Select case is too cumbersome > > > On 6/16/05, Hale, Jim wrote: >> I have a form which lists different Excel workbooks I can populate. When >> I >> make a selection from the form I read the path to the appropriate excel >> template and the select case number from a table. I pass these to a >> function "Public Function Load_Financials(intCaseno As Integer, > strpathname >> As String)" for processing. The function opens the appropriate Excel >> template and, based upon the select case number, populates the template > from >> various recordsets and formats the workbook as appropriate. All of this >> works fine. My problem is that I am up to case 40 in my select statement. >> Many of the cases are quite lengthy so Load_Financials is getting out of >> hand. 5 cases was no big deal, 40 and 500 lines of code is a bit much. >> Surely there is a more elegant way to arrange this. For example, I read > "Two >> functions you don't use enough" in this month's Smart Access which > suggested >> each case can be placed in its own function and the EVAL function can be >> used to execute them. How do ya'll handle this issue? >> >> Jim Hale >> > If you're just speaking from an Access perspective, I'd haev one > function with just the SELECT / CASE statement, then for each case, > call a seperate function for the differences. > > If some of your cases have the same code for chunks, you could group > them in one function and call the function in the Case statement. > > For example, creating an excel file, formating a header, formatting > the data, then saving, you could seperate it into 4 functions: Create > file (before the case), Format Header and Format Data within the case, > then Save File / Write Data at the end. > > This way you would have a set of stable functions and can save > yourself from redundant work / large files. > > -- > 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 > > *********************************************************************** > The information transmitted is intended solely for the individual or > entity to which it is addressed and may contain confidential and/or > privileged material. Any review, retransmission, dissemination or > other use of or taking action in reliance upon this information by > persons or entities other than the intended recipient is prohibited. > If you have received this email in error please contact the sender and > delete the material from any computer. As a recipient of this email, > you are responsible for screening its contents and the contents of any > attachments for the presence of viruses. No liability is accepted for > any damages caused by any virus transmitted by this email. ---------------------------------------------------------------------------- ---- > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com *********************************************************************** 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 bchacc at san.rr.com Thu Jun 16 16:18:00 2005 From: bchacc at san.rr.com (Rocky Smolin - Beach Access Software) Date: Thu, 16 Jun 2005 14:18:00 -0700 Subject: [AccessD] Print To Picture Message-ID: <0cf901c572b8$e01441a0$6801a8c0@HAL9004> Dear List: I have a great utility on my old machine called print to picture. Installs like a printer and will print to a file which you can then copy into a word doc. I need it on my new machine but can't find it anymore. Anyone know where it is? TIA, Rocky Smolin Beach Access Software http://www.e-z-mrp.com 858-259-4334 From dejpolsys at hotmail.com Thu Jun 16 16:24:43 2005 From: dejpolsys at hotmail.com (William Hindman) Date: Thu, 16 Jun 2005 17:24:43 -0400 Subject: [AccessD] Select case is too cumbersome References: <6A6AA9DF57E4F046BDA1E273BDDB677233767A@corp-es01.fleetpride.com> Message-ID: ..if you're selecting a template from a combo why not have it open another cascading combo with the options for the selected template rather than a lengthy select operation which requires recoding every time you change something? William ----- Original Message ----- From: "Hale, Jim" To: "'Access Developers discussion and problem solving'" Sent: Thursday, June 16, 2005 4:54 PM Subject: RE: [AccessD] Select case is too cumbersome >I don't follow. I am selecting from a combo box the name of an excel > template to be filled. The template may require data from one or more > recordsets. Additionally, special formatting may be necessary. The way I > identify the unique code required by each template to open the separate > recordsets, paste the data, do the formatting etc. is by assigning it a > select case no which is stored in a table. Make sense? > Jim Hale > > -----Original Message----- > From: William Hindman [mailto:dejpolsys at hotmail.com] > Sent: Thursday, June 16, 2005 3:15 PM > To: Access Developers discussion and problem solving > Subject: Re: [AccessD] Select case is too cumbersome > > > ..I'm missing something here (not the first time) ...but why are you using > a select here rather than building a combo on the fly and using that > instead? ...rename all the applicable queries from qryxxx to zqryxxx and > fill your combo with a qry on zqryxxx ...much faster than a select and you > don't have to recode it everytime you add a new qry. > > William > > ----- Original Message ----- > From: "Hale, Jim" > To: "'Access Developers discussion and problem solving'" > > Sent: Thursday, June 16, 2005 3:29 PM > Subject: RE: [AccessD] Select case is too cumbersome > > >>I think what you suggest is doable. I have created a class that handles >> opening and saving the Excel spreadsheet. I think much of the remaining >> code deals with opening recordsets and pasting data. I think I'll create >> a >> table to hold all the query names and work sheet names and execute the >> paste >> function as a method from within my class. This will still leave a fairly >> bodacious, if somewhat slimmed down, select statement. The trick as you >> suggest is to identify the truly repeating elements and build functions. >> Anyone used used the EVAL function like the Article I mentioned suggests? >> >> Jim Hale >> >> -----Original Message----- >> From: Josh McFarlane [mailto:darsant at gmail.com] >> Sent: Thursday, June 16, 2005 1:18 PM >> To: Access Developers discussion and problem solving >> Subject: Re: [AccessD] Select case is too cumbersome >> >> >> On 6/16/05, Hale, Jim wrote: >>> I have a form which lists different Excel workbooks I can populate. When >>> I >>> make a selection from the form I read the path to the appropriate excel >>> template and the select case number from a table. I pass these to a >>> function "Public Function Load_Financials(intCaseno As Integer, >> strpathname >>> As String)" for processing. The function opens the appropriate Excel >>> template and, based upon the select case number, populates the template >> from >>> various recordsets and formats the workbook as appropriate. All of this >>> works fine. My problem is that I am up to case 40 in my select >>> statement. >>> Many of the cases are quite lengthy so Load_Financials is getting out of >>> hand. 5 cases was no big deal, 40 and 500 lines of code is a bit much. >>> Surely there is a more elegant way to arrange this. For example, I read >> "Two >>> functions you don't use enough" in this month's Smart Access which >> suggested >>> each case can be placed in its own function and the EVAL function can be >>> used to execute them. How do ya'll handle this issue? >>> >>> Jim Hale >>> >> If you're just speaking from an Access perspective, I'd haev one >> function with just the SELECT / CASE statement, then for each case, >> call a seperate function for the differences. >> >> If some of your cases have the same code for chunks, you could group >> them in one function and call the function in the Case statement. >> >> For example, creating an excel file, formating a header, formatting >> the data, then saving, you could seperate it into 4 functions: Create >> file (before the case), Format Header and Format Data within the case, >> then Save File / Write Data at the end. >> >> This way you would have a set of stable functions and can save >> yourself from redundant work / large files. >> >> -- >> 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 >> >> *********************************************************************** >> The information transmitted is intended solely for the individual or >> entity to which it is addressed and may contain confidential and/or >> privileged material. Any review, retransmission, dissemination or >> other use of or taking action in reliance upon this information by >> persons or entities other than the intended recipient is prohibited. >> If you have received this email in error please contact the sender and >> delete the material from any computer. As a recipient of this email, >> you are responsible for screening its contents and the contents of any >> attachments for the presence of viruses. No liability is accepted for >> any damages caused by any virus transmitted by this email. > > > ---------------------------------------------------------------------------- > ---- > > >> -- >> AccessD mailing list >> AccessD at databaseadvisors.com >> http://databaseadvisors.com/mailman/listinfo/accessd >> Website: http://www.databaseadvisors.com >> > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > > *********************************************************************** > 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 dejpolsys at hotmail.com Thu Jun 16 16:40:14 2005 From: dejpolsys at hotmail.com (William Hindman) Date: Thu, 16 Jun 2005 17:40:14 -0400 Subject: [AccessD] Print To Picture References: <0cf901c572b8$e01441a0$6801a8c0@HAL9004> Message-ID: http://www.verypdf.com/artprint/document-printer/print-to-picture.html http://narod.yandex.ru/100.xhtml?progrex.narod.ru/files/ptp102.zip ----- Original Message ----- From: "Rocky Smolin - Beach Access Software" To: Sent: Thursday, June 16, 2005 5:18 PM Subject: [AccessD] Print To Picture Dear List: I have a great utility on my old machine called print to picture. Installs like a printer and will print to a file which you can then copy into a word doc. I need it on my new machine but can't find it anymore. Anyone know where it is? TIA, Rocky Smolin Beach Access Software http://www.e-z-mrp.com 858-259-4334 -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From bchacc at san.rr.com Thu Jun 16 16:44:21 2005 From: bchacc at san.rr.com (Rocky Smolin - Beach Access Software) Date: Thu, 16 Jun 2005 14:44:21 -0700 Subject: [AccessD] Print To Picture References: <0cf901c572b8$e01441a0$6801a8c0@HAL9004> Message-ID: <0d5001c572bc$8e5d1450$6801a8c0@HAL9004> Never mind. Found the .exe on my old machine. But the original link is 404. So if anyone wants it, I've got it. Rocky ----- Original Message ----- From: "Rocky Smolin - Beach Access Software" To: Sent: Thursday, June 16, 2005 2:18 PM Subject: [AccessD] Print To Picture Dear List: I have a great utility on my old machine called print to picture. Installs like a printer and will print to a file which you can then copy into a word doc. I need it on my new machine but can't find it anymore. Anyone know where it is? TIA, Rocky Smolin Beach Access Software http://www.e-z-mrp.com 858-259-4334 -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From JHewson at karta.com Thu Jun 16 16:50:35 2005 From: JHewson at karta.com (Jim Hewson) Date: Thu, 16 Jun 2005 16:50:35 -0500 Subject: [AccessD] Print To Picture Message-ID: <9C382E065F54AE48BC3AA7925DCBB01C0362957B@karta-exc-int.Karta.com> Sounds like a useful tool. I've never heard of 404. I'd like to be able to get it. Thanks, Jim -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Rocky Smolin - Beach Access Software Sent: Thursday, June 16, 2005 4:44 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Print To Picture Never mind. Found the .exe on my old machine. But the original link is 404. So if anyone wants it, I've got it. Rocky ----- Original Message ----- From: "Rocky Smolin - Beach Access Software" To: Sent: Thursday, June 16, 2005 2:18 PM Subject: [AccessD] Print To Picture Dear List: I have a great utility on my old machine called print to picture. Installs like a printer and will print to a file which you can then copy into a word doc. I need it on my new machine but can't find it anymore. Anyone know where it is? TIA, Rocky Smolin Beach Access Software http://www.e-z-mrp.com 858-259-4334 -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd 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 Jun 16 16:58:22 2005 From: cfoust at infostatsystems.com (Charlotte Foust) Date: Thu, 16 Jun 2005 14:58:22 -0700 Subject: [AccessD] Print To Picture Message-ID: LOL! Just find any invalid link. Charlotte Foust -----Original Message----- From: Jim Hewson [mailto:JHewson at karta.com] Sent: Thursday, June 16, 2005 2:51 PM To: Access Developers discussion and problem solving Subject: RE: [AccessD] Print To Picture Sounds like a useful tool. I've never heard of 404. I'd like to be able to get it. Thanks, Jim -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Rocky Smolin - Beach Access Software Sent: Thursday, June 16, 2005 4:44 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Print To Picture Never mind. Found the .exe on my old machine. But the original link is 404. So if anyone wants it, I've got it. Rocky ----- Original Message ----- From: "Rocky Smolin - Beach Access Software" To: Sent: Thursday, June 16, 2005 2:18 PM Subject: [AccessD] Print To Picture Dear List: I have a great utility on my old machine called print to picture. Installs like a printer and will print to a file which you can then copy into a word doc. I need it on my new machine but can't find it anymore. Anyone know where it is? TIA, Rocky Smolin Beach Access Software http://www.e-z-mrp.com 858-259-4334 -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd 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 Thu Jun 16 17:01:45 2005 From: dejpolsys at hotmail.com (William Hindman) Date: Thu, 16 Jun 2005 18:01:45 -0400 Subject: [AccessD] Print To Picture References: <9C382E065F54AE48BC3AA7925DCBB01C0362957B@karta-exc-int.Karta.com> Message-ID: ..never heard of 404? ...lucky man! :) William ----- Original Message ----- From: "Jim Hewson" To: "Access Developers discussion and problem solving" Sent: Thursday, June 16, 2005 5:50 PM Subject: RE: [AccessD] Print To Picture > Sounds like a useful tool. > I've never heard of 404. I'd like to be able to get it. > Thanks, > Jim > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Rocky Smolin > - Beach Access Software > Sent: Thursday, June 16, 2005 4:44 PM > To: Access Developers discussion and problem solving > Subject: Re: [AccessD] Print To Picture > > Never mind. Found the .exe on my old machine. But the original link is > 404. So if anyone wants it, I've got it. > > Rocky > > ----- Original Message ----- > From: "Rocky Smolin - Beach Access Software" > To: > Sent: Thursday, June 16, 2005 2:18 PM > Subject: [AccessD] Print To Picture > > > Dear List: > > I have a great utility on my old machine called print to picture. > Installs > like a printer and will print to a file which you can then copy into a > word > doc. I need it on my new machine but can't find it anymore. Anyone > know > where it is? > > TIA, > > Rocky Smolin > Beach Access Software > http://www.e-z-mrp.com > 858-259-4334 > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > From bchacc at san.rr.com Thu Jun 16 17:17:13 2005 From: bchacc at san.rr.com (Rocky Smolin - Beach Access Software) Date: Thu, 16 Jun 2005 15:17:13 -0700 Subject: [AccessD] Print To Picture References: <9C382E065F54AE48BC3AA7925DCBB01C0362957B@karta-exc-int.Karta.com> Message-ID: <0d9301c572c1$25a56ca0$6801a8c0@HAL9004> 404 means a broken link. I'll send it to you off line, however. It's from a Russian guy who apparently has taken his site down. It installs like a printer and when you print to it it produces either a .PCX or .BMP format which you can insert into a word doc. I used it to put sample reports into a manual. Regards, Rocky Smolin Beach Access Software http://www.e-z-mrp.com 858-259-4334 ----- Original Message ----- From: "Jim Hewson" To: "Access Developers discussion and problem solving" Sent: Thursday, June 16, 2005 2:50 PM Subject: RE: [AccessD] Print To Picture > Sounds like a useful tool. > I've never heard of 404. I'd like to be able to get it. > Thanks, > Jim > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Rocky Smolin > - Beach Access Software > Sent: Thursday, June 16, 2005 4:44 PM > To: Access Developers discussion and problem solving > Subject: Re: [AccessD] Print To Picture > > Never mind. Found the .exe on my old machine. But the original link is > 404. So if anyone wants it, I've got it. > > Rocky > > ----- Original Message ----- > From: "Rocky Smolin - Beach Access Software" > To: > Sent: Thursday, June 16, 2005 2:18 PM > Subject: [AccessD] Print To Picture > > > Dear List: > > I have a great utility on my old machine called print to picture. > Installs > like a printer and will print to a file which you can then copy into a > word > doc. I need it on my new machine but can't find it anymore. Anyone > know > where it is? > > TIA, > > Rocky Smolin > Beach Access Software > http://www.e-z-mrp.com > 858-259-4334 > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > 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 Thu Jun 16 17:53:48 2005 From: dmcafee at pacbell.net (dmcafee at pacbell.net) Date: Thu, 16 Jun 2005 15:53:48 -0700 Subject: [AccessD] Print To Picture In-Reply-To: <0d9301c572c1$25a56ca0$6801a8c0@HAL9004> Message-ID: So it's easier to use than Alt+Print Screen and Ctrl+V? I guess no editing. -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Rocky Smolin - Beach Access Software Sent: Thursday, June 16, 2005 3:17 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Print To Picture 404 means a broken link. I'll send it to you off line, however. It's from a Russian guy who apparently has taken his site down. It installs like a printer and when you print to it it produces either a .PCX or .BMP format which you can insert into a word doc. I used it to put sample reports into a manual. Regards, Rocky Smolin Beach Access Software http://www.e-z-mrp.com 858-259-4334 ----- Original Message ----- From: "Jim Hewson" To: "Access Developers discussion and problem solving" Sent: Thursday, June 16, 2005 2:50 PM Subject: RE: [AccessD] Print To Picture > Sounds like a useful tool. > I've never heard of 404. I'd like to be able to get it. > Thanks, > Jim > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Rocky Smolin > - Beach Access Software > Sent: Thursday, June 16, 2005 4:44 PM > To: Access Developers discussion and problem solving > Subject: Re: [AccessD] Print To Picture > > Never mind. Found the .exe on my old machine. But the original link is > 404. So if anyone wants it, I've got it. > > Rocky > > ----- Original Message ----- > From: "Rocky Smolin - Beach Access Software" > To: > Sent: Thursday, June 16, 2005 2:18 PM > Subject: [AccessD] Print To Picture > > > Dear List: > > I have a great utility on my old machine called print to picture. > Installs > like a printer and will print to a file which you can then copy into a > word > doc. I need it on my new machine but can't find it anymore. Anyone > know > where it is? > > TIA, > > Rocky Smolin > Beach Access Software > http://www.e-z-mrp.com > 858-259-4334 > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > 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 Jun 16 18:08:57 2005 From: KP at sdsonline.net (Kath Pelletti) Date: Fri, 17 Jun 2005 09:08:57 +1000 Subject: [AccessD] Australia - find nearest location References: Message-ID: <003601c572c8$608df970$6601a8c0@user> OK - thanks Bruce. At least I know not to waste my time trying that - and if client really wants it then I know to look further.... Kath ----- Original Message ----- From: Bruen, Bruce To: Access Developers discussion and problem solving Sent: Thursday, June 16, 2005 11:58 AM Subject: RE: [AccessD] Australia - find nearest location "Basically what I need to know is whether proximity in number = proximity in distance - I am guessing that it won't always be the case..." You have guessed correctly. It wont work, a) the original postcodes were allocated as a loose function of distance from the mail clearance centre - (way back in the 60's??) b)since then new codes have been allocated and old ones modified and reallocated under a series of illogic that thoroughly eliminates any possibility of determining relative geographic co-ordinates across Australia. However, there is a correlation between a postcode and a thing, IIRC, a mail delivery point (which in some cases goes down to a building or even a location within a building.) APO has occassionally published this database but I haven't seen or had any use for it for over 4 years - so I've lost the access to it. Sensis, yahoo/local and even the website that lists your company have functionality that provides this type of lookup but I'm d*mned if I know how they do it. regards bruce -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Kath Pelletti Sent: Tuesday, 14 June 2005 7:06 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Australia - find nearest location Thanks Michael - I think I need to learn about the way / rules that postcodes are allocated in my region - that way I may be able to create some sort of process. Just thought someone may have looked into that before. Basically what I need to know is whether proximity in number = proximity in distance - I am guessing that it won't always be the case... Kath ----- Original Message ----- From: Michael Maddison To: Access Developers discussion and problem solving Sent: Friday, June 10, 2005 10:48 AM Subject: RE: [AccessD] Australia - find nearest location Never tried myself, but the discussions here recently on MapPoint might lead the way. cheers Michael M Hi all - Just wondering whether there happens to be anyone on list who may already have done this - I'm writing a new system for a training company and they want add a geographic search capability - ie. they would like to enter a suburb or postcode and the system displays will show the courses which run closest to them geographically. Any tips? Or if anyone has done this at all - can you tell me what your approach was? Thanks - rgds ______________________________________________ Kath Pelletti Software Design & Solutions Pty Ltd. Ph: 9505-6714 Fax: 9505-6430 KP at SDSOnline.net -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com 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 martyconnelly at shaw.ca Thu Jun 16 18:50:56 2005 From: martyconnelly at shaw.ca (MartyConnelly) Date: Thu, 16 Jun 2005 16:50:56 -0700 Subject: [AccessD] Australia - find nearest location References: <003601c572c8$608df970$6601a8c0@user> Message-ID: <42B21060.6070003@shaw.ca> Same thing in Canada. The post office wil provide a new postal code to a recently completed building complex. However the do have a database that is purchaseable that will give the geo coordinates of the postal code either to the building or the block face centroid. Except for Santa Claus's postal code H0H0H0 and the geo centroid is sort of obvious. Kath Pelletti wrote: >OK - thanks Bruce. At least I know not to waste my time trying that - and if client really wants it then I know to look further.... >Kath > ----- Original Message ----- > From: Bruen, Bruce > To: Access Developers discussion and problem solving > Sent: Thursday, June 16, 2005 11:58 AM > Subject: RE: [AccessD] Australia - find nearest location > > > "Basically what I need to know is whether proximity in number = > proximity in distance - I am guessing that it won't always be the > case..." > > You have guessed correctly. It wont work, a) the original postcodes > were allocated as a loose function of distance from the mail clearance > centre - (way back in the 60's??) > b)since then new codes have been allocated and old ones modified and > reallocated under a series of illogic that thoroughly eliminates any > possibility of determining relative geographic co-ordinates across > Australia. However, there is a correlation between a postcode and a > thing, IIRC, a mail delivery point (which in some cases goes down to a > building or even a location within a building.) APO has occassionally > published this database but I haven't seen or had any use for it for > over 4 years - so I've lost the access to it. > > Sensis, yahoo/local and even the website that lists your company have > functionality that provides this type of lookup but I'm d*mned if I know > how they do it. > > regards > bruce > > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Kath Pelletti > Sent: Tuesday, 14 June 2005 7:06 PM > To: Access Developers discussion and problem solving > Subject: Re: [AccessD] Australia - find nearest location > > Thanks Michael - I think I need to learn about the way / rules that > postcodes are allocated in my region - that way I may be able to create > some sort of process. Just thought someone may have looked into that > before. > > Basically what I need to know is whether proximity in number = proximity > in distance - I am guessing that it won't always be the case... > > Kath > > > ----- Original Message ----- > From: Michael Maddison > To: Access Developers discussion and problem solving > Sent: Friday, June 10, 2005 10:48 AM > Subject: RE: [AccessD] Australia - find nearest location > > > Never tried myself, but the discussions here recently on MapPoint > might > lead the way. > > cheers > > Michael M > > Hi all - Just wondering whether there happens to be anyone on list who > may already have done this - > > I'm writing a new system for a training company and they want add a > geographic search capability - ie. they would like to enter a suburb > or > postcode and the system displays will show the courses which run > closest > to them geographically. > > Any tips? Or if anyone has done this at all - can you tell me what > your > approach was? > > Thanks - rgds > > ______________________________________________ > Kath Pelletti > Software Design & Solutions Pty Ltd. > Ph: 9505-6714 > Fax: 9505-6430 > KP at SDSOnline.net > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > > > 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 > > -- Marty Connelly Victoria, B.C. Canada From bchacc at san.rr.com Thu Jun 16 19:54:59 2005 From: bchacc at san.rr.com (Rocky Smolin - Beach Access Software) Date: Thu, 16 Jun 2005 17:54:59 -0700 Subject: [AccessD] Print To Picture References: Message-ID: <0e3801c572d7$2fffb730$6801a8c0@HAL9004> I found that a screen print image was limited to the resolution of the screen. Copying a full page of a report from the screen just didn't provide the detail needed. Alt+Print Screen and Ctrl+V works good for dropping forms shots into a word doc. Rocky ----- Original Message ----- From: To: "Access Developers discussion and problem solving" Sent: Thursday, June 16, 2005 3:53 PM Subject: RE: [AccessD] Print To Picture > So it's easier to use than Alt+Print Screen and Ctrl+V? > > I guess no editing. > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Rocky Smolin - > Beach Access Software > Sent: Thursday, June 16, 2005 3:17 PM > To: Access Developers discussion and problem solving > Subject: Re: [AccessD] Print To Picture > > > 404 means a broken link. I'll send it to you off line, however. It's > from > a Russian guy who apparently has taken his site down. It installs like a > printer and when you print to it it produces either a .PCX or .BMP format > which you can insert into a word doc. I used it to put sample reports > into > a manual. > > Regards, > > Rocky Smolin > Beach Access Software > http://www.e-z-mrp.com > 858-259-4334 > > ----- Original Message ----- > From: "Jim Hewson" > To: "Access Developers discussion and problem solving" > > Sent: Thursday, June 16, 2005 2:50 PM > Subject: RE: [AccessD] Print To Picture > > >> Sounds like a useful tool. >> I've never heard of 404. I'd like to be able to get it. >> Thanks, >> Jim >> >> -----Original Message----- >> From: accessd-bounces at databaseadvisors.com >> [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Rocky Smolin >> - Beach Access Software >> Sent: Thursday, June 16, 2005 4:44 PM >> To: Access Developers discussion and problem solving >> Subject: Re: [AccessD] Print To Picture >> >> Never mind. Found the .exe on my old machine. But the original link is >> 404. So if anyone wants it, I've got it. >> >> Rocky >> >> ----- Original Message ----- >> From: "Rocky Smolin - Beach Access Software" >> To: >> Sent: Thursday, June 16, 2005 2:18 PM >> Subject: [AccessD] Print To Picture >> >> >> Dear List: >> >> I have a great utility on my old machine called print to picture. >> Installs >> like a printer and will print to a file which you can then copy into a >> word >> doc. I need it on my new machine but can't find it anymore. Anyone >> know >> where it is? >> >> TIA, >> >> Rocky Smolin >> Beach Access Software >> http://www.e-z-mrp.com >> 858-259-4334 >> -- >> AccessD mailing list >> AccessD at databaseadvisors.com >> http://databaseadvisors.com/mailman/listinfo/accessd >> Website: http://www.databaseadvisors.com >> >> -- >> AccessD mailing list >> AccessD at databaseadvisors.com >> http://databaseadvisors.com/mailman/listinfo/accessd >> Website: http://www.databaseadvisors.com >> -- >> AccessD mailing list >> AccessD at databaseadvisors.com >> http://databaseadvisors.com/mailman/listinfo/accessd >> Website: http://www.databaseadvisors.com >> > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > 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 Jun 16 21:31:06 2005 From: artful at rogers.com (Arthur Fuller) Date: Thu, 16 Jun 2005 22:31:06 -0400 Subject: [AccessD] Question about Animated Graphics In-Reply-To: <0e3801c572d7$2fffb730$6801a8c0@HAL9004> Message-ID: <200506170231.j5H2V2R21831@databaseadvisors.com> I found some cool graphics appropriate to an app I'm building now, but so far I can't make them work correctly. For a peek at the graphics, see http://www.animation-central.com/gears.htm. The graphics there move. When I download one graphic and drop it on an Access form, it's static not animated. I want the animation! How do I achieve this? TIA, Arthur From Bruce.Bruen at railcorp.nsw.gov.au Thu Jun 16 21:38:19 2005 From: Bruce.Bruen at railcorp.nsw.gov.au (Bruen, Bruce) Date: Fri, 17 Jun 2005 12:38:19 +1000 Subject: [AccessD] Question about Animated Graphics Message-ID: Arthur, AFAIK you can't. I tried this about two years ago. It seems that the screen representation of the object you embed is NOT the same as the screen representation provided by the explorer base window. i.e. Access does not use the windows natives to render the things. Someone else may have other opinions though. bruce -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Arthur Fuller Sent: Friday, 17 June 2005 12:31 PM To: 'Access Developers discussion and problem solving' Subject: [AccessD] Question about Animated Graphics I found some cool graphics appropriate to an app I'm building now, but so far I can't make them work correctly. For a peek at the graphics, see http://www.animation-central.com/gears.htm. The graphics there move. When I download one graphic and drop it on an Access form, it's static not animated. I want the animation! How do I achieve this? TIA, Arthur -- 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 dejpolsys at hotmail.com Thu Jun 16 21:51:44 2005 From: dejpolsys at hotmail.com (William Hindman) Date: Thu, 16 Jun 2005 22:51:44 -0400 Subject: [AccessD] Question about Animated Graphics References: <200506170231.j5H2V2R21831@databaseadvisors.com> Message-ID: http://www.lebans.com/animatedgifplayer.htm ..hth :) William ----- Original Message ----- From: "Arthur Fuller" To: "'Access Developers discussion and problem solving'" Sent: Thursday, June 16, 2005 10:31 PM Subject: [AccessD] Question about Animated Graphics >I found some cool graphics appropriate to an app I'm building now, but so > far I can't make them work correctly. For a peek at the graphics, see > http://www.animation-central.com/gears.htm. The graphics there move. When > I > download one graphic and drop it on an Access form, it's static not > animated. I want the animation! How do I achieve this? > > TIA, > Arthur > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > From martyconnelly at shaw.ca Fri Jun 17 00:22:46 2005 From: martyconnelly at shaw.ca (MartyConnelly) Date: Thu, 16 Jun 2005 22:22:46 -0700 Subject: [AccessD] Print To Picture References: <0e3801c572d7$2fffb730$6801a8c0@HAL9004> Message-ID: <42B25E26.905@shaw.ca> You could use some rough code like this to snapshot either screen or form to the clipboard and then dump clipboard into word, I think it is all there. Option Compare Database Option Explicit '_______________________________________________________ ' Snap a picture of the screen and send error messages, ' screen picture and tasklist to a word document '________________________________________________________ Private Const VK_LWIN = &H5B 'Left window button Private Const VK_RETURN = &HD 'ENTER key Private Const VK_SHIFT = &H10 'SHIFT key Private Const VK_CONTROL = &H11 'CTRL key Private Const VK_MENU = &H12 'ALT key Private Const VK_PAUSE = &H13 'PAUSE key Private Const VK_CAPITAL = &H14 'CAPS LOCK key Private Const VK_SNAPSHOT = &H2C 'Print Screen Private Const VK_APPS = &H5D 'Applications key on a Microsoft Natural Keyboard 'from http://support.microsoft.com/view/dev.asp?kb=242971 Const GW_HWNDFIRST = 0 Const GW_HWNDNEXT = 2 Private Const KEYEVENTF_KEYUP = &H2 Private Declare Sub keybd_event Lib "user32" (ByVal bVk As Byte, _ ByVal bScan As Byte, ByVal dwflags As Long, ByVal dwExtraInfo As Long) Private Declare Function GetWindow Lib "user32" _ (ByVal hWnd As Long, ByVal wCmd As Long) As Long Private Declare Function GetParent Lib "user32" _ (ByVal hWnd As Long) As Long Private Declare Function GetWindowTextLength Lib _ "user32" Alias "GetWindowTextLengthA" (ByVal hWnd As Long) As Long Private Declare Function GetWindowText Lib "user32" _ Alias "GetWindowTextA" (ByVal hWnd As Long, ByVal _ lpString As String, ByVal cch As Long) As Long Private Declare Function FindWindow Lib "user32" Alias "FindWindowA" _ (ByVal lpClassName As String, ByVal lpWindowName As String) As Long Private Declare Function SetFocusAPI Lib "user32" Alias "SetFocus" _ (ByVal hWnd As Long) As Long Sub ErrorScreenReport() 'turn on reference to Microsoft Word Object Library SnapPrintScreen 'SnapPrintForm ErrorReportToWord End Sub Sub ErrorReportToWord() Dim ObjWord As Word.Application Dim temp As String Dim strFileName As String Dim strErrDesc As String Dim strLoadTaskList As String Dim appPathAccess As String ' grab the Task List strLoadTaskList = LoadTaskList() ' On Error Resume Next Set ObjWord = New Word.Application ' Disable command button to prevent object being recreated ' If you have an error in here, it will litter memory with copies of word ' so put in error handling ObjWord.Documents.Add ObjWord.Selection.Paste 'copy clipboard strErrDesc = "Error No: " & Err.Number & "; Description: " & Err.Description 'no range selected so text placed at end of document ObjWord.Application.Selection.Font.Size = 14 ObjWord.Application.Selection.Font.Bold = True strErrDesc = strErrDesc & " Module name = ..." & vbCrLf & vbCrLf ObjWord.Application.Selection.Font.Size = 10 ObjWord.Application.Selection.Font.Bold = True strErrDesc = strErrDesc & strLoadTaskList ObjWord.ActiveDocument.Content.InsertAfter Text:=strErrDesc ' Saves report with a new filename ' Name of report file, change path to whatever is applicable appPathAccess = CurrentDBDir strFileName = appPathAccess & "ErrorReport" strFileName = strFileName & Format(Now, "yyyymmddhhmmss") & ".doc" ObjWord.ActiveDocument.SaveAs (strFileName) ' Quit Word ObjWord.Documents.Close ObjWord.Quit ' Inform user that report is created MsgBox "Error Report Created in File" & vbCrLf & strFileName ' Clear our pointer to word Set ObjWord = Nothing End Sub 'Determining Which Tasks Are Running 'With the Microsoft Windows operating system, 'you can run any number of applications simultaneously. 'Occasionally, you may need to determine which tasks are currently being 'run. 'This can be accomplished by using several Windows application programming 'interface '(API) functions. 'To find the names of all currently executing tasks, 'you must first determine the handle of the window that is currently 'at the top of the z-order. This, of course, would be the window of your 'own Microsoft Visual Basic application. 'You can use the Windows API GetWindow function to retrieve the handle 'of your application's window with the statement: ' CurrWnd = GetWindow(Form1.hwnd, GW_HWNDFIRST) ' To use in Access replace with the following ' parent_hwnd = FindWindow(vbNullString, "Microsoft Access") 'The first argument of the GetWindow function is the handle of the window 'that is at the top of the z-order. In this case, this is the handle of 'Form1. 'The second argument of the GetWindow function specifies the window 'you want to retrieve the handle for. 'This argument can have one of the following values: ' GW_CHILD Retrieve the handle for the child window. ' GW_HWNDFIRST Retrieve the handle for the window at the top of the z- 'order. ' GW_HWNDLAST Retrieve the handle for the window at the bottom of the z- 'order. ' GW_HWNDNEXT Retrieve the handle of the window below the specified window 'in the z-order. ' GW_HWNDPREV Retrieve the handle of the window above the specified window 'in the z-order. ' GW_OWNER Retrieve the handle of the window that owns the specified 'window, if any. 'After you have retrieved the application's window handle, 'you can use the Windows API GetParent function to retrieve this window's 'child window handle. Next, you call the Windows API GetWindowText and 'GetWindowTextLength functions to retrieve the text in the window's title 'bar 'and the length of this text, respectively. You can then use the text string 'in your own application. For example, you can save the title bar text 'to a List Box control. 'All of the above steps are repeated until you have processed all running 'tasks. 'You know that you have gone through each task when the current window is 'that'of your own application. Function LoadTaskList() As String Dim CurrWnd As Long Dim Length As Long Dim TaskName As String Dim Parent As Long Dim parent_hwnd As Long Dim strMyTaskList As String strMyTaskList = " Task List " & vbCrLf ' This line below works from VB form 'CurrWnd = GetWindow(Form1.hwnd, GW_HWNDFIRST) ' get Parent Window Handle parent_hwnd = FindWindow(vbNullString, "Microsoft Access") If parent_hwnd = 0 Then MsgBox "Access Not Found" Exit Function End If 'SetFocusAPI parent_hwnd CurrWnd = parent_hwnd While CurrWnd <> 0 Parent = GetParent(CurrWnd) Length = GetWindowTextLength(CurrWnd) TaskName = Space$(Length + 1) Length = GetWindowText(CurrWnd, TaskName, Length + 1) TaskName = Left$(TaskName, Len(TaskName) - 1) If Length > 0 Then 'If TaskName <> Me.Caption Then 'If TaskName <> "Microsoft Access" Then 'List1.AddItem TaskName strMyTaskList = strMyTaskList & TaskName & vbCrLf Debug.Print TaskName 'End If End If CurrWnd = GetWindow(CurrWnd, GW_HWNDNEXT) DoEvents Wend LoadTaskList = strMyTaskList End Function ' Function CurrentDBDir() As String ' get Current Database Path string Dim strDBPath As String Dim strDBFile As String strDBPath = CurrentDb.Name strDBFile = Dir(strDBPath) CurrentDBDir = Left(strDBPath, Len(strDBPath) - Len(strDBFile)) End Function Option Compare Database Option Explicit '_______________________________________________________ ' Snap a picture of the screen and send error messages, ' screen picture and tasklist to a word document '________________________________________________________ Private Const VK_LWIN = &H5B 'Left window button Private Const VK_RETURN = &HD 'ENTER key Private Const VK_SHIFT = &H10 'SHIFT key Private Const VK_CONTROL = &H11 'CTRL key Private Const VK_MENU = &H12 'ALT key Private Const VK_PAUSE = &H13 'PAUSE key Private Const VK_CAPITAL = &H14 'CAPS LOCK key Private Const VK_SNAPSHOT = &H2C 'Print Screen Private Const VK_APPS = &H5D 'Applications key on a Microsoft Natural Keyboard 'from http://support.microsoft.com/view/dev.asp?kb=242971 Const GW_HWNDFIRST = 0 Const GW_HWNDNEXT = 2 Private Const KEYEVENTF_KEYUP = &H2 Private Declare Sub keybd_event Lib "user32" (ByVal bVk As Byte, _ ByVal bScan As Byte, ByVal dwflags As Long, ByVal dwExtraInfo As Long) Private Declare Function GetWindow Lib "user32" _ (ByVal hWnd As Long, ByVal wCmd As Long) As Long Private Declare Function GetParent Lib "user32" _ (ByVal hWnd As Long) As Long Private Declare Function GetWindowTextLength Lib _ "user32" Alias "GetWindowTextLengthA" (ByVal hWnd As Long) As Long Private Declare Function GetWindowText Lib "user32" _ Alias "GetWindowTextA" (ByVal hWnd As Long, ByVal _ lpString As String, ByVal cch As Long) As Long Private Declare Function FindWindow Lib "user32" Alias "FindWindowA" _ (ByVal lpClassName As String, ByVal lpWindowName As String) As Long Private Declare Function SetFocusAPI Lib "user32" Alias "SetFocus" _ (ByVal hWnd As Long) As Long Sub OpenWindowsHelp() ' Open the Windows Help ' ' You can use the same technique to programmatically "press" any other ' key, including Shift, Ctrl, Alt and keys combinations that can't be ' simulated through SendKeys ' programmatically press the Windows key keybd_event VK_LWIN, 0, 0, 0 ' then press and then release the F1 key keybd_event vbKeyF1, 0, 0, 0 keybd_event vbKeyF1, 0, KEYEVENTF_KEYUP, 0 ' and finally release the Windows Key keybd_event VK_LWIN, 0, KEYEVENTF_KEYUP, 0 End Sub Sub CloseAllWindows() ' Minimize all open windows 'Const acaltMask ' programmatically press the Windows key keybd_event VK_LWIN, 0, 0, 0 ' then press and then release the M key keybd_event vbKeyM, 0, 0, 0 keybd_event vbKeyM, 0, KEYEVENTF_KEYUP, 0 ' and finally release the Windows Key keybd_event VK_LWIN, 0, KEYEVENTF_KEYUP, 0 End Sub Sub SnapPrintForm() 'use the following code inside form or focused window 'to simulate the Alt / PrintScreen = key combination: 'If form popup in Access will capture form ' programmatically press the ALT key ' keybd_event VK_MENU, 0, 0, 0 ' then press and then release the PrtScreen key keybd_event VK_SNAPSHOT, 1, 0, 0 DoEvents ' keybd_event VK_SNAPSHOT, 0, KEYEVENTF_KEYUP, 0 ' and finally release the ALT Key ' keybd_event VK_MENU, 0, KEYEVENTF_KEYUP, 0 End Sub Sub SnapPrintScreen() 'To print the entire screen (rather than the current focused window 'programmatically press the ALT key 'keybd_event VK_MENU, 0, 0, 0 ' then press and then release the PrtScreen key keybd_event VK_SNAPSHOT, 0, 0, 0 DoEvents 'keybd_event VK_SNAPSHOT, 0, KEYEVENTF_KEYUP, 0 ' and finally release the ALT Key 'keybd_event VK_MENU, 0, KEYEVENTF_KEYUP, 0 ' The second argument for the keybd_event call is the hardware scan code, ' and, in this case, you could use the value 1. This may have to change ' with Win 2000 ' However, applications should not use this scan code according to Microsoft ' The screen is now captured in the clipboard as a bmp End Sub Rocky Smolin - Beach Access Software wrote: > I found that a screen print image was limited to the resolution of the > screen. Copying a full page of a report from the screen just didn't > provide the detail needed. Alt+Print Screen and Ctrl+V works good for > dropping forms shots into a word doc. > > Rocky > > ----- Original Message ----- From: > To: "Access Developers discussion and problem solving" > > Sent: Thursday, June 16, 2005 3:53 PM > Subject: RE: [AccessD] Print To Picture > > >> So it's easier to use than Alt+Print Screen and Ctrl+V? >> >> I guess no editing. >> >> -----Original Message----- >> From: accessd-bounces at databaseadvisors.com >> [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Rocky Smolin - >> Beach Access Software >> Sent: Thursday, June 16, 2005 3:17 PM >> To: Access Developers discussion and problem solving >> Subject: Re: [AccessD] Print To Picture >> >> >> 404 means a broken link. I'll send it to you off line, however. >> It's from >> a Russian guy who apparently has taken his site down. It installs >> like a >> printer and when you print to it it produces either a .PCX or .BMP >> format >> which you can insert into a word doc. I used it to put sample >> reports into >> a manual. >> >> Regards, >> >> Rocky Smolin >> Beach Access Software >> http://www.e-z-mrp.com >> 858-259-4334 >> >> ----- Original Message ----- >> From: "Jim Hewson" >> To: "Access Developers discussion and problem solving" >> >> Sent: Thursday, June 16, 2005 2:50 PM >> Subject: RE: [AccessD] Print To Picture >> >> >>> Sounds like a useful tool. >>> I've never heard of 404. I'd like to be able to get it. >>> Thanks, >>> Jim >>> >>> -----Original Message----- >>> From: accessd-bounces at databaseadvisors.com >>> [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Rocky Smolin >>> - Beach Access Software >>> Sent: Thursday, June 16, 2005 4:44 PM >>> To: Access Developers discussion and problem solving >>> Subject: Re: [AccessD] Print To Picture >>> >>> Never mind. Found the .exe on my old machine. But the original >>> link is >>> 404. So if anyone wants it, I've got it. >>> >>> Rocky >>> >>> ----- Original Message ----- >>> From: "Rocky Smolin - Beach Access Software" >>> To: >>> Sent: Thursday, June 16, 2005 2:18 PM >>> Subject: [AccessD] Print To Picture >>> >>> >>> Dear List: >>> >>> I have a great utility on my old machine called print to picture. >>> Installs >>> like a printer and will print to a file which you can then copy into a >>> word >>> doc. I need it on my new machine but can't find it anymore. Anyone >>> know >>> where it is? >>> >>> TIA, >>> >>> Rocky Smolin >>> Beach Access Software >>> http://www.e-z-mrp.com >>> 858-259-4334 >>> -- >>> AccessD mailing list >>> AccessD at databaseadvisors.com >>> http://databaseadvisors.com/mailman/listinfo/accessd >>> Website: http://www.databaseadvisors.com >>> >>> -- >>> AccessD mailing list >>> AccessD at databaseadvisors.com >>> http://databaseadvisors.com/mailman/listinfo/accessd >>> Website: http://www.databaseadvisors.com >>> -- >>> AccessD mailing list >>> AccessD at databaseadvisors.com >>> http://databaseadvisors.com/mailman/listinfo/accessd >>> Website: http://www.databaseadvisors.com >>> >> >> -- >> AccessD mailing list >> AccessD at databaseadvisors.com >> http://databaseadvisors.com/mailman/listinfo/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 Erwin.Craps at ithelps.be Fri Jun 17 01:50:16 2005 From: Erwin.Craps at ithelps.be (Erwin Craps - IT Helps) Date: Fri, 17 Jun 2005 08:50:16 +0200 Subject: [AccessD] Urgent help needed withIISserver.CreateObject("ADODB.Connection") Message-ID: <46B976F2B698FF46A4FE7636509B22DF1B5C8F@stekelbes.ithelps.local> Noop, Doesnt solve the problem. Already added those. Problem is persistent.. -----Oorspronkelijk bericht----- Van: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] Namens Jim Lawrence Verzonden: donderdag 16 juni 2005 17:07 Aan: 'Access Developers discussion and problem solving' Onderwerp: RE: [AccessD] Urgent help needed withIISserver.CreateObject("ADODB.Connection") Hi Erwin: Have you seen this article from MS? http://support.microsoft.com/kb/198432/EN-US/ Solution: You need to give the IUSR_ account permissions to launch and access your OOP COM object using dcomcnfg by doing the following: 1. Launch DCOMCNFG by clicking the Start button, selecting Run, and typing "Dcomcnfg" in the Run dialog box. 2. In the Default Security tab, click the "Edit Default" in the "Default Access Permissions" frame. The Registry Value Permissions dialog box appears. 3. Add the IUSR_account and the INTERACTIVE account to the Registry Value Permissions dialog box, and click OK. 4. In the Default Security tab, click the Edit Default in the Default Launch Permissions frame. The Registry Value Permissions dialog box appears. 5. Add the IUSR_ account to the Registry Value Permissions dialog box0, and click OK. HTH Jim -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Erwin Craps - IT Helps Sent: Thursday, June 16, 2005 4:43 AM To: Access Developers discussion and problem solving Subject: [AccessD] Urgent help needed with IISserver.CreateObject("ADODB.Connection") Importance: High I'm getting desperate over here. Yesterday I installed this mont security fixes on my W2K server. I also took the opportunity to install SQL SP4. >From that reboot on, non of my database driven website no longer functions. For both "JET 4 MDB" and "SQL server" access I get an error on this command where it always used to work before the updates. failing command server.CreateObject("ADODB.Connection") Retunred error Server object error 'ASP 0178 : 80070005' Server.CreateObject Access Error The call to Server.CreateObject failed while checking permissions. Access is denied to this object. I checked al my NTFS permissons according to the MSKB, but I believe everything is ok. Anyway, it worked for years before this update. Is this a bug in the windows fiexes???? Erwin Craps Zaakvoerder www.ithelps.be/onsgezin This E-mail is confidential, may be legally privileged, and is for the intended recipient only. Access, disclosure, copying, distribution, or reliance on any of it by anyone else is prohibited and may be a criminal offence. Please delete if obtained in error and E-mail confirmation to the sender. IT Helps - I.T. Help Center *** Box Office Belgium & Luxembourg www.ithelps.be * www.boxoffice.be * www.stadleuven.be IT Helps bvba* ** Mercatorpad 3 ** 3000 Leuven IT Helps * Phone: +32 16 296 404 * Fax: +32 16 296 405 E-mail: Info at ithelps.be Box Office ** Fax: +32 16 296 406 ** Box Office E-mail: Staff at boxoffice.be -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd 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 fsmail.net Fri Jun 17 06:42:50 2005 From: paul.hartland at fsmail.net (paul.hartland at fsmail.net) Date: Fri, 17 Jun 2005 13:42:50 +0200 (CEST) Subject: [AccessD] OT - Visual Basic 6.0 - Is Form Open Message-ID: <10661170.1119008570079.JavaMail.www@wwinf3001> To all, Does anyone know how to find out if a form is open in a Visual Basic 6.0 application ? Thanks in advance for any help on this. Paul Hartland Database Developer -- Whatever you Wanadoo: http://www.wanadoo.co.uk/time/ This email has been checked for most known viruses - find out more at: http://www.wanadoo.co.uk/help/id/7098.htm From accessd666 at yahoo.com Fri Jun 17 07:00:33 2005 From: accessd666 at yahoo.com (Sad Der) Date: Fri, 17 Jun 2005 05:00:33 -0700 (PDT) Subject: [AccessD] Query: Filter date column on year Message-ID: <20050617120033.81643.qmail@web31609.mail.mud.yahoo.com> Hi group, I've got a query with a date field in it. Values are formatted like: mm-dd-yyyy I want to retrieve all values equal to a certain year. With what statement can I do this? TIA SD ____________________________________________________ Yahoo! Sports Rekindle the Rivalries. Sign up for Fantasy Football http://football.fantasysports.yahoo.com From JHewson at karta.com Fri Jun 17 07:13:58 2005 From: JHewson at karta.com (Jim Hewson) Date: Fri, 17 Jun 2005 07:13:58 -0500 Subject: [AccessD] Print To Picture Message-ID: <9C382E065F54AE48BC3AA7925DCBB01C036295AC@karta-exc-int.Karta.com> I've heard of THAT 404. I wasn't thinking of a broken link.... Geez, I thought of a website like www.404.com .... Which is actually a valid website. Never mind. Jim -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of William Hindman Sent: Thursday, June 16, 2005 5:02 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Print To Picture ..never heard of 404? ...lucky man! :) William ----- Original Message ----- From: "Jim Hewson" To: "Access Developers discussion and problem solving" Sent: Thursday, June 16, 2005 5:50 PM Subject: RE: [AccessD] Print To Picture > Sounds like a useful tool. > I've never heard of 404. I'd like to be able to get it. > Thanks, > Jim > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Rocky Smolin > - Beach Access Software > Sent: Thursday, June 16, 2005 4:44 PM > To: Access Developers discussion and problem solving > Subject: Re: [AccessD] Print To Picture > > Never mind. Found the .exe on my old machine. But the original link is > 404. So if anyone wants it, I've got it. > > Rocky > > ----- Original Message ----- > From: "Rocky Smolin - Beach Access Software" > To: > Sent: Thursday, June 16, 2005 2:18 PM > Subject: [AccessD] Print To Picture > > > Dear List: > > I have a great utility on my old machine called print to picture. > Installs > like a printer and will print to a file which you can then copy into a > word > doc. I need it on my new machine but can't find it anymore. Anyone > know > where it is? > > TIA, > > Rocky Smolin > Beach Access Software > http://www.e-z-mrp.com > 858-259-4334 > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > 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 Fri Jun 17 07:24:19 2005 From: DElam at jenkens.com (Elam, Debbie) Date: Fri, 17 Jun 2005 07:24:19 -0500 Subject: [AccessD] Query: Filter date column on year Message-ID: <7B1961ED924D1A459E378C9B1BB22B4C0492C9C4@natexch.jenkens.com> Where DatePart('yyyy',[DateField]) = 2005 Debbie -----Original Message----- From: Sad Der [mailto:accessd666 at yahoo.com] Sent: Friday, June 17, 2005 7:01 AM To: Acces User Group Subject: [AccessD] Query: Filter date column on year Hi group, I've got a query with a date field in it. Values are formatted like: mm-dd-yyyy I want to retrieve all values equal to a certain year. With what statement can I do this? TIA SD ____________________________________________________ Yahoo! Sports Rekindle the Rivalries. Sign up for Fantasy Football http://football.fantasysports.yahoo.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 bheid at appdevgrp.com Fri Jun 17 07:47:49 2005 From: bheid at appdevgrp.com (Bobby Heid) Date: Fri, 17 Jun 2005 08:47:49 -0400 Subject: [AccessD] Question about Animated Graphics In-Reply-To: <916187228923D311A6FE00A0CC3FAA30BECDBC@ADGSERVER> Message-ID: <916187228923D311A6FE00A0CC3FAA30ABEC3F@ADGSERVER> Those are animated Gif files which are not supported in Access (well at least version 2000 and less). I think that there are some 3rd-party controls that will let you host an animated Gif. Bobby -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Arthur Fuller Sent: Thursday, June 16, 2005 10:31 PM To: 'Access Developers discussion and problem solving' Subject: [AccessD] Question about Animated Graphics I found some cool graphics appropriate to an app I'm building now, but so far I can't make them work correctly. For a peek at the graphics, see http://www.animation-central.com/gears.htm. The graphics there move. When I download one graphic and drop it on an Access form, it's static not animated. I want the animation! How do I achieve this? TIA, Arthur From R.Griffiths at bury.gov.uk Fri Jun 17 07:56:19 2005 From: R.Griffiths at bury.gov.uk (Griffiths, Richard) Date: Fri, 17 Jun 2005 13:56:19 +0100 Subject: [AccessD] OT - Visual Basic 6.0 - Is Form Open Message-ID: <200506171247.j5HClmA19797@smarthost.yourcomms.net> Maybe this Private Sub Form_Load() If IsLoaded("Form1") = True Then MsgBox "Yep, loaded" End If End Sub Private Function IsLoaded(ByVal FormName As String) As Boolean Dim f As Form 'check all open forms For Each f In Forms If f.Name = FormName Then 'yep, form is loaded IsLoaded = True 'no need to loop again... Exit For End If Next ' f End Function Richard -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of paul.hartland at fsmail.net Sent: 17 June 2005 12:43 To: accessd Subject: [AccessD] OT - Visual Basic 6.0 - Is Form Open To all, Does anyone know how to find out if a form is open in a Visual Basic 6.0 application ? Thanks in advance for any help on this. Paul Hartland Database Developer -- Whatever you Wanadoo: http://www.wanadoo.co.uk/time/ This email has been checked for most known viruses - find out more at: http://www.wanadoo.co.uk/help/id/7098.htm -- 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 Fri Jun 17 08:09:07 2005 From: paul.hartland at isharp.co.uk (Paul Hartland (ISHARP)) Date: Fri, 17 Jun 2005 14:09:07 +0100 Subject: [AccessD] OT - Visual Basic 6.0 - Is Form Open In-Reply-To: <200506171247.j5HClmA19797@smarthost.yourcomms.net> Message-ID: Thanks, works a treat..... Hope I can help out sometime -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Griffiths, Richard Sent: 17 June 2005 13:56 To: Access Developers discussion and problem solving Subject: RE: [AccessD] OT - Visual Basic 6.0 - Is Form Open Maybe this Private Sub Form_Load() If IsLoaded("Form1") = True Then MsgBox "Yep, loaded" End If End Sub Private Function IsLoaded(ByVal FormName As String) As Boolean Dim f As Form 'check all open forms For Each f In Forms If f.Name = FormName Then 'yep, form is loaded IsLoaded = True 'no need to loop again... Exit For End If Next ' f End Function Richard -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of paul.hartland at fsmail.net Sent: 17 June 2005 12:43 To: accessd Subject: [AccessD] OT - Visual Basic 6.0 - Is Form Open To all, Does anyone know how to find out if a form is open in a Visual Basic 6.0 application ? Thanks in advance for any help on this. Paul Hartland Database Developer -- Whatever you Wanadoo: http://www.wanadoo.co.uk/time/ This email has been checked for most known viruses - find out more at: http://www.wanadoo.co.uk/help/id/7098.htm -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From accessd666 at yahoo.com Fri Jun 17 08:21:54 2005 From: accessd666 at yahoo.com (Sad Der) Date: Fri, 17 Jun 2005 06:21:54 -0700 (PDT) Subject: [AccessD] Query: Filter date column on year SOLVED! In-Reply-To: <7B1961ED924D1A459E378C9B1BB22B4C0492C9C4@natexch.jenkens.com> Message-ID: <20050617132154.92793.qmail@web31611.mail.mud.yahoo.com> Thnx debbie! Works like a charm. Regards, SD --- "Elam, Debbie" wrote: > Where DatePart('yyyy',[DateField]) = 2005 > > Debbie > > -----Original Message----- > From: Sad Der [mailto:accessd666 at yahoo.com] > Sent: Friday, June 17, 2005 7:01 AM > To: Acces User Group > Subject: [AccessD] Query: Filter date column on year > > > Hi group, > > I've got a query with a date field in it. Values are > formatted like: > mm-dd-yyyy > > I want to retrieve all values equal to a certain > year. > With what statement can I do this? > > TIA > > SD > > > > ____________________________________________________ > > Yahoo! Sports > Rekindle the Rivalries. Sign up for Fantasy Football > > http://football.fantasysports.yahoo.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 > ____________________________________________________ Yahoo! Sports Rekindle the Rivalries. Sign up for Fantasy Football http://football.fantasysports.yahoo.com From paul.hartland at fsmail.net Fri Jun 17 08:54:15 2005 From: paul.hartland at fsmail.net (paul.hartland at fsmail.net) Date: Fri, 17 Jun 2005 15:54:15 +0200 (CEST) Subject: [AccessD] Executing Internet Links From Within Access Message-ID: <30349590.1119016455234.JavaMail.www@wwinf3001> To all, A friend of mine has a website which he has to go to everyday to exceute several other pages, would it be possible to insert these into an Access table and run some code which would trigger them ? Thanks in advance for any help/sample code on this issue Paul Hartland -- Whatever you Wanadoo: http://www.wanadoo.co.uk/time/ This email has been checked for most known viruses - find out more at: http://www.wanadoo.co.uk/help/id/7098.htm From martyconnelly at shaw.ca Fri Jun 17 10:08:26 2005 From: martyconnelly at shaw.ca (MartyConnelly) Date: Fri, 17 Jun 2005 08:08:26 -0700 Subject: [AccessD] Executing Internet Links From Within Access References: <30349590.1119016455234.JavaMail.www@wwinf3001> Message-ID: <42B2E76A.5040205@shaw.ca> Code below is easiest way otherwise you have to enter address in a hyperlink field of table which requires a specific format URL Name#URL address#subaddress "My MS site"#"http://www.microsoft.com"# Then you can assign this field to a clickable Label or TextBox The following function prompts a user for a hyperlink address and then follows the hyperlink: You could assign this function to a command button Function GetUserAddress() As Boolean Dim strInput As String On Error GoTo Error_GetUserAddress strInput = InputBox("Enter a valid address") Application.FollowHyperlink strInput, , True GetUserAddress = True Exit_GetUserAddress: Exit Function Error_GetUserAddress: MsgBox Err & ": " & Err.Description GetUserAddress = False Resume Exit_GetUserAddress End Function paul.hartland at fsmail.net wrote: >To all, > >A friend of mine has a website which he has to go to everyday to exceute several other pages, would it be possible to insert these into an Access table and run some code which would trigger them ? > >Thanks in advance for any help/sample code on this issue > >Paul Hartland > > > -- Marty Connelly Victoria, B.C. Canada From paul.hartland at fsmail.net Fri Jun 17 10:12:23 2005 From: paul.hartland at fsmail.net (paul.hartland at fsmail.net) Date: Fri, 17 Jun 2005 17:12:23 +0200 (CEST) Subject: [AccessD] Executing Internet Links From Within Access Message-ID: <24451050.1119021143158.JavaMail.www@wwinf3102> Thanks for that, will test it out after the weekend. Message date : Jun 17 2005, 04:10 PM >From : "MartyConnelly" To : "Access Developers discussion and problem solving" Copy to : Subject : Re: [AccessD] Executing Internet Links From Within Access Code below is easiest way otherwise you have to enter address in a hyperlink field of table which requires a specific format URL Name#URL address#subaddress "My MS site"#"http://www.microsoft.com"# Then you can assign this field to a clickable Label or TextBox The following function prompts a user for a hyperlink address and then follows the hyperlink: You could assign this function to a command button Function GetUserAddress() As Boolean Dim strInput As String On Error GoTo Error_GetUserAddress strInput = InputBox("Enter a valid address") Application.FollowHyperlink strInput, , True GetUserAddress = True Exit_GetUserAddress: Exit Function Error_GetUserAddress: MsgBox Err & ": " & Err.Description GetUserAddress = False Resume Exit_GetUserAddress End Function paul.hartland at fsmail.net wrote: >To all, > >A friend of mine has a website which he has to go to everyday to exceute several other pages, would it be possible to insert these into an Access table and run some code which would trigger them ? > >Thanks in advance for any help/sample code on this issue > >Paul Hartland > > > -- Marty Connelly Victoria, B.C. Canada -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- Whatever you Wanadoo: http://www.wanadoo.co.uk/time/ This email has been checked for most known viruses - find out more at: http://www.wanadoo.co.uk/help/id/7098.htm From martyconnelly at shaw.ca Fri Jun 17 10:26:18 2005 From: martyconnelly at shaw.ca (MartyConnelly) Date: Fri, 17 Jun 2005 08:26:18 -0700 Subject: [AccessD] Urgent help needed withIISserver.CreateObject("ADODB.Connection") References: <46B976F2B698FF46A4FE7636509B22DF1B5C8F@stekelbes.ithelps.local> Message-ID: <42B2EB9A.40209@shaw.ca> Have you tried filemon from sysinternals.com to trace the access permission error Erwin Craps - IT Helps wrote: >Noop, Doesnt solve the problem. >Already added those. > >Problem is persistent.. > > >-----Oorspronkelijk bericht----- >Van: accessd-bounces at databaseadvisors.com >[mailto:accessd-bounces at databaseadvisors.com] Namens Jim Lawrence >Verzonden: donderdag 16 juni 2005 17:07 >Aan: 'Access Developers discussion and problem solving' >Onderwerp: RE: [AccessD] Urgent help needed >withIISserver.CreateObject("ADODB.Connection") > >Hi Erwin: > >Have you seen this article from MS? >http://support.microsoft.com/kb/198432/EN-US/ > > >Solution: >You need to give the IUSR_ account permissions to launch >and access your OOP COM object using dcomcnfg by doing the following: >1. Launch DCOMCNFG by clicking the Start button, selecting Run, and >typing "Dcomcnfg" in the Run dialog box. >2. In the Default Security tab, click the "Edit Default" in the "Default >Access Permissions" frame. The Registry Value Permissions dialog box >appears. >3. Add the IUSR_account and the INTERACTIVE account to the >Registry Value Permissions dialog box, and click OK. >4. In the Default Security tab, click the Edit Default in the Default >Launch Permissions frame. The Registry Value Permissions dialog box >appears. >5. Add the IUSR_ account to the Registry Value Permissions >dialog box0, and click OK. > > >HTH >Jim > >-----Original Message----- >From: accessd-bounces at databaseadvisors.com >[mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Erwin Craps - >IT Helps >Sent: Thursday, June 16, 2005 4:43 AM >To: Access Developers discussion and problem solving >Subject: [AccessD] Urgent help needed with >IISserver.CreateObject("ADODB.Connection") >Importance: High > > >I'm getting desperate over here. > >Yesterday I installed this mont security fixes on my W2K server. >I also took the opportunity to install SQL SP4. > >>From that reboot on, non of my database driven website no longer >functions. > >For both "JET 4 MDB" and "SQL server" access I get an error on this >command where it always used to work before the updates. >failing command server.CreateObject("ADODB.Connection") >Retunred error >Server object error 'ASP 0178 : 80070005' >Server.CreateObject Access Error >The call to Server.CreateObject failed while checking permissions. >Access is denied to this object. > > > > >I checked al my NTFS permissons according to the MSKB, but I believe >everything is ok. > >Anyway, it worked for years before this update. > > > >Is this a bug in the windows fiexes???? > > > > > > > >Erwin Craps > >Zaakvoerder > >www.ithelps.be/onsgezin > > > >This E-mail is confidential, may be legally privileged, and is for the >intended recipient only. Access, disclosure, copying, distribution, or >reliance on any of it by anyone else is prohibited and may be a criminal >offence. Please delete if obtained in error and E-mail confirmation to >the sender. > >IT Helps - I.T. Help Center *** Box Office Belgium & Luxembourg > >www.ithelps.be * www.boxoffice.be > * www.stadleuven.be > > >IT Helps bvba* ** Mercatorpad 3 ** 3000 Leuven > >IT Helps * Phone: +32 16 296 404 * Fax: +32 16 296 405 E-mail: >Info at ithelps.be > >Box Office ** Fax: +32 16 296 406 ** Box Office E-mail: >Staff at boxoffice.be > > >-- >AccessD mailing list >AccessD at databaseadvisors.com >http://databaseadvisors.com/mailman/listinfo/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 Erwin.Craps at ithelps.be Fri Jun 17 14:15:32 2005 From: Erwin.Craps at ithelps.be (Erwin Craps - IT Helps) Date: Fri, 17 Jun 2005 21:15:32 +0200 Subject: [AccessD] Urgent help neededwithIISserver.CreateObject("ADODB.Connection") Message-ID: <46B976F2B698FF46A4FE7636509B22DF1B5C90@stekelbes.ithelps.local> Il give it a shot. I noticed now that also FSO does not work anymore in ASP... Must be clearly one of this months windows updates that has caused this. Erwin -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of MartyConnelly Sent: Friday, June 17, 2005 5:26 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Urgent help neededwithIISserver.CreateObject("ADODB.Connection") Have you tried filemon from sysinternals.com to trace the access permission error Erwin Craps - IT Helps wrote: >Noop, Doesnt solve the problem. >Already added those. > >Problem is persistent.. > > >-----Oorspronkelijk bericht----- >Van: accessd-bounces at databaseadvisors.com >[mailto:accessd-bounces at databaseadvisors.com] Namens Jim Lawrence >Verzonden: donderdag 16 juni 2005 17:07 >Aan: 'Access Developers discussion and problem solving' >Onderwerp: RE: [AccessD] Urgent help needed >withIISserver.CreateObject("ADODB.Connection") > >Hi Erwin: > >Have you seen this article from MS? >http://support.microsoft.com/kb/198432/EN-US/ > > >Solution: >You need to give the IUSR_ account permissions to launch >and access your OOP COM object using dcomcnfg by doing the following: >1. Launch DCOMCNFG by clicking the Start button, selecting Run, and >typing "Dcomcnfg" in the Run dialog box. >2. In the Default Security tab, click the "Edit Default" in the >"Default Access Permissions" frame. The Registry Value Permissions >dialog box appears. >3. Add the IUSR_account and the INTERACTIVE account to >the Registry Value Permissions dialog box, and click OK. >4. In the Default Security tab, click the Edit Default in the Default >Launch Permissions frame. The Registry Value Permissions dialog box >appears. >5. Add the IUSR_ account to the Registry Value >Permissions dialog box0, and click OK. > > >HTH >Jim > >-----Original Message----- >From: accessd-bounces at databaseadvisors.com >[mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Erwin Craps >- IT Helps >Sent: Thursday, June 16, 2005 4:43 AM >To: Access Developers discussion and problem solving >Subject: [AccessD] Urgent help needed with >IISserver.CreateObject("ADODB.Connection") >Importance: High > > >I'm getting desperate over here. > >Yesterday I installed this mont security fixes on my W2K server. >I also took the opportunity to install SQL SP4. > >>From that reboot on, non of my database driven website no longer >functions. > >For both "JET 4 MDB" and "SQL server" access I get an error on this >command where it always used to work before the updates. >failing command server.CreateObject("ADODB.Connection") >Retunred error >Server object error 'ASP 0178 : 80070005' >Server.CreateObject Access Error >The call to Server.CreateObject failed while checking permissions. >Access is denied to this object. > > > > >I checked al my NTFS permissons according to the MSKB, but I believe >everything is ok. > >Anyway, it worked for years before this update. > > > >Is this a bug in the windows fiexes???? > > > > > > > >Erwin Craps > >Zaakvoerder > >www.ithelps.be/onsgezin > > > >This E-mail is confidential, may be legally privileged, and is for the >intended recipient only. Access, disclosure, copying, distribution, or >reliance on any of it by anyone else is prohibited and may be a >criminal offence. Please delete if obtained in error and E-mail >confirmation to the sender. > >IT Helps - I.T. Help Center *** Box Office Belgium & Luxembourg > >www.ithelps.be * www.boxoffice.be > * www.stadleuven.be > > >IT Helps bvba* ** Mercatorpad 3 ** 3000 Leuven > >IT Helps * Phone: +32 16 296 404 * Fax: +32 16 296 405 E-mail: >Info at ithelps.be > >Box Office ** Fax: +32 16 296 406 ** Box Office E-mail: >Staff at boxoffice.be > > >-- >AccessD mailing list >AccessD at databaseadvisors.com >http://databaseadvisors.com/mailman/listinfo/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 artful at rogers.com Fri Jun 17 21:46:43 2005 From: artful at rogers.com (Arthur Fuller) Date: Fri, 17 Jun 2005 22:46:43 -0400 Subject: [AccessD] Question about Animated Graphics In-Reply-To: <916187228923D311A6FE00A0CC3FAA30ABEC3F@ADGSERVER> Message-ID: <200506180246.j5I2kcR21562@databaseadvisors.com> Bummer.... O well. -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Bobby Heid Sent: June 17, 2005 8:48 AM To: 'Access Developers discussion and problem solving' Subject: RE: [AccessD] Question about Animated Graphics Those are animated Gif files which are not supported in Access (well at least version 2000 and less). I think that there are some 3rd-party controls that will let you host an animated Gif. Bobby -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Arthur Fuller Sent: Thursday, June 16, 2005 10:31 PM To: 'Access Developers discussion and problem solving' Subject: [AccessD] Question about Animated Graphics I found some cool graphics appropriate to an app I'm building now, but so far I can't make them work correctly. For a peek at the graphics, see http://www.animation-central.com/gears.htm. The graphics there move. When I download one graphic and drop it on an Access form, it's static not animated. I want the animation! How do I achieve this? TIA, Arthur -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From Erwin.Craps at ithelps.be Sat Jun 18 04:17:27 2005 From: Erwin.Craps at ithelps.be (Erwin Craps - IT Helps) Date: Sat, 18 Jun 2005 11:17:27 +0200 Subject: [AccessD] Urgent helpneededwithIISserver SOLVED Message-ID: <46B976F2B698FF46A4FE7636509B22DF1B5C91@stekelbes.ithelps.local> I Was able to locate and solve the problem with aid of the MDAC component checker. I noticed that some ADO files where located at "Z:\program Files\Common Files\system" instead of the normal C: drive. The NTFS file security for this system folder where not correctly set as specified in the MS articles. I always checked the C drive folder!!! That leaves me with the question why these MDAC are installed in the Z drive. My account data specifies drive Z: for the home directory, but again I don't see the point why my common files are set to the Z drive. I changed the registry entries from all Z: to C: and noticed the a registry key commonfilesfolder (or something) was set to the z drive. I changed that to to C: To conclude this problem I blmieve what happened is this. 1) I analised my server with MSBA that resulted in a MDAC that needed updating. 2) I updated the MDAC but also windows updates an SQL SP4 to save time. 3) For some resaon MDAC update installed onto the Z drive instead of the C 4) The Z: drive is a user folder where only administrators (group) and the user (in this case the administrator (user) has access to. Due to NTFS security limitations on the Z drive the IIS could not load MDAC components using thr IUSR failing all data access from my website. Probably lost 12 working hours and 3 days of website problems. Thank you whomever to thank (maybe myself with that home folder thing, but this has worked for 2 years) Erwin -----Oorspronkelijk bericht----- Van: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] Namens Erwin Craps - IT Helps Verzonden: vrijdag 17 juni 2005 21:16 Aan: Access Developers discussion and problem solving Onderwerp: RE: [AccessD] Urgent helpneededwithIISserver.CreateObject("ADODB.Connection") Il give it a shot. I noticed now that also FSO does not work anymore in ASP... Must be clearly one of this months windows updates that has caused this. Erwin -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of MartyConnelly Sent: Friday, June 17, 2005 5:26 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Urgent help neededwithIISserver.CreateObject("ADODB.Connection") Have you tried filemon from sysinternals.com to trace the access permission error Erwin Craps - IT Helps wrote: >Noop, Doesnt solve the problem. >Already added those. > >Problem is persistent.. > > >-----Oorspronkelijk bericht----- >Van: accessd-bounces at databaseadvisors.com >[mailto:accessd-bounces at databaseadvisors.com] Namens Jim Lawrence >Verzonden: donderdag 16 juni 2005 17:07 >Aan: 'Access Developers discussion and problem solving' >Onderwerp: RE: [AccessD] Urgent help needed >withIISserver.CreateObject("ADODB.Connection") > >Hi Erwin: > >Have you seen this article from MS? >http://support.microsoft.com/kb/198432/EN-US/ > > >Solution: >You need to give the IUSR_ account permissions to launch >and access your OOP COM object using dcomcnfg by doing the following: >1. Launch DCOMCNFG by clicking the Start button, selecting Run, and >typing "Dcomcnfg" in the Run dialog box. >2. In the Default Security tab, click the "Edit Default" in the >"Default Access Permissions" frame. The Registry Value Permissions >dialog box appears. >3. Add the IUSR_account and the INTERACTIVE account to >the Registry Value Permissions dialog box, and click OK. >4. In the Default Security tab, click the Edit Default in the Default >Launch Permissions frame. The Registry Value Permissions dialog box >appears. >5. Add the IUSR_ account to the Registry Value >Permissions dialog box0, and click OK. > > >HTH >Jim > >-----Original Message----- >From: accessd-bounces at databaseadvisors.com >[mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Erwin Craps >- IT Helps >Sent: Thursday, June 16, 2005 4:43 AM >To: Access Developers discussion and problem solving >Subject: [AccessD] Urgent help needed with >IISserver.CreateObject("ADODB.Connection") >Importance: High > > >I'm getting desperate over here. > >Yesterday I installed this mont security fixes on my W2K server. >I also took the opportunity to install SQL SP4. > >>From that reboot on, non of my database driven website no longer >functions. > >For both "JET 4 MDB" and "SQL server" access I get an error on this >command where it always used to work before the updates. >failing command server.CreateObject("ADODB.Connection") >Retunred error >Server object error 'ASP 0178 : 80070005' >Server.CreateObject Access Error >The call to Server.CreateObject failed while checking permissions. >Access is denied to this object. > > > > >I checked al my NTFS permissons according to the MSKB, but I believe >everything is ok. > >Anyway, it worked for years before this update. > > > >Is this a bug in the windows fiexes???? > > > > > > > >Erwin Craps > >Zaakvoerder > >www.ithelps.be/onsgezin > > > >This E-mail is confidential, may be legally privileged, and is for the >intended recipient only. Access, disclosure, copying, distribution, or >reliance on any of it by anyone else is prohibited and may be a >criminal offence. Please delete if obtained in error and E-mail >confirmation to the sender. > >IT Helps - I.T. Help Center *** Box Office Belgium & Luxembourg > >www.ithelps.be * www.boxoffice.be > * www.stadleuven.be > > >IT Helps bvba* ** Mercatorpad 3 ** 3000 Leuven > >IT Helps * Phone: +32 16 296 404 * Fax: +32 16 296 405 E-mail: >Info at ithelps.be > >Box Office ** Fax: +32 16 296 406 ** Box Office E-mail: >Staff at boxoffice.be > > >-- >AccessD mailing list >AccessD at databaseadvisors.com >http://databaseadvisors.com/mailman/listinfo/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 -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From jwcolby at colbyconsulting.com Sat Jun 18 07:40:22 2005 From: jwcolby at colbyconsulting.com (John W. Colby) Date: Sat, 18 Jun 2005 08:40:22 -0400 Subject: [AccessD] OT: Firefox password store Message-ID: <000201c57402$e80893c0$6c7aa8c0@ColbyM6805> I use FF to store my passwords for web pages. What I haven't figured out is why it sometimes does not offer to save the username / password? Anyone know? John W. Colby www.ColbyConsulting.com Contribute your unused CPU cycles to a good cause: http://folding.stanford.edu/ From martyconnelly at shaw.ca Sat Jun 18 10:58:25 2005 From: martyconnelly at shaw.ca (MartyConnelly) Date: Sat, 18 Jun 2005 08:58:25 -0700 Subject: [AccessD] Urgent helpneededwithIISserver SOLVED References: <46B976F2B698FF46A4FE7636509B22DF1B5C91@stekelbes.ithelps.local> Message-ID: <42B444A1.3090000@shaw.ca> Well if it is any consolation, Microsoft is firing the MDAC installs. MDAC Microsoft Data Access Components version 2.8 SP-1 is the last stand alone redistributable of MDAC that Microsoft will ship. The end of the MDAC Redistributable http://blogs.msdn.com/dataaccess/archive/2005/05/23/421039.aspx It might have been dependant on what user you were logged on as when you started the installs. Some program installs ask do you want accessible to all users or just logged on user, this maybe dependant on your groups policy. Erwin Craps - IT Helps wrote: >I Was able to locate and solve the problem with aid of the MDAC >component checker. > >I noticed that some ADO files where located at "Z:\program Files\Common >Files\system" instead of the normal C: drive. > >The NTFS file security for this system folder where not correctly set as >specified in the MS articles. >I always checked the C drive folder!!! > >That leaves me with the question why these MDAC are installed in the Z >drive. >My account data specifies drive Z: for the home directory, but again I >don't see the point why my common files are set to the Z drive. I >changed the registry entries from all Z: to C: and noticed the a >registry key commonfilesfolder (or something) was set to the z drive. I >changed that to to C: > >To conclude this problem I blmieve what happened is this. >1) I analised my server with MSBA that resulted in a MDAC that needed >updating. >2) I updated the MDAC but also windows updates an SQL SP4 to save time. >3) For some resaon MDAC update installed onto the Z drive instead of the >C >4) The Z: drive is a user folder where only administrators (group) and >the user (in this case the administrator (user) has access to. Due to >NTFS security limitations on the Z drive the IIS could not load MDAC >components using thr IUSR failing all data access from my website. > > >Probably lost 12 working hours and 3 days of website problems. > >Thank you whomever to thank (maybe myself with that home folder thing, >but this has worked for 2 years) > >Erwin > > > > >-----Oorspronkelijk bericht----- >Van: accessd-bounces at databaseadvisors.com >[mailto:accessd-bounces at databaseadvisors.com] Namens Erwin Craps - IT >Helps >Verzonden: vrijdag 17 juni 2005 21:16 >Aan: Access Developers discussion and problem solving >Onderwerp: RE: [AccessD] Urgent >helpneededwithIISserver.CreateObject("ADODB.Connection") > >Il give it a shot. >I noticed now that also FSO does not work anymore in ASP... > >Must be clearly one of this months windows updates that has caused this. > >Erwin > >-----Original Message----- >From: accessd-bounces at databaseadvisors.com >[mailto:accessd-bounces at databaseadvisors.com] On Behalf Of MartyConnelly >Sent: Friday, June 17, 2005 5:26 PM >To: Access Developers discussion and problem solving >Subject: Re: [AccessD] Urgent help >neededwithIISserver.CreateObject("ADODB.Connection") > >Have you tried filemon from sysinternals.com to trace the access >permission error > >Erwin Craps - IT Helps wrote: > > > >>Noop, Doesnt solve the problem. >>Already added those. >> >>Problem is persistent.. >> >> >>-----Oorspronkelijk bericht----- >>Van: accessd-bounces at databaseadvisors.com >>[mailto:accessd-bounces at databaseadvisors.com] Namens Jim Lawrence >>Verzonden: donderdag 16 juni 2005 17:07 >>Aan: 'Access Developers discussion and problem solving' >>Onderwerp: RE: [AccessD] Urgent help needed >>withIISserver.CreateObject("ADODB.Connection") >> >>Hi Erwin: >> >>Have you seen this article from MS? >>http://support.microsoft.com/kb/198432/EN-US/ >> >> >>Solution: >>You need to give the IUSR_ account permissions to launch >>and access your OOP COM object using dcomcnfg by doing the following: >>1. Launch DCOMCNFG by clicking the Start button, selecting Run, and >>typing "Dcomcnfg" in the Run dialog box. >>2. In the Default Security tab, click the "Edit Default" in the >>"Default Access Permissions" frame. The Registry Value Permissions >>dialog box appears. >>3. Add the IUSR_account and the INTERACTIVE account to >>the Registry Value Permissions dialog box, and click OK. >>4. In the Default Security tab, click the Edit Default in the Default >>Launch Permissions frame. The Registry Value Permissions dialog box >>appears. >>5. Add the IUSR_ account to the Registry Value >>Permissions dialog box0, and click OK. >> >> >>HTH >>Jim >> >>-----Original Message----- >>From: accessd-bounces at databaseadvisors.com >>[mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Erwin Craps >>- IT Helps >>Sent: Thursday, June 16, 2005 4:43 AM >>To: Access Developers discussion and problem solving >>Subject: [AccessD] Urgent help needed with >>IISserver.CreateObject("ADODB.Connection") >>Importance: High >> >> >>I'm getting desperate over here. >> >>Yesterday I installed this mont security fixes on my W2K server. >>I also took the opportunity to install SQL SP4. >> >>>From that reboot on, non of my database driven website no longer >>functions. >> >>For both "JET 4 MDB" and "SQL server" access I get an error on this >>command where it always used to work before the updates. >>failing command server.CreateObject("ADODB.Connection") >>Retunred error >>Server object error 'ASP 0178 : 80070005' >>Server.CreateObject Access Error >>The call to Server.CreateObject failed while checking permissions. >>Access is denied to this object. >> >> >> >> >>I checked al my NTFS permissons according to the MSKB, but I believe >>everything is ok. >> >>Anyway, it worked for years before this update. >> >> >> >>Is this a bug in the windows fiexes???? >> >> >> >> >> >> >> >>Erwin Craps >> >>Zaakvoerder >> >>www.ithelps.be/onsgezin >> >> >> >>This E-mail is confidential, may be legally privileged, and is for the >>intended recipient only. Access, disclosure, copying, distribution, or >>reliance on any of it by anyone else is prohibited and may be a >>criminal offence. Please delete if obtained in error and E-mail >>confirmation to the sender. >> >>IT Helps - I.T. Help Center *** Box Office Belgium & Luxembourg >> >>www.ithelps.be * www.boxoffice.be >> * www.stadleuven.be >> >> >>IT Helps bvba* ** Mercatorpad 3 ** 3000 Leuven >> >>IT Helps * Phone: +32 16 296 404 * Fax: +32 16 296 405 E-mail: >>Info at ithelps.be >> >>Box Office ** Fax: +32 16 296 406 ** Box Office E-mail: >>Staff at boxoffice.be >> >> >>-- >>AccessD mailing list >>AccessD at databaseadvisors.com >>http://databaseadvisors.com/mailman/listinfo/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 >-- >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 D.Dick at uws.edu.au Sun Jun 19 19:00:30 2005 From: D.Dick at uws.edu.au (Darren Dick) Date: Mon, 20 Jun 2005 10:00:30 +1000 Subject: [AccessD] Question about Animated Graphics Message-ID: <2FDE83AF1A69C84796CBD13788DDA8834518F8@BONHAM.AD.UWS.EDU.AU> Hi Arthur Drew had some code (In Access 97 I think) in his minicalendar that allowed for animated graphics. Not sure if it was for an AVI or an animated GIF If you have A97 download the minicalendar and have a look But it can be also done with timers I have also seen in some of Candace's demos the "Gears turning inside the head" animation It was a handful of stills made visible or not-visible using the timer. Looked cool But to get it to go fast caused screen flicker - and the screen flicker varied from Not visible at all on some pewtas To a real PITA in others But as for inserting a native animated GIF and getting it to do what you know an animated GIF can do Is traditionally very tricky in Access and does require some sort of smoke and mirrors See ya DD -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Arthur Fuller Sent: Saturday, June 18, 2005 12:47 PM To: 'Access Developers discussion and problem solving' Subject: RE: [AccessD] Question about Animated Graphics Bummer.... O well. -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Bobby Heid Sent: June 17, 2005 8:48 AM To: 'Access Developers discussion and problem solving' Subject: RE: [AccessD] Question about Animated Graphics Those are animated Gif files which are not supported in Access (well at least version 2000 and less). I think that there are some 3rd-party controls that will let you host an animated Gif. Bobby -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Arthur Fuller Sent: Thursday, June 16, 2005 10:31 PM To: 'Access Developers discussion and problem solving' Subject: [AccessD] Question about Animated Graphics I found some cool graphics appropriate to an app I'm building now, but so far I can't make them work correctly. For a peek at the graphics, see http://www.animation-central.com/gears.htm. The graphics there move. When I download one graphic and drop it on an Access form, it's static not animated. I want the animation! How do I achieve this? TIA, Arthur -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From Erwin.Craps at ithelps.be Mon Jun 20 12:19:43 2005 From: Erwin.Craps at ithelps.be (Erwin Craps - IT Helps) Date: Mon, 20 Jun 2005 19:19:43 +0200 Subject: [AccessD] OT - Visual Basic 6.0 - Is Form Open Message-ID: <46B976F2B698FF46A4FE7636509B22DF1B5CA3@stekelbes.ithelps.local> I recal it is much easier than in access. If formname.load = true then Erwin -----Oorspronkelijk bericht----- Van: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] Namens Paul Hartland (ISHARP) Verzonden: vrijdag 17 juni 2005 15:09 Aan: 'Access Developers discussion and problem solving' Onderwerp: RE: [AccessD] OT - Visual Basic 6.0 - Is Form Open Thanks, works a treat..... Hope I can help out sometime -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Griffiths, Richard Sent: 17 June 2005 13:56 To: Access Developers discussion and problem solving Subject: RE: [AccessD] OT - Visual Basic 6.0 - Is Form Open Maybe this Private Sub Form_Load() If IsLoaded("Form1") = True Then MsgBox "Yep, loaded" End If End Sub Private Function IsLoaded(ByVal FormName As String) As Boolean Dim f As Form 'check all open forms For Each f In Forms If f.Name = FormName Then 'yep, form is loaded IsLoaded = True 'no need to loop again... Exit For End If Next ' f End Function Richard -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of paul.hartland at fsmail.net Sent: 17 June 2005 12:43 To: accessd Subject: [AccessD] OT - Visual Basic 6.0 - Is Form Open To all, Does anyone know how to find out if a form is open in a Visual Basic 6.0 application ? Thanks in advance for any help on this. Paul Hartland Database Developer -- Whatever you Wanadoo: http://www.wanadoo.co.uk/time/ This email has been checked for most known viruses - find out more at: http://www.wanadoo.co.uk/help/id/7098.htm -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From carbonnb at gmail.com Tue Jun 21 12:28:01 2005 From: carbonnb at gmail.com (Bryan Carbonnell) Date: Tue, 21 Jun 2005 13:28:01 -0400 Subject: [AccessD] Just Checking.... Message-ID: Just checking to see if there is anyone out there or is AccessD down? It's just too quite. -- 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 RRANTHON at sentara.com Tue Jun 21 12:33:21 2005 From: RRANTHON at sentara.com (Randall R Anthony) Date: Tue, 21 Jun 2005 13:33:21 -0400 Subject: [AccessD] Just Checking.... Message-ID: <200506211733.j5LHXZR26514@databaseadvisors.com> I'm-a still a-lurking... Randy Anthony, MCP Software Engineer Sentara Health Plan/IT (757)687-6207 >>> carbonnb at gmail.com 6/21/2005 1:28:01 PM >>> Just checking to see if there is anyone out there or is AccessD down? It's just too quite. -- Bryan Carbonnell - carbonnb at gmail.com Life's journey is not to arrive at the grave safely in a well preserved body, but rather to skid in sideways, totally worn out, shouting "What a great ride!" -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From dwaters at usinternet.com Tue Jun 21 12:58:42 2005 From: dwaters at usinternet.com (Dan Waters) Date: Tue, 21 Jun 2005 10:58:42 -0700 Subject: [AccessD] Just Checking.... In-Reply-To: <2983521.1119375486655.JavaMail.root@sniper17> Message-ID: <000001c5768a$dfe0c020$0518820a@danwaters> Well - it was quiet until now. :-) Dan Waters -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Bryan Carbonnell Sent: Tuesday, June 21, 2005 10:28 AM To: Access Developers discussion and problem solving Subject: [AccessD] Just Checking.... Just checking to see if there is anyone out there or is AccessD down? It's just too quite. -- Bryan Carbonnell - carbonnb at gmail.com Life's journey is not to arrive at the grave safely in a well preserved body, but rather to skid in sideways, totally worn out, shouting "What a great ride!" -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From JHewson at karta.com Tue Jun 21 13:39:13 2005 From: JHewson at karta.com (Jim Hewson) Date: Tue, 21 Jun 2005 13:39:13 -0500 Subject: [AccessD] Just Checking.... Message-ID: <9C382E065F54AE48BC3AA7925DCBB01C036297C6@karta-exc-int.Karta.com> I was thinking the same thing... I haven't received anything for about 24 hours! -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Bryan Carbonnell Sent: Tuesday, June 21, 2005 12:28 PM To: Access Developers discussion and problem solving Subject: [AccessD] Just Checking.... Just checking to see if there is anyone out there or is AccessD down? It's just too quite. -- Bryan Carbonnell - carbonnb at gmail.com Life's journey is not to arrive at the grave safely in a well preserved body, but rather to skid in sideways, totally worn out, shouting "What a great ride!" -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From jim.moss at jlmoss.net Tue Jun 21 13:37:11 2005 From: jim.moss at jlmoss.net (Jim Moss) Date: Tue, 21 Jun 2005 13:37:11 -0500 (CDT) Subject: [AccessD] Just Checking.... In-Reply-To: References: Message-ID: <60446.65.196.182.34.1119379031.squirrel@65.196.182.34> Old Egyptian proverb: Just because the surface of the water is calm doesn't mean that there are no crcodiles > Just checking to see if there is anyone out there or is AccessD down? > > It's just too quite. > > -- > Bryan Carbonnell - carbonnb at gmail.com > Life's journey is not to arrive at the grave safely in a well > preserved body, but rather to skid in sideways, totally worn out, > shouting "What a great ride!" > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > From starkey at wanadoo.nl Tue Jun 21 13:59:52 2005 From: starkey at wanadoo.nl (StaRKeY) Date: Tue, 21 Jun 2005 20:59:52 +0200 Subject: [AccessD] OT - Visual Basic 6.0 - Is Form Open In-Reply-To: <46B976F2B698FF46A4FE7636509B22DF1B5CA3@stekelbes.ithelps.local> Message-ID: <20050621185543.593F545784@smtp6.wanadoo.nl> Hi all, Also have a look at the form's objectstate in Access, you can use this also instead of looping through each form, which could get lengthy. If I remember right though I am not sure as of which Access version this functionality exists. Eg. If SysCmd(acSysCmdGetObjectState, acForm, ) = OBJSTATE_OPEN Then MsgBox "Form is open" End If Regards, Eric Starkenburg -----Oorspronkelijk bericht----- Van: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] Namens Erwin Craps - IT Helps Verzonden: maandag 20 juni 2005 19:20 Aan: Access Developers discussion and problem solving Onderwerp: RE: [AccessD] OT - Visual Basic 6.0 - Is Form Open I recal it is much easier than in access. If formname.load = true then Erwin -----Oorspronkelijk bericht----- Van: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] Namens Paul Hartland (ISHARP) Verzonden: vrijdag 17 juni 2005 15:09 Aan: 'Access Developers discussion and problem solving' Onderwerp: RE: [AccessD] OT - Visual Basic 6.0 - Is Form Open Thanks, works a treat..... Hope I can help out sometime -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Griffiths, Richard Sent: 17 June 2005 13:56 To: Access Developers discussion and problem solving Subject: RE: [AccessD] OT - Visual Basic 6.0 - Is Form Open Maybe this Private Sub Form_Load() If IsLoaded("Form1") = True Then MsgBox "Yep, loaded" End If End Sub Private Function IsLoaded(ByVal FormName As String) As Boolean Dim f As Form 'check all open forms For Each f In Forms If f.Name = FormName Then 'yep, form is loaded IsLoaded = True 'no need to loop again... Exit For End If Next ' f End Function Richard -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of paul.hartland at fsmail.net Sent: 17 June 2005 12:43 To: accessd Subject: [AccessD] OT - Visual Basic 6.0 - Is Form Open To all, Does anyone know how to find out if a form is open in a Visual Basic 6.0 application ? Thanks in advance for any help on this. Paul Hartland Database Developer -- Whatever you Wanadoo: http://www.wanadoo.co.uk/time/ This email has been checked for most known viruses - find out more at: http://www.wanadoo.co.uk/help/id/7098.htm -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com _____ avast! Antivirus : Uitgaande bericht is niet besmet. Virus Gegevensbestand (VPS): 0525-1, 21-06-2005 Getest op: 21-6-2005 20:59:51 avast! auteursrecht (c) 1988-2005 ALWIL Software. From Jim.Hale at FleetPride.com Tue Jun 21 14:04:14 2005 From: Jim.Hale at FleetPride.com (Hale, Jim) Date: Tue, 21 Jun 2005 14:04:14 -0500 Subject: [AccessD] Eval function Message-ID: <6A6AA9DF57E4F046BDA1E273BDDB6772337685@corp-es01.fleetpride.com> Okay, since it is quiet maybe we can start a discussion about the Eval() function. The article I just finished reading says "The Eval function lets you deliver applications that can create themselves dynamicaly at runtime. You can build your app code at runtime, pass it to the Eval statement, and have your dynamically generated line of code processed." Sounds interesting.Anybody use it? 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 dmcafee at pacbell.net Tue Jun 21 14:11:27 2005 From: dmcafee at pacbell.net (dmcafee at pacbell.net) Date: Tue, 21 Jun 2005 12:11:27 -0700 Subject: [AccessD] Just Checking.... In-Reply-To: <9C382E065F54AE48BC3AA7925DCBB01C036297C6@karta-exc-int.Karta.com> Message-ID: JC & Drew must have gone on vacation or called a truce ;) :P -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Jim Hewson Sent: Tuesday, June 21, 2005 11:39 AM To: Access Developers discussion and problem solving Subject: RE: [AccessD] Just Checking.... I was thinking the same thing... I haven't received anything for about 24 hours! -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Bryan Carbonnell Sent: Tuesday, June 21, 2005 12:28 PM To: Access Developers discussion and problem solving Subject: [AccessD] Just Checking.... Just checking to see if there is anyone out there or is AccessD down? It's just too quite. -- Bryan Carbonnell - carbonnb at gmail.com Life's journey is not to arrive at the grave safely in a well preserved body, but rather to skid in sideways, totally worn out, shouting "What a great ride!" -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From mmattys at rochester.rr.com Tue Jun 21 15:03:32 2005 From: mmattys at rochester.rr.com (Michael R Mattys) Date: Tue, 21 Jun 2005 16:03:32 -0400 Subject: [AccessD] Eval function References: <6A6AA9DF57E4F046BDA1E273BDDB6772337685@corp-es01.fleetpride.com> Message-ID: <016a01c5769c$4e59c950$0202a8c0@default> ----- Original Message ----- From: "Hale, Jim" To: "'Accessd (E-mail)" Sent: Tuesday, June 21, 2005 3:04 PM Subject: [AccessD] Eval function > Okay, since it is quiet maybe we can start a discussion about the Eval() > function. The article I just finished reading says "The Eval function lets > you deliver applications that can create themselves dynamicaly at runtime. > You can build your app code at runtime, pass it to the Eval statement, and > have your dynamically generated line of code processed." Sounds > interesting.Anybody use it? > Jim Hale Jim, What else does this article say? Why do I need the eval function if I've already written the code to create a form, controls, CBF etc? ---- Michael R. Mattys Mattys MapLib for Microsoft MapPoint http://www.mattysconsulting.com From scapistrant at symphonyinfo.com Tue Jun 21 15:49:19 2005 From: scapistrant at symphonyinfo.com (Steve Capistrant) Date: Tue, 21 Jun 2005 15:49:19 -0500 Subject: [AccessD] Eval function Message-ID: <855499653F55AD4190B242717DF132BC082CA8@dewey.Symphony.local> The EVAL function is indispensable for calling function procedures whose names are stored on tables. For example, in our applications, we maintain a central table named "Output", which is a list of all reports, export function, etc., making it very easy to present a list of outputs on a searchable screen, or to use them dynamically in menu structures. Every output requires that you first open a certain "launchpad" form to enter parameters (date range, font size, sort order, etc). We have a function written that opens this launchpad. The outputs table stores the function name -- e.g. "SetupLabels()" -- in a field named "TargetProcedure". Once the user chooses that output, your code needs to grab that function name and run it. That's where the EVAL() function comes in. Use code like this: ------- Public Function RunOutput(lngOutputID As Long) As Boolean Dim strProc As String strX = "Select * from Output WHERE OutputID = " & lngOutputID Set rs = db.OpenRecordset(strX, dbOpenDynaset, dbSeeChanges) strProc = rs!TargetProcedure Eval (strProc) --------- The only odd thing is that the function name as stored in the table MUST include parentheses, even if there are no parameters specified. Steve Capistrant scapistrant at symphonyinfo.com Symphony Information Services 7308 Aspen Lane North, Suite 132 Brooklyn Park, MN 55428 763-391-7400 www.symphonyinfo.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Michael R Mattys Sent: Tuesday, June 21, 2005 3:31 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Eval function ----- Original Message ----- From: "Hale, Jim" To: "'Accessd (E-mail)" Sent: Tuesday, June 21, 2005 3:04 PM Subject: [AccessD] Eval function > Okay, since it is quiet maybe we can start a discussion about the Eval() > function. The article I just finished reading says "The Eval function lets > you deliver applications that can create themselves dynamicaly at runtime. > You can build your app code at runtime, pass it to the Eval statement, and > have your dynamically generated line of code processed." Sounds > interesting.Anybody use it? > Jim Hale Jim, What else does this article say? Why do I need the eval function if I've already written the code to create a form, controls, CBF etc? ---- Michael R. Mattys Mattys MapLib for Microsoft MapPoint http://www.mattysconsulting.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From stephen at bondsoftware.co.nz Tue Jun 21 15:56:56 2005 From: stephen at bondsoftware.co.nz (Stephen Bond) Date: Wed, 22 Jun 2005 08:56:56 +1200 Subject: [AccessD] Eval function Message-ID: <70F3D727890C784291D8433E9C418F29088B08@server.bondsoftware.co.nz> Back in the early releases of Access you could use the @ character to pretty up the default MsgBox display. The @ character divided the display into 3 separate entities, the first bold, the second two not, each delimited by a blank line. So, MsgBox "File missing at The file FredDagg is missing at Please correct and re-try" would give you a nicely laid out msgbox. Somewhere in the last couple of releases, Access changed where MsgBox was processed. Somebody else will have to fill in the precise details here but the end result was that the @ characters were not recognised any more. So, this was the workaround: eval("Msgbox(""" & prompt & """, " & Buttons & ", """ & Title & """)") Apparently the Eval takes the String passed to it, evaluates it, and then processes it as a line of code. And it does give the nicely laid out msgbox. My 2cents Stephen Bond > -----Original Message----- > From: Michael R Mattys [mailto:mmattys at rochester.rr.com] > Sent: Wednesday, 22 June 2005 8:04 a.m. > To: Access Developers discussion and problem solving > Subject: Re: [AccessD] Eval function > > > ----- Original Message ----- > From: "Hale, Jim" > To: "'Accessd (E-mail)" > Sent: Tuesday, June 21, 2005 3:04 PM > Subject: [AccessD] Eval function > > > > Okay, since it is quiet maybe we can start a discussion > about the Eval() > > function. The article I just finished reading says "The > Eval function > lets > > you deliver applications that can create themselves > dynamicaly at runtime. > > You can build your app code at runtime, pass it to the Eval > statement, and > > have your dynamically generated line of code processed." Sounds > > interesting.Anybody use it? > > Jim Hale > > > Jim, > > What else does this article say? > Why do I need the eval function if I've already > written the code to create a form, controls, CBF etc? > > ---- > > Michael R. Mattys > Mattys MapLib for Microsoft MapPoint > http://www.mattysconsulting.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 Jun 21 16:21:50 2005 From: Jim.Hale at FleetPride.com (Hale, Jim) Date: Tue, 21 Jun 2005 16:21:50 -0500 Subject: [AccessD] Eval function Message-ID: <6A6AA9DF57E4F046BDA1E273BDDB677233768D@corp-es01.fleetpride.com> Interesting. Does it work in mdes? I ask because the article says "for a function like Eval to work its magic, your application execution environment must have access to the language's interpreter. Because Access is distributed with the VBA interpreter we get to use the Eval function." But since mdes are already compiled how can it work? Jim -----Original Message----- From: Steve Capistrant [mailto:scapistrant at symphonyinfo.com] Sent: Tuesday, June 21, 2005 3:49 PM To: Access Developers discussion and problem solving Subject: RE: [AccessD] Eval function The EVAL function is indispensable for calling function procedures whose names are stored on tables. For example, in our applications, we maintain a central table named "Output", which is a list of all reports, export function, etc., making it very easy to present a list of outputs on a searchable screen, or to use them dynamically in menu structures. Every output requires that you first open a certain "launchpad" form to enter parameters (date range, font size, sort order, etc). We have a function written that opens this launchpad. The outputs table stores the function name -- e.g. "SetupLabels()" -- in a field named "TargetProcedure". Once the user chooses that output, your code needs to grab that function name and run it. That's where the EVAL() function comes in. Use code like this: ------- Public Function RunOutput(lngOutputID As Long) As Boolean Dim strProc As String strX = "Select * from Output WHERE OutputID = " & lngOutputID Set rs = db.OpenRecordset(strX, dbOpenDynaset, dbSeeChanges) strProc = rs!TargetProcedure Eval (strProc) --------- The only odd thing is that the function name as stored in the table MUST include parentheses, even if there are no parameters specified. Steve Capistrant scapistrant at symphonyinfo.com Symphony Information Services 7308 Aspen Lane North, Suite 132 Brooklyn Park, MN 55428 763-391-7400 www.symphonyinfo.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Michael R Mattys Sent: Tuesday, June 21, 2005 3:31 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Eval function ----- Original Message ----- From: "Hale, Jim" To: "'Accessd (E-mail)" Sent: Tuesday, June 21, 2005 3:04 PM Subject: [AccessD] Eval function > Okay, since it is quiet maybe we can start a discussion about the Eval() > function. The article I just finished reading says "The Eval function lets > you deliver applications that can create themselves dynamicaly at runtime. > You can build your app code at runtime, pass it to the Eval statement, and > have your dynamically generated line of code processed." Sounds > interesting.Anybody use it? > Jim Hale Jim, What else does this article say? Why do I need the eval function if I've already written the code to create a form, controls, CBF etc? ---- Michael R. Mattys Mattys MapLib for Microsoft MapPoint http://www.mattysconsulting.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com *********************************************************************** 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 Tue Jun 21 16:28:44 2005 From: Jim.Hale at FleetPride.com (Hale, Jim) Date: Tue, 21 Jun 2005 16:28:44 -0500 Subject: [AccessD] Eval function Message-ID: <6A6AA9DF57E4F046BDA1E273BDDB677233768E@corp-es01.fleetpride.com> the article says code like this: Select Case (me.txtProcessingtype) Case "Update" Call UpdateRoutine Case "Delete" Call DeleteRoutine Case "Add" Call AddRoutine End Select can be written Eval me.txtProcessingtype & "Routine" Jim Hale -----Original Message----- From: Michael R Mattys [mailto:mmattys at rochester.rr.com] Sent: Tuesday, June 21, 2005 3:04 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Eval function ----- Original Message ----- From: "Hale, Jim" To: "'Accessd (E-mail)" Sent: Tuesday, June 21, 2005 3:04 PM Subject: [AccessD] Eval function > Okay, since it is quiet maybe we can start a discussion about the Eval() > function. The article I just finished reading says "The Eval function lets > you deliver applications that can create themselves dynamicaly at runtime. > You can build your app code at runtime, pass it to the Eval statement, and > have your dynamically generated line of code processed." Sounds > interesting.Anybody use it? > Jim Hale Jim, What else does this article say? Why do I need the eval function if I've already written the code to create a form, controls, CBF etc? ---- Michael R. Mattys Mattys MapLib for Microsoft MapPoint http://www.mattysconsulting.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 cfoust at infostatsystems.com Tue Jun 21 16:44:37 2005 From: cfoust at infostatsystems.com (Charlotte Foust) Date: Tue, 21 Jun 2005 14:44:37 -0700 Subject: [AccessD] FileMaker Pro Message-ID: Since it's so slow today, if anyone is into pain, there is a 30-day free trial (warning! HUGE download) of FileMaker Pro 7 available from the FileMaker website. Of all the versions so far, this comes the closest to being relational in that you can create "relationships" between mutliple tables rather than just linking two tables at a time and they have switched from the file per table format that they used to use. However, You can ONLY create relationships and indexes. You can't create a primary or unique key but you can cascade updates and deletes through any relationship! They are touting a huge maximum size of terabytes, but that includes the equivalent of memo fields and ole objects. There is no provision for a split FE-BE, but they allow you to run it on the web. Charlotte Foust Infostat Systems, Inc. From scapistrant at symphonyinfo.com Tue Jun 21 16:45:10 2005 From: scapistrant at symphonyinfo.com (Steve Capistrant) Date: Tue, 21 Jun 2005 16:45:10 -0500 Subject: [AccessD] Eval function Message-ID: <855499653F55AD4190B242717DF132BC082CAB@dewey.Symphony.local> Yep. Works without a hitch in MDEs. Steve Capistrant scapistrant at symphonyinfo.com Symphony Information Services 7308 Aspen Lane North, Suite 132 Brooklyn Park, MN 55428 763-391-7400 www.symphonyinfo.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Hale, Jim Sent: Tuesday, June 21, 2005 4:31 PM To: 'Access Developers discussion and problem solving' Subject: RE: [AccessD] Eval function Interesting. Does it work in mdes? I ask because the article says "for a function like Eval to work its magic, your application execution environment must have access to the language's interpreter. Because Access is distributed with the VBA interpreter we get to use the Eval function." But since mdes are already compiled how can it work? Jim -----Original Message----- From: Steve Capistrant [mailto:scapistrant at symphonyinfo.com] Sent: Tuesday, June 21, 2005 3:49 PM To: Access Developers discussion and problem solving Subject: RE: [AccessD] Eval function The EVAL function is indispensable for calling function procedures whose names are stored on tables. For example, in our applications, we maintain a central table named "Output", which is a list of all reports, export function, etc., making it very easy to present a list of outputs on a searchable screen, or to use them dynamically in menu structures. Every output requires that you first open a certain "launchpad" form to enter parameters (date range, font size, sort order, etc). We have a function written that opens this launchpad. The outputs table stores the function name -- e.g. "SetupLabels()" -- in a field named "TargetProcedure". Once the user chooses that output, your code needs to grab that function name and run it. That's where the EVAL() function comes in. Use code like this: ------- Public Function RunOutput(lngOutputID As Long) As Boolean Dim strProc As String strX = "Select * from Output WHERE OutputID = " & lngOutputID Set rs = db.OpenRecordset(strX, dbOpenDynaset, dbSeeChanges) strProc = rs!TargetProcedure Eval (strProc) --------- The only odd thing is that the function name as stored in the table MUST include parentheses, even if there are no parameters specified. Steve Capistrant scapistrant at symphonyinfo.com Symphony Information Services 7308 Aspen Lane North, Suite 132 Brooklyn Park, MN 55428 763-391-7400 www.symphonyinfo.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Michael R Mattys Sent: Tuesday, June 21, 2005 3:31 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Eval function ----- Original Message ----- From: "Hale, Jim" To: "'Accessd (E-mail)" Sent: Tuesday, June 21, 2005 3:04 PM Subject: [AccessD] Eval function > Okay, since it is quiet maybe we can start a discussion about the Eval() > function. The article I just finished reading says "The Eval function lets > you deliver applications that can create themselves dynamicaly at runtime. > You can build your app code at runtime, pass it to the Eval statement, and > have your dynamically generated line of code processed." Sounds > interesting.Anybody use it? > Jim Hale Jim, What else does this article say? Why do I need the eval function if I've already written the code to create a form, controls, CBF etc? ---- Michael R. Mattys Mattys MapLib for Microsoft MapPoint http://www.mattysconsulting.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com *********************************************************************** 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 Tue Jun 21 16:45:52 2005 From: DWUTKA at marlow.com (DWUTKA at marlow.com) Date: Tue, 21 Jun 2005 16:45:52 -0500 Subject: [AccessD] Just Checking.... Message-ID: <123701F54509D9119A4F00D0B747349016D74B@main2.marlow.com> Nope, just busy...and there hasn't been anything good to argue about.......we normally just feed off what gets posted. It's not our fault the other listers aren't posting juicy stuff to dig into! Drew -----Original Message----- From: dmcafee at pacbell.net [mailto:dmcafee at pacbell.net] Sent: Tuesday, June 21, 2005 2:11 PM To: Access Developers discussion and problem solving Subject: RE: [AccessD] Just Checking.... JC & Drew must have gone on vacation or called a truce ;) :P -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Jim Hewson Sent: Tuesday, June 21, 2005 11:39 AM To: Access Developers discussion and problem solving Subject: RE: [AccessD] Just Checking.... I was thinking the same thing... I haven't received anything for about 24 hours! -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Bryan Carbonnell Sent: Tuesday, June 21, 2005 12:28 PM To: Access Developers discussion and problem solving Subject: [AccessD] Just Checking.... Just checking to see if there is anyone out there or is AccessD down? It's just too quite. -- Bryan Carbonnell - carbonnb at gmail.com Life's journey is not to arrive at the grave safely in a well preserved body, but rather to skid in sideways, totally worn out, shouting "What a great ride!" -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd 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 Jun 21 18:07:58 2005 From: jwcolby at colbyconsulting.com (John W. Colby) Date: Tue, 21 Jun 2005 19:07:58 -0400 Subject: [AccessD] Just Checking.... In-Reply-To: <123701F54509D9119A4F00D0B747349016D74B@main2.marlow.com> Message-ID: <002e01c576b6$10ba7df0$6c7aa8c0@ColbyM6805> Precisely so let's start one. Anyone who doesn't use a 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, June 21, 2005 5:46 PM To: accessd at databaseadvisors.com Subject: RE: [AccessD] Just Checking.... Nope, just busy...and there hasn't been anything good to argue about.......we normally just feed off what gets posted. It's not our fault the other listers aren't posting juicy stuff to dig into! Drew -----Original Message----- From: dmcafee at pacbell.net [mailto:dmcafee at pacbell.net] Sent: Tuesday, June 21, 2005 2:11 PM To: Access Developers discussion and problem solving Subject: RE: [AccessD] Just Checking.... JC & Drew must have gone on vacation or called a truce ;) :P -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Jim Hewson Sent: Tuesday, June 21, 2005 11:39 AM To: Access Developers discussion and problem solving Subject: RE: [AccessD] Just Checking.... I was thinking the same thing... I haven't received anything for about 24 hours! -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Bryan Carbonnell Sent: Tuesday, June 21, 2005 12:28 PM To: Access Developers discussion and problem solving Subject: [AccessD] Just Checking.... Just checking to see if there is anyone out there or is AccessD down? It's just too quite. -- Bryan Carbonnell - carbonnb at gmail.com Life's journey is not to arrive at the grave safely in a well preserved body, but rather to skid in sideways, totally worn out, shouting "What a great ride!" -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd 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 Jun 21 19:15:19 2005 From: jmhecht at earthlink.net (Joe Hecht) Date: Tue, 21 Jun 2005 17:15:19 -0700 Subject: [AccessD] Just Checking.... In-Reply-To: <002e01c576b6$10ba7df0$6c7aa8c0@ColbyM6805> Message-ID: <002601c576bf$7a219720$6401a8c0@laptop1> John is right. ( Just trying to be helpful) 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, June 21, 2005 4:08 PM To: access at joe2.endjunk.com; 'Access Developers discussion and problem solving' Subject: RE: [AccessD] Just Checking.... Precisely so let's start one. Anyone who doesn't use a 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, June 21, 2005 5:46 PM To: accessd at databaseadvisors.com Subject: RE: [AccessD] Just Checking.... Nope, just busy...and there hasn't been anything good to argue about.......we normally just feed off what gets posted. It's not our fault the other listers aren't posting juicy stuff to dig into! Drew -----Original Message----- From: dmcafee at pacbell.net [mailto:dmcafee at pacbell.net] Sent: Tuesday, June 21, 2005 2:11 PM To: Access Developers discussion and problem solving Subject: RE: [AccessD] Just Checking.... JC & Drew must have gone on vacation or called a truce ;) :P -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Jim Hewson Sent: Tuesday, June 21, 2005 11:39 AM To: Access Developers discussion and problem solving Subject: RE: [AccessD] Just Checking.... I was thinking the same thing... I haven't received anything for about 24 hours! -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Bryan Carbonnell Sent: Tuesday, June 21, 2005 12:28 PM To: Access Developers discussion and problem solving Subject: [AccessD] Just Checking.... Just checking to see if there is anyone out there or is AccessD down? It's just too quite. -- Bryan Carbonnell - carbonnb at gmail.com Life's journey is not to arrive at the grave safely in a well preserved body, but rather to skid in sideways, totally worn out, shouting "What a great ride!" -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From nd500_lo at charter.net Tue Jun 21 19:37:10 2005 From: nd500_lo at charter.net (Dian) Date: Tue, 21 Jun 2005 17:37:10 -0700 Subject: [AccessD] Just Checking.... In-Reply-To: <002601c576bf$7a219720$6401a8c0@laptop1> Message-ID: <4532ph$vqgrh4@mxip05a.cluster1.charter.net> Agreed... -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Joe Hecht Sent: Tuesday, June 21, 2005 5:15 PM To: 'Access Developers discussion and problem solving' Subject: RE: [AccessD] Just Checking.... John is right. ( Just trying to be helpful) 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, June 21, 2005 4:08 PM To: access at joe2.endjunk.com; 'Access Developers discussion and problem solving' Subject: RE: [AccessD] Just Checking.... Precisely so let's start one. Anyone who doesn't use a 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, June 21, 2005 5:46 PM To: accessd at databaseadvisors.com Subject: RE: [AccessD] Just Checking.... Nope, just busy...and there hasn't been anything good to argue about.......we normally just feed off what gets posted. It's not our fault the other listers aren't posting juicy stuff to dig into! Drew -----Original Message----- From: dmcafee at pacbell.net [mailto:dmcafee at pacbell.net] Sent: Tuesday, June 21, 2005 2:11 PM To: Access Developers discussion and problem solving Subject: RE: [AccessD] Just Checking.... JC & Drew must have gone on vacation or called a truce ;) :P -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Jim Hewson Sent: Tuesday, June 21, 2005 11:39 AM To: Access Developers discussion and problem solving Subject: RE: [AccessD] Just Checking.... I was thinking the same thing... I haven't received anything for about 24 hours! -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Bryan Carbonnell Sent: Tuesday, June 21, 2005 12:28 PM To: Access Developers discussion and problem solving Subject: [AccessD] Just Checking.... Just checking to see if there is anyone out there or is AccessD down? It's just too quite. -- Bryan Carbonnell - carbonnb at gmail.com Life's journey is not to arrive at the grave safely in a well preserved body, but rather to skid in sideways, totally worn out, shouting "What a great ride!" -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From newsgrps at dalyn.co.nz Tue Jun 21 20:24:57 2005 From: newsgrps at dalyn.co.nz (David Emerson) Date: Wed, 22 Jun 2005 13:24:57 +1200 Subject: [AccessD] Linking Graph to Report Message-ID: <6.2.1.2.0.20050622131317.031142c0@mail.dalyn.co.nz> Access XP adp, SQL2000. I have a report with a graph on it. The graph is to show the number of days it took to process client information. Each month should have its own graph on a separate page. The reports source is a stored procedure which provides the months as an integer in the form yyyymm. SELECT ttmpPlanTrackGraph.ConsultPlanFranchise, ttmpPlanTrackGraph.YrMth FROM ttmpPlanTrackGraph GROUP BY ttmpPlanTrackGraph.ConsultPlanFranchise, ttmpPlanTrackGraph.YrMth The graphs source is also a stored procedure which includes a field with the month in the same format. SELECT ttmpPlanTrackGraph.ClientName, ttmpPlanTrackGraph.FranDays AS [Work Days in Fran], ttmpPlanTrackGraph.BurDays AS [Work Days in Bureau], ttmpPlanTrackGraph.ConsultPlanFranchise, ttmpPlanTrackGraph.YrMth FROM ttmpPlanTrackGraph I have set the Link Child Field and Link Master fields both to YrMth. The report shows a different page for each month, however each graph shows all records, not just the one for the pages month. How do I get only the relevant month's data showing on each page? Regards David Emerson Dalyn Software Ltd 25 Cunliffe St, Churton Park Wellington, New Zealand Ph/Fax (04) 478-7456 Mobile 027-280-9348 From Bruce.Bruen at railcorp.nsw.gov.au Tue Jun 21 21:44:57 2005 From: Bruce.Bruen at railcorp.nsw.gov.au (Bruen, Bruce) Date: Wed, 22 Jun 2005 12:44:57 +1000 Subject: [AccessD] A2K: How to change subform view Message-ID: Sorry about the delayed thanks guys but Thanks. It's a weird concept tho! bruce -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Michael R Mattys Sent: Friday, 10 June 2005 9:24 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] A2K: How to change subform view Hi Bruce, It was not a mistake. That's how it works. ---- Michael R. Mattys Mattys MapLib for Microsoft MapPoint http://www.mattysconsulting.com ----- Original Message ----- From: "Bruen, Bruce" To: "Access Developers discussion and problem solving" Sent: Friday, June 10, 2005 1:54 AM Subject: RE: [AccessD] A2K: How to change subform view > Michael, > > Both your Docmds are the same????? > > > bruce > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Michael R > Mattys > Sent: Friday, 10 June 2005 12:38 PM > To: Access Developers discussion and problem solving > Subject: Re: [AccessD] A2K: How to change subform view > > ----- Original Message ----- > From: "Bruen, Bruce" > To: > Sent: Thursday, June 09, 2005 10:25 PM > Subject: [AccessD] A2K: How to change subform view > > > Hi guys again, > > Memory has failed me. In Access 2000, what is the code trick to > change the subform view from datasheet to normal? > The following 2003 code does not work. > > Private Sub Test_DblClick(Cancel As Integer) > DoCmd.RunCommand acCmdSubformFormView End Sub > --------- > > bruce > > 'Form to Datasheet (It's a subform) > If Me.Customers.Form.CurrentView = 1 Then > Me.Customers.SetFocus > DoCmd.RunCommand acCmdSubformDatasheet > End If > > 'Datasheet to Form > If Me.Customers.Form.CurrentView = 2 Then > Me.Customers.SetFocus > DoCmd.RunCommand acCmdSubformDatasheet > End If > > ---- > > Michael R. Mattys > Mattys MapLib for Microsoft MapPoint > http://www.mattysconsulting.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. > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/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 andy at minstersystems.co.uk Wed Jun 22 01:34:00 2005 From: andy at minstersystems.co.uk (Andy Lacey) Date: Wed, 22 Jun 2005 07:34:00 +0100 Subject: [AccessD] Eval function In-Reply-To: <855499653F55AD4190B242717DF132BC082CAB@dewey.Symphony.local> Message-ID: <000001c576f4$60a34de0$11410c54@minster33c3r25> Yes I use it for a table-driven menu system. -- Andy Lacey http://www.minstersystems.co.uk > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of > Steve Capistrant > Sent: 21 June 2005 22:45 > To: Access Developers discussion and problem solving > Subject: RE: [AccessD] Eval function > > > Yep. Works without a hitch in MDEs. > > Steve Capistrant > scapistrant at symphonyinfo.com > Symphony Information Services > 7308 Aspen Lane North, Suite 132 > Brooklyn Park, MN 55428 > 763-391-7400 > www.symphonyinfo.com > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Hale, Jim > Sent: Tuesday, June 21, 2005 4:31 PM > To: 'Access Developers discussion and problem solving' > Subject: RE: [AccessD] Eval function > > Interesting. Does it work in mdes? I ask because the article > says "for a function like Eval to work its magic, your > application execution environment must have access to the > language's interpreter. Because Access is distributed with > the VBA interpreter we get to use the Eval function." But > since mdes are already compiled how can it work? Jim > > -----Original Message----- > From: Steve Capistrant [mailto:scapistrant at symphonyinfo.com] > Sent: Tuesday, June 21, 2005 3:49 PM > To: Access Developers discussion and problem solving > Subject: RE: [AccessD] Eval function > > > The EVAL function is indispensable for calling function > procedures whose names are stored on tables. For example, in > our applications, we maintain a central table named "Output", > which is a list of all reports, export function, etc., making > it very easy to present a list of outputs on a searchable > screen, or to use them dynamically in menu structures. > > Every output requires that you first open a certain > "launchpad" form to enter parameters (date range, font size, > sort order, etc). We have a function written that opens this > launchpad. The outputs table stores the function name -- > e.g. "SetupLabels()" -- in a field named "TargetProcedure". > Once the user chooses that output, your code needs to grab > that function name and run it. That's where the EVAL() > function comes in. Use code like this: > > ------- > Public Function RunOutput(lngOutputID As Long) As Boolean > Dim strProc As String > strX = "Select * from Output WHERE OutputID = " & lngOutputID > Set rs = db.OpenRecordset(strX, dbOpenDynaset, dbSeeChanges) > strProc = rs!TargetProcedure Eval (strProc) > --------- > > The only odd thing is that the function name as stored in the > table MUST include parentheses, even if there are no > parameters specified. > > Steve Capistrant > scapistrant at symphonyinfo.com > Symphony Information Services > 7308 Aspen Lane North, Suite 132 > Brooklyn Park, MN 55428 > 763-391-7400 > www.symphonyinfo.com > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of > Michael R Mattys > Sent: Tuesday, June 21, 2005 3:31 PM > To: Access Developers discussion and problem solving > Subject: Re: [AccessD] Eval function > > ----- Original Message ----- > From: "Hale, Jim" > To: "'Accessd (E-mail)" > Sent: Tuesday, June 21, 2005 3:04 PM > Subject: [AccessD] Eval function > > > > Okay, since it is quiet maybe we can start a discussion about the > Eval() > > function. The article I just finished reading says "The > Eval function > lets > > you deliver applications that can create themselves dynamicaly at > runtime. > > You can build your app code at runtime, pass it to the Eval > statement, > and > > have your dynamically generated line of code processed." Sounds > > interesting.Anybody use it? Jim Hale > > > Jim, > > What else does this article say? > Why do I need the eval function if I've already > written the code to create a form, controls, CBF etc? > > ---- > > Michael R. Mattys > Mattys MapLib for Microsoft MapPoint > http://www.mattysconsulting.com > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > > > > > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > > ************************************************************** > ********* > 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 Jdemarco at hudsonhealthplan.org Wed Jun 22 08:03:44 2005 From: Jdemarco at hudsonhealthplan.org (Jim DeMarco) Date: Wed, 22 Jun 2005 09:03:44 -0400 Subject: [AccessD] OT: Sharepoint Security Message-ID: <08F823FD83787D4BA0B99CA580AD3C74016C3A55@TTNEXCHCL2.hshhp.com> List, I've done some Googling but I can't seem to find the answer to this odd problem. I set up a Sharepoint site as a test bed (Sharepoint Services not Server) and gave a few users access. No matter what rights I give the users they have full admin rights to the sight. I set up custom security groups and the site is completely ignoring them. To further add to the mystery I removed on user (she is not a member of any security group therefore should not have access to the site) and she can still get in with full admin rights. Is it possible that Sharepoint is deferring to Windows rights? These are all IT staff here and have more liberal rights to our network than the average user. Does anyone have a clue? A push in the right direction would be appreciated. TIA Jim DeMarco Director of Application Development Hudson Health Plan *********************************************************************************** "This electronic message is intended to be for the use only of the named recipient, and may contain information from Hudson Health Plan (HHP) that is confidential or privileged. If you are not the intended recipient, you are hereby notified that any disclosure, copying, distribution or use of the contents of this message is strictly prohibited. If you have received this message in error or are not the named recipient, please notify us immediately, either by contacting the sender at the electronic mail address noted above or calling HHP at (914) 631-1611. If you are not the intended recipient, please do not forward this email to anyone, and delete and destroy all copies of this message. Thank You". *********************************************************************************** From Chester_Kaup at kindermorgan.com Wed Jun 22 09:05:15 2005 From: Chester_Kaup at kindermorgan.com (Kaup, Chester) Date: Wed, 22 Jun 2005 09:05:15 -0500 Subject: [AccessD] Comparing tables question Message-ID: I have two tables both of which have the fields Pattern and Well. The field pattern will appear several times with a different corresponding well. I need to compare each unique pattern well combination in table1 to see if the same unique combination exists in table2 and output a list of the ones that have no match. I am at a loss of how to do this. Thanks for ideas. Chester Kaup Engineering Technician Kinder Morgan CO2 Company, LLP Office (432) 688-3797 FAX (432) 688-3799 From JHewson at karta.com Wed Jun 22 09:08:09 2005 From: JHewson at karta.com (Jim Hewson) Date: Wed, 22 Jun 2005 09:08:09 -0500 Subject: [AccessD] OT: Sharepoint Security Message-ID: <9C382E065F54AE48BC3AA7925DCBB01C0362982C@karta-exc-int.Karta.com> Jim, I'm a novice, but will become the SharePoint "Expert" when I change jobs, in my company, next month. I'm interested in the outcome of your question. A couple of random thoughts... There are two levels of security for SharePoint. They are Central Administration and Site Administration rights. Central take precedence over site rights. If a person is a member of the Central Administration group which manages the settings for the Web Server and virtual servers, they effectively have Administrative rights to the entire portal. In Site Administration, IIRC, there is a toggle somewhere to designate a person to have the same rights as the parent area or site. Let me know if you have found the solution. Regards, Jim H. -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Jim DeMarco Sent: Wednesday, June 22, 2005 8:04 AM To: AccessD (E-mail) Subject: [AccessD] OT: Sharepoint Security List, I've done some Googling but I can't seem to find the answer to this odd problem. I set up a Sharepoint site as a test bed (Sharepoint Services not Server) and gave a few users access. No matter what rights I give the users they have full admin rights to the sight. I set up custom security groups and the site is completely ignoring them. To further add to the mystery I removed on user (she is not a member of any security group therefore should not have access to the site) and she can still get in with full admin rights. Is it possible that Sharepoint is deferring to Windows rights? These are all IT staff here and have more liberal rights to our network than the average user. Does anyone have a clue? A push in the right direction would be appreciated. TIA Jim DeMarco Director of Application Development Hudson Health Plan ************************************************************************ *********** "This electronic message is intended to be for the use only of the named recipient, and may contain information from Hudson Health Plan (HHP) that is confidential or privileged. If you are not the intended recipient, you are hereby notified that any disclosure, copying, distribution or use of the contents of this message is strictly prohibited. If you have received this message in error or are not the named recipient, please notify us immediately, either by contacting the sender at the electronic mail address noted above or calling HHP at (914) 631-1611. If you are not the intended recipient, please do not forward this email to anyone, and delete and destroy all copies of this message. Thank You". ************************************************************************ *********** -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From bchacc at san.rr.com Wed Jun 22 09:26:12 2005 From: bchacc at san.rr.com (Rocky Smolin - Beach Access Software) Date: Wed, 22 Jun 2005 07:26:12 -0700 Subject: [AccessD] Open File Dialog Box Call Fails Message-ID: <00b401c57736$57c70fd0$6c01a8c0@HAL9004> Dear List: I have a client who's selling an app I wrote where I use the code from the ADH to call the file open dialog box: Declare Function adh_apiGetOpenFileName Lib "comdlg32.dll" _ Alias "GetOpenFileNameA" (ofn As tagOPENFILENAME) As Boolean I haven't worked on the app for several months and it's been very stable until a couple of weeks ago when this call began to fail with no error message. Just didn't open the dialog box. Then it failed on another computer. Then on another one. Now no computer in his place runs this api. I went over to his place and stepped through the code and sure enough it goes to the api call and then goes right through the api call without opening the dialog box. If we try to drop the common dialog control onto a form in design view from the additional tools list in the toolbox we get a message that says the OLE server isn't registered. So I need to figure out 1) how to get the OLE server registered (unregistered first I suppose) and see if that is somehow hosing the file open dialog box 2) figure out if there's a problem with comdlg32.dll 3) see if I can determine why this app suddenly went south so that it doesn't happen at one of his customer sites. He's using Access 2000 SP-3 but also fails in AXP. The app fails on both W2K and WXP. He's pretty careful about virus scanning. I don't think it is a virus even though it behaves like one. Is it possible that it got hosed by an automatic windows update? Any clue as to what's going on here would be greatly appreciated. MTIA, Rocky Smolin Beach Access Software http://www.e-z-mrp.com 858-259-4334 From pedro at plex.nl Wed Jun 22 09:24:03 2005 From: pedro at plex.nl (Pedro Janssen) Date: Wed, 22 Jun 2005 16:24:03 +0200 Subject: [AccessD] invalid number of arguments References: <30BC111F638EB54082001A7E7282FE41114D45@elmo.co.montgomery.ny.us><007b01c57128$6c07acc0$fac581d5@pedro> <00ba01c571b1$155f3bc0$0202a8c0@default> Message-ID: <002001c57736$2e2e4210$fac581d5@pedro> Hello Michael and others, i have made a database for my wife who works in a small firm that sells bricks for building houses. In this database data about the brick and the clients who sell them, is stored. When the firm grew bigger, they invested in a commercial database for administration purposes. In this database however, i can't change anything. My wife don't want to ad each new client in two different databases. So i want to use the client table from the commercial database, because the clientID's are identical. The commercial database table with clients [DEBSTM] can be linked to the "brick" database [tblDebiteur]. When i make a copy and rename the table [DEBSTM], with a macro to [tblDebiteur], the table is still linked, so that i can't make any changes to it. I need the following changes (with an autoexec macro) - unlink the table or copy the [DEBSTM] in a way that i have a unlinked table left. - Change the name of [DEBSTM] to [tblDebiteur] - Change the IDfield Nummer into DebID and from text to Number - Changing fieldname Plaats to Woonplaats i have asked a few times question in accessd about this subject the last months, but i never had the time to finished it. My wife is still naging about it, so i really want to complete it now. Last weeks i became some codes for unlinking, but stumbled into errors. I don't want to use a query from this linked table, to adjust the names because i then have to adjust al other query's and tables. Using the same names for the table and fields would be the best way. Or is it an idea ( it came to my mind when i typed this mail), to use a table make query from [DEBSTM], use aliases for the fields and name it [tblDebiteur], by autoexec macro. But what about changing the data type from text to number?? TIA Pedro Janssen ----- Original Message ----- From: "Michael R Mattys" To: "Access Developers discussion and problem solving" Sent: Wednesday, June 15, 2005 3:49 PM Subject: Re: [AccessD] invalid number of arguments > ----- Original Message ----- > From: "Pedro Janssen" > To: "Access Developers discussion and problem solving" > > Sent: Tuesday, June 14, 2005 5:30 PM > Subject: Re: [AccessD] invalid number of arguments > [Snip] > > > Let me explain a little more why i need to delete the link: > > I have a linked table. > > I need a copy of that table (structure and data) , without the copy is > > beeing linked to. > > After that i need to adjust, by code some field names. > > > > Who has done this before and can help me with this?? > [Snip] > > Pedro, > > I have done and can do what you're asking. > > It may be that you only need to ALIAS fields from your > linked table in a query. Then again, you may have to delete > the link in order to manipulate fields in the external database. > > Please explain exactly what you are going to do and > we'll see which option needs implementation. > ---- > > Michael R. Mattys > Mattys MapLib for Microsoft MapPoint > http://www.mattysconsulting.com > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > From Jdemarco at hudsonhealthplan.org Wed Jun 22 09:30:22 2005 From: Jdemarco at hudsonhealthplan.org (Jim DeMarco) Date: Wed, 22 Jun 2005 10:30:22 -0400 Subject: [AccessD] OT: Sharepoint Security Message-ID: <08F823FD83787D4BA0B99CA580AD3C74016C3A5B@TTNEXCHCL2.hshhp.com> Well I just set up a non-IT staff member with Read access and that's all he could do (read). When I removed him from the site he could not access it any longer. So it looks like it may be using Windows Security to authenticate users. Unfortunately I need to limit even our IT staff in various sections of the site so I've got to get a work around together. I'll keep you posted. Thanks, Jim DeMarco -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Jim Hewson Sent: Wednesday, June 22, 2005 10:08 AM To: Access Developers discussion and problem solving Subject: RE: [AccessD] OT: Sharepoint Security Jim, I'm a novice, but will become the SharePoint "Expert" when I change jobs, in my company, next month. I'm interested in the outcome of your question. A couple of random thoughts... There are two levels of security for SharePoint. They are Central Administration and Site Administration rights. Central take precedence over site rights. If a person is a member of the Central Administration group which manages the settings for the Web Server and virtual servers, they effectively have Administrative rights to the entire portal. In Site Administration, IIRC, there is a toggle somewhere to designate a person to have the same rights as the parent area or site. Let me know if you have found the solution. Regards, Jim H. -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Jim DeMarco Sent: Wednesday, June 22, 2005 8:04 AM To: AccessD (E-mail) Subject: [AccessD] OT: Sharepoint Security List, I've done some Googling but I can't seem to find the answer to this odd problem. I set up a Sharepoint site as a test bed (Sharepoint Services not Server) and gave a few users access. No matter what rights I give the users they have full admin rights to the sight. I set up custom security groups and the site is completely ignoring them. To further add to the mystery I removed on user (she is not a member of any security group therefore should not have access to the site) and she can still get in with full admin rights. Is it possible that Sharepoint is deferring to Windows rights? These are all IT staff here and have more liberal rights to our network than the average user. Does anyone have a clue? A push in the right direction would be appreciated. TIA Jim DeMarco Director of Application Development Hudson Health Plan ************************************************************************ *********** "This electronic message is intended to be for the use only of the named recipient, and may contain information from Hudson Health Plan (HHP) that is confidential or privileged. If you are not the intended recipient, you are hereby notified that any disclosure, copying, distribution or use of the contents of this message is strictly prohibited. If you have received this message in error or are not the named recipient, please notify us immediately, either by contacting the sender at the electronic mail address noted above or calling HHP at (914) 631-1611. If you are not the intended recipient, please do not forward this email to anyone, and delete and destroy all copies of this message. Thank You". ************************************************************************ *********** -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- 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 Wed Jun 22 09:33:15 2005 From: jwcolby at colbyconsulting.com (John W. Colby) Date: Wed, 22 Jun 2005 10:33:15 -0400 Subject: [AccessD] Comparing tables question In-Reply-To: Message-ID: <004f01c57737$57e68940$6c7aa8c0@ColbyM6805> The process is infinitely easier if you have a single field PK in each table - such as an autonumber. 1) Create a join on the two tables, joining pattern in one table to pattern in the other table, and well in one table to well in the other table. In this query pull the PKs (autonumber) so that you have the PKID of each record from each table where you DO HAVE A MATCH. 2) Save that query. 3) Now create a second "not in" query, where you pull the PK of the table that you want to know is NOT IN the result set. Join to the corresponding PK in the result saved. Make the join an outer join, all records in the table you want to see the results in. Now pull the PK of the saved query and set a "not null" in the selection area. The query should now show you only the records that are "not in" the saved query created in step 1. This kind of query is quite common and you will most likely eventually become quite adept at creating them. John W. Colby www.ColbyConsulting.com Contribute your unused CPU cycles to a good cause: http://folding.stanford.edu/ -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Kaup, Chester Sent: Wednesday, June 22, 2005 10:05 AM To: Access Developers discussion and problem solving Subject: [AccessD] Comparing tables question I have two tables both of which have the fields Pattern and Well. The field pattern will appear several times with a different corresponding well. I need to compare each unique pattern well combination in table1 to see if the same unique combination exists in table2 and output a list of the ones that have no match. I am at a loss of how to do this. Thanks for ideas. Chester Kaup Engineering Technician Kinder Morgan CO2 Company, LLP Office (432) 688-3797 FAX (432) 688-3799 -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From bheid at appdevgrp.com Wed Jun 22 09:39:58 2005 From: bheid at appdevgrp.com (Bobby Heid) Date: Wed, 22 Jun 2005 10:39:58 -0400 Subject: [AccessD] Open File Dialog Box Call Fails In-Reply-To: <916187228923D311A6FE00A0CC3FAA30BED42E@ADGSERVER> Message-ID: <916187228923D311A6FE00A0CC3FAA30ABEC67@ADGSERVER> I wonder if it is some sort of service pack that has hosed something? Or maybe he installed something that put a different version of comdlg32.dll? Bobby -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Rocky Smolin - Beach Access Software Sent: Wednesday, June 22, 2005 10:26 AM To: AccessD at databaseadvisors.com; dba-tech Cc: Ben Saltzer Subject: [AccessD] Open File Dialog Box Call Fails Dear List: I have a client who's selling an app I wrote where I use the code from the ADH to call the file open dialog box: Declare Function adh_apiGetOpenFileName Lib "comdlg32.dll" _ Alias "GetOpenFileNameA" (ofn As tagOPENFILENAME) As Boolean I haven't worked on the app for several months and it's been very stable until a couple of weeks ago when this call began to fail with no error message. Just didn't open the dialog box. Then it failed on another computer. Then on another one. Now no computer in his place runs this api. I went over to his place and stepped through the code and sure enough it goes to the api call and then goes right through the api call without opening the dialog box. If we try to drop the common dialog control onto a form in design view from the additional tools list in the toolbox we get a message that says the OLE server isn't registered. So I need to figure out 1) how to get the OLE server registered (unregistered first I suppose) and see if that is somehow hosing the file open dialog box 2) figure out if there's a problem with comdlg32.dll 3) see if I can determine why this app suddenly went south so that it doesn't happen at one of his customer sites. He's using Access 2000 SP-3 but also fails in AXP. The app fails on both W2K and WXP. He's pretty careful about virus scanning. I don't think it is a virus even though it behaves like one. Is it possible that it got hosed by an automatic windows update? Any clue as to what's going on here would be greatly appreciated. MTIA, Rocky Smolin Beach Access Software http://www.e-z-mrp.com 858-259-4334 From bchacc at san.rr.com Wed Jun 22 09:44:00 2005 From: bchacc at san.rr.com (Rocky Smolin - Beach Access Software) Date: Wed, 22 Jun 2005 07:44:00 -0700 Subject: [AccessD] Open File Dialog Box Call Fails References: <916187228923D311A6FE00A0CC3FAA30ABEC67@ADGSERVER> Message-ID: <00f401c57738$d3ed37e0$6c01a8c0@HAL9004> Are you thinking Windows or Office service pack? Rocky ----- Original Message ----- From: "Bobby Heid" To: "'Access Developers discussion and problem solving'" Sent: Wednesday, June 22, 2005 7:39 AM Subject: RE: [AccessD] Open File Dialog Box Call Fails >I wonder if it is some sort of service pack that has hosed something? Or > maybe he installed something that put a different version of comdlg32.dll? > > Bobby > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Rocky Smolin - > Beach Access Software > Sent: Wednesday, June 22, 2005 10:26 AM > To: AccessD at databaseadvisors.com; dba-tech > Cc: Ben Saltzer > Subject: [AccessD] Open File Dialog Box Call Fails > > > Dear List: > > I have a client who's selling an app I wrote where I use the code from the > ADH to call the file open dialog box: > > Declare Function adh_apiGetOpenFileName Lib "comdlg32.dll" _ Alias > "GetOpenFileNameA" (ofn As tagOPENFILENAME) As Boolean > > I haven't worked on the app for several months and it's been very stable > until a couple of weeks ago when this call began to fail with no error > message. Just didn't open the dialog box. Then it failed on another > computer. Then on another one. Now no computer in his place runs this > api. > > I went over to his place and stepped through the code and sure enough it > goes to the api call and then goes right through the api call without > opening the dialog box. > > If we try to drop the common dialog control onto a form in design view > from > the additional tools list in the toolbox we get a message that says the > OLE > server isn't registered. > > So I need to figure out > > 1) how to get the OLE server registered (unregistered first I suppose) and > see if that is somehow hosing the file open dialog box > 2) figure out if there's a problem with comdlg32.dll > 3) see if I can determine why this app suddenly went south so that it > doesn't happen at one of his customer sites. > > He's using Access 2000 SP-3 but also fails in AXP. The app fails on both > W2K and WXP. He's pretty careful about virus scanning. I don't think it > is > a virus even though it behaves like one. Is it possible that it got hosed > by an automatic windows update? > > Any clue as to what's going on here would be greatly appreciated. > > MTIA, > > Rocky Smolin > Beach Access Software > http://www.e-z-mrp.com > 858-259-4334 > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > From bchacc at san.rr.com Wed Jun 22 09:45:10 2005 From: bchacc at san.rr.com (Rocky Smolin - Beach Access Software) Date: Wed, 22 Jun 2005 07:45:10 -0700 Subject: [AccessD] Open File Dialog Box Call Fails References: <916187228923D311A6FE00A0CC3FAA30ABEC67@ADGSERVER> Message-ID: <00f701c57738$fe18cfc0$6c01a8c0@HAL9004> I suppose he could check the properties on his comdlg32.dll. If it doesn't match the one I'm using (where the app still works) where could he find the old one? TIA Rocky ----- Original Message ----- From: "Bobby Heid" To: "'Access Developers discussion and problem solving'" Sent: Wednesday, June 22, 2005 7:39 AM Subject: RE: [AccessD] Open File Dialog Box Call Fails >I wonder if it is some sort of service pack that has hosed something? Or > maybe he installed something that put a different version of comdlg32.dll? > > Bobby > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Rocky Smolin - > Beach Access Software > Sent: Wednesday, June 22, 2005 10:26 AM > To: AccessD at databaseadvisors.com; dba-tech > Cc: Ben Saltzer > Subject: [AccessD] Open File Dialog Box Call Fails > > > Dear List: > > I have a client who's selling an app I wrote where I use the code from the > ADH to call the file open dialog box: > > Declare Function adh_apiGetOpenFileName Lib "comdlg32.dll" _ Alias > "GetOpenFileNameA" (ofn As tagOPENFILENAME) As Boolean > > I haven't worked on the app for several months and it's been very stable > until a couple of weeks ago when this call began to fail with no error > message. Just didn't open the dialog box. Then it failed on another > computer. Then on another one. Now no computer in his place runs this > api. > > I went over to his place and stepped through the code and sure enough it > goes to the api call and then goes right through the api call without > opening the dialog box. > > If we try to drop the common dialog control onto a form in design view > from > the additional tools list in the toolbox we get a message that says the > OLE > server isn't registered. > > So I need to figure out > > 1) how to get the OLE server registered (unregistered first I suppose) and > see if that is somehow hosing the file open dialog box > 2) figure out if there's a problem with comdlg32.dll > 3) see if I can determine why this app suddenly went south so that it > doesn't happen at one of his customer sites. > > He's using Access 2000 SP-3 but also fails in AXP. The app fails on both > W2K and WXP. He's pretty careful about virus scanning. I don't think it > is > a virus even though it behaves like one. Is it possible that it got hosed > by an automatic windows update? > > Any clue as to what's going on here would be greatly appreciated. > > MTIA, > > Rocky Smolin > Beach Access Software > http://www.e-z-mrp.com > 858-259-4334 > > -- > 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 Jun 22 09:49:30 2005 From: Jim.Hale at FleetPride.com (Hale, Jim) Date: Wed, 22 Jun 2005 09:49:30 -0500 Subject: [AccessD] Comparing tables question Message-ID: <6A6AA9DF57E4F046BDA1E273BDDB6772337690@corp-es01.fleetpride.com> Try this: 1) Create a groupby query on the fields pattern and well for table one 2)Create a groupby query on the fields pattern and well for table two 3)use the unmatched query wizard to create the needed query 4) the only trick is, after the wizard has created the query, go into design view and make the second outer join(the wizard only creates one join) 5) you will wnd up with something like this SELECT Table1.Patterns, Table1.Wells FROM Table1 LEFT JOIN Table2 ON (Table1.Wells = Table2.Wells) AND (Table1.Patterns = Table2.Patterns) WHERE (((Table2.Patterns) Is Null)); the resulting query produces a data set of pattern/well combos not found in table 2. HTH Jim Hale -----Original Message----- From: Kaup, Chester [mailto:Chester_Kaup at kindermorgan.com] Sent: Wednesday, June 22, 2005 9:05 AM To: Access Developers discussion and problem solving Subject: [AccessD] Comparing tables question I have two tables both of which have the fields Pattern and Well. The field pattern will appear several times with a different corresponding well. I need to compare each unique pattern well combination in table1 to see if the same unique combination exists in table2 and output a list of the ones that have no match. I am at a loss of how to do this. Thanks for ideas. Chester Kaup Engineering Technician Kinder Morgan CO2 Company, LLP Office (432) 688-3797 FAX (432) 688-3799 -- 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 Wed Jun 22 10:00:34 2005 From: Jim.Hale at FleetPride.com (Hale, Jim) Date: Wed, 22 Jun 2005 10:00:34 -0500 Subject: [AccessD] Classes not recognized in mda Message-ID: <6A6AA9DF57E4F046BDA1E273BDDB6772337691@corp-es01.fleetpride.com> I have moved some classes and modules out of the front end into a code library. I set the same references in the code library as in the front end. In the front end I set a reference to the code library. The FE recognizes the functions in the library modules fine, no problems but doesn't recognize the classes (i.e. I get an error in the FE when I try to instantiate the moved classes). The code ran fine when the classes resided in the front end. I am obviously doing something simple wrong. Any suggestions? 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 bheid at appdevgrp.com Wed Jun 22 10:02:02 2005 From: bheid at appdevgrp.com (Bobby Heid) Date: Wed, 22 Jun 2005 11:02:02 -0400 Subject: [AccessD] Open File Dialog Box Call Fails In-Reply-To: <916187228923D311A6FE00A0CC3FAA30BED441@ADGSERVER> Message-ID: <916187228923D311A6FE00A0CC3FAA30ABEC6A@ADGSERVER> It could be either. Bobby -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Rocky Smolin - Beach Access Software Sent: Wednesday, June 22, 2005 10:44 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Open File Dialog Box Call Fails Are you thinking Windows or Office service pack? Rocky ----- Original Message ----- From: "Bobby Heid" To: "'Access Developers discussion and problem solving'" Sent: Wednesday, June 22, 2005 7:39 AM Subject: RE: [AccessD] Open File Dialog Box Call Fails >I wonder if it is some sort of service pack that has hosed something? >Or maybe he installed something that put a different version of >comdlg32.dll? > > Bobby > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Rocky > Smolin - Beach Access Software > Sent: Wednesday, June 22, 2005 10:26 AM > To: AccessD at databaseadvisors.com; dba-tech > Cc: Ben Saltzer > Subject: [AccessD] Open File Dialog Box Call Fails > > > Dear List: > > I have a client who's selling an app I wrote where I use the code from > the ADH to call the file open dialog box: > > Declare Function adh_apiGetOpenFileName Lib "comdlg32.dll" _ Alias > "GetOpenFileNameA" (ofn As tagOPENFILENAME) As Boolean > > I haven't worked on the app for several months and it's been very > stable until a couple of weeks ago when this call began to fail with > no error message. Just didn't open the dialog box. Then it failed on > another computer. Then on another one. Now no computer in his place > runs this api. > > I went over to his place and stepped through the code and sure enough > it goes to the api call and then goes right through the api call > without opening the dialog box. > > If we try to drop the common dialog control onto a form in design view > from > the additional tools list in the toolbox we get a message that says the > OLE > server isn't registered. > > So I need to figure out > > 1) how to get the OLE server registered (unregistered first I suppose) > and see if that is somehow hosing the file open dialog box > 2) figure out if there's a problem with comdlg32.dll > 3) see if I can determine why this app suddenly went south so that it > doesn't happen at one of his customer sites. > > He's using Access 2000 SP-3 but also fails in AXP. The app fails on > both W2K and WXP. He's pretty careful about virus scanning. I don't > think it is a virus even though it behaves like one. Is it possible > that it got hosed by an automatic windows update? > > Any clue as to what's going on here would be greatly appreciated. > > MTIA, > > Rocky Smolin > Beach Access Software > http://www.e-z-mrp.com > 858-259-4334 From bheid at appdevgrp.com Wed Jun 22 10:06:24 2005 From: bheid at appdevgrp.com (Bobby Heid) Date: Wed, 22 Jun 2005 11:06:24 -0400 Subject: [AccessD] Open File Dialog Box Call Fails In-Reply-To: <916187228923D311A6FE00A0CC3FAA30BED443@ADGSERVER> Message-ID: <916187228923D311A6FE00A0CC3FAA30ABEC6B@ADGSERVER> You might try sending him your version and have him back his dll (or full system) up, unregister his version, copy yours to where his was, and register it. This is a big YMMV. If his is different, you might could try the reverse on your system. If it worked, then recompile your app and then have him re-install. If the different versions is what is causing the problem, then you have just entered that infamous place lovingly called "DLL Hell." I am just shooting in the dark here, but this is some of the stuff that I would investigate. Bobby -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Rocky Smolin - Beach Access Software Sent: Wednesday, June 22, 2005 10:45 AM To: Access Developers discussion and problem solving Cc: Ben Saltzer Subject: Re: [AccessD] Open File Dialog Box Call Fails I suppose he could check the properties on his comdlg32.dll. If it doesn't match the one I'm using (where the app still works) where could he find the old one? TIA Rocky ----- Original Message ----- From: "Bobby Heid" To: "'Access Developers discussion and problem solving'" Sent: Wednesday, June 22, 2005 7:39 AM Subject: RE: [AccessD] Open File Dialog Box Call Fails >I wonder if it is some sort of service pack that has hosed something? >Or maybe he installed something that put a different version of >comdlg32.dll? > > Bobby > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Rocky > Smolin - Beach Access Software > Sent: Wednesday, June 22, 2005 10:26 AM > To: AccessD at databaseadvisors.com; dba-tech > Cc: Ben Saltzer > Subject: [AccessD] Open File Dialog Box Call Fails > > > Dear List: > > I have a client who's selling an app I wrote where I use the code from > the ADH to call the file open dialog box: > > Declare Function adh_apiGetOpenFileName Lib "comdlg32.dll" _ Alias > "GetOpenFileNameA" (ofn As tagOPENFILENAME) As Boolean > > I haven't worked on the app for several months and it's been very > stable until a couple of weeks ago when this call began to fail with > no error message. Just didn't open the dialog box. Then it failed on > another computer. Then on another one. Now no computer in his place > runs this api. > > I went over to his place and stepped through the code and sure enough > it goes to the api call and then goes right through the api call > without opening the dialog box. > > If we try to drop the common dialog control onto a form in design view > from > the additional tools list in the toolbox we get a message that says the > OLE > server isn't registered. > > So I need to figure out > > 1) how to get the OLE server registered (unregistered first I suppose) > and see if that is somehow hosing the file open dialog box > 2) figure out if there's a problem with comdlg32.dll > 3) see if I can determine why this app suddenly went south so that it > doesn't happen at one of his customer sites. > > He's using Access 2000 SP-3 but also fails in AXP. The app fails on > both W2K and WXP. He's pretty careful about virus scanning. I don't > think it is a virus even though it behaves like one. Is it possible > that it got hosed by an automatic windows update? > > Any clue as to what's going on here would be greatly appreciated. > > MTIA, > > Rocky Smolin > Beach Access Software > http://www.e-z-mrp.com > 858-259-4334 From Jim.Hale at FleetPride.com Wed Jun 22 10:11:01 2005 From: Jim.Hale at FleetPride.com (Hale, Jim) Date: Wed, 22 Jun 2005 10:11:01 -0500 Subject: [AccessD] Comparing tables question Message-ID: <6A6AA9DF57E4F046BDA1E273BDDB6772337693@corp-es01.fleetpride.com> You don't have to use the groupby queries. I mentioned them because they show the two lists with one instance of each pattern/well combo. In fact, in my query below I ignored them and wrote the query directly using the tables. Sorry for the confusion. Jim Hale -----Original Message----- From: Hale, Jim [mailto:Jim.Hale at fleetpride.com] Sent: Wednesday, June 22, 2005 9:50 AM To: 'Access Developers discussion and problem solving' Subject: RE: [AccessD] Comparing tables question Try this: 1) Create a groupby query on the fields pattern and well for table one 2)Create a groupby query on the fields pattern and well for table two 3)use the unmatched query wizard to create the needed query 4) the only trick is, after the wizard has created the query, go into design view and make the second outer join(the wizard only creates one join) 5) you will wnd up with something like this SELECT Table1.Patterns, Table1.Wells FROM Table1 LEFT JOIN Table2 ON (Table1.Wells = Table2.Wells) AND (Table1.Patterns = Table2.Patterns) WHERE (((Table2.Patterns) Is Null)); the resulting query produces a data set of pattern/well combos not found in table 2. HTH Jim Hale -----Original Message----- From: Kaup, Chester [mailto:Chester_Kaup at kindermorgan.com] Sent: Wednesday, June 22, 2005 9:05 AM To: Access Developers discussion and problem solving Subject: [AccessD] Comparing tables question I have two tables both of which have the fields Pattern and Well. The field pattern will appear several times with a different corresponding well. I need to compare each unique pattern well combination in table1 to see if the same unique combination exists in table2 and output a list of the ones that have no match. I am at a loss of how to do this. Thanks for ideas. Chester Kaup Engineering Technician Kinder Morgan CO2 Company, LLP Office (432) 688-3797 FAX (432) 688-3799 -- 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. *********************************************************************** 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 mmattys at rochester.rr.com Wed Jun 22 10:15:08 2005 From: mmattys at rochester.rr.com (Michael R Mattys) Date: Wed, 22 Jun 2005 11:15:08 -0400 Subject: [AccessD] invalid number of arguments References: <30BC111F638EB54082001A7E7282FE41114D45@elmo.co.montgomery.ny.us> <007b01c57128$6c07acc0$fac581d5@pedro> <00ba01c571b1$155f3bc0$0202a8c0@default> <002001c57736$2e2e4210$fac581d5@pedro> Message-ID: <032e01c5773d$2e85d3c0$0202a8c0@default> Hi Pedro, - In this (commercial) database ... i can't change anything. - don't want to ad each new client in two different databases. - want to use the client table from the commercial database (clientID's identical). - clients [DEBSTM] can be linked to the "brick" database [tblDebiteur]. > I don't want to use a query from this linked table, to adjust the names > because i then have to adjust al other query's and tables. > Using the same names for the table and fields would be the best way. > Pedro Janssen Hi Pedro, Nagging? :) An append query to an autonumbered table would be best. Leave in the text ClientID and use that as criteria in the query to make sure there are no duplicates. Alias the fields desired. You know macros have no error handling, right? ---- Michael R. Mattys Mattys MapLib for Microsoft MapPoint http://www.mattysconsulting.com From cfoust at infostatsystems.com Wed Jun 22 10:14:57 2005 From: cfoust at infostatsystems.com (Charlotte Foust) Date: Wed, 22 Jun 2005 08:14:57 -0700 Subject: [AccessD] Classes not recognized in mda Message-ID: It's a little tricky using classes in a code library because you have to give them a public interface before they can be used elsewhere. I don't have an example on this machine, so I'm working from memory here, but as I recall, I dimmed a public object variable as a new instance of the class I wanted to expose. That allowed the app linked to the library to grab the public instance of the class and use its methods and properties. Charlotte Foust -----Original Message----- From: Hale, Jim [mailto:Jim.Hale at fleetpride.com] Sent: Wednesday, June 22, 2005 8:01 AM To: 'Accessd (E-mail) Subject: [AccessD] Classes not recognized in mda I have moved some classes and modules out of the front end into a code library. I set the same references in the code library as in the front end. In the front end I set a reference to the code library. The FE recognizes the functions in the library modules fine, no problems but doesn't recognize the classes (i.e. I get an error in the FE when I try to instantiate the moved classes). The code ran fine when the classes resided in the front end. I am obviously doing something simple wrong. Any suggestions? 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 Rich_Lavsa at pghcorning.com Wed Jun 22 10:20:22 2005 From: Rich_Lavsa at pghcorning.com (Lavsa, Rich) Date: Wed, 22 Jun 2005 11:20:22 -0400 Subject: [AccessD] Pass Through Query vs SQL Stored Procedure Message-ID: <2A261FF9D5EBCA46940C11688CE872EE01E969DD@goexchange2.pghcorning.com> HELLO ALL, Summary: Pass through query in Access using DSN (Oracle is faster then Linked Server in SQL Server with procedure). I currently have an application that pulls data from our ERP system which is in Oracle 9i, Net8 client. The current application has an Access Front end (A2k2) and a SQL server back end. What I have been trying to do over the last 2 days is convert all PassThrough queries, into stored procedures. So far this has worked beautifully, and eliminated a ton of code which I had developed to dynamically alter the where clause and now only have to pass in a parameter for a stored procedure. Anyway, I ran into a stumbling block. The above approach helped in both simplicity and speed for all information stored in SQL server. However the information stored in Oracle hasn't gone so easy. I set up a linked server, so that all authentication will come from the server and won't have to worry about adding a new user, and having to make sure they have access to the DNS. Anyway, the current pass through query will run in roughly 1-2 seconds. When converted to a procedure to use the linked server, it jumps up to 1 minute 47 seconds. The fastest I could get it down to is 1 minute 30 seconds. Any tips/tricks/criticism welcome... Here are the basics of what I have tried... ====================================================================== ACCESS PASS THROUGH (1-2 seconds) SELECT A.ORDER_NUMBER, A.ORDER_LINE_NUMBER, B.PART_CODE, B.PART_DESC_1, c.UNIT_OF_MEASURE , c.ORDER_QUANTITY FROM fin_Prod.SALES_ORDER_LINES A, fin_Prod.PRODUCT_MASTER B, fin_Prod.SALES_ORDER_LINE_QTYS C Where (A.COMPANY_CODE = B.COMPANY_CODE) And (A.ORDER_LINE_NUMBER = C.ORDER_LINE_NUMBER) AND (A.ORDER_NUMBER = C.ORDER_NUMBER) AND (A.DIVISION = C.DIVISION) AND (A.COMPANY_CODE = C.COMPANY_CODE) AND (A.PART_CODE = B.PART_CODE) AND (A.Unit_Sales = c.UNIT_OF_MEASURE) And A.ORDER_NUMBER = '310376' AND C.ORDER_NUMBER = '310376' ====================================================================== ====================================================================== SQL Server Stored Procedure(1) sql(1min 47 seconds) SELECT A.ORDER_NUMBER, A.ORDER_LINE_NUMBER, B.PART_CODE, B.PART_DESC_1, c.UNIT_OF_MEASURE , c.ORDER_QUANTITY FROM RENCS..FIN_PROD.SALES_ORDER_LINES A, RENCS..FIN_PROD.PRODUCT_MASTER B, RENCS..FIN_PROD.SALES_ORDER_LINE_QTYS C Where A.ORDER_NUMBER = '310376' AND C.oRDER_NUMBER = '310376' AND (A.PART_CODE = B.PART_CODE) AND (A.COMPANY_CODE = B.COMPANY_CODE) And (A.ORDER_LINE_NUMBER = C.ORDER_LINE_NUMBER) AND (A.ORDER_NUMBER = C.ORDER_NUMBER) AND (A.DIVISION = C.DIVISION) AND (A.COMPANY_CODE = C.COMPANY_CODE) AND (A.Unit_Sales = c.UNIT_OF_MEASURE) ====================================================================== ====================================================================== SQL Server Stored Procedure (2) sql (1min 30 seconds) SELECT A.ORDER_NUMBER, A.ORDER_LINE_NUMBER, B.PART_CODE, B.PART_DESC_1, C.UNIT_OF_MEASURE, C.ORDER_QUANTITY FROM OPENQUERY(RENCS, 'select ORDER_NUMBER, ORDER_LINE_NUMBER, COMPANY_CODE, PART_CODE, DIVISION, Unit_Sales from fin_Prod.SALES_ORDER_LINES') A LEFT OUTER JOIN OPENQUERY(RENCS,'select UNIT_OF_MEASURE, ORDER_QUANTITY, ORDER_LINE_NUMBER, ORDER_NUMBER, COMPANY_CODE, DIVISION from fin_Prod.SALES_ORDER_LINE_QTYS') C ON A.ORDER_NUMBER = C.ORDER_NUMBER AND A.ORDER_LINE_NUMBER = C.ORDER_LINE_NUMBER AND A.COMPANY_CODE = C.COMPANY_CODE AND A.DIVISION = C.DIVISION AND A.UNIT_SALES = C.UNIT_OF_MEASURE LEFT OUTER JOIN OPENQUERY(RENCS, 'select PART_CODE, PART_DESC_1,COMPANY_CODE from fin_Prod.PRODUCT_MASTER') B ON A.COMPANY_CODE = B.COMPANY_CODE AND A.PART_CODE = B.PART_CODE WHERE (A.ORDER_NUMBER = '310376') and (c.ORDER_NUMBER = '310376') ====================================================================== Rich From jwcolby at colbyconsulting.com Wed Jun 22 10:22:24 2005 From: jwcolby at colbyconsulting.com (John W. Colby) Date: Wed, 22 Jun 2005 11:22:24 -0400 Subject: [AccessD] Classes not recognized in mda In-Reply-To: <6A6AA9DF57E4F046BDA1E273BDDB6772337691@corp-es01.fleetpride.com> Message-ID: <006801c5773e$33f24400$6c7aa8c0@ColbyM6805> Yes, you have to: 1) Export the classes to text files 2) Edit the text file to set two properties 3) Delete the original class in your lib. 4) Insert a new class 5) Insert the file into that class. 6) Save the new class. The top of an exported class will look something like: VERSION 1.0 CLASS BEGIN MultiUse = -1 'True END Attribute VB_Name = "clsSysVars" Attribute VB_GlobalNameSpace = False Attribute VB_Creatable = False Attribute VB_PredeclaredId = False Attribute VB_Exposed = False Option Compare Database Option Explicit You need to change it to look like: Attribute VB_Name = "clsSysVars" Attribute VB_GlobalNameSpace = False Attribute VB_Creatable = True Attribute VB_PredeclaredId = False Attribute VB_Exposed = True Notice all the stuff I got rid of, and also notice that I changed two properties from False to True. That should take care of 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 Hale, Jim Sent: Wednesday, June 22, 2005 11:01 AM To: 'Accessd (E-mail) Subject: [AccessD] Classes not recognized in mda I have moved some classes and modules out of the front end into a code library. I set the same references in the code library as in the front end. In the front end I set a reference to the code library. The FE recognizes the functions in the library modules fine, no problems but doesn't recognize the classes (i.e. I get an error in the FE when I try to instantiate the moved classes). The code ran fine when the classes resided in the front end. I am obviously doing something simple wrong. Any suggestions? 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 Jun 22 10:20:54 2005 From: DWUTKA at marlow.com (DWUTKA at marlow.com) Date: Wed, 22 Jun 2005 10:20:54 -0500 Subject: [AccessD] Just Checking.... Message-ID: <123701F54509D9119A4F00D0B747349016D74D@main2.marlow.com> Sheesh JC.....you really must be losing it with old age.... What kind of statement is that? Technically, no one could not use a naming convention. Drew -----Original Message----- From: John W. Colby [mailto:jwcolby at colbyconsulting.com] Sent: Tuesday, June 21, 2005 6:08 PM To: 'Access Developers discussion and problem solving' Subject: RE: [AccessD] Just Checking.... Precisely so let's start one. Anyone who doesn't use a 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, June 21, 2005 5:46 PM To: accessd at databaseadvisors.com Subject: RE: [AccessD] Just Checking.... Nope, just busy...and there hasn't been anything good to argue about.......we normally just feed off what gets posted. It's not our fault the other listers aren't posting juicy stuff to dig into! Drew -----Original Message----- From: dmcafee at pacbell.net [mailto:dmcafee at pacbell.net] Sent: Tuesday, June 21, 2005 2:11 PM To: Access Developers discussion and problem solving Subject: RE: [AccessD] Just Checking.... JC & Drew must have gone on vacation or called a truce ;) :P -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Jim Hewson Sent: Tuesday, June 21, 2005 11:39 AM To: Access Developers discussion and problem solving Subject: RE: [AccessD] Just Checking.... I was thinking the same thing... I haven't received anything for about 24 hours! -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Bryan Carbonnell Sent: Tuesday, June 21, 2005 12:28 PM To: Access Developers discussion and problem solving Subject: [AccessD] Just Checking.... Just checking to see if there is anyone out there or is AccessD down? It's just too quite. -- Bryan Carbonnell - carbonnb at gmail.com Life's journey is not to arrive at the grave safely in a well preserved body, but rather to skid in sideways, totally worn out, shouting "What a great ride!" -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd 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 Jun 22 10:24:50 2005 From: jwcolby at colbyconsulting.com (John W. Colby) Date: Wed, 22 Jun 2005 11:24:50 -0400 Subject: [AccessD] Classes not recognized in mda In-Reply-To: Message-ID: <006901c5773e$883b1be0$6c7aa8c0@ColbyM6805> Hmm... This is the other way of doing it. What Charlotte is saying is that INSIDE of the library you can set a function that dims a new instance and returns a pointer to the class. The problem with doing this is that you can't use intellisense to see the properties of the class etc. whereas using the method I described, your classes become just another object and you can use it just as you would any other 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 Charlotte Foust Sent: Wednesday, June 22, 2005 11:15 AM To: Access Developers discussion and problem solving Subject: RE: [AccessD] Classes not recognized in mda It's a little tricky using classes in a code library because you have to give them a public interface before they can be used elsewhere. I don't have an example on this machine, so I'm working from memory here, but as I recall, I dimmed a public object variable as a new instance of the class I wanted to expose. That allowed the app linked to the library to grab the public instance of the class and use its methods and properties. Charlotte Foust -----Original Message----- From: Hale, Jim [mailto:Jim.Hale at fleetpride.com] Sent: Wednesday, June 22, 2005 8:01 AM To: 'Accessd (E-mail) Subject: [AccessD] Classes not recognized in mda I have moved some classes and modules out of the front end into a code library. I set the same references in the code library as in the front end. In the front end I set a reference to the code library. The FE recognizes the functions in the library modules fine, no problems but doesn't recognize the classes (i.e. I get an error in the FE when I try to instantiate the moved classes). The code ran fine when the classes resided in the front end. I am obviously doing something simple wrong. Any suggestions? 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 jwcolby at colbyconsulting.com Wed Jun 22 10:27:12 2005 From: jwcolby at colbyconsulting.com (John W. Colby) Date: Wed, 22 Jun 2005 11:27:12 -0400 Subject: [AccessD] Just Checking.... In-Reply-To: <123701F54509D9119A4F00D0B747349016D74D@main2.marlow.com> Message-ID: <007001c5773e$dcdc4cf0$6c7aa8c0@ColbyM6805> ROTFL. Yea, I am getting old. I am about to launch a field naming convention discussion so look 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 DWUTKA at marlow.com Sent: Wednesday, June 22, 2005 11:21 AM To: accessd at databaseadvisors.com Subject: RE: [AccessD] Just Checking.... Sheesh JC.....you really must be losing it with old age.... What kind of statement is that? Technically, no one could not use a naming convention. Drew -----Original Message----- From: John W. Colby [mailto:jwcolby at colbyconsulting.com] Sent: Tuesday, June 21, 2005 6:08 PM To: 'Access Developers discussion and problem solving' Subject: RE: [AccessD] Just Checking.... Precisely so let's start one. Anyone who doesn't use a 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, June 21, 2005 5:46 PM To: accessd at databaseadvisors.com Subject: RE: [AccessD] Just Checking.... Nope, just busy...and there hasn't been anything good to argue about.......we normally just feed off what gets posted. It's not our fault the other listers aren't posting juicy stuff to dig into! Drew -----Original Message----- From: dmcafee at pacbell.net [mailto:dmcafee at pacbell.net] Sent: Tuesday, June 21, 2005 2:11 PM To: Access Developers discussion and problem solving Subject: RE: [AccessD] Just Checking.... JC & Drew must have gone on vacation or called a truce ;) :P -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Jim Hewson Sent: Tuesday, June 21, 2005 11:39 AM To: Access Developers discussion and problem solving Subject: RE: [AccessD] Just Checking.... I was thinking the same thing... I haven't received anything for about 24 hours! -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Bryan Carbonnell Sent: Tuesday, June 21, 2005 12:28 PM To: Access Developers discussion and problem solving Subject: [AccessD] Just Checking.... Just checking to see if there is anyone out there or is AccessD down? It's just too quite. -- Bryan Carbonnell - carbonnb at gmail.com Life's journey is not to arrive at the grave safely in a well preserved body, but rather to skid in sideways, totally worn out, shouting "What a great ride!" -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd 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 Jun 22 10:34:50 2005 From: Jim.Hale at FleetPride.com (Hale, Jim) Date: Wed, 22 Jun 2005 10:34:50 -0500 Subject: [AccessD] Classes not recognized in mda Message-ID: <6A6AA9DF57E4F046BDA1E273BDDB6772337694@corp-es01.fleetpride.com> Thanks. I'll give it a shot Jim Hale -----Original Message----- From: John W. Colby [mailto:jwcolby at colbyconsulting.com] Sent: Wednesday, June 22, 2005 10:22 AM To: 'Access Developers discussion and problem solving' Subject: RE: [AccessD] Classes not recognized in mda Yes, you have to: 1) Export the classes to text files 2) Edit the text file to set two properties 3) Delete the original class in your lib. 4) Insert a new class 5) Insert the file into that class. 6) Save the new class. The top of an exported class will look something like: VERSION 1.0 CLASS BEGIN MultiUse = -1 'True END Attribute VB_Name = "clsSysVars" Attribute VB_GlobalNameSpace = False Attribute VB_Creatable = False Attribute VB_PredeclaredId = False Attribute VB_Exposed = False Option Compare Database Option Explicit You need to change it to look like: Attribute VB_Name = "clsSysVars" Attribute VB_GlobalNameSpace = False Attribute VB_Creatable = True Attribute VB_PredeclaredId = False Attribute VB_Exposed = True Notice all the stuff I got rid of, and also notice that I changed two properties from False to True. That should take care of 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 Hale, Jim Sent: Wednesday, June 22, 2005 11:01 AM To: 'Accessd (E-mail) Subject: [AccessD] Classes not recognized in mda I have moved some classes and modules out of the front end into a code library. I set the same references in the code library as in the front end. In the front end I set a reference to the code library. The FE recognizes the functions in the library modules fine, no problems but doesn't recognize the classes (i.e. I get an error in the FE when I try to instantiate the moved classes). The code ran fine when the classes resided in the front end. I am obviously doing something simple wrong. Any suggestions? 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 *********************************************************************** 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 Jun 22 10:37:36 2005 From: DWUTKA at marlow.com (DWUTKA at marlow.com) Date: Wed, 22 Jun 2005 10:37:36 -0500 Subject: [AccessD] Just Checking.... Message-ID: <123701F54509D9119A4F00D0B747349016D74E@main2.marlow.com> Okay, now you are really slipping JC...giving me warning????? What's next, you're pledge of unfaltering loyalty to the Unbounders? ;) Drew -----Original Message----- From: John W. Colby [mailto:jwcolby at colbyconsulting.com] Sent: Wednesday, June 22, 2005 10:27 AM To: 'Access Developers discussion and problem solving' Subject: RE: [AccessD] Just Checking.... ROTFL. Yea, I am getting old. I am about to launch a field naming convention discussion so look 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 DWUTKA at marlow.com Sent: Wednesday, June 22, 2005 11:21 AM To: accessd at databaseadvisors.com Subject: RE: [AccessD] Just Checking.... Sheesh JC.....you really must be losing it with old age.... What kind of statement is that? Technically, no one could not use a naming convention. Drew -----Original Message----- From: John W. Colby [mailto:jwcolby at colbyconsulting.com] Sent: Tuesday, June 21, 2005 6:08 PM To: 'Access Developers discussion and problem solving' Subject: RE: [AccessD] Just Checking.... Precisely so let's start one. Anyone who doesn't use a 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, June 21, 2005 5:46 PM To: accessd at databaseadvisors.com Subject: RE: [AccessD] Just Checking.... Nope, just busy...and there hasn't been anything good to argue about.......we normally just feed off what gets posted. It's not our fault the other listers aren't posting juicy stuff to dig into! Drew -----Original Message----- From: dmcafee at pacbell.net [mailto:dmcafee at pacbell.net] Sent: Tuesday, June 21, 2005 2:11 PM To: Access Developers discussion and problem solving Subject: RE: [AccessD] Just Checking.... JC & Drew must have gone on vacation or called a truce ;) :P -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Jim Hewson Sent: Tuesday, June 21, 2005 11:39 AM To: Access Developers discussion and problem solving Subject: RE: [AccessD] Just Checking.... I was thinking the same thing... I haven't received anything for about 24 hours! -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Bryan Carbonnell Sent: Tuesday, June 21, 2005 12:28 PM To: Access Developers discussion and problem solving Subject: [AccessD] Just Checking.... Just checking to see if there is anyone out there or is AccessD down? It's just too quite. -- Bryan Carbonnell - carbonnb at gmail.com Life's journey is not to arrive at the grave safely in a well preserved body, but rather to skid in sideways, totally worn out, shouting "What a great ride!" -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd 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 Jun 22 10:48:46 2005 From: jwcolby at colbyconsulting.com (John W. Colby) Date: Wed, 22 Jun 2005 11:48:46 -0400 Subject: [AccessD] Just Checking.... In-Reply-To: <123701F54509D9119A4F00D0B747349016D74E@main2.marlow.com> Message-ID: <007701c57741$e05bcf60$6c7aa8c0@ColbyM6805> If I could figure out why unholy unbounders even exist... ;-) John W. Colby www.ColbyConsulting.com Contribute your unused CPU cycles to 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, June 22, 2005 11:38 AM To: accessd at databaseadvisors.com Subject: RE: [AccessD] Just Checking.... Okay, now you are really slipping JC...giving me warning????? What's next, you're pledge of unfaltering loyalty to the Unbounders? ;) Drew -----Original Message----- From: John W. Colby [mailto:jwcolby at colbyconsulting.com] Sent: Wednesday, June 22, 2005 10:27 AM To: 'Access Developers discussion and problem solving' Subject: RE: [AccessD] Just Checking.... ROTFL. Yea, I am getting old. I am about to launch a field naming convention discussion so look 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 DWUTKA at marlow.com Sent: Wednesday, June 22, 2005 11:21 AM To: accessd at databaseadvisors.com Subject: RE: [AccessD] Just Checking.... Sheesh JC.....you really must be losing it with old age.... What kind of statement is that? Technically, no one could not use a naming convention. Drew -----Original Message----- From: John W. Colby [mailto:jwcolby at colbyconsulting.com] Sent: Tuesday, June 21, 2005 6:08 PM To: 'Access Developers discussion and problem solving' Subject: RE: [AccessD] Just Checking.... Precisely so let's start one. Anyone who doesn't use a 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, June 21, 2005 5:46 PM To: accessd at databaseadvisors.com Subject: RE: [AccessD] Just Checking.... Nope, just busy...and there hasn't been anything good to argue about.......we normally just feed off what gets posted. It's not our fault the other listers aren't posting juicy stuff to dig into! Drew -----Original Message----- From: dmcafee at pacbell.net [mailto:dmcafee at pacbell.net] Sent: Tuesday, June 21, 2005 2:11 PM To: Access Developers discussion and problem solving Subject: RE: [AccessD] Just Checking.... JC & Drew must have gone on vacation or called a truce ;) :P -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Jim Hewson Sent: Tuesday, June 21, 2005 11:39 AM To: Access Developers discussion and problem solving Subject: RE: [AccessD] Just Checking.... I was thinking the same thing... I haven't received anything for about 24 hours! -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Bryan Carbonnell Sent: Tuesday, June 21, 2005 12:28 PM To: Access Developers discussion and problem solving Subject: [AccessD] Just Checking.... Just checking to see if there is anyone out there or is AccessD down? It's just too quite. -- Bryan Carbonnell - carbonnb at gmail.com Life's journey is not to arrive at the grave safely in a well preserved body, but rather to skid in sideways, totally worn out, shouting "What a great ride!" -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd 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 Jun 22 10:58:39 2005 From: Jim.Hale at FleetPride.com (Hale, Jim) Date: Wed, 22 Jun 2005 10:58:39 -0500 Subject: [AccessD] Classes not recognized in mda Message-ID: <6A6AA9DF57E4F046BDA1E273BDDB6772337695@corp-es01.fleetpride.com> The new class doesn't like the Attribute keyword. Am I missing a reference perhaps? Jim Hale -----Original Message----- From: John W. Colby [mailto:jwcolby at colbyconsulting.com] Sent: Wednesday, June 22, 2005 10:22 AM To: 'Access Developers discussion and problem solving' Subject: RE: [AccessD] Classes not recognized in mda Yes, you have to: 1) Export the classes to text files 2) Edit the text file to set two properties 3) Delete the original class in your lib. 4) Insert a new class 5) Insert the file into that class. 6) Save the new class. The top of an exported class will look something like: VERSION 1.0 CLASS BEGIN MultiUse = -1 'True END Attribute VB_Name = "clsSysVars" Attribute VB_GlobalNameSpace = False Attribute VB_Creatable = False Attribute VB_PredeclaredId = False Attribute VB_Exposed = False Option Compare Database Option Explicit You need to change it to look like: Attribute VB_Name = "clsSysVars" Attribute VB_GlobalNameSpace = False Attribute VB_Creatable = True Attribute VB_PredeclaredId = False Attribute VB_Exposed = True Notice all the stuff I got rid of, and also notice that I changed two properties from False to True. That should take care of 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 Hale, Jim Sent: Wednesday, June 22, 2005 11:01 AM To: 'Accessd (E-mail) Subject: [AccessD] Classes not recognized in mda I have moved some classes and modules out of the front end into a code library. I set the same references in the code library as in the front end. In the front end I set a reference to the code library. The FE recognizes the functions in the library modules fine, no problems but doesn't recognize the classes (i.e. I get an error in the FE when I try to instantiate the moved classes). The code ran fine when the classes resided in the front end. I am obviously doing something simple wrong. Any suggestions? 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 *********************************************************************** 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 Wed Jun 22 11:07:44 2005 From: jwcolby at colbyconsulting.com (John W. Colby) Date: Wed, 22 Jun 2005 12:07:44 -0400 Subject: [AccessD] Classes not recognized in mda In-Reply-To: <6A6AA9DF57E4F046BDA1E273BDDB6772337695@corp-es01.fleetpride.com> Message-ID: <007e01c57744$8a7f30c0$6c7aa8c0@ColbyM6805> Jim, These things should not even be visible when you pull them back in. You MUST: 1) Delete the old class - make SURE you exported it first 2) INSERT a new (blank) class 3) INSERT the file into that class 4) SAVE the new class When you do it this way you should not even be able to SEE the ATTRIBUTE keyword. John W. Colby www.ColbyConsulting.com Contribute your unused CPU cycles to a good cause: http://folding.stanford.edu/ -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Hale, Jim Sent: Wednesday, June 22, 2005 11:59 AM To: 'Access Developers discussion and problem solving' Subject: RE: [AccessD] Classes not recognized in mda The new class doesn't like the Attribute keyword. Am I missing a reference perhaps? Jim Hale -----Original Message----- From: John W. Colby [mailto:jwcolby at colbyconsulting.com] Sent: Wednesday, June 22, 2005 10:22 AM To: 'Access Developers discussion and problem solving' Subject: RE: [AccessD] Classes not recognized in mda Yes, you have to: 1) Export the classes to text files 2) Edit the text file to set two properties 3) Delete the original class in your lib. 4) Insert a new class 5) Insert the file into that class. 6) Save the new class. The top of an exported class will look something like: VERSION 1.0 CLASS BEGIN MultiUse = -1 'True END Attribute VB_Name = "clsSysVars" Attribute VB_GlobalNameSpace = False Attribute VB_Creatable = False Attribute VB_PredeclaredId = False Attribute VB_Exposed = False Option Compare Database Option Explicit You need to change it to look like: Attribute VB_Name = "clsSysVars" Attribute VB_GlobalNameSpace = False Attribute VB_Creatable = True Attribute VB_PredeclaredId = False Attribute VB_Exposed = True Notice all the stuff I got rid of, and also notice that I changed two properties from False to True. That should take care of 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 Hale, Jim Sent: Wednesday, June 22, 2005 11:01 AM To: 'Accessd (E-mail) Subject: [AccessD] Classes not recognized in mda I have moved some classes and modules out of the front end into a code library. I set the same references in the code library as in the front end. In the front end I set a reference to the code library. The FE recognizes the functions in the library modules fine, no problems but doesn't recognize the classes (i.e. I get an error in the FE when I try to instantiate the moved classes). The code ran fine when the classes resided in the front end. I am obviously doing something simple wrong. Any suggestions? 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 *********************************************************************** 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 Wed Jun 22 11:12:25 2005 From: cfoust at infostatsystems.com (Charlotte Foust) Date: Wed, 22 Jun 2005 09:12:25 -0700 Subject: [AccessD] Just Checking.... Message-ID: OH NO! Please don't, John! I know you use one, but I OBJECT violently! Charlotte Foust -----Original Message----- From: John W. Colby [mailto:jwcolby at colbyconsulting.com] Sent: Wednesday, June 22, 2005 8:27 AM To: 'Access Developers discussion and problem solving' Subject: RE: [AccessD] Just Checking.... ROTFL. Yea, I am getting old. I am about to launch a field naming convention discussion so look 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 DWUTKA at marlow.com Sent: Wednesday, June 22, 2005 11:21 AM To: accessd at databaseadvisors.com Subject: RE: [AccessD] Just Checking.... Sheesh JC.....you really must be losing it with old age.... What kind of statement is that? Technically, no one could not use a naming convention. Drew -----Original Message----- From: John W. Colby [mailto:jwcolby at colbyconsulting.com] Sent: Tuesday, June 21, 2005 6:08 PM To: 'Access Developers discussion and problem solving' Subject: RE: [AccessD] Just Checking.... Precisely so let's start one. Anyone who doesn't use a 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, June 21, 2005 5:46 PM To: accessd at databaseadvisors.com Subject: RE: [AccessD] Just Checking.... Nope, just busy...and there hasn't been anything good to argue about.......we normally just feed off what gets posted. It's not our fault the other listers aren't posting juicy stuff to dig into! Drew -----Original Message----- From: dmcafee at pacbell.net [mailto:dmcafee at pacbell.net] Sent: Tuesday, June 21, 2005 2:11 PM To: Access Developers discussion and problem solving Subject: RE: [AccessD] Just Checking.... JC & Drew must have gone on vacation or called a truce ;) :P -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Jim Hewson Sent: Tuesday, June 21, 2005 11:39 AM To: Access Developers discussion and problem solving Subject: RE: [AccessD] Just Checking.... I was thinking the same thing... I haven't received anything for about 24 hours! -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Bryan Carbonnell Sent: Tuesday, June 21, 2005 12:28 PM To: Access Developers discussion and problem solving Subject: [AccessD] Just Checking.... Just checking to see if there is anyone out there or is AccessD down? It's just too quite. -- Bryan Carbonnell - carbonnb at gmail.com Life's journey is not to arrive at the grave safely in a well preserved body, but rather to skid in sideways, totally worn out, shouting "What a great ride!" -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd 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 Jun 22 11:13:08 2005 From: cfoust at infostatsystems.com (Charlotte Foust) Date: Wed, 22 Jun 2005 09:13:08 -0700 Subject: [AccessD] Just Checking.... Message-ID: To make your life interesting, John. Charlotte Foust -----Original Message----- From: John W. Colby [mailto:jwcolby at colbyconsulting.com] Sent: Wednesday, June 22, 2005 8:49 AM To: 'Access Developers discussion and problem solving' Subject: RE: [AccessD] Just Checking.... If I could figure out why unholy unbounders even exist... ;-) John W. Colby www.ColbyConsulting.com Contribute your unused CPU cycles to 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, June 22, 2005 11:38 AM To: accessd at databaseadvisors.com Subject: RE: [AccessD] Just Checking.... Okay, now you are really slipping JC...giving me warning????? What's next, you're pledge of unfaltering loyalty to the Unbounders? ;) Drew -----Original Message----- From: John W. Colby [mailto:jwcolby at colbyconsulting.com] Sent: Wednesday, June 22, 2005 10:27 AM To: 'Access Developers discussion and problem solving' Subject: RE: [AccessD] Just Checking.... ROTFL. Yea, I am getting old. I am about to launch a field naming convention discussion so look 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 DWUTKA at marlow.com Sent: Wednesday, June 22, 2005 11:21 AM To: accessd at databaseadvisors.com Subject: RE: [AccessD] Just Checking.... Sheesh JC.....you really must be losing it with old age.... What kind of statement is that? Technically, no one could not use a naming convention. Drew -----Original Message----- From: John W. Colby [mailto:jwcolby at colbyconsulting.com] Sent: Tuesday, June 21, 2005 6:08 PM To: 'Access Developers discussion and problem solving' Subject: RE: [AccessD] Just Checking.... Precisely so let's start one. Anyone who doesn't use a 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, June 21, 2005 5:46 PM To: accessd at databaseadvisors.com Subject: RE: [AccessD] Just Checking.... Nope, just busy...and there hasn't been anything good to argue about.......we normally just feed off what gets posted. It's not our fault the other listers aren't posting juicy stuff to dig into! Drew -----Original Message----- From: dmcafee at pacbell.net [mailto:dmcafee at pacbell.net] Sent: Tuesday, June 21, 2005 2:11 PM To: Access Developers discussion and problem solving Subject: RE: [AccessD] Just Checking.... JC & Drew must have gone on vacation or called a truce ;) :P -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Jim Hewson Sent: Tuesday, June 21, 2005 11:39 AM To: Access Developers discussion and problem solving Subject: RE: [AccessD] Just Checking.... I was thinking the same thing... I haven't received anything for about 24 hours! -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Bryan Carbonnell Sent: Tuesday, June 21, 2005 12:28 PM To: Access Developers discussion and problem solving Subject: [AccessD] Just Checking.... Just checking to see if there is anyone out there or is AccessD down? It's just too quite. -- Bryan Carbonnell - carbonnb at gmail.com Life's journey is not to arrive at the grave safely in a well preserved body, but rather to skid in sideways, totally worn out, shouting "What a great ride!" -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd 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 Jun 22 11:14:57 2005 From: Lambert.Heenan at AIG.com (Heenan, Lambert) Date: Wed, 22 Jun 2005 12:14:57 -0400 Subject: [AccessD] Classes not recognized in mda Message-ID: <1D7828CDB8350747AFE9D69E0E90DA1F11CD7202@xlivmbx21.aig.com> In step 4 that John outlined you do *not* paste the complete text of the class code into the new, empty class module. Rather, you open the new class module, and then from the File menu select 'Insert File' (or is it the Insert menu - I can't tell right now as my copy of Access 2002 is doing its usual thing right now --- Taking several minutes to save a few lines of code, which will result in me having YET ANOTHER CORRUPT FILE THAT I NEED TO RESTORE FROM BACKUP!!!!! Every dammed day this happens to me grrrrr!!!!) --- Lambert -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Hale, Jim Sent: Wednesday, June 22, 2005 11:59 AM To: 'Access Developers discussion and problem solving' Subject: RE: [AccessD] Classes not recognized in mda The new class doesn't like the Attribute keyword. Am I missing a reference perhaps? Jim Hale -----Original Message----- From: John W. Colby [mailto:jwcolby at colbyconsulting.com] Sent: Wednesday, June 22, 2005 10:22 AM To: 'Access Developers discussion and problem solving' Subject: RE: [AccessD] Classes not recognized in mda Yes, you have to: 1) Export the classes to text files 2) Edit the text file to set two properties 3) Delete the original class in your lib. 4) Insert a new class 5) Insert the file into that class. 6) Save the new class. The top of an exported class will look something like: VERSION 1.0 CLASS BEGIN MultiUse = -1 'True END Attribute VB_Name = "clsSysVars" Attribute VB_GlobalNameSpace = False Attribute VB_Creatable = False Attribute VB_PredeclaredId = False Attribute VB_Exposed = False Option Compare Database Option Explicit You need to change it to look like: Attribute VB_Name = "clsSysVars" Attribute VB_GlobalNameSpace = False Attribute VB_Creatable = True Attribute VB_PredeclaredId = False Attribute VB_Exposed = True Notice all the stuff I got rid of, and also notice that I changed two properties from False to True. That should take care of 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 Hale, Jim Sent: Wednesday, June 22, 2005 11:01 AM To: 'Accessd (E-mail) Subject: [AccessD] Classes not recognized in mda I have moved some classes and modules out of the front end into a code library. I set the same references in the code library as in the front end. In the front end I set a reference to the code library. The FE recognizes the functions in the library modules fine, no problems but doesn't recognize the classes (i.e. I get an error in the FE when I try to instantiate the moved classes). The code ran fine when the classes resided in the front end. I am obviously doing something simple wrong. Any suggestions? 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 *********************************************************************** 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 Jun 22 11:15:23 2005 From: DWUTKA at marlow.com (DWUTKA at marlow.com) Date: Wed, 22 Jun 2005 11:15:23 -0500 Subject: [AccessD] Just Checking.... Message-ID: <123701F54509D9119A4F00D0B747349016D750@main2.marlow.com> LOL! Okay, we're digressing....and not even kicking up much dirt....I think we need to regroup! LOL Drew -----Original Message----- From: John W. Colby [mailto:jwcolby at colbyconsulting.com] Sent: Wednesday, June 22, 2005 10:49 AM To: 'Access Developers discussion and problem solving' Subject: RE: [AccessD] Just Checking.... If I could figure out why unholy unbounders even exist... ;-) John W. Colby www.ColbyConsulting.com Contribute your unused CPU cycles to 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, June 22, 2005 11:38 AM To: accessd at databaseadvisors.com Subject: RE: [AccessD] Just Checking.... Okay, now you are really slipping JC...giving me warning????? What's next, you're pledge of unfaltering loyalty to the Unbounders? ;) Drew -----Original Message----- From: John W. Colby [mailto:jwcolby at colbyconsulting.com] Sent: Wednesday, June 22, 2005 10:27 AM To: 'Access Developers discussion and problem solving' Subject: RE: [AccessD] Just Checking.... ROTFL. Yea, I am getting old. I am about to launch a field naming convention discussion so look 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 DWUTKA at marlow.com Sent: Wednesday, June 22, 2005 11:21 AM To: accessd at databaseadvisors.com Subject: RE: [AccessD] Just Checking.... Sheesh JC.....you really must be losing it with old age.... What kind of statement is that? Technically, no one could not use a naming convention. Drew -----Original Message----- From: John W. Colby [mailto:jwcolby at colbyconsulting.com] Sent: Tuesday, June 21, 2005 6:08 PM To: 'Access Developers discussion and problem solving' Subject: RE: [AccessD] Just Checking.... Precisely so let's start one. Anyone who doesn't use a 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, June 21, 2005 5:46 PM To: accessd at databaseadvisors.com Subject: RE: [AccessD] Just Checking.... Nope, just busy...and there hasn't been anything good to argue about.......we normally just feed off what gets posted. It's not our fault the other listers aren't posting juicy stuff to dig into! Drew -----Original Message----- From: dmcafee at pacbell.net [mailto:dmcafee at pacbell.net] Sent: Tuesday, June 21, 2005 2:11 PM To: Access Developers discussion and problem solving Subject: RE: [AccessD] Just Checking.... JC & Drew must have gone on vacation or called a truce ;) :P -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Jim Hewson Sent: Tuesday, June 21, 2005 11:39 AM To: Access Developers discussion and problem solving Subject: RE: [AccessD] Just Checking.... I was thinking the same thing... I haven't received anything for about 24 hours! -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Bryan Carbonnell Sent: Tuesday, June 21, 2005 12:28 PM To: Access Developers discussion and problem solving Subject: [AccessD] Just Checking.... Just checking to see if there is anyone out there or is AccessD down? It's just too quite. -- Bryan Carbonnell - carbonnb at gmail.com Life's journey is not to arrive at the grave safely in a well preserved body, but rather to skid in sideways, totally worn out, shouting "What a great ride!" -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd 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 Wed Jun 22 11:32:35 2005 From: Jdemarco at hudsonhealthplan.org (Jim DeMarco) Date: Wed, 22 Jun 2005 12:32:35 -0400 Subject: [AccessD] OT: Sharepoint Security (SOLVED) Message-ID: <08F823FD83787D4BA0B99CA580AD3C74016C3A5F@TTNEXCHCL2.hshhp.com> The culprit seemed to be that the user(s) in question were members of a Desktop Administrators group that was set up for us. Removing that group from the Sharepoint server machine seems to have corrected the issue (further testing pending). Thanks to all, Jim DeMarco -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Jim DeMarco Sent: Wednesday, June 22, 2005 10:30 AM To: Access Developers discussion and problem solving Subject: RE: [AccessD] OT: Sharepoint Security Well I just set up a non-IT staff member with Read access and that's all he could do (read). When I removed him from the site he could not access it any longer. So it looks like it may be using Windows Security to authenticate users. Unfortunately I need to limit even our IT staff in various sections of the site so I've got to get a work around together. I'll keep you posted. Thanks, Jim DeMarco -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Jim Hewson Sent: Wednesday, June 22, 2005 10:08 AM To: Access Developers discussion and problem solving Subject: RE: [AccessD] OT: Sharepoint Security Jim, I'm a novice, but will become the SharePoint "Expert" when I change jobs, in my company, next month. I'm interested in the outcome of your question. A couple of random thoughts... There are two levels of security for SharePoint. They are Central Administration and Site Administration rights. Central take precedence over site rights. If a person is a member of the Central Administration group which manages the settings for the Web Server and virtual servers, they effectively have Administrative rights to the entire portal. In Site Administration, IIRC, there is a toggle somewhere to designate a person to have the same rights as the parent area or site. Let me know if you have found the solution. Regards, Jim H. -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Jim DeMarco Sent: Wednesday, June 22, 2005 8:04 AM To: AccessD (E-mail) Subject: [AccessD] OT: Sharepoint Security List, I've done some Googling but I can't seem to find the answer to this odd problem. I set up a Sharepoint site as a test bed (Sharepoint Services not Server) and gave a few users access. No matter what rights I give the users they have full admin rights to the sight. I set up custom security groups and the site is completely ignoring them. To further add to the mystery I removed on user (she is not a member of any security group therefore should not have access to the site) and she can still get in with full admin rights. Is it possible that Sharepoint is deferring to Windows rights? These are all IT staff here and have more liberal rights to our network than the average user. Does anyone have a clue? A push in the right direction would be appreciated. TIA Jim DeMarco Director of Application Development Hudson Health Plan ************************************************************************ *********** "This electronic message is intended to be for the use only of the named recipient, and may contain information from Hudson Health Plan (HHP) that is confidential or privileged. If you are not the intended recipient, you are hereby notified that any disclosure, copying, distribution or use of the contents of this message is strictly prohibited. If you have received this message in error or are not the named recipient, please notify us immediately, either by contacting the sender at the electronic mail address noted above or calling HHP at (914) 631-1611. If you are not the intended recipient, please do not forward this email to anyone, and delete and destroy all copies of this message. Thank You". ************************************************************************ *********** -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com *********************************************************************************** "This electronic message is intended to be for the use only of the named recipient, and may contain information from Hudson Health Plan (HHP) that is confidential or privileged. If you are not the intended recipient, you are hereby notified that any disclosure, copying, distribution or use of the contents of this message is strictly prohibited. If you have received this message in error or are not the named recipient, please notify us immediately, either by contacting the sender at the electronic mail address noted above or calling HHP at (914) 631-1611. If you are not the intended recipient, please do not forward this email to anyone, and delete and destroy all copies of this message. Thank You". *********************************************************************************** -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com *********************************************************************************** "This electronic message is intended to be for the use only of the named recipient, and may contain information from Hudson Health Plan (HHP) that is confidential or privileged. If you are not the intended recipient, you are hereby notified that any disclosure, copying, distribution or use of the contents of this message is strictly prohibited. If you have received this message in error or are not the named recipient, please notify us immediately, either by contacting the sender at the electronic mail address noted above or calling HHP at (914) 631-1611. If you are not the intended recipient, please do not forward this email to anyone, and delete and destroy all copies of this message. Thank You". *********************************************************************************** From Jim.Hale at FleetPride.com Wed Jun 22 11:32:22 2005 From: Jim.Hale at FleetPride.com (Hale, Jim) Date: Wed, 22 Jun 2005 11:32:22 -0500 Subject: [AccessD] Classes not recognized in mda Message-ID: <6A6AA9DF57E4F046BDA1E273BDDB6772337696@corp-es01.fleetpride.com> Got it! I was pasting instead of inserting. It works now, Muchas Gracias. BTW I reviewed the "sacred" framework discussion emails and found your detailed description of how to move classes to libraries. For anyone who wants to search the archives it is (surprise) "Framework Discussion - Moving to a library". How did you discover this stuff? It is not discussed anywhere else that I've seen. Jim Hale -----Original Message----- From: John W. Colby [mailto:jwcolby at colbyconsulting.com] Sent: Wednesday, June 22, 2005 11:08 AM To: 'Access Developers discussion and problem solving' Subject: RE: [AccessD] Classes not recognized in mda Jim, These things should not even be visible when you pull them back in. You MUST: 1) Delete the old class - make SURE you exported it first 2) INSERT a new (blank) class 3) INSERT the file into that class 4) SAVE the new class When you do it this way you should not even be able to SEE the ATTRIBUTE keyword. John W. Colby www.ColbyConsulting.com Contribute your unused CPU cycles to a good cause: http://folding.stanford.edu/ -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Hale, Jim Sent: Wednesday, June 22, 2005 11:59 AM To: 'Access Developers discussion and problem solving' Subject: RE: [AccessD] Classes not recognized in mda The new class doesn't like the Attribute keyword. Am I missing a reference perhaps? Jim Hale -----Original Message----- From: John W. Colby [mailto:jwcolby at colbyconsulting.com] Sent: Wednesday, June 22, 2005 10:22 AM To: 'Access Developers discussion and problem solving' Subject: RE: [AccessD] Classes not recognized in mda Yes, you have to: 1) Export the classes to text files 2) Edit the text file to set two properties 3) Delete the original class in your lib. 4) Insert a new class 5) Insert the file into that class. 6) Save the new class. The top of an exported class will look something like: VERSION 1.0 CLASS BEGIN MultiUse = -1 'True END Attribute VB_Name = "clsSysVars" Attribute VB_GlobalNameSpace = False Attribute VB_Creatable = False Attribute VB_PredeclaredId = False Attribute VB_Exposed = False Option Compare Database Option Explicit You need to change it to look like: Attribute VB_Name = "clsSysVars" Attribute VB_GlobalNameSpace = False Attribute VB_Creatable = True Attribute VB_PredeclaredId = False Attribute VB_Exposed = True Notice all the stuff I got rid of, and also notice that I changed two properties from False to True. That should take care of 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 Hale, Jim Sent: Wednesday, June 22, 2005 11:01 AM To: 'Accessd (E-mail) Subject: [AccessD] Classes not recognized in mda I have moved some classes and modules out of the front end into a code library. I set the same references in the code library as in the front end. In the front end I set a reference to the code library. The FE recognizes the functions in the library modules fine, no problems but doesn't recognize the classes (i.e. I get an error in the FE when I try to instantiate the moved classes). The code ran fine when the classes resided in the front end. I am obviously doing something simple wrong. Any suggestions? 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 *********************************************************************** 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 jmhecht at earthlink.net Wed Jun 22 11:36:40 2005 From: jmhecht at earthlink.net (Joe Hecht) Date: Wed, 22 Jun 2005 09:36:40 -0700 Subject: [AccessD] Field Naming ( Just once I want to be ahead of JC ) Message-ID: <004c01c57748$91acf8b0$6401a8c0@laptop1> When naming fields in table design view I try to prefix the field with something to identify the source table i.e.: Custfname custLname repfname replname Joe Hecht Los Angeles CA From accessd at shaw.ca Wed Jun 22 11:40:16 2005 From: accessd at shaw.ca (Jim Lawrence) Date: Wed, 22 Jun 2005 09:40:16 -0700 Subject: [AccessD] OT: Sharepoint Security (SOLVED) In-Reply-To: <08F823FD83787D4BA0B99CA580AD3C74016C3A5F@TTNEXCHCL2.hshhp.com> Message-ID: <0IIH00C93VMOBK@l-daemon> Hi All: Given that this question will seem simple and slightly ignorant... what is a SharePoint Portal used for and what does it improve or replace. Jim -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Jim DeMarco Sent: Wednesday, June 22, 2005 9:33 AM To: Access Developers discussion and problem solving Subject: RE: [AccessD] OT: Sharepoint Security (SOLVED) The culprit seemed to be that the user(s) in question were members of a Desktop Administrators group that was set up for us. Removing that group from the Sharepoint server machine seems to have corrected the issue (further testing pending). Thanks to all, Jim DeMarco -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Jim DeMarco Sent: Wednesday, June 22, 2005 10:30 AM To: Access Developers discussion and problem solving Subject: RE: [AccessD] OT: Sharepoint Security Well I just set up a non-IT staff member with Read access and that's all he could do (read). When I removed him from the site he could not access it any longer. So it looks like it may be using Windows Security to authenticate users. Unfortunately I need to limit even our IT staff in various sections of the site so I've got to get a work around together. I'll keep you posted. Thanks, Jim DeMarco -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Jim Hewson Sent: Wednesday, June 22, 2005 10:08 AM To: Access Developers discussion and problem solving Subject: RE: [AccessD] OT: Sharepoint Security Jim, I'm a novice, but will become the SharePoint "Expert" when I change jobs, in my company, next month. I'm interested in the outcome of your question. A couple of random thoughts... There are two levels of security for SharePoint. They are Central Administration and Site Administration rights. Central take precedence over site rights. If a person is a member of the Central Administration group which manages the settings for the Web Server and virtual servers, they effectively have Administrative rights to the entire portal. In Site Administration, IIRC, there is a toggle somewhere to designate a person to have the same rights as the parent area or site. Let me know if you have found the solution. Regards, Jim H. -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Jim DeMarco Sent: Wednesday, June 22, 2005 8:04 AM To: AccessD (E-mail) Subject: [AccessD] OT: Sharepoint Security List, I've done some Googling but I can't seem to find the answer to this odd problem. I set up a Sharepoint site as a test bed (Sharepoint Services not Server) and gave a few users access. No matter what rights I give the users they have full admin rights to the sight. I set up custom security groups and the site is completely ignoring them. To further add to the mystery I removed on user (she is not a member of any security group therefore should not have access to the site) and she can still get in with full admin rights. Is it possible that Sharepoint is deferring to Windows rights? These are all IT staff here and have more liberal rights to our network than the average user. Does anyone have a clue? A push in the right direction would be appreciated. TIA Jim DeMarco Director of Application Development Hudson Health Plan ************************************************************************ *********** "This electronic message is intended to be for the use only of the named recipient, and may contain information from Hudson Health Plan (HHP) that is confidential or privileged. If you are not the intended recipient, you are hereby notified that any disclosure, copying, distribution or use of the contents of this message is strictly prohibited. If you have received this message in error or are not the named recipient, please notify us immediately, either by contacting the sender at the electronic mail address noted above or calling HHP at (914) 631-1611. If you are not the intended recipient, please do not forward this email to anyone, and delete and destroy all copies of this message. Thank You". ************************************************************************ *********** -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com **************************************************************************** ******* "This electronic message is intended to be for the use only of the named recipient, and may contain information from Hudson Health Plan (HHP) that is confidential or privileged. If you are not the intended recipient, you are hereby notified that any disclosure, copying, distribution or use of the contents of this message is strictly prohibited. If you have received this message in error or are not the named recipient, please notify us immediately, either by contacting the sender at the electronic mail address noted above or calling HHP at (914) 631-1611. If you are not the intended recipient, please do not forward this email to anyone, and delete and destroy all copies of this message. Thank You". **************************************************************************** ******* -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com **************************************************************************** ******* "This electronic message is intended to be for the use only of the named recipient, and may contain information from Hudson Health Plan (HHP) that is confidential or privileged. If you are not the intended recipient, you are hereby notified that any disclosure, copying, distribution or use of the contents of this message is strictly prohibited. If you have received this message in error or are not the named recipient, please notify us immediately, either by contacting the sender at the electronic mail address noted above or calling HHP at (914) 631-1611. If you are not the intended recipient, please do not forward this email to anyone, and delete and destroy all copies of this message. Thank You". **************************************************************************** ******* -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From DWUTKA at marlow.com Wed Jun 22 11:40:23 2005 From: DWUTKA at marlow.com (DWUTKA at marlow.com) Date: Wed, 22 Jun 2005 11:40:23 -0500 Subject: [AccessD] Field Naming ( Just once I want to be ahead of JC ) Message-ID: <123701F54509D9119A4F00D0B747349016D751@main2.marlow.com> Not a bad idea. Drew -----Original Message----- From: Joe Hecht [mailto:jmhecht at earthlink.net] Sent: Wednesday, June 22, 2005 11:37 AM To: 'Access Developers discussion and problem solving' Subject: [AccessD] Field Naming ( Just once I want to be ahead of JC ) When naming fields in table design view I try to prefix the field with something to identify the source table i.e.: Custfname custLname repfname replname Joe Hecht Los Angeles CA -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From MarkBoyd at McBeeAssociates.com Wed Jun 22 11:59:05 2005 From: MarkBoyd at McBeeAssociates.com (Mark Boyd) Date: Wed, 22 Jun 2005 12:59:05 -0400 Subject: [AccessD] Detect specific printer Message-ID: <974F830FE464C14E8652F95E24DA663C0BF9FF@mail03.Mcbassoc.com> Is there a way thru VBA to detect if a specific printer has been installed? I need to check if the PDF Writer is on the user's machine. If not, they'll be prompted to install it. Thanks, Mark Boyd I/S Supervisor McBee Associates, Inc. ----------------------------------------- This message and any attachments are intended only for the use of the individual or entity to which it is addressed and may contain information that is privileged, confidential, and exempt from disclosure under applicable law. If the reader of this message is not the intended recipient, or the employee or agent responsible for delivering the message to the intended recipient, you are hereby notified that any dissemination, distribution or copying of this communication is strictly prohibited. If you have received this communication in error, please notify the sender by replying to this message, and then delete it from your system. ------------------------------------------- From jwcolby at colbyconsulting.com Wed Jun 22 11:56:23 2005 From: jwcolby at colbyconsulting.com (John W. Colby) Date: Wed, 22 Jun 2005 12:56:23 -0400 Subject: [AccessD] Field Naming ( Just once I want to be ahead of JC ) In-Reply-To: <004c01c57748$91acf8b0$6401a8c0@laptop1> Message-ID: <008501c5774b$551bb960$6c7aa8c0@ColbyM6805> Good job Joe, my point exactly. I have seen (and in fact am currently working on) too many tables where the PK is just called PK or ID or something silly like that. In the case I am working on are named something real (TherapyLocationID) but that same field name is used in several different tables, both as the PK and the FK in the child tables. The problem becomes when you try to search on "where is this field used", without a table prefix in the field name, you get hits from every table where that field name is used. I currently am trying to straighten out a mess where one table has the field TherapyLocationID as a FK. And it needs to be removed entirely. The therapy location is NOT one to one, thus there is now a table that says where the therapy occurs, but in order to find it... Well... Let's just say there about 100 hits only about 20 of which have anything to do with the field in the table I need to modify. I have to search through all 100 of these forms, reports, modules etc to visually look at which table that object is referencing when it uses TherapyLocationID. Can you say PITA? If all tables had a table prefix, this would not be an issue. I personally use the first two characters of the table name if the name is a single word: Tbl child = CH_ID CH_Lname CH_Fname Etc tblPeople = PE_ID PE_Lname PE_Fname Etc. I use the first letter of each word if the name consists of more than one word. tblInvoiceLineItem - ILI_ID ILI_IDIN (the FK holding the PK of the INvoice table Doing this ensures that if I search for PE_ID, I will get ONLY hits from the PEople table. If I search for any field with ILI_XXXX I will get only hits for items referencing the InvoiceLineItem table. Notice that I then name all FKS with YY_IDXXXX ILI_IDIN for example In essence I take the PK name (IN_ID), remove the underscore and reverse the ID and name part (IDIN) and place it immediately after the underscore (ILI_IDIN). Why do I do this? Because I push all IDs to the top of the table and then all FKs look like YY_IDAAA YY_IDBB YY_IDCCCC YY_IDEEE Etc. ALL fields with _IDXXXX are an FK. Just some things to think about. John W. Colby www.ColbyConsulting.com Contribute your unused CPU cycles to 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: Wednesday, June 22, 2005 12:37 PM To: 'Access Developers discussion and problem solving' Subject: [AccessD] Field Naming ( Just once I want to be ahead of JC ) When naming fields in table design view I try to prefix the field with something to identify the source table i.e.: Custfname custLname repfname replname Joe Hecht Los Angeles CA -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From jwcolby at colbyconsulting.com Wed Jun 22 11:57:24 2005 From: jwcolby at colbyconsulting.com (John W. Colby) Date: Wed, 22 Jun 2005 12:57:24 -0400 Subject: [AccessD] Just Checking.... In-Reply-To: Message-ID: <008601c5774b$766bdc80$6c7aa8c0@ColbyM6805> GOOD, I rarely get to argue with 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, June 22, 2005 12:12 PM To: Access Developers discussion and problem solving Subject: RE: [AccessD] Just Checking.... OH NO! Please don't, John! I know you use one, but I OBJECT violently! Charlotte Foust -----Original Message----- From: John W. Colby [mailto:jwcolby at colbyconsulting.com] Sent: Wednesday, June 22, 2005 8:27 AM To: 'Access Developers discussion and problem solving' Subject: RE: [AccessD] Just Checking.... ROTFL. Yea, I am getting old. I am about to launch a field naming convention discussion so look 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 DWUTKA at marlow.com Sent: Wednesday, June 22, 2005 11:21 AM To: accessd at databaseadvisors.com Subject: RE: [AccessD] Just Checking.... Sheesh JC.....you really must be losing it with old age.... What kind of statement is that? Technically, no one could not use a naming convention. Drew -----Original Message----- From: John W. Colby [mailto:jwcolby at colbyconsulting.com] Sent: Tuesday, June 21, 2005 6:08 PM To: 'Access Developers discussion and problem solving' Subject: RE: [AccessD] Just Checking.... Precisely so let's start one. Anyone who doesn't use a 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, June 21, 2005 5:46 PM To: accessd at databaseadvisors.com Subject: RE: [AccessD] Just Checking.... Nope, just busy...and there hasn't been anything good to argue about.......we normally just feed off what gets posted. It's not our fault the other listers aren't posting juicy stuff to dig into! Drew -----Original Message----- From: dmcafee at pacbell.net [mailto:dmcafee at pacbell.net] Sent: Tuesday, June 21, 2005 2:11 PM To: Access Developers discussion and problem solving Subject: RE: [AccessD] Just Checking.... JC & Drew must have gone on vacation or called a truce ;) :P -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Jim Hewson Sent: Tuesday, June 21, 2005 11:39 AM To: Access Developers discussion and problem solving Subject: RE: [AccessD] Just Checking.... I was thinking the same thing... I haven't received anything for about 24 hours! -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Bryan Carbonnell Sent: Tuesday, June 21, 2005 12:28 PM To: Access Developers discussion and problem solving Subject: [AccessD] Just Checking.... Just checking to see if there is anyone out there or is AccessD down? It's just too quite. -- Bryan Carbonnell - carbonnb at gmail.com Life's journey is not to arrive at the grave safely in a well preserved body, but rather to skid in sideways, totally worn out, shouting "What a great ride!" -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd 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 Jun 22 12:21:04 2005 From: cfoust at infostatsystems.com (Charlotte Foust) Date: Wed, 22 Jun 2005 10:21:04 -0700 Subject: [AccessD] Just Checking.... Message-ID: Sorry to disappoint you, but I name my fields to indicate their table. I just object to elaborate field naming schemes complete with underscores, capitalized prefixes, etc., etc., etc. If that makes for an argument, we're all hard up for diversions. Charlotte Foust -----Original Message----- From: John W. Colby [mailto:jwcolby at colbyconsulting.com] Sent: Wednesday, June 22, 2005 9:57 AM To: 'Access Developers discussion and problem solving' Subject: RE: [AccessD] Just Checking.... GOOD, I rarely get to argue with 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, June 22, 2005 12:12 PM To: Access Developers discussion and problem solving Subject: RE: [AccessD] Just Checking.... OH NO! Please don't, John! I know you use one, but I OBJECT violently! Charlotte Foust -----Original Message----- From: John W. Colby [mailto:jwcolby at colbyconsulting.com] Sent: Wednesday, June 22, 2005 8:27 AM To: 'Access Developers discussion and problem solving' Subject: RE: [AccessD] Just Checking.... ROTFL. Yea, I am getting old. I am about to launch a field naming convention discussion so look 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 DWUTKA at marlow.com Sent: Wednesday, June 22, 2005 11:21 AM To: accessd at databaseadvisors.com Subject: RE: [AccessD] Just Checking.... Sheesh JC.....you really must be losing it with old age.... What kind of statement is that? Technically, no one could not use a naming convention. Drew -----Original Message----- From: John W. Colby [mailto:jwcolby at colbyconsulting.com] Sent: Tuesday, June 21, 2005 6:08 PM To: 'Access Developers discussion and problem solving' Subject: RE: [AccessD] Just Checking.... Precisely so let's start one. Anyone who doesn't use a 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, June 21, 2005 5:46 PM To: accessd at databaseadvisors.com Subject: RE: [AccessD] Just Checking.... Nope, just busy...and there hasn't been anything good to argue about.......we normally just feed off what gets posted. It's not our fault the other listers aren't posting juicy stuff to dig into! Drew -----Original Message----- From: dmcafee at pacbell.net [mailto:dmcafee at pacbell.net] Sent: Tuesday, June 21, 2005 2:11 PM To: Access Developers discussion and problem solving Subject: RE: [AccessD] Just Checking.... JC & Drew must have gone on vacation or called a truce ;) :P -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Jim Hewson Sent: Tuesday, June 21, 2005 11:39 AM To: Access Developers discussion and problem solving Subject: RE: [AccessD] Just Checking.... I was thinking the same thing... I haven't received anything for about 24 hours! -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Bryan Carbonnell Sent: Tuesday, June 21, 2005 12:28 PM To: Access Developers discussion and problem solving Subject: [AccessD] Just Checking.... Just checking to see if there is anyone out there or is AccessD down? It's just too quite. -- Bryan Carbonnell - carbonnb at gmail.com Life's journey is not to arrive at the grave safely in a well preserved body, but rather to skid in sideways, totally worn out, shouting "What a great ride!" -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From fhtapia at gmail.com Wed Jun 22 12:26:35 2005 From: fhtapia at gmail.com (Francisco Tapia) Date: Wed, 22 Jun 2005 10:26:35 -0700 Subject: [AccessD] Just Checking.... In-Reply-To: <007701c57741$e05bcf60$6c7aa8c0@ColbyM6805> References: <123701F54509D9119A4F00D0B747349016D74E@main2.marlow.com> <007701c57741$e05bcf60$6c7aa8c0@ColbyM6805> Message-ID: to fix your db's that are BOUND to be a proble ;-) On 6/22/05, John W. Colby wrote: > If I could figure out why unholy unbounders even exist... > > ;-) > > John W. Colby > www.ColbyConsulting.com > > Contribute your unused CPU cycles to 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, June 22, 2005 11:38 AM > To: accessd at databaseadvisors.com > Subject: RE: [AccessD] Just Checking.... > > > Okay, now you are really slipping JC...giving me warning????? What's next, > you're pledge of unfaltering loyalty to the Unbounders? ;) > > Drew > > -----Original Message----- > From: John W. Colby [mailto:jwcolby at colbyconsulting.com] > Sent: Wednesday, June 22, 2005 10:27 AM > To: 'Access Developers discussion and problem solving' > Subject: RE: [AccessD] Just Checking.... > > > ROTFL. Yea, I am getting old. > > I am about to launch a field naming convention discussion so look 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 DWUTKA at marlow.com > Sent: Wednesday, June 22, 2005 11:21 AM > To: accessd at databaseadvisors.com > Subject: RE: [AccessD] Just Checking.... > > > Sheesh JC.....you really must be losing it with old age.... > > What kind of statement is that? Technically, no one could not use a naming > convention. > > Drew > > -----Original Message----- > From: John W. Colby [mailto:jwcolby at colbyconsulting.com] > Sent: Tuesday, June 21, 2005 6:08 PM > To: 'Access Developers discussion and problem solving' > Subject: RE: [AccessD] Just Checking.... > > > Precisely so let's start one. > > Anyone who doesn't use a 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, June 21, 2005 5:46 PM > To: accessd at databaseadvisors.com > Subject: RE: [AccessD] Just Checking.... > > > Nope, just busy...and there hasn't been anything good to argue > about.......we normally just feed off what gets posted. It's not our fault > the other listers aren't posting juicy stuff to dig into! > > Drew > > -----Original Message----- > From: dmcafee at pacbell.net [mailto:dmcafee at pacbell.net] > Sent: Tuesday, June 21, 2005 2:11 PM > To: Access Developers discussion and problem solving > Subject: RE: [AccessD] Just Checking.... > > > JC & Drew must have gone on vacation or called a truce ;) > > :P > > > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Jim Hewson > Sent: Tuesday, June 21, 2005 11:39 AM > To: Access Developers discussion and problem solving > Subject: RE: [AccessD] Just Checking.... > > > I was thinking the same thing... > I haven't received anything for about 24 hours! > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Bryan Carbonnell > Sent: Tuesday, June 21, 2005 12:28 PM > To: Access Developers discussion and problem solving > Subject: [AccessD] Just Checking.... > > Just checking to see if there is anyone out there or is AccessD down? > > It's just too quite. > > -- > Bryan Carbonnell - carbonnb at gmail.com > Life's journey is not to arrive at the grave safely in a well preserved > body, but rather to skid in sideways, totally worn out, shouting "What a > great ride!" > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > > > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > > > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/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 jwcolby at colbyconsulting.com Wed Jun 22 12:27:46 2005 From: jwcolby at colbyconsulting.com (John W. Colby) Date: Wed, 22 Jun 2005 13:27:46 -0400 Subject: [AccessD] Just Checking.... In-Reply-To: Message-ID: <008701c5774f$b46fe180$6c7aa8c0@ColbyM6805> Well, as long as a field name is unique... John W. Colby www.ColbyConsulting.com Contribute your unused CPU cycles to 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, June 22, 2005 1:21 PM To: Access Developers discussion and problem solving Subject: RE: [AccessD] Just Checking.... Sorry to disappoint you, but I name my fields to indicate their table. I just object to elaborate field naming schemes complete with underscores, capitalized prefixes, etc., etc., etc. If that makes for an argument, we're all hard up for diversions. Charlotte Foust -----Original Message----- From: John W. Colby [mailto:jwcolby at colbyconsulting.com] Sent: Wednesday, June 22, 2005 9:57 AM To: 'Access Developers discussion and problem solving' Subject: RE: [AccessD] Just Checking.... GOOD, I rarely get to argue with 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, June 22, 2005 12:12 PM To: Access Developers discussion and problem solving Subject: RE: [AccessD] Just Checking.... OH NO! Please don't, John! I know you use one, but I OBJECT violently! Charlotte Foust -----Original Message----- From: John W. Colby [mailto:jwcolby at colbyconsulting.com] Sent: Wednesday, June 22, 2005 8:27 AM To: 'Access Developers discussion and problem solving' Subject: RE: [AccessD] Just Checking.... ROTFL. Yea, I am getting old. I am about to launch a field naming convention discussion so look 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 DWUTKA at marlow.com Sent: Wednesday, June 22, 2005 11:21 AM To: accessd at databaseadvisors.com Subject: RE: [AccessD] Just Checking.... Sheesh JC.....you really must be losing it with old age.... What kind of statement is that? Technically, no one could not use a naming convention. Drew -----Original Message----- From: John W. Colby [mailto:jwcolby at colbyconsulting.com] Sent: Tuesday, June 21, 2005 6:08 PM To: 'Access Developers discussion and problem solving' Subject: RE: [AccessD] Just Checking.... Precisely so let's start one. Anyone who doesn't use a 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, June 21, 2005 5:46 PM To: accessd at databaseadvisors.com Subject: RE: [AccessD] Just Checking.... Nope, just busy...and there hasn't been anything good to argue about.......we normally just feed off what gets posted. It's not our fault the other listers aren't posting juicy stuff to dig into! Drew -----Original Message----- From: dmcafee at pacbell.net [mailto:dmcafee at pacbell.net] Sent: Tuesday, June 21, 2005 2:11 PM To: Access Developers discussion and problem solving Subject: RE: [AccessD] Just Checking.... JC & Drew must have gone on vacation or called a truce ;) :P -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Jim Hewson Sent: Tuesday, June 21, 2005 11:39 AM To: Access Developers discussion and problem solving Subject: RE: [AccessD] Just Checking.... I was thinking the same thing... I haven't received anything for about 24 hours! -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Bryan Carbonnell Sent: Tuesday, June 21, 2005 12:28 PM To: Access Developers discussion and problem solving Subject: [AccessD] Just Checking.... Just checking to see if there is anyone out there or is AccessD down? It's just too quite. -- Bryan Carbonnell - carbonnb at gmail.com Life's journey is not to arrive at the grave safely in a well preserved body, but rather to skid in sideways, totally worn out, shouting "What a great ride!" -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd 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 Jun 22 12:36:07 2005 From: jwcolby at colbyconsulting.com (John W. Colby) Date: Wed, 22 Jun 2005 13:36:07 -0400 Subject: [AccessD] Classes not recognized in mda In-Reply-To: <6A6AA9DF57E4F046BDA1E273BDDB6772337696@corp-es01.fleetpride.com> Message-ID: <008801c57750$df1324f0$6c7aa8c0@ColbyM6805> We all stand on the shoulders of giants. In my case the giants were Shamil and a couple of the old timers of Access whom I don't know (weren't on our list) but who did so much "back when". The next step up from a library is a framework. Let me know when you are ready for that step. John W. Colby www.ColbyConsulting.com Contribute your unused CPU cycles to a good cause: http://folding.stanford.edu/ -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Hale, Jim Sent: Wednesday, June 22, 2005 12:32 PM To: 'Access Developers discussion and problem solving' Subject: RE: [AccessD] Classes not recognized in mda Got it! I was pasting instead of inserting. It works now, Muchas Gracias. BTW I reviewed the "sacred" framework discussion emails and found your detailed description of how to move classes to libraries. For anyone who wants to search the archives it is (surprise) "Framework Discussion - Moving to a library". How did you discover this stuff? It is not discussed anywhere else that I've seen. Jim Hale From Jdemarco at hudsonhealthplan.org Wed Jun 22 12:38:29 2005 From: Jdemarco at hudsonhealthplan.org (Jim DeMarco) Date: Wed, 22 Jun 2005 13:38:29 -0400 Subject: [AccessD] OT: Sharepoint Security (SOLVED) Message-ID: <08F823FD83787D4BA0B99CA580AD3C74016C3A66@TTNEXCHCL2.hshhp.com> Here's a link to M$ for the answer: http://www.microsoft.com/windowsserver2003/technologies/sharepoint/default.mspx In a nutshell it's a collaboration web site where teams can share documents in multiple libraries, share contacts, task lists, calendars and more. It's easily customizable and a pretty cool tool IMHO. You can set up your own user groups and customize access at every function level. If you run Windows Server 2003 you have a copy of SP Services already. The Portal version is the big brother and must be purchased. HTH, Jim DeMarco -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Jim Lawrence Sent: Wednesday, June 22, 2005 12:40 PM To: 'Access Developers discussion and problem solving' Subject: RE: [AccessD] OT: Sharepoint Security (SOLVED) Hi All: Given that this question will seem simple and slightly ignorant... what is a SharePoint Portal used for and what does it improve or replace. Jim -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Jim DeMarco Sent: Wednesday, June 22, 2005 9:33 AM To: Access Developers discussion and problem solving Subject: RE: [AccessD] OT: Sharepoint Security (SOLVED) The culprit seemed to be that the user(s) in question were members of a Desktop Administrators group that was set up for us. Removing that group from the Sharepoint server machine seems to have corrected the issue (further testing pending). Thanks to all, Jim DeMarco -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Jim DeMarco Sent: Wednesday, June 22, 2005 10:30 AM To: Access Developers discussion and problem solving Subject: RE: [AccessD] OT: Sharepoint Security Well I just set up a non-IT staff member with Read access and that's all he could do (read). When I removed him from the site he could not access it any longer. So it looks like it may be using Windows Security to authenticate users. Unfortunately I need to limit even our IT staff in various sections of the site so I've got to get a work around together. I'll keep you posted. Thanks, Jim DeMarco -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Jim Hewson Sent: Wednesday, June 22, 2005 10:08 AM To: Access Developers discussion and problem solving Subject: RE: [AccessD] OT: Sharepoint Security Jim, I'm a novice, but will become the SharePoint "Expert" when I change jobs, in my company, next month. I'm interested in the outcome of your question. A couple of random thoughts... There are two levels of security for SharePoint. They are Central Administration and Site Administration rights. Central take precedence over site rights. If a person is a member of the Central Administration group which manages the settings for the Web Server and virtual servers, they effectively have Administrative rights to the entire portal. In Site Administration, IIRC, there is a toggle somewhere to designate a person to have the same rights as the parent area or site. Let me know if you have found the solution. Regards, Jim H. -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Jim DeMarco Sent: Wednesday, June 22, 2005 8:04 AM To: AccessD (E-mail) Subject: [AccessD] OT: Sharepoint Security List, I've done some Googling but I can't seem to find the answer to this odd problem. I set up a Sharepoint site as a test bed (Sharepoint Services not Server) and gave a few users access. No matter what rights I give the users they have full admin rights to the sight. I set up custom security groups and the site is completely ignoring them. To further add to the mystery I removed on user (she is not a member of any security group therefore should not have access to the site) and she can still get in with full admin rights. Is it possible that Sharepoint is deferring to Windows rights? These are all IT staff here and have more liberal rights to our network than the average user. Does anyone have a clue? A push in the right direction would be appreciated. TIA Jim DeMarco Director of Application Development Hudson Health Plan ************************************************************************ *********** "This electronic message is intended to be for the use only of the named recipient, and may contain information from Hudson Health Plan (HHP) that is confidential or privileged. If you are not the intended recipient, you are hereby notified that any disclosure, copying, distribution or use of the contents of this message is strictly prohibited. If you have received this message in error or are not the named recipient, please notify us immediately, either by contacting the sender at the electronic mail address noted above or calling HHP at (914) 631-1611. If you are not the intended recipient, please do not forward this email to anyone, and delete and destroy all copies of this message. Thank You". ************************************************************************ *********** -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com **************************************************************************** ******* "This electronic message is intended to be for the use only of the named recipient, and may contain information from Hudson Health Plan (HHP) that is confidential or privileged. If you are not the intended recipient, you are hereby notified that any disclosure, copying, distribution or use of the contents of this message is strictly prohibited. If you have received this message in error or are not the named recipient, please notify us immediately, either by contacting the sender at the electronic mail address noted above or calling HHP at (914) 631-1611. If you are not the intended recipient, please do not forward this email to anyone, and delete and destroy all copies of this message. Thank You". **************************************************************************** ******* -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com **************************************************************************** ******* "This electronic message is intended to be for the use only of the named recipient, and may contain information from Hudson Health Plan (HHP) that is confidential or privileged. If you are not the intended recipient, you are hereby notified that any disclosure, copying, distribution or use of the contents of this message is strictly prohibited. If you have received this message in error or are not the named recipient, please notify us immediately, either by contacting the sender at the electronic mail address noted above or calling HHP at (914) 631-1611. If you are not the intended recipient, please do not forward this email to anyone, and delete and destroy all copies of this message. Thank You". **************************************************************************** ******* -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/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 bchacc at san.rr.com Wed Jun 22 12:38:30 2005 From: bchacc at san.rr.com (Rocky Smolin - Beach Access Software) Date: Wed, 22 Jun 2005 10:38:30 -0700 Subject: [AccessD] Open File Dialog Box Call Fails References: <916187228923D311A6FE00A0CC3FAA30ABEC6B@ADGSERVER> Message-ID: <017201c57751$34f142d0$6c01a8c0@HAL9004> Bobby: Thanks. I'll forward mine to him and see what happens. Rocky ----- Original Message ----- From: "Bobby Heid" To: "'Access Developers discussion and problem solving'" Sent: Wednesday, June 22, 2005 8:06 AM Subject: RE: [AccessD] Open File Dialog Box Call Fails > You might try sending him your version and have him back his dll (or full > system) up, unregister his version, copy yours to where his was, and > register it. This is a big YMMV. > > If his is different, you might could try the reverse on your system. If > it > worked, then recompile your app and then have him re-install. > > If the different versions is what is causing the problem, then you have > just > entered that infamous place lovingly called "DLL Hell." > > I am just shooting in the dark here, but this is some of the stuff that I > would investigate. > > Bobby > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Rocky Smolin - > Beach Access Software > Sent: Wednesday, June 22, 2005 10:45 AM > To: Access Developers discussion and problem solving > Cc: Ben Saltzer > Subject: Re: [AccessD] Open File Dialog Box Call Fails > > > I suppose he could check the properties on his comdlg32.dll. If it > doesn't > match the one I'm using (where the app still works) where could he find > the > old one? > > TIA > > Rocky > > ----- Original Message ----- > From: "Bobby Heid" > To: "'Access Developers discussion and problem solving'" > > Sent: Wednesday, June 22, 2005 7:39 AM > Subject: RE: [AccessD] Open File Dialog Box Call Fails > > >>I wonder if it is some sort of service pack that has hosed something? >>Or maybe he installed something that put a different version of >>comdlg32.dll? >> >> Bobby >> >> -----Original Message----- >> From: accessd-bounces at databaseadvisors.com >> [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Rocky >> Smolin - Beach Access Software >> Sent: Wednesday, June 22, 2005 10:26 AM >> To: AccessD at databaseadvisors.com; dba-tech >> Cc: Ben Saltzer >> Subject: [AccessD] Open File Dialog Box Call Fails >> >> >> Dear List: >> >> I have a client who's selling an app I wrote where I use the code from >> the ADH to call the file open dialog box: >> >> Declare Function adh_apiGetOpenFileName Lib "comdlg32.dll" _ Alias >> "GetOpenFileNameA" (ofn As tagOPENFILENAME) As Boolean >> >> I haven't worked on the app for several months and it's been very >> stable until a couple of weeks ago when this call began to fail with >> no error message. Just didn't open the dialog box. Then it failed on >> another computer. Then on another one. Now no computer in his place >> runs this api. >> >> I went over to his place and stepped through the code and sure enough >> it goes to the api call and then goes right through the api call >> without opening the dialog box. >> >> If we try to drop the common dialog control onto a form in design view >> from >> the additional tools list in the toolbox we get a message that says the >> OLE >> server isn't registered. >> >> So I need to figure out >> >> 1) how to get the OLE server registered (unregistered first I suppose) >> and see if that is somehow hosing the file open dialog box >> 2) figure out if there's a problem with comdlg32.dll >> 3) see if I can determine why this app suddenly went south so that it >> doesn't happen at one of his customer sites. >> >> He's using Access 2000 SP-3 but also fails in AXP. The app fails on >> both W2K and WXP. He's pretty careful about virus scanning. I don't >> think it is a virus even though it behaves like one. Is it possible >> that it got hosed by an automatic windows update? >> >> Any clue as to what's going on here would be greatly appreciated. >> >> MTIA, >> >> Rocky Smolin >> Beach Access Software >> http://www.e-z-mrp.com >> 858-259-4334 > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > From mwp.reid at qub.ac.uk Wed Jun 22 12:45:00 2005 From: mwp.reid at qub.ac.uk (Martin Reid) Date: Wed, 22 Jun 2005 18:45:00 +0100 Subject: [AccessD] OT: Sharepoint Security (SOLVED) References: <0IIH00C93VMOBK@l-daemon> Message-ID: <002b01c57752$1d87f480$0100a8c0@Martin> SPS provides the ability to search and index many WSS sites. It sites on top of WSS and allows you to pull them all together. Its a real cool tool for example full file store search, personal sites, auidences etc etc I have sent you a presentation on the very topic I am giving on Friday LOL Martin ----- Original Message ----- From: "Jim Lawrence" To: "'Access Developers discussion and problem solving'" Sent: Wednesday, June 22, 2005 5:40 PM Subject: RE: [AccessD] OT: Sharepoint Security (SOLVED) > Hi All: > > Given that this question will seem simple and slightly ignorant... what is > a > SharePoint Portal used for and what does it improve or replace. > > Jim > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Jim DeMarco > Sent: Wednesday, June 22, 2005 9:33 AM > To: Access Developers discussion and problem solving > Subject: RE: [AccessD] OT: Sharepoint Security (SOLVED) > > The culprit seemed to be that the user(s) in question were members of a > Desktop Administrators group that was set up for us. Removing that group > from the Sharepoint server machine seems to have corrected the issue > (further testing pending). > > Thanks to all, > > Jim DeMarco > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Jim DeMarco > Sent: Wednesday, June 22, 2005 10:30 AM > To: Access Developers discussion and problem solving > Subject: RE: [AccessD] OT: Sharepoint Security > > > Well I just set up a non-IT staff member with Read access and that's all > he > could do (read). When I removed him from the site he could not access it > any longer. So it looks like it may be using Windows Security to > authenticate users. Unfortunately I need to limit even our IT staff in > various sections of the site so I've got to get a work around together. > > I'll keep you posted. > > Thanks, > > Jim DeMarco > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Jim Hewson > Sent: Wednesday, June 22, 2005 10:08 AM > To: Access Developers discussion and problem solving > Subject: RE: [AccessD] OT: Sharepoint Security > > > Jim, > I'm a novice, but will become the SharePoint "Expert" when I change > jobs, in my company, next month. I'm interested in the outcome of your > question. > A couple of random thoughts... > There are two levels of security for SharePoint. They are Central > Administration and Site Administration rights. Central take precedence > over site rights. If a person is a member of the Central Administration > group which manages the settings for the Web Server and virtual servers, > they effectively have Administrative rights to the entire portal. > In Site Administration, IIRC, there is a toggle somewhere to designate a > person to have the same rights as the parent area or site. > Let me know if you have found the solution. > Regards, > Jim H. > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Jim DeMarco > Sent: Wednesday, June 22, 2005 8:04 AM > To: AccessD (E-mail) > Subject: [AccessD] OT: Sharepoint Security > > List, > > I've done some Googling but I can't seem to find the answer to this odd > problem. I set up a Sharepoint site as a test bed (Sharepoint Services > not Server) and gave a few users access. No matter what rights I give > the users they have full admin rights to the sight. I set up custom > security groups and the site is completely ignoring them. To further > add to the mystery I removed on user (she is not a member of any > security group therefore should not have access to the site) and she can > still get in with full admin rights. Is it possible that Sharepoint is > deferring to Windows rights? These are all IT staff here and have more > liberal rights to our network than the average user. > > Does anyone have a clue? A push in the right direction would be > appreciated. > > TIA > > Jim DeMarco > Director of Application Development > Hudson Health Plan > > > > ************************************************************************ > *********** > "This electronic message is intended to be for the use only of the named > recipient, and may contain information from Hudson Health Plan (HHP) > that is confidential or privileged. If you are not the intended > recipient, you are hereby notified that any disclosure, copying, > distribution or use of the contents of this message is strictly > prohibited. If you have received this message in error or are not the > named recipient, please notify us immediately, either by contacting the > sender at the electronic mail address noted above or calling HHP at > (914) 631-1611. If you are not the intended recipient, please do not > forward this email to anyone, and delete and destroy all copies of this > message. Thank You". > ************************************************************************ > *********** > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > > > > > > > **************************************************************************** > ******* > "This electronic message is intended to be for the use only of the named > recipient, and may contain information from Hudson Health Plan (HHP) that > is > confidential or privileged. If you are not the intended recipient, you > are > hereby notified that any disclosure, copying, distribution or use of the > contents of this message is strictly prohibited. If you have received > this > message in error or are not the named recipient, please notify us > immediately, either by contacting the sender at the electronic mail > address > noted above or calling HHP at (914) 631-1611. If you are not the intended > recipient, please do not forward this email to anyone, and delete and > destroy all copies of this message. Thank You". > **************************************************************************** > ******* > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > > > > > > > **************************************************************************** > ******* > "This electronic message is intended to be for the use only of the named > recipient, and may contain information from Hudson Health Plan (HHP) that > is > confidential or privileged. If you are not the intended recipient, you > are > hereby notified that any disclosure, copying, distribution or use of the > contents of this message is strictly prohibited. If you have received > this > message in error or are not the named recipient, please notify us > immediately, either by contacting the sender at the electronic mail > address > noted above or calling HHP at (914) 631-1611. If you are not the intended > recipient, please do not forward this email to anyone, and delete and > destroy all copies of this message. Thank You". > **************************************************************************** > ******* > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > 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 Jun 22 12:48:12 2005 From: cfoust at infostatsystems.com (Charlotte Foust) Date: Wed, 22 Jun 2005 10:48:12 -0700 Subject: [AccessD] Just Checking.... Message-ID: I used to design in Vision (before Microsoft took the forward engineering out of the Pro version :-<) and in the pre-MS versions, field names had to be unique. The exception was when you created a relationships and it automatically inserted a foreign key into the child table. That wasn't unique because it wasn't considered another field, simply a pointer to another table. Anyhow, I got into the habit way back. Charlotte Foust -----Original Message----- From: John W. Colby [mailto:jwcolby at colbyconsulting.com] Sent: Wednesday, June 22, 2005 10:28 AM To: 'Access Developers discussion and problem solving' Subject: RE: [AccessD] Just Checking.... Well, as long as a field name is unique... John W. Colby www.ColbyConsulting.com Contribute your unused CPU cycles to 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, June 22, 2005 1:21 PM To: Access Developers discussion and problem solving Subject: RE: [AccessD] Just Checking.... Sorry to disappoint you, but I name my fields to indicate their table. I just object to elaborate field naming schemes complete with underscores, capitalized prefixes, etc., etc., etc. If that makes for an argument, we're all hard up for diversions. Charlotte Foust -----Original Message----- From: John W. Colby [mailto:jwcolby at colbyconsulting.com] Sent: Wednesday, June 22, 2005 9:57 AM To: 'Access Developers discussion and problem solving' Subject: RE: [AccessD] Just Checking.... GOOD, I rarely get to argue with 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, June 22, 2005 12:12 PM To: Access Developers discussion and problem solving Subject: RE: [AccessD] Just Checking.... OH NO! Please don't, John! I know you use one, but I OBJECT violently! Charlotte Foust -----Original Message----- From: John W. Colby [mailto:jwcolby at colbyconsulting.com] Sent: Wednesday, June 22, 2005 8:27 AM To: 'Access Developers discussion and problem solving' Subject: RE: [AccessD] Just Checking.... ROTFL. Yea, I am getting old. I am about to launch a field naming convention discussion so look 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 DWUTKA at marlow.com Sent: Wednesday, June 22, 2005 11:21 AM To: accessd at databaseadvisors.com Subject: RE: [AccessD] Just Checking.... Sheesh JC.....you really must be losing it with old age.... What kind of statement is that? Technically, no one could not use a naming convention. Drew -----Original Message----- From: John W. Colby [mailto:jwcolby at colbyconsulting.com] Sent: Tuesday, June 21, 2005 6:08 PM To: 'Access Developers discussion and problem solving' Subject: RE: [AccessD] Just Checking.... Precisely so let's start one. Anyone who doesn't use a 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, June 21, 2005 5:46 PM To: accessd at databaseadvisors.com Subject: RE: [AccessD] Just Checking.... Nope, just busy...and there hasn't been anything good to argue about.......we normally just feed off what gets posted. It's not our fault the other listers aren't posting juicy stuff to dig into! Drew -----Original Message----- From: dmcafee at pacbell.net [mailto:dmcafee at pacbell.net] Sent: Tuesday, June 21, 2005 2:11 PM To: Access Developers discussion and problem solving Subject: RE: [AccessD] Just Checking.... JC & Drew must have gone on vacation or called a truce ;) :P -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Jim Hewson Sent: Tuesday, June 21, 2005 11:39 AM To: Access Developers discussion and problem solving Subject: RE: [AccessD] Just Checking.... I was thinking the same thing... I haven't received anything for about 24 hours! -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Bryan Carbonnell Sent: Tuesday, June 21, 2005 12:28 PM To: Access Developers discussion and problem solving Subject: [AccessD] Just Checking.... Just checking to see if there is anyone out there or is AccessD down? It's just too quite. -- Bryan Carbonnell - carbonnb at gmail.com Life's journey is not to arrive at the grave safely in a well preserved body, but rather to skid in sideways, totally worn out, shouting "What a great ride!" -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd 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 Jun 22 12:49:58 2005 From: Jim.Hale at FleetPride.com (Hale, Jim) Date: Wed, 22 Jun 2005 12:49:58 -0500 Subject: [AccessD] Classes not recognized in mda Message-ID: <6A6AA9DF57E4F046BDA1E273BDDB6772337698@corp-es01.fleetpride.com> I've started reviewing the framework discussion. I'll raise my hand when I get stuck, thanks Jim Hale -----Original Message----- From: John W. Colby [mailto:jwcolby at colbyconsulting.com] Sent: Wednesday, June 22, 2005 12:36 PM To: 'Access Developers discussion and problem solving' Subject: RE: [AccessD] Classes not recognized in mda We all stand on the shoulders of giants. In my case the giants were Shamil and a couple of the old timers of Access whom I don't know (weren't on our list) but who did so much "back when". The next step up from a library is a framework. Let me know when you are ready for that step. John W. Colby www.ColbyConsulting.com Contribute your unused CPU cycles to a good cause: http://folding.stanford.edu/ -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Hale, Jim Sent: Wednesday, June 22, 2005 12:32 PM To: 'Access Developers discussion and problem solving' Subject: RE: [AccessD] Classes not recognized in mda Got it! I was pasting instead of inserting. It works now, Muchas Gracias. BTW I reviewed the "sacred" framework discussion emails and found your detailed description of how to move classes to libraries. For anyone who wants to search the archives it is (surprise) "Framework Discussion - Moving to a library". How did you discover this stuff? It is not discussed anywhere else that I've seen. 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 Jdemarco at hudsonhealthplan.org Wed Jun 22 12:55:45 2005 From: Jdemarco at hudsonhealthplan.org (Jim DeMarco) Date: Wed, 22 Jun 2005 13:55:45 -0400 Subject: [AccessD] OT: Sharepoint Security (SOLVED) Message-ID: <08F823FD83787D4BA0B99CA580AD3C74016C3A67@TTNEXCHCL2.hshhp.com> True (SPS is the portal version for the uninitiated). And I didn't even mention the cool hooks into Office 2003 where you can connect Access to DBs posted on a site or link Excel sheets for real time data updates. JD -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Martin Reid Sent: Wednesday, June 22, 2005 1:45 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] OT: Sharepoint Security (SOLVED) SPS provides the ability to search and index many WSS sites. It sites on top of WSS and allows you to pull them all together. Its a real cool tool for example full file store search, personal sites, auidences etc etc I have sent you a presentation on the very topic I am giving on Friday LOL Martin ----- Original Message ----- From: "Jim Lawrence" To: "'Access Developers discussion and problem solving'" Sent: Wednesday, June 22, 2005 5:40 PM Subject: RE: [AccessD] OT: Sharepoint Security (SOLVED) > Hi All: > > Given that this question will seem simple and slightly ignorant... what is > a > SharePoint Portal used for and what does it improve or replace. > > Jim > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Jim DeMarco > Sent: Wednesday, June 22, 2005 9:33 AM > To: Access Developers discussion and problem solving > Subject: RE: [AccessD] OT: Sharepoint Security (SOLVED) > > The culprit seemed to be that the user(s) in question were members of a > Desktop Administrators group that was set up for us. Removing that group > from the Sharepoint server machine seems to have corrected the issue > (further testing pending). > > Thanks to all, > > Jim DeMarco > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Jim DeMarco > Sent: Wednesday, June 22, 2005 10:30 AM > To: Access Developers discussion and problem solving > Subject: RE: [AccessD] OT: Sharepoint Security > > > Well I just set up a non-IT staff member with Read access and that's all > he > could do (read). When I removed him from the site he could not access it > any longer. So it looks like it may be using Windows Security to > authenticate users. Unfortunately I need to limit even our IT staff in > various sections of the site so I've got to get a work around together. > > I'll keep you posted. > > Thanks, > > Jim DeMarco > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Jim Hewson > Sent: Wednesday, June 22, 2005 10:08 AM > To: Access Developers discussion and problem solving > Subject: RE: [AccessD] OT: Sharepoint Security > > > Jim, > I'm a novice, but will become the SharePoint "Expert" when I change > jobs, in my company, next month. I'm interested in the outcome of your > question. > A couple of random thoughts... > There are two levels of security for SharePoint. They are Central > Administration and Site Administration rights. Central take precedence > over site rights. If a person is a member of the Central Administration > group which manages the settings for the Web Server and virtual servers, > they effectively have Administrative rights to the entire portal. > In Site Administration, IIRC, there is a toggle somewhere to designate a > person to have the same rights as the parent area or site. > Let me know if you have found the solution. > Regards, > Jim H. > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Jim DeMarco > Sent: Wednesday, June 22, 2005 8:04 AM > To: AccessD (E-mail) > Subject: [AccessD] OT: Sharepoint Security > > List, > > I've done some Googling but I can't seem to find the answer to this odd > problem. I set up a Sharepoint site as a test bed (Sharepoint Services > not Server) and gave a few users access. No matter what rights I give > the users they have full admin rights to the sight. I set up custom > security groups and the site is completely ignoring them. To further > add to the mystery I removed on user (she is not a member of any > security group therefore should not have access to the site) and she can > still get in with full admin rights. Is it possible that Sharepoint is > deferring to Windows rights? These are all IT staff here and have more > liberal rights to our network than the average user. > > Does anyone have a clue? A push in the right direction would be > appreciated. > > TIA > > Jim DeMarco > Director of Application Development > Hudson Health Plan > > > > ************************************************************************ > *********** > "This electronic message is intended to be for the use only of the named > recipient, and may contain information from Hudson Health Plan (HHP) > that is confidential or privileged. If you are not the intended > recipient, you are hereby notified that any disclosure, copying, > distribution or use of the contents of this message is strictly > prohibited. If you have received this message in error or are not the > named recipient, please notify us immediately, either by contacting the > sender at the electronic mail address noted above or calling HHP at > (914) 631-1611. If you are not the intended recipient, please do not > forward this email to anyone, and delete and destroy all copies of this > message. Thank You". > ************************************************************************ > *********** > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > > > > > > > **************************************************************************** > ******* > "This electronic message is intended to be for the use only of the named > recipient, and may contain information from Hudson Health Plan (HHP) that > is > confidential or privileged. If you are not the intended recipient, you > are > hereby notified that any disclosure, copying, distribution or use of the > contents of this message is strictly prohibited. If you have received > this > message in error or are not the named recipient, please notify us > immediately, either by contacting the sender at the electronic mail > address > noted above or calling HHP at (914) 631-1611. If you are not the intended > recipient, please do not forward this email to anyone, and delete and > destroy all copies of this message. Thank You". > **************************************************************************** > ******* > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > > > > > > > **************************************************************************** > ******* > "This electronic message is intended to be for the use only of the named > recipient, and may contain information from Hudson Health Plan (HHP) that > is > confidential or privileged. If you are not the intended recipient, you > are > hereby notified that any disclosure, copying, distribution or use of the > contents of this message is strictly prohibited. If you have received > this > message in error or are not the named recipient, please notify us > immediately, either by contacting the sender at the electronic mail > address > noted above or calling HHP at (914) 631-1611. If you are not the intended > recipient, please do not forward this email to anyone, and delete and > destroy all copies of this message. Thank You". > **************************************************************************** > ******* > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/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 JRojas at tnco-inc.com Wed Jun 22 12:57:13 2005 From: JRojas at tnco-inc.com (Joe Rojas) Date: Wed, 22 Jun 2005 13:57:13 -0400 Subject: [AccessD] OT: Sharepoint Security (SOLVED) Message-ID: <0CC84C9461AE6445AD5A602001C41C4B05A374@mercury.tnco-inc.com> Hi Martin, Could you please send me a copy of that presentation also? SPS/WSS looks very nice but I am having a hard time understanding the differences between WSS and SPS. Thanks! JR jrojas at tnco-inc.com -----Original Message----- From: Martin Reid [mailto:mwp.reid at qub.ac.uk] Sent: Wednesday, June 22, 2005 1:45 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] OT: Sharepoint Security (SOLVED) SPS provides the ability to search and index many WSS sites. It sites on top of WSS and allows you to pull them all together. Its a real cool tool for example full file store search, personal sites, auidences etc etc I have sent you a presentation on the very topic I am giving on Friday LOL Martin ----- Original Message ----- From: "Jim Lawrence" To: "'Access Developers discussion and problem solving'" Sent: Wednesday, June 22, 2005 5:40 PM Subject: RE: [AccessD] OT: Sharepoint Security (SOLVED) > Hi All: > > Given that this question will seem simple and slightly ignorant... what is > a > SharePoint Portal used for and what does it improve or replace. > > Jim > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Jim DeMarco > Sent: Wednesday, June 22, 2005 9:33 AM > To: Access Developers discussion and problem solving > Subject: RE: [AccessD] OT: Sharepoint Security (SOLVED) > > The culprit seemed to be that the user(s) in question were members of a > Desktop Administrators group that was set up for us. Removing that group > from the Sharepoint server machine seems to have corrected the issue > (further testing pending). > > Thanks to all, > > Jim DeMarco > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Jim DeMarco > Sent: Wednesday, June 22, 2005 10:30 AM > To: Access Developers discussion and problem solving > Subject: RE: [AccessD] OT: Sharepoint Security > > > Well I just set up a non-IT staff member with Read access and that's all > he > could do (read). When I removed him from the site he could not access it > any longer. So it looks like it may be using Windows Security to > authenticate users. Unfortunately I need to limit even our IT staff in > various sections of the site so I've got to get a work around together. > > I'll keep you posted. > > Thanks, > > Jim DeMarco > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Jim Hewson > Sent: Wednesday, June 22, 2005 10:08 AM > To: Access Developers discussion and problem solving > Subject: RE: [AccessD] OT: Sharepoint Security > > > Jim, > I'm a novice, but will become the SharePoint "Expert" when I change > jobs, in my company, next month. I'm interested in the outcome of your > question. > A couple of random thoughts... > There are two levels of security for SharePoint. They are Central > Administration and Site Administration rights. Central take precedence > over site rights. If a person is a member of the Central Administration > group which manages the settings for the Web Server and virtual servers, > they effectively have Administrative rights to the entire portal. > In Site Administration, IIRC, there is a toggle somewhere to designate a > person to have the same rights as the parent area or site. > Let me know if you have found the solution. > Regards, > Jim H. > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Jim DeMarco > Sent: Wednesday, June 22, 2005 8:04 AM > To: AccessD (E-mail) > Subject: [AccessD] OT: Sharepoint Security > > List, > > I've done some Googling but I can't seem to find the answer to this odd > problem. I set up a Sharepoint site as a test bed (Sharepoint Services > not Server) and gave a few users access. No matter what rights I give > the users they have full admin rights to the sight. I set up custom > security groups and the site is completely ignoring them. To further > add to the mystery I removed on user (she is not a member of any > security group therefore should not have access to the site) and she can > still get in with full admin rights. Is it possible that Sharepoint is > deferring to Windows rights? These are all IT staff here and have more > liberal rights to our network than the average user. > > Does anyone have a clue? A push in the right direction would be > appreciated. > > TIA > > Jim DeMarco > Director of Application Development > Hudson Health Plan > > > > ************************************************************************ > *********** > "This electronic message is intended to be for the use only of the named > recipient, and may contain information from Hudson Health Plan (HHP) > that is confidential or privileged. If you are not the intended > recipient, you are hereby notified that any disclosure, copying, > distribution or use of the contents of this message is strictly > prohibited. If you have received this message in error or are not the > named recipient, please notify us immediately, either by contacting the > sender at the electronic mail address noted above or calling HHP at > (914) 631-1611. If you are not the intended recipient, please do not > forward this email to anyone, and delete and destroy all copies of this > message. Thank You". > ************************************************************************ > *********** > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > > > > > > > **************************************************************************** > ******* > "This electronic message is intended to be for the use only of the named > recipient, and may contain information from Hudson Health Plan (HHP) that > is > confidential or privileged. If you are not the intended recipient, you > are > hereby notified that any disclosure, copying, distribution or use of the > contents of this message is strictly prohibited. If you have received > this > message in error or are not the named recipient, please notify us > immediately, either by contacting the sender at the electronic mail > address > noted above or calling HHP at (914) 631-1611. If you are not the intended > recipient, please do not forward this email to anyone, and delete and > destroy all copies of this message. Thank You". > **************************************************************************** > ******* > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > > > > > > > **************************************************************************** > ******* > "This electronic message is intended to be for the use only of the named > recipient, and may contain information from Hudson Health Plan (HHP) that > is > confidential or privileged. If you are not the intended recipient, you > are > hereby notified that any disclosure, copying, distribution or use of the > contents of this message is strictly prohibited. If you have received > this > message in error or are not the named recipient, please notify us > immediately, either by contacting the sender at the electronic mail > address > noted above or calling HHP at (914) 631-1611. If you are not the intended > recipient, please do not forward this email to anyone, and delete and > destroy all copies of this message. Thank You". > **************************************************************************** > ******* > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/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 jmhecht at earthlink.net Wed Jun 22 13:00:39 2005 From: jmhecht at earthlink.net (Joe Hecht) Date: Wed, 22 Jun 2005 11:00:39 -0700 Subject: [AccessD] Good Code Bad Code Question Message-ID: <000001c57754$4d4e6a30$6401a8c0@laptop1> The following line of code works correctly Me.txtCost.Value = Me.cboPartNum.Column(2) When I try to compile the code I get an error message that .cboPartNum Method or Data member not found. Any Idea what is up? Option Explicit is set Thanks Joe Hecht Los Angeles CA From mwp.reid at qub.ac.uk Wed Jun 22 13:01:18 2005 From: mwp.reid at qub.ac.uk (Martin Reid) Date: Wed, 22 Jun 2005 19:01:18 +0100 Subject: [AccessD] OT: Sharepoint Security (SOLVED) References: <08F823FD83787D4BA0B99CA580AD3C74016C3A67@TTNEXCHCL2.hshhp.com> Message-ID: <011401c57754$64dd7380$0100a8c0@Martin> Hi Jim I did a paper for Microsoft on this last year. http://msdn.microsoft.com/library/default.asp?url=/library/en-us/odc_fp2003_ta/html/odc_FP_whatsnew2003.asp http://msdn.microsoft.com/library/default.asp?url=/library/en-us/odc_fp2003_ta/html/odc_FP_whatsnew2003.asp May be interesting Martin ----- Original Message ----- From: "Jim DeMarco" To: "Access Developers discussion and problem solving" Sent: Wednesday, June 22, 2005 6:55 PM Subject: RE: [AccessD] OT: Sharepoint Security (SOLVED) > True (SPS is the portal version for the uninitiated). And I didn't even > mention the cool hooks into Office 2003 where you can connect Access to > DBs posted on a site or link Excel sheets for real time data updates. > > JD > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Martin Reid > Sent: Wednesday, June 22, 2005 1:45 PM > To: Access Developers discussion and problem solving > Subject: Re: [AccessD] OT: Sharepoint Security (SOLVED) > > > SPS provides the ability to search and index many WSS sites. It sites on > top > of WSS and allows you to pull them all together. Its a real cool tool for > example full file store search, personal sites, auidences etc etc > > I have sent you a presentation on the very topic I am giving on Friday LOL > > > Martin > > > ----- Original Message ----- > From: "Jim Lawrence" > To: "'Access Developers discussion and problem solving'" > > Sent: Wednesday, June 22, 2005 5:40 PM > Subject: RE: [AccessD] OT: Sharepoint Security (SOLVED) > > >> Hi All: >> >> Given that this question will seem simple and slightly ignorant... what >> is >> a >> SharePoint Portal used for and what does it improve or replace. >> >> Jim >> >> -----Original Message----- >> From: accessd-bounces at databaseadvisors.com >> [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Jim DeMarco >> Sent: Wednesday, June 22, 2005 9:33 AM >> To: Access Developers discussion and problem solving >> Subject: RE: [AccessD] OT: Sharepoint Security (SOLVED) >> >> The culprit seemed to be that the user(s) in question were members of a >> Desktop Administrators group that was set up for us. Removing that group >> from the Sharepoint server machine seems to have corrected the issue >> (further testing pending). >> >> Thanks to all, >> >> Jim DeMarco >> >> -----Original Message----- >> From: accessd-bounces at databaseadvisors.com >> [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Jim DeMarco >> Sent: Wednesday, June 22, 2005 10:30 AM >> To: Access Developers discussion and problem solving >> Subject: RE: [AccessD] OT: Sharepoint Security >> >> >> Well I just set up a non-IT staff member with Read access and that's all >> > he >> could do (read). When I removed him from the site he could not access it >> any longer. So it looks like it may be using Windows Security to >> authenticate users. Unfortunately I need to limit even our IT staff in >> various sections of the site so I've got to get a work around together. >> >> I'll keep you posted. >> >> Thanks, >> >> Jim DeMarco >> >> -----Original Message----- >> From: accessd-bounces at databaseadvisors.com >> [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Jim Hewson >> Sent: Wednesday, June 22, 2005 10:08 AM >> To: Access Developers discussion and problem solving >> Subject: RE: [AccessD] OT: Sharepoint Security >> >> >> Jim, >> I'm a novice, but will become the SharePoint "Expert" when I change >> jobs, in my company, next month. I'm interested in the outcome of your >> question. >> A couple of random thoughts... >> There are two levels of security for SharePoint. They are Central >> Administration and Site Administration rights. Central take precedence >> over site rights. If a person is a member of the Central Administration >> group which manages the settings for the Web Server and virtual servers, >> they effectively have Administrative rights to the entire portal. >> In Site Administration, IIRC, there is a toggle somewhere to designate a >> person to have the same rights as the parent area or site. >> Let me know if you have found the solution. >> Regards, >> Jim H. >> >> -----Original Message----- >> From: accessd-bounces at databaseadvisors.com >> [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Jim DeMarco >> Sent: Wednesday, June 22, 2005 8:04 AM >> To: AccessD (E-mail) >> Subject: [AccessD] OT: Sharepoint Security >> >> List, >> >> I've done some Googling but I can't seem to find the answer to this odd >> problem. I set up a Sharepoint site as a test bed (Sharepoint Services >> not Server) and gave a few users access. No matter what rights I give >> the users they have full admin rights to the sight. I set up custom >> security groups and the site is completely ignoring them. To further >> add to the mystery I removed on user (she is not a member of any >> security group therefore should not have access to the site) and she can >> still get in with full admin rights. Is it possible that Sharepoint is >> deferring to Windows rights? These are all IT staff here and have more >> liberal rights to our network than the average user. >> >> Does anyone have a clue? A push in the right direction would be >> appreciated. >> >> TIA >> >> Jim DeMarco >> Director of Application Development >> Hudson Health Plan >> >> >> >> ************************************************************************ >> *********** >> "This electronic message is intended to be for the use only of the named >> recipient, and may contain information from Hudson Health Plan (HHP) >> that is confidential or privileged. If you are not the intended >> recipient, you are hereby notified that any disclosure, copying, >> distribution or use of the contents of this message is strictly >> prohibited. If you have received this message in error or are not the >> named recipient, please notify us immediately, either by contacting the >> sender at the electronic mail address noted above or calling HHP at >> (914) 631-1611. If you are not the intended recipient, please do not >> forward this email to anyone, and delete and destroy all copies of this >> message. Thank You". >> ************************************************************************ >> *********** >> >> -- >> AccessD mailing list >> AccessD at databaseadvisors.com >> http://databaseadvisors.com/mailman/listinfo/accessd >> Website: http://www.databaseadvisors.com >> -- >> AccessD mailing list >> AccessD at databaseadvisors.com >> http://databaseadvisors.com/mailman/listinfo/accessd >> Website: http://www.databaseadvisors.com >> >> >> >> >> >> >> **************************************************************************** >> ******* >> "This electronic message is intended to be for the use only of the named >> recipient, and may contain information from Hudson Health Plan (HHP) that >> > is >> confidential or privileged. If you are not the intended recipient, you > >> are >> hereby notified that any disclosure, copying, distribution or use of the >> contents of this message is strictly prohibited. If you have received >> this >> message in error or are not the named recipient, please notify us >> immediately, either by contacting the sender at the electronic mail >> address >> noted above or calling HHP at (914) 631-1611. If you are not the intended >> recipient, please do not forward this email to anyone, and delete and >> destroy all copies of this message. Thank You". >> **************************************************************************** >> ******* >> >> -- >> AccessD mailing list >> AccessD at databaseadvisors.com >> http://databaseadvisors.com/mailman/listinfo/accessd >> Website: http://www.databaseadvisors.com >> >> >> >> >> >> >> **************************************************************************** >> ******* >> "This electronic message is intended to be for the use only of the named >> recipient, and may contain information from Hudson Health Plan (HHP) that >> > is >> confidential or privileged. If you are not the intended recipient, you > >> are >> hereby notified that any disclosure, copying, distribution or use of the >> contents of this message is strictly prohibited. If you have received >> this >> message in error or are not the named recipient, please notify us >> immediately, either by contacting the sender at the electronic mail >> address >> noted above or calling HHP at (914) 631-1611. If you are not the intended >> recipient, please do not forward this email to anyone, and delete and >> destroy all copies of this message. Thank You". >> **************************************************************************** >> ******* >> >> -- >> AccessD mailing list >> AccessD at databaseadvisors.com >> http://databaseadvisors.com/mailman/listinfo/accessd >> Website: http://www.databaseadvisors.com >> >> -- >> AccessD mailing list >> AccessD at databaseadvisors.com >> http://databaseadvisors.com/mailman/listinfo/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 cfoust at infostatsystems.com Wed Jun 22 13:03:35 2005 From: cfoust at infostatsystems.com (Charlotte Foust) Date: Wed, 22 Jun 2005 11:03:35 -0700 Subject: [AccessD] Just Checking.... Message-ID: Oops! Make that Visio (no N on the end). Blame the muscle relaxants for back spasms, please. Charlotte Foust -----Original Message----- From: Charlotte Foust Sent: Wednesday, June 22, 2005 10:48 AM To: Access Developers discussion and problem solving Subject: RE: [AccessD] Just Checking.... I used to design in Vision (before Microsoft took the forward engineering out of the Pro version :-<) and in the pre-MS versions, field names had to be unique. The exception was when you created a relationships and it automatically inserted a foreign key into the child table. That wasn't unique because it wasn't considered another field, simply a pointer to another table. Anyhow, I got into the habit way back. Charlotte Foust -----Original Message----- From: John W. Colby [mailto:jwcolby at colbyconsulting.com] Sent: Wednesday, June 22, 2005 10:28 AM To: 'Access Developers discussion and problem solving' Subject: RE: [AccessD] Just Checking.... Well, as long as a field name is unique... John W. Colby www.ColbyConsulting.com Contribute your unused CPU cycles to 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, June 22, 2005 1:21 PM To: Access Developers discussion and problem solving Subject: RE: [AccessD] Just Checking.... Sorry to disappoint you, but I name my fields to indicate their table. I just object to elaborate field naming schemes complete with underscores, capitalized prefixes, etc., etc., etc. If that makes for an argument, we're all hard up for diversions. Charlotte Foust -----Original Message----- From: John W. Colby [mailto:jwcolby at colbyconsulting.com] Sent: Wednesday, June 22, 2005 9:57 AM To: 'Access Developers discussion and problem solving' Subject: RE: [AccessD] Just Checking.... GOOD, I rarely get to argue with 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, June 22, 2005 12:12 PM To: Access Developers discussion and problem solving Subject: RE: [AccessD] Just Checking.... OH NO! Please don't, John! I know you use one, but I OBJECT violently! Charlotte Foust -----Original Message----- From: John W. Colby [mailto:jwcolby at colbyconsulting.com] Sent: Wednesday, June 22, 2005 8:27 AM To: 'Access Developers discussion and problem solving' Subject: RE: [AccessD] Just Checking.... ROTFL. Yea, I am getting old. I am about to launch a field naming convention discussion so look 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 DWUTKA at marlow.com Sent: Wednesday, June 22, 2005 11:21 AM To: accessd at databaseadvisors.com Subject: RE: [AccessD] Just Checking.... Sheesh JC.....you really must be losing it with old age.... What kind of statement is that? Technically, no one could not use a naming convention. Drew -----Original Message----- From: John W. Colby [mailto:jwcolby at colbyconsulting.com] Sent: Tuesday, June 21, 2005 6:08 PM To: 'Access Developers discussion and problem solving' Subject: RE: [AccessD] Just Checking.... Precisely so let's start one. Anyone who doesn't use a 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, June 21, 2005 5:46 PM To: accessd at databaseadvisors.com Subject: RE: [AccessD] Just Checking.... Nope, just busy...and there hasn't been anything good to argue about.......we normally just feed off what gets posted. It's not our fault the other listers aren't posting juicy stuff to dig into! Drew -----Original Message----- From: dmcafee at pacbell.net [mailto:dmcafee at pacbell.net] Sent: Tuesday, June 21, 2005 2:11 PM To: Access Developers discussion and problem solving Subject: RE: [AccessD] Just Checking.... JC & Drew must have gone on vacation or called a truce ;) :P -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Jim Hewson Sent: Tuesday, June 21, 2005 11:39 AM To: Access Developers discussion and problem solving Subject: RE: [AccessD] Just Checking.... I was thinking the same thing... I haven't received anything for about 24 hours! -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Bryan Carbonnell Sent: Tuesday, June 21, 2005 12:28 PM To: Access Developers discussion and problem solving Subject: [AccessD] Just Checking.... Just checking to see if there is anyone out there or is AccessD down? It's just too quite. -- Bryan Carbonnell - carbonnb at gmail.com Life's journey is not to arrive at the grave safely in a well preserved body, but rather to skid in sideways, totally worn out, shouting "What a great ride!" -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd 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 Jun 22 13:04:29 2005 From: jmhecht at earthlink.net (Joe Hecht) Date: Wed, 22 Jun 2005 11:04:29 -0700 Subject: [AccessD] Field Naming ( Just once I want to be ahead of JC ) In-Reply-To: <008501c5774b$551bb960$6c7aa8c0@ColbyM6805> Message-ID: <001101c57754$d64a29f0$6401a8c0@laptop1> My day is made. My work is blessed by John. 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: Wednesday, June 22, 2005 9:56 AM To: access at joe2.endjunk.com; 'Access Developers discussion and problem solving' Subject: RE: [AccessD] Field Naming ( Just once I want to be ahead of JC ) Good job Joe, my point exactly. From Jdemarco at hudsonhealthplan.org Wed Jun 22 13:05:56 2005 From: Jdemarco at hudsonhealthplan.org (Jim DeMarco) Date: Wed, 22 Jun 2005 14:05:56 -0400 Subject: [AccessD] OT: Sharepoint Security (SOLVED) Message-ID: <08F823FD83787D4BA0B99CA580AD3C74016C3A68@TTNEXCHCL2.hshhp.com> Very nice. Thanks. Jim -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Martin Reid Sent: Wednesday, June 22, 2005 2:01 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] OT: Sharepoint Security (SOLVED) Hi Jim I did a paper for Microsoft on this last year. http://msdn.microsoft.com/library/default.asp?url=/library/en-us/odc_fp2003_ta/html/odc_FP_whatsnew2003.asp http://msdn.microsoft.com/library/default.asp?url=/library/en-us/odc_fp2003_ta/html/odc_FP_whatsnew2003.asp May be interesting Martin ----- Original Message ----- From: "Jim DeMarco" To: "Access Developers discussion and problem solving" Sent: Wednesday, June 22, 2005 6:55 PM Subject: RE: [AccessD] OT: Sharepoint Security (SOLVED) > True (SPS is the portal version for the uninitiated). And I didn't even > mention the cool hooks into Office 2003 where you can connect Access to > DBs posted on a site or link Excel sheets for real time data updates. > > JD > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Martin Reid > Sent: Wednesday, June 22, 2005 1:45 PM > To: Access Developers discussion and problem solving > Subject: Re: [AccessD] OT: Sharepoint Security (SOLVED) > > > SPS provides the ability to search and index many WSS sites. It sites on > top > of WSS and allows you to pull them all together. Its a real cool tool for > example full file store search, personal sites, auidences etc etc > > I have sent you a presentation on the very topic I am giving on Friday LOL > > > Martin > > > ----- Original Message ----- > From: "Jim Lawrence" > To: "'Access Developers discussion and problem solving'" > > Sent: Wednesday, June 22, 2005 5:40 PM > Subject: RE: [AccessD] OT: Sharepoint Security (SOLVED) > > >> Hi All: >> >> Given that this question will seem simple and slightly ignorant... what >> is >> a >> SharePoint Portal used for and what does it improve or replace. >> >> Jim >> >> -----Original Message----- >> From: accessd-bounces at databaseadvisors.com >> [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Jim DeMarco >> Sent: Wednesday, June 22, 2005 9:33 AM >> To: Access Developers discussion and problem solving >> Subject: RE: [AccessD] OT: Sharepoint Security (SOLVED) >> >> The culprit seemed to be that the user(s) in question were members of a >> Desktop Administrators group that was set up for us. Removing that group >> from the Sharepoint server machine seems to have corrected the issue >> (further testing pending). >> >> Thanks to all, >> >> Jim DeMarco >> >> -----Original Message----- >> From: accessd-bounces at databaseadvisors.com >> [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Jim DeMarco >> Sent: Wednesday, June 22, 2005 10:30 AM >> To: Access Developers discussion and problem solving >> Subject: RE: [AccessD] OT: Sharepoint Security >> >> >> Well I just set up a non-IT staff member with Read access and that's all >> > he >> could do (read). When I removed him from the site he could not access it >> any longer. So it looks like it may be using Windows Security to >> authenticate users. Unfortunately I need to limit even our IT staff in >> various sections of the site so I've got to get a work around together. >> >> I'll keep you posted. >> >> Thanks, >> >> Jim DeMarco >> >> -----Original Message----- >> From: accessd-bounces at databaseadvisors.com >> [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Jim Hewson >> Sent: Wednesday, June 22, 2005 10:08 AM >> To: Access Developers discussion and problem solving >> Subject: RE: [AccessD] OT: Sharepoint Security >> >> >> Jim, >> I'm a novice, but will become the SharePoint "Expert" when I change >> jobs, in my company, next month. I'm interested in the outcome of your >> question. >> A couple of random thoughts... >> There are two levels of security for SharePoint. They are Central >> Administration and Site Administration rights. Central take precedence >> over site rights. If a person is a member of the Central Administration >> group which manages the settings for the Web Server and virtual servers, >> they effectively have Administrative rights to the entire portal. >> In Site Administration, IIRC, there is a toggle somewhere to designate a >> person to have the same rights as the parent area or site. >> Let me know if you have found the solution. >> Regards, >> Jim H. >> >> -----Original Message----- >> From: accessd-bounces at databaseadvisors.com >> [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Jim DeMarco >> Sent: Wednesday, June 22, 2005 8:04 AM >> To: AccessD (E-mail) >> Subject: [AccessD] OT: Sharepoint Security >> >> List, >> >> I've done some Googling but I can't seem to find the answer to this odd >> problem. I set up a Sharepoint site as a test bed (Sharepoint Services >> not Server) and gave a few users access. No matter what rights I give >> the users they have full admin rights to the sight. I set up custom >> security groups and the site is completely ignoring them. To further >> add to the mystery I removed on user (she is not a member of any >> security group therefore should not have access to the site) and she can >> still get in with full admin rights. Is it possible that Sharepoint is >> deferring to Windows rights? These are all IT staff here and have more >> liberal rights to our network than the average user. >> >> Does anyone have a clue? A push in the right direction would be >> appreciated. >> >> TIA >> >> Jim DeMarco >> Director of Application Development >> Hudson Health Plan >> >> >> >> ************************************************************************ >> *********** >> "This electronic message is intended to be for the use only of the named >> recipient, and may contain information from Hudson Health Plan (HHP) >> that is confidential or privileged. If you are not the intended >> recipient, you are hereby notified that any disclosure, copying, >> distribution or use of the contents of this message is strictly >> prohibited. If you have received this message in error or are not the >> named recipient, please notify us immediately, either by contacting the >> sender at the electronic mail address noted above or calling HHP at >> (914) 631-1611. If you are not the intended recipient, please do not >> forward this email to anyone, and delete and destroy all copies of this >> message. Thank You". >> ************************************************************************ >> *********** >> >> -- >> AccessD mailing list >> AccessD at databaseadvisors.com >> http://databaseadvisors.com/mailman/listinfo/accessd >> Website: http://www.databaseadvisors.com >> -- >> AccessD mailing list >> AccessD at databaseadvisors.com >> http://databaseadvisors.com/mailman/listinfo/accessd >> Website: http://www.databaseadvisors.com >> >> >> >> >> >> >> **************************************************************************** >> ******* >> "This electronic message is intended to be for the use only of the named >> recipient, and may contain information from Hudson Health Plan (HHP) that >> > is >> confidential or privileged. If you are not the intended recipient, you > >> are >> hereby notified that any disclosure, copying, distribution or use of the >> contents of this message is strictly prohibited. If you have received >> this >> message in error or are not the named recipient, please notify us >> immediately, either by contacting the sender at the electronic mail >> address >> noted above or calling HHP at (914) 631-1611. If you are not the intended >> recipient, please do not forward this email to anyone, and delete and >> destroy all copies of this message. Thank You". >> **************************************************************************** >> ******* >> >> -- >> AccessD mailing list >> AccessD at databaseadvisors.com >> http://databaseadvisors.com/mailman/listinfo/accessd >> Website: http://www.databaseadvisors.com >> >> >> >> >> >> >> **************************************************************************** >> ******* >> "This electronic message is intended to be for the use only of the named >> recipient, and may contain information from Hudson Health Plan (HHP) that >> > is >> confidential or privileged. If you are not the intended recipient, you > >> are >> hereby notified that any disclosure, copying, distribution or use of the >> contents of this message is strictly prohibited. If you have received >> this >> message in error or are not the named recipient, please notify us >> immediately, either by contacting the sender at the electronic mail >> address >> noted above or calling HHP at (914) 631-1611. If you are not the intended >> recipient, please do not forward this email to anyone, and delete and >> destroy all copies of this message. Thank You". >> **************************************************************************** >> ******* >> >> -- >> AccessD mailing list >> AccessD at databaseadvisors.com >> http://databaseadvisors.com/mailman/listinfo/accessd >> Website: http://www.databaseadvisors.com >> >> -- >> AccessD mailing list >> AccessD at databaseadvisors.com >> http://databaseadvisors.com/mailman/listinfo/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 jmhecht at earthlink.net Wed Jun 22 13:10:49 2005 From: jmhecht at earthlink.net (Joe Hecht) Date: Wed, 22 Jun 2005 11:10:49 -0700 Subject: [AccessD] Field Naming ( Just once I want to be ahead of JC ) In-Reply-To: <123701F54509D9119A4F00D0B747349016D751@main2.marlow.com> Message-ID: <001201c57755$b8d6d660$6401a8c0@laptop1> My gosh, I had an idea that drew liked too. Joe Hecht Los Angeles CA -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of DWUTKA at marlow.com Subject: RE: [AccessD] Field Naming ( Just once I want to be ahead of JC ) Not a bad idea. Drew -----Original Message----- From: Joe Hecht [mailto:jmhecht at earthlink.net] Sent: Wednesday, June 22, 2005 11:37 AM To: 'Access Developers discussion and problem solving' Subject: [AccessD] Field Naming ( Just once I want to be ahead of JC ) When naming fields in table design view I try to prefix the field with something to identify the source table i.e.: Custfname custLname repfname replname 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 From newsgrps at dalyn.co.nz Wed Jun 22 13:15:04 2005 From: newsgrps at dalyn.co.nz (David Emerson) Date: Thu, 23 Jun 2005 06:15:04 +1200 Subject: [AccessD] Linking Graph to Report In-Reply-To: <6.2.1.2.0.20050622131317.031142c0@mail.dalyn.co.nz> References: <6.2.1.2.0.20050622131317.031142c0@mail.dalyn.co.nz> Message-ID: <6.2.1.2.0.20050623061343.03205eb0@mail.dalyn.co.nz> Following up on yesterday's question, I know that there was a bug with A97 and linked charts but I am not aware of it still being an issue with AXP. David At 22/06/2005, you wrote: >Access XP adp, SQL2000. > >I have a report with a graph on it. The graph is to show the number of >days it took to process client information. Each month should have its >own graph on a separate page. The reports source is a stored procedure >which provides the months as an integer in the form yyyymm. > >SELECT ttmpPlanTrackGraph.ConsultPlanFranchise, ttmpPlanTrackGraph.YrMth >FROM ttmpPlanTrackGraph >GROUP BY ttmpPlanTrackGraph.ConsultPlanFranchise, ttmpPlanTrackGraph.YrMth > >The graphs source is also a stored procedure which includes a field with >the month in the same format. > >SELECT ttmpPlanTrackGraph.ClientName, ttmpPlanTrackGraph.FranDays AS [Work >Days in Fran], ttmpPlanTrackGraph.BurDays AS [Work Days in Bureau], >ttmpPlanTrackGraph.ConsultPlanFranchise, ttmpPlanTrackGraph.YrMth >FROM ttmpPlanTrackGraph > >I have set the Link Child Field and Link Master fields both to YrMth. The >report shows a different page for each month, however each graph shows all >records, not just the one for the pages month. > >How do I get only the relevant month's data showing on each page? > >Regards > >David Emerson >Dalyn Software Ltd >25 Cunliffe St, Churton Park >Wellington, New Zealand >Ph/Fax (04) 478-7456 >Mobile 027-280-9348 -- From jmhecht at earthlink.net Wed Jun 22 13:15:20 2005 From: jmhecht at earthlink.net (Joe Hecht) Date: Wed, 22 Jun 2005 11:15:20 -0700 Subject: [AccessD] Field Names -> Setting control names Message-ID: <001301c57756$5a781880$6401a8c0@laptop1> As long as we are here does anyone have a wizard or code or better a John Colby that can 1. Look at the field name 2. Look at the property sheet in the table 3. Create a form that can take a good guess to what the control is a. Look at the field name and Name the controls when the form is built CboCustName Txtcity And so on. Joe Hecht Los Angeles CA From cfoust at infostatsystems.com Wed Jun 22 13:15:39 2005 From: cfoust at infostatsystems.com (Charlotte Foust) Date: Wed, 22 Jun 2005 11:15:39 -0700 Subject: [AccessD] Good Code Bad Code Question Message-ID: You lost me, Joe. You say it works correctly but you get a compile error?? If you get a compile error, it shouldn't work. Have you tried decompile and recompile? I have to say that in later versions of Access, I've had better luck using the afterupdate of a combo to put a non-value column value into another control. Have you tried that? Charlotte Foust -----Original Message----- From: Joe Hecht [mailto:jmhecht at earthlink.net] Sent: Wednesday, June 22, 2005 11:01 AM To: 'Access Developers discussion and problem solving' Subject: [AccessD] Good Code Bad Code Question The following line of code works correctly Me.txtCost.Value = Me.cboPartNum.Column(2) When I try to compile the code I get an error message that .cboPartNum Method or Data member not found. Any Idea what is up? Option Explicit is set Thanks Joe Hecht Los Angeles CA -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From DWUTKA at marlow.com Wed Jun 22 13:13:53 2005 From: DWUTKA at marlow.com (DWUTKA at marlow.com) Date: Wed, 22 Jun 2005 13:13:53 -0500 Subject: [AccessD] Field Naming ( Just once I want to be ahead of JC ) Message-ID: <123701F54509D9119A4F00D0B747349016D755@main2.marlow.com> Go buy a lottery ticket now.... Drew -----Original Message----- From: Joe Hecht [mailto:jmhecht at earthlink.net] Sent: Wednesday, June 22, 2005 1:11 PM To: 'Access Developers discussion and problem solving' Subject: RE: [AccessD] Field Naming ( Just once I want to be ahead of JC ) My gosh, I had an idea that drew liked too. Joe Hecht Los Angeles CA -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of DWUTKA at marlow.com Subject: RE: [AccessD] Field Naming ( Just once I want to be ahead of JC ) Not a bad idea. Drew -----Original Message----- From: Joe Hecht [mailto:jmhecht at earthlink.net] Sent: Wednesday, June 22, 2005 11:37 AM To: 'Access Developers discussion and problem solving' Subject: [AccessD] Field Naming ( Just once I want to be ahead of JC ) When naming fields in table design view I try to prefix the field with something to identify the source table i.e.: Custfname custLname repfname replname 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 cfoust at infostatsystems.com Wed Jun 22 13:17:55 2005 From: cfoust at infostatsystems.com (Charlotte Foust) Date: Wed, 22 Jun 2005 11:17:55 -0700 Subject: [AccessD] Field Naming ( Just once I want to be ahead of JC ) Message-ID: Back in your moment of glory, Joe. And has anyone checked the temperature in Hell lately? Something that both John and Drew think is a good idea suggests some kind of unexpected occurrence. LOL Charlotte Foust -----Original Message----- From: Joe Hecht [mailto:jmhecht at earthlink.net] Sent: Wednesday, June 22, 2005 11:11 AM To: 'Access Developers discussion and problem solving' Subject: RE: [AccessD] Field Naming ( Just once I want to be ahead of JC ) My gosh, I had an idea that drew liked too. Joe Hecht Los Angeles CA -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of DWUTKA at marlow.com Subject: RE: [AccessD] Field Naming ( Just once I want to be ahead of JC ) Not a bad idea. Drew -----Original Message----- From: Joe Hecht [mailto:jmhecht at earthlink.net] Sent: Wednesday, June 22, 2005 11:37 AM To: 'Access Developers discussion and problem solving' Subject: [AccessD] Field Naming ( Just once I want to be ahead of JC ) When naming fields in table design view I try to prefix the field with something to identify the source table i.e.: Custfname custLname repfname replname 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 martyconnelly at shaw.ca Wed Jun 22 13:20:56 2005 From: martyconnelly at shaw.ca (MartyConnelly) Date: Wed, 22 Jun 2005 11:20:56 -0700 Subject: [AccessD] Question about Animated Graphics References: <200506180246.j5I2kcR21562@databaseadvisors.com> Message-ID: <42B9AC08.2020505@shaw.ca> Well animated graphics seem to be possible from vba Just run this snippet in debug window Please don't hit me ;) With Assistant .On = True .Visible = True .Move xLeft:=400, yTop:=300 .MoveWhenInTheWay = True .TipOfDay = True 'need reference to MS Office 11.0 Library ' .Animation = msoAnimationGreeting .Animation = 2 End With Arthur Fuller wrote: >Bummer.... O well. > >-----Original Message----- >From: accessd-bounces at databaseadvisors.com >[mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Bobby Heid >Sent: June 17, 2005 8:48 AM >To: 'Access Developers discussion and problem solving' >Subject: RE: [AccessD] Question about Animated Graphics > >Those are animated Gif files which are not supported in Access (well at >least version 2000 and less). I think that there are some 3rd-party >controls that will let you host an animated Gif. > >Bobby > >-----Original Message----- >From: accessd-bounces at databaseadvisors.com >[mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Arthur Fuller >Sent: Thursday, June 16, 2005 10:31 PM >To: 'Access Developers discussion and problem solving' >Subject: [AccessD] Question about Animated Graphics > > >I found some cool graphics appropriate to an app I'm building now, but so >far I can't make them work correctly. For a peek at the graphics, see >http://www.animation-central.com/gears.htm. The graphics there move. When I >download one graphic and drop it on an Access form, it's static not >animated. I want the animation! How do I achieve this? > >TIA, >Arthur > > > -- Marty Connelly Victoria, B.C. Canada From kevinb at bepc.com Wed Jun 22 13:24:30 2005 From: kevinb at bepc.com (Kevin Bachmeier) Date: Wed, 22 Jun 2005 13:24:30 -0500 Subject: [AccessD] Good Code Bad Code Question Message-ID: <5C210A2F04B76B4AB2A18E6FEB81713401CDA669@HDQ06.bepc.net> Try using the '!' instead of the '.' for the control reference: Me!txtCost.Value = Me!cboPartNum.Column(2) Versus: Me.txtCost.Value = Me.cboPartNum.Column(2) -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Joe Hecht Sent: Wednesday, June 22, 2005 1:01 PM To: 'Access Developers discussion and problem solving' Subject: [AccessD] Good Code Bad Code Question The following line of code works correctly Me.txtCost.Value = Me.cboPartNum.Column(2) When I try to compile the code I get an error message that .cboPartNum Method or Data member not found. Any Idea what is up? Option Explicit is set Thanks Joe Hecht Los Angeles CA -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From artful at rogers.com Wed Jun 22 13:29:07 2005 From: artful at rogers.com (Arthur Fuller) Date: Wed, 22 Jun 2005 14:29:07 -0400 Subject: [AccessD] Question about Animated Graphics In-Reply-To: <42B9AC08.2020505@shaw.ca> Message-ID: <200506221829.j5MIT9R17944@databaseadvisors.com> Well, that clearly works, but I think I'll give you a smack upside the temple anyway LOL. (I wonder if there is a more universally hated developer in the world than the author(s) of these various assistants.) So you have demonstrated that we can invoked the Assistant from Access. Upsizing the question, is this sort of approach possible with other animations? Case in point -- the gears inside a torn-open skin, that revolve in synch. Can I use your code to apply to such an animated JPG, and if so, how? TIA, Arthur -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of MartyConnelly Sent: June 22, 2005 2:21 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Question about Animated Graphics Well animated graphics seem to be possible from vba Just run this snippet in debug window Please don't hit me ;) With Assistant .On = True .Visible = True .Move xLeft:=400, yTop:=300 .MoveWhenInTheWay = True .TipOfDay = True 'need reference to MS Office 11.0 Library ' .Animation = msoAnimationGreeting .Animation = 2 End With From artful at rogers.com Wed Jun 22 13:34:46 2005 From: artful at rogers.com (Arthur Fuller) Date: Wed, 22 Jun 2005 14:34:46 -0400 Subject: [AccessD] Field Naming ( Just once I want to be ahead of JC ) In-Reply-To: <001201c57755$b8d6d660$6401a8c0@laptop1> Message-ID: <200506221834.j5MIYlR19422@databaseadvisors.com> My $.02... I hate such naming conventions, for three reasons: a) they defeat the natural logic of the various relationship-finding wizards; b) there is no need to prefix the column names since you can do so unambiguously using the table name as a prefix (i.e. Customers.CustomerID = Orders.CustomerID). c) the prefixes hide the relationships while admittedly revealing the table sources... but if we are really going to go in this direction, I would rather use suffixes (i.e. CustomerID_Customers, CustomerID_Orders, CustomerID_Payments etc.) -- so they are logically grouped together according to domain type rather than table name. Arthur -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Joe Hecht Sent: June 22, 2005 2:11 PM To: 'Access Developers discussion and problem solving' Subject: RE: [AccessD] Field Naming ( Just once I want to be ahead of JC ) My gosh, I had an idea that drew liked too. Joe Hecht Los Angeles CA -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of DWUTKA at marlow.com Subject: RE: [AccessD] Field Naming ( Just once I want to be ahead of JC ) Not a bad idea. Drew -----Original Message----- From: Joe Hecht [mailto:jmhecht at earthlink.net] Sent: Wednesday, June 22, 2005 11:37 AM To: 'Access Developers discussion and problem solving' Subject: [AccessD] Field Naming ( Just once I want to be ahead of JC ) When naming fields in table design view I try to prefix the field with something to identify the source table i.e.: Custfname custLname repfname replname 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 jmhecht at earthlink.net Wed Jun 22 13:37:25 2005 From: jmhecht at earthlink.net (Joe Hecht) Date: Wed, 22 Jun 2005 11:37:25 -0700 Subject: [AccessD] Good Code Bad Code Question In-Reply-To: Message-ID: <001801c57759$70406430$6401a8c0@laptop1> See inline Subject: RE: [AccessD] Good Code Bad Code Question You lost me, Joe. You say it works correctly but you get a compile error? If you get a compile error, it shouldn't work. ^ Yes I agree Have you tried decompile and recompile? ^ I have read posts here but maybe I am thick.(Well I am heavy : )) I do not understand how to decompile and recompile I have to say that in later versions of Access, I've had better luck using the afterupdate of a combo to put a non-value column value into another control. Have you tried that? ^That is where the code is. Charlotte Foust Thanks -----Original Message----- From: Joe Hecht [mailto:jmhecht at earthlink.net] Sent: Wednesday, June 22, 2005 11:01 AM To: 'Access Developers discussion and problem solving' Subject: [AccessD] Good Code Bad Code Question The following line of code works correctly Me.txtCost.Value = Me.cboPartNum.Column(2) When I try to compile the code I get an error message that .cboPartNum Method or Data member not found. Any Idea what is up? Option Explicit is set Thanks 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 From jmhecht at earthlink.net Wed Jun 22 13:40:43 2005 From: jmhecht at earthlink.net (Joe Hecht) Date: Wed, 22 Jun 2005 11:40:43 -0700 Subject: [AccessD] Field Naming ( Just once I want to be ahead of JC ) In-Reply-To: <123701F54509D9119A4F00D0B747349016D755@main2.marlow.com> Message-ID: <001d01c57759$e5f48850$6401a8c0@laptop1> On my Way Joe Hecht Los Angeles CA -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of DWUTKA at marlow.com Sent: Wednesday, June 22, 2005 11:14 AM To: access at joe2.endjunk.com; accessd at databaseadvisors.com Subject: RE: [AccessD] Field Naming ( Just once I want to be ahead of JC ) Go buy a lottery ticket now.... Drew -----Original Message----- From: Joe Hecht [mailto:jmhecht at earthlink.net] Sent: Wednesday, June 22, 2005 1:11 PM To: 'Access Developers discussion and problem solving' Subject: RE: [AccessD] Field Naming ( Just once I want to be ahead of JC ) My gosh, I had an idea that drew liked too. Joe Hecht Los Angeles CA -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of DWUTKA at marlow.com Subject: RE: [AccessD] Field Naming ( Just once I want to be ahead of JC ) Not a bad idea. Drew -----Original Message----- From: Joe Hecht [mailto:jmhecht at earthlink.net] Sent: Wednesday, June 22, 2005 11:37 AM To: 'Access Developers discussion and problem solving' Subject: [AccessD] Field Naming ( Just once I want to be ahead of JC ) When naming fields in table design view I try to prefix the field with something to identify the source table i.e.: Custfname custLname repfname replname 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 jmhecht at earthlink.net Wed Jun 22 13:41:30 2005 From: jmhecht at earthlink.net (Joe Hecht) Date: Wed, 22 Jun 2005 11:41:30 -0700 Subject: [AccessD] Field Naming ( Just once I want to be ahead of JC ) In-Reply-To: Message-ID: <001e01c5775a$020410b0$6401a8c0@laptop1> It is getting worm here in lost angels. ( Los Angeles) Joe Hecht Los Angeles CA -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Charlotte Foust Sent: Wednesday, June 22, 2005 11:18 AM To: access at joe2.endjunk.com; Access Developers discussion and problem solving Subject: RE: [AccessD] Field Naming ( Just once I want to be ahead of JC ) Back in your moment of glory, Joe. And has anyone checked the temperature in Hell lately? Something that both John and Drew think is a good idea suggests some kind of unexpected occurrence. LOL Charlotte Foust -----Original Message----- From: Joe Hecht [mailto:jmhecht at earthlink.net] Sent: Wednesday, June 22, 2005 11:11 AM To: 'Access Developers discussion and problem solving' Subject: RE: [AccessD] Field Naming ( Just once I want to be ahead of JC ) My gosh, I had an idea that drew liked too. Joe Hecht Los Angeles CA -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of DWUTKA at marlow.com Subject: RE: [AccessD] Field Naming ( Just once I want to be ahead of JC ) Not a bad idea. Drew -----Original Message----- From: Joe Hecht [mailto:jmhecht at earthlink.net] Sent: Wednesday, June 22, 2005 11:37 AM To: 'Access Developers discussion and problem solving' Subject: [AccessD] Field Naming ( Just once I want to be ahead of JC ) When naming fields in table design view I try to prefix the field with something to identify the source table i.e.: Custfname custLname repfname replname 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 jwcolby at colbyconsulting.com Wed Jun 22 13:53:36 2005 From: jwcolby at colbyconsulting.com (John W. Colby) Date: Wed, 22 Jun 2005 14:53:36 -0400 Subject: [AccessD] Field Naming ( Just once I want to be ahead of JC ) In-Reply-To: <200506221834.j5MIYlR19422@databaseadvisors.com> Message-ID: <008f01c5775b$b1fe00b0$6c7aa8c0@ColbyM6805> 1) Try doing a find on a field name used all over the damned database and then come back and tell me how much you hate it. 2) Relationship finding wizards are for wusses who don't create explicit relationships (should be shot BTW). 3) The prefixes hide the relationships while admittedly revealing the table sources... but if we are really going to go in this direction, I would rather use suffixes (i.e. CustomerID_Customers, CustomerID_Orders, CustomerID_Payments etc.) -- so they are logically grouped together according to domain type rather than table name. I know you are into suffixes, but this isn't something that you are going to see in a tab window or something so it is not going to help there. Here's you change 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 Arthur Fuller Sent: Wednesday, June 22, 2005 2:35 PM To: 'Access Developers discussion and problem solving' Subject: RE: [AccessD] Field Naming ( Just once I want to be ahead of JC ) My $.02... I hate such naming conventions, for three reasons: a) they defeat the natural logic of the various relationship-finding wizards; b) there is no need to prefix the column names since you can do so unambiguously using the table name as a prefix (i.e. Customers.CustomerID = Orders.CustomerID). c) the prefixes hide the relationships while admittedly revealing the table sources... but if we are really going to go in this direction, I would rather use suffixes (i.e. CustomerID_Customers, CustomerID_Orders, CustomerID_Payments etc.) -- so they are logically grouped together according to domain type rather than table name. Arthur -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Joe Hecht Sent: June 22, 2005 2:11 PM To: 'Access Developers discussion and problem solving' Subject: RE: [AccessD] Field Naming ( Just once I want to be ahead of JC ) My gosh, I had an idea that drew liked too. Joe Hecht Los Angeles CA -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of DWUTKA at marlow.com Subject: RE: [AccessD] Field Naming ( Just once I want to be ahead of JC ) Not a bad idea. Drew -----Original Message----- From: Joe Hecht [mailto:jmhecht at earthlink.net] Sent: Wednesday, June 22, 2005 11:37 AM To: 'Access Developers discussion and problem solving' Subject: [AccessD] Field Naming ( Just once I want to be ahead of JC ) When naming fields in table design view I try to prefix the field with something to identify the source table i.e.: Custfname custLname repfname replname 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 pedro at plex.nl Wed Jun 22 13:54:19 2005 From: pedro at plex.nl (Pedro Janssen) Date: Wed, 22 Jun 2005 20:54:19 +0200 Subject: [AccessD] invalid number of arguments References: <30BC111F638EB54082001A7E7282FE41114D45@elmo.co.montgomery.ny.us><007b01c57128$6c07acc0$fac581d5@pedro><00ba01c571b1$155f3bc0$0202a8c0@default><002001c57736$2e2e4210$fac581d5@pedro> <032e01c5773d$2e85d3c0$0202a8c0@default> Message-ID: <005401c5775b$f2701c50$fac581d5@pedro> Hello Michael, I don't know if you are married, but my wife can be nagging at my head about finishing this database for here. I am not sure that i understand you! Why using a Append query with an autonumbered field. I will give you a small structure of the tables involved: "commercial database linked table" DEBSTM Nummer = Text (but al Id's are numbers) = Primary Key Adres Plaats i need following table tblDEBITEUR DebID = Number (Long Integer) Postadres Woonplaats I need datatype = number because the filtering on this field otherwise isn't going to be right. Can you explain more on basis from this structure? Pedro Janssen ----- Original Message ----- From: "Michael R Mattys" To: "Access Developers discussion and problem solving" Sent: Wednesday, June 22, 2005 5:15 PM Subject: Re: [AccessD] invalid number of arguments > Hi Pedro, > > > > - In this (commercial) database ... i can't change anything. > - don't want to ad each new client in two different databases. > - want to use the client table from the commercial database (clientID's > identical). > - clients [DEBSTM] can be linked to the "brick" database [tblDebiteur]. > > > I don't want to use a query from this linked table, to adjust the names > > because i then have to adjust al other query's and tables. > > Using the same names for the table and fields would be the best way. > > > > Pedro Janssen > > Hi Pedro, > > Nagging? :) > > An append query to an autonumbered table would be best. > Leave in the text ClientID and use that as criteria in the query > to make sure there are no duplicates. Alias the fields desired. > You know macros have no error handling, right? > > ---- > > Michael R. Mattys > Mattys MapLib for Microsoft MapPoint > http://www.mattysconsulting.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 Jun 22 14:03:51 2005 From: martyconnelly at shaw.ca (MartyConnelly) Date: Wed, 22 Jun 2005 12:03:51 -0700 Subject: [AccessD] OT: Sharepoint Security (SOLVED) References: <0IIH00C93VMOBK@l-daemon> Message-ID: <42B9B617.8080403@shaw.ca> I have found you can store ,update and read access tables on a sharepoint server unfortunately my time ran out on the MS test site a few months back. Wouldn't mind finding another free test one In Access 2003 you can use soap via web class, direct xmlhttp or transferdatabase to transfer tables or even documents xls or .doc Sub WWSupload() On Error GoTo errout DoCmd.TransferDatabase transfertype:=acExport, databasetype:="WSS", _ databasename:="http://mconnelly.sharepointsite.com", _ objecttype:=acTable, Source:="Household Inventory", _ Destination:="Household Inventory A", structureonly:=False errout: Debug.Print Err.Number & "-" & Err.Description 'http://mconnelly.sharepointsite.com/_vti_bin/Lists.asmx End Sub Sub WWSuploadPics() On Error GoTo errout DoCmd.TransferDatabase transfertype:=acExport, databasetype:="WSS", _ databasename:="http://mconnelly.sharepointsite.com", _ objecttype:=acTable, Source:="Employees", _ Destination:="Employees", structureonly:=False errout: Debug.Print Err.Number & "-" & Err.Description End Sub Sub Click() On Error GoTo Err_Command8_Click ' To see methods of call 'http://www.xmethods.com/detail.html?id=8 'http://www.xmltoday.com/examples/soap/translate.psp Dim URL As String Dim http As New MSXML2.XMLHTTP Dim objResult As New MSXML2.DOMDocument Dim objStyle As New MSXML2.DOMDocument Dim strEnvelopeBegin As String Dim strEnvelopeEnd As String Dim xmlReq As String Dim s As String Dim strReturned As String Dim strQuery As String s = "" & vbCrLf URL = "http://mconnelly.sharepointsite.com/_vti_bin/Lists.asmx" strEnvelopeBegin = " " & vbCrLf & _ " " strEnvelopeEnd = vbCrLf & " " xmlReq = s & strEnvelopeBegin & strEnvelopeEnd Debug.Print xmlReq ' Me!Text0 = xmlReq ' Me!Text2 = URL http.Open "POST", URL, False 'http.setRequestHeader "Accept", "text/xml" http.setRequestHeader "Content-Type", "text/xml" ' http.setRequestHeader "Cache-Control", "no-cache" http.setRequestHeader "SOAPAction", "http://schemas.microsoft.com/sharepoint/soap/GetListCollection" ' http.setRequestHeader "SOAPMethodName", "GetListCollection" http.send xmlReq Debug.Print http.responseText; Len(http.responseText) Debug.Print http.Status; http.statusText WriteFile "C:\Access files\sharepoint\" & "test" & _ Format(Now, "yyyymmddhhmmss") & ".xml", http.responseText Debug.Print http.responseBody; Len(http.responseBody) ' Debug.Print http.responseXML 'objResult = new ActiveXObject ("Microsoft.XMLDOM") objResult.async = False objResult.Load http.responseText 'strQuery = "SOAP:Envelope/SOAP:Body/Hi All: > >Given that this question will seem simple and slightly ignorant... what is a >SharePoint Portal used for and what does it improve or replace. > >Jim > >-----Original Message----- >From: accessd-bounces at databaseadvisors.com >[mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Jim DeMarco >Sent: Wednesday, June 22, 2005 9:33 AM >To: Access Developers discussion and problem solving >Subject: RE: [AccessD] OT: Sharepoint Security (SOLVED) > >The culprit seemed to be that the user(s) in question were members of a >Desktop Administrators group that was set up for us. Removing that group >from the Sharepoint server machine seems to have corrected the issue >(further testing pending). > >Thanks to all, > >Jim DeMarco > >-----Original Message----- >From: accessd-bounces at databaseadvisors.com >[mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Jim DeMarco >Sent: Wednesday, June 22, 2005 10:30 AM >To: Access Developers discussion and problem solving >Subject: RE: [AccessD] OT: Sharepoint Security > > >Well I just set up a non-IT staff member with Read access and that's all he >could do (read). When I removed him from the site he could not access it >any longer. So it looks like it may be using Windows Security to >authenticate users. Unfortunately I need to limit even our IT staff in >various sections of the site so I've got to get a work around together. > >I'll keep you posted. > >Thanks, > >Jim DeMarco > >-----Original Message----- >From: accessd-bounces at databaseadvisors.com >[mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Jim Hewson >Sent: Wednesday, June 22, 2005 10:08 AM >To: Access Developers discussion and problem solving >Subject: RE: [AccessD] OT: Sharepoint Security > > >Jim, >I'm a novice, but will become the SharePoint "Expert" when I change >jobs, in my company, next month. I'm interested in the outcome of your >question. >A couple of random thoughts... >There are two levels of security for SharePoint. They are Central >Administration and Site Administration rights. Central take precedence >over site rights. If a person is a member of the Central Administration >group which manages the settings for the Web Server and virtual servers, >they effectively have Administrative rights to the entire portal. >In Site Administration, IIRC, there is a toggle somewhere to designate a >person to have the same rights as the parent area or site. >Let me know if you have found the solution. >Regards, >Jim H. > >-----Original Message----- >From: accessd-bounces at databaseadvisors.com >[mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Jim DeMarco >Sent: Wednesday, June 22, 2005 8:04 AM >To: AccessD (E-mail) >Subject: [AccessD] OT: Sharepoint Security > >List, > >I've done some Googling but I can't seem to find the answer to this odd >problem. I set up a Sharepoint site as a test bed (Sharepoint Services >not Server) and gave a few users access. No matter what rights I give >the users they have full admin rights to the sight. I set up custom >security groups and the site is completely ignoring them. To further >add to the mystery I removed on user (she is not a member of any >security group therefore should not have access to the site) and she can >still get in with full admin rights. Is it possible that Sharepoint is >deferring to Windows rights? These are all IT staff here and have more >liberal rights to our network than the average user. > >Does anyone have a clue? A push in the right direction would be >appreciated. > >TIA > >Jim DeMarco >Director of Application Development >Hudson Health Plan > > > >************************************************************************ >*********** >"This electronic message is intended to be for the use only of the named >recipient, and may contain information from Hudson Health Plan (HHP) >that is confidential or privileged. If you are not the intended >recipient, you are hereby notified that any disclosure, copying, >distribution or use of the contents of this message is strictly >prohibited. If you have received this message in error or are not the >named recipient, please notify us immediately, either by contacting the >sender at the electronic mail address noted above or calling HHP at >(914) 631-1611. If you are not the intended recipient, please do not >forward this email to anyone, and delete and destroy all copies of this >message. Thank You". >************************************************************************ >*********** > >-- >AccessD mailing list >AccessD at databaseadvisors.com >http://databaseadvisors.com/mailman/listinfo/accessd >Website: http://www.databaseadvisors.com > > -- Marty Connelly Victoria, B.C. Canada From jmhecht at earthlink.net Wed Jun 22 14:07:13 2005 From: jmhecht at earthlink.net (Joe Hecht) Date: Wed, 22 Jun 2005 12:07:13 -0700 Subject: [AccessD] Field Naming ( Just once I want to be ahead of JC ) In-Reply-To: <008f01c5775b$b1fe00b0$6c7aa8c0@ColbyM6805> Message-ID: <001f01c5775d$99f8a400$6401a8c0@laptop1> John, 2) Relationship finding wizards are for wusses who don't create explicit relationships (should be shot BTW). I set relationships in either the relationship window or when I build queries. Is that where you do it? Have not seen a relationship finding Wizard? Joe From jwcolby at colbyconsulting.com Wed Jun 22 14:08:11 2005 From: jwcolby at colbyconsulting.com (John W. Colby) Date: Wed, 22 Jun 2005 15:08:11 -0400 Subject: [AccessD] Field Naming ( Just once I want to be ahead of JC ) In-Reply-To: <001f01c5775d$99f8a400$6401a8c0@laptop1> Message-ID: <009001c5775d$bb886830$6c7aa8c0@ColbyM6805> The relationship window specifically. John W. Colby www.ColbyConsulting.com Contribute your unused CPU cycles to 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: Wednesday, June 22, 2005 3:07 PM To: 'Access Developers discussion and problem solving' Subject: RE: [AccessD] Field Naming ( Just once I want to be ahead of JC ) John, 2) Relationship finding wizards are for wusses who don't create explicit relationships (should be shot BTW). I set relationships in either the relationship window or when I build queries. Is that where you do it? Have not seen a relationship finding Wizard? Joe -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From martyconnelly at shaw.ca Wed Jun 22 14:20:31 2005 From: martyconnelly at shaw.ca (MartyConnelly) Date: Wed, 22 Jun 2005 12:20:31 -0700 Subject: [AccessD] Detect specific printer References: <974F830FE464C14E8652F95E24DA663C0BF9FF@mail03.Mcbassoc.com> Message-ID: <42B9B9FF.7030003@shaw.ca> This code example should get you started have a look at this, Access 2002 + uses Printer object Below Access 2002 you need to use API calls to PrintDev routines http://allenbrowne.com/AppPrintMgt.html Printer Selection Utility Allen Browne If you look down the page there are links to Albert Kallal's site for Access 97 and 2000 printer selection methods Mark Boyd wrote: >Is there a way thru VBA to detect if a specific printer has been >installed? >I need to check if the PDF Writer is on the user's machine. If not, >they'll be prompted to install it. > >Thanks, >Mark Boyd >I/S Supervisor >McBee Associates, Inc. > >----------------------------------------- >This message and any attachments are intended only for the use of the individual or entity to which it is addressed and may contain information that is privileged, confidential, and exempt from disclosure under applicable law. If the reader of this message is not the intended recipient, or the employee or agent responsible for delivering the message to the intended recipient, you are hereby notified that any dissemination, distribution or copying of this communication is strictly prohibited. If you have received this communication in error, please notify the sender by replying to this message, and then delete it from your system. >------------------------------------------- > > -- Marty Connelly Victoria, B.C. Canada From MarkBoyd at McBeeAssociates.com Wed Jun 22 14:37:13 2005 From: MarkBoyd at McBeeAssociates.com (Mark Boyd) Date: Wed, 22 Jun 2005 15:37:13 -0400 Subject: [AccessD] Detect specific printer Message-ID: <974F830FE464C14E8652F95E24DA663C0BFA05@mail03.Mcbassoc.com> Thanks Marty. I was able to create a work-around. I use some of Ken Ketz's 'defaultprt.zip' code to change the default printer to the PDF Writer. Then, I use Access' Printer object to see if the default printer was changed. If the user doesn't have the PDF Writer installed, the default printer will stay the same. This way, I can throw a message to the screen prompting the user to install the appropriate software. Thanks again, Mark Boyd I/S Supervisor McBee Associates, Inc. 610/964-9680 x15 -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of MartyConnelly Sent: Wednesday, June 22, 2005 3:21 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Detect specific printer This code example should get you started have a look at this, Access 2002 + uses Printer object Below Access 2002 you need to use API calls to PrintDev routines http://allenbrowne.com/AppPrintMgt.html Printer Selection Utility Allen Browne If you look down the page there are links to Albert Kallal's site for Access 97 and 2000 printer selection methods Mark Boyd wrote: >Is there a way thru VBA to detect if a specific printer has been >installed? >I need to check if the PDF Writer is on the user's machine. If not, >they'll be prompted to install it. > >Thanks, >Mark Boyd >I/S Supervisor >McBee Associates, Inc. > >----------------------------------------- >This message and any attachments are intended only for the use of the individual or entity to which it is addressed and may contain information that is privileged, confidential, and exempt from disclosure under applicable law. If the reader of this message is not the intended recipient, or the employee or agent responsible for delivering the message to the intended recipient, you are hereby notified that any dissemination, distribution or copying of this communication is strictly prohibited. If you have received this communication in error, please notify the sender by replying to this message, and then delete it from your system. >------------------------------------------- > > -- Marty Connelly Victoria, B.C. Canada -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com ----------------------------------------- This message and any attachments are intended only for the use of the individual or entity to which it is addressed and may contain information that is privileged, confidential, and exempt from disclosure under applicable law. If the reader of this message is not the intended recipient, or the employee or agent responsible for delivering the message to the intended recipient, you are hereby notified that any dissemination, distribution or copying of this communication is strictly prohibited. If you have received this communication in error, please notify the sender by replying to this message, and then delete it from your system. ------------------------------------------- From cfoust at infostatsystems.com Wed Jun 22 14:48:18 2005 From: cfoust at infostatsystems.com (Charlotte Foust) Date: Wed, 22 Jun 2005 12:48:18 -0700 Subject: [AccessD] Good Code Bad Code Question Message-ID: To decompile, you start Access with a command line /decompile argument. Any command line argument requires the full path to the executable be in the shortcut or the command line arg is ignored. Then if you open a database, it will decompile. The recompile is just going to the VBE and using Debug-->Compile, but do this after closing the Access session and restarting normally, without the /decompile switch. If you hover the mouse over Me.cboPartNum.Column(2) in the code, what do you see in the tooltip? And for that matter, how many columns does cboPartNum have? Column numbering in the collection starts at zero, so Me.cboPartNum.Column(2) refers to the third column in the combobox. Charlotte Foust -----Original Message----- From: Joe Hecht [mailto:jmhecht at earthlink.net] Sent: Wednesday, June 22, 2005 11:37 AM To: 'Access Developers discussion and problem solving' Subject: RE: [AccessD] Good Code Bad Code Question See inline Subject: RE: [AccessD] Good Code Bad Code Question You lost me, Joe. You say it works correctly but you get a compile error? If you get a compile error, it shouldn't work. ^ Yes I agree Have you tried decompile and recompile? ^ I have read posts here but maybe I am thick.(Well I am heavy : )) I do not understand how to decompile and recompile I have to say that in later versions of Access, I've had better luck using the afterupdate of a combo to put a non-value column value into another control. Have you tried that? ^That is where the code is. Charlotte Foust Thanks -----Original Message----- From: Joe Hecht [mailto:jmhecht at earthlink.net] Sent: Wednesday, June 22, 2005 11:01 AM To: 'Access Developers discussion and problem solving' Subject: [AccessD] Good Code Bad Code Question The following line of code works correctly Me.txtCost.Value = Me.cboPartNum.Column(2) When I try to compile the code I get an error message that .cboPartNum Method or Data member not found. Any Idea what is up? Option Explicit is set Thanks 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 cfoust at infostatsystems.com Wed Jun 22 14:57:12 2005 From: cfoust at infostatsystems.com (Charlotte Foust) Date: Wed, 22 Jun 2005 12:57:12 -0700 Subject: [AccessD] Good Code Bad Code Question Message-ID: Joe, To decompile, use a command line argument in opening the database. That means you have to fully reference the path of the Access executable and the full path of the target database or the /decompile switch will be ignored. After you open the Access database that way, close the Access session, then reopen the database normally without the decompile switch, go to the VBE and use Debug-->Compile... To recompile the app. This clears out some crud that may otherwise cause you grief. There was a suggestion about using a bang instead of a dot in Me.cboPartNum.Column(2) and I encourage you to try that without delay because I have found that there are places and times in Access where you must do so. If that solves the problem, you're ahead of the game. Also make sure that cboPartNum has at least 3 columns specified in its property sheet, since the column numbering is zero based for the collection. Charlotte Foust -----Original Message----- From: Joe Hecht [mailto:jmhecht at earthlink.net] Sent: Wednesday, June 22, 2005 11:37 AM To: 'Access Developers discussion and problem solving' Subject: RE: [AccessD] Good Code Bad Code Question See inline Subject: RE: [AccessD] Good Code Bad Code Question You lost me, Joe. You say it works correctly but you get a compile error? If you get a compile error, it shouldn't work. ^ Yes I agree Have you tried decompile and recompile? ^ I have read posts here but maybe I am thick.(Well I am heavy : )) I do not understand how to decompile and recompile I have to say that in later versions of Access, I've had better luck using the afterupdate of a combo to put a non-value column value into another control. Have you tried that? ^That is where the code is. Charlotte Foust Thanks -----Original Message----- From: Joe Hecht [mailto:jmhecht at earthlink.net] Sent: Wednesday, June 22, 2005 11:01 AM To: 'Access Developers discussion and problem solving' Subject: [AccessD] Good Code Bad Code Question The following line of code works correctly Me.txtCost.Value = Me.cboPartNum.Column(2) When I try to compile the code I get an error message that .cboPartNum Method or Data member not found. Any Idea what is up? Option Explicit is set Thanks 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 donald.a.Mcgillivray at mail.sprint.com Wed Jun 22 15:43:54 2005 From: donald.a.Mcgillivray at mail.sprint.com (Mcgillivray, Don [ITS]) Date: Wed, 22 Jun 2005 15:43:54 -0500 Subject: [AccessD] Reference to the Printer object causing fatal error Message-ID: The message box says that Microsoft is sorry for the inconvenience, but they're not offering to replace all the hair I'm pulling out over this . . . Seems simple enough, and it actually was working for a while. Here's the code: Dim prt as Printer For Each prt in Application.Printers Debug.Print prt.DeviceName Next Execute the code and it pauses a few seconds, then crashes Access with a fatal error and the not-so-helpful "Send this to Microsoft . . ." message box. Since it was working for a while (and the same code works fine on my home machine), I have to think that something in my Access or Office installation got hosed somehow. Any ideas where to look/what to try? Using AccessXP on Windows 2000. Thanks! Don From stuart at lexacorp.com.pg Wed Jun 22 16:07:04 2005 From: stuart at lexacorp.com.pg (Stuart McLachlan) Date: Thu, 23 Jun 2005 07:07:04 +1000 Subject: [AccessD] Just Checking.... In-Reply-To: <007001c5773e$dcdc4cf0$6c7aa8c0@ColbyM6805> References: <123701F54509D9119A4F00D0B747349016D74D@main2.marlow.com> Message-ID: <42BA5F98.8107.3B5AFA1@stuart.lexacorp.com.pg> On 22 Jun 2005 at 11:27, John W. Colby wrote: > ROTFL. Yea, I am getting old. > > I am about to launch a field naming convention discussion so look out. ;-) > I've just been asked to taske over some apps which were developed in-house by a certain organisation in PNG. Most of them have a table called "MAIN TABLE" which is, believe it or not the main table used for storing data. So far I have also come across fields named DATE and NAME as well as several fields with 40-50 character fieldnames comprising multiple words separated by spaces. -- Stuart From Jim.Hale at FleetPride.com Wed Jun 22 16:50:05 2005 From: Jim.Hale at FleetPride.com (Hale, Jim) Date: Wed, 22 Jun 2005 16:50:05 -0500 Subject: [AccessD] Classes not recognized in mda Message-ID: <6A6AA9DF57E4F046BDA1E273BDDB6772337699@corp-es01.fleetpride.com> Can forms be placed in libraries? If so how are they referenced? Jim Hale -----Original Message----- From: John W. Colby [mailto:jwcolby at colbyconsulting.com] Sent: Wednesday, June 22, 2005 10:25 AM To: 'Access Developers discussion and problem solving' Subject: RE: [AccessD] Classes not recognized in mda Hmm... This is the other way of doing it. What Charlotte is saying is that INSIDE of the library you can set a function that dims a new instance and returns a pointer to the class. The problem with doing this is that you can't use intellisense to see the properties of the class etc. whereas using the method I described, your classes become just another object and you can use it just as you would any other 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 Charlotte Foust Sent: Wednesday, June 22, 2005 11:15 AM To: Access Developers discussion and problem solving Subject: RE: [AccessD] Classes not recognized in mda It's a little tricky using classes in a code library because you have to give them a public interface before they can be used elsewhere. I don't have an example on this machine, so I'm working from memory here, but as I recall, I dimmed a public object variable as a new instance of the class I wanted to expose. That allowed the app linked to the library to grab the public instance of the class and use its methods and properties. Charlotte Foust -----Original Message----- From: Hale, Jim [mailto:Jim.Hale at fleetpride.com] Sent: Wednesday, June 22, 2005 8:01 AM To: 'Accessd (E-mail) Subject: [AccessD] Classes not recognized in mda I have moved some classes and modules out of the front end into a code library. I set the same references in the code library as in the front end. In the front end I set a reference to the code library. The FE recognizes the functions in the library modules fine, no problems but doesn't recognize the classes (i.e. I get an error in the FE when I try to instantiate the moved classes). The code ran fine when the classes resided in the front end. I am obviously doing something simple wrong. Any suggestions? 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 -- 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 Wed Jun 22 16:49:15 2005 From: jwcolby at colbyconsulting.com (John W. Colby) Date: Wed, 22 Jun 2005 17:49:15 -0400 Subject: [AccessD] Just Checking.... In-Reply-To: <42BA5F98.8107.3B5AFA1@stuart.lexacorp.com.pg> Message-ID: <009701c57774$3c061370$6c7aa8c0@ColbyM6805> LOL, yea ain't life fun. John W. Colby www.ColbyConsulting.com Contribute your unused CPU cycles to 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, June 22, 2005 5:07 PM To: Access Developers discussion and problem solving Subject: RE: [AccessD] Just Checking.... On 22 Jun 2005 at 11:27, John W. Colby wrote: > ROTFL. Yea, I am getting old. > > I am about to launch a field naming convention discussion so look out. > ;-) > I've just been asked to taske over some apps which were developed in-house by a certain organisation in PNG. Most of them have a table called "MAIN TABLE" which is, believe it or not the main table used for storing data. So far I have also come across fields named DATE and NAME as well as several fields with 40-50 character fieldnames comprising multiple words separated by spaces. -- Stuart -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From jwcolby at colbyconsulting.com Wed Jun 22 16:56:41 2005 From: jwcolby at colbyconsulting.com (John W. Colby) Date: Wed, 22 Jun 2005 17:56:41 -0400 Subject: [AccessD] Classes not recognized in mda In-Reply-To: <6A6AA9DF57E4F046BDA1E273BDDB6772337699@corp-es01.fleetpride.com> Message-ID: <009e01c57775$499d1f00$6c7aa8c0@ColbyM6805> Forms can be placed in libraries. Unbound forms (non data forms) are easy, bound forms are trickier. Referencing them requires calling a function that opens the form. The issue with bound forms is that the table name or query for a form is assumed to be in the database container that the form resides in. The easiest way around that is to use a SQL statement that uses an "in databasename" clause. Typically you would have the form open not bound to a recordsource, then have it set it's recordsource to the passed in sql statement. Not pretty but it can be made to work. John W. Colby www.ColbyConsulting.com Contribute your unused CPU cycles to a good cause: http://folding.stanford.edu/ -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Hale, Jim Sent: Wednesday, June 22, 2005 5:50 PM To: 'Access Developers discussion and problem solving' Subject: RE: [AccessD] Classes not recognized in mda Can forms be placed in libraries? If so how are they referenced? Jim Hale -----Original Message----- From: John W. Colby [mailto:jwcolby at colbyconsulting.com] Sent: Wednesday, June 22, 2005 10:25 AM To: 'Access Developers discussion and problem solving' Subject: RE: [AccessD] Classes not recognized in mda Hmm... This is the other way of doing it. What Charlotte is saying is that INSIDE of the library you can set a function that dims a new instance and returns a pointer to the class. The problem with doing this is that you can't use intellisense to see the properties of the class etc. whereas using the method I described, your classes become just another object and you can use it just as you would any other 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 Charlotte Foust Sent: Wednesday, June 22, 2005 11:15 AM To: Access Developers discussion and problem solving Subject: RE: [AccessD] Classes not recognized in mda It's a little tricky using classes in a code library because you have to give them a public interface before they can be used elsewhere. I don't have an example on this machine, so I'm working from memory here, but as I recall, I dimmed a public object variable as a new instance of the class I wanted to expose. That allowed the app linked to the library to grab the public instance of the class and use its methods and properties. Charlotte Foust -----Original Message----- From: Hale, Jim [mailto:Jim.Hale at fleetpride.com] Sent: Wednesday, June 22, 2005 8:01 AM To: 'Accessd (E-mail) Subject: [AccessD] Classes not recognized in mda I have moved some classes and modules out of the front end into a code library. I set the same references in the code library as in the front end. In the front end I set a reference to the code library. The FE recognizes the functions in the library modules fine, no problems but doesn't recognize the classes (i.e. I get an error in the FE when I try to instantiate the moved classes). The code ran fine when the classes resided in the front end. I am obviously doing something simple wrong. Any suggestions? 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 -- 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 scapistrant at symphonyinfo.com Wed Jun 22 17:03:39 2005 From: scapistrant at symphonyinfo.com (Steve Capistrant) Date: Wed, 22 Jun 2005 17:03:39 -0500 Subject: [AccessD] Scanning for corruption Message-ID: <855499653F55AD4190B242717DF132BC082CDE@dewey.Symphony.local> Has anyone tried building some routine that scans all tables in an Access database for corruption? I'd be interested in implementing this as part of an overall preventative (sort of) maintenance or troubleshooting process. It seems possible to do, because certain routine actions -- like copying a table -- will fail if the table has a corruption. Run a routine that looped through the tables collection, copy each to an external temporary database, trap for errors at each step, and display the name of each corrupted table. Scanning at the record level might be trickier, because you usually can't return the ID of a corrupted record. Thoughts? Steve Capistrant scapistrant at symphonyinfo.com Symphony Information Services 7308 Aspen Lane North, Suite 132 Brooklyn Park, MN 55428 763-391-7400 www.symphonyinfo.com From martyconnelly at shaw.ca Wed Jun 22 17:08:15 2005 From: martyconnelly at shaw.ca (MartyConnelly) Date: Wed, 22 Jun 2005 15:08:15 -0700 Subject: [AccessD] Question about Animated Graphics References: <200506221829.j5MIT9R17944@databaseadvisors.com> Message-ID: <42B9E14F.8000303@shaw.ca> That was just a proof of concept. Just drop Leban's animated gif control on the form from the toolbox after adding Ocx via Tools--> ActiveX I used the Ver 2.5 of the OCX and the gears were whirring beautifully There are start and stop methods and you can change background colour. http://www.lebans.com/animatedgifplayer.htm Private Sub Form_Open(Cancel As Integer) 'Me.AnimatedGifCtl0.LoadGif True 'if true will look up gif filename via file dialog Me.AnimatedGifCtl0.strGifFileName = "C:\Access files\Lebans\AnimatedGif\gears5.gif" Me.AnimatedGifCtl0.LoadGif False ' If you want the Gif to start ' automatically upon load then ' uncomment out the line below. Me.AnimatedGifCtl0.StartTimer DoEvents Me.Refresh End Sub Arthur Fuller wrote: >Well, that clearly works, but I think I'll give you a smack upside the >temple anyway LOL. (I wonder if there is a more universally hated developer >in the world than the author(s) of these various assistants.) > >So you have demonstrated that we can invoked the Assistant from Access. >Upsizing the question, is this sort of approach possible with other >animations? Case in point -- the gears inside a torn-open skin, that revolve >in synch. Can I use your code to apply to such an animated JPG, and if so, >how? > >TIA, >Arthur > >-----Original Message----- >From: accessd-bounces at databaseadvisors.com >[mailto:accessd-bounces at databaseadvisors.com] On Behalf Of MartyConnelly >Sent: June 22, 2005 2:21 PM >To: Access Developers discussion and problem solving >Subject: Re: [AccessD] Question about Animated Graphics > >Well animated graphics seem to be possible from vba >Just run this snippet in debug window >Please don't hit me ;) > >With Assistant > .On = True > .Visible = True > .Move xLeft:=400, yTop:=300 > .MoveWhenInTheWay = True > .TipOfDay = True > 'need reference to MS Office 11.0 Library > ' .Animation = msoAnimationGreeting > .Animation = 2 >End With > > > > -- Marty Connelly Victoria, B.C. Canada From accessd at shaw.ca Wed Jun 22 18:24:22 2005 From: accessd at shaw.ca (Jim Lawrence) Date: Wed, 22 Jun 2005 16:24:22 -0700 Subject: [AccessD] OT: Sharepoint Security (SOLVED) In-Reply-To: <08F823FD83787D4BA0B99CA580AD3C74016C3A66@TTNEXCHCL2.hshhp.com> Message-ID: <0III00H1HECMB7@l-daemon> Hi Jim: Thanks for the information. Now I will have to run up a portal and give it a try and see what happens. Jim -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Jim DeMarco Sent: Wednesday, June 22, 2005 10:38 AM To: Access Developers discussion and problem solving Subject: RE: [AccessD] OT: Sharepoint Security (SOLVED) Here's a link to M$ for the answer: http://www.microsoft.com/windowsserver2003/technologies/sharepoint/default.m spx In a nutshell it's a collaboration web site where teams can share documents in multiple libraries, share contacts, task lists, calendars and more. It's easily customizable and a pretty cool tool IMHO. You can set up your own user groups and customize access at every function level. If you run Windows Server 2003 you have a copy of SP Services already. The Portal version is the big brother and must be purchased. HTH, Jim DeMarco -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Jim Lawrence Sent: Wednesday, June 22, 2005 12:40 PM To: 'Access Developers discussion and problem solving' Subject: RE: [AccessD] OT: Sharepoint Security (SOLVED) Hi All: Given that this question will seem simple and slightly ignorant... what is a SharePoint Portal used for and what does it improve or replace. Jim -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Jim DeMarco Sent: Wednesday, June 22, 2005 9:33 AM To: Access Developers discussion and problem solving Subject: RE: [AccessD] OT: Sharepoint Security (SOLVED) The culprit seemed to be that the user(s) in question were members of a Desktop Administrators group that was set up for us. Removing that group from the Sharepoint server machine seems to have corrected the issue (further testing pending). Thanks to all, Jim DeMarco -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Jim DeMarco Sent: Wednesday, June 22, 2005 10:30 AM To: Access Developers discussion and problem solving Subject: RE: [AccessD] OT: Sharepoint Security Well I just set up a non-IT staff member with Read access and that's all he could do (read). When I removed him from the site he could not access it any longer. So it looks like it may be using Windows Security to authenticate users. Unfortunately I need to limit even our IT staff in various sections of the site so I've got to get a work around together. I'll keep you posted. Thanks, Jim DeMarco -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Jim Hewson Sent: Wednesday, June 22, 2005 10:08 AM To: Access Developers discussion and problem solving Subject: RE: [AccessD] OT: Sharepoint Security Jim, I'm a novice, but will become the SharePoint "Expert" when I change jobs, in my company, next month. I'm interested in the outcome of your question. A couple of random thoughts... There are two levels of security for SharePoint. They are Central Administration and Site Administration rights. Central take precedence over site rights. If a person is a member of the Central Administration group which manages the settings for the Web Server and virtual servers, they effectively have Administrative rights to the entire portal. In Site Administration, IIRC, there is a toggle somewhere to designate a person to have the same rights as the parent area or site. Let me know if you have found the solution. Regards, Jim H. -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Jim DeMarco Sent: Wednesday, June 22, 2005 8:04 AM To: AccessD (E-mail) Subject: [AccessD] OT: Sharepoint Security List, I've done some Googling but I can't seem to find the answer to this odd problem. I set up a Sharepoint site as a test bed (Sharepoint Services not Server) and gave a few users access. No matter what rights I give the users they have full admin rights to the sight. I set up custom security groups and the site is completely ignoring them. To further add to the mystery I removed on user (she is not a member of any security group therefore should not have access to the site) and she can still get in with full admin rights. Is it possible that Sharepoint is deferring to Windows rights? These are all IT staff here and have more liberal rights to our network than the average user. Does anyone have a clue? A push in the right direction would be appreciated. TIA Jim DeMarco Director of Application Development Hudson Health Plan ************************************************************************ *********** "This electronic message is intended to be for the use only of the named recipient, and may contain information from Hudson Health Plan (HHP) that is confidential or privileged. If you are not the intended recipient, you are hereby notified that any disclosure, copying, distribution or use of the contents of this message is strictly prohibited. If you have received this message in error or are not the named recipient, please notify us immediately, either by contacting the sender at the electronic mail address noted above or calling HHP at (914) 631-1611. If you are not the intended recipient, please do not forward this email to anyone, and delete and destroy all copies of this message. Thank You". ************************************************************************ *********** -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com **************************************************************************** ******* "This electronic message is intended to be for the use only of the named recipient, and may contain information from Hudson Health Plan (HHP) that is confidential or privileged. If you are not the intended recipient, you are hereby notified that any disclosure, copying, distribution or use of the contents of this message is strictly prohibited. If you have received this message in error or are not the named recipient, please notify us immediately, either by contacting the sender at the electronic mail address noted above or calling HHP at (914) 631-1611. If you are not the intended recipient, please do not forward this email to anyone, and delete and destroy all copies of this message. Thank You". **************************************************************************** ******* -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com **************************************************************************** ******* "This electronic message is intended to be for the use only of the named recipient, and may contain information from Hudson Health Plan (HHP) that is confidential or privileged. If you are not the intended recipient, you are hereby notified that any disclosure, copying, distribution or use of the contents of this message is strictly prohibited. If you have received this message in error or are not the named recipient, please notify us immediately, either by contacting the sender at the electronic mail address noted above or calling HHP at (914) 631-1611. If you are not the intended recipient, please do not forward this email to anyone, and delete and destroy all copies of this message. Thank You". **************************************************************************** ******* -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/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 accessd at shaw.ca Wed Jun 22 18:33:05 2005 From: accessd at shaw.ca (Jim Lawrence) Date: Wed, 22 Jun 2005 16:33:05 -0700 Subject: [AccessD] OT: Sharepoint Security (SOLVED) In-Reply-To: <42B9B617.8080403@shaw.ca> Message-ID: <0III0010CER5GE@l-daemon> Hi Marty: There are some awesome concepts that can be used. I will have to get a demo up and running... I think I have a version hidden down in a pile of M$ CDs... Now to find the room on one of the servers. Jim -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of MartyConnelly Sent: Wednesday, June 22, 2005 12:04 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] OT: Sharepoint Security (SOLVED) I have found you can store ,update and read access tables on a sharepoint server unfortunately my time ran out on the MS test site a few months back. Wouldn't mind finding another free test one In Access 2003 you can use soap via web class, direct xmlhttp or transferdatabase to transfer tables or even documents xls or .doc Sub WWSupload() On Error GoTo errout DoCmd.TransferDatabase transfertype:=acExport, databasetype:="WSS", _ databasename:="http://mconnelly.sharepointsite.com", _ objecttype:=acTable, Source:="Household Inventory", _ Destination:="Household Inventory A", structureonly:=False errout: Debug.Print Err.Number & "-" & Err.Description 'http://mconnelly.sharepointsite.com/_vti_bin/Lists.asmx End Sub Sub WWSuploadPics() On Error GoTo errout DoCmd.TransferDatabase transfertype:=acExport, databasetype:="WSS", _ databasename:="http://mconnelly.sharepointsite.com", _ objecttype:=acTable, Source:="Employees", _ Destination:="Employees", structureonly:=False errout: Debug.Print Err.Number & "-" & Err.Description End Sub Sub Click() On Error GoTo Err_Command8_Click ' To see methods of call 'http://www.xmethods.com/detail.html?id=8 'http://www.xmltoday.com/examples/soap/translate.psp Dim URL As String Dim http As New MSXML2.XMLHTTP Dim objResult As New MSXML2.DOMDocument Dim objStyle As New MSXML2.DOMDocument Dim strEnvelopeBegin As String Dim strEnvelopeEnd As String Dim xmlReq As String Dim s As String Dim strReturned As String Dim strQuery As String s = "" & vbCrLf URL = "http://mconnelly.sharepointsite.com/_vti_bin/Lists.asmx" strEnvelopeBegin = " " & vbCrLf & _ " " strEnvelopeEnd = vbCrLf & " " xmlReq = s & strEnvelopeBegin & strEnvelopeEnd Debug.Print xmlReq ' Me!Text0 = xmlReq ' Me!Text2 = URL http.Open "POST", URL, False 'http.setRequestHeader "Accept", "text/xml" http.setRequestHeader "Content-Type", "text/xml" ' http.setRequestHeader "Cache-Control", "no-cache" http.setRequestHeader "SOAPAction", "http://schemas.microsoft.com/sharepoint/soap/GetListCollection" ' http.setRequestHeader "SOAPMethodName", "GetListCollection" http.send xmlReq Debug.Print http.responseText; Len(http.responseText) Debug.Print http.Status; http.statusText WriteFile "C:\Access files\sharepoint\" & "test" & _ Format(Now, "yyyymmddhhmmss") & ".xml", http.responseText Debug.Print http.responseBody; Len(http.responseBody) ' Debug.Print http.responseXML 'objResult = new ActiveXObject ("Microsoft.XMLDOM") objResult.async = False objResult.Load http.responseText 'strQuery = "SOAP:Envelope/SOAP:Body/Hi All: > >Given that this question will seem simple and slightly ignorant... what is a >SharePoint Portal used for and what does it improve or replace. > >Jim > >-----Original Message----- >From: accessd-bounces at databaseadvisors.com >[mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Jim DeMarco >Sent: Wednesday, June 22, 2005 9:33 AM >To: Access Developers discussion and problem solving >Subject: RE: [AccessD] OT: Sharepoint Security (SOLVED) > >The culprit seemed to be that the user(s) in question were members of a >Desktop Administrators group that was set up for us. Removing that group >from the Sharepoint server machine seems to have corrected the issue >(further testing pending). > >Thanks to all, > >Jim DeMarco > >-----Original Message----- >From: accessd-bounces at databaseadvisors.com >[mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Jim DeMarco >Sent: Wednesday, June 22, 2005 10:30 AM >To: Access Developers discussion and problem solving >Subject: RE: [AccessD] OT: Sharepoint Security > > >Well I just set up a non-IT staff member with Read access and that's all he >could do (read). When I removed him from the site he could not access it >any longer. So it looks like it may be using Windows Security to >authenticate users. Unfortunately I need to limit even our IT staff in >various sections of the site so I've got to get a work around together. > >I'll keep you posted. > >Thanks, > >Jim DeMarco > >-----Original Message----- >From: accessd-bounces at databaseadvisors.com >[mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Jim Hewson >Sent: Wednesday, June 22, 2005 10:08 AM >To: Access Developers discussion and problem solving >Subject: RE: [AccessD] OT: Sharepoint Security > > >Jim, >I'm a novice, but will become the SharePoint "Expert" when I change >jobs, in my company, next month. I'm interested in the outcome of your >question. >A couple of random thoughts... >There are two levels of security for SharePoint. They are Central >Administration and Site Administration rights. Central take precedence >over site rights. If a person is a member of the Central Administration >group which manages the settings for the Web Server and virtual servers, >they effectively have Administrative rights to the entire portal. >In Site Administration, IIRC, there is a toggle somewhere to designate a >person to have the same rights as the parent area or site. >Let me know if you have found the solution. >Regards, >Jim H. > >-----Original Message----- >From: accessd-bounces at databaseadvisors.com >[mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Jim DeMarco >Sent: Wednesday, June 22, 2005 8:04 AM >To: AccessD (E-mail) >Subject: [AccessD] OT: Sharepoint Security > >List, > >I've done some Googling but I can't seem to find the answer to this odd >problem. I set up a Sharepoint site as a test bed (Sharepoint Services >not Server) and gave a few users access. No matter what rights I give >the users they have full admin rights to the sight. I set up custom >security groups and the site is completely ignoring them. To further >add to the mystery I removed on user (she is not a member of any >security group therefore should not have access to the site) and she can >still get in with full admin rights. Is it possible that Sharepoint is >deferring to Windows rights? These are all IT staff here and have more >liberal rights to our network than the average user. > >Does anyone have a clue? A push in the right direction would be >appreciated. > >TIA > >Jim DeMarco >Director of Application Development >Hudson Health Plan > > > >************************************************************************ >*********** >"This electronic message is intended to be for the use only of the named >recipient, and may contain information from Hudson Health Plan (HHP) >that is confidential or privileged. If you are not the intended >recipient, you are hereby notified that any disclosure, copying, >distribution or use of the contents of this message is strictly >prohibited. If you have received this message in error or are not the >named recipient, please notify us immediately, either by contacting the >sender at the electronic mail address noted above or calling HHP at >(914) 631-1611. If you are not the intended recipient, please do not >forward this email to anyone, and delete and destroy all copies of this >message. Thank You". >************************************************************************ >*********** > >-- >AccessD mailing list >AccessD at databaseadvisors.com >http://databaseadvisors.com/mailman/listinfo/accessd >Website: http://www.databaseadvisors.com > > -- 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 Wed Jun 22 18:34:35 2005 From: accessd at shaw.ca (Jim Lawrence) Date: Wed, 22 Jun 2005 16:34:35 -0700 Subject: [AccessD] OT: Sharepoint Security (SOLVED) In-Reply-To: <011401c57754$64dd7380$0100a8c0@Martin> Message-ID: <0III0010JETNHY@l-daemon> Hi Martin: With all this information I should be good to go... I now need to run up SharePoint. Thanks you very much. Jim -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Martin Reid Sent: Wednesday, June 22, 2005 11:01 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] OT: Sharepoint Security (SOLVED) Hi Jim I did a paper for Microsoft on this last year. http://msdn.microsoft.com/library/default.asp?url=/library/en-us/odc_fp2003_ ta/html/odc_FP_whatsnew2003.asp http://msdn.microsoft.com/library/default.asp?url=/library/en-us/odc_fp2003_ ta/html/odc_FP_whatsnew2003.asp May be interesting Martin ----- Original Message ----- From: "Jim DeMarco" To: "Access Developers discussion and problem solving" Sent: Wednesday, June 22, 2005 6:55 PM Subject: RE: [AccessD] OT: Sharepoint Security (SOLVED) > True (SPS is the portal version for the uninitiated). And I didn't even > mention the cool hooks into Office 2003 where you can connect Access to > DBs posted on a site or link Excel sheets for real time data updates. > > JD > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Martin Reid > Sent: Wednesday, June 22, 2005 1:45 PM > To: Access Developers discussion and problem solving > Subject: Re: [AccessD] OT: Sharepoint Security (SOLVED) > > > SPS provides the ability to search and index many WSS sites. It sites on > top > of WSS and allows you to pull them all together. Its a real cool tool for > example full file store search, personal sites, auidences etc etc > > I have sent you a presentation on the very topic I am giving on Friday LOL > > > Martin > > > ----- Original Message ----- > From: "Jim Lawrence" > To: "'Access Developers discussion and problem solving'" > > Sent: Wednesday, June 22, 2005 5:40 PM > Subject: RE: [AccessD] OT: Sharepoint Security (SOLVED) > > >> Hi All: >> >> Given that this question will seem simple and slightly ignorant... what >> is >> a >> SharePoint Portal used for and what does it improve or replace. >> >> Jim >> >> -----Original Message----- >> From: accessd-bounces at databaseadvisors.com >> [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Jim DeMarco >> Sent: Wednesday, June 22, 2005 9:33 AM >> To: Access Developers discussion and problem solving >> Subject: RE: [AccessD] OT: Sharepoint Security (SOLVED) >> >> The culprit seemed to be that the user(s) in question were members of a >> Desktop Administrators group that was set up for us. Removing that group >> from the Sharepoint server machine seems to have corrected the issue >> (further testing pending). >> >> Thanks to all, >> >> Jim DeMarco >> >> -----Original Message----- >> From: accessd-bounces at databaseadvisors.com >> [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Jim DeMarco >> Sent: Wednesday, June 22, 2005 10:30 AM >> To: Access Developers discussion and problem solving >> Subject: RE: [AccessD] OT: Sharepoint Security >> >> >> Well I just set up a non-IT staff member with Read access and that's all >> > he >> could do (read). When I removed him from the site he could not access it >> any longer. So it looks like it may be using Windows Security to >> authenticate users. Unfortunately I need to limit even our IT staff in >> various sections of the site so I've got to get a work around together. >> >> I'll keep you posted. >> >> Thanks, >> >> Jim DeMarco >> >> -----Original Message----- >> From: accessd-bounces at databaseadvisors.com >> [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Jim Hewson >> Sent: Wednesday, June 22, 2005 10:08 AM >> To: Access Developers discussion and problem solving >> Subject: RE: [AccessD] OT: Sharepoint Security >> >> >> Jim, >> I'm a novice, but will become the SharePoint "Expert" when I change >> jobs, in my company, next month. I'm interested in the outcome of your >> question. >> A couple of random thoughts... >> There are two levels of security for SharePoint. They are Central >> Administration and Site Administration rights. Central take precedence >> over site rights. If a person is a member of the Central Administration >> group which manages the settings for the Web Server and virtual servers, >> they effectively have Administrative rights to the entire portal. >> In Site Administration, IIRC, there is a toggle somewhere to designate a >> person to have the same rights as the parent area or site. >> Let me know if you have found the solution. >> Regards, >> Jim H. >> >> -----Original Message----- >> From: accessd-bounces at databaseadvisors.com >> [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Jim DeMarco >> Sent: Wednesday, June 22, 2005 8:04 AM >> To: AccessD (E-mail) >> Subject: [AccessD] OT: Sharepoint Security >> >> List, >> >> I've done some Googling but I can't seem to find the answer to this odd >> problem. I set up a Sharepoint site as a test bed (Sharepoint Services >> not Server) and gave a few users access. No matter what rights I give >> the users they have full admin rights to the sight. I set up custom >> security groups and the site is completely ignoring them. To further >> add to the mystery I removed on user (she is not a member of any >> security group therefore should not have access to the site) and she can >> still get in with full admin rights. Is it possible that Sharepoint is >> deferring to Windows rights? These are all IT staff here and have more >> liberal rights to our network than the average user. >> >> Does anyone have a clue? A push in the right direction would be >> appreciated. >> >> TIA >> >> Jim DeMarco >> Director of Application Development >> Hudson Health Plan >> >> >> >> ************************************************************************ >> *********** >> "This electronic message is intended to be for the use only of the named >> recipient, and may contain information from Hudson Health Plan (HHP) >> that is confidential or privileged. If you are not the intended >> recipient, you are hereby notified that any disclosure, copying, >> distribution or use of the contents of this message is strictly >> prohibited. If you have received this message in error or are not the >> named recipient, please notify us immediately, either by contacting the >> sender at the electronic mail address noted above or calling HHP at >> (914) 631-1611. If you are not the intended recipient, please do not >> forward this email to anyone, and delete and destroy all copies of this >> message. Thank You". >> ************************************************************************ >> *********** >> >> -- >> AccessD mailing list >> AccessD at databaseadvisors.com >> http://databaseadvisors.com/mailman/listinfo/accessd >> Website: http://www.databaseadvisors.com >> -- >> AccessD mailing list >> AccessD at databaseadvisors.com >> http://databaseadvisors.com/mailman/listinfo/accessd >> Website: http://www.databaseadvisors.com >> >> >> >> >> >> >> **************************************************************************** >> ******* >> "This electronic message is intended to be for the use only of the named >> recipient, and may contain information from Hudson Health Plan (HHP) that >> > is >> confidential or privileged. If you are not the intended recipient, you > >> are >> hereby notified that any disclosure, copying, distribution or use of the >> contents of this message is strictly prohibited. If you have received >> this >> message in error or are not the named recipient, please notify us >> immediately, either by contacting the sender at the electronic mail >> address >> noted above or calling HHP at (914) 631-1611. If you are not the intended >> recipient, please do not forward this email to anyone, and delete and >> destroy all copies of this message. Thank You". >> **************************************************************************** >> ******* >> >> -- >> AccessD mailing list >> AccessD at databaseadvisors.com >> http://databaseadvisors.com/mailman/listinfo/accessd >> Website: http://www.databaseadvisors.com >> >> >> >> >> >> >> **************************************************************************** >> ******* >> "This electronic message is intended to be for the use only of the named >> recipient, and may contain information from Hudson Health Plan (HHP) that >> > is >> confidential or privileged. If you are not the intended recipient, you > >> are >> hereby notified that any disclosure, copying, distribution or use of the >> contents of this message is strictly prohibited. If you have received >> this >> message in error or are not the named recipient, please notify us >> immediately, either by contacting the sender at the electronic mail >> address >> noted above or calling HHP at (914) 631-1611. If you are not the intended >> recipient, please do not forward this email to anyone, and delete and >> destroy all copies of this message. Thank You". >> **************************************************************************** >> ******* >> >> -- >> AccessD mailing list >> AccessD at databaseadvisors.com >> http://databaseadvisors.com/mailman/listinfo/accessd >> Website: http://www.databaseadvisors.com >> >> -- >> AccessD mailing list >> AccessD at databaseadvisors.com >> http://databaseadvisors.com/mailman/listinfo/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 accessd at shaw.ca Wed Jun 22 18:42:34 2005 From: accessd at shaw.ca (Jim Lawrence) Date: Wed, 22 Jun 2005 16:42:34 -0700 Subject: [AccessD] OT: Sharepoint Security (SOLVED) In-Reply-To: <011401c57754$64dd7380$0100a8c0@Martin> Message-ID: <0III00419F6YZH@l-daemon> Hi All: If there is anyone who I did not thank for information of the SharePoint Portal subject consider them-selves thanked. Jim From jmhecht at earthlink.net Wed Jun 22 19:02:13 2005 From: jmhecht at earthlink.net (Joe Hecht) Date: Wed, 22 Jun 2005 17:02:13 -0700 Subject: [AccessD] Good Code Bad Code Question In-Reply-To: <5C210A2F04B76B4AB2A18E6FEB81713401CDA669@HDQ06.bepc.net> Message-ID: <000601c57786$cfaf1c90$6401a8c0@laptop1> Kevin wins. Need more bangs and less dots. Joe Hecht Los Angeles CA -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Kevin Bachmeier Sent: Wednesday, June 22, 2005 11:25 AM To: Access Developers discussion and problem solving Subject: RE: [AccessD] Good Code Bad Code Question Try using the '!' instead of the '.' for the control reference: Me!txtCost.Value = Me!cboPartNum.Column(2) Versus: Me.txtCost.Value = Me.cboPartNum.Column(2) -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Joe Hecht Sent: Wednesday, June 22, 2005 1:01 PM To: 'Access Developers discussion and problem solving' Subject: [AccessD] Good Code Bad Code Question The following line of code works correctly Me.txtCost.Value = Me.cboPartNum.Column(2) When I try to compile the code I get an error message that .cboPartNum Method or Data member not found. Any Idea what is up? Option Explicit is set Thanks 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 From jmhecht at earthlink.net Wed Jun 22 19:11:26 2005 From: jmhecht at earthlink.net (Joe Hecht) Date: Wed, 22 Jun 2005 17:11:26 -0700 Subject: [AccessD] Good Code Bad Code Question In-Reply-To: Message-ID: <000701c57788$19176b70$6401a8c0@laptop1> C:\Program Files\Microsoft Office\Office10\MSACCESS.EXE C:\Data\K fernan\62205\PosiChargeFS Programs.mdb /decompile The installation path for access is the MS default. When I run the above I get error message Windows cannot find C:\Program ( Bla Bla Bla) Any thoughts Joe Hecht Los Angeles CA -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Charlotte Foust Sent: Wednesday, June 22, 2005 12:48 PM To: access at joe2.endjunk.com; Access Developers discussion and problem solving Subject: RE: [AccessD] Good Code Bad Code Question To decompile, you start Access with a command line /decompile argument. Any command line argument requires the full path to the executable be in the shortcut or the command line arg is ignoredCharlotte Foust -----Original Message----- From: Joe Hecht [mailto:jmhecht at earthlink.net] Sent: Wednesday, June 22, 2005 11:37 AM To: 'Access Developers discussion and problem solving' Subject: RE: [AccessD] Good Code Bad Code Question See inline Subject: RE: [AccessD] Good Code Bad Code Question You lost me, Joe. You say it works correctly but you get a compile error? If you get a compile error, it shouldn't work. ^ Yes I agree Have you tried decompile and recompile? ^ I have read posts here but maybe I am thick.(Well I am heavy : )) I do not understand how to decompile and recompile I have to say that in later versions of Access, I've had better luck using the afterupdate of a combo to put a non-value column value into another control. Have you tried that? ^That is where the code is. Charlotte Foust Thanks -----Original Message----- From: Joe Hecht [mailto:jmhecht at earthlink.net] Sent: Wednesday, June 22, 2005 11:01 AM To: 'Access Developers discussion and problem solving' Subject: [AccessD] Good Code Bad Code Question The following line of code works correctly Me.txtCost.Value = Me.cboPartNum.Column(2) When I try to compile the code I get an error message that .cboPartNum Method or Data member not found. Any Idea what is up? Option Explicit is set Thanks 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 Wed Jun 22 19:25:02 2005 From: cfoust at infostatsystems.com (Charlotte Foust) Date: Wed, 22 Jun 2005 17:25:02 -0700 Subject: [AccessD] Good Code Bad Code Question Message-ID: The dot works fine until you try and access the columns collection of the combobox object. The syntax just gets Access 2000 and later confused, since it is seeing the combobox as a property of the form rather than a member of a collection. This is one of those increasingly rare cases where you really do need the bang. Of course, when you get to .Net, there *is* no bang .... Charlotte Foust -----Original Message----- From: Joe Hecht [mailto:jmhecht at earthlink.net] Sent: Wednesday, June 22, 2005 5:02 PM To: 'Access Developers discussion and problem solving' Subject: RE: [AccessD] Good Code Bad Code Question Kevin wins. Need more bangs and less dots. Joe Hecht Los Angeles CA -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Kevin Bachmeier Sent: Wednesday, June 22, 2005 11:25 AM To: Access Developers discussion and problem solving Subject: RE: [AccessD] Good Code Bad Code Question Try using the '!' instead of the '.' for the control reference: Me!txtCost.Value = Me!cboPartNum.Column(2) Versus: Me.txtCost.Value = Me.cboPartNum.Column(2) -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Joe Hecht Sent: Wednesday, June 22, 2005 1:01 PM To: 'Access Developers discussion and problem solving' Subject: [AccessD] Good Code Bad Code Question The following line of code works correctly Me.txtCost.Value = Me.cboPartNum.Column(2) When I try to compile the code I get an error message that .cboPartNum Method or Data member not found. Any Idea what is up? Option Explicit is set Thanks 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 cfoust at infostatsystems.com Wed Jun 22 19:26:13 2005 From: cfoust at infostatsystems.com (Charlotte Foust) Date: Wed, 22 Jun 2005 17:26:13 -0700 Subject: [AccessD] Good Code Bad Code Question Message-ID: You need quotes around any path with spaces in it, so both the executable path and the mdb path need to be enclosed in a pair of double quotes each. Charlotte Foust -----Original Message----- From: Joe Hecht [mailto:jmhecht at earthlink.net] Sent: Wednesday, June 22, 2005 5:11 PM To: 'Access Developers discussion and problem solving' Subject: RE: [AccessD] Good Code Bad Code Question C:\Program Files\Microsoft Office\Office10\MSACCESS.EXE C:\Data\K fernan\62205\PosiChargeFS Programs.mdb /decompile The installation path for access is the MS default. When I run the above I get error message Windows cannot find C:\Program ( Bla Bla Bla) Any thoughts Joe Hecht Los Angeles CA -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Charlotte Foust Sent: Wednesday, June 22, 2005 12:48 PM To: access at joe2.endjunk.com; Access Developers discussion and problem solving Subject: RE: [AccessD] Good Code Bad Code Question To decompile, you start Access with a command line /decompile argument. Any command line argument requires the full path to the executable be in the shortcut or the command line arg is ignoredCharlotte Foust -----Original Message----- From: Joe Hecht [mailto:jmhecht at earthlink.net] Sent: Wednesday, June 22, 2005 11:37 AM To: 'Access Developers discussion and problem solving' Subject: RE: [AccessD] Good Code Bad Code Question See inline Subject: RE: [AccessD] Good Code Bad Code Question You lost me, Joe. You say it works correctly but you get a compile error? If you get a compile error, it shouldn't work. ^ Yes I agree Have you tried decompile and recompile? ^ I have read posts here but maybe I am thick.(Well I am heavy : )) I do not understand how to decompile and recompile I have to say that in later versions of Access, I've had better luck using the afterupdate of a combo to put a non-value column value into another control. Have you tried that? ^That is where the code is. Charlotte Foust Thanks -----Original Message----- From: Joe Hecht [mailto:jmhecht at earthlink.net] Sent: Wednesday, June 22, 2005 11:01 AM To: 'Access Developers discussion and problem solving' Subject: [AccessD] Good Code Bad Code Question The following line of code works correctly Me.txtCost.Value = Me.cboPartNum.Column(2) When I try to compile the code I get an error message that .cboPartNum Method or Data member not found. Any Idea what is up? Option Explicit is set Thanks 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 Bruce.Bruen at railcorp.nsw.gov.au Wed Jun 22 19:37:11 2005 From: Bruce.Bruen at railcorp.nsw.gov.au (Bruen, Bruce) Date: Thu, 23 Jun 2005 10:37:11 +1000 Subject: [AccessD] Good Code Bad Code Question Message-ID: "C:\Program Files\Microsoft Office\Office10\MSACCESS.EXE" "C:\Data\K fernan\62205\PosiChargeFS Programs.mdb" /decompile I just love Moronsoft's implemntation of long file names. bruce -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Joe Hecht Sent: Thursday, 23 June 2005 10:11 AM To: 'Access Developers discussion and problem solving' Subject: RE: [AccessD] Good Code Bad Code Question C:\Program Files\Microsoft Office\Office10\MSACCESS.EXE C:\Data\K fernan\62205\PosiChargeFS Programs.mdb /decompile The installation path for access is the MS default. When I run the above I get error message Windows cannot find C:\Program ( Bla Bla Bla) Any thoughts Joe Hecht Los Angeles CA -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Charlotte Foust Sent: Wednesday, June 22, 2005 12:48 PM To: access at joe2.endjunk.com; Access Developers discussion and problem solving Subject: RE: [AccessD] Good Code Bad Code Question To decompile, you start Access with a command line /decompile argument. Any command line argument requires the full path to the executable be in the shortcut or the command line arg is ignoredCharlotte Foust -----Original Message----- From: Joe Hecht [mailto:jmhecht at earthlink.net] Sent: Wednesday, June 22, 2005 11:37 AM To: 'Access Developers discussion and problem solving' Subject: RE: [AccessD] Good Code Bad Code Question See inline Subject: RE: [AccessD] Good Code Bad Code Question You lost me, Joe. You say it works correctly but you get a compile error? If you get a compile error, it shouldn't work. ^ Yes I agree Have you tried decompile and recompile? ^ I have read posts here but maybe I am thick.(Well I am heavy : )) I do not understand how to decompile and recompile I have to say that in later versions of Access, I've had better luck using the afterupdate of a combo to put a non-value column value into another control. Have you tried that? ^That is where the code is. Charlotte Foust Thanks -----Original Message----- From: Joe Hecht [mailto:jmhecht at earthlink.net] Sent: Wednesday, June 22, 2005 11:01 AM To: 'Access Developers discussion and problem solving' Subject: [AccessD] Good Code Bad Code Question The following line of code works correctly Me.txtCost.Value = Me.cboPartNum.Column(2) When I try to compile the code I get an error message that .cboPartNum Method or Data member not found. Any Idea what is up? Option Explicit is set Thanks 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 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 dejpolsys at hotmail.com Wed Jun 22 20:55:45 2005 From: dejpolsys at hotmail.com (William Hindman) Date: Wed, 22 Jun 2005 21:55:45 -0400 Subject: [AccessD] Open File Dialog Box Call Fails References: <00b401c57736$57c70fd0$6c01a8c0@HAL9004> Message-ID: ..the comdlg32.dll is probably the most screwed with dll by 3rd party apps ..see if his admin has disabled Windows File Protection ...or better yet, have him run a System File Check on each affected system ...if that fails to correct the problem, try a System Restore to a date before the problem first appeared. William ----- Original Message ----- From: "Rocky Smolin - Beach Access Software" To: ; "dba-tech" Cc: "Ben Saltzer" Sent: Wednesday, June 22, 2005 10:26 AM Subject: [AccessD] Open File Dialog Box Call Fails Dear List: I have a client who's selling an app I wrote where I use the code from the ADH to call the file open dialog box: Declare Function adh_apiGetOpenFileName Lib "comdlg32.dll" _ Alias "GetOpenFileNameA" (ofn As tagOPENFILENAME) As Boolean I haven't worked on the app for several months and it's been very stable until a couple of weeks ago when this call began to fail with no error message. Just didn't open the dialog box. Then it failed on another computer. Then on another one. Now no computer in his place runs this api. I went over to his place and stepped through the code and sure enough it goes to the api call and then goes right through the api call without opening the dialog box. If we try to drop the common dialog control onto a form in design view from the additional tools list in the toolbox we get a message that says the OLE server isn't registered. So I need to figure out 1) how to get the OLE server registered (unregistered first I suppose) and see if that is somehow hosing the file open dialog box 2) figure out if there's a problem with comdlg32.dll 3) see if I can determine why this app suddenly went south so that it doesn't happen at one of his customer sites. He's using Access 2000 SP-3 but also fails in AXP. The app fails on both W2K and WXP. He's pretty careful about virus scanning. I don't think it is a virus even though it behaves like one. Is it possible that it got hosed by an automatic windows update? Any clue as to what's going on here would be greatly appreciated. MTIA, Rocky Smolin Beach Access Software http://www.e-z-mrp.com 858-259-4334 -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From jmhecht at earthlink.net Wed Jun 22 23:55:24 2005 From: jmhecht at earthlink.net (Joe Hecht) Date: Wed, 22 Jun 2005 21:55:24 -0700 Subject: [AccessD] Just Checking.... In-Reply-To: Message-ID: <003e01c577af$c5146f00$6401a8c0@laptop1> Please share Joe Hecht Los Angeles CA Blame the muscle relaxants for back spasms, please. From ssharkins at bellsouth.net Thu Jun 23 07:49:54 2005 From: ssharkins at bellsouth.net (Susan Harkins) Date: Thu, 23 Jun 2005 08:49:54 -0400 Subject: [AccessD] Expression not working in text box Message-ID: <20050623124955.QFUR4468.ibm61aec.bellsouth.net@SUSANONE> =Forms!mainform!subform.Form.RecordsetClone.RecordCount I've used the above expression before, in a main form, to return a count of the records in a subform. It isn't working in 2003. It works in the Immediate window, so I have no clue what the problem is. :( I know I can just use Count(*) in the subform and reference that control -- and I will if I have to in the end -- but anyone know what they above won't work in 2003? Susan H. From ssharkins at bellsouth.net Thu Jun 23 08:59:59 2005 From: ssharkins at bellsouth.net (Susan Harkins) Date: Thu, 23 Jun 2005 09:59:59 -0400 Subject: [AccessD] Normalizing issue Message-ID: <20050623135959.FMWJ25470.ibm57aec.bellsouth.net@SUSANONE> How do you guys deal with people that use three or more names professionally? I do -- Susan Sales Harkins. Do you store the second name with the first or use three fields? The middle name really isn't a "middle" name. It's actually part of the last name, but the last name is the real last name -- so if you stored it with the last name, you'd have to depend on users to enter it correctly, as in Harkins, Sales -- which is a mistake before you even get started... And how do you write in the flexibility that handles 2 or 3 names? Susan H. From jimdettman at earthlink.net Thu Jun 23 09:32:00 2005 From: jimdettman at earthlink.net (Jim Dettman) Date: Thu, 23 Jun 2005 10:32:00 -0400 Subject: [AccessD] Normalizing issue In-Reply-To: <20050623135959.FMWJ25470.ibm57aec.bellsouth.net@SUSANONE> Message-ID: Susan, I make it part of the last name field. Jim. -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Susan Harkins Sent: Thursday, June 23, 2005 10:00 AM To: 'Access Developers discussion and problem solving' Subject: [AccessD] Normalizing issue How do you guys deal with people that use three or more names professionally? I do -- Susan Sales Harkins. Do you store the second name with the first or use three fields? The middle name really isn't a "middle" name. It's actually part of the last name, but the last name is the real last name -- so if you stored it with the last name, you'd have to depend on users to enter it correctly, as in Harkins, Sales -- which is a mistake before you even get started... And how do you write in the flexibility that handles 2 or 3 names? Susan H. -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From prodevmg at yahoo.com Thu Jun 23 09:39:10 2005 From: prodevmg at yahoo.com (Lonnie Johnson) Date: Thu, 23 Jun 2005 07:39:10 -0700 (PDT) Subject: [AccessD] Normalizing issue In-Reply-To: Message-ID: <20050623143910.93035.qmail@web33101.mail.mud.yahoo.com> Same here. The number of records that have a second last name vs those that don't dosen't warrant our efforts to program around it. We put the burden of keying it in properly on the business/clerical departments. Jim Dettman wrote: Susan, I make it part of the last name field. Jim. -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Susan Harkins Sent: Thursday, June 23, 2005 10:00 AM To: 'Access Developers discussion and problem solving' Subject: [AccessD] Normalizing issue How do you guys deal with people that use three or more names professionally? I do -- Susan Sales Harkins. Do you store the second name with the first or use three fields? The middle name really isn't a "middle" name. It's actually part of the last name, but the last name is the real last name -- so if you stored it with the last name, you'd have to depend on users to enter it correctly, as in Harkins, Sales -- which is a mistake before you even get started... And how do you write in the flexibility that handles 2 or 3 names? Susan H. -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com May God bless you beyond your imagination! Lonnie Johnson ProDev, Professional Development of MS Access Databases Visit me at ==> http://www.prodev.us --------------------------------- Yahoo! Sports Rekindle the Rivalries. Sign up for Fantasy Football From ssharkins at bellsouth.net Thu Jun 23 09:46:12 2005 From: ssharkins at bellsouth.net (Susan Harkins) Date: Thu, 23 Jun 2005 10:46:12 -0400 Subject: [AccessD] Normalizing issue In-Reply-To: <20050623143910.93035.qmail@web33101.mail.mud.yahoo.com> Message-ID: <20050623144612.YQSE5308.ibm66aec.bellsouth.net@SUSANONE> So you both depend on the data entry person to enter Harkins Sales instead of Sales Harkins? That's interesting. ;) Susan H. The number of records that have a second last name vs those that don't dosen't warrant our efforts to program around it. We put the burden of keying it in properly on the business/clerical departments. From kwilliam at ashlandnet.com Thu Jun 23 09:46:43 2005 From: kwilliam at ashlandnet.com (Keith Williamson) Date: Thu, 23 Jun 2005 10:46:43 -0400 Subject: [AccessD] DateName Function In-Reply-To: <20050623135959.FMWJ25470.ibm57aec.bellsouth.net@SUSANONE> Message-ID: <000f01c57802$5fee5610$64aba8c0@ashlandnet.com> Anyone know how to deal with this? I am collating data for daily sales. The data I am given is total sales per day, for the past three years. Ideally I want to turn this into a graphic comparing monthly sales for each year (ie. 3-dimensional comparison of each month's sales, compared to prior history.) The problem I am having is that I run a sum query to give me monthly sales, for each year, using the month function (ie. Month([date]) & year([date])...and summarizing on that.) What I wind up with is: Expr1:Month([date]) field = 1, 2, 3, 4,....12 Expr2:Year([date]) field = 2003, 2004, 2005 SumofSales field = currency value of sales for that month/year One row of data that might be returned: 1, 2003, 25000 Now ...I can make a graph of this...but it doesn't look good 1-2003 vs. 1-2004 vs. 1-2005 Obviously...I would rather it say January 2003 vs. January 2004 vs. January 2005 BUT>>>> When I try to use the DateName Function on Month([date]) field....it doesn't work: DateName([expr1]) When I run the query, I get a request for value dialogue box for Expr1. Do I need to format the function a certain way to get it to calculate DateName on a function(month([date])?? Thanks for any help!!! Regards, Keith E. Williamson Ashland Equipment, Inc phone # (410) 273-1856 fax # (410) 273-1859 From reuben at gfconsultants.com Thu Jun 23 09:59:37 2005 From: reuben at gfconsultants.com (Reuben Cummings) Date: Thu, 23 Jun 2005 09:59:37 -0500 Subject: [AccessD] Normalizing issue In-Reply-To: <20050623144612.YQSE5308.ibm66aec.bellsouth.net@SUSANONE> Message-ID: I use middle name. My feeling is that no one cares if it's actually a last name or middle name. Either way it's in the right place all the time if you use a middle name field. The question really is how is that person listed on legal documents. If, for example, you are listed on your mortgage or social security (or whatever) as Last name = Sales Harkins, First name = Susan then that's the last name, but if you use it "unofficially" then I would make it a middle name. Reuben Cummings GFC, LLC phone: 812.523.1017 email: reuben at gfconsultants.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Susan Harkins Sent: Thursday, June 23, 2005 9:46 AM To: 'Access Developers discussion and problem solving' Subject: RE: [AccessD] Normalizing issue So you both depend on the data entry person to enter Harkins Sales instead of Sales Harkins? That's interesting. ;) Susan H. The number of records that have a second last name vs those that don't dosen't warrant our efforts to program around it. We put the burden of keying it in properly on the business/clerical departments. -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From prodevmg at yahoo.com Thu Jun 23 09:58:05 2005 From: prodevmg at yahoo.com (Lonnie Johnson) Date: Thu, 23 Jun 2005 07:58:05 -0700 (PDT) Subject: [AccessD] Normalizing issue In-Reply-To: <20050623144612.YQSE5308.ibm66aec.bellsouth.net@SUSANONE> Message-ID: <20050623145805.90053.qmail@web33109.mail.mud.yahoo.com> Yes, actually our MIS department and our data entery department work together to enforce standards for data entry such as abreviations and use of special characters. There is also a step of quality control after all data is entered each day to ensure acurracy. Susan Harkins wrote:So you both depend on the data entry person to enter Harkins Sales instead of Sales Harkins? That's interesting. ;) Susan H. The number of records that have a second last name vs those that don't dosen't warrant our efforts to program around it. We put the burden of keying it in properly on the business/clerical departments. -- 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 john at winhaven.net Thu Jun 23 10:04:45 2005 From: john at winhaven.net (John Bartow) Date: Thu, 23 Jun 2005 10:04:45 -0500 Subject: [AccessD] Normalizing issue In-Reply-To: <20050623143910.93035.qmail@web33101.mail.mud.yahoo.com> Message-ID: <200506231504.j5NF4jx8118710@pimout3-ext.prodigy.net> Ditto - I suppose it varies by region/country but we've very little need for it in this area. John B. -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Lonnie Johnson Sent: Thursday, June 23, 2005 9:39 AM To: Access Developers discussion and problem solving Subject: RE: [AccessD] Normalizing issue Same here. The number of records that have a second last name vs those that don't dosen't warrant our efforts to program around it. We put the burden of keying it in properly on the business/clerical departments. Jim Dettman wrote: Susan, I make it part of the last name field. Jim. -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Susan Harkins Sent: Thursday, June 23, 2005 10:00 AM To: 'Access Developers discussion and problem solving' Subject: [AccessD] Normalizing issue How do you guys deal with people that use three or more names professionally? I do -- Susan Sales Harkins. Do you store the second name with the first or use three fields? The middle name really isn't a "middle" name. It's actually part of the last name, but the last name is the real last name -- so if you stored it with the last name, you'd have to depend on users to enter it correctly, as in Harkins, Sales -- which is a mistake before you even get started... And how do you write in the flexibility that handles 2 or 3 names? Susan H. -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com May God bless you beyond your imagination! Lonnie Johnson ProDev, Professional Development of MS Access Databases Visit me at ==> http://www.prodev.us --------------------------------- Yahoo! Sports Rekindle the Rivalries. Sign up for Fantasy Football -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From ssharkins at bellsouth.net Thu Jun 23 10:24:38 2005 From: ssharkins at bellsouth.net (Susan Harkins) Date: Thu, 23 Jun 2005 11:24:38 -0400 Subject: [AccessD] Normalizing issue In-Reply-To: <20050623145805.90053.qmail@web33109.mail.mud.yahoo.com> Message-ID: <20050623152444.MELP25209.ibm63aec.bellsouth.net@SUSANONE> I wrote a two-part article about training a few years ago -- I thought it was a good piece, but they hacked it to shreds. :( Training is a database developer/designer's best friend. :) Susan H. Yes, actually our MIS department and our data entery department work together to enforce standards for data entry such as abreviations and use of special characters. There is also a step of quality control after all data is entered each day to ensure acurracy. Susan Harkins wrote:So you both depend on the data entry person to enter Harkins Sales instead of Sales Harkins? That's interesting. ;) From ssharkins at bellsouth.net Thu Jun 23 10:24:38 2005 From: ssharkins at bellsouth.net (Susan Harkins) Date: Thu, 23 Jun 2005 11:24:38 -0400 Subject: [AccessD] Normalizing issue In-Reply-To: Message-ID: <20050623152456.MEOM25209.ibm63aec.bellsouth.net@SUSANONE> I see your point -- but how do you handle those times when you're not gleaning middle names, just first and last -- for instance, a simple mailing list where you don't want to include middle names, but where the person "goes by" Sales Harkins... You'd leave off Sales -- which isn't a crisis, but could make some people mad. For me, Sales is just part of my writing name -- I don't use it officially -- don't' sign anything with it, but it's an identifier. Years ago, I learned that another Susan Harkins was the editor of another technical journal -- that was just too close for comfort -- I added the Sales. Now, if you sent me a letter addressed to Susan Harkins, I wouldn't care or get angry -- but some might. Is this worth considering? I suppose one answer is to simply always use the middle name in all cases, but that seems overkill. Susan H. I use middle name. My feeling is that no one cares if it's actually a last name or middle name. Either way it's in the right place all the time if you use a middle name field. The question really is how is that person listed on legal documents. If, for example, you are listed on your mortgage or social security (or whatever) as Last name = Sales Harkins, First name = Susan then that's the last name, but if you use it "unofficially" then I would make it a middle name. Reuben Cummings GFC, LLC phone: 812.523.1017 email: reuben at gfconsultants.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Susan Harkins Sent: Thursday, June 23, 2005 9:46 AM To: 'Access Developers discussion and problem solving' Subject: RE: [AccessD] Normalizing issue So you both depend on the data entry person to enter Harkins Sales instead of Sales Harkins? That's interesting. ;) Susan H. The number of records that have a second last name vs those that don't dosen't warrant our efforts to program around it. We put the burden of keying it in properly on the business/clerical departments. -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd 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 Jun 23 10:28:32 2005 From: cfoust at infostatsystems.com (Charlotte Foust) Date: Thu, 23 Jun 2005 08:28:32 -0700 Subject: [AccessD] Just Checking.... Message-ID: Um ... The muscle relaxants or the back spasms?? Charlotte Foust -----Original Message----- From: Joe Hecht [mailto:jmhecht at earthlink.net] Sent: Wednesday, June 22, 2005 9:55 PM To: 'Access Developers discussion and problem solving' Subject: RE: [AccessD] Just Checking.... Please share Joe Hecht Los Angeles CA Blame the muscle relaxants for back spasms, please. -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From mikedorism at verizon.net Thu Jun 23 10:30:11 2005 From: mikedorism at verizon.net (Mike & Doris Manning) Date: Thu, 23 Jun 2005 11:30:11 -0400 Subject: [AccessD] DateName Function In-Reply-To: <000f01c57802$5fee5610$64aba8c0@ashlandnet.com> Message-ID: <000401c57808$736a8780$2f01a8c0@hargrove.internal> Use DatePart to get the month name instead. Doris Manning Database Administrator Hargrove Inc. www.hargroveinc.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Keith Williamson Sent: Thursday, June 23, 2005 10:47 AM To: 'Access Developers discussion and problem solving' Subject: [AccessD] DateName Function Anyone know how to deal with this? I am collating data for daily sales. The data I am given is total sales per day, for the past three years. Ideally I want to turn this into a graphic comparing monthly sales for each year (ie. 3-dimensional comparison of each month's sales, compared to prior history.) The problem I am having is that I run a sum query to give me monthly sales, for each year, using the month function (ie. Month([date]) & year([date])...and summarizing on that.) What I wind up with is: Expr1:Month([date]) field = 1, 2, 3, 4,....12 Expr2:Year([date]) field = 2003, 2004, 2005 SumofSales field = currency value of sales for that month/year One row of data that might be returned: 1, 2003, 25000 Now ...I can make a graph of this...but it doesn't look good 1-2003 vs. 1-2004 vs. 1-2005 Obviously...I would rather it say January 2003 vs. January 2004 vs. January 2005 BUT>>>> When I try to use the DateName Function on Month([date]) field....it doesn't work: DateName([expr1]) When I run the query, I get a request for value dialogue box for Expr1. Do I need to format the function a certain way to get it to calculate DateName on a function(month([date])?? Thanks for any help!!! Regards, Keith E. Williamson Ashland Equipment, Inc phone # (410) 273-1856 fax # (410) 273-1859 -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From cfoust at infostatsystems.com Thu Jun 23 10:33:23 2005 From: cfoust at infostatsystems.com (Charlotte Foust) Date: Thu, 23 Jun 2005 08:33:23 -0700 Subject: [AccessD] Normalizing issue Message-ID: If it isn't a middle or maiden name, what is it? This gets even more tricky with non-English names where "last" names can get really confusing. I generally provide a field for first, middle, and last name and make it the responsibility of the user to enter the appropriate value in the appropriate field. The rules for parsing this can become so draconian, that it hardly seems worth the work to do anything else. Charlotte Foust -----Original Message----- From: Susan Harkins [mailto:ssharkins at bellsouth.net] Sent: Thursday, June 23, 2005 7:00 AM To: 'Access Developers discussion and problem solving' Subject: [AccessD] Normalizing issue How do you guys deal with people that use three or more names professionally? I do -- Susan Sales Harkins. Do you store the second name with the first or use three fields? The middle name really isn't a "middle" name. It's actually part of the last name, but the last name is the real last name -- so if you stored it with the last name, you'd have to depend on users to enter it correctly, as in Harkins, Sales -- which is a mistake before you even get started... And how do you write in the flexibility that handles 2 or 3 names? Susan H. -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From ssharkins at bellsouth.net Thu Jun 23 10:42:31 2005 From: ssharkins at bellsouth.net (Susan Harkins) Date: Thu, 23 Jun 2005 11:42:31 -0400 Subject: [AccessD] Normalizing issue In-Reply-To: Message-ID: <20050623154231.MOKU25209.ibm63aec.bellsouth.net@SUSANONE> If it isn't a middle or maiden name, what is it? This gets even more tricky with non-English names where "last" names can get really confusing. I generally provide a field for first, middle, and last name and make it the responsibility of the user to enter the appropriate value in the appropriate field. The rules for parsing this can become so draconian, that it hardly seems worth the work to do anything else. ========I'm in the middle of creating a database (pro bono) for a writer's organization. It's a simple deal and will require little work -- but this is already cropping up. These people will want their "writing" names with their publications -- I'm thinking about just adding one more field to store their "pen name" or whatever -- but then that becomes a nuisance if their name and professional name are the same -- gotta fill in both or allow for the blanks and go find the real name -- such a nuisance -- I think at this point the middle name is the best solution -- Susan H. From cfoust at infostatsystems.com Thu Jun 23 10:50:47 2005 From: cfoust at infostatsystems.com (Charlotte Foust) Date: Thu, 23 Jun 2005 08:50:47 -0700 Subject: [AccessD] Normalizing issue Message-ID: Since it's a writer's database, a separate *table* for pen names makes a lot of sense. Some writers use multiple pen names, so creating a pseudonym table is the safest way to handle that and relate it to the writer's actual name. You could always use the real name as the default when filling in a pen name. Charlotte Foust -----Original Message----- From: Susan Harkins [mailto:ssharkins at bellsouth.net] Sent: Thursday, June 23, 2005 8:43 AM To: 'Access Developers discussion and problem solving' Subject: RE: [AccessD] Normalizing issue If it isn't a middle or maiden name, what is it? This gets even more tricky with non-English names where "last" names can get really confusing. I generally provide a field for first, middle, and last name and make it the responsibility of the user to enter the appropriate value in the appropriate field. The rules for parsing this can become so draconian, that it hardly seems worth the work to do anything else. ========I'm in the middle of creating a database (pro bono) for a writer's organization. It's a simple deal and will require little work -- but this is already cropping up. These people will want their "writing" names with their publications -- I'm thinking about just adding one more field to store their "pen name" or whatever -- but then that becomes a nuisance if their name and professional name are the same -- gotta fill in both or allow for the blanks and go find the real name -- such a nuisance -- I think at this point the middle name is the best solution -- Susan H. -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From prodevmg at yahoo.com Thu Jun 23 10:53:27 2005 From: prodevmg at yahoo.com (Lonnie Johnson) Date: Thu, 23 Jun 2005 08:53:27 -0700 (PDT) Subject: [AccessD] Normalizing issue In-Reply-To: <20050623152456.MEOM25209.ibm63aec.bellsouth.net@SUSANONE> Message-ID: <20050623155327.10646.qmail@web33109.mail.mud.yahoo.com> Question: What do you do if they actually have a middle name and two last names? Susan Harkins wrote: I see your point -- but how do you handle those times when you're not gleaning middle names, just first and last -- for instance, a simple mailing list where you don't want to include middle names, but where the person "goes by" Sales Harkins... You'd leave off Sales -- which isn't a crisis, but could make some people mad. For me, Sales is just part of my writing name -- I don't use it officially -- don't' sign anything with it, but it's an identifier. Years ago, I learned that another Susan Harkins was the editor of another technical journal -- that was just too close for comfort -- I added the Sales. Now, if you sent me a letter addressed to Susan Harkins, I wouldn't care or get angry -- but some might. Is this worth considering? I suppose one answer is to simply always use the middle name in all cases, but that seems overkill. Susan H. I use middle name. My feeling is that no one cares if it's actually a last name or middle name. Either way it's in the right place all the time if you use a middle name field. The question really is how is that person listed on legal documents. If, for example, you are listed on your mortgage or social security (or whatever) as Last name = Sales Harkins, First name = Susan then that's the last name, but if you use it "unofficially" then I would make it a middle name. Reuben Cummings GFC, LLC phone: 812.523.1017 email: reuben at gfconsultants.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Susan Harkins Sent: Thursday, June 23, 2005 9:46 AM To: 'Access Developers discussion and problem solving' Subject: RE: [AccessD] Normalizing issue So you both depend on the data entry person to enter Harkins Sales instead of Sales Harkins? That's interesting. ;) Susan H. The number of records that have a second last name vs those that don't dosen't warrant our efforts to program around it. We put the burden of keying it in properly on the business/clerical departments. -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/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 kwilliam at ashlandnet.com Thu Jun 23 11:00:32 2005 From: kwilliam at ashlandnet.com (Keith Williamson) Date: Thu, 23 Jun 2005 12:00:32 -0400 Subject: [AccessD] DateName Function In-Reply-To: <000401c57808$736a8780$2f01a8c0@hargrove.internal> Message-ID: <000001c5780c$afdcf000$64aba8c0@ashlandnet.com> AAHHHHH!! Never used that function. PERFECT!!! Thanks!!!! Keith E. Williamson Ashland Equipment, Inc phone # (410) 273-1856 fax # (410) 273-1859 -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Mike & Doris Manning Sent: Thursday, June 23, 2005 11:30 AM To: 'Access Developers discussion and problem solving' Subject: RE: [AccessD] DateName Function Use DatePart to get the month name instead. Doris Manning Database Administrator Hargrove Inc. www.hargroveinc.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Keith Williamson Sent: Thursday, June 23, 2005 10:47 AM To: 'Access Developers discussion and problem solving' Subject: [AccessD] DateName Function Anyone know how to deal with this? I am collating data for daily sales. The data I am given is total sales per day, for the past three years. Ideally I want to turn this into a graphic comparing monthly sales for each year (ie. 3-dimensional comparison of each month's sales, compared to prior history.) The problem I am having is that I run a sum query to give me monthly sales, for each year, using the month function (ie. Month([date]) & year([date])...and summarizing on that.) What I wind up with is: Expr1:Month([date]) field = 1, 2, 3, 4,....12 Expr2:Year([date]) field = 2003, 2004, 2005 SumofSales field = currency value of sales for that month/year One row of data that might be returned: 1, 2003, 25000 Now ...I can make a graph of this...but it doesn't look good 1-2003 vs. 1-2004 vs. 1-2005 Obviously...I would rather it say January 2003 vs. January 2004 vs. January 2005 BUT>>>> When I try to use the DateName Function on Month([date]) field....it doesn't work: DateName([expr1]) When I run the query, I get a request for value dialogue box for Expr1. Do I need to format the function a certain way to get it to calculate DateName on a function(month([date])?? Thanks for any help!!! Regards, Keith E. Williamson Ashland Equipment, Inc phone # (410) 273-1856 fax # (410) 273-1859 -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From bchacc at san.rr.com Thu Jun 23 11:25:31 2005 From: bchacc at san.rr.com (Rocky Smolin - Beach Access Software) Date: Thu, 23 Jun 2005 09:25:31 -0700 Subject: [AccessD] Turn Off Help Box in Access 2003 Message-ID: <008701c57810$2cf39d20$6701a8c0@HAL9004> Dear List: In access 2003 up in the right corner by the maximize, minimize and close buttons there's a help box. Does anyone know the syntax for turning this thing off through code? MTIA Rocky Smolin Beach Access Software http://www.e-z-mrp.com 858-259-4334 From reuben at gfconsultants.com Thu Jun 23 11:38:34 2005 From: reuben at gfconsultants.com (Reuben Cummings) Date: Thu, 23 Jun 2005 11:38:34 -0500 Subject: [AccessD] Normalizing issue In-Reply-To: <20050623152456.MEOM25209.ibm63aec.bellsouth.net@SUSANONE> Message-ID: >>I see your point -- but how do you handle those times when you're not gleaning middle names, just first and last >>What do you do if they actually have a middle name and two last names? Again, I feel it depends on their legal name or how they register themselves. If someone is hell bent on being called Sales Harkins (sorry Susan, but you are the best example we have going) then that should be entered as the last name, IMO. Of course, you could store the names in any manner and do something like Outlook does where it automatically gives you options of how to store and show the name. I think this is the best way - to create a routine for defining the name to use. For example, my mom had an employee called Janine (last name Baxter). However, she insisted that all writing to her or any she signed be done as N. Janine Baxter. In the example I am making above you could make the first name N., middle name Janine, last name Baxter and then define it in a separate procedure to print that way. This is one of those never ending arguments, isn't it. :) Reuben Cummings GFC, LLC phone: 812.523.1017 email: reuben at gfconsultants.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Susan Harkins Sent: Thursday, June 23, 2005 10:25 AM To: 'Access Developers discussion and problem solving' Subject: RE: [AccessD] Normalizing issue I see your point -- but how do you handle those times when you're not gleaning middle names, just first and last -- for instance, a simple mailing list where you don't want to include middle names, but where the person "goes by" Sales Harkins... You'd leave off Sales -- which isn't a crisis, but could make some people mad. For me, Sales is just part of my writing name -- I don't use it officially -- don't' sign anything with it, but it's an identifier. Years ago, I learned that another Susan Harkins was the editor of another technical journal -- that was just too close for comfort -- I added the Sales. Now, if you sent me a letter addressed to Susan Harkins, I wouldn't care or get angry -- but some might. Is this worth considering? I suppose one answer is to simply always use the middle name in all cases, but that seems overkill. Susan H. I use middle name. My feeling is that no one cares if it's actually a last name or middle name. Either way it's in the right place all the time if you use a middle name field. The question really is how is that person listed on legal documents. If, for example, you are listed on your mortgage or social security (or whatever) as Last name = Sales Harkins, First name = Susan then that's the last name, but if you use it "unofficially" then I would make it a middle name. Reuben Cummings GFC, LLC phone: 812.523.1017 email: reuben at gfconsultants.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Susan Harkins Sent: Thursday, June 23, 2005 9:46 AM To: 'Access Developers discussion and problem solving' Subject: RE: [AccessD] Normalizing issue So you both depend on the data entry person to enter Harkins Sales instead of Sales Harkins? That's interesting. ;) Susan H. The number of records that have a second last name vs those that don't dosen't warrant our efforts to program around it. We put the burden of keying it in properly on the business/clerical departments. -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd 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 Jun 23 11:36:30 2005 From: john at winhaven.net (John Bartow) Date: Thu, 23 Jun 2005 11:36:30 -0500 Subject: [AccessD] Normalizing issue In-Reply-To: <20050623154231.MOKU25209.ibm63aec.bellsouth.net@SUSANONE> Message-ID: <200506231636.j5NGaU81135946@pimout1-ext.prodigy.net> Some cultures commonly use hyphenated names which include the maternal and paternal names for offspring. Anyone on the list from such an area? Doesn't Spain have one of those cultures? John B. If it isn't a middle or maiden name, what is it? This gets even more tricky with non-English names where "last" names can get really confusing. From john at winhaven.net Thu Jun 23 11:54:53 2005 From: john at winhaven.net (John Bartow) Date: Thu, 23 Jun 2005 11:54:53 -0500 Subject: [AccessD] Normalizing issue In-Reply-To: Message-ID: <200506231654.j5NGsrX0119546@pimout1-ext.prodigy.net> I think so. But I hope you all come with a good answer to this so I can store it in my tips & tricks db :o) I've run into one really bad name example some years ago. I had an app that tracked donors for an organization. The couple wanted BOTH of their names on the address label and she used a hyphenated name but he didn't. Something like "Joe Smith & Sue Jones-Smith". I could have easily tracked them as individuals but they only wanted ONE piece of mail. I also could have also tracked them as an Organization or Business and used "Joe Smith & Sue Jones-Smith" as an Organization name, with both of them listed as contacts for the Organization but that didn't cover every single instance of mailing and/or reports quite correctly and my customer didn't want to offend any of their donors by accident. I think we ended up putting his first & last name in the firstname field and her first name and hyphenated last-name in the lastname field. Which of course messed up the alphabetical internal lists of donors. I considered adding a spousename field and doing some complicated queries to get things correctly listed on the label but thankfully (for me anyway) they left the area and quit donating to the organization - problem solved! So the customer was happy and I quit thinking about it. John B. This is one of those never ending arguments, isn't it. :) Reuben Cummings GFC, LLC phone: 812.523.1017 email: reuben at gfconsultants.com From ssharkins at bellsouth.net Thu Jun 23 11:57:53 2005 From: ssharkins at bellsouth.net (Susan Harkins) Date: Thu, 23 Jun 2005 12:57:53 -0400 Subject: [AccessD] Normalizing issue In-Reply-To: Message-ID: <20050623165754.PKKR11957.ibm56aec.bellsouth.net@SUSANONE> I've been considering this, this morning and I think what I've finally come up with is this: A member name -- that's their real name -- which will relate to their books. I "think" I will add a pen name field to the book table -- if they wrote the name under another name, it'll be there for searches, write-up's, whatever. But, there's only going to be one pen name for each book, so I think it's safe to do this. What do you think? Susan H. Since it's a writer's database, a separate *table* for pen names makes a lot of sense. Some writers use multiple pen names, so creating a pseudonym table is the safest way to handle that and relate it to the writer's actual name. You could always use the real name as the default when filling in a pen name. Charlotte Foust -----Original Message----- From: Susan Harkins [mailto:ssharkins at bellsouth.net] Sent: Thursday, June 23, 2005 8:43 AM To: 'Access Developers discussion and problem solving' Subject: RE: [AccessD] Normalizing issue If it isn't a middle or maiden name, what is it? This gets even more tricky with non-English names where "last" names can get really confusing. I generally provide a field for first, middle, and last name and make it the responsibility of the user to enter the appropriate value in the appropriate field. The rules for parsing this can become so draconian, that it hardly seems worth the work to do anything else. ========I'm in the middle of creating a database (pro bono) for a writer's organization. It's a simple deal and will require little work -- but this is already cropping up. These people will want their "writing" names with their publications -- I'm thinking about just adding one more field to store their "pen name" or whatever -- but then that becomes a nuisance if their name and professional name are the same -- gotta fill in both or allow for the blanks and go find the real name -- such a nuisance -- I think at this point the middle name is the best solution -- Susan H. -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From jimdettman at earthlink.net Thu Jun 23 12:08:15 2005 From: jimdettman at earthlink.net (Jim Dettman) Date: Thu, 23 Jun 2005 13:08:15 -0400 Subject: [AccessD] Normalizing issue In-Reply-To: <20050623165754.PKKR11957.ibm56aec.bellsouth.net@SUSANONE> Message-ID: Susan, I'd second Charlotte's comment. I'd definitely would have a field for a pen name. <> No, because I might use the same pen name for many books. If at some point they want to know something like "when was this pen name created", then your in trouble. Should be: tblMembers MemberID MemberName DateCreated tblPenNames PenID PenName DateCreated Bio tblBooks BookID PenID Jim. -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Susan Harkins Sent: Thursday, June 23, 2005 12:58 PM To: 'Access Developers discussion and problem solving' Subject: RE: [AccessD] Normalizing issue I've been considering this, this morning and I think what I've finally come up with is this: A member name -- that's their real name -- which will relate to their books. I "think" I will add a pen name field to the book table -- if they wrote the name under another name, it'll be there for searches, write-up's, whatever. But, there's only going to be one pen name for each book, so I think it's safe to do this. What do you think? Susan H. Since it's a writer's database, a separate *table* for pen names makes a lot of sense. Some writers use multiple pen names, so creating a pseudonym table is the safest way to handle that and relate it to the writer's actual name. You could always use the real name as the default when filling in a pen name. Charlotte Foust -----Original Message----- From: Susan Harkins [mailto:ssharkins at bellsouth.net] Sent: Thursday, June 23, 2005 8:43 AM To: 'Access Developers discussion and problem solving' Subject: RE: [AccessD] Normalizing issue If it isn't a middle or maiden name, what is it? This gets even more tricky with non-English names where "last" names can get really confusing. I generally provide a field for first, middle, and last name and make it the responsibility of the user to enter the appropriate value in the appropriate field. The rules for parsing this can become so draconian, that it hardly seems worth the work to do anything else. ========I'm in the middle of creating a database (pro bono) for a writer's organization. It's a simple deal and will require little work -- but this is already cropping up. These people will want their "writing" names with their publications -- I'm thinking about just adding one more field to store their "pen name" or whatever -- but then that becomes a nuisance if their name and professional name are the same -- gotta fill in both or allow for the blanks and go find the real name -- such a nuisance -- I think at this point the middle name is the best solution -- Susan H. -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From jimdettman at earthlink.net Thu Jun 23 12:10:17 2005 From: jimdettman at earthlink.net (Jim Dettman) Date: Thu, 23 Jun 2005 13:10:17 -0400 Subject: [AccessD] Normalizing issue In-Reply-To: <20050623165754.PKKR11957.ibm56aec.bellsouth.net@SUSANONE> Message-ID: Slight correction: tblMembers MemberID MemberName DateCreated tblPenNames PenID MemberID PenName DateCreated Bio tblBooks BookID PenID Jim. -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Susan Harkins Sent: Thursday, June 23, 2005 12:58 PM To: 'Access Developers discussion and problem solving' Subject: RE: [AccessD] Normalizing issue I've been considering this, this morning and I think what I've finally come up with is this: A member name -- that's their real name -- which will relate to their books. I "think" I will add a pen name field to the book table -- if they wrote the name under another name, it'll be there for searches, write-up's, whatever. But, there's only going to be one pen name for each book, so I think it's safe to do this. What do you think? Susan H. Since it's a writer's database, a separate *table* for pen names makes a lot of sense. Some writers use multiple pen names, so creating a pseudonym table is the safest way to handle that and relate it to the writer's actual name. You could always use the real name as the default when filling in a pen name. Charlotte Foust -----Original Message----- From: Susan Harkins [mailto:ssharkins at bellsouth.net] Sent: Thursday, June 23, 2005 8:43 AM To: 'Access Developers discussion and problem solving' Subject: RE: [AccessD] Normalizing issue If it isn't a middle or maiden name, what is it? This gets even more tricky with non-English names where "last" names can get really confusing. I generally provide a field for first, middle, and last name and make it the responsibility of the user to enter the appropriate value in the appropriate field. The rules for parsing this can become so draconian, that it hardly seems worth the work to do anything else. ========I'm in the middle of creating a database (pro bono) for a writer's organization. It's a simple deal and will require little work -- but this is already cropping up. These people will want their "writing" names with their publications -- I'm thinking about just adding one more field to store their "pen name" or whatever -- but then that becomes a nuisance if their name and professional name are the same -- gotta fill in both or allow for the blanks and go find the real name -- such a nuisance -- I think at this point the middle name is the best solution -- Susan H. -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From ssharkins at bellsouth.net Thu Jun 23 12:10:42 2005 From: ssharkins at bellsouth.net (Susan Harkins) Date: Thu, 23 Jun 2005 13:10:42 -0400 Subject: [AccessD] Normalizing issue In-Reply-To: Message-ID: <20050623171043.PSCL11957.ibm56aec.bellsouth.net@SUSANONE> Yes, a field for the book author name -- but a different table? I was considering that having it as a field in the book table makes it more difficult to relate actual members with each author name -- as they may have more than one. Most in this group aren't going to run into this -- but I'd rather allow for it now than have it bite me in the butt. Susan H. Susan, I'd second Charlotte's comment. I'd definitely would have a field for a pen name. <> No, because I might use the same pen name for many books. If at some point they want to know something like "when was this pen name created", then your in trouble. Should be: tblMembers MemberID MemberName DateCreated tblPenNames PenID PenName DateCreated Bio tblBooks BookID PenID Jim. -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Susan Harkins Sent: Thursday, June 23, 2005 12:58 PM To: 'Access Developers discussion and problem solving' Subject: RE: [AccessD] Normalizing issue I've been considering this, this morning and I think what I've finally come up with is this: A member name -- that's their real name -- which will relate to their books. I "think" I will add a pen name field to the book table -- if they wrote the name under another name, it'll be there for searches, write-up's, whatever. But, there's only going to be one pen name for each book, so I think it's safe to do this. What do you think? Susan H. Since it's a writer's database, a separate *table* for pen names makes a lot of sense. Some writers use multiple pen names, so creating a pseudonym table is the safest way to handle that and relate it to the writer's actual name. You could always use the real name as the default when filling in a pen name. Charlotte Foust -----Original Message----- From: Susan Harkins [mailto:ssharkins at bellsouth.net] Sent: Thursday, June 23, 2005 8:43 AM To: 'Access Developers discussion and problem solving' Subject: RE: [AccessD] Normalizing issue If it isn't a middle or maiden name, what is it? This gets even more tricky with non-English names where "last" names can get really confusing. I generally provide a field for first, middle, and last name and make it the responsibility of the user to enter the appropriate value in the appropriate field. The rules for parsing this can become so draconian, that it hardly seems worth the work to do anything else. ========I'm in the middle of creating a database (pro bono) for a writer's organization. It's a simple deal and will require little work -- but this is already cropping up. These people will want their "writing" names with their publications -- I'm thinking about just adding one more field to store their "pen name" or whatever -- but then that becomes a nuisance if their name and professional name are the same -- gotta fill in both or allow for the blanks and go find the real name -- such a nuisance -- I think at this point the middle name is the best solution -- Susan H. -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From ssharkins at bellsouth.net Thu Jun 23 12:13:04 2005 From: ssharkins at bellsouth.net (Susan Harkins) Date: Thu, 23 Jun 2005 13:13:04 -0400 Subject: [AccessD] Normalizing issue In-Reply-To: Message-ID: <20050623171307.PTPV11957.ibm56aec.bellsouth.net@SUSANONE> OK -- so you're relating the pen name table to the member name and then relating the book table to the pen name table? -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Jim Dettman Sent: Thursday, June 23, 2005 1:10 PM To: Access Developers discussion and problem solving Subject: RE: [AccessD] Normalizing issue Slight correction: tblMembers MemberID MemberName DateCreated tblPenNames PenID MemberID PenName DateCreated Bio tblBooks BookID PenID Jim. -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Susan Harkins Sent: Thursday, June 23, 2005 12:58 PM To: 'Access Developers discussion and problem solving' Subject: RE: [AccessD] Normalizing issue I've been considering this, this morning and I think what I've finally come up with is this: A member name -- that's their real name -- which will relate to their books. I "think" I will add a pen name field to the book table -- if they wrote the name under another name, it'll be there for searches, write-up's, whatever. But, there's only going to be one pen name for each book, so I think it's safe to do this. What do you think? Susan H. Since it's a writer's database, a separate *table* for pen names makes a lot of sense. Some writers use multiple pen names, so creating a pseudonym table is the safest way to handle that and relate it to the writer's actual name. You could always use the real name as the default when filling in a pen name. Charlotte Foust -----Original Message----- From: Susan Harkins [mailto:ssharkins at bellsouth.net] Sent: Thursday, June 23, 2005 8:43 AM To: 'Access Developers discussion and problem solving' Subject: RE: [AccessD] Normalizing issue If it isn't a middle or maiden name, what is it? This gets even more tricky with non-English names where "last" names can get really confusing. I generally provide a field for first, middle, and last name and make it the responsibility of the user to enter the appropriate value in the appropriate field. The rules for parsing this can become so draconian, that it hardly seems worth the work to do anything else. ========I'm in the middle of creating a database (pro bono) for a writer's organization. It's a simple deal and will require little work -- but this is already cropping up. These people will want their "writing" names with their publications -- I'm thinking about just adding one more field to store their "pen name" or whatever -- but then that becomes a nuisance if their name and professional name are the same -- gotta fill in both or allow for the blanks and go find the real name -- such a nuisance -- I think at this point the middle name is the best solution -- Susan H. -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From rl_stewart at highstream.net Thu Jun 23 12:15:23 2005 From: rl_stewart at highstream.net (Robert L. Stewart) Date: Thu, 23 Jun 2005 12:15:23 -0500 Subject: [AccessD] Re: Normalizing issue In-Reply-To: <200506231636.j5NGaYR14067@databaseadvisors.com> References: <200506231636.j5NGaYR14067@databaseadvisors.com> Message-ID: <6.2.1.2.2.20050623121254.0528a990@pop3.highstream.net> Susan, tblParty PartyID tblPartyAlias PartyAliasID PartyID Company_Last_Name Middle_Name First_Name Name_Suffix Robert At 11:36 AM 6/23/2005, you wrote: >Date: Thu, 23 Jun 2005 09:59:59 -0400 >From: "Susan Harkins" >Subject: [AccessD] Normalizing issue >To: "'Access Developers discussion and problem solving'" > >Message-ID: <20050623135959.FMWJ25470.ibm57aec.bellsouth.net at SUSANONE> >Content-Type: text/plain; charset="us-ascii" > >How do you guys deal with people that use three or more names >professionally? I do -- Susan Sales Harkins. > >Do you store the second name with the first or use three fields? The middle >name really isn't a "middle" name. It's actually part of the last name, but >the last name is the real last name -- so if you stored it with the last >name, you'd have to depend on users to enter it correctly, as in Harkins, >Sales -- which is a mistake before you even get started... And how do you >write in the flexibility that handles 2 or 3 names? > >Susan H. From rl_stewart at highstream.net Thu Jun 23 12:21:13 2005 From: rl_stewart at highstream.net (Robert L. Stewart) Date: Thu, 23 Jun 2005 12:21:13 -0500 Subject: [AccessD] Re: Normalizing issue In-Reply-To: <200506231636.j5NGaYR14067@databaseadvisors.com> References: <200506231636.j5NGaYR14067@databaseadvisors.com> Message-ID: <6.2.1.2.2.20050623121942.05229bc8@pop3.highstream.net> Or like my oldest son: Robert Christopher Lawrence Stewart 2 middle names. Not even the social security card shows both, it is C.L. on it. At 11:36 AM 6/23/2005, you wrote: >Date: Thu, 23 Jun 2005 08:53:27 -0700 (PDT) >From: Lonnie Johnson >Subject: RE: [AccessD] Normalizing issue >To: Access Developers discussion and problem solving > >Message-ID: <20050623155327.10646.qmail at web33109.mail.mud.yahoo.com> >Content-Type: text/plain; charset=iso-8859-1 > >Question: > >What do you do if they actually have a middle name and two last names? From jimdettman at earthlink.net Thu Jun 23 12:23:17 2005 From: jimdettman at earthlink.net (Jim Dettman) Date: Thu, 23 Jun 2005 13:23:17 -0400 Subject: [AccessD] Normalizing issue In-Reply-To: <20050623171043.PSCL11957.ibm56aec.bellsouth.net@SUSANONE> Message-ID: Susan, <> That's one of those tough calls. Certainly it is possible that I would have multiple pen names and with each name, may have multiple books. That makes me think a separate table right away. But also consider this: tblMembers MemberID MemberName tblBooks BookID MemberID PenName I write five books and on the 5th one, the user types in "JMD" instead of "JND" as the pen name on the book. Now when I ask the question, "how many books have been written as "JND"?", I'll get the wrong answer. The mistake would get caught if I looked at all the books written under my member name, but only if they know that "JMD" is a mistake and really not a different pen name. That would not happen with a separate table for the pseudonym's. Jim. -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Susan Harkins Sent: Thursday, June 23, 2005 1:11 PM To: 'Access Developers discussion and problem solving' Subject: RE: [AccessD] Normalizing issue Yes, a field for the book author name -- but a different table? I was considering that having it as a field in the book table makes it more difficult to relate actual members with each author name -- as they may have more than one. Most in this group aren't going to run into this -- but I'd rather allow for it now than have it bite me in the butt. Susan H. Susan, I'd second Charlotte's comment. I'd definitely would have a field for a pen name. <> No, because I might use the same pen name for many books. If at some point they want to know something like "when was this pen name created", then your in trouble. Should be: tblMembers MemberID MemberName DateCreated tblPenNames PenID PenName DateCreated Bio tblBooks BookID PenID Jim. -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Susan Harkins Sent: Thursday, June 23, 2005 12:58 PM To: 'Access Developers discussion and problem solving' Subject: RE: [AccessD] Normalizing issue I've been considering this, this morning and I think what I've finally come up with is this: A member name -- that's their real name -- which will relate to their books. I "think" I will add a pen name field to the book table -- if they wrote the name under another name, it'll be there for searches, write-up's, whatever. But, there's only going to be one pen name for each book, so I think it's safe to do this. What do you think? Susan H. Since it's a writer's database, a separate *table* for pen names makes a lot of sense. Some writers use multiple pen names, so creating a pseudonym table is the safest way to handle that and relate it to the writer's actual name. You could always use the real name as the default when filling in a pen name. Charlotte Foust -----Original Message----- From: Susan Harkins [mailto:ssharkins at bellsouth.net] Sent: Thursday, June 23, 2005 8:43 AM To: 'Access Developers discussion and problem solving' Subject: RE: [AccessD] Normalizing issue If it isn't a middle or maiden name, what is it? This gets even more tricky with non-English names where "last" names can get really confusing. I generally provide a field for first, middle, and last name and make it the responsibility of the user to enter the appropriate value in the appropriate field. The rules for parsing this can become so draconian, that it hardly seems worth the work to do anything else. ========I'm in the middle of creating a database (pro bono) for a writer's organization. It's a simple deal and will require little work -- but this is already cropping up. These people will want their "writing" names with their publications -- I'm thinking about just adding one more field to store their "pen name" or whatever -- but then that becomes a nuisance if their name and professional name are the same -- gotta fill in both or allow for the blanks and go find the real name -- such a nuisance -- I think at this point the middle name is the best solution -- Susan H. -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From jimdettman at earthlink.net Thu Jun 23 12:23:17 2005 From: jimdettman at earthlink.net (Jim Dettman) Date: Thu, 23 Jun 2005 13:23:17 -0400 Subject: [AccessD] Normalizing issue In-Reply-To: <20050623171307.PTPV11957.ibm56aec.bellsouth.net@SUSANONE> Message-ID: <> Yes. Jim. -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Susan Harkins Sent: Thursday, June 23, 2005 1:13 PM To: 'Access Developers discussion and problem solving' Subject: RE: [AccessD] Normalizing issue OK -- so you're relating the pen name table to the member name and then relating the book table to the pen name table? -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Jim Dettman Sent: Thursday, June 23, 2005 1:10 PM To: Access Developers discussion and problem solving Subject: RE: [AccessD] Normalizing issue Slight correction: tblMembers MemberID MemberName DateCreated tblPenNames PenID MemberID PenName DateCreated Bio tblBooks BookID PenID Jim. -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Susan Harkins Sent: Thursday, June 23, 2005 12:58 PM To: 'Access Developers discussion and problem solving' Subject: RE: [AccessD] Normalizing issue I've been considering this, this morning and I think what I've finally come up with is this: A member name -- that's their real name -- which will relate to their books. I "think" I will add a pen name field to the book table -- if they wrote the name under another name, it'll be there for searches, write-up's, whatever. But, there's only going to be one pen name for each book, so I think it's safe to do this. What do you think? Susan H. Since it's a writer's database, a separate *table* for pen names makes a lot of sense. Some writers use multiple pen names, so creating a pseudonym table is the safest way to handle that and relate it to the writer's actual name. You could always use the real name as the default when filling in a pen name. Charlotte Foust -----Original Message----- From: Susan Harkins [mailto:ssharkins at bellsouth.net] Sent: Thursday, June 23, 2005 8:43 AM To: 'Access Developers discussion and problem solving' Subject: RE: [AccessD] Normalizing issue If it isn't a middle or maiden name, what is it? This gets even more tricky with non-English names where "last" names can get really confusing. I generally provide a field for first, middle, and last name and make it the responsibility of the user to enter the appropriate value in the appropriate field. The rules for parsing this can become so draconian, that it hardly seems worth the work to do anything else. ========I'm in the middle of creating a database (pro bono) for a writer's organization. It's a simple deal and will require little work -- but this is already cropping up. These people will want their "writing" names with their publications -- I'm thinking about just adding one more field to store their "pen name" or whatever -- but then that becomes a nuisance if their name and professional name are the same -- gotta fill in both or allow for the blanks and go find the real name -- such a nuisance -- I think at this point the middle name is the best solution -- Susan H. -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From jwcolby at colbyconsulting.com Thu Jun 23 12:26:31 2005 From: jwcolby at colbyconsulting.com (John W. Colby) Date: Thu, 23 Jun 2005 13:26:31 -0400 Subject: [AccessD] Just Checking.... In-Reply-To: Message-ID: <000001c57818$b6055c40$6c7aa8c0@ColbyM6805> Hey, the way I read it the muscle relaxants CAUSED the back spasms. At least she was blaming the spasms on the muscle relaxants. ;-) John W. Colby www.ColbyConsulting.com Contribute your unused CPU cycles to 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: Thursday, June 23, 2005 11:29 AM To: Access Developers discussion and problem solving Subject: RE: [AccessD] Just Checking.... Um ... The muscle relaxants or the back spasms?? Charlotte Foust -----Original Message----- From: Joe Hecht [mailto:jmhecht at earthlink.net] Sent: Wednesday, June 22, 2005 9:55 PM To: 'Access Developers discussion and problem solving' Subject: RE: [AccessD] Just Checking.... Please share Joe Hecht Los Angeles CA Blame the muscle relaxants for back spasms, please. -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From rl_stewart at highstream.net Thu Jun 23 12:33:24 2005 From: rl_stewart at highstream.net (Robert L. Stewart) Date: Thu, 23 Jun 2005 12:33:24 -0500 Subject: [AccessD] Re: Normalizing issue In-Reply-To: <200506231700.j5NH0LR19895@databaseadvisors.com> References: <200506231700.j5NH0LR19895@databaseadvisors.com> Message-ID: <6.2.1.2.2.20050623122441.052b36d0@pop3.highstream.net> In a normalized world, they are two parties with individual names that are related to each other by a specific type of relationship. Translated to db design: tblParty PartyID First_Name Middle_Name Last_Name Name_Suffix tblPartyAlias PartyAliasID PartyID GoesByName tblPartyRelationship PartyRelationshipID PartyID RelatedPartyID RelationshipType RelationshipGreeting In the case you listed below, the field RelationshipGreeting would hold the combination of their names the way they wanted them. You could have it default to "Joe and Sue Smith" after setting a relationship type of spouse. The edit it as needed for the special cases. This model also incorporates an alias table to hold the solution to what Susan needs for her pen names. All she would need to do is add a table to relate the pen names to the publisher for the articles being published. Arguments aside, if you think the design through, you will not need to argue. :-) Robert At 12:00 PM 6/23/2005, you wrote: >Date: Thu, 23 Jun 2005 11:54:53 -0500 >From: "John Bartow" >Subject: RE: [AccessD] Normalizing issue >To: "'Access Developers discussion and problem solving'" > >Message-ID: <200506231654.j5NGsrX0119546 at pimout1-ext.prodigy.net> >Content-Type: text/plain; charset="us-ascii" > >I think so. But I hope you all come with a good answer to this so I can >store it in my tips & tricks db :o) > >I've run into one really bad name example some years ago. I had an app that >tracked donors for an organization. The couple wanted BOTH of their names on >the address label and she used a hyphenated name but he didn't. Something >like "Joe Smith & Sue Jones-Smith". > >I could have easily tracked them as individuals but they only wanted ONE >piece of mail. > >I also could have also tracked them as an Organization or Business and used >"Joe Smith & Sue Jones-Smith" as an Organization name, with both of them >listed as contacts for the Organization but that didn't cover every single >instance of mailing and/or reports quite correctly and my customer didn't >want to offend any of their donors by accident. > >I think we ended up putting his first & last name in the firstname field and >her first name and hyphenated last-name in the lastname field. Which of >course messed up the alphabetical internal lists of donors. > >I considered adding a spousename field and doing some complicated queries to >get things correctly listed on the label but thankfully (for me anyway) they >left the area and quit donating to the organization - problem solved! So the >customer was happy and I quit thinking about it. > >John B. > > >This is one of those never ending arguments, isn't it. :) > >Reuben Cummings From DWUTKA at marlow.com Thu Jun 23 12:38:19 2005 From: DWUTKA at marlow.com (DWUTKA at marlow.com) Date: Thu, 23 Jun 2005 12:38:19 -0500 Subject: [AccessD] FW: You have been unsubscribed from the Dba-exec mailing list Message-ID: <123701F54509D9119A4F00D0B747349016D774@main2.marlow.com> Just curious...why was I unsubscribed? Have I been a bad boy or something? Drew -----Original Message----- From: dba-exec-bounces at databaseadvisors.com [mailto:dba-exec-bounces at databaseadvisors.com] Sent: Thursday, June 23, 2005 12:40 PM To: Drew Wutka Subject: You have been unsubscribed from the Dba-exec mailing list Thank you for participating in the managent of DBA From rl_stewart at highstream.net Thu Jun 23 12:36:45 2005 From: rl_stewart at highstream.net (Robert L. Stewart) Date: Thu, 23 Jun 2005 12:36:45 -0500 Subject: [AccessD] Re: Normalizing issue In-Reply-To: <200506231700.j5NH0LR19895@databaseadvisors.com> References: <200506231700.j5NH0LR19895@databaseadvisors.com> Message-ID: <6.2.1.2.2.20050623123609.04d87b48@pop3.highstream.net> Try the alias idea that I sent out a little earlier. I think that would work. At 12:00 PM 6/23/2005, you wrote: >Date: Thu, 23 Jun 2005 12:57:53 -0400 >From: "Susan Harkins" >Subject: RE: [AccessD] Normalizing issue >To: "'Access Developers discussion and problem solving'" > >Message-ID: <20050623165754.PKKR11957.ibm56aec.bellsouth.net at SUSANONE> >Content-Type: text/plain; charset="us-ascii" > >I've been considering this, this morning and I think what I've finally come >up with is this: > >A member name -- that's their real name -- which will relate to their books. >I "think" I will add a pen name field to the book table -- if they wrote the >name under another name, it'll be there for searches, write-up's, whatever. >But, there's only going to be one pen name for each book, so I think it's >safe to do this. What do you think? > >Susan H. From jmhecht at earthlink.net Thu Jun 23 12:48:20 2005 From: jmhecht at earthlink.net (Joe Hecht) Date: Thu, 23 Jun 2005 10:48:20 -0700 Subject: [AccessD] Just Checking.... In-Reply-To: Message-ID: <000101c5781b$bfaddda0$6401a8c0@laptop1> The Meds Joe Hecht Los Angeles CA -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Charlotte Foust Sent: Thursday, June 23, 2005 8:29 AM To: Access Developers discussion and problem solving Subject: RE: [AccessD] Just Checking.... Um ... The muscle relaxants or the back spasms?? Charlotte Foust -----Original Message----- From: Joe Hecht [mailto:jmhecht at earthlink.net] Sent: Wednesday, June 22, 2005 9:55 PM To: 'Access Developers discussion and problem solving' Subject: RE: [AccessD] Just Checking.... Please share Joe Hecht Los Angeles CA Blame the muscle relaxants for back spasms, please. -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd 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 Jun 23 12:48:59 2005 From: john at winhaven.net (John Bartow) Date: Thu, 23 Jun 2005 12:48:59 -0500 Subject: [AccessD] FW: You have been unsubscribed from the Dba-exec mailinglist In-Reply-To: <123701F54509D9119A4F00D0B747349016D774@main2.marlow.com> Message-ID: <200506231749.j5NHmxWJ424108@pimout2-ext.prodigy.net> Actually added you by mistake when I was cleaning up the bod list. I clicked on the wrong shortcut was working in dba-exec and didn't notice right away. Have you gotten the BOD meeting request via the dba-bod list yet? John -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of DWUTKA at marlow.com Sent: Thursday, June 23, 2005 12:38 PM To: AccessD at databaseadvisors.com Subject: [AccessD] FW: You have been unsubscribed from the Dba-exec mailinglist Just curious...why was I unsubscribed? Have I been a bad boy or something? Drew -----Original Message----- From: dba-exec-bounces at databaseadvisors.com [mailto:dba-exec-bounces at databaseadvisors.com] Sent: Thursday, June 23, 2005 12:40 PM To: Drew Wutka Subject: You have been unsubscribed from the Dba-exec mailing list Thank you for participating in the managent of DBA -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From john at winhaven.net Thu Jun 23 12:48:59 2005 From: john at winhaven.net (John Bartow) Date: Thu, 23 Jun 2005 12:48:59 -0500 Subject: [AccessD] Just Checking.... In-Reply-To: <42BA5F98.8107.3B5AFA1@stuart.lexacorp.com.pg> Message-ID: <200506231749.j5NHmxWK424108@pimout2-ext.prodigy.net> Ee-gads, sounds like a lot of work ahead :-( -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Stuart McLachlan Sent: Wednesday, June 22, 2005 4:07 PM To: Access Developers discussion and problem solving Subject: RE: [AccessD] Just Checking.... On 22 Jun 2005 at 11:27, John W. Colby wrote: > ROTFL. Yea, I am getting old. > > I am about to launch a field naming convention discussion so look out. > ;-) > I've just been asked to taske over some apps which were developed in-house by a certain organisation in PNG. Most of them have a table called "MAIN TABLE" which is, believe it or not the main table used for storing data. So far I have also come across fields named DATE and NAME as well as several fields with 40-50 character fieldnames comprising multiple words separated by spaces. -- Stuart -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From john at winhaven.net Thu Jun 23 12:50:35 2005 From: john at winhaven.net (John Bartow) Date: Thu, 23 Jun 2005 12:50:35 -0500 Subject: [AccessD] Re: Normalizing issue In-Reply-To: <6.2.1.2.2.20050623122441.052b36d0@pop3.highstream.net> Message-ID: <200506231750.j5NHoZUh298656@pimout2-ext.prodigy.net> Sounds good, I'm going to give this a whirl when I get a chance. Thanks, John B. -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Robert L. Stewart Sent: Thursday, June 23, 2005 12:33 PM To: accessd at databaseadvisors.com Subject: [AccessD] Re: Normalizing issue In a normalized world, they are two parties with individual names that are related to each other by a specific type of relationship. Translated to db design: tblParty PartyID First_Name Middle_Name Last_Name Name_Suffix tblPartyAlias PartyAliasID PartyID GoesByName tblPartyRelationship PartyRelationshipID PartyID RelatedPartyID RelationshipType RelationshipGreeting In the case you listed below, the field RelationshipGreeting would hold the combination of their names the way they wanted them. You could have it default to "Joe and Sue Smith" after setting a relationship type of spouse. The edit it as needed for the special cases. This model also incorporates an alias table to hold the solution to what Susan needs for her pen names. All she would need to do is add a table to relate the pen names to the publisher for the articles being published. Arguments aside, if you think the design through, you will not need to argue. :-) Robert At 12:00 PM 6/23/2005, you wrote: >Date: Thu, 23 Jun 2005 11:54:53 -0500 >From: "John Bartow" >Subject: RE: [AccessD] Normalizing issue >To: "'Access Developers discussion and problem solving'" > >Message-ID: <200506231654.j5NGsrX0119546 at pimout1-ext.prodigy.net> >Content-Type: text/plain; charset="us-ascii" > >I think so. But I hope you all come with a good answer to this so I can >store it in my tips & tricks db :o) > >I've run into one really bad name example some years ago. I had an app >that tracked donors for an organization. The couple wanted BOTH of >their names on the address label and she used a hyphenated name but he >didn't. Something like "Joe Smith & Sue Jones-Smith". > >I could have easily tracked them as individuals but they only wanted >ONE piece of mail. > >I also could have also tracked them as an Organization or Business and >used "Joe Smith & Sue Jones-Smith" as an Organization name, with both >of them listed as contacts for the Organization but that didn't cover >every single instance of mailing and/or reports quite correctly and my >customer didn't want to offend any of their donors by accident. > >I think we ended up putting his first & last name in the firstname >field and her first name and hyphenated last-name in the lastname >field. Which of course messed up the alphabetical internal lists of donors. > >I considered adding a spousename field and doing some complicated >queries to get things correctly listed on the label but thankfully (for >me anyway) they left the area and quit donating to the organization - >problem solved! So the customer was happy and I quit thinking about it. > >John B. > > >This is one of those never ending arguments, isn't it. :) > >Reuben Cummings -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From ssharkins at bellsouth.net Thu Jun 23 12:51:11 2005 From: ssharkins at bellsouth.net (Susan Harkins) Date: Thu, 23 Jun 2005 13:51:11 -0400 Subject: [AccessD] Just Checking.... In-Reply-To: <200506231749.j5NHmxWK424108@pimout2-ext.prodigy.net> Message-ID: <20050623175112.VXVF7767.ibm60aec.bellsouth.net@SUSANONE> I wonder if Stuart can say, "...show me the money!" :) Susan H. Ee-gads, sounds like a lot of work ahead :-( > I am about to launch a field naming convention discussion so look out. > ;-) From cfoust at infostatsystems.com Thu Jun 23 12:54:47 2005 From: cfoust at infostatsystems.com (Charlotte Foust) Date: Thu, 23 Jun 2005 10:54:47 -0700 Subject: [AccessD] Just Checking.... Message-ID: Darn! LOL Charlotte Foust -----Original Message----- From: Joe Hecht [mailto:jmhecht at earthlink.net] Sent: Thursday, June 23, 2005 10:48 AM To: 'Access Developers discussion and problem solving' Subject: RE: [AccessD] Just Checking.... The Meds Joe Hecht Los Angeles CA -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Charlotte Foust Sent: Thursday, June 23, 2005 8:29 AM To: Access Developers discussion and problem solving Subject: RE: [AccessD] Just Checking.... Um ... The muscle relaxants or the back spasms?? Charlotte Foust -----Original Message----- From: Joe Hecht [mailto:jmhecht at earthlink.net] Sent: Wednesday, June 22, 2005 9:55 PM To: 'Access Developers discussion and problem solving' Subject: RE: [AccessD] Just Checking.... Please share Joe Hecht Los Angeles CA Blame the muscle relaxants for back spasms, please. -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd 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 Thu Jun 23 12:55:45 2005 From: ssharkins at bellsouth.net (Susan Harkins) Date: Thu, 23 Jun 2005 13:55:45 -0400 Subject: [AccessD] Re: Normalizing issue In-Reply-To: <200506231750.j5NHoZUh298656@pimout2-ext.prodigy.net> Message-ID: <20050623175546.WABL7767.ibm60aec.bellsouth.net@SUSANONE> The edit it as needed for the special cases. This model also incorporates an alias table to hold the solution to what Susan needs for her pen names. All she would need to do is add a table to relate the pen names to the publisher for the articles being published. ===========The alias is all one field though -- right? I don't think that would work for pen names as I can see a need for searching on pen name (think Twain) rather than member name -- and a search for Twain isn't going to work if the field is "Mark Twain" Susan H. From jmhecht at earthlink.net Thu Jun 23 12:56:11 2005 From: jmhecht at earthlink.net (Joe Hecht) Date: Thu, 23 Jun 2005 10:56:11 -0700 Subject: [AccessD] Field Naming ( Just once I want to be ahead of JC ) In-Reply-To: <009001c5775d$bb886830$6c7aa8c0@ColbyM6805> Message-ID: <000201c5781c$d79f35c0$6401a8c0@laptop1> So does this mean in your world developers should or should not set relationships in the relationship window. 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: Wednesday, June 22, 2005 12:08 PM To: access at joe2.endjunk.com; 'Access Developers discussion and problem solving' Subject: RE: [AccessD] Field Naming ( Just once I want to be ahead of JC ) The relationship window specifically. John W. Colby www.ColbyConsulting.com Contribute your unused CPU cycles to 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: Wednesday, June 22, 2005 3:07 PM To: 'Access Developers discussion and problem solving' Subject: RE: [AccessD] Field Naming ( Just once I want to be ahead of JC ) John, 2) Relationship finding wizards are for wusses who don't create explicit relationships (should be shot BTW). I set relationships in either the relationship window or when I build queries. Is that where you do it? Have not seen a relationship finding Wizard? Joe -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd 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 Jun 23 12:56:22 2005 From: cfoust at infostatsystems.com (Charlotte Foust) Date: Thu, 23 Jun 2005 10:56:22 -0700 Subject: [AccessD] Just Checking.... Message-ID: NOT! I was blaming the *typo* on the muscle relaxants! So there! I think. Charlotte Foust -----Original Message----- From: John W. Colby [mailto:jwcolby at colbyconsulting.com] Sent: Thursday, June 23, 2005 10:27 AM To: 'Access Developers discussion and problem solving' Subject: RE: [AccessD] Just Checking.... Hey, the way I read it the muscle relaxants CAUSED the back spasms. At least she was blaming the spasms on the muscle relaxants. ;-) John W. Colby www.ColbyConsulting.com Contribute your unused CPU cycles to 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: Thursday, June 23, 2005 11:29 AM To: Access Developers discussion and problem solving Subject: RE: [AccessD] Just Checking.... Um ... The muscle relaxants or the back spasms?? Charlotte Foust -----Original Message----- From: Joe Hecht [mailto:jmhecht at earthlink.net] Sent: Wednesday, June 22, 2005 9:55 PM To: 'Access Developers discussion and problem solving' Subject: RE: [AccessD] Just Checking.... Please share Joe Hecht Los Angeles CA Blame the muscle relaxants for back spasms, please. -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From martyconnelly at shaw.ca Thu Jun 23 13:14:51 2005 From: martyconnelly at shaw.ca (MartyConnelly) Date: Thu, 23 Jun 2005 11:14:51 -0700 Subject: [AccessD] Turn Off Help Box in Access 2003 References: <008701c57810$2cf39d20$6701a8c0@HAL9004> Message-ID: <42BAFC1B.3070008@shaw.ca> What's This? This property of the form can only be turned on by default to Yes when MinMax property set to No So just set Form property What's This to No. Rocky Smolin - Beach Access Software wrote: >Dear List: >In access 2003 up in the right corner by the maximize, minimize and close buttons there's a help box. Does anyone know the syntax for turning this thing off through code? > >MTIA > >Rocky Smolin >Beach Access Software >http://www.e-z-mrp.com >858-259-4334 > > -- Marty Connelly Victoria, B.C. Canada From jmhecht at earthlink.net Thu Jun 23 13:15:12 2005 From: jmhecht at earthlink.net (Joe Hecht) Date: Thu, 23 Jun 2005 11:15:12 -0700 Subject: [AccessD] Normalizing issue In-Reply-To: <200506231654.j5NGsrX0119546@pimout1-ext.prodigy.net> Message-ID: <000301c5781f$7fce8f50$6401a8c0@laptop1> In Designing my invitations tracking DB I looked at today's culture and now have fields for 2 sets of first, middle and last names. I am still working out the code for it but the basics would work here. Joe Hecht Los Angeles CA -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of John Bartow Sent: Thursday, June 23, 2005 9:55 AM To: 'Access Developers discussion and problem solving' Subject: RE: [AccessD] Normalizing issue I think so. But I hope you all come with a good answer to this so I can store it in my tips & tricks db :o) I've run into one really bad name example some years ago. I had an app that tracked donors for an organization. The couple wanted BOTH of their names on the address label and she used a hyphenated name but he didn't. Something like "Joe Smith & Sue Jones-Smith". I could have easily tracked them as individuals but they only wanted ONE piece of mail. I also could have also tracked them as an Organization or Business and used "Joe Smith & Sue Jones-Smith" as an Organization name, with both of them listed as contacts for the Organization but that didn't cover every single instance of mailing and/or reports quite correctly and my customer didn't want to offend any of their donors by accident. I think we ended up putting his first & last name in the firstname field and her first name and hyphenated last-name in the lastname field. Which of course messed up the alphabetical internal lists of donors. I considered adding a spousename field and doing some complicated queries to get things correctly listed on the label but thankfully (for me anyway) they left the area and quit donating to the organization - problem solved! So the customer was happy and I quit thinking about it. John B. This is one of those never ending arguments, isn't it. :) Reuben Cummings GFC, LLC phone: 812.523.1017 email: reuben at gfconsultants.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From ssharkins at bellsouth.net Thu Jun 23 13:28:24 2005 From: ssharkins at bellsouth.net (Susan Harkins) Date: Thu, 23 Jun 2005 14:28:24 -0400 Subject: [AccessD] Normalizing issue In-Reply-To: Message-ID: <20050623182824.MXAF11273.ibm67aec.bellsouth.net@SUSANONE> This is really getting much more complicated than I had planned. Now I have to figure out how to deal with books versus articles. :) I thought about one table that id's each publication as a book, article, etc. but I have one problem. Books are usually in or out of print and that just doesn't apply for articles. If I use a Yes/No for InPrint, then I've got records when an inappropriate value -- No for magazines isn't really correct. I could use a tri-state Yes/No I guess, and put Null to work, but ug... I can have a separate table that stores only book InPrint field. Or, I can just use two different tables, one for books, for mags. Susan H. -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Jim Dettman Sent: Thursday, June 23, 2005 1:23 PM To: Access Developers discussion and problem solving Subject: RE: [AccessD] Normalizing issue <> Yes. Jim. -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Susan Harkins Sent: Thursday, June 23, 2005 1:13 PM To: 'Access Developers discussion and problem solving' Subject: RE: [AccessD] Normalizing issue OK -- so you're relating the pen name table to the member name and then relating the book table to the pen name table? -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Jim Dettman Sent: Thursday, June 23, 2005 1:10 PM To: Access Developers discussion and problem solving Subject: RE: [AccessD] Normalizing issue Slight correction: tblMembers MemberID MemberName DateCreated tblPenNames PenID MemberID PenName DateCreated Bio tblBooks BookID PenID Jim. -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Susan Harkins Sent: Thursday, June 23, 2005 12:58 PM To: 'Access Developers discussion and problem solving' Subject: RE: [AccessD] Normalizing issue I've been considering this, this morning and I think what I've finally come up with is this: A member name -- that's their real name -- which will relate to their books. I "think" I will add a pen name field to the book table -- if they wrote the name under another name, it'll be there for searches, write-up's, whatever. But, there's only going to be one pen name for each book, so I think it's safe to do this. What do you think? Susan H. Since it's a writer's database, a separate *table* for pen names makes a lot of sense. Some writers use multiple pen names, so creating a pseudonym table is the safest way to handle that and relate it to the writer's actual name. You could always use the real name as the default when filling in a pen name. Charlotte Foust -----Original Message----- From: Susan Harkins [mailto:ssharkins at bellsouth.net] Sent: Thursday, June 23, 2005 8:43 AM To: 'Access Developers discussion and problem solving' Subject: RE: [AccessD] Normalizing issue If it isn't a middle or maiden name, what is it? This gets even more tricky with non-English names where "last" names can get really confusing. I generally provide a field for first, middle, and last name and make it the responsibility of the user to enter the appropriate value in the appropriate field. The rules for parsing this can become so draconian, that it hardly seems worth the work to do anything else. ========I'm in the middle of creating a database (pro bono) for a writer's organization. It's a simple deal and will require little work -- but this is already cropping up. These people will want their "writing" names with their publications -- I'm thinking about just adding one more field to store their "pen name" or whatever -- but then that becomes a nuisance if their name and professional name are the same -- gotta fill in both or allow for the blanks and go find the real name -- such a nuisance -- I think at this point the middle name is the best solution -- Susan H. -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd 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 Jun 23 13:28:45 2005 From: jwcolby at colbyconsulting.com (John W. Colby) Date: Thu, 23 Jun 2005 14:28:45 -0400 Subject: [AccessD] Field Naming ( Just once I want to be ahead of JC ) In-Reply-To: <000201c5781c$d79f35c0$6401a8c0@laptop1> Message-ID: <000301c57821$67019ce0$6c7aa8c0@ColbyM6805> Absolutely should. If a relationship exists, and you care about referential integrity, the database engine should enforce it where possible. John W. Colby www.ColbyConsulting.com Contribute your unused CPU cycles to 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, June 23, 2005 1:56 PM To: 'Access Developers discussion and problem solving' Subject: RE: [AccessD] Field Naming ( Just once I want to be ahead of JC ) So does this mean in your world developers should or should not set relationships in the relationship window. 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: Wednesday, June 22, 2005 12:08 PM To: access at joe2.endjunk.com; 'Access Developers discussion and problem solving' Subject: RE: [AccessD] Field Naming ( Just once I want to be ahead of JC ) The relationship window specifically. John W. Colby www.ColbyConsulting.com Contribute your unused CPU cycles to 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: Wednesday, June 22, 2005 3:07 PM To: 'Access Developers discussion and problem solving' Subject: RE: [AccessD] Field Naming ( Just once I want to be ahead of JC ) John, 2) Relationship finding wizards are for wusses who don't create explicit relationships (should be shot BTW). I set relationships in either the relationship window or when I build queries. Is that where you do it? Have not seen a relationship finding Wizard? Joe -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd 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 Jun 23 13:30:17 2005 From: jwcolby at colbyconsulting.com (John W. Colby) Date: Thu, 23 Jun 2005 14:30:17 -0400 Subject: [AccessD] Just Checking.... In-Reply-To: <200506231749.j5NHmxWK424108@pimout2-ext.prodigy.net> Message-ID: <000401c57821$9ae3ee50$6c7aa8c0@ColbyM6805> Yep, it sure does. And of course the last developer to touch the db is responsible for ALL problems. John W. Colby www.ColbyConsulting.com Contribute your unused CPU cycles to 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 Bartow Sent: Thursday, June 23, 2005 1:49 PM To: 'Access Developers discussion and problem solving' Subject: RE: [AccessD] Just Checking.... Ee-gads, sounds like a lot of work ahead :-( -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Stuart McLachlan Sent: Wednesday, June 22, 2005 4:07 PM To: Access Developers discussion and problem solving Subject: RE: [AccessD] Just Checking.... On 22 Jun 2005 at 11:27, John W. Colby wrote: > ROTFL. Yea, I am getting old. > > I am about to launch a field naming convention discussion so look out. > ;-) > I've just been asked to taske over some apps which were developed in-house by a certain organisation in PNG. Most of them have a table called "MAIN TABLE" which is, believe it or not the main table used for storing data. So far I have also come across fields named DATE and NAME as well as several fields with 40-50 character fieldnames comprising multiple words separated by spaces. -- 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 reuben at gfconsultants.com Thu Jun 23 13:44:17 2005 From: reuben at gfconsultants.com (Reuben Cummings) Date: Thu, 23 Jun 2005 13:44:17 -0500 Subject: [AccessD] Re: Normalizing issue In-Reply-To: <6.2.1.2.2.20050623121942.05229bc8@pop3.highstream.net> Message-ID: I feel your pain Robert. My son's full name is Tiller Ried James Bennet Louise Karnes Cummings (my wife handled the naming while I wasn't at the hospital). His SS card shows Tiller RJBLK Cummings My daughters are Delaney Annabelle Lee Cummings and Cali Clarabelle Rose Cummings. My wife likes long names although niether of us have more than one middle name. Reuben Cummings GFC, LLC phone: 812.523.1017 email: reuben at gfconsultants.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Robert L. Stewart Sent: Thursday, June 23, 2005 12:21 PM To: accessd at databaseadvisors.com Subject: [AccessD] Re: Normalizing issue Or like my oldest son: Robert Christopher Lawrence Stewart 2 middle names. Not even the social security card shows both, it is C.L. on it. At 11:36 AM 6/23/2005, you wrote: >Date: Thu, 23 Jun 2005 08:53:27 -0700 (PDT) >From: Lonnie Johnson >Subject: RE: [AccessD] Normalizing issue >To: Access Developers discussion and problem solving > >Message-ID: <20050623155327.10646.qmail at web33109.mail.mud.yahoo.com> >Content-Type: text/plain; charset=iso-8859-1 > >Question: > >What do you do if they actually have a middle name and two last names? -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From artful at rogers.com Thu Jun 23 14:25:49 2005 From: artful at rogers.com (Arthur Fuller) Date: Thu, 23 Jun 2005 15:25:49 -0400 Subject: [AccessD] Exit Access with an error code? In-Reply-To: Message-ID: <200506231925.j5NJPoR22825@databaseadvisors.com> Can anyone tell me how to do this? Assume two cases, to be decided upon examination of a recordset's single row return value. In case one, I want to exit Access with an error code of [any value you like, other than zero]. In case two, I don't want to exit until the user actually exits gracefully (in which case the exit value would presumably be zero). Suggestions? TIA, Arthur From DWUTKA at marlow.com Thu Jun 23 14:30:16 2005 From: DWUTKA at marlow.com (DWUTKA at marlow.com) Date: Thu, 23 Jun 2005 14:30:16 -0500 Subject: [AccessD] FW: You have been unsubscribed from the Dba-exec ma ilinglist Message-ID: <123701F54509D9119A4F00D0B747349016D776@main2.marlow.com> Nope. Drew -----Original Message----- From: John Bartow [mailto:john at winhaven.net] Sent: Thursday, June 23, 2005 12:49 PM To: 'Access Developers discussion and problem solving' Subject: RE: [AccessD] FW: You have been unsubscribed from the Dba-exec mailinglist Actually added you by mistake when I was cleaning up the bod list. I clicked on the wrong shortcut was working in dba-exec and didn't notice right away. Have you gotten the BOD meeting request via the dba-bod list yet? John -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of DWUTKA at marlow.com Sent: Thursday, June 23, 2005 12:38 PM To: AccessD at databaseadvisors.com Subject: [AccessD] FW: You have been unsubscribed from the Dba-exec mailinglist Just curious...why was I unsubscribed? Have I been a bad boy or something? Drew -----Original Message----- From: dba-exec-bounces at databaseadvisors.com [mailto:dba-exec-bounces at databaseadvisors.com] Sent: Thursday, June 23, 2005 12:40 PM To: Drew Wutka Subject: You have been unsubscribed from the Dba-exec mailing list Thank you for participating in the managent of DBA -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd 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 Jun 23 14:34:13 2005 From: artful at rogers.com (Arthur Fuller) Date: Thu, 23 Jun 2005 15:34:13 -0400 Subject: [AccessD] Re: Normalizing issue In-Reply-To: Message-ID: <200506231934.j5NJYDR24700@databaseadvisors.com> You wimps don't know the meaning of long names! LOL. The record for longest given name sequence belongs to a German immigrant to Philadelphia. His given names were: Adolph Blaine Charles David Earl Frederick Gerald Hubert Irvim John Kenneth Loyd Martin Nero Oliver Paul Quincy Randolph Sherman Thomas Uncas Victor Willian Xerxes Yancy Zeus In case you missed it, he's got one name for each letter in the alphabet. But his surname is even more hilarious: Surname: Wolfeschlegelsteinhausenbergerdorffvoralternwarengewissenhaf tschaferswesenchafewarenwholgepflegeundsorgfaltigkeitbeschut zenvonangereifenduchihrraubgiriigfeindewelchevorralternzwolf tausendjahresvorandieerscheinenbanderersteerdeemmeshedrraums chiffgebrauchlichtalsseinursprungvonkraftgestartseinlangefah rthinzwischensternartigraumaufdersuchenachdiesternwelshegeha btbewohnbarplanetenkreisedrehensichundwohinderneurassevanver standigmenshlichkeittkonntevortpflanzenundsicherfreunanleben slamdlichfreudeundruhemitnichteinfurchtvorangreifenvonandere rintlligentgeschopfsvonhinzwischensternartigraum Senior It's gonna take one or more of our German listers to make sense out of this surname! We German-challenged folk have no idea what this might mean. Arthur -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Reuben Cummings Sent: June 23, 2005 2:44 PM To: Access Developers discussion and problem solving Subject: RE: [AccessD] Re: Normalizing issue I feel your pain Robert. My son's full name is Tiller Ried James Bennet Louise Karnes Cummings (my wife handled the naming while I wasn't at the hospital). His SS card shows Tiller RJBLK Cummings My daughters are Delaney Annabelle Lee Cummings and Cali Clarabelle Rose Cummings. My wife likes long names although niether of us have more than one middle name. Reuben Cummings GFC, LLC phone: 812.523.1017 email: reuben at gfconsultants.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Robert L. Stewart Sent: Thursday, June 23, 2005 12:21 PM To: accessd at databaseadvisors.com Subject: [AccessD] Re: Normalizing issue Or like my oldest son: Robert Christopher Lawrence Stewart 2 middle names. Not even the social security card shows both, it is C.L. on it. At 11:36 AM 6/23/2005, you wrote: >Date: Thu, 23 Jun 2005 08:53:27 -0700 (PDT) >From: Lonnie Johnson >Subject: RE: [AccessD] Normalizing issue >To: Access Developers discussion and problem solving > >Message-ID: <20050623155327.10646.qmail at web33109.mail.mud.yahoo.com> >Content-Type: text/plain; charset=iso-8859-1 > >Question: > >What do you do if they actually have a middle name and two last names? -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd 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 Thu Jun 23 14:35:16 2005 From: jimdettman at earthlink.net (Jim Dettman) Date: Thu, 23 Jun 2005 15:35:16 -0400 Subject: [AccessD] Normalizing issue In-Reply-To: <20050623182824.MXAF11273.ibm67aec.bellsouth.net@SUSANONE> Message-ID: Susan, <> Not understanding the publishing business, I'm not sure I fully understand what the problem is. But I guess it depends on how hung up you are on following rules. You can go the simple route and have one table for publications and include the field InPrint and inherent in the interface is that fact that it only applies to books (ie. you hide the control if it's not a book). That's basically a no-no as you said, as all fields really don't pertain to what your supposed to be describing (a publication). The next step would be to have a separate table for each publication type; one for books, one for mag's, video's etc. Then each table only contains the fields that pertain to the type of thing your trying to describe. Last you can go all out and describe the object, it's attributes, and the values for those attributes. For example: tblPublicationTypes - List of all possible publication types (book, mag, article, documentary video, etc). PubTypeID Description tblAttributes - List of all possible attributes that any publication might have. AttribID - PK Description tblPubTypeAttributes - One record for each PubType / Attribute Combination - So this is a list of attributes for a specific type of publication. PubTypeAttribID - PK PubTypeID - FK-A AttribID - FK-B tblPublications - one record per publication PubID - PK PubTypeID - FK Name tblPublicationsValues - One record for each attribute for the type of publication that holds the actual value. PubValueID - PK PubID - FK-A PubTypeAttribID - FK-B Value An example: tblPublicationTypes PubTypeID Description 1 Book 2 Mag 3 Video tblAttributes AttribID Description 1 Title 2 Date Created 3 In Print 4 Media format 5 Author 6 Publication Date 7 Director tblPubTypeAttributes PubTypeAttribID PubTypeID AttribID 1 1 1 2 1 2 3 1 3 4 1 5 5 1 6 6 2 1 7 2 2 8 2 5 9 2 6 10 3 1 11 3 2 12 3 4 13 3 6 14 3 7 So books have the attributes: Title, Date Created, In Print, Author, and publication date. Mag has: Title, Date Created, Author, Publication date. Video has: Title, Date Created, Media Format, Publication Date, and Director. tblPublications - one record per publication PubID PubTypeID 1 1 2 1 3 2 4 3 5 3 So we have 2 books, 1 mag, and 2 videos listed. tblPublicationsValues PubValueID PubID PubTypeAttribID Value 1 1 1 "Jim's First Access Book" 2 1 2 06/15/05 3 1 3 Yes 4 1 4 "JND" 5 1 5 06/18/05 6 2 1 "Jim's Second Access Book" 7 2 2 06/19/05 8 2 3 No 9 2 4 "JND" 10 2 5 11 3 6 "Spy vs Spy" 12 3 7 02/01/05 13 3 8 "JRD" 14 3 9 02/10/05 15 4 10 "eXtreme Skiing" 16 4 11 01/01/00 17 4 12 "AVI" 18 4 13 01/01/01 19 4 14 "Spielberg" 20 5 10 "Sky Diving For beginers" 21 5 11 01/01/99 22 5 12 "35 mm" 23 5 13 01/01/00 24 5 14 "JK Rowling" Whew...think I got all that right. This design is the ultimate in flexability, but certainly the most complex to implement. Without any changes in programming, you can add a new type of "thing" to the database without breaking any normalization rules. Then add instances of those things and assign values to the attributes of them. Two notes: 1. Some might also add to the attribute table or as a seperate table a range of possible values that an attribute can have. 2. They layout above is for someone who believes in surrogate keys. I wouldn't do it that way myself, but simplify a bit. Jim. -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Susan Harkins Sent: Thursday, June 23, 2005 2:28 PM To: 'Access Developers discussion and problem solving' Subject: RE: [AccessD] Normalizing issue This is really getting much more complicated than I had planned. Now I have to figure out how to deal with books versus articles. :) I thought about one table that id's each publication as a book, article, etc. but I have one problem. Books are usually in or out of print and that just doesn't apply for articles. If I use a Yes/No for InPrint, then I've got records when an inappropriate value -- No for magazines isn't really correct. I could use a tri-state Yes/No I guess, and put Null to work, but ug... I can have a separate table that stores only book InPrint field. Or, I can just use two different tables, one for books, for mags. Susan H. -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Jim Dettman Sent: Thursday, June 23, 2005 1:23 PM To: Access Developers discussion and problem solving Subject: RE: [AccessD] Normalizing issue <> Yes. Jim. -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Susan Harkins Sent: Thursday, June 23, 2005 1:13 PM To: 'Access Developers discussion and problem solving' Subject: RE: [AccessD] Normalizing issue OK -- so you're relating the pen name table to the member name and then relating the book table to the pen name table? -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Jim Dettman Sent: Thursday, June 23, 2005 1:10 PM To: Access Developers discussion and problem solving Subject: RE: [AccessD] Normalizing issue Slight correction: tblMembers MemberID MemberName DateCreated tblPenNames PenID MemberID PenName DateCreated Bio tblBooks BookID PenID Jim. -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Susan Harkins Sent: Thursday, June 23, 2005 12:58 PM To: 'Access Developers discussion and problem solving' Subject: RE: [AccessD] Normalizing issue I've been considering this, this morning and I think what I've finally come up with is this: A member name -- that's their real name -- which will relate to their books. I "think" I will add a pen name field to the book table -- if they wrote the name under another name, it'll be there for searches, write-up's, whatever. But, there's only going to be one pen name for each book, so I think it's safe to do this. What do you think? Susan H. Since it's a writer's database, a separate *table* for pen names makes a lot of sense. Some writers use multiple pen names, so creating a pseudonym table is the safest way to handle that and relate it to the writer's actual name. You could always use the real name as the default when filling in a pen name. Charlotte Foust -----Original Message----- From: Susan Harkins [mailto:ssharkins at bellsouth.net] Sent: Thursday, June 23, 2005 8:43 AM To: 'Access Developers discussion and problem solving' Subject: RE: [AccessD] Normalizing issue If it isn't a middle or maiden name, what is it? This gets even more tricky with non-English names where "last" names can get really confusing. I generally provide a field for first, middle, and last name and make it the responsibility of the user to enter the appropriate value in the appropriate field. The rules for parsing this can become so draconian, that it hardly seems worth the work to do anything else. ========I'm in the middle of creating a database (pro bono) for a writer's organization. It's a simple deal and will require little work -- but this is already cropping up. These people will want their "writing" names with their publications -- I'm thinking about just adding one more field to store their "pen name" or whatever -- but then that becomes a nuisance if their name and professional name are the same -- gotta fill in both or allow for the blanks and go find the real name -- such a nuisance -- I think at this point the middle name is the best solution -- Susan H. -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd 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 Jun 23 14:37:19 2005 From: john at winhaven.net (John Bartow) Date: Thu, 23 Jun 2005 14:37:19 -0500 Subject: [AccessD] FW: You have been unsubscribed from the Dba-exec mailinglist In-Reply-To: <123701F54509D9119A4F00D0B747349016D776@main2.marlow.com> Message-ID: <200506231937.j5NJbJkt090452@pimout3-ext.prodigy.net> OK, I'll unsub you from dba-bod and resub you. You should get a welcome and then shortly after you should get the invite to the meeting. John -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of DWUTKA at marlow.com Sent: Thursday, June 23, 2005 2:30 PM To: accessd at databaseadvisors.com Subject: RE: [AccessD] FW: You have been unsubscribed from the Dba-exec mailinglist Nope. Drew -----Original Message----- From: John Bartow [mailto:john at winhaven.net] Sent: Thursday, June 23, 2005 12:49 PM To: 'Access Developers discussion and problem solving' Subject: RE: [AccessD] FW: You have been unsubscribed from the Dba-exec mailinglist Actually added you by mistake when I was cleaning up the bod list. I clicked on the wrong shortcut was working in dba-exec and didn't notice right away. Have you gotten the BOD meeting request via the dba-bod list yet? John -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of DWUTKA at marlow.com Sent: Thursday, June 23, 2005 12:38 PM To: AccessD at databaseadvisors.com Subject: [AccessD] FW: You have been unsubscribed from the Dba-exec mailinglist Just curious...why was I unsubscribed? Have I been a bad boy or something? Drew -----Original Message----- From: dba-exec-bounces at databaseadvisors.com [mailto:dba-exec-bounces at databaseadvisors.com] Sent: Thursday, June 23, 2005 12:40 PM To: Drew Wutka Subject: You have been unsubscribed from the Dba-exec mailing list Thank you for participating in the managent of DBA -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd 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 Thu Jun 23 14:38:57 2005 From: dmcafee at pacbell.net (dmcafee at pacbell.net) Date: Thu, 23 Jun 2005 12:38:57 -0700 Subject: [AccessD] Re: Normalizing issue In-Reply-To: <200506231934.j5NJYDR24700@databaseadvisors.com> Message-ID: I wonder if they nicknamed him "Alfie", short for alphabet ;) D -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Arthur Fuller Sent: Thursday, June 23, 2005 12:34 PM To: 'Access Developers discussion and problem solving' Subject: RE: [AccessD] Re: Normalizing issue You wimps don't know the meaning of long names! LOL. The record for longest given name sequence belongs to a German immigrant to Philadelphia. His given names were: Adolph Blaine Charles David Earl Frederick Gerald Hubert Irvim John Kenneth Loyd Martin Nero Oliver Paul Quincy Randolph Sherman Thomas Uncas Victor Willian Xerxes Yancy Zeus In case you missed it, he's got one name for each letter in the alphabet. But his surname is even more hilarious: Surname: Wolfeschlegelsteinhausenbergerdorffvoralternwarengewissenhaf tschaferswesenchafewarenwholgepflegeundsorgfaltigkeitbeschut zenvonangereifenduchihrraubgiriigfeindewelchevorralternzwolf tausendjahresvorandieerscheinenbanderersteerdeemmeshedrraums chiffgebrauchlichtalsseinursprungvonkraftgestartseinlangefah rthinzwischensternartigraumaufdersuchenachdiesternwelshegeha btbewohnbarplanetenkreisedrehensichundwohinderneurassevanver standigmenshlichkeittkonntevortpflanzenundsicherfreunanleben slamdlichfreudeundruhemitnichteinfurchtvorangreifenvonandere rintlligentgeschopfsvonhinzwischensternartigraum Senior It's gonna take one or more of our German listers to make sense out of this surname! We German-challenged folk have no idea what this might mean. Arthur -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Reuben Cummings Sent: June 23, 2005 2:44 PM To: Access Developers discussion and problem solving Subject: RE: [AccessD] Re: Normalizing issue I feel your pain Robert. My son's full name is Tiller Ried James Bennet Louise Karnes Cummings (my wife handled the naming while I wasn't at the hospital). His SS card shows Tiller RJBLK Cummings My daughters are Delaney Annabelle Lee Cummings and Cali Clarabelle Rose Cummings. My wife likes long names although niether of us have more than one middle name. Reuben Cummings GFC, LLC phone: 812.523.1017 email: reuben at gfconsultants.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Robert L. Stewart Sent: Thursday, June 23, 2005 12:21 PM To: accessd at databaseadvisors.com Subject: [AccessD] Re: Normalizing issue Or like my oldest son: Robert Christopher Lawrence Stewart 2 middle names. Not even the social security card shows both, it is C.L. on it. At 11:36 AM 6/23/2005, you wrote: >Date: Thu, 23 Jun 2005 08:53:27 -0700 (PDT) >From: Lonnie Johnson >Subject: RE: [AccessD] Normalizing issue >To: Access Developers discussion and problem solving > >Message-ID: <20050623155327.10646.qmail at web33109.mail.mud.yahoo.com> >Content-Type: text/plain; charset=iso-8859-1 > >Question: > >What do you do if they actually have a middle name and two last names? -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd 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 Thu Jun 23 14:38:59 2005 From: ssharkins at bellsouth.net (Susan Harkins) Date: Thu, 23 Jun 2005 15:38:59 -0400 Subject: [AccessD] Normalizing issue In-Reply-To: Message-ID: <20050623193900.PGRZ8050.ibm62aec.bellsouth.net@SUSANONE> Jim, I've already gone with separate tables because I got to thinking -- as this things grow I may run into other data that doesn't fit both books and magazines -- Right now, we're just kind of playing with this. But if it works well and is flexible, a lot of different regions could end up using it -- so the more problems I resolve now, the better. Susan H. Susan, <> Not understanding the publishing business, I'm not sure I fully understand what the problem is. But I guess it depends on how hung up you are on following rules. You can go the simple route and have one table for publications and include the field InPrint and inherent in the interface is that fact that it only applies to books (ie. you hide the control if it's not a book). That's basically a no-no as you said, as all fields really don't pertain to what your supposed to be describing (a publication). The next step would be to have a separate table for each publication type; one for books, one for mag's, video's etc. Then each table only contains the fields that pertain to the type of thing your trying to describe. Last you can go all out and describe the object, it's attributes, and the values for those attributes. For example: tblPublicationTypes - List of all possible publication types (book, mag, article, documentary video, etc). PubTypeID Description tblAttributes - List of all possible attributes that any publication might have. AttribID - PK Description tblPubTypeAttributes - One record for each PubType / Attribute Combination - So this is a list of attributes for a specific type of publication. PubTypeAttribID - PK PubTypeID - FK-A AttribID - FK-B tblPublications - one record per publication PubID - PK PubTypeID - FK Name tblPublicationsValues - One record for each attribute for the type of publication that holds the actual value. PubValueID - PK PubID - FK-A PubTypeAttribID - FK-B Value An example: tblPublicationTypes PubTypeID Description 1 Book 2 Mag 3 Video tblAttributes AttribID Description 1 Title 2 Date Created 3 In Print 4 Media format 5 Author 6 Publication Date 7 Director tblPubTypeAttributes PubTypeAttribID PubTypeID AttribID 1 1 1 2 1 2 3 1 3 4 1 5 5 1 6 6 2 1 7 2 2 8 2 5 9 2 6 10 3 1 11 3 2 12 3 4 13 3 6 14 3 7 So books have the attributes: Title, Date Created, In Print, Author, and publication date. Mag has: Title, Date Created, Author, Publication date. Video has: Title, Date Created, Media Format, Publication Date, and Director. tblPublications - one record per publication PubID PubTypeID 1 1 2 1 3 2 4 3 5 3 So we have 2 books, 1 mag, and 2 videos listed. tblPublicationsValues PubValueID PubID PubTypeAttribID Value 1 1 1 "Jim's First Access Book" 2 1 2 06/15/05 3 1 3 Yes 4 1 4 "JND" 5 1 5 06/18/05 6 2 1 "Jim's Second Access Book" 7 2 2 06/19/05 8 2 3 No 9 2 4 "JND" 10 2 5 11 3 6 "Spy vs Spy" 12 3 7 02/01/05 13 3 8 "JRD" 14 3 9 02/10/05 15 4 10 "eXtreme Skiing" 16 4 11 01/01/00 17 4 12 "AVI" 18 4 13 01/01/01 19 4 14 "Spielberg" 20 5 10 "Sky Diving For beginers" 21 5 11 01/01/99 22 5 12 "35 mm" 23 5 13 01/01/00 24 5 14 "JK Rowling" Whew...think I got all that right. This design is the ultimate in flexability, but certainly the most complex to implement. Without any changes in programming, you can add a new type of "thing" to the database without breaking any normalization rules. Then add instances of those things and assign values to the attributes of them. Two notes: 1. Some might also add to the attribute table or as a seperate table a range of possible values that an attribute can have. 2. They layout above is for someone who believes in surrogate keys. I wouldn't do it that way myself, but simplify a bit. Jim. -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Susan Harkins Sent: Thursday, June 23, 2005 2:28 PM To: 'Access Developers discussion and problem solving' Subject: RE: [AccessD] Normalizing issue This is really getting much more complicated than I had planned. Now I have to figure out how to deal with books versus articles. :) I thought about one table that id's each publication as a book, article, etc. but I have one problem. Books are usually in or out of print and that just doesn't apply for articles. If I use a Yes/No for InPrint, then I've got records when an inappropriate value -- No for magazines isn't really correct. I could use a tri-state Yes/No I guess, and put Null to work, but ug... I can have a separate table that stores only book InPrint field. Or, I can just use two different tables, one for books, for mags. Susan H. -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Jim Dettman Sent: Thursday, June 23, 2005 1:23 PM To: Access Developers discussion and problem solving Subject: RE: [AccessD] Normalizing issue <> Yes. Jim. -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Susan Harkins Sent: Thursday, June 23, 2005 1:13 PM To: 'Access Developers discussion and problem solving' Subject: RE: [AccessD] Normalizing issue OK -- so you're relating the pen name table to the member name and then relating the book table to the pen name table? -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Jim Dettman Sent: Thursday, June 23, 2005 1:10 PM To: Access Developers discussion and problem solving Subject: RE: [AccessD] Normalizing issue Slight correction: tblMembers MemberID MemberName DateCreated tblPenNames PenID MemberID PenName DateCreated Bio tblBooks BookID PenID Jim. -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Susan Harkins Sent: Thursday, June 23, 2005 12:58 PM To: 'Access Developers discussion and problem solving' Subject: RE: [AccessD] Normalizing issue I've been considering this, this morning and I think what I've finally come up with is this: A member name -- that's their real name -- which will relate to their books. I "think" I will add a pen name field to the book table -- if they wrote the name under another name, it'll be there for searches, write-up's, whatever. But, there's only going to be one pen name for each book, so I think it's safe to do this. What do you think? Susan H. Since it's a writer's database, a separate *table* for pen names makes a lot of sense. Some writers use multiple pen names, so creating a pseudonym table is the safest way to handle that and relate it to the writer's actual name. You could always use the real name as the default when filling in a pen name. Charlotte Foust -----Original Message----- From: Susan Harkins [mailto:ssharkins at bellsouth.net] Sent: Thursday, June 23, 2005 8:43 AM To: 'Access Developers discussion and problem solving' Subject: RE: [AccessD] Normalizing issue If it isn't a middle or maiden name, what is it? This gets even more tricky with non-English names where "last" names can get really confusing. I generally provide a field for first, middle, and last name and make it the responsibility of the user to enter the appropriate value in the appropriate field. The rules for parsing this can become so draconian, that it hardly seems worth the work to do anything else. ========I'm in the middle of creating a database (pro bono) for a writer's organization. It's a simple deal and will require little work -- but this is already cropping up. These people will want their "writing" names with their publications -- I'm thinking about just adding one more field to store their "pen name" or whatever -- but then that becomes a nuisance if their name and professional name are the same -- gotta fill in both or allow for the blanks and go find the real name -- such a nuisance -- I think at this point the middle name is the best solution -- Susan H. -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd 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 Jun 23 14:36:39 2005 From: DWUTKA at marlow.com (DWUTKA at marlow.com) Date: Thu, 23 Jun 2005 14:36:39 -0500 Subject: [AccessD] FW: You have been unsubscribed from the Dba-exec ma ilinglist Message-ID: <123701F54509D9119A4F00D0B747349016D778@main2.marlow.com> No I got an unscribed from the BOD list email. Really...I didn't mean it...whatever I said! Drew -----Original Message----- From: John Bartow [mailto:john at winhaven.net] Sent: Thursday, June 23, 2005 12:49 PM To: 'Access Developers discussion and problem solving' Subject: RE: [AccessD] FW: You have been unsubscribed from the Dba-exec mailinglist Actually added you by mistake when I was cleaning up the bod list. I clicked on the wrong shortcut was working in dba-exec and didn't notice right away. Have you gotten the BOD meeting request via the dba-bod list yet? John -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of DWUTKA at marlow.com Sent: Thursday, June 23, 2005 12:38 PM To: AccessD at databaseadvisors.com Subject: [AccessD] FW: You have been unsubscribed from the Dba-exec mailinglist Just curious...why was I unsubscribed? Have I been a bad boy or something? Drew -----Original Message----- From: dba-exec-bounces at databaseadvisors.com [mailto:dba-exec-bounces at databaseadvisors.com] Sent: Thursday, June 23, 2005 12:40 PM To: Drew Wutka Subject: You have been unsubscribed from the Dba-exec mailing list Thank you for participating in the managent of DBA -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From rl_stewart at highstream.net Thu Jun 23 14:39:24 2005 From: rl_stewart at highstream.net (Robert L. Stewart) Date: Thu, 23 Jun 2005 14:39:24 -0500 Subject: [AccessD] Re: Normalizing issue In-Reply-To: <200506231828.j5NISbR08908@databaseadvisors.com> References: <200506231828.j5NISbR08908@databaseadvisors.com> Message-ID: <6.2.1.2.2.20050623143607.05596ee0@pop3.highstream.net> Susan, You can incorporate the first, middle, and last name model for the pen name also. Actually, that was the way I had it in the first alias table that I sent out. I compressed it in the last one. And, LIKE "*TWAIN*" would find all instances of it. Just easier if you are looking in the last name field. Robert At 01:28 PM 6/23/2005, you wrote: >Date: Thu, 23 Jun 2005 13:55:45 -0400 >From: "Susan Harkins" >Subject: RE: [AccessD] Re: Normalizing issue >To: "'Access Developers discussion and problem solving'" > >Message-ID: <20050623175546.WABL7767.ibm60aec.bellsouth.net at SUSANONE> >Content-Type: text/plain; charset="us-ascii" > >The edit it as needed for the special cases. This model also incorporates >an alias table to hold the solution to what Susan needs for her pen names. >All she would need to do is add a table to relate the pen names to the >publisher for the articles being published. > >===========The alias is all one field though -- right? I don't think that >would work for pen names as I can see a need for searching on pen name >(think Twain) rather than member name -- and a search for Twain isn't going >to work if the field is "Mark Twain" > >Susan H. From ssharkins at bellsouth.net Thu Jun 23 14:44:54 2005 From: ssharkins at bellsouth.net (Susan Harkins) Date: Thu, 23 Jun 2005 15:44:54 -0400 Subject: [AccessD] Re: Normalizing issue In-Reply-To: Message-ID: <20050623194454.PJJJ8050.ibm62aec.bellsouth.net@SUSANONE> I just think Arthur's up to old tricks again... ;) Susan H. I wonder if they nicknamed him "Alfie", short for alphabet ;) D Surname: Wolfeschlegelsteinhausenbergerdorffvoralternwarengewissenhaf tschaferswesenchafewarenwholgepflegeundsorgfaltigkeitbeschut From rl_stewart at highstream.net Thu Jun 23 14:46:52 2005 From: rl_stewart at highstream.net (Robert L. Stewart) Date: Thu, 23 Jun 2005 14:46:52 -0500 Subject: [AccessD] Re: Normalizing issue In-Reply-To: <200506231828.j5NISbR08908@databaseadvisors.com> References: <200506231828.j5NISbR08908@databaseadvisors.com> Message-ID: <6.2.1.2.2.20050623144137.05532ea8@pop3.highstream.net> Susan, tblPublication PublicationID PublicationType (Book, Article, White Paper, etc.) PublicationTitle AuthorAliasID Then you can add any other information appropriate for the publication, like InPrintFlag, CopyrightDate, PublisherID, etc. Over design!!!! You can always back off an over designed system. It is much harder to fix an under designed system. Robert At 01:28 PM 6/23/2005, you wrote: >Date: Thu, 23 Jun 2005 14:28:24 -0400 >From: "Susan Harkins" >Subject: RE: [AccessD] Normalizing issue >To: "'Access Developers discussion and problem solving'" > >Message-ID: <20050623182824.MXAF11273.ibm67aec.bellsouth.net at SUSANONE> >Content-Type: text/plain; charset="us-ascii" > >This is really getting much more complicated than I had planned. Now I have >to figure out how to deal with books versus articles. :) I thought about one >table that id's each publication as a book, article, etc. but I have one >problem. > >Books are usually in or out of print and that just doesn't apply for >articles. If I use a Yes/No for InPrint, then I've got records when an >inappropriate value -- No for magazines isn't really correct. I could use a >tri-state Yes/No I guess, and put Null to work, but ug... > >I can have a separate table that stores only book InPrint field. Or, I can >just use two different tables, one for books, for mags. > >Susan H. From stuart at lexacorp.com.pg Thu Jun 23 17:30:34 2005 From: stuart at lexacorp.com.pg (Stuart McLachlan) Date: Fri, 24 Jun 2005 08:30:34 +1000 Subject: [AccessD] Re: Normalizing issue In-Reply-To: <20050623194454.PJJJ8050.ibm62aec.bellsouth.net@SUSANONE> References: Message-ID: <42BBC4AA.3771.30398AF@stuart.lexacorp.com.pg> On 23 Jun 2005 at 15:44, Susan Harkins wrote: > I just think Arthur's up to old tricks again... ;) > Nope, see http://www.everything2.com/index.pl?node_id=1534419 -- Stuart From bchacc at san.rr.com Thu Jun 23 17:31:00 2005 From: bchacc at san.rr.com (Rocky Smolin - Beach Access Software) Date: Thu, 23 Jun 2005 15:31:00 -0700 Subject: [AccessD] Turn Off Help Box in Access 2003 References: <008701c57810$2cf39d20$6701a8c0@HAL9004> <42BAFC1B.3070008@shaw.ca> Message-ID: <020f01c57843$3bf3c2e0$6701a8c0@HAL9004> Marty: Didn't work. The help box ( which is a new feature in A2K3) still shows. Rocky ----- Original Message ----- From: "MartyConnelly" To: "Access Developers discussion and problem solving" Sent: Thursday, June 23, 2005 11:14 AM Subject: Re: [AccessD] Turn Off Help Box in Access 2003 > What's This? This property of the form can only be turned on by default > to Yes when MinMax property set to No > So just set Form property What's This to No. > > Rocky Smolin - Beach Access Software wrote: > >>Dear List: >>In access 2003 up in the right corner by the maximize, minimize and close >>buttons there's a help box. Does anyone know the syntax for turning this >>thing off through code? >> >>MTIA >> >>Rocky Smolin >>Beach Access Software >>http://www.e-z-mrp.com >>858-259-4334 >> > > -- > 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 jmhecht at earthlink.net Thu Jun 23 19:51:30 2005 From: jmhecht at earthlink.net (Joe Hecht) Date: Thu, 23 Jun 2005 17:51:30 -0700 Subject: [AccessD] Normalizing issue In-Reply-To: <20050623182824.MXAF11273.ibm67aec.bellsouth.net@SUSANONE> Message-ID: <000401c57856$dcdfc420$6401a8c0@laptop1> Don't all projects. Joe Hecht Los Angeles CA This is really getting much more complicated than I had planned. From martyconnelly at shaw.ca Thu Jun 23 21:26:35 2005 From: martyconnelly at shaw.ca (MartyConnelly) Date: Thu, 23 Jun 2005 19:26:35 -0700 Subject: [AccessD] Turn Off Help Box in Access 2003 References: <008701c57810$2cf39d20$6701a8c0@HAL9004> <42BAFC1B.3070008@shaw.ca> <020f01c57843$3bf3c2e0$6701a8c0@HAL9004> Message-ID: <42BB6F5B.8000501@shaw.ca> Works for me in Access 2003 Min Max Buttons No Whats this button No As a matter of fact on a basic virgin form it will squawk to you that it will not let you turn ON the the Whats This Button to Yes unless MinMax is set to None. Maybe a corrupted form or you have turned on an odd Application.SetOption Rocky Smolin - Beach Access Software wrote: > Marty: > > Didn't work. The help box ( which is a new feature in A2K3) still shows. > > Rocky > > ----- Original Message ----- From: "MartyConnelly" > > To: "Access Developers discussion and problem solving" > > Sent: Thursday, June 23, 2005 11:14 AM > Subject: Re: [AccessD] Turn Off Help Box in Access 2003 > > >> What's This? This property of the form can only be turned on by >> default to Yes when MinMax property set to No >> So just set Form property What's This to No. >> >> Rocky Smolin - Beach Access Software wrote: >> >>> Dear List: >>> In access 2003 up in the right corner by the maximize, minimize and >>> close buttons there's a help box. Does anyone know the syntax for >>> turning this thing off through code? >>> >>> MTIA >>> >>> Rocky Smolin >>> Beach Access Software >>> http://www.e-z-mrp.com >>> 858-259-4334 >>> >> >> -- >> Marty Connelly >> Victoria, B.C. >> Canada >> >> >> >> -- >> 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 bchacc at san.rr.com Thu Jun 23 22:13:30 2005 From: bchacc at san.rr.com (Rocky Smolin - Beach Access Software) Date: Thu, 23 Jun 2005 20:13:30 -0700 Subject: [AccessD] Turn Off Help Box in Access 2003 References: <008701c57810$2cf39d20$6701a8c0@HAL9004> <42BAFC1B.3070008@shaw.ca> <020f01c57843$3bf3c2e0$6701a8c0@HAL9004> <42BB6F5B.8000501@shaw.ca> Message-ID: <02b401c5786a$b2d64320$6701a8c0@HAL9004> MinMax Buttons None. Close button no. What's this No. Everything disappears but the help box. And in the mde, the DoCmd.Maximize doesn't work. So the form doesn't open maximized. But it works for you. I wonder what's going on. I'm pretty sure the form isn't corrupted. Rocky ----- Original Message ----- From: "MartyConnelly" To: "Access Developers discussion and problem solving" Sent: Thursday, June 23, 2005 7:26 PM Subject: Re: [AccessD] Turn Off Help Box in Access 2003 > Works for me in Access 2003 > Min Max Buttons No > Whats this button No > As a matter of fact on a basic virgin form it will squawk to you that it > will not let you turn ON the > the Whats This Button to Yes unless MinMax is set to None. > > Maybe a corrupted form or you have turned on an odd Application.SetOption > > > > > Rocky Smolin - Beach Access Software wrote: > >> Marty: >> >> Didn't work. The help box ( which is a new feature in A2K3) still shows. >> >> Rocky >> >> ----- Original Message ----- From: "MartyConnelly" >> >> To: "Access Developers discussion and problem solving" >> >> Sent: Thursday, June 23, 2005 11:14 AM >> Subject: Re: [AccessD] Turn Off Help Box in Access 2003 >> >> >>> What's This? This property of the form can only be turned on by default >>> to Yes when MinMax property set to No >>> So just set Form property What's This to No. >>> >>> Rocky Smolin - Beach Access Software wrote: >>> >>>> Dear List: >>>> In access 2003 up in the right corner by the maximize, minimize and >>>> close buttons there's a help box. Does anyone know the syntax for >>>> turning this thing off through code? >>>> >>>> MTIA >>>> >>>> Rocky Smolin >>>> Beach Access Software >>>> http://www.e-z-mrp.com >>>> 858-259-4334 >>>> >>> >>> -- >>> Marty Connelly >>> Victoria, B.C. >>> Canada >>> >>> >>> >>> -- >>> 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 D.Dick at uws.edu.au Thu Jun 23 23:00:12 2005 From: D.Dick at uws.edu.au (Darren Dick) Date: Fri, 24 Jun 2005 14:00:12 +1000 Subject: [AccessD] Turn Off Help Box in Access 2003 Message-ID: <2FDE83AF1A69C84796CBD13788DDA88349ACDE@BONHAM.AD.UWS.EDU.AU> Are you Guys talking about the same thing? Marty seems to be talking about the What's this Button Rocky is referring to the Small Search Field Just to the top right of any open screen (A Unique 2003 Feature) That's near the Close|Min/Max|Restore Buttons DD -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Rocky Smolin - Beach Access Software Sent: Friday, June 24, 2005 1:14 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Turn Off Help Box in Access 2003 MinMax Buttons None. Close button no. What's this No. Everything disappears but the help box. And in the mde, the DoCmd.Maximize doesn't work. So the form doesn't open maximized. But it works for you. I wonder what's going on. I'm pretty sure the form isn't corrupted. Rocky ----- Original Message ----- From: "MartyConnelly" To: "Access Developers discussion and problem solving" Sent: Thursday, June 23, 2005 7:26 PM Subject: Re: [AccessD] Turn Off Help Box in Access 2003 > Works for me in Access 2003 > Min Max Buttons No > Whats this button No > As a matter of fact on a basic virgin form it will squawk to you that it > will not let you turn ON the > the Whats This Button to Yes unless MinMax is set to None. > > Maybe a corrupted form or you have turned on an odd Application.SetOption > > > > > Rocky Smolin - Beach Access Software wrote: > >> Marty: >> >> Didn't work. The help box ( which is a new feature in A2K3) still shows. >> >> Rocky >> >> ----- Original Message ----- From: "MartyConnelly" >> >> To: "Access Developers discussion and problem solving" >> >> Sent: Thursday, June 23, 2005 11:14 AM >> Subject: Re: [AccessD] Turn Off Help Box in Access 2003 >> >> >>> What's This? This property of the form can only be turned on by default >>> to Yes when MinMax property set to No >>> So just set Form property What's This to No. >>> >>> Rocky Smolin - Beach Access Software wrote: >>> >>>> Dear List: >>>> In access 2003 up in the right corner by the maximize, minimize and >>>> close buttons there's a help box. Does anyone know the syntax for >>>> turning this thing off through code? >>>> >>>> MTIA >>>> >>>> Rocky Smolin >>>> Beach Access Software >>>> http://www.e-z-mrp.com >>>> 858-259-4334 >>>> >>> >>> -- >>> Marty Connelly >>> Victoria, B.C. >>> Canada >>> >>> >>> >>> -- >>> 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 > -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From bchacc at san.rr.com Thu Jun 23 23:12:15 2005 From: bchacc at san.rr.com (Rocky Smolin - Beach Access Software) Date: Thu, 23 Jun 2005 21:12:15 -0700 Subject: [AccessD] Turn Off Help Box in Access 2003 References: <2FDE83AF1A69C84796CBD13788DDA88349ACDE@BONHAM.AD.UWS.EDU.AU> Message-ID: <030a01c57872$e7d380d0$6701a8c0@HAL9004> The small Search Field in the upper right of the form that has the text 'Type a question for help' is what I'm referring to. I thought maybe the What's This had something to do with that. Any idea how to rid myself of that pesky control, Darren? Rocky ----- Original Message ----- From: "Darren Dick" To: "Access Developers discussion and problem solving" Sent: Thursday, June 23, 2005 9:00 PM Subject: RE: [AccessD] Turn Off Help Box in Access 2003 > Are you Guys talking about the same thing? > Marty seems to be talking about the What's this Button > Rocky is referring to the Small Search Field Just to the top right of > any open screen (A Unique 2003 Feature) > That's near the Close|Min/Max|Restore Buttons > > DD > > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Rocky Smolin > - Beach Access Software > Sent: Friday, June 24, 2005 1:14 PM > To: Access Developers discussion and problem solving > Subject: Re: [AccessD] Turn Off Help Box in Access 2003 > > MinMax Buttons None. Close button no. What's this No. Everything > disappears but the help box. And in the mde, the DoCmd.Maximize doesn't > work. So the form doesn't open maximized. But it works for you. I > wonder what's going on. I'm pretty sure the form isn't corrupted. > > Rocky > > ----- Original Message ----- > From: "MartyConnelly" > To: "Access Developers discussion and problem solving" > > Sent: Thursday, June 23, 2005 7:26 PM > Subject: Re: [AccessD] Turn Off Help Box in Access 2003 > > >> Works for me in Access 2003 >> Min Max Buttons No >> Whats this button No >> As a matter of fact on a basic virgin form it will squawk to you that > it >> will not let you turn ON the >> the Whats This Button to Yes unless MinMax is set to None. >> >> Maybe a corrupted form or you have turned on an odd > Application.SetOption >> >> >> >> >> Rocky Smolin - Beach Access Software wrote: >> >>> Marty: >>> >>> Didn't work. The help box ( which is a new feature in A2K3) still > shows. >>> >>> Rocky >>> >>> ----- Original Message ----- From: "MartyConnelly" >>> >>> To: "Access Developers discussion and problem solving" >>> >>> Sent: Thursday, June 23, 2005 11:14 AM >>> Subject: Re: [AccessD] Turn Off Help Box in Access 2003 >>> >>> >>>> What's This? This property of the form can only be turned on by > default >>>> to Yes when MinMax property set to No >>>> So just set Form property What's This to No. >>>> >>>> Rocky Smolin - Beach Access Software wrote: >>>> >>>>> Dear List: >>>>> In access 2003 up in the right corner by the maximize, minimize and > >>>>> close buttons there's a help box. Does anyone know the syntax for >>>>> turning this thing off through code? >>>>> >>>>> MTIA >>>>> >>>>> Rocky Smolin >>>>> Beach Access Software >>>>> http://www.e-z-mrp.com >>>>> 858-259-4334 >>>>> >>>> >>>> -- >>>> Marty Connelly >>>> Victoria, B.C. >>>> Canada >>>> >>>> >>>> >>>> -- >>>> 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 >> > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > From martyconnelly at shaw.ca Thu Jun 23 23:28:18 2005 From: martyconnelly at shaw.ca (MartyConnelly) Date: Thu, 23 Jun 2005 21:28:18 -0700 Subject: [AccessD] Turn Off Help Box in Access 2003 References: <008701c57810$2cf39d20$6701a8c0@HAL9004> <42BAFC1B.3070008@shaw.ca> <020f01c57843$3bf3c2e0$6701a8c0@HAL9004> <42BB6F5B.8000501@shaw.ca> <02b401c5786a$b2d64320$6701a8c0@HAL9004> Message-ID: <42BB8BE2.5050804@shaw.ca> Try toggling the Control Box property between yes and no, in some cases the X disappears like wise ? What is. In some cases I have a greyed out X close form and no what is Rocky Smolin - Beach Access Software wrote: > MinMax Buttons None. Close button no. What's this No. Everything > disappears but the help box. And in the mde, the DoCmd.Maximize > doesn't work. So the form doesn't open maximized. But it works for > you. I wonder what's going on. I'm pretty sure the form isn't > corrupted. > > Rocky > > ----- Original Message ----- From: "MartyConnelly" > > To: "Access Developers discussion and problem solving" > > Sent: Thursday, June 23, 2005 7:26 PM > Subject: Re: [AccessD] Turn Off Help Box in Access 2003 > > >> Works for me in Access 2003 >> Min Max Buttons No >> Whats this button No >> As a matter of fact on a basic virgin form it will squawk to you that >> it will not let you turn ON the >> the Whats This Button to Yes unless MinMax is set to None. >> >> Maybe a corrupted form or you have turned on an odd >> Application.SetOption >> >> >> >> >> Rocky Smolin - Beach Access Software wrote: >> >>> Marty: >>> >>> Didn't work. The help box ( which is a new feature in A2K3) still >>> shows. >>> >>> Rocky >>> >>> ----- Original Message ----- From: "MartyConnelly" >>> >>> To: "Access Developers discussion and problem solving" >>> >>> Sent: Thursday, June 23, 2005 11:14 AM >>> Subject: Re: [AccessD] Turn Off Help Box in Access 2003 >>> >>> >>>> What's This? This property of the form can only be turned on by >>>> default to Yes when MinMax property set to No >>>> So just set Form property What's This to No. >>>> >>>> Rocky Smolin - Beach Access Software wrote: >>>> >>>>> Dear List: >>>>> In access 2003 up in the right corner by the maximize, minimize >>>>> and close buttons there's a help box. Does anyone know the syntax >>>>> for turning this thing off through code? >>>>> >>>>> MTIA >>>>> >>>>> Rocky Smolin >>>>> Beach Access Software >>>>> http://www.e-z-mrp.com >>>>> 858-259-4334 >>>>> >>>> >>>> -- >>>> Marty Connelly >>>> Victoria, B.C. >>>> Canada >>>> >>>> >>>> >>>> -- >>>> 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 >> > -- Marty Connelly Victoria, B.C. Canada From dejpolsys at hotmail.com Thu Jun 23 23:42:55 2005 From: dejpolsys at hotmail.com (William Hindman) Date: Fri, 24 Jun 2005 00:42:55 -0400 Subject: [AccessD] Turn Off Help Box in Access 2003 References: <2FDE83AF1A69C84796CBD13788DDA88349ACDE@BONHAM.AD.UWS.EDU.AU> <030a01c57872$e7d380d0$6701a8c0@HAL9004> Message-ID: http://support.microsoft.com/default.aspx?scid=kb;en-us;283633 William From bchacc at san.rr.com Thu Jun 23 23:57:07 2005 From: bchacc at san.rr.com (Rocky Smolin - Beach Access Software) Date: Thu, 23 Jun 2005 21:57:07 -0700 Subject: [AccessD] Turn Off Help Box in Access 2003 References: <2FDE83AF1A69C84796CBD13788DDA88349ACDE@BONHAM.AD.UWS.EDU.AU> <030a01c57872$e7d380d0$6701a8c0@HAL9004> Message-ID: <033d01c57879$2c34c940$6701a8c0@HAL9004> It's for 2002 and of course they changed the dialog boxes in 2003 so it doesn't follow the KB. :( Rocky ----- Original Message ----- From: "William Hindman" To: "Access Developers discussion and problem solving" Sent: Thursday, June 23, 2005 9:42 PM Subject: Re: [AccessD] Turn Off Help Box in Access 2003 > http://support.microsoft.com/default.aspx?scid=kb;en-us;283633 > > William > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > From D.Dick at uws.edu.au Fri Jun 24 00:28:32 2005 From: D.Dick at uws.edu.au (Darren Dick) Date: Fri, 24 Jun 2005 15:28:32 +1000 Subject: [AccessD] Turn Off Help Box in Access 2003 Message-ID: <2FDE83AF1A69C84796CBD13788DDA88349AD6E@BONHAM.AD.UWS.EDU.AU> Sorry - No - I have no solution for you DD -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Rocky Smolin - Beach Access Software Sent: Friday, June 24, 2005 2:12 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Turn Off Help Box in Access 2003 The small Search Field in the upper right of the form that has the text 'Type a question for help' is what I'm referring to. I thought maybe the What's This had something to do with that. Any idea how to rid myself of that pesky control, Darren? Rocky ----- Original Message ----- From: "Darren Dick" To: "Access Developers discussion and problem solving" Sent: Thursday, June 23, 2005 9:00 PM Subject: RE: [AccessD] Turn Off Help Box in Access 2003 > Are you Guys talking about the same thing? > Marty seems to be talking about the What's this Button > Rocky is referring to the Small Search Field Just to the top right of > any open screen (A Unique 2003 Feature) > That's near the Close|Min/Max|Restore Buttons > > DD > > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Rocky Smolin > - Beach Access Software > Sent: Friday, June 24, 2005 1:14 PM > To: Access Developers discussion and problem solving > Subject: Re: [AccessD] Turn Off Help Box in Access 2003 > > MinMax Buttons None. Close button no. What's this No. Everything > disappears but the help box. And in the mde, the DoCmd.Maximize doesn't > work. So the form doesn't open maximized. But it works for you. I > wonder what's going on. I'm pretty sure the form isn't corrupted. > > Rocky > > ----- Original Message ----- > From: "MartyConnelly" > To: "Access Developers discussion and problem solving" > > Sent: Thursday, June 23, 2005 7:26 PM > Subject: Re: [AccessD] Turn Off Help Box in Access 2003 > > >> Works for me in Access 2003 >> Min Max Buttons No >> Whats this button No >> As a matter of fact on a basic virgin form it will squawk to you that > it >> will not let you turn ON the >> the Whats This Button to Yes unless MinMax is set to None. >> >> Maybe a corrupted form or you have turned on an odd > Application.SetOption >> >> >> >> >> Rocky Smolin - Beach Access Software wrote: >> >>> Marty: >>> >>> Didn't work. The help box ( which is a new feature in A2K3) still > shows. >>> >>> Rocky >>> >>> ----- Original Message ----- From: "MartyConnelly" >>> >>> To: "Access Developers discussion and problem solving" >>> >>> Sent: Thursday, June 23, 2005 11:14 AM >>> Subject: Re: [AccessD] Turn Off Help Box in Access 2003 >>> >>> >>>> What's This? This property of the form can only be turned on by > default >>>> to Yes when MinMax property set to No >>>> So just set Form property What's This to No. >>>> >>>> Rocky Smolin - Beach Access Software wrote: >>>> >>>>> Dear List: >>>>> In access 2003 up in the right corner by the maximize, minimize and > >>>>> close buttons there's a help box. Does anyone know the syntax for >>>>> turning this thing off through code? >>>>> >>>>> MTIA >>>>> >>>>> Rocky Smolin >>>>> Beach Access Software >>>>> http://www.e-z-mrp.com >>>>> 858-259-4334 >>>>> >>>> >>>> -- >>>> Marty Connelly >>>> Victoria, B.C. >>>> Canada >>>> >>>> >>>> >>>> -- >>>> 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 >> > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From stuart at lexacorp.com.pg Fri Jun 24 01:25:23 2005 From: stuart at lexacorp.com.pg (Stuart McLachlan) Date: Fri, 24 Jun 2005 16:25:23 +1000 Subject: [AccessD] Turn Off Help Box in Access 2003 In-Reply-To: <2FDE83AF1A69C84796CBD13788DDA88349AD6E@BONHAM.AD.UWS.EDU.AU> Message-ID: <42BC33F3.6369.4B64BC4@stuart.lexacorp.com.pg> According to http://office.microsoft.com/en-us/assistance/HP030894201033.aspx 1. On the Tools menu, click Customize. 2. On the menu bar, right-click the Type a question for help Question Box image box. 3. Select or deselect Show Ask A Question Box to show or hide it. Note If you are hiding the Type a question for help box, it will still display until after you close the Customize dialog box. According to: http://www.pcreview.co.uk/forums/thread-1113279.php >From code, you can set CommandBars.DisableAskAQuestionDropdown to True. -- Stuart From Bruce.Bruen at railcorp.nsw.gov.au Fri Jun 24 01:38:08 2005 From: Bruce.Bruen at railcorp.nsw.gov.au (Bruen, Bruce) Date: Fri, 24 Jun 2005 16:38:08 +1000 Subject: [AccessD] Setting ListIndex value (A97) Message-ID: hi guys, I need to set the selected item of a combobox to a random value when user clicks a commandbutton. e.g. [Select random gift] button sets the Gift: combo next to it to a random value (between 1 and listcount-1!) Since listindex is readonly can anyone tell me how to do this? 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 martyconnelly at shaw.ca Fri Jun 24 01:53:38 2005 From: martyconnelly at shaw.ca (MartyConnelly) Date: Thu, 23 Jun 2005 23:53:38 -0700 Subject: [AccessD] Turn Off Help Box in Access 2003 References: <2FDE83AF1A69C84796CBD13788DDA88349ACDE@BONHAM.AD.UWS.EDU.AU> Message-ID: <42BBADF2.5080706@shaw.ca> Ah that Thingy Dingy! I thought it was the ? next to the max minimize icons on a form not the Access menu command bar. This will toggle it in code, found name in object browser then looked it up in help. Sub ToggleAskQuestionDropdown() With Application.CommandBars If .DisableAskAQuestionDropdown = True Then .DisableAskAQuestionDropdown = False Debug.Print "ask question turned on" Else .DisableAskAQuestionDropdown = True Debug.Print "ask question turned Off" End If End With End Sub Darren Dick wrote: >Are you Guys talking about the same thing? >Marty seems to be talking about the What's this Button >Rocky is referring to the Small Search Field Just to the top right of >any open screen (A Unique 2003 Feature) >That's near the Close|Min/Max|Restore Buttons > >DD > > >-----Original Message----- >From: accessd-bounces at databaseadvisors.com >[mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Rocky Smolin >- Beach Access Software >Sent: Friday, June 24, 2005 1:14 PM >To: Access Developers discussion and problem solving >Subject: Re: [AccessD] Turn Off Help Box in Access 2003 > >MinMax Buttons None. Close button no. What's this No. Everything >disappears but the help box. And in the mde, the DoCmd.Maximize doesn't >work. So the form doesn't open maximized. But it works for you. I >wonder what's going on. I'm pretty sure the form isn't corrupted. > >Rocky > >----- Original Message ----- >From: "MartyConnelly" >To: "Access Developers discussion and problem solving" > >Sent: Thursday, June 23, 2005 7:26 PM >Subject: Re: [AccessD] Turn Off Help Box in Access 2003 > > > > >>Works for me in Access 2003 >>Min Max Buttons No >>Whats this button No >>As a matter of fact on a basic virgin form it will squawk to you that >> >> >it > > >>will not let you turn ON the >>the Whats This Button to Yes unless MinMax is set to None. >> >>Maybe a corrupted form or you have turned on an odd >> >> >Application.SetOption > > >> >> >>Rocky Smolin - Beach Access Software wrote: >> >> >> >>>Marty: >>> >>>Didn't work. The help box ( which is a new feature in A2K3) still >>> >>> >shows. > > >>>Rocky >>> >>>----- Original Message ----- From: "MartyConnelly" >>> >>>To: "Access Developers discussion and problem solving" >>> >>>Sent: Thursday, June 23, 2005 11:14 AM >>>Subject: Re: [AccessD] Turn Off Help Box in Access 2003 >>> >>> >>> >>> >>>>What's This? This property of the form can only be turned on by >>>> >>>> >default > > >>>>to Yes when MinMax property set to No >>>>So just set Form property What's This to No. >>>> >>>>Rocky Smolin - Beach Access Software wrote: >>>> >>>> >>>> >>>>>Dear List: >>>>>In access 2003 up in the right corner by the maximize, minimize and >>>>> >>>>> > > > >>>>>close buttons there's a help box. Does anyone know the syntax for >>>>>turning this thing off through code? >>>>> >>>>>MTIA >>>>> >>>>>Rocky Smolin >>>>>Beach Access Software >>>>>http://www.e-z-mrp.com >>>>>858-259-4334 >>>>> >>>>> >>>>> >>>>-- >>>>Marty Connelly >>>>Victoria, B.C. >>>>Canada >>>> >>>> >>>> >>>>-- >>>>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 >> >> >> > > > -- Marty Connelly Victoria, B.C. Canada From dejpolsys at hotmail.com Fri Jun 24 02:19:43 2005 From: dejpolsys at hotmail.com (William Hindman) Date: Fri, 24 Jun 2005 03:19:43 -0400 Subject: [AccessD] Turn Off Help Box in Access 2003 References: <2FDE83AF1A69C84796CBD13788DDA88349ACDE@BONHAM.AD.UWS.EDU.AU><030a01c57872$e7d380d0$6701a8c0@HAL9004> <033d01c57879$2c34c940$6701a8c0@HAL9004> Message-ID: Rocky I am using Access 2003 and in mine it works exactly as the KB article says ..follow the directions exactly, its not intuitive ...after selecting Customize from the Tools Menu, ignore the Customize pane/tabs and Right Click directly on the "Ask a Question" box in the upper right of your Menu bar ...you will get (with the Customize form open) a "Show Ask a Question Box" checkbox ...clear it ...then Close the Customize form ...the "Ask a Question" box will be gone. William ----- Original Message ----- From: "Rocky Smolin - Beach Access Software" To: "Access Developers discussion and problem solving" Sent: Friday, June 24, 2005 12:57 AM Subject: Re: [AccessD] Turn Off Help Box in Access 2003 > It's for 2002 and of course they changed the dialog boxes in 2003 so it > doesn't follow the KB. :( > > Rocky > > ----- Original Message ----- > From: "William Hindman" > To: "Access Developers discussion and problem solving" > > Sent: Thursday, June 23, 2005 9:42 PM > Subject: Re: [AccessD] Turn Off Help Box in Access 2003 > > >> http://support.microsoft.com/default.aspx?scid=kb;en-us;283633 >> >> 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 dejpolsys at hotmail.com Fri Jun 24 02:25:27 2005 From: dejpolsys at hotmail.com (William Hindman) Date: Fri, 24 Jun 2005 03:25:27 -0400 Subject: [AccessD] Turn Off Help Box in Access 2003 References: <2FDE83AF1A69C84796CBD13788DDA88349ACDE@BONHAM.AD.UWS.EDU.AU> <42BBADF2.5080706@shaw.ca> Message-ID: ..do you ever do anything the easy way? :))))) ..just one more thing to add to my startup code :( William ----- Original Message ----- From: "MartyConnelly" To: "Access Developers discussion and problem solving" Sent: Friday, June 24, 2005 2:53 AM Subject: Re: [AccessD] Turn Off Help Box in Access 2003 > Ah that Thingy Dingy! I thought it was the ? next to the max minimize > icons on a form > not the Access menu command bar. > This will toggle it in code, found name in object browser then looked it > up in help. > > Sub ToggleAskQuestionDropdown() > With Application.CommandBars > If .DisableAskAQuestionDropdown = True Then > .DisableAskAQuestionDropdown = False > Debug.Print "ask question turned on" > Else > .DisableAskAQuestionDropdown = True > Debug.Print "ask question turned Off" > End If > End With > End Sub > > Darren Dick wrote: > >>Are you Guys talking about the same thing? >>Marty seems to be talking about the What's this Button >>Rocky is referring to the Small Search Field Just to the top right of >>any open screen (A Unique 2003 Feature) >>That's near the Close|Min/Max|Restore Buttons >> >>DD >> >>-----Original Message----- >>From: accessd-bounces at databaseadvisors.com >>[mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Rocky Smolin >>- Beach Access Software >>Sent: Friday, June 24, 2005 1:14 PM >>To: Access Developers discussion and problem solving >>Subject: Re: [AccessD] Turn Off Help Box in Access 2003 >> >>MinMax Buttons None. Close button no. What's this No. Everything >>disappears but the help box. And in the mde, the DoCmd.Maximize doesn't >>work. So the form doesn't open maximized. But it works for you. I >>wonder what's going on. I'm pretty sure the form isn't corrupted. >> >>Rocky >> >>----- Original Message ----- >>From: "MartyConnelly" >>To: "Access Developers discussion and problem solving" >> >>Sent: Thursday, June 23, 2005 7:26 PM >>Subject: Re: [AccessD] Turn Off Help Box in Access 2003 >> >> >> >>>Works for me in Access 2003 >>>Min Max Buttons No >>>Whats this button No >>>As a matter of fact on a basic virgin form it will squawk to you that >>> >>it >>>will not let you turn ON the >>>the Whats This Button to Yes unless MinMax is set to None. >>> >>>Maybe a corrupted form or you have turned on an odd >>> >>Application.SetOption >> >>> >>> >>>Rocky Smolin - Beach Access Software wrote: >>> >>> >>>>Marty: >>>> >>>>Didn't work. The help box ( which is a new feature in A2K3) still >>>> >>shows. >> >>>>Rocky >>>> >>>>----- Original Message ----- From: "MartyConnelly" >>>> >>>>To: "Access Developers discussion and problem solving" >>>> >>>>Sent: Thursday, June 23, 2005 11:14 AM >>>>Subject: Re: [AccessD] Turn Off Help Box in Access 2003 >>>> >>>> >>>> >>>>>What's This? This property of the form can only be turned on by >>>>> >>default >>>>>to Yes when MinMax property set to No >>>>>So just set Form property What's This to No. >>>>> >>>>>Rocky Smolin - Beach Access Software wrote: >>>>> >>>>> >>>>>>Dear List: >>>>>>In access 2003 up in the right corner by the maximize, minimize and >>>>>> >> >> >>>>>>close buttons there's a help box. Does anyone know the syntax for >>>>>>turning this thing off through code? >>>>>> >>>>>>MTIA >>>>>> >>>>>>Rocky Smolin >>>>>>Beach Access Software >>>>>>http://www.e-z-mrp.com >>>>>>858-259-4334 >>>>>> >>>>>> >>>>>-- >>>>>Marty Connelly >>>>>Victoria, B.C. >>>>>Canada >>>>> >>>>> >>>>> >>>>>-- >>>>>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 >>> >>> >> >> > > -- > 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 paul.hartland at fsmail.net Fri Jun 24 03:24:31 2005 From: paul.hartland at fsmail.net (paul.hartland at fsmail.net) Date: Fri, 24 Jun 2005 10:24:31 +0200 (CEST) Subject: [AccessD] OT - Visual Basic 6.0 Data Environment Message-ID: <18005413.1119601471708.JavaMail.www@wwinf3002> To all, Could anyone tell me if there is a way of sorting the commands in a Data Environment in Visual Basic 6.0. I have taken over a project and there are around 200-300 commands in the one Data Environment and it takes ages to look for an individual one. Could anyone please help with this, or even tell me if there's a fast way of searching a Data Environment to find a single query ? Many thanks in advance for any help on this... Paul Hartland -- Whatever you Wanadoo: http://www.wanadoo.co.uk/time/ This email has been checked for most known viruses - find out more at: http://www.wanadoo.co.uk/help/id/7098.htm From paul.hartland at isharp.co.uk Fri Jun 24 04:54:27 2005 From: paul.hartland at isharp.co.uk (Paul Hartland (ISHARP)) Date: Fri, 24 Jun 2005 10:54:27 +0100 Subject: [AccessD] OT - Visual Basic 6.0 Data Environment In-Reply-To: <18005413.1119601471708.JavaMail.www@wwinf3002> Message-ID: Lee, Try the following link to edit car no's etc.... \\AL-DB\Genesis$\GenesisSQLNew.exe Paul -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of paul.hartland at fsmail.net Sent: 24 June 2005 09:25 To: accessd Subject: [AccessD] OT - Visual Basic 6.0 Data Environment To all, Could anyone tell me if there is a way of sorting the commands in a Data Environment in Visual Basic 6.0. I have taken over a project and there are around 200-300 commands in the one Data Environment and it takes ages to look for an individual one. Could anyone please help with this, or even tell me if there's a fast way of searching a Data Environment to find a single query ? Many thanks in advance for any help on this... Paul Hartland -- Whatever you Wanadoo: http://www.wanadoo.co.uk/time/ This email has been checked for most known viruses - find out more at: http://www.wanadoo.co.uk/help/id/7098.htm -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From paul.hartland at fsmail.net Fri Jun 24 04:56:03 2005 From: paul.hartland at fsmail.net (paul.hartland at fsmail.net) Date: Fri, 24 Jun 2005 11:56:03 +0200 (CEST) Subject: [AccessD] OT - Visual Basic 6.0 Data Environment Message-ID: <17297739.1119606963226.JavaMail.www@wwinf3201> Sorry about last message, bit of brain confusion on my part Message date : Jun 24 2005, 10:53 AM >From : "Paul Hartland (ISHARP)" To : "'Access Developers discussion and problem solving'" Copy to : Subject : RE: [AccessD] OT - Visual Basic 6.0 Data Environment Lee, Try the following link to edit car no's etc.... \\AL-DB\Genesis$\GenesisSQLNew.exe Paul -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of paul.hartland at fsmail.net Sent: 24 June 2005 09:25 To: accessd Subject: [AccessD] OT - Visual Basic 6.0 Data Environment To all, Could anyone tell me if there is a way of sorting the commands in a Data Environment in Visual Basic 6.0. I have taken over a project and there are around 200-300 commands in the one Data Environment and it takes ages to look for an individual one. Could anyone please help with this, or even tell me if there's a fast way of searching a Data Environment to find a single query ? Many thanks in advance for any help on this... Paul Hartland -- Whatever you Wanadoo: http://www.wanadoo.co.uk/time/ This email has been checked for most known viruses - find out more at: http://www.wanadoo.co.uk/help/id/7098.htm -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- Whatever you Wanadoo: http://www.wanadoo.co.uk/time/ This email has been checked for most known viruses - find out more at: http://www.wanadoo.co.uk/help/id/7098.htm From HollisVJ at pgdp.usec.com Fri Jun 24 06:40:22 2005 From: HollisVJ at pgdp.usec.com (Hollis,Virginia) Date: Fri, 24 Jun 2005 06:40:22 -0500 Subject: [AccessD] Import from FoxPro Message-ID: <66ABA669023AE74B97746FD8E684392010175C@c2k3exchange.pgdp.corp.usec.com> Ok, what is the secret to importing from FoxPro to Access 2003? It is not in the list of types anymore. I looked through the KB articles but still have problems. I pulled the tables up in Visual FoxPro, saved them out as dBase IV files, and then tried to import them into Access 2003. I got the message: "Unexpected Error from External Database Driver (8961)" I was able to create an ODBC datasource based on a FoxPro driver that was already on my computer. I tried to import the tables, and it looked like it was going to do it, but then I got an error, "Decimal field precision too small... I'm running out of ideas. Virginia From rl_stewart at highstream.net Fri Jun 24 07:48:26 2005 From: rl_stewart at highstream.net (Robert L. Stewart) Date: Fri, 24 Jun 2005 07:48:26 -0500 Subject: [AccessD] Re: Normalizing issue In-Reply-To: <200506240412.j5O4CHR26385@databaseadvisors.com> References: <200506240412.j5O4CHR26385@databaseadvisors.com> Message-ID: <6.2.1.2.2.20050624071837.0374cc10@pop3.highstream.net> Susan, Then you have also painted yourself into a corner. He gave you the ultimate in flexible design with the attribute definition system. It allows you to define and classify attributes for any publication without the need for more tables later. I was going to suggest it, but after reading his post, did not. Jim was partially correct, but not totally. When you are designing a database and you run into super-types and sub-types like what Susan has, you have to make a choice. You can roll all of the sub-type attributes up into the super-type structure or, you can create them as separate tables. The ultimate is the attribute schema that he proposed. Super-Type Sub-Types tblPublication tblPubBook tblPubMagazine PublicationID PublicationID PublicationID Columns common to Columns specific Columns specific all publications to books to magazines In the super-type/sub-type schema, you would need to add a table for any new publication sub-type that did not completely share the attributes of an existing sub-type. If you roll all the sub-type attributes into the super-type, you have to modify the super-type when you come across a new publication type that has different attributes you want to record. You can solve the issue with seeing "book" attributes when entering a magazine by simply supplying the user with separate data entry screens. If you use the attribute method, you never have to add a table. You can define new publication type and the attributes associated with them. Your GUI can be a common GUI. After selecting the publication type, your GUI can populate a temporary table with all the attributes for that publication type, giving the user the ability of entering the value for each attribute and then posting the results of that temporary table into the master table when data entry for the publication is complete. With flexibility comes responsibility. The idea for me is to shift the responsibility from me as the programmer to the user for the actual use of the program. I no longer have to "think of everything" from the beginning, just show them how to use and report out of the system. Susan, the following is NOT directed at you personally. List, there are ways of making your designs totally flexible so your users never really need you to reprogram the solution again. What they will need though is your guidance in how to use the solution you provide. You also will need to become very proficient in GUI design to make them work well. Anyone can slap together a table here and there and when something new comes up, add another table or even redesign the system because of all the tables added over time (like the one John was talking about). A lot of us got into Access in the beginning because it was "easy." But, good database design is not easy. It takes a lot of thought and dedication to doing it correctly no matter what. Robert At 11:12 PM 6/23/2005, you wrote: >Date: Thu, 23 Jun 2005 15:38:59 -0400 >From: "Susan Harkins" >Subject: RE: [AccessD] Normalizing issue >To: "'Access Developers discussion and problem solving'" > >Message-ID: <20050623193900.PGRZ8050.ibm62aec.bellsouth.net at SUSANONE> >Content-Type: text/plain; charset="us-ascii" > >Jim, I've already gone with separate tables because I got to thinking -- as >this things grow I may run into other data that doesn't fit both books and >magazines -- > >Right now, we're just kind of playing with this. But if it works well and is >flexible, a lot of different regions could end up using it -- so the more >problems I resolve now, the better. > >Susan H. From bheid at appdevgrp.com Fri Jun 24 08:29:40 2005 From: bheid at appdevgrp.com (Bobby Heid) Date: Fri, 24 Jun 2005 09:29:40 -0400 Subject: [AccessD] SQL "Like" question. Message-ID: <916187228923D311A6FE00A0CC3FAA30ABEC7B@ADGSERVER> Hey, I have a search screen for an app that has several combo boxes that when the user clicks the Find button, it builds a SQL query based upon the criteria that the users have selected. The user can also use wild cards in the combo boxes such as 'Carlton*'. Since they can use wild cards, I use LIKE when building the SQL statement. I got an email from a user today asking why a given project search was returning no records. I looked at the data and this is what they were searching for: 'Carlton [D]'. I suspected the data so I removed the brackets from around the 'D' and the query worked fine. My question is, is the bracket a special character? Are there other characters that I need to watch out for? I know about the wild card characters '*', '?', and the '#' character. Thanks, Bobby From john at winhaven.net Fri Jun 24 09:51:35 2005 From: john at winhaven.net (John Bartow) Date: Fri, 24 Jun 2005 09:51:35 -0500 Subject: [AccessD] Re: Normalizing issue In-Reply-To: <6.2.1.2.2.20050624071837.0374cc10@pop3.highstream.net> Message-ID: <200506241451.j5OEpaXb311954@pimout4-ext.prodigy.net> While also keeping in mind just how much you are being paid to do this job... I'm enjoying this thread but it needs to be said. Not everyone here has a weekly paycheck being direct deposited on Friday. Not saying you should do it "wrong" because you're not be paid enough to make an application that can handle every friggin' possibility in the world. But an independent developer needs to discuss the greater flexibility that can be built into an app as the amount of time put into it increases (and hence the cost). When being paid a set rate for a job you make your system as flexible as possible AS the funding allows. This of course needs to be on the table with the customer. A lot of customers will lay out what they want an app to do and not want you to add this kind of flexibility into it because they don't see the need. Then 2 years later just expect it to adapt to their new situation. I agree with you That "It takes a lot of thought and dedication to doing it correctly". (My very first publicly sold application has worked for 6 years now without need for updating.) But the "no matter what" part generally applies to people working with a regular paycheck. -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Robert L. Stewart Sent: Friday, June 24, 2005 7:48 AM To: accessd at databaseadvisors.com Subject: [AccessD] Re: Normalizing issue Susan, Then you have also painted yourself into a corner. He gave you the ultimate in flexible design with the attribute definition system. It allows you to define and classify attributes for any publication without the need for more tables later. I was going to suggest it, but after reading his post, did not. Jim was partially correct, but not totally. When you are designing a database and you run into super-types and sub-types like what Susan has, you have to make a choice. You can roll all of the sub-type attributes up into the super-type structure or, you can create them as separate tables. The ultimate is the attribute schema that he proposed. Super-Type Sub-Types tblPublication tblPubBook tblPubMagazine PublicationID PublicationID PublicationID Columns common to Columns specific Columns specific all publications to books to magazines In the super-type/sub-type schema, you would need to add a table for any new publication sub-type that did not completely share the attributes of an existing sub-type. If you roll all the sub-type attributes into the super-type, you have to modify the super-type when you come across a new publication type that has different attributes you want to record. You can solve the issue with seeing "book" attributes when entering a magazine by simply supplying the user with separate data entry screens. If you use the attribute method, you never have to add a table. You can define new publication type and the attributes associated with them. Your GUI can be a common GUI. After selecting the publication type, your GUI can populate a temporary table with all the attributes for that publication type, giving the user the ability of entering the value for each attribute and then posting the results of that temporary table into the master table when data entry for the publication is complete. With flexibility comes responsibility. The idea for me is to shift the responsibility from me as the programmer to the user for the actual use of the program. I no longer have to "think of everything" from the beginning, just show them how to use and report out of the system. Susan, the following is NOT directed at you personally. List, there are ways of making your designs totally flexible so your users never really need you to reprogram the solution again. What they will need though is your guidance in how to use the solution you provide. You also will need to become very proficient in GUI design to make them work well. Anyone can slap together a table here and there and when something new comes up, add another table or even redesign the system because of all the tables added over time (like the one John was talking about). A lot of us got into Access in the beginning because it was "easy." But, good database design is not easy. It takes a lot of thought and dedication to doing it correctly no matter what. Robert At 11:12 PM 6/23/2005, you wrote: >Date: Thu, 23 Jun 2005 15:38:59 -0400 >From: "Susan Harkins" >Subject: RE: [AccessD] Normalizing issue >To: "'Access Developers discussion and problem solving'" > >Message-ID: <20050623193900.PGRZ8050.ibm62aec.bellsouth.net at SUSANONE> >Content-Type: text/plain; charset="us-ascii" > >Jim, I've already gone with separate tables because I got to thinking >-- as this things grow I may run into other data that doesn't fit both >books and magazines -- > >Right now, we're just kind of playing with this. But if it works well >and is flexible, a lot of different regions could end up using it -- so >the more problems I resolve now, the better. > >Susan H. -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From cfoust at infostatsystems.com Fri Jun 24 10:08:04 2005 From: cfoust at infostatsystems.com (Charlotte Foust) Date: Fri, 24 Jun 2005 08:08:04 -0700 Subject: [AccessD] Setting ListIndex value (A97) Message-ID: Me.Combo1 = Me.Combo1.ItemData(intRandom) Charlotte Foust -----Original Message----- From: Bruen, Bruce [mailto:Bruce.Bruen at railcorp.nsw.gov.au] Sent: Thursday, June 23, 2005 11:38 PM To: Access Developers discussion and problem solving Subject: [AccessD] Setting ListIndex value (A97) hi guys, I need to set the selected item of a combobox to a random value when user clicks a commandbutton. e.g. [Select random gift] button sets the Gift: combo next to it to a random value (between 1 and listcount-1!) Since listindex is readonly can anyone tell me how to do this? 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 ssharkins at bellsouth.net Fri Jun 24 10:11:11 2005 From: ssharkins at bellsouth.net (Susan Harkins) Date: Fri, 24 Jun 2005 11:11:11 -0400 Subject: [AccessD] Re: Normalizing issue In-Reply-To: <200506241451.j5OEpaXb311954@pimout4-ext.prodigy.net> Message-ID: <20050624151119.KABQ11957.ibm56aec.bellsouth.net@SUSANONE> This is pro bono -- no paycheck. :) I'm also doing it in my spare time -- as I can -- so there's no time pressure. Ultimately, I will be the only user unless other regions decide they like it too. Everything I do for me -- but I do need to keep in mind that it might grow -- it's a consideration. I think I'm going with one table. Tomorrow, I may change my mind. :) Susan H. While also keeping in mind just how much you are being paid to do this job... From prodevmg at yahoo.com Fri Jun 24 10:17:00 2005 From: prodevmg at yahoo.com (Lonnie Johnson) Date: Fri, 24 Jun 2005 08:17:00 -0700 (PDT) Subject: [AccessD] SQL "Like" question. In-Reply-To: <916187228923D311A6FE00A0CC3FAA30ABEC7B@ADGSERVER> Message-ID: <20050624151701.44779.qmail@web33112.mail.mud.yahoo.com> Yes, the brackets are reserved for enclosing table, query and field names. You may also want to look out for the tick mark or single quotation mark ('). This can trick your code to thinking you have jumped out of the SQL String. For example the name O'Hare. Bobby Heid wrote:Hey, I have a search screen for an app that has several combo boxes that when the user clicks the Find button, it builds a SQL query based upon the criteria that the users have selected. The user can also use wild cards in the combo boxes such as 'Carlton*'. Since they can use wild cards, I use LIKE when building the SQL statement. I got an email from a user today asking why a given project search was returning no records. I looked at the data and this is what they were searching for: 'Carlton [D]'. I suspected the data so I removed the brackets from around the 'D' and the query worked fine. My question is, is the bracket a special character? Are there other characters that I need to watch out for? I know about the wild card characters '*', '?', and the '#' character. Thanks, Bobby -- 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 jimdettman at earthlink.net Fri Jun 24 10:43:05 2005 From: jimdettman at earthlink.net (Jim Dettman) Date: Fri, 24 Jun 2005 11:43:05 -0400 Subject: [AccessD] Re: Normalizing issue In-Reply-To: <20050624151119.KABQ11957.ibm56aec.bellsouth.net@SUSANONE> Message-ID: Susan, John made and excellent point (pay check). There is also that always fine line of what a client really needs vs what they can really afford. As long as everyone is aware of the limitations that will be imposed by a particular design, then "best" is not always "better". <> That's what I'd do. I also leave design notes within the app on why a given approach was used and how it could have been made better. That helps who ever maintains it down the road understand why it is the way it is. Jim. -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Susan Harkins Sent: Friday, June 24, 2005 11:11 AM To: 'Access Developers discussion and problem solving' Subject: RE: [AccessD] Re: Normalizing issue This is pro bono -- no paycheck. :) I'm also doing it in my spare time -- as I can -- so there's no time pressure. Ultimately, I will be the only user unless other regions decide they like it too. Everything I do for me -- but I do need to keep in mind that it might grow -- it's a consideration. I think I'm going with one table. Tomorrow, I may change my mind. :) Susan H. While also keeping in mind just how much you are being paid to do this job... -- 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 Jun 24 12:43:19 2005 From: andy at minstersystems.co.uk (Andy Lacey) Date: Fri, 24 Jun 2005 17:43:19 -0000 Subject: [AccessD] Setting ListIndex value (A97) In-Reply-To: Message-ID: <000001c2b2b4$a6c80920$36530c54@minster33c3r25> Bruce IIRC you need to do something like Me!lstControl.Selected(randomnuber)=True -- Andy Lacey http://www.minstersystems.co.uk > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of > Bruen, Bruce > Sent: 24 June 2005 07:38 > To: Access Developers discussion and problem solving > Subject: [AccessD] Setting ListIndex value (A97) > > > hi guys, > > I need to set the selected item of a combobox to a random > value when user clicks a commandbutton. e.g. [Select random > gift] button sets the > Gift: combo next to it to a random value (between 1 and listcount-1!) > > Since listindex is readonly can anyone tell me how to do this? > > 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 bheid at appdevgrp.com Fri Jun 24 13:16:56 2005 From: bheid at appdevgrp.com (Bobby Heid) Date: Fri, 24 Jun 2005 14:16:56 -0400 Subject: [AccessD] SQL "Like" question. In-Reply-To: <916187228923D311A6FE00A0CC3FAA30BFF288@ADGSERVER> Message-ID: <916187228923D311A6FE00A0CC3FAA30ABEC81@ADGSERVER> Thanks. I did not even think about it in terms of enclosing table names. I already handle the tick mark thingy. Bobby -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Lonnie Johnson Sent: Friday, June 24, 2005 11:17 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] SQL "Like" question. Yes, the brackets are reserved for enclosing table, query and field names. You may also want to look out for the tick mark or single quotation mark ('). This can trick your code to thinking you have jumped out of the SQL String. For example the name O'Hare. Bobby Heid wrote:Hey, I have a search screen for an app that has several combo boxes that when the user clicks the Find button, it builds a SQL query based upon the criteria that the users have selected. The user can also use wild cards in the combo boxes such as 'Carlton*'. Since they can use wild cards, I use LIKE when building the SQL statement. I got an email from a user today asking why a given project search was returning no records. I looked at the data and this is what they were searching for: 'Carlton [D]'. I suspected the data so I removed the brackets from around the 'D' and the query worked fine. My question is, is the bracket a special character? Are there other characters that I need to watch out for? I know about the wild card characters '*', '?', and the '#' character. Thanks, Bobby From bchacc at san.rr.com Fri Jun 24 13:20:36 2005 From: bchacc at san.rr.com (Rocky Smolin - Beach Access Software) Date: Fri, 24 Jun 2005 11:20:36 -0700 Subject: [AccessD] Turn Off Help Box in Access 2003 References: <2FDE83AF1A69C84796CBD13788DDA88349ACDE@BONHAM.AD.UWS.EDU.AU> <42BBADF2.5080706@shaw.ca> Message-ID: <01b701c578e9$6ad2cc40$6701a8c0@HAL9004> Marty: Thanks. I also found this and it worked. I turned it off through the Customize. I have to take the mde to another machine and see if the setting follows it - if it's for the app or the installation of Office. But your code is exactly what I was looking for. Rocky ----- Original Message ----- From: "MartyConnelly" To: "Access Developers discussion and problem solving" Sent: Thursday, June 23, 2005 11:53 PM Subject: Re: [AccessD] Turn Off Help Box in Access 2003 > Ah that Thingy Dingy! I thought it was the ? next to the max minimize > icons on a form > not the Access menu command bar. > This will toggle it in code, found name in object browser then looked it > up in help. > > Sub ToggleAskQuestionDropdown() > With Application.CommandBars > If .DisableAskAQuestionDropdown = True Then > .DisableAskAQuestionDropdown = False > Debug.Print "ask question turned on" > Else > .DisableAskAQuestionDropdown = True > Debug.Print "ask question turned Off" > End If > End With > End Sub > > Darren Dick wrote: > >>Are you Guys talking about the same thing? >>Marty seems to be talking about the What's this Button >>Rocky is referring to the Small Search Field Just to the top right of >>any open screen (A Unique 2003 Feature) >>That's near the Close|Min/Max|Restore Buttons >> >>DD >> >>-----Original Message----- >>From: accessd-bounces at databaseadvisors.com >>[mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Rocky Smolin >>- Beach Access Software >>Sent: Friday, June 24, 2005 1:14 PM >>To: Access Developers discussion and problem solving >>Subject: Re: [AccessD] Turn Off Help Box in Access 2003 >> >>MinMax Buttons None. Close button no. What's this No. Everything >>disappears but the help box. And in the mde, the DoCmd.Maximize doesn't >>work. So the form doesn't open maximized. But it works for you. I >>wonder what's going on. I'm pretty sure the form isn't corrupted. >> >>Rocky >> >>----- Original Message ----- >>From: "MartyConnelly" >>To: "Access Developers discussion and problem solving" >> >>Sent: Thursday, June 23, 2005 7:26 PM >>Subject: Re: [AccessD] Turn Off Help Box in Access 2003 >> >> >> >>>Works for me in Access 2003 >>>Min Max Buttons No >>>Whats this button No >>>As a matter of fact on a basic virgin form it will squawk to you that >>> >>it >>>will not let you turn ON the >>>the Whats This Button to Yes unless MinMax is set to None. >>> >>>Maybe a corrupted form or you have turned on an odd >>> >>Application.SetOption >> >>> >>> >>>Rocky Smolin - Beach Access Software wrote: >>> >>> >>>>Marty: >>>> >>>>Didn't work. The help box ( which is a new feature in A2K3) still >>>> >>shows. >> >>>>Rocky >>>> >>>>----- Original Message ----- From: "MartyConnelly" >>>> >>>>To: "Access Developers discussion and problem solving" >>>> >>>>Sent: Thursday, June 23, 2005 11:14 AM >>>>Subject: Re: [AccessD] Turn Off Help Box in Access 2003 >>>> >>>> >>>> >>>>>What's This? This property of the form can only be turned on by >>>>> >>default >>>>>to Yes when MinMax property set to No >>>>>So just set Form property What's This to No. >>>>> >>>>>Rocky Smolin - Beach Access Software wrote: >>>>> >>>>> >>>>>>Dear List: >>>>>>In access 2003 up in the right corner by the maximize, minimize and >>>>>> >> >> >>>>>>close buttons there's a help box. Does anyone know the syntax for >>>>>>turning this thing off through code? >>>>>> >>>>>>MTIA >>>>>> >>>>>>Rocky Smolin >>>>>>Beach Access Software >>>>>>http://www.e-z-mrp.com >>>>>>858-259-4334 >>>>>> >>>>>> >>>>>-- >>>>>Marty Connelly >>>>>Victoria, B.C. >>>>>Canada >>>>> >>>>> >>>>> >>>>>-- >>>>>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 >>> >>> >> >> > > -- > 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 bchacc at san.rr.com Fri Jun 24 13:35:53 2005 From: bchacc at san.rr.com (Rocky Smolin - Beach Access Software) Date: Fri, 24 Jun 2005 11:35:53 -0700 Subject: [AccessD] Turn Off Help Box in Access 2003 References: <2FDE83AF1A69C84796CBD13788DDA88349ACDE@BONHAM.AD.UWS.EDU.AU> <42BBADF2.5080706@shaw.ca> <01b701c578e9$6ad2cc40$6701a8c0@HAL9004> Message-ID: <020e01c578eb$8d97f140$6701a8c0@HAL9004> Marty: What I meant was I also found this: http://www.annoyances.org/exec/show/article08-101 and finally figured out how to follow their directions. Rocky ----- Original Message ----- From: "Rocky Smolin - Beach Access Software" To: "Access Developers discussion and problem solving" Sent: Friday, June 24, 2005 11:20 AM Subject: Re: [AccessD] Turn Off Help Box in Access 2003 > Marty: > > Thanks. I also found this and it worked. I turned it off through the > Customize. I have to take the mde to another machine and see if the > setting follows it - if it's for the app or the installation of Office. > But your code is exactly what I was looking for. > > Rocky > > ----- Original Message ----- > From: "MartyConnelly" > To: "Access Developers discussion and problem solving" > > Sent: Thursday, June 23, 2005 11:53 PM > Subject: Re: [AccessD] Turn Off Help Box in Access 2003 > > >> Ah that Thingy Dingy! I thought it was the ? next to the max minimize >> icons on a form >> not the Access menu command bar. >> This will toggle it in code, found name in object browser then looked it >> up in help. >> >> Sub ToggleAskQuestionDropdown() >> With Application.CommandBars >> If .DisableAskAQuestionDropdown = True Then >> .DisableAskAQuestionDropdown = False >> Debug.Print "ask question turned on" >> Else >> .DisableAskAQuestionDropdown = True >> Debug.Print "ask question turned Off" >> End If >> End With >> End Sub >> >> Darren Dick wrote: >> >>>Are you Guys talking about the same thing? >>>Marty seems to be talking about the What's this Button >>>Rocky is referring to the Small Search Field Just to the top right of >>>any open screen (A Unique 2003 Feature) >>>That's near the Close|Min/Max|Restore Buttons >>> >>>DD >>> >>>-----Original Message----- >>>From: accessd-bounces at databaseadvisors.com >>>[mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Rocky Smolin >>>- Beach Access Software >>>Sent: Friday, June 24, 2005 1:14 PM >>>To: Access Developers discussion and problem solving >>>Subject: Re: [AccessD] Turn Off Help Box in Access 2003 >>> >>>MinMax Buttons None. Close button no. What's this No. Everything >>>disappears but the help box. And in the mde, the DoCmd.Maximize doesn't >>>work. So the form doesn't open maximized. But it works for you. I >>>wonder what's going on. I'm pretty sure the form isn't corrupted. >>> >>>Rocky >>> >>>----- Original Message ----- >>>From: "MartyConnelly" >>>To: "Access Developers discussion and problem solving" >>> >>>Sent: Thursday, June 23, 2005 7:26 PM >>>Subject: Re: [AccessD] Turn Off Help Box in Access 2003 >>> >>> >>> >>>>Works for me in Access 2003 >>>>Min Max Buttons No >>>>Whats this button No >>>>As a matter of fact on a basic virgin form it will squawk to you that >>>> >>>it >>>>will not let you turn ON the >>>>the Whats This Button to Yes unless MinMax is set to None. >>>> >>>>Maybe a corrupted form or you have turned on an odd >>>> >>>Application.SetOption >>> >>>> >>>> >>>>Rocky Smolin - Beach Access Software wrote: >>>> >>>> >>>>>Marty: >>>>> >>>>>Didn't work. The help box ( which is a new feature in A2K3) still >>>>> >>>shows. >>> >>>>>Rocky >>>>> >>>>>----- Original Message ----- From: "MartyConnelly" >>>>> >>>>>To: "Access Developers discussion and problem solving" >>>>> >>>>>Sent: Thursday, June 23, 2005 11:14 AM >>>>>Subject: Re: [AccessD] Turn Off Help Box in Access 2003 >>>>> >>>>> >>>>> >>>>>>What's This? This property of the form can only be turned on by >>>>>> >>>default >>>>>>to Yes when MinMax property set to No >>>>>>So just set Form property What's This to No. >>>>>> >>>>>>Rocky Smolin - Beach Access Software wrote: >>>>>> >>>>>> >>>>>>>Dear List: >>>>>>>In access 2003 up in the right corner by the maximize, minimize and >>>>>>> >>> >>> >>>>>>>close buttons there's a help box. Does anyone know the syntax for >>>>>>>turning this thing off through code? >>>>>>> >>>>>>>MTIA >>>>>>> >>>>>>>Rocky Smolin >>>>>>>Beach Access Software >>>>>>>http://www.e-z-mrp.com >>>>>>>858-259-4334 >>>>>>> >>>>>>> >>>>>>-- >>>>>>Marty Connelly >>>>>>Victoria, B.C. >>>>>>Canada >>>>>> >>>>>> >>>>>> >>>>>>-- >>>>>>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 >>>> >>>> >>> >>> >> >> -- >> 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 jmhecht at earthlink.net Fri Jun 24 23:17:17 2005 From: jmhecht at earthlink.net (Joe Hecht) Date: Fri, 24 Jun 2005 21:17:17 -0700 Subject: [AccessD] Import from FoxPro In-Reply-To: <66ABA669023AE74B97746FD8E684392010175C@c2k3exchange.pgdp.corp.usec.com> Message-ID: <000201c5793c$c6381510$6401a8c0@laptop1> I have had to through Excel sometimes for FP Tables. Check your properties after importing to Access Joe Hecht Los Angeles CA -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Hollis,Virginia Sent: Friday, June 24, 2005 4:40 AM To: accessD at databaseadvisors.com Subject: [AccessD] Import from FoxPro Ok, what is the secret to importing from FoxPro to Access 2003? It is not in the list of types anymore. I looked through the KB articles but still have problems. I pulled the tables up in Visual FoxPro, saved them out as dBase IV files, and then tried to import them into Access 2003. I got the message: "Unexpected Error from External Database Driver (8961)" I was able to create an ODBC datasource based on a FoxPro driver that was already on my computer. I tried to import the tables, and it looked like it was going to do it, but then I got an error, "Decimal field precision too small... I'm running out of ideas. Virginia -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From ralphb at cwgsy.net Sat Jun 25 01:27:02 2005 From: ralphb at cwgsy.net (Ralph Bryce) Date: Sat, 25 Jun 2005 07:27:02 +0100 Subject: [AccessD] Import from FoxPro In-Reply-To: <66ABA669023AE74B97746FD8E684392010175C@c2k3exchange.pgdp.c orp.usec.com> Message-ID: <5.1.0.14.0.20050625072058.044a3eb0@mail.cwgsy.net> Virginia Have you looked at these articles? http://office.microsoft.com/en-us/assistance/HA010546701033.aspx http://support.microsoft.com/?kbid=197893 Ralph Bryce At 06:40 24/06/2005 -0500, you wrote: >Ok, what is the secret to importing from FoxPro to Access 2003? It is >not in the list of types anymore. I looked through the KB articles but >still have problems. :: :: >Virginia From artful at rogers.com Sat Jun 25 11:27:31 2005 From: artful at rogers.com (Arthur Fuller) Date: Sat, 25 Jun 2005 12:27:31 -0400 Subject: [AccessD] Error in Access 2003 that I've never seen before In-Reply-To: <020e01c578eb$8d97f140$6701a8c0@HAL9004> Message-ID: <200506251627.j5PGRYR09998@databaseadvisors.com> Perhaps I've just been lucky, but I have never seen this error before. I'm trying to delete a bad record in a data table, and I get the message "The search key was not found in any record." I clicked Help and it told me "Error 3709 -- The error occurs when an ISAM Seek is being executed and there are no matching values in the index." The value in question was in an autonumber column that was the PK of the table. I tried a bunch of different things such as removing the PK and all indexes but none of them worked. Finally I Saved As to a new table name (without the indexes) and in the new table I was able to delete the bad record. So I removed all the relationships to the bad table, renamed it, and renamed the copy to the original name. Finally I reimposed all the relationships, and now everything works properly again. Since I am up and running again, I am fine I suppose. But I am most puzzled as to why this error occurred in the first place. Anyone got any ideas on this? Arthur From accessd at shaw.ca Sat Jun 25 13:06:34 2005 From: accessd at shaw.ca (Jim Lawrence) Date: Sat, 25 Jun 2005 11:06:34 -0700 Subject: [AccessD] Error in Access 2003 that I've never seen before In-Reply-To: <200506251627.j5PGRYR09998@databaseadvisors.com> Message-ID: <0IIN0056RJMUMZ@l-daemon> Hi Arthur: It could be that the record you are trying to delete is not being referenced properly; either the field named used is not correct or the table is corrupted. It would be caused if the table index did not matching the table data. I have only seen it once and I resolved it by exporting all the data into a new table, deleting the old and then renaming the new table. Using that method excluded a coding or table structure error. Conclusion; Either the data or index was corrupted. HTH Jim -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Arthur Fuller Sent: Saturday, June 25, 2005 9:28 AM To: 'Access Developers discussion and problem solving' Subject: [AccessD] Error in Access 2003 that I've never seen before Perhaps I've just been lucky, but I have never seen this error before. I'm trying to delete a bad record in a data table, and I get the message "The search key was not found in any record." I clicked Help and it told me "Error 3709 -- The error occurs when an ISAM Seek is being executed and there are no matching values in the index." The value in question was in an autonumber column that was the PK of the table. I tried a bunch of different things such as removing the PK and all indexes but none of them worked. Finally I Saved As to a new table name (without the indexes) and in the new table I was able to delete the bad record. So I removed all the relationships to the bad table, renamed it, and renamed the copy to the original name. Finally I reimposed all the relationships, and now everything works properly again. Since I am up and running again, I am fine I suppose. But I am most puzzled as to why this error occurred in the first place. Anyone got any ideas on this? Arthur -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From artful at rogers.com Sat Jun 25 16:38:31 2005 From: artful at rogers.com (Arthur Fuller) Date: Sat, 25 Jun 2005 17:38:31 -0400 Subject: [AccessD] Error in Access 2003 that I've never seen before In-Reply-To: <0IIN0056RJMUMZ@l-daemon> Message-ID: <200506252138.j5PLcUR16468@databaseadvisors.com> I tend to agree, but two puzzles remain (purely in an academic sense -- I don't play to lose sleep over them). 1. The data can't be corrupted since the "bad record" copied intact to the Saved As table. 2. With all the indexes removed, why was it doing an ISAM Seek? One would have thought that in the absence of indexes, it would be forced to do a table scan. Perhaps that just reveals how little I understand ISAM tables. LOL. Arthur -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Jim Lawrence Sent: June 25, 2005 2:07 PM To: 'Access Developers discussion and problem solving' Subject: RE: [AccessD] Error in Access 2003 that I've never seen before Hi Arthur: It could be that the record you are trying to delete is not being referenced properly; either the field named used is not correct or the table is corrupted. It would be caused if the table index did not matching the table data. I have only seen it once and I resolved it by exporting all the data into a new table, deleting the old and then renaming the new table. Using that method excluded a coding or table structure error. Conclusion; Either the data or index was corrupted. HTH Jim From jwcolby at colbyconsulting.com Sat Jun 25 16:49:14 2005 From: jwcolby at colbyconsulting.com (John W. Colby) Date: Sat, 25 Jun 2005 17:49:14 -0400 Subject: [AccessD] Error in Access 2003 that I've never seen before In-Reply-To: <200506252138.j5PLcUR16468@databaseadvisors.com> Message-ID: <000801c579cf$ba680ea0$6c7aa8c0@ColbyM6805> If this is an Access container you are discussing, any field used in a relationship has an index created on that field by the Jet engine as the relationship is created. This index is hidden. It simply cannot be seen in any way that I am aware of. Thus if you are discussing a field like this, there is likely that hidden index still in existence. John W. Colby www.ColbyConsulting.com Contribute your unused CPU cycles to 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, June 25, 2005 5:39 PM To: 'Access Developers discussion and problem solving' Subject: RE: [AccessD] Error in Access 2003 that I've never seen before I tend to agree, but two puzzles remain (purely in an academic sense -- I don't play to lose sleep over them). 1. The data can't be corrupted since the "bad record" copied intact to the Saved As table. 2. With all the indexes removed, why was it doing an ISAM Seek? One would have thought that in the absence of indexes, it would be forced to do a table scan. Perhaps that just reveals how little I understand ISAM tables. LOL. Arthur -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Jim Lawrence Sent: June 25, 2005 2:07 PM To: 'Access Developers discussion and problem solving' Subject: RE: [AccessD] Error in Access 2003 that I've never seen before Hi Arthur: It could be that the record you are trying to delete is not being referenced properly; either the field named used is not correct or the table is corrupted. It would be caused if the table index did not matching the table data. I have only seen it once and I resolved it by exporting all the data into a new table, deleting the old and then renaming the new table. Using that method excluded a coding or table structure error. Conclusion; Either the data or index was corrupted. HTH Jim -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From accessd at shaw.ca Sat Jun 25 19:08:56 2005 From: accessd at shaw.ca (Jim Lawrence) Date: Sat, 25 Jun 2005 17:08:56 -0700 Subject: [AccessD] Error in Access 2003 that I've never seen before In-Reply-To: <000801c579cf$ba680ea0$6c7aa8c0@ColbyM6805> Message-ID: <0IIO0030P0ESXW@l-daemon> Hi John: Yes, I could not have said it better as that is the obvious reason. Jim -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of John W. Colby Sent: Saturday, June 25, 2005 2:49 PM To: 'Access Developers discussion and problem solving' Subject: RE: [AccessD] Error in Access 2003 that I've never seen before If this is an Access container you are discussing, any field used in a relationship has an index created on that field by the Jet engine as the relationship is created. This index is hidden. It simply cannot be seen in any way that I am aware of. Thus if you are discussing a field like this, there is likely that hidden index still in existence. John W. Colby www.ColbyConsulting.com Contribute your unused CPU cycles to 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, June 25, 2005 5:39 PM To: 'Access Developers discussion and problem solving' Subject: RE: [AccessD] Error in Access 2003 that I've never seen before I tend to agree, but two puzzles remain (purely in an academic sense -- I don't play to lose sleep over them). 1. The data can't be corrupted since the "bad record" copied intact to the Saved As table. 2. With all the indexes removed, why was it doing an ISAM Seek? One would have thought that in the absence of indexes, it would be forced to do a table scan. Perhaps that just reveals how little I understand ISAM tables. LOL. Arthur -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Jim Lawrence Sent: June 25, 2005 2:07 PM To: 'Access Developers discussion and problem solving' Subject: RE: [AccessD] Error in Access 2003 that I've never seen before Hi Arthur: It could be that the record you are trying to delete is not being referenced properly; either the field named used is not correct or the table is corrupted. It would be caused if the table index did not matching the table data. I have only seen it once and I resolved it by exporting all the data into a new table, deleting the old and then renaming the new table. Using that method excluded a coding or table structure error. Conclusion; Either the data or index was corrupted. HTH Jim -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From jwcolby at colbyconsulting.com Sat Jun 25 19:34:13 2005 From: jwcolby at colbyconsulting.com (John W. Colby) Date: Sat, 25 Jun 2005 20:34:13 -0400 Subject: [AccessD] Drilling down with ADO Message-ID: <000901c579e6$c6e71880$6c7aa8c0@ColbyM6805> One of the things that has always fascinated me is the concept (never actually implemented) of using DAO to "drill down" into a bound control to discover what field and table the object is bound to, and after that "drilling down" into that field in the table to discover what datatype the control is displaying. For example, a control could be bound to a field whose datatype is date. You could have a rule that "all dates should be displayed in YYYMMDD format", but in the future the powers that be could decide that they wanted DDMMYYYY. If you have ever designed a large system, or worse inherited one, you can probably relate to trying to find all such controls in a large system and changing the format from whatever the developer applied (or didn't apply) to a standard format. Some controls may have a format in the format property, others may depend on format strings applied to the field at the database level. Others may have no specific format, relying on the windows default. I believe that it is possible to perform this function with DAO but is it possible with ADO? To my knowledge only ADO can access properties of objects stored in a database container (a form or control). As for fields in tables, I know that DAO can do so, I have no idea whether ADO could return the data type of a field in a table. Is this possible? John W. Colby www.ColbyConsulting.com Contribute your unused CPU cycles to a good cause: http://folding.stanford.edu/ From dejpolsys at hotmail.com Sat Jun 25 20:50:24 2005 From: dejpolsys at hotmail.com (William Hindman) Date: Sat, 25 Jun 2005 21:50:24 -0400 Subject: [AccessD] Error in Access 2003 that I've never seen before References: <0IIO0030P0ESXW@l-daemon> Message-ID: ..would a decompile redo those indexes? ...I'm seeing what I consider as an unusually high number of errors in xp to 2003 conversions on a number of mdbs. William ----- Original Message ----- From: "Jim Lawrence" To: "'Access Developers discussion and problem solving'" Sent: Saturday, June 25, 2005 8:08 PM Subject: RE: [AccessD] Error in Access 2003 that I've never seen before > Hi John: > > Yes, I could not have said it better as that is the obvious reason. > > Jim > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of John W. Colby > Sent: Saturday, June 25, 2005 2:49 PM > To: 'Access Developers discussion and problem solving' > Subject: RE: [AccessD] Error in Access 2003 that I've never seen before > > If this is an Access container you are discussing, any field used in a > relationship has an index created on that field by the Jet engine as the > relationship is created. This index is hidden. It simply cannot be seen > in > any way that I am aware of. Thus if you are discussing a field like this, > there is likely that hidden index still in existence. > > John W. Colby > www.ColbyConsulting.com > > Contribute your unused CPU cycles to 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, June 25, 2005 5:39 PM > To: 'Access Developers discussion and problem solving' > Subject: RE: [AccessD] Error in Access 2003 that I've never seen before > > > I tend to agree, but two puzzles remain (purely in an academic sense -- I > don't play to lose sleep over them). > > 1. The data can't be corrupted since the "bad record" copied intact to the > Saved As table. > > 2. With all the indexes removed, why was it doing an ISAM Seek? One would > have thought that in the absence of indexes, it would be forced to do a > table scan. Perhaps that just reveals how little I understand ISAM tables. > LOL. > > Arthur > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Jim Lawrence > Sent: June 25, 2005 2:07 PM > To: 'Access Developers discussion and problem solving' > Subject: RE: [AccessD] Error in Access 2003 that I've never seen before > > Hi Arthur: > > It could be that the record you are trying to delete is not being > referenced > properly; either the field named used is not correct or the table is > corrupted. It would be caused if the table index did not matching the > table > data. I have only seen it once and I resolved it by exporting all the data > into a new table, deleting the old and then renaming the new table. Using > that method excluded a coding or table structure error. Conclusion; Either > the data or index was corrupted. > > HTH > Jim > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > > > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > From jwcolby at colbyconsulting.com Sat Jun 25 20:55:41 2005 From: jwcolby at colbyconsulting.com (John W. Colby) Date: Sat, 25 Jun 2005 21:55:41 -0400 Subject: [AccessD] Error in Access 2003 that I've never seen before In-Reply-To: Message-ID: <000a01c579f2$288b9510$6c7aa8c0@ColbyM6805> I doubt it seriously. Decompile throws out the pcode streams built up from compiling code and thus flushes the container of any "compiled or partially compiled" code which will force a compile to start from scratch the next time one is issued. Indexes have nothing to do with code streams. John W. Colby www.ColbyConsulting.com Contribute your unused CPU cycles to 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: Saturday, June 25, 2005 9:50 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Error in Access 2003 that I've never seen before ..would a decompile redo those indexes? ...I'm seeing what I consider as an unusually high number of errors in xp to 2003 conversions on a number of mdbs. William ----- Original Message ----- From: "Jim Lawrence" To: "'Access Developers discussion and problem solving'" Sent: Saturday, June 25, 2005 8:08 PM Subject: RE: [AccessD] Error in Access 2003 that I've never seen before > Hi John: > > Yes, I could not have said it better as that is the obvious reason. > > Jim > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of John W. > Colby > Sent: Saturday, June 25, 2005 2:49 PM > To: 'Access Developers discussion and problem solving' > Subject: RE: [AccessD] Error in Access 2003 that I've never seen before > > If this is an Access container you are discussing, any field used in a > relationship has an index created on that field by the Jet engine as > the relationship is created. This index is hidden. It simply cannot > be seen in any way that I am aware of. Thus if you are discussing a > field like this, there is likely that hidden index still in existence. > > John W. Colby > www.ColbyConsulting.com > > Contribute your unused CPU cycles to 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, June 25, 2005 5:39 PM > To: 'Access Developers discussion and problem solving' > Subject: RE: [AccessD] Error in Access 2003 that I've never seen before > > > I tend to agree, but two puzzles remain (purely in an academic sense > -- I don't play to lose sleep over them). > > 1. The data can't be corrupted since the "bad record" copied intact to > the Saved As table. > > 2. With all the indexes removed, why was it doing an ISAM Seek? One > would have thought that in the absence of indexes, it would be forced > to do a table scan. Perhaps that just reveals how little I understand > ISAM tables. LOL. > > Arthur > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Jim > Lawrence > Sent: June 25, 2005 2:07 PM > To: 'Access Developers discussion and problem solving' > Subject: RE: [AccessD] Error in Access 2003 that I've never seen before > > Hi Arthur: > > It could be that the record you are trying to delete is not being > referenced > properly; either the field named used is not correct or the table is > corrupted. It would be caused if the table index did not matching the > table > data. I have only seen it once and I resolved it by exporting all the data > into a new table, deleting the old and then renaming the new table. Using > that method excluded a coding or table structure error. Conclusion; Either > the data or index was corrupted. > > HTH > Jim > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > > > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From jwcolby at colbyconsulting.com Sat Jun 25 21:01:05 2005 From: jwcolby at colbyconsulting.com (John W. Colby) Date: Sat, 25 Jun 2005 22:01:05 -0400 Subject: [AccessD] DropMyRights Message-ID: <000b01c579f2$e9a55420$6c7aa8c0@ColbyM6805> Very interesting tool out there for running anything that interfaces with the internet under reduced rights so that malicious code doesn't have administrator rights. http://nonadmin.editme.com/DropMyRights 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 Sat Jun 25 22:43:10 2005 From: stuart at lexacorp.com.pg (Stuart McLachlan) Date: Sun, 26 Jun 2005 13:43:10 +1000 Subject: [AccessD] Drilling down with ADO In-Reply-To: <000901c579e6$c6e71880$6c7aa8c0@ColbyM6805> Message-ID: <42BEB0EE.17070.E6E73B9@stuart.lexacorp.com.pg> On 25 Jun 2005 at 20:34, John W. Colby wrote: > objects stored in a database container (a form or control). As for fields > in tables, I know that DAO can do so, I have no idea whether ADO could > return the data type of a field in a table. Is this possible? > Function ListFieldTypes() Dim cnn As ADODB.Connection Dim rst As New ADODB.Recordset Dim lngLoopcount As Long Set cnn = CurrentProject.Connection rst.ActiveConnection = cnn rst.Open Source:="tbltest", ActiveConnection:=cnn For lngLoopcount = 0 To rst.Fields.Count - 1 Debug.Print rst.Fields(lngLoopcount).Type Next End Function Type returns a constant defined in ADODB.DataTypeEnum ' ADODB.DataTypeEnum Const adBigInt = 20 Const adBinary = 128 Const adBoolean = 11 Const adBSTR = 8 Const adChapter = 136 Const adChar = 129 Const adCurrency = 6 Const adDate = 7 Const adDBDate = 133 Const adDBFileTime = 137 Const adDBTime = 134 Const adDBTimeStamp = 135 Const adDecimal = 14 Const adDouble = 5 Const adEmpty = 0 Const adError = 10 Const adFileTime = 64 Const adGUID = 72 Const adIDispatch = 9 Const adInteger = 3 Const adIUnknown = 13 Const adLongVarBinary = 205 Const adLongVarChar = 201 Const adLongVarWChar = 203 Const adNumeric = 131 Const adPropVariant = 138 Const adSingle = 4 Const adSmallInt = 2 Const adTinyInt = 16 Const adUnsignedBigInt = 21 Const adUnsignedInt = 19 Const adUnsignedSmallInt = 18 Const adUnsignedTinyInt = 17 Const adUserDefined = 132 Const adVarBinary = 204 Const adVarChar = 200 Const adVariant = 12 Const adVarNumeric = 139 Const adVarWChar = 202 Const adWChar = 130 -- Stuart From Gustav at cactus.dk Sun Jun 26 03:32:26 2005 From: Gustav at cactus.dk (Gustav Brock) Date: Sun, 26 Jun 2005 10:32:26 +0200 Subject: [AccessD] Relationship and hidden index (was: Error in Access 2003 that I've never seen before) Message-ID: Hi John >>> jwcolby at colbyconsulting.com 06/25 11:49 pm >>> If this is an Access container you are discussing, any field used in a relationship has an index created on that field by the Jet engine as the relationship is created. This index is hidden. It simply cannot be seen in any way that I am aware of. Thus if you are discussing a field like this, there is likely that hidden index still in existence. --- If not seen, they can be listed. Here's an old posting of mine: From: Gustav Brock To: AccessD at databaseadvisors.com Date: 2001-09-04 11:40:00 Subject: Re: [AccessD] indexes in keys Hi Susan and Mike > I'm a little confused about indexes where keys are concerned. Jet > indexes keys -- primary and foreign. When does it index a foreign key > and is this an internal function as there's no evidence in the table's > Indexed property. I'm assuming it's a temporary index, created as > needed. Is this correct? No, the index is not temporary. I hate to quote myself but this time it is necessary. Way back - on the old MT Group list - I posted the message below. The problem is that, although the article referred to can still be found on the MS site, it has been edited down and all the notes (the real stuff) are gone. The article has moved, and now is found at: http://support.microsoft.com/support/kb/articles/Q116/1/45.asp The issue is, as Mike states, the hidden indexes. If you move along as the disciplined developer doing as you have learned, creating indexes then relations, you end up with duplicate indexes. >From an advanced user's view this may be a nice feature with automatically created indexes when needed, but why hide these? Stupid. Anyway, here's the quote from 1999-09-04, exactly two years ago: Hi Larry, > .. take a look at MSKB article Q116145 "Create and Drop Tables > and Relationships Using SQL DDL" http://technet.microsoft.com/cdonline/default-f.asp?target=http://technet.microsoft.com/cdonline/content/complete/srvnetwk/SQL/Technote/msjet/jetch03.htm I did that, but I don't think this is what John is looking for: Setting a referential integrity foreign key constraint is the only form of relationship that can be established through SQL DDL. To set other Relation object types, such as cascading updates or cascading deletes, you must create the Relation object through DAO. Further, the article states as we might suspect: There is no way to modify an existing relationship. You must delete the relationship and then re-create it. NB: Finally it states this very interesting detail which I wasn't aware of: In the SQL DDL example shown earlier in this chapter, creating a new relationship between two tables involves creating an index on the foreign key field. When you create a new Relation object by using DAO, Microsoft Jet automatically creates an index on the foreign key field or fields, even if one already exists. If you create a relationship between two tables with referential integrity enforced, avoid creating an index on the foreign key, as it will be a duplicate index. The foreign key index is necessary for enforcing referential integrity, so don't delete it. The index that's created on the foreign key when you create a relationship appears in the Indexes collection of the foreign table. I can confirm this! This simple function (no copyright stated) created for the purpose: Public Function ChkIndexes() Dim dbs As Database Dim tdf As TableDef Dim intI As Integer Dim intF As Integer Set dbs = CurrentDb() Set tdf = dbs.TableDefs("tblchild") For intI = 1 To tdf.Indexes.Count With tdf.Indexes(intI - 1) Debug.Print .Name For intF = 1 To .Fields.Count Debug.Print , .Fields(intF - 1).Name Next intF End With Next intI End Function - returns: PrimaryKey ID Sekunda FK tblParenttblChild FK Creating a relationship creates an index given a name from concatenating the names of the parent and the child table. However, this - the third index here, tblParenttblChild - is not showing up when opening the table in design view! So: How many of us are dealing with hidden duplicate indexes?? /gustav From jwcolby at colbyconsulting.com Sun Jun 26 08:07:24 2005 From: jwcolby at colbyconsulting.com (John W. Colby) Date: Sun, 26 Jun 2005 09:07:24 -0400 Subject: [AccessD] Relationship and hidden index (was: Error in Access 2003that I've never seen before) In-Reply-To: Message-ID: <000201c57a50$02b8b940$6c7aa8c0@ColbyM6805> I figured that there was a way to see indexes via DAO since it can see anything in the db, it's just not "visual". Anyway, thanks for the code and here it is again (up at the top of the email ;), slightly modified to pass in a tablename: Public Function ChkIndexes(strTblName As String) Dim dbs As Database Dim tdf As TableDef Dim intI As Integer Dim intF As Integer Set dbs = CurrentDb() Set tdf = dbs.TableDefs(strTblName) For intI = 1 To tdf.Indexes.Count With tdf.Indexes(intI - 1) Debug.Print .Name For intF = 1 To .Fields.Count Debug.Print , .Fields(intF - 1).Name Next intF End With Next intI 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 Gustav Brock Sent: Sunday, June 26, 2005 4:32 AM To: accessd at databaseadvisors.com Subject: [AccessD] Relationship and hidden index (was: Error in Access 2003that I've never seen before) Hi John >>> jwcolby at colbyconsulting.com 06/25 11:49 pm >>> If this is an Access container you are discussing, any field used in a relationship has an index created on that field by the Jet engine as the relationship is created. This index is hidden. It simply cannot be seen in any way that I am aware of. Thus if you are discussing a field like this, there is likely that hidden index still in existence. --- If not seen, they can be listed. Here's an old posting of mine: From ssharkins at bellsouth.net Sun Jun 26 09:27:00 2005 From: ssharkins at bellsouth.net (Susan Harkins) Date: Sun, 26 Jun 2005 10:27:00 -0400 Subject: [AccessD] Good Code Bad Code Question In-Reply-To: Message-ID: <20050626142931.RNTM5167.ibm59aec.bellsouth.net@SUSANONE> Charlotte, renaming a database is supposed to force a decompile. When you open, run Compile from the Debug window. It might be an easier shortcut for some -- especially for those with really huge systems and path names that include all kinds of weird convention names and stuff. I know I've always used it -- rather than the command line switch. I'm having trouble with 2003 and 2002 -- just nothing's working all the sudden. I ran an Office Repair, but they're both still wacky. I'm going to have to reinstall -- can't see any way out of it. But, on a lark this morning, I tried a decompile using the rename trick on one of the mdb's that's showing distress and I noticed that once it recompiled, the Compile option on the Debug menu displayed the OLD name, not the new one -- weird huh? So, I'm wondering if the rename decompile trick really works as good as it's supposed to? Or, this could just be more of my exe's wackiness. Anybody but me ever experienced this? Susan H. Joe, To decompile, use a command line argument in opening the database. That means you have to fully reference the path of the Access executable and the full path of the target database or the /decompile switch will be ignored. After you open the Access database that way, close the Access session, then reopen the database normally without the decompile switch, go to the VBE and use Debug-->Compile... To recompile the app. This clears out some crud that may otherwise cause you grief. From jwcolby at colbyconsulting.com Sun Jun 26 09:39:34 2005 From: jwcolby at colbyconsulting.com (John W. Colby) Date: Sun, 26 Jun 2005 10:39:34 -0400 Subject: [AccessD] Good Code Bad Code Question In-Reply-To: <20050626142931.RNTM5167.ibm59aec.bellsouth.net@SUSANONE> Message-ID: <000301c57a5c$e3c7cff0$6c7aa8c0@ColbyM6805> Set up a shortcut with the /decompile Open Access with the decompile switch using that shortcut. Once Access opens, use the File/Open to open the database you wish to decompile John W. Colby www.ColbyConsulting.com Contribute your unused CPU cycles to 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: Sunday, June 26, 2005 10:27 AM To: 'Access Developers discussion and problem solving' Subject: RE: [AccessD] Good Code Bad Code Question Charlotte, renaming a database is supposed to force a decompile. When you open, run Compile from the Debug window. It might be an easier shortcut for some -- especially for those with really huge systems and path names that include all kinds of weird convention names and stuff. I know I've always used it -- rather than the command line switch. I'm having trouble with 2003 and 2002 -- just nothing's working all the sudden. I ran an Office Repair, but they're both still wacky. I'm going to have to reinstall -- can't see any way out of it. But, on a lark this morning, I tried a decompile using the rename trick on one of the mdb's that's showing distress and I noticed that once it recompiled, the Compile option on the Debug menu displayed the OLD name, not the new one -- weird huh? So, I'm wondering if the rename decompile trick really works as good as it's supposed to? Or, this could just be more of my exe's wackiness. Anybody but me ever experienced this? Susan H. Joe, To decompile, use a command line argument in opening the database. That means you have to fully reference the path of the Access executable and the full path of the target database or the /decompile switch will be ignored. After you open the Access database that way, close the Access session, then reopen the database normally without the decompile switch, go to the VBE and use Debug-->Compile... To recompile the app. This clears out some crud that may otherwise cause you grief. -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From jwcolby at colbyconsulting.com Sun Jun 26 09:44:07 2005 From: jwcolby at colbyconsulting.com (John W. Colby) Date: Sun, 26 Jun 2005 10:44:07 -0400 Subject: [AccessD] Good Code Bad Code Question In-Reply-To: <20050626142931.RNTM5167.ibm59aec.bellsouth.net@SUSANONE> Message-ID: <000401c57a5d$84a37820$6c7aa8c0@ColbyM6805> Susan, The name displayed on the top blue bar comes from several different places, depending... 1) The name of the database container 2) Tools/Startup/Application Title 3) In the VBA Editor (looking at code) - Tools / Properties / General / Project Name John W. Colby www.ColbyConsulting.com Contribute your unused CPU cycles to 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: Sunday, June 26, 2005 10:27 AM To: 'Access Developers discussion and problem solving' Subject: RE: [AccessD] Good Code Bad Code Question Charlotte, renaming a database is supposed to force a decompile. When you open, run Compile from the Debug window. It might be an easier shortcut for some -- especially for those with really huge systems and path names that include all kinds of weird convention names and stuff. I know I've always used it -- rather than the command line switch. I'm having trouble with 2003 and 2002 -- just nothing's working all the sudden. I ran an Office Repair, but they're both still wacky. I'm going to have to reinstall -- can't see any way out of it. But, on a lark this morning, I tried a decompile using the rename trick on one of the mdb's that's showing distress and I noticed that once it recompiled, the Compile option on the Debug menu displayed the OLD name, not the new one -- weird huh? So, I'm wondering if the rename decompile trick really works as good as it's supposed to? Or, this could just be more of my exe's wackiness. Anybody but me ever experienced this? Susan H. Joe, To decompile, use a command line argument in opening the database. That means you have to fully reference the path of the Access executable and the full path of the target database or the /decompile switch will be ignored. After you open the Access database that way, close the Access session, then reopen the database normally without the decompile switch, go to the VBE and use Debug-->Compile... To recompile the app. This clears out some crud that may otherwise cause you grief. -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From jwcolby at colbyconsulting.com Sun Jun 26 10:07:41 2005 From: jwcolby at colbyconsulting.com (John W. Colby) Date: Sun, 26 Jun 2005 11:07:41 -0400 Subject: [AccessD] Word "insert picture" bug Message-ID: <000501c57a60$cfc3c550$6c7aa8c0@ColbyM6805> I am trying to insert a picture (bmp) into a word document. I have already inserted one and it worked fine. This one only displays as much of the BOTTOM of the picture as can fit on a line of text. The rest of the picture is invisible. If you click on the picture, you can see the "resize handles". You can open the property box and see that it says the size should be 4.33 x 4.65 inches. What is going on here? John W. Colby www.ColbyConsulting.com Contribute your unused CPU cycles to a good cause: http://folding.stanford.edu/ From artful at rogers.com Sun Jun 26 10:23:19 2005 From: artful at rogers.com (Arthur Fuller) Date: Sun, 26 Jun 2005 11:23:19 -0400 Subject: [AccessD] Run External App from within Access In-Reply-To: <000401c57a5d$84a37820$6c7aa8c0@ColbyM6805> Message-ID: <200506261523.j5QFNNR03716@databaseadvisors.com> I'm having a senior moment here today, folks. I cannot remember how to run an external app from within Access. In this case it's a batch file. Followup question.... Is there a way to specify an exit level (i.e. errorlevel) when exiting an Access app? Suppose for example that Access is being invoked from a batch file, and that I want to set an errorlevel of 1 or 0, then take action on this value in the batch file. I.e. MyBatch.cmd: 'run a simple Access app MySimpleApp 'test its exit value If errorlevel = 1 goto One If errorlevel = 0 goto Done :One Rem Do something cool :Done Rem Do nothing at all TIA, Arthur From ssharkins at bellsouth.net Sun Jun 26 10:54:12 2005 From: ssharkins at bellsouth.net (Susan Harkins) Date: Sun, 26 Jun 2005 11:54:12 -0400 Subject: [AccessD] Good Code Bad Code Question In-Reply-To: <000401c57a5d$84a37820$6c7aa8c0@ColbyM6805> Message-ID: <20050626155412.GBHG11957.ibm56aec.bellsouth.net@SUSANONE> 3) In the VBA Editor (looking at code) - Tools / Properties / General / Project Name That was it -- thanks! Susan H. But, on a lark this morning, I tried a decompile using the rename trick on one of the mdb's that's showing distress and I noticed that once it recompiled, the Compile option on the Debug menu displayed the OLD name, not the new one -- weird huh? So, I'm wondering if the rename decompile trick really works as good as it's supposed to? Or, this could just be more of my exe's wackiness. Anybody but me ever experienced this? Susan H. From artful at rogers.com Sun Jun 26 10:56:50 2005 From: artful at rogers.com (Arthur Fuller) Date: Sun, 26 Jun 2005 11:56:50 -0400 Subject: [AccessD] Normalizing issue In-Reply-To: <20050623135959.FMWJ25470.ibm57aec.bellsouth.net@SUSANONE> Message-ID: <200506261556.j5QFurR11298@databaseadvisors.com> Methinks that you are doubly-inviting "trouble" here, Susan! But I love trouble! 1. An increasing number of women (in Canada at least) choose to double-up their surnames in the following fashion (don't know if this is how you derived yours, and no matter): take your "maiden" surname and append to it the name of your spouse. In your case, if applicable, it would imply that your maiden name was Sales and that your spouse's surname was Harkins. 2. An increasing number of hetero married couples in Canada hyphenate their surnames. Which order they choose, and why, I leave to others. 3. My wife's mother, born in Spain, has the surname Castro-Lema and the given name(s) Flora Azucena. This denotes that her father's surname was Castro and her mother's Lema. My wife's name is Samantha Ruskin-Lema, which denotes that her father was named Ruskin and her mother Lema. 4. When we married, Samantha chose to retain her existing surname rather than appending or adopting mine. Which suited me just fine. As I see it, our convention in North America leaves women but two choices -- adopt your father's surname or your husband's -- both inadequate, in my opinion. By preserving her surname, rather than adopting or appending mine, Samantha preserved both sides of her lineage. 5. In this case, the names are hyphenated. In your case, they are not. In the hyphenated case the rule is simple: you sort on the first letter. (Actually it's not so simple, given a name such as de la Vega, which should be sorted under "V" not "D". 6. Let's hear from Shamil or some other lister acquainted with Russian practices. I have read more than a few Russian novels (in translation of course) but so far as I can conclude, if a man's surname is X then his sister's surname is Xa, and conversely. Case in point (c.f. the current Wimbledon tournament): Marat Safin's sister played this year; her surname is Safina. Ok, that ought to constitute a kettle of worms for further cooking! LOL. 7. I notice that you abbreviate your surname(s) to "Harkins" frequently. Given that propensity, I see no harm in regarding "Sales" as a given name, in terms of sort etc. Arthur -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Susan Harkins Sent: June 23, 2005 10:00 AM To: 'Access Developers discussion and problem solving' Subject: [AccessD] Normalizing issue How do you guys deal with people that use three or more names professionally? I do -- Susan Sales Harkins. Do you store the second name with the first or use three fields? The middle name really isn't a "middle" name. It's actually part of the last name, but the last name is the real last name -- so if you stored it with the last name, you'd have to depend on users to enter it correctly, as in Harkins, Sales -- which is a mistake before you even get started... And how do you write in the flexibility that handles 2 or 3 names? Susan H. -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From artful at rogers.com Sun Jun 26 10:59:49 2005 From: artful at rogers.com (Arthur Fuller) Date: Sun, 26 Jun 2005 11:59:49 -0400 Subject: [AccessD] Normalizing issue In-Reply-To: <20050623154231.MOKU25209.ibm63aec.bellsouth.net@SUSANONE> Message-ID: <200506261559.j5QFxqR11636@databaseadvisors.com> The "nuisance" you cite is not much of a nuisance, IMO. Just create a Save button or a Form_After_Update event that copies actual name to pen name in the event of a blank pen name. Then the queries are simple. -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Susan Harkins Sent: June 23, 2005 11:43 AM To: 'Access Developers discussion and problem solving' Subject: RE: [AccessD] Normalizing issue If it isn't a middle or maiden name, what is it? This gets even more tricky with non-English names where "last" names can get really confusing. I generally provide a field for first, middle, and last name and make it the responsibility of the user to enter the appropriate value in the appropriate field. The rules for parsing this can become so draconian, that it hardly seems worth the work to do anything else. ========I'm in the middle of creating a database (pro bono) for a writer's organization. It's a simple deal and will require little work -- but this is already cropping up. These people will want their "writing" names with their publications -- I'm thinking about just adding one more field to store their "pen name" or whatever -- but then that becomes a nuisance if their name and professional name are the same -- gotta fill in both or allow for the blanks and go find the real name -- such a nuisance -- I think at this point the middle name is the best solution -- Susan H. -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From artful at rogers.com Sun Jun 26 11:02:57 2005 From: artful at rogers.com (Arthur Fuller) Date: Sun, 26 Jun 2005 12:02:57 -0400 Subject: [AccessD] Normalizing issue In-Reply-To: Message-ID: <200506261603.j5QG30R12548@databaseadvisors.com> Great catch, Charlotte. Once I sold six articles to a single publication and all appeared in a single issue! The in-house rule was that only two articles by a single author could appear in any given issue, so I had to manufacture two pen names. For one I stuck with my initials (Adrian Fischer) and for the other I borrowed a name from one of my fave novels, Tom Pynchon's V -- Evan Godolphin. LOL! I haven't thought about that for twenty years! Thanks for the memories! Arthur -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Charlotte Foust Sent: June 23, 2005 11:51 AM To: Access Developers discussion and problem solving Subject: RE: [AccessD] Normalizing issue Since it's a writer's database, a separate *table* for pen names makes a lot of sense. Some writers use multiple pen names, so creating a pseudonym table is the safest way to handle that and relate it to the writer's actual name. You could always use the real name as the default when filling in a pen name. Charlotte Foust From ssharkins at bellsouth.net Sun Jun 26 11:04:00 2005 From: ssharkins at bellsouth.net (Susan Harkins) Date: Sun, 26 Jun 2005 12:04:00 -0400 Subject: [AccessD] Normalizing issue In-Reply-To: <200506261556.j5QFurR11298@databaseadvisors.com> Message-ID: <20050626160400.GCZV11957.ibm56aec.bellsouth.net@SUSANONE> 7. I notice that you abbreviate your surname(s) to "Harkins" frequently. Given that propensity, I see no harm in regarding "Sales" as a given name, in terms of sort etc. =============I never intended Sales to be part of my "last name" -- it was just a means of separating me from that other Susan Harkins that was in the technical world at the time. I don't know if she's still out there and at this point. I could probably drop the Sales and not incur any problems. Now, it's just habit. A quick google turns up others -- but none in the technical field that I've ever found. I'll tell you the truth -- it was spooky. Felt like I was living in some alternative universe when I saw her name the first time. :) I made a copy of it and taped it to my office door for a while -- "Ripley's Believe it or Not" kind of thing -- it was too strange. Susan H. From artful at rogers.com Sun Jun 26 11:04:09 2005 From: artful at rogers.com (Arthur Fuller) Date: Sun, 26 Jun 2005 12:04:09 -0400 Subject: [AccessD] Normalizing issue In-Reply-To: <200506231636.j5NGaU81135946@pimout1-ext.prodigy.net> Message-ID: <200506261604.j5QG4CR12705@databaseadvisors.com> I just answered this with regard to Spain. For other cultures I cannot offer the same insight. -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of John Bartow Sent: June 23, 2005 12:37 PM To: 'Access Developers discussion and problem solving' Subject: RE: [AccessD] Normalizing issue Some cultures commonly use hyphenated names which include the maternal and paternal names for offspring. Anyone on the list from such an area? Doesn't Spain have one of those cultures? John B. If it isn't a middle or maiden name, what is it? This gets even more tricky with non-English names where "last" names can get really confusing. -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From ssharkins at bellsouth.net Sun Jun 26 11:07:35 2005 From: ssharkins at bellsouth.net (Susan Harkins) Date: Sun, 26 Jun 2005 12:07:35 -0400 Subject: [AccessD] Normalizing issue In-Reply-To: <200506261603.j5QG30R12548@databaseadvisors.com> Message-ID: <20050626160735.GDRT11957.ibm56aec.bellsouth.net@SUSANONE> It's really very common -- especially for people writing in different venues. For instance, I know people that right "romance" (the steamy kind) novels -- they use pen names. They're not ashamed of their work, but you really don't want little Betsy who loves your children's books finding your hot steamy romance on the racks and thinking it's for her. :) In this case, this is usually more an agent/publisher issue than for the writers. It's the publishers that don't want the confusion, not necessarily the writers. Susan H. Great catch, Charlotte. Once I sold six articles to a single publication and all appeared in a single issue! The in-house rule was that only two articles by a single author could appear in any given issue, so I had to manufacture two pen names. For one I stuck with my initials (Adrian Fischer) and for the other I borrowed a name from one of my fave novels, Tom Pynchon's V -- Evan Godolphin. LOL! I haven't thought about that for twenty years! Thanks for the memories! From ssharkins at bellsouth.net Sun Jun 26 11:08:53 2005 From: ssharkins at bellsouth.net (Susan Harkins) Date: Sun, 26 Jun 2005 12:08:53 -0400 Subject: [AccessD] Normalizing issue In-Reply-To: <20050626160735.GDRT11957.ibm56aec.bellsouth.net@SUSANONE> Message-ID: <20050626160854.GDXL11957.ibm56aec.bellsouth.net@SUSANONE> Oh my gosh... Of course I meant write, not right. Those of you that know me from OT know that I am challenged in this way. :( Susan H. know people that right "romance" (the steamy kind) novels -- they use pen names. They're not From artful at rogers.com Sun Jun 26 11:13:33 2005 From: artful at rogers.com (Arthur Fuller) Date: Sun, 26 Jun 2005 12:13:33 -0400 Subject: [AccessD] Normalizing issue In-Reply-To: <20050623182824.MXAF11273.ibm67aec.bellsouth.net@SUSANONE> Message-ID: <200506261613.j5QGDdR15009@databaseadvisors.com> You ask a couple of smart questions here. I should point out however that some articles at least do go "out of print". For example, my SQL Tips at builder.com go virtually "out of print" rather quickly (i.e. the URL you receive that points to them goes obsolete in a week or three). However, they are changing that so stuff will be retrievable for a long time. Next, you have the issue of multiple authors on a single book or article. You may have to distinguish the principal author from the others. Finally, let's take a case from my own sordid past in which I worked as part of a team on a book about an O-O language. I wrote three of the approximately 20 chapters, and had no part in the writing of anything else in the book. Should those 3 instances be regarded as "articles"? In a way they are closer to articles than to authorship of the entire book. Finally, the problem with using a pair of tables (Books and Mags) is that before you're done, a third medium will emerge (DVDs, say), and that will mean that you need to add a table at minimum. In light of this, my preference would be to create a table PublicationTypes, containing these three entries to start, and then have a single table containing the facts about the publications, and finally an Authors table containing the names of the authors of the various publications, perhaps also with a flag denoting "Principal author". This would enable "SQL: Access to SQL Server" to have either two principal authors or none, in addition to any number of ancillary authors. That's how I would model it, anyway. HTH, Arthur -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Susan Harkins Sent: June 23, 2005 2:28 PM To: 'Access Developers discussion and problem solving' Subject: RE: [AccessD] Normalizing issue This is really getting much more complicated than I had planned. Now I have to figure out how to deal with books versus articles. :) I thought about one table that id's each publication as a book, article, etc. but I have one problem. Books are usually in or out of print and that just doesn't apply for articles. If I use a Yes/No for InPrint, then I've got records when an inappropriate value -- No for magazines isn't really correct. I could use a tri-state Yes/No I guess, and put Null to work, but ug... I can have a separate table that stores only book InPrint field. Or, I can just use two different tables, one for books, for mags. Susan H. -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Jim Dettman Sent: Thursday, June 23, 2005 1:23 PM To: Access Developers discussion and problem solving Subject: RE: [AccessD] Normalizing issue <> Yes. Jim. -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Susan Harkins Sent: Thursday, June 23, 2005 1:13 PM To: 'Access Developers discussion and problem solving' Subject: RE: [AccessD] Normalizing issue OK -- so you're relating the pen name table to the member name and then relating the book table to the pen name table? -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Jim Dettman Sent: Thursday, June 23, 2005 1:10 PM To: Access Developers discussion and problem solving Subject: RE: [AccessD] Normalizing issue Slight correction: tblMembers MemberID MemberName DateCreated tblPenNames PenID MemberID PenName DateCreated Bio tblBooks BookID PenID Jim. -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Susan Harkins Sent: Thursday, June 23, 2005 12:58 PM To: 'Access Developers discussion and problem solving' Subject: RE: [AccessD] Normalizing issue I've been considering this, this morning and I think what I've finally come up with is this: A member name -- that's their real name -- which will relate to their books. I "think" I will add a pen name field to the book table -- if they wrote the name under another name, it'll be there for searches, write-up's, whatever. But, there's only going to be one pen name for each book, so I think it's safe to do this. What do you think? Susan H. Since it's a writer's database, a separate *table* for pen names makes a lot of sense. Some writers use multiple pen names, so creating a pseudonym table is the safest way to handle that and relate it to the writer's actual name. You could always use the real name as the default when filling in a pen name. Charlotte Foust -----Original Message----- From: Susan Harkins [mailto:ssharkins at bellsouth.net] Sent: Thursday, June 23, 2005 8:43 AM To: 'Access Developers discussion and problem solving' Subject: RE: [AccessD] Normalizing issue If it isn't a middle or maiden name, what is it? This gets even more tricky with non-English names where "last" names can get really confusing. I generally provide a field for first, middle, and last name and make it the responsibility of the user to enter the appropriate value in the appropriate field. The rules for parsing this can become so draconian, that it hardly seems worth the work to do anything else. ========I'm in the middle of creating a database (pro bono) for a writer's organization. It's a simple deal and will require little work -- but this is already cropping up. These people will want their "writing" names with their publications -- I'm thinking about just adding one more field to store their "pen name" or whatever -- but then that becomes a nuisance if their name and professional name are the same -- gotta fill in both or allow for the blanks and go find the real name -- such a nuisance -- I think at this point the middle name is the best solution -- Susan H. -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From artful at rogers.com Sun Jun 26 11:15:27 2005 From: artful at rogers.com (Arthur Fuller) Date: Sun, 26 Jun 2005 12:15:27 -0400 Subject: [AccessD] Field Naming ( Just once I want to be ahead of JC ) In-Reply-To: <000301c57821$67019ce0$6c7aa8c0@ColbyM6805> Message-ID: <200506261615.j5QGFUR15380@databaseadvisors.com> I agree 100% and go one step further: enforce them in the Back End not the Front End, and enforce RI wherever you can. Don't quit until you nuke all the rows in all the tables that prevent 100% enforcement of RI. Arthur -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of John W. Colby Sent: June 23, 2005 2:29 PM To: 'Access Developers discussion and problem solving' Subject: RE: [AccessD] Field Naming ( Just once I want to be ahead of JC ) Absolutely should. If a relationship exists, and you care about referential integrity, the database engine should enforce it where possible. John W. Colby www.ColbyConsulting.com From artful at rogers.com Sun Jun 26 11:17:44 2005 From: artful at rogers.com (Arthur Fuller) Date: Sun, 26 Jun 2005 12:17:44 -0400 Subject: [AccessD] Re: Normalizing issue In-Reply-To: <20050623194454.PJJJ8050.ibm62aec.bellsouth.net@SUSANONE> Message-ID: <200506261617.j5QGHmR16133@databaseadvisors.com> This is fact, Susan. If you doubt me do some Googles etc. -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Susan Harkins Sent: June 23, 2005 3:45 PM To: 'Access Developers discussion and problem solving' Subject: RE: [AccessD] Re: Normalizing issue I just think Arthur's up to old tricks again... ;) Susan H. I wonder if they nicknamed him "Alfie", short for alphabet ;) D Surname: Wolfeschlegelsteinhausenbergerdorffvoralternwarengewissenhaf tschaferswesenchafewarenwholgepflegeundsorgfaltigkeitbeschut -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From artful at rogers.com Sun Jun 26 11:18:50 2005 From: artful at rogers.com (Arthur Fuller) Date: Sun, 26 Jun 2005 12:18:50 -0400 Subject: [AccessD] Re: Normalizing issue In-Reply-To: <42BBC4AA.3771.30398AF@stuart.lexacorp.com.pg> Message-ID: <200506261618.j5QGIsR16272@databaseadvisors.com> Thanks for the verify, Stuart! Now if we could only get a German-speaking lister to guide us through that surname! LOL. -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Stuart McLachlan Sent: June 23, 2005 6:31 PM To: Access Developers discussion and problem solving Subject: RE: [AccessD] Re: Normalizing issue On 23 Jun 2005 at 15:44, Susan Harkins wrote: > I just think Arthur's up to old tricks again... ;) > Nope, see http://www.everything2.com/index.pl?node_id=1534419 -- Stuart -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From artful at rogers.com Sun Jun 26 11:29:29 2005 From: artful at rogers.com (Arthur Fuller) Date: Sun, 26 Jun 2005 12:29:29 -0400 Subject: [AccessD] Normalizing issue In-Reply-To: <20050626160400.GCZV11957.ibm56aec.bellsouth.net@SUSANONE> Message-ID: <200506261629.j5QGTWR18610@databaseadvisors.com> Yeah I googled "Arthur Fuller" once and discovered that I was an American painter in the late 19th Century. So now when I'm telling people to look for my stuff I tell them "Arthur Fuller SQL", which eliminates the painter. LOL. A. -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Susan Harkins Sent: June 26, 2005 12:04 PM To: 'Access Developers discussion and problem solving' Subject: RE: [AccessD] Normalizing issue 7. I notice that you abbreviate your surname(s) to "Harkins" frequently. Given that propensity, I see no harm in regarding "Sales" as a given name, in terms of sort etc. =============I never intended Sales to be part of my "last name" -- it was just a means of separating me from that other Susan Harkins that was in the technical world at the time. I don't know if she's still out there and at this point. I could probably drop the Sales and not incur any problems. Now, it's just habit. A quick google turns up others -- but none in the technical field that I've ever found. I'll tell you the truth -- it was spooky. Felt like I was living in some alternative universe when I saw her name the first time. :) I made a copy of it and taped it to my office door for a while -- "Ripley's Believe it or Not" kind of thing -- it was too strange. Susan H. -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From lembit.soobik at t-online.de Sun Jun 26 11:43:37 2005 From: lembit.soobik at t-online.de (Lembit Soobik) Date: Sun, 26 Jun 2005 18:43:37 +0200 Subject: [AccessD] Re: Normalizing issue References: <200506261618.j5QGIsR16272@databaseadvisors.com> Message-ID: <003c01c57a6e$33ccacd0$0200a8c0@p600> oh, well, Arthur, its a concatenation of names, and words. doesnt make any sense to me. if this has really been used as name (which I dont beleive), maybe some history or linguistics professor could make us some story of that. Lembit ----- Original Message ----- From: "Arthur Fuller" To: "'Access Developers discussion and problem solving'" Sent: Sunday, June 26, 2005 6:18 PM Subject: RE: [AccessD] Re: Normalizing issue > Thanks for the verify, Stuart! Now if we could only get a German-speaking > lister to guide us through that surname! LOL. > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Stuart McLachlan > Sent: June 23, 2005 6:31 PM > To: Access Developers discussion and problem solving > Subject: RE: [AccessD] Re: Normalizing issue > > On 23 Jun 2005 at 15:44, Susan Harkins wrote: > > > I just think Arthur's up to old tricks again... ;) > > > > Nope, see http://www.everything2.com/index.pl?node_id=1534419 > -- > 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 ssharkins at bellsouth.net Sun Jun 26 11:45:21 2005 From: ssharkins at bellsouth.net (Susan Harkins) Date: Sun, 26 Jun 2005 12:45:21 -0400 Subject: [AccessD] Normalizing issue In-Reply-To: <200506261613.j5QGDdR15009@databaseadvisors.com> Message-ID: <20050626164526.WJSK8050.ibm62aec.bellsouth.net@SUSANONE> Next, you have the issue of multiple authors on a single book or article. =======For the purposes of this database, this won't be an issue. We're simply tracking the works of individual authors -- not the authors for individual works. But, if it comes up later, I won't have a problem revising it. You may have to distinguish the principal author from the others. Finally, let's take a case from my own sordid past in which I worked as part of a team on a book about an O-O language. I wrote three of the approximately 20 chapters, and had no part in the writing of anything else in the book. Should those 3 instances be regarded as "articles"? In a way they are closer to articles than to authorship of the entire book. ===========For the purposes of this db, that won't be an issue either -- ditto above. There wouldn't be a record for an et. Al -- if an author wanted us to track a book they had contributed to, they would have to list the book's author, as published. Right now, we're not tracking that sort of thing, but it could come up later. What you did just push though, is the difference between writer and illustrator -- many of these people are illustrators and I haven't even allowed for that. Finally, the problem with using a pair of tables (Books and Mags) is that before you're done, a third medium will emerge (DVDs, say), and that will mean that you need to add a table at minimum. In light of this, my preference would be to create a table PublicationTypes, containing these three entries to start, and then have a single table containing the facts about the publications, and finally an Authors table containing the names of the authors of the various publications, perhaps also with a flag denoting "Principal author". This would enable "SQL: Access to SQL Server" to have either two principal authors or none, in addition to any number of ancillary authors. ============Me too -- that is exactly what I've done because I've already added a third type already: books, periodicals, and online. You're absolutely right on this one. In the long run, I'd rather deal with the Null fields than compound all the queries, etc. with multiple tables. Susan H. From ssharkins at bellsouth.net Sun Jun 26 11:46:51 2005 From: ssharkins at bellsouth.net (Susan Harkins) Date: Sun, 26 Jun 2005 12:46:51 -0400 Subject: [AccessD] Normalizing issue In-Reply-To: <200506261613.j5QGDdR15009@databaseadvisors.com> Message-ID: <20050626164651.WJYP8050.ibm62aec.bellsouth.net@SUSANONE> Next, you have the issue of multiple authors on a single book or article. You may have to distinguish the principal author from the others. Finally, let's take a case from my own sordid past in which I worked as part of a team on a book about an O-O language. I wrote three of the approximately 20 chapters, and had no part in the writing of anything else in the book. Should those 3 instances be regarded as "articles"? In a way they are closer to articles than to authorship of the entire book. ===========Arthur -- do you realize how you just complicated my entire application????????????? Well... I'm glad it happened now. :) We started off tracking authors -- not right -- we have to track publications -- only way to go. Susan H. From stuart at lexacorp.com.pg Sun Jun 26 13:44:10 2005 From: stuart at lexacorp.com.pg (Stuart McLachlan) Date: Mon, 27 Jun 2005 04:44:10 +1000 Subject: [AccessD] Run External App from within Access In-Reply-To: <200506261523.j5QFNNR03716@databaseadvisors.com> References: <000401c57a5d$84a37820$6c7aa8c0@ColbyM6805> Message-ID: <42BF841A.3653.11A75816@stuart.lexacorp.com.pg> On 26 Jun 2005 at 11:23, Arthur Fuller wrote: > I'm having a senior moment here today, folks. I cannot remember how to run > an external app from within Access. In this case it's a batch file. > Shell() > Followup question.... Is there a way to specify an exit level (i.e. > errorlevel) when exiting an Access app? Suppose for example that Access is > being invoked from a batch file, and that I want to set an errorlevel of 1 > or 0, then take action on this value in the batch file. > AFAIK, you can't - the errorlevel would need to be returned by Access itself, not your app. > I.e. > > MyBatch.cmd: > 'run a simple Access app > MySimpleApp > 'test its exit value > If errorlevel = 1 goto One > If errorlevel = 0 goto Done > You could use a sentinel file. Create a small file with a filename which indicates the level you want to return and use "if exist filename" -- Stuart From Gustav at cactus.dk Sun Jun 26 14:41:28 2005 From: Gustav at cactus.dk (Gustav Brock) Date: Sun, 26 Jun 2005 21:41:28 +0200 Subject: [AccessD] Run External App from within Access Message-ID: Hi Arthur As to the errorlevel ... Write your codes to a (local) temp text file and read that afterwards - simple but it works. /gustav >>> artful at rogers.com 06/26 5:23 pm >>> I'm having a senior moment here today, folks. I cannot remember how to run an external app from within Access. In this case it's a batch file. Followup question.... Is there a way to specify an exit level (i.e. errorlevel) when exiting an Access app? Suppose for example that Access is being invoked from a batch file, and that I want to set an errorlevel of 1 or 0, then take action on this value in the batch file. I.e. MyBatch.cmd: 'run a simple Access app MySimpleApp 'test its exit value If errorlevel = 1 goto One If errorlevel = 0 goto Done :One Rem Do something cool :Done Rem Do nothing at all TIA, Arthur From accessd at shaw.ca Sun Jun 26 15:12:21 2005 From: accessd at shaw.ca (Jim Lawrence) Date: Sun, 26 Jun 2005 13:12:21 -0700 Subject: [AccessD] Run External App from within Access In-Reply-To: <200506261523.j5QFNNR03716@databaseadvisors.com> Message-ID: <0IIP00J7FK4KMA@l-daemon> Hi Arthur: The part you forgot was the 'choice' dos command option. Here is piece of sample code from MS help. @echo off cls echo. echo A Microsoft Editor echo B Microsoft Anti-Virus echo C Microsoft Backup echo. choice /c:abc Choose an option if errorlevel 3 goto MSBackup if errorlevel 2 goto Msav if errorlevel 1 goto Edit :Edit edit goto End :Msav msav goto End :Msbackup msbackup goto End :End HTH Jim -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Arthur Fuller Sent: Sunday, June 26, 2005 8:23 AM To: 'Access Developers discussion and problem solving' Subject: [AccessD] Run External App from within Access I'm having a senior moment here today, folks. I cannot remember how to run an external app from within Access. In this case it's a batch file. Followup question.... Is there a way to specify an exit level (i.e. errorlevel) when exiting an Access app? Suppose for example that Access is being invoked from a batch file, and that I want to set an errorlevel of 1 or 0, then take action on this value in the batch file. I.e. MyBatch.cmd: 'run a simple Access app MySimpleApp 'test its exit value If errorlevel = 1 goto One If errorlevel = 0 goto Done :One Rem Do something cool :Done Rem Do nothing at all TIA, Arthur -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From Robert at servicexp.com Sun Jun 26 16:50:56 2005 From: Robert at servicexp.com (Robert Gracie) Date: Sun, 26 Jun 2005 17:50:56 -0400 Subject: [AccessD] Mappoint Control ? In-Reply-To: <0IIP00J7FK4KMA@l-daemon> Message-ID: <20050626215103.D107C41405@mail01.powweb.com> Has anyone figured out how to use the control on a form in A2K? Is the following still valid? http://msdn.microsoft.com/library/default.asp?url=/library/en-us/mappoint200 4/BIZAPIMapPointControl.asp Robert From jwcolby at colbyconsulting.com Sun Jun 26 21:25:05 2005 From: jwcolby at colbyconsulting.com (John W. Colby) Date: Sun, 26 Jun 2005 22:25:05 -0400 Subject: [AccessD] Mappoint Control ? In-Reply-To: <20050626215103.D107C41405@mail01.powweb.com> Message-ID: <000301c57abf$71fd1200$6c7aa8c0@ColbyM6805> I THINK I used the control in an Access control. I definitely DID embed a map in a control somehow. However I am not doing so this time around. I am referencing the Mappoint library and just doing it native. When I do anything, an actual instance of mappoint opens. Any specific reason to use a control in a form? John W. Colby www.ColbyConsulting.com Contribute your unused CPU cycles to 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: Sunday, June 26, 2005 5:51 PM To: 'Access Developers discussion and problem solving' Subject: [AccessD] Mappoint Control ? Has anyone figured out how to use the control on a form in A2K? Is the following still valid? http://msdn.microsoft.com/library/default.asp?url=/library/en-us/mappoint200 4/BIZAPIMapPointControl.asp Robert -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From newsgrps at dalyn.co.nz Sun Jun 26 21:43:45 2005 From: newsgrps at dalyn.co.nz (David Emerson) Date: Mon, 27 Jun 2005 14:43:45 +1200 Subject: [AccessD] Graph Rowsource Message-ID: <6.2.1.2.0.20050627144335.0340e100@mail.dalyn.co.nz> AccessXP ADP, SQL2000 I am trying to change a graphs rowsource via VBA. When I have the following in the Detail_Format section of the report - Me!chtincNeeds.RowSource = "SELECT C1stName ... " (Rest of query omitted) I get an error 2191 - You can't set the rowsource property in print preview or after printing has started. If I put it on the report's on open event I get error 2455 - You entered an expression that has an invalid reference to the property RowSource. How can I dinamically change the rowsource? From jwcolby at colbyconsulting.com Sun Jun 26 22:28:33 2005 From: jwcolby at colbyconsulting.com (John W. Colby) Date: Sun, 26 Jun 2005 23:28:33 -0400 Subject: [AccessD] Word and Pictures Message-ID: <000401c57ac8$502be8f0$6c7aa8c0@ColbyM6805> I am trying to insert pictures in my Word document and cannot see them. When I search the web I find that "you can't see pictures in normal view". What in the world is going on? This seems rather bizarre to me. John W. Colby www.ColbyConsulting.com Contribute your unused CPU cycles to a good cause: http://folding.stanford.edu/ From accessd at shaw.ca Sun Jun 26 23:23:57 2005 From: accessd at shaw.ca (Jim Lawrence) Date: Sun, 26 Jun 2005 21:23:57 -0700 Subject: [AccessD] Graph Rowsource In-Reply-To: <6.2.1.2.0.20050627144335.0340e100@mail.dalyn.co.nz> Message-ID: <0IIQ00F2N6VT8F@l-daemon> Hi David: You may have a look at an article posted to DBA site that deals specifically with changing report data source on the fly. Some of the information may be helpful: http://www.databaseadvisors.com/newsletters/newsletter112003/0311UnboundRepo rts.htm HTH Jim -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of David Emerson Sent: Sunday, June 26, 2005 7:44 PM To: accessd at databaseadvisors.com Subject: [AccessD] Graph Rowsource AccessXP ADP, SQL2000 I am trying to change a graphs rowsource via VBA. When I have the following in the Detail_Format section of the report - Me!chtincNeeds.RowSource = "SELECT C1stName ... " (Rest of query omitted) I get an error 2191 - You can't set the rowsource property in print preview or after printing has started. If I put it on the report's on open event I get error 2455 - You entered an expression that has an invalid reference to the property RowSource. How can I dinamically change the rowsource? -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From accessd at shaw.ca Sun Jun 26 23:28:42 2005 From: accessd at shaw.ca (Jim Lawrence) Date: Sun, 26 Jun 2005 21:28:42 -0700 Subject: [AccessD] Word and Pictures In-Reply-To: <000401c57ac8$502be8f0$6c7aa8c0@ColbyM6805> Message-ID: <0IIQ00E6573QBT@l-daemon> Hi John: I looked into a similar situation a while back and here are a few things you can check out: http://word.mvps.org/FAQs/DrwGrphcs/InvisibleGraphics.htm HTH Jim -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of John W. Colby Sent: Sunday, June 26, 2005 8:29 PM To: 'Access Developers discussion and problem solving' Subject: [AccessD] Word and Pictures I am trying to insert pictures in my Word document and cannot see them. When I search the web I find that "you can't see pictures in normal view". What in the world is going on? This seems rather bizarre to me. 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 dmcafee at pacbell.net Sun Jun 26 23:57:35 2005 From: dmcafee at pacbell.net (dmcafee at pacbell.net) Date: Sun, 26 Jun 2005 21:57:35 -0700 Subject: [AccessD] Graph Rowsource In-Reply-To: <6.2.1.2.0.20050627144335.0340e100@mail.dalyn.co.nz> Message-ID: Why don't you make the row source a Stored Procedure (sproc) and have the sproc do the correct SELECT for you? That way you don't need to anything fancy in the FE. I tend to not give users select rights to tables and make everything sproc driven. D -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of David Emerson Sent: Sunday, June 26, 2005 7:44 PM To: accessd at databaseadvisors.com Subject: [AccessD] Graph Rowsource AccessXP ADP, SQL2000 I am trying to change a graphs rowsource via VBA. When I have the following in the Detail_Format section of the report - Me!chtincNeeds.RowSource = "SELECT C1stName ... " (Rest of query omitted) I get an error 2191 - You can't set the rowsource property in print preview or after printing has started. If I put it on the report's on open event I get error 2455 - You entered an expression that has an invalid reference to the property RowSource. How can I dinamically change the rowsource? -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From newsgrps at dalyn.co.nz Mon Jun 27 00:40:28 2005 From: newsgrps at dalyn.co.nz (David Emerson) Date: Mon, 27 Jun 2005 17:40:28 +1200 Subject: [AccessD] Graph Rowsource In-Reply-To: References: <6.2.1.2.0.20050627144335.0340e100@mail.dalyn.co.nz> Message-ID: <6.2.1.2.0.20050627171902.03200b00@mail.dalyn.co.nz> Running with this idea, how do I pass a parameter to the sproc. In the recordsource I have: EXEC dbo.sprptIncomeNeedsChart ClientIDNo but it seems to be treating the field (ClientIDNo) as a varchar value ('ClientIDNo'), not an integer (which the value is) I can't include the ClientIDNo field in the sproc and use child and master fields because I can't work out how not to include that field in the data being used in the graph itself. Here is the main part of the sproc: SELECT C1stName, CDisIncome AS [Required Funds], CDisIncP + CDisLumpSum + CDisSuper + CDisOtherInc AS [Available Funds] FROM vwCashManagement WHERE ClientIDNo = @txtClientIDNo UNION SELECT P1stName, PDisIncome AS [Required Funds], PDisIncC + PDisLumpSum + PDisSuper + PDisOtherInc AS [Available Funds] FROM vwCashManagement WHERE ClientIDNo = @txtClientIDNo David At 27/06/2005, you wrote: >Why don't you make the row source a Stored Procedure (sproc) and have the >sproc do the correct SELECT for you? That way you don't need to anything >fancy in the FE. I tend to not give users select rights to tables and make >everything sproc driven. > >D > >-----Original Message----- >From: accessd-bounces at databaseadvisors.com >[mailto:accessd-bounces at databaseadvisors.com]On Behalf Of David Emerson >Sent: Sunday, June 26, 2005 7:44 PM >To: accessd at databaseadvisors.com >Subject: [AccessD] Graph Rowsource > > >AccessXP ADP, SQL2000 > >I am trying to change a graphs rowsource via VBA. When I have the >following in the Detail_Format section of the report - > > Me!chtincNeeds.RowSource = "SELECT C1stName ... " (Rest of query >omitted) > >I get an error 2191 - You can't set the rowsource property in print preview >or after printing has started. > >If I put it on the report's on open event I get error 2455 - You entered an >expression that has an invalid reference to the property RowSource. > >How can I dinamically change the rowsource? > >-- >AccessD mailing list >AccessD at databaseadvisors.com >http://databaseadvisors.com/mailman/listinfo/accessd >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 Jun 27 01:21:15 2005 From: dmcafee at pacbell.net (dmcafee at pacbell.net) Date: Sun, 26 Jun 2005 23:21:15 -0700 Subject: [AccessD] Graph Rowsource In-Reply-To: <6.2.1.2.0.20050627171902.03200b00@mail.dalyn.co.nz> Message-ID: Are you sure you have an input parameter that is set to an INT and not a VARCHAR? Make sure the top line looks like this: ALTER PROCEDURE sprptIncomeNeedsChart (@txtClientIDNo AS INT) AS Then in your report, opent he properties box and in the Data tab, you can type in an Input parameter in either of the following manners: @txtClientIDNo = 1234 or @txtClientIDNo = Forms![SomeForm]![txtClientIDNo] Its late, and I'm not getting everything through my thick skull right now. I'll take a look at it on the morning if nobody else has chimed in. David -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of David Emerson Sent: Sunday, June 26, 2005 10:40 PM To: Access Developers discussion and problem solving Subject: RE: [AccessD] Graph Rowsource Running with this idea, how do I pass a parameter to the sproc. In the recordsource I have: EXEC dbo.sprptIncomeNeedsChart ClientIDNo but it seems to be treating the field (ClientIDNo) as a varchar value ('ClientIDNo'), not an integer (which the value is) I can't include the ClientIDNo field in the sproc and use child and master fields because I can't work out how not to include that field in the data being used in the graph itself. Here is the main part of the sproc: SELECT C1stName, CDisIncome AS [Required Funds], CDisIncP + CDisLumpSum + CDisSuper + CDisOtherInc AS [Available Funds] FROM vwCashManagement WHERE ClientIDNo = @txtClientIDNo UNION SELECT P1stName, PDisIncome AS [Required Funds], PDisIncC + PDisLumpSum + PDisSuper + PDisOtherInc AS [Available Funds] FROM vwCashManagement WHERE ClientIDNo = @txtClientIDNo David At 27/06/2005, you wrote: >Why don't you make the row source a Stored Procedure (sproc) and have the >sproc do the correct SELECT for you? That way you don't need to anything >fancy in the FE. I tend to not give users select rights to tables and make >everything sproc driven. > >D > >-----Original Message----- >From: accessd-bounces at databaseadvisors.com >[mailto:accessd-bounces at databaseadvisors.com]On Behalf Of David Emerson >Sent: Sunday, June 26, 2005 7:44 PM >To: accessd at databaseadvisors.com >Subject: [AccessD] Graph Rowsource > > >AccessXP ADP, SQL2000 > >I am trying to change a graphs rowsource via VBA. When I have the >following in the Detail_Format section of the report - > > Me!chtincNeeds.RowSource = "SELECT C1stName ... " (Rest of query >omitted) > >I get an error 2191 - You can't set the rowsource property in print preview >or after printing has started. > >If I put it on the report's on open event I get error 2455 - You entered an >expression that has an invalid reference to the property RowSource. > >How can I dinamically change the rowsource? > >-- >AccessD mailing list >AccessD at databaseadvisors.com >http://databaseadvisors.com/mailman/listinfo/accessd >Website: http://www.databaseadvisors.com > >-- >AccessD mailing list >AccessD at databaseadvisors.com >http://databaseadvisors.com/mailman/listinfo/accessd >Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From accessd666 at yahoo.com Mon Jun 27 04:41:56 2005 From: accessd666 at yahoo.com (Sad Der) Date: Mon, 27 Jun 2005 02:41:56 -0700 (PDT) Subject: [AccessD] Compact & Repair (Urgent) Message-ID: <20050627094156.3981.qmail@web31602.mail.mud.yahoo.com> Hi, I forgot my CD's from the ADHB2K. I've got the book here but I cannot seem to find the code to compact and repair an access database. Has anyone got it or knows where in the book I can find it? Thnx!!!!!!!! Regards, SD ____________________________________________________ Yahoo! Sports Rekindle the Rivalries. Sign up for Fantasy Football http://football.fantasysports.yahoo.com From paul.hartland at fsmail.net Mon Jun 27 04:57:08 2005 From: paul.hartland at fsmail.net (paul.hartland at fsmail.net) Date: Mon, 27 Jun 2005 11:57:08 +0200 (CEST) Subject: [AccessD] Compact & Repair (Urgent) Message-ID: <20864317.1119866228342.JavaMail.www@wwinf3201> This is a snippet of code I used to use, if anyone has a better way I would also like to see it: Dim MyDate As String MyDate = Left(Date, 2) & "_" & Mid(Date, 4, 2) & "_" & Right(Date, 2) FileCopy "Database", "Database_Backup" & MyDate & ".mdb" DBEngine.CompactDatabase "Database_Backup"& MyDate & ".mdb", "Database_Compact" Kill "Database" Name "Database_Compact" As "Database" Database = Original Database Database_Backup = Backup (Just in case of an OOPS) Database_Compact = Name of database once compacted & repaired Message date : Jun 27 2005, 10:43 AM >From : "Sad Der" To : "Acces User Group" Copy to : Subject : [AccessD] Compact & Repair (Urgent) Hi, I forgot my CD's from the ADHB2K. I've got the book here but I cannot seem to find the code to compact and repair an access database. Has anyone got it or knows where in the book I can find it? Thnx!!!!!!!! Regards, SD ____________________________________________________ Yahoo! Sports Rekindle the Rivalries. Sign up for Fantasy Football http://football.fantasysports.yahoo.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- Whatever you Wanadoo: http://www.wanadoo.co.uk/time/ This email has been checked for most known viruses - find out more at: http://www.wanadoo.co.uk/help/id/7098.htm From accessd666 at yahoo.com Mon Jun 27 05:01:09 2005 From: accessd666 at yahoo.com (Sad Der) Date: Mon, 27 Jun 2005 03:01:09 -0700 (PDT) Subject: [AccessD] Compact & Repair (Urgent) In-Reply-To: <20864317.1119866228342.JavaMail.www@wwinf3201> Message-ID: <20050627100110.33646.qmail@web31612.mail.mud.yahoo.com> ?? Is that all ?? Nice! Thnx. Regards SD --- paul.hartland at fsmail.net wrote: > This is a snippet of code I used to use, if anyone > has a better way I would also like to see it: > > Dim MyDate As String > MyDate = Left(Date, 2) & "_" & Mid(Date, 4, 2) & > "_" & Right(Date, 2) > FileCopy "Database", "Database_Backup" & MyDate > & ".mdb" > DBEngine.CompactDatabase "Database_Backup"& > MyDate & ".mdb", "Database_Compact" > Kill "Database" > Name "Database_Compact" As "Database" > > Database = Original Database > Database_Backup = Backup (Just in case of an OOPS) > > Database_Compact = Name of database once compacted & > repaired > > > > Message date : Jun 27 2005, 10:43 AM > >From : "Sad Der" > To : "Acces User Group" > Copy to : > Subject : [AccessD] Compact & Repair (Urgent) > Hi, > > I forgot my CD's from the ADHB2K. I've got the book > here but I cannot seem to find the code to compact > and > repair an access database. > > Has anyone got it or knows where in the book I can > find it? > > Thnx!!!!!!!! > > Regards, > > SD > > > > ____________________________________________________ > > Yahoo! Sports > Rekindle the Rivalries. Sign up for Fantasy Football > > http://football.fantasysports.yahoo.com > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > > -- > > Whatever you Wanadoo: > http://www.wanadoo.co.uk/time/ > > This email has been checked for most known viruses - > find out more at: > http://www.wanadoo.co.uk/help/id/7098.htm > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > ____________________________________________________ Yahoo! Sports Rekindle the Rivalries. Sign up for Fantasy Football http://football.fantasysports.yahoo.com From paul.hartland at isharp.co.uk Mon Jun 27 05:23:15 2005 From: paul.hartland at isharp.co.uk (Paul Hartland (ISHARP)) Date: Mon, 27 Jun 2005 11:23:15 +0100 Subject: [AccessD] Compact & Repair (Urgent) In-Reply-To: <20050627100110.33646.qmail@web31612.mail.mud.yahoo.com> Message-ID: It's what I used to use in a timer program in Visual Basic 6.0 and used to work fine -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Sad Der Sent: 27 June 2005 11:01 To: Access Developers discussion and problem solving Subject: Re: [AccessD] Compact & Repair (Urgent) ?? Is that all ?? Nice! Thnx. Regards SD --- paul.hartland at fsmail.net wrote: > This is a snippet of code I used to use, if anyone has a better way I > would also like to see it: > > Dim MyDate As String > MyDate = Left(Date, 2) & "_" & Mid(Date, 4, 2) & "_" & Right(Date, > 2) > FileCopy "Database", "Database_Backup" & MyDate & ".mdb" > DBEngine.CompactDatabase "Database_Backup"& MyDate & ".mdb", > "Database_Compact" > Kill "Database" > Name "Database_Compact" As "Database" > > Database = Original Database > Database_Backup = Backup (Just in case of an OOPS) > > Database_Compact = Name of database once compacted & repaired > > > > Message date : Jun 27 2005, 10:43 AM > >From : "Sad Der" > To : "Acces User Group" > Copy to : > Subject : [AccessD] Compact & Repair (Urgent) Hi, > > I forgot my CD's from the ADHB2K. I've got the book here but I cannot > seem to find the code to compact and repair an access database. > > Has anyone got it or knows where in the book I can find it? > > Thnx!!!!!!!! > > Regards, > > SD > > > > ____________________________________________________ > > Yahoo! Sports > Rekindle the Rivalries. Sign up for Fantasy Football > > http://football.fantasysports.yahoo.com > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > > -- > > Whatever you Wanadoo: > http://www.wanadoo.co.uk/time/ > > This email has been checked for most known viruses - find out more at: > http://www.wanadoo.co.uk/help/id/7098.htm > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > ____________________________________________________ Yahoo! Sports Rekindle the Rivalries. Sign up for Fantasy Football http://football.fantasysports.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 Mon Jun 27 06:02:14 2005 From: jwcolby at colbyconsulting.com (John W. Colby) Date: Mon, 27 Jun 2005 07:02:14 -0400 Subject: [AccessD] Word and Pictures In-Reply-To: <0IIQ00E6573QBT@l-daemon> Message-ID: <000b01c57b07$ad6608e0$6c7aa8c0@ColbyM6805> That got it, thanks. It was the paragraph EXACTLY thing. John W. Colby www.ColbyConsulting.com Contribute your unused CPU cycles to 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: Monday, June 27, 2005 12:29 AM To: 'Access Developers discussion and problem solving' Subject: RE: [AccessD] Word and Pictures Hi John: I looked into a similar situation a while back and here are a few things you can check out: http://word.mvps.org/FAQs/DrwGrphcs/InvisibleGraphics.htm HTH Jim -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of John W. Colby Sent: Sunday, June 26, 2005 8:29 PM To: 'Access Developers discussion and problem solving' Subject: [AccessD] Word and Pictures I am trying to insert pictures in my Word document and cannot see them. When I search the web I find that "you can't see pictures in normal view". What in the world is going on? This seems rather bizarre to me. 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 robert at servicexp.com Mon Jun 27 06:25:13 2005 From: robert at servicexp.com (Robert Gracie) Date: Mon, 27 Jun 2005 07:25:13 -0400 Subject: [AccessD] Mappoint Control ? Message-ID: <3C6BD610FA11044CADFC8C13E6D5508F4ECA@gbsserver.GBS.local> John, Just looking for a deeper level of integration. Thanks!! Robert -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of John W. Colby Sent: Monday, June 27, 2005 5:16 AM To: 'Access Developers discussion and problem solving' Subject: RE: [AccessD] Mappoint Control ? I THINK I used the control in an Access control. I definitely DID embed a map in a control somehow. However I am not doing so this time around. I am referencing the Mappoint library and just doing it native. When I do anything, an actual instance of mappoint opens. Any specific reason to use a control in a form? John W. Colby www.ColbyConsulting.com Contribute your unused CPU cycles to 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: Sunday, June 26, 2005 5:51 PM To: 'Access Developers discussion and problem solving' Subject: [AccessD] Mappoint Control ? Has anyone figured out how to use the control on a form in A2K? Is the following still valid? http://msdn.microsoft.com/library/default.asp?url=/library/en-us/mappoin t200 4/BIZAPIMapPointControl.asp Robert -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From mmattys at rochester.rr.com Mon Jun 27 07:08:28 2005 From: mmattys at rochester.rr.com (Michael R Mattys) Date: Mon, 27 Jun 2005 08:08:28 -0400 Subject: [AccessD] Mappoint Control ? References: <3C6BD610FA11044CADFC8C13E6D5508F4ECA@gbsserver.GBS.local> Message-ID: <01dd01c57b10$efa7ec60$0202a8c0@default> Robert, All of my work is done in A2K first. What is it that needs to be figured out? ---- Michael R. Mattys Mattys MapLib for Microsoft MapPoint http://www.mattysconsulting.com From dejpolsys at hotmail.com Mon Jun 27 08:24:06 2005 From: dejpolsys at hotmail.com (William Hindman) Date: Mon, 27 Jun 2005 09:24:06 -0400 Subject: [AccessD] Sandbox Mode A2K3 References: <3C6BD610FA11044CADFC8C13E6D5508F4ECA@gbsserver.GBS.local> <01dd01c57b10$efa7ec60$0202a8c0@default> Message-ID: ..anyone with experience using this "feature" ...pros/cons re turning it on/off? ...how much code change impact if not presently using any macros? William From Jim.Hale at FleetPride.com Mon Jun 27 09:17:54 2005 From: Jim.Hale at FleetPride.com (Hale, Jim) Date: Mon, 27 Jun 2005 09:17:54 -0500 Subject: [AccessD] Normalizing issue Message-ID: <6A6AA9DF57E4F046BDA1E273BDDB677233769E@corp-es01.fleetpride.com> Hey, sometimes Freudian slips are closer to the truth. My favorite (real) examples are mythologies for methodologies and deceivables for receivables. Jim -----Original Message----- From: Susan Harkins [mailto:ssharkins at bellsouth.net] Sent: Sunday, June 26, 2005 11:09 AM To: 'Access Developers discussion and problem solving' Subject: RE: [AccessD] Normalizing issue Oh my gosh... Of course I meant write, not right. Those of you that know me from OT know that I am challenged in this way. :( Susan H. know people that right "romance" (the steamy kind) novels -- they use pen names. They're not -- 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 jimdettman at earthlink.net Mon Jun 27 10:05:09 2005 From: jimdettman at earthlink.net (Jim Dettman) Date: Mon, 27 Jun 2005 11:05:09 -0400 Subject: [AccessD] Normalizing issue In-Reply-To: <20050626160854.GDXL11957.ibm56aec.bellsouth.net@SUSANONE> Message-ID: Susan, I have the same problem. Except I do it when I speak as well as write. The worst (and the most embarrassing), is when I mean to say Witch and say *itch. Jim. -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Susan Harkins Sent: Sunday, June 26, 2005 12:09 PM To: 'Access Developers discussion and problem solving' Subject: RE: [AccessD] Normalizing issue Oh my gosh... Of course I meant write, not right. Those of you that know me from OT know that I am challenged in this way. :( Susan H. know people that right "romance" (the steamy kind) novels -- they use pen names. They're not -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From BBarabash at TappeConstruction.com Mon Jun 27 10:05:56 2005 From: BBarabash at TappeConstruction.com (Brett Barabash) Date: Mon, 27 Jun 2005 10:05:56 -0500 Subject: [AccessD] Normalizing issue Message-ID: <100F91B31300334B89EC531C9DCB08659F833B@tccexch01.tappeconstruction.net> My fave was when JC accidentally referred to a composite key as a "compost key". Particularily amusing if you've ever heard his rants on the subject. -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Hale, Jim Sent: Monday, June 27, 2005 9:18 AM To: 'Access Developers discussion and problem solving' Subject: RE: [AccessD] Normalizing issue Hey, sometimes Freudian slips are closer to the truth. My favorite (real) examples are mythologies for methodologies and deceivables for receivables. Jim -----Original Message----- From: Susan Harkins [mailto:ssharkins at bellsouth.net] Sent: Sunday, June 26, 2005 11:09 AM To: 'Access Developers discussion and problem solving' Subject: RE: [AccessD] Normalizing issue Oh my gosh... Of course I meant write, not right. Those of you that know me from OT know that I am challenged in this way. :( Susan H. know people that right "romance" (the steamy kind) novels -- they use pen names. They're not -------------------------------------------------------------------------------------------------------------------- The information in this email may contain confidential information that is legally privileged. The information is only for the use of the intended recipient(s) named above. If you are not the intended recipient(s), you are hereby notified that any disclosure, copying, distribution, or the taking of any action in regard to the content of this email is strictly prohibited. If transmission is incorrect, unclear, or incomplete, please notify the sender immediately. The authorized recipient(s) of this information is/are prohibited from disclosing this information to any other party and is/are required to destroy the information after its stated need has been fulfilled. Any views expressed in this message are those of the individual sender, except where the sender specifies and with authority, states them to be the views of Tap hat this email message has been scanned for the presence of computer viruses.Scanning of this message and addition of this footer is performed by SurfControl E-mail Filter software in conjunction with virus detection software. From cfoust at infostatsystems.com Mon Jun 27 10:11:00 2005 From: cfoust at infostatsystems.com (Charlotte Foust) Date: Mon, 27 Jun 2005 08:11:00 -0700 Subject: [AccessD] Compact & Repair (Urgent) Message-ID: That's pretty much the way the internal compact and repair works as well. Charlotte Foust -----Original Message----- From: paul.hartland at fsmail.net [mailto:paul.hartland at fsmail.net] Sent: Monday, June 27, 2005 2:57 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Compact & Repair (Urgent) This is a snippet of code I used to use, if anyone has a better way I would also like to see it: Dim MyDate As String MyDate = Left(Date, 2) & "_" & Mid(Date, 4, 2) & "_" & Right(Date, 2) FileCopy "Database", "Database_Backup" & MyDate & ".mdb" DBEngine.CompactDatabase "Database_Backup"& MyDate & ".mdb", "Database_Compact" Kill "Database" Name "Database_Compact" As "Database" Database = Original Database Database_Backup = Backup (Just in case of an OOPS) Database_Compact = Name of database once compacted & repaired Message date : Jun 27 2005, 10:43 AM >From : "Sad Der" To : "Acces User Group" Copy to : Subject : [AccessD] Compact & Repair (Urgent) Hi, I forgot my CD's from the ADHB2K. I've got the book here but I cannot seem to find the code to compact and repair an access database. Has anyone got it or knows where in the book I can find it? Thnx!!!!!!!! Regards, SD ____________________________________________________ Yahoo! Sports Rekindle the Rivalries. Sign up for Fantasy Football http://football.fantasysports.yahoo.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- Whatever you Wanadoo: http://www.wanadoo.co.uk/time/ This email has been checked for most known viruses - find out more at: http://www.wanadoo.co.uk/help/id/7098.htm -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From martyconnelly at shaw.ca Mon Jun 27 12:11:30 2005 From: martyconnelly at shaw.ca (MartyConnelly) Date: Mon, 27 Jun 2005 10:11:30 -0700 Subject: [AccessD] Import from FoxPro References: <000201c5793c$c6381510$6401a8c0@laptop1> Message-ID: <42C03342.5040407@shaw.ca> If all else fails there is the VFP 9.0 OLE DB Provider to get at the dbc file or directory of tables via ADO I tried downloading the old ODBC Ver 6.0 driver from the main MS Foxpro page but that doesn't work and maybe bad to install on WinXP or Win2000, Microsoft is unclear on this. This code will read the VFP 9.0 Northwinds Foxpro Sample database that comes with the provider 'With the release of Microsoft Visual FoxPro 9.0, 'a new version of the Microsoft OLE DB Provider for Visual FoxPro is now available. 'The OLE DB provider is installed when Visual FoxPro 9.0 is installed 'and is typically saved in the C:\Program Files\Common Files\System\Ole DB folder. 'It is a single file that is named VfpOleDb.dll and is version 9.0.0.2412. 'To download the OLE DB provider for free, visit the following Microsoft Web site: 'http://www.microsoft.com/downloads/details.aspx?FamilyId=E1A87D8F-2D58-491F-A0FA-95A3289C5FD4&displaylang=en Sub testvfp() Dim oConn As ADODB.Connection Dim oRS As ADODB.Recordset Set oConn = New ADODB.Connection Set oRS = New ADODB.Recordset oConn.ConnectionString = "provider=vfpoledb.1;" & _ "data source=C:\Program Files\Microsoft Visual FoxPro OLE DB Provider\Samples\Northwind\northwind.dbc" ' ConnStr = "Driver=Microsoft Visual Foxpro Driver; " + _ ' "UID=;SourceType=DBC;SourceDB=C:\VFP\Samples\Tastrade\Data\Tastrade.dbc" oConn.Open 'Make sure the connection opened: If Not CBool(oConn.State And adStateOpen) Then 'Could not open the connection: MsgBox "Could not open connection..." Set oConn = Nothing Set oRS = Nothing Exit Sub Else 'Process data as usual here... Dim oCat As New ADOX.Catalog Dim oTbl As ADOX.Table Dim oTblc As ADOX.Table Dim oname As ADOX.DataTypeEnum Dim oCol As Column oCat.ActiveConnection = oConn Debug.Print "TableName number of columns" For Each oTbl In oCat.Tables Debug.Print oTbl.Name & " " & oTbl.Columns.Count Next Set oTblc = oCat.Tables("Customers") Debug.Print ADOX.DataTypeEnum.adChar; ADOX.DataTypeEnum.adChar For Each oCol In oTblc.Columns Debug.Print oCol.Name & ": " & oCol.DefinedSize & _ ": " & oCol.Type Next oRS.Open "SELECT * FROM Customers", oConn With oRS .MoveFirst Debug.Print oRS.Fields.Item(0), oRS.Fields.Item(1) End With End If Dim rsSchema As ADODB.Recordset Dim fld As ADODB.Field Dim rCriteria As Variant 'Pass in the table name to retrieve index info. The other 'array parameters may be defined as follows: ' TABLE_CATALOG (first parameter) ' TABLE_SCHEMA (second) ' INDEX_NAME (third) ' TYPE (fourth) ' TABLE_NAME (fifth, e.g. "employee") rCriteria = Array(Empty, Empty, Empty, Empty, "Customers") Set rsSchema = oConn.OpenSchema(adSchemaIndexes, rCriteria) Debug.Print "Recordcount: " & rsSchema.RecordCount While Not rsSchema.EOF Debug.Print "===================================================" For Each fld In rsSchema.Fields Debug.Print fld.Name & ": " & fld.Value 'Debug.Print "------------------------------------------------" Next rsSchema.MoveNext Wend rsSchema.Close Set rsSchema = Nothing Set oConn = Nothing End Sub Joe Hecht wrote: >I have had to through Excel sometimes for FP Tables. > >Check your properties after importing to Access > >Joe Hecht >Los Angeles CA > >-----Original Message----- >From: accessd-bounces at databaseadvisors.com >[mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Hollis,Virginia >Sent: Friday, June 24, 2005 4:40 AM >To: accessD at databaseadvisors.com >Subject: [AccessD] Import from FoxPro > >Ok, what is the secret to importing from FoxPro to Access 2003? It is >not in the list of types anymore. I looked through the KB articles but >still have problems. > > > >I pulled the tables up in Visual FoxPro, saved them out as dBase IV >files, and then tried to import them into Access 2003. I got the >message: > > > >"Unexpected Error from External Database Driver (8961)" > > > >I was able to create an ODBC datasource based on a FoxPro driver that >was already on my computer. I tried to import the tables, and it looked >like it was going to do it, but then I got an error, "Decimal field >precision too small... > > > >I'm running out of ideas. > > > >Virginia > > > > > -- Marty Connelly Victoria, B.C. Canada From newsgrps at dalyn.co.nz Mon Jun 27 12:30:42 2005 From: newsgrps at dalyn.co.nz (David Emerson) Date: Tue, 28 Jun 2005 05:30:42 +1200 Subject: [AccessD] Graph Rowsource In-Reply-To: References: <6.2.1.2.0.20050627171902.03200b00@mail.dalyn.co.nz> Message-ID: <6.2.1.2.0.20050628052801.0312b1d0@mail.dalyn.co.nz> Input parameter is set to Int. The rowsource is for a graph on the report, not the report itself. There doesn't seem to be a property for Input parameters in the graph's property box. David At 27/06/2005, you wrote: >Are you sure you have an input parameter that is set to an INT and not a >VARCHAR? > >Make sure the top line looks like this: > >ALTER PROCEDURE sprptIncomeNeedsChart (@txtClientIDNo AS INT) AS > >Then in your report, opent he properties box and in the Data tab, you can >type in an Input parameter in either of the following manners: > > @txtClientIDNo = 1234 > or > @txtClientIDNo = Forms![SomeForm]![txtClientIDNo] > >Its late, and I'm not getting everything through my thick skull right now. >I'll take a look at it on the morning if nobody else has chimed in. > >David > > > > >-----Original Message----- >From: accessd-bounces at databaseadvisors.com >[mailto:accessd-bounces at databaseadvisors.com]On Behalf Of David Emerson >Sent: Sunday, June 26, 2005 10:40 PM >To: Access Developers discussion and problem solving >Subject: RE: [AccessD] Graph Rowsource > > >Running with this idea, how do I pass a parameter to the sproc. In the >recordsource I have: > >EXEC dbo.sprptIncomeNeedsChart ClientIDNo > >but it seems to be treating the field (ClientIDNo) as a varchar value >('ClientIDNo'), not an integer (which the value is) > >I can't include the ClientIDNo field in the sproc and use child and master >fields because I can't work out how not to include that field in the data >being used in the graph itself. > >Here is the main part of the sproc: > >SELECT C1stName, CDisIncome AS [Required Funds], CDisIncP + CDisLumpSum + >CDisSuper + CDisOtherInc AS [Available Funds] >FROM vwCashManagement >WHERE ClientIDNo = @txtClientIDNo >UNION SELECT P1stName, PDisIncome AS [Required Funds], PDisIncC + >PDisLumpSum + PDisSuper + PDisOtherInc AS [Available Funds] >FROM vwCashManagement >WHERE ClientIDNo = @txtClientIDNo > > >David > >At 27/06/2005, you wrote: > >Why don't you make the row source a Stored Procedure (sproc) and have the > >sproc do the correct SELECT for you? That way you don't need to anything > >fancy in the FE. I tend to not give users select rights to tables and make > >everything sproc driven. > > > >D > > > >-----Original Message----- > >From: accessd-bounces at databaseadvisors.com > >[mailto:accessd-bounces at databaseadvisors.com]On Behalf Of David Emerson > >Sent: Sunday, June 26, 2005 7:44 PM > >To: accessd at databaseadvisors.com > >Subject: [AccessD] Graph Rowsource > > > > > >AccessXP ADP, SQL2000 > > > >I am trying to change a graphs rowsource via VBA. When I have the > >following in the Detail_Format section of the report - > > > > Me!chtincNeeds.RowSource = "SELECT C1stName ... " (Rest of query > >omitted) > > > >I get an error 2191 - You can't set the rowsource property in print preview > >or after printing has started. > > > >If I put it on the report's on open event I get error 2455 - You entered an > >expression that has an invalid reference to the property RowSource. > > > >How can I dinamically change the rowsource? From newsgrps at dalyn.co.nz Mon Jun 27 12:37:43 2005 From: newsgrps at dalyn.co.nz (David Emerson) Date: Tue, 28 Jun 2005 05:37:43 +1200 Subject: [AccessD] Graph Rowsource Message-ID: <6.2.1.2.0.20050628053637.03143220@mail.dalyn.co.nz> Thanks Jim, I am starting to think that if I can't pass a parameter to the graph's rowsource then I will need to go your suggested way and create a table before running the report which has the data in it. David At 27/06/2005, you wrote: >Hi David: > >You may have a look at an article posted to DBA site that deals specifically >with changing report data source on the fly. Some of the information may be >helpful: >http://www.databaseadvisors.com/newsletters/newsletter112003/0311UnboundReports.htm > >HTH >Jim > >-----Original Message----- >From: accessd-bounces at databaseadvisors.com >[mailto:accessd-bounces at databaseadvisors.com] On Behalf Of David Emerson >Sent: Sunday, June 26, 2005 7:44 PM >To: accessd at databaseadvisors.com >Subject: [AccessD] Graph Rowsource > >AccessXP ADP, SQL2000 > >I am trying to change a graphs rowsource via VBA. When I have the >following in the Detail_Format section of the report - > > Me!chtincNeeds.RowSource = "SELECT C1stName ... " (Rest of query >omitted) > >I get an error 2191 - You can't set the rowsource property in print preview >or after printing has started. > >If I put it on the report's on open event I get error 2455 - You entered an >expression that has an invalid reference to the property RowSource. > >How can I dinamically change the rowsource? From rl_stewart at highstream.net Mon Jun 27 13:45:33 2005 From: rl_stewart at highstream.net (Robert L. Stewart) Date: Mon, 27 Jun 2005 13:45:33 -0500 Subject: [AccessD] Re: Normalizing issue In-Reply-To: <200506261700.j5QH07R25531@databaseadvisors.com> References: <200506261700.j5QH07R25531@databaseadvisors.com> Message-ID: <6.2.1.2.2.20050627134219.039ed710@pop3.highstream.net> Or, you could add a table for related parties and carry their role in that table. Then you can get all the co-authors and illustrators, reviewers, etc. tblPublicationRelatedParty PublicationRelatedPartyID PublicationID PartyID RoleID At 12:00 PM 6/26/2005, you wrote: >Date: Sun, 26 Jun 2005 12:45:21 -0400 >From: "Susan Harkins" >Subject: RE: [AccessD] Normalizing issue >To: "'Access Developers discussion and problem solving'" > >Message-ID: <20050626164526.WJSK8050.ibm62aec.bellsouth.net at SUSANONE> >Content-Type: text/plain; charset="us-ascii" > > >Next, you have the issue of multiple authors on a single book or article. > >=======For the purposes of this database, this won't be an issue. We're >simply tracking the works of individual authors -- not the authors for >individual works. But, if it comes up later, I won't have a problem revising >it. > >You may have to distinguish the principal author from the others. Finally, >let's take a case from my own sordid past in which I worked as part of a >team on a book about an O-O language. I wrote three of the approximately 20 >chapters, and had no part in the writing of anything else in the book. >Should those 3 instances be regarded as "articles"? In a way they are closer >to articles than to authorship of the entire book. > >===========For the purposes of this db, that won't be an issue either -- >ditto above. There wouldn't be a record for an et. Al -- if an author wanted >us to track a book they had contributed to, they would have to list the >book's author, as published. Right now, we're not tracking that sort of >thing, but it could come up later. What you did just push though, is the >difference between writer and illustrator -- many of these people are >illustrators and I haven't even allowed for that. > >Finally, the problem with using a pair of tables (Books and Mags) is that >before you're done, a third medium will emerge (DVDs, say), and that will >mean that you need to add a table at minimum. In light of this, my >preference would be to create a table PublicationTypes, containing these >three entries to start, and then have a single table containing the facts >about the publications, and finally an Authors table containing the names of >the authors of the various publications, perhaps also with a flag denoting >"Principal author". This would enable "SQL: Access to SQL Server" to have >either two principal authors or none, in addition to any number of ancillary >authors. > >============Me too -- that is exactly what I've done because I've already >added a third type already: books, periodicals, and online. You're >absolutely right on this one. In the long run, I'd rather deal with the Null >fields than compound all the queries, etc. with multiple tables. > >Susan H. From ssharkins at bellsouth.net Mon Jun 27 15:35:57 2005 From: ssharkins at bellsouth.net (Susan Harkins) Date: Mon, 27 Jun 2005 16:35:57 -0400 Subject: [AccessD] Re: Normalizing issue In-Reply-To: <6.2.1.2.2.20050627134219.039ed710@pop3.highstream.net> Message-ID: <20050627203557.KNJH29052.ibm68aec.bellsouth.net@SUSANONE> I think I've decided on a simple "people" table -- with a mtm related table that describes their role in any publication. Seems to make the most sense at this point. Susan H. Or, you could add a table for related parties and carry their role in that table. Then you can get all the co-authors and illustrators, reviewers, etc. tblPublicationRelatedParty PublicationRelatedPartyID PublicationID PartyID RoleID At 12:00 PM 6/26/2005, you wrote: >Date: Sun, 26 Jun 2005 12:45:21 -0400 >From: "Susan Harkins" >Subject: RE: [AccessD] Normalizing issue >To: "'Access Developers discussion and problem solving'" > >Message-ID: <20050626164526.WJSK8050.ibm62aec.bellsouth.net at SUSANONE> >Content-Type: text/plain; charset="us-ascii" > > >Next, you have the issue of multiple authors on a single book or article. > >=======For the purposes of this database, this won't be an issue. We're >simply tracking the works of individual authors -- not the authors for >individual works. But, if it comes up later, I won't have a problem >revising it. > >You may have to distinguish the principal author from the others. >Finally, let's take a case from my own sordid past in which I worked as >part of a team on a book about an O-O language. I wrote three of the >approximately 20 chapters, and had no part in the writing of anything else in the book. >Should those 3 instances be regarded as "articles"? In a way they are >closer to articles than to authorship of the entire book. > >===========For the purposes of this db, that won't be an issue either >-- ditto above. There wouldn't be a record for an et. Al -- if an >author wanted us to track a book they had contributed to, they would >have to list the book's author, as published. Right now, we're not >tracking that sort of thing, but it could come up later. What you did >just push though, is the difference between writer and illustrator -- >many of these people are illustrators and I haven't even allowed for >that. > >Finally, the problem with using a pair of tables (Books and Mags) is >that before you're done, a third medium will emerge (DVDs, say), and >that will mean that you need to add a table at minimum. In light of >this, my preference would be to create a table PublicationTypes, >containing these three entries to start, and then have a single table >containing the facts about the publications, and finally an Authors >table containing the names of the authors of the various publications, >perhaps also with a flag denoting "Principal author". This would enable >"SQL: Access to SQL Server" to have either two principal authors or >none, in addition to any number of ancillary authors. > >============Me too -- that is exactly what I've done because I've >already added a third type already: books, periodicals, and online. >You're absolutely right on this one. In the long run, I'd rather deal >with the Null fields than compound all the queries, etc. with multiple tables. > >Susan H. -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From robert at servicexp.com Mon Jun 27 16:56:29 2005 From: robert at servicexp.com (Robert Gracie) Date: Mon, 27 Jun 2005 17:56:29 -0400 Subject: [AccessD] Mappoint Control ? Message-ID: <3C6BD610FA11044CADFC8C13E6D5508F4ECB@gbsserver.GBS.local> Michael, MS says that you can't (or should not) use the Mappoint Control in VBA. Didn't want to walk down a dead end one way street, if you know what I mean..... http://msdn.microsoft.com/library/default.asp?url=/library/en-us/mappoin t2004/BIZAPIMapPointControl.asp So let me ask you, are their any "gotcha's" working with the control in VBA. Do you have access to the all the properties and methods in VBA? Thanks!!! Robert -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Michael R Mattys Sent: Monday, June 27, 2005 10:30 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Mappoint Control ? Robert, All of my work is done in A2K first. What is it that needs to be figured out? ---- Michael R. Mattys Mattys MapLib for Microsoft MapPoint http://www.mattysconsulting.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From mmattys at rochester.rr.com Mon Jun 27 17:04:26 2005 From: mmattys at rochester.rr.com (Michael R Mattys) Date: Mon, 27 Jun 2005 18:04:26 -0400 Subject: [AccessD] Mappoint Control ? References: <3C6BD610FA11044CADFC8C13E6D5508F4ECB@gbsserver.GBS.local> Message-ID: <034a01c57b64$30bcc1f0$0202a8c0@default> ----- Original Message ----- From: "Robert Gracie" To: "Access Developers discussion and problem solving" Sent: Monday, June 27, 2005 5:56 PM Subject: RE: [AccessD] Mappoint Control ? > Michael, > MS says that you can't (or should not) use the Mappoint Control in VBA. > Didn't want to walk down a dead end one way street, if you know what I > mean..... > > http://msdn.microsoft.com/library/default.asp?url=/library/en-us/mappoin > t2004/BIZAPIMapPointControl.asp > > So let me ask you, are their any "gotcha's" working with the control in > VBA. Do you have access to the all the properties and methods in VBA? > > Thanks!!! Robert, You have access to everything that the MapPoint ActiveX provides and there are no gotcha's that I have seen after working with it daily for over 2 years. Set up public boolean variables to turn on and off within the Events because the app expects to complete it's own operations in a timely fashion - you must not interfere with them - but that is the same in any programming environment that you put it in. ---- Michael R. Mattys Mattys MapLib for Microsoft MapPoint http://www.mattysconsulting.com From newsgrps at dalyn.co.nz Mon Jun 27 18:27:14 2005 From: newsgrps at dalyn.co.nz (David Emerson) Date: Tue, 28 Jun 2005 11:27:14 +1200 Subject: [AccessD] Linking Graph to Report Message-ID: <6.2.1.2.0.20050628112403.03148970@mail.dalyn.co.nz> Access XP adp, SQL2000. Thanks to all that responded to my previous graph problem. I solved it by creating a temp table and inserted just the data required for the graphs into that. Then I based the rowsource of the graph on the temp table. Now back to my problem of last week. I have a report with a graph on it. The graph is to show the number of days it took to process client information. Each month should have its own graph on a separate page. The report's source is a stored procedure which provides the months as an integer in the form yyyymm. SELECT ttmpPlanTrackGraph.ConsultPlanFranchise, ttmpPlanTrackGraph.YrMth FROM ttmpPlanTrackGraph GROUP BY ttmpPlanTrackGraph.ConsultPlanFranchise, ttmpPlanTrackGraph.YrMth The graph's source is also a stored procedure which includes a field with the month in the same format. SELECT ttmpPlanTrackGraph.ClientName, ttmpPlanTrackGraph.FranDays AS [Work Days in Fran], ttmpPlanTrackGraph.BurDays AS [Work Days in Bureau], ttmpPlanTrackGraph.ConsultPlanFranchise, ttmpPlanTrackGraph.YrMth FROM ttmpPlanTrackGraph I have set the Link Child Field and Link Master fields both to YrMth. The report shows a different page for each month, however each graph shows all records, not just the one for the pages month. How do I get only the relevant month's data showing on each page? Regards David Emerson Dalyn Software Ltd 25 Cunliffe St, Churton Park Wellington, New Zealand Ph/Fax (04) 478-7456 Mobile 027-280-9348 From jmhecht at earthlink.net Mon Jun 27 18:45:11 2005 From: jmhecht at earthlink.net (Joe Hecht) Date: Mon, 27 Jun 2005 16:45:11 -0700 Subject: [AccessD] MS Reporting Services Message-ID: <000901c57b72$42bdf280$6401a8c0@laptop1> I am sending resumes again. Some one is asking for MS Reporting services. What is it ? Joe Hecht Los Angeles CA From newsgrps at dalyn.co.nz Mon Jun 27 20:19:01 2005 From: newsgrps at dalyn.co.nz (David Emerson) Date: Tue, 28 Jun 2005 13:19:01 +1200 Subject: [AccessD] Saving string > 256 chars in field Message-ID: <6.2.1.2.0.20050628131416.02c78820@mail.dalyn.co.nz> Access XP adp, SQL2000. I have a field that needs to be filled with text based on the value of a check box. When the check box is checked, then 1 of two tests are to be put into another varchar(1000) field. However, 1 of the texts is greater than 256 characters long. When I try Me!txtCashRecommendation = strText the first 256 characters are truncated and only the last letters appear in the field. I have the latest service packs. I can enter more than 256 characters directly into the field on the form. How can I put the string into the field without it being truncated? Regards David Emerson Dalyn Software Ltd 25 Cunliffe St, Churton Park Wellington, New Zealand Ph/Fax (04) 478-7456 Mobile 027-280-9348 From ssharkins at bellsouth.net Mon Jun 27 20:20:24 2005 From: ssharkins at bellsouth.net (Susan Harkins) Date: Mon, 27 Jun 2005 21:20:24 -0400 Subject: [AccessD] Saving string > 256 chars in field In-Reply-To: <6.2.1.2.0.20050628131416.02c78820@mail.dalyn.co.nz> Message-ID: <20050628012024.YQDQ25470.ibm57aec.bellsouth.net@SUSANONE> I can enter more than 256 characters directly into the field on the form. ========The underlying Text field can hold only 255 characters. This is a bound control, right? Susan H. From newsgrps at dalyn.co.nz Mon Jun 27 20:34:56 2005 From: newsgrps at dalyn.co.nz (David Emerson) Date: Tue, 28 Jun 2005 13:34:56 +1200 Subject: [AccessD] Saving string > 256 chars in field In-Reply-To: <20050628012024.YQDQ25470.ibm57aec.bellsouth.net@SUSANONE> References: <6.2.1.2.0.20050628131416.02c78820@mail.dalyn.co.nz> <20050628012024.YQDQ25470.ibm57aec.bellsouth.net@SUSANONE> Message-ID: <6.2.1.2.0.20050628133222.02c7c460@mail.dalyn.co.nz> Yes it is bound, however the field is a nvarchar(1000). I can manually type in more than 256 characters and they save ok. It is just when I use VB. David At 28/06/2005, you wrote: > I can enter more than 256 characters directly into the field on the form. > >========The underlying Text field can hold only 255 characters. This is a >bound control, right? > >Susan H. > >-- >AccessD mailing list >AccessD at databaseadvisors.com >http://databaseadvisors.com/mailman/listinfo/accessd >Website: http://www.databaseadvisors.com From ssharkins at bellsouth.net Mon Jun 27 20:39:49 2005 From: ssharkins at bellsouth.net (Susan Harkins) Date: Mon, 27 Jun 2005 21:39:49 -0400 Subject: [AccessD] Saving string > 256 chars in field In-Reply-To: <6.2.1.2.0.20050628133222.02c7c460@mail.dalyn.co.nz> Message-ID: <20050628013949.JJKZ25209.ibm63aec.bellsouth.net@SUSANONE> Are you working in an .adp? Susan H. Yes it is bound, however the field is a nvarchar(1000). I can manually type in more than 256 characters and they save ok. It is just when I use VB. From newsgrps at dalyn.co.nz Mon Jun 27 21:06:46 2005 From: newsgrps at dalyn.co.nz (David Emerson) Date: Tue, 28 Jun 2005 14:06:46 +1200 Subject: [AccessD] Saving string > 256 chars in field Message-ID: <6.2.1.2.0.20050628140640.02c78df0@mail.dalyn.co.nz> Access XP adp, SQL2000. I have a field that needs to be filled with text based on the value of a check box. When the check box is checked, then 1 of two tests are to be put into another varchar(1000) field. However, 1 of the texts is greater than 256 characters long. When I try Me!txtCashRecommendation = strText the first 256 characters are truncated and only the last letters appear in the field. I have the latest service packs. I can enter more than 256 characters directly into the field on the form. How can I put the string into the field without it being truncated? Regards David Emerson Dalyn Software Ltd 25 Cunliffe St, Churton Park Wellington, New Zealand Ph/Fax (04) 478-7456 Mobile 027-280-9348 From newsgrps at dalyn.co.nz Mon Jun 27 21:07:36 2005 From: newsgrps at dalyn.co.nz (David Emerson) Date: Tue, 28 Jun 2005 14:07:36 +1200 Subject: [AccessD] Saving string > 256 chars in field Message-ID: <6.2.1.2.0.20050628140732.02c77920@mail.dalyn.co.nz> Yes - Access XP adp, SQL2000. David At 28/06/2005, you wrote: >Are you working in an .adp? > >Susan H. > >Yes it is bound, however the field is a nvarchar(1000). I can manually type >in more than 256 characters and they save ok. It is just when I use VB. > > >-- >AccessD mailing list >AccessD at databaseadvisors.com >http://databaseadvisors.com/mailman/listinfo/accessd >Website: http://www.databaseadvisors.com From dmcafee at pacbell.net Mon Jun 27 21:21:58 2005 From: dmcafee at pacbell.net (dmcafee at pacbell.net) Date: Mon, 27 Jun 2005 19:21:58 -0700 Subject: [AccessD] Saving string > 256 chars in field In-Reply-To: <6.2.1.2.0.20050628140732.02c77920@mail.dalyn.co.nz> Message-ID: This is a known issue. If you search the archives for Francisco Tapia name you might find the right answer. But if I remember correctly, you have to do your final select with that field cast as a Text, so Access (trying to be too smart) will not truncate what it considers a text field and then assumes it is a memo field. David -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of David Emerson Sent: Monday, June 27, 2005 7:08 PM To: Access Developers discussion and problem solving Subject: RE: [AccessD] Saving string > 256 chars in field Yes - Access XP adp, SQL2000. David At 28/06/2005, you wrote: >Are you working in an .adp? > >Susan H. > >Yes it is bound, however the field is a nvarchar(1000). I can manually type >in more than 256 characters and they save ok. It is just when I use VB. From newsgrps at dalyn.co.nz Mon Jun 27 21:29:32 2005 From: newsgrps at dalyn.co.nz (David Emerson) Date: Tue, 28 Jun 2005 14:29:32 +1200 Subject: [AccessD] Saving string > 256 chars in field In-Reply-To: References: <6.2.1.2.0.20050628140732.02c77920@mail.dalyn.co.nz> Message-ID: <6.2.1.2.0.20050628142756.02c7e640@mail.dalyn.co.nz> Thanks. The archives haven't been available for the last couple of hours. Will follow this up when they are back up. David At 28/06/2005, you wrote: >This is a known issue. If you search the archives for Francisco Tapia name >you might find the right answer. > >But if I remember correctly, you have to do your final select with that >field cast as a Text, so Access (trying to be too smart) will not truncate >what it considers a text field and then assumes it is a memo field. > >David > >-----Original Message----- >From: accessd-bounces at databaseadvisors.com >[mailto:accessd-bounces at databaseadvisors.com]On Behalf Of David Emerson >Sent: Monday, June 27, 2005 7:08 PM >To: Access Developers discussion and problem solving >Subject: RE: [AccessD] Saving string > 256 chars in field > > >Yes - Access XP adp, SQL2000. > >David > >At 28/06/2005, you wrote: > >Are you working in an .adp? > > > >Susan H. > > > >Yes it is bound, however the field is a nvarchar(1000). I can manually >type > >in more than 256 characters and they save ok. It is just when I use VB. > >-- >AccessD mailing list >AccessD at databaseadvisors.com >http://databaseadvisors.com/mailman/listinfo/accessd >Website: http://www.databaseadvisors.com From newsgrps at dalyn.co.nz Mon Jun 27 22:50:58 2005 From: newsgrps at dalyn.co.nz (David Emerson) Date: Tue, 28 Jun 2005 15:50:58 +1200 Subject: [AccessD] Saving string > 256 chars in field In-Reply-To: References: <6.2.1.2.0.20050628140732.02c77920@mail.dalyn.co.nz> Message-ID: <6.2.1.2.0.20050628155023.02c7d180@mail.dalyn.co.nz> I have tried the archives but cant find anything. Francisco - can you remember what the subject was? David At 28/06/2005, you wrote: >This is a known issue. If you search the archives for Francisco Tapia name >you might find the right answer. > >But if I remember correctly, you have to do your final select with that >field cast as a Text, so Access (trying to be too smart) will not truncate >what it considers a text field and then assumes it is a memo field. > >David > >-----Original Message----- >From: accessd-bounces at databaseadvisors.com >[mailto:accessd-bounces at databaseadvisors.com]On Behalf Of David Emerson >Sent: Monday, June 27, 2005 7:08 PM >To: Access Developers discussion and problem solving >Subject: RE: [AccessD] Saving string > 256 chars in field > > >Yes - Access XP adp, SQL2000. > >David > >At 28/06/2005, you wrote: > >Are you working in an .adp? > > > >Susan H. > > > >Yes it is bound, however the field is a nvarchar(1000). I can manually >type > >in more than 256 characters and they save ok. It is just when I use VB. > >-- >AccessD mailing list >AccessD at databaseadvisors.com >http://databaseadvisors.com/mailman/listinfo/accessd >Website: http://www.databaseadvisors.com From accessd666 at yahoo.com Tue Jun 28 06:44:51 2005 From: accessd666 at yahoo.com (Sad Der) Date: Tue, 28 Jun 2005 04:44:51 -0700 (PDT) Subject: [AccessD] Multi-User ; Multi-location Message-ID: <20050628114451.24676.qmail@web31605.mail.mud.yahoo.com> Hi group, I've created a CRM application in Access for a single user. Now, off course, they want to make application suitable for multi-users AND multi-locations. Multi-user isn't that big a deal. Multi-location is. I've never dealt with a multi-location application that exceeds the network boundries. Does anybody have some suggestions, pitt-falls, etc for me? Is replication something I can use for this? Thnx in advance! Regards, SD __________________________________________________ Do You Yahoo!? Tired of spam? Yahoo! Mail has the best spam protection around http://mail.yahoo.com From carbonnb at gmail.com Tue Jun 28 06:46:10 2005 From: carbonnb at gmail.com (Bryan Carbonnell) Date: Tue, 28 Jun 2005 07:46:10 -0400 Subject: [AccessD] Saving string > 256 chars in field In-Reply-To: <6.2.1.2.0.20050628142756.02c7e640@mail.dalyn.co.nz> References: <6.2.1.2.0.20050628140732.02c77920@mail.dalyn.co.nz> <6.2.1.2.0.20050628142756.02c7e640@mail.dalyn.co.nz> Message-ID: On 6/27/05, David Emerson wrote: > Thanks. The archives haven't been available for the last couple of > hours. Will follow this up when they are back up. Which archives? Drew's or the ones at databaseadvisors.com? -- Bryan Carbonnell - carbonnb at gmail.com Life's journey is not to arrive at the grave safely in a well preserved body, but rather to skid in sideways, totally worn out, shouting "What a great ride!" From jimdettman at earthlink.net Tue Jun 28 08:31:19 2005 From: jimdettman at earthlink.net (Jim Dettman) Date: Tue, 28 Jun 2005 09:31:19 -0400 Subject: [AccessD] Multi-User ; Multi-location In-Reply-To: <20050628114451.24676.qmail@web31605.mail.mud.yahoo.com> Message-ID: SD, With JET, replication is about the only answer if large numbers involved (hundreds). The other solution is to park a server somewhere and use Terminal Services or Citrix to remote in. I'd do that if the number of users was lower, say 50 or less. If more then 50, then use replication or switch the back end to something other then JET. Jim. -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Sad Der Sent: Tuesday, June 28, 2005 7:45 AM To: Acces User Group Subject: [AccessD] Multi-User ; Multi-location Hi group, I've created a CRM application in Access for a single user. Now, off course, they want to make application suitable for multi-users AND multi-locations. Multi-user isn't that big a deal. Multi-location is. I've never dealt with a multi-location application that exceeds the network boundries. Does anybody have some suggestions, pitt-falls, etc for me? Is replication something I can use for this? Thnx in advance! Regards, 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 Gustav at cactus.dk Tue Jun 28 12:01:21 2005 From: Gustav at cactus.dk (Gustav Brock) Date: Tue, 28 Jun 2005 19:01:21 +0200 Subject: [AccessD] TAPI and IP telephoning and direct call via web interface Message-ID: Hi All We are now selling open-source Asterix PBX running on Linux and the IP Switchboard here: http://ipswitchboard.thorben.dk With the new possibilities with IP telephoning TAPI has become much more interesting as, of course, a TAPI driver is available for Asterix, AstTapi: http://sourceforge.net/projects/asttapi/ Here is TAPI VB sample code, much info, and a demo/test application called vbTapi.exe: http://www.shrinkwrapvb.com/vbtapi.htm Much commented source code is included here as well as a class which should be portable to VBA. Also, note that many (all?) IP phones do have a web interface. At that of the Snom phones: http://www.snom.com you can type a number to dial and the phone will dial this number just like that. I guess you could wrap that into a function which could be much simpler than the TAPI thing but with no feedback. /gustav From DWUTKA at marlow.com Tue Jun 28 13:18:43 2005 From: DWUTKA at marlow.com (DWUTKA at marlow.com) Date: Tue, 28 Jun 2005 13:18:43 -0500 Subject: [AccessD] Saving string > 256 chars in field Message-ID: <123701F54509D9119A4F00D0B747349016D7BA@main2.marlow.com> Mine are down...will be a month or so until I have them up.... Drew -----Original Message----- From: Bryan Carbonnell [mailto:carbonnb at gmail.com] Sent: Tuesday, June 28, 2005 6:46 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Saving string > 256 chars in field On 6/27/05, David Emerson wrote: > Thanks. The archives haven't been available for the last couple of > hours. Will follow this up when they are back up. Which archives? Drew's or the ones at databaseadvisors.com? -- Bryan Carbonnell - carbonnb at gmail.com Life's journey is not to arrive at the grave safely in a well preserved body, but rather to skid in sideways, totally worn out, shouting "What a great ride!" -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From newsgrps at dalyn.co.nz Tue Jun 28 15:00:32 2005 From: newsgrps at dalyn.co.nz (David Emerson) Date: Wed, 29 Jun 2005 08:00:32 +1200 Subject: [AccessD] Saving string > 256 chars in field In-Reply-To: <123701F54509D9119A4F00D0B747349016D7BA@main2.marlow.com> References: <123701F54509D9119A4F00D0B747349016D7BA@main2.marlow.com> Message-ID: <6.2.1.2.0.20050629075956.02c88b70@mail.dalyn.co.nz> It was the databaseadvisors.com website. It was available again later in the day. David At 29/06/2005, you wrote: >Mine are down...will be a month or so until I have them up.... > >Drew > >-----Original Message----- >From: Bryan Carbonnell [mailto:carbonnb at gmail.com] >Sent: Tuesday, June 28, 2005 6:46 AM >To: Access Developers discussion and problem solving >Subject: Re: [AccessD] Saving string > 256 chars in field > > >On 6/27/05, David Emerson wrote: > > Thanks. The archives haven't been available for the last couple of > > hours. Will follow this up when they are back up. > >Which archives? > >Drew's or the ones at databaseadvisors.com? > >-- >Bryan Carbonnell - carbonnb at gmail.com >Life's journey is not to arrive at the grave safely in a well >preserved body, but rather to skid in sideways, totally worn out, >shouting "What a great ride!" >-- From prodevmg at yahoo.com Tue Jun 28 16:38:18 2005 From: prodevmg at yahoo.com (Lonnie Johnson) Date: Tue, 28 Jun 2005 14:38:18 -0700 (PDT) Subject: [AccessD] Can I spell check an unbound field? In-Reply-To: <6.2.1.2.0.20050629075956.02c88b70@mail.dalyn.co.nz> Message-ID: <20050628213818.23178.qmail@web33112.mail.mud.yahoo.com> I think the answer is no, but there is always a guru with a hack. I have a form that is unbound. I have a large memo field and I would like to spellcheck that memo field before appending it to the actual recordset that it will go to. Can it be done? 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 dwaters at usinternet.com Tue Jun 28 17:10:41 2005 From: dwaters at usinternet.com (Dan Waters) Date: Tue, 28 Jun 2005 15:10:41 -0700 Subject: [AccessD] Can I spell check an unbound field? In-Reply-To: <5668356.1119994458524.JavaMail.root@sniper21> Message-ID: <000201c57c2e$3a26ac40$0518820a@danwaters> Lonnie, Yes! But I'll have to get back to you in a few hours. Dan Waters -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Lonnie Johnson Sent: Tuesday, June 28, 2005 2:38 PM To: Access Developers discussion and problem solving Subject: [AccessD] Can I spell check an unbound field? I think the answer is no, but there is always a guru with a hack. I have a form that is unbound. I have a large memo field and I would like to spellcheck that memo field before appending it to the actual recordset that it will go to. Can it be done? 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 -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From prodevmg at yahoo.com Tue Jun 28 17:14:28 2005 From: prodevmg at yahoo.com (Lonnie Johnson) Date: Tue, 28 Jun 2005 15:14:28 -0700 (PDT) Subject: [AccessD] Can I spell check an unbound field? In-Reply-To: <000201c57c2e$3a26ac40$0518820a@danwaters> Message-ID: <20050628221428.39535.qmail@web33106.mail.mud.yahoo.com> Thanks. I may have to leave this and come back to it in the morning anyway. Dan Waters wrote:Lonnie, Yes! But I'll have to get back to you in a few hours. Dan Waters -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Lonnie Johnson Sent: Tuesday, June 28, 2005 2:38 PM To: Access Developers discussion and problem solving Subject: [AccessD] Can I spell check an unbound field? I think the answer is no, but there is always a guru with a hack. I have a form that is unbound. I have a large memo field and I would like to spellcheck that memo field before appending it to the actual recordset that it will go to. Can it be done? 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 -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/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 --------------------------------- Yahoo! Sports Rekindle the Rivalries. Sign up for Fantasy Football From accessd at shaw.ca Tue Jun 28 17:17:00 2005 From: accessd at shaw.ca (Jim Lawrence) Date: Tue, 28 Jun 2005 15:17:00 -0700 Subject: [AccessD] TAPI and IP telephoning and direct call via web interface In-Reply-To: Message-ID: <0IIT0040HF89MD@l-daemon> Wow, that is awesome Gustav. It looks like some very interesting! Jim -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Gustav Brock Sent: Tuesday, June 28, 2005 10:01 AM To: accessd at databaseadvisors.com Subject: [AccessD] TAPI and IP telephoning and direct call via web interface Hi All We are now selling open-source Asterix PBX running on Linux and the IP Switchboard here: http://ipswitchboard.thorben.dk With the new possibilities with IP telephoning TAPI has become much more interesting as, of course, a TAPI driver is available for Asterix, AstTapi: http://sourceforge.net/projects/asttapi/ Here is TAPI VB sample code, much info, and a demo/test application called vbTapi.exe: http://www.shrinkwrapvb.com/vbtapi.htm Much commented source code is included here as well as a class which should be portable to VBA. Also, note that many (all?) IP phones do have a web interface. At that of the Snom phones: http://www.snom.com you can type a number to dial and the phone will dial this number just like that. I guess you could wrap that into a function which could be much simpler than the TAPI thing but with no feedback. /gustav -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From darsant at gmail.com Tue Jun 28 17:19:07 2005 From: darsant at gmail.com (Josh McFarlane) Date: Tue, 28 Jun 2005 17:19:07 -0500 Subject: [AccessD] Can I spell check an unbound field? In-Reply-To: <20050628213818.23178.qmail@web33112.mail.mud.yahoo.com> References: <6.2.1.2.0.20050629075956.02c88b70@mail.dalyn.co.nz> <20050628213818.23178.qmail@web33112.mail.mud.yahoo.com> Message-ID: <53c8e05a050628151945a82603@mail.gmail.com> On 6/28/05, Lonnie Johnson wrote: > I think the answer is no, but there is always a guru with a hack. > > I have a form that is unbound. I have a large memo field and I would like to spellcheck that memo field before appending it to the actual recordset that it will go to. > > Can it be done? Is there a way to do it? Yes. However, the method I know involves creating a MicrosoftWord object and piping the text into the document, spellchecking it in word, then returning the mispelled words along with the suggestions. It's a lot of hassle, and someone else might know a better way to use Access's Spellcheck. If you're still interested though, let me know and I'll throw some example code up here. -- Josh McFarlane "Peace cannot be kept by force. It can only be achieved by understanding." -Albert Einstein From bchacc at san.rr.com Tue Jun 28 17:27:29 2005 From: bchacc at san.rr.com (Rocky Smolin - Beach Access Software) Date: Tue, 28 Jun 2005 15:27:29 -0700 Subject: [AccessD] Can I spell check an unbound field? References: <20050628213818.23178.qmail@web33112.mail.mud.yahoo.com> Message-ID: <02bd01c57c30$91ec3ce0$6701a8c0@HAL9004> OK. Here's my hack. Create a table with one field. Bind your form to that table (I'm assuming the form's not bound to a table already. If so I guess you could add this field to the table). Put an invisible text box on your form bound to that field. In the after update event of the text box copy the contents of the unbound text box to the field in the table using DAO. Requery the form so the text is in the invisible text box. Spell check the bound text box. There's got to be an easier way. Stand by for better ideas... Rocky ----- Original Message ----- From: "Lonnie Johnson" To: "Access Developers discussion and problem solving" Sent: Tuesday, June 28, 2005 2:38 PM Subject: [AccessD] Can I spell check an unbound field? >I think the answer is no, but there is always a guru with a hack. > > I have a form that is unbound. I have a large memo field and I would like > to spellcheck that memo field before appending it to the actual recordset > that it will go to. > > Can it be done? > > > > 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 > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > From cfoust at infostatsystems.com Tue Jun 28 18:12:44 2005 From: cfoust at infostatsystems.com (Charlotte Foust) Date: Tue, 28 Jun 2005 16:12:44 -0700 Subject: [AccessD] Can I spell check an unbound field? Message-ID: Public Function SpellCheckField(ctl As Control) 'created by Charlotte Foust 3/27/2000 'runs default spell checker on the control 'passed into the function On Error Resume Next ctl.SelStart = 0 ctl.SelLength = Len(ctl) DoCmd.RunCommand acCmdSpelling End Function 'SpellCheckField(ctl As Control) Charlotte Foust -----Original Message----- From: Lonnie Johnson [mailto:prodevmg at yahoo.com] Sent: Tuesday, June 28, 2005 2:38 PM To: Access Developers discussion and problem solving Subject: [AccessD] Can I spell check an unbound field? I think the answer is no, but there is always a guru with a hack. I have a form that is unbound. I have a large memo field and I would like to spellcheck that memo field before appending it to the actual recordset that it will go to. Can it be done? 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 -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From Developer at UltraDNT.com Tue Jun 28 18:34:51 2005 From: Developer at UltraDNT.com (Steve Conklin (Developer@UltraDNT)) Date: Tue, 28 Jun 2005 19:34:51 -0400 Subject: [AccessD] MS Reporting Services In-Reply-To: <000901c57b72$42bdf280$6401a8c0@laptop1> Message-ID: <001501c57c39$fe22a2b0$640fa8c0@CONKEY2000> They must mean MS's SQL Server Reporting Services. www.microsoft.com/sql/reporting/default.asp Hth Steve -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Joe Hecht Sent: Monday, June 27, 2005 7:45 PM To: 'Access Developers discussion and problem solving' Subject: [AccessD] MS Reporting Services I am sending resumes again. Some one is asking for MS Reporting services. What is it ? Joe Hecht Los Angeles CA -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From bheygood at abestsystems.com Tue Jun 28 20:28:03 2005 From: bheygood at abestsystems.com (Bob Heygood) Date: Tue, 28 Jun 2005 18:28:03 -0700 Subject: [AccessD] ole Excel in Access report In-Reply-To: <123701F54509D9119A4F00D0B747349016D7BA@main2.marlow.com> Message-ID: Hello to the list, I would like to display some Excel sheets in an Access report. I have been successful in getting one page of one sheet of a workbook in an unbound ole control. Does someone have an example of how I can place all of a workbook including all sheets and all pages of each sheet in my report? This does not have to be "linked", but would be nice. Size of the database is not a consideration, so embedding is ok. best, bob From carbonnb at gmail.com Tue Jun 28 21:42:15 2005 From: carbonnb at gmail.com (Bryan Carbonnell) Date: Tue, 28 Jun 2005 22:42:15 -0400 Subject: [AccessD] Saving string > 256 chars in field In-Reply-To: <6.2.1.2.0.20050629075956.02c88b70@mail.dalyn.co.nz> References: <123701F54509D9119A4F00D0B747349016D7BA@main2.marlow.com> <6.2.1.2.0.20050629075956.02c88b70@mail.dalyn.co.nz> Message-ID: On 6/28/05, David Emerson wrote: > It was the databaseadvisors.com website. It was available again later in > the day. Interesting. I'll see what I can see about why it was down. -- 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 dba.email at gmail.com Wed Jun 29 07:39:34 2005 From: dba.email at gmail.com (Admin Sparky) Date: Wed, 29 Jun 2005 08:39:34 -0400 Subject: [AccessD] Shell /cmd Message-ID: <5f2de24205062905391412a283@mail.gmail.com> Group, Can someone interpret this? This line of code is behind a button on a PowerPoint slide. As I understand it, the purpose of the button is to allow the user to acknowledge that they have read the material. This acknowledgement is tracked by an entry into a database. What exactly is happening here? They are obviously checking for an Access version...but what I'm looking for is a short explanation as to how this line of code is shelling out to Access and making an entry into a tracking database. What am I missing? Watch for major line wrap. Thanks for any enlightenment, Mark Private Sub CommandButton2_Click() If InStr(1, Me.Application.Version, "11", vbTextCompare) Then Shell ("C:\Program Files\Microsoft Office\Office11\MSAccess.exe ""G:\Quality_Plan\DocuTracker\docutracker.mdb"" /cmd ""G:\Quality_Plan\DocuTracker\E15Insight\2-10 (E12 Info).pps""") ElseIf InStr(1, Me.Application.Version, "10", vbTextCompare) Then Shell ("C:\Program Files\Microsoft Office\Office10\MSAccess.exe ""G:\Quality_Plan\DocuTracker\docutracker.mdb"" /cmd ""G:\Quality_Plan\DocuTracker\E15Insight\2-10 (E12 Info).pps""") Else MsgBox "Old Office version. Not Recorded. Contact admin for help.", vbCritical + vbOKOnly End If Me.Application.Quit End Sub From dba.email at gmail.com Wed Jun 29 07:59:39 2005 From: dba.email at gmail.com (Admin Sparky) Date: Wed, 29 Jun 2005 08:59:39 -0400 Subject: [AccessD] Re: Shell /cmd In-Reply-To: <5f2de24205062905391412a283@mail.gmail.com> References: <5f2de24205062905391412a283@mail.gmail.com> Message-ID: <5f2de2420506290559661d15ee@mail.gmail.com> Thanks anyway...found it. This was one of those situations where it didn't matter how simple the concept was...I had just never seen it or had a need for it. "When Microsoft Access is launched from the command line, any portion of the command line that follows the /cmd option is passed to the program as the command-line argument. You can use the Command function to return the argument that has been passed." Mark On 6/29/05, Admin Sparky wrote: > Group, > > Can someone interpret this? This line of code is behind a button on a > PowerPoint slide. As I understand it, the purpose of the button is to > allow the user to acknowledge that they have read the material. This > acknowledgement is tracked by an entry into a database. What exactly > is happening here? They are obviously checking for an Access > version...but what I'm looking for is a short explanation as to how > this line of code is shelling out to Access and making an entry into a > tracking database. What am I missing? > > Watch for major line wrap. > > Thanks for any enlightenment, > > Mark > > > Private Sub CommandButton2_Click() > If InStr(1, Me.Application.Version, "11", vbTextCompare) Then > Shell ("C:\Program Files\Microsoft > Office\Office11\MSAccess.exe > ""G:\Quality_Plan\DocuTracker\docutracker.mdb"" /cmd > ""G:\Quality_Plan\DocuTracker\E15Insight\2-10 (E12 Info).pps""") > ElseIf InStr(1, Me.Application.Version, "10", vbTextCompare) Then > Shell ("C:\Program Files\Microsoft > Office\Office10\MSAccess.exe > ""G:\Quality_Plan\DocuTracker\docutracker.mdb"" /cmd > ""G:\Quality_Plan\DocuTracker\E15Insight\2-10 (E12 Info).pps""") > Else > MsgBox "Old Office version. Not Recorded. Contact admin for > help.", vbCritical + vbOKOnly > End If > Me.Application.Quit > End Sub > > From mikedorism at verizon.net Wed Jun 29 08:08:07 2005 From: mikedorism at verizon.net (Mike & Doris Manning) Date: Wed, 29 Jun 2005 09:08:07 -0400 Subject: [AccessD] Shell /cmd In-Reply-To: <5f2de24205062905391412a283@mail.gmail.com> Message-ID: <000501c57cab$980a2260$2f01a8c0@hargrove.internal> Check the database for an AutoExec macro that runs at startup. You will probably find the missing pieces there. Doris Manning Database Administrator Hargrove Inc. www.hargroveinc.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Admin Sparky Sent: Wednesday, June 29, 2005 8:40 AM To: accessd at databaseadvisors.com Subject: [AccessD] Shell /cmd Group, Can someone interpret this? This line of code is behind a button on a PowerPoint slide. As I understand it, the purpose of the button is to allow the user to acknowledge that they have read the material. This acknowledgement is tracked by an entry into a database. What exactly is happening here? They are obviously checking for an Access version...but what I'm looking for is a short explanation as to how this line of code is shelling out to Access and making an entry into a tracking database. What am I missing? Watch for major line wrap. Thanks for any enlightenment, Mark Private Sub CommandButton2_Click() If InStr(1, Me.Application.Version, "11", vbTextCompare) Then Shell ("C:\Program Files\Microsoft Office\Office11\MSAccess.exe ""G:\Quality_Plan\DocuTracker\docutracker.mdb"" /cmd ""G:\Quality_Plan\DocuTracker\E15Insight\2-10 (E12 Info).pps""") ElseIf InStr(1, Me.Application.Version, "10", vbTextCompare) Then Shell ("C:\Program Files\Microsoft Office\Office10\MSAccess.exe ""G:\Quality_Plan\DocuTracker\docutracker.mdb"" /cmd ""G:\Quality_Plan\DocuTracker\E15Insight\2-10 (E12 Info).pps""") Else MsgBox "Old Office version. Not Recorded. Contact admin for help.", vbCritical + vbOKOnly End If Me.Application.Quit End Sub -- 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 Jun 29 08:34:56 2005 From: John.Clark at niagaracounty.com (John Clark) Date: Wed, 29 Jun 2005 09:34:56 -0400 Subject: [AccessD] Changing table values via code Message-ID: Hi everybody...long time since I've asked a question here, but I find myself needing help again. I am working on a db for a payroll dept. One of the things I need to do for them is to keep a running total for time off. Basically each employee will have a record in a table with fields for vacation, personal, sick, etc., and I need to do two things with these numbers. I need to add to these totals at the beginning of each years, as they earn more time. And, I need to subtract from these totals as they use their time. So, when a payroll clerk enters a value of 7 hrs vacation for an employee on a given day, I need to subtract seven from their total vacation hours. Both of these will be done via code, at the time of the change, but I have never done this before. I would appreciate any direction you could offer. Thank you John W Clark From darsant at gmail.com Wed Jun 29 08:44:37 2005 From: darsant at gmail.com (Josh McFarlane) Date: Wed, 29 Jun 2005 08:44:37 -0500 Subject: [AccessD] Changing table values via code In-Reply-To: References: Message-ID: <53c8e05a050629064429623988@mail.gmail.com> On 6/29/05, John Clark wrote: > Hi everybody...long time since I've asked a question here, but I find > myself needing help again. > > I am working on a db for a payroll dept. One of the things I need to do > for them is to keep a running total for time off. Basically each > employee will have a record in a table with fields for vacation, > personal, sick, etc., and I need to do two things with these numbers. I > need to add to these totals at the beginning of each years, as they earn > more time. And, I need to subtract from these totals as they use their > time. So, when a payroll clerk enters a value of 7 hrs vacation for an > employee on a given day, I need to subtract seven from their total > vacation hours. > > Both of these will be done via code, at the time of the change, but I > have never done this before. I would appreciate any direction you could > offer. Well, it depends on how you're looking to do it, but you can self-reference to get the effect you're looking for in the format of X = X - Y rs.Fields("VacationTime") = rs.Fields("VacationTime") - nhoursUsed or if you have both values form named nVacationTime (bound) and nHoursUsed (could be unbound or bound) nVacationTime = nVacationTime - nHoursUsed -- HTH Josh McFarlane "Peace cannot be kept by force. It can only be achieved by understanding." -Albert Einstein From cyx5 at cdc.gov Wed Jun 29 08:47:32 2005 From: cyx5 at cdc.gov (Nicholson, Karen) Date: Wed, 29 Jun 2005 09:47:32 -0400 Subject: [AccessD] Changing table values via code Message-ID: Is there a reason why you need to store a calculated field in a field? Does this need to be displayed on a form? On a report? -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of John Clark Sent: Wednesday, June 29, 2005 9:35 AM To: accessd at databaseadvisors.com Subject: [AccessD] Changing table values via code Hi everybody...long time since I've asked a question here, but I find myself needing help again. I am working on a db for a payroll dept. One of the things I need to do for them is to keep a running total for time off. Basically each employee will have a record in a table with fields for vacation, personal, sick, etc., and I need to do two things with these numbers. I need to add to these totals at the beginning of each years, as they earn more time. And, I need to subtract from these totals as they use their time. So, when a payroll clerk enters a value of 7 hrs vacation for an employee on a given day, I need to subtract seven from their total vacation hours. Both of these will be done via code, at the time of the change, but I have never done this before. I would appreciate any direction you could offer. 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 Jun 29 09:05:21 2005 From: John.Clark at niagaracounty.com (John Clark) Date: Wed, 29 Jun 2005 10:05:21 -0400 Subject: [AccessD] Changing table values via code Message-ID: I just need to keep a running tally of time off. An employee may call up and say, "How much vacation time do I have?" They need to look this up and give a quick answer. Also, yes, I will be putting these on a report(s), as well. >>> cyx5 at cdc.gov 6/29/2005 9:47:32 AM >>> Is there a reason why you need to store a calculated field in a field? Does this need to be displayed on a form? On a report? -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of John Clark Sent: Wednesday, June 29, 2005 9:35 AM To: accessd at databaseadvisors.com Subject: [AccessD] Changing table values via code Hi everybody...long time since I've asked a question here, but I find myself needing help again. I am working on a db for a payroll dept. One of the things I need to do for them is to keep a running total for time off. Basically each employee will have a record in a table with fields for vacation, personal, sick, etc., and I need to do two things with these numbers. I need to add to these totals at the beginning of each years, as they earn more time. And, I need to subtract from these totals as they use their time. So, when a payroll clerk enters a value of 7 hrs vacation for an employee on a given day, I need to subtract seven from their total vacation hours. Both of these will be done via code, at the time of the change, but I have never done this before. I would appreciate any direction you could offer. 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 cyx5 at cdc.gov Wed Jun 29 09:10:28 2005 From: cyx5 at cdc.gov (Nicholson, Karen) Date: Wed, 29 Jun 2005 10:10:28 -0400 Subject: [AccessD] Changing table values via code Message-ID: Put it in a query, grouping my employeeid, totalling by hours offered and hours taken. -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of John Clark Sent: Wednesday, June 29, 2005 10:05 AM To: accessd at databaseadvisors.com Subject: RE: [AccessD] Changing table values via code I just need to keep a running tally of time off. An employee may call up and say, "How much vacation time do I have?" They need to look this up and give a quick answer. Also, yes, I will be putting these on a report(s), as well. >>> cyx5 at cdc.gov 6/29/2005 9:47:32 AM >>> Is there a reason why you need to store a calculated field in a field? Does this need to be displayed on a form? On a report? -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of John Clark Sent: Wednesday, June 29, 2005 9:35 AM To: accessd at databaseadvisors.com Subject: [AccessD] Changing table values via code Hi everybody...long time since I've asked a question here, but I find myself needing help again. I am working on a db for a payroll dept. One of the things I need to do for them is to keep a running total for time off. Basically each employee will have a record in a table with fields for vacation, personal, sick, etc., and I need to do two things with these numbers. I need to add to these totals at the beginning of each years, as they earn more time. And, I need to subtract from these totals as they use their time. So, when a payroll clerk enters a value of 7 hrs vacation for an employee on a given day, I need to subtract seven from their total vacation hours. Both of these will be done via code, at the time of the change, but I have never done this before. I would appreciate any direction you could offer. 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 paul.hartland at fsmail.net Wed Jun 29 09:36:38 2005 From: paul.hartland at fsmail.net (paul.hartland at fsmail.net) Date: Wed, 29 Jun 2005 16:36:38 +0200 (CEST) Subject: [AccessD] Fastest Way To Get Data Field From Recordset Message-ID: <1029086.1120055798615.JavaMail.www@wwinf3002> To all, I have taken over a project and where I would normally use something like strMinPayroll = rsMinPayroll.Fields("LowPayrollNo") it is written as strMinPayroll = rsMinPayroll!LowPayroll Is there a difference in speed with these, i.e. is one more efficient than the other etc.... Thanks in advance for any help on this... Paul Hartland -- Whatever you Wanadoo: http://www.wanadoo.co.uk/time/ This email has been checked for most known viruses - find out more at: http://www.wanadoo.co.uk/help/id/7098.htm From jimdettman at earthlink.net Wed Jun 29 09:44:10 2005 From: jimdettman at earthlink.net (Jim Dettman) Date: Wed, 29 Jun 2005 10:44:10 -0400 Subject: [AccessD] Changing table values via code In-Reply-To: Message-ID: I'd second that. Definitely keep a record of hours earned and hours used. When someone doesn't like the answer they get on what's left, your going to need that detail. Now although it's considered a no-no, you may want keep a summary field in a record and update that every time you write a record into the above table. The approach I like to use though is to always generate a balance by totaling the records, but include the ability to store a "balance forward" record when a purge is done. The balance forward record is a summary of the purged detail. This allows a client to purge the table when performance issues start to creep in, but still maintain a sound relational design. Jim. -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Nicholson, Karen Sent: Wednesday, June 29, 2005 10:10 AM To: Access Developers discussion and problem solving Subject: RE: [AccessD] Changing table values via code Put it in a query, grouping my employeeid, totalling by hours offered and hours taken. -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of John Clark Sent: Wednesday, June 29, 2005 10:05 AM To: accessd at databaseadvisors.com Subject: RE: [AccessD] Changing table values via code I just need to keep a running tally of time off. An employee may call up and say, "How much vacation time do I have?" They need to look this up and give a quick answer. Also, yes, I will be putting these on a report(s), as well. >>> cyx5 at cdc.gov 6/29/2005 9:47:32 AM >>> Is there a reason why you need to store a calculated field in a field? Does this need to be displayed on a form? On a report? -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of John Clark Sent: Wednesday, June 29, 2005 9:35 AM To: accessd at databaseadvisors.com Subject: [AccessD] Changing table values via code Hi everybody...long time since I've asked a question here, but I find myself needing help again. I am working on a db for a payroll dept. One of the things I need to do for them is to keep a running total for time off. Basically each employee will have a record in a table with fields for vacation, personal, sick, etc., and I need to do two things with these numbers. I need to add to these totals at the beginning of each years, as they earn more time. And, I need to subtract from these totals as they use their time. So, when a payroll clerk enters a value of 7 hrs vacation for an employee on a given day, I need to subtract seven from their total vacation hours. Both of these will be done via code, at the time of the change, but I have never done this before. I would appreciate any direction you could offer. 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 cfoust at infostatsystems.com Wed Jun 29 09:46:47 2005 From: cfoust at infostatsystems.com (Charlotte Foust) Date: Wed, 29 Jun 2005 07:46:47 -0700 Subject: [AccessD] Fastest Way To Get Data Field From Recordset Message-ID: The first option is the slowest way. Charlotte Foust -----Original Message----- From: paul.hartland at fsmail.net [mailto:paul.hartland at fsmail.net] Sent: Wednesday, June 29, 2005 7:37 AM To: accessd Subject: [AccessD] Fastest Way To Get Data Field From Recordset To all, I have taken over a project and where I would normally use something like strMinPayroll = rsMinPayroll.Fields("LowPayrollNo") it is written as strMinPayroll = rsMinPayroll!LowPayroll Is there a difference in speed with these, i.e. is one more efficient than the other etc.... Thanks in advance for any help on this... Paul Hartland -- Whatever you Wanadoo: http://www.wanadoo.co.uk/time/ This email has been checked for most known viruses - find out more at: http://www.wanadoo.co.uk/help/id/7098.htm -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From dwaters at usinternet.com Wed Jun 29 09:47:16 2005 From: dwaters at usinternet.com (Dan Waters) Date: Wed, 29 Jun 2005 07:47:16 -0700 Subject: [AccessD] Can I spell check an unbound field? In-Reply-To: <10044712.1119996830027.JavaMail.root@sniper14> Message-ID: <000001c57cb9$725cde50$0718820a@danwaters> Lonnie, Charlotte's code is what I was going to suggest. Dan Waters -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Dan Waters Sent: Tuesday, June 28, 2005 3:11 PM To: 'Access Developers discussion and problem solving' Subject: RE: [AccessD] Can I spell check an unbound field? Lonnie, Yes! But I'll have to get back to you in a few hours. Dan Waters -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Lonnie Johnson Sent: Tuesday, June 28, 2005 2:38 PM To: Access Developers discussion and problem solving Subject: [AccessD] Can I spell check an unbound field? I think the answer is no, but there is always a guru with a hack. I have a form that is unbound. I have a large memo field and I would like to spellcheck that memo field before appending it to the actual recordset that it will go to. Can it be done? 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 -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From Chris.Foote at uk.thalesgroup.com Wed Jun 29 09:50:49 2005 From: Chris.Foote at uk.thalesgroup.com (Foote, Chris) Date: Wed, 29 Jun 2005 15:50:49 +0100 Subject: [AccessD] Fastest Way To Get Data Field From Recordset Message-ID: <97CF276BD8C6D4119C4B00508BB18DE709E0C7F7@ntscxch1.int.rdel.co.uk> But it presumably will not die if someone has (cough) used a space in the name Charlotte? Regards Chris Foote - UK > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Charlotte > Foust > Sent: Wednesday, June 29, 2005 3:47 PM > To: Access Developers discussion and problem solving > Subject: RE: [AccessD] Fastest Way To Get Data Field From Recordset > > > The first option is the slowest way. > > Charlotte Foust > > > -----Original Message----- > From: paul.hartland at fsmail.net [mailto:paul.hartland at fsmail.net] > Sent: Wednesday, June 29, 2005 7:37 AM > To: accessd > Subject: [AccessD] Fastest Way To Get Data Field From Recordset > > > To all, > > I have taken over a project and where I would normally use something > like > > strMinPayroll = rsMinPayroll.Fields("LowPayrollNo") > > it is written as > > strMinPayroll = rsMinPayroll!LowPayroll > > Is there a difference in speed with these, i.e. is one more efficient > than the other etc.... > > Thanks in advance for any help on this... > > Paul Hartland From paul.hartland at fsmail.net Wed Jun 29 09:55:37 2005 From: paul.hartland at fsmail.net (paul.hartland at fsmail.net) Date: Wed, 29 Jun 2005 16:55:37 +0200 (CEST) Subject: [AccessD] Fastest Way To Get Data Field From Recordset Message-ID: <5968352.1120056937594.JavaMail.www@wwinf3002> I think you get round that by using the square brakcets rsMinPayroll![LowPayroll] Message date : Jun 29 2005, 03:53 PM >From : "Foote, Chris" To : "'Access Developers discussion and problem solving'" Copy to : Subject : RE: [AccessD] Fastest Way To Get Data Field From Recordset But it presumably will not die if someone has (cough) used a space in the name Charlotte? Regards Chris Foote - UK > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Charlotte > Foust > Sent: Wednesday, June 29, 2005 3:47 PM > To: Access Developers discussion and problem solving > Subject: RE: [AccessD] Fastest Way To Get Data Field From Recordset > > > The first option is the slowest way. > > Charlotte Foust > > > -----Original Message----- > From: paul.hartland at fsmail.net [mailto:paul.hartland at fsmail.net] > Sent: Wednesday, June 29, 2005 7:37 AM > To: accessd > Subject: [AccessD] Fastest Way To Get Data Field From Recordset > > > To all, > > I have taken over a project and where I would normally use something > like > > strMinPayroll = rsMinPayroll.Fields("LowPayrollNo") > > it is written as > > strMinPayroll = rsMinPayroll!LowPayroll > > Is there a difference in speed with these, i.e. is one more efficient > than the other etc.... > > Thanks in advance for any help on this... > > Paul Hartland -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- Whatever you Wanadoo: http://www.wanadoo.co.uk/time/ This email has been checked for most known viruses - find out more at: http://www.wanadoo.co.uk/help/id/7098.htm From rl_stewart at highstream.net Wed Jun 29 09:58:43 2005 From: rl_stewart at highstream.net (Robert L. Stewart) Date: Wed, 29 Jun 2005 09:58:43 -0500 Subject: [AccessD] Re: Normalizing issue In-Reply-To: <200506281700.j5SH0ER29043@databaseadvisors.com> References: <200506281700.j5SH0ER29043@databaseadvisors.com> Message-ID: <6.2.1.2.2.20050629095814.03357d20@pop3.highstream.net> I thought that was what I said. :-) At 12:00 PM 6/28/2005, you wrote: >Date: Mon, 27 Jun 2005 16:35:57 -0400 >From: "Susan Harkins" >Subject: RE: [AccessD] Re: Normalizing issue >To: "'Access Developers discussion and problem solving'" > >Message-ID: <20050627203557.KNJH29052.ibm68aec.bellsouth.net at SUSANONE> >Content-Type: text/plain; charset="US-ASCII" > >I think I've decided on a simple "people" table -- with a mtm related table >that describes their role in any publication. Seems to make the most sense >at this point. > >Susan H. > >Or, you could add a table for related parties and carry their role in that >table. Then you can get all the co-authors and illustrators, reviewers, >etc. > >tblPublicationRelatedParty >PublicationRelatedPartyID >PublicationID >PartyID >RoleID From rl_stewart at highstream.net Wed Jun 29 09:59:49 2005 From: rl_stewart at highstream.net (Robert L. Stewart) Date: Wed, 29 Jun 2005 09:59:49 -0500 Subject: [AccessD] Re: MS Reporting Services In-Reply-To: <200506281700.j5SH0ER29043@databaseadvisors.com> References: <200506281700.j5SH0ER29043@databaseadvisors.com> Message-ID: <6.2.1.2.2.20050629095902.03357a90@pop3.highstream.net> Joe, It is an addition onto SQL Server. You need to use .Net to be able to take advantage of it. Robert At 12:00 PM 6/28/2005, you wrote: >Date: Mon, 27 Jun 2005 16:45:11 -0700 >From: "Joe Hecht" >Subject: [AccessD] MS Reporting Services >To: "'Access Developers discussion and problem solving'" > >Message-ID: <000901c57b72$42bdf280$6401a8c0 at laptop1> >Content-Type: text/plain; charset="us-ascii" > >I am sending resumes again. Some one is asking for MS Reporting services. > >What is it ? > >Joe Hecht From DWUTKA at marlow.com Wed Jun 29 10:00:52 2005 From: DWUTKA at marlow.com (DWUTKA at marlow.com) Date: Wed, 29 Jun 2005 10:00:52 -0500 Subject: [AccessD] Changing table values via code Message-ID: <123701F54509D9119A4F00D0B747349016D7C2@main2.marlow.com> Just a thought John, but I would recommend that you don't actually change a value in a record to do this. Instead, make it a transaction table. For example: tblVacationHours VHTransactionID (AutoNumber) EmployeeID (foriegn key) NumberOfHours (Long, or Currency if there could be hour 'portions') TransactionTimeStamp (Date/Time) Now, you could add a third field that would determine the type of transaction, ie, a credit or a debit, or you could simply use positive or negative values for the NumberOfHours fields. Either way, to determine the employees total current number of vacation hours, simply sum NumberOfHours for their Employee ID. I would strongly recommend this method, because if you simply allow someone to change a value, there is no record of what was changed. So if a payroll clerk goofs and removes an extra day or two, there is no record to see what it was before, and when it was changed. With a transaction log (which is summed for the totals), you can see what was entered, and when, so when someone took a Monday off, and the transaction shows 80 hours, instead of 8, you can simply fix that transaction, or add new transactions to compensate. Drew -----Original Message----- From: John Clark [mailto:John.Clark at niagaracounty.com] Sent: Wednesday, June 29, 2005 8:35 AM To: accessd at databaseadvisors.com Subject: [AccessD] Changing table values via code Hi everybody...long time since I've asked a question here, but I find myself needing help again. I am working on a db for a payroll dept. One of the things I need to do for them is to keep a running total for time off. Basically each employee will have a record in a table with fields for vacation, personal, sick, etc., and I need to do two things with these numbers. I need to add to these totals at the beginning of each years, as they earn more time. And, I need to subtract from these totals as they use their time. So, when a payroll clerk enters a value of 7 hrs vacation for an employee on a given day, I need to subtract seven from their total vacation hours. Both of these will be done via code, at the time of the change, but I have never done this before. I would appreciate any direction you could offer. 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 at winhaven.net Wed Jun 29 10:13:22 2005 From: john at winhaven.net (John Bartow) Date: Wed, 29 Jun 2005 10:13:22 -0500 Subject: [AccessD] Publish it with MS Word Message-ID: <200506291513.j5TFDPlw301022@pimout4-ext.prodigy.net> I need a quick one here... I have to add a command button to an old A97 app that will output a report right into to Word (rtf). I can't find my code snippet for doing the "Publish it with MS Word" in VBA. Anyone have it handy? TIA John B. From artful at rogers.com Wed Jun 29 10:27:36 2005 From: artful at rogers.com (Arthur Fuller) Date: Wed, 29 Jun 2005 11:27:36 -0400 Subject: [AccessD] MS Reporting Services In-Reply-To: <000901c57b72$42bdf280$6401a8c0@laptop1> Message-ID: <200506291527.j5TFRcR03483@databaseadvisors.com> You can download it from MS. Think of it as an Object-Oriented report writer designed for use with the DotNET stuff (and others). It is seriously powerful and a long way past the Access report tool, IMO. But report writers are in a sense pretty much all the same, especially at the lower levels. Where they begin to differ, and shine, is in the difficult stuff. You should grab a copy from MS and take it for a spin. From your previous posts I am confident that MS-RS will take you about a day to master. A. -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Joe Hecht Sent: June 27, 2005 7:45 PM To: 'Access Developers discussion and problem solving' Subject: [AccessD] MS Reporting Services I am sending resumes again. Some one is asking for MS Reporting services. What is it ? Joe Hecht Los Angeles CA -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From cfoust at infostatsystems.com Wed Jun 29 10:36:29 2005 From: cfoust at infostatsystems.com (Charlotte Foust) Date: Wed, 29 Jun 2005 08:36:29 -0700 Subject: [AccessD] Fastest Way To Get Data Field From Recordset Message-ID: If they do, they should be Colbyized! Charlotte Foust -----Original Message----- From: Foote, Chris [mailto:Chris.Foote at uk.thalesgroup.com] Sent: Wednesday, June 29, 2005 7:51 AM To: 'Access Developers discussion and problem solving' Subject: RE: [AccessD] Fastest Way To Get Data Field From Recordset But it presumably will not die if someone has (cough) used a space in the name Charlotte? Regards Chris Foote - UK > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Charlotte > Foust > Sent: Wednesday, June 29, 2005 3:47 PM > To: Access Developers discussion and problem solving > Subject: RE: [AccessD] Fastest Way To Get Data Field From Recordset > > > The first option is the slowest way. > > Charlotte Foust > > > -----Original Message----- > From: paul.hartland at fsmail.net [mailto:paul.hartland at fsmail.net] > Sent: Wednesday, June 29, 2005 7:37 AM > To: accessd > Subject: [AccessD] Fastest Way To Get Data Field From Recordset > > > To all, > > I have taken over a project and where I would normally use something > like > > strMinPayroll = rsMinPayroll.Fields("LowPayrollNo") > > it is written as > > strMinPayroll = rsMinPayroll!LowPayroll > > Is there a difference in speed with these, i.e. is one more efficient > than the other etc.... > > Thanks in advance for any help on this... > > Paul Hartland -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From artful at rogers.com Wed Jun 29 10:41:49 2005 From: artful at rogers.com (Arthur Fuller) Date: Wed, 29 Jun 2005 11:41:49 -0400 Subject: [AccessD] Can I spell check an unbound field? In-Reply-To: Message-ID: <200506291541.j5TFfiR06762@databaseadvisors.com> You a slick chick, Charlotte! Very nice! -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Charlotte Foust Sent: June 28, 2005 7:13 PM To: Access Developers discussion and problem solving Subject: RE: [AccessD] Can I spell check an unbound field? Public Function SpellCheckField(ctl As Control) 'created by Charlotte Foust 3/27/2000 'runs default spell checker on the control 'passed into the function On Error Resume Next ctl.SelStart = 0 ctl.SelLength = Len(ctl) DoCmd.RunCommand acCmdSpelling End Function 'SpellCheckField(ctl As Control) Charlotte Foust -----Original Message----- From: Lonnie Johnson [mailto:prodevmg at yahoo.com] Sent: Tuesday, June 28, 2005 2:38 PM To: Access Developers discussion and problem solving Subject: [AccessD] Can I spell check an unbound field? I think the answer is no, but there is always a guru with a hack. I have a form that is unbound. I have a large memo field and I would like to spellcheck that memo field before appending it to the actual recordset that it will go to. Can it be done? 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 -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd 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 Jun 29 10:44:55 2005 From: cfoust at infostatsystems.com (Charlotte Foust) Date: Wed, 29 Jun 2005 08:44:55 -0700 Subject: [AccessD] Publish it with MS Word Message-ID: >From the Help file: The following example outputs the Employees table in rich-text format (.rtf) to the Employee.rtf file and immediately opens the file in Microsoft Word for Windows. DoCmd.OutputTo acOutputTable, "Employees", _ acFormatRTF, "Employee.rtf", True Charlotte Foust -----Original Message----- From: John Bartow [mailto:john at winhaven.net] Sent: Wednesday, June 29, 2005 8:13 AM To: _DBA-Access Subject: [AccessD] Publish it with MS Word I need a quick one here... I have to add a command button to an old A97 app that will output a report right into to Word (rtf). I can't find my code snippet for doing the "Publish it with MS Word" in VBA. Anyone have it handy? TIA John B. -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From cfoust at infostatsystems.com Wed Jun 29 11:45:18 2005 From: cfoust at infostatsystems.com (Charlotte Foust) Date: Wed, 29 Jun 2005 09:45:18 -0700 Subject: [AccessD] Can I spell check an unbound field? Message-ID: Charlotte Foust -----Original Message----- From: Arthur Fuller [mailto:artful at rogers.com] Sent: Wednesday, June 29, 2005 8:42 AM To: 'Access Developers discussion and problem solving' Subject: RE: [AccessD] Can I spell check an unbound field? You a slick chick, Charlotte! Very nice! -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Charlotte Foust Sent: June 28, 2005 7:13 PM To: Access Developers discussion and problem solving Subject: RE: [AccessD] Can I spell check an unbound field? Public Function SpellCheckField(ctl As Control) 'created by Charlotte Foust 3/27/2000 'runs default spell checker on the control 'passed into the function On Error Resume Next ctl.SelStart = 0 ctl.SelLength = Len(ctl) DoCmd.RunCommand acCmdSpelling End Function 'SpellCheckField(ctl As Control) Charlotte Foust -----Original Message----- From: Lonnie Johnson [mailto:prodevmg at yahoo.com] Sent: Tuesday, June 28, 2005 2:38 PM To: Access Developers discussion and problem solving Subject: [AccessD] Can I spell check an unbound field? I think the answer is no, but there is always a guru with a hack. I have a form that is unbound. I have a large memo field and I would like to spellcheck that memo field before appending it to the actual recordset that it will go to. Can it be done? 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 -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd 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 Jun 29 12:02:31 2005 From: jmhecht at earthlink.net (Joe Hecht) Date: Wed, 29 Jun 2005 10:02:31 -0700 Subject: [AccessD] Can I spell check an unbound field? In-Reply-To: <200506291541.j5TFfiR06762@databaseadvisors.com> Message-ID: <000001c57ccc$56bff340$6401a8c0@laptop1> Second Joe Hecht Los Angeles CA -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Arthur Fuller Sent: Wednesday, June 29, 2005 8:42 AM To: access at joe2.endjunk.com; 'Access Developers discussion and problem solving' Subject: RE: [AccessD] Can I spell check an unbound field? You a slick chick, Charlotte! Very nice! -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Charlotte Foust Sent: June 28, 2005 7:13 PM To: Access Developers discussion and problem solving Subject: RE: [AccessD] Can I spell check an unbound field? Public Function SpellCheckField(ctl As Control) 'created by Charlotte Foust 3/27/2000 'runs default spell checker on the control 'passed into the function On Error Resume Next ctl.SelStart = 0 ctl.SelLength = Len(ctl) DoCmd.RunCommand acCmdSpelling End Function 'SpellCheckField(ctl As Control) Charlotte Foust -----Original Message----- From: Lonnie Johnson [mailto:prodevmg at yahoo.com] Sent: Tuesday, June 28, 2005 2:38 PM To: Access Developers discussion and problem solving Subject: [AccessD] Can I spell check an unbound field? I think the answer is no, but there is always a guru with a hack. I have a form that is unbound. I have a large memo field and I would like to spellcheck that memo field before appending it to the actual recordset that it will go to. Can it be done? 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 -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd 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 Jun 29 12:21:16 2005 From: Lambert.Heenan at AIG.com (Heenan, Lambert) Date: Wed, 29 Jun 2005 13:21:16 -0400 Subject: [AccessD] Fastest Way To Get Data Field From Recordset Message-ID: <1D7828CDB8350747AFE9D69E0E90DA1F1223BE60@xlivmbx21.aig.com> How slow is slow? There are at least three ways to access a field in a recordset via VB. Rs!FieldName Rs.Fields("FieldName") and Rs("FieldName") Each of these in turn has two variations. You can use Rs.this Rs.that Rs.thenextthing Or you can write With Rs .this .that .thenextthing End With The use of With / End With used to be recommended by MS as when you referenced the Rs object Access would apparently refresh its collections, including the collection of recordsets, and this slowed execution. Using with/end with cuts the number of references to Rs down to one. It also reduces the amount of typing that has to be done. However. I just did some testing in Access 2002, and is seems the alleged speed benefit of with/end with does not happen. Perhaps the whole collection refresh issue has been fixed now. Which leaves us with the question of which syntax *is* faster? I ran some tests and the results suggest that it does not make any damned difference. See below... The code that produces these results simply opens a recordset and then accesses each record in turn, pulling the value of one field from each record. NOT using With Rs ----------------- 1/ Using Rs.Fields('FieldName') Time to access 683200 records: 4.414063 Seconds ----------------- 2/ Using Rs!FieldName Time to access 683200 records: 4.4375 Seconds ----------------- 3/ Using With and .Fields('FieldName') Time to access 683200 records: 4.347656 Seconds ----------------- 4/ Using With and rs('FieldName') Time to access 683200 records: 4.425781 Seconds ----------------- 5/ Using With and rs!FieldName Time to access 683200 records: 4.34375 Seconds So when looping through 680k records it seems like only a few milliseconds are available to be gained. If you only want to look at one record in a piece of code then we are approaching quibbling over nanoseconds. Lambert -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Charlotte Foust Sent: Wednesday, June 29, 2005 10:47 AM To: Access Developers discussion and problem solving Subject: RE: [AccessD] Fastest Way To Get Data Field From Recordset The first option is the slowest way. Charlotte Foust -----Original Message----- From: paul.hartland at fsmail.net [mailto:paul.hartland at fsmail.net] Sent: Wednesday, June 29, 2005 7:37 AM To: accessd Subject: [AccessD] Fastest Way To Get Data Field From Recordset To all, I have taken over a project and where I would normally use something like strMinPayroll = rsMinPayroll.Fields("LowPayrollNo") it is written as strMinPayroll = rsMinPayroll!LowPayroll Is there a difference in speed with these, i.e. is one more efficient than the other etc.... Thanks in advance for any help on this... Paul Hartland -- Whatever you Wanadoo: http://www.wanadoo.co.uk/time/ This email has been checked for most known viruses - find out more at: http://www.wanadoo.co.uk/help/id/7098.htm -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd 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 Jun 29 14:53:24 2005 From: john at winhaven.net (John Bartow) Date: Wed, 29 Jun 2005 14:53:24 -0500 Subject: [AccessD] Publish it with MS Word In-Reply-To: Message-ID: <200506291953.j5TJrSGY138252@pimout1-ext.prodigy.net> Thanks Charlotte, That got me where I needed to go. I'm really rushed right now and even with the good 'ol A97 help it doesn't work well when you're under extreme pressure! John B. -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Charlotte Foust Sent: Wednesday, June 29, 2005 10:45 AM To: Access Developers discussion and problem solving Subject: RE: [AccessD] Publish it with MS Word >From the Help file: The following example outputs the Employees table in rich-text format (.rtf) to the Employee.rtf file and immediately opens the file in Microsoft Word for Windows. DoCmd.OutputTo acOutputTable, "Employees", _ acFormatRTF, "Employee.rtf", True Charlotte Foust -----Original Message----- From: John Bartow [mailto:john at winhaven.net] Sent: Wednesday, June 29, 2005 8:13 AM To: _DBA-Access Subject: [AccessD] Publish it with MS Word I need a quick one here... I have to add a command button to an old A97 app that will output a report right into to Word (rtf). I can't find my code snippet for doing the "Publish it with MS Word" in VBA. Anyone have it handy? TIA John B. -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From Jim.Hale at FleetPride.com Wed Jun 29 14:58:58 2005 From: Jim.Hale at FleetPride.com (Hale, Jim) Date: Wed, 29 Jun 2005 14:58:58 -0500 Subject: [AccessD] Storing variable names in a table Message-ID: <6A6AA9DF57E4F046BDA1E273BDDB67723376AA@corp-es01.fleetpride.com> In a class I have created a method that reads query names from a table and opens the appropriate record sets. There may be any number of queries that are run by a single method call. For parameter queries life is more complicated. I created a method which loads the variables into a ParmArray and then sets the query parameters to the correct variable. The problem with this is I can only run one parameter query at a time from my method. a typical call looks like: 'set parameter values Call Xcel.QryParmValues(strareacode, intCo, "AreaActSummaryACT", "dept1", .Worksheets(y).Range("a11")) ' read query names from table and open the recorsets. Xcel.MultiplePasteExcel (119) 119 is the case number so the method knows which the query names to pull from a table. Ideally I would like to store all the parameters for all the queries in a table and extract them as needed. "AreaActSummaryACT", and "dept1" are no problem since they are strings. What I don't know how to do is store variable names such as strareacode, intCo as strings in a table and then assign them the correct value from the procedure all this is running in. Worksheets(y).Range("a11")) will also be a challenge to store in a table (it picks up the parameter value from an Excel worksheet) but I may be able use eval() to create the correct value. If I can solve these problems I will be able to populate Excel workbooks with one method call since all the info needed to create recordsets with data to paste into worksheets will reside in a table. If I can't store the variable names in a table I quess I could expand the QryParmValues method to handle a multi dimensional array but I am not at all sure how to do this either. Any help will be appreciated. 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 mmattys at rochester.rr.com Wed Jun 29 15:28:23 2005 From: mmattys at rochester.rr.com (Michael R Mattys) Date: Wed, 29 Jun 2005 16:28:23 -0400 Subject: [AccessD] invalid number of arguments References: <005a01c57cda$2eeebdc0$fac581d5@pedro> Message-ID: <016f01c57ce9$1a535420$0202a8c0@default> Pedro, I'm really sorry, I didn't see your message. See below for what I was thinking about. It isn't tested, of course, but I think it will do Michael R. Mattys Mattys MapLib for Microsoft MapPoint http://www.mattysconsulting.com > explain the issue with the append query. > When there are new values in the commercial database, > how does the append query [know] which items are new > to append to the tblDebiteur. Commercial DB > DEBSTM > Nummer = Text (but al Id's are numbers) = Primary Key > Adres > Plaats In your autoexec, run this query: qryPedro1 INSERT INTO tblDEBITEUR (DebID, Postadres, Woonplaats) SELECT Clng(Nummer) As DebID, Adres As PostAdres, Plaats As Woonplaats FROM DEBSTM WHERE IN DEBSTM.DebID NOT IN (SELECT tblDEBITEUR.DebID FROM tblDEBITEUR) IN 'C:\Wife.mdb' Your Wife's DB > tblDEBITEUR Add AutoNumber Field Here - It has no meaning, it is an index > DebID = Number (Long Integer) > Postadres > Woonplaats From mmattys at rochester.rr.com Wed Jun 29 15:38:02 2005 From: mmattys at rochester.rr.com (Michael R Mattys) Date: Wed, 29 Jun 2005 16:38:02 -0400 Subject: [AccessD] invalid number of arguments References: <005a01c57cda$2eeebdc0$fac581d5@pedro> <016f01c57ce9$1a535420$0202a8c0@default> Message-ID: <019601c57cea$73c29290$0202a8c0@default> Make that qryPedro1 INSERT INTO tblDEBITEUR (DebID, Postadres, Woonplaats) SELECT Clng(Nummer) As DebID, Adres As PostAdres, Plaats As Woonplaats FROM DEBSTM WHERE DEBSTM.DebID NOT IN (SELECT tblDEBITEUR.DebID FROM tblDEBITEUR) IN 'C:\Wife.mdb' (Note : IN 'C:\Wife.mdb' is either at the end or after DEBSTM, I can't test it at the moment) ---- Michael R. Mattys Mattys MapLib for Microsoft MapPoint http://www.mattysconsulting.com ----- Original Message ----- From: "Michael R Mattys" To: "AccessD" ; "Pedro Janssen" Sent: Wednesday, June 29, 2005 4:28 PM Subject: Re: [AccessD] invalid number of arguments > Pedro, > > I'm really sorry, I didn't see your message. > See below for what I was thinking about. > It isn't tested, of course, but I think it will do > > Michael R. Mattys > Mattys MapLib for Microsoft MapPoint > http://www.mattysconsulting.com > > > > explain the issue with the append query. > > When there are new values in the commercial database, > > how does the append query [know] which items are new > > to append to the tblDebiteur. > > Commercial DB > > DEBSTM > > Nummer = Text (but al Id's are numbers) = Primary Key > > Adres > > Plaats > > In your autoexec, run this query: > > qryPedro1 > INSERT INTO tblDEBITEUR (DebID, Postadres, Woonplaats) > SELECT Clng(Nummer) As DebID, Adres As PostAdres, > Plaats As Woonplaats FROM DEBSTM WHERE IN DEBSTM.DebID > NOT IN (SELECT tblDEBITEUR.DebID FROM tblDEBITEUR) IN > 'C:\Wife.mdb' > > Your Wife's DB > > tblDEBITEUR > Add AutoNumber Field Here - It has no meaning, it is an index > > DebID = Number (Long Integer) > > Postadres > > Woonplaats > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com From jmhecht at earthlink.net Wed Jun 29 16:38:40 2005 From: jmhecht at earthlink.net (Joe Hecht) Date: Wed, 29 Jun 2005 14:38:40 -0700 Subject: [AccessD] Re: MS Reporting Services In-Reply-To: <6.2.1.2.2.20050629095902.03357a90@pop3.highstream.net> Message-ID: <001701c57cf2$eaa88650$6401a8c0@laptop1> Thanks. Not running that yet. Joe Hecht Los Angeles CA -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Robert L. Stewart Sent: Wednesday, June 29, 2005 8:00 AM To: access at joe2.endjunk.com; accessd at databaseadvisors.com Subject: [AccessD] Re: MS Reporting Services Joe, It is an addition onto SQL Server. You need to use .Net to be able to take advantage of it. Robert At 12:00 PM 6/28/2005, you wrote: >Date: Mon, 27 Jun 2005 16:45:11 -0700 >From: "Joe Hecht" >Subject: [AccessD] MS Reporting Services >To: "'Access Developers discussion and problem solving'" > >Message-ID: <000901c57b72$42bdf280$6401a8c0 at laptop1> >Content-Type: text/plain; charset="us-ascii" > >I am sending resumes again. Some one is asking for MS Reporting services. > >What is it ? > >Joe Hecht -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From clh at christopherhawkins.com Wed Jun 29 18:39:47 2005 From: clh at christopherhawkins.com (Christopher Hawkins) Date: Wed, 29 Jun 2005 17:39:47 -0600 Subject: [AccessD] Using Outlook Redemption in Access Message-ID: If you've ever made an Access app that sends eMail, you might be familiar with Outlook Redemption (http://www.dimastr.com/redemption/).? It is a set of COM components that allow you to bypass that messy Outlook dialog that reads "A program is trying to automatically send e-mail on your behalf.? Do you want to allow this?" blah blah blah. I just downloaded Redemption and am unab;e to get it to work.? I'm hoping that someone who has successfully implemented it can help me here. I am using code straight from the Redemption site (http://www.dimastr.com/redemption/objects.htm): [CODE] Private Sub Blah() Dim SafeItem, oItem ??? Set SafeItem = CreateObject("Redemption.SafeMailItem") 'Create an instance of Redemption.SafeMailItem ??? Set oItem = Application.CreateItem(0) 'Create a new message ??? ??? SafeItem.Item = oItem 'set Item property ??? SafeItem.Recipients.Add "clh at christopherhawkins.com" ??? SafeItem.Recipients.ResolveAll ??? SafeItem.Subject = "Testing Redemption" ??? SafeItem.Send End Sub [/CODE] This code is triggered form a button click on a form. When I run the code, I get an error message: "Method or data member not found" The error is on the .CreateItem method in the line that sets oItem to a new item. I've double-checked that the Redemption dll?is registered, and I've made sure it is referenced in the Access file.? I suspect that there is some simple aspect of setup that I'm overlooking. Anybody ever have this same issue? -C- From clh at christopherhawkins.com Wed Jun 29 18:42:55 2005 From: clh at christopherhawkins.com (Christopher Hawkins) Date: Wed, 29 Jun 2005 17:42:55 -0600 Subject: [AccessD] re: Using Outlook Redemption in Access Message-ID: <5007e616e6894aabbf76899919734f9a@christopherhawkins.com> Wait, I sent the wrong code snippet.? here is the one I am using: [code] Private Sub Blah() Dim SafeItem, oItem ??? Set Application = CreateObject("Outlook.Application") ??? Set Namespace = Application.GetNamespace("MAPI") ??? Namespace.Logon ??? Set SafeItem = CreateObject("Redemption.SafeMailItem") 'Create an instance of Redemption.SafeMailItem ??? Set oItem = Application.CreateItem(0) 'Create a new message ??? ??? SafeItem.Item = oItem 'set Item property ??? SafeItem.Recipients.Add "clh at christopherhawkins.com" ??? SafeItem.Recipients.ResolveAll ??? SafeItem.Subject = "Testing Redemption" ??? SafeItem.Send End Sub [/code] Alright, NOW you can tell me what you think.? :) -C- ---------------------------------------- From: "Christopher Hawkins" Sent: Wednesday, June 29, 2005 5:39 PM To: accessd at databaseadvisors.com Subject: Using Outlook Redemption in Access If you've ever made an Access app that sends eMail, you might be familiar with Outlook Redemption (http://www.dimastr.com/redemption/).? It is a set of COM components that allow you to bypass that messy Outlook dialog that reads "A program is trying to automatically send e-mail on your behalf.? Do you want to allow this?" blah blah blah. I just downloaded Redemption and am unab;e to get it to work.? I'm hoping that someone who has successfully implemented it can help me here. I am using code straight from the Redemption site (http://www.dimastr.com/redemption/objects.htm): [CODE] Private Sub Blah() Dim SafeItem, oItem ??? Set SafeItem = CreateObject("Redemption.SafeMailItem") 'Create an instance of Redemption.SafeMailItem ??? Set oItem = Application.CreateItem(0) 'Create a new message ??? ??? SafeItem.Item = oItem 'set Item property ??? SafeItem.Recipients.Add "clh at christopherhawkins.com" ??? SafeItem.Recipients.ResolveAll ??? SafeItem.Subject = "Testing Redemption" ??? SafeItem.Send End Sub [/CODE] This code is triggered form a button click on a form. When I run the code, I get an error message: "Method or data member not found" The error is on the .CreateItem method in the line that sets oItem to a new item. I've double-checked that the Redemption dll?is registered, and I've made sure it is referenced in the Access file.? I suspect that there is some simple aspect of setup that I'm overlooking. Anybody ever have this same issue? -C- From cfoust at infostatsystems.com Wed Jun 29 19:11:28 2005 From: cfoust at infostatsystems.com (Charlotte Foust) Date: Wed, 29 Jun 2005 17:11:28 -0700 Subject: [AccessD] re: Using Outlook Redemption in Access Message-ID: Well, I DID wonder! LOL What exactly are you trying to do with the Application.CreateItem line? The SafeItem object has a text property for the message body. And do you have CDO enabled in Outlook? You need it for early binding a MAPI session. Then you can do something like this: Dim objMAPI as MAPI.Session Dim objMessage as MAPI.Message Dim objRecipient as MAPI.Recipient Then down the line, you can do: SafeItem.Item = objMessage SafeItem.Text = "This is my message" Charlotte Foust -----Original Message----- From: Christopher Hawkins [mailto:clh at christopherhawkins.com] Sent: Wednesday, June 29, 2005 4:43 PM To: accessd at databaseadvisors.com Subject: [AccessD] re: Using Outlook Redemption in Access Wait, I sent the wrong code snippet.? here is the one I am using: [code] Private Sub Blah() Dim SafeItem, oItem ??? Set Application = CreateObject("Outlook.Application") ??? Set Namespace = Application.GetNamespace("MAPI") ??? Namespace.Logon ??? Set SafeItem = CreateObject("Redemption.SafeMailItem") 'Create an instance of Redemption.SafeMailItem ??? Set oItem = Application.CreateItem(0) 'Create a new message ??? ??? SafeItem.Item = oItem 'set Item property ??? SafeItem.Recipients.Add "clh at christopherhawkins.com" ??? SafeItem.Recipients.ResolveAll ??? SafeItem.Subject = "Testing Redemption" ??? SafeItem.Send End Sub [/code] Alright, NOW you can tell me what you think.? :) -C- ---------------------------------------- From: "Christopher Hawkins" Sent: Wednesday, June 29, 2005 5:39 PM To: accessd at databaseadvisors.com Subject: Using Outlook Redemption in Access If you've ever made an Access app that sends eMail, you might be familiar with Outlook Redemption (http://www.dimastr.com/redemption/).? It is a set of COM components that allow you to bypass that messy Outlook dialog that reads "A program is trying to automatically send e-mail on your behalf.? Do you want to allow this?" blah blah blah. I just downloaded Redemption and am unab;e to get it to work.? I'm hoping that someone who has successfully implemented it can help me here. I am using code straight from the Redemption site (http://www.dimastr.com/redemption/objects.htm): [CODE] Private Sub Blah() Dim SafeItem, oItem ??? Set SafeItem = CreateObject("Redemption.SafeMailItem") 'Create an instance of Redemption.SafeMailItem ??? Set oItem = Application.CreateItem(0) 'Create a new message ??? ??? SafeItem.Item = oItem 'set Item property ??? SafeItem.Recipients.Add "clh at christopherhawkins.com" ??? SafeItem.Recipients.ResolveAll ??? SafeItem.Subject = "Testing Redemption" ??? SafeItem.Send End Sub [/CODE] This code is triggered form a button click on a form. When I run the code, I get an error message: "Method or data member not found" The error is on the .CreateItem method in the line that sets oItem to a new item. I've double-checked that the Redemption dll?is registered, and I've made sure it is referenced in the Access file.? I suspect that there is some simple aspect of setup that I'm overlooking. Anybody ever have this same issue? -C- -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From accessd666 at yahoo.com Thu Jun 30 00:34:57 2005 From: accessd666 at yahoo.com (Sad Der) Date: Wed, 29 Jun 2005 22:34:57 -0700 (PDT) Subject: [AccessD] Check date-time problem Message-ID: <20050630053457.99403.qmail@web31610.mail.mud.yahoo.com> Hi group, I've got an ini file with the following values: [PauzeScheduling] StartPauzeAt=21:00 EndPauzeAt=3:00 I've got a 'service' that checks if the Currenttime: dtmCurrentTime = CDate(Format(Time(), "hh:mm")) Is between these values. It worked fine. Settings used to be within a day. Somebody has got to have dealt with this problem before. What is a (very) solid way to handle this problem? Keep in mind that this is a long running schedule (e.g. forever?!) Thnx. SD Here's my code: '========================================================================================= ' Function Name : PauzeScheduling ' Parameters : dtmCurrentTime => Current Time' Return value : (Boolean) True: CurrentTime between scheduled times ' Purpose : Check if current time is within the scheduled times of the ini file ' Assumptions : --- ' Uses : --- ' Created : 2005-Jun-03 08:55, SaDe ' Modifications : '========================================================================================= Public Function PauzeScheduling(dtmCurrentTime As Date) As Boolean Dim dtmStartPauze As Date Dim dtmEndPauze As Date On Error GoTo PauzeScheduling_Error dtmStartPauze = CDate(Format(g_oGenSet.GetValue("PauzeScheduling", "StartPauzeAt"), "HH:mm")) dtmEndPauze = CDate(Format(g_oGenSet.GetValue("PauzeScheduling", "EndPauzeAt"), "hh:mm")) If (dtmCurrentTime > dtmStartPauze) And (dtmCurrentTime < dtmEndPauze) Then PauzeScheduling = True Else PauzeScheduling = False End If PauzeScheduling_Exit: ' Collect your garbage here Exit Function PauzeScheduling_Error: ' Collect your garbage here Call g_oGenErr.Throw("PauzeScheduling.PauzeScheduling", "PauzeScheduling") End Function __________________________________________________ Do You Yahoo!? Tired of spam? Yahoo! Mail has the best spam protection around http://mail.yahoo.com From accessd666 at yahoo.com Thu Jun 30 00:46:32 2005 From: accessd666 at yahoo.com (Sad Der) Date: Wed, 29 Jun 2005 22:46:32 -0700 (PDT) Subject: [AccessD] Storing variable names in a table In-Reply-To: <6A6AA9DF57E4F046BDA1E273BDDB67723376AA@corp-es01.fleetpride.com> Message-ID: <20050630054632.1760.qmail@web31610.mail.mud.yahoo.com> Jim, I'm probably missing the big picture here but i'll give it a try. Suppose you have a table with the following fields: Query (Text) Parameter (Text) ParameterType (Text) It has the values: Query Parameter ParameterType A strareacode String A intCo Integer A "AreaActSummaryACT" String A "dept1" String A .Worksheets(y).Range("a11") Range You could add all parameters and there types in an array Something like this: intCntr = Select count(*) from ParameterTable where Query = "A" dim avarParameter() as variant redim avarparameter(1,intCntr) So now you now how to convert the parameter types. for lngArrayCntr = 0 to UBOUND(avarparameter) ConvertDataType(avarparameter(1,lngArrayCntr) next lngArrayCntr Did I mis it completely? :-) HTH SD --- "Hale, Jim" wrote: > In a class I have created a method that reads query > names from a table and > opens the appropriate record sets. There may be any > number of queries that > are run by a single method call. For parameter > queries life is more > complicated. I created a method which loads the > variables into a ParmArray > and then sets the query parameters to the correct > variable. The problem with > this is I can only run one parameter query at a time > from my method. a > typical call looks like: > > 'set parameter values > Call Xcel.QryParmValues(strareacode, intCo, > "AreaActSummaryACT", "dept1", > .Worksheets(y).Range("a11")) > ' read query names from table and open the > recorsets. > Xcel.MultiplePasteExcel (119) > > 119 is the case number so the method knows which the > query names to pull > from a table. Ideally I would like to store all the > parameters for all the > queries in a table and extract them as needed. > "AreaActSummaryACT", and > "dept1" are no problem since they are strings. What > I don't know how to do > is store variable names such as strareacode, intCo > as strings in a table and > then assign them the correct value from the > procedure all this is running > in. Worksheets(y).Range("a11")) will also be a > challenge to store in a table > (it picks up the parameter value from an Excel > worksheet) but I may be able > use eval() to create the correct value. If I can > solve these problems I will > be able to populate Excel workbooks with one method > call since all the info > needed to create recordsets with data to paste into > worksheets will reside > in a table. If I can't store the variable names in a > table I quess I could > expand the QryParmValues method to handle a multi > dimensional array but I > am not at all sure how to do this either. Any help > will be appreciated. > > 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 > __________________________________________________ Do You Yahoo!? Tired of spam? Yahoo! Mail has the best spam protection around http://mail.yahoo.com From Chris.Foote at uk.thalesgroup.com Thu Jun 30 00:54:42 2005 From: Chris.Foote at uk.thalesgroup.com (Foote, Chris) Date: Thu, 30 Jun 2005 06:54:42 +0100 Subject: [AccessD] Fastest Way To Get Data Field From Recordset Message-ID: <97CF276BD8C6D4119C4B00508BB18DE709E0C7F8@ntscxch1.int.rdel.co.uk> Agreed! Chris Foote - UK > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Charlotte > Foust > Sent: Wednesday, June 29, 2005 4:36 PM > To: Access Developers discussion and problem solving > Subject: RE: [AccessD] Fastest Way To Get Data Field From Recordset > > > If they do, they should be Colbyized! > > Charlotte Foust > > > -----Original Message----- > From: Foote, Chris [mailto:Chris.Foote at uk.thalesgroup.com] > Sent: Wednesday, June 29, 2005 7:51 AM > To: 'Access Developers discussion and problem solving' > Subject: RE: [AccessD] Fastest Way To Get Data Field From Recordset > > > > But it presumably will not die if someone has (cough) used a space in > the name Charlotte? > > Regards > Chris Foote - UK From JRojas at tnco-inc.com Thu Jun 30 08:06:59 2005 From: JRojas at tnco-inc.com (Joe Rojas) Date: Thu, 30 Jun 2005 09:06:59 -0400 Subject: [AccessD] re: Using Outlook Redemption in Access Message-ID: <0CC84C9461AE6445AD5A602001C41C4B05A38E@mercury.tnco-inc.com> Hello, I do use Redemption but I use it for creating and assigning tasks. The problem with your code is that "Application" is a reserved word in Access. Access already has an object named Application. I would rename your "Application" variable to something like OutApplication and then try it. JR -----Original Message----- From: Christopher Hawkins [mailto:clh at christopherhawkins.com] Sent: Wednesday, June 29, 2005 7:43 PM To: accessd at databaseadvisors.com Subject: [AccessD] re: Using Outlook Redemption in Access Wait, I sent the wrong code snippet. here is the one I am using: [code] Private Sub Blah() Dim SafeItem, oItem Set Application = CreateObject("Outlook.Application") Set Namespace = Application.GetNamespace("MAPI") Namespace.Logon Set SafeItem = CreateObject("Redemption.SafeMailItem") 'Create an instance of Redemption.SafeMailItem Set oItem = Application.CreateItem(0) 'Create a new message SafeItem.Item = oItem 'set Item property SafeItem.Recipients.Add "clh at christopherhawkins.com" SafeItem.Recipients.ResolveAll SafeItem.Subject = "Testing Redemption" SafeItem.Send End Sub [/code] Alright, NOW you can tell me what you think. :) -C- ---------------------------------------- From: "Christopher Hawkins" Sent: Wednesday, June 29, 2005 5:39 PM To: accessd at databaseadvisors.com Subject: Using Outlook Redemption in Access If you've ever made an Access app that sends eMail, you might be familiar with Outlook Redemption (http://www.dimastr.com/redemption/). It is a set of COM components that allow you to bypass that messy Outlook dialog that reads "A program is trying to automatically send e-mail on your behalf. Do you want to allow this?" blah blah blah. I just downloaded Redemption and am unab;e to get it to work. I'm hoping that someone who has successfully implemented it can help me here. I am using code straight from the Redemption site (http://www.dimastr.com/redemption/objects.htm): [CODE] Private Sub Blah() Dim SafeItem, oItem Set SafeItem = CreateObject("Redemption.SafeMailItem") 'Create an instance of Redemption.SafeMailItem Set oItem = Application.CreateItem(0) 'Create a new message SafeItem.Item = oItem 'set Item property SafeItem.Recipients.Add "clh at christopherhawkins.com" SafeItem.Recipients.ResolveAll SafeItem.Subject = "Testing Redemption" SafeItem.Send End Sub [/CODE] This code is triggered form a button click on a form. When I run the code, I get an error message: "Method or data member not found" The error is on the .CreateItem method in the line that sets oItem to a new item. I've double-checked that the Redemption dll is registered, and I've made sure it is referenced in the Access file. I suspect that there is some simple aspect of setup that I'm overlooking. Anybody ever have this same issue? -C- -- 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 bhjohnson at verizon.net Thu Jun 30 10:05:10 2005 From: bhjohnson at verizon.net (Bruce H. Johnson) Date: Thu, 30 Jun 2005 08:05:10 -0700 Subject: [AccessD] Using Outlook Redemption in Access In-Reply-To: Message-ID: <0IIW00G8KKK8O2F0@vms048.mailsrvcs.net> Here's the code I use in VB. Note the Application is an Outlook Application: Public Function EMail_SendMail() As Boolean 'Use late binding to avoid version refs? 'Requires only Recipient and Subject Dim outApp As Object Dim outNameSpace As Object Dim redSafeItem As Object Dim outItem As Object Dim strItem As String Dim lngNdx As Long Dim outRec As Object If SAFEOUTLOOK_RUNTIME Then On Error GoTo EMail_SendMail_Err EMail_SendMail = False 'default If strEMail_Recipient(0) = vbNullString Or strEMail_Subject = vbNullString Then 'Convert to messages when ready MsgBox "One recipient and subject required.", vbOKOnly Or vbExclamation, "EMail_SendMail" EMail_SendMail = False GoTo EMail_SendMail_Exit End If Set outApp = CreateObject("Outlook.Application") Set outNameSpace = outApp.GetNamespace("MAPI") outNameSpace.Logon Set redSafeItem = CreateObject("Redemption.SafeMailItem") 'Create an instance of Redemption.SafeMailItem Set outItem = outApp.CreateItem(0) 'Create a new Mail Item redSafeItem.Item = outItem 'set Item property 'Add recipients For lngNdx = 0 To UBound(strEMail_Recipient) strItem = Trim$(strEMail_Recipient(lngNdx)) If Len(strItem) Then Set outRec = redSafeItem.Recipients.Add(strItem) outRec.Type = 1 'To Else Exit For End If Next lngNdx 'redSafeItem.Recipients.ResolveAll redSafeItem.Subject = strEMail_Subject 'Rest are optional 'CCs For lngNdx = 0 To UBound(strEMail_CC) strItem = Trim$(strEMail_CC(lngNdx)) If Len(strItem) Then Set outRec = redSafeItem.Recipients.Add(strItem) outRec.Type = 2 'CC Else Exit For End If Next lngNdx 'redSafeItem.Recipients.ResolveAll 'BCC For lngNdx = 0 To UBound(strEMail_BCC) strItem = Trim$(strEMail_BCC(lngNdx)) If Len(strItem) Then Set outRec = redSafeItem.Recipients.Add(strItem) outRec.Type = 3 'BCC Else Exit For End If Next lngNdx redSafeItem.Recipients.ResolveAll If Len(strEMail_Body) Then redSafeItem.Body = strEMail_Body 'Attachments For lngNdx = 0 To UBound(strEMail_AttachmentFName) strItem = Trim$(strEMail_AttachmentFName(lngNdx)) If Len(strItem) Then redSafeItem.Attachments.Add strItem, 1, CLng(Len(strEMail_Body) + 5) 'Embed by value, position Else Exit For End If Next lngNdx 'If Len(strEMail_AttachmentFName) Then redSafeItem.Attachments.Add strEMail_AttachmentFName redSafeItem.Send 'puts in outbox or actually sends it EMail_SendMail = True Set outItem = Nothing Set redSafeItem = Nothing Set outNameSpace = Nothing Set outApp = Nothing GoTo EMail_SendMail_Exit EMail_SendMail_Err: MsgBox Err.Description, vbOKOnly Or vbExclamation, "EMail_SendMail" EMail_SendMail_Exit: 'let objects fall out of reference End Function Bruce H. Johnson Sylmar, CA -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Christopher Hawkins Sent: Wednesday, June 29, 2005 4:40 PM RE: REDEMPTION Private Sub Blah() Dim SafeItem, oItem ??? Set SafeItem = CreateObject("Redemption.SafeMailItem") 'Create an instance of Redemption.SafeMailItem ??? Set oItem = Application.CreateItem(0) 'Create a new message ??? ??? SafeItem.Item = oItem 'set Item property ??? SafeItem.Recipients.Add "clh at christopherhawkins.com" ??? SafeItem.Recipients.ResolveAll ??? SafeItem.Subject = "Testing Redemption" ??? SafeItem.Send End Sub [/CODE] This code is triggered form a button click on a form. When I run the code, I get an error message: "Method or data member not found" The error is on the .CreateItem method in the line that sets oItem to a new item. From clh at christopherhawkins.com Thu Jun 30 11:37:30 2005 From: clh at christopherhawkins.com (Christopher Hawkins) Date: Thu, 30 Jun 2005 10:37:30 -0600 Subject: [AccessD] Getting published... Message-ID: <8aa897d66e794e48bb3a0eac8d4d49ec@christopherhawkins.com> SD Magazine eMailed me this morning to tell me they want to publish one of my blog pieces.? I know some of you have been published, so before I respond to them I want to talk with you.? What should I ask for?? I don't want to get taken advantage of. -C- From clh at christopherhawkins.com Thu Jun 30 11:46:15 2005 From: clh at christopherhawkins.com (Christopher Hawkins) Date: Thu, 30 Jun 2005 10:46:15 -0600 Subject: SPAM-LOW: RE: [AccessD] Using Outlook Redemption in Access Message-ID: <002be4f99a2f4cd68dd4abee36fb5eb7@christopherhawkins.com> OK, cool, let me tweak my code a little and see what I can brew up.? ;) Someone was telling me I should be using ClickYes instead, but I haven't even looksed at it.? Anyone have any insight into that one? -C- ---------------------------------------- From: "Bruce H. Johnson" Sent: Thursday, June 30, 2005 9:06 AM To: "'Access Developers discussion and problem solving'" Subject: SPAM-LOW: RE: [AccessD] Using Outlook Redemption in Access Here's the code I use in VB. Note the Application is an Outlook Application: Public Function EMail_SendMail() As Boolean 'Use late binding to avoid version refs? 'Requires only Recipient and Subject Dim outApp As Object Dim outNameSpace As Object Dim redSafeItem As Object Dim outItem As Object Dim strItem As String Dim lngNdx As Long Dim outRec As Object If SAFEOUTLOOK_RUNTIME Then On Error GoTo EMail_SendMail_Err EMail_SendMail = False 'default If strEMail_Recipient(0) = vbNullString Or strEMail_Subject = vbNullString Then 'Convert to messages when ready MsgBox "One recipient and subject required.", vbOKOnly Or vbExclamation, "EMail_SendMail" EMail_SendMail = False GoTo EMail_SendMail_Exit End If Set outApp = CreateObject("Outlook.Application") Set outNameSpace = outApp.GetNamespace("MAPI") outNameSpace.Logon Set redSafeItem = CreateObject("Redemption.SafeMailItem") 'Create an instance of Redemption.SafeMailItem Set outItem = outApp.CreateItem(0) 'Create a new Mail Item redSafeItem.Item = outItem 'set Item property 'Add recipients For lngNdx = 0 To UBound(strEMail_Recipient) strItem = Trim$(strEMail_Recipient(lngNdx)) If Len(strItem) Then Set outRec = redSafeItem.Recipients.Add(strItem) outRec.Type = 1 'To Else Exit For End If Next lngNdx 'redSafeItem.Recipients.ResolveAll redSafeItem.Subject = strEMail_Subject 'Rest are optional 'CCs For lngNdx = 0 To UBound(strEMail_CC) strItem = Trim$(strEMail_CC(lngNdx)) If Len(strItem) Then Set outRec = redSafeItem.Recipients.Add(strItem) outRec.Type = 2 'CC Else Exit For End If Next lngNdx 'redSafeItem.Recipients.ResolveAll 'BCC For lngNdx = 0 To UBound(strEMail_BCC) strItem = Trim$(strEMail_BCC(lngNdx)) If Len(strItem) Then Set outRec = redSafeItem.Recipients.Add(strItem) outRec.Type = 3 'BCC Else Exit For End If Next lngNdx redSafeItem.Recipients.ResolveAll If Len(strEMail_Body) Then redSafeItem.Body = strEMail_Body 'Attachments For lngNdx = 0 To UBound(strEMail_AttachmentFName) strItem = Trim$(strEMail_AttachmentFName(lngNdx)) If Len(strItem) Then redSafeItem.Attachments.Add strItem, 1, CLng(Len(strEMail_Body) + 5) 'Embed by value, position Else Exit For End If Next lngNdx 'If Len(strEMail_AttachmentFName) Then redSafeItem.Attachments.Add strEMail_AttachmentFName redSafeItem.Send 'puts in outbox or actually sends it EMail_SendMail = True Set outItem = Nothing Set redSafeItem = Nothing Set outNameSpace = Nothing Set outApp = Nothing GoTo EMail_SendMail_Exit EMail_SendMail_Err: MsgBox Err.Description, vbOKOnly Or vbExclamation, "EMail_SendMail" EMail_SendMail_Exit: 'let objects fall out of reference End Function Bruce H. Johnson Sylmar, CA -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Christopher Hawkins Sent: Wednesday, June 29, 2005 4:40 PM RE: REDEMPTION Private Sub Blah() Dim SafeItem, oItem ??? Set SafeItem = CreateObject("Redemption.SafeMailItem") 'Create an instance of Redemption.SafeMailItem ??? Set oItem = Application.CreateItem(0) 'Create a new message ??? ??? SafeItem.Item = oItem 'set Item property ??? SafeItem.Recipients.Add "clh at christopherhawkins.com" ??? SafeItem.Recipients.ResolveAll ??? SafeItem.Subject = "Testing Redemption" ??? SafeItem.Send End Sub [/CODE] This code is triggered form a button click on a form. When I run the code, I get an error message: "Method or data member not found" The error is on the .CreateItem method in the line that sets oItem to a new item. -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From bchacc at san.rr.com Thu Jun 30 12:18:25 2005 From: bchacc at san.rr.com (Rocky Smolin - Beach Access Software) Date: Thu, 30 Jun 2005 10:18:25 -0700 Subject: [AccessD] Getting published... References: <8aa897d66e794e48bb3a0eac8d4d49ec@christopherhawkins.com> Message-ID: <01c101c57d97$b98238a0$6701a8c0@HAL9004> Are they offering payment? If they are you could go to their website and see if they say what they pay authors. You could look in Writer's Market as well. They'll probably give you a boilerplate contract. They'll probably get first North American rights. Generally, you keep the copyright. Susan could probably tell you a lot more about this. HEY, SUSAN!! Rocky ----- Original Message ----- From: "Christopher Hawkins" To: Sent: Thursday, June 30, 2005 9:37 AM Subject: [AccessD] Getting published... SD Magazine eMailed me this morning to tell me they want to publish one of my blog pieces. I know some of you have been published, so before I respond to them I want to talk with you. What should I ask for? I don't want to get taken advantage of. -C- -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From dkalsow at yahoo.com Thu Jun 30 12:21:22 2005 From: dkalsow at yahoo.com (Dale Kalsow) Date: Thu, 30 Jun 2005 10:21:22 -0700 (PDT) Subject: [AccessD] executing a submodule from a different form Message-ID: <20050630172122.30019.qmail@web50409.mail.yahoo.com> Good Afternoon, I have a form that has a subform in it. In the subform there is a subroutine that I want to execute for a new popup form. Does any one know how I reference this subroutine for the subform from the popup form? Thanks! Dale __________________________________________________ Do You Yahoo!? Tired of spam? Yahoo! Mail has the best spam protection around http://mail.yahoo.com From cfoust at infostatsystems.com Thu Jun 30 12:46:49 2005 From: cfoust at infostatsystems.com (Charlotte Foust) Date: Thu, 30 Jun 2005 10:46:49 -0700 Subject: SPAM-LOW: RE: [AccessD] Using Outlook Redemption in Access Message-ID: ClickYes is an applet that is used to reply to the dialog box. It doesn't actually bypass the security annoyances the way Redemption does. Charlotte Foust -----Original Message----- From: Christopher Hawkins [mailto:clh at christopherhawkins.com] Sent: Thursday, June 30, 2005 9:46 AM To: accessd at databaseadvisors.com Subject: re: SPAM-LOW: RE: [AccessD] Using Outlook Redemption in Access OK, cool, let me tweak my code a little and see what I can brew up.? ;) Someone was telling me I should be using ClickYes instead, but I haven't even looksed at it.? Anyone have any insight into that one? -C- ---------------------------------------- From: "Bruce H. Johnson" Sent: Thursday, June 30, 2005 9:06 AM To: "'Access Developers discussion and problem solving'" Subject: SPAM-LOW: RE: [AccessD] Using Outlook Redemption in Access Here's the code I use in VB. Note the Application is an Outlook Application: Public Function EMail_SendMail() As Boolean 'Use late binding to avoid version refs? 'Requires only Recipient and Subject Dim outApp As Object Dim outNameSpace As Object Dim redSafeItem As Object Dim outItem As Object Dim strItem As String Dim lngNdx As Long Dim outRec As Object If SAFEOUTLOOK_RUNTIME Then On Error GoTo EMail_SendMail_Err EMail_SendMail = False 'default If strEMail_Recipient(0) = vbNullString Or strEMail_Subject = vbNullString Then 'Convert to messages when ready MsgBox "One recipient and subject required.", vbOKOnly Or vbExclamation, "EMail_SendMail" EMail_SendMail = False GoTo EMail_SendMail_Exit End If Set outApp = CreateObject("Outlook.Application") Set outNameSpace = outApp.GetNamespace("MAPI") outNameSpace.Logon Set redSafeItem = CreateObject("Redemption.SafeMailItem") 'Create an instance of Redemption.SafeMailItem Set outItem = outApp.CreateItem(0) 'Create a new Mail Item redSafeItem.Item = outItem 'set Item property 'Add recipients For lngNdx = 0 To UBound(strEMail_Recipient) strItem = Trim$(strEMail_Recipient(lngNdx)) If Len(strItem) Then Set outRec = redSafeItem.Recipients.Add(strItem) outRec.Type = 1 'To Else Exit For End If Next lngNdx 'redSafeItem.Recipients.ResolveAll redSafeItem.Subject = strEMail_Subject 'Rest are optional 'CCs For lngNdx = 0 To UBound(strEMail_CC) strItem = Trim$(strEMail_CC(lngNdx)) If Len(strItem) Then Set outRec = redSafeItem.Recipients.Add(strItem) outRec.Type = 2 'CC Else Exit For End If Next lngNdx 'redSafeItem.Recipients.ResolveAll 'BCC For lngNdx = 0 To UBound(strEMail_BCC) strItem = Trim$(strEMail_BCC(lngNdx)) If Len(strItem) Then Set outRec = redSafeItem.Recipients.Add(strItem) outRec.Type = 3 'BCC Else Exit For End If Next lngNdx redSafeItem.Recipients.ResolveAll If Len(strEMail_Body) Then redSafeItem.Body = strEMail_Body 'Attachments For lngNdx = 0 To UBound(strEMail_AttachmentFName) strItem = Trim$(strEMail_AttachmentFName(lngNdx)) If Len(strItem) Then redSafeItem.Attachments.Add strItem, 1, CLng(Len(strEMail_Body) + 5) 'Embed by value, position Else Exit For End If Next lngNdx 'If Len(strEMail_AttachmentFName) Then redSafeItem.Attachments.Add strEMail_AttachmentFName redSafeItem.Send 'puts in outbox or actually sends it EMail_SendMail = True Set outItem = Nothing Set redSafeItem = Nothing Set outNameSpace = Nothing Set outApp = Nothing GoTo EMail_SendMail_Exit EMail_SendMail_Err: MsgBox Err.Description, vbOKOnly Or vbExclamation, "EMail_SendMail" EMail_SendMail_Exit: 'let objects fall out of reference End Function Bruce H. Johnson Sylmar, CA -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Christopher Hawkins Sent: Wednesday, June 29, 2005 4:40 PM RE: REDEMPTION Private Sub Blah() Dim SafeItem, oItem ??? Set SafeItem = CreateObject("Redemption.SafeMailItem") 'Create an instance of Redemption.SafeMailItem ??? Set oItem = Application.CreateItem(0) 'Create a new message ??? ??? SafeItem.Item = oItem 'set Item property ??? SafeItem.Recipients.Add "clh at christopherhawkins.com" ??? SafeItem.Recipients.ResolveAll ??? SafeItem.Subject = "Testing Redemption" ??? SafeItem.Send End Sub [/CODE] This code is triggered form a button click on a form. When I run the code, I get an error message: "Method or data member not found" The error is on the .CreateItem method in the line that sets oItem to a new item. -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd 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 Thu Jun 30 12:46:58 2005 From: darsant at gmail.com (Josh McFarlane) Date: Thu, 30 Jun 2005 12:46:58 -0500 Subject: [AccessD] executing a submodule from a different form In-Reply-To: <20050630172122.30019.qmail@web50409.mail.yahoo.com> References: <20050630172122.30019.qmail@web50409.mail.yahoo.com> Message-ID: <53c8e05a05063010466dabf724@mail.gmail.com> On 6/30/05, Dale Kalsow wrote: > Good Afternoon, > > I have a form that has a subform in it. In the subform there is a subroutine that I want to execute for a new popup form. Does any one know how I reference this subroutine for the subform from the popup form? > > Thanks! > > Dale If it is a public function, you can refer to it the same way you refer to a field on the form from another form. It's been a while, but I think it's Forms_FormName.FunctionName -- HTH Josh McFarlane "Peace cannot be kept by force. It can only be achieved by understanding." -Albert Einstein From fahooper at trapo.com Thu Jun 30 12:47:40 2005 From: fahooper at trapo.com (Fred Hooper) Date: Thu, 30 Jun 2005 13:47:40 -0400 Subject: [AccessD] executing a submodule from a different form In-Reply-To: <20050630172122.30019.qmail@web50409.mail.yahoo.com> Message-ID: <001201c57d9b$cf64a690$2e01a8c0@fredxp> Try Form_frmOldSubForm.SubroutineName Make sure the subroutine you want to name is Public. Fred Hooper -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Dale Kalsow Sent: Thursday, June 30, 2005 1:21 PM To: accessd at databaseadvisors.com Subject: [AccessD] executing a submodule from a different form Good Afternoon, I have a form that has a subform in it. In the subform there is a subroutine that I want to execute for a new popup form. Does any one know how I reference this subroutine for the subform from the popup form? Thanks! Dale __________________________________________________ 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 cfoust at infostatsystems.com Thu Jun 30 12:49:40 2005 From: cfoust at infostatsystems.com (Charlotte Foust) Date: Thu, 30 Jun 2005 10:49:40 -0700 Subject: [AccessD] executing a submodule from a different form Message-ID: I'm not sure I understand. You want the popup form to execute a sub on a subform of an open form? Or do you mean you want to use the same routine in the popup? If the latter, the way to do it is put the routine in a standard module and call it from each location that needs to use it. If the former, what is it you're trying to accomplish? You can interact between forms, but it is cleaner to send a message back to the subform (or whatever) and allow that object to act on itself. Charlotte Foust -----Original Message----- From: Dale Kalsow [mailto:dkalsow at yahoo.com] Sent: Thursday, June 30, 2005 10:21 AM To: accessd at databaseadvisors.com Subject: [AccessD] executing a submodule from a different form Good Afternoon, I have a form that has a subform in it. In the subform there is a subroutine that I want to execute for a new popup form. Does any one know how I reference this subroutine for the subform from the popup form? Thanks! Dale __________________________________________________ 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 clh at christopherhawkins.com Thu Jun 30 13:47:48 2005 From: clh at christopherhawkins.com (Christopher Hawkins) Date: Thu, 30 Jun 2005 12:47:48 -0600 Subject: SPAM-LOW: Re: [AccessD] Getting published... Message-ID: Well, they just asked if they could publish it.? They didn't address anything about rights or compensation. I suppose I could write back and ask what terms they're proposing.... -C- ---------------------------------------- From: "Rocky Smolin - Beach Access Software" Sent: Thursday, June 30, 2005 11:23 AM To: "Access Developers discussion and problem solving" Subject: SPAM-LOW: Re: [AccessD] Getting published... Are they offering payment? If they are you could go to their website and see if they say what they pay authors. You could look in Writer's Market as well. They'll probably give you a boilerplate contract. They'll probably get first North American rights. Generally, you keep the copyright. Susan could probably tell you a lot more about this. HEY, SUSAN!! Rocky ----- Original Message ----- From: "Christopher Hawkins" To: Sent: Thursday, June 30, 2005 9:37 AM Subject: [AccessD] Getting published... SD Magazine eMailed me this morning to tell me they want to publish one of my blog pieces. I know some of you have been published, so before I respond to them I want to talk with you. What should I ask for? I don't want to get taken advantage of. -C- -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd 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 Jun 30 14:08:48 2005 From: artful at rogers.com (Arthur Fuller) Date: Thu, 30 Jun 2005 15:08:48 -0400 Subject: [AccessD] Getting published... In-Reply-To: <8aa897d66e794e48bb3a0eac8d4d49ec@christopherhawkins.com> Message-ID: <200506301908.j5UJ8mR09773@databaseadvisors.com> They will probably offer you a small amount of money and ask for rights in perpetuity. Most of them do that nowadays. More to the point is what you want out of it. Academic recognition? Money? Leads to new gigs? More writing for them? IMO you need to decide these issues before talking to them. As for me, I do want to be taken advantage of, but Uma Thurman and Maria Sharapova seem to be too busy. Alack and alas. Arthur -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Christopher Hawkins Sent: June 30, 2005 12:38 PM To: accessd at databaseadvisors.com Subject: [AccessD] Getting published... SD Magazine eMailed me this morning to tell me they want to publish one of my blog pieces.? I know some of you have been published, so before I respond to them I want to talk with you.? What should I ask for?? I don't want to get taken advantage of. -C- From ssharkins at bellsouth.net Thu Jun 30 14:12:53 2005 From: ssharkins at bellsouth.net (Susan Harkins) Date: Thu, 30 Jun 2005 15:12:53 -0400 Subject: SPAM-LOW: Re: [AccessD] Getting published... In-Reply-To: Message-ID: <20050630191339.DSIQ25470.ibm57aec.bellsouth.net@SUSANONE> The truth is, you don't really ask for anything -- all publishers have different requirements, and you either play ball, or you don't get published. Since this is from a blog, you probably won't have much to worry about -- it's already been published, so they probably won't try to buy all rights -- you should be able to republish anyplace you like -- you'll just have to ask them about that to make sure you don't violate anything. They may want to publish it for free -- that's not uncommon with already published material. If that's the case, all you really get out of it is some fame. :) If they send you a contract and you don't understand the rights clauses, just ask them. They'll either buy it outright and require that you take it off your blog and never use it again or they'll buy first publishing rights, which means you can reprint it but you have to say, "published first by ....," some buy all rights for a year and then it reverts back to you to republish, resell... -- there are a few different ways they could go. Susan H. Well, they just asked if they could publish it.? They didn't address anything about rights or compensation. I suppose I could write back and ask what terms they're proposing.... -C- ---------------------------------------- From: "Rocky Smolin - Beach Access Software" Sent: Thursday, June 30, 2005 11:23 AM To: "Access Developers discussion and problem solving" Subject: SPAM-LOW: Re: [AccessD] Getting published... Are they offering payment? If they are you could go to their website and see if they say what they pay authors. You could look in Writer's Market as well. They'll probably give you a boilerplate contract. They'll probably get first North American rights. Generally, you keep the copyright. Susan could probably tell you a lot more about this. HEY, SUSAN!! Rocky ----- Original Message ----- From: "Christopher Hawkins" To: Sent: Thursday, June 30, 2005 9:37 AM Subject: [AccessD] Getting published... SD Magazine eMailed me this morning to tell me they want to publish one of my blog pieces. I know some of you have been published, so before I respond to them I want to talk with you. What should I ask for? I don't want to get taken advantage of. -C- -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd 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 Thu Jun 30 14:21:41 2005 From: prosoft6 at hotmail.com (Julie Reardon-Taylor) Date: Thu, 30 Jun 2005 15:21:41 -0400 Subject: [AccessD] Copy Existing Record Including Subform Message-ID: Okay...this should be easy, but I'm stumped. I have a from that is linked to a subform...works great. The user wants to create an exact duplicate of both the main form, including the subform, and have the abililty to simply change the date on the main form. In other words, create an exact duplicate of the records. I can only get the subform to write the first record. It won't go to the second and third record. What am I missing? 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 martyconnelly at shaw.ca Thu Jun 30 14:29:21 2005 From: martyconnelly at shaw.ca (MartyConnelly) Date: Thu, 30 Jun 2005 12:29:21 -0700 Subject: [AccessD] Check date-time problem References: <20050630053457.99403.qmail@web31610.mail.mud.yahoo.com> Message-ID: <42C44811.6050000@shaw.ca> So what is the problem, are you running more than 24 hours? Sad Der wrote: >Hi group, > >I've got an ini file with the following values: >[PauzeScheduling] >StartPauzeAt=21:00 >EndPauzeAt=3:00 > >I've got a 'service' that checks if the Currenttime: >dtmCurrentTime = CDate(Format(Time(), "hh:mm")) > >Is between these values. > >It worked fine. Settings used to be within a day. >Somebody has got to have dealt with this problem >before. >What is a (very) solid way to handle this problem? >Keep in mind that this is a long running schedule >(e.g. forever?!) > >Thnx. >SD > >Here's my code: > >'========================================================================================= >' Function Name : PauzeScheduling >' Parameters : dtmCurrentTime => Current >Time' Return value : (Boolean) True: >CurrentTime between scheduled times >' Purpose : Check if current time is >within the scheduled times of the ini file >' Assumptions : --- >' Uses : --- >' Created : 2005-Jun-03 08:55, SaDe >' Modifications : >'========================================================================================= >Public Function PauzeScheduling(dtmCurrentTime As >Date) As Boolean > Dim dtmStartPauze As Date > Dim dtmEndPauze As Date > > On Error GoTo PauzeScheduling_Error > > dtmStartPauze = >CDate(Format(g_oGenSet.GetValue("PauzeScheduling", >"StartPauzeAt"), "HH:mm")) > dtmEndPauze = >CDate(Format(g_oGenSet.GetValue("PauzeScheduling", >"EndPauzeAt"), "hh:mm")) > > > If (dtmCurrentTime > dtmStartPauze) And >(dtmCurrentTime < dtmEndPauze) Then > PauzeScheduling = True > Else > PauzeScheduling = False > End If > >PauzeScheduling_Exit: > ' Collect your garbage here > Exit Function >PauzeScheduling_Error: > ' Collect your garbage here > Call >g_oGenErr.Throw("PauzeScheduling.PauzeScheduling", >"PauzeScheduling") >End Function > > >__________________________________________________ >Do You Yahoo!? >Tired of spam? Yahoo! Mail has the best spam protection around >http://mail.yahoo.com > > -- Marty Connelly Victoria, B.C. Canada From prosoft6 at hotmail.com Thu Jun 30 14:47:48 2005 From: prosoft6 at hotmail.com (Julie Reardon-Taylor) Date: Thu, 30 Jun 2005 15:47:48 -0400 Subject: [AccessD] Copy Existing Record Including Subform In-Reply-To: Message-ID: Nevermind. I found what I needed in the MS-KnowlegeBase in Article ID : 208824 . Thanks anyway! 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 dkalsow at yahoo.com Thu Jun 30 14:50:16 2005 From: dkalsow at yahoo.com (Dale Kalsow) Date: Thu, 30 Jun 2005 12:50:16 -0700 (PDT) Subject: [AccessD] executing a submodule from a different form In-Reply-To: <001201c57d9b$cf64a690$2e01a8c0@fredxp> Message-ID: <20050630195016.8222.qmail@web50401.mail.yahoo.com> Thanks that worked great. I was using Form!frmOldSubForm.SubroutineName and it just was not working. Dale Fred Hooper wrote: Try Form_frmOldSubForm.SubroutineName Make sure the subroutine you want to name is Public. Fred Hooper -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Dale Kalsow Sent: Thursday, June 30, 2005 1:21 PM To: accessd at databaseadvisors.com Subject: [AccessD] executing a submodule from a different form Good Afternoon, I have a form that has a subform in it. In the subform there is a subroutine that I want to execute for a new popup form. Does any one know how I reference this subroutine for the subform from the popup form? Thanks! Dale __________________________________________________ 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 __________________________________________________ Do You Yahoo!? Tired of spam? Yahoo! Mail has the best spam protection around http://mail.yahoo.com From clh at christopherhawkins.com Thu Jun 30 15:31:48 2005 From: clh at christopherhawkins.com (Christopher Hawkins) Date: Thu, 30 Jun 2005 14:31:48 -0600 Subject: SPAM-LOW: Re: [AccessD] Getting published... Message-ID: <02b4a6b1169c408b83f1e5a95b331132@christopherhawkins.com> I just got off the phone with them.? Looks like $500 and first publishing rights for 6 months.? Not a bad deal for an hour of work.? Plus she's asking if I have anything on a couple of other topics. Cool!? :D -C- ---------------------------------------- From: "Susan Harkins" Sent: Thursday, June 30, 2005 1:17 PM To: "'Access Developers discussion and problem solving'" Subject: RE: SPAM-LOW: Re: [AccessD] Getting published... The truth is, you don't really ask for anything -- all publishers have different requirements, and you either play ball, or you don't get published. Since this is from a blog, you probably won't have much to worry about -- it's already been published, so they probably won't try to buy all rights -- you should be able to republish anyplace you like -- you'll just have to ask them about that to make sure you don't violate anything. They may want to publish it for free -- that's not uncommon with already published material. If that's the case, all you really get out of it is some fame. :) If they send you a contract and you don't understand the rights clauses, just ask them. They'll either buy it outright and require that you take it off your blog and never use it again or they'll buy first publishing rights, which means you can reprint it but you have to say, "published first by ....," some buy all rights for a year and then it reverts back to you to republish, resell... -- there are a few different ways they could go. Susan H. Well, they just asked if they could publish it.? They didn't address anything about rights or compensation. I suppose I could write back and ask what terms they're proposing.... -C- ---------------------------------------- From: "Rocky Smolin - Beach Access Software" Sent: Thursday, June 30, 2005 11:23 AM To: "Access Developers discussion and problem solving" Subject: SPAM-LOW: Re: [AccessD] Getting published... Are they offering payment? If they are you could go to their website and see if they say what they pay authors. You could look in Writer's Market as well. They'll probably give you a boilerplate contract. They'll probably get first North American rights. Generally, you keep the copyright. Susan could probably tell you a lot more about this. HEY, SUSAN!! Rocky ----- Original Message ----- From: "Christopher Hawkins" To: Sent: Thursday, June 30, 2005 9:37 AM Subject: [AccessD] Getting published... SD Magazine eMailed me this morning to tell me they want to publish one of my blog pieces. I know some of you have been published, so before I respond to them I want to talk with you. What should I ask for? I don't want to get taken advantage of. -C- -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From susanj at sgmeet.com Thu Jun 30 16:41:08 2005 From: susanj at sgmeet.com (Susan Jones) Date: Thu, 30 Jun 2005 16:41:08 -0500 Subject: SPAM-LOW: Re: [AccessD] Getting published... In-Reply-To: <02b4a6b1169c408b83f1e5a95b331132@christopherhawkins.com> References: <02b4a6b1169c408b83f1e5a95b331132@christopherhawkins.com> Message-ID: <6.0.1.1.2.20050630164046.037aa5c0@192.168.3.99> Cool, indeed! Congratulations! Susan At 03:31 PM 6/30/05, you wrote: >I just got off the phone with them. Looks like $500 and first publishing >rights for 6 months. Not a bad deal for an hour of work. Plus she's >asking if I have anything on a couple of other topics. > >Cool! :D > >-C- From starkey at wanadoo.nl Thu Jun 30 17:02:46 2005 From: starkey at wanadoo.nl (StaRKeY) Date: Fri, 1 Jul 2005 00:02:46 +0200 Subject: [AccessD] Expression not working in text box In-Reply-To: <20050623124955.QFUR4468.ibm61aec.bellsouth.net@SUSANONE> Message-ID: <20050630215825.518A2451C0@smtp6.wanadoo.nl> Susan, I understand you use the code in the immediate window however what does the code in your mainform look like? It's my understanding that the code in your mainform would look like this: 'subform.Form.RecordsetClone.RecordCount' without the 'Forms!mainform!' since you are already in this form and you only need to reference the subform, hope this helps. Ofcourse in the immediate window you would need the reference to the mainform since the focus is not on the mainform then... The only other thing I can think of what might be troubling is the recordcount property... I am not sure if this still is needed in 2003 but I am used to do a movelast and a movefirst to populate the recordset to be able to get a proper recordcount but ohwell:-) My first guess is the line of code from what you posted is too long for the mainform. Let me know whether I am close to the solution ok? If not I'll make my own sample here in 2003!;-) Good luck, Eric Starkenburg -----Oorspronkelijk bericht----- Van: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] Namens Susan Harkins Verzonden: donderdag 23 juni 2005 14:50 Aan: 'Access Developers discussion and problem solving' Onderwerp: [AccessD] Expression not working in text box =Forms!mainform!subform.Form.RecordsetClone.RecordCount I've used the above expression before, in a main form, to return a count of the records in a subform. It isn't working in 2003. It works in the Immediate window, so I have no clue what the problem is. :( I know I can just use Count(*) in the subform and reference that control -- and I will if I have to in the end -- but anyone know what they above won't work in 2003? Susan H. -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com _____ avast! Antivirus : Uitgaande bericht is niet besmet. Virus Gegevensbestand (VPS): 0526-3, 30-06-2005 Getest op: 1-7-2005 0:02:46 avast! auteursrecht (c) 1988-2005 ALWIL Software. From starkey at wanadoo.nl Thu Jun 30 17:11:09 2005 From: starkey at wanadoo.nl (StaRKeY) Date: Fri, 1 Jul 2005 00:11:09 +0200 Subject: [AccessD] Normalizing issue In-Reply-To: <20050623135959.FMWJ25470.ibm57aec.bellsouth.net@SUSANONE> Message-ID: <20050630220648.6999044DEC@smtp6.wanadoo.nl> Hi again, Stick to the subject(fieldnames)... So lastname only in lastname field, firstname could contain something like 'Susan (Sales)'. The middle part is rather part of your first name then your lastname since people tend to do a search on lastname and besides that your lastname is Harkins and NOT Sales Harkins!! However I am more curious about the why you handle three professional names?? Isn't it the same person in three different roles?:-P In a letter or report or whatever you'd use your real name Susan Harkins and then maybe followed by a referal like (Sales) or (Teaser) so in short any data entry person would only enter your name once and then add three roles to it... Who the shoe fits... BN, Eric Starkenburg -----Oorspronkelijk bericht----- Van: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] Namens Susan Harkins Verzonden: donderdag 23 juni 2005 16:00 Aan: 'Access Developers discussion and problem solving' Onderwerp: [AccessD] Normalizing issue How do you guys deal with people that use three or more names professionally? I do -- Susan Sales Harkins. Do you store the second name with the first or use three fields? The middle name really isn't a "middle" name. It's actually part of the last name, but the last name is the real last name -- so if you stored it with the last name, you'd have to depend on users to enter it correctly, as in Harkins, Sales -- which is a mistake before you even get started... And how do you write in the flexibility that handles 2 or 3 names? Susan H. -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com _____ avast! Antivirus : Uitgaande bericht is niet besmet. Virus Gegevensbestand (VPS): 0526-3, 30-06-2005 Getest op: 1-7-2005 0:11:09 avast! auteursrecht (c) 1988-2005 ALWIL Software. From starkey at wanadoo.nl Thu Jun 30 17:13:19 2005 From: starkey at wanadoo.nl (StaRKeY) Date: Fri, 1 Jul 2005 00:13:19 +0200 Subject: [AccessD] Normalizing issue In-Reply-To: <20050623154231.MOKU25209.ibm63aec.bellsouth.net@SUSANONE> Message-ID: <20050630220858.88C4B450A4@smtp6.wanadoo.nl> Mmmzzzz still going strong this thread.... So writing names?? Use aliasses instead of roles like i mentioned in earlier mail... Whatever they want just give i to them and let them have as many names/aliasses/roles they want:-) -----Oorspronkelijk bericht----- Van: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] Namens Susan Harkins Verzonden: donderdag 23 juni 2005 17:43 Aan: 'Access Developers discussion and problem solving' Onderwerp: RE: [AccessD] Normalizing issue If it isn't a middle or maiden name, what is it? This gets even more tricky with non-English names where "last" names can get really confusing. I generally provide a field for first, middle, and last name and make it the responsibility of the user to enter the appropriate value in the appropriate field. The rules for parsing this can become so draconian, that it hardly seems worth the work to do anything else. ========I'm in the middle of creating a database (pro bono) for a writer's organization. It's a simple deal and will require little work -- but this is already cropping up. These people will want their "writing" names with their publications -- I'm thinking about just adding one more field to store their "pen name" or whatever -- but then that becomes a nuisance if their name and professional name are the same -- gotta fill in both or allow for the blanks and go find the real name -- such a nuisance -- I think at this point the middle name is the best solution -- Susan H. -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com _____ avast! Antivirus : Uitgaande bericht is niet besmet. Virus Gegevensbestand (VPS): 0526-3, 30-06-2005 Getest op: 1-7-2005 0:13:19 avast! auteursrecht (c) 1988-2005 ALWIL Software. From ssharkins at bellsouth.net Thu Jun 30 17:31:44 2005 From: ssharkins at bellsouth.net (Susan Harkins) Date: Thu, 30 Jun 2005 18:31:44 -0400 Subject: [AccessD] Expression not working in text box In-Reply-To: <20050630215825.518A2451C0@smtp6.wanadoo.nl> Message-ID: <20050630223143.NEPK4468.ibm61aec.bellsouth.net@SUSANONE> The only other thing I can think of what might be troubling is the recordcount property... I am not sure if this still is needed in 2003 but I am used to do a movelast and a movefirst to populate the recordset to be able to get a proper recordcount but ohwell:-) My first guess is the line of code from what you posted is too long for the mainform. ==========I put a Recalc in the form's module -- still didn't work. Works in 2002, not in 2003. I think there's something wrong with my copy of 2003 -- not the only flaky business I had last week. Susan H. From ssharkins at bellsouth.net Thu Jun 30 17:31:44 2005 From: ssharkins at bellsouth.net (Susan Harkins) Date: Thu, 30 Jun 2005 18:31:44 -0400 Subject: SPAM-LOW: Re: [AccessD] Getting published... In-Reply-To: <02b4a6b1169c408b83f1e5a95b331132@christopherhawkins.com> Message-ID: <20050630223150.NEQC4468.ibm61aec.bellsouth.net@SUSANONE> Yelp -- good deal. Congratulations! :) Susan H. I just got off the phone with them.? Looks like $500 and first publishing rights for 6 months.? Not a bad deal for an hour of work.? Plus she's asking if I have anything on a couple of other topics. From clh at christopherhawkins.com Wed Jun 1 02:43:05 2005 From: clh at christopherhawkins.com (Christopher Hawkins) Date: Wed, 1 Jun 2005 01:43:05 -0600 Subject: [AccessD] OT: Icons Message-ID: <71409e737f5144de8915a5d7a975fa34@christopherhawkins.com> http://www.glyfx.com/?offers a decent set of free icons, and their purchasable sets are pretty good.? Affordable too.? Check them out. -C- ---------------------------------------- From: "Andy Lacey" Sent: Friday, May 27, 2005 2:05 PM To: "'Access Developers discussion and problem solving'" Subject: RE: [AccessD] OT: Icons Whoa. That'll keep me occupied. Thanks Brett. -- Andy Lacey http://www.minstersystems.co.uk > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of > Brett Barabash > Sent: 27 May 2005 15:39 > To: Access Developers discussion and problem solving > Subject: RE: [AccessD] OT: Icons > > > This was discussed a while ago. > Credit Goes to Joe Rojas, Joshua B, Martin, Drew and Francisco. > > http://www.marvilla.us/ > http://www.foood.net/icons/ http://www.studiotwentyeight.net/icons.htm > http://xcession.web1000.com/pages/default.html > http://www.hardwaregeeks.com/board/forumdisplay.php?s=&forumid=128 > http://www.jonmega.com/~clotz/ > http://www.deskmod.com/?show=showcat&cat_name=icons > http://www.deviantart.com/browse/t/icon/winicons/ > http://www.dotico.com/ > http://icons.visualnoise.net/ > http://icons.wbchug.net/ > http://www.deathlace.tk/ > http://www.logipole.com/ > http://axialis.com > http://www.aha-soft.com/iconxp/index.htm > > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Andy Lacey > Sent: Friday, May 27, 2005 8:22 AM > To: Dba > Subject: [AccessD] OT: Icons > > > Hi all > Does anyone have a source for good icons/images? Serious, > neat ones not cartoon-y. I alwsys run into this problem when > the customer asks for a picture on a screen. I've got DIB > Pictures but that's limited to Windows-related stuff, so when > I need a car, an ambulance, a fire, etc I'm stuffed. And when > I Google "free icons" I get a million links, mostly to sites > which want to charge you in the end. Any good pointers? > -- > Andy Lacey > http://www.minstersystems.co.uk > > > > > -------------------------------------------------------------- > ------------------------------------------------------ > The information in this email may contain confidential > information that > is legally privileged. The information is only for the use of > the intended > recipient(s) named above. If you are not the intended > recipient(s), you > are hereby notified that any disclosure, copying, > distribution, or the taking > of any action in regard to the content of this email is > strictly prohibited. If > transmission is incorrect, unclear, or incomplete, please > notify the sender > immediately. The authorized recipient(s) of this information > is/are prohibited > from disclosing this in > to > destroy the information after its stated need has been fulfilled. > > Any views expressed in this message are those of the > individual sender, except where the sender specifies and with > authority, states them to be the views of Tappe Construction Co. > > This footer also confirms that this email message has been > scanned for the presence of computer viruses.Scanning of this > message and addition of this footer is performed by > SurfControl E-mail Filter software in conjunction with virus > detection software. > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > > -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From lembit.soobik at t-online.de Wed Jun 1 03:08:22 2005 From: lembit.soobik at t-online.de (Lembit Soobik) Date: Wed, 1 Jun 2005 10:08:22 +0200 Subject: [AccessD] OT: Icons References: <71409e737f5144de8915a5d7a975fa34@christopherhawkins.com> Message-ID: <00b601c56681$141b1260$0800a8c0@s856> and I just found out that Irfanview, a free software, can convert your JPG or BMP or whatever to ICO. so you can make your own icons also. Lembit ----- Original Message ----- From: "Christopher Hawkins" To: Sent: Wednesday, June 01, 2005 9:43 AM Subject: RE: [AccessD] OT: Icons http://www.glyfx.com/ offers a decent set of free icons, and their purchasable sets are pretty good. Affordable too. Check them out. -C- ---------------------------------------- From: "Andy Lacey" Sent: Friday, May 27, 2005 2:05 PM To: "'Access Developers discussion and problem solving'" Subject: RE: [AccessD] OT: Icons Whoa. That'll keep me occupied. Thanks Brett. -- Andy Lacey http://www.minstersystems.co.uk > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of > Brett Barabash > Sent: 27 May 2005 15:39 > To: Access Developers discussion and problem solving > Subject: RE: [AccessD] OT: Icons > > > This was discussed a while ago. > Credit Goes to Joe Rojas, Joshua B, Martin, Drew and Francisco. > > http://www.marvilla.us/ > http://www.foood.net/icons/ http://www.studiotwentyeight.net/icons.htm > http://xcession.web1000.com/pages/default.html > http://www.hardwaregeeks.com/board/forumdisplay.php?s=&forumid=128 > http://www.jonmega.com/~clotz/ > http://www.deskmod.com/?show=showcat&cat_name=icons > http://www.deviantart.com/browse/t/icon/winicons/ > http://www.dotico.com/ > http://icons.visualnoise.net/ > http://icons.wbchug.net/ > http://www.deathlace.tk/ > http://www.logipole.com/ > http://axialis.com > http://www.aha-soft.com/iconxp/index.htm > > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Andy Lacey > Sent: Friday, May 27, 2005 8:22 AM > To: Dba > Subject: [AccessD] OT: Icons > > > Hi all > Does anyone have a source for good icons/images? Serious, > neat ones not cartoon-y. I alwsys run into this problem when > the customer asks for a picture on a screen. I've got DIB > Pictures but that's limited to Windows-related stuff, so when > I need a car, an ambulance, a fire, etc I'm stuffed. And when > I Google "free icons" I get a million links, mostly to sites > which want to charge you in the end. Any good pointers? > -- > Andy Lacey > http://www.minstersystems.co.uk > > > > > -------------------------------------------------------------- > ------------------------------------------------------ > The information in this email may contain confidential > information that > is legally privileged. The information is only for the use of > the intended > recipient(s) named above. If you are not the intended > recipient(s), you > are hereby notified that any disclosure, copying, > distribution, or the taking > of any action in regard to the content of this email is > strictly prohibited. If > transmission is incorrect, unclear, or incomplete, please > notify the sender > immediately. The authorized recipient(s) of this information > is/are prohibited > from disclosing this in > to > destroy the information after its stated need has been fulfilled. > > Any views expressed in this message are those of the > individual sender, except where the sender specifies and with > authority, states them to be the views of Tappe Construction Co. > > This footer also confirms that this email message has been > scanned for the presence of computer viruses.Scanning of this > message and addition of this footer is performed by > SurfControl E-mail Filter software in conjunction with virus > detection software. > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > > -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- No virus found in this incoming message. Checked by AVG Anti-Virus. Version: 7.0.322 / Virus Database: 267.3.3 - Release Date: 31.05.2005 -- No virus found in this outgoing message. Checked by AVG Anti-Virus. Version: 7.0.322 / Virus Database: 267.3.3 - Release Date: 31.05.2005 From cyx5 at cdc.gov Wed Jun 1 05:57:47 2005 From: cyx5 at cdc.gov (Nicholson, Karen) Date: Wed, 1 Jun 2005 06:57:47 -0400 Subject: [AccessD] The Sleep Advisor - Version 5 - Call for Beta Testers Message-ID: I took the survey and sent in my results. It is a great system. I did not try to break it - I answered the questions as ordered. I will download again today if that is possible and try to be stupid and not answer yes or no to some of the questions to see if it error traps me for a reply. -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Rocky Smolin - Beach Access Software Sent: Tuesday, May 31, 2005 2:49 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] The Sleep Advisor - Version 5 - Call for Beta Testers Thanks. My partner actually caught that one. Fixed but not posted yet. Any other? All typo notices gratefully accepted. Rocky ----- Original Message ----- From: "Nicholson, Karen" To: "Access Developers discussion and problem solving" Sent: Tuesday, May 31, 2005 10:52 AM Subject: RE: [AccessD] The Sleep Advisor - Version 5 - Call for Beta Testers > Grammar lady. Assessment is mis-spelled on the overview screen. > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Rocky Smolin > - Beach Access Software > Sent: Tuesday, May 31, 2005 12:53 PM > To: AccessD at databaseadvisors.com > Subject: [AccessD] The Sleep Advisor - Version 5 - Call for Beta Testers > > Dear List: > > Version 5 of The Sleep Advisor is now ready for beta testing: > > All new graphics! > Reorganized friendlier reporting! > All new bugs! > > There is a Wise/Sagekey run-time download available at > http://www.drnaiman.com/sleepad.php > > or for those of you who have Access 2003 you can email me off line and > I'll send you just the mde. > > Although it runs on Windows 2000 I have noticed some problems that don't > affect the operation or outcome of the program - just the esthetics (in > particular, I have an embedded background graphic that doesn't display > under W2K but does fine under WXP, go figure). > > For those who may not be aware, The Sleep Advisor is an expert system > designed to diagnose the most common sleep problems - insomnias, apnea, > narcolepsy, hypersomnia, etc., as well as identify a variety of sleep > health related issues such as nocturia, bruxism, jet lag, shift work, > anxiety disorders, bed and bedroom problems, etc. The report includes a > Guidebook to remedies and recommendations the contents of which are > tailored to the user's responses and sleep health analysis. > > We still need a lot of beta testing to perfect the diagnostic engine. > In addition, any technical feedback I could get from this list would be > of great value. > > Hopefully for your time and efforts you'll receive some value from the > reports. > > With many thanks in advance, > > Rocky Smolin > Beach Access Software > http://www.e-z-mrp.com > 858-259-4334 > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From bchacc at san.rr.com Wed Jun 1 08:29:53 2005 From: bchacc at san.rr.com (Rocky Smolin - Beach Access Software) Date: Wed, 1 Jun 2005 06:29:53 -0700 Subject: [AccessD] The Sleep Advisor - Version 5 - Call for Beta Testers References: Message-ID: <002301c566ad$fe93c680$6501a8c0@HAL9004> Karen: You might not be able to download it to the same address. If so, let me know and I'll just send you the mde. Tanks and regards, Rocky ----- Original Message ----- From: "Nicholson, Karen" To: "Access Developers discussion and problem solving" Sent: Wednesday, June 01, 2005 3:57 AM Subject: RE: [AccessD] The Sleep Advisor - Version 5 - Call for Beta Testers >I took the survey and sent in my results. It is a great system. I did > not try to break it - I answered the questions as ordered. I will > download again today if that is possible and try to be stupid and not > answer yes or no to some of the questions to see if it error traps me > for a reply. > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Rocky Smolin > - Beach Access Software > Sent: Tuesday, May 31, 2005 2:49 PM > To: Access Developers discussion and problem solving > Subject: Re: [AccessD] The Sleep Advisor - Version 5 - Call for Beta > Testers > > Thanks. My partner actually caught that one. Fixed but not posted yet. > Any other? All typo notices gratefully accepted. > > Rocky > > ----- Original Message ----- > From: "Nicholson, Karen" > To: "Access Developers discussion and problem solving" > > Sent: Tuesday, May 31, 2005 10:52 AM > Subject: RE: [AccessD] The Sleep Advisor - Version 5 - Call for Beta > Testers > > >> Grammar lady. Assessment is mis-spelled on the overview screen. >> >> -----Original Message----- >> From: accessd-bounces at databaseadvisors.com >> [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Rocky > Smolin >> - Beach Access Software >> Sent: Tuesday, May 31, 2005 12:53 PM >> To: AccessD at databaseadvisors.com >> Subject: [AccessD] The Sleep Advisor - Version 5 - Call for Beta > Testers >> >> Dear List: >> >> Version 5 of The Sleep Advisor is now ready for beta testing: >> >> All new graphics! >> Reorganized friendlier reporting! >> All new bugs! >> >> There is a Wise/Sagekey run-time download available at >> http://www.drnaiman.com/sleepad.php >> >> or for those of you who have Access 2003 you can email me off line and >> I'll send you just the mde. >> >> Although it runs on Windows 2000 I have noticed some problems that > don't >> affect the operation or outcome of the program - just the esthetics > (in >> particular, I have an embedded background graphic that doesn't display >> under W2K but does fine under WXP, go figure). >> >> For those who may not be aware, The Sleep Advisor is an expert system >> designed to diagnose the most common sleep problems - insomnias, > apnea, >> narcolepsy, hypersomnia, etc., as well as identify a variety of sleep >> health related issues such as nocturia, bruxism, jet lag, shift work, >> anxiety disorders, bed and bedroom problems, etc. The report includes > a >> Guidebook to remedies and recommendations the contents of which are >> tailored to the user's responses and sleep health analysis. >> >> We still need a lot of beta testing to perfect the diagnostic engine. >> In addition, any technical feedback I could get from this list would > be >> of great value. >> >> Hopefully for your time and efforts you'll receive some value from the >> reports. >> >> With many thanks in advance, >> >> Rocky Smolin >> Beach Access Software >> http://www.e-z-mrp.com >> 858-259-4334 >> >> -- >> AccessD mailing list >> AccessD at databaseadvisors.com >> http://databaseadvisors.com/mailman/listinfo/accessd >> Website: http://www.databaseadvisors.com >> >> -- >> AccessD mailing list >> AccessD at databaseadvisors.com >> http://databaseadvisors.com/mailman/listinfo/accessd >> Website: http://www.databaseadvisors.com >> > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > 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 Wed Jun 1 08:31:32 2005 From: JRojas at tnco-inc.com (Joe Rojas) Date: Wed, 1 Jun 2005 09:31:32 -0400 Subject: [AccessD] Queries vs In-line SQL Message-ID: <0CC84C9461AE6445AD5A602001C41C4B05A2FD@mercury.tnco-inc.com> Is there a performance increase between in-line SQL and queries in Access 2000? For example: Going from CurrentDB.Execute "SELECT * FROM MyTable" To putting the SELECT statement above in a query? 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 Lambert.Heenan at AIG.com Wed Jun 1 09:19:55 2005 From: Lambert.Heenan at AIG.com (Heenan, Lambert) Date: Wed, 1 Jun 2005 10:19:55 -0400 Subject: [AccessD] More Silly Access 2002 Behavior Message-ID: <1D7828CDB8350747AFE9D69E0E90DA1F10BB502D@xlivmbx21.aig.com> X-Posted to Access-L and Access-D Has anyone yet figured out why Access 2002 often seems to take *for ever* to save a single line of code changes? For example I just loaded a working form, added a Stop statement to one event procedure and hit the save button. After a five minute wait the save operation completed and the mdb was 4 megabytes larger! Fortunately it compacted (often I'll get an error of the 'can I call home to tell MS about this problem' variety). Lambert (ain't progress wun'erful) From cfoust at infostatsystems.com Wed Jun 1 10:10:16 2005 From: cfoust at infostatsystems.com (Charlotte Foust) Date: Wed, 1 Jun 2005 08:10:16 -0700 Subject: [AccessD] Queries vs In-line SQL Message-ID: In 2000 and later, saved queries are optimized and so should execute faster than on the fly queries, including the sort generated in code. Charlotte Foust -----Original Message----- From: Joe Rojas [mailto:JRojas at tnco-inc.com] Sent: Wednesday, June 01, 2005 6:32 AM To: 'Access Developers discussion and problem solving' Subject: [AccessD] Queries vs In-line SQL Is there a performance increase between in-line SQL and queries in Access 2000? For example: Going from CurrentDB.Execute "SELECT * FROM MyTable" To putting the SELECT statement above in a query? 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 cfoust at infostatsystems.com Wed Jun 1 10:15:09 2005 From: cfoust at infostatsystems.com (Charlotte Foust) Date: Wed, 1 Jun 2005 08:15:09 -0700 Subject: [AccessD] More Silly Access 2002 Behavior Message-ID: Are you sure that's the only thing going on at that time? Background applications can cause this behavior as well. For example, I use Junk-Out, and when Outlook is running, I notice occasional pauses in other applications when it is filtering. That said, I do notice the occasional "coffee break" in Access XP, although nothing like you are describing. Charlotte Foust -----Original Message----- From: Heenan, Lambert [mailto:Lambert.Heenan at aig.com] Sent: Wednesday, June 01, 2005 7:20 AM To: 'ACCESS-L Email (ACCESS-L at PEACH.EASE.LSOFT.COM)'; 'Access-D Email (accessd at databaseadvisors.com)' Subject: [AccessD] More Silly Access 2002 Behavior X-Posted to Access-L and Access-D Has anyone yet figured out why Access 2002 often seems to take *for ever* to save a single line of code changes? For example I just loaded a working form, added a Stop statement to one event procedure and hit the save button. After a five minute wait the save operation completed and the mdb was 4 megabytes larger! Fortunately it compacted (often I'll get an error of the 'can I call home to tell MS about this problem' variety). Lambert (ain't progress wun'erful) -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From MarkBoyd at McBeeAssociates.com Wed Jun 1 10:53:29 2005 From: MarkBoyd at McBeeAssociates.com (Mark Boyd) Date: Wed, 1 Jun 2005 11:53:29 -0400 Subject: [AccessD] Excel Macro Automation from within Access Message-ID: <974F830FE464C14E8652F95E24DA663C043F6B@mail03.Mcbassoc.com> Thanks to everyone who helped with this issue. I greatly appreciate it. The only issue that I'm now having is the excel file seems to be created with Excel 5.0/95. I'm using Office 2003, and the excel file is created with ("DoCmd.OutputTo acOutputReport, strXLName, acFormatXLS, "c:\" & strXLName & ".xls", False"). Why does Access create the file using a lower version of Office than what is running on the client? Is there a way to specify the Office version when exporting the file? FYI - The macro automation function is below: Function ExcelMacro(ByVal strFileName As String) On Error GoTo Err_ExcelMacro Dim xlApp As Excel.Application Dim xlWkb As Excel.Workbook If fIsAppRunning("Excel") Then Set xlApp = GetObject(, "Excel.Application") Else Set xlApp = CreateObject("Excel.Application") End If xlApp.Application.Visible = True Set xlWkb = xlApp.Workbooks.Open(strFileName, 0) 'run Excel macro code here '... '... 'end macro code Exit_ExcelMacro: On Error Resume Next Set xlWkb = Nothing Set xlApp = Nothing Exit Function Err_ExcelMacro: Select Case Err Case 0 'insert Errors you wish to ignore here Resume Next Case Else 'All other errors will trap MsgBox Err.Number & " - " & Err.Description, vbCritical, "Error" Resume Exit_ExcelMacro End Select End Function Thanks again, Mark Boyd I/S Supervisor McBee Associates, Inc. -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Gustav Brock Sent: Thursday, May 26, 2005 5:22 AM To: accessd at databaseadvisors.com Subject: Re: [AccessD] Excel Macro Automation from within Access Hi Mark Here is how (as I learned from Mr. Colby). It works very reliably: Function RunExcelMacros( _ ByVal strFileName As String, _ ParamArray avarMacros()) As Boolean Debug.Print "xl ini", Time On Error GoTo Err_RunExcelMacros Static xlApp As Excel.Application Dim xlWkb As Excel.Workbook Dim varMacro As Variant Dim booSuccess As Boolean Dim booTerminate As Boolean If Len(strFileName) = 0 Then ' Excel shall be closed. booTerminate = True End If If xlApp Is Nothing Then If booTerminate = False Then Set xlApp = New Excel.Application End If ElseIf booTerminate = True Then xlApp.Quit Set xlApp = Nothing End If If booTerminate = False Then Set xlWkb = xlApp.Workbooks.Open(FileName:=strFileName, UpdateLinks:=0, ReadOnly:=True) ' Make Excel visible (for troubleshooting only) or not. xlApp.Visible = False 'True For Each varMacro In avarMacros() If Not Len(varMacro) = 0 Then Debug.Print "xl run", Time, varMacro booSuccess = xlApp.Run(varMacro) End If Next varMacro Else booSuccess = True End If RunExcelMacros = booSuccess Exit_RunExcelMacros: On Error Resume Next If booTerminate = False Then xlWkb.Close SaveChanges:=False Set xlWkb = Nothing End If Debug.Print "xl end", Time Exit Function Err_RunExcelMacros: Select Case Err Case 0 'insert Errors you wish to ignore here Resume Next Case Else 'All other errors will trap Beep MsgBox "Error: " & Err & ". " & Err.Description, vbCritical + vbOKOnly, "Error, macro " & varMacro Resume Exit_RunExcelMacros End Select End Function /gustav >>> MarkBoyd at McBeeAssociates.com 05/25 11:28 pm >>> I have a need to run Excel macro code from within Access VBA. Basically, the code logic flows as follows: 1. Export Access report as a new Excel file (DoCmd.OutputTo acOutputReport, strXLName, acFormatXLS, , True) 2. Run Excel macro (from within Access VBA) to format the Excel file accordingly. Does anyone have any sample code and/or resources related to this logic? Any help is greatly appreciated. Thanks, Mark Boyd I/S Supervisor McBee Associates, Inc. -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com ----------------------------------------- This message and any attachments are intended only for the use of the individual or entity to which it is addressed and may contain information that is privileged, confidential, and exempt from disclosure under applicable law. If the reader of this message is not the intended recipient, or the employee or agent responsible for delivering the message to the intended recipient, you are hereby notified that any dissemination, distribution or copying of this communication is strictly prohibited. If you have received this communication in error, please notify the sender by replying to this message, and then delete it from your system. ------------------------------------------- From donald.a.Mcgillivray at mail.sprint.com Wed Jun 1 10:54:24 2005 From: donald.a.Mcgillivray at mail.sprint.com (Mcgillivray, Don [ITS]) Date: Wed, 1 Jun 2005 10:54:24 -0500 Subject: [AccessD] Queries vs In-line SQL Message-ID: And (acknowledging that you may have simply banged out a simple SQL statement for illustrative purposes) "CurrentDB.Execute" works only for "action" (update, append, delete, etc.) queries. A select query won't "execute". Don -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Charlotte Foust Sent: Wednesday, June 01, 2005 8:10 AM To: Access Developers discussion and problem solving Subject: RE: [AccessD] Queries vs In-line SQL In 2000 and later, saved queries are optimized and so should execute faster than on the fly queries, including the sort generated in code. Charlotte Foust -----Original Message----- From: Joe Rojas [mailto:JRojas at tnco-inc.com] Sent: Wednesday, June 01, 2005 6:32 AM To: 'Access Developers discussion and problem solving' Subject: [AccessD] Queries vs In-line SQL Is there a performance increase between in-line SQL and queries in Access 2000? For example: Going from CurrentDB.Execute "SELECT * FROM MyTable" To putting the SELECT statement above in a query? Thanks! JR From Lambert.Heenan at AIG.com Wed Jun 1 11:08:30 2005 From: Lambert.Heenan at AIG.com (Heenan, Lambert) Date: Wed, 1 Jun 2005 12:08:30 -0400 Subject: [AccessD] Excel Macro Automation from within Access Message-ID: <1D7828CDB8350747AFE9D69E0E90DA1F10BB50C1@xlivmbx21.aig.com> You cannot set the excel type with OutputTo, but with DoCmd.TransferSpreadsheet you can. Lambert -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Mark Boyd Sent: Wednesday, June 01, 2005 11:53 AM To: Access Developers discussion and problem solving Subject: RE: [AccessD] Excel Macro Automation from within Access Thanks to everyone who helped with this issue. I greatly appreciate it. The only issue that I'm now having is the excel file seems to be created with Excel 5.0/95. I'm using Office 2003, and the excel file is created with ("DoCmd.OutputTo acOutputReport, strXLName, acFormatXLS, "c:\" & strXLName & ".xls", False"). Why does Access create the file using a lower version of Office than what is running on the client? Is there a way to specify the Office version when exporting the file? FYI - The macro automation function is below: Function ExcelMacro(ByVal strFileName As String) On Error GoTo Err_ExcelMacro Dim xlApp As Excel.Application Dim xlWkb As Excel.Workbook If fIsAppRunning("Excel") Then Set xlApp = GetObject(, "Excel.Application") Else Set xlApp = CreateObject("Excel.Application") End If xlApp.Application.Visible = True Set xlWkb = xlApp.Workbooks.Open(strFileName, 0) 'run Excel macro code here '... '... 'end macro code Exit_ExcelMacro: On Error Resume Next Set xlWkb = Nothing Set xlApp = Nothing Exit Function Err_ExcelMacro: Select Case Err Case 0 'insert Errors you wish to ignore here Resume Next Case Else 'All other errors will trap MsgBox Err.Number & " - " & Err.Description, vbCritical, "Error" Resume Exit_ExcelMacro End Select End Function Thanks again, Mark Boyd I/S Supervisor McBee Associates, Inc. -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Gustav Brock Sent: Thursday, May 26, 2005 5:22 AM To: accessd at databaseadvisors.com Subject: Re: [AccessD] Excel Macro Automation from within Access Hi Mark Here is how (as I learned from Mr. Colby). It works very reliably: Function RunExcelMacros( _ ByVal strFileName As String, _ ParamArray avarMacros()) As Boolean Debug.Print "xl ini", Time On Error GoTo Err_RunExcelMacros Static xlApp As Excel.Application Dim xlWkb As Excel.Workbook Dim varMacro As Variant Dim booSuccess As Boolean Dim booTerminate As Boolean If Len(strFileName) = 0 Then ' Excel shall be closed. booTerminate = True End If If xlApp Is Nothing Then If booTerminate = False Then Set xlApp = New Excel.Application End If ElseIf booTerminate = True Then xlApp.Quit Set xlApp = Nothing End If If booTerminate = False Then Set xlWkb = xlApp.Workbooks.Open(FileName:=strFileName, UpdateLinks:=0, ReadOnly:=True) ' Make Excel visible (for troubleshooting only) or not. xlApp.Visible = False 'True For Each varMacro In avarMacros() If Not Len(varMacro) = 0 Then Debug.Print "xl run", Time, varMacro booSuccess = xlApp.Run(varMacro) End If Next varMacro Else booSuccess = True End If RunExcelMacros = booSuccess Exit_RunExcelMacros: On Error Resume Next If booTerminate = False Then xlWkb.Close SaveChanges:=False Set xlWkb = Nothing End If Debug.Print "xl end", Time Exit Function Err_RunExcelMacros: Select Case Err Case 0 'insert Errors you wish to ignore here Resume Next Case Else 'All other errors will trap Beep MsgBox "Error: " & Err & ". " & Err.Description, vbCritical + vbOKOnly, "Error, macro " & varMacro Resume Exit_RunExcelMacros End Select End Function /gustav >>> MarkBoyd at McBeeAssociates.com 05/25 11:28 pm >>> I have a need to run Excel macro code from within Access VBA. Basically, the code logic flows as follows: 1. Export Access report as a new Excel file (DoCmd.OutputTo acOutputReport, strXLName, acFormatXLS, , True) 2. Run Excel macro (from within Access VBA) to format the Excel file accordingly. Does anyone have any sample code and/or resources related to this logic? Any help is greatly appreciated. Thanks, Mark Boyd I/S Supervisor McBee Associates, Inc. -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com ----------------------------------------- This message and any attachments are intended only for the use of the individual or entity to which it is addressed and may contain information that is privileged, confidential, and exempt from disclosure under applicable law. If the reader of this message is not the intended recipient, or the employee or agent responsible for delivering the message to the intended recipient, you are hereby notified that any dissemination, distribution or copying of this communication is strictly prohibited. If you have received this communication in error, please notify the sender by replying to this message, and then delete it from your system. ------------------------------------------- -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From MarkBoyd at McBeeAssociates.com Wed Jun 1 11:23:33 2005 From: MarkBoyd at McBeeAssociates.com (Mark Boyd) Date: Wed, 1 Jun 2005 12:23:33 -0400 Subject: [AccessD] Excel Macro Automation from within Access Message-ID: <974F830FE464C14E8652F95E24DA663C043F6C@mail03.Mcbassoc.com> Thanks Lambert. I can't use DoCmd.TransferSpreadsheet b/c I need to send an Access report to Excel, not a table or select query. I would use a query, but I need to keep the report headings intact. The macro that runs afterward formats the headings and columns appropriately. Mark Boyd I/S Supervisor McBee Associates, Inc. -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Heenan, Lambert Sent: Wednesday, June 01, 2005 12:09 PM To: 'Access Developers discussion and problem solving' Subject: RE: [AccessD] Excel Macro Automation from within Access You cannot set the excel type with OutputTo, but with DoCmd.TransferSpreadsheet you can. Lambert -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Mark Boyd Sent: Wednesday, June 01, 2005 11:53 AM To: Access Developers discussion and problem solving Subject: RE: [AccessD] Excel Macro Automation from within Access Thanks to everyone who helped with this issue. I greatly appreciate it. The only issue that I'm now having is the excel file seems to be created with Excel 5.0/95. I'm using Office 2003, and the excel file is created with ("DoCmd.OutputTo acOutputReport, strXLName, acFormatXLS, "c:\" & strXLName & ".xls", False"). Why does Access create the file using a lower version of Office than what is running on the client? Is there a way to specify the Office version when exporting the file? FYI - The macro automation function is below: Function ExcelMacro(ByVal strFileName As String) On Error GoTo Err_ExcelMacro Dim xlApp As Excel.Application Dim xlWkb As Excel.Workbook If fIsAppRunning("Excel") Then Set xlApp = GetObject(, "Excel.Application") Else Set xlApp = CreateObject("Excel.Application") End If xlApp.Application.Visible = True Set xlWkb = xlApp.Workbooks.Open(strFileName, 0) 'run Excel macro code here '... '... 'end macro code Exit_ExcelMacro: On Error Resume Next Set xlWkb = Nothing Set xlApp = Nothing Exit Function Err_ExcelMacro: Select Case Err Case 0 'insert Errors you wish to ignore here Resume Next Case Else 'All other errors will trap MsgBox Err.Number & " - " & Err.Description, vbCritical, "Error" Resume Exit_ExcelMacro End Select End Function Thanks again, Mark Boyd I/S Supervisor McBee Associates, Inc. -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Gustav Brock Sent: Thursday, May 26, 2005 5:22 AM To: accessd at databaseadvisors.com Subject: Re: [AccessD] Excel Macro Automation from within Access Hi Mark Here is how (as I learned from Mr. Colby). It works very reliably: Function RunExcelMacros( _ ByVal strFileName As String, _ ParamArray avarMacros()) As Boolean Debug.Print "xl ini", Time On Error GoTo Err_RunExcelMacros Static xlApp As Excel.Application Dim xlWkb As Excel.Workbook Dim varMacro As Variant Dim booSuccess As Boolean Dim booTerminate As Boolean If Len(strFileName) = 0 Then ' Excel shall be closed. booTerminate = True End If If xlApp Is Nothing Then If booTerminate = False Then Set xlApp = New Excel.Application End If ElseIf booTerminate = True Then xlApp.Quit Set xlApp = Nothing End If If booTerminate = False Then Set xlWkb = xlApp.Workbooks.Open(FileName:=strFileName, UpdateLinks:=0, ReadOnly:=True) ' Make Excel visible (for troubleshooting only) or not. xlApp.Visible = False 'True For Each varMacro In avarMacros() If Not Len(varMacro) = 0 Then Debug.Print "xl run", Time, varMacro booSuccess = xlApp.Run(varMacro) End If Next varMacro Else booSuccess = True End If RunExcelMacros = booSuccess Exit_RunExcelMacros: On Error Resume Next If booTerminate = False Then xlWkb.Close SaveChanges:=False Set xlWkb = Nothing End If Debug.Print "xl end", Time Exit Function Err_RunExcelMacros: Select Case Err Case 0 'insert Errors you wish to ignore here Resume Next Case Else 'All other errors will trap Beep MsgBox "Error: " & Err & ". " & Err.Description, vbCritical + vbOKOnly, "Error, macro " & varMacro Resume Exit_RunExcelMacros End Select End Function /gustav >>> MarkBoyd at McBeeAssociates.com 05/25 11:28 pm >>> I have a need to run Excel macro code from within Access VBA. Basically, the code logic flows as follows: 1. Export Access report as a new Excel file (DoCmd.OutputTo acOutputReport, strXLName, acFormatXLS, , True) 2. Run Excel macro (from within Access VBA) to format the Excel file accordingly. Does anyone have any sample code and/or resources related to this logic? Any help is greatly appreciated. Thanks, Mark Boyd I/S Supervisor McBee Associates, Inc. -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com ----------------------------------------- This message and any attachments are intended only for the use of the individual or entity to which it is addressed and may contain information that is privileged, confidential, and exempt from disclosure under applicable law. If the reader of this message is not the intended recipient, or the employee or agent responsible for delivering the message to the intended recipient, you are hereby notified that any dissemination, distribution or copying of this communication is strictly prohibited. If you have received this communication in error, please notify the sender by replying to this message, and then delete it from your system. ------------------------------------------- -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com ----------------------------------------- This message and any attachments are intended only for the use of the individual or entity to which it is addressed and may contain information that is privileged, confidential, and exempt from disclosure under applicable law. If the reader of this message is not the intended recipient, or the employee or agent responsible for delivering the message to the intended recipient, you are hereby notified that any dissemination, distribution or copying of this communication is strictly prohibited. If you have received this communication in error, please notify the sender by replying to this message, and then delete it from your system. ------------------------------------------- From Lambert.Heenan at AIG.com Wed Jun 1 11:43:00 2005 From: Lambert.Heenan at AIG.com (Heenan, Lambert) Date: Wed, 1 Jun 2005 12:43:00 -0400 Subject: [AccessD] Excel Macro Automation from within Access Message-ID: <1D7828CDB8350747AFE9D69E0E90DA1F10BB50DC@xlivmbx21.aig.com> Can't you just design a query that uses the column headings you want to display? -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Mark Boyd Sent: Wednesday, June 01, 2005 12:24 PM To: Access Developers discussion and problem solving Subject: RE: [AccessD] Excel Macro Automation from within Access Thanks Lambert. I can't use DoCmd.TransferSpreadsheet b/c I need to send an Access report to Excel, not a table or select query. I would use a query, but I need to keep the report headings intact. The macro that runs afterward formats the headings and columns appropriately. Mark Boyd I/S Supervisor McBee Associates, Inc. -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Heenan, Lambert Sent: Wednesday, June 01, 2005 12:09 PM To: 'Access Developers discussion and problem solving' Subject: RE: [AccessD] Excel Macro Automation from within Access You cannot set the excel type with OutputTo, but with DoCmd.TransferSpreadsheet you can. Lambert -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Mark Boyd Sent: Wednesday, June 01, 2005 11:53 AM To: Access Developers discussion and problem solving Subject: RE: [AccessD] Excel Macro Automation from within Access Thanks to everyone who helped with this issue. I greatly appreciate it. The only issue that I'm now having is the excel file seems to be created with Excel 5.0/95. I'm using Office 2003, and the excel file is created with ("DoCmd.OutputTo acOutputReport, strXLName, acFormatXLS, "c:\" & strXLName & ".xls", False"). Why does Access create the file using a lower version of Office than what is running on the client? Is there a way to specify the Office version when exporting the file? FYI - The macro automation function is below: Function ExcelMacro(ByVal strFileName As String) On Error GoTo Err_ExcelMacro Dim xlApp As Excel.Application Dim xlWkb As Excel.Workbook If fIsAppRunning("Excel") Then Set xlApp = GetObject(, "Excel.Application") Else Set xlApp = CreateObject("Excel.Application") End If xlApp.Application.Visible = True Set xlWkb = xlApp.Workbooks.Open(strFileName, 0) 'run Excel macro code here '... '... 'end macro code Exit_ExcelMacro: On Error Resume Next Set xlWkb = Nothing Set xlApp = Nothing Exit Function Err_ExcelMacro: Select Case Err Case 0 'insert Errors you wish to ignore here Resume Next Case Else 'All other errors will trap MsgBox Err.Number & " - " & Err.Description, vbCritical, "Error" Resume Exit_ExcelMacro End Select End Function Thanks again, Mark Boyd I/S Supervisor McBee Associates, Inc. -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Gustav Brock Sent: Thursday, May 26, 2005 5:22 AM To: accessd at databaseadvisors.com Subject: Re: [AccessD] Excel Macro Automation from within Access Hi Mark Here is how (as I learned from Mr. Colby). It works very reliably: Function RunExcelMacros( _ ByVal strFileName As String, _ ParamArray avarMacros()) As Boolean Debug.Print "xl ini", Time On Error GoTo Err_RunExcelMacros Static xlApp As Excel.Application Dim xlWkb As Excel.Workbook Dim varMacro As Variant Dim booSuccess As Boolean Dim booTerminate As Boolean If Len(strFileName) = 0 Then ' Excel shall be closed. booTerminate = True End If If xlApp Is Nothing Then If booTerminate = False Then Set xlApp = New Excel.Application End If ElseIf booTerminate = True Then xlApp.Quit Set xlApp = Nothing End If If booTerminate = False Then Set xlWkb = xlApp.Workbooks.Open(FileName:=strFileName, UpdateLinks:=0, ReadOnly:=True) ' Make Excel visible (for troubleshooting only) or not. xlApp.Visible = False 'True For Each varMacro In avarMacros() If Not Len(varMacro) = 0 Then Debug.Print "xl run", Time, varMacro booSuccess = xlApp.Run(varMacro) End If Next varMacro Else booSuccess = True End If RunExcelMacros = booSuccess Exit_RunExcelMacros: On Error Resume Next If booTerminate = False Then xlWkb.Close SaveChanges:=False Set xlWkb = Nothing End If Debug.Print "xl end", Time Exit Function Err_RunExcelMacros: Select Case Err Case 0 'insert Errors you wish to ignore here Resume Next Case Else 'All other errors will trap Beep MsgBox "Error: " & Err & ". " & Err.Description, vbCritical + vbOKOnly, "Error, macro " & varMacro Resume Exit_RunExcelMacros End Select End Function /gustav >>> MarkBoyd at McBeeAssociates.com 05/25 11:28 pm >>> I have a need to run Excel macro code from within Access VBA. Basically, the code logic flows as follows: 1. Export Access report as a new Excel file (DoCmd.OutputTo acOutputReport, strXLName, acFormatXLS, , True) 2. Run Excel macro (from within Access VBA) to format the Excel file accordingly. Does anyone have any sample code and/or resources related to this logic? Any help is greatly appreciated. Thanks, Mark Boyd I/S Supervisor McBee Associates, Inc. -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com ----------------------------------------- This message and any attachments are intended only for the use of the individual or entity to which it is addressed and may contain information that is privileged, confidential, and exempt from disclosure under applicable law. If the reader of this message is not the intended recipient, or the employee or agent responsible for delivering the message to the intended recipient, you are hereby notified that any dissemination, distribution or copying of this communication is strictly prohibited. If you have received this communication in error, please notify the sender by replying to this message, and then delete it from your system. ------------------------------------------- -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com ----------------------------------------- This message and any attachments are intended only for the use of the individual or entity to which it is addressed and may contain information that is privileged, confidential, and exempt from disclosure under applicable law. If the reader of this message is not the intended recipient, or the employee or agent responsible for delivering the message to the intended recipient, you are hereby notified that any dissemination, distribution or copying of this communication is strictly prohibited. If you have received this communication in error, please notify the sender by replying to this message, and then delete it from your system. ------------------------------------------- -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From MarkBoyd at McBeeAssociates.com Wed Jun 1 12:03:14 2005 From: MarkBoyd at McBeeAssociates.com (Mark Boyd) Date: Wed, 1 Jun 2005 13:03:14 -0400 Subject: [AccessD] Excel Macro Automation from within Access Message-ID: <974F830FE464C14E8652F95E24DA663C043F6E@mail03.Mcbassoc.com> It isn't the column headings that I need to preserve, but the data in the Report Header section, such as titles, sub-titles, etc. Mark Boyd I/S Supervisor McBee Associates, Inc. -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Heenan, Lambert Sent: Wednesday, June 01, 2005 12:43 PM To: 'Access Developers discussion and problem solving' Subject: RE: [AccessD] Excel Macro Automation from within Access Can't you just design a query that uses the column headings you want to display? -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Mark Boyd Sent: Wednesday, June 01, 2005 12:24 PM To: Access Developers discussion and problem solving Subject: RE: [AccessD] Excel Macro Automation from within Access Thanks Lambert. I can't use DoCmd.TransferSpreadsheet b/c I need to send an Access report to Excel, not a table or select query. I would use a query, but I need to keep the report headings intact. The macro that runs afterward formats the headings and columns appropriately. Mark Boyd I/S Supervisor McBee Associates, Inc. -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Heenan, Lambert Sent: Wednesday, June 01, 2005 12:09 PM To: 'Access Developers discussion and problem solving' Subject: RE: [AccessD] Excel Macro Automation from within Access You cannot set the excel type with OutputTo, but with DoCmd.TransferSpreadsheet you can. Lambert -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Mark Boyd Sent: Wednesday, June 01, 2005 11:53 AM To: Access Developers discussion and problem solving Subject: RE: [AccessD] Excel Macro Automation from within Access Thanks to everyone who helped with this issue. I greatly appreciate it. The only issue that I'm now having is the excel file seems to be created with Excel 5.0/95. I'm using Office 2003, and the excel file is created with ("DoCmd.OutputTo acOutputReport, strXLName, acFormatXLS, "c:\" & strXLName & ".xls", False"). Why does Access create the file using a lower version of Office than what is running on the client? Is there a way to specify the Office version when exporting the file? FYI - The macro automation function is below: Function ExcelMacro(ByVal strFileName As String) On Error GoTo Err_ExcelMacro Dim xlApp As Excel.Application Dim xlWkb As Excel.Workbook If fIsAppRunning("Excel") Then Set xlApp = GetObject(, "Excel.Application") Else Set xlApp = CreateObject("Excel.Application") End If xlApp.Application.Visible = True Set xlWkb = xlApp.Workbooks.Open(strFileName, 0) 'run Excel macro code here '... '... 'end macro code Exit_ExcelMacro: On Error Resume Next Set xlWkb = Nothing Set xlApp = Nothing Exit Function Err_ExcelMacro: Select Case Err Case 0 'insert Errors you wish to ignore here Resume Next Case Else 'All other errors will trap MsgBox Err.Number & " - " & Err.Description, vbCritical, "Error" Resume Exit_ExcelMacro End Select End Function Thanks again, Mark Boyd I/S Supervisor McBee Associates, Inc. -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Gustav Brock Sent: Thursday, May 26, 2005 5:22 AM To: accessd at databaseadvisors.com Subject: Re: [AccessD] Excel Macro Automation from within Access Hi Mark Here is how (as I learned from Mr. Colby). It works very reliably: Function RunExcelMacros( _ ByVal strFileName As String, _ ParamArray avarMacros()) As Boolean Debug.Print "xl ini", Time On Error GoTo Err_RunExcelMacros Static xlApp As Excel.Application Dim xlWkb As Excel.Workbook Dim varMacro As Variant Dim booSuccess As Boolean Dim booTerminate As Boolean If Len(strFileName) = 0 Then ' Excel shall be closed. booTerminate = True End If If xlApp Is Nothing Then If booTerminate = False Then Set xlApp = New Excel.Application End If ElseIf booTerminate = True Then xlApp.Quit Set xlApp = Nothing End If If booTerminate = False Then Set xlWkb = xlApp.Workbooks.Open(FileName:=strFileName, UpdateLinks:=0, ReadOnly:=True) ' Make Excel visible (for troubleshooting only) or not. xlApp.Visible = False 'True For Each varMacro In avarMacros() If Not Len(varMacro) = 0 Then Debug.Print "xl run", Time, varMacro booSuccess = xlApp.Run(varMacro) End If Next varMacro Else booSuccess = True End If RunExcelMacros = booSuccess Exit_RunExcelMacros: On Error Resume Next If booTerminate = False Then xlWkb.Close SaveChanges:=False Set xlWkb = Nothing End If Debug.Print "xl end", Time Exit Function Err_RunExcelMacros: Select Case Err Case 0 'insert Errors you wish to ignore here Resume Next Case Else 'All other errors will trap Beep MsgBox "Error: " & Err & ". " & Err.Description, vbCritical + vbOKOnly, "Error, macro " & varMacro Resume Exit_RunExcelMacros End Select End Function /gustav >>> MarkBoyd at McBeeAssociates.com 05/25 11:28 pm >>> I have a need to run Excel macro code from within Access VBA. Basically, the code logic flows as follows: 1. Export Access report as a new Excel file (DoCmd.OutputTo acOutputReport, strXLName, acFormatXLS, , True) 2. Run Excel macro (from within Access VBA) to format the Excel file accordingly. Does anyone have any sample code and/or resources related to this logic? Any help is greatly appreciated. Thanks, Mark Boyd I/S Supervisor McBee Associates, Inc. -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com ----------------------------------------- This message and any attachments are intended only for the use of the individual or entity to which it is addressed and may contain information that is privileged, confidential, and exempt from disclosure under applicable law. If the reader of this message is not the intended recipient, or the employee or agent responsible for delivering the message to the intended recipient, you are hereby notified that any dissemination, distribution or copying of this communication is strictly prohibited. If you have received this communication in error, please notify the sender by replying to this message, and then delete it from your system. ------------------------------------------- -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com ----------------------------------------- This message and any attachments are intended only for the use of the individual or entity to which it is addressed and may contain information that is privileged, confidential, and exempt from disclosure under applicable law. If the reader of this message is not the intended recipient, or the employee or agent responsible for delivering the message to the intended recipient, you are hereby notified that any dissemination, distribution or copying of this communication is strictly prohibited. If you have received this communication in error, please notify the sender by replying to this message, and then delete it from your system. ------------------------------------------- -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com ----------------------------------------- This message and any attachments are intended only for the use of the individual or entity to which it is addressed and may contain information that is privileged, confidential, and exempt from disclosure under applicable law. If the reader of this message is not the intended recipient, or the employee or agent responsible for delivering the message to the intended recipient, you are hereby notified that any dissemination, distribution or copying of this communication is strictly prohibited. If you have received this communication in error, please notify the sender by replying to this message, and then delete it from your system. ------------------------------------------- From darsant at gmail.com Wed Jun 1 13:45:08 2005 From: darsant at gmail.com (Darsant Silverstring) Date: Wed, 1 Jun 2005 13:45:08 -0500 Subject: [AccessD] Excel Macro Automation from within Access In-Reply-To: <974F830FE464C14E8652F95E24DA663C043F6E@mail03.Mcbassoc.com> References: <974F830FE464C14E8652F95E24DA663C043F6E@mail03.Mcbassoc.com> Message-ID: <53c8e05a05060111452d4b8d5@mail.gmail.com> On 6/1/05, Mark Boyd wrote: > It isn't the column headings that I need to preserve, but the data in > the Report Header section, such as titles, sub-titles, etc. > > Mark Boyd > I/S Supervisor > McBee Associates, Inc. Well, you could take the query that the report is feeding from, and pipe the data through VBA code to export it to excel. Err, well, it'd be multiple recordsets depending on what you wanted to format, but you could use do while loops on each recordset to output the appropriate heading, then output the data, then total the data, then move onto the next recordset. With VBA code linking it to excel you can do whatever formatting you want, but you're going to have to more softcode the output and modify the macro that you created to work with the Access interface. In other words, instead of outputting from report format to excel, you can output from the module itself. More work but allows you 100% accessability and formating options vs having to correct the auto-formatting done by report-->excel procedure. -- Darsant Silverstring "Peace cannot be kept by force. It can only be achieved by understanding." -Albert Einstein From MarkBoyd at McBeeAssociates.com Wed Jun 1 14:10:15 2005 From: MarkBoyd at McBeeAssociates.com (Mark Boyd) Date: Wed, 1 Jun 2005 15:10:15 -0400 Subject: [AccessD] Excel Macro Automation from within Access Message-ID: <974F830FE464C14E8652F95E24DA663C043F72@mail03.Mcbassoc.com> Thanks Darsant. This option seems feasible, but sounds like a lot of coding to get it to work by tomorrow. I'll have to use a band-aid until I can look into your approach when I have more time. Thanks, Mark Boyd I/S Supervisor McBee Associates, Inc. -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Darsant Silverstring Sent: Wednesday, June 01, 2005 2:45 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Excel Macro Automation from within Access On 6/1/05, Mark Boyd wrote: > It isn't the column headings that I need to preserve, but the data in > the Report Header section, such as titles, sub-titles, etc. > > Mark Boyd > I/S Supervisor > McBee Associates, Inc. Well, you could take the query that the report is feeding from, and pipe the data through VBA code to export it to excel. Err, well, it'd be multiple recordsets depending on what you wanted to format, but you could use do while loops on each recordset to output the appropriate heading, then output the data, then total the data, then move onto the next recordset. With VBA code linking it to excel you can do whatever formatting you want, but you're going to have to more softcode the output and modify the macro that you created to work with the Access interface. In other words, instead of outputting from report format to excel, you can output from the module itself. More work but allows you 100% accessability and formating options vs having to correct the auto-formatting done by report-->excel procedure. -- Darsant Silverstring "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 ----------------------------------------- This message and any attachments are intended only for the use of the individual or entity to which it is addressed and may contain information that is privileged, confidential, and exempt from disclosure under applicable law. If the reader of this message is not the intended recipient, or the employee or agent responsible for delivering the message to the intended recipient, you are hereby notified that any dissemination, distribution or copying of this communication is strictly prohibited. If you have received this communication in error, please notify the sender by replying to this message, and then delete it from your system. ------------------------------------------- From Jim.Hale at FleetPride.com Wed Jun 1 14:40:18 2005 From: Jim.Hale at FleetPride.com (Hale, Jim) Date: Wed, 1 Jun 2005 14:40:18 -0500 Subject: [AccessD] Excel Macro Automation from within Access Message-ID: <6A6AA9DF57E4F046BDA1E273BDDB677233761D@corp-es01.fleetpride.com> Are you saving the file using code? Check out Excel's SaveAs method. It allows a fileformat parameter. I think xlWorkbookNormal is the correct one. Jim Hale -----Original Message----- From: Mark Boyd [mailto:MarkBoyd at mcbeeassociates.com] Sent: Wednesday, June 01, 2005 10:53 AM To: Access Developers discussion and problem solving Subject: RE: [AccessD] Excel Macro Automation from within Access Thanks to everyone who helped with this issue. I greatly appreciate it. The only issue that I'm now having is the excel file seems to be created with Excel 5.0/95. I'm using Office 2003, and the excel file is created with ("DoCmd.OutputTo acOutputReport, strXLName, acFormatXLS, "c:\" & strXLName & ".xls", False"). Why does Access create the file using a lower version of Office than what is running on the client? Is there a way to specify the Office version when exporting the file? FYI - The macro automation function is below: Function ExcelMacro(ByVal strFileName As String) On Error GoTo Err_ExcelMacro Dim xlApp As Excel.Application Dim xlWkb As Excel.Workbook If fIsAppRunning("Excel") Then Set xlApp = GetObject(, "Excel.Application") Else Set xlApp = CreateObject("Excel.Application") End If xlApp.Application.Visible = True Set xlWkb = xlApp.Workbooks.Open(strFileName, 0) 'run Excel macro code here '... '... 'end macro code Exit_ExcelMacro: On Error Resume Next Set xlWkb = Nothing Set xlApp = Nothing Exit Function Err_ExcelMacro: Select Case Err Case 0 'insert Errors you wish to ignore here Resume Next Case Else 'All other errors will trap MsgBox Err.Number & " - " & Err.Description, vbCritical, "Error" Resume Exit_ExcelMacro End Select End Function Thanks again, Mark Boyd I/S Supervisor McBee Associates, Inc. *********************************************************************** 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 MarkBoyd at McBeeAssociates.com Wed Jun 1 17:21:27 2005 From: MarkBoyd at McBeeAssociates.com (Mark Boyd) Date: Wed, 1 Jun 2005 18:21:27 -0400 Subject: [AccessD] Excel Macro Automation from within Access Message-ID: <974F830FE464C14E8652F95E24DA663C043F78@mail03.Mcbassoc.com> Thanks Jim, this is pointing me in the right direction. The export process is as follows: 1. Export report to Excel 2. Format report w/ macro 3. Save formatting changes 4. Attach file to email message When using the SaveAs method, I'm prompted to overwrite the existing excel file (the one just formatted). Am I missing something in regard to the properties of the SaveAs method, that will allow me to save the existing, formatted file? If I select Yes to overwrite the existing file, all of the macro formats are lost. Mark Boyd I/S Supervisor McBee Associates, Inc. -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Hale, Jim Sent: Wednesday, June 01, 2005 3:40 PM To: 'Access Developers discussion and problem solving' Subject: RE: [AccessD] Excel Macro Automation from within Access Are you saving the file using code? Check out Excel's SaveAs method. It allows a fileformat parameter. I think xlWorkbookNormal is the correct one. Jim Hale -----Original Message----- From: Mark Boyd [mailto:MarkBoyd at mcbeeassociates.com] Sent: Wednesday, June 01, 2005 10:53 AM To: Access Developers discussion and problem solving Subject: RE: [AccessD] Excel Macro Automation from within Access Thanks to everyone who helped with this issue. I greatly appreciate it. The only issue that I'm now having is the excel file seems to be created with Excel 5.0/95. I'm using Office 2003, and the excel file is created with ("DoCmd.OutputTo acOutputReport, strXLName, acFormatXLS, "c:\" & strXLName & ".xls", False"). Why does Access create the file using a lower version of Office than what is running on the client? Is there a way to specify the Office version when exporting the file? FYI - The macro automation function is below: Function ExcelMacro(ByVal strFileName As String) On Error GoTo Err_ExcelMacro Dim xlApp As Excel.Application Dim xlWkb As Excel.Workbook If fIsAppRunning("Excel") Then Set xlApp = GetObject(, "Excel.Application") Else Set xlApp = CreateObject("Excel.Application") End If xlApp.Application.Visible = True Set xlWkb = xlApp.Workbooks.Open(strFileName, 0) 'run Excel macro code here '... '... 'end macro code Exit_ExcelMacro: On Error Resume Next Set xlWkb = Nothing Set xlApp = Nothing Exit Function Err_ExcelMacro: Select Case Err Case 0 'insert Errors you wish to ignore here Resume Next Case Else 'All other errors will trap MsgBox Err.Number & " - " & Err.Description, vbCritical, "Error" Resume Exit_ExcelMacro End Select End Function Thanks again, Mark Boyd I/S Supervisor McBee Associates, Inc. *********************************************************************** 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. ----------------------------------------- This message and any attachments are intended only for the use of the individual or entity to which it is addressed and may contain information that is privileged, confidential, and exempt from disclosure under applicable law. If the reader of this message is not the intended recipient, or the employee or agent responsible for delivering the message to the intended recipient, you are hereby notified that any dissemination, distribution or copying of this communication is strictly prohibited. If you have received this communication in error, please notify the sender by replying to this message, and then delete it from your system. ------------------------------------------- From jwcolby at colbyconsulting.com Wed Jun 1 17:29:23 2005 From: jwcolby at colbyconsulting.com (John W. Colby) Date: Wed, 01 Jun 2005 18:29:23 -0400 Subject: [AccessD] Any MapPoint programmers out there? Message-ID: <002901c566f9$5c6c79f0$6c7aa8c0@ColbyM6805> I'm getting ready to do some pretty serious MapPoint stuff and wondered if anyone else out there is doing MapPoint? John W. Colby www.ColbyConsulting.com Contribute your unused CPU cycles to a good cause: http://folding.stanford.edu/ From DWUTKA at marlow.com Wed Jun 1 17:42:17 2005 From: DWUTKA at marlow.com (DWUTKA at marlow.com) Date: Wed, 1 Jun 2005 17:42:17 -0500 Subject: [AccessD] Any MapPoint programmers out there? Message-ID: <123701F54509D9119A4F00D0B747349016D61C@main2.marlow.com> Mike Mattys does Mappoint. Drew -----Original Message----- From: John W. Colby [mailto:jwcolby at colbyconsulting.com] Sent: Wednesday, June 01, 2005 5:29 PM To: 'Access Developers discussion and problem solving' Subject: [AccessD] Any MapPoint programmers out there? I'm getting ready to do some pretty serious MapPoint stuff and wondered if anyone else out there is doing MapPoint? 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 fhtapia at gmail.com Wed Jun 1 19:46:48 2005 From: fhtapia at gmail.com (Francisco Tapia) Date: Wed, 1 Jun 2005 17:46:48 -0700 Subject: [AccessD] Error Loading Project? Message-ID: Recently I've been plauged by this error: I have 2 Access ADP's , the primary is the dev copy and I write in this copy all my development code, once compiled, and tested I "EXPORT" the new form or modified form to the Production .adp copy this file used to be on the network, but due to the more recent network errors that I was plauged w/ I decided to simply create a folder on my pc called "build" and export to that folder instead, everything had been working great, and in fact each copy compiles w/o errors... but if I export from the dev on drive C to the build on drive C I end up w/ an error on the build copy as "Error Loading Project, disk or network error, continue loading?" if you click ok I find that the module is empty. If I then (while in the build copy), IMPORT the same form, then I get a new Form1 classic import, I delete the corrupted form and rename Form1 to Form and all is well again... why can I not export anymore? -- -Francisco http://pcthis.blogspot.com |PC news with out the jargon! http://sqlthis.blogspot.com | Tsql and More... From jwcolby at colbyconsulting.com Wed Jun 1 19:56:44 2005 From: jwcolby at colbyconsulting.com (John W. Colby) Date: Wed, 01 Jun 2005 20:56:44 -0400 Subject: [AccessD] Error Loading Project? In-Reply-To: Message-ID: <002c01c5670d$f64a08d0$6c7aa8c0@ColbyM6805> Do you happen to have 2K and XP on the same machine? John W. Colby www.ColbyConsulting.com Contribute your unused CPU cycles to a good cause: http://folding.stanford.edu/ -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Francisco Tapia Sent: Wednesday, June 01, 2005 8:47 PM To: access-l at peach.ease.lsoft.com; Access Developers discussion and problem solving Subject: [AccessD] Error Loading Project? Recently I've been plauged by this error: I have 2 Access ADP's , the primary is the dev copy and I write in this copy all my development code, once compiled, and tested I "EXPORT" the new form or modified form to the Production .adp copy this file used to be on the network, but due to the more recent network errors that I was plauged w/ I decided to simply create a folder on my pc called "build" and export to that folder instead, everything had been working great, and in fact each copy compiles w/o errors... but if I export from the dev on drive C to the build on drive C I end up w/ an error on the build copy as "Error Loading Project, disk or network error, continue loading?" if you click ok I find that the module is empty. If I then (while in the build copy), IMPORT the same form, then I get a new Form1 classic import, I delete the corrupted form and rename Form1 to Form and all is well again... why can I not export anymore? -- -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 mcaro at bigpond.net.au Wed Jun 1 21:17:41 2005 From: mcaro at bigpond.net.au (Martin Caro) Date: Thu, 2 Jun 2005 12:17:41 +1000 Subject: [AccessD] Changing Criteria Message-ID: <006901c56719$419def80$0100000a@MITSERVER> Hi Folks Is it possible to do the following: I have a query where one of the fields references a text box containing a Filter Code to pick up the required selection criteria for the query. It works fine for Case 1 to 6 but what is the syntax to make Case 7 and 8 work? Private Sub HotelFilter_AfterUpdate() Select Case HotelFilter Case Is = 1 FilterCode = "FH" Case Is = 2 FilterCode = "FHI" Case Is = 3 FilterCode = "LH" Case Is = 4 FilterCode = "B" Case Is = 5 FilterCode = "L" Case Is = 6 FilterCode = "E" Case Is = 7 FilterCode = Display only those records that do not have a code ie Code is Null Case Is = 8 FilterCode = Display all records ie no filter End Select Me.Refresh From bchacc at san.rr.com Wed Jun 1 22:16:35 2005 From: bchacc at san.rr.com (Rocky Smolin - Beach Access Software) Date: Wed, 1 Jun 2005 20:16:35 -0700 Subject: [AccessD] Changing Criteria References: <006901c56719$419def80$0100000a@MITSERVER> Message-ID: <043b01c56721$7b889ee0$6501a8c0@HAL9004> Martin: I think case 7 would be IsNull. You can try it. Case 8 would be Me.Filter="": Me.FilterOn=False. I think. Rocky ----- Original Message ----- From: "Martin Caro" To: "Access Developers discussion and problem solving" Sent: Wednesday, June 01, 2005 7:17 PM Subject: [AccessD] Changing Criteria Hi Folks Is it possible to do the following: I have a query where one of the fields references a text box containing a Filter Code to pick up the required selection criteria for the query. It works fine for Case 1 to 6 but what is the syntax to make Case 7 and 8 work? Private Sub HotelFilter_AfterUpdate() Select Case HotelFilter Case Is = 1 FilterCode = "FH" Case Is = 2 FilterCode = "FHI" Case Is = 3 FilterCode = "LH" Case Is = 4 FilterCode = "B" Case Is = 5 FilterCode = "L" Case Is = 6 FilterCode = "E" Case Is = 7 FilterCode = Display only those records that do not have a code ie Code is Null Case Is = 8 FilterCode = Display all records ie no filter End Select Me.Refresh -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From jwcolby at colbyconsulting.com Wed Jun 1 22:41:31 2005 From: jwcolby at colbyconsulting.com (John W. Colby) Date: Wed, 01 Jun 2005 23:41:31 -0400 Subject: [AccessD] Height and width of usable screen Message-ID: <002d01c56724$fa56c000$6c7aa8c0@ColbyM6805> How do you determine the height and width (in pixels) of the USABLE area of the screen, i.e. the screen dimensions minus any toolbars? I am working with MapPoint and am able to instantiate it, and display it, but I am now trying to set it to display full screen and I don't find any "maximize" method, rather it seems you have to set the top/left/height/width (in pixels). 0/0/1280/7xx sets it correctly for my laptop, but the 7XX is the issue. If I make it too large it simply places some part of the application off the screen. Not good. John W. Colby www.ColbyConsulting.com Contribute your unused CPU cycles to a good cause: http://folding.stanford.edu/ From jwcolby at colbyconsulting.com Wed Jun 1 22:48:32 2005 From: jwcolby at colbyconsulting.com (John W. Colby) Date: Wed, 01 Jun 2005 23:48:32 -0400 Subject: [AccessD] Height and width of usable screen In-Reply-To: <002d01c56724$fa56c000$6c7aa8c0@ColbyM6805> Message-ID: <002e01c56725$f28bb460$6c7aa8c0@ColbyM6805> Never mind, I found it (WindowState). John W. Colby www.ColbyConsulting.com Contribute your unused CPU cycles to 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: Wednesday, June 01, 2005 11:42 PM To: 'Access Developers discussion and problem solving' Subject: [AccessD] Height and width of usable screen How do you determine the height and width (in pixels) of the USABLE area of the screen, i.e. the screen dimensions minus any toolbars? I am working with MapPoint and am able to instantiate it, and display it, but I am now trying to set it to display full screen and I don't find any "maximize" method, rather it seems you have to set the top/left/height/width (in pixels). 0/0/1280/7xx sets it correctly for my laptop, but the 7XX is the issue. If I make it too large it simply places some part of the application off the screen. Not good. 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 jmhecht at earthlink.net Wed Jun 1 23:37:44 2005 From: jmhecht at earthlink.net (Joe Hecht) Date: Wed, 1 Jun 2005 21:37:44 -0700 Subject: [AccessD] Invitations DB Design Ideas Message-ID: <001f01c5672c$d20f09b0$6401a8c0@laptop1> So my niece got engaged and I figure I better get my DB going soon. Right now the database is one table, These are typed in to readable and not names with spaces etc: I rec num 1st Person first Name 1st person last name 2cd person first name 2cd person last name Address fields Adults Invitation Represents Children Invitation represents Contact phone Memo Source (Bride/Groom/Family/friend?) Invited Y/N Coming y/n Gift received Y/N Note Sent Y/N Looking for ideas to normalize this OK wise guys, I know no wedding is normal but... Joe Hecht Los Angeles CA From bchacc at san.rr.com Thu Jun 2 00:08:27 2005 From: bchacc at san.rr.com (Rocky Smolin - Beach Access Software) Date: Wed, 1 Jun 2005 22:08:27 -0700 Subject: [AccessD] Invitations DB Design Ideas References: <001f01c5672c$d20f09b0$6401a8c0@laptop1> Message-ID: <048601c56731$1c5d6b70$6501a8c0@HAL9004> Will there only be two persons' names at most? If not, then you can put the names in a name table with a foreign key to the Invitation table's primary key. Source could also be a table with a FK in the Invitation pointing to the source table's PK. Seems like maybe more trouble than it's worth for this app, though. Rocky ----- Original Message ----- From: "Joe Hecht" To: "'Access Developers discussion and problem solving'" Sent: Wednesday, June 01, 2005 9:37 PM Subject: [AccessD] Invitations DB Design Ideas > So my niece got engaged and I figure I better get my DB going soon. > > Right now the database is one table, > > These are typed in to readable and not names with spaces etc: > > I rec num > 1st Person first Name > 1st person last name > 2cd person first name > 2cd person last name > Address fields > Adults Invitation Represents > Children Invitation represents > Contact phone > Memo > Source (Bride/Groom/Family/friend?) > Invited Y/N > Coming y/n > Gift received Y/N > Note Sent Y/N > > > > Looking for ideas to normalize this > > OK wise guys, I know no wedding is normal but... > > > > Joe Hecht > Los Angeles CA > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > From adtp at touchtelindia.net Thu Jun 2 00:56:35 2005 From: adtp at touchtelindia.net (A.D.Tejpal) Date: Thu, 2 Jun 2005 11:26:35 +0530 Subject: [AccessD] Changing Criteria References: <006901c56719$419def80$0100000a@MITSERVER> Message-ID: <00d601c56738$027cccd0$aa1865cb@winxp> Martin, You wish to incorporate criteria options in a query (to be picked up from a form) for - (a) Null values only (b) All values (including Nulls) These two involve non-string expressions if direct comparison with existing field in the table is attempted. The situation does not directly afford an appropriate string that could straightaway be used in the manner applicable to case statements 1 to 6. For getting the desired results, following course of action is suggested. HotelCode is the name of text type field in table T_HotelCode. (a) Select query may be modified as shown below. It would mean that the value of FilterCode on form F_HotelFilter will get tested against Nz([HotelCode],"") in the query. (b) Code in form's module may be modified as shown below. It provides for - Case Is = 7 FilterCode = "" Case Is = 8 FilterCode = "ALL" Best wishes, A.D.Tejpal -------------- Select Query ==================================== SELECT T_HotelCode.* FROM T_HotelCode WHERE (((Nz([HotelCode],""))=IIf([Forms]![F_HotelFilter]![FilterCode]="ALL",Nz([HotelCode],""),[Forms]![F_HotelFilter]![FilterCode]))); ==================================== Code in Form's module ==================================== Private Sub HotelFilter_AfterUpdate() Select Case HotelFilter Case Is = 1 FilterCode = "FH" Case Is = 2 FilterCode = "FHI" Case Is = 3 FilterCode = "LH" Case Is = 4 FilterCode = "B" Case Is = 5 FilterCode = "L" Case Is = 6 FilterCode = "E" Case Is = 7 FilterCode = "" Case Is = 8 FilterCode = "ALL" End Select Me.Refresh End Sub ==================================== ----- Original Message ----- From: Martin Caro To: Access Developers discussion and problem solving Sent: Thursday, June 02, 2005 07:47 Subject: [AccessD] Changing Criteria Hi Folks Is it possible to do the following: I have a query where one of the fields references a text box containing a Filter Code to pick up the required selection criteria for the query. It works fine for Case 1 to 6 but what is the syntax to make Case 7 and 8 work? Private Sub HotelFilter_AfterUpdate() Select Case HotelFilter Case Is = 1 FilterCode = "FH" Case Is = 2 FilterCode = "FHI" Case Is = 3 FilterCode = "LH" Case Is = 4 FilterCode = "B" Case Is = 5 FilterCode = "L" Case Is = 6 FilterCode = "E" Case Is = 7 FilterCode = Display only those records that do not have a code ie Code is Null Case Is = 8 FilterCode = Display all records ie no filter End Select Me.Refresh From jmhecht at earthlink.net Thu Jun 2 01:24:49 2005 From: jmhecht at earthlink.net (Joe Hecht) Date: Wed, 1 Jun 2005 23:24:49 -0700 Subject: [AccessD] Invitations DB Design Ideas In-Reply-To: <048601c56731$1c5d6b70$6501a8c0@HAL9004> Message-ID: <002701c5673b$c854a8d0$6401a8c0@laptop1> Rocky, I can not see three names on an invitation. Worst case would be Mr. Rocky Smolin and Ms. Mrs. Smolin. Maybe and kids? Joe Hecht Los Angeles CA -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Rocky Smolin - Beach Access Software Sent: Wednesday, June 01, 2005 10:08 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Invitations DB Design Ideas Will there only be two persons' names at most? If not, then you can put the names in a name table with a foreign key to the Invitation table's primary key. Source could also be a table with a FK in the Invitation pointing to the source table's PK. Seems like maybe more trouble than it's worth for this app, though. Rocky ----- Original Message ----- From: "Joe Hecht" To: "'Access Developers discussion and problem solving'" Sent: Wednesday, June 01, 2005 9:37 PM Subject: [AccessD] Invitations DB Design Ideas > So my niece got engaged and I figure I better get my DB going soon. > > Right now the database is one table, > > These are typed in to readable and not names with spaces etc: > > I rec num > 1st Person first Name > 1st person last name > 2cd person first name > 2cd person last name > Address fields > Adults Invitation Represents > Children Invitation represents > Contact phone > Memo > Source (Bride/Groom/Family/friend?) > Invited Y/N > Coming y/n > Gift received Y/N > Note Sent Y/N > > > > Looking for ideas to normalize this > > OK wise guys, I know no wedding is normal but... > > > > 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 From paul.hartland at isharp.co.uk Thu Jun 2 02:00:09 2005 From: paul.hartland at isharp.co.uk (Paul Hartland (ISHARP)) Date: Thu, 2 Jun 2005 08:00:09 +0100 Subject: [AccessD] Any MapPoint programmers out there? In-Reply-To: <002901c566f9$5c6c79f0$6c7aa8c0@ColbyM6805> Message-ID: I am also getting ready to use MapPoint with VB6 and SQL Server 2000, mainly want to use it to calculate distances that our employees are from our clients, but may also want to be able to create maps/directions etc.... So if anyone knows any good sites or can help me with getting started I would be grateful.... Thanks in advance for any help on this.... Paul Hartland -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of John W. Colby Sent: 01 June 2005 23:29 To: 'Access Developers discussion and problem solving' Subject: [AccessD] Any MapPoint programmers out there? I'm getting ready to do some pretty serious MapPoint stuff and wondered if anyone else out there is doing MapPoint? 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 michael.mattys at verizon.net Thu Jun 2 04:45:16 2005 From: michael.mattys at verizon.net (Michael R Mattys) Date: Thu, 02 Jun 2005 05:45:16 -0400 Subject: [AccessD] Any MapPoint programmers out there? References: Message-ID: <040001c56757$c9d0d7d0$0202a8c0@default> I have been programming in MapPoint for over 2 years using both Access and VB6. I have several apps created that I sell, including a full routing and scheduling app. Haven't had time to update my website since I started. My efforts were started at Eric Frost's www.mp2kmag.com, where you'll find articles and discussion. I frequently answer questions on Newsgroups: Microsoft.Public.MapPoint and Microsoft.Public.Street-Trips. ---- Michael R. Mattys Mattys MapLib for Microsoft MapPoint http://www.mattysconsulting.com ----- Original Message ----- From: "Paul Hartland (ISHARP)" To: "'Access Developers discussion and problem solving'" Sent: Thursday, June 02, 2005 3:00 AM Subject: RE: [AccessD] Any MapPoint programmers out there? > I am also getting ready to use MapPoint with VB6 and SQL Server 2000, mainly > want to use it to calculate distances that our employees are from our > clients, but may also want to be able to create maps/directions etc.... > > So if anyone knows any good sites or can help me with getting started I > would be grateful.... > > Thanks in advance for any help on this.... > > Paul Hartland > > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of John W. Colby > Sent: 01 June 2005 23:29 > To: 'Access Developers discussion and problem solving' > Subject: [AccessD] Any MapPoint programmers out there? > > I'm getting ready to do some pretty serious MapPoint stuff and wondered if > anyone else out there is doing MapPoint? > > 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 Thu Jun 2 05:05:57 2005 From: paul.hartland at isharp.co.uk (Paul Hartland (ISHARP)) Date: Thu, 2 Jun 2005 11:05:57 +0100 Subject: [AccessD] Any MapPoint programmers out there? In-Reply-To: <040001c56757$c9d0d7d0$0202a8c0@default> Message-ID: Initially all I want to be able to do is pass a clients postcode and several + employee postcodes into MapPoint and return the miles from client for every employee.... -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Michael R Mattys Sent: 02 June 2005 10:45 To: Access Developers discussion and problem solving Subject: Re: [AccessD] Any MapPoint programmers out there? I have been programming in MapPoint for over 2 years using both Access and VB6. I have several apps created that I sell, including a full routing and scheduling app. Haven't had time to update my website since I started. My efforts were started at Eric Frost's www.mp2kmag.com, where you'll find articles and discussion. I frequently answer questions on Newsgroups: Microsoft.Public.MapPoint and Microsoft.Public.Street-Trips. ---- Michael R. Mattys Mattys MapLib for Microsoft MapPoint http://www.mattysconsulting.com ----- Original Message ----- From: "Paul Hartland (ISHARP)" To: "'Access Developers discussion and problem solving'" Sent: Thursday, June 02, 2005 3:00 AM Subject: RE: [AccessD] Any MapPoint programmers out there? > I am also getting ready to use MapPoint with VB6 and SQL Server 2000, mainly > want to use it to calculate distances that our employees are from our > clients, but may also want to be able to create maps/directions etc.... > > So if anyone knows any good sites or can help me with getting started > I would be grateful.... > > Thanks in advance for any help on this.... > > Paul Hartland > > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of John W. > Colby > Sent: 01 June 2005 23:29 > To: 'Access Developers discussion and problem solving' > Subject: [AccessD] Any MapPoint programmers out there? > > I'm getting ready to do some pretty serious MapPoint stuff and > wondered if anyone else out there is doing MapPoint? > > 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 pedro at plex.nl Thu Jun 2 12:10:16 2005 From: pedro at plex.nl (pedro at plex.nl) Date: Thu, 02 Jun 2005 12:10:16 (MET DST) Subject: [AccessD] Any ArcGis vba programmers out there? Message-ID: <200506021010.j52AAGGB021861@mailhostC.plex.net> Hello Group, John W. Colby question about mappoint triggered me to ask the same about ArcGis. I have a script in Avenue that i need to have in VBA for ArcGis. Who can help me with this. Pedro Janssen From michael.mattys at verizon.net Thu Jun 2 05:24:48 2005 From: michael.mattys at verizon.net (Michael R Mattys) Date: Thu, 02 Jun 2005 06:24:48 -0400 Subject: [AccessD] Any MapPoint programmers out there? References: Message-ID: <042401c5675d$506a2440$0202a8c0@default> Since you've said 'postcodes', I'll assume you're in the UK (Not that it makes a difference at the moment.) You'll be looking to use the .DistanceTo function Try here: http://groups-beta.google.com/groups?hl=en&q=mappoint+distanceto ---- Michael R. Mattys Mattys MapLib for Microsoft MapPoint http://www.mattysconsulting.com ----- Original Message ----- From: "Paul Hartland (ISHARP)" To: "'Access Developers discussion and problem solving'" Sent: Thursday, June 02, 2005 6:05 AM Subject: RE: [AccessD] Any MapPoint programmers out there? > Initially all I want to be able to do is pass a clients postcode and several > + employee postcodes into MapPoint and return the miles from client for > every employee.... > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Michael R Mattys > Sent: 02 June 2005 10:45 > To: Access Developers discussion and problem solving > Subject: Re: [AccessD] Any MapPoint programmers out there? > > I have been programming in MapPoint for over 2 years using both Access and > VB6. I have several apps created that I sell, including a full routing and > scheduling app. > Haven't had time to update my website since I started. > > My efforts were started at Eric Frost's www.mp2kmag.com, where you'll find > articles and discussion. > > I frequently answer questions on Newsgroups: > Microsoft.Public.MapPoint and Microsoft.Public.Street-Trips. > ---- > > Michael R. Mattys > Mattys MapLib for Microsoft MapPoint > http://www.mattysconsulting.com > > > > ----- Original Message ----- > From: "Paul Hartland (ISHARP)" > To: "'Access Developers discussion and problem solving'" > > Sent: Thursday, June 02, 2005 3:00 AM > Subject: RE: [AccessD] Any MapPoint programmers out there? > > > > I am also getting ready to use MapPoint with VB6 and SQL Server 2000, > mainly > > want to use it to calculate distances that our employees are from our > > clients, but may also want to be able to create maps/directions etc.... > > > > So if anyone knows any good sites or can help me with getting started > > I would be grateful.... > > > > Thanks in advance for any help on this.... > > > > Paul Hartland > > > > > > -----Original Message----- > > From: accessd-bounces at databaseadvisors.com > > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of John W. > > Colby > > Sent: 01 June 2005 23:29 > > To: 'Access Developers discussion and problem solving' > > Subject: [AccessD] Any MapPoint programmers out there? > > > > I'm getting ready to do some pretty serious MapPoint stuff and > > wondered if anyone else out there is doing MapPoint? > > > > 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 paul.hartland at isharp.co.uk Thu Jun 2 05:31:34 2005 From: paul.hartland at isharp.co.uk (Paul Hartland (ISHARP)) Date: Thu, 2 Jun 2005 11:31:34 +0100 Subject: [AccessD] Any MapPoint programmers out there? In-Reply-To: <042401c5675d$506a2440$0202a8c0@default> Message-ID: Thanks, I haven't actually installed our evaluation edition yet but plan on doing so today or tomorrow so I will look into that... -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Michael R Mattys Sent: 02 June 2005 11:25 To: Access Developers discussion and problem solving Subject: Re: [AccessD] Any MapPoint programmers out there? Since you've said 'postcodes', I'll assume you're in the UK (Not that it makes a difference at the moment.) You'll be looking to use the .DistanceTo function Try here: http://groups-beta.google.com/groups?hl=en&q=mappoint+distanceto ---- Michael R. Mattys Mattys MapLib for Microsoft MapPoint http://www.mattysconsulting.com ----- Original Message ----- From: "Paul Hartland (ISHARP)" To: "'Access Developers discussion and problem solving'" Sent: Thursday, June 02, 2005 6:05 AM Subject: RE: [AccessD] Any MapPoint programmers out there? > Initially all I want to be able to do is pass a clients postcode and several > + employee postcodes into MapPoint and return the miles from client > + for > every employee.... > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Michael R Mattys > Sent: 02 June 2005 10:45 > To: Access Developers discussion and problem solving > Subject: Re: [AccessD] Any MapPoint programmers out there? > > I have been programming in MapPoint for over 2 years using both Access > and VB6. I have several apps created that I sell, including a full > routing and scheduling app. > Haven't had time to update my website since I started. > > My efforts were started at Eric Frost's www.mp2kmag.com, where you'll > find articles and discussion. > > I frequently answer questions on Newsgroups: > Microsoft.Public.MapPoint and Microsoft.Public.Street-Trips. > ---- > > Michael R. Mattys > Mattys MapLib for Microsoft MapPoint > http://www.mattysconsulting.com > > > > ----- Original Message ----- > From: "Paul Hartland (ISHARP)" > To: "'Access Developers discussion and problem solving'" > > Sent: Thursday, June 02, 2005 3:00 AM > Subject: RE: [AccessD] Any MapPoint programmers out there? > > > > I am also getting ready to use MapPoint with VB6 and SQL Server > > 2000, > mainly > > want to use it to calculate distances that our employees are from > > our clients, but may also want to be able to create maps/directions etc.... > > > > So if anyone knows any good sites or can help me with getting > > started I would be grateful.... > > > > Thanks in advance for any help on this.... > > > > Paul Hartland > > > > > > -----Original Message----- > > From: accessd-bounces at databaseadvisors.com > > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of John W. > > Colby > > Sent: 01 June 2005 23:29 > > To: 'Access Developers discussion and problem solving' > > Subject: [AccessD] Any MapPoint programmers out there? > > > > I'm getting ready to do some pretty serious MapPoint stuff and > > wondered if anyone else out there is doing MapPoint? > > > > 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 mcaro at bigpond.net.au Thu Jun 2 05:59:43 2005 From: mcaro at bigpond.net.au (Martin Caro) Date: Thu, 2 Jun 2005 20:59:43 +1000 Subject: [AccessD] Changing Criteria References: <006901c56719$419def80$0100000a@MITSERVER> <00d601c56738$027cccd0$aa1865cb@winxp> Message-ID: <008301c56762$2e9a0970$0100000a@MITSERVER> Thanks A.D. & Rocky for your replies Managed to get ADs code working although needed to make a slight mod to the WHERE line first WHERE (((Nz([HotelCode],""))=IIf([Forms]![F_HotelFilter]![FilterCode]="ALL",Nz([Ho telCode],""),[Forms]![F_HotelFilter]![FilterCode]))); Modified to: WHERE (((Nz([HotelCode]))=IIf([Forms]![F_HotelFilter]![FilterCode]="ALL",Nz([Hotel Code]),[Forms]![F_HotelFilter]![FilterCode]))); Thanks again Martin ----- Original Message ----- From: "A.D.Tejpal" To: "Access Developers discussion and problem solving" Sent: Thursday, June 02, 2005 3:56 PM Subject: Re: [AccessD] Changing Criteria Martin, You wish to incorporate criteria options in a query (to be picked up from a form) for - (a) Null values only (b) All values (including Nulls) These two involve non-string expressions if direct comparison with existing field in the table is attempted. The situation does not directly afford an appropriate string that could straightaway be used in the manner applicable to case statements 1 to 6. For getting the desired results, following course of action is suggested. HotelCode is the name of text type field in table T_HotelCode. (a) Select query may be modified as shown below. It would mean that the value of FilterCode on form F_HotelFilter will get tested against Nz([HotelCode],"") in the query. (b) Code in form's module may be modified as shown below. It provides for - Case Is = 7 FilterCode = "" Case Is = 8 FilterCode = "ALL" Best wishes, A.D.Tejpal -------------- Select Query ==================================== SELECT T_HotelCode.* FROM T_HotelCode WHERE (((Nz([HotelCode],""))=IIf([Forms]![F_HotelFilter]![FilterCode]="ALL",Nz([Ho telCode],""),[Forms]![F_HotelFilter]![FilterCode]))); ==================================== Code in Form's module ==================================== Private Sub HotelFilter_AfterUpdate() Select Case HotelFilter Case Is = 1 FilterCode = "FH" Case Is = 2 FilterCode = "FHI" Case Is = 3 FilterCode = "LH" Case Is = 4 FilterCode = "B" Case Is = 5 FilterCode = "L" Case Is = 6 FilterCode = "E" Case Is = 7 FilterCode = "" Case Is = 8 FilterCode = "ALL" End Select Me.Refresh End Sub ==================================== ----- Original Message ----- From: Martin Caro To: Access Developers discussion and problem solving Sent: Thursday, June 02, 2005 07:47 Subject: [AccessD] Changing Criteria Hi Folks Is it possible to do the following: I have a query where one of the fields references a text box containing a Filter Code to pick up the required selection criteria for the query. It works fine for Case 1 to 6 but what is the syntax to make Case 7 and 8 work? Private Sub HotelFilter_AfterUpdate() Select Case HotelFilter Case Is = 1 FilterCode = "FH" Case Is = 2 FilterCode = "FHI" Case Is = 3 FilterCode = "LH" Case Is = 4 FilterCode = "B" Case Is = 5 FilterCode = "L" Case Is = 6 FilterCode = "E" Case Is = 7 FilterCode = Display only those records that do not have a code ie Code is Null Case Is = 8 FilterCode = Display all records ie no filter End Select Me.Refresh -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From accessd666 at yahoo.com Thu Jun 2 06:13:55 2005 From: accessd666 at yahoo.com (Sad Der) Date: Thu, 2 Jun 2005 04:13:55 -0700 (PDT) Subject: [AccessD] Check if array is initialized Message-ID: <20050602111355.24662.qmail@web31603.mail.mud.yahoo.com> Hi group, one of our programmers came to me with a question regarding an error when the UBOUND() of an array was retrieved. The error occures when an array has been DIMmed, without specifing the size, but not REDIMmed. In the sample below I've created a simple example. When the function is called a byref array is to be filled with values. However the line: for lngCntr = 0 to UBOUND(r_alngMyArray) Will always fill since it hasn't been ReDimmed. I suggested a workaround: 1 - use the function IsInitialized() and check if the function returns -1. If so the array isnt't intitialized. However, is there an official way of handling this error/problem/occurence? Thnx Regards, SD -------------------- EXAMPLE -------------------- Main Dim alngValues() as long Call RetrieveSomething(alngValues()) End Main Public Function RetrieveSomething(byref r_alngMyArray() as Long) dim lngCntr as long for lngCntr = 0 to UBOUND(r_alngMyArray) Redim PRESERVE r_alngMyArray(lngCntr) r_alngMyArray(lngCntr) = "THIS DOES NOT WORK!" next lngCntr End Function ------------------ WORKAROUND ------------------ Function IsInitialized(byref r_alngInitialized) as Long On Error Goto error_not_initialized IsInitialized = UBOUND(r_alngInitialized) Exit Function Goto error_not_initialized IsInitialized = -1 End Function __________________________________________________ Do You Yahoo!? Tired of spam? Yahoo! Mail has the best spam protection around http://mail.yahoo.com From Gustav at cactus.dk Thu Jun 2 07:13:28 2005 From: Gustav at cactus.dk (Gustav Brock) Date: Thu, 02 Jun 2005 14:13:28 +0200 Subject: [AccessD] Check if array is initialized Message-ID: Hi SD We use this function to check that: Public Function IsReDimmed(ByRef varArrayToCheck) As Boolean ' Checks a dynamic array to see if it has been ReDim'med. ' This is to prevent errors before applying LBound() or UBound(). ' ' Returns False if varArrayToCheck is dynamic and ' never has been ReDim'med or just has been erased. ' ' 2001-08-11. Cactus Data ApS, CPH. Gustav Brock. Dim booIsReDimmed As Boolean On Error GoTo Err_IsReDimmed If IsArray(varArrayToCheck) = True Then ' Check if varArrayToCheck is ReDim'med. ' LBound() will fail if varArrayToCheck not has been ReDim'med. booIsReDimmed = LBound(varArrayToCheck) Imp True ' No error raised; varArrayToCheck is ReDim'med. Else ' varArrayToCheck is not an array. End If IsReDimmed = booIsReDimmed Exit_IsReDimmed: Exit Function Err_IsReDimmed: Select Case Err Case 9 ' Subscript (array index) out of range. ' varArrayToCheck is dynamic and not ReDim'med. Case Else ' Other error. End Select ' Exit function returning False. Resume Exit_IsReDimmed End Function /gustav >>> accessd666 at yahoo.com 06/02 1:13 pm >>> Hi group, one of our programmers came to me with a question regarding an error when the UBOUND() of an array was retrieved. The error occures when an array has been DIMmed, without specifing the size, but not REDIMmed. In the sample below I've created a simple example. When the function is called a byref array is to be filled with values. However the line: for lngCntr = 0 to UBOUND(r_alngMyArray) Will always fill since it hasn't been ReDimmed. I suggested a workaround: 1 - use the function IsInitialized() and check if the function returns -1. If so the array isnt't intitialized. However, is there an official way of handling this error/problem/occurence? Thnx Regards, SD -------------------- EXAMPLE -------------------- Main Dim alngValues() as long Call RetrieveSomething(alngValues()) End Main Public Function RetrieveSomething(byref r_alngMyArray() as Long) dim lngCntr as long for lngCntr = 0 to UBOUND(r_alngMyArray) Redim PRESERVE r_alngMyArray(lngCntr) r_alngMyArray(lngCntr) = "THIS DOES NOT WORK!" next lngCntr End Function ------------------ WORKAROUND ------------------ Function IsInitialized(byref r_alngInitialized) as Long On Error Goto error_not_initialized IsInitialized = UBOUND(r_alngInitialized) Exit Function Goto error_not_initialized IsInitialized = -1 End Function From adtp at touchtelindia.net Thu Jun 2 07:21:37 2005 From: adtp at touchtelindia.net (A.D.Tejpal) Date: Thu, 2 Jun 2005 17:51:37 +0530 Subject: [AccessD] Changing Criteria References: <006901c56719$419def80$0100000a@MITSERVER><00d601c56738$027cccd0 $aa1865cb@winxp> <008301c56762$2e9a0970$0100000a@MITSERVER> Message-ID: <006901c5676d$bed36b70$c91865cb@winxp> You are most welcome Martin! Two clarifications - (a) It is seen that your existing code uses the following syntax for Case statement Case Is = 1 ' (and so on) This can be replaced by Case 1 ' (and so on) (b) Is it correct that the only modification carried out in Where clause of the suggested SQL statement is by way of omitting the second argument in Nz() function, replacing Nz([HotelCode],"") by Nz([HotelCode]). Was there any compulsion to do so? Was there any problem with the original one? Although the second argument is optional, and if not supplied, zero length string is assumed as the default value, it is considered a desirable practice to provide this argument explicitly. Best wishes, A.D.Tejpal -------------- ----- Original Message ----- From: Martin Caro To: Access Developers discussion and problem solving Sent: Thursday, June 02, 2005 16:29 Subject: Re: [AccessD] Changing Criteria Thanks A.D. & Rocky for your replies Managed to get ADs code working although needed to make a slight mod to the WHERE line first WHERE (((Nz([HotelCode],""))=IIf([Forms]![F_HotelFilter]![FilterCode]="ALL",Nz([Ho telCode],""),[Forms]![F_HotelFilter]![FilterCode]))); Modified to: WHERE (((Nz([HotelCode]))=IIf([Forms]![F_HotelFilter]![FilterCode]="ALL",Nz([Hotel Code]),[Forms]![F_HotelFilter]![FilterCode]))); Thanks again Martin ----- Original Message ----- From: "A.D.Tejpal" To: "Access Developers discussion and problem solving" Sent: Thursday, June 02, 2005 3:56 PM Subject: Re: [AccessD] Changing Criteria Martin, You wish to incorporate criteria options in a query (to be picked up from a form) for - (a) Null values only (b) All values (including Nulls) These two involve non-string expressions if direct comparison with existing field in the table is attempted. The situation does not directly afford an appropriate string that could straightaway be used in the manner applicable to case statements 1 to 6. For getting the desired results, following course of action is suggested. HotelCode is the name of text type field in table T_HotelCode. (a) Select query may be modified as shown below. It would mean that the value of FilterCode on form F_HotelFilter will get tested against Nz([HotelCode],"") in the query. (b) Code in form's module may be modified as shown below. It provides for - Case Is = 7 FilterCode = "" Case Is = 8 FilterCode = "ALL" Best wishes, A.D.Tejpal -------------- Select Query ==================================== SELECT T_HotelCode.* FROM T_HotelCode WHERE (((Nz([HotelCode],""))=IIf([Forms]![F_HotelFilter]![FilterCode]="ALL",Nz([Ho telCode],""),[Forms]![F_HotelFilter]![FilterCode]))); ==================================== Code in Form's module ==================================== Private Sub HotelFilter_AfterUpdate() Select Case HotelFilter Case Is = 1 FilterCode = "FH" Case Is = 2 FilterCode = "FHI" Case Is = 3 FilterCode = "LH" Case Is = 4 FilterCode = "B" Case Is = 5 FilterCode = "L" Case Is = 6 FilterCode = "E" Case Is = 7 FilterCode = "" Case Is = 8 FilterCode = "ALL" End Select Me.Refresh End Sub ==================================== ----- Original Message ----- From: Martin Caro To: Access Developers discussion and problem solving Sent: Thursday, June 02, 2005 07:47 Subject: [AccessD] Changing Criteria Hi Folks Is it possible to do the following: I have a query where one of the fields references a text box containing a Filter Code to pick up the required selection criteria for the query. It works fine for Case 1 to 6 but what is the syntax to make Case 7 and 8 work? Private Sub HotelFilter_AfterUpdate() Select Case HotelFilter Case Is = 1 FilterCode = "FH" Case Is = 2 FilterCode = "FHI" Case Is = 3 FilterCode = "LH" Case Is = 4 FilterCode = "B" Case Is = 5 FilterCode = "L" Case Is = 6 FilterCode = "E" Case Is = 7 FilterCode = Display only those records that do not have a code ie Code is Null Case Is = 8 FilterCode = Display all records ie no filter End Select Me.Refresh From accessd666 at yahoo.com Thu Jun 2 07:50:51 2005 From: accessd666 at yahoo.com (Sad Der) Date: Thu, 2 Jun 2005 05:50:51 -0700 (PDT) Subject: [AccessD] Check if array is initialized In-Reply-To: Message-ID: <20050602125051.75972.qmail@web31605.mail.mud.yahoo.com> Thnx Gustav. It's more or less the same. You've got some extra checks (is it an array). I'll send it through...and the developers can make the decission. HAHA and I can shoot them down if their decission doesn't work HAHA. I'm getting DILBERT visions :-) thnx again. SD --- Gustav Brock wrote: > Hi SD > > We use this function to check that: > > Public Function IsReDimmed(ByRef varArrayToCheck) As > Boolean > > ' Checks a dynamic array to see if it has been > ReDim'med. > ' This is to prevent errors before applying LBound() > or UBound(). > ' > ' Returns False if varArrayToCheck is dynamic and > ' never has been ReDim'med or just has been erased. > ' > ' 2001-08-11. Cactus Data ApS, CPH. Gustav Brock. > > Dim booIsReDimmed As Boolean > > On Error GoTo Err_IsReDimmed > > If IsArray(varArrayToCheck) = True Then > ' Check if varArrayToCheck is ReDim'med. > ' LBound() will fail if varArrayToCheck not has > been ReDim'med. > booIsReDimmed = LBound(varArrayToCheck) Imp True > ' No error raised; varArrayToCheck is ReDim'med. > Else > ' varArrayToCheck is not an array. > End If > > IsReDimmed = booIsReDimmed > > Exit_IsReDimmed: > Exit Function > > Err_IsReDimmed: > Select Case Err > Case 9 > ' Subscript (array index) out of range. > ' varArrayToCheck is dynamic and not > ReDim'med. > Case Else > ' Other error. > End Select > ' Exit function returning False. > Resume Exit_IsReDimmed > > End Function > > /gustav > > > >>> accessd666 at yahoo.com 06/02 1:13 pm >>> > Hi group, > > one of our programmers came to me with a question > regarding an error when the UBOUND() of an array was > retrieved. The error occures when an array has been > DIMmed, without specifing the size, but not > REDIMmed. > > In the sample below I've created a simple example. > When the function is called a byref array is to be > filled with values. However the line: > for lngCntr = 0 to UBOUND(r_alngMyArray) > Will always fill since it hasn't been ReDimmed. > > I suggested a workaround: > 1 - use the function IsInitialized() and check if > the > function returns -1. If so the array isnt't > intitialized. > > However, is there an official way of handling this > error/problem/occurence? > > Thnx > > Regards, > > SD > -------------------- > EXAMPLE > -------------------- > > Main > Dim alngValues() as long > Call RetrieveSomething(alngValues()) > End Main > > Public Function RetrieveSomething(byref > r_alngMyArray() as Long) > dim lngCntr as long > > for lngCntr = 0 to UBOUND(r_alngMyArray) > Redim PRESERVE r_alngMyArray(lngCntr) > r_alngMyArray(lngCntr) = "THIS DOES NOT WORK!" > next lngCntr > > End Function > > ------------------ > WORKAROUND > ------------------ > Function IsInitialized(byref r_alngInitialized) as > Long > On Error Goto error_not_initialized > > IsInitialized = UBOUND(r_alngInitialized) > > Exit Function > Goto error_not_initialized > IsInitialized = -1 > End Function > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > __________________________________ Discover Yahoo! Stay in touch with email, IM, photo sharing and more. Check it out! http://discover.yahoo.com/stayintouch.html From bheid at appdevgrp.com Thu Jun 2 08:05:34 2005 From: bheid at appdevgrp.com (Bobby Heid) Date: Thu, 2 Jun 2005 09:05:34 -0400 Subject: [AccessD] SELECT IN using pw protected db. In-Reply-To: <916187228923D311A6FE00A0CC3FAA30BC6A5A@ADGSERVER> Message-ID: <916187228923D311A6FE00A0CC3FAA30ABEBCB@ADGSERVER> Thanks to all for your input. I had to get this stuff out fast so I ended up just opening the external database with a database variable and then just querying against that database. I will probably go back and revisit this. Sorry for the delay in getting back to you all, I took a few days off. Bobby -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of MartyConnelly Sent: Friday, May 27, 2005 1:59 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] SELECT IN using pw protected db. hope this helps, Set rs = cn.Execute("SELECT * FROM [ODBC;DSN={DSN Name};uid={User Name};pwd ={Password};database={Name of Database}].{Table in Database} WHERE FALSE") One of these syntaxes may work select * from customer in [ 'C:\Program Files\Microsoft Office\Office\Samples\Copy of Northwind.mdb';UID="Admin";PWD=""] select * from customers in 'C:\Program Files\Microsoft Office\Office\Samples\Copy of Northwind.mdb'[uid="a"]; Bobby Heid wrote: >Hey, > >I've done this before but can not seem to remember how at the moment. > >When I use: >SELECT * > FROM Version IN ';PWD=somepassword;DATABASE=D:\Wrap\WrapMrg\Merge >5.04\Hudson.mdb;' > >I get a "Disk or Network error" error message. > >What am I doing wrong? > >Thanks, >Bobby > > > -- 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 bchacc at san.rr.com Thu Jun 2 08:09:53 2005 From: bchacc at san.rr.com (Rocky Smolin - Beach Access Software) Date: Thu, 2 Jun 2005 06:09:53 -0700 Subject: [AccessD] Invitations DB Design Ideas References: <002701c5673b$c854a8d0$6401a8c0@laptop1> Message-ID: <006201c56774$5dc5ab70$6901a8c0@HAL9004> Joe: Actually, although it's absolutely no fun, it would seem that since it could be done with one flat file that a spreadsheet would be more quicker and easier if all you want to do is manage the data. Rocky ----- Original Message ----- From: "Joe Hecht" To: "'Access Developers discussion and problem solving'" Sent: Wednesday, June 01, 2005 11:24 PM Subject: RE: [AccessD] Invitations DB Design Ideas > Rocky, > > I can not see three names on an invitation. > > Worst case would be Mr. Rocky Smolin and Ms. Mrs. Smolin. > > Maybe and kids? > > Joe Hecht > Los Angeles CA > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Rocky Smolin - > Beach Access Software > Sent: Wednesday, June 01, 2005 10:08 PM > To: Access Developers discussion and problem solving > Subject: Re: [AccessD] Invitations DB Design Ideas > > Will there only be two persons' names at most? If not, then you can put > the > > names in a name table with a foreign key to the Invitation table's primary > key. > > Source could also be a table with a FK in the Invitation pointing to the > source table's PK. > > Seems like maybe more trouble than it's worth for this app, though. > > Rocky > > ----- Original Message ----- > From: "Joe Hecht" > To: "'Access Developers discussion and problem solving'" > > Sent: Wednesday, June 01, 2005 9:37 PM > Subject: [AccessD] Invitations DB Design Ideas > > >> So my niece got engaged and I figure I better get my DB going soon. >> >> Right now the database is one table, >> >> These are typed in to readable and not names with spaces etc: >> >> I rec num >> 1st Person first Name >> 1st person last name >> 2cd person first name >> 2cd person last name >> Address fields >> Adults Invitation Represents >> Children Invitation represents >> Contact phone >> Memo >> Source (Bride/Groom/Family/friend?) >> Invited Y/N >> Coming y/n >> Gift received Y/N >> Note Sent Y/N >> >> >> >> Looking for ideas to normalize this >> >> OK wise guys, I know no wedding is normal but... >> >> >> >> 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 john at winhaven.net Thu Jun 2 08:16:09 2005 From: john at winhaven.net (John Bartow) Date: Thu, 2 Jun 2005 08:16:09 -0500 Subject: [AccessD] Any ArcGis vba programmers out there? In-Reply-To: <200506021010.j52AAGGB021861@mailhostC.plex.net> Message-ID: <200506021316.j52DGAIJ222210@pimout3-ext.prodigy.net> Pedro, I can't help you directly. There are usually ESRI User Groups in most areas where their products have a user base of any size. However, I would start with the ESRI Regional staff. I have found that they are very helpful in this type of endeavor. Good luck John B. -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of pedro at plex.nl Sent: Thursday, June 02, 2005 12:10 PM To: AccessD at databaseadvisors.com Subject: [AccessD] Any ArcGis vba programmers out there? Hello Group, John W. Colby question about mappoint triggered me to ask the same about ArcGis. I have a script in Avenue that i need to have in VBA for ArcGis. Who can help me with this. Pedro Janssen -- 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 Jun 2 08:19:01 2005 From: JRojas at tnco-inc.com (Joe Rojas) Date: Thu, 2 Jun 2005 09:19:01 -0400 Subject: [AccessD] Check if array is initialized Message-ID: <0CC84C9461AE6445AD5A602001C41C4B05A302@mercury.tnco-inc.com> What I have done is dim the variable and use the IsArray() function is see if it's an array. If not then I know I the array is not initialized. Using your example: Main Dim alngValues Call RetrieveSomething(alngValues) End Main Public Function RetrieveSomething(byref r_alngMyArray() as Long) dim lngCntr as long If Not IsArray(r_alngMyArray) Then ReDim r_alngMyArray(0) End If for lngCntr = 0 to UBOUND(r_alngMyArray) Redim PRESERVE r_alngMyArray(lngCntr) r_alngMyArray(lngCntr) = "THIS DOES NOT WORK!" next lngCntr End Function Thanks, Joe Rojas IT Manager TNCO, Inc. 781-447-6661 x7506 jrojas at tnco-inc.com -----Original Message----- From: Sad Der [mailto:accessd666 at yahoo.com] Sent: Thursday, June 02, 2005 7:14 AM To: Acces User Group Subject: [AccessD] Check if array is initialized Hi group, one of our programmers came to me with a question regarding an error when the UBOUND() of an array was retrieved. The error occures when an array has been DIMmed, without specifing the size, but not REDIMmed. In the sample below I've created a simple example. When the function is called a byref array is to be filled with values. However the line: for lngCntr = 0 to UBOUND(r_alngMyArray) Will always fill since it hasn't been ReDimmed. I suggested a workaround: 1 - use the function IsInitialized() and check if the function returns -1. If so the array isnt't intitialized. However, is there an official way of handling this error/problem/occurence? Thnx Regards, SD -------------------- EXAMPLE -------------------- Main Dim alngValues() as long Call RetrieveSomething(alngValues()) End Main Public Function RetrieveSomething(byref r_alngMyArray() as Long) dim lngCntr as long for lngCntr = 0 to UBOUND(r_alngMyArray) Redim PRESERVE r_alngMyArray(lngCntr) r_alngMyArray(lngCntr) = "THIS DOES NOT WORK!" next lngCntr End Function ------------------ WORKAROUND ------------------ Function IsInitialized(byref r_alngInitialized) as Long On Error Goto error_not_initialized IsInitialized = UBOUND(r_alngInitialized) Exit Function Goto error_not_initialized IsInitialized = -1 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 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 Jim.Hale at FleetPride.com Thu Jun 2 09:09:44 2005 From: Jim.Hale at FleetPride.com (Hale, Jim) Date: Thu, 2 Jun 2005 09:09:44 -0500 Subject: [AccessD] Excel Macro Automation from within Access Message-ID: <6A6AA9DF57E4F046BDA1E273BDDB6772337629@corp-es01.fleetpride.com> I think the sequence you are looking for is similar to this: Sub rpt_to_excel() Dim appExcel As Excel.Application, strpathname As String Dim strpathnew As String, strReport As String strpathname = "C:\test.xls" strpathnew = "C:\test2.xls" strReport = "rptInvsummary" DoCmd.OutputTo acOutputReport, strReport, acFormatXLS, strpathname Set appExcel = New Excel.Application 'format your report With appExcel .Workbooks.Open strpathname, 0 .Visible = True 'just to watch the sheet .Range("A1:G1").Select .Selection.Font.Bold = True .Selection.Font.Name = "Arial" .Selection.Font.Size = 12 .ActiveWorkbook.SaveAs Filename:=strpathnew, FileFormat:=xlNormal End With appExcel.Quit Set appExcel = Nothing End Sub This opens the file you output and saves it as a current version workbook under a new name. As you debug be aware of leaving orphan instances of Excel in memory. You can tell if any exist by placing the following script in notepad and running it: Dim objXL Dim strMessage On Error Resume Next ' Try to grab a running instance of ' Excel... Set objXL = GetObject(, "Excel.Application") ' What did we find?.. If Not TypeName(objXL) = "Empty" Then strMessage = "Excel Running." Else strMessage = "Excel Not Running." End If ' Feedback to user... MsgBox strMessage, vbInformation, "Excel Status" ' Make the Excel instance visible ' if we found one if strMessage = "Excel Running." then _ objXL.Visible = true -----Original Message----- From: Mark Boyd [mailto:MarkBoyd at mcbeeassociates.com] Sent: Wednesday, June 01, 2005 5:21 PM To: Access Developers discussion and problem solving Subject: RE: [AccessD] Excel Macro Automation from within Access Thanks Jim, this is pointing me in the right direction. The export process is as follows: 1. Export report to Excel 2. Format report w/ macro 3. Save formatting changes 4. Attach file to email message When using the SaveAs method, I'm prompted to overwrite the existing excel file (the one just formatted). Am I missing something in regard to the properties of the SaveAs method, that will allow me to save the existing, formatted file? If I select Yes to overwrite the existing file, all of the macro formats are lost. Mark Boyd I/S Supervisor McBee Associates, Inc. -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Hale, Jim Sent: Wednesday, June 01, 2005 3:40 PM To: 'Access Developers discussion and problem solving' Subject: RE: [AccessD] Excel Macro Automation from within Access Are you saving the file using code? Check out Excel's SaveAs method. It allows a fileformat parameter. I think xlWorkbookNormal is the correct one. 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 adtp at touchtelindia.net Thu Jun 2 09:34:32 2005 From: adtp at touchtelindia.net (A.D.Tejpal) Date: Thu, 2 Jun 2005 20:04:32 +0530 Subject: [AccessD] Check if array is initialized References: <20050602111355.24662.qmail@web31603.mail.mud.yahoo.com> Message-ID: <005601c56780$75aaf4a0$1c1865cb@winxp> SD, Function Fn_IsInitialized() given below is another simplified way of getting the desired information. It will return true only if the argument is an array which has been re-dimmed. The following sub-routine illustrates the use of this function. If statement (A) is enabled, the immediate window will show True, otherwise False. Sub P_Test_IfArrayInitialized() Dim StrArray() As String ReDim StrArray(5) ' (A) Debug.Print Fn_IsInitialized(StrArray) End Sub Best wishes, A.D.Tejpal -------------- ======================================== Function Fn_IsInitialized(ByVal varArray _ As Variant) As Boolean Dim Rtv As Variant On Error Resume Next Fn_IsInitialized = Not IsError(Rtv = UBound(varArray)) End Function ======================================== ----- Original Message ----- From: Sad Der To: Acces User Group Sent: Thursday, June 02, 2005 16:43 Subject: [AccessD] Check if array is initialized Hi group, one of our programmers came to me with a question regarding an error when the UBOUND() of an array was retrieved. The error occures when an array has been DIMmed, without specifing the size, but not REDIMmed. In the sample below I've created a simple example. When the function is called a byref array is to be filled with values. However the line: for lngCntr = 0 to UBOUND(r_alngMyArray) Will always fill since it hasn't been ReDimmed. I suggested a workaround: 1 - use the function IsInitialized() and check if the function returns -1. If so the array isnt't intitialized. However, is there an official way of handling this error/problem/occurence? Thnx Regards, SD -------------------- EXAMPLE -------------------- Main Dim alngValues() as long Call RetrieveSomething(alngValues()) End Main Public Function RetrieveSomething(byref r_alngMyArray() as Long) dim lngCntr as long for lngCntr = 0 to UBOUND(r_alngMyArray) Redim PRESERVE r_alngMyArray(lngCntr) r_alngMyArray(lngCntr) = "THIS DOES NOT WORK!" next lngCntr End Function ------------------ WORKAROUND ------------------ Function IsInitialized(byref r_alngInitialized) as Long On Error Goto error_not_initialized IsInitialized = UBOUND(r_alngInitialized) Exit Function Goto error_not_initialized IsInitialized = -1 End Function From jmhecht at earthlink.net Thu Jun 2 10:28:39 2005 From: jmhecht at earthlink.net (Joe Hecht) Date: Thu, 2 Jun 2005 08:28:39 -0700 Subject: [AccessD] Invitations DB Design Ideas In-Reply-To: <048601c56731$1c5d6b70$6501a8c0@HAL9004> Message-ID: <000801c56787$c0e339d0$6401a8c0@laptop1> Need something to do to keep my hand in Joe Hecht Los Angeles CA Seems like maybe more trouble than it's worth for this app, though. Rocky : http://www.databaseadvisors.com From cfoust at infostatsystems.com Thu Jun 2 10:42:09 2005 From: cfoust at infostatsystems.com (Charlotte Foust) Date: Thu, 2 Jun 2005 08:42:09 -0700 Subject: [AccessD] Error Loading Project? Message-ID: If you have 2k and XP on your either machine, make sure 2k is patched to SP3 before you do any exporting. OXP installed a VBE6.dll that breaks the version in 2k, causing that blasted network connection error to be thrown erroneously. Take a look at this MSKB article: http://support.microsoft.com/default.aspx?scid=kb;en-us;304548 Charlotte Foust -----Original Message----- From: Francisco Tapia [mailto:fhtapia at gmail.com] Sent: Wednesday, June 01, 2005 5:47 PM To: access-l at peach.ease.lsoft.com; Access Developers discussion and problem solving Subject: [AccessD] Error Loading Project? Recently I've been plauged by this error: I have 2 Access ADP's , the primary is the dev copy and I write in this copy all my development code, once compiled, and tested I "EXPORT" the new form or modified form to the Production .adp copy this file used to be on the network, but due to the more recent network errors that I was plauged w/ I decided to simply create a folder on my pc called "build" and export to that folder instead, everything had been working great, and in fact each copy compiles w/o errors... but if I export from the dev on drive C to the build on drive C I end up w/ an error on the build copy as "Error Loading Project, disk or network error, continue loading?" if you click ok I find that the module is empty. If I then (while in the build copy), IMPORT the same form, then I get a new Form1 classic import, I delete the corrupted form and rename Form1 to Form and all is well again... why can I not export anymore? -- -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 fhtapia at gmail.com Thu Jun 2 10:56:03 2005 From: fhtapia at gmail.com (Francisco Tapia) Date: Thu, 2 Jun 2005 08:56:03 -0700 Subject: [AccessD] Error Loading Project? In-Reply-To: <002c01c5670d$f64a08d0$6c7aa8c0@ColbyM6805> References: <002c01c5670d$f64a08d0$6c7aa8c0@ColbyM6805> Message-ID: Not at this time, I Just ordered Access 2003, currenlty I have Office 97 & 2000 w/ Outlook 2003. On 6/1/05, John W. Colby wrote: > Do you happen to have 2K and XP on the same machine? > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Francisco Tapia > Sent: Wednesday, June 01, 2005 8:47 PM > To: access-l at peach.ease.lsoft.com; Access Developers discussion and problem > solving > Subject: [AccessD] Error Loading Project? > > > Recently I've been plauged by this error: > > I have 2 Access ADP's , the primary is the dev copy and I write in this copy > all my development code, once compiled, and tested I "EXPORT" the new form > or modified form to the Production .adp copy > this file used to be on the network, but due to the more recent network > errors that I was plauged w/ I decided to simply create a folder on my pc > called "build" and export to that folder instead, everything had been > working great, and in fact each copy compiles w/o errors... but if I export > from the dev on drive C to the build on drive C I end up w/ an error on the > build copy as "Error Loading Project, disk or network error, continue > loading?" if you click ok I find that the module is empty. If I then (while > in the build copy), IMPORT the same form, then I get a new Form1 classic > import, I delete the corrupted form and rename Form1 to Form and all is well > again... why can I not export anymore? > -- -Francisco http://pcthis.blogspot.com |PC news with out the jargon! http://sqlthis.blogspot.com | Tsql and More... From fhtapia at gmail.com Thu Jun 2 10:56:59 2005 From: fhtapia at gmail.com (Francisco Tapia) Date: Thu, 2 Jun 2005 08:56:59 -0700 Subject: [AccessD] Error Loading Project? In-Reply-To: References: Message-ID: SP3 :O I've only patched up to SR-1 on 2000 before... anything I should watch out for in SP3? On 6/2/05, Charlotte Foust wrote: > If you have 2k and XP on your either machine, make sure 2k is patched to > SP3 before you do any exporting. OXP installed a VBE6.dll that breaks > the version in 2k, causing that blasted network connection error to be > thrown erroneously. Take a look at this MSKB article: > http://support.microsoft.com/default.aspx?scid=kb;en-us;304548 > > Charlotte Foust > > > -----Original Message----- > From: Francisco Tapia [mailto:fhtapia at gmail.com] > Sent: Wednesday, June 01, 2005 5:47 PM > To: access-l at peach.ease.lsoft.com; Access Developers discussion and > problem solving > Subject: [AccessD] Error Loading Project? > > > Recently I've been plauged by this error: > > I have 2 Access ADP's , the primary is the dev copy and I write in this > copy all my development code, once compiled, and tested I "EXPORT" the > new form or modified form to the Production .adp copy > this file used to be on the network, but due to the more recent network > errors that I was plauged w/ I decided to simply create a folder on my > pc called "build" and export to that folder instead, everything had been > working great, and in fact each copy compiles w/o errors... but if I > export from the dev on drive C to the build on drive C I end up w/ an > error on the build copy as "Error Loading Project, disk or network > error, continue loading?" if you click ok I find that the module is > empty. If I then (while in the build copy), IMPORT the same form, then > I get a new Form1 classic import, I delete the corrupted form and rename > Form1 to Form and all is well again... why can I not export anymore? > > > -- > -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 > -- -Francisco http://pcthis.blogspot.com |PC news with out the jargon! http://sqlthis.blogspot.com | Tsql and More... From fhtapia at gmail.com Thu Jun 2 12:19:59 2005 From: fhtapia at gmail.com (Francisco Tapia) Date: Thu, 2 Jun 2005 10:19:59 -0700 Subject: [AccessD] Error Loading Project? In-Reply-To: References: Message-ID: I was skeptical because I've been on SR1a for sooo long now, but I did upgrade to SP3 and everything is now working as expected :). Just hope this does not contribute to some additional bug :S On 6/2/05, Francisco Tapia wrote: > SP3 :O > I've only patched up to SR-1 on 2000 before... anything I should watch > out for in SP3? > > On 6/2/05, Charlotte Foust wrote: > > If you have 2k and XP on your either machine, make sure 2k is patched to > > SP3 before you do any exporting. OXP installed a VBE6.dll that breaks > > the version in 2k, causing that blasted network connection error to be > > thrown erroneously. Take a look at this MSKB article: > > http://support.microsoft.com/default.aspx?scid=kb;en-us;304548 > > > > Charlotte Foust > > > > > > -----Original Message----- > > From: Francisco Tapia [mailto:fhtapia at gmail.com] > > Sent: Wednesday, June 01, 2005 5:47 PM > > To: access-l at peach.ease.lsoft.com; Access Developers discussion and > > problem solving > > Subject: [AccessD] Error Loading Project? > > > > > > Recently I've been plauged by this error: > > > > I have 2 Access ADP's , the primary is the dev copy and I write in this > > copy all my development code, once compiled, and tested I "EXPORT" the > > new form or modified form to the Production .adp copy > > this file used to be on the network, but due to the more recent network > > errors that I was plauged w/ I decided to simply create a folder on my > > pc called "build" and export to that folder instead, everything had been > > working great, and in fact each copy compiles w/o errors... but if I > > export from the dev on drive C to the build on drive C I end up w/ an > > error on the build copy as "Error Loading Project, disk or network > > error, continue loading?" if you click ok I find that the module is > > empty. If I then (while in the build copy), IMPORT the same form, then > > I get a new Form1 classic import, I delete the corrupted form and rename > > Form1 to Form and all is well again... why can I not export anymore? > > > > > > -- > > -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 > > > > > -- > -Francisco > http://pcthis.blogspot.com |PC news with out the jargon! > http://sqlthis.blogspot.com | Tsql and More... > -- -Francisco http://pcthis.blogspot.com |PC news with out the jargon! http://sqlthis.blogspot.com | Tsql and More... From cfoust at infostatsystems.com Thu Jun 2 13:24:39 2005 From: cfoust at infostatsystems.com (Charlotte Foust) Date: Thu, 2 Jun 2005 11:24:39 -0700 Subject: [AccessD] Error Loading Project? Message-ID: 2003 breaks it the same way as XP. Charlotte Foust -----Original Message----- From: Francisco Tapia [mailto:fhtapia at gmail.com] Sent: Thursday, June 02, 2005 8:56 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Error Loading Project? Not at this time, I Just ordered Access 2003, currenlty I have Office 97 & 2000 w/ Outlook 2003. On 6/1/05, John W. Colby wrote: > Do you happen to have 2K and XP on the same machine? > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Francisco > Tapia > Sent: Wednesday, June 01, 2005 8:47 PM > To: access-l at peach.ease.lsoft.com; Access Developers discussion and problem > solving > Subject: [AccessD] Error Loading Project? > > > Recently I've been plauged by this error: > > I have 2 Access ADP's , the primary is the dev copy and I write in > this copy all my development code, once compiled, and tested I > "EXPORT" the new form or modified form to the Production .adp copy > this file used to be on the network, but due to the more recent > network errors that I was plauged w/ I decided to simply create a > folder on my pc called "build" and export to that folder instead, > everything had been working great, and in fact each copy compiles w/o > errors... but if I export from the dev on drive C to the build on > drive C I end up w/ an error on the build copy as "Error Loading > Project, disk or network error, continue loading?" if you click ok I > find that the module is empty. If I then (while in the build copy), > IMPORT the same form, then I get a new Form1 classic import, I delete > the corrupted form and rename Form1 to Form and all is well again... > why can I not export anymore? > -- -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 Thu Jun 2 13:25:45 2005 From: cfoust at infostatsystems.com (Charlotte Foust) Date: Thu, 2 Jun 2005 11:25:45 -0700 Subject: [AccessD] Error Loading Project? Message-ID: I seem to recall that it reinstitutes a bug or two cured in earlier SPs, perhaps something to do with resetting the autonumber seed, but I don't recall. Charlotte Foust -----Original Message----- From: Francisco Tapia [mailto:fhtapia at gmail.com] Sent: Thursday, June 02, 2005 10:20 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Error Loading Project? I was skeptical because I've been on SR1a for sooo long now, but I did upgrade to SP3 and everything is now working as expected :). Just hope this does not contribute to some additional bug :S On 6/2/05, Francisco Tapia wrote: > SP3 :O > I've only patched up to SR-1 on 2000 before... anything I should watch > out for in SP3? > > On 6/2/05, Charlotte Foust wrote: > > If you have 2k and XP on your either machine, make sure 2k is > > patched to SP3 before you do any exporting. OXP installed a > > VBE6.dll that breaks the version in 2k, causing that blasted network > > connection error to be thrown erroneously. Take a look at this MSKB > > article: > > http://support.microsoft.com/default.aspx?scid=kb;en-us;304548 > > > > Charlotte Foust > > > > > > -----Original Message----- > > From: Francisco Tapia [mailto:fhtapia at gmail.com] > > Sent: Wednesday, June 01, 2005 5:47 PM > > To: access-l at peach.ease.lsoft.com; Access Developers discussion and > > problem solving > > Subject: [AccessD] Error Loading Project? > > > > > > Recently I've been plauged by this error: > > > > I have 2 Access ADP's , the primary is the dev copy and I write in > > this copy all my development code, once compiled, and tested I > > "EXPORT" the new form or modified form to the Production .adp copy > > this file used to be on the network, but due to the more recent > > network errors that I was plauged w/ I decided to simply create a > > folder on my pc called "build" and export to that folder instead, > > everything had been working great, and in fact each copy compiles > > w/o errors... but if I export from the dev on drive C to the build > > on drive C I end up w/ an error on the build copy as "Error Loading > > Project, disk or network error, continue loading?" if you click ok I > > find that the module is empty. If I then (while in the build copy), > > IMPORT the same form, then I get a new Form1 classic import, I > > delete the corrupted form and rename Form1 to Form and all is well > > again... why can I not export anymore? > > > > > > -- > > -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 > > > > > -- > -Francisco > http://pcthis.blogspot.com |PC news with out the jargon! > http://sqlthis.blogspot.com | Tsql and More... > -- -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 accessd at shaw.ca Thu Jun 2 13:32:09 2005 From: accessd at shaw.ca (Jim Lawrence) Date: Thu, 02 Jun 2005 11:32:09 -0700 Subject: [AccessD] Error Loading Project? In-Reply-To: Message-ID: <0IHG00I0BZHIY6@l-daemon> So what would be the best way to import Access into XP and 2003 without major issues other than hand coding? Jim -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Charlotte Foust Sent: Thursday, June 02, 2005 11:25 AM To: Access Developers discussion and problem solving Subject: RE: [AccessD] Error Loading Project? 2003 breaks it the same way as XP. Charlotte Foust -----Original Message----- From: Francisco Tapia [mailto:fhtapia at gmail.com] Sent: Thursday, June 02, 2005 8:56 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Error Loading Project? Not at this time, I Just ordered Access 2003, currenlty I have Office 97 & 2000 w/ Outlook 2003. On 6/1/05, John W. Colby wrote: > Do you happen to have 2K and XP on the same machine? > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Francisco > Tapia > Sent: Wednesday, June 01, 2005 8:47 PM > To: access-l at peach.ease.lsoft.com; Access Developers discussion and problem > solving > Subject: [AccessD] Error Loading Project? > > > Recently I've been plauged by this error: > > I have 2 Access ADP's , the primary is the dev copy and I write in > this copy all my development code, once compiled, and tested I > "EXPORT" the new form or modified form to the Production .adp copy > this file used to be on the network, but due to the more recent > network errors that I was plauged w/ I decided to simply create a > folder on my pc called "build" and export to that folder instead, > everything had been working great, and in fact each copy compiles w/o > errors... but if I export from the dev on drive C to the build on > drive C I end up w/ an error on the build copy as "Error Loading > Project, disk or network error, continue loading?" if you click ok I > find that the module is empty. If I then (while in the build copy), > IMPORT the same form, then I get a new Form1 classic import, I delete > the corrupted form and rename Form1 to Form and all is well again... > why can I not export anymore? > -- -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 Drawbridge.Jack at ic.gc.ca Thu Jun 2 14:00:48 2005 From: Drawbridge.Jack at ic.gc.ca (Drawbridge, Jack: #CIO - BPI) Date: Thu, 2 Jun 2005 15:00:48 -0400 Subject: [AccessD] A2K talking to IE6 - File Save As Message-ID: <0F3AFAE449DD4A40BED8B6C4A97ABF5B0298AAAA@MSG-MB3.icent.ic.gc.ca> Looking for help/advice or sample code to open IE6 from code in A2K. Am interested in how to do a File| Save As Webpage, Complete. We have a database of 60000 companies and want to put extracts of selected 100-500 companies (html and graphics etc) onto a CD for use with Offline Browser. Can not figure out how to get to IE6 File | Save As. I have some code to open a page with IE browser and save all the links on the page. Any help would be appreciated. TIA jack '---- CODE to GET the Links from a given page ---- '--------------------------------------------------------------------------------------- ' Procedure : GetLinks ' DateTime : 2005-06-02 14:19 ' Author : ' Purpose : get all links from a named webpage URL '--------------------------------------------------------------------------------------- ' Sub GetLinks() ' ** need to set a reference to ' ** Microsoft Internet Controls Dim IeApp As InternetExplorer Dim sURL As String Dim IeDoc As Object Dim i As Long 'Create new instance of IE Set IeApp = New InternetExplorer 'May wish to make IeApp visible 'apparently some things don't work 'unless it's visible IeApp.Visible = False 'define the page to open sURL = "www.diligens.com" 'navigate to the page based on URL IeApp.Navigate sURL 'Pause until the webpage is completely loaded Do Loop Until IeApp.ReadyState = READYSTATE_COMPLETE 'Create instance of Document object Set IeDoc = IeApp.Document 'Loop through the document's links collection. For i = 0 To IeDoc.links.Length - 1 Debug.Print IeDoc.links(i).href Next i 'Clean up Set IeApp = Nothing Set IeDoc = Nothing End Sub From cfoust at infostatsystems.com Thu Jun 2 14:52:44 2005 From: cfoust at infostatsystems.com (Charlotte Foust) Date: Thu, 2 Jun 2005 12:52:44 -0700 Subject: [AccessD] Error Loading Project? Message-ID: They don't break in XP and 2003, only the other direction. Charlotte Foust -----Original Message----- From: Jim Lawrence [mailto:accessd at shaw.ca] Sent: Thursday, June 02, 2005 11:32 AM To: 'Access Developers discussion and problem solving' Subject: RE: [AccessD] Error Loading Project? So what would be the best way to import Access into XP and 2003 without major issues other than hand coding? Jim -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Charlotte Foust Sent: Thursday, June 02, 2005 11:25 AM To: Access Developers discussion and problem solving Subject: RE: [AccessD] Error Loading Project? 2003 breaks it the same way as XP. Charlotte Foust -----Original Message----- From: Francisco Tapia [mailto:fhtapia at gmail.com] Sent: Thursday, June 02, 2005 8:56 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Error Loading Project? Not at this time, I Just ordered Access 2003, currenlty I have Office 97 & 2000 w/ Outlook 2003. On 6/1/05, John W. Colby wrote: > Do you happen to have 2K and XP on the same machine? > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Francisco > Tapia > Sent: Wednesday, June 01, 2005 8:47 PM > To: access-l at peach.ease.lsoft.com; Access Developers discussion and problem > solving > Subject: [AccessD] Error Loading Project? > > > Recently I've been plauged by this error: > > I have 2 Access ADP's , the primary is the dev copy and I write in > this copy all my development code, once compiled, and tested I > "EXPORT" the new form or modified form to the Production .adp copy > this file used to be on the network, but due to the more recent > network errors that I was plauged w/ I decided to simply create a > folder on my pc called "build" and export to that folder instead, > everything had been working great, and in fact each copy compiles w/o > errors... but if I export from the dev on drive C to the build on > drive C I end up w/ an error on the build copy as "Error Loading > Project, disk or network error, continue loading?" if you click ok I > find that the module is empty. If I then (while in the build copy), > IMPORT the same form, then I get a new Form1 classic import, I delete > the corrupted form and rename Form1 to Form and all is well again... > why can I not export anymore? > -- -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 jwcolby at colbyconsulting.com Thu Jun 2 14:59:52 2005 From: jwcolby at colbyconsulting.com (John W. Colby) Date: Thu, 02 Jun 2005 15:59:52 -0400 Subject: [AccessD] Error Loading Project? In-Reply-To: Message-ID: <004301c567ad$a3fbd2c0$6c7aa8c0@ColbyM6805> Charlotte, Why don't you give a synopsis of what the problem is and how it is triggered. XP provides new dll, 2K PreSP3 has wrong entry points, 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 Charlotte Foust Sent: Thursday, June 02, 2005 3:53 PM To: Access Developers discussion and problem solving Subject: RE: [AccessD] Error Loading Project? They don't break in XP and 2003, only the other direction. Charlotte Foust -----Original Message----- From: Jim Lawrence [mailto:accessd at shaw.ca] Sent: Thursday, June 02, 2005 11:32 AM To: 'Access Developers discussion and problem solving' Subject: RE: [AccessD] Error Loading Project? So what would be the best way to import Access into XP and 2003 without major issues other than hand coding? Jim -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Charlotte Foust Sent: Thursday, June 02, 2005 11:25 AM To: Access Developers discussion and problem solving Subject: RE: [AccessD] Error Loading Project? 2003 breaks it the same way as XP. Charlotte Foust -----Original Message----- From: Francisco Tapia [mailto:fhtapia at gmail.com] Sent: Thursday, June 02, 2005 8:56 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Error Loading Project? Not at this time, I Just ordered Access 2003, currenlty I have Office 97 & 2000 w/ Outlook 2003. On 6/1/05, John W. Colby wrote: > Do you happen to have 2K and XP on the same machine? > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Francisco > Tapia > Sent: Wednesday, June 01, 2005 8:47 PM > To: access-l at peach.ease.lsoft.com; Access Developers discussion and problem > solving > Subject: [AccessD] Error Loading Project? > > > Recently I've been plauged by this error: > > I have 2 Access ADP's , the primary is the dev copy and I write in > this copy all my development code, once compiled, and tested I > "EXPORT" the new form or modified form to the Production .adp copy > this file used to be on the network, but due to the more recent > network errors that I was plauged w/ I decided to simply create a > folder on my pc called "build" and export to that folder instead, > everything had been working great, and in fact each copy compiles w/o > errors... but if I export from the dev on drive C to the build on > drive C I end up w/ an error on the build copy as "Error Loading > Project, disk or network error, continue loading?" if you click ok I > find that the module is empty. If I then (while in the build copy), > IMPORT the same form, then I get a new Form1 classic import, I delete > the corrupted form and rename Form1 to Form and all is well again... > why can I not export anymore? > -- -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 -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From pedro at plex.nl Thu Jun 2 15:34:18 2005 From: pedro at plex.nl (Pedro Janssen) Date: Thu, 2 Jun 2005 22:34:18 +0200 Subject: [AccessD] Any ArcGis vba programmers out there? References: <200506021316.j52DGAIJ222210@pimout3-ext.prodigy.net> Message-ID: <00be01c567b5$35f4bbe0$f4c581d5@pedro> Hello John, I asked with the ESRI department in the Netherlands, but they charge money for the writing of the script. I still can use the avenue script in ArcView3, but it would be nice to have it in VBA. The Workinggroup where i use this script for are all volunteers, and we don't have the money to let the script be written in VBA. I now don't have the time to dive into VBA for Gis applications. Thanks for your response. Pedro Janssen ----- Original Message ----- From: "John Bartow" To: "'Access Developers discussion and problem solving'" Sent: Thursday, June 02, 2005 3:16 PM Subject: RE: [AccessD] Any ArcGis vba programmers out there? > Pedro, > I can't help you directly. > > There are usually ESRI User Groups in most areas where their products have a > user base of any size. However, I would start with the ESRI Regional staff. > I have found that they are very helpful in this type of endeavor. > > Good luck > John B. > > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of pedro at plex.nl > Sent: Thursday, June 02, 2005 12:10 PM > To: AccessD at databaseadvisors.com > Subject: [AccessD] Any ArcGis vba programmers out there? > > Hello Group, > > John W. Colby question about mappoint triggered me to ask the same about > ArcGis. > > I have a script in Avenue that i need to have in VBA for ArcGis. Who can > help me with this. > > 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 mmattys at rochester.rr.com Thu Jun 2 16:18:25 2005 From: mmattys at rochester.rr.com (Michael R Mattys) Date: Thu, 2 Jun 2005 17:18:25 -0400 Subject: [AccessD] Any MapPoint programmers out there? References: <002901c566f9$5c6c79f0$6c7aa8c0@ColbyM6805> Message-ID: <018001c567b8$9e7b95f0$0202a8c0@default> JC, What solutions will you be coding in MapPoint? ---- Michael R. Mattys Mattys MapLib for Microsoft MapPoint http://www.mattysconsulting.com ----- Original Message ----- From: "John W. Colby" To: "'Access Developers discussion and problem solving'" Sent: Wednesday, June 01, 2005 6:29 PM Subject: [AccessD] Any MapPoint programmers out there? > I'm getting ready to do some pretty serious MapPoint stuff and wondered if > anyone else out there is doing MapPoint? > > 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 Thu Jun 2 17:14:07 2005 From: cfoust at infostatsystems.com (Charlotte Foust) Date: Thu, 2 Jun 2005 15:14:07 -0700 Subject: [AccessD] Error Loading Project? Message-ID: Well, it has been discussed here in the past, but the gist is that both XP and 2003 provide a VBE6.dll that is a different version from that used by Office 2000. This is not strictly an Access problem, since I've seen reports of it toasting Excel and Word as well. The errors arise with both Access 2000 pre-SP3 and version 6.3.91.8 of the dll. So if you have 2000 and are running it on the same machine with a later version or are passing code containers between machines with differing versions, you will run into problems on the 2000 machine unless you have SP3 installed. SP3, and also a hot patch that was available prior to SP3 release, actually patch the A2k executable so that it can cope with the later version of the dll without going down in flames. When I first ran into it, way back, I discovered that if I opened an mdb created elsewhere in Access XP on my machine, which only had 2000, and tried to view the code I was likely to regret it. If I tried to *import* the code containers into an Access 2000 database, I was SURE to regret it. The recovery steps listed in MSKB 304548 may or may not work. They didn't work for me when I encountered the problem. Charlotte Foust -----Original Message----- From: John W. Colby [mailto:jwcolby at colbyconsulting.com] Sent: Thursday, June 02, 2005 1:00 PM To: 'Access Developers discussion and problem solving' Subject: RE: [AccessD] Error Loading Project? Charlotte, Why don't you give a synopsis of what the problem is and how it is triggered. XP provides new dll, 2K PreSP3 has wrong entry points, 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 Charlotte Foust Sent: Thursday, June 02, 2005 3:53 PM To: Access Developers discussion and problem solving Subject: RE: [AccessD] Error Loading Project? They don't break in XP and 2003, only the other direction. Charlotte Foust -----Original Message----- From: Jim Lawrence [mailto:accessd at shaw.ca] Sent: Thursday, June 02, 2005 11:32 AM To: 'Access Developers discussion and problem solving' Subject: RE: [AccessD] Error Loading Project? So what would be the best way to import Access into XP and 2003 without major issues other than hand coding? Jim -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Charlotte Foust Sent: Thursday, June 02, 2005 11:25 AM To: Access Developers discussion and problem solving Subject: RE: [AccessD] Error Loading Project? 2003 breaks it the same way as XP. Charlotte Foust -----Original Message----- From: Francisco Tapia [mailto:fhtapia at gmail.com] Sent: Thursday, June 02, 2005 8:56 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Error Loading Project? Not at this time, I Just ordered Access 2003, currenlty I have Office 97 & 2000 w/ Outlook 2003. On 6/1/05, John W. Colby wrote: > Do you happen to have 2K and XP on the same machine? > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Francisco > Tapia > Sent: Wednesday, June 01, 2005 8:47 PM > To: access-l at peach.ease.lsoft.com; Access Developers discussion and problem > solving > Subject: [AccessD] Error Loading Project? > > > Recently I've been plauged by this error: > > I have 2 Access ADP's , the primary is the dev copy and I write in > this copy all my development code, once compiled, and tested I > "EXPORT" the new form or modified form to the Production .adp copy > this file used to be on the network, but due to the more recent > network errors that I was plauged w/ I decided to simply create a > folder on my pc called "build" and export to that folder instead, > everything had been working great, and in fact each copy compiles w/o > errors... but if I export from the dev on drive C to the build on > drive C I end up w/ an error on the build copy as "Error Loading > Project, disk or network error, continue loading?" if you click ok I > find that the module is empty. If I then (while in the build copy), > IMPORT the same form, then I get a new Form1 classic import, I delete > the corrupted form and rename Form1 to Form and all is well again... > why can I not export anymore? > -- -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 -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd 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 Jun 2 17:35:19 2005 From: jwcolby at colbyconsulting.com (John W. Colby) Date: Thu, 02 Jun 2005 18:35:19 -0400 Subject: [AccessD] Any MapPoint programmers out there? In-Reply-To: <018001c567b8$9e7b95f0$0202a8c0@default> Message-ID: <004401c567c3$5af6e220$6c7aa8c0@ColbyM6805> My client calls people about contracts they need to fill. They want to see the location of the contract, and the location of the people selected to be called. I am well along. The map is opening (I am programming to the lib, not the activex control), I have built up a mappoint framework which can open and close the app, the map, has classes for locations that hold the pieces of the address as well as a location object for the address (if just one), a pushpin if the location is put into the map etc. Eventually they want to do things like "this person is also close to this other open contract" so that as they display a person to call, the map will not only display the contract location they are being called about, they will be shown other contracts close to that person's address. 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 Michael R Mattys Sent: Thursday, June 02, 2005 5:18 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Any MapPoint programmers out there? JC, What solutions will you be coding in MapPoint? ---- Michael R. Mattys Mattys MapLib for Microsoft MapPoint http://www.mattysconsulting.com ----- Original Message ----- From: "John W. Colby" To: "'Access Developers discussion and problem solving'" Sent: Wednesday, June 01, 2005 6:29 PM Subject: [AccessD] Any MapPoint programmers out there? > I'm getting ready to do some pretty serious MapPoint stuff and > wondered if anyone else out there is doing MapPoint? > > 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 mmattys at rochester.rr.com Thu Jun 2 18:12:57 2005 From: mmattys at rochester.rr.com (Michael R Mattys) Date: Thu, 2 Jun 2005 19:12:57 -0400 Subject: [AccessD] Any MapPoint programmers out there? References: <004401c567c3$5af6e220$6c7aa8c0@ColbyM6805> Message-ID: <01bf01c567c8$9f42c340$0202a8c0@default> Hi John, I have no doubt that everything you do in the next month will match what I have done in 2 years. Nevertheless, if you have any questions, I'll try to help. ---- Michael R. Mattys Mattys MapLib for Microsoft MapPoint http://www.mattysconsulting.com ----- Original Message ----- From: "John W. Colby" To: "'Access Developers discussion and problem solving'" Sent: Thursday, June 02, 2005 6:35 PM Subject: RE: [AccessD] Any MapPoint programmers out there? > My client calls people about contracts they need to fill. They want to see > the location of the contract, and the location of the people selected to be > called. I am well along. The map is opening (I am programming to the lib, > not the activex control), I have built up a mappoint framework which can > open and close the app, the map, has classes for locations that hold the > pieces of the address as well as a location object for the address (if just > one), a pushpin if the location is put into the map etc. > > Eventually they want to do things like "this person is also close to this > other open contract" so that as they display a person to call, the map will > not only display the contract location they are being called about, they > will be shown other contracts close to that person's address. > > 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 Michael R Mattys > Sent: Thursday, June 02, 2005 5:18 PM > To: Access Developers discussion and problem solving > Subject: Re: [AccessD] Any MapPoint programmers out there? > > > JC, > > What solutions will you be coding in MapPoint? > > ---- > > Michael R. Mattys > Mattys MapLib for Microsoft MapPoint http://www.mattysconsulting.com > > > > ----- Original Message ----- > From: "John W. Colby" > To: "'Access Developers discussion and problem solving'" > > Sent: Wednesday, June 01, 2005 6:29 PM > Subject: [AccessD] Any MapPoint programmers out there? > > > > I'm getting ready to do some pretty serious MapPoint stuff and > > wondered if anyone else out there is doing MapPoint? > > > > John W. Colby > > www.ColbyConsulting.com From jwcolby at colbyconsulting.com Thu Jun 2 18:34:52 2005 From: jwcolby at colbyconsulting.com (John W. Colby) Date: Thu, 02 Jun 2005 19:34:52 -0400 Subject: [AccessD] Any MapPoint programmers out there? In-Reply-To: <01bf01c567c8$9f42c340$0202a8c0@default> Message-ID: <004501c567cb$acefb5e0$6c7aa8c0@ColbyM6805> I appreciate it. Mostly it's a matter of discovering how to do all those things that can be done. John W. Colby www.ColbyConsulting.com Contribute your unused CPU cycles to 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: Thursday, June 02, 2005 7:13 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Any MapPoint programmers out there? Hi John, I have no doubt that everything you do in the next month will match what I have done in 2 years. Nevertheless, if you have any questions, I'll try to help. ---- Michael R. Mattys Mattys MapLib for Microsoft MapPoint http://www.mattysconsulting.com ----- Original Message ----- From: "John W. Colby" To: "'Access Developers discussion and problem solving'" Sent: Thursday, June 02, 2005 6:35 PM Subject: RE: [AccessD] Any MapPoint programmers out there? > My client calls people about contracts they need to fill. They want > to see > the location of the contract, and the location of the people selected > to be > called. I am well along. The map is opening (I am programming to the lib, > not the activex control), I have built up a mappoint framework which > can open and close the app, the map, has classes for locations that > hold the pieces of the address as well as a location object for the > address (if just > one), a pushpin if the location is put into the map etc. > > Eventually they want to do things like "this person is also close to > this other open contract" so that as they display a person to call, > the map will > not only display the contract location they are being called about, > they will be shown other contracts close to that person's address. > > 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 Michael R Mattys > Sent: Thursday, June 02, 2005 5:18 PM > To: Access Developers discussion and problem solving > Subject: Re: [AccessD] Any MapPoint programmers out there? > > > JC, > > What solutions will you be coding in MapPoint? > > ---- > > Michael R. Mattys > Mattys MapLib for Microsoft MapPoint http://www.mattysconsulting.com > > > > ----- Original Message ----- > From: "John W. Colby" > To: "'Access Developers discussion and problem solving'" > > Sent: Wednesday, June 01, 2005 6:29 PM > Subject: [AccessD] Any MapPoint programmers out there? > > > > I'm getting ready to do some pretty serious MapPoint stuff and > > wondered if anyone else out there is doing MapPoint? > > > > John W. Colby > > www.ColbyConsulting.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From accessd at shaw.ca Fri Jun 3 01:42:20 2005 From: accessd at shaw.ca (Jim Lawrence) Date: Thu, 02 Jun 2005 23:42:20 -0700 Subject: [AccessD] Error Loading Project? In-Reply-To: Message-ID: <0IHH00M2OXAFC3@l-daemon> Charlotte: Good, honestly, who would ever go back... now the going back option has been eliminated. :-) It is a good plan. Thanks Jim -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Charlotte Foust Sent: Thursday, June 02, 2005 12:53 PM To: Access Developers discussion and problem solving Subject: RE: [AccessD] Error Loading Project? They don't break in XP and 2003, only the other direction. Charlotte Foust -----Original Message----- From: Jim Lawrence [mailto:accessd at shaw.ca] Sent: Thursday, June 02, 2005 11:32 AM To: 'Access Developers discussion and problem solving' Subject: RE: [AccessD] Error Loading Project? So what would be the best way to import Access into XP and 2003 without major issues other than hand coding? Jim -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Charlotte Foust Sent: Thursday, June 02, 2005 11:25 AM To: Access Developers discussion and problem solving Subject: RE: [AccessD] Error Loading Project? 2003 breaks it the same way as XP. Charlotte Foust -----Original Message----- From: Francisco Tapia [mailto:fhtapia at gmail.com] Sent: Thursday, June 02, 2005 8:56 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Error Loading Project? Not at this time, I Just ordered Access 2003, currenlty I have Office 97 & 2000 w/ Outlook 2003. On 6/1/05, John W. Colby wrote: > Do you happen to have 2K and XP on the same machine? > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Francisco > Tapia > Sent: Wednesday, June 01, 2005 8:47 PM > To: access-l at peach.ease.lsoft.com; Access Developers discussion and problem > solving > Subject: [AccessD] Error Loading Project? > > > Recently I've been plauged by this error: > > I have 2 Access ADP's , the primary is the dev copy and I write in > this copy all my development code, once compiled, and tested I > "EXPORT" the new form or modified form to the Production .adp copy > this file used to be on the network, but due to the more recent > network errors that I was plauged w/ I decided to simply create a > folder on my pc called "build" and export to that folder instead, > everything had been working great, and in fact each copy compiles w/o > errors... but if I export from the dev on drive C to the build on > drive C I end up w/ an error on the build copy as "Error Loading > Project, disk or network error, continue loading?" if you click ok I > find that the module is empty. If I then (while in the build copy), > IMPORT the same form, then I get a new Form1 classic import, I delete > the corrupted form and rename Form1 to Form and all is well again... > why can I not export anymore? > -- -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 -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From accessd666 at yahoo.com Fri Jun 3 04:55:14 2005 From: accessd666 at yahoo.com (Sad Der) Date: Fri, 3 Jun 2005 02:55:14 -0700 (PDT) Subject: [AccessD] OT: Adjust an Outlook Form? Message-ID: <20050603095514.62793.qmail@web31611.mail.mud.yahoo.com> Hi group, I need to change an Outlook form. When I click: Tools -> Forms -> Choose Form I see the form in the folder: Organizational Forms Library I saved this form to a folder on my harddisk. How the %$%$@ can I change the code/gui for this form?? When I click: Tools -> Forms -> Design Form I cannot select the form I just saved. I cannot browse! This button is gray. Any ideas? I want to add some minor changes and implement them today....I hope. TIA SD __________________________________ Discover Yahoo! Stay in touch with email, IM, photo sharing and more. Check it out! http://discover.yahoo.com/stayintouch.html From paul.hartland at isharp.co.uk Fri Jun 3 04:59:06 2005 From: paul.hartland at isharp.co.uk (Paul Hartland (ISHARP)) Date: Fri, 3 Jun 2005 10:59:06 +0100 Subject: [AccessD] Any MapPoint programmers out there? In-Reply-To: <004501c567cb$acefb5e0$6c7aa8c0@ColbyM6805> Message-ID: Anyone got any sample code to get me started, I have just installed MapPoint 2004 (60 day evaluation). All I want to do (using Visual Basic 6.0) is send two postcodes to MapPoint and have Visual Basic display a message box with the distance between the two postcodes. Sample code for this and anything like it will be greatly appreciated. Many thanks in advance... Paul Hartland Database Developer -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of John W. Colby Sent: 03 June 2005 00:35 To: 'Access Developers discussion and problem solving' Subject: RE: [AccessD] Any MapPoint programmers out there? I appreciate it. Mostly it's a matter of discovering how to do all those things that can be done. John W. Colby www.ColbyConsulting.com Contribute your unused CPU cycles to 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: Thursday, June 02, 2005 7:13 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Any MapPoint programmers out there? Hi John, I have no doubt that everything you do in the next month will match what I have done in 2 years. Nevertheless, if you have any questions, I'll try to help. ---- Michael R. Mattys Mattys MapLib for Microsoft MapPoint http://www.mattysconsulting.com ----- Original Message ----- From: "John W. Colby" To: "'Access Developers discussion and problem solving'" Sent: Thursday, June 02, 2005 6:35 PM Subject: RE: [AccessD] Any MapPoint programmers out there? > My client calls people about contracts they need to fill. They want > to see > the location of the contract, and the location of the people selected > to be > called. I am well along. The map is opening (I am programming to the lib, > not the activex control), I have built up a mappoint framework which > can open and close the app, the map, has classes for locations that > hold the pieces of the address as well as a location object for the > address (if just > one), a pushpin if the location is put into the map etc. > > Eventually they want to do things like "this person is also close to > this other open contract" so that as they display a person to call, > the map will > not only display the contract location they are being called about, > they will be shown other contracts close to that person's address. > > 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 Michael R Mattys > Sent: Thursday, June 02, 2005 5:18 PM > To: Access Developers discussion and problem solving > Subject: Re: [AccessD] Any MapPoint programmers out there? > > > JC, > > What solutions will you be coding in MapPoint? > > ---- > > Michael R. Mattys > Mattys MapLib for Microsoft MapPoint http://www.mattysconsulting.com > > > > ----- Original Message ----- > From: "John W. Colby" > To: "'Access Developers discussion and problem solving'" > > Sent: Wednesday, June 01, 2005 6:29 PM > Subject: [AccessD] Any MapPoint programmers out there? > > > > I'm getting ready to do some pretty serious MapPoint stuff and > > wondered if anyone else out there is doing MapPoint? > > > > 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 paul.hartland at isharp.co.uk Fri Jun 3 05:44:15 2005 From: paul.hartland at isharp.co.uk (Paul Hartland (ISHARP)) Date: Fri, 3 Jun 2005 11:44:15 +0100 Subject: [AccessD] Any MapPoint programmers out there? In-Reply-To: <042401c5675d$506a2440$0202a8c0@default> Message-ID: The .DistanceTo function seems to return distance as the crow flies....Is this correct, only I need the actual mileage calculation -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Michael R Mattys Sent: 02 June 2005 11:25 To: Access Developers discussion and problem solving Subject: Re: [AccessD] Any MapPoint programmers out there? Since you've said 'postcodes', I'll assume you're in the UK (Not that it makes a difference at the moment.) You'll be looking to use the .DistanceTo function Try here: http://groups-beta.google.com/groups?hl=en&q=mappoint+distanceto ---- Michael R. Mattys Mattys MapLib for Microsoft MapPoint http://www.mattysconsulting.com ----- Original Message ----- From: "Paul Hartland (ISHARP)" To: "'Access Developers discussion and problem solving'" Sent: Thursday, June 02, 2005 6:05 AM Subject: RE: [AccessD] Any MapPoint programmers out there? > Initially all I want to be able to do is pass a clients postcode and several > + employee postcodes into MapPoint and return the miles from client > + for > every employee.... > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Michael R Mattys > Sent: 02 June 2005 10:45 > To: Access Developers discussion and problem solving > Subject: Re: [AccessD] Any MapPoint programmers out there? > > I have been programming in MapPoint for over 2 years using both Access > and VB6. I have several apps created that I sell, including a full > routing and scheduling app. > Haven't had time to update my website since I started. > > My efforts were started at Eric Frost's www.mp2kmag.com, where you'll > find articles and discussion. > > I frequently answer questions on Newsgroups: > Microsoft.Public.MapPoint and Microsoft.Public.Street-Trips. > ---- > > Michael R. Mattys > Mattys MapLib for Microsoft MapPoint > http://www.mattysconsulting.com > > > > ----- Original Message ----- > From: "Paul Hartland (ISHARP)" > To: "'Access Developers discussion and problem solving'" > > Sent: Thursday, June 02, 2005 3:00 AM > Subject: RE: [AccessD] Any MapPoint programmers out there? > > > > I am also getting ready to use MapPoint with VB6 and SQL Server > > 2000, > mainly > > want to use it to calculate distances that our employees are from > > our clients, but may also want to be able to create maps/directions etc.... > > > > So if anyone knows any good sites or can help me with getting > > started I would be grateful.... > > > > Thanks in advance for any help on this.... > > > > Paul Hartland > > > > > > -----Original Message----- > > From: accessd-bounces at databaseadvisors.com > > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of John W. > > Colby > > Sent: 01 June 2005 23:29 > > To: 'Access Developers discussion and problem solving' > > Subject: [AccessD] Any MapPoint programmers out there? > > > > I'm getting ready to do some pretty serious MapPoint stuff and > > wondered if anyone else out there is doing MapPoint? > > > > 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 mmattys at rochester.rr.com Fri Jun 3 06:15:24 2005 From: mmattys at rochester.rr.com (Michael R Mattys) Date: Fri, 3 Jun 2005 07:15:24 -0400 Subject: [AccessD] Any MapPoint programmers out there? References: Message-ID: <025c01c5682d$8cc142e0$0202a8c0@default> ----- Original Message ----- From: "Paul Hartland (ISHARP)" To: "'Access Developers discussion and problem solving'" Sent: Friday, June 03, 2005 6:44 AM Subject: RE: [AccessD] Any MapPoint programmers out there? > The .DistanceTo function seems to return distance as the crow flies....Is > this correct, only I need the actual mileage calculation Paul, It's a good approximation. The code that gives you actual miles involves enumeration of routes directions, which is a "just a tiny bit more" code to write. ---- Michael R. Mattys Mattys MapLib for Microsoft MapPoint http://www.mattysconsulting.com From paul.hartland at fsmail.net Fri Jun 3 06:23:16 2005 From: paul.hartland at fsmail.net (paul.hartland at fsmail.net) Date: Fri, 3 Jun 2005 13:23:16 +0200 (CEST) Subject: [AccessD] Any MapPoint programmers out there? Message-ID: <10153117.1117797796484.JavaMail.www@wwinf3001> That's what I am going to have to do then, cause it will be used to cross reference expense claims on our main system with around a 10% leeway, at the moment I am just playing about with MapPoint as I only installed it today.... So if anyone can help me with getting the actual mileage, it would be very appreciated. Paul Hartland Message date : Jun 03 2005, 12:14 PM >From : "Michael R Mattys" To : "Access Developers discussion and problem solving" Copy to : Subject : Re: [AccessD] Any MapPoint programmers out there? ----- Original Message ----- From: "Paul Hartland (ISHARP)" To: "'Access Developers discussion and problem solving'" Sent: Friday, June 03, 2005 6:44 AM Subject: RE: [AccessD] Any MapPoint programmers out there? > The .DistanceTo function seems to return distance as the crow flies....Is > this correct, only I need the actual mileage calculation Paul, It's a good approximation. The code that gives you actual miles involves enumeration of routes directions, which is a "just a tiny bit more" code to write. ---- Michael R. Mattys Mattys MapLib for Microsoft MapPoint http://www.mattysconsulting.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- Whatever you Wanadoo: http://www.wanadoo.co.uk/time/ This email has been checked for most known viruses - find out more at: http://www.wanadoo.co.uk/help/id/7098.htm From mmattys at rochester.rr.com Fri Jun 3 06:31:04 2005 From: mmattys at rochester.rr.com (Michael R Mattys) Date: Fri, 3 Jun 2005 07:31:04 -0400 Subject: [AccessD] Any MapPoint programmers out there? References: <10153117.1117797796484.JavaMail.www@wwinf3001> Message-ID: <027801c5682f$bbaa9f00$0202a8c0@default> Hang on, Paul - I'm looking for it. ---- Michael R. Mattys Mattys MapLib for Microsoft MapPoint http://www.mattysconsulting.com ----- Original Message ----- From: To: "Access Developers discussion and problem solving" Sent: Friday, June 03, 2005 7:23 AM Subject: Re: Re: [AccessD] Any MapPoint programmers out there? > That's what I am going to have to do then, cause it will be used to cross reference expense claims on our main system with around a 10% leeway, at the moment I am just playing about with MapPoint as I only installed it today.... > > So if anyone can help me with getting the actual mileage, it would be very appreciated. From cyx5 at cdc.gov Fri Jun 3 06:34:10 2005 From: cyx5 at cdc.gov (Nicholson, Karen) Date: Fri, 3 Jun 2005 07:34:10 -0400 Subject: [AccessD] Friday Joke Day Message-ID: Just a reminder... From mmattys at rochester.rr.com Fri Jun 3 06:45:21 2005 From: mmattys at rochester.rr.com (Michael R Mattys) Date: Fri, 3 Jun 2005 07:45:21 -0400 Subject: [AccessD] Any MapPoint programmers out there? References: <10153117.1117797796484.JavaMail.www@wwinf3001> <027801c5682f$bbaa9f00$0202a8c0@default> Message-ID: <028401c56831$baa41990$0202a8c0@default> Paul, I pulled this from an answer on Google Author is Gilles Kohl (MVP) ************************ >In my custom software I need to provide driving distance and directions >between any 2 addresses (a map would be nice too). Does MapPoint have an API >that I can hook into so I can integrate these features in my software? Yes it does, no problem. And in case you won't take my word for it, here's sample code that works with MapPoint 2001 (to prevent word-wrapping problems, I've also attached it as a text file) For a map, you could either use the CopyMap method of the Map object (copies the map as a picture to the clipboard, use like so: objMap.CopyMap Image1.Picture = Clipboard.GetData ), or use the full-blown MapPoint ActiveX control available in MapPoint 2002. Hope this helps, Regards, Gilles. Option Explicit ' remember to set a reference to the Microsoft MapPoint Object Library (North American) Dim objApp As New MapPoint.Application Private Sub cmdCalcDistance_Click() Dim objMap As MapPoint.Map Dim objLocMS As MapPoint.Location Dim objLocHRC As MapPoint.Location ' Uncomment the following line to make MapPoint visible ' objApp.Visible = True ' Get a map object Set objMap = objApp.NewMap ' Clear the route ( objMap.ActiveRoute.Clear 'Illustrate finding a United States address Set objLocMS = objMap.FindAddress("One Microsoft Way", "Redmond", "Washington", "98052", geoCountryUnitedStates) If objLocMS Is Nothing Then MsgBox "Sorry - did not find US address" Exit Sub End If ' Found it OK - add to route objMap.ActiveRoute.Waypoints.A dd objLocMS, "Microsoft" 'Illustrate finding a Canadian address Set objLocHRC = objMap.FindAddress("4295 Blackcombe Way", "Whistler", "British Columbia", "VON1B4", geoCountryCanada) If objLocHRC Is Nothing Then MsgBox "Sorry - did not find Canadian address" Exit Sub End If ' Found it OK - add to route objMap.ActiveRoute.Waypoints.Add objLocHRC, "HRC" ' Compute route objMap.ActiveRoute.Calculate If objMap.ActiveRoute.IsCalculated Then MsgBox "The distance is " & objMap.ActiveRoute.Distance & _ IIf(objApp.Units = geoMiles, " miles", " km") Else MsgBox "Sorry, could not compute route" End If End Sub Michael R. Mattys Mattys MapLib for Microsoft MapPoint http://www.mattysconsulting.com From paul.hartland at fsmail.net Fri Jun 3 06:49:51 2005 From: paul.hartland at fsmail.net (paul.hartland at fsmail.net) Date: Fri, 3 Jun 2005 13:49:51 +0200 (CEST) Subject: [AccessD] Any MapPoint programmers out there? Message-ID: <8847644.1117799391745.JavaMail.www@wwinf3102> Thanks very much, I can start playing now..... Message date : Jun 03 2005, 12:46 PM >From : "Michael R Mattys" To : "Access Developers discussion and problem solving" Copy to : Subject : Re: Re: [AccessD] Any MapPoint programmers out there? Paul, I pulled this from an answer on Google Author is Gilles Kohl (MVP) ************************ >In my custom software I need to provide driving distance and directions >between any 2 addresses (a map would be nice too). Does MapPoint have an API >that I can hook into so I can integrate these features in my software? Yes it does, no problem. And in case you won't take my word for it, here's sample code that works with MapPoint 2001 (to prevent word-wrapping problems, I've also attached it as a text file) For a map, you could either use the CopyMap method of the Map object (copies the map as a picture to the clipboard, use like so: objMap.CopyMap Image1.Picture = Clipboard.GetData ), or use the full-blown MapPoint ActiveX control available in MapPoint 2002. Hope this helps, Regards, Gilles. Option Explicit ' remember to set a reference to the Microsoft MapPoint Object Library (North American) Dim objApp As New MapPoint.Application Private Sub cmdCalcDistance_Click() Dim objMap As MapPoint.Map Dim objLocMS As MapPoint.Location Dim objLocHRC As MapPoint.Location ' Uncomment the following line to make MapPoint visible ' objApp.Visible = True ' Get a map object Set objMap = objApp.NewMap ' Clear the route ( objMap.ActiveRoute.Clear 'Illustrate finding a United States address Set objLocMS = objMap.FindAddress("One Microsoft Way", "Redmond", "Washington", "98052", geoCountryUnitedStates) If objLocMS Is Nothing Then MsgBox "Sorry - did not find US address" Exit Sub End If ' Found it OK - add to route objMap.ActiveRoute.Waypoints.A dd objLocMS, "Microsoft" 'Illustrate finding a Canadian address Set objLocHRC = objMap.FindAddress("4295 Blackcombe Way", "Whistler", "British Columbia", "VON1B4", geoCountryCanada) If objLocHRC Is Nothing Then MsgBox "Sorry - did not find Canadian address" Exit Sub End If ' Found it OK - add to route objMap.ActiveRoute.Waypoints.Add objLocHRC, "HRC" ' Compute route objMap.ActiveRoute.Calculate If objMap.ActiveRoute.IsCalculated Then MsgBox "The distance is " & objMap.ActiveRoute.Distance & _ IIf(objApp.Units = geoMiles, " miles", " km") Else MsgBox "Sorry, could not compute route" End If End Sub Michael R. Mattys Mattys MapLib for Microsoft MapPoint http://www.mattysconsulting.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- Whatever you Wanadoo: http://www.wanadoo.co.uk/time/ This email has been checked for most known viruses - find out more at: http://www.wanadoo.co.uk/help/id/7098.htm From jwcolby at colbyconsulting.com Fri Jun 3 07:24:06 2005 From: jwcolby at colbyconsulting.com (John W. Colby) Date: Fri, 03 Jun 2005 08:24:06 -0400 Subject: [AccessD] Any MapPoint programmers out there? In-Reply-To: Message-ID: <000001c56837$2607c2e0$6c7aa8c0@ColbyM6805> Public Function DistanceAsTheCarDrives(Lat1 As Double, Lon1 As Double, Lat2 As Double, Lon2 As Double) As Double Dim oLoc1 As MapPoint.Location Dim oLoc2 As MapPoint.Location Set oLoc1 = mMap.GetLocation(Lat1, Lon1, 0) Set oLoc2 = mMap.GetLocation(Lat2, Lon2, 0) mMap.ActiveRoute.Clear mMap.ActiveRoute.Waypoints.Add oLoc1, "Start" mMap.ActiveRoute.Waypoints.Add oLoc2, "End" mMap.ActiveRoute.Calculate DistanceAsTheCarDrives = mMap.ActiveRoute.Distance End Function Ignore the lat/long thing and start with your two locations. John W. Colby www.ColbyConsulting.com Contribute your unused CPU cycles to a good cause: http://folding.stanford.edu/ -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Paul Hartland (ISHARP) Sent: Friday, June 03, 2005 6:44 AM To: 'Access Developers discussion and problem solving' Subject: RE: [AccessD] Any MapPoint programmers out there? The .DistanceTo function seems to return distance as the crow flies....Is this correct, only I need the actual mileage calculation -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Michael R Mattys Sent: 02 June 2005 11:25 To: Access Developers discussion and problem solving Subject: Re: [AccessD] Any MapPoint programmers out there? Since you've said 'postcodes', I'll assume you're in the UK (Not that it makes a difference at the moment.) You'll be looking to use the .DistanceTo function Try here: http://groups-beta.google.com/groups?hl=en&q=mappoint+distanceto ---- Michael R. Mattys Mattys MapLib for Microsoft MapPoint http://www.mattysconsulting.com ----- Original Message ----- From: "Paul Hartland (ISHARP)" To: "'Access Developers discussion and problem solving'" Sent: Thursday, June 02, 2005 6:05 AM Subject: RE: [AccessD] Any MapPoint programmers out there? > Initially all I want to be able to do is pass a clients postcode and several > + employee postcodes into MapPoint and return the miles from client > + for > every employee.... > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Michael R Mattys > Sent: 02 June 2005 10:45 > To: Access Developers discussion and problem solving > Subject: Re: [AccessD] Any MapPoint programmers out there? > > I have been programming in MapPoint for over 2 years using both Access > and VB6. I have several apps created that I sell, including a full > routing and scheduling app. > Haven't had time to update my website since I started. > > My efforts were started at Eric Frost's www.mp2kmag.com, where you'll > find articles and discussion. > > I frequently answer questions on Newsgroups: Microsoft.Public.MapPoint > and Microsoft.Public.Street-Trips. > ---- > > Michael R. Mattys > Mattys MapLib for Microsoft MapPoint http://www.mattysconsulting.com > > > > ----- Original Message ----- > From: "Paul Hartland (ISHARP)" > To: "'Access Developers discussion and problem solving'" > > Sent: Thursday, June 02, 2005 3:00 AM > Subject: RE: [AccessD] Any MapPoint programmers out there? > > > > I am also getting ready to use MapPoint with VB6 and SQL Server > > 2000, > mainly > > want to use it to calculate distances that our employees are from > > our clients, but may also want to be able to create maps/directions etc.... > > > > So if anyone knows any good sites or can help me with getting > > started I would be grateful.... > > > > Thanks in advance for any help on this.... > > > > Paul Hartland > > > > > > -----Original Message----- > > From: accessd-bounces at databaseadvisors.com > > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of John W. > > Colby > > Sent: 01 June 2005 23:29 > > To: 'Access Developers discussion and problem solving' > > Subject: [AccessD] Any MapPoint programmers out there? > > > > I'm getting ready to do some pretty serious MapPoint stuff and > > wondered if anyone else out there is doing MapPoint? > > > > 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 paul.hartland at isharp.co.uk Fri Jun 3 08:36:46 2005 From: paul.hartland at isharp.co.uk (Paul Hartland (ISHARP)) Date: Fri, 3 Jun 2005 14:36:46 +0100 Subject: [AccessD] Any MapPoint programmers out there? In-Reply-To: <000001c56837$2607c2e0$6c7aa8c0@ColbyM6805> Message-ID: Thanks to everyone for their code samples, the day should now fly by with this for me to play with -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of John W. Colby Sent: 03 June 2005 13:24 To: 'Access Developers discussion and problem solving' Subject: RE: [AccessD] Any MapPoint programmers out there? Public Function DistanceAsTheCarDrives(Lat1 As Double, Lon1 As Double, Lat2 As Double, Lon2 As Double) As Double Dim oLoc1 As MapPoint.Location Dim oLoc2 As MapPoint.Location Set oLoc1 = mMap.GetLocation(Lat1, Lon1, 0) Set oLoc2 = mMap.GetLocation(Lat2, Lon2, 0) mMap.ActiveRoute.Clear mMap.ActiveRoute.Waypoints.Add oLoc1, "Start" mMap.ActiveRoute.Waypoints.Add oLoc2, "End" mMap.ActiveRoute.Calculate DistanceAsTheCarDrives = mMap.ActiveRoute.Distance End Function Ignore the lat/long thing and start with your two locations. John W. Colby www.ColbyConsulting.com Contribute your unused CPU cycles to a good cause: http://folding.stanford.edu/ -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Paul Hartland (ISHARP) Sent: Friday, June 03, 2005 6:44 AM To: 'Access Developers discussion and problem solving' Subject: RE: [AccessD] Any MapPoint programmers out there? The .DistanceTo function seems to return distance as the crow flies....Is this correct, only I need the actual mileage calculation -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Michael R Mattys Sent: 02 June 2005 11:25 To: Access Developers discussion and problem solving Subject: Re: [AccessD] Any MapPoint programmers out there? Since you've said 'postcodes', I'll assume you're in the UK (Not that it makes a difference at the moment.) You'll be looking to use the .DistanceTo function Try here: http://groups-beta.google.com/groups?hl=en&q=mappoint+distanceto ---- Michael R. Mattys Mattys MapLib for Microsoft MapPoint http://www.mattysconsulting.com ----- Original Message ----- From: "Paul Hartland (ISHARP)" To: "'Access Developers discussion and problem solving'" Sent: Thursday, June 02, 2005 6:05 AM Subject: RE: [AccessD] Any MapPoint programmers out there? > Initially all I want to be able to do is pass a clients postcode and several > + employee postcodes into MapPoint and return the miles from client > + for > every employee.... > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Michael R Mattys > Sent: 02 June 2005 10:45 > To: Access Developers discussion and problem solving > Subject: Re: [AccessD] Any MapPoint programmers out there? > > I have been programming in MapPoint for over 2 years using both Access > and VB6. I have several apps created that I sell, including a full > routing and scheduling app. > Haven't had time to update my website since I started. > > My efforts were started at Eric Frost's www.mp2kmag.com, where you'll > find articles and discussion. > > I frequently answer questions on Newsgroups: Microsoft.Public.MapPoint > and Microsoft.Public.Street-Trips. > ---- > > Michael R. Mattys > Mattys MapLib for Microsoft MapPoint http://www.mattysconsulting.com > > > > ----- Original Message ----- > From: "Paul Hartland (ISHARP)" > To: "'Access Developers discussion and problem solving'" > > Sent: Thursday, June 02, 2005 3:00 AM > Subject: RE: [AccessD] Any MapPoint programmers out there? > > > > I am also getting ready to use MapPoint with VB6 and SQL Server > > 2000, > mainly > > want to use it to calculate distances that our employees are from > > our clients, but may also want to be able to create maps/directions etc.... > > > > So if anyone knows any good sites or can help me with getting > > started I would be grateful.... > > > > Thanks in advance for any help on this.... > > > > Paul Hartland > > > > > > -----Original Message----- > > From: accessd-bounces at databaseadvisors.com > > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of John W. > > Colby > > Sent: 01 June 2005 23:29 > > To: 'Access Developers discussion and problem solving' > > Subject: [AccessD] Any MapPoint programmers out there? > > > > I'm getting ready to do some pretty serious MapPoint stuff and > > wondered if anyone else out there is doing MapPoint? > > > > 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 Fri Jun 3 09:09:26 2005 From: jwcolby at colbyconsulting.com (John W. Colby) Date: Fri, 03 Jun 2005 10:09:26 -0400 Subject: [AccessD] MapPoint location class In-Reply-To: <8847644.1117799391745.JavaMail.www@wwinf3102> Message-ID: <000101c56845$dcc88c90$6c7aa8c0@ColbyM6805> Paul, This code (see below this message) is a class clsLocation that I developed to hold information about a location. There is only one reference that is specific to my code which I will get to in a minute. As you know I prefer to use classes if the code is going to be more than trivial. This class holds all the information and methods that I thought would be useful for a single location. I populate it initially from a function that opens a recordset of addresses I want to map. Each class instance holds data about a single location. I pass in the address information. I also pass in a "name" value in order to allow naming the pushpin etc. I pass in a "type" integer just so that I can sort the locations. For example I am mapping contracts and people to call about the contracts. For this purpose, in my application every contract address is a "type" of 1 and people are "type" of 2. Type information is obviously specific to the application and can just be zero if you don't need to "group" the locations into sets. All of the data passed in are stored in private variables in the class. Function init(strName As String, lintType As Integer, lstrAddr1 As String, lstrCity As String, _ lstrState As String, lstrPostalCode As String, _ Optional lstrCountry As String = "USA") The one piece of code specific to my MapPoint framework (which is under development and which this is pulled from) is the line in init: Set mcolFindAddrRes = cMPtApp.ActiveMap.FindAddressResults(mstrAddr1, mstrCity, , lstrState, mstrPostalCode, mstrCountry) cMPTApp is a function that returns a pointer to the open MapPoint application. This corresponds to a single global variable pointer to the MapPoint Application, dimensioned private to the basInitMapPoint module, initialized in an InitMapPoint() method, and then a function cMPtApp() returns the pointer to that private global variable. This class then can provide properties to get back the data originally supplied (if you want that) such as the zipcode and so forth. It also has built into the class a call to "find" the address - in Init(): Set mcolFindAddrRes = cMPtApp.ActiveMap.FindAddressResults(mstrAddr1, mstrCity, , lstrState, mstrPostalCode, mstrCountry) The ActiveMap.FindAddressResults returns a collection of location objects that are candidates for the address you passed in. What happens is that if the address does not resolve to a single address then MapPoint will return 0 to N possible locations that MIGHT be what you are looking for. mcolFindAddrRes by the way is a collection in my class which holds all of the location objects returned by ActiveMap.FindAddressResults. You may or may not even want this kept around after the Init() finishes. It does allow you to map all the "possible locations" if you want to see them for some reason. Having asked MapPoint to find the address, the class then checks to see if exactly one location was returned in the collection. First of all, I have seen issues where the call to the FindAddressResults returned an automation error so I check for errors first. I get the feeling that the automation errors were caused by operator error (me) but it caused me to put in the check anyway. If no error, then I check for just one location in the results collection: If mcolFindAddrRes.Count = 1 Then Set mLoc = mcolFindAddrRes.Item(1) mblnOneLoc = True Else mblnOneLoc = False End If If there is just one location returned, I grab that location object and store it in mLoc. Mloc is the key to this class since it is the actual location object for an address that MapPoint understands. Having this location object allows us to create a push pin, get distances to other locations etc. So by the time the Init() returns you either have a location object and a Boolean saying you have just one, or you do not have a location object and the Boolean says that you didn't find just one location for the address supplied. What I have found is that MapPoint is very sensitive to things like "PO Box XXX" or "Suite 44" in the address1 field and fails to map to a single location for such addresses. The class then provides other functions useful to a location such as the MapIt() method which places a pushpin into the map and stores the pushpin object. I do not automatically create push pins since some applications don't need them. The class also provides two distance methods which will return the distance between this location and another location object passed in. Obviously error handling is still under development. I have only been doing this for two days, and that time includes a bunch of dev on the MapPoint framework itself - which this class is a part of. As an example of using this class, I am adding a couple of fields in my application's Agency table to allow me to iterate through all the agencies and try and map their address. I want to do this up front, then not pull an agency for mapping if I have already found it not mappable. The code to do that is immediately below. As you can see, once the Location class is built, using it is trivial and allows you to do a lot of stuff pretty quickly. Anyway, this should allow for a discussion of possibilities with MapPoint. By having a class for the location, you can wrap any and all code and properties that you think a location needs into a wrapper and use it quickly and easily. '**************************************** 'Class usage code - map all agencies that are mappable '**************************************** Function TestAgencyMapAddr() Dim db As DAO.Database Dim rst As DAO.Recordset Dim strSQL As String Dim lclsLocation As clsLocation Const cintAgency = 1 MPtInit CurrentProject.Connection With cMPtApp .Top = 0 .Left = 0 .WindowState = geoWindowStateMaximize .Visible = True End With strSQL = "SELECT * " & _ "FROM qSelAgencyMapAddr " & _ "WHERE AG_DteMappable IS NULL" Set db = CurrentDb Set rst = db.OpenRecordset(strSQL) With rst While Not .EOF Set lclsLocation = New clsLocation lclsLocation.init !Name, cintAgency, !Addr1, !City, !State, !Zip If lclsLocation.pOneLoc Then lclsLocation.mMapIt End If .MoveNext DoEvents Wend End With End Function '**************************************** 'The class code '**************************************** Option Compare Database Option Explicit Private mintType As Integer 'The type of location. Defined by application. For example, 1 = business, 2 = personal etc. Private mstrName As String 'The location name - company name, person name etc. Private mstrAddr1 As String 'The address fields needed to find a location Private mstrCity As String Private mstrState As String Private mstrPostalCode As String Private mstrCountry As String Private mblnOneLoc As Boolean 'True if more than one location matches the address info Private mblnAutomationErr As Boolean Private mcolFindAddrRes As MapPoint.FindResults 'The collection of possible locations if more than one Private mLoc As MapPoint.Location 'The specific location object if narrowed down to just one Private mPushPin As MapPoint.Pushpin 'The pushpin associated with the location Private Sub Class_Terminate() Set mLoc = Nothing Set mcolFindAddrRes = Nothing Set mPushPin = Nothing End Sub Function init(strName As String, lintType As Integer, lstrAddr1 As String, lstrCity As String, _ lstrState As String, lstrPostalCode As String, _ Optional lstrCountry As String = "USA") On Error GoTo Err_init mstrName = strName mintType = lintType mstrAddr1 = lstrAddr1 mstrCity = lstrCity mstrState = lstrState mstrPostalCode = lstrPostalCode mstrCountry = lstrCountry On Error Resume Next Set mcolFindAddrRes = cMPtApp.ActiveMap.FindAddressResults(mstrAddr1, mstrCity, , lstrState, mstrPostalCode, mstrCountry) If Err = 0 Then If mcolFindAddrRes.Count = 1 Then Set mLoc = mcolFindAddrRes.Item(1) mblnOneLoc = True Else mblnOneLoc = False End If Else mblnOneLoc = False mblnAutomationErr = True End If Exit_init: Exit Function Err_init: MsgBox Err.Description, , "Error in Function clsLocation.init" Resume Exit_init Resume 0 '.FOR TROUBLESHOOTING End Function Property Get pOneLoc() As Boolean pOneLoc = mblnOneLoc End PropertyProperty Get colFindAddrRes() As MapPoint.FindResults Set colFindAddrRes = mcolFindAddrRes End Property Property Get pLoc() As MapPoint.Location Set pLoc = mLoc End Property Property Get pPushPin() As MapPoint.Pushpin Set pPushPin = mPushPin End Property Property Get pName() As String pName = mstrName End Property Function mMapIt() As Boolean On Error GoTo Err_mMapIt Dim objLoc As MapPoint.Location If mblnAutomationErr Then Debug.Print mstrName & " Could not be looked up" Else If mblnOneLoc Then Set mPushPin = cMPtApp.ActiveMap.AddPushpin(mcolFindAddrRes(1), mstrName) mMapIt = True Else Debug.Print mcolFindAddrRes.Count & " locations found for " & mstrName End If End If ' For Each objLoc In mcolFindAddrRes ' Set mPushPin = cMPtApp.ActiveMap.AddPushpin(objLoc, mstrName) ' Next objLoc Exit_mMapIt: Exit Function Err_mMapIt: MsgBox Err.Description, , "Error in Function clsLocation.mMapIt" Resume Exit_mMapIt Resume 0 '.FOR TROUBLESHOOTING End Function Public Function DistanceAsTheCrowFlies(oLoc2 As MapPoint.Location) As Double If mblnOneLoc Then DistanceAsTheCrowFlies = mLoc.DistanceTo(oLoc2) Else DistanceAsTheCrowFlies = 0 End If End Function Public Function DistanceAsTheCarDrives(oLoc2 As MapPoint.Location) As Double On Error GoTo Err_DistanceAsTheCarDrives With cMPt.cMPtMap .ActiveRoute.Clear .ActiveRoute.Waypoints.Add mLoc, "Start" .ActiveRoute.Waypoints.Add oLoc2, "End" .ActiveRoute.Calculate DistanceAsTheCarDrives = .ActiveRoute.Distance End With Exit_DistanceAsTheCarDrives: Exit Function Err_DistanceAsTheCarDrives: MsgBox Err.Description, , "Error in Function clsFWMapPt.DistanceAsTheCarDrives" Resume Exit_DistanceAsTheCarDrives 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/ From mmattys at rochester.rr.com Fri Jun 3 09:37:18 2005 From: mmattys at rochester.rr.com (Michael R Mattys) Date: Fri, 3 Jun 2005 10:37:18 -0400 Subject: [AccessD] MapPoint location class References: <000101c56845$dcc88c90$6c7aa8c0@ColbyM6805> Message-ID: <02d801c56849$c0438940$0202a8c0@default> ----- Original Message ----- From: "John W. Colby" To: "'Access Developers discussion and problem solving'" Sent: Friday, June 03, 2005 10:09 AM Subject: [AccessD] MapPoint location class > Paul, > > This code (see below this message) is a class clsLocation that I developed > '**************************************** > 'The class code > '**************************************** John, Nice ! You could optionally add another recordset to populate addresses that MapPoint can't find and present it at the end of your routine. ---- Michael R. Mattys Mattys MapLib for Microsoft MapPoint http://www.mattysconsulting.com From jwcolby at colbyconsulting.com Fri Jun 3 10:08:28 2005 From: jwcolby at colbyconsulting.com (John W. Colby) Date: Fri, 03 Jun 2005 11:08:28 -0400 Subject: [AccessD] MapPoint location class In-Reply-To: <02d801c56849$c0438940$0202a8c0@default> Message-ID: <000201c5684e$1bb80630$6c7aa8c0@ColbyM6805> It is quite cool watching this populate the map with pushpins. I just setup a couple of timer classes to time how long it takes to do this. To "map" 3686 agencies took 217 seconds for about 60 milliseconds per agency. This on an AMD64 3ghz laptop with 1.2g ram and a fast hard drive. Remember though that this processed 3686 agencies but didn't resolve all of those to a single location. I didn't count the actual number resolved (sigh) and pushpins created. John W. Colby www.ColbyConsulting.com Contribute your unused CPU cycles to 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: Friday, June 03, 2005 10:37 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] MapPoint location class ----- Original Message ----- From: "John W. Colby" To: "'Access Developers discussion and problem solving'" Sent: Friday, June 03, 2005 10:09 AM Subject: [AccessD] MapPoint location class > Paul, > > This code (see below this message) is a class clsLocation that I > developed > '**************************************** > 'The class code > '**************************************** John, Nice ! You could optionally add another recordset to populate addresses that MapPoint can't find and present it at the end of your routine. ---- Michael R. Mattys Mattys MapLib for Microsoft MapPoint http://www.mattysconsulting.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From cfoust at infostatsystems.com Fri Jun 3 10:10:49 2005 From: cfoust at infostatsystems.com (Charlotte Foust) Date: Fri, 3 Jun 2005 08:10:49 -0700 Subject: [AccessD] Error Loading Project? Message-ID: I can't say that I agree. No, I wouldn't go back to 2000, but I don't think installing a later version on my machine should cause problems on a machine running 2000 if I share an mdb with them. Charlotte Foust -----Original Message----- From: Jim Lawrence [mailto:accessd at shaw.ca] Sent: Thursday, June 02, 2005 11:42 PM To: 'Access Developers discussion and problem solving' Subject: RE: [AccessD] Error Loading Project? Charlotte: Good, honestly, who would ever go back... now the going back option has been eliminated. :-) It is a good plan. Thanks Jim -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Charlotte Foust Sent: Thursday, June 02, 2005 12:53 PM To: Access Developers discussion and problem solving Subject: RE: [AccessD] Error Loading Project? They don't break in XP and 2003, only the other direction. Charlotte Foust -----Original Message----- From: Jim Lawrence [mailto:accessd at shaw.ca] Sent: Thursday, June 02, 2005 11:32 AM To: 'Access Developers discussion and problem solving' Subject: RE: [AccessD] Error Loading Project? So what would be the best way to import Access into XP and 2003 without major issues other than hand coding? Jim -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Charlotte Foust Sent: Thursday, June 02, 2005 11:25 AM To: Access Developers discussion and problem solving Subject: RE: [AccessD] Error Loading Project? 2003 breaks it the same way as XP. Charlotte Foust -----Original Message----- From: Francisco Tapia [mailto:fhtapia at gmail.com] Sent: Thursday, June 02, 2005 8:56 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Error Loading Project? Not at this time, I Just ordered Access 2003, currenlty I have Office 97 & 2000 w/ Outlook 2003. On 6/1/05, John W. Colby wrote: > Do you happen to have 2K and XP on the same machine? > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Francisco > Tapia > Sent: Wednesday, June 01, 2005 8:47 PM > To: access-l at peach.ease.lsoft.com; Access Developers discussion and problem > solving > Subject: [AccessD] Error Loading Project? > > > Recently I've been plauged by this error: > > I have 2 Access ADP's , the primary is the dev copy and I write in > this copy all my development code, once compiled, and tested I > "EXPORT" the new form or modified form to the Production .adp copy > this file used to be on the network, but due to the more recent > network errors that I was plauged w/ I decided to simply create a > folder on my pc called "build" and export to that folder instead, > everything had been working great, and in fact each copy compiles w/o > errors... but if I export from the dev on drive C to the build on > drive C I end up w/ an error on the build copy as "Error Loading > Project, disk or network error, continue loading?" if you click ok I > find that the module is empty. If I then (while in the build copy), > IMPORT the same form, then I get a new Form1 classic import, I delete > the corrupted form and rename Form1 to Form and all is well again... > why can I not export anymore? > -- -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 -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From carbonnb at gmail.com Fri Jun 3 10:57:31 2005 From: carbonnb at gmail.com (Bryan Carbonnell) Date: Fri, 3 Jun 2005 11:57:31 -0400 Subject: [AccessD] Friday Joke Day In-Reply-To: References: Message-ID: On 6/3/05, Nicholson, Karen wrote: > Just a reminder... OK. Here you go. An interesting article on new technology: Article by Freelance Journalist I. Reid Introducing the new Bio-Optic Organized Knowledge device - BOOK. BOOK is a revolutionary breakthrough in technology; no wires, no electric circuits, no batteries, nothing to be connected or switched on. It's easy to use. Even a child can operate it. Compact and portable, it can be used anywhere - even sitting in an armchair by the fire - yet it is powerful enough to hold as much as a CD-ROM. BOOK is constructed of sequentially numbered sheets of paper (recyclable), each capable of holding thousands of bits of information. The pages are locked together with one of two different custom devices, a BINDER, or DOUBLE STITCH BINDING, which keep the sheets in their correct sequence. Opaque Paper Technology (OPT) allows manufacturers to use both sides of the sheet, doubling the information density. Each sheet is scanned optically, registering information directly to your brain. A flick of the finger takes you to the next sheet. BOOK never crashes, nor requires rebooting. The 'browse' function allows instant movement to any sheet, forward or backward, as one wishes. Many come with an 'index' feature, which pinpoints the exact location of any selected information for instant retrieval. Portable, durable and affordable, BOOK is being hailed as a precursor of a new entertainment wave. BOOK's appeal seems so certain that thousands of content creators have committed to the platform and investor are reportedly flocking to the medium. Look for a flood of new BOOKs at your local BOOKstore! -- 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 tim at irwingreenhouses.com Fri Jun 3 11:50:38 2005 From: tim at irwingreenhouses.com (Tim Thiessen) Date: Fri, 03 Jun 2005 11:50:38 -0500 Subject: [AccessD] Friday Joke Day In-Reply-To: Message-ID: <42A0440E.17229.B2A3FF6@localhost> On 3 Jun 2005 at 7:34, Nicholson, Karen wrote: > Just a reminder... Have you been guilty of looking at others your own age and thinking, "Surely I cannot look that old?" Well, I was sitting in the waiting room for my first appointment with a new dentist. I noticed his DDS diploma, which bore his full name. Suddenly, I remembered that a tall, handsome, dark-haired boy with the same name had been in my high school class some 40-odd years ago. Could he be the same guy that I had a secret crush on, way back then? Upon seeing him, however, I quickly discarded any such thought. This balding, gray-haired man with the deeply lined face was way, way too old to have been my classmate...or could he? After he examined my teeth, I asked him if he had attended Morgan Park High School. "Yes. Yes. I did...I'm a Morgan Mustang," he gleamed with pride. "When did you graduate?" I asked. He answered, "In 1959. Why do you ask?" "You were in my class!" I exclaimed. He looked at me closely...and that ugly, old, wrinkled jerk asked, "What did you teach?" today's THOUGHT============================ Why is it that at class reunions you feel younger than everyone else looks? Tim Thiessen From tinanfields at torchlake.com Sat Jun 4 10:20:58 2005 From: tinanfields at torchlake.com (Tina Norris Fields) Date: Sat, 04 Jun 2005 11:20:58 -0400 Subject: [AccessD] Invitations DB Design Ideas References: <001f01c5672c$d20f09b0$6401a8c0@laptop1> Message-ID: <42A1C6DA.6020500@torchlake.com> Joe, My Mom died January 29, 2005. She despised funerals, so my Dad planned a special celebration of life for her. Not wanting to put our family members and friends at additional risk of travel accident (it being the middle of winter here in northern Michigan, he chose April 27 (their wedding anniversary) as the date for the celebration. We had time to plan properly, thank those who had already contacted us, organize the invitation list, and handle the designation for memorial contributions. I put the little database together. As Dad thought of people that should be notified or invited, the list grew from an anticipated 50 or so to over 400 - I needed my database! For my mother's memorial celebration mailing list I used two tables: tblHouseholds and tblIndividuals. That allowed me to put as many people in a household (or office, as the case often was) as I might need. That was useful in running my "how many people might come" reports. When I got a reply, I updated my HowMany field with the actual number given, to help with my "how many people are really coming" reports. There was a special science education fund in our Three Lakes Association, begun by my family, and to which and memorial contributions were given (some came to us, others were sent directly to TLA, so I needed some way to keep track). tbl Households HH_ID HH_Name (to alphabetize my list) HH_MailingName (first line of the mailing label) HH_Str_Address (street address) HH_POB_Address (po box address) HH_City HH_State (for US and Canada addresses) HH_Zip (for US addresses) HH_PostCode (for non-US addresses) HH_Country HH_Tel HH_email HH_Invite (ysn to invite this HH) HH_Thank (ysn to thank this HH for previous communication) HH_TLA (ysn did this HH make a memorial contribution to TLA?) HH_Coming (ysn anyone in this HH coming?) HH_HowMany (after reply to our invitation) HH_Comments (can't get away from needing this in family celebration planning) tblIndividuals Ind_ID HH_ID IndLastName IndFirstName My father was completely amazed to have a mailing list of 1) those to receive only a notification 2) those to receive notification and invitation to the ceremony 3) those to receive notification, invitation, and thanks for earlier communication He was further amazed to have up-to-date reports showing who had responded, who was coming (and how many), and who was not. Many who were unable to come wanted Dad to know why, so that information was recorded in the Comments field. I hope this is helpful to you, Tina Joe Hecht wrote: >So my niece got engaged and I figure I better get my DB going soon. > >Right now the database is one table, > >These are typed in to readable and not names with spaces etc: > >I rec num >1st Person first Name >1st person last name >2cd person first name >2cd person last name >Address fields >Adults Invitation Represents >Children Invitation represents >Contact phone >Memo >Source (Bride/Groom/Family/friend?) >Invited Y/N >Coming y/n >Gift received Y/N >Note Sent Y/N > > > > Looking for ideas to normalize this > >OK wise guys, I know no wedding is normal but... > > > >Joe Hecht >Los Angeles CA > > > From tinanfields at torchlake.com Sat Jun 4 12:10:35 2005 From: tinanfields at torchlake.com (Tina Norris Fields) Date: Sat, 04 Jun 2005 13:10:35 -0400 Subject: [AccessD] The Sleep Advisor - Version 5 - Call for Beta Testers References: <010d01c56601$38f04cc0$6501a8c0@HAL9004> Message-ID: <42A1E08B.7020903@torchlake.com> Hi Rocky, I downloaded it and completed it and sent off the email to rrnaiman at cox.net. It was interesting and fun to do. I'll be interested in following the "career" of this program. Best, Tina Rocky Smolin - Beach Access Software wrote: >Dear List: > >Version 5 of The Sleep Advisor is now ready for beta testing: > >All new graphics! >Reorganized friendlier reporting! >All new bugs! > >There is a Wise/Sagekey run-time download available at http://www.drnaiman.com/sleepad.php > >or for those of you who have Access 2003 you can email me off line and I'll send you just the mde. > >Although it runs on Windows 2000 I have noticed some problems that don't affect the operation or outcome of the program - just the esthetics (in particular, I have an embedded background graphic that doesn't display under W2K but does fine under WXP, go figure). > >For those who may not be aware, The Sleep Advisor is an expert system designed to diagnose the most common sleep problems - insomnias, apnea, narcolepsy, hypersomnia, etc., as well as identify a variety of sleep health related issues such as nocturia, bruxism, jet lag, shift work, anxiety disorders, bed and bedroom problems, etc. The report includes a Guidebook to remedies and recommendations the contents of which are tailored to the user's responses and sleep health analysis. > >We still need a lot of beta testing to perfect the diagnostic engine. In addition, any technical feedback I could get from this list would be of great value. > >Hopefully for your time and efforts you'll receive some value from the reports. > >With many thanks in advance, > >Rocky Smolin >Beach Access Software >http://www.e-z-mrp.com >858-259-4334 > > > From bchacc at san.rr.com Sat Jun 4 12:26:20 2005 From: bchacc at san.rr.com (Rocky Smolin - Beach Access Software) Date: Sat, 4 Jun 2005 10:26:20 -0700 Subject: [AccessD] The Sleep Advisor - Version 5 - Call for Beta Testers References: <010d01c56601$38f04cc0$6501a8c0@HAL9004> <42A1E08B.7020903@torchlake.com> Message-ID: <012c01c5692a$864f3d10$6901a8c0@HAL9004> Tina: Many thanks for your time. We should be sending you your report shortly. Hopefully it will have some useful info in it. Best regards, Rocky Smolin Beach Access Software http://www.e-z-mrp.com 858-259-4334 ----- Original Message ----- From: "Tina Norris Fields" To: "Access Developers discussion and problem solving" Sent: Saturday, June 04, 2005 10:10 AM Subject: Re: [AccessD] The Sleep Advisor - Version 5 - Call for Beta Testers > Hi Rocky, > > I downloaded it and completed it and sent off the email to > rrnaiman at cox.net. It was interesting and fun to do. I'll be interested > in following the "career" of this program. > Best, > Tina > > > > Rocky Smolin - Beach Access Software wrote: > >>Dear List: >> >>Version 5 of The Sleep Advisor is now ready for beta testing: >> >>All new graphics! >>Reorganized friendlier reporting! >>All new bugs! >> >>There is a Wise/Sagekey run-time download available at >>http://www.drnaiman.com/sleepad.php >> >>or for those of you who have Access 2003 you can email me off line and >>I'll send you just the mde. >> >>Although it runs on Windows 2000 I have noticed some problems that don't >>affect the operation or outcome of the program - just the esthetics (in >>particular, I have an embedded background graphic that doesn't display >>under W2K but does fine under WXP, go figure). >> >>For those who may not be aware, The Sleep Advisor is an expert system >>designed to diagnose the most common sleep problems - insomnias, apnea, >>narcolepsy, hypersomnia, etc., as well as identify a variety of sleep >>health related issues such as nocturia, bruxism, jet lag, shift work, >>anxiety disorders, bed and bedroom problems, etc. The report includes a >>Guidebook to remedies and recommendations the contents of which are >>tailored to the user's responses and sleep health analysis. >> >>We still need a lot of beta testing to perfect the diagnostic engine. In >>addition, any technical feedback I could get from this list would be of >>great value. >>Hopefully for your time and efforts you'll receive some value from the >>reports. >> >>With many thanks in advance, >> >>Rocky Smolin >>Beach Access Software >>http://www.e-z-mrp.com >>858-259-4334 >> >> > > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > From kost36 at otenet.gr Sat Jun 4 13:58:40 2005 From: kost36 at otenet.gr (Kostas Konstantinidis) Date: Sat, 4 Jun 2005 21:58:40 +0300 Subject: [AccessD] Trying to Eliminate white space in a report it doesn't work References: <71409e737f5144de8915a5d7a975fa34@christopherhawkins.com> Message-ID: <012d01c56937$6c7ff4d0$0100a8c0@KOST36> Hi all, in a report I use the follown =IIf(IsNull([Production]);"";[Production] & Chr(13) & Chr(10)) & IIf(IsNull([PROD_ADDRESS]);"";[PROD_ADDRESS] & Chr(13) & Chr(10)) & IIf(IsNull([Address2]);"";[Address2] & Chr(13) & Chr(10)) & IIf(IsNull([Communication]);"";[Communication]) & Chr(13) & Chr(10) & IIf(IsNull([PROD_E_MAIL]);"";[PROD_E_MAIL]) & Chr(13) & Chr(10) but in case one of the in between Production and Addess2 records are blank and PROD_E_MAIL is not, then it seems it doesn't eliminate the vertical space holding white space am I doing something wrong or it needs to CanShrink the Details too? I also tried the Microsoft's Public Function on http://support.microsoft.com/default.aspx?scid=kb;en-us;299011 but the result remains the same Thank's Kostas Konstantinidis From mikedorism at verizon.net Sat Jun 4 19:25:55 2005 From: mikedorism at verizon.net (Mike & Doris Manning) Date: Sat, 04 Jun 2005 20:25:55 -0400 Subject: [AccessD] Trying to Eliminate white space in a report it doesn't work In-Reply-To: <012d01c56937$6c7ff4d0$0100a8c0@KOST36> Message-ID: <000001c56965$250fe820$2f01a8c0@hargrove.internal> You are correct that you do need to set the Details section to CanShrink = Yes. Doris Manning Database Administrator Hargrove Inc. www.hargroveinc.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Kostas Konstantinidis Sent: Saturday, June 04, 2005 2:59 PM To: Access Developers discussion and problem solving Subject: [AccessD] Trying to Eliminate white space in a report it doesn't work Hi all, in a report I use the follown =IIf(IsNull([Production]);"";[Production] & Chr(13) & Chr(10)) & IIf(IsNull([PROD_ADDRESS]);"";[PROD_ADDRESS] & Chr(13) & Chr(10)) & IIf(IsNull([Address2]);"";[Address2] & Chr(13) & Chr(10)) & IIf(IsNull([Communication]);"";[Communication]) & Chr(13) & Chr(10) & IIf(IsNull([PROD_E_MAIL]);"";[PROD_E_MAIL]) & Chr(13) & Chr(10) but in case one of the in between Production and Addess2 records are blank and PROD_E_MAIL is not, then it seems it doesn't eliminate the vertical space holding white space am I doing something wrong or it needs to CanShrink the Details too? I also tried the Microsoft's Public Function on http://support.microsoft.com/default.aspx?scid=kb;en-us;299011 but the result remains the same Thank's Kostas Konstantinidis -- 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 Jun 4 19:55:37 2005 From: stuart at lexacorp.com.pg (Stuart McLachlan) Date: Sun, 05 Jun 2005 10:55:37 +1000 Subject: [AccessD] Trying to Eliminate white space in a report it doesn't work In-Reply-To: <012d01c56937$6c7ff4d0$0100a8c0@KOST36> Message-ID: <42A2DA29.8784.A7540D4@stuart.lexacorp.com.pg> On 4 Jun 2005 at 21:58, Kostas Konstantinidis wrote: > Hi all, > in a report I use the follown > > =IIf(IsNull([Production]);"";[Production] & Chr(13) & Chr(10)) & > IIf(IsNull([PROD_ADDRESS]);"";[PROD_ADDRESS] & Chr(13) & Chr(10)) & > IIf(IsNull([Address2]);"";[Address2] & Chr(13) & Chr(10)) & > IIf(IsNull([Communication]);"";[Communication]) & Chr(13) & Chr(10) & > IIf(IsNull([PROD_E_MAIL]);"";[PROD_E_MAIL]) & Chr(13) & Chr(10) > > but in case one of the in between Production and Addess2 records are blank > and PROD_E_MAIL is not, then it seems it doesn't eliminate the vertical > space holding white space > am I doing something wrong or it needs to CanShrink the Details too? > There is a difference between Null an empty string ("").. If you are getting a vertical blank line, I'd suspect that one of the fields contains an empty string rather than a Null. Try replacing IsNull with NZ([Production],"") = "" -- Stuart From kost36 at otenet.gr Sun Jun 5 01:59:52 2005 From: kost36 at otenet.gr (Kostas Konstantinidis) Date: Sun, 5 Jun 2005 09:59:52 +0300 Subject: [AccessD] Trying to Eliminate white space in a report it doesn'twork References: <42A2DA29.8784.A7540D4@stuart.lexacorp.com.pg> Message-ID: <006101c5699c$2cb6f690$07a1fea9@studio2> Mike & Doris and Stuart thank's a lot for your responses here is the query on which the report is based on SELECT RT_AM_production.AM, IIf(IsNull([Producer]),"",[Producer]) & IIf(IsNull([person]),"",(" / " & [person])) AS Production, RT_AM_production.PROD_ADDRESS, IIf([PROD_CODE] Is Null,[town] & "" & [country],[PROD_CODE] & "" & [town] & "" & [country]) AS Address2, IIf(IsNull([PROD_TLE]),"",("Tel: " & [PROD_TLE])) & IIf(IsNull([PROD_FAX]),"",(" Fax: " & [PROD_FAX])) AS Communication, RT_AM_production.PROD_E_MAIL FROM T_town RIGHT JOIN (T_producer RIGHT JOIN (T_person RIGHT JOIN (T_country RIGHT JOIN RT_AM_production ON T_country.ID_country = RT_AM_production.ID_PROD_COUNTRY) ON T_person.ID_person = RT_AM_production.ID_PROD_PERSON) ON T_producer.ID_producer = RT_AM_production.IDproducer) ON T_town.IDDIR_TOWN = RT_AM_production.ID_PROD_TOWN; Running it seems to keep no blank spaces into the records. The problem must be between fields Address2 and Communication but I cant understand the real reason thank's / kostas ----- Original Message ----- From: "Stuart McLachlan" To: "Access Developers discussion and problem solving" Sent: Sunday, June 05, 2005 3:55 AM Subject: Re: [AccessD] Trying to Eliminate white space in a report it doesn'twork > On 4 Jun 2005 at 21:58, Kostas Konstantinidis wrote: > >> Hi all, >> in a report I use the follown >> >> =IIf(IsNull([Production]);"";[Production] & Chr(13) & Chr(10)) & >> IIf(IsNull([PROD_ADDRESS]);"";[PROD_ADDRESS] & Chr(13) & Chr(10)) & >> IIf(IsNull([Address2]);"";[Address2] & Chr(13) & Chr(10)) & >> IIf(IsNull([Communication]);"";[Communication]) & Chr(13) & Chr(10) & >> IIf(IsNull([PROD_E_MAIL]);"";[PROD_E_MAIL]) & Chr(13) & Chr(10) >> >> but in case one of the in between Production and Addess2 records are >> blank >> and PROD_E_MAIL is not, then it seems it doesn't eliminate the vertical >> space holding white space >> am I doing something wrong or it needs to CanShrink the Details too? >> > > There is a difference between Null an empty string ("").. If you are > getting a vertical blank line, I'd suspect that one of the fields contains > an empty string rather than a Null. > > Try replacing IsNull with NZ([Production],"") = "" > > > > > -- > Stuart > > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > > From Gustav at cactus.dk Sun Jun 5 03:52:53 2005 From: Gustav at cactus.dk (Gustav Brock) Date: Sun, 05 Jun 2005 10:52:53 +0200 Subject: [AccessD] Trying to Eliminate white space in a report itdoesn'twork Message-ID: Hi Kostas Adjust it to: SELECT RT_AM_production.AM, [Producer] & (" / " + [person]) AS Production, RT_AM_production.PROD_ADDRESS, ([PROD_CODE] + " ") & [town] & (" " + [country]) AS Address2, ("Tel: " + [PROD_TLE]) & (" Fax: " + [PROD_FAX]) AS Communication, RT_AM_production.PROD_E_MAIL FROM T_town RIGHT JOIN (T_producer RIGHT JOIN (T_person RIGHT JOIN (T_country RIGHT JOIN RT_AM_production ON T_country.ID_country = RT_AM_production.ID_PROD_COUNTRY) ON T_person.ID_person = RT_AM_production.ID_PROD_PERSON) ON T_producer.ID_producer = RT_AM_production.IDproducer) ON T_town.IDDIR_TOWN = RT_AM_production.ID_PROD_TOWN; This will return Null values for empty fields, and now your code in the report will work and can be reduced to this: =([Production] + Chr(13) & Chr(10)) & ([PROD_ADDRESS] + Chr(13) & Chr(10)) & ([Address2] + & Chr(13) & Chr(10)) & ([Communication] + Chr(13) & Chr(10)) & [PROD_E_MAIL] The plus sign has the effect that (Null + somestring) is still Null. /gustav >>> kost36 at otenet.gr 06/05 8:59 am >>> Mike & Doris and Stuart thank's a lot for your responses here is the query on which the report is based on SELECT RT_AM_production.AM, IIf(IsNull([Producer]),"",[Producer]) & IIf(IsNull([person]),"",(" / " & [person])) AS Production, RT_AM_production.PROD_ADDRESS, IIf([PROD_CODE] Is Null,[town] & "" & [country],[PROD_CODE] & "" & [town] & "" & [country]) AS Address2, IIf(IsNull([PROD_TLE]),"",("Tel: " & [PROD_TLE])) & IIf(IsNull([PROD_FAX]),"",(" Fax: " & [PROD_FAX])) AS Communication, RT_AM_production.PROD_E_MAIL FROM T_town RIGHT JOIN (T_producer RIGHT JOIN (T_person RIGHT JOIN (T_country RIGHT JOIN RT_AM_production ON T_country.ID_country = RT_AM_production.ID_PROD_COUNTRY) ON T_person.ID_person = RT_AM_production.ID_PROD_PERSON) ON T_producer.ID_producer = RT_AM_production.IDproducer) ON T_town.IDDIR_TOWN = RT_AM_production.ID_PROD_TOWN; Running it seems to keep no blank spaces into the records. The problem must be between fields Address2 and Communication but I cant understand the real reason thank's / kostas ----- Original Message ----- From: "Stuart McLachlan" To: "Access Developers discussion and problem solving" Sent: Sunday, June 05, 2005 3:55 AM Subject: Re: [AccessD] Trying to Eliminate white space in a report it doesn'twork > On 4 Jun 2005 at 21:58, Kostas Konstantinidis wrote: > >> Hi all, >> in a report I use the follown >> >> =IIf(IsNull([Production]);"";[Production] & Chr(13) & Chr(10)) & >> IIf(IsNull([PROD_ADDRESS]);"";[PROD_ADDRESS] & Chr(13) & Chr(10)) & >> IIf(IsNull([Address2]);"";[Address2] & Chr(13) & Chr(10)) & >> IIf(IsNull([Communication]);"";[Communication]) & Chr(13) & Chr(10) & >> IIf(IsNull([PROD_E_MAIL]);"";[PROD_E_MAIL]) & Chr(13) & Chr(10) >> >> but in case one of the in between Production and Addess2 records are >> blank >> and PROD_E_MAIL is not, then it seems it doesn't eliminate the vertical >> space holding white space >> am I doing something wrong or it needs to CanShrink the Details too? >> > > There is a difference between Null an empty string ("").. If you are > getting a vertical blank line, I'd suspect that one of the fields contains > an empty string rather than a Null. > > Try replacing IsNull with NZ([Production],"") = "" From kost36 at otenet.gr Sun Jun 5 04:44:21 2005 From: kost36 at otenet.gr (Kostas Konstantinidis) Date: Sun, 5 Jun 2005 12:44:21 +0300 Subject: [AccessD] Trying to Eliminate white space in a reportitdoesn'twork References: Message-ID: <00bd01c569b3$268e9c70$07a1fea9@studio2> Gustav thank's now it works perfect /kostas ----- Original Message ----- From: "Gustav Brock" To: Sent: Sunday, June 05, 2005 11:52 AM Subject: Re: [AccessD] Trying to Eliminate white space in a reportitdoesn'twork > Hi Kostas > > Adjust it to: > > SELECT > RT_AM_production.AM, > [Producer] & (" / " + [person]) AS Production, > RT_AM_production.PROD_ADDRESS, > ([PROD_CODE] + " ") & [town] & (" " + [country]) AS Address2, > ("Tel: " + [PROD_TLE]) & (" Fax: " + [PROD_FAX]) AS Communication, > RT_AM_production.PROD_E_MAIL > FROM > T_town > RIGHT JOIN > (T_producer RIGHT JOIN > (T_person RIGHT JOIN > (T_country RIGHT JOIN > RT_AM_production > ON > T_country.ID_country = RT_AM_production.ID_PROD_COUNTRY) > ON > T_person.ID_person = RT_AM_production.ID_PROD_PERSON) > ON > T_producer.ID_producer = RT_AM_production.IDproducer) > ON > T_town.IDDIR_TOWN = RT_AM_production.ID_PROD_TOWN; > > This will return Null values for empty fields, and now your code in the > report will work and can be reduced to this: > > =([Production] + Chr(13) & Chr(10)) & > ([PROD_ADDRESS] + Chr(13) & Chr(10)) & > ([Address2] + & Chr(13) & Chr(10)) & > ([Communication] + Chr(13) & Chr(10)) & > [PROD_E_MAIL] > > The plus sign has the effect that (Null + somestring) is still Null. > > /gustav > >>>> kost36 at otenet.gr 06/05 8:59 am >>> > Mike & Doris and Stuart thank's a lot for your responses > here is the query on which the report is based on > > SELECT RT_AM_production.AM, IIf(IsNull([Producer]),"",[Producer]) & > IIf(IsNull([person]),"",(" / " & [person])) AS Production, > RT_AM_production.PROD_ADDRESS, IIf([PROD_CODE] Is Null,[town] & "" & > [country],[PROD_CODE] & "" & [town] & "" & [country]) AS Address2, > IIf(IsNull([PROD_TLE]),"",("Tel: " & [PROD_TLE])) & > IIf(IsNull([PROD_FAX]),"",(" Fax: " & [PROD_FAX])) AS Communication, > RT_AM_production.PROD_E_MAIL > FROM T_town RIGHT JOIN (T_producer RIGHT JOIN (T_person RIGHT JOIN > (T_country RIGHT JOIN RT_AM_production ON T_country.ID_country = > RT_AM_production.ID_PROD_COUNTRY) ON T_person.ID_person = > RT_AM_production.ID_PROD_PERSON) ON T_producer.ID_producer = > RT_AM_production.IDproducer) ON T_town.IDDIR_TOWN = > RT_AM_production.ID_PROD_TOWN; > > Running it seems to keep no blank spaces into the records. > The problem must be between fields Address2 and Communication but I > cant > understand the real reason > > thank's > / kostas > > > ----- Original Message ----- > From: "Stuart McLachlan" > To: "Access Developers discussion and problem solving" > > Sent: Sunday, June 05, 2005 3:55 AM > Subject: Re: [AccessD] Trying to Eliminate white space in a report it > doesn'twork > > >> On 4 Jun 2005 at 21:58, Kostas Konstantinidis wrote: >> >>> Hi all, >>> in a report I use the follown >>> >>> =IIf(IsNull([Production]);"";[Production] & Chr(13) & Chr(10)) & >>> IIf(IsNull([PROD_ADDRESS]);"";[PROD_ADDRESS] & Chr(13) & Chr(10)) & >>> IIf(IsNull([Address2]);"";[Address2] & Chr(13) & Chr(10)) & >>> IIf(IsNull([Communication]);"";[Communication]) & Chr(13) & Chr(10) > & >>> IIf(IsNull([PROD_E_MAIL]);"";[PROD_E_MAIL]) & Chr(13) & Chr(10) >>> >>> but in case one of the in between Production and Addess2 records > are >>> blank >>> and PROD_E_MAIL is not, then it seems it doesn't eliminate the > vertical >>> space holding white space >>> am I doing something wrong or it needs to CanShrink the Details > too? >>> >> >> There is a difference between Null an empty string ("").. If you > are >> getting a vertical blank line, I'd suspect that one of the fields > contains >> an empty string rather than a Null. >> >> Try replacing IsNull with NZ([Production],"") = "" > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > > From bgeldart at verizon.net Sun Jun 5 09:49:47 2005 From: bgeldart at verizon.net (Bob Geldart) Date: Sun, 05 Jun 2005 10:49:47 -0400 Subject: [AccessD] The Sleep Advisor - Version 5 - Call for Beta Testers In-Reply-To: <010d01c56601$38f04cc0$6501a8c0@HAL9004> References: <010d01c56601$38f04cc0$6501a8c0@HAL9004> Message-ID: <6.2.1.2.0.20050605104652.040f9d38@incoming.verizon.net> Rocky, If you are still looking for beta testers, I'll take a look. I've had sleep problems off and on for some time. Not as bad now as when I was in college. My son has also had some problems, too, so I may have him take it too. I'm currently using Access 2003, so the mde version might be better. Thanks, Bob At 5/31/2005 12:53 PM, you wrote: >Dear List: > >Version 5 of The Sleep Advisor is now ready for beta testing: > >There is a Wise/Sagekey run-time download available at >http://www.drnaiman.com/sleepad.php >or for those of you who have Access 2003 you can email me off line and >I'll send you just the mde. Bob Geldart BGeldart at verizon.net Maynard, MA From jwcolby at colbyconsulting.com Sun Jun 5 16:24:04 2005 From: jwcolby at colbyconsulting.com (John W. Colby) Date: Sun, 05 Jun 2005 17:24:04 -0400 Subject: [AccessD] Arrow keys in Excel Message-ID: <000e01c56a14$eaafd810$6c7aa8c0@ColbyM6805> Does anyone know why the arrow keys do not move the cursor in Excel? John W. Colby www.ColbyConsulting.com Contribute your unused CPU cycles to a good cause: http://folding.stanford.edu/ From dwaters at usinternet.com Sun Jun 5 16:37:29 2005 From: dwaters at usinternet.com (Dan Waters) Date: Sun, 5 Jun 2005 16:37:29 -0500 Subject: [AccessD] Arrow keys in Excel In-Reply-To: <16642981.1118007213908.JavaMail.root@sniper15> Message-ID: <000001c56a16$c6c0b530$0300a8c0@danwaters> John, I just tried it. If you've double-clicked in a cell with text/numbers, then the arrow keys do move the cursor. Otherwise the arrow keys move your cell selection. Dan Waters -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of John W. Colby Sent: Sunday, June 05, 2005 4:24 PM To: 'Access Developers discussion and problem solving' Subject: [AccessD] Arrow keys in Excel Does anyone know why the arrow keys do not move the cursor in Excel? 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 stuart at lexacorp.com.pg Sun Jun 5 16:57:54 2005 From: stuart at lexacorp.com.pg (Stuart McLachlan) Date: Mon, 06 Jun 2005 07:57:54 +1000 Subject: [AccessD] Arrow keys in Excel In-Reply-To: <000e01c56a14$eaafd810$6c7aa8c0@ColbyM6805> Message-ID: <42A40202.17252.EF8DBCA@stuart.lexacorp.com.pg> On 5 Jun 2005 at 17:24, John W. Colby wrote: > Does anyone know why the arrow keys do not move the cursor in Excel? > Because you've got "scroll lock" in? -- Stuart From relations at rescom.cc Sun Jun 5 18:16:56 2005 From: relations at rescom.cc (Res-Com Environmental) Date: Sun, 5 Jun 2005 16:16:56 -0700 Subject: [AccessD] Another Commission Dilemma Message-ID: Dear List: We have another problem with the commission structure we are trying to setup. The boss wants the current system where we enter customer and sales info into the tblCustomers and tblOrders tables. The tblEmployees tracks each employees sale. We also have a tblReturns for those orders that get returned. The commission system we use now is in Excel and we would like to integrate it into Access fully. I'm relatively new to database design and am trying to design a system where each week the sales get totaled for each employee and they get setup on a special commission structure where: 0-2 sales = no commission, 0-7 = regular commission %, 8+ sales would get a different commission % as the sales add up. This is because we have integrated a flat bonus amount ($50 for 8-10 sales, $100 for 10-12 sales, $150 for 10-15, etc, etc.) and we have to change the commission % for each sale to accommodate this flat bonus amount. However, there is also another variable. There is a special bonus if the entire sales staff meets a goal that every salesperson who received 5+ sales that week will receive. It goes $75 for 60-69, $100 for 70-79 and so forth. What I need to do is produce a system where it looks at both individual sales and group sales to produce the total commission amount for each salesperson on a weekly basis. After this I would need to integrate a deduction system for order returns and random deductions for employee tardiness, corrective action, etc. If anyone can help me with any part of the design for this project it would be greatly appreciated. Sincerely, Adam Faulkner Res-Com From jwcolby at colbyconsulting.com Sun Jun 5 19:01:42 2005 From: jwcolby at colbyconsulting.com (John W. Colby) Date: Sun, 05 Jun 2005 20:01:42 -0400 Subject: [AccessD] Arrow keys in Excel In-Reply-To: <42A40202.17252.EF8DBCA@stuart.lexacorp.com.pg> Message-ID: <001101c56a2a$ef846890$6c7aa8c0@ColbyM6805> Nope. What it is doing is causing the spreadsheet to scroll up and down instead of the cursor move to the next cell. John W. Colby www.ColbyConsulting.com Contribute your unused CPU cycles to 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: Sunday, June 05, 2005 5:58 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Arrow keys in Excel On 5 Jun 2005 at 17:24, John W. Colby wrote: > Does anyone know why the arrow keys do not move the cursor in Excel? > Because you've got "scroll lock" in? -- 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 Sun Jun 5 21:25:11 2005 From: stuart at lexacorp.com.pg (Stuart McLachlan) Date: Mon, 06 Jun 2005 12:25:11 +1000 Subject: [AccessD] Arrow keys in Excel In-Reply-To: <001101c56a2a$ef846890$6c7aa8c0@ColbyM6805> References: <42A40202.17252.EF8DBCA@stuart.lexacorp.com.pg> Message-ID: <42A440A7.14795.FED8D07@stuart.lexacorp.com.pg> On 5 Jun 2005 at 20:01, John W. Colby wrote: > Nope. What it is doing is causing the spreadsheet to scroll up and down > instead of the cursor move to the next cell. > That's what happens when you have "Scroll Lock" turned on. The Scroll Lock key on your keyboard is a toggle, just like Caps lock and Num Lock. -- Stuart From jwcolby at colbyconsulting.com Sun Jun 5 21:35:34 2005 From: jwcolby at colbyconsulting.com (John W. Colby) Date: Sun, 05 Jun 2005 22:35:34 -0400 Subject: [AccessD] Arrow keys in Excel In-Reply-To: <42A440A7.14795.FED8D07@stuart.lexacorp.com.pg> Message-ID: <001201c56a40$6d959d20$6c7aa8c0@ColbyM6805> Yes, I understand that, but in this case it happens whether or not I have scroll lock on. This is my laptop and there is a blue led that tells me if the scroll lock is on. On or off, the arrow keys act the same. I am guessing there is some setting in Excel but I haven't found 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 Stuart McLachlan Sent: Sunday, June 05, 2005 10:25 PM To: Access Developers discussion and problem solving Subject: RE: [AccessD] Arrow keys in Excel On 5 Jun 2005 at 20:01, John W. Colby wrote: > Nope. What it is doing is causing the spreadsheet to scroll up and > down instead of the cursor move to the next cell. > That's what happens when you have "Scroll Lock" turned on. The Scroll Lock key on your keyboard is a toggle, just like Caps lock and Num Lock. -- 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 Sun Jun 5 22:18:49 2005 From: stuart at lexacorp.com.pg (Stuart McLachlan) Date: Mon, 06 Jun 2005 13:18:49 +1000 Subject: [AccessD] Arrow keys in Excel In-Reply-To: <001201c56a40$6d959d20$6c7aa8c0@ColbyM6805> References: <42A440A7.14795.FED8D07@stuart.lexacorp.com.pg> Message-ID: <42A44D39.24659.101EA831@stuart.lexacorp.com.pg> On 5 Jun 2005 at 22:35, John W. Colby wrote: > Yes, I understand that, but in this case it happens whether or not I have > scroll lock on. This is my laptop and there is a blue led that tells me if > the scroll lock is on. On or off, the arrow keys act the same. I am > guessing there is some setting in Excel but I haven't found it. > AFAIK, it's purely based on the Scroll Lock state. Check whether the status bar at the bottom right of the Excel window has "SCRL" showing. If so, I'd suspect a hardware problem with your Scroll Lock key. -- Stuart From jmhecht at earthlink.net Sun Jun 5 22:23:54 2005 From: jmhecht at earthlink.net (Joe Hecht) Date: Sun, 5 Jun 2005 20:23:54 -0700 Subject: [AccessD] Is this a really bad Idea in my purchase order database? Message-ID: <000001c56a47$2be64260$6401a8c0@laptop1> I have a multiple table query where one field is dept id on my POmaster table. SELECT DISTINCTROW PurchaseOrders.PurchaseOrderID, Vendors.VendorName, Vendors.Address, Vendors.City, Vendors.State, Vendors.Zip, Vendors.Phone, Vendors.Fax, PurchaseOrders.DateOrdered, PurchaseOrders.DateRequired, PurchaseOrders.ShippingMethodID, Locations.LocationName, Locations.LocationAddress, Locations.LocationCity, Locations.LocationState, Locations.LocationZip, Locations.LocationPhone, Locations.LocationFax, [City] & " " & [State] & " " & [Zip] AS VendaddLine3, [LocationCity] & " " & [LocationState] & " " & [LocationZip] AS LocationAddLine3, [Shipping Methods].ShippingMethod, PurchaseOrders.Notes, PurchaseOrders.Initails, Locations.LocationID, PurchaseOrders.Dept FROM Locations INNER JOIN ([Shipping Methods] INNER JOIN (Vendors INNER JOIN PurchaseOrders ON Vendors.VendorID = PurchaseOrders.VendorID) ON [Shipping Methods].ShippingMethodID = PurchaseOrders.ShippingMethodID) ON Locations.LocationID = PurchaseOrders.LocationID WHERE (((PurchaseOrders.PurchaseOrderID)=[Forms]![PurchaseOrders]![PurchaseOrderID ])); The above works properly. If I try to add the department table, I get ambigious outer join error. I can fix that by making a second query. The department is a static item. Is it really bad or wrong to store the actual department in the table rather than the Dept ID to reduce the number of queries and generally make the DB work better? I expect to be here till at least midnight PST if anyone has suggestions? Joe Hecht Los Angeles CA From jwcolby at colbyconsulting.com Sun Jun 5 22:27:41 2005 From: jwcolby at colbyconsulting.com (John W. Colby) Date: Sun, 05 Jun 2005 23:27:41 -0400 Subject: [AccessD] Arrow keys in Excel In-Reply-To: <42A44D39.24659.101EA831@stuart.lexacorp.com.pg> Message-ID: <001301c56a47$b25def50$6c7aa8c0@ColbyM6805> ROTFL. THANKS. I never knew the scroll lock indicator was there in Excel, and yes, it WAS on, and it turns out I need to tap the function key WITHOUT the FN shift key. All is fine now. I have a 4 year old boy who is probably the culprit here. Thanks! John W. Colby www.ColbyConsulting.com Contribute your unused CPU cycles to 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: Sunday, June 05, 2005 11:19 PM To: Access Developers discussion and problem solving Subject: RE: [AccessD] Arrow keys in Excel On 5 Jun 2005 at 22:35, John W. Colby wrote: > Yes, I understand that, but in this case it happens whether or not I > have scroll lock on. This is my laptop and there is a blue led that > tells me if the scroll lock is on. On or off, the arrow keys act the > same. I am guessing there is some setting in Excel but I haven't > found it. > AFAIK, it's purely based on the Scroll Lock state. Check whether the status bar at the bottom right of the Excel window has "SCRL" showing. If so, I'd suspect a hardware problem with your Scroll Lock key. -- Stuart -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From jmhecht at earthlink.net Sun Jun 5 22:32:24 2005 From: jmhecht at earthlink.net (Joe Hecht) Date: Sun, 5 Jun 2005 20:32:24 -0700 Subject: [AccessD] Arrow keys in Excel In-Reply-To: <001301c56a47$b25def50$6c7aa8c0@ColbyM6805> Message-ID: <000501c56a48$5bcd54e0$6401a8c0@laptop1> Sure John, Blame some one else ; ) 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: Sunday, June 05, 2005 8:28 PM To: 'Access Developers discussion and problem solving' Subject: RE: [AccessD] Arrow keys in Excel ROTFL. THANKS. I never knew the scroll lock indicator was there in Excel, and yes, it WAS on, and it turns out I need to tap the function key WITHOUT the FN shift key. All is fine now. I have a 4 year old boy who is probably the culprit here. Thanks! John W. Colby www.ColbyConsulting.com Contribute your unused CPU cycles to 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: Sunday, June 05, 2005 11:19 PM To: Access Developers discussion and problem solving Subject: RE: [AccessD] Arrow keys in Excel On 5 Jun 2005 at 22:35, John W. Colby wrote: > Yes, I understand that, but in this case it happens whether or not I > have scroll lock on. This is my laptop and there is a blue led that > tells me if the scroll lock is on. On or off, the arrow keys act the > same. I am guessing there is some setting in Excel but I haven't > found it. > AFAIK, it's purely based on the Scroll Lock state. Check whether the status bar at the bottom right of the Excel window has "SCRL" showing. If so, I'd suspect a hardware problem with your Scroll Lock key. -- 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 jwcolby at colbyconsulting.com Sun Jun 5 22:49:49 2005 From: jwcolby at colbyconsulting.com (John W. Colby) Date: Sun, 05 Jun 2005 23:49:49 -0400 Subject: [AccessD] Arrow keys in Excel In-Reply-To: <000501c56a48$5bcd54e0$6401a8c0@laptop1> Message-ID: <001401c56a4a$c9c6f2b0$6c7aa8c0@ColbyM6805> LOL. Hey, when you have a 4 year old boy, it is easy to believe. ;-) John W. Colby www.ColbyConsulting.com Contribute your unused CPU cycles to 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: Sunday, June 05, 2005 11:32 PM To: 'Access Developers discussion and problem solving' Subject: RE: [AccessD] Arrow keys in Excel Sure John, Blame some one else ; ) 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: Sunday, June 05, 2005 8:28 PM To: 'Access Developers discussion and problem solving' Subject: RE: [AccessD] Arrow keys in Excel ROTFL. THANKS. I never knew the scroll lock indicator was there in Excel, and yes, it WAS on, and it turns out I need to tap the function key WITHOUT the FN shift key. All is fine now. I have a 4 year old boy who is probably the culprit here. Thanks! John W. Colby www.ColbyConsulting.com Contribute your unused CPU cycles to 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: Sunday, June 05, 2005 11:19 PM To: Access Developers discussion and problem solving Subject: RE: [AccessD] Arrow keys in Excel On 5 Jun 2005 at 22:35, John W. Colby wrote: > Yes, I understand that, but in this case it happens whether or not I > have scroll lock on. This is my laptop and there is a blue led that > tells me if the scroll lock is on. On or off, the arrow keys act the > same. I am guessing there is some setting in Excel but I haven't > found it. > AFAIK, it's purely based on the Scroll Lock state. Check whether the status bar at the bottom right of the Excel window has "SCRL" showing. If so, I'd suspect a hardware problem with your Scroll Lock key. -- 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 -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From jmhecht at earthlink.net Sun Jun 5 22:52:43 2005 From: jmhecht at earthlink.net (Joe Hecht) Date: Sun, 5 Jun 2005 20:52:43 -0700 Subject: [AccessD] Arrow keys in Excel In-Reply-To: <001401c56a4a$c9c6f2b0$6c7aa8c0@ColbyM6805> Message-ID: <000601c56a4b$3260bfe0$6401a8c0@laptop1> I have me to louse up my work. I do need any help. See my other post? 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: Sunday, June 05, 2005 8:50 PM To: 'Access Developers discussion and problem solving' Subject: RE: [AccessD] Arrow keys in Excel LOL. Hey, when you have a 4 year old boy, it is easy to believe. ;-) John W. Colby www.ColbyConsulting.com Contribute your unused CPU cycles to 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: Sunday, June 05, 2005 11:32 PM To: 'Access Developers discussion and problem solving' Subject: RE: [AccessD] Arrow keys in Excel Sure John, Blame some one else ; ) 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: Sunday, June 05, 2005 8:28 PM To: 'Access Developers discussion and problem solving' Subject: RE: [AccessD] Arrow keys in Excel ROTFL. THANKS. I never knew the scroll lock indicator was there in Excel, and yes, it WAS on, and it turns out I need to tap the function key WITHOUT the FN shift key. All is fine now. I have a 4 year old boy who is probably the culprit here. Thanks! John W. Colby www.ColbyConsulting.com Contribute your unused CPU cycles to 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: Sunday, June 05, 2005 11:19 PM To: Access Developers discussion and problem solving Subject: RE: [AccessD] Arrow keys in Excel On 5 Jun 2005 at 22:35, John W. Colby wrote: > Yes, I understand that, but in this case it happens whether or not I > have scroll lock on. This is my laptop and there is a blue led that > tells me if the scroll lock is on. On or off, the arrow keys act the > same. I am guessing there is some setting in Excel but I haven't > found it. > AFAIK, it's purely based on the Scroll Lock state. Check whether the status bar at the bottom right of the Excel window has "SCRL" showing. If so, I'd suspect a hardware problem with your Scroll Lock key. -- 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 -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd 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 Sun Jun 5 23:01:11 2005 From: jmhecht at earthlink.net (Joe Hecht) Date: Sun, 5 Jun 2005 21:01:11 -0700 Subject: [AccessD] Arrow keys in Excel In-Reply-To: <001401c56a4a$c9c6f2b0$6c7aa8c0@ColbyM6805> Message-ID: <000c01c56a4c$60df1aa0$6401a8c0@laptop1> Besides, I a missing half the code for one of those : ( 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: Sunday, June 05, 2005 8:50 PM To: access at joe2.endjunk.com; 'Access Developers discussion and problem solving' Subject: RE: [AccessD] Arrow keys in Excel LOL. Hey, when you have a 4 year old boy, it is easy to believe. ;-) John W. Colby www.ColbyConsulting.com Contribute your unused CPU cycles to 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: Sunday, June 05, 2005 11:32 PM To: 'Access Developers discussion and problem solving' Subject: RE: [AccessD] Arrow keys in Excel Sure John, Blame some one else ; ) 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: Sunday, June 05, 2005 8:28 PM To: 'Access Developers discussion and problem solving' Subject: RE: [AccessD] Arrow keys in Excel ROTFL. THANKS. I never knew the scroll lock indicator was there in Excel, and yes, it WAS on, and it turns out I need to tap the function key WITHOUT the FN shift key. All is fine now. I have a 4 year old boy who is probably the culprit here. Thanks! John W. Colby www.ColbyConsulting.com Contribute your unused CPU cycles to 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: Sunday, June 05, 2005 11:19 PM To: Access Developers discussion and problem solving Subject: RE: [AccessD] Arrow keys in Excel On 5 Jun 2005 at 22:35, John W. Colby wrote: > Yes, I understand that, but in this case it happens whether or not I > have scroll lock on. This is my laptop and there is a blue led that > tells me if the scroll lock is on. On or off, the arrow keys act the > same. I am guessing there is some setting in Excel but I haven't > found it. > AFAIK, it's purely based on the Scroll Lock state. Check whether the status bar at the bottom right of the Excel window has "SCRL" showing. If so, I'd suspect a hardware problem with your Scroll Lock key. -- 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 -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd 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 Sun Jun 5 23:22:08 2005 From: jmhecht at earthlink.net (Joe Hecht) Date: Sun, 5 Jun 2005 21:22:08 -0700 Subject: [AccessD] Anyone out there Message-ID: <001201c56a4f$4e3b58c0$6401a8c0@laptop1> It is 9:20 here in LA Sunday night. Anyone out there? I am deep trouble with a database. Joe Hecht Los Angeles CA From martyconnelly at shaw.ca Sun Jun 5 23:55:44 2005 From: martyconnelly at shaw.ca (MartyConnelly) Date: Sun, 05 Jun 2005 21:55:44 -0700 Subject: [AccessD] Anyone out there References: <001201c56a4f$4e3b58c0$6401a8c0@laptop1> Message-ID: <42A3D750.1070105@shaw.ca> Nobody here but us chickens. Joe Hecht wrote: >It is 9:20 here in LA Sunday night. > >Anyone out there? I am deep trouble with a database. > >Joe Hecht >Los Angeles CA > > > -- Marty Connelly Victoria, B.C. Canada From bchacc at san.rr.com Mon Jun 6 00:01:24 2005 From: bchacc at san.rr.com (Rocky Smolin - Beach Access Software) Date: Sun, 5 Jun 2005 22:01:24 -0700 Subject: [AccessD] For Charles Hise - Fw: Returned mail: see transcript for details Message-ID: <01ee01c56a54$ca09e390$6901a8c0@HAL9004> Charles Hise: I'm trying to send you the Sleep Advisor but your address seems to be hosed. Do you have another one? Rocky ----- Original Message ----- From: "Mail Delivery Subsystem" To: Sent: Sunday, June 05, 2005 8:39 PM Subject: Returned mail: see transcript for details > The original message was received at Fri, 3 Jun 2005 18:23:44 -0700 (PDT) > from cpe-24-25-217-158.san.res.rr.com [24.25.217.158] > > ----- The following addresses had permanent fatal errors ----- > > > ----- Transcript of session follows ----- > ... Deferred: Connection refused by charterr.net. > Message could not be delivered for 2 days > Message will be deleted from queue > -------------------------------------------------------------------------------- > Received: from HAL9004 (cpe-24-25-217-158.san.res.rr.com [24.25.217.158]) > by ms-smtp-03-eri0.socal.rr.com (8.12.10/8.12.7) with SMTP id > j541NigQ013736 > for ; Fri, 3 Jun 2005 18:23:44 -0700 (PDT) > Message-ID: <07ce01c568a4$0bea31f0$6901a8c0 at HAL9004> > From: "Rocky Smolin - Beach Access Software" > To: > Subject: Fw: Returned mail: see transcript for details > Date: Fri, 3 Jun 2005 18:23:42 -0700 > MIME-Version: 1.0 > Content-Type: text/plain; > format=flowed; > charset="iso-8859-1"; > reply-type=response > Content-Transfer-Encoding: 7bit > X-Priority: 3 > X-MSMail-Priority: Normal > X-Mailer: Microsoft Outlook Express 6.00.2900.2180 > X-MIMEOLE: Produced By Microsoft MimeOLE V6.00.2900.2180 > X-Virus-Scanned: Symantec AntiVirus Scan Engine > From jmhecht at earthlink.net Mon Jun 6 00:03:25 2005 From: jmhecht at earthlink.net (Joe Hecht) Date: Sun, 5 Jun 2005 22:03:25 -0700 Subject: [AccessD] Anyone out there In-Reply-To: <42A3D750.1070105@shaw.ca> Message-ID: <000001c56a55$12822290$6401a8c0@laptop1> Marty, You do have to help me. I have one tuff problem and one that is probably easy. TIA Joe Hecht Los Angeles CA -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of MartyConnelly Sent: Sunday, June 05, 2005 9:56 PM To: access at joe2.endjunk.com; Access Developers discussion and problem solving Subject: Re: [AccessD] Anyone out there Nobody here but us chickens. Joe Hecht wrote: >It is 9:20 here in LA Sunday night. > >Anyone out there? I am deep trouble with a database. > >Joe Hecht >Los Angeles CA > > > -- 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 jmhecht at earthlink.net Mon Jun 6 00:09:31 2005 From: jmhecht at earthlink.net (Joe Hecht) Date: Sun, 5 Jun 2005 22:09:31 -0700 Subject: [AccessD] Anyone out there In-Reply-To: <000001c56a55$12822290$6401a8c0@laptop1> Message-ID: <001201c56a55$ecdcb9a0$6401a8c0@laptop1> That was well butchered. Do you have time to help me tonight? Joe Hecht Los Angeles CA -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Joe Hecht Sent: Sunday, June 05, 2005 10:03 PM To: access at joe2.endjunk.com; 'Access Developers discussion and problem solving' Subject: RE: [AccessD] Anyone out there Marty, You do have to help me. I have one tuff problem and one that is probably easy. TIA Joe Hecht Los Angeles CA -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of MartyConnelly Sent: Sunday, June 05, 2005 9:56 PM To: access at joe2.endjunk.com; Access Developers discussion and problem solving Subject: Re: [AccessD] Anyone out there Nobody here but us chickens. Joe Hecht wrote: >It is 9:20 here in LA Sunday night. > >Anyone out there? I am deep trouble with a database. > >Joe Hecht >Los Angeles CA > > > -- 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 jeff at boyes.net Mon Jun 6 00:13:12 2005 From: jeff at boyes.net (Jeff) Date: Sun, 5 Jun 2005 23:13:12 -0600 Subject: [AccessD] Anyone out there In-Reply-To: <001201c56a4f$4e3b58c0$6401a8c0@laptop1> Message-ID: <200506060513.j565D7s01849@databaseadvisors.com> Joe... 11:15 in Colorado right now...What's the problem? Jeff -----Original Message----- From: Joe Hecht [mailto:jmhecht at earthlink.net] Sent: Sunday, June 05, 2005 10:22 PM To: 'Access Developers discussion and problem solving' Subject: [AccessD] Anyone out there It is 9:20 here in LA Sunday night. Anyone out there? I am deep trouble with a database. Joe Hecht Los Angeles CA -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From jmhecht at earthlink.net Mon Jun 6 00:26:35 2005 From: jmhecht at earthlink.net (Joe Hecht) Date: Sun, 5 Jun 2005 22:26:35 -0700 Subject: [AccessD] Anyone out there In-Reply-To: <200506060513.j565D7s01849@databaseadvisors.com> Message-ID: <001301c56a58$4efd0c00$6401a8c0@laptop1> Thanks Jeff This is the sequence I open a form to show a Purchase order. It shows the first record. I hit the print preview and all is ok. I go to other records and the report shows multiple errors and missing data. I am going nuts trying to get it. Any thoughts? Joe Hecht Los Angeles CA -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Jeff Sent: Sunday, June 05, 2005 10:13 PM To: 'Access Developers discussion and problem solving' Subject: RE: [AccessD] Anyone out there Joe... 11:15 in Colorado right now...What's the problem? Jeff -----Original Message----- From: Joe Hecht [mailto:jmhecht at earthlink.net] Sent: Sunday, June 05, 2005 10:22 PM To: 'Access Developers discussion and problem solving' Subject: [AccessD] Anyone out there It is 9:20 here in LA Sunday night. Anyone out there? I am deep trouble with a database. 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 From kost36 at otenet.gr Mon Jun 6 01:12:42 2005 From: kost36 at otenet.gr (Kostas Konstantinidis) Date: Mon, 6 Jun 2005 09:12:42 +0300 Subject: [AccessD] Separate selected records from a table References: <001201c56a4f$4e3b58c0$6401a8c0@laptop1> <42A3D750.1070105@shaw.ca> Message-ID: <00a301c56a5e$bffd8460$07a1fea9@studio2> Hi again :) in a table there are names and in some cases there are two names with a "," between them What I want to do is to separate only the records keeping the second name. I tried the follown 1st: Right$([director];Len([director])-InStr(1;[director];",")) 2nd: Left$([director];InStr(1;[director];",")-1) but it returns with 2 problems 1. in 2nd (Left$) #ERROR for the blank records 2. in 1st (Right$) a space " " in the begginning of the separated records thank's /kostas From martyconnelly at shaw.ca Mon Jun 6 01:13:35 2005 From: martyconnelly at shaw.ca (MartyConnelly) Date: Sun, 05 Jun 2005 23:13:35 -0700 Subject: [AccessD] Anyone out there References: <001301c56a58$4efd0c00$6401a8c0@laptop1> Message-ID: <42A3E98F.90906@shaw.ca> Look at the query feeding the report, if you can't see anything obvious try a full decompile Do a backup before the /decompile. 1a) Create a shortcut with the following "C:\Program Files\Microsoft Office\Office\MSACCESS.EXE" "d:\My Documents\access\mayapp.mdb" /decompile As appropriate for your environment of course. Note that if your path to your MDB contains a space it must be enclosed in double quotes just as the MSACCESS.EXE component. You can create a short cut but right clicking in the directory of your choice, highlighting new and creating or 1b) Create a one line .bat or .cmd line with the above text in it it using notepad. Hint: Right click in your directory of choice, highlight new and select Text Document. You will be presented with a new file named "New Text Document.txt" or similar. Rename that file to something like "decompile.bat". Then right click that file and select edit. Notepad should then run opening up that file. 2) Click on the short cut or click on the .bat or .cmd file and, in Access 97, you'll get the message "... has converted the code in ... to your current version of Visual Basic". This message does not appear in Access 2000 or newer. Hold the shift key down when you click on Okay so the MDBs autoexec macro won't execute or the start-up form will not be opened. If you have any class modules exit the MDB and re-enter it. This will keep the class modules intact. 3) Now compact the MDB to clean out the old VBA code.. 4) Hit Ctrl+G to open the debug/immediate window or go into any module and click on Debug. If Access 97 click on Compile and Save All Modules. If Access 2000 or newer click on Compile. Compiling is particularly important to see if there were any problems and for performance reasons. 5) Then compact again. Joe Hecht wrote: >Thanks Jeff > >This is the sequence > >I open a form to show a Purchase order. It shows the first record. I hit the >print preview and all is ok. > >I go to other records and the report shows multiple errors and missing data. >I am going nuts trying to get it. > >Any thoughts? > >Joe Hecht >Los Angeles CA > >-----Original Message----- >From: accessd-bounces at databaseadvisors.com >[mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Jeff >Sent: Sunday, June 05, 2005 10:13 PM >To: 'Access Developers discussion and problem solving' >Subject: RE: [AccessD] Anyone out there > >Joe... > >11:15 in Colorado right now...What's the problem? > >Jeff > > >-----Original Message----- >From: Joe Hecht [mailto:jmhecht at earthlink.net] >Sent: Sunday, June 05, 2005 10:22 PM >To: 'Access Developers discussion and problem solving' >Subject: [AccessD] Anyone out there > >It is 9:20 here in LA Sunday night. > >Anyone out there? I am deep trouble with a database. > >Joe Hecht >Los Angeles CA > >-- >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 Bruce.Bruen at railcorp.nsw.gov.au Mon Jun 6 01:28:30 2005 From: Bruce.Bruen at railcorp.nsw.gov.au (Bruen, Bruce) Date: Mon, 6 Jun 2005 16:28:30 +1000 Subject: [AccessD] Separate selected records from a table Message-ID: Try IIf(InStr(1,[names],",")<>0,Trim(Right$([names],Len([names])-InStr(1,[na mes],","))),Null) (replacing "names" with "director") N.B This is probably not optimal, I just juggled yours to make it work. Here's a sample: Input names returned value ahab <> bhab, chab chab dhab,ehab ehab fhab, ghab ihab ghab ihab jhab khab,lhab mhab lhab mhab ohab phab, qhab qhab rhab, <> Hth Bruce Bruen P.s. hello guys - long time no see! -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Kostas Konstantinidis Sent: Monday, 6 June 2005 4:13 PM To: Access Developers discussion and problem solving Subject: [AccessD] Separate selected records from a table Hi again :) in a table there are names and in some cases there are two names with a "," between them What I want to do is to separate only the records keeping the second name. I tried the follown 1st: Right$([director];Len([director])-InStr(1;[director];",")) 2nd: Left$([director];InStr(1;[director];",")-1) but it returns with 2 problems 1. in 2nd (Left$) #ERROR for the blank records 2. in 1st (Right$) a space " " in the begginning of the separated records thank's /kostas -- 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 Mon Jun 6 01:44:32 2005 From: jmhecht at earthlink.net (Joe Hecht) Date: Sun, 5 Jun 2005 23:44:32 -0700 Subject: [AccessD] Anyone out there In-Reply-To: <42A3E98F.90906@shaw.ca> Message-ID: <000001c56a63$329661f0$6401a8c0@laptop1> If I make.bat use the quotes? Joe Hecht Los Angeles CA -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of MartyConnelly Sent: Sunday, June 05, 2005 11:14 PM To: access at joe2.endjunk.com; Access Developers discussion and problem solving Subject: Re: [AccessD] Anyone out there Look at the query feeding the report, if you can't see anything obvious try a full decompile Do a backup before the /decompile. 1a) Create a shortcut with the following "C:\Program Files\Microsoft Office\Office\MSACCESS.EXE" "d:\My Documents\access\mayapp.mdb" /decompile As appropriate for your environment of course. Note that if your path to your MDB contains a space it must be enclosed in double quotes just as the MSACCESS.EXE component. You can create a short cut but right clicking in the directory of your choice, highlighting new and creating or 1b) Create a one line .bat or .cmd line with the above text in it it using notepad. Hint: Right click in your directory of choice, highlight new and select Text Document. You will be presented with a new file named "New Text Document.txt" or similar. Rename that file to something like "decompile.bat". Then right click that file and select edit. Notepad should then run opening up that file. 2) Click on the short cut or click on the .bat or .cmd file and, in Access 97, you'll get the message "... has converted the code in ... to your current version of Visual Basic". This message does not appear in Access 2000 or newer. Hold the shift key down when you click on Okay so the MDBs autoexec macro won't execute or the start-up form will not be opened. If you have any class modules exit the MDB and re-enter it. This will keep the class modules intact. 3) Now compact the MDB to clean out the old VBA code.. 4) Hit Ctrl+G to open the debug/immediate window or go into any module and click on Debug. If Access 97 click on Compile and Save All Modules. If Access 2000 or newer click on Compile. Compiling is particularly important to see if there were any problems and for performance reasons. 5) Then compact again. Joe Hecht wrote: >Thanks Jeff > >This is the sequence > >I open a form to show a Purchase order. It shows the first record. I hit the >print preview and all is ok. > >I go to other records and the report shows multiple errors and missing data. >I am going nuts trying to get it. > >Any thoughts? > >Joe Hecht >Los Angeles CA > >-----Original Message----- >From: accessd-bounces at databaseadvisors.com >[mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Jeff >Sent: Sunday, June 05, 2005 10:13 PM >To: 'Access Developers discussion and problem solving' >Subject: RE: [AccessD] Anyone out there > >Joe... > >11:15 in Colorado right now...What's the problem? > >Jeff > > >-----Original Message----- >From: Joe Hecht [mailto:jmhecht at earthlink.net] >Sent: Sunday, June 05, 2005 10:22 PM >To: 'Access Developers discussion and problem solving' >Subject: [AccessD] Anyone out there > >It is 9:20 here in LA Sunday night. > >Anyone out there? I am deep trouble with a database. > >Joe Hecht >Los Angeles CA > >-- >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 kost36 at otenet.gr Mon Jun 6 01:54:19 2005 From: kost36 at otenet.gr (Kostas Konstantinidis) Date: Mon, 6 Jun 2005 09:54:19 +0300 Subject: [AccessD] Separate selected records from a table References: Message-ID: <000801c56a64$903e6810$07a1fea9@studio2> Hi Bruce, thank's for your quickly response the 1st of my questions was really solved with your help /kostas ----- Original Message ----- From: "Bruen, Bruce" To: "Access Developers discussion and problem solving" Sent: Monday, June 06, 2005 9:28 AM Subject: RE: [AccessD] Separate selected records from a table > Try > > IIf(InStr(1,[names],",")<>0,Trim(Right$([names],Len([names])-InStr(1,[na > mes],","))),Null) > > (replacing "names" with "director") > > N.B This is probably not optimal, I just juggled yours to make it work. > > > Here's a sample: > Input names returned value > ahab <> > bhab, chab chab > dhab,ehab ehab > fhab, ghab ihab ghab ihab > jhab khab,lhab mhab lhab mhab > ohab phab, qhab qhab > rhab, <> > > Hth > Bruce Bruen > > P.s. hello guys - long time no see! > > > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Kostas > Konstantinidis > Sent: Monday, 6 June 2005 4:13 PM > To: Access Developers discussion and problem solving > Subject: [AccessD] Separate selected records from a table > > Hi again :) > in a table there are names and in some cases there are two names with a > "," > between them > What I want to do is to separate only the records keeping the second > name. > > I tried the follown > 1st: Right$([director];Len([director])-InStr(1;[director];",")) > 2nd: Left$([director];InStr(1;[director];",")-1) > > but it returns with 2 problems > 1. in 2nd (Left$) #ERROR for the blank records 2. in 1st (Right$) a > space " " in the begginning of the separated records > > thank's > /kostas > > > -- > 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. > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > > From kost36 at otenet.gr Mon Jun 6 04:42:47 2005 From: kost36 at otenet.gr (Kostas Konstantinidis) Date: Mon, 6 Jun 2005 12:42:47 +0300 Subject: [AccessD] Separate selected records from a table References: <000801c56a64$903e6810$07a1fea9@studio2> Message-ID: <005701c56a7c$19173f10$07a1fea9@studio2> Hi Bruce again, and how to keep the left$ without the "," thank's /kostas ----- Original Message ----- From: "Kostas Konstantinidis" To: "Access Developers discussion and problem solving" Sent: Monday, June 06, 2005 9:54 AM Subject: Re: [AccessD] Separate selected records from a table > Hi Bruce, > thank's for your quickly response > the 1st of my questions was really solved with your help > > /kostas > > > ----- Original Message ----- > From: "Bruen, Bruce" > To: "Access Developers discussion and problem solving" > > Sent: Monday, June 06, 2005 9:28 AM > Subject: RE: [AccessD] Separate selected records from a table > > >> Try >> >> IIf(InStr(1,[names],",")<>0,Trim(Right$([names],Len([names])-InStr(1,[na >> mes],","))),Null) >> >> (replacing "names" with "director") >> >> N.B This is probably not optimal, I just juggled yours to make it work. >> >> >> Here's a sample: >> Input names returned value >> ahab <> >> bhab, chab chab >> dhab,ehab ehab >> fhab, ghab ihab ghab ihab >> jhab khab,lhab mhab lhab mhab >> ohab phab, qhab qhab >> rhab, <> >> >> Hth >> Bruce Bruen >> >> P.s. hello guys - long time no see! >> >> >> >> -----Original Message----- >> From: accessd-bounces at databaseadvisors.com >> [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Kostas >> Konstantinidis >> Sent: Monday, 6 June 2005 4:13 PM >> To: Access Developers discussion and problem solving >> Subject: [AccessD] Separate selected records from a table >> >> Hi again :) >> in a table there are names and in some cases there are two names with a >> "," >> between them >> What I want to do is to separate only the records keeping the second >> name. >> >> I tried the follown >> 1st: Right$([director];Len([director])-InStr(1;[director];",")) >> 2nd: Left$([director];InStr(1;[director];",")-1) >> >> but it returns with 2 problems >> 1. in 2nd (Left$) #ERROR for the blank records 2. in 1st (Right$) a >> space " " in the begginning of the separated records >> >> thank's >> /kostas >> >> >> -- >> 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. >> -- >> AccessD mailing list >> AccessD at databaseadvisors.com >> http://databaseadvisors.com/mailman/listinfo/accessd >> Website: http://www.databaseadvisors.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 Jun 6 05:47:03 2005 From: vrm at tim-cms.com (Marcel Vreuls) Date: Mon, 6 Jun 2005 12:47:03 +0200 Subject: [AccessD] Support Solutions In-Reply-To: <20050602125051.75972.qmail@web31605.mail.mud.yahoo.com> Message-ID: <20050606064931.SM04100@ACERVREULS> Hi Group, I am wondering what support solutions you are using at this moment and which you can advice me. I browsed the net for 20 minutes and found a ziljoen applications which suggest all work perfectly. I receive about 20 e-mail a day for information request and support calls. Now I arrange this within outlook with rules. It works, but I keep losing information. I can write a own Access App and asp frontend but this cost time which I rather spent on paying customers :-). What the supportsystem must handle is: - automaticly convert incoming email to a support call and give a reply - can handle attachments/screen shots. - keep a history of call communnications. Any ideas, suggestions are welcome. I am willing to buy a good working package if someone has one. Thanks, Marcel From BarbaraRyan at cox.net Mon Jun 6 06:50:01 2005 From: BarbaraRyan at cox.net (Barbara Ryan) Date: Mon, 6 Jun 2005 07:50:01 -0400 Subject: [AccessD] Replication Message-ID: <001801c56a8d$df236920$0a00a8c0@cx470148a> I have two Access 2002 databases (appr 40 MB) that will need to be replicated on a regular (daily?) basis. The replica resides in Missouri and the design master in Virginia (at the company main office). The Missouri site has dial-up capabilities to the Norfolk network (via T1 line? --- please excuse me, this kind of stuff confuses me!). The company also has a website --- where databases can uploaded/downloaded. Any suggestions on the most efficient way to replicate a database of this size over this distance? Thanks, Barb Ryan From BarbaraRyan at cox.net Mon Jun 6 06:57:41 2005 From: BarbaraRyan at cox.net (Barbara Ryan) Date: Mon, 6 Jun 2005 07:57:41 -0400 Subject: [AccessD] Replication Message-ID: <002101c56a8e$f1aeeb40$0a00a8c0@cx470148a> Another question ---- I created a Design Master in Access 97 (when opened in Access 97, the title bar says "Design Master"). When I convert this Design Master to Access 2002, the title bar says "Replica". How can I convert a 97 Design Master to a 2002 Design Master? Thanks Again, Barb Ryan From bheid at appdevgrp.com Mon Jun 6 07:40:09 2005 From: bheid at appdevgrp.com (Bobby Heid) Date: Mon, 6 Jun 2005 08:40:09 -0400 Subject: [AccessD] Copyright stuff Message-ID: <916187228923D311A6FE00A0CC3FAA30ABEBEB@ADGSERVER> Hey, I have an app that I wrote for a church. They are interested in selling it to some other local churches. They asked me to find out about copyrighting it. What do I need to know about copyrights? Thanks, Bobby From jmhecht at earthlink.net Mon Jun 6 09:15:28 2005 From: jmhecht at earthlink.net (Joe Hecht) Date: Mon, 6 Jun 2005 07:15:28 -0700 Subject: [AccessD] Help with a query Message-ID: <001501c56aa2$314fd990$6401a8c0@laptop1> I have a database where a query works with about 14 of almost 5000 records. I rewrote the query and still the same results I have added data in some fields that were missing data. Ant thoughts TIA Joe Hecht Los Angeles CA From roz.clarke at donnslaw.co.uk Mon Jun 6 09:34:05 2005 From: roz.clarke at donnslaw.co.uk (Roz Clarke) Date: Mon, 6 Jun 2005 15:34:05 +0100 Subject: [AccessD] Help with a query Message-ID: <61F915314798D311A2F800A0C9C8318807225B00@dibble.observatory.donnslaw.co.uk> your SQL would be helpful Joe -----Original Message----- From: Joe Hecht [mailto:jmhecht at earthlink.net] Sent: 06 June 2005 15:15 To: 'Access Developers discussion and problem solving' Subject: [AccessD] Help with a query I have a database where a query works with about 14 of almost 5000 records. I rewrote the query and still the same results I have added data in some fields that were missing data. Ant thoughts TIA Joe Hecht Los Angeles CA -- 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 jmhecht at earthlink.net Mon Jun 6 09:41:12 2005 From: jmhecht at earthlink.net (Joe Hecht) Date: Mon, 6 Jun 2005 07:41:12 -0700 Subject: [AccessD] Help with a query In-Reply-To: <61F915314798D311A2F800A0C9C8318807225B00@dibble.observatory.donnslaw.co.uk> Message-ID: <003101c56aa5$c9ee1a60$6401a8c0@laptop1> You are right SELECT DISTINCTROW PurchaseOrders.PurchaseOrderID, Vendors.VendorName, Vendors.Address, Vendors.City, Vendors.State, Vendors.Zip, Vendors.Phone, Vendors.Fax, PurchaseOrders.DateOrdered, PurchaseOrders.DateRequired, PurchaseOrders.ShippingMethodID, Locations.LocationName, Locations.LocationAddress, Locations.LocationCity, Locations.LocationState, Locations.LocationZip, Locations.LocationPhone, Locations.LocationFax, [City] & " " & [State] & " " & [Zip] AS VendaddLine3, [LocationCity] & " " & [LocationState] & " " & [LocationZip] AS LocationAddLine3, [Shipping Methods].ShippingMethod, PurchaseOrders.Notes, PurchaseOrders.Initails, Locations.LocationID, Department.Department FROM Department INNER JOIN (Locations INNER JOIN ([Shipping Methods] INNER JOIN (Vendors INNER JOIN PurchaseOrders ON Vendors.VendorID = PurchaseOrders.VendorID) ON [Shipping Methods].ShippingMethodID = PurchaseOrders.ShippingMethodID) ON Locations.LocationID = PurchaseOrders.LocationID) ON Department.DeptID = PurchaseOrders.DeptID WHERE (((PurchaseOrders.PurchaseOrderID)=[Forms]![PurchaseOrders]![PurchaseOrderID ])); Joe Hecht Los Angeles CA -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Roz Clarke Sent: Monday, June 06, 2005 7:34 AM To: access at joe2.endjunk.com; 'Access Developers discussion and problem solving' Subject: RE: [AccessD] Help with a query your SQL would be helpful Joe -----Original Message----- From: Joe Hecht [mailto:jmhecht at earthlink.net] Sent: 06 June 2005 15:15 To: 'Access Developers discussion and problem solving' Subject: [AccessD] Help with a query I have a database where a query works with about 14 of almost 5000 records. I rewrote the query and still the same results I have added data in some fields that were missing data. Ant thoughts TIA Joe Hecht Los Angeles CA -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From john at winhaven.net Mon Jun 6 09:43:31 2005 From: john at winhaven.net (John Bartow) Date: Mon, 6 Jun 2005 09:43:31 -0500 Subject: [AccessD] Copyright stuff In-Reply-To: <916187228923D311A6FE00A0CC3FAA30ABEBEB@ADGSERVER> Message-ID: <200506061443.j56EhZM4400092@pimout2-ext.prodigy.net> Bobby, We've discussed it a bit before here and its a country specific question. Make sure you cover yourself in this venture because you will be the one answering all the questions! John B. -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Bobby Heid Sent: Monday, June 06, 2005 7:40 AM To: 'Access Developers discussion and problem solving' Subject: [AccessD] Copyright stuff Hey, I have an app that I wrote for a church. They are interested in selling it to some other local churches. They asked me to find out about copyrighting it. What do I need to know about copyrights? Thanks, Bobby -- 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 Mon Jun 6 09:51:13 2005 From: roz.clarke at donnslaw.co.uk (Roz Clarke) Date: Mon, 6 Jun 2005 15:51:13 +0100 Subject: [AccessD] Help with a query Message-ID: <61F915314798D311A2F800A0C9C8318807225B02@dibble.observatory.donnslaw.co.uk> Well, your WHERE clause is simple enough that it's unlikely to be the culprit. Have you tried making all your joins outer instead of inner, in case any information is missing from the child side? -----Original Message----- From: Joe Hecht [mailto:jmhecht at earthlink.net] Sent: 06 June 2005 15:41 To: 'Access Developers discussion and problem solving' Subject: RE: [AccessD] Help with a query You are right SELECT DISTINCTROW PurchaseOrders.PurchaseOrderID, Vendors.VendorName, Vendors.Address, Vendors.City, Vendors.State, Vendors.Zip, Vendors.Phone, Vendors.Fax, PurchaseOrders.DateOrdered, PurchaseOrders.DateRequired, PurchaseOrders.ShippingMethodID, Locations.LocationName, Locations.LocationAddress, Locations.LocationCity, Locations.LocationState, Locations.LocationZip, Locations.LocationPhone, Locations.LocationFax, [City] & " " & [State] & " " & [Zip] AS VendaddLine3, [LocationCity] & " " & [LocationState] & " " & [LocationZip] AS LocationAddLine3, [Shipping Methods].ShippingMethod, PurchaseOrders.Notes, PurchaseOrders.Initails, Locations.LocationID, Department.Department FROM Department INNER JOIN (Locations INNER JOIN ([Shipping Methods] INNER JOIN (Vendors INNER JOIN PurchaseOrders ON Vendors.VendorID = PurchaseOrders.VendorID) ON [Shipping Methods].ShippingMethodID = PurchaseOrders.ShippingMethodID) ON Locations.LocationID = PurchaseOrders.LocationID) ON Department.DeptID = PurchaseOrders.DeptID WHERE (((PurchaseOrders.PurchaseOrderID)=[Forms]![PurchaseOrders]![PurchaseOrderID ])); Joe Hecht Los Angeles CA -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Roz Clarke Sent: Monday, June 06, 2005 7:34 AM To: access at joe2.endjunk.com; 'Access Developers discussion and problem solving' Subject: RE: [AccessD] Help with a query your SQL would be helpful Joe -----Original Message----- From: Joe Hecht [mailto:jmhecht at earthlink.net] Sent: 06 June 2005 15:15 To: 'Access Developers discussion and problem solving' Subject: [AccessD] Help with a query I have a database where a query works with about 14 of almost 5000 records. I rewrote the query and still the same results I have added data in some fields that were missing data. Ant thoughts TIA 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 -------------- 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 Mon Jun 6 09:50:20 2005 From: jwcolby at colbyconsulting.com (John W. Colby) Date: Mon, 06 Jun 2005 10:50:20 -0400 Subject: [AccessD] Help with a query In-Reply-To: <003101c56aa5$c9ee1a60$6401a8c0@laptop1> Message-ID: <004001c56aa7$0fb1a430$6c7aa8c0@ColbyM6805> Make your inner joins into outer joins and see what happens. John W. Colby www.ColbyConsulting.com Contribute your unused CPU cycles to 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: Monday, June 06, 2005 10:41 AM To: 'Access Developers discussion and problem solving' Subject: RE: [AccessD] Help with a query You are right SELECT DISTINCTROW PurchaseOrders.PurchaseOrderID, Vendors.VendorName, Vendors.Address, Vendors.City, Vendors.State, Vendors.Zip, Vendors.Phone, Vendors.Fax, PurchaseOrders.DateOrdered, PurchaseOrders.DateRequired, PurchaseOrders.ShippingMethodID, Locations.LocationName, Locations.LocationAddress, Locations.LocationCity, Locations.LocationState, Locations.LocationZip, Locations.LocationPhone, Locations.LocationFax, [City] & " " & [State] & " " & [Zip] AS VendaddLine3, [LocationCity] & " " & [LocationState] & " " & [LocationZip] AS LocationAddLine3, [Shipping Methods].ShippingMethod, PurchaseOrders.Notes, PurchaseOrders.Initails, Locations.LocationID, Department.Department FROM Department INNER JOIN (Locations INNER JOIN ([Shipping Methods] INNER JOIN (Vendors INNER JOIN PurchaseOrders ON Vendors.VendorID = PurchaseOrders.VendorID) ON [Shipping Methods].ShippingMethodID = PurchaseOrders.ShippingMethodID) ON Locations.LocationID = PurchaseOrders.LocationID) ON Department.DeptID = PurchaseOrders.DeptID WHERE (((PurchaseOrders.PurchaseOrderID)=[Forms]![PurchaseOrders]![PurchaseOrderID ])); Joe Hecht Los Angeles CA -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Roz Clarke Sent: Monday, June 06, 2005 7:34 AM To: access at joe2.endjunk.com; 'Access Developers discussion and problem solving' Subject: RE: [AccessD] Help with a query your SQL would be helpful Joe -----Original Message----- From: Joe Hecht [mailto:jmhecht at earthlink.net] Sent: 06 June 2005 15:15 To: 'Access Developers discussion and problem solving' Subject: [AccessD] Help with a query I have a database where a query works with about 14 of almost 5000 records. I rewrote the query and still the same results I have added data in some fields that were missing data. Ant thoughts TIA 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 From jmhecht at earthlink.net Mon Jun 6 09:52:47 2005 From: jmhecht at earthlink.net (Joe Hecht) Date: Mon, 6 Jun 2005 07:52:47 -0700 Subject: [AccessD] Help with a query In-Reply-To: <61F915314798D311A2F800A0C9C8318807225B02@dibble.observatory.donnslaw.co.uk> Message-ID: <003d01c56aa7$680b7070$6401a8c0@laptop1> I am building the query again as several queries to find records dropping out. How would I force all joins to be outer. Thanks Joe Hecht Los Angeles CA -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Roz Clarke Sent: Monday, June 06, 2005 7:51 AM To: 'Access Developers discussion and problem solving' Subject: RE: [AccessD] Help with a query Well, your WHERE clause is simple enough that it's unlikely to be the culprit. Have you tried making all your joins outer instead of inner, in case any information is missing from the child side? -----Original Message----- From: Joe Hecht [mailto:jmhecht at earthlink.net] Sent: 06 June 2005 15:41 To: 'Access Developers discussion and problem solving' Subject: RE: [AccessD] Help with a query You are right SELECT DISTINCTROW PurchaseOrders.PurchaseOrderID, Vendors.VendorName, Vendors.Address, Vendors.City, Vendors.State, Vendors.Zip, Vendors.Phone, Vendors.Fax, PurchaseOrders.DateOrdered, PurchaseOrders.DateRequired, PurchaseOrders.ShippingMethodID, Locations.LocationName, Locations.LocationAddress, Locations.LocationCity, Locations.LocationState, Locations.LocationZip, Locations.LocationPhone, Locations.LocationFax, [City] & " " & [State] & " " & [Zip] AS VendaddLine3, [LocationCity] & " " & [LocationState] & " " & [LocationZip] AS LocationAddLine3, [Shipping Methods].ShippingMethod, PurchaseOrders.Notes, PurchaseOrders.Initails, Locations.LocationID, Department.Department FROM Department INNER JOIN (Locations INNER JOIN ([Shipping Methods] INNER JOIN (Vendors INNER JOIN PurchaseOrders ON Vendors.VendorID = PurchaseOrders.VendorID) ON [Shipping Methods].ShippingMethodID = PurchaseOrders.ShippingMethodID) ON Locations.LocationID = PurchaseOrders.LocationID) ON Department.DeptID = PurchaseOrders.DeptID WHERE (((PurchaseOrders.PurchaseOrderID)=[Forms]![PurchaseOrders]![PurchaseOrderID ])); Joe Hecht Los Angeles CA -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Roz Clarke Sent: Monday, June 06, 2005 7:34 AM To: access at joe2.endjunk.com; 'Access Developers discussion and problem solving' Subject: RE: [AccessD] Help with a query your SQL would be helpful Joe -----Original Message----- From: Joe Hecht [mailto:jmhecht at earthlink.net] Sent: 06 June 2005 15:15 To: 'Access Developers discussion and problem solving' Subject: [AccessD] Help with a query I have a database where a query works with about 14 of almost 5000 records. I rewrote the query and still the same results I have added data in some fields that were missing data. Ant thoughts TIA 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 From cfoust at infostatsystems.com Mon Jun 6 09:52:52 2005 From: cfoust at infostatsystems.com (Charlotte Foust) Date: Mon, 6 Jun 2005 07:52:52 -0700 Subject: [AccessD] Copyright stuff Message-ID: LOL The name of a good attorney! Actually, in the absence of a specific contract that states otherwise, YOU hold the copyright to the software, the church doesn't. Charlotte Foust -----Original Message----- From: Bobby Heid [mailto:bheid at appdevgrp.com] Sent: Monday, June 06, 2005 5:40 AM To: 'Access Developers discussion and problem solving' Subject: [AccessD] Copyright stuff Hey, I have an app that I wrote for a church. They are interested in selling it to some other local churches. They asked me to find out about copyrighting it. What do I need to know about copyrights? Thanks, Bobby -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From cfoust at infostatsystems.com Mon Jun 6 09:57:14 2005 From: cfoust at infostatsystems.com (Charlotte Foust) Date: Mon, 6 Jun 2005 07:57:14 -0700 Subject: [AccessD] Replication Message-ID: When you copy or convert a design master, the result is always a replica. You will have to turn that into a design master by "recovering" it. I don't have replication installed on this machine, so I can't be more specific, but I'm sure someone else can jump in with the details. Charlotte Foust -----Original Message----- From: Barbara Ryan [mailto:BarbaraRyan at cox.net] Sent: Monday, June 06, 2005 4:58 AM To: Access List Subject: [AccessD] Replication Another question ---- I created a Design Master in Access 97 (when opened in Access 97, the title bar says "Design Master"). When I convert this Design Master to Access 2002, the title bar says "Replica". How can I convert a 97 Design Master to a 2002 Design Master? Thanks Again, Barb Ryan -- 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 Mon Jun 6 10:24:57 2005 From: roz.clarke at donnslaw.co.uk (Roz Clarke) Date: Mon, 6 Jun 2005 16:24:57 +0100 Subject: [AccessD] Help with a query Message-ID: <61F915314798D311A2F800A0C9C8318807225B04@dibble.observatory.donnslaw.co.uk> double click on the join in the QBE window, and select the appropriate option -----Original Message----- From: Joe Hecht [mailto:jmhecht at earthlink.net] Sent: 06 June 2005 15:53 To: 'Access Developers discussion and problem solving' Subject: RE: [AccessD] Help with a query I am building the query again as several queries to find records dropping out. How would I force all joins to be outer. Thanks Joe Hecht Los Angeles CA -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Roz Clarke Sent: Monday, June 06, 2005 7:51 AM To: 'Access Developers discussion and problem solving' Subject: RE: [AccessD] Help with a query Well, your WHERE clause is simple enough that it's unlikely to be the culprit. Have you tried making all your joins outer instead of inner, in case any information is missing from the child side? -----Original Message----- From: Joe Hecht [mailto:jmhecht at earthlink.net] Sent: 06 June 2005 15:41 To: 'Access Developers discussion and problem solving' Subject: RE: [AccessD] Help with a query You are right SELECT DISTINCTROW PurchaseOrders.PurchaseOrderID, Vendors.VendorName, Vendors.Address, Vendors.City, Vendors.State, Vendors.Zip, Vendors.Phone, Vendors.Fax, PurchaseOrders.DateOrdered, PurchaseOrders.DateRequired, PurchaseOrders.ShippingMethodID, Locations.LocationName, Locations.LocationAddress, Locations.LocationCity, Locations.LocationState, Locations.LocationZip, Locations.LocationPhone, Locations.LocationFax, [City] & " " & [State] & " " & [Zip] AS VendaddLine3, [LocationCity] & " " & [LocationState] & " " & [LocationZip] AS LocationAddLine3, [Shipping Methods].ShippingMethod, PurchaseOrders.Notes, PurchaseOrders.Initails, Locations.LocationID, Department.Department FROM Department INNER JOIN (Locations INNER JOIN ([Shipping Methods] INNER JOIN (Vendors INNER JOIN PurchaseOrders ON Vendors.VendorID = PurchaseOrders.VendorID) ON [Shipping Methods].ShippingMethodID = PurchaseOrders.ShippingMethodID) ON Locations.LocationID = PurchaseOrders.LocationID) ON Department.DeptID = PurchaseOrders.DeptID WHERE (((PurchaseOrders.PurchaseOrderID)=[Forms]![PurchaseOrders]![PurchaseOrderID ])); Joe Hecht Los Angeles CA -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Roz Clarke Sent: Monday, June 06, 2005 7:34 AM To: access at joe2.endjunk.com; 'Access Developers discussion and problem solving' Subject: RE: [AccessD] Help with a query your SQL would be helpful Joe -----Original Message----- From: Joe Hecht [mailto:jmhecht at earthlink.net] Sent: 06 June 2005 15:15 To: 'Access Developers discussion and problem solving' Subject: [AccessD] Help with a query I have a database where a query works with about 14 of almost 5000 records. I rewrote the query and still the same results I have added data in some fields that were missing data. Ant thoughts TIA 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 -------------- 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 jmhecht at earthlink.net Mon Jun 6 10:32:02 2005 From: jmhecht at earthlink.net (Joe Hecht) Date: Mon, 6 Jun 2005 08:32:02 -0700 Subject: [AccessD] Help with a query (Solved) Message-ID: <005901c56aac$e38d61e0$6401a8c0@laptop1> Thanks to Rocky, Roz and John C It was a join issue. Under their tutelage and Guidance I got it. THANK YOU Joe Hecht Los Angeles CA From john at winhaven.net Mon Jun 6 10:38:13 2005 From: john at winhaven.net (John Bartow) Date: Mon, 6 Jun 2005 10:38:13 -0500 Subject: [AccessD] Copyright stuff In-Reply-To: <200506061443.j56EhZM4400092@pimout2-ext.prodigy.net> Message-ID: <200506061538.j56FcGIK204482@pimout3-ext.prodigy.net> I found it! It was quite receently discussed. Do an archive search on "Copyright Ownership". HTH John -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of John Bartow Sent: Monday, June 06, 2005 9:44 AM To: 'Access Developers discussion and problem solving' Subject: RE: [AccessD] Copyright stuff Bobby, We've discussed it a bit before here and its a country specific question. Make sure you cover yourself in this venture because you will be the one answering all the questions! John B. -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Bobby Heid Sent: Monday, June 06, 2005 7:40 AM To: 'Access Developers discussion and problem solving' Subject: [AccessD] Copyright stuff Hey, I have an app that I wrote for a church. They are interested in selling it to some other local churches. They asked me to find out about copyrighting it. What do I need to know about copyrights? Thanks, Bobby -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From martyconnelly at shaw.ca Mon Jun 6 10:43:38 2005 From: martyconnelly at shaw.ca (MartyConnelly) Date: Mon, 06 Jun 2005 08:43:38 -0700 Subject: [AccessD] Copyright stuff References: Message-ID: <42A46F2A.2010005@shaw.ca> Copyright on software in US Just for Info. One other thing to do is file a copyright, you have a copyright automatically but you cannot sue for copyright infringement, unless it is registered with government This costs $30. You send in roughly first and last 25 pages of source code with blocked out trade secrets. Government processing time is six months. For US details see: Copyright Registration for Computer Programs http://www.copyright.gov/circs/circ61.html#deposit I suppose you could use SaveAsText to dump forms queries reports and modules to text files. If you sell MDE's you might want to escrow your source code, there are sevice sites that handle this, cost is about 100 -500 a year depending on dispersion and update practices. You could do this via your local attorney and a couple of CD's but I think it would leave the attorney scratching his head, if he doesn't do it on a regular basis. Charlotte Foust wrote: >LOL The name of a good attorney! Actually, in the absence of a >specific contract that states otherwise, YOU hold the copyright to the >software, the church doesn't. > >Charlotte Foust > > >-----Original Message----- >From: Bobby Heid [mailto:bheid at appdevgrp.com] >Sent: Monday, June 06, 2005 5:40 AM >To: 'Access Developers discussion and problem solving' >Subject: [AccessD] Copyright stuff > > >Hey, > >I have an app that I wrote for a church. They are interested in selling >it to some other local churches. They asked me to find out about >copyrighting it. What do I need to know about copyrights? > >Thanks, >Bobby > > > -- Marty Connelly Victoria, B.C. Canada From bheid at appdevgrp.com Mon Jun 6 11:19:50 2005 From: bheid at appdevgrp.com (Bobby Heid) Date: Mon, 6 Jun 2005 12:19:50 -0400 Subject: [AccessD] Copyright stuff In-Reply-To: <916187228923D311A6FE00A0CC3FAA30BDC544@ADGSERVER> Message-ID: <916187228923D311A6FE00A0CC3FAA30ABEBF4@ADGSERVER> Thanks all for the links and information, this will get me started. Bobby -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of MartyConnelly Sent: Monday, June 06, 2005 11:44 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Copyright stuff Copyright on software in US Just for Info. One other thing to do is file a copyright, you have a copyright automatically but you cannot sue for copyright infringement, unless it is registered with government This costs $30. You send in roughly first and last 25 pages of source code with blocked out trade secrets. Government processing time is six months. For US details see: Copyright Registration for Computer Programs http://www.copyright.gov/circs/circ61.html#deposit I suppose you could use SaveAsText to dump forms queries reports and modules to text files. If you sell MDE's you might want to escrow your source code, there are sevice sites that handle this, cost is about 100 -500 a year depending on dispersion and update practices. You could do this via your local attorney and a couple of CD's but I think it would leave the attorney scratching his head, if he doesn't do it on a regular basis. Charlotte Foust wrote: >LOL The name of a good attorney! Actually, in the absence of a >specific contract that states otherwise, YOU hold the copyright to the >software, the church doesn't. > >Charlotte Foust > > >-----Original Message----- >From: Bobby Heid [mailto:bheid at appdevgrp.com] >Sent: Monday, June 06, 2005 5:40 AM >To: 'Access Developers discussion and problem solving' >Subject: [AccessD] Copyright stuff > > >Hey, > >I have an app that I wrote for a church. They are interested in >selling it to some other local churches. They asked me to find out >about copyrighting it. What do I need to know about copyrights? > >Thanks, >Bobby > > > -- Marty Connelly Victoria, B.C. Canada From MarkBoyd at McBeeAssociates.com Mon Jun 6 11:31:04 2005 From: MarkBoyd at McBeeAssociates.com (Mark Boyd) Date: Mon, 6 Jun 2005 12:31:04 -0400 Subject: [AccessD] Excel Macro Automation from within Access Message-ID: <974F830FE464C14E8652F95E24DA663C043FA6@mail03.Mcbassoc.com> Thanks Jim. This is perfect! Mark Boyd I/S Supervisor McBee Associates, Inc. -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Hale, Jim Sent: Thursday, June 02, 2005 10:10 AM To: 'Access Developers discussion and problem solving' Subject: RE: [AccessD] Excel Macro Automation from within Access I think the sequence you are looking for is similar to this: Sub rpt_to_excel() Dim appExcel As Excel.Application, strpathname As String Dim strpathnew As String, strReport As String strpathname = "C:\test.xls" strpathnew = "C:\test2.xls" strReport = "rptInvsummary" DoCmd.OutputTo acOutputReport, strReport, acFormatXLS, strpathname Set appExcel = New Excel.Application 'format your report With appExcel .Workbooks.Open strpathname, 0 .Visible = True 'just to watch the sheet .Range("A1:G1").Select .Selection.Font.Bold = True .Selection.Font.Name = "Arial" .Selection.Font.Size = 12 .ActiveWorkbook.SaveAs Filename:=strpathnew, FileFormat:=xlNormal End With appExcel.Quit Set appExcel = Nothing End Sub This opens the file you output and saves it as a current version workbook under a new name. As you debug be aware of leaving orphan instances of Excel in memory. You can tell if any exist by placing the following script in notepad and running it: Dim objXL Dim strMessage On Error Resume Next ' Try to grab a running instance of ' Excel... Set objXL = GetObject(, "Excel.Application") ' What did we find?.. If Not TypeName(objXL) = "Empty" Then strMessage = "Excel Running." Else strMessage = "Excel Not Running." End If ' Feedback to user... MsgBox strMessage, vbInformation, "Excel Status" ' Make the Excel instance visible ' if we found one if strMessage = "Excel Running." then _ objXL.Visible = true -----Original Message----- From: Mark Boyd [mailto:MarkBoyd at mcbeeassociates.com] Sent: Wednesday, June 01, 2005 5:21 PM To: Access Developers discussion and problem solving Subject: RE: [AccessD] Excel Macro Automation from within Access Thanks Jim, this is pointing me in the right direction. The export process is as follows: 1. Export report to Excel 2. Format report w/ macro 3. Save formatting changes 4. Attach file to email message When using the SaveAs method, I'm prompted to overwrite the existing excel file (the one just formatted). Am I missing something in regard to the properties of the SaveAs method, that will allow me to save the existing, formatted file? If I select Yes to overwrite the existing file, all of the macro formats are lost. Mark Boyd I/S Supervisor McBee Associates, Inc. -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Hale, Jim Sent: Wednesday, June 01, 2005 3:40 PM To: 'Access Developers discussion and problem solving' Subject: RE: [AccessD] Excel Macro Automation from within Access Are you saving the file using code? Check out Excel's SaveAs method. It allows a fileformat parameter. I think xlWorkbookNormal is the correct one. 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. ----------------------------------------- This message and any attachments are intended only for the use of the individual or entity to which it is addressed and may contain information that is privileged, confidential, and exempt from disclosure under applicable law. If the reader of this message is not the intended recipient, or the employee or agent responsible for delivering the message to the intended recipient, you are hereby notified that any dissemination, distribution or copying of this communication is strictly prohibited. If you have received this communication in error, please notify the sender by replying to this message, and then delete it from your system. ------------------------------------------- From Jim.Hale at FleetPride.com Mon Jun 6 13:43:16 2005 From: Jim.Hale at FleetPride.com (Hale, Jim) Date: Mon, 6 Jun 2005 13:43:16 -0500 Subject: [AccessD] Excel Macro Automation from within Access Message-ID: <6A6AA9DF57E4F046BDA1E273BDDB6772337633@corp-es01.fleetpride.com> I'm glad it worked for you. I was thinking that you might want to add a Kill strpathname 'deletes original Excel sheet statement after the new copy has been saved so you are left with only the new copy. Jim Hale -----Original Message----- From: Mark Boyd [mailto:MarkBoyd at mcbeeassociates.com] Sent: Monday, June 06, 2005 11:31 AM To: Access Developers discussion and problem solving Subject: RE: [AccessD] Excel Macro Automation from within Access Thanks Jim. This is perfect! Mark Boyd I/S Supervisor McBee Associates, Inc. -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Hale, Jim Sent: Thursday, June 02, 2005 10:10 AM To: 'Access Developers discussion and problem solving' Subject: RE: [AccessD] Excel Macro Automation from within Access I think the sequence you are looking for is similar to this: Sub rpt_to_excel() Dim appExcel As Excel.Application, strpathname As String Dim strpathnew As String, strReport As String strpathname = "C:\test.xls" strpathnew = "C:\test2.xls" strReport = "rptInvsummary" DoCmd.OutputTo acOutputReport, strReport, acFormatXLS, strpathname Set appExcel = New Excel.Application 'format your report With appExcel .Workbooks.Open strpathname, 0 .Visible = True 'just to watch the sheet .Range("A1:G1").Select .Selection.Font.Bold = True .Selection.Font.Name = "Arial" .Selection.Font.Size = 12 .ActiveWorkbook.SaveAs Filename:=strpathnew,FileFormat:=xlNormal End With appExcel.Quit Set appExcel = Nothing End Sub This opens the file you output and saves it as a current version workbook under a new name. As you debug be aware of leaving orphan instances of Excel in memory. You can tell if any exist by placing the following script in notepad and running it: Dim objXL Dim strMessage On Error Resume Next ' Try to grab a running instance of ' Excel... Set objXL = GetObject(, "Excel.Application") ' What did we find?.. If Not TypeName(objXL) = "Empty" Then strMessage = "Excel Running." Else strMessage = "Excel Not Running." End If ' Feedback to user... MsgBox strMessage, vbInformation, "Excel Status" ' Make the Excel instance visible ' if we found one if strMessage = "Excel Running." then _ objXL.Visible = true -----Original Message----- From: Mark Boyd [mailto:MarkBoyd at mcbeeassociates.com] Sent: Wednesday, June 01, 2005 5:21 PM To: Access Developers discussion and problem solving Subject: RE: [AccessD] Excel Macro Automation from within Access Thanks Jim, this is pointing me in the right direction. The export process is as follows: 1. Export report to Excel 2. Format report w/ macro 3. Save formatting changes 4. Attach file to email message When using the SaveAs method, I'm prompted to overwrite the existing excel file (the one just formatted). Am I missing something in regard to the properties of the SaveAs method, that will allow me to save the existing, formatted file? If I select Yes to overwrite the existing file, all of the macro formats are lost. Mark Boyd I/S Supervisor McBee Associates, Inc. *********************************************************************** 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 MarkBoyd at McBeeAssociates.com Mon Jun 6 13:55:51 2005 From: MarkBoyd at McBeeAssociates.com (Mark Boyd) Date: Mon, 6 Jun 2005 14:55:51 -0400 Subject: [AccessD] Excel Macro Automation from within Access Message-ID: <974F830FE464C14E8652F95E24DA663C043FAF@mail03.Mcbassoc.com> Great idea. I wasn't aware of the Kill statement. My plan was to shell a batch file to delete it, but this is much easier. Thanks again, Mark Boyd I/S Supervisor McBee Associates, Inc. -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Hale, Jim Sent: Monday, June 06, 2005 2:43 PM To: 'Access Developers discussion and problem solving' Subject: RE: [AccessD] Excel Macro Automation from within Access I'm glad it worked for you. I was thinking that you might want to add a Kill strpathname 'deletes original Excel sheet statement after the new copy has been saved so you are left with only the new copy. Jim Hale -----Original Message----- From: Mark Boyd [mailto:MarkBoyd at mcbeeassociates.com] Sent: Monday, June 06, 2005 11:31 AM To: Access Developers discussion and problem solving Subject: RE: [AccessD] Excel Macro Automation from within Access Thanks Jim. This is perfect! Mark Boyd I/S Supervisor McBee Associates, Inc. -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Hale, Jim Sent: Thursday, June 02, 2005 10:10 AM To: 'Access Developers discussion and problem solving' Subject: RE: [AccessD] Excel Macro Automation from within Access I think the sequence you are looking for is similar to this: Sub rpt_to_excel() Dim appExcel As Excel.Application, strpathname As String Dim strpathnew As String, strReport As String strpathname = "C:\test.xls" strpathnew = "C:\test2.xls" strReport = "rptInvsummary" DoCmd.OutputTo acOutputReport, strReport, acFormatXLS, strpathname Set appExcel = New Excel.Application 'format your report With appExcel .Workbooks.Open strpathname, 0 .Visible = True 'just to watch the sheet .Range("A1:G1").Select .Selection.Font.Bold = True .Selection.Font.Name = "Arial" .Selection.Font.Size = 12 .ActiveWorkbook.SaveAs Filename:=strpathnew,FileFormat:=xlNormal End With appExcel.Quit Set appExcel = Nothing End Sub This opens the file you output and saves it as a current version workbook under a new name. As you debug be aware of leaving orphan instances of Excel in memory. You can tell if any exist by placing the following script in notepad and running it: Dim objXL Dim strMessage On Error Resume Next ' Try to grab a running instance of ' Excel... Set objXL = GetObject(, "Excel.Application") ' What did we find?.. If Not TypeName(objXL) = "Empty" Then strMessage = "Excel Running." Else strMessage = "Excel Not Running." End If ' Feedback to user... MsgBox strMessage, vbInformation, "Excel Status" ' Make the Excel instance visible ' if we found one if strMessage = "Excel Running." then _ objXL.Visible = true -----Original Message----- From: Mark Boyd [mailto:MarkBoyd at mcbeeassociates.com] Sent: Wednesday, June 01, 2005 5:21 PM To: Access Developers discussion and problem solving Subject: RE: [AccessD] Excel Macro Automation from within Access Thanks Jim, this is pointing me in the right direction. The export process is as follows: 1. Export report to Excel 2. Format report w/ macro 3. Save formatting changes 4. Attach file to email message When using the SaveAs method, I'm prompted to overwrite the existing excel file (the one just formatted). Am I missing something in regard to the properties of the SaveAs method, that will allow me to save the existing, formatted file? If I select Yes to overwrite the existing file, all of the macro formats are lost. Mark Boyd I/S Supervisor McBee Associates, Inc. *********************************************************************** 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. ----------------------------------------- This message and any attachments are intended only for the use of the individual or entity to which it is addressed and may contain information that is privileged, confidential, and exempt from disclosure under applicable law. If the reader of this message is not the intended recipient, or the employee or agent responsible for delivering the message to the intended recipient, you are hereby notified that any dissemination, distribution or copying of this communication is strictly prohibited. If you have received this communication in error, please notify the sender by replying to this message, and then delete it from your system. ------------------------------------------- From Jim.Hale at FleetPride.com Mon Jun 6 14:00:46 2005 From: Jim.Hale at FleetPride.com (Hale, Jim) Date: Mon, 6 Jun 2005 14:00:46 -0500 Subject: [AccessD] Excel Macro Automation from within Access Message-ID: <6A6AA9DF57E4F046BDA1E273BDDB6772337634@corp-es01.fleetpride.com> Just make sure before you kill it that the other file was successfully created :-> Jim Hale -----Original Message----- From: Mark Boyd [mailto:MarkBoyd at mcbeeassociates.com] Sent: Monday, June 06, 2005 1:56 PM To: Access Developers discussion and problem solving Subject: RE: [AccessD] Excel Macro Automation from within Access Great idea. I wasn't aware of the Kill statement. My plan was to shell a batch file to delete it, but this is much easier. Thanks again, Mark Boyd I/S Supervisor McBee Associates, Inc. -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Hale, Jim Sent: Monday, June 06, 2005 2:43 PM To: 'Access Developers discussion and problem solving' Subject: RE: [AccessD] Excel Macro Automation from within Access I'm glad it worked for you. I was thinking that you might want to add a Kill strpathname 'deletes original Excel sheet statement after the new copy has been saved so you are left with only the new copy. Jim Hale -----Original Message----- From: Mark Boyd [mailto:MarkBoyd at mcbeeassociates.com] Sent: Monday, June 06, 2005 11:31 AM To: Access Developers discussion and problem solving Subject: RE: [AccessD] Excel Macro Automation from within Access Thanks Jim. This is perfect! Mark Boyd I/S Supervisor McBee Associates, Inc. -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Hale, Jim Sent: Thursday, June 02, 2005 10:10 AM To: 'Access Developers discussion and problem solving' Subject: RE: [AccessD] Excel Macro Automation from within Access I think the sequence you are looking for is similar to this: Sub rpt_to_excel() Dim appExcel As Excel.Application, strpathname As String Dim strpathnew As String, strReport As String strpathname = "C:\test.xls" strpathnew = "C:\test2.xls" strReport = "rptInvsummary" DoCmd.OutputTo acOutputReport, strReport, acFormatXLS, strpathname Set appExcel = New Excel.Application 'format your report With appExcel .Workbooks.Open strpathname, 0 .Visible = True 'just to watch the sheet .Range("A1:G1").Select .Selection.Font.Bold = True .Selection.Font.Name = "Arial" .Selection.Font.Size = 12 .ActiveWorkbook.SaveAs Filename:=strpathnew,FileFormat:=xlNormal End With appExcel.Quit Set appExcel = Nothing End Sub This opens the file you output and saves it as a current version workbook under a new name. As you debug be aware of leaving orphan instances of Excel in memory. You can tell if any exist by placing the following script in notepad and running it: Dim objXL Dim strMessage On Error Resume Next ' Try to grab a running instance of ' Excel... Set objXL = GetObject(, "Excel.Application") ' What did we find?.. If Not TypeName(objXL) = "Empty" Then strMessage = "Excel Running." Else strMessage = "Excel Not Running." End If ' Feedback to user... MsgBox strMessage, vbInformation, "Excel Status" ' Make the Excel instance visible ' if we found one if strMessage = "Excel Running." then _ objXL.Visible = true -----Original Message----- From: Mark Boyd [mailto:MarkBoyd at mcbeeassociates.com] Sent: Wednesday, June 01, 2005 5:21 PM To: Access Developers discussion and problem solving Subject: RE: [AccessD] Excel Macro Automation from within Access Thanks Jim, this is pointing me in the right direction. The export process is as follows: 1. Export report to Excel 2. Format report w/ macro 3. Save formatting changes 4. Attach file to email message When using the SaveAs method, I'm prompted to overwrite the existing excel file (the one just formatted). Am I missing something in regard to the properties of the SaveAs method, that will allow me to save the existing, formatted file? If I select Yes to overwrite the existing file, all of the macro formats are lost. Mark Boyd I/S Supervisor McBee Associates, Inc. *********************************************************************** 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. ----------------------------------------- This message and any attachments are intended only for the use of the individual or entity to which it is addressed and may contain information that is privileged, confidential, and exempt from disclosure under applicable law. If the reader of this message is not the intended recipient, or the employee or agent responsible for delivering the message to the intended recipient, you are hereby notified that any dissemination, distribution or copying of this communication is strictly prohibited. If you have received this communication in error, please notify the sender by replying to this message, and then delete it from your system. ------------------------------------------- -- 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 erbachs at gmail.com Mon Jun 6 16:21:45 2005 From: erbachs at gmail.com (Steve Erbach) Date: Mon, 6 Jun 2005 16:21:45 -0500 Subject: [AccessD] Access security question Message-ID: <39cb22f30506061421710cef34@mail.gmail.com> Dear Group, I've converted an application to Access 2000 for a client. This application is running on single user workstations at about a half dozen places around the U.S. The question my client has is this: Lets say that the tables in the BE have Access security invoked. If the FE/BE is distributed in MDE format with Access Runtime, can a user with a full-bore package of Access start the application, break out of it, and wind up with all the tables available to him for editing, etc? This is provided that the security is administered by the software so that the actual security password is not known by the user. Only user names and application passwords would be known. Or is it even possible for the application to handle Access security like this. That is, can Access security work without a user explicitly typing in a password? Thank you. Regards, Steve Erbach Scientific Marketing Neenah, WI www.swerbach.com Security Page: www.swerbach.com/security From cfoust at infostatsystems.com Mon Jun 6 16:34:24 2005 From: cfoust at infostatsystems.com (Charlotte Foust) Date: Mon, 6 Jun 2005 14:34:24 -0700 Subject: [AccessD] Access security question Message-ID: They can if the BE is not adequately secured, which means at the least that the admin user is stripped of permissions and put in the users group rather than the admins group. Charlotte Foust -----Original Message----- From: Steve Erbach [mailto:erbachs at gmail.com] Sent: Monday, June 06, 2005 2:22 PM To: Access Developers discussion and problem solving Subject: [AccessD] Access security question Dear Group, I've converted an application to Access 2000 for a client. This application is running on single user workstations at about a half dozen places around the U.S. The question my client has is this: Lets say that the tables in the BE have Access security invoked. If the FE/BE is distributed in MDE format with Access Runtime, can a user with a full-bore package of Access start the application, break out of it, and wind up with all the tables available to him for editing, etc? This is provided that the security is administered by the software so that the actual security password is not known by the user. Only user names and application passwords would be known. Or is it even possible for the application to handle Access security like this. That is, can Access security work without a user explicitly typing in a password? Thank you. Regards, Steve Erbach Scientific Marketing Neenah, WI www.swerbach.com Security Page: www.swerbach.com/security -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From jimdettman at earthlink.net Mon Jun 6 16:50:52 2005 From: jimdettman at earthlink.net (Jim Dettman) Date: Mon, 6 Jun 2005 17:50:52 -0400 Subject: [AccessD] Access security question In-Reply-To: <39cb22f30506061421710cef34@mail.gmail.com> Message-ID: Steve, <> Yes it can. Access security is always "on", it's just that you don't get a password prompt if the admin user has a blank password (JET always attempts a logon with username admin and a blank password when it first tries to open a database). <> Without Access user level security in place on the BE tables, yes. To prevent that, they need to be properly secured with user level security and all the queries will need RWO (Run with owner permissions) set or you need to open a workspace object with the correct username/password in code. Jim. -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Steve Erbach Sent: Monday, June 06, 2005 5:22 PM To: Access Developers discussion and problem solving Subject: [AccessD] Access security question Dear Group, I've converted an application to Access 2000 for a client. This application is running on single user workstations at about a half dozen places around the U.S. The question my client has is this: Lets say that the tables in the BE have Access security invoked. If the FE/BE is distributed in MDE format with Access Runtime, can a user with a full-bore package of Access start the application, break out of it, and wind up with all the tables available to him for editing, etc? This is provided that the security is administered by the software so that the actual security password is not known by the user. Only user names and application passwords would be known. Or is it even possible for the application to handle Access security like this. That is, can Access security work without a user explicitly typing in a password? Thank you. Regards, Steve Erbach Scientific Marketing Neenah, WI www.swerbach.com Security Page: www.swerbach.com/security -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From darsant at gmail.com Mon Jun 6 17:23:01 2005 From: darsant at gmail.com (Josh McFarlane) Date: Mon, 6 Jun 2005 17:23:01 -0500 Subject: [AccessD] Access security question In-Reply-To: References: <39cb22f30506061421710cef34@mail.gmail.com> Message-ID: <53c8e05a0506061523523a63be@mail.gmail.com> On 6/6/05, Jim Dettman wrote: > Steve, > > < like this. That is, can Access security work without a user explicitly > typing in a password?>> > > Yes it can. Access security is always "on", it's just that you don't get > a password prompt if the admin user has a blank password (JET always > attempts a logon with username admin and a blank password when it first > tries to open a database). > > < say that the tables in the BE have Access security invoked. If the > FE/BE is distributed in MDE format with Access Runtime, can a user > with a full-bore package of Access start the application, break out of > it, and wind up with all the tables available to him for editing, etc? > This is provided that the security is administered by the software so > that the actual security password is not known by the user. Only user > names and application passwords would be known.>> > > Without Access user level security in place on the BE tables, yes. To > prevent that, they need to be properly secured with user level security and > all the queries will need RWO (Run with owner permissions) set or you need > to open a workspace object with the correct username/password in code. > > Jim. Here's another access security question: In terms of front-end security, can a front-end truly be locked down to force a user to remain in the GUI and abide by it's code? Coding in C++ with an interface to an Access backend allows you to allow the user to only work in the program your way, without tinkering with the tables (you can always password protect the Access database then encode the password into the program itself). However, in also using Access as a front end, it seems to me that a user could still break out the loop and use whatever queries had write access to manually go in and mess around with things, sometimes allowing a bypass of a transaction log. Can Access be locked down so someone who knows a thing or two about Access can't modify data directly? Thanks, Josh McFarlane "Peace cannot be kept by force. It can only be achieved by understanding." -Albert Einstein From KIsmert at texassystems.com Mon Jun 6 18:27:53 2005 From: KIsmert at texassystems.com (Ken Ismert) Date: Mon, 6 Jun 2005 18:27:53 -0500 Subject: [AccessD] Copyright stuff Message-ID: Bobby, Given the charitable nature of the organizations that the software is intended for, you might consider copyrighting it under one of several open source licenses, and giving it away. The copyright is still vital, because it establishes authorship, and, depending on the type of license, places limits on how the software can be used. Also, note that going open source does not preclude the possibility of making money. The focus merely shifts from selling software to selling services and support around the software. The software then becomes a tool for gaining market penetration, an makes you, the author, the logical person to go to for conversions, training, paid extensions, etc. Open Source Initiative http://www.opensource.org/ Free Software Foundation: http://www.fsf.org/ -Ken -----Original Message----- From: Bobby Heid [mailto:bheid at appdevgrp.com] Sent: Monday, June 06, 2005 11:20 AM To: 'Access Developers discussion and problem solving' Subject: RE: [AccessD] Copyright stuff Thanks all for the links and information, this will get me started. Bobby From relations at rescom.cc Mon Jun 6 18:37:37 2005 From: relations at rescom.cc (Res-Com Environmental) Date: Mon, 6 Jun 2005 16:37:37 -0700 Subject: [AccessD] Insert Access Info Into Web page Message-ID: 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 From paul.hartland at isharp.co.uk Tue Jun 7 02:21:22 2005 From: paul.hartland at isharp.co.uk (Paul Hartland (ISHARP)) Date: Tue, 7 Jun 2005 08:21:22 +0100 Subject: [AccessD] Access security question In-Reply-To: Message-ID: Talking of Access security, can someone tell me a good point of reference for a novice in Access security to get started. I have tinkered about with it before for a very short while without much success. Basically I think I am looking for some sort of total idiots guide to Access Security.... Help/sample web pages etc greatly appreciated.... Paul Hartland -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Charlotte Foust Sent: 06 June 2005 22:34 To: Access Developers discussion and problem solving Subject: RE: [AccessD] Access security question They can if the BE is not adequately secured, which means at the least that the admin user is stripped of permissions and put in the users group rather than the admins group. Charlotte Foust -----Original Message----- From: Steve Erbach [mailto:erbachs at gmail.com] Sent: Monday, June 06, 2005 2:22 PM To: Access Developers discussion and problem solving Subject: [AccessD] Access security question Dear Group, I've converted an application to Access 2000 for a client. This application is running on single user workstations at about a half dozen places around the U.S. The question my client has is this: Lets say that the tables in the BE have Access security invoked. If the FE/BE is distributed in MDE format with Access Runtime, can a user with a full-bore package of Access start the application, break out of it, and wind up with all the tables available to him for editing, etc? This is provided that the security is administered by the software so that the actual security password is not known by the user. Only user names and application passwords would be known. Or is it even possible for the application to handle Access security like this. That is, can Access security work without a user explicitly typing in a password? Thank you. Regards, Steve Erbach Scientific Marketing Neenah, WI www.swerbach.com Security Page: www.swerbach.com/security -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd 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 fsmail.net Tue Jun 7 02:36:00 2005 From: paul.hartland at fsmail.net (paul.hartland at fsmail.net) Date: Tue, 7 Jun 2005 09:36:00 +0200 (CEST) Subject: [AccessD] More MapPoint Help If Possible Message-ID: <8071615.1118129760195.JavaMail.www@wwinf3101> To all, Firstly many thanks for all the MapPoint help already given. What I would like to know is what would be the fastest way to send a Client Postcode and around 450 Employee postcodes to either an ActiveX or API call with MapPoint and return the mileage from the Client for every employee. I have played around a little bit but it seems slow so I am probably doing something wrong. Many thanks in advance once again for any help on this..... -- Whatever you Wanadoo: http://www.wanadoo.co.uk/time/ This email has been checked for most known viruses - find out more at: http://www.wanadoo.co.uk/help/id/7098.htm From KP at sdsonline.net Tue Jun 7 04:02:25 2005 From: KP at sdsonline.net (Kath Pelletti) Date: Tue, 7 Jun 2005 19:02:25 +1000 Subject: [AccessD] Access security question References: Message-ID: <004401c56b3f$a0e41120$6601a8c0@user> Hi Paul - here's the link for the Access security FAQ. http://support.microsoft.com/support/access/content/secfaq.asp HTH Kath ----- Original Message ----- From: Paul Hartland (ISHARP) To: 'Access Developers discussion and problem solving' Sent: Tuesday, June 07, 2005 5:21 PM Subject: RE: [AccessD] Access security question Talking of Access security, can someone tell me a good point of reference for a novice in Access security to get started. I have tinkered about with it before for a very short while without much success. Basically I think I am looking for some sort of total idiots guide to Access Security.... Help/sample web pages etc greatly appreciated.... Paul Hartland -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Charlotte Foust Sent: 06 June 2005 22:34 To: Access Developers discussion and problem solving Subject: RE: [AccessD] Access security question They can if the BE is not adequately secured, which means at the least that the admin user is stripped of permissions and put in the users group rather than the admins group. Charlotte Foust -----Original Message----- From: Steve Erbach [mailto:erbachs at gmail.com] Sent: Monday, June 06, 2005 2:22 PM To: Access Developers discussion and problem solving Subject: [AccessD] Access security question Dear Group, I've converted an application to Access 2000 for a client. This application is running on single user workstations at about a half dozen places around the U.S. The question my client has is this: Lets say that the tables in the BE have Access security invoked. If the FE/BE is distributed in MDE format with Access Runtime, can a user with a full-bore package of Access start the application, break out of it, and wind up with all the tables available to him for editing, etc? This is provided that the security is administered by the software so that the actual security password is not known by the user. Only user names and application passwords would be known. Or is it even possible for the application to handle Access security like this. That is, can Access security work without a user explicitly typing in a password? Thank you. Regards, Steve Erbach Scientific Marketing Neenah, WI www.swerbach.com Security Page: www.swerbach.com/security -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd 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 Jun 7 04:12:35 2005 From: paul.hartland at isharp.co.uk (Paul Hartland (ISHARP)) Date: Tue, 7 Jun 2005 10:12:35 +0100 Subject: [AccessD] Access security question In-Reply-To: <004401c56b3f$a0e41120$6601a8c0@user> Message-ID: Thanks will look into it -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Kath Pelletti Sent: 07 June 2005 10:02 To: Access Developers discussion and problem solving Subject: Re: [AccessD] Access security question Hi Paul - here's the link for the Access security FAQ. http://support.microsoft.com/support/access/content/secfaq.asp HTH Kath ----- Original Message ----- From: Paul Hartland (ISHARP) To: 'Access Developers discussion and problem solving' Sent: Tuesday, June 07, 2005 5:21 PM Subject: RE: [AccessD] Access security question Talking of Access security, can someone tell me a good point of reference for a novice in Access security to get started. I have tinkered about with it before for a very short while without much success. Basically I think I am looking for some sort of total idiots guide to Access Security.... Help/sample web pages etc greatly appreciated.... Paul Hartland -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Charlotte Foust Sent: 06 June 2005 22:34 To: Access Developers discussion and problem solving Subject: RE: [AccessD] Access security question They can if the BE is not adequately secured, which means at the least that the admin user is stripped of permissions and put in the users group rather than the admins group. Charlotte Foust -----Original Message----- From: Steve Erbach [mailto:erbachs at gmail.com] Sent: Monday, June 06, 2005 2:22 PM To: Access Developers discussion and problem solving Subject: [AccessD] Access security question Dear Group, I've converted an application to Access 2000 for a client. This application is running on single user workstations at about a half dozen places around the U.S. The question my client has is this: Lets say that the tables in the BE have Access security invoked. If the FE/BE is distributed in MDE format with Access Runtime, can a user with a full-bore package of Access start the application, break out of it, and wind up with all the tables available to him for editing, etc? This is provided that the security is administered by the software so that the actual security password is not known by the user. Only user names and application passwords would be known. Or is it even possible for the application to handle Access security like this. That is, can Access security work without a user explicitly typing in a password? Thank you. Regards, Steve Erbach Scientific Marketing Neenah, WI www.swerbach.com Security Page: www.swerbach.com/security -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From mmattys at rochester.rr.com Tue Jun 7 05:33:26 2005 From: mmattys at rochester.rr.com (Michael R Mattys) Date: Tue, 7 Jun 2005 06:33:26 -0400 Subject: [AccessD] More MapPoint Help If Possible References: <8071615.1118129760195.JavaMail.www@wwinf3101> Message-ID: <013601c56b4c$58b99110$0202a8c0@default> Paul, It's best to have the map _not_ visible, or at least locked from refreshing, when processing that much data. The graphics in MapPoint are spectacular, but they take a lot of resources. Also, allow MapPoint's own Import Wizard to do the work when possible. It will make the fastest routine you have look silly ... and the more data you feed it, the faster it goes! ---- Michael R. Mattys Mattys MapLib for Microsoft MapPoint http://www.mattysconsulting.com From Gustav at cactus.dk Tue Jun 7 06:41:48 2005 From: Gustav at cactus.dk (Gustav Brock) Date: Tue, 07 Jun 2005 13:41:48 +0200 Subject: [AccessD] Access security question Message-ID: Hi Paul There's a book on the subject: http://www.vb123.com/toolshed/00_accvb/accesssecurity.htm /gustav >>> paul.hartland at isharp.co.uk 06/07 9:21 am >>> Talking of Access security, can someone tell me a good point of reference for a novice in Access security to get started. I have tinkered about with it before for a very short while without much success. Basically I think I am looking for some sort of total idiots guide to Access Security.... Help/sample web pages etc greatly appreciated.... Paul Hartland From erbachs at gmail.com Tue Jun 7 06:46:55 2005 From: erbachs at gmail.com (Steve Erbach) Date: Tue, 7 Jun 2005 06:46:55 -0500 Subject: [AccessD] Access security question In-Reply-To: References: Message-ID: <39cb22f305060704465e9785a8@mail.gmail.com> Charlotte, Jim, and Kath, Thanks for the clear responses and resources. I appreciate it. Steve Erbach On 6/6/05, Charlotte Foust wrote: > They can if the BE is not adequately secured, which means at the least > that the admin user is stripped of permissions and put in the users > group rather than the admins group. > > Charlotte Foust Without Access user level security in place on the BE tables, yes. To prevent that, they need to be properly secured with user level security and all the queries will need RWO (Run with owner permissions) set or you need to open a workspace object with the correct username/password in code. Jim. here's the link for the Access security FAQ. http://support.microsoft.com/support/access/content/secfaq.asp HTH Kath From paul.hartland at isharp.co.uk Tue Jun 7 06:48:30 2005 From: paul.hartland at isharp.co.uk (Paul Hartland (ISHARP)) Date: Tue, 7 Jun 2005 12:48:30 +0100 Subject: [AccessD] Access security question In-Reply-To: Message-ID: Thanks will look into that as well, really need to get upto speed on Access Security. -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Gustav Brock Sent: 07 June 2005 12:42 To: accessd at databaseadvisors.com Subject: RE: [AccessD] Access security question Hi Paul There's a book on the subject: http://www.vb123.com/toolshed/00_accvb/accesssecurity.htm /gustav >>> paul.hartland at isharp.co.uk 06/07 9:21 am >>> Talking of Access security, can someone tell me a good point of reference for a novice in Access security to get started. I have tinkered about with it before for a very short while without much success. Basically I think I am looking for some sort of total idiots guide to Access Security.... Help/sample web pages etc greatly appreciated.... Paul Hartland -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From jimdettman at earthlink.net Tue Jun 7 07:05:26 2005 From: jimdettman at earthlink.net (Jim Dettman) Date: Tue, 7 Jun 2005 08:05:26 -0400 Subject: [AccessD] Access security question In-Reply-To: <53c8e05a0506061523523a63be@mail.gmail.com> Message-ID: Josh, First let me say that the security in Access has always been weak. If security is a concern, then you need to be using something other then Access/JET. This is even outside of the fact that cracking tools for both database and user level security are now widespread, which makes talking about Access security at all a rather moot point. I don't use it at all any more. It's not worth the effort. Second, keep in mind that we are talking about JET as the database engine, not with SQL server as the BE. <> Yes. <> It depends on how you set things up. If you open workspace objects in code and access the tables that way and your distributing as a mde, then there is no way for them to get at them other then through the FE. If you setup queries to run with owner permissions, then you must keep them out of the database container. That still partially works as they won't be able to open the tables directly, but they will be able to execute any of the queries. I see someone has already posted the link to the FAQ, which is the #1 resource for the security stuff. Give it a read if you have time. Jim. -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Josh McFarlane Sent: Monday, June 06, 2005 6:23 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Access security question On 6/6/05, Jim Dettman wrote: > Steve, > > < like this. That is, can Access security work without a user explicitly > typing in a password?>> > > Yes it can. Access security is always "on", it's just that you don't get > a password prompt if the admin user has a blank password (JET always > attempts a logon with username admin and a blank password when it first > tries to open a database). > > < say that the tables in the BE have Access security invoked. If the > FE/BE is distributed in MDE format with Access Runtime, can a user > with a full-bore package of Access start the application, break out of > it, and wind up with all the tables available to him for editing, etc? > This is provided that the security is administered by the software so > that the actual security password is not known by the user. Only user > names and application passwords would be known.>> > > Without Access user level security in place on the BE tables, yes. To > prevent that, they need to be properly secured with user level security and > all the queries will need RWO (Run with owner permissions) set or you need > to open a workspace object with the correct username/password in code. > > Jim. Here's another access security question: In terms of front-end security, can a front-end truly be locked down to force a user to remain in the GUI and abide by it's code? Coding in C++ with an interface to an Access backend allows you to allow the user to only work in the program your way, without tinkering with the tables (you can always password protect the Access database then encode the password into the program itself). However, in also using Access as a front end, it seems to me that a user could still break out the loop and use whatever queries had write access to manually go in and mess around with things, sometimes allowing a bypass of a transaction log. Can Access be locked down so someone who knows a thing or two about Access can't modify data directly? Thanks, 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 BarbaraRyan at cox.net Tue Jun 7 07:35:16 2005 From: BarbaraRyan at cox.net (Barbara Ryan) Date: Tue, 7 Jun 2005 08:35:16 -0400 Subject: [AccessD] Replication Manager Message-ID: <003701c56b5d$5bd5dc80$0a00a8c0@cx470148a> Where I can I find Replication Manager for Access 2002? Is it a separate interface from the Replication option under Tools in Access 2002? I can't seem to locate it on the Office XP Pro installation CD. Thanks, Barb Ryan From spikee at oatlandspark.org.uk Tue Jun 7 07:43:34 2005 From: spikee at oatlandspark.org.uk (Chris Foote (Spike)) Date: Tue, 7 Jun 2005 13:43:34 +0100 Subject: [AccessD] Access-based website "hit" analyser? Message-ID: Hello listers! Has anyone got, or know where I can find an Access based "hit" analyser for an Apache web server. I'm looking for something to analyse the text log files that I get e-mailed every 24hours. I could craft my own, but if there is an existing app. that I could use as a basis... Regards Chris Foote - UK From Chester_Kaup at kindermorgan.com Tue Jun 7 08:54:37 2005 From: Chester_Kaup at kindermorgan.com (Kaup, Chester) Date: Tue, 7 Jun 2005 08:54:37 -0500 Subject: [AccessD] Code to open table fails Message-ID: I have used this code in many Access 2003 databases successfully. Just tried it in a 2003 version database and it will not open the table. I have checked and the table exists and name matched. I can open the table no problem from the table list. What may be happening here? Sub TableNames() Set MyDB = CurrentDb() Set AllTableDefs = MyDB.TableDefs Set myds = MyDB.OpenRecordset("tbl Table Definitions", dbOpenTable) Chester Kaup Engineering Technician Kinder Morgan CO2 Company, LLP Office (432) 688-3797 FAX (432) 688-3799 From jeffrey.demulling at usbank.com Tue Jun 7 09:10:31 2005 From: jeffrey.demulling at usbank.com (jeffrey.demulling at usbank.com) Date: Tue, 7 Jun 2005 09:10:31 -0500 Subject: [AccessD] Code to open table fails In-Reply-To: Message-ID: Check your references to make sure DAO is selected and then declare your variables as follows: Dim MyDB as DAO.Database Dim AllTableDefs as DAO.TableDef Dim myds as DAO.Recordset Jeffrey F. Demulling Project Manager U.S. Bank Corporate Trust Services 60 Livingston Avenue EP-MN-WS3C St. Paul, MN 55107-2292 Ph: 651-495-3925 Fax: 651-495-8103 email: jeffrey.demulling at usbank.com "Kaup, Chester" To Sent by: accessd at databaseadvisors.com accessd-bounces at d cc atabaseadvisors.c om Subject [AccessD] Code to open table fails 06/07/2005 08:54 AM Please respond to "Access Developers discussion and problem solving" I have used this code in many Access 2003 databases successfully. Just tried it in a 2003 version database and it will not open the table. I have checked and the table exists and name matched. I can open the table no problem from the table list. What may be happening here? Sub TableNames() Set MyDB = CurrentDb() Set AllTableDefs = MyDB.TableDefs Set myds = MyDB.OpenRecordset("tbl Table Definitions", dbOpenTable) Chester Kaup Engineering Technician Kinder Morgan CO2 Company, LLP Office (432) 688-3797 FAX (432) 688-3799 -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From bheid at appdevgrp.com Tue Jun 7 09:14:52 2005 From: bheid at appdevgrp.com (Bobby Heid) Date: Tue, 7 Jun 2005 10:14:52 -0400 Subject: [AccessD] Code to open table fails In-Reply-To: <916187228923D311A6FE00A0CC3FAA30BDC6B6@ADGSERVER> Message-ID: <916187228923D311A6FE00A0CC3FAA30ABEBFA@ADGSERVER> What error message are you getting? Do you have a reference set to DAO instead of the default ADO? If you have a reference to both ADO and DAO, is the DAO first? Bobby -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Kaup, Chester Sent: Tuesday, June 07, 2005 9:55 AM To: accessd at databaseadvisors.com Subject: [AccessD] Code to open table fails I have used this code in many Access 2003 databases successfully. Just tried it in a 2003 version database and it will not open the table. I have checked and the table exists and name matched. I can open the table no problem from the table list. What may be happening here? Sub TableNames() Set MyDB = CurrentDb() Set AllTableDefs = MyDB.TableDefs Set myds = MyDB.OpenRecordset("tbl Table Definitions", dbOpenTable) Chester Kaup Engineering Technician Kinder Morgan CO2 Company, LLP Office (432) 688-3797 FAX (432) 688-3799 -- 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 Jun 7 09:21:42 2005 From: Lambert.Heenan at AIG.com (Heenan, Lambert) Date: Tue, 7 Jun 2005 10:21:42 -0400 Subject: [AccessD] Code to open table fails Message-ID: <1D7828CDB8350747AFE9D69E0E90DA1F1121425A@xlivmbx21.aig.com> Could it be as simple as the spaces in the table name? Have you tried... Set myds = MyDB.OpenRecordset("[tbl Table Definitions]", dbOpenTable) ...? Lambert -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Kaup, Chester Sent: Tuesday, June 07, 2005 9:55 AM To: accessd at databaseadvisors.com Subject: [AccessD] Code to open table fails I have used this code in many Access 2003 databases successfully. Just tried it in a 2003 version database and it will not open the table. I have checked and the table exists and name matched. I can open the table no problem from the table list. What may be happening here? Sub TableNames() Set MyDB = CurrentDb() Set AllTableDefs = MyDB.TableDefs Set myds = MyDB.OpenRecordset("tbl Table Definitions", dbOpenTable) Chester Kaup Engineering Technician Kinder Morgan CO2 Company, LLP Office (432) 688-3797 FAX (432) 688-3799 -- 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 Jun 7 09:21:44 2005 From: Chester_Kaup at kindermorgan.com (Kaup, Chester) Date: Tue, 7 Jun 2005 09:21:44 -0500 Subject: [AccessD] Code to open table fails Message-ID: Thanks! That was it. -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of jeffrey.demulling at usbank.com Sent: Tuesday, June 07, 2005 9:11 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Code to open table fails Check your references to make sure DAO is selected and then declare your variables as follows: Dim MyDB as DAO.Database Dim AllTableDefs as DAO.TableDef Dim myds as DAO.Recordset Jeffrey F. Demulling Project Manager U.S. Bank Corporate Trust Services 60 Livingston Avenue EP-MN-WS3C St. Paul, MN 55107-2292 Ph: 651-495-3925 Fax: 651-495-8103 email: jeffrey.demulling at usbank.com "Kaup, Chester" To Sent by: accessd at databaseadvisors.com accessd-bounces at d cc atabaseadvisors.c om Subject [AccessD] Code to open table fails 06/07/2005 08:54 AM Please respond to "Access Developers discussion and problem solving" I have used this code in many Access 2003 databases successfully. Just tried it in a 2003 version database and it will not open the table. I have checked and the table exists and name matched. I can open the table no problem from the table list. What may be happening here? Sub TableNames() Set MyDB = CurrentDb() Set AllTableDefs = MyDB.TableDefs Set myds = MyDB.OpenRecordset("tbl Table Definitions", dbOpenTable) Chester Kaup Engineering Technician Kinder Morgan CO2 Company, LLP Office (432) 688-3797 FAX (432) 688-3799 -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd 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 Jun 7 09:22:19 2005 From: Chester_Kaup at kindermorgan.com (Kaup, Chester) Date: Tue, 7 Jun 2005 09:22:19 -0500 Subject: [AccessD] Code to open table fails Message-ID: Needed DAO reference. Thanks! -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Bobby Heid Sent: Tuesday, June 07, 2005 9:15 AM To: 'Access Developers discussion and problem solving' Subject: RE: [AccessD] Code to open table fails What error message are you getting? Do you have a reference set to DAO instead of the default ADO? If you have a reference to both ADO and DAO, is the DAO first? Bobby -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Kaup, Chester Sent: Tuesday, June 07, 2005 9:55 AM To: accessd at databaseadvisors.com Subject: [AccessD] Code to open table fails I have used this code in many Access 2003 databases successfully. Just tried it in a 2003 version database and it will not open the table. I have checked and the table exists and name matched. I can open the table no problem from the table list. What may be happening here? Sub TableNames() Set MyDB = CurrentDb() Set AllTableDefs = MyDB.TableDefs Set myds = MyDB.OpenRecordset("tbl Table Definitions", dbOpenTable) Chester Kaup Engineering Technician Kinder Morgan CO2 Company, LLP Office (432) 688-3797 FAX (432) 688-3799 -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd 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 Jun 7 09:48:20 2005 From: DWUTKA at marlow.com (DWUTKA at marlow.com) Date: Tue, 7 Jun 2005 09:48:20 -0500 Subject: [AccessD] Insert Access Info Into Web page Message-ID: <123701F54509D9119A4F00D0B747349016D667@main2.marlow.com> You can open an instance of IE (then go to the site you want to 'dump' the data too), and you can then interact with IE's document object to insert your data. Drew -----Original Message----- From: Res-Com Environmental [mailto:relations at rescom.cc] Sent: Monday, June 06, 2005 6:38 PM To: accessd at databaseadvisors.com Subject: [AccessD] Insert Access Info Into Web page 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 -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From JRojas at tnco-inc.com Tue Jun 7 10:10:08 2005 From: JRojas at tnco-inc.com (Joe Rojas) Date: Tue, 7 Jun 2005 11:10:08 -0400 Subject: [AccessD] Creating SPC charts Message-ID: <0CC84C9461AE6445AD5A602001C41C4B05A323@mercury.tnco-inc.com> Hello, (Access 2000) I need to create statistical process control charts. Also known as X-bar charts, R-charts, ect. I already have the data but I don't know how to generate these kinds of charts in Access. Has anyone created these kinds of charts before? 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 Alun.Garraway at otto.de Tue Jun 7 10:12:20 2005 From: Alun.Garraway at otto.de (Garraway, Alun) Date: Tue, 7 Jun 2005 17:12:20 +0200 Subject: [AccessD] deleting first line of a text file? Message-ID: hallo, how do I delete the first line of a text file (whats the command)? or in other words Function DeleteFirstLine(strFile As String) Dim varFile As Variant varFile = FreeFile Open strFile For Input As #varFile (is open For Input correct?) what do I put in here?????????? End Function TIA :-) alun From jwcolby at colbyconsulting.com Tue Jun 7 10:22:48 2005 From: jwcolby at colbyconsulting.com (John W. Colby) Date: Tue, 7 Jun 2005 11:22:48 -0400 Subject: [AccessD] deleting first line of a text file? In-Reply-To: Message-ID: <000001c56b74$c6c5b030$6400a8c0@ColbyM6805> AFAIK there isn't any such thing. If you want to do that you need to open a file for input, another for writing, then read the first file, writing back to the second file and DON'T write the first line. John W. Colby www.ColbyConsulting.com Contribute your unused CPU cycles to a good cause: http://folding.stanford.edu/ -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Garraway, Alun Sent: Tuesday, June 07, 2005 11:12 AM To: accessd at databaseadvisors.com Subject: [AccessD] deleting first line of a text file? hallo, how do I delete the first line of a text file (whats the command)? or in other words Function DeleteFirstLine(strFile As String) Dim varFile As Variant varFile = FreeFile Open strFile For Input As #varFile (is open For Input correct?) what do I put in here?????????? End Function TIA :-) alun -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From bheid at appdevgrp.com Tue Jun 7 10:32:32 2005 From: bheid at appdevgrp.com (Bobby Heid) Date: Tue, 7 Jun 2005 11:32:32 -0400 Subject: [AccessD] deleting first line of a text file? In-Reply-To: <916187228923D311A6FE00A0CC3FAA30BDC6E4@ADGSERVER> Message-ID: <916187228923D311A6FE00A0CC3FAA30ABEBFD@ADGSERVER> Unless there's some sort of function that I do not know of, you need to: 1) open output file 2) open input file 3) read line of input file 4) read line of input file 5) write input line to output file 6) if not eof, goto #4. 7) close input file 8) close output file 9) delete input file 10) rename output file with the name of the old input file. Bobby -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Garraway, Alun Sent: Tuesday, June 07, 2005 11:12 AM To: accessd at databaseadvisors.com Subject: [AccessD] deleting first line of a text file? hallo, how do I delete the first line of a text file (whats the command)? or in other words Function DeleteFirstLine(strFile As String) Dim varFile As Variant varFile = FreeFile Open strFile For Input As #varFile (is open For Input correct?) what do I put in here?????????? End Function TIA :-) alun From cfoust at infostatsystems.com Tue Jun 7 10:34:06 2005 From: cfoust at infostatsystems.com (Charlotte Foust) Date: Tue, 7 Jun 2005 08:34:06 -0700 Subject: [AccessD] Replication Manager Message-ID: No, it's on the tools menu. I just don't have replication installed on this machine, so all I see is the grayed out item on the tools menu. Charlotte Foust -----Original Message----- From: Barbara Ryan [mailto:BarbaraRyan at cox.net] Sent: Tuesday, June 07, 2005 5:35 AM To: Access List Subject: [AccessD] Replication Manager Where I can I find Replication Manager for Access 2002? Is it a separate interface from the Replication option under Tools in Access 2002? I can't seem to locate it on the Office XP Pro installation CD. Thanks, Barb Ryan -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From Alun.Garraway at otto.de Tue Jun 7 10:39:15 2005 From: Alun.Garraway at otto.de (Garraway, Alun) Date: Tue, 7 Jun 2005 17:39:15 +0200 Subject: [AccessD] deleting first line of a text file? Message-ID: AHHHH, got it :-) thanks John & Bobby all the best alun -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of John W. Colby Sent: Tuesday, June 07, 2005 5:23 PM To: 'Access Developers discussion and problem solving' Subject: RE: [AccessD] deleting first line of a text file? AFAIK there isn't any such thing. If you want to do that you need to open a file for input, another for writing, then read the first file, writing back to the second file and DON'T write the first line. John W. Colby www.ColbyConsulting.com Contribute your unused CPU cycles to a good cause: http://folding.stanford.edu/ -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Garraway, Alun Sent: Tuesday, June 07, 2005 11:12 AM To: accessd at databaseadvisors.com Subject: [AccessD] deleting first line of a text file? hallo, how do I delete the first line of a text file (whats the command)? or in other words Function DeleteFirstLine(strFile As String) Dim varFile As Variant varFile = FreeFile Open strFile For Input As #varFile (is open For Input correct?) what do I put in here?????????? End Function TIA :-) alun -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From MarkBoyd at McBeeAssociates.com Tue Jun 7 10:49:30 2005 From: MarkBoyd at McBeeAssociates.com (Mark Boyd) Date: Tue, 7 Jun 2005 11:49:30 -0400 Subject: [AccessD] Dates From Previous Month Message-ID: <974F830FE464C14E8652F95E24DA663C043FB6@mail03.Mcbassoc.com> I'm looking for a way to get the 1st and last dates from the previous month. I'm working on an invoicing app, and need to determine the previous months date range. Is there a function, or use of the Format statement that will give me this info? Thanks, Mark Boyd I/S Supervisor McBee Associates, Inc. ----------------------------------------- This message and any attachments are intended only for the use of the individual or entity to which it is addressed and may contain information that is privileged, confidential, and exempt from disclosure under applicable law. If the reader of this message is not the intended recipient, or the employee or agent responsible for delivering the message to the intended recipient, you are hereby notified that any dissemination, distribution or copying of this communication is strictly prohibited. If you have received this communication in error, please notify the sender by replying to this message, and then delete it from your system. ------------------------------------------- From DWUTKA at marlow.com Tue Jun 7 10:58:15 2005 From: DWUTKA at marlow.com (DWUTKA at marlow.com) Date: Tue, 7 Jun 2005 10:58:15 -0500 Subject: [AccessD] Dates From Previous Month Message-ID: <123701F54509D9119A4F00D0B747349016D669@main2.marlow.com> 1st Previous month=DateSerial(Year(date),Month(date)-1,1) Last Previous month=DateSerial(Year(date),month(date),0) Drew -----Original Message----- From: Mark Boyd [mailto:MarkBoyd at mcbeeassociates.com] Sent: Tuesday, June 07, 2005 10:50 AM To: Access Developers discussion and problem solving Subject: [AccessD] Dates From Previous Month I'm looking for a way to get the 1st and last dates from the previous month. I'm working on an invoicing app, and need to determine the previous months date range. Is there a function, or use of the Format statement that will give me this info? Thanks, Mark Boyd I/S Supervisor McBee Associates, Inc. ----------------------------------------- This message and any attachments are intended only for the use of the individual or entity to which it is addressed and may contain information that is privileged, confidential, and exempt from disclosure under applicable law. If the reader of this message is not the intended recipient, or the employee or agent responsible for delivering the message to the intended recipient, you are hereby notified that any dissemination, distribution or copying of this communication is strictly prohibited. If you have received this communication in error, please notify the sender by replying to this message, and then delete it from your system. ------------------------------------------- -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From jimdettman at earthlink.net Tue Jun 7 11:05:46 2005 From: jimdettman at earthlink.net (Jim Dettman) Date: Tue, 7 Jun 2005 12:05:46 -0400 Subject: [AccessD] Replication Manager In-Reply-To: <003701c56b5d$5bd5dc80$0a00a8c0@cx470148a> Message-ID: <> It's only in the developers edition. Jim. -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Barbara Ryan Sent: Tuesday, June 07, 2005 8:35 AM To: Access List Subject: [AccessD] Replication Manager Where I can I find Replication Manager for Access 2002? Is it a separate interface from the Replication option under Tools in Access 2002? I can't seem to locate it on the Office XP Pro installation CD. Thanks, Barb Ryan -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From jwcolby at colbyconsulting.com Tue Jun 7 11:05:54 2005 From: jwcolby at colbyconsulting.com (John W. Colby) Date: Tue, 7 Jun 2005 12:05:54 -0400 Subject: [AccessD] Dates From Previous Month In-Reply-To: <974F830FE464C14E8652F95E24DA663C043FB6@mail03.Mcbassoc.com> Message-ID: <000101c56b7a$cbe34ae0$6400a8c0@ColbyM6805> Private Function dateStartRange(intRangeOption As Integer) As Date On Error GoTo Err_dateStartRange 'Julie Schwalm, Backroads Data, 1999 'Input: interger value of option group containing standard date ranges, 'such as Current Month, Year-to-Date, Last Quarter, etc. Values equal: ' 1 = Include all Dates ' 2 = Current Month ' 3 = Current Quarter ' 4 = Current Year ' 5 = Month-to-Date ' 6 = Quarter-to-Date ' 7 = Year-to-Date ' 8 = Last Month ' 9 = Last Quarter ' 10 = Last Year ' 11 = Last 12 months ' 12 = Custom Date 'OUTPUT: Date to be placed in unbound text box, representing the beginning 'of the date range for the selected report. Dim dateResult As Date Select Case intRangeOption Case 1 'Include all Dates Let dateResult = #1/1/1900# Case 2, 5 'Current Month Let dateResult = DateSerial(Year(Date), Month(Date), 1) Case 3, 6 Let dateResult = DateSerial(Year(Date), Int((Month(Date) - 1) / 3) * 3 + 1, 1) Case 4, 7 Let dateResult = DateSerial(Year(Date), 1, 1) Case 8 Let dateResult = DateSerial(Year(Date), Month(Date) - 1, 1) Case 9 Let dateResult = DateSerial(Year(Date), Int((Month(Date) - 1) / 3) * 3 + 1 - 3, 1) Case 10 Let dateResult = DateSerial(Year(Date) - 1, 1, 1) Case 11 Let dateResult = DateAdd("yyyy", -1, Date) + 1 End Select dateStartRange = Format(dateResult, "mm\/dd\/yyyy") Exit_dateStartRange: Exit Function Err_dateStartRange: Select Case Err Case 0 '.insert Errors you wish to ignore here Resume Next Case Else '.All other errors will trap Beep MsgBox Err.Description, , "Error in Function basDateFunctions.dateStartRange" Resume Exit_dateStartRange End Select Resume 0 '.FOR TROUBLESHOOTING End Function Private Function dateEndRange(intRangeOption As Integer) As Date On Error GoTo Err_dateEndRange 'Julie Schwalm, Backroads Data, 1999 'Input: interger value of option group containing standard date ranges, 'such as Current Month, Year-to-Date, Last Quarter, etc. Values equal: ' 1 = Include all Dates ' 2 = Current Month ' 3 = Current Quarter ' 4 = Current Year ' 5 = Month-to-Date ' 6 = Quarter-to-Date ' 7 = Year-to-Date ' 8 = Last Month ' 9 = Last Quarter ' 10 = Last Year ' 11 = Last 12 months ' 12 = Custom Date 'OUTPUT: Date to be placed in unbound text box, representing the end 'of the date range for the selected report. Dim dateResult As Date Dim strDate As Date Select Case intRangeOption Case 1 Let dateResult = #1/1/2115# Case 2 Let dateResult = DateSerial(Year(Date), Month(Date) + 1, 0) Case 3 Let dateResult = DateSerial(Year(Date), Int((Month(Date) - 1) / 3) * 3 + 4, 0) Case 4 Let dateResult = DateSerial(Year(Date), 12, 31) Case 5, 6, 7, 11 Let dateResult = Date Case 8 Let dateResult = DateSerial(Year(Date), Month(Date), 0) Case 9 Let dateResult = DateSerial(Year(Date), Int((Month(Date) - 1) / 3) * 3 + 4 - 3, 0) Case 10 ' Let dateResult = DateAdd("yyyy", -1, Date) + 1 Let dateResult = DateSerial(Year(Date) - 1, 12, 31) End Select dateEndRange = Format(dateResult, "mm\/dd\/yyyy") Exit_dateEndRange: Exit Function Err_dateEndRange: Select Case Err Case 0 '.insert Errors you wish to ignore here Resume Next Case Else '.All other errors will trap Beep MsgBox Err.Description, , "Error in Function basDateFunctions.dateEndRange" Resume Exit_dateEndRange End Select 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 Mark Boyd Sent: Tuesday, June 07, 2005 11:49 AM To: Access Developers discussion and problem solving Subject: [AccessD] Dates From Previous Month I'm looking for a way to get the 1st and last dates from the previous month. I'm working on an invoicing app, and need to determine the previous months date range. Is there a function, or use of the Format statement that will give me this info? Thanks, Mark Boyd I/S Supervisor McBee Associates, Inc. ----------------------------------------- This message and any attachments are intended only for the use of the individual or entity to which it is addressed and may contain information that is privileged, confidential, and exempt from disclosure under applicable law. If the reader of this message is not the intended recipient, or the employee or agent responsible for delivering the message to the intended recipient, you are hereby notified that any dissemination, distribution or copying of this communication is strictly prohibited. If you have received this communication in error, please notify the sender by replying to this message, and then delete it from your system. ------------------------------------------- -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From MarkBoyd at McBeeAssociates.com Tue Jun 7 11:15:23 2005 From: MarkBoyd at McBeeAssociates.com (Mark Boyd) Date: Tue, 7 Jun 2005 12:15:23 -0400 Subject: [AccessD] Dates From Previous Month Message-ID: <974F830FE464C14E8652F95E24DA663C043FB7@mail03.Mcbassoc.com> Perfect. Thanks Drew. Mark Boyd I/S Supervisor McBee Associates, Inc. -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of DWUTKA at marlow.com Sent: Tuesday, June 07, 2005 11:58 AM To: accessd at databaseadvisors.com Subject: RE: [AccessD] Dates From Previous Month 1st Previous month=DateSerial(Year(date),Month(date)-1,1) Last Previous month=DateSerial(Year(date),month(date),0) Drew -----Original Message----- From: Mark Boyd [mailto:MarkBoyd at mcbeeassociates.com] Sent: Tuesday, June 07, 2005 10:50 AM To: Access Developers discussion and problem solving Subject: [AccessD] Dates From Previous Month I'm looking for a way to get the 1st and last dates from the previous month. I'm working on an invoicing app, and need to determine the previous months date range. Is there a function, or use of the Format statement that will give me this info? Thanks, Mark Boyd I/S Supervisor McBee Associates, Inc. ----------------------------------------- This message and any attachments are intended only for the use of the individual or entity to which it is addressed and may contain information that is privileged, confidential, and exempt from disclosure under applicable law. If the reader of this message is not the intended recipient, or the employee or agent responsible for delivering the message to the intended recipient, you are hereby notified that any dissemination, distribution or copying of this communication is strictly prohibited. If you have received this communication in error, please notify the sender by replying to this message, and then delete it from your system. ------------------------------------------- -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com ----------------------------------------- This message and any attachments are intended only for the use of the individual or entity to which it is addressed and may contain information that is privileged, confidential, and exempt from disclosure under applicable law. If the reader of this message is not the intended recipient, or the employee or agent responsible for delivering the message to the intended recipient, you are hereby notified that any dissemination, distribution or copying of this communication is strictly prohibited. If you have received this communication in error, please notify the sender by replying to this message, and then delete it from your system. ------------------------------------------- From reuben at gfconsultants.com Tue Jun 7 11:16:56 2005 From: reuben at gfconsultants.com (Reuben Cummings) Date: Tue, 7 Jun 2005 11:16:56 -0500 Subject: [AccessD] Dates From Previous Month In-Reply-To: <974F830FE464C14E8652F95E24DA663C043FB6@mail03.Mcbassoc.com> Message-ID: 1st of Previous Month = dateserial(year(date()),month(date())-1,1) Last of previous month = dateadd("d",-1,dateserial(year(date()), month(date()),1)) Reuben Cummings GFC, LLC phone: 812.523.1017 email: reuben at gfconsultants.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Mark Boyd Sent: Tuesday, June 07, 2005 10:50 AM To: Access Developers discussion and problem solving Subject: [AccessD] Dates From Previous Month I'm looking for a way to get the 1st and last dates from the previous month. I'm working on an invoicing app, and need to determine the previous months date range. Is there a function, or use of the Format statement that will give me this info? Thanks, Mark Boyd I/S Supervisor McBee Associates, Inc. ----------------------------------------- This message and any attachments are intended only for the use of the individual or entity to which it is addressed and may contain information that is privileged, confidential, and exempt from disclosure under applicable law. If the reader of this message is not the intended recipient, or the employee or agent responsible for delivering the message to the intended recipient, you are hereby notified that any dissemination, distribution or copying of this communication is strictly prohibited. If you have received this communication in error, please notify the sender by replying to this message, and then delete it from your system. ------------------------------------------- -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From reuben at gfconsultants.com Tue Jun 7 11:20:02 2005 From: reuben at gfconsultants.com (Reuben Cummings) Date: Tue, 7 Jun 2005 11:20:02 -0500 Subject: [AccessD] Dates From Previous Month In-Reply-To: <123701F54509D9119A4F00D0B747349016D669@main2.marlow.com> Message-ID: Drew, does that mean the 6-0-05 = 5-31-05? I learned something today. Thanks. Reuben Cummings GFC, LLC phone: 812.523.1017 email: reuben at gfconsultants.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of DWUTKA at marlow.com Sent: Tuesday, June 07, 2005 10:58 AM To: accessd at databaseadvisors.com Subject: RE: [AccessD] Dates From Previous Month 1st Previous month=DateSerial(Year(date),Month(date)-1,1) Last Previous month=DateSerial(Year(date),month(date),0) Drew -----Original Message----- From: Mark Boyd [mailto:MarkBoyd at mcbeeassociates.com] Sent: Tuesday, June 07, 2005 10:50 AM To: Access Developers discussion and problem solving Subject: [AccessD] Dates From Previous Month I'm looking for a way to get the 1st and last dates from the previous month. I'm working on an invoicing app, and need to determine the previous months date range. Is there a function, or use of the Format statement that will give me this info? Thanks, Mark Boyd I/S Supervisor McBee Associates, Inc. ----------------------------------------- This message and any attachments are intended only for the use of the individual or entity to which it is addressed and may contain information that is privileged, confidential, and exempt from disclosure under applicable law. If the reader of this message is not the intended recipient, or the employee or agent responsible for delivering the message to the intended recipient, you are hereby notified that any dissemination, distribution or copying of this communication is strictly prohibited. If you have received this communication in error, please notify the sender by replying to this message, and then delete it from your system. ------------------------------------------- -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From martyconnelly at shaw.ca Tue Jun 7 11:24:41 2005 From: martyconnelly at shaw.ca (MartyConnelly) Date: Tue, 07 Jun 2005 09:24:41 -0700 Subject: [AccessD] Replication Manager References: <003701c56b5d$5bd5dc80$0a00a8c0@cx470148a> Message-ID: <42A5CA49.3070604@shaw.ca> RepMan 4.0 is on the Office XP Developers Edition, not the Pro Edition, funnily enough there is no RepMan for 2003. I don't know what you do here use VB.Net and JRO or old version of RepMan with Access 2003 Documentation within MS-Access 2003 states that this tool is still required to setup Internet replicated Access databases. http://support.microsoft.com/default.aspx?scid=kb;en-us;828089 so, unless you have that RepMan from XP .... you need to write your own using JRO or use a tool like TSI Synchronizer http://www.trigeminal.com/repl?ication/synch.asp?1033 Note that this is not really true, either -- the TSI Synchronizer depends upon you having the Jet Synchronizer (which comes with Replication Manager). You do not need Replication Manager to use all forms of Jet replication. Replication Manager is a tool for implementing certain advanced replication functionalities such as synchronizer configuration for indirect or internet replication or for changing the the retention period of a replication set. Also, you do not need to have a copy of Replication Manager on every computer (and probably shouldn't) since it is only an administrators tool. Anything that can be done with Replication manager can also be accomplished using DAO or JRO code Jet 8 SP has a seperate update for replication http://support.microsoft.com/default.aspx?kbid=321076 This shows installation procedures for RepMan Internet Synchronization with the Microsoft Jet Database Engine: A Technical Overview http://msdn.microsoft.com/library/default.asp?url=/library/en-us/dnacc2k/html/intrjet4.asp Make sure you have read the replication faq and understand indirect and direct synchronization http://support.microsoft.com/kb/q282977/ Here's some DAO code to illustrate a basic synchronization process of BE over a Lan... 'Courtesy Lambert Heenan Private Sub btnUpdateMaster_Click() Dim msg As String Dim sReplicaDb As Variant Dim sMainStore As String Dim db As Database On Error GoTo btnUpdateMaster_err 'First get the path to the replica file we will synch. with. msg = "This procedure will update the MASTER database with one or more replica databases.@" msg = msg & "Do you with to continue?@" If MsgBox(msg, vbYesNo Or vbQuestion, "Synchronize Master Database") = vbYes Then sReplicaDb = sDataToSynchFrom() ' ' sDataToSynchFrom() is a function that returns the full path to an MDB file If sReplicaDb & "" = "" Then Exit Sub sMainStore = GetAttachedDbName(GetFirstAttachedtable) ' GetAttachedDbName() is a function that returns the full path to the back end database ' given the name of one of the linked tables ' sanity check If sMainStore = sReplicaDb Then MsgBox "Cannot synchronize your main data file with itself. at Please select the correct replica data file to synchronize with.@", , "Invalid data file selected" Exit Sub End If DoCmd.Hourglass True ' here is where the synchronization takes place Set db = OpenDatabase(sMainStore) ' this does a one-way synchronizatin - just importing changes in the data. ' you can also do two way using the constant "dbRepImpExpChanges" db.Synchronize sReplicaDb, dbRepImportChanges RenameSynchedFile CStr(sReplicaDb) DoCmd.Hourglass False MsgBox "Synchronization completed", , "Synchronize Master Database" End If btnUpdateMaster_Click_Exit: Set db = Nothing Exit Sub btnUpdateMaster_err: DoCmd.Hourglass False ' put your favorite error handler here MsgBox "Error synchronizing with " & sReplicaDb & "@" & Err.Description & "@Error number " & Err.Number Resume btnUpdateMaster_Click_Exit End Sub Barbara Ryan wrote: >Where I can I find Replication Manager for Access 2002? Is it a separate interface from the Replication option under Tools in Access 2002? I can't seem to locate it on the Office XP Pro installation CD. > >Thanks, >Barb Ryan > > -- Marty Connelly Victoria, B.C. Canada From martyconnelly at shaw.ca Tue Jun 7 11:41:09 2005 From: martyconnelly at shaw.ca (MartyConnelly) Date: Tue, 07 Jun 2005 09:41:09 -0700 Subject: [AccessD] Insert Access Info Into Web page References: Message-ID: <42A5CE25.1030709@shaw.ca> 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 From iggy at nanaimo.ark.com Tue Jun 7 12:19:36 2005 From: iggy at nanaimo.ark.com (Tony Septav) Date: Tue, 07 Jun 2005 10:19:36 -0700 Subject: [AccessD] Converting Access97 app to 2000 Message-ID: <42A5D728.4080206@nanaimo.ark.com> Hey All I have converted my first Access97 application to Access2000. Everything seems to be working fine. I have not as yet gone through and changed my declarations to DAO.Recordset, DAO.Database, etc.. Are there any other things I should be aware of.? And I know some of you are saying "Geez about time". I am planning on purchasing Access2003, but one step at a time, it is hard to teach an old dog new tricks. From DWUTKA at marlow.com Tue Jun 7 12:13:00 2005 From: DWUTKA at marlow.com (DWUTKA at marlow.com) Date: Tue, 7 Jun 2005 12:13:00 -0500 Subject: [AccessD] Dates From Previous Month Message-ID: <123701F54509D9119A4F00D0B747349016D66B@main2.marlow.com> No problem, glad to help. Drew -----Original Message----- From: Mark Boyd [mailto:MarkBoyd at mcbeeassociates.com] Sent: Tuesday, June 07, 2005 11:15 AM To: Access Developers discussion and problem solving Subject: RE: [AccessD] Dates From Previous Month Perfect. Thanks Drew. Mark Boyd I/S Supervisor McBee Associates, Inc. -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of DWUTKA at marlow.com Sent: Tuesday, June 07, 2005 11:58 AM To: accessd at databaseadvisors.com Subject: RE: [AccessD] Dates From Previous Month 1st Previous month=DateSerial(Year(date),Month(date)-1,1) Last Previous month=DateSerial(Year(date),month(date),0) Drew -----Original Message----- From: Mark Boyd [mailto:MarkBoyd at mcbeeassociates.com] Sent: Tuesday, June 07, 2005 10:50 AM To: Access Developers discussion and problem solving Subject: [AccessD] Dates From Previous Month I'm looking for a way to get the 1st and last dates from the previous month. I'm working on an invoicing app, and need to determine the previous months date range. Is there a function, or use of the Format statement that will give me this info? Thanks, Mark Boyd I/S Supervisor McBee Associates, Inc. ----------------------------------------- This message and any attachments are intended only for the use of the individual or entity to which it is addressed and may contain information that is privileged, confidential, and exempt from disclosure under applicable law. If the reader of this message is not the intended recipient, or the employee or agent responsible for delivering the message to the intended recipient, you are hereby notified that any dissemination, distribution or copying of this communication is strictly prohibited. If you have received this communication in error, please notify the sender by replying to this message, and then delete it from your system. ------------------------------------------- -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com ----------------------------------------- This message and any attachments are intended only for the use of the individual or entity to which it is addressed and may contain information that is privileged, confidential, and exempt from disclosure under applicable law. If the reader of this message is not the intended recipient, or the employee or agent responsible for delivering the message to the intended recipient, you are hereby notified that any dissemination, distribution or copying of this communication is strictly prohibited. If you have received this communication in error, please notify the sender by replying to this message, and then delete it from your system. ------------------------------------------- -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From DWUTKA at marlow.com Tue Jun 7 12:13:27 2005 From: DWUTKA at marlow.com (DWUTKA at marlow.com) Date: Tue, 7 Jun 2005 12:13:27 -0500 Subject: [AccessD] Dates From Previous Month Message-ID: <123701F54509D9119A4F00D0B747349016D66C@main2.marlow.com> It does to that function.... Drew -----Original Message----- From: Reuben Cummings [mailto:reuben at gfconsultants.com] Sent: Tuesday, June 07, 2005 11:20 AM To: Access Developers discussion and problem solving Subject: RE: [AccessD] Dates From Previous Month Drew, does that mean the 6-0-05 = 5-31-05? I learned something today. Thanks. Reuben Cummings GFC, LLC phone: 812.523.1017 email: reuben at gfconsultants.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of DWUTKA at marlow.com Sent: Tuesday, June 07, 2005 10:58 AM To: accessd at databaseadvisors.com Subject: RE: [AccessD] Dates From Previous Month 1st Previous month=DateSerial(Year(date),Month(date)-1,1) Last Previous month=DateSerial(Year(date),month(date),0) Drew -----Original Message----- From: Mark Boyd [mailto:MarkBoyd at mcbeeassociates.com] Sent: Tuesday, June 07, 2005 10:50 AM To: Access Developers discussion and problem solving Subject: [AccessD] Dates From Previous Month I'm looking for a way to get the 1st and last dates from the previous month. I'm working on an invoicing app, and need to determine the previous months date range. Is there a function, or use of the Format statement that will give me this info? Thanks, Mark Boyd I/S Supervisor McBee Associates, Inc. ----------------------------------------- This message and any attachments are intended only for the use of the individual or entity to which it is addressed and may contain information that is privileged, confidential, and exempt from disclosure under applicable law. If the reader of this message is not the intended recipient, or the employee or agent responsible for delivering the message to the intended recipient, you are hereby notified that any dissemination, distribution or copying of this communication is strictly prohibited. If you have received this communication in error, please notify the sender by replying to this message, and then delete it from your system. ------------------------------------------- -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From cfoust at infostatsystems.com Tue Jun 7 12:22:04 2005 From: cfoust at infostatsystems.com (Charlotte Foust) Date: Tue, 7 Jun 2005 10:22:04 -0700 Subject: [AccessD] Replication Manager Message-ID: It may be in VSTO, along with the rest of the developer tools for Access. Charlotte Foust -----Original Message----- From: MartyConnelly [mailto:martyconnelly at shaw.ca] Sent: Tuesday, June 07, 2005 9:25 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Replication Manager RepMan 4.0 is on the Office XP Developers Edition, not the Pro Edition, funnily enough there is no RepMan for 2003. I don't know what you do here use VB.Net and JRO or old version of RepMan with Access 2003 Documentation within MS-Access 2003 states that this tool is still required to setup Internet replicated Access databases. http://support.microsoft.com/default.aspx?scid=kb;en-us;828089 so, unless you have that RepMan from XP .... you need to write your own using JRO or use a tool like TSI Synchronizer http://www.trigeminal.com/repl-ication/synch.asp?1033 Note that this is not really true, either -- the TSI Synchronizer depends upon you having the Jet Synchronizer (which comes with Replication Manager). You do not need Replication Manager to use all forms of Jet replication. Replication Manager is a tool for implementing certain advanced replication functionalities such as synchronizer configuration for indirect or internet replication or for changing the the retention period of a replication set. Also, you do not need to have a copy of Replication Manager on every computer (and probably shouldn't) since it is only an administrators tool. Anything that can be done with Replication manager can also be accomplished using DAO or JRO code Jet 8 SP has a seperate update for replication http://support.microsoft.com/default.aspx?kbid=321076 This shows installation procedures for RepMan Internet Synchronization with the Microsoft Jet Database Engine: A Technical Overview http://msdn.microsoft.com/library/default.asp?url=/library/en-us/dnacc2k /html/intrjet4.asp Make sure you have read the replication faq and understand indirect and direct synchronization http://support.microsoft.com/kb/q282977/ Here's some DAO code to illustrate a basic synchronization process of BE over a Lan... 'Courtesy Lambert Heenan Private Sub btnUpdateMaster_Click() Dim msg As String Dim sReplicaDb As Variant Dim sMainStore As String Dim db As Database On Error GoTo btnUpdateMaster_err 'First get the path to the replica file we will synch. with. msg = "This procedure will update the MASTER database with one or more replica databases.@" msg = msg & "Do you with to continue?@" If MsgBox(msg, vbYesNo Or vbQuestion, "Synchronize Master Database") = vbYes Then sReplicaDb = sDataToSynchFrom() ' ' sDataToSynchFrom() is a function that returns the full path to an MDB file If sReplicaDb & "" = "" Then Exit Sub sMainStore = GetAttachedDbName(GetFirstAttachedtable) ' GetAttachedDbName() is a function that returns the full path to the back end database ' given the name of one of the linked tables ' sanity check If sMainStore = sReplicaDb Then MsgBox "Cannot synchronize your main data file with itself. at Please select the correct replica data file to synchronize with.@", , "Invalid data file selected" Exit Sub End If DoCmd.Hourglass True ' here is where the synchronization takes place Set db = OpenDatabase(sMainStore) ' this does a one-way synchronizatin - just importing changes in the data. ' you can also do two way using the constant "dbRepImpExpChanges" db.Synchronize sReplicaDb, dbRepImportChanges RenameSynchedFile CStr(sReplicaDb) DoCmd.Hourglass False MsgBox "Synchronization completed", , "Synchronize Master Database" End If btnUpdateMaster_Click_Exit: Set db = Nothing Exit Sub btnUpdateMaster_err: DoCmd.Hourglass False ' put your favorite error handler here MsgBox "Error synchronizing with " & sReplicaDb & "@" & Err.Description & "@Error number " & Err.Number Resume btnUpdateMaster_Click_Exit End Sub Barbara Ryan wrote: >Where I can I find Replication Manager for Access 2002? Is it a >separate interface from the Replication option under Tools in Access >2002? I can't seem to locate it on the Office XP Pro installation CD. > >Thanks, >Barb Ryan > > -- 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 cfoust at infostatsystems.com Tue Jun 7 12:28:29 2005 From: cfoust at infostatsystems.com (Charlotte Foust) Date: Tue, 7 Jun 2005 10:28:29 -0700 Subject: [AccessD] Converting Access97 app to 2000 Message-ID: Several things. If you ever played with pipe concatenation (if you don't know what it is, you haven't), you'll have to change it to standard concatenation because 2000 and higher don't interpret it properly. If you use parameter queries that reference forms, you'll have to go into the queries and make sure the query parameters use proper referencing like [forms]![MyForm]![MyControl]. If any of the brackets around any of the sections are missing, 2000 and later will put brackets around the whole thing, like [forms!MyForm![MyControl]], which breaks the query. Using @ in messagebox prompts to bold parts of the text no longer works in 2000+, so you'll have to deal with that if you used it. If you used any common controls (calendar controls, datetime picker, OpenFile dialog, etc.) you'll need to make sure the references point to the VB6 version, becase the VB5 versions don't work in 2000+. Charlotte Foust -----Original Message----- From: Tony Septav [mailto:iggy at nanaimo.ark.com] Sent: Tuesday, June 07, 2005 10:20 AM To: accessd at databaseadvisors.com Subject: [AccessD] Converting Access97 app to 2000 Hey All I have converted my first Access97 application to Access2000. Everything seems to be working fine. I have not as yet gone through and changed my declarations to DAO.Recordset, DAO.Database, etc.. Are there any other things I should be aware of.? And I know some of you are saying "Geez about time". I am planning on purchasing Access2003, but one step at a time, it is hard to teach an old dog new tricks. -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From BarbaraRyan at cox.net Tue Jun 7 12:45:32 2005 From: BarbaraRyan at cox.net (Barbara Ryan) Date: Tue, 7 Jun 2005 13:45:32 -0400 Subject: [AccessD] Replication Manager References: <003701c56b5d$5bd5dc80$0a00a8c0@cx470148a> <42A5CA49.3070604@shaw.ca> Message-ID: <00af01c56b88$b3f79a40$0a00a8c0@cx470148a> Thanks, Marty.....I REALLY appreciate all this information. I'm sure it took a bit of time to pull it all together....Barb ----- Original Message ----- From: "MartyConnelly" To: "Access Developers discussion and problem solving" Sent: Tuesday, June 07, 2005 12:24 PM Subject: Re: [AccessD] Replication Manager > RepMan 4.0 is on the Office XP Developers Edition, not the Pro Edition, > funnily enough there is no RepMan for 2003. > I don't know what you do here use VB.Net and JRO or old version of > RepMan with Access 2003 > > Documentation within MS-Access 2003 states that this tool is still > required to setup Internet replicated Access databases. > http://support.microsoft.com/default.aspx?scid=kb;en-us;828089 > > so, unless you have that RepMan from XP > .... you need to write your own using JRO or use a tool like TSI > Synchronizer > http://www.trigeminal.com/repl?ication/synch.asp?1033 > > Note that this is not really true, either -- the TSI Synchronizer depends > upon you having the Jet Synchronizer (which comes with Replication > Manager). > > You do not need Replication Manager to use all forms of Jet replication. > Replication > Manager is a tool for implementing certain advanced replication > functionalities such as synchronizer configuration for indirect or internet > replication or for changing the the retention period of a replication set. > Also, you do not need to have a copy of Replication Manager on every > computer (and probably shouldn't) since it is only an administrators tool. > Anything that can be done with Replication manager can also be accomplished > using DAO or JRO code > > Jet 8 SP has a seperate update for replication > > http://support.microsoft.com/default.aspx?kbid=321076 > > This shows installation procedures for RepMan > > Internet Synchronization with the Microsoft Jet Database Engine: A > Technical Overview > http://msdn.microsoft.com/library/default.asp?url=/library/en-us/dnacc2k/html/intrjet4.asp > > Make sure you have read the replication faq and understand indirect and > direct synchronization > > http://support.microsoft.com/kb/q282977/ > > Here's some DAO code to illustrate a basic synchronization process of BE > over a Lan... > 'Courtesy Lambert Heenan > Private Sub btnUpdateMaster_Click() > Dim msg As String > Dim sReplicaDb As Variant > Dim sMainStore As String > Dim db As Database > > On Error GoTo btnUpdateMaster_err > 'First get the path to the replica file we will synch. with. > msg = "This procedure will update the MASTER database with one or more > replica databases.@" > msg = msg & "Do you with to continue?@" > If MsgBox(msg, vbYesNo Or vbQuestion, "Synchronize Master Database") = > vbYes Then > > sReplicaDb = sDataToSynchFrom() ' > > ' sDataToSynchFrom() is a function that returns the full path to an MDB file > > If sReplicaDb & "" = "" Then Exit Sub > sMainStore = GetAttachedDbName(GetFirstAttachedtable) > > ' GetAttachedDbName() is a function that returns the full path to the back > end database > ' given the name of one of the linked tables > > ' sanity check > If sMainStore = sReplicaDb Then > MsgBox "Cannot synchronize your main data file with > itself. at Please select the correct replica data file to synchronize with.@", > , "Invalid data file selected" > Exit Sub > End If > DoCmd.Hourglass True > ' here is where the synchronization takes place > Set db = OpenDatabase(sMainStore) > ' this does a one-way synchronizatin - just importing changes in the data. > ' you can also do two way using the constant "dbRepImpExpChanges" > db.Synchronize sReplicaDb, dbRepImportChanges > RenameSynchedFile CStr(sReplicaDb) > DoCmd.Hourglass False > MsgBox "Synchronization completed", , "Synchronize Master Database" > End If > btnUpdateMaster_Click_Exit: > Set db = Nothing > Exit Sub > btnUpdateMaster_err: > DoCmd.Hourglass False > ' put your favorite error handler here > MsgBox "Error synchronizing with " & sReplicaDb & "@" & Err.Description > & "@Error number " & Err.Number > Resume btnUpdateMaster_Click_Exit > End Sub > > > Barbara Ryan wrote: > > >Where I can I find Replication Manager for Access 2002? Is it a separate interface from the Replication option under Tools in Access 2002? I can't seem to locate it on the Office XP Pro installation CD. > > > >Thanks, > >Barb Ryan > > > > > > -- > 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 iggy at nanaimo.ark.com Tue Jun 7 13:04:04 2005 From: iggy at nanaimo.ark.com (Tony Septav) Date: Tue, 07 Jun 2005 11:04:04 -0700 Subject: [AccessD] Converting Access97 app to 2000 Message-ID: <42A5E194.30200@nanaimo.ark.com> Thanks Charlotte, much appreciated. From accessd at shaw.ca Tue Jun 7 13:15:20 2005 From: accessd at shaw.ca (Jim Lawrence) Date: Tue, 07 Jun 2005 11:15:20 -0700 Subject: [AccessD] Insert Access Info Into Web page In-Reply-To: <123701F54509D9119A4F00D0B747349016D667@main2.marlow.com> Message-ID: <0IHQ004IK81HAL@l-daemon> Hi Drew: ...That is supposing a superior knowledge in the use of both the MSHTML.TBL library, Java-Script and write access to the web site. Check out: http://www.cpcug.org/user/clemenzi/technical/Databases/WebAccess.html for a simple sample of Access web access. HTH Jim -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of DWUTKA at marlow.com Sent: Tuesday, June 07, 2005 7:48 AM To: accessd at databaseadvisors.com Subject: RE: [AccessD] Insert Access Info Into Web page You can open an instance of IE (then go to the site you want to 'dump' the data too), and you can then interact with IE's document object to insert your data. Drew -----Original Message----- From: Res-Com Environmental [mailto:relations at rescom.cc] Sent: Monday, June 06, 2005 6:38 PM To: accessd at databaseadvisors.com Subject: [AccessD] Insert Access Info Into Web page 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 -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd 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 Jun 7 15:05:15 2005 From: dwaters at usinternet.com (Dan Waters) Date: Tue, 7 Jun 2005 13:05:15 -0700 Subject: [AccessD] Creating SPC charts In-Reply-To: <3354369.1118157678779.JavaMail.root@sniper17> Message-ID: <000201c56b9c$398031a0$54018e0a@danwaters> Hi Joe, I am a Quality Engineer and have made many SPC charts! But none in Access yet. You can use MS Graph to make these - pretty much anything you can create in Excel you can make in MS Graph. All the best! Dan Waters -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Joe Rojas Sent: Tuesday, June 07, 2005 8:10 AM To: 'Access Developers discussion and problem solving' Subject: [AccessD] Creating SPC charts Hello, (Access 2000) I need to create statistical process control charts. Also known as X-bar charts, R-charts, ect. I already have the data but I don't know how to generate these kinds of charts in Access. Has anyone created these kinds of charts before? 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 Jim.Hale at FleetPride.com Tue Jun 7 15:31:32 2005 From: Jim.Hale at FleetPride.com (Hale, Jim) Date: Tue, 7 Jun 2005 15:31:32 -0500 Subject: [AccessD] Excel Macro Automation from within Access Message-ID: <6A6AA9DF57E4F046BDA1E273BDDB677233763F@corp-es01.fleetpride.com> I believe MicoSith is vaguely ashamed of the Kill statement since it derives from a simpler era when such barbaric practices were the norm. Rumors indicate, as part of their agreement with the European Union, the command will be renamed TerminatedWithoutPrejudice. The damage may have already been done, however, since certain large files have already requested amnesty and are seeking refuge in certain unnamed hidden folders. :-) Jim Hale -----Original Message----- From: Mark Boyd [mailto:MarkBoyd at mcbeeassociates.com] Sent: Monday, June 06, 2005 1:56 PM To: Access Developers discussion and problem solving Subject: RE: [AccessD] Excel Macro Automation from within Access Great idea. I wasn't aware of the Kill statement. My plan was to shell a batch file to delete it, but this is much easier. Thanks again, Mark Boyd I/S Supervisor McBee Associates, Inc. -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Hale, Jim Sent: Monday, June 06, 2005 2:43 PM To: 'Access Developers discussion and problem solving' Subject: RE: [AccessD] Excel Macro Automation from within Access I'm glad it worked for you. I was thinking that you might want to add a Kill strpathname 'deletes original Excel sheet statement after the new copy has been saved so you are left with only the new copy. Jim Hale -----Original Message----- From: Mark Boyd [mailto:MarkBoyd at mcbeeassociates.com] Sent: Monday, June 06, 2005 11:31 AM To: Access Developers discussion and problem solving Subject: RE: [AccessD] Excel Macro Automation from within Access Thanks Jim. This is perfect! Mark Boyd I/S Supervisor McBee Associates, Inc. -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Hale, Jim Sent: Thursday, June 02, 2005 10:10 AM To: 'Access Developers discussion and problem solving' Subject: RE: [AccessD] Excel Macro Automation from within Access I think the sequence you are looking for is similar to this: Sub rpt_to_excel() Dim appExcel As Excel.Application, strpathname As String Dim strpathnew As String, strReport As String strpathname = "C:\test.xls" strpathnew = "C:\test2.xls" strReport = "rptInvsummary" DoCmd.OutputTo acOutputReport, strReport, acFormatXLS, strpathname Set appExcel = New Excel.Application 'format your report With appExcel .Workbooks.Open strpathname, 0 .Visible = True 'just to watch the sheet .Range("A1:G1").Select .Selection.Font.Bold = True .Selection.Font.Name = "Arial" .Selection.Font.Size = 12 .ActiveWorkbook.SaveAs Filename:=strpathnew,FileFormat:=xlNormal End With appExcel.Quit Set appExcel = Nothing End Sub This opens the file you output and saves it as a current version workbook under a new name. As you debug be aware of leaving orphan instances of Excel in memory. You can tell if any exist by placing the following script in notepad and running it: Dim objXL Dim strMessage On Error Resume Next ' Try to grab a running instance of ' Excel... Set objXL = GetObject(, "Excel.Application") ' What did we find?.. If Not TypeName(objXL) = "Empty" Then strMessage = "Excel Running." Else strMessage = "Excel Not Running." End If ' Feedback to user... MsgBox strMessage, vbInformation, "Excel Status" ' Make the Excel instance visible ' if we found one if strMessage = "Excel Running." then _ objXL.Visible = true -----Original Message----- From: Mark Boyd [mailto:MarkBoyd at mcbeeassociates.com] Sent: Wednesday, June 01, 2005 5:21 PM To: Access Developers discussion and problem solving Subject: RE: [AccessD] Excel Macro Automation from within Access Thanks Jim, this is pointing me in the right direction. The export process is as follows: 1. Export report to Excel 2. Format report w/ macro 3. Save formatting changes 4. Attach file to email message When using the SaveAs method, I'm prompted to overwrite the existing excel file (the one just formatted). Am I missing something in regard to the properties of the SaveAs method, that will allow me to save the existing, formatted file? If I select Yes to overwrite the existing file, all of the macro formats are lost. Mark Boyd I/S Supervisor McBee Associates, Inc. *********************************************************************** 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. ----------------------------------------- This message and any attachments are intended only for the use of the individual or entity to which it is addressed and may contain information that is privileged, confidential, and exempt from disclosure under applicable law. If the reader of this message is not the intended recipient, or the employee or agent responsible for delivering the message to the intended recipient, you are hereby notified that any dissemination, distribution or copying of this communication is strictly prohibited. If you have received this communication in error, please notify the sender by replying to this message, and then delete it from your system. ------------------------------------------- -- 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 stuart at lexacorp.com.pg Tue Jun 7 17:33:00 2005 From: stuart at lexacorp.com.pg (Stuart McLachlan) Date: Wed, 08 Jun 2005 08:33:00 +1000 Subject: [AccessD] Dates From Previous Month In-Reply-To: References: <123701F54509D9119A4F00D0B747349016D669@main2.marlow.com> Message-ID: <42A6AD3C.13260.264D6B8@stuart.lexacorp.com.pg> On 7 Jun 2005 at 11:20, Reuben Cummings wrote: > Drew, does that mean the 6-0-05 = 5-31-05? > > I learned something today. Thanks. > As well a 0, try playing around with negative numbers in both the month and day parameters of DateSerial It's often easier than using DateAdd :-) -- Stuart From DWUTKA at marlow.com Tue Jun 7 19:18:13 2005 From: DWUTKA at marlow.com (DWUTKA at marlow.com) Date: Tue, 7 Jun 2005 19:18:13 -0500 Subject: [AccessD] Dates From Previous Month Message-ID: <123701F54509D9119A4F00D0B747349016D678@main2.marlow.com> I usually chuckle when I see DateAdd all over the place. I find DateSerial to be tremendously effective. One of the more useful purposes is dealing the 'international' dates.....DateSerial is universally Year, Month, Day....so there is no need to worry about local settings, if you use it properly. Not trying to bring up the internationally compliant thread... Drew -----Original Message----- From: Stuart McLachlan [mailto:stuart at lexacorp.com.pg] Sent: Tuesday, June 07, 2005 5:33 PM To: Access Developers discussion and problem solving Subject: RE: [AccessD] Dates From Previous Month On 7 Jun 2005 at 11:20, Reuben Cummings wrote: > Drew, does that mean the 6-0-05 = 5-31-05? > > I learned something today. Thanks. > As well a 0, try playing around with negative numbers in both the month and day parameters of DateSerial It's often easier than using DateAdd :-) -- Stuart -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From chise at charter.net Tue Jun 7 20:38:36 2005 From: chise at charter.net (Charles Hise) Date: Tue, 7 Jun 2005 20:38:36 -0500 Subject: [AccessD] For Charles Hise - Fw: Returned mail: see transcript fordetails In-Reply-To: <01ee01c56a54$ca09e390$6901a8c0@HAL9004> Message-ID: <4404qh$11bqmdk@mxip19a.cluster1.charter.net> Sorry, try chise at parkplacecare.com Charles This E-mail is confidential, may be legally privileged, and is for the intended recipient only. Access, disclosure, copying, distribution, or reliance on any of it by anyone else is prohibited and may be a criminal offence. Please delete if obtained in error and E-mail confirmation to the sender. -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Rocky Smolin - Beach Access Software Sent: Monday, June 06, 2005 12:01 AM To: AccessD at databaseadvisors.com Subject: [AccessD] For Charles Hise - Fw: Returned mail: see transcript fordetails Charles Hise: I'm trying to send you the Sleep Advisor but your address seems to be hosed. Do you have another one? Rocky ----- Original Message ----- From: "Mail Delivery Subsystem" To: Sent: Sunday, June 05, 2005 8:39 PM Subject: Returned mail: see transcript for details > The original message was received at Fri, 3 Jun 2005 18:23:44 -0700 (PDT) > from cpe-24-25-217-158.san.res.rr.com [24.25.217.158] > > ----- The following addresses had permanent fatal errors ----- > > > ----- Transcript of session follows ----- > ... Deferred: Connection refused by charterr.net. > Message could not be delivered for 2 days > Message will be deleted from queue > ---------------------------------------------------------------------------- ---- > Received: from HAL9004 (cpe-24-25-217-158.san.res.rr.com [24.25.217.158]) > by ms-smtp-03-eri0.socal.rr.com (8.12.10/8.12.7) with SMTP id > j541NigQ013736 > for ; Fri, 3 Jun 2005 18:23:44 -0700 (PDT) > Message-ID: <07ce01c568a4$0bea31f0$6901a8c0 at HAL9004> > From: "Rocky Smolin - Beach Access Software" > To: > Subject: Fw: Returned mail: see transcript for details > Date: Fri, 3 Jun 2005 18:23:42 -0700 > MIME-Version: 1.0 > Content-Type: text/plain; > format=flowed; > charset="iso-8859-1"; > reply-type=response > Content-Transfer-Encoding: 7bit > X-Priority: 3 > X-MSMail-Priority: Normal > X-Mailer: Microsoft Outlook Express 6.00.2900.2180 > X-MIMEOLE: Produced By Microsoft MimeOLE V6.00.2900.2180 > X-Virus-Scanned: Symantec AntiVirus Scan Engine > From JRojas at tnco-inc.com Tue Jun 7 20:53:44 2005 From: JRojas at tnco-inc.com (Joe Rojas) Date: Tue, 7 Jun 2005 21:53:44 -0400 Subject: [AccessD] Creating SPC charts Message-ID: <0CC84C9461AE6445AD5A602001C41C4B05A32B@mercury.tnco-inc.com> Thanks Dan! I was hoping you were going to say that. I wanted to try and keep this all in Access. When you say "MS Graph", does this mean the same thing as inserting a chart in an access report by going to Insert -> Chart? Or is this something different? Thanks, JR -----Original Message----- From: Dan Waters [mailto:dwaters at usinternet.com] Sent: Tuesday, June 07, 2005 4:05 PM To: 'Access Developers discussion and problem solving' Subject: RE: [AccessD] Creating SPC charts Hi Joe, I am a Quality Engineer and have made many SPC charts! But none in Access yet. You can use MS Graph to make these - pretty much anything you can create in Excel you can make in MS Graph. All the best! Dan Waters -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Joe Rojas Sent: Tuesday, June 07, 2005 8:10 AM To: 'Access Developers discussion and problem solving' Subject: [AccessD] Creating SPC charts Hello, (Access 2000) I need to create statistical process control charts. Also known as X-bar charts, R-charts, ect. I already have the data but I don't know how to generate these kinds of charts in Access. Has anyone created these kinds of charts before? 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 accessd at shaw.ca Tue Jun 7 20:55:21 2005 From: accessd at shaw.ca (Jim Lawrence) Date: Tue, 07 Jun 2005 18:55:21 -0700 Subject: [AccessD] Excel Macro Automation from within Access In-Reply-To: <6A6AA9DF57E4F046BDA1E273BDDB677233763F@corp-es01.fleetpride.com> Message-ID: <0IHQ00E1UTC50D@l-daemon> Jin...very funny. Jim -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Hale, Jim Sent: Tuesday, June 07, 2005 1:32 PM To: 'Access Developers discussion and problem solving' Subject: RE: [AccessD] Excel Macro Automation from within Access I believe MicoSith is vaguely ashamed of the Kill statement since it derives from a simpler era when such barbaric practices were the norm. Rumors indicate, as part of their agreement with the European Union, the command will be renamed TerminatedWithoutPrejudice. The damage may have already been done, however, since certain large files have already requested amnesty and are seeking refuge in certain unnamed hidden folders. :-) Jim Hale -----Original Message----- From: Mark Boyd [mailto:MarkBoyd at mcbeeassociates.com] Sent: Monday, June 06, 2005 1:56 PM To: Access Developers discussion and problem solving Subject: RE: [AccessD] Excel Macro Automation from within Access Great idea. I wasn't aware of the Kill statement. My plan was to shell a batch file to delete it, but this is much easier. Thanks again, Mark Boyd I/S Supervisor McBee Associates, Inc. -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Hale, Jim Sent: Monday, June 06, 2005 2:43 PM To: 'Access Developers discussion and problem solving' Subject: RE: [AccessD] Excel Macro Automation from within Access I'm glad it worked for you. I was thinking that you might want to add a Kill strpathname 'deletes original Excel sheet statement after the new copy has been saved so you are left with only the new copy. Jim Hale -----Original Message----- From: Mark Boyd [mailto:MarkBoyd at mcbeeassociates.com] Sent: Monday, June 06, 2005 11:31 AM To: Access Developers discussion and problem solving Subject: RE: [AccessD] Excel Macro Automation from within Access Thanks Jim. This is perfect! Mark Boyd I/S Supervisor McBee Associates, Inc. -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Hale, Jim Sent: Thursday, June 02, 2005 10:10 AM To: 'Access Developers discussion and problem solving' Subject: RE: [AccessD] Excel Macro Automation from within Access I think the sequence you are looking for is similar to this: Sub rpt_to_excel() Dim appExcel As Excel.Application, strpathname As String Dim strpathnew As String, strReport As String strpathname = "C:\test.xls" strpathnew = "C:\test2.xls" strReport = "rptInvsummary" DoCmd.OutputTo acOutputReport, strReport, acFormatXLS, strpathname Set appExcel = New Excel.Application 'format your report With appExcel .Workbooks.Open strpathname, 0 .Visible = True 'just to watch the sheet .Range("A1:G1").Select .Selection.Font.Bold = True .Selection.Font.Name = "Arial" .Selection.Font.Size = 12 .ActiveWorkbook.SaveAs Filename:=strpathnew,FileFormat:=xlNormal End With appExcel.Quit Set appExcel = Nothing End Sub This opens the file you output and saves it as a current version workbook under a new name. As you debug be aware of leaving orphan instances of Excel in memory. You can tell if any exist by placing the following script in notepad and running it: Dim objXL Dim strMessage On Error Resume Next ' Try to grab a running instance of ' Excel... Set objXL = GetObject(, "Excel.Application") ' What did we find?.. If Not TypeName(objXL) = "Empty" Then strMessage = "Excel Running." Else strMessage = "Excel Not Running." End If ' Feedback to user... MsgBox strMessage, vbInformation, "Excel Status" ' Make the Excel instance visible ' if we found one if strMessage = "Excel Running." then _ objXL.Visible = true -----Original Message----- From: Mark Boyd [mailto:MarkBoyd at mcbeeassociates.com] Sent: Wednesday, June 01, 2005 5:21 PM To: Access Developers discussion and problem solving Subject: RE: [AccessD] Excel Macro Automation from within Access Thanks Jim, this is pointing me in the right direction. The export process is as follows: 1. Export report to Excel 2. Format report w/ macro 3. Save formatting changes 4. Attach file to email message When using the SaveAs method, I'm prompted to overwrite the existing excel file (the one just formatted). Am I missing something in regard to the properties of the SaveAs method, that will allow me to save the existing, formatted file? If I select Yes to overwrite the existing file, all of the macro formats are lost. Mark Boyd I/S Supervisor McBee Associates, Inc. *********************************************************************** 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. ----------------------------------------- This message and any attachments are intended only for the use of the individual or entity to which it is addressed and may contain information that is privileged, confidential, and exempt from disclosure under applicable law. If the reader of this message is not the intended recipient, or the employee or agent responsible for delivering the message to the intended recipient, you are hereby notified that any dissemination, distribution or copying of this communication is strictly prohibited. If you have received this communication in error, please notify the sender by replying to this message, and then delete it from your system. ------------------------------------------- -- 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 Bruce.Bruen at railcorp.nsw.gov.au Tue Jun 7 21:51:25 2005 From: Bruce.Bruen at railcorp.nsw.gov.au (Bruen, Bruce) Date: Wed, 8 Jun 2005 12:51:25 +1000 Subject: [AccessD] Access-based website "hit" analyser? Message-ID: Check out ClickTracks at www.clicktracks.com.au Hth bruce -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Chris Foote (Spike) Sent: Tuesday, 7 June 2005 10:44 PM To: AccessD at databaseadvisors.com Subject: [AccessD] Access-based website "hit" analyser? Hello listers! Has anyone got, or know where I can find an Access based "hit" analyser for an Apache web server. I'm looking for something to analyse the text log files that I get e-mailed every 24hours. I could craft my own, but if there is an existing app. that I could use as a basis... Regards Chris Foote - UK -- 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 viner at EUnet.yu Wed Jun 8 01:12:55 2005 From: viner at EUnet.yu (Ervin Brindza) Date: Wed, 8 Jun 2005 08:12:55 +0200 Subject: [AccessD] Insert Access Info Into Web page References: <42A5CE25.1030709@shaw.ca> Message-ID: <013801c56bf1$23408b10$0100a8c0@RazvojErvin> 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 From Chris.Foote at uk.thalesgroup.com Wed Jun 8 05:44:44 2005 From: Chris.Foote at uk.thalesgroup.com (Foote, Chris) Date: Wed, 8 Jun 2005 11:44:44 +0100 Subject: [AccessD] Access-based website "hit" analyser? Message-ID: <97CF276BD8C6D4119C4B00508BB18DE709E0C778@ntscxch1.int.rdel.co.uk> Thanks for that Bruce! My hosting company (http://www.dsvr.co.uk/) provides and supports Webalizer (http://www.webalizer.com) . I've had problems setting-up Webalizer so was looking for an Access alternative. Thanks again for your reply! Chris Foote - UK > -----Original Message----- > From: Bruen, Bruce [mailto:Bruce.Bruen at railcorp.nsw.gov.au] > Sent: Wednesday, June 08, 2005 3:51 AM > To: Access Developers discussion and problem solving > Subject: RE: [AccessD] Access-based website "hit" analyser? > > > Check out ClickTracks at www.clicktracks.com.au > Hth > bruce > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Chris Foote > (Spike) > Sent: Tuesday, 7 June 2005 10:44 PM > To: AccessD at databaseadvisors.com > Subject: [AccessD] Access-based website "hit" analyser? > > Hello listers! > > Has anyone got, or know where I can find an Access based > "hit" analyser > for an Apache web server. > > I'm looking for something to analyse the text log files that I get > e-mailed every 24hours. I could craft my own, but if there is an > existing app. that I could use as a basis... > > Regards > Chris Foote - UK > > > -- > 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. > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > From paul.hartland at fsmail.net Wed Jun 8 06:55:49 2005 From: paul.hartland at fsmail.net (paul.hartland at fsmail.net) Date: Wed, 8 Jun 2005 13:55:49 +0200 (CEST) Subject: [AccessD] OT - Looping Through Controls on Visual Basic Form Message-ID: <13281180.1118231749723.JavaMail.www@wwinf3102> To all, I have a lot of text boxes, combo boxes and check boxes on a form and need them locked for certain users I tried the following code to loop through them and when txt, pv or chk is found to lock or disable the control but it doesn't work.... Dim intFields As Integer For intFields = 0 To frmClient.Controls.Count If (Left(frmClient.Controls(intFields).Name, 3) = "chk" Or Left(frmClient.Controls(intFields).Name, 3) = "txt") Then frmClient(frmClient.Controls(intFields).Name).Locked = True End If If (Left(frmClient.Controls(intFields).Name, 2) = "PV") Then frmClient(frmClient.Controls(intFields).Name).Enabled = False End If Next intFields can anyone tell me what I am doing wrong cause I can't seem to see the wood for the tree's at the moment... Thanks in advance for all your help... Paul Hartland -- Whatever you Wanadoo: http://www.wanadoo.co.uk/time/ This email has been checked for most known viruses - find out more at: http://www.wanadoo.co.uk/help/id/7098.htm From RRANTHON at sentara.com Wed Jun 8 07:02:45 2005 From: RRANTHON at sentara.com (Randall R Anthony) Date: Wed, 08 Jun 2005 08:02:45 -0400 Subject: [AccessD] OT - Looping Through Controls on Visual Basic Form Message-ID: <200506081202.j58C2ws07457@databaseadvisors.com> Paul, This is what I'm currently using to do just what you described. I'm sure it can be manipulated to search on specific control names, although I have not done it because I don't need the specificity. For Each cCtrl In frmFormName.Controls If TypeOf cCtrl Is TextBox Then cCtrl.Locked = True End If If TypeOf cCtrl Is ComboBox Then cCtrl.Locked = True End If If TypeOf cCtrl Is DBGrid Then cCtrl.AllowAddNew = False cCtrl.AllowDelete = False cCtrl.AllowUpdate = False End If Next From ssharkins at bellsouth.net Wed Jun 8 07:14:13 2005 From: ssharkins at bellsouth.net (Susan Harkins) Date: Wed, 8 Jun 2005 08:14:13 -0400 Subject: [AccessD] OT - Looping Through Controls on Visual Basic Form In-Reply-To: <13281180.1118231749723.JavaMail.www@wwinf3102> Message-ID: <20050608121416.MKX25470.ibm57aec.bellsouth.net@SUSANONE> It worked for me -- almost. I had to qualify all the form references by adding Forms! -- and it worked. Also, I think you need to add -1 to the count definition: For intFields = 0 To frmClient.Controls.Count - 1 Susan H. To all, I have a lot of text boxes, combo boxes and check boxes on a form and need them locked for certain users I tried the following code to loop through them and when txt, pv or chk is found to lock or disable the control but it doesn't work.... Dim intFields As Integer For intFields = 0 To frmClient.Controls.Count If (Left(frmClient.Controls(intFields).Name, 3) = "chk" Or Left(frmClient.Controls(intFields).Name, 3) = "txt") Then frmClient(frmClient.Controls(intFields).Name).Locked = True End If If (Left(frmClient.Controls(intFields).Name, 2) = "PV") Then frmClient(frmClient.Controls(intFields).Name).Enabled = False End If Next intFields can anyone tell me what I am doing wrong cause I can't seem to see the wood for the tree's at the moment... Thanks in advance for all your help... Paul Hartland -- Whatever you Wanadoo: http://www.wanadoo.co.uk/time/ This email has been checked for most known viruses - find out more at: http://www.wanadoo.co.uk/help/id/7098.htm -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From bheygood at abestsystems.com Wed Jun 8 08:35:15 2005 From: bheygood at abestsystems.com (Bob Heygood) Date: Wed, 8 Jun 2005 06:35:15 -0700 Subject: [AccessD] Scrape Word Part II In-Reply-To: <6A6AA9DF57E4F046BDA1E273BDDB6772337511@corp-es01.fleetpride.com> Message-ID: Hello to the list, Well, my project is alive again. This time I have the luxury of being able to create the Word document from which I need to cull the info. I still need to have a Word table but I can create bookmarks or whatever within the table in the document. To recap I need to import 10 pieces of text from a Word document and store them in a mdb table. Jim Hale's code below worked really good except that we were pressed for time and did not ever get it to work in all areas of the Word doc. So my first question is how to search the Word doc to find the text, bookmarks, fields, custom properties or ???? TIA, Bob Heygood -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Hale, Jim Sent: Monday, April 18, 2005 8:54 AM To: 'Access Developers discussion and problem solving' Subject: RE: [AccessD] Scrape Word Whatever it takes to get the job done! Sorry I couldn't be more help. Jim Hale -----Original Message----- From: Bob Heygood [mailto:bheygood at abestsystems.com] Sent: Monday, April 18, 2005 10:09 AM To: Access Developers discussion and problem solving Subject: RE: [AccessD] Scrape Word Thanks Jim I finally just ran the job as it took about 4 hours to process 256 documents. it is a one time deal and the customer needed to have the results. your help was fantastic. bob -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Hale, Jim Sent: Friday, April 15, 2005 3:18 PM To: 'Access Developers discussion and problem solving' Subject: RE: [AccessD] Scrape Word I'll look at it some more on Monday. You might examine the selection object in the Word application. It has numerous properties and methods one or more of which should do the trick. Jim Hale -----Original Message----- From: Bob Heygood [mailto:bheygood at abestsystems.com] Sent: Friday, April 15, 2005 4:52 PM To: Access Developers discussion and problem solving Subject: RE: [AccessD] Scrape Word yes in a table cell. again your code is working super. but only grabs the first word, sometimes there is more than one word in the cell, and I would like to capture all of them. if you have thought, I would welcome it. again I tried to manipulate the code further but it acts very erratic when in a table cell. thanks for the great help. bob -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Hale, Jim Sent: Thursday, April 14, 2005 12:53 PM To: 'Access Developers discussion and problem solving' Subject: RE: [AccessD] Scrape Word So the data you want (including the search string) is in a table cell? In the code I sent you delete wd.Selection.Start = wd.Selection.End Call wd.Selection.EndOf(wdSentence, wdExtend) and replace with wd.Selection.Next(Unit:=wdWord, Count:=1).Select Or if the entire string is returned you can replace the search string with an empty string "" using the following function: Function ReplaceString(strTextIn As String, strFind As String, strReplace As String, fCaseSensitive As Boolean) As String Dim strTmp As String Dim intPos As Integer Dim intCaseSensitive As Integer intCaseSensitive = IIf(fCaseSensitive, 2, 1) strTmp = strTextIn intPos = InStr(1, strTmp, strFind, intCaseSensitive) Do While intPos > 0 strTmp = Left$(strTmp, intPos - 1) & strReplace & Mid$(strTmp, intPos + Len(strFind)) intPos = InStr(intPos + Len(strReplace), strTmp, strFind, intCaseSensitive) Loop ReplaceString = strTmp End Function 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 *********************************************************************** 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 isharp.co.uk Wed Jun 8 09:35:52 2005 From: paul.hartland at isharp.co.uk (Paul Hartland (ISHARP)) Date: Wed, 8 Jun 2005 15:35:52 +0100 Subject: [AccessD] OT - Looping Through Controls on Visual BasicForm In-Reply-To: <200506081202.j58C2ws07457@databaseadvisors.com> Message-ID: Thanks ever so much, makes my life so much easier Paul Hartland -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Randall R Anthony Sent: 08 June 2005 13:03 To: accessd at databaseadvisors.com Subject: Re: [AccessD] OT - Looping Through Controls on Visual BasicForm Paul, This is what I'm currently using to do just what you described. I'm sure it can be manipulated to search on specific control names, although I have not done it because I don't need the specificity. For Each cCtrl In frmFormName.Controls If TypeOf cCtrl Is TextBox Then cCtrl.Locked = True End If If TypeOf cCtrl Is ComboBox Then cCtrl.Locked = True End If If TypeOf cCtrl Is DBGrid Then cCtrl.AllowAddNew = False cCtrl.AllowDelete = False cCtrl.AllowUpdate = False End If Next -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From RRANTHON at sentara.com Wed Jun 8 09:45:20 2005 From: RRANTHON at sentara.com (Randall R Anthony) Date: Wed, 08 Jun 2005 10:45:20 -0400 Subject: [AccessD] OT - Looping Through Controls on Visual BasicForm Message-ID: <200506081445.j58EjTs14443@databaseadvisors.com> Glad to be able to help. >>> paul.hartland at isharp.co.uk 6/8/2005 10:35:52 AM >>> Thanks ever so much, makes my life so much easier Paul Hartland -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Randall R Anthony Sent: 08 June 2005 13:03 To: accessd at databaseadvisors.com Subject: Re: [AccessD] OT - Looping Through Controls on Visual BasicForm Paul, This is what I'm currently using to do just what you described. I'm sure it can be manipulated to search on specific control names, although I have not done it because I don't need the specificity. For Each cCtrl In frmFormName.Controls If TypeOf cCtrl Is TextBox Then cCtrl.Locked = True End If If TypeOf cCtrl Is ComboBox Then cCtrl.Locked = True End If If TypeOf cCtrl Is DBGrid Then cCtrl.AllowAddNew = False cCtrl.AllowDelete = False cCtrl.AllowUpdate = False End If Next -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd 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 Wed Jun 8 09:57:21 2005 From: darsant at gmail.com (Josh McFarlane) Date: Wed, 8 Jun 2005 09:57:21 -0500 Subject: [AccessD] OT - Looping Through Controls on Visual Basic Form In-Reply-To: <13281180.1118231749723.JavaMail.www@wwinf3102> References: <13281180.1118231749723.JavaMail.www@wwinf3102> Message-ID: <53c8e05a05060807575f007e47@mail.gmail.com> On 6/8/05, paul.hartland at fsmail.net wrote: > To all, > > I have a lot of text boxes, combo boxes and check boxes on a form and need them locked for certain users I tried the following code to loop through them and when txt, pv or chk is found to lock or disable the control but it doesn't work.... > > Dim intFields As Integer > For intFields = 0 To frmClient.Controls.Count > If (Left(frmClient.Controls(intFields).Name, 3) = "chk" Or Left(frmClient.Controls(intFields).Name, 3) = "txt") Then > frmClient(frmClient.Controls(intFields).Name).Locked = True > End If > If (Left(frmClient.Controls(intFields).Name, 2) = "PV") Then > frmClient(frmClient.Controls(intFields).Name).Enabled = False > End If > Next intFields > > can anyone tell me what I am doing wrong cause I can't seem to see the wood for the tree's at the moment... > > Thanks in advance for all your help... > > Paul Hartland Sorry I'm getting into this a little late. I think you might want to take a look into the tag property for controls. You label controls with any tags (or a number of tags) and then search for controls based on that tag, and disable / enable accordingly. This really comes in handy when different sets of controls need to be enabled / disabled for different states. Basic structure is a For Each statement. If you're interested I can give you a code sample. -- Josh McFarlane "Peace cannot be kept by force. It can only be achieved by understanding." -Albert Einstein From paul.hartland at fsmail.net Wed Jun 8 10:06:14 2005 From: paul.hartland at fsmail.net (paul.hartland at fsmail.net) Date: Wed, 8 Jun 2005 17:06:14 +0200 (CEST) Subject: [AccessD] OT - Looping Through Controls on Visual Basic Form Message-ID: <2212784.1118243174470.JavaMail.www@wwinf3001> Thanks but have already had one, I ended up using the For Each as you suggested... Thanks for the help anyway... Paul Hartland Message date : Jun 08 2005, 04:02 PM >From : "Josh McFarlane" To : "Access Developers discussion and problem solving" Copy to : Subject : Re: [AccessD] OT - Looping Through Controls on Visual Basic Form On 6/8/05, paul.hartland at fsmail.net wrote: > To all, > > I have a lot of text boxes, combo boxes and check boxes on a form and need them locked for certain users I tried the following code to loop through them and when txt, pv or chk is found to lock or disable the control but it doesn't work.... > > Dim intFields As Integer > For intFields = 0 To frmClient.Controls.Count > If (Left(frmClient.Controls(intFields).Name, 3) = "chk" Or Left(frmClient.Controls(intFields).Name, 3) = "txt") Then > frmClient(frmClient.Controls(intFields).Name).Locked = True > End If > If (Left(frmClient.Controls(intFields).Name, 2) = "PV") Then > frmClient(frmClient.Controls(intFields).Name).Enabled = False > End If > Next intFields > > can anyone tell me what I am doing wrong cause I can't seem to see the wood for the tree's at the moment... > > Thanks in advance for all your help... > > Paul Hartland Sorry I'm getting into this a little late. I think you might want to take a look into the tag property for controls. You label controls with any tags (or a number of tags) and then search for controls based on that tag, and disable / enable accordingly. This really comes in handy when different sets of controls need to be enabled / disabled for different states. Basic structure is a For Each statement. If you're interested I can give you a code sample. -- 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 -- Whatever you Wanadoo: http://www.wanadoo.co.uk/time/ This email has been checked for most known viruses - find out more at: http://www.wanadoo.co.uk/help/id/7098.htm From Jim.Hale at FleetPride.com Wed Jun 8 10:17:02 2005 From: Jim.Hale at FleetPride.com (Hale, Jim) Date: Wed, 8 Jun 2005 10:17:02 -0500 Subject: [AccessD] Scrape Word Part II Message-ID: <6A6AA9DF57E4F046BDA1E273BDDB6772337644@corp-es01.fleetpride.com> At the very bottom of this link Helen Feddema has some code that may help you. http://www.helenfeddema.com/CodeSamples.htm Jim Hale -----Original Message----- From: Bob Heygood [mailto:bheygood at abestsystems.com] Sent: Wednesday, June 08, 2005 8:35 AM To: Access Developers discussion and problem solving Subject: [AccessD] Scrape Word Part II Hello to the list, Well, my project is alive again. This time I have the luxury of being able to create the Word document from which I need to cull the info. I still need to have a Word table but I can create bookmarks or whatever within the table in the document. To recap I need to import 10 pieces of text from a Word document and store them in a mdb table. Jim Hale's code below worked really good except that we were pressed for time and did not ever get it to work in all areas of the Word doc. So my first question is how to search the Word doc to find the text, bookmarks, fields, custom properties or ???? TIA, Bob Heygood -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Hale, Jim Sent: Monday, April 18, 2005 8:54 AM To: 'Access Developers discussion and problem solving' Subject: RE: [AccessD] Scrape Word Whatever it takes to get the job done! Sorry I couldn't be more help. Jim Hale -----Original Message----- From: Bob Heygood [mailto:bheygood at abestsystems.com] Sent: Monday, April 18, 2005 10:09 AM To: Access Developers discussion and problem solving Subject: RE: [AccessD] Scrape Word Thanks Jim I finally just ran the job as it took about 4 hours to process 256 documents. it is a one time deal and the customer needed to have the results. your help was fantastic. bob -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Hale, Jim Sent: Friday, April 15, 2005 3:18 PM To: 'Access Developers discussion and problem solving' Subject: RE: [AccessD] Scrape Word I'll look at it some more on Monday. You might examine the selection object in the Word application. It has numerous properties and methods one or more of which should do the trick. Jim Hale -----Original Message----- From: Bob Heygood [mailto:bheygood at abestsystems.com] Sent: Friday, April 15, 2005 4:52 PM To: Access Developers discussion and problem solving Subject: RE: [AccessD] Scrape Word yes in a table cell. again your code is working super. but only grabs the first word, sometimes there is more than one word in the cell, and I would like to capture all of them. if you have thought, I would welcome it. again I tried to manipulate the code further but it acts very erratic when in a table cell. thanks for the great help. bob -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Hale, Jim Sent: Thursday, April 14, 2005 12:53 PM To: 'Access Developers discussion and problem solving' Subject: RE: [AccessD] Scrape Word So the data you want (including the search string) is in a table cell? In the code I sent you delete wd.Selection.Start = wd.Selection.End Call wd.Selection.EndOf(wdSentence, wdExtend) and replace with wd.Selection.Next(Unit:=wdWord, Count:=1).Select Or if the entire string is returned you can replace the search string with an empty string "" using the following function: Function ReplaceString(strTextIn As String, strFind As String, strReplace As String, fCaseSensitive As Boolean) As String Dim strTmp As String Dim intPos As Integer Dim intCaseSensitive As Integer intCaseSensitive = IIf(fCaseSensitive, 2, 1) strTmp = strTextIn intPos = InStr(1, strTmp, strFind, intCaseSensitive) Do While intPos > 0 strTmp = Left$(strTmp, intPos - 1) & strReplace & Mid$(strTmp, intPos + Len(strFind)) intPos = InStr(intPos + Len(strReplace), strTmp, strFind, intCaseSensitive) Loop ReplaceString = strTmp End Function 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 *********************************************************************** 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 Wed Jun 8 10:40:54 2005 From: jwcolby at colbyconsulting.com (John W. Colby) Date: Wed, 08 Jun 2005 11:40:54 -0400 Subject: [AccessD] No anonymous logon allowed Message-ID: <002b01c56c40$796535f0$6c7aa8c0@ColbyM6805> When I try and use FireFox to logon to my ftp site I get "Sorry, no anonymous logon allowed". It does not pop up the box for asking for the user name / password. Any idea why not and how to make it do so? John W. Colby www.ColbyConsulting.com Contribute your unused CPU cycles to a good cause: http://folding.stanford.edu/ From nkling at co.montgomery.ny.us Wed Jun 8 10:42:02 2005 From: nkling at co.montgomery.ny.us (Neal Kling) Date: Wed, 8 Jun 2005 11:42:02 -0400 Subject: [AccessD] No anonymous logon allowed Message-ID: <30BC111F638EB54082001A7E7282FE4107F3AD@elmo.co.montgomery.ny.us> Tools: Options: Web Features The Block Popup Windows check box may be blocking it. You should be able to add your site to the exceptions list. Neal -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of John W. Colby Sent: Wednesday, June 08, 2005 11:41 AM To: 'Access Developers discussion and problem solving' Subject: [AccessD] No anonymous logon allowed When I try and use FireFox to logon to my ftp site I get "Sorry, no anonymous logon allowed". It does not pop up the box for asking for the user name / password. Any idea why not and how to make it do so? 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 carbonnb at gmail.com Wed Jun 8 10:48:37 2005 From: carbonnb at gmail.com (Bryan Carbonnell) Date: Wed, 8 Jun 2005 11:48:37 -0400 Subject: [AccessD] No anonymous logon allowed In-Reply-To: <002b01c56c40$796535f0$6c7aa8c0@ColbyM6805> References: <002b01c56c40$796535f0$6c7aa8c0@ColbyM6805> Message-ID: On 6/8/05, John W. Colby wrote: > When I try and use FireFox to logon to my ftp site I get "Sorry, no > anonymous logon allowed". It does not pop up the box for asking for the > user name / password. Any idea why not and how to make it do so? I believe the default is to use anonymous logins for ftp sites. If you want to login with a specific user, you will have to use the following format for the URL: ftp://username at you.host.tld This will prompt you for the password. -- 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 jwcolby at colbyconsulting.com Wed Jun 8 10:51:33 2005 From: jwcolby at colbyconsulting.com (John W. Colby) Date: Wed, 08 Jun 2005 11:51:33 -0400 Subject: [AccessD] No anonymous logon allowed In-Reply-To: <30BC111F638EB54082001A7E7282FE4107F3AD@elmo.co.montgomery.ny.us> Message-ID: <002c01c56c41$f4e8d1e0$6c7aa8c0@ColbyM6805> Nope, that's apparently not it. I added my site, no help. I am talking about the FTP username/password dialog. John W. Colby www.ColbyConsulting.com Contribute your unused CPU cycles to a good cause: http://folding.stanford.edu/ -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Neal Kling Sent: Wednesday, June 08, 2005 11:42 AM To: Access Developers discussion and problem solving Subject: RE: [AccessD] No anonymous logon allowed Tools: Options: Web Features The Block Popup Windows check box may be blocking it. You should be able to add your site to the exceptions list. Neal -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of John W. Colby Sent: Wednesday, June 08, 2005 11:41 AM To: 'Access Developers discussion and problem solving' Subject: [AccessD] No anonymous logon allowed When I try and use FireFox to logon to my ftp site I get "Sorry, no anonymous logon allowed". It does not pop up the box for asking for the user name / password. Any idea why not and how to make it do so? 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 Wed Jun 8 11:01:52 2005 From: jwcolby at colbyconsulting.com (John W. Colby) Date: Wed, 08 Jun 2005 12:01:52 -0400 Subject: [AccessD] No anonymous logon allowed In-Reply-To: Message-ID: <002f01c56c43$65da4860$6c7aa8c0@ColbyM6805> Well, that does it. FireFox sure sucks as a FTP manager though. IE at least allows you to use the windows explorer to drag and drop files both directions. John W. Colby www.ColbyConsulting.com Contribute your unused CPU cycles to 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: Wednesday, June 08, 2005 11:49 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] No anonymous logon allowed On 6/8/05, John W. Colby wrote: > When I try and use FireFox to logon to my ftp site I get "Sorry, no > anonymous logon allowed". It does not pop up the box for asking for > the user name / password. Any idea why not and how to make it do so? I believe the default is to use anonymous logins for ftp sites. If you want to login with a specific user, you will have to use the following format for the URL: ftp://username at you.host.tld This will prompt you for the password. -- Bryan Carbonnell - carbonnb at gmail.com Life's journey is not to arrive at the grave safely in a well preserved body, but rather to skid in sideways, totally worn out, shouting "What a great ride!" -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From john at winhaven.net Wed Jun 8 11:05:25 2005 From: john at winhaven.net (John Bartow) Date: Wed, 8 Jun 2005 11:05:25 -0500 Subject: [AccessD] No anonymous logon allowed In-Reply-To: Message-ID: <200506081605.j58G5UM3358744@pimout2-ext.prodigy.net> And you do have to include the ftp:// otherwise for some odd reason it jumps back to http:// -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Bryan Carbonnell Sent: Wednesday, June 08, 2005 10:49 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] No anonymous logon allowed On 6/8/05, John W. Colby wrote: > When I try and use FireFox to logon to my ftp site I get "Sorry, no > anonymous logon allowed". It does not pop up the box for asking for > the user name / password. Any idea why not and how to make it do so? I believe the default is to use anonymous logins for ftp sites. If you want to login with a specific user, you will have to use the following format for the URL: ftp://username at you.host.tld This will prompt you for the password. -- Bryan Carbonnell - carbonnb at gmail.com Life's journey is not to arrive at the grave safely in a well preserved body, but rather to skid in sideways, totally worn out, shouting "What a great ride!" -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From Lambert.Heenan at AIG.com Wed Jun 8 11:05:37 2005 From: Lambert.Heenan at AIG.com (Heenan, Lambert) Date: Wed, 8 Jun 2005 12:05:37 -0400 Subject: [AccessD] No anonymous logon allowed Message-ID: <1D7828CDB8350747AFE9D69E0E90DA1F112146B5@xlivmbx21.aig.com> Have you tried using the neat FTP extension for firefox, fireFTP? It's at... https://addons.mozilla.org/extensions/moreinfo.php?id=684 Lambert -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of John W. Colby Sent: Wednesday, June 08, 2005 11:52 AM To: 'Access Developers discussion and problem solving' Subject: RE: [AccessD] No anonymous logon allowed Nope, that's apparently not it. I added my site, no help. I am talking about the FTP username/password dialog. John W. Colby www.ColbyConsulting.com Contribute your unused CPU cycles to a good cause: http://folding.stanford.edu/ -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Neal Kling Sent: Wednesday, June 08, 2005 11:42 AM To: Access Developers discussion and problem solving Subject: RE: [AccessD] No anonymous logon allowed Tools: Options: Web Features The Block Popup Windows check box may be blocking it. You should be able to add your site to the exceptions list. Neal -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of John W. Colby Sent: Wednesday, June 08, 2005 11:41 AM To: 'Access Developers discussion and problem solving' Subject: [AccessD] No anonymous logon allowed When I try and use FireFox to logon to my ftp site I get "Sorry, no anonymous logon allowed". It does not pop up the box for asking for the user name / password. Any idea why not and how to make it do so? 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 Wed Jun 8 11:12:58 2005 From: jwcolby at colbyconsulting.com (John W. Colby) Date: Wed, 08 Jun 2005 12:12:58 -0400 Subject: [AccessD] No anonymous logon allowed In-Reply-To: <1D7828CDB8350747AFE9D69E0E90DA1F112146B5@xlivmbx21.aig.com> Message-ID: <003001c56c44$eff11fa0$6c7aa8c0@ColbyM6805> Lambert, I haven't. I've just heard too Many horror stories about FF and addins. John W. Colby www.ColbyConsulting.com Contribute your unused CPU cycles to 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: Wednesday, June 08, 2005 12:06 PM To: 'Access Developers discussion and problem solving' Subject: RE: [AccessD] No anonymous logon allowed Have you tried using the neat FTP extension for firefox, fireFTP? It's at... https://addons.mozilla.org/extensions/moreinfo.php?id=684 Lambert -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of John W. Colby Sent: Wednesday, June 08, 2005 11:52 AM To: 'Access Developers discussion and problem solving' Subject: RE: [AccessD] No anonymous logon allowed Nope, that's apparently not it. I added my site, no help. I am talking about the FTP username/password dialog. John W. Colby www.ColbyConsulting.com Contribute your unused CPU cycles to a good cause: http://folding.stanford.edu/ -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Neal Kling Sent: Wednesday, June 08, 2005 11:42 AM To: Access Developers discussion and problem solving Subject: RE: [AccessD] No anonymous logon allowed Tools: Options: Web Features The Block Popup Windows check box may be blocking it. You should be able to add your site to the exceptions list. Neal -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of John W. Colby Sent: Wednesday, June 08, 2005 11:41 AM To: 'Access Developers discussion and problem solving' Subject: [AccessD] No anonymous logon allowed When I try and use FireFox to logon to my ftp site I get "Sorry, no anonymous logon allowed". It does not pop up the box for asking for the user name / password. Any idea why not and how to make it do so? 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 Gustav at cactus.dk Wed Jun 8 11:24:02 2005 From: Gustav at cactus.dk (Gustav Brock) Date: Wed, 08 Jun 2005 18:24:02 +0200 Subject: [AccessD] No anonymous logon allowed Message-ID: ** Low Priority ** Hi John et all Wouldn't this question fit perfectly on our dba-tech list? /gustav >>> jwcolby at colbyconsulting.com 06/08 5:40 pm >>> When I try and use FireFox to logon to my ftp site .. From Lambert.Heenan at AIG.com Wed Jun 8 11:28:07 2005 From: Lambert.Heenan at AIG.com (Heenan, Lambert) Date: Wed, 8 Jun 2005 12:28:07 -0400 Subject: [AccessD] No anonymous logon allowed Message-ID: <1D7828CDB8350747AFE9D69E0E90DA1F112146CC@xlivmbx21.aig.com> I doubt that they (horror stories about FF) are even close in number to the horror stories we have about IE! The only hassle I've had with FireFox (tempting fate, I know) is with the FlashBlock extension. On some sites that insist of showing us whiz-bang flash animations, FF will crash in flashblock is enabled. I suspect that the advertisers may have planed little bombs in the flash animations to force us to look at them. Thus far the only sites I've come across that do this (and then only intermittently) are www.refdesk.com and the drudge report. Losing Drudge was no hardship, but I like Refdest - so I just enable flash for the problem sites and get on with life. The FTP entn. Works very well for me. Lambert -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of John W. Colby Sent: Wednesday, June 08, 2005 12:13 PM To: 'Access Developers discussion and problem solving' Subject: RE: [AccessD] No anonymous logon allowed Lambert, I haven't. I've just heard too Many horror stories about FF and addins. John W. Colby www.ColbyConsulting.com Contribute your unused CPU cycles to 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: Wednesday, June 08, 2005 12:06 PM To: 'Access Developers discussion and problem solving' Subject: RE: [AccessD] No anonymous logon allowed Have you tried using the neat FTP extension for firefox, fireFTP? It's at... https://addons.mozilla.org/extensions/moreinfo.php?id=684 Lambert -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of John W. Colby Sent: Wednesday, June 08, 2005 11:52 AM To: 'Access Developers discussion and problem solving' Subject: RE: [AccessD] No anonymous logon allowed Nope, that's apparently not it. I added my site, no help. I am talking about the FTP username/password dialog. John W. Colby www.ColbyConsulting.com Contribute your unused CPU cycles to a good cause: http://folding.stanford.edu/ -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Neal Kling Sent: Wednesday, June 08, 2005 11:42 AM To: Access Developers discussion and problem solving Subject: RE: [AccessD] No anonymous logon allowed Tools: Options: Web Features The Block Popup Windows check box may be blocking it. You should be able to add your site to the exceptions list. Neal -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of John W. Colby Sent: Wednesday, June 08, 2005 11:41 AM To: 'Access Developers discussion and problem solving' Subject: [AccessD] No anonymous logon allowed When I try and use FireFox to logon to my ftp site I get "Sorry, no anonymous logon allowed". It does not pop up the box for asking for the user name / password. Any idea why not and how to make it do so? 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 john at winhaven.net Wed Jun 8 12:18:44 2005 From: john at winhaven.net (John Bartow) Date: Wed, 8 Jun 2005 12:18:44 -0500 Subject: [AccessD] No anonymous logon allowed In-Reply-To: Message-ID: <200506081718.j58HImM3393102@pimout2-ext.prodigy.net> Yes Gustav, you're correct! Sometimes I forget which list I'm replying too... John B. -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Gustav Brock Sent: Wednesday, June 08, 2005 11:24 AM To: accessd at databaseadvisors.com Subject: Re: [AccessD] No anonymous logon allowed Importance: Low ** Low Priority ** Hi John et all Wouldn't this question fit perfectly on our dba-tech list? /gustav >>> jwcolby at colbyconsulting.com 06/08 5:40 pm >>> When I try and use FireFox to logon to my ftp site .. -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From dwaters at usinternet.com Wed Jun 8 12:38:54 2005 From: dwaters at usinternet.com (Dan Waters) Date: Wed, 8 Jun 2005 10:38:54 -0700 Subject: [AccessD] Creating SPC charts In-Reply-To: <17102778.1118195814428.JavaMail.root@sniper16> Message-ID: <000001c56c50$f1e1fcb0$35018e0a@danwaters> Joe, That's it! But let me get back to you again later today with a little more info. Dan Waters -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Joe Rojas Sent: Tuesday, June 07, 2005 6:54 PM To: 'Access Developers discussion and problem solving' Subject: RE: [AccessD] Creating SPC charts Thanks Dan! I was hoping you were going to say that. I wanted to try and keep this all in Access. When you say "MS Graph", does this mean the same thing as inserting a chart in an access report by going to Insert -> Chart? Or is this something different? Thanks, JR -----Original Message----- From: Dan Waters [mailto:dwaters at usinternet.com] Sent: Tuesday, June 07, 2005 4:05 PM To: 'Access Developers discussion and problem solving' Subject: RE: [AccessD] Creating SPC charts Hi Joe, I am a Quality Engineer and have made many SPC charts! But none in Access yet. You can use MS Graph to make these - pretty much anything you can create in Excel you can make in MS Graph. All the best! Dan Waters -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Joe Rojas Sent: Tuesday, June 07, 2005 8:10 AM To: 'Access Developers discussion and problem solving' Subject: [AccessD] Creating SPC charts Hello, (Access 2000) I need to create statistical process control charts. Also known as X-bar charts, R-charts, ect. I already have the data but I don't know how to generate these kinds of charts in Access. Has anyone created these kinds of charts before? 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 carbonnb at gmail.com Wed Jun 8 12:52:50 2005 From: carbonnb at gmail.com (Bryan Carbonnell) Date: Wed, 8 Jun 2005 13:52:50 -0400 Subject: [AccessD] No anonymous logon allowed In-Reply-To: <002f01c56c43$65da4860$6c7aa8c0@ColbyM6805> References: <002f01c56c43$65da4860$6c7aa8c0@ColbyM6805> Message-ID: On 6/8/05, John W. Colby wrote: > Well, that does it. FireFox sure sucks as a FTP manager though. IE at > least allows you to use the windows explorer to drag and drop files both > directions. That's because FF is a web browser. Not an FTP client. -- 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 stuart at lexacorp.com.pg Wed Jun 8 13:44:35 2005 From: stuart at lexacorp.com.pg (Stuart McLachlan) Date: Thu, 09 Jun 2005 04:44:35 +1000 Subject: [AccessD] No anonymous logon allowed In-Reply-To: References: <002f01c56c43$65da4860$6c7aa8c0@ColbyM6805> Message-ID: <42A7C933.20861.2AD608B@stuart.lexacorp.com.pg> On 8 Jun 2005 at 13:52, Bryan Carbonnell wrote: > On 6/8/05, John W. Colby wrote: > > Well, that does it. FireFox sure sucks as a FTP manager though. IE at > > least allows you to use the windows explorer to drag and drop files both > > directions. > > That's because FF is a web browser. Not an FTP client. > That's why I use SmartFTP http://www.smartftp.com-- Stuart From fhtapia at gmail.com Wed Jun 8 17:48:20 2005 From: fhtapia at gmail.com (Francisco Tapia) Date: Wed, 8 Jun 2005 15:48:20 -0700 Subject: [AccessD] Access 2003, and ADPs Message-ID: I just got my copy of Access 2003 along w/ the Developer Extensions... IF I open up Access 2003 and create a blank ADP, I noticed in the title bar that the file format is in Access 2000 instead of Access 2003... did I misconfigure something? -- -Francisco http://pcthis.blogspot.com |PC news with out the jargon! http://sqlthis.blogspot.com | Tsql and More... From jwcolby at colbyconsulting.com Wed Jun 8 17:56:07 2005 From: jwcolby at colbyconsulting.com (John W. Colby) Date: Wed, 08 Jun 2005 18:56:07 -0400 Subject: [AccessD] Access 2003, and ADPs In-Reply-To: Message-ID: <004001c56c7d$4166dfe0$6c7aa8c0@ColbyM6805> I think it is just a continuation of the bug (never fixed) that prevents compacting any containers after 2K. Thus the default is to build containers in the 2K format since they can be compacted. John W. Colby www.ColbyConsulting.com Contribute your unused CPU cycles to a good cause: http://folding.stanford.edu/ -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Francisco Tapia Sent: Wednesday, June 08, 2005 6:48 PM To: Access Developers discussion and problem solving Subject: [AccessD] Access 2003, and ADPs I just got my copy of Access 2003 along w/ the Developer Extensions... IF I open up Access 2003 and create a blank ADP, I noticed in the title bar that the file format is in Access 2000 instead of Access 2003... did I misconfigure something? -- -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 fhtapia at gmail.com Wed Jun 8 18:45:09 2005 From: fhtapia at gmail.com (Francisco Tapia) Date: Wed, 8 Jun 2005 16:45:09 -0700 Subject: [AccessD] Access 2003, and ADPs In-Reply-To: <004001c56c7d$4166dfe0$6c7aa8c0@ColbyM6805> References: <004001c56c7d$4166dfe0$6c7aa8c0@ColbyM6805> Message-ID: huh? damn nobody mentioned this bug when I first asked about problems w/ Access 2003 (before I bought it...) I'm having buyer's remorse ;) I did a bit of diggin around and if I start a new db, then I can go into options and choose 2002-2003 format as the default. which is nice. (i hope). On 6/8/05, John W. Colby wrote: > I think it is just a continuation of the bug (never fixed) that prevents > compacting any containers after 2K. Thus the default is to build containers > in the 2K format since they can be compacted. > > John W. Colby > www.ColbyConsulting.com > > Contribute your unused CPU cycles to a good cause: > http://folding.stanford.edu/ > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Francisco Tapia > Sent: Wednesday, June 08, 2005 6:48 PM > To: Access Developers discussion and problem solving > Subject: [AccessD] Access 2003, and ADPs > > > I just got my copy of Access 2003 along w/ the Developer Extensions... IF I > open up Access 2003 and create a blank ADP, I noticed in the title bar that > the file format is in Access 2000 instead of Access 2003... did I > misconfigure something? > > > -- > -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 > -- -Francisco http://pcthis.blogspot.com |PC news with out the jargon! http://sqlthis.blogspot.com | Tsql and More... From fhtapia at gmail.com Wed Jun 8 18:59:39 2005 From: fhtapia at gmail.com (Francisco Tapia) Date: Wed, 8 Jun 2005 16:59:39 -0700 Subject: [AccessD] Access 2003, and ADPs In-Reply-To: References: <004001c56c7d$4166dfe0$6c7aa8c0@ColbyM6805> Message-ID: i'm looking at this error too... Microsoft Jet 4.0 Service Pack 8 or later must be installed to block unsafe expressions without affecting common functionality. what is the concensus for this?... On 6/8/05, Francisco Tapia wrote: > huh? > > damn nobody mentioned this bug when I first asked about problems w/ > Access 2003 (before I bought it...) I'm having buyer's remorse ;) > > I did a bit of diggin around and if I start a new db, then I can go > into options and choose 2002-2003 format as the default. which is > nice. (i hope). > > On 6/8/05, John W. Colby wrote: > > I think it is just a continuation of the bug (never fixed) that prevents > > compacting any containers after 2K. Thus the default is to build containers > > in the 2K format since they can be compacted. > > > > John W. Colby > > www.ColbyConsulting.com > > > > Contribute your unused CPU cycles to a good cause: > > http://folding.stanford.edu/ > > > > -----Original Message----- > > From: accessd-bounces at databaseadvisors.com > > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Francisco Tapia > > Sent: Wednesday, June 08, 2005 6:48 PM > > To: Access Developers discussion and problem solving > > Subject: [AccessD] Access 2003, and ADPs > > > > > > I just got my copy of Access 2003 along w/ the Developer Extensions... IF I > > open up Access 2003 and create a blank ADP, I noticed in the title bar that > > the file format is in Access 2000 instead of Access 2003... did I > > misconfigure something? > > > > > > -- > > -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 > > > > > -- > -Francisco > http://pcthis.blogspot.com |PC news with out the jargon! > http://sqlthis.blogspot.com | Tsql and More... > -- -Francisco http://pcthis.blogspot.com |PC news with out the jargon! http://sqlthis.blogspot.com | Tsql and More... From dwaters at usinternet.com Wed Jun 8 18:59:41 2005 From: dwaters at usinternet.com (Dan Waters) Date: Wed, 8 Jun 2005 16:59:41 -0700 Subject: [AccessD] Access 2003, and ADPs In-Reply-To: <24720894.1118274468106.JavaMail.root@sniper15> Message-ID: <000001c56c86$23fbf720$35018e0a@danwaters> Francisco! Don't have buyer's remorse! All you have to do is keep the database file format in A2k. There are no drawbacks (that I know of) to doing this. It's just something to remember. And, keep the Default database format set to A2K as well. In any case, this will only affect tables. Since you're making a ADP, this may not affect you. Perhaps someone else knows the story on this. Dan Waters -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Francisco Tapia Sent: Wednesday, June 08, 2005 4:45 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Access 2003, and ADPs huh? damn nobody mentioned this bug when I first asked about problems w/ Access 2003 (before I bought it...) I'm having buyer's remorse ;) I did a bit of diggin around and if I start a new db, then I can go into options and choose 2002-2003 format as the default. which is nice. (i hope). On 6/8/05, John W. Colby wrote: > I think it is just a continuation of the bug (never fixed) that prevents > compacting any containers after 2K. Thus the default is to build containers > in the 2K format since they can be compacted. > > John W. Colby > www.ColbyConsulting.com > > Contribute your unused CPU cycles to a good cause: > http://folding.stanford.edu/ > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Francisco Tapia > Sent: Wednesday, June 08, 2005 6:48 PM > To: Access Developers discussion and problem solving > Subject: [AccessD] Access 2003, and ADPs > > > I just got my copy of Access 2003 along w/ the Developer Extensions... IF I > open up Access 2003 and create a blank ADP, I noticed in the title bar that > the file format is in Access 2000 instead of Access 2003... did I > misconfigure something? > > > -- > -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 > -- -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 KP at sdsonline.net Wed Jun 8 19:26:11 2005 From: KP at sdsonline.net (Kath Pelletti) Date: Thu, 9 Jun 2005 10:26:11 +1000 Subject: [AccessD] Website down? Message-ID: <00a901c56c89$d72c2100$6601a8c0@user> Hi all - is the website down? I'm trying to get at the archive and having no luck...... ______________________________________________ Kath Pelletti From KP at sdsonline.net Wed Jun 8 19:38:16 2005 From: KP at sdsonline.net (Kath Pelletti) Date: Thu, 9 Jun 2005 10:38:16 +1000 Subject: [AccessD] Website down? References: <00a901c56c89$d72c2100$6601a8c0@user> Message-ID: <00c401c56c8b$872e9c80$6601a8c0@user> Don't worry - there does seem to be some trouble with the home page but I found the archive link - ----- Original Message ----- From: Kath Pelletti To: AccessD at databaseadvisors.com Sent: Thursday, June 09, 2005 10:26 AM Subject: [AccessD] Website down? Hi all - is the website down? I'm trying to get at the archive and having no luck...... ______________________________________________ Kath Pelletti -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From KP at sdsonline.net Wed Jun 8 19:58:07 2005 From: KP at sdsonline.net (Kath Pelletti) Date: Thu, 9 Jun 2005 10:58:07 +1000 Subject: [AccessD] Website / archive / error loading picture Message-ID: <003c01c56c8e$4d024f40$6601a8c0@user> I take it back - when I access the archive it doesnt seem to give me the full history. (I have an idea that this topic may have been covered before..) In the interim, could someone help with an error 2114. Situation is existing client with 4 workstations - 1 was replaced this week - Windows XP Pro re-installed, Office 2000 re-installed. When the user opens a form which attempts to load a .jpg or .gif picture the system come up with "...the database doesn't support the format of 'E:\Database\Photos\Peru.jpg' so it can't load the picture. Google brought up a few instances of developers getting this error where the graphics filters in Office haven't been installed. I have gone in to the setup of Office on that PC and re-installed the graphics filters but I am still getting the error. Can anyone help ? ______________________________________________ Kath Pelletti Software Design & Solutions Pty Ltd. Ph: 9505-6714 Fax: 9505-6430 KP at SDSOnline.net From john at winhaven.net Wed Jun 8 20:31:11 2005 From: john at winhaven.net (John Bartow) Date: Wed, 8 Jun 2005 20:31:11 -0500 Subject: [AccessD] Website down? In-Reply-To: <00a901c56c89$d72c2100$6601a8c0@user> Message-ID: <200506090131.j591VFPA207598@pimout4-ext.prodigy.net> Hi Kath, It would appear our web server is down. I cannot ftp in either. We're working on it... John Bartow, President Database Advisors, Inc. Email: mailto:president at databaseadvisors.com Website: http://www.databaseadvisors.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Kath Pelletti Sent: Wednesday, June 08, 2005 7:26 PM To: AccessD at databaseadvisors.com Subject: [AccessD] Website down? Hi all - is the website down? I'm trying to get at the archive and having no luck...... ______________________________________________ Kath Pelletti -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From GregSmith at starband.net Wed Jun 8 21:41:48 2005 From: GregSmith at starband.net (Greg Smith) Date: Wed, 8 Jun 2005 21:41:48 -0500 Subject: [AccessD] Website down? In-Reply-To: <00c401c56c8b$872e9c80$6601a8c0@user> Message-ID: <200506090245.j592jJ3Y022699@apophis.email.starband.net> I can't get to www.databaseadvisors.com either. "Page cannot be displayed". It's toast, at least for the moment. As for the 2114 error, try going to: http://support.microsoft.com/default.aspx?scid=kb;en-us;294255 And see if this is what you are getting. Greg -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Kath Pelletti Sent: Wednesday, June 08, 2005 7:38 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Website down? Don't worry - there does seem to be some trouble with the home page but I found the archive link - ----- Original Message ----- From: Kath Pelletti To: AccessD at databaseadvisors.com Sent: Thursday, June 09, 2005 10:26 AM Subject: [AccessD] Website down? Hi all - is the website down? I'm trying to get at the archive and having no luck...... ______________________________________________ Kath Pelletti -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From dwaters at usinternet.com Wed Jun 8 22:05:44 2005 From: dwaters at usinternet.com (Dan Waters) Date: Wed, 8 Jun 2005 20:05:44 -0700 Subject: [AccessD] Creating SPC charts In-Reply-To: <17102778.1118195814428.JavaMail.root@sniper16> Message-ID: <000101c56ca0$21861650$7905a8c0@danwaters> Joe, After you insert the chart, change the Class property to MSGraph.Chart, not MSGraph.Chart.8, which will be entered automatically. Then, in References select Microsoft Graph 10.0 Object Library (for AXP), or the appropriate reference for your version of Access. It's been a while, but I seem to remember that once I did this, then everything else seemed to work out OK. Actually, creating the queries is more of a challenge than making the chart. You may need to create a series of queries to get what you're looking for. HTH! Dan Waters -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Joe Rojas Sent: Tuesday, June 07, 2005 6:54 PM To: 'Access Developers discussion and problem solving' Subject: RE: [AccessD] Creating SPC charts Thanks Dan! I was hoping you were going to say that. I wanted to try and keep this all in Access. When you say "MS Graph", does this mean the same thing as inserting a chart in an access report by going to Insert -> Chart? Or is this something different? Thanks, JR -----Original Message----- From: Dan Waters [mailto:dwaters at usinternet.com] Sent: Tuesday, June 07, 2005 4:05 PM To: 'Access Developers discussion and problem solving' Subject: RE: [AccessD] Creating SPC charts Hi Joe, I am a Quality Engineer and have made many SPC charts! But none in Access yet. You can use MS Graph to make these - pretty much anything you can create in Excel you can make in MS Graph. All the best! Dan Waters -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Joe Rojas Sent: Tuesday, June 07, 2005 8:10 AM To: 'Access Developers discussion and problem solving' Subject: [AccessD] Creating SPC charts Hello, (Access 2000) I need to create statistical process control charts. Also known as X-bar charts, R-charts, ect. I already have the data but I don't know how to generate these kinds of charts in Access. Has anyone created these kinds of charts before? 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 martyconnelly at shaw.ca Thu Jun 9 00:10:33 2005 From: martyconnelly at shaw.ca (MartyConnelly) Date: Wed, 08 Jun 2005 22:10:33 -0700 Subject: [AccessD] Website / archive / error loading picture References: <003c01c56c8e$4d024f40$6601a8c0@user> Message-ID: <42A7CF49.9020801@shaw.ca> I know it coughs on jpeg but sometimes just changing extension to jpg works You need a full install of office I think, If not this works http://www.lebans.com/loadjpeg?gif.htm A97LoadJpegGif.zip is a database containing a function to allow for the Display of Jpeg and Gif files on systems that do not have the Office Graphic Filters installed. Here is the A2K version: A2KLoadJpegGif.zip NEW - April 05 2003 Ver 5.0 Developed to allow Access RunTime installations to display Jpeg files in a standard Image Control. Provides functionality to load JPG,GIF,BMP,EMF,WMF,CUR and ICO files on systems without the Office Graphics Filters loaded. Originally developed for Systems with Access Runtime only. Supports transparency in Transparent Gifs. Allows you to resize Images on Forms/Reports at runtime with no loss of Image quality. Kath Pelletti wrote: >I take it back - when I access the archive it doesnt seem to give me the full history. (I have an idea that this topic may have been covered before..) > >In the interim, could someone help with an error 2114. > >Situation is existing client with 4 workstations - 1 was replaced this week - Windows XP Pro re-installed, Office 2000 re-installed. > >When the user opens a form which attempts to load a .jpg or .gif picture the system come up with "...the database doesn't support the format of >'E:\Database\Photos\Peru.jpg' so it can't load the picture. > >Google brought up a few instances of developers getting this error where the graphics filters in Office haven't been installed. I have gone in to the setup of Office on that PC and re-installed the graphics filters but I am still getting the error. > >Can anyone help ? > >______________________________________________ >Kath Pelletti >Software Design & Solutions Pty Ltd. >Ph: 9505-6714 >Fax: 9505-6430 >KP at SDSOnline.net > > -- Marty Connelly Victoria, B.C. Canada From martyconnelly at shaw.ca Thu Jun 9 00:38:03 2005 From: martyconnelly at shaw.ca (MartyConnelly) Date: Wed, 08 Jun 2005 22:38:03 -0700 Subject: [AccessD] Website / archive / error loading picture References: <003c01c56c8e$4d024f40$6601a8c0@user> <42A7CF49.9020801@shaw.ca> Message-ID: <42A7D5BB.1010807@shaw.ca> This may also help but I have never used, there are complaints about this with Office 2003 and Tiff image filters which may require a hotfix, this download is supposed to install filters commensurate with version you have installed Additional text converters and image filters are available in the Microsoft Office File Converter Pack http://support.microsoft.com/kb/212265/ MartyConnelly wrote: > I know it coughs on jpeg but sometimes just changing extension to jpg > works > You need a full install of office I think, If not this works > > http://www.lebans.com/loadjpeg?gif.htm > A97LoadJpegGif.zip is a database containing a function to allow for the > Display of Jpeg and Gif files on systems that do not have the Office > Graphic Filters installed. Here is the A2K version: A2KLoadJpegGif.zip > > > NEW - April 05 2003 Ver 5.0 Developed to allow Access RunTime > installations to display Jpeg files in a standard Image Control. > Provides functionality to load JPG,GIF,BMP,EMF,WMF,CUR and ICO files on > systems without the Office Graphics Filters loaded. > Originally developed for Systems with Access Runtime only. Supports > transparency in Transparent Gifs. Allows you to resize Images on > Forms/Reports at runtime with no loss of Image quality. > > > > Kath Pelletti wrote: > >> I take it back - when I access the archive it doesnt seem to give me >> the full history. (I have an idea that this topic may have been >> covered before..) >> >> In the interim, could someone help with an error 2114. >> >> Situation is existing client with 4 workstations - 1 was replaced >> this week - Windows XP Pro re-installed, Office 2000 re-installed. >> >> When the user opens a form which attempts to load a .jpg or .gif >> picture the system come up with "...the database doesn't support the >> format of 'E:\Database\Photos\Peru.jpg' so it can't load the picture. >> >> Google brought up a few instances of developers getting this error >> where the graphics filters in Office haven't been installed. I have >> gone in to the setup of Office on that PC and re-installed the >> graphics filters but I am still getting the error. >> >> Can anyone help ? >> >> ______________________________________________ >> Kath Pelletti >> Software Design & Solutions Pty Ltd. >> Ph: 9505-6714 >> Fax: 9505-6430 >> KP at SDSOnline.net >> >> > -- Marty Connelly Victoria, B.C. Canada From paul.hartland at fsmail.net Thu Jun 9 04:05:37 2005 From: paul.hartland at fsmail.net (paul.hartland at fsmail.net) Date: Thu, 9 Jun 2005 11:05:37 +0200 (CEST) Subject: [AccessD] More MapPoint Help If Possible Message-ID: <20893438.1118307937034.JavaMail.www@wwinf3102> To all, I have the following code which sends a Client postcode and around 475 employee postcodes to MapPoint and returns the Mileage, however this takes around 16 minutes to complete which is far too long for our needs, can anyone see a way of speeding this up we really need this procedure to be as fast as possible. Private Sub FlyMap_Click() On Error Resume Next Dim rsClient As ADODB.Recordset Dim rsEmp As ADODB.Recordset Dim oMap As MapPoint.Map Dim oLoc1 As MapPoint.Location Dim oLoc2 As MapPoint.Location Dim strCPC As String Dim dtStart As Date Dim dtFinish As Date Set rsClient = New ADODB.Recordset rsClient.Open ("SELECT InvPostCode FROM tblClaires"), OpenDataConn, adOpenDynamic, adLockReadOnly strCPC = rsClient!InvPostCode rsClient.Close Set rsClient = Nothing Set rsEmp = New ADODB.Recordset rsEmp.Open ("SELECT PayrollNo, Postcode, DistFromClient FROM tblMidlands"), OpenDataConn, adOpenDynamic, adLockOptimistic Set oMap = CreateObject("MapPoint.Application").ActiveMap oMap.Parent.PaneState = geoPaneRoutePlanner With oMap.ActiveRoute rsEmp.MoveFirst dtStart = Format(Time(), "HH:MM:SS") Screen.MousePointer = vbHourglass Do Until (rsEmp.EOF) If (IsNull(rsEmp.Fields("Postcode")) = False Or rsEmp.Fields("Postcode") <> "") Then Set oLoc1 = oMap.FindResults(strCPC)(1) Set oLoc2 = oMap.FindResults(rsEmp.Fields("Postcode"))(1) If (oLoc1 Is Nothing Or oLoc2 Is Nothing) Then ' **** No Results Returned **** Else ' **** Results Returned So Calculate Distance Etc **** .Waypoints.Add oLoc1, "Start" .Waypoints.Add oLoc2, "End" .Calculate If (.IsCalculated = True) Then rsEmp.Fields("DistFromClient") = Format(.Distance, "00.00") rsEmp.Update End If End If End If rsEmp.MoveNext .Clear Loop Screen.MousePointer = vbDefault End With rsEmp.Close Set rsEmp = Nothing oMap.Saved = True Set oMap = Nothing dtFinish = Format(Time(), "HH:MM:SS") MsgBox "Finished : " & Format(dtFinish - dtStart, "HH:MM:SS") End Sub Thanks in advance for any help and/or code samples Paul Hartland -- Whatever you Wanadoo: http://www.wanadoo.co.uk/time/ This email has been checked for most known viruses - find out more at: http://www.wanadoo.co.uk/help/id/7098.htm From mmattys at rochester.rr.com Thu Jun 9 07:14:58 2005 From: mmattys at rochester.rr.com (Michael R Mattys) Date: Thu, 9 Jun 2005 08:14:58 -0400 Subject: [AccessD] More MapPoint Help If Possible References: <20893438.1118307937034.JavaMail.www@wwinf3102> Message-ID: <034701c56cec$dd4893d0$0202a8c0@default> ----- Original Message ----- From: To: "accessd" Sent: Thursday, June 09, 2005 5:05 AM Subject: [AccessD] More MapPoint Help If Possible Paul, Try MileCharter here: http://www.mapping-tools.com/ ---- Michael R. Mattys Mattys MapLib for Microsoft MapPoint http://www.mattysconsulting.com From jwcolby at colbyconsulting.com Thu Jun 9 07:17:58 2005 From: jwcolby at colbyconsulting.com (John W. Colby) Date: Thu, 09 Jun 2005 08:17:58 -0400 Subject: [AccessD] More MapPoint Help If Possible In-Reply-To: <20893438.1118307937034.JavaMail.www@wwinf3102> Message-ID: <004e01c56ced$490af130$6c7aa8c0@ColbyM6805> Paul, Are you pretesting the addresses to ensure that they resolve to a single location? In my data I get a ton of addresses which end up with many possible locations (can't be found so a "set" of possibilities is returned. .FindResults returns a collection of all the possible locations. If .Count is 1 then a single address was found and thus the address is "valid". You might want to look at how many addresses are returning a count > 0 and mark those addresses as invalid (using a field in the table), then do not look them up in the future until they are fixed. These location lookups take far longer than if the address resolves correctly and in the end just shouldn't be calculated every time. The thing you need to do is time the various parts of the code. Here is a look at a set of data points as I look up the address, and then look up the distance as the crow flies and distance as the car drives: Time to find Children's Specialized Hospital and 12 MSec Time to calc Distance ATCF between Family Resource Associates, Inc. and Children's Specialized Hospital: 1 MSec - 26.89295 miles" Time to calc Distance ATCD between Family Resource Associates, Inc. and Children's Specialized Hospital: 448 MSec - 33.64725 miles Time to find Fort Lee School District and 7 MSec Time to calc Distance ATCF between Family Resource Associates, Inc. and Fort Lee School District: 0 MSec - 35.70896 miles" Time to calc Distance ATCD between Family Resource Associates, Inc. and Fort Lee School District: 1143 MSec - 53.54356 miles Time to find Garfield School District and 4 MSec Time to calc Distance ATCF between Family Resource Associates, Inc. and Garfield School District: 0 MSec - 37.72034 miles" Time to calc Distance ATCD between Family Resource Associates, Inc. and Garfield School District: 758 MSec - 52.45616 miles Time to find Garwood School District and 8 MSec Time to calc Distance ATCF between Family Resource Associates, Inc. and Garwood School District: 0 MSec - 25.45199 miles" Time to calc Distance ATCD between Family Resource Associates, Inc. and Garwood School District: 401 MSec - 30.58389 miles What this tells me is that the time to look up an address that correctly resolves to a single address is minimal (~10 milliseconds), the time to calc the distance as the crow floes is almost nothing, but the time to calc the distance driven is huge and obviously varies with the number of roads that have to be found and calculated. I would guess that you just aren't going to change that time. John W. Colby www.ColbyConsulting.com Contribute your unused CPU cycles to a good cause: http://folding.stanford.edu/ -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of paul.hartland at fsmail.net Sent: Thursday, June 09, 2005 5:06 AM To: accessd Subject: [AccessD] More MapPoint Help If Possible To all, I have the following code which sends a Client postcode and around 475 employee postcodes to MapPoint and returns the Mileage, however this takes around 16 minutes to complete which is far too long for our needs, can anyone see a way of speeding this up we really need this procedure to be as fast as possible. Private Sub FlyMap_Click() On Error Resume Next Dim rsClient As ADODB.Recordset Dim rsEmp As ADODB.Recordset Dim oMap As MapPoint.Map Dim oLoc1 As MapPoint.Location Dim oLoc2 As MapPoint.Location Dim strCPC As String Dim dtStart As Date Dim dtFinish As Date Set rsClient = New ADODB.Recordset rsClient.Open ("SELECT InvPostCode FROM tblClaires"), OpenDataConn, adOpenDynamic, adLockReadOnly strCPC = rsClient!InvPostCode rsClient.Close Set rsClient = Nothing Set rsEmp = New ADODB.Recordset rsEmp.Open ("SELECT PayrollNo, Postcode, DistFromClient FROM tblMidlands"), OpenDataConn, adOpenDynamic, adLockOptimistic Set oMap = CreateObject("MapPoint.Application").ActiveMap oMap.Parent.PaneState = geoPaneRoutePlanner With oMap.ActiveRoute rsEmp.MoveFirst dtStart = Format(Time(), "HH:MM:SS") Screen.MousePointer = vbHourglass Do Until (rsEmp.EOF) If (IsNull(rsEmp.Fields("Postcode")) = False Or rsEmp.Fields("Postcode") <> "") Then Set oLoc1 = oMap.FindResults(strCPC)(1) Set oLoc2 = oMap.FindResults(rsEmp.Fields("Postcode"))(1) If (oLoc1 Is Nothing Or oLoc2 Is Nothing) Then ' **** No Results Returned **** Else ' **** Results Returned So Calculate Distance Etc **** .Waypoints.Add oLoc1, "Start" .Waypoints.Add oLoc2, "End" .Calculate If (.IsCalculated = True) Then rsEmp.Fields("DistFromClient") = Format(.Distance, "00.00") rsEmp.Update End If End If End If rsEmp.MoveNext .Clear Loop Screen.MousePointer = vbDefault End With rsEmp.Close Set rsEmp = Nothing oMap.Saved = True Set oMap = Nothing dtFinish = Format(Time(), "HH:MM:SS") MsgBox "Finished : " & Format(dtFinish - dtStart, "HH:MM:SS") End Sub Thanks in advance for any help and/or code samples Paul Hartland -- Whatever you Wanadoo: http://www.wanadoo.co.uk/time/ This email has been checked for most known viruses - find out more at: http://www.wanadoo.co.uk/help/id/7098.htm -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From jwcolby at colbyconsulting.com Thu Jun 9 07:41:43 2005 From: jwcolby at colbyconsulting.com (John W. Colby) Date: Thu, 09 Jun 2005 08:41:43 -0400 Subject: [AccessD] More MapPoint Help If Possible In-Reply-To: <20893438.1118307937034.JavaMail.www@wwinf3102> Message-ID: <004f01c56cf0$9aa45920$6c7aa8c0@ColbyM6805> Do these addresses change daily? If not why not precalc the distances and store them? John W. Colby www.ColbyConsulting.com Contribute your unused CPU cycles to a good cause: http://folding.stanford.edu/ -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of paul.hartland at fsmail.net Sent: Thursday, June 09, 2005 5:06 AM To: accessd Subject: [AccessD] More MapPoint Help If Possible To all, I have the following code which sends a Client postcode and around 475 employee postcodes to MapPoint and returns the Mileage, however this takes around 16 minutes to complete which is far too long for our needs, can anyone see a way of speeding this up we really need this procedure to be as fast as possible. Private Sub FlyMap_Click() On Error Resume Next Dim rsClient As ADODB.Recordset Dim rsEmp As ADODB.Recordset Dim oMap As MapPoint.Map Dim oLoc1 As MapPoint.Location Dim oLoc2 As MapPoint.Location Dim strCPC As String Dim dtStart As Date Dim dtFinish As Date Set rsClient = New ADODB.Recordset rsClient.Open ("SELECT InvPostCode FROM tblClaires"), OpenDataConn, adOpenDynamic, adLockReadOnly strCPC = rsClient!InvPostCode rsClient.Close Set rsClient = Nothing Set rsEmp = New ADODB.Recordset rsEmp.Open ("SELECT PayrollNo, Postcode, DistFromClient FROM tblMidlands"), OpenDataConn, adOpenDynamic, adLockOptimistic Set oMap = CreateObject("MapPoint.Application").ActiveMap oMap.Parent.PaneState = geoPaneRoutePlanner With oMap.ActiveRoute rsEmp.MoveFirst dtStart = Format(Time(), "HH:MM:SS") Screen.MousePointer = vbHourglass Do Until (rsEmp.EOF) If (IsNull(rsEmp.Fields("Postcode")) = False Or rsEmp.Fields("Postcode") <> "") Then Set oLoc1 = oMap.FindResults(strCPC)(1) Set oLoc2 = oMap.FindResults(rsEmp.Fields("Postcode"))(1) If (oLoc1 Is Nothing Or oLoc2 Is Nothing) Then ' **** No Results Returned **** Else ' **** Results Returned So Calculate Distance Etc **** .Waypoints.Add oLoc1, "Start" .Waypoints.Add oLoc2, "End" .Calculate If (.IsCalculated = True) Then rsEmp.Fields("DistFromClient") = Format(.Distance, "00.00") rsEmp.Update End If End If End If rsEmp.MoveNext .Clear Loop Screen.MousePointer = vbDefault End With rsEmp.Close Set rsEmp = Nothing oMap.Saved = True Set oMap = Nothing dtFinish = Format(Time(), "HH:MM:SS") MsgBox "Finished : " & Format(dtFinish - dtStart, "HH:MM:SS") End Sub Thanks in advance for any help and/or code samples Paul Hartland -- Whatever you Wanadoo: http://www.wanadoo.co.uk/time/ This email has been checked for most known viruses - find out more at: http://www.wanadoo.co.uk/help/id/7098.htm -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From BBarabash at TappeConstruction.com Thu Jun 9 08:57:10 2005 From: BBarabash at TappeConstruction.com (Brett Barabash) Date: Thu, 9 Jun 2005 08:57:10 -0500 Subject: [AccessD] Access 2003, and ADPs Message-ID: <100F91B31300334B89EC531C9DCB08659F7682@tccexch01.tappeconstruction.net> I installed it (after a lengthy search through the MS site). If you don't, be prepared for non-stop nagging everytime you open a database. Access 2003 has worked well for me, although functionality wise it is pretty much on par with Access 2000. -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Francisco Tapia Sent: Wednesday, June 08, 2005 7:00 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Access 2003, and ADPs i'm looking at this error too... Microsoft Jet 4.0 Service Pack 8 or later must be installed to block unsafe expressions without affecting common functionality. what is the concensus for this?... On 6/8/05, Francisco Tapia wrote: > huh? > > damn nobody mentioned this bug when I first asked about problems w/ > Access 2003 (before I bought it...) I'm having buyer's remorse ;) > > I did a bit of diggin around and if I start a new db, then I can go > into options and choose 2002-2003 format as the default. which is > nice. (i hope). > > On 6/8/05, John W. Colby wrote: > > I think it is just a continuation of the bug (never fixed) that > > prevents compacting any containers after 2K. Thus the default is to > > build containers in the 2K format since they can be compacted. > > > > John W. Colby > > www.ColbyConsulting.com > > > > Contribute your unused CPU cycles to a good cause: > > http://folding.stanford.edu/ > > > > -----Original Message----- > > From: accessd-bounces at databaseadvisors.com > > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Francisco > > Tapia > > Sent: Wednesday, June 08, 2005 6:48 PM > > To: Access Developers discussion and problem solving > > Subject: [AccessD] Access 2003, and ADPs > > > > > > I just got my copy of Access 2003 along w/ the Developer > > Extensions... IF I open up Access 2003 and create a blank ADP, I > > noticed in the title > > instead of Access 2003... did I misconfigure something? > > > > > > -- > > -Francisco > > http://pcthis.blogspot.com |PC news with out the jargon! > > http://sqlthis.blogspot.com | Tsql and More... > > -- -------------------------------------------------------------------------------------------------------------------- The information in this email may contain confidential information that is legally privileged. The information is only for the use of the intended recipient(s) named above. If you are not the intended recipient(s), you are hereby notified that any disclosure, copying, distribution, or the taking of any action in regard to the content of this email is strictly prohibited. If transmission is incorrect, unclear, or incomplete, please notify the sender immediately. The authorized recipient(s) of this information is/are prohibited from disclosing this information to any other party and is/are required to destroy the information after its stated need has been fulfilled. Any views expressed in this message are those of the individual sender, except where the sender specifies and with authority, states them to be the views of Tappe Construction Co. This footer also confirms that this email message has been scanned for the presence of computer viruses.Scanning of this message and addition of this footer is performed by SurfControl E-mail Filter software in conjunction with virus detection software. From JHewson at karta.com Thu Jun 9 10:11:47 2005 From: JHewson at karta.com (Jim Hewson) Date: Thu, 9 Jun 2005 10:11:47 -0500 Subject: [AccessD] Close object without saving Message-ID: <9C382E065F54AE48BC3AA7925DCBB01C034D87CE@karta-exc-int.Karta.com> I'm having trouble finding the Close Action parameters. I want to close created and/or modified objects without saving them. Currently, forms, reports and queries close with any changes saved automatically. New Query Defs I get the "Save As" dialog box. I can't find the toggle to change it. Where is it? A2K. Thanks, Jim From RRANTHON at sentara.com Thu Jun 9 10:16:18 2005 From: RRANTHON at sentara.com (Randall R Anthony) Date: Thu, 09 Jun 2005 11:16:18 -0400 Subject: [AccessD] Close object without saving Message-ID: <200506091516.j59FGas18254@databaseadvisors.com> Is this what you're looking for? Added to the end of the DoCmd. statement. , acSaveNo From JHewson at karta.com Thu Jun 9 10:27:06 2005 From: JHewson at karta.com (Jim Hewson) Date: Thu, 9 Jun 2005 10:27:06 -0500 Subject: [AccessD] Close object without saving Message-ID: <9C382E065F54AE48BC3AA7925DCBB01C034D87D8@karta-exc-int.Karta.com> No, I found that. What I'm looking for is the dialog box and asks if I want to save the query, form, etc. Instead it automatically saves. Thanks Jim -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Randall R Anthony Sent: Thursday, June 09, 2005 10:16 AM To: accessd at databaseadvisors.com Subject: Re: [AccessD] Close object without saving Is this what you're looking for? Added to the end of the DoCmd. statement. , acSaveNo -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From andy at minstersystems.co.uk Thu Jun 9 10:39:17 2005 From: andy at minstersystems.co.uk (Andy Lacey) Date: Thu, 9 Jun 2005 16:39:17 +0100 Subject: [AccessD] Close object without saving Message-ID: <20050609153913.AED82253ACF@smtp.nildram.co.uk> Jim I suspect that your program somewhere has done a Docmd.SetWarnings False and not set it True again. So I'd a) put Docmd.Setwarnings True at the start of your MDB to get it sorted, but b) try to find the offending code cos it's going to keep happening otherwise. One thought is that the code may be setting it False, falling into an error and the error handler doesn't set it 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: RE: [AccessD] Close object without saving Date: 09/06/05 15:27 > > No, I found that. > What I'm looking for is the dialog box and asks if I want to save the > query, form, etc. > Instead it automatically saves. > Thanks > Jim > > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Randall R > Anthony > Sent: Thursday, June 09, 2005 10:16 AM > To: accessd at databaseadvisors.com > Subject: Re: [AccessD] Close object without saving > > Is this what you're looking for? Added to the end of the DoCmd. > statement. > > , acSaveNo > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/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 Lambert.Heenan at AIG.com Thu Jun 9 10:54:13 2005 From: Lambert.Heenan at AIG.com (Heenan, Lambert) Date: Thu, 9 Jun 2005 11:54:13 -0400 Subject: [AccessD] Close object without saving Message-ID: <1D7828CDB8350747AFE9D69E0E90DA1F112149F7@xlivmbx21.aig.com> What you need is Docmd.SetWarnings True Which you can type in the immediate window and hit enter. This setting is specific to each database, and it defaults to True (On). Normally this code is used, for example, just before running an update query, and then the warnings are turned back on with Docmd.SetWarnings True. I suspect that you have turned warnings off at some point in your code and then did not turn them back on. This setting persists with the database even when it is closed and started up again. A common cause of the problem is where warnings are turned off in code, but then a runtime error happened and they were never turned back on. That is why I always ensure that routines that turn off the warnings have an error handler that turns them back on. Lambert -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Jim Hewson Sent: Thursday, June 09, 2005 11:27 AM To: Access Developers discussion and problem solving Subject: RE: [AccessD] Close object without saving No, I found that. What I'm looking for is the dialog box and asks if I want to save the query, form, etc. Instead it automatically saves. Thanks Jim -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Randall R Anthony Sent: Thursday, June 09, 2005 10:16 AM To: accessd at databaseadvisors.com Subject: Re: [AccessD] Close object without saving Is this what you're looking for? Added to the end of the DoCmd. statement. , acSaveNo -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From RRANTHON at sentara.com Thu Jun 9 11:20:59 2005 From: RRANTHON at sentara.com (Randall R Anthony) Date: Thu, 09 Jun 2005 12:20:59 -0400 Subject: [AccessD] Close object without saving Message-ID: <200506091621.j59GLLs04560@databaseadvisors.com> Another way, which I don't recommend (but found out the hard way) is to go to Tools >> Options >> Edit/Find tab and uncheck Record Changes, Document Deletions and Action Queries check boxes. >>> Lambert.Heenan at aig.com 6/9/2005 11:54:13 AM >>> What you need is Docmd.SetWarnings True Which you can type in the immediate window and hit enter. This setting is specific to each database, and it defaults to True (On). Normally this code is used, for example, just before running an update query, and then the warnings are turned back on with Docmd.SetWarnings True. I suspect that you have turned warnings off at some point in your code and then did not turn them back on. This setting persists with the database even when it is closed and started up again. A common cause of the problem is where warnings are turned off in code, but then a runtime error happened and they were never turned back on. That is why I always ensure that routines that turn off the warnings have an error handler that turns them back on. Lambert -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Jim Hewson Sent: Thursday, June 09, 2005 11:27 AM To: Access Developers discussion and problem solving Subject: RE: [AccessD] Close object without saving No, I found that. What I'm looking for is the dialog box and asks if I want to save the query, form, etc. Instead it automatically saves. Thanks Jim -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Randall R Anthony Sent: Thursday, June 09, 2005 10:16 AM To: accessd at databaseadvisors.com Subject: Re: [AccessD] Close object without saving Is this what you're looking for? Added to the end of the DoCmd. statement. , acSaveNo -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From fhtapia at gmail.com Thu Jun 9 11:27:48 2005 From: fhtapia at gmail.com (Francisco Tapia) Date: Thu, 9 Jun 2005 09:27:48 -0700 Subject: [AccessD] Access 2003, and ADPs In-Reply-To: <100F91B31300334B89EC531C9DCB08659F7682@tccexch01.tappeconstruction.net> References: <100F91B31300334B89EC531C9DCB08659F7682@tccexch01.tappeconstruction.net> Message-ID: well I plan on deploying my next DB w/ the Access 2003 runtime... this means that my wise installer "MUST" include the SP8 for Jet? On 6/9/05, Brett Barabash wrote: > I installed it (after a lengthy search through the MS site). If you > don't, be prepared for non-stop nagging everytime you open a database. > > Access 2003 has worked well for me, although functionality wise it is > pretty much on par with Access 2000. > > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Francisco > Tapia > Sent: Wednesday, June 08, 2005 7:00 PM > To: Access Developers discussion and problem solving > Subject: Re: [AccessD] Access 2003, and ADPs > > i'm looking at this error too... > > Microsoft Jet 4.0 Service Pack 8 or later must be installed to block > unsafe expressions without affecting common functionality. > > what is the concensus for this?... > > On 6/8/05, Francisco Tapia wrote: > > huh? > > > > damn nobody mentioned this bug when I first asked about problems w/ > > Access 2003 (before I bought it...) I'm having buyer's remorse ;) > > > > I did a bit of diggin around and if I start a new db, then I can go > > into options and choose 2002-2003 format as the default. which is > > nice. (i hope). > > > > On 6/8/05, John W. Colby wrote: > > > I think it is just a continuation of the bug (never fixed) that > > > prevents compacting any containers after 2K. Thus the default is to > > > > build containers in the 2K format since they can be compacted. > > > > > > John W. Colby > > > www.ColbyConsulting.com > > > > > > Contribute your unused CPU cycles to a good cause: > > > http://folding.stanford.edu/ > > > > > > -----Original Message----- > > > From: accessd-bounces at databaseadvisors.com > > > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Francisco > > > > Tapia > > > Sent: Wednesday, June 08, 2005 6:48 PM > > > To: Access Developers discussion and problem solving > > > Subject: [AccessD] Access 2003, and ADPs > > > > > > > > > I just got my copy of Access 2003 along w/ the Developer > > > Extensions... IF I open up Access 2003 and create a blank ADP, I > > > noticed in the title > > > > instead of Access 2003... did I misconfigure something? > > > > > > > > > -- > > > -Francisco > > > http://pcthis.blogspot.com |PC news with out the jargon! > > > http://sqlthis.blogspot.com | Tsql and More... > > > -- > > -------------------------------------------------------------------------------------------------------------------- > The information in this email may contain confidential information that > is legally privileged. The information is only for the use of the intended > recipient(s) named above. If you are not the intended recipient(s), you > are hereby notified that any disclosure, copying, distribution, or the taking > of any action in regard to the content of this email is strictly prohibited. If > transmission is incorrect, unclear, or incomplete, please notify the sender > immediately. The authorized recipient(s) of this information is/are prohibited > from disclosing this information to any other party and is/are required to > destroy the information after its stated need has been fulfilled. > > Any views expressed in this message are those of the individual > sender, except where the sender specifies and with authority, > states them to be the views of Tappe Construction Co. > > This footer also confirms that this email message has been scanned > for the presence of computer viruses.Scanning of this message and > addition of this footer is performed by SurfControl E-mail Filter software > in conjunction with virus detection software. > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > -- -Francisco http://pcthis.blogspot.com |PC news with out the jargon! http://sqlthis.blogspot.com | Tsql and More... From BBarabash at TappeConstruction.com Thu Jun 9 11:50:03 2005 From: BBarabash at TappeConstruction.com (Brett Barabash) Date: Thu, 9 Jun 2005 11:50:03 -0500 Subject: [AccessD] Access 2003, and ADPs Message-ID: <100F91B31300334B89EC531C9DCB08659F76C8@tccexch01.tappeconstruction.net> I don't have the A2003 runtime, so I don't know if it will display the message to the end user. Try opening a database with /runtime in the command line and see what happens. For all intents and purposes, the unsafe expressions vulnerability probably won't be nearly as problematic as forcing the user to click past a dialog that most people cannot understand. -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Francisco Tapia Sent: Thursday, June 09, 2005 11:28 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Access 2003, and ADPs well I plan on deploying my next DB w/ the Access 2003 runtime... this means that my wise installer "MUST" include the SP8 for Jet? On 6/9/05, Brett Barabash wrote: > I installed it (after a lengthy search through the MS site). If you > don't, be prepared for non-stop nagging everytime you open a database. > > Access 2003 has worked well for me, although functionality wise it is > pretty much on par with Access 2000. > > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Francisco > Tapia > Sent: Wednesday, June 08, 2005 7:00 PM > To: Access Developers discussion and problem solving > Subject: Re: [AccessD] Access 2003, and ADPs > > i'm looking at this error too... > > Microsoft Jet 4.0 Service Pack 8 or later must be installed to block > unsafe expressions without affecting common functionality. > > what is the concensus for this?... > -------------------------------------------------------------------------------------------------------------------- The information in this email may contain confidential information that is legally privileged. The information is only for the use of the intended recipient(s) named above. If you are not the intended recipient(s), you are hereby notified that any dis f any action in regard to the content of this email is strictly prohibited. If transmission is incorrect, unclear, or incomplete, please notify the sender immediately. The authorized recipient(s) of this information is/are prohibited from disclosing this information to any other party and is/are required to destroy the information after its stated need has been fulfilled. Any views expressed in this message are those of the individual sender, except where the sender specifies and with authority, states them to be the views of Tappe Construction Co. This footer also confirms that this email message has been scanned for the presence of computer viruses.Scanning of this message and addition of this footer is performed by SurfControl E-mail Filter software in conjunction with virus detection software. From jwcolby at colbyconsulting.com Thu Jun 9 11:50:58 2005 From: jwcolby at colbyconsulting.com (John W. Colby) Date: Thu, 09 Jun 2005 12:50:58 -0400 Subject: [AccessD] Close object without saving In-Reply-To: <20050609153913.AED82253ACF@smtp.nildram.co.uk> Message-ID: <005401c56d13$6d6ddd50$6c7aa8c0@ColbyM6805> And for that reason, the Docmd.SetWarnings True should be placed immediately in front of the (ONLY) line of code that says Exit 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 Andy Lacey Sent: Thursday, June 09, 2005 11:39 AM To: Access Developers discussion and problem solving Subject: RE: [AccessD] Close object without saving Jim I suspect that your program somewhere has done a Docmd.SetWarnings False and not set it True again. So I'd a) put Docmd.Setwarnings True at the start of your MDB to get it sorted, but b) try to find the offending code cos it's going to keep happening otherwise. One thought is that the code may be setting it False, falling into an error and the error handler doesn't set it 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: RE: [AccessD] Close object without saving Date: 09/06/05 15:27 > > No, I found that. > What I'm looking for is the dialog box and asks if I want to save the > query, form, etc. Instead it automatically saves. > Thanks > Jim > > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Randall R > Anthony > Sent: Thursday, June 09, 2005 10:16 AM > To: accessd at databaseadvisors.com > Subject: Re: [AccessD] Close object without saving > > Is this what you're looking for? Added to the end of the DoCmd. > statement. > > , acSaveNo > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/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 scapistrant at symphonyinfo.com Thu Jun 9 12:11:41 2005 From: scapistrant at symphonyinfo.com (Steve Capistrant) Date: Thu, 9 Jun 2005 12:11:41 -0500 Subject: [AccessD] Access on Macs Message-ID: <855499653F55AD4190B242717DF132BC082B31@dewey.Symphony.local> I met yesterday with a prospect for our Access-based software product. A fifth of their computers are Macs, the remainder PCs. Based on what I have assumed for YEARS, I noted that it won't fly with the Mac users, unless you buy some third party emulator, and even then I've heard about flaky behavior. Yet they assured me that Macs can run all MS Office applications. No emulator. Am I in the dark here? Do Macs have a native MS Office version? If so, does it include Access? And if so, can they work seamlessly with an Access file generated from a PC, or is there some format conversion that is required to create a Mac-enabled file? Steve Capistrant scapistrant at symphonyinfo.com Symphony Information Services 7308 Aspen Lane North, Suite 132 Brooklyn Park, MN 55428 763-391-7400 www.symphonyinfo.com From cfoust at infostatsystems.com Thu Jun 9 12:19:40 2005 From: cfoust at infostatsystems.com (Charlotte Foust) Date: Thu, 9 Jun 2005 10:19:40 -0700 Subject: [AccessD] Access on Macs Message-ID: Macs have a native version of Office, but it doesn't include Access, which is strictly PC-based. They can run Access on a PowerPC, but I don't know if that requires using an emulator. I have seen Access running on a PowerPC notebook, but I quickly ran in the other direction and didn't ask for the ugly details. Charlotte Foust -----Original Message----- From: Steve Capistrant [mailto:scapistrant at symphonyinfo.com] Sent: Thursday, June 09, 2005 10:12 AM To: Access Developers discussion and problem solving Subject: [AccessD] Access on Macs I met yesterday with a prospect for our Access-based software product. A fifth of their computers are Macs, the remainder PCs. Based on what I have assumed for YEARS, I noted that it won't fly with the Mac users, unless you buy some third party emulator, and even then I've heard about flaky behavior. Yet they assured me that Macs can run all MS Office applications. No emulator. Am I in the dark here? Do Macs have a native MS Office version? If so, does it include Access? And if so, can they work seamlessly with an Access file generated from a PC, or is there some format conversion that is required to create a Mac-enabled file? Steve Capistrant scapistrant at symphonyinfo.com Symphony Information Services 7308 Aspen Lane North, Suite 132 Brooklyn Park, MN 55428 763-391-7400 www.symphonyinfo.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From Mike.W.Gowey at doc.state.or.us Thu Jun 9 12:34:53 2005 From: Mike.W.Gowey at doc.state.or.us (Gowey Mike W) Date: Thu, 9 Jun 2005 11:34:53 -0600 Subject: [AccessD] Access on Macs Message-ID: <05EBB8A3BEB95B4F8216BE4EF48607780579B4DE@srciml1.ds.doc.state.or.us> I want to be able to display the value of the following select statement on a form. It should only find one tag number since I do not allow duplicates. I want to be able to see the results on the form. strSQL = "SELECT DISTINCT tblInventory.[DOC Tag Number+] FROM tblInventory " strSQL = strSQL & " WHERE tblInventory.[DOC Tag Number+] = '" & Tag & "'" strSQL = strSQL & " ORDER BY tblInventory.[DOC Tag Number+];" Thanks in advance for any advice. Mike Gowey MCDST, A+, LME, NET+ Team Leader - East Region Information Systems Unit From garykjos at gmail.com Thu Jun 9 12:39:40 2005 From: garykjos at gmail.com (Gary Kjos) Date: Thu, 9 Jun 2005 12:39:40 -0500 Subject: [AccessD] Access on Macs In-Reply-To: <855499653F55AD4190B242717DF132BC082B31@dewey.Symphony.local> References: <855499653F55AD4190B242717DF132BC082B31@dewey.Symphony.local> Message-ID: It was announced on Monday that next year Macs willl start using Intel processors and will be able to run Windows.... http://www.pcmag.com/article2/0,1759,1824718,00.asp VirtualPC is a PC Emulator for the Mac http://www.microsoft.com/mac/products/virtualpc/virtualpc.aspx?pid=virtualpc On 6/9/05, Steve Capistrant wrote: > I met yesterday with a prospect for our Access-based software product. > A fifth of their computers are Macs, the remainder PCs. Based on what I > have assumed for YEARS, I noted that it won't fly with the Mac users, > unless you buy some third party emulator, and even then I've heard about > flaky behavior. > > Yet they assured me that Macs can run all MS Office applications. No > emulator. Am I in the dark here? Do Macs have a native MS Office > version? If so, does it include Access? And if so, can they work > seamlessly with an Access file generated from a PC, or is there some > format conversion that is required to create a Mac-enabled file? > > Steve Capistrant > scapistrant at symphonyinfo.com > Symphony Information Services > 7308 Aspen Lane North, Suite 132 > Brooklyn Park, MN 55428 > 763-391-7400 > www.symphonyinfo.com > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > -- Gary Kjos garykjos at gmail.com From dw-murphy at cox.net Thu Jun 9 12:43:50 2005 From: dw-murphy at cox.net (Doug Murphy) Date: Thu, 9 Jun 2005 10:43:50 -0700 Subject: [AccessD] Access on Macs In-Reply-To: <855499653F55AD4190B242717DF132BC082B31@dewey.Symphony.local> Message-ID: <002401c56d1a$cfadd360$c300a8c0@murphyf3vdfepi> Steve, To run Access on a Mac you have to do it under Windows emulation. We have had folks run our software, which is an Access runtime, on their Macs under Virtual PC. I set one of these up a couple of years ago and it wasn't a big deal, aside from the cost to the client to get virtual PC which included the licensed version of Windows running in Virtual PC. Microsoft purchased VirtualPC a while back and I can't speak to how it works now. The two installations I worked with ran well. There is another Operating system emulator program available but I can't remember the name at the moment. Doug -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Steve Capistrant Sent: Thursday, June 09, 2005 10:12 AM To: Access Developers discussion and problem solving Subject: [AccessD] Access on Macs I met yesterday with a prospect for our Access-based software product. A fifth of their computers are Macs, the remainder PCs. Based on what I have assumed for YEARS, I noted that it won't fly with the Mac users, unless you buy some third party emulator, and even then I've heard about flaky behavior. Yet they assured me that Macs can run all MS Office applications. No emulator. Am I in the dark here? Do Macs have a native MS Office version? If so, does it include Access? And if so, can they work seamlessly with an Access file generated from a PC, or is there some format conversion that is required to create a Mac-enabled file? Steve Capistrant scapistrant at symphonyinfo.com Symphony Information Services 7308 Aspen Lane North, Suite 132 Brooklyn Park, MN 55428 763-391-7400 www.symphonyinfo.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From JHewson at karta.com Thu Jun 9 12:46:04 2005 From: JHewson at karta.com (Jim Hewson) Date: Thu, 9 Jun 2005 12:46:04 -0500 Subject: [AccessD] Close object without saving Message-ID: <9C382E065F54AE48BC3AA7925DCBB01C03628EF7@karta-exc-int.Karta.com> Good point! I'll do it. Thanks all. Jim -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of John W. Colby Sent: Thursday, June 09, 2005 11:51 AM To: 'Access Developers discussion and problem solving' Subject: RE: [AccessD] Close object without saving And for that reason, the Docmd.SetWarnings True should be placed immediately in front of the (ONLY) line of code that says Exit 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 Andy Lacey Sent: Thursday, June 09, 2005 11:39 AM To: Access Developers discussion and problem solving Subject: RE: [AccessD] Close object without saving Jim I suspect that your program somewhere has done a Docmd.SetWarnings False and not set it True again. So I'd a) put Docmd.Setwarnings True at the start of your MDB to get it sorted, but b) try to find the offending code cos it's going to keep happening otherwise. One thought is that the code may be setting it False, falling into an error and the error handler doesn't set it 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: RE: [AccessD] Close object without saving Date: 09/06/05 15:27 > > No, I found that. > What I'm looking for is the dialog box and asks if I want to save the > query, form, etc. Instead it automatically saves. > Thanks > Jim > > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Randall R > Anthony > Sent: Thursday, June 09, 2005 10:16 AM > To: accessd at databaseadvisors.com > Subject: Re: [AccessD] Close object without saving > > Is this what you're looking for? Added to the end of the DoCmd. > statement. > > , acSaveNo > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/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 -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From Mike.W.Gowey at doc.state.or.us Thu Jun 9 12:46:09 2005 From: Mike.W.Gowey at doc.state.or.us (Gowey Mike W) Date: Thu, 9 Jun 2005 11:46:09 -0600 Subject: [AccessD] Value Retrieval Message-ID: <05EBB8A3BEB95B4F8216BE4EF48607780579B4DF@srciml1.ds.doc.state.or.us> I'm wondering if someone can get me out of my brain freeze: I want to be able to display the value of the following select statement on a form. It should only find one tag number since I do not allow duplicates. I want to be able to see the results on the form. strSQL = "SELECT DISTINCT tblInventory.[DOC Tag Number+] FROM tblInventory " strSQL = strSQL & " WHERE tblInventory.[DOC Tag Number+] = '" & Tag & "'" strSQL = strSQL & " ORDER BY tblInventory.[DOC Tag Number+];" Thanks in advance for any advice. Mike Gowey MCDST, A+, LME, NET+ Team Leader - East Region Information Systems Unit From dwaters at usinternet.com Thu Jun 9 12:46:24 2005 From: dwaters at usinternet.com (Dan Waters) Date: Thu, 9 Jun 2005 10:46:24 -0700 Subject: [AccessD] Access on Macs In-Reply-To: <15625217.1118337394485.JavaMail.root@sniper17> Message-ID: <000001c56d1b$28e50750$35018e0a@danwaters> Steve, Macs can have a Windows emulator so it can do all that a PC can do. There is also an Office version that is developed for Macs without using the emulator, but does not include Access. Depending on what they've actually got, they might be able to use your product! Dan Waters -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Steve Capistrant Sent: Thursday, June 09, 2005 10:12 AM To: Access Developers discussion and problem solving Subject: [AccessD] Access on Macs I met yesterday with a prospect for our Access-based software product. A fifth of their computers are Macs, the remainder PCs. Based on what I have assumed for YEARS, I noted that it won't fly with the Mac users, unless you buy some third party emulator, and even then I've heard about flaky behavior. Yet they assured me that Macs can run all MS Office applications. No emulator. Am I in the dark here? Do Macs have a native MS Office version? If so, does it include Access? And if so, can they work seamlessly with an Access file generated from a PC, or is there some format conversion that is required to create a Mac-enabled file? Steve Capistrant scapistrant at symphonyinfo.com Symphony Information Services 7308 Aspen Lane North, Suite 132 Brooklyn Park, MN 55428 763-391-7400 www.symphonyinfo.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 Jun 9 12:55:16 2005 From: Lambert.Heenan at AIG.com (Heenan, Lambert) Date: Thu, 9 Jun 2005 13:55:16 -0400 Subject: [AccessD] Close object without saving Message-ID: <1D7828CDB8350747AFE9D69E0E90DA1F1176BF5A@xlivmbx21.aig.com> Like I said, I strongly suspect that at one time or another you got a runtime error in one of your of the routines that turns the warnings off, and that's what the corresponding line to turn them back on never executed. That's what I meant by ensuring that your routines have error handlers, so that the error handler will turn the warning back on regardless of what error happened. Lambert -----Original Message----- From: Jim Hewson [mailto:JHewson at karta.com] Sent: Thursday, June 09, 2005 12:15 PM To: Heenan, Lambert Subject: RE: [AccessD] Close object without saving Thanks. I reviewed the code and each time SetWarnings was set to false, I have another line that turns them back on. I'm not sure what I did, but it's working correctly now.... Thanks, Jim -----Original Message----- From: Heenan, Lambert [mailto:Lambert.Heenan at AIG.com] Sent: Thursday, June 09, 2005 10:54 AM To: 'Access Developers discussion and problem solving' Cc: Jim Hewson Subject: RE: [AccessD] Close object without saving What you need is Docmd.SetWarnings True Which you can type in the immediate window and hit enter. This setting is specific to each database, and it defaults to True (On). Normally this code is used, for example, just before running an update query, and then the warnings are turned back on with Docmd.SetWarnings True. I suspect that you have turned warnings off at some point in your code and then did not turn them back on. This setting persists with the database even when it is closed and started up again. A common cause of the problem is where warnings are turned off in code, but then a runtime error happened and they were never turned back on. That is why I always ensure that routines that turn off the warnings have an error handler that turns them back on. Lambert -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Jim Hewson Sent: Thursday, June 09, 2005 11:27 AM To: Access Developers discussion and problem solving Subject: RE: [AccessD] Close object without saving No, I found that. What I'm looking for is the dialog box and asks if I want to save the query, form, etc. Instead it automatically saves. Thanks Jim -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Randall R Anthony Sent: Thursday, June 09, 2005 10:16 AM To: accessd at databaseadvisors.com Subject: Re: [AccessD] Close object without saving Is this what you're looking for? Added to the end of the DoCmd. statement. , acSaveNo -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd 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 Jun 9 13:48:07 2005 From: dwaters at usinternet.com (Dan Waters) Date: Thu, 9 Jun 2005 11:48:07 -0700 Subject: [AccessD] Value Retrieval In-Reply-To: <21981408.1118339393758.JavaMail.root@sniper15> Message-ID: <000001c56d23$c789b1a0$35018e0a@danwaters> Mike, 1) You have an unneeded space at the end of FROM tblInventory. 2) Check the rules on field names - is a + sign usable? 3) Try running this without DISTINCT to see if it works then. HTH! Dan Waters -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Gowey Mike W Sent: Thursday, June 09, 2005 10:46 AM To: Access Developers discussion and problem solving Subject: [AccessD] Value Retrieval I'm wondering if someone can get me out of my brain freeze: I want to be able to display the value of the following select statement on a form. It should only find one tag number since I do not allow duplicates. I want to be able to see the results on the form. strSQL = "SELECT DISTINCT tblInventory.[DOC Tag Number+] FROM tblInventory " strSQL = strSQL & " WHERE tblInventory.[DOC Tag Number+] = '" & Tag & "'" strSQL = strSQL & " ORDER BY tblInventory.[DOC Tag Number+];" Thanks in advance for any advice. Mike Gowey MCDST, A+, LME, NET+ Team Leader - East Region Information Systems Unit -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From martyconnelly at shaw.ca Thu Jun 9 13:57:27 2005 From: martyconnelly at shaw.ca (MartyConnelly) Date: Thu, 09 Jun 2005 11:57:27 -0700 Subject: [AccessD] Replication Manager References: Message-ID: <42A89117.80808@shaw.ca> According to Michael Kaplan's posts dating to last june, it is not included as of that date However you can install the synchronizer with the special extra Jet SP 8.0 replication upgrade and then use JRO code, Getz has a couple of hundred pages on vba jro coding in one of his ADH books 2000 or 2002 vol 2. I don't have the latest VSTO to check for sure. Charlotte Foust wrote: >It may be in VSTO, along with the rest of the developer tools for >Access. > >Charlotte Foust > > >-----Original Message----- >From: MartyConnelly [mailto:martyconnelly at shaw.ca] >Sent: Tuesday, June 07, 2005 9:25 AM >To: Access Developers discussion and problem solving >Subject: Re: [AccessD] Replication Manager > > >RepMan 4.0 is on the Office XP Developers Edition, not the Pro Edition, >funnily enough there is no RepMan for 2003. I don't know what you do >here use VB.Net and JRO or old version of >RepMan with Access 2003 > >Documentation within MS-Access 2003 states that this tool is still >required to setup Internet replicated Access databases. >http://support.microsoft.com/default.aspx?scid=kb;en-us;828089 > > so, unless you have that RepMan from XP >.... you need to write your own using JRO or use a tool like TSI >Synchronizer http://www.trigeminal.com/repl-ication/synch.asp?1033 > >Note that this is not really true, either -- the TSI Synchronizer >depends upon you having the Jet Synchronizer (which comes with >Replication >Manager). > >You do not need Replication Manager to use all forms of Jet replication. > >Replication >Manager is a tool for implementing certain advanced replication >functionalities such as synchronizer configuration for indirect or >internet replication or for changing the the retention period of a >replication set. Also, you do not need to have a copy of Replication >Manager on every computer (and probably shouldn't) since it is only an >administrators tool. Anything that can be done with Replication manager >can also be accomplished using DAO or JRO code > >Jet 8 SP has a seperate update for replication > >http://support.microsoft.com/default.aspx?kbid=321076 > >This shows installation procedures for RepMan > >Internet Synchronization with the Microsoft Jet Database Engine: A >Technical Overview >http://msdn.microsoft.com/library/default.asp?url=/library/en-us/dnacc2k >/html/intrjet4.asp > >Make sure you have read the replication faq and understand indirect and >direct synchronization > >http://support.microsoft.com/kb/q282977/ > >Here's some DAO code to illustrate a basic synchronization process of BE > >over a Lan... >'Courtesy Lambert Heenan >Private Sub btnUpdateMaster_Click() >Dim msg As String >Dim sReplicaDb As Variant >Dim sMainStore As String >Dim db As Database > > On Error GoTo btnUpdateMaster_err > 'First get the path to the replica file we will synch. with. > msg = "This procedure will update the MASTER database with one or >more replica databases.@" > msg = msg & "Do you with to continue?@" > If MsgBox(msg, vbYesNo Or vbQuestion, "Synchronize Master Database") >= vbYes Then > > sReplicaDb = sDataToSynchFrom() ' > >' sDataToSynchFrom() is a function that returns the full path to an MDB >file > > If sReplicaDb & "" = "" Then Exit Sub > sMainStore = GetAttachedDbName(GetFirstAttachedtable) > >' GetAttachedDbName() is a function that returns the full path to the >back end database ' given the name of one of the linked tables > > ' sanity check > If sMainStore = sReplicaDb Then > MsgBox "Cannot synchronize your main data file with >itself. at Please select the correct replica data file to synchronize >with.@", , "Invalid data file selected" > Exit Sub > End If > DoCmd.Hourglass True >' here is where the synchronization takes place > Set db = OpenDatabase(sMainStore) >' this does a one-way synchronizatin - just importing changes in the >data. ' you can also do two way using the constant "dbRepImpExpChanges" > db.Synchronize sReplicaDb, dbRepImportChanges > RenameSynchedFile CStr(sReplicaDb) > DoCmd.Hourglass False > MsgBox "Synchronization completed", , "Synchronize Master >Database" > End If >btnUpdateMaster_Click_Exit: > Set db = Nothing > Exit Sub >btnUpdateMaster_err: > DoCmd.Hourglass False >' put your favorite error handler here > MsgBox "Error synchronizing with " & sReplicaDb & "@" & >Err.Description & "@Error number " & Err.Number > Resume btnUpdateMaster_Click_Exit >End Sub > > >Barbara Ryan wrote: > > > >>Where I can I find Replication Manager for Access 2002? Is it a >>separate interface from the Replication option under Tools in Access >>2002? I can't seem to locate it on the Office XP Pro installation CD. >> >>Thanks, >>Barb Ryan >> >> >> >> > > > -- Marty Connelly Victoria, B.C. Canada From fhtapia at gmail.com Thu Jun 9 13:59:32 2005 From: fhtapia at gmail.com (Francisco Tapia) Date: Thu, 9 Jun 2005 11:59:32 -0700 Subject: [AccessD] Access 2003, and ADPs In-Reply-To: <100F91B31300334B89EC531C9DCB08659F76C8@tccexch01.tappeconstruction.net> References: <100F91B31300334B89EC531C9DCB08659F76C8@tccexch01.tappeconstruction.net> Message-ID: I tried the typical /Runtime, apperenatly this is not a valid command anymore.. anyone know for sure? On 6/9/05, Brett Barabash wrote: > I don't have the A2003 runtime, so I don't know if it will display the > message to the end user. > Try opening a database with /runtime in the command line and see what > happens. > > For all intents and purposes, the unsafe expressions vulnerability > probably won't be nearly as problematic as forcing the user to click > past a dialog that most people cannot understand. > > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Francisco > Tapia > Sent: Thursday, June 09, 2005 11:28 AM > To: Access Developers discussion and problem solving > Subject: Re: [AccessD] Access 2003, and ADPs > > well I plan on deploying my next DB w/ the Access 2003 runtime... this > means that my wise installer "MUST" include the SP8 for Jet? > > On 6/9/05, Brett Barabash wrote: > > I installed it (after a lengthy search through the MS site). If you > > don't, be prepared for non-stop nagging everytime you open a database. > > > > Access 2003 has worked well for me, although functionality wise it is > > pretty much on par with Access 2000. > > > > > > -----Original Message----- > > From: accessd-bounces at databaseadvisors.com > > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Francisco > > Tapia > > Sent: Wednesday, June 08, 2005 7:00 PM > > To: Access Developers discussion and problem solving > > Subject: Re: [AccessD] Access 2003, and ADPs > > > > i'm looking at this error too... > > > > Microsoft Jet 4.0 Service Pack 8 or later must be installed to block > > unsafe expressions without affecting common functionality. > > > > what is the concensus for this?... > > > > -------------------------------------------------------------------------------------------------------------------- > The information in this email may contain confidential information that > is legally privileged. The information is only for the use of the intended > recipient(s) named above. If you are not the intended recipient(s), you > are hereby notified that any dis > f any action in regard to the content of this email is strictly prohibited. If > transmission is incorrect, unclear, or incomplete, please notify the sender > immediately. The authorized recipient(s) of this information is/are prohibited > from disclosing this information to any other party and is/are required to > destroy the information after its stated need has been fulfilled. > > Any views expressed in this message are those of the individual > sender, except where the sender specifies and with authority, > states them to be the views of Tappe Construction Co. > > This footer also confirms that this email message has been scanned > for the presence of computer viruses.Scanning of this message and > addition of this footer is performed by SurfControl E-mail Filter software > in conjunction with virus detection software. > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > -- -Francisco http://pcthis.blogspot.com |PC news with out the jargon! http://sqlthis.blogspot.com | Tsql and More... From rbgajewski at adelphia.net Thu Jun 9 14:09:59 2005 From: rbgajewski at adelphia.net (Bob Gajewski) Date: Thu, 9 Jun 2005 15:09:59 -0400 Subject: [AccessD] Value Retrieval In-Reply-To: <000001c56d23$c789b1a0$35018e0a@danwaters> Message-ID: <20050609190756.WFQA4191.mta13.adelphia.net@DG1P2N21> Mike I may be missing something, but if this can return one and only one record, why are you using an ORDER BY clause? Bob Gajewski -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Dan Waters Sent: Thursday, June 09, 2005 14:48 PM To: 'Access Developers discussion and problem solving' Subject: RE: [AccessD] Value Retrieval Mike, 1) You have an unneeded space at the end of FROM tblInventory. 2) Check the rules on field names - is a + sign usable? 3) Try running this without DISTINCT to see if it works then. HTH! Dan Waters -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Gowey Mike W Sent: Thursday, June 09, 2005 10:46 AM To: Access Developers discussion and problem solving Subject: [AccessD] Value Retrieval I'm wondering if someone can get me out of my brain freeze: I want to be able to display the value of the following select statement on a form. It should only find one tag number since I do not allow duplicates. I want to be able to see the results on the form. strSQL = "SELECT DISTINCT tblInventory.[DOC Tag Number+] FROM tblInventory " strSQL = strSQL & " WHERE tblInventory.[DOC Tag Number+] = '" & Tag & "'" strSQL = strSQL & " ORDER BY tblInventory.[DOC Tag Number+];" Thanks in advance for any advice. Mike Gowey MCDST, A+, LME, NET+ Team Leader - East Region Information Systems Unit -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd 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 Jun 9 14:08:09 2005 From: accessd at shaw.ca (Jim Lawrence) Date: Thu, 09 Jun 2005 12:08:09 -0700 Subject: [AccessD] Website down? In-Reply-To: <00a901c56c89$d72c2100$6601a8c0@user> Message-ID: <0IHT0056AZTITH@l-daemon> Hi Kath: I was away in another city yesterday but everything is working fine today. Jim -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Kath Pelletti Sent: Wednesday, June 08, 2005 5:26 PM To: AccessD at databaseadvisors.com Subject: [AccessD] Website down? Hi all - is the website down? I'm trying to get at the archive and having no luck...... ______________________________________________ Kath Pelletti -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From BBarabash at TappeConstruction.com Thu Jun 9 14:14:19 2005 From: BBarabash at TappeConstruction.com (Brett Barabash) Date: Thu, 9 Jun 2005 14:14:19 -0500 Subject: [AccessD] Access 2003, and ADPs Message-ID: <100F91B31300334B89EC531C9DCB08659F7712@tccexch01.tappeconstruction.net> I have A2003 on this machine, and from the Run menu typed msaccess /runtime. It definitely opened in runtime mode (no window caption and it gave the missing application filename message). -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Francisco Tapia Sent: Thursday, June 09, 2005 2:00 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Access 2003, and ADPs I tried the typical /Runtime, apperenatly this is not a valid command anymore.. anyone know for sure? On 6/9/05, Brett Barabash wrote: > I don't have the A2003 runtime, so I don't know if it will display the > message to the end user. > Try opening a database with /runtime in the command line and see what > happens. > > For all intents and purposes, the unsafe expressions vulnerability > probably won't be nearly as problematic as forcing the user to click > past a dialog that most people cannot understand. > > -------------------------------------------------------------------------------------------------------------------- The information in this email may contain confidential information that is legally privileged. The information is only for the use of the intended recipient(s) named above. If you are not the intended recipient(s), you are hereby notified that any disclosure, copying, distribution, or the taking of any action in regard to the content of this email is strictly prohibited. If transmission is incorrect, unclear, or incomplete, please notify the sender immediately. The authorized recipient(s) of this information is/are prohibited from disclosing this information to any other party and is/are required to destroy the information after its stated need has been fulfilled. Any views expressed in this message are those of the individual sender, except where the sender specifies and with authority, states them to be the views of Tappe Construct s been scanned for the presence of computer viruses.Scanning of this message and addition of this footer is performed by SurfControl E-mail Filter software in conjunction with virus detection software. From cfoust at infostatsystems.com Thu Jun 9 14:58:08 2005 From: cfoust at infostatsystems.com (Charlotte Foust) Date: Thu, 9 Jun 2005 12:58:08 -0700 Subject: [AccessD] Replication Manager Message-ID: I bow to your research. I am working primarily in .Net now, so I don't even HAVE Access 2003. Charlotte Foust -----Original Message----- From: MartyConnelly [mailto:martyconnelly at shaw.ca] Sent: Thursday, June 09, 2005 11:57 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Replication Manager According to Michael Kaplan's posts dating to last june, it is not included as of that date However you can install the synchronizer with the special extra Jet SP 8.0 replication upgrade and then use JRO code, Getz has a couple of hundred pages on vba jro coding in one of his ADH books 2000 or 2002 vol 2. I don't have the latest VSTO to check for sure. Charlotte Foust wrote: >It may be in VSTO, along with the rest of the developer tools for >Access. > >Charlotte Foust > > >-----Original Message----- >From: MartyConnelly [mailto:martyconnelly at shaw.ca] >Sent: Tuesday, June 07, 2005 9:25 AM >To: Access Developers discussion and problem solving >Subject: Re: [AccessD] Replication Manager > > >RepMan 4.0 is on the Office XP Developers Edition, not the Pro >Edition, funnily enough there is no RepMan for 2003. I don't know what >you do here use VB.Net and JRO or old version of RepMan with Access >2003 > >Documentation within MS-Access 2003 states that this tool is still >required to setup Internet replicated Access databases. >http://support.microsoft.com/default.aspx?scid=kb;en-us;828089 > > so, unless you have that RepMan from XP >.... you need to write your own using JRO or use a tool like TSI >Synchronizer http://www.trigeminal.com/repl-ication/synch.asp?1033 > >Note that this is not really true, either -- the TSI Synchronizer >depends upon you having the Jet Synchronizer (which comes with >Replication Manager). > >You do not need Replication Manager to use all forms of Jet >replication. > >Replication >Manager is a tool for implementing certain advanced replication >functionalities such as synchronizer configuration for indirect or >internet replication or for changing the the retention period of a >replication set. Also, you do not need to have a copy of Replication >Manager on every computer (and probably shouldn't) since it is only an >administrators tool. Anything that can be done with Replication manager >can also be accomplished using DAO or JRO code > >Jet 8 SP has a seperate update for replication > >http://support.microsoft.com/default.aspx?kbid=321076 > >This shows installation procedures for RepMan > >Internet Synchronization with the Microsoft Jet Database Engine: A >Technical Overview >http://msdn.microsoft.com/library/default.asp?url=/library/en-us/dnacc2 k >/html/intrjet4.asp > >Make sure you have read the replication faq and understand indirect and >direct synchronization > >http://support.microsoft.com/kb/q282977/ > >Here's some DAO code to illustrate a basic synchronization process of >BE > >over a Lan... >'Courtesy Lambert Heenan >Private Sub btnUpdateMaster_Click() >Dim msg As String >Dim sReplicaDb As Variant >Dim sMainStore As String >Dim db As Database > > On Error GoTo btnUpdateMaster_err > 'First get the path to the replica file we will synch. with. > msg = "This procedure will update the MASTER database with one or >more replica databases.@" > msg = msg & "Do you with to continue?@" > If MsgBox(msg, vbYesNo Or vbQuestion, "Synchronize Master >Database") = vbYes Then > > sReplicaDb = sDataToSynchFrom() ' > >' sDataToSynchFrom() is a function that returns the full path to an MDB >file > > If sReplicaDb & "" = "" Then Exit Sub > sMainStore = GetAttachedDbName(GetFirstAttachedtable) > >' GetAttachedDbName() is a function that returns the full path to the >back end database ' given the name of one of the linked tables > > ' sanity check > If sMainStore = sReplicaDb Then > MsgBox "Cannot synchronize your main data file with >itself. at Please select the correct replica data file to synchronize >with.@", , "Invalid data file selected" > Exit Sub > End If > DoCmd.Hourglass True >' here is where the synchronization takes place > Set db = OpenDatabase(sMainStore) >' this does a one-way synchronizatin - just importing changes in the >data. ' you can also do two way using the constant "dbRepImpExpChanges" > db.Synchronize sReplicaDb, dbRepImportChanges > RenameSynchedFile CStr(sReplicaDb) > DoCmd.Hourglass False > MsgBox "Synchronization completed", , "Synchronize Master >Database" > End If >btnUpdateMaster_Click_Exit: > Set db = Nothing > Exit Sub >btnUpdateMaster_err: > DoCmd.Hourglass False >' put your favorite error handler here > MsgBox "Error synchronizing with " & sReplicaDb & "@" & >Err.Description & "@Error number " & Err.Number > Resume btnUpdateMaster_Click_Exit >End Sub > > >Barbara Ryan wrote: > > > >>Where I can I find Replication Manager for Access 2002? Is it a >>separate interface from the Replication option under Tools in Access >>2002? I can't seem to locate it on the Office XP Pro installation CD. >> >>Thanks, >>Barb Ryan >> >> >> >> > > > -- 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 cfoust at infostatsystems.com Thu Jun 9 15:00:13 2005 From: cfoust at infostatsystems.com (Charlotte Foust) Date: Thu, 9 Jun 2005 13:00:13 -0700 Subject: [AccessD] Access on Macs Message-ID: Are you sure you have the right subject on this post? Charlotte Foust -----Original Message----- From: Gowey Mike W [mailto:Mike.W.Gowey at doc.state.or.us] Sent: Thursday, June 09, 2005 10:35 AM To: Access Developers discussion and problem solving Subject: RE: [AccessD] Access on Macs I want to be able to display the value of the following select statement on a form. It should only find one tag number since I do not allow duplicates. I want to be able to see the results on the form. strSQL = "SELECT DISTINCT tblInventory.[DOC Tag Number+] FROM tblInventory " strSQL = strSQL & " WHERE tblInventory.[DOC Tag Number+] = '" & Tag & "'" strSQL = strSQL & " ORDER BY tblInventory.[DOC Tag Number+];" Thanks in advance for any advice. Mike Gowey MCDST, A+, LME, NET+ Team Leader - East Region Information Systems Unit -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From fhtapia at gmail.com Thu Jun 9 15:08:37 2005 From: fhtapia at gmail.com (Francisco Tapia) Date: Thu, 9 Jun 2005 13:08:37 -0700 Subject: [AccessD] Access 2003, and ADPs In-Reply-To: <100F91B31300334B89EC531C9DCB08659F7712@tccexch01.tappeconstruction.net> References: <100F91B31300334B89EC531C9DCB08659F7712@tccexch01.tappeconstruction.net> Message-ID: haha, i'm starting to feel like a dumbass w/ this new version... lol...I had mistyped RUNTIME go figure... ... so I load it as a runtime and yes I still get the JET 4 sp8 error message.. only not as dramatic as the normal access boot up. On 6/9/05, Brett Barabash wrote: > I have A2003 on this machine, and from the Run menu typed msaccess > /runtime. > It definitely opened in runtime mode (no window caption and it gave the > missing application filename message). > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Francisco > Tapia > Sent: Thursday, June 09, 2005 2:00 PM > To: Access Developers discussion and problem solving > Subject: Re: [AccessD] Access 2003, and ADPs > > I tried the typical /Runtime, apperenatly this is not a valid command > anymore.. anyone know for sure? > > > On 6/9/05, Brett Barabash wrote: > > I don't have the A2003 runtime, so I don't know if it will display the > > > message to the end user. > > Try opening a database with /runtime in the command line and see what > > happens. > > > > For all intents and purposes, the unsafe expressions vulnerability > > probably won't be nearly as problematic as forcing the user to click > > past a dialog that most people cannot understand. > > > > -- -Francisco http://pcthis.blogspot.com |PC news with out the jargon! http://sqlthis.blogspot.com | Tsql and More... From BBarabash at TappeConstruction.com Thu Jun 9 15:35:45 2005 From: BBarabash at TappeConstruction.com (Brett Barabash) Date: Thu, 9 Jun 2005 15:35:45 -0500 Subject: [AccessD] Access 2003, and ADPs Message-ID: <100F91B31300334B89EC531C9DCB08659F773D@tccexch01.tappeconstruction.net> Hmm... You would think that AutoCorrect would fix the misspelling ;-) Perhaps the next version? -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Francisco Tapia Sent: Thursday, June 09, 2005 3:09 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Access 2003, and ADPs haha, i'm starting to feel like a dumbass w/ this new version... lol...I had mistyped RUNTIME go figure... ... so I load it as a runtime and yes I still get the JET 4 sp8 error message.. only not as dramatic as the normal access boot up. -------------------------------------------------------------------------------------------------------------------- The information in this email may contain confidential information that is legally privileged. The information is only for the use of the intended recipient(s) named above. If you are not the intended recipient(s), you are hereby notified that any disclosure, copying, distribution, or the taking of any action in regard to the content of this email is strictly prohibited. If transmission is incorrect, unclear, or incomplete, please notify the sender immediately. The authorized recipient(s) of this information is/are prohibited from disclosing this information to any other party and is/are required to destroy the information after its stated need has been fulfilled. Any views expressed in this message are those of the individual sender, except where the sender specifies and with authority, states them to be the views of Tappe Construction Co. This footer also confirms that this email message has been scanned for the presence of computer viruses.Scanning of this message and addition of this footer is performed by SurfControl E-mail Filter software in conjunction with virus detection software. From KP at sdsonline.net Thu Jun 9 17:33:21 2005 From: KP at sdsonline.net (Kath Pelletti) Date: Fri, 10 Jun 2005 08:33:21 +1000 Subject: [AccessD] Website down? References: <0IHT0056AZTITH@l-daemon> Message-ID: <003001c56d43$3e7ea210$6601a8c0@user> Thanks Jim ----- Original Message ----- From: Jim Lawrence To: 'Access Developers discussion and problem solving' Sent: Friday, June 10, 2005 5:08 AM Subject: RE: [AccessD] Website down? Hi Kath: I was away in another city yesterday but everything is working fine today. Jim -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Kath Pelletti Sent: Wednesday, June 08, 2005 5:26 PM To: AccessD at databaseadvisors.com Subject: [AccessD] Website down? Hi all - is the website down? I'm trying to get at the archive and having no luck...... ______________________________________________ Kath Pelletti -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From KP at sdsonline.net Thu Jun 9 17:33:44 2005 From: KP at sdsonline.net (Kath Pelletti) Date: Fri, 10 Jun 2005 08:33:44 +1000 Subject: [AccessD] Website / archive / error loading picture References: <003c01c56c8e$4d024f40$6601a8c0@user> <42A7CF49.9020801@shaw.ca> Message-ID: <003a01c56d43$4ba38050$6601a8c0@user> Thanks Marty - I will try this out tomorrow - rgds Kath ----- Original Message ----- From: MartyConnelly To: Access Developers discussion and problem solving Sent: Thursday, June 09, 2005 3:10 PM Subject: Re: [AccessD] Website / archive / error loading picture I know it coughs on jpeg but sometimes just changing extension to jpg works You need a full install of office I think, If not this works http://www.lebans.com/loadjpeg?gif.htm A97LoadJpegGif.zip is a database containing a function to allow for the Display of Jpeg and Gif files on systems that do not have the Office Graphic Filters installed. Here is the A2K version: A2KLoadJpegGif.zip NEW - April 05 2003 Ver 5.0 Developed to allow Access RunTime installations to display Jpeg files in a standard Image Control. Provides functionality to load JPG,GIF,BMP,EMF,WMF,CUR and ICO files on systems without the Office Graphics Filters loaded. Originally developed for Systems with Access Runtime only. Supports transparency in Transparent Gifs. Allows you to resize Images on Forms/Reports at runtime with no loss of Image quality. Kath Pelletti wrote: >I take it back - when I access the archive it doesnt seem to give me the full history. (I have an idea that this topic may have been covered before..) > >In the interim, could someone help with an error 2114. > >Situation is existing client with 4 workstations - 1 was replaced this week - Windows XP Pro re-installed, Office 2000 re-installed. > >When the user opens a form which attempts to load a .jpg or .gif picture the system come up with "...the database doesn't support the format of >'E:\Database\Photos\Peru.jpg' so it can't load the picture. > >Google brought up a few instances of developers getting this error where the graphics filters in Office haven't been installed. I have gone in to the setup of Office on that PC and re-installed the graphics filters but I am still getting the error. > >Can anyone help ? > >______________________________________________ >Kath Pelletti >Software Design & Solutions Pty Ltd. >Ph: 9505-6714 >Fax: 9505-6430 >KP at SDSOnline.net > > -- 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 Jun 9 19:22:21 2005 From: KP at sdsonline.net (Kath Pelletti) Date: Fri, 10 Jun 2005 10:22:21 +1000 Subject: [AccessD] Australia - find nearest location Message-ID: <000a01c56d52$78a71990$6601a8c0@user> Hi all - Just wondering whether there happens to be anyone on list who may already have done this - I'm writing a new system for a training company and they want add a geographic search capability - ie. they would like to enter a suburb or postcode and the system displays will show the courses which run closest to them geographically. Any tips? Or if anyone has done this at all - can you tell me what your approach was? Thanks - rgds ______________________________________________ Kath Pelletti Software Design & Solutions Pty Ltd. Ph: 9505-6714 Fax: 9505-6430 KP at SDSOnline.net From michael at ddisolutions.com.au Thu Jun 9 19:48:28 2005 From: michael at ddisolutions.com.au (Michael Maddison) Date: Fri, 10 Jun 2005 10:48:28 +1000 Subject: [AccessD] Australia - find nearest location Message-ID: <59A61174B1F5B54B97FD4ADDE71E7D010E4CA3@ddi-01.DDI.local> Never tried myself, but the discussions here recently on MapPoint might lead the way. cheers Michael M Hi all - Just wondering whether there happens to be anyone on list who may already have done this - I'm writing a new system for a training company and they want add a geographic search capability - ie. they would like to enter a suburb or postcode and the system displays will show the courses which run closest to them geographically. Any tips? Or if anyone has done this at all - can you tell me what your approach was? Thanks - rgds ______________________________________________ Kath Pelletti Software Design & Solutions Pty Ltd. Ph: 9505-6714 Fax: 9505-6430 KP at SDSOnline.net -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From Mark.Porter at acsalaska.com Thu Jun 9 20:33:44 2005 From: Mark.Porter at acsalaska.com (Porter, Mark) Date: Thu, 9 Jun 2005 17:33:44 -0800 Subject: [AccessD] Australia - find nearest location Message-ID: <635B80FE6C7D5A409586A6A110D97D17A20A9F@ACSANCHOR.corp.acsalaska.com> They have been doing neat things with Google Maps, maybe something here will lead you to what you are looking for: http://www.cnn.com/2005/TECH/internet/06/09/google.map.hacks.ap/index.ht ml -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Michael Maddison Sent: Thursday, June 09, 2005 4:48 PM To: Access Developers discussion and problem solving Subject: RE: [AccessD] Australia - find nearest location Never tried myself, but the discussions here recently on MapPoint might lead the way. cheers Michael M Hi all - Just wondering whether there happens to be anyone on list who may already have done this - I'm writing a new system for a training company and they want add a geographic search capability - ie. they would like to enter a suburb or postcode and the system displays will show the courses which run closest to them geographically. Any tips? Or if anyone has done this at all - can you tell me what your approach was? Thanks - rgds ______________________________________________ Kath Pelletti Software Design & Solutions Pty Ltd. Ph: 9505-6714 Fax: 9505-6430 KP at SDSOnline.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 *********************************************************************************** This transmittal may contain confidential information intended solely for the addressee. If you are not the intended recipient, you are hereby notified that you have received this transmittal in error; any review, dissemination, distribution or copying of this transmittal is strictly prohibited. If you have received this communication in error, please notify us immediately by reply or by telephone (collect at 907-564-1000) and ask to speak with the message sender. In addition, please immediately delete this message and all attachments. Thank you. ACS From Bruce.Bruen at railcorp.nsw.gov.au Thu Jun 9 21:08:38 2005 From: Bruce.Bruen at railcorp.nsw.gov.au (Bruen, Bruce) Date: Fri, 10 Jun 2005 12:08:38 +1000 Subject: [AccessD] Generating a rownumber field in a query Message-ID: Hi folks, I want to output a sequence number as a field in a query result. Everytime the query runs it should restart the sequence number from 1. The query appends rows to a "testscript" table, every new test cycle we generate a new set of test scripts which is made up of all the tests in the previous cycle plus new tests that were added during the execution of the last cycle. The natural key for the output table is the cycle number + the sequence number. Cycle Seq Testname ..... 1 1 blah 1 2 blah blah ... 2 1 blah blah 2 2 blah blah blah etc The cycle number is input as a parameter to the append query. But how can I generate the sequence numbers? 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 Bruce.Bruen at railcorp.nsw.gov.au Thu Jun 9 21:25:26 2005 From: Bruce.Bruen at railcorp.nsw.gov.au (Bruen, Bruce) Date: Fri, 10 Jun 2005 12:25:26 +1000 Subject: [AccessD] A2K: How to change subform view Message-ID: Hi guys again, Memory has failed me. In Access 2000, what is the code trick to change the subform view from datasheet to normal? The following 2003 code does not work. Private Sub Test_DblClick(Cancel As Integer) DoCmd.RunCommand acCmdSubformFormView 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 mmattys at rochester.rr.com Thu Jun 9 21:37:58 2005 From: mmattys at rochester.rr.com (Michael R Mattys) Date: Thu, 9 Jun 2005 22:37:58 -0400 Subject: [AccessD] A2K: How to change subform view References: Message-ID: <00c801c56d65$6d454d70$0202a8c0@default> ----- Original Message ----- From: "Bruen, Bruce" To: Sent: Thursday, June 09, 2005 10:25 PM Subject: [AccessD] A2K: How to change subform view Hi guys again, Memory has failed me. In Access 2000, what is the code trick to change the subform view from datasheet to normal? The following 2003 code does not work. Private Sub Test_DblClick(Cancel As Integer) DoCmd.RunCommand acCmdSubformFormView End Sub --------- bruce 'Form to Datasheet (It's a subform) If Me.Customers.Form.CurrentView = 1 Then Me.Customers.SetFocus DoCmd.RunCommand acCmdSubformDatasheet End If 'Datasheet to Form If Me.Customers.Form.CurrentView = 2 Then Me.Customers.SetFocus DoCmd.RunCommand acCmdSubformDatasheet End If ---- Michael R. Mattys Mattys MapLib for Microsoft MapPoint http://www.mattysconsulting.com From KP at sdsonline.net Thu Jun 9 21:46:22 2005 From: KP at sdsonline.net (Kath Pelletti) Date: Fri, 10 Jun 2005 12:46:22 +1000 Subject: [AccessD] Australia - find nearest location References: <635B80FE6C7D5A409586A6A110D97D17A20A9F@ACSANCHOR.corp.acsalaska.com> Message-ID: <007a01c56d66$9683a9b0$6601a8c0@user> It's a very hot topic at the moment....thanks Mark ----- Original Message ----- From: Porter, Mark To: Access Developers discussion and problem solving Sent: Friday, June 10, 2005 11:33 AM Subject: RE: [AccessD] Australia - find nearest location They have been doing neat things with Google Maps, maybe something here will lead you to what you are looking for: http://www.cnn.com/2005/TECH/internet/06/09/google.map.hacks.ap/index.ht ml -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Michael Maddison Sent: Thursday, June 09, 2005 4:48 PM To: Access Developers discussion and problem solving Subject: RE: [AccessD] Australia - find nearest location Never tried myself, but the discussions here recently on MapPoint might lead the way. cheers Michael M Hi all - Just wondering whether there happens to be anyone on list who may already have done this - I'm writing a new system for a training company and they want add a geographic search capability - ie. they would like to enter a suburb or postcode and the system displays will show the courses which run closest to them geographically. Any tips? Or if anyone has done this at all - can you tell me what your approach was? Thanks - rgds ______________________________________________ Kath Pelletti Software Design & Solutions Pty Ltd. Ph: 9505-6714 Fax: 9505-6430 KP at SDSOnline.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 *********************************************************************************** This transmittal may contain confidential information intended solely for the addressee. If you are not the intended recipient, you are hereby notified that you have received this transmittal in error; any review, dissemination, distribution or copying of this transmittal is strictly prohibited. If you have received this communication in error, please notify us immediately by reply or by telephone (collect at 907-564-1000) and ask to speak with the message sender. In addition, please immediately delete this message and all attachments. Thank you. ACS -- 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 Fri Jun 10 00:54:50 2005 From: Bruce.Bruen at railcorp.nsw.gov.au (Bruen, Bruce) Date: Fri, 10 Jun 2005 15:54:50 +1000 Subject: [AccessD] A2K: How to change subform view Message-ID: Michael, Both your Docmds are the same????? bruce -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Michael R Mattys Sent: Friday, 10 June 2005 12:38 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] A2K: How to change subform view ----- Original Message ----- From: "Bruen, Bruce" To: Sent: Thursday, June 09, 2005 10:25 PM Subject: [AccessD] A2K: How to change subform view Hi guys again, Memory has failed me. In Access 2000, what is the code trick to change the subform view from datasheet to normal? The following 2003 code does not work. Private Sub Test_DblClick(Cancel As Integer) DoCmd.RunCommand acCmdSubformFormView End Sub --------- bruce 'Form to Datasheet (It's a subform) If Me.Customers.Form.CurrentView = 1 Then Me.Customers.SetFocus DoCmd.RunCommand acCmdSubformDatasheet End If 'Datasheet to Form If Me.Customers.Form.CurrentView = 2 Then Me.Customers.SetFocus DoCmd.RunCommand acCmdSubformDatasheet End If ---- Michael R. Mattys Mattys MapLib for Microsoft MapPoint http://www.mattysconsulting.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 mmattys at rochester.rr.com Fri Jun 10 06:23:39 2005 From: mmattys at rochester.rr.com (Michael R Mattys) Date: Fri, 10 Jun 2005 07:23:39 -0400 Subject: [AccessD] A2K: How to change subform view References: Message-ID: <008601c56dae$db1746c0$0202a8c0@default> Hi Bruce, It was not a mistake. That's how it works. ---- Michael R. Mattys Mattys MapLib for Microsoft MapPoint http://www.mattysconsulting.com ----- Original Message ----- From: "Bruen, Bruce" To: "Access Developers discussion and problem solving" Sent: Friday, June 10, 2005 1:54 AM Subject: RE: [AccessD] A2K: How to change subform view > Michael, > > Both your Docmds are the same????? > > > bruce > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Michael R > Mattys > Sent: Friday, 10 June 2005 12:38 PM > To: Access Developers discussion and problem solving > Subject: Re: [AccessD] A2K: How to change subform view > > ----- Original Message ----- > From: "Bruen, Bruce" > To: > Sent: Thursday, June 09, 2005 10:25 PM > Subject: [AccessD] A2K: How to change subform view > > > Hi guys again, > > Memory has failed me. In Access 2000, what is the code trick to change > the subform view from datasheet to normal? > The following 2003 code does not work. > > Private Sub Test_DblClick(Cancel As Integer) > DoCmd.RunCommand acCmdSubformFormView > End Sub > --------- > > bruce > > 'Form to Datasheet (It's a subform) > If Me.Customers.Form.CurrentView = 1 Then > Me.Customers.SetFocus > DoCmd.RunCommand acCmdSubformDatasheet > End If > > 'Datasheet to Form > If Me.Customers.Form.CurrentView = 2 Then > Me.Customers.SetFocus > DoCmd.RunCommand acCmdSubformDatasheet > End If > > ---- > > Michael R. Mattys > Mattys MapLib for Microsoft MapPoint > http://www.mattysconsulting.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. > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com From JHewson at karta.com Fri Jun 10 07:42:02 2005 From: JHewson at karta.com (Jim Hewson) Date: Fri, 10 Jun 2005 07:42:02 -0500 Subject: [AccessD] Generating a rownumber field in a query Message-ID: <9C382E065F54AE48BC3AA7925DCBB01C03628F6C@karta-exc-int.Karta.com> If the results of the query will be used for a report, you don't need the sequence number from the query. Use the Group Header in the report to separate the Cycle numbers. Put a text box in the detail section with "=1" in the Control Source. Over Group should designated for the Running Sum. Each time the report is run, the group sequence number is regenerated... HTH. Jim -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Bruen, Bruce Sent: Thursday, June 09, 2005 9:09 PM To: AccessD at databaseadvisors.com Subject: [AccessD] Generating a rownumber field in a query Hi folks, I want to output a sequence number as a field in a query result. Everytime the query runs it should restart the sequence number from 1. The query appends rows to a "testscript" table, every new test cycle we generate a new set of test scripts which is made up of all the tests in the previous cycle plus new tests that were added during the execution of the last cycle. The natural key for the output table is the cycle number + the sequence number. Cycle Seq Testname ..... 1 1 blah 1 2 blah blah ... 2 1 blah blah 2 2 blah blah blah etc The cycle number is input as a parameter to the append query. But how can I generate the sequence numbers? 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 bheygood at abestsystems.com Fri Jun 10 09:01:24 2005 From: bheygood at abestsystems.com (Bob Heygood) Date: Fri, 10 Jun 2005 07:01:24 -0700 Subject: [AccessD] Scrape Word Part II In-Reply-To: <6A6AA9DF57E4F046BDA1E273BDDB6772337644@corp-es01.fleetpride.com> Message-ID: thanks Jim. I have looked before at Helen's code. Lots of great stuff there. bob -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Hale, Jim Sent: Wednesday, June 08, 2005 8:17 AM To: 'Access Developers discussion and problem solving' Subject: RE: [AccessD] Scrape Word Part II At the very bottom of this link Helen Feddema has some code that may help you. http://www.helenfeddema.com/CodeSamples.htm Jim Hale -----Original Message----- From: Bob Heygood [mailto:bheygood at abestsystems.com] Sent: Wednesday, June 08, 2005 8:35 AM To: Access Developers discussion and problem solving Subject: [AccessD] Scrape Word Part II Hello to the list, Well, my project is alive again. This time I have the luxury of being able to create the Word document from which I need to cull the info. I still need to have a Word table but I can create bookmarks or whatever within the table in the document. To recap I need to import 10 pieces of text from a Word document and store them in a mdb table. Jim Hale's code below worked really good except that we were pressed for time and did not ever get it to work in all areas of the Word doc. So my first question is how to search the Word doc to find the text, bookmarks, fields, custom properties or ???? TIA, Bob Heygood -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Hale, Jim Sent: Monday, April 18, 2005 8:54 AM To: 'Access Developers discussion and problem solving' Subject: RE: [AccessD] Scrape Word Whatever it takes to get the job done! Sorry I couldn't be more help. Jim Hale -----Original Message----- From: Bob Heygood [mailto:bheygood at abestsystems.com] Sent: Monday, April 18, 2005 10:09 AM To: Access Developers discussion and problem solving Subject: RE: [AccessD] Scrape Word Thanks Jim I finally just ran the job as it took about 4 hours to process 256 documents. it is a one time deal and the customer needed to have the results. your help was fantastic. bob -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Hale, Jim Sent: Friday, April 15, 2005 3:18 PM To: 'Access Developers discussion and problem solving' Subject: RE: [AccessD] Scrape Word I'll look at it some more on Monday. You might examine the selection object in the Word application. It has numerous properties and methods one or more of which should do the trick. Jim Hale -----Original Message----- From: Bob Heygood [mailto:bheygood at abestsystems.com] Sent: Friday, April 15, 2005 4:52 PM To: Access Developers discussion and problem solving Subject: RE: [AccessD] Scrape Word yes in a table cell. again your code is working super. but only grabs the first word, sometimes there is more than one word in the cell, and I would like to capture all of them. if you have thought, I would welcome it. again I tried to manipulate the code further but it acts very erratic when in a table cell. thanks for the great help. bob -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Hale, Jim Sent: Thursday, April 14, 2005 12:53 PM To: 'Access Developers discussion and problem solving' Subject: RE: [AccessD] Scrape Word So the data you want (including the search string) is in a table cell? In the code I sent you delete wd.Selection.Start = wd.Selection.End Call wd.Selection.EndOf(wdSentence, wdExtend) and replace with wd.Selection.Next(Unit:=wdWord, Count:=1).Select Or if the entire string is returned you can replace the search string with an empty string "" using the following function: Function ReplaceString(strTextIn As String, strFind As String, strReplace As String, fCaseSensitive As Boolean) As String Dim strTmp As String Dim intPos As Integer Dim intCaseSensitive As Integer intCaseSensitive = IIf(fCaseSensitive, 2, 1) strTmp = strTextIn intPos = InStr(1, strTmp, strFind, intCaseSensitive) Do While intPos > 0 strTmp = Left$(strTmp, intPos - 1) & strReplace & Mid$(strTmp, intPos + Len(strFind)) intPos = InStr(intPos + Len(strReplace), strTmp, strFind, intCaseSensitive) Loop ReplaceString = strTmp End Function 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 *********************************************************************** 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 mmattys at rochester.rr.com Fri Jun 10 09:03:47 2005 From: mmattys at rochester.rr.com (Michael R Mattys) Date: Fri, 10 Jun 2005 10:03:47 -0400 Subject: [AccessD] Australia - find nearest location References: <635B80FE6C7D5A409586A6A110D97D17A20A9F@ACSANCHOR.corp.acsalaska.com> <007a01c56d66$9683a9b0$6601a8c0@user> Message-ID: <00e101c56dc5$39c9f990$0202a8c0@default> Kath, Steven Pushee indicates that you can use the MapPoint Web$ervice for Australia in this link: http://www.mp2kmag.com/mappoint/discussion/viewtopic.asp?t=6860&sid=e802f4fd 47057ee6724f62a2ff4fbcc2 ---- Michael R. Mattys Mattys MapLib for Microsoft MapPoint http://www.mattysconsulting.com ----- Original Message ----- From: "Kath Pelletti" To: "Access Developers discussion and problem solving" Sent: Thursday, June 09, 2005 10:46 PM Subject: Re: [AccessD] Australia - find nearest location It's a very hot topic at the moment....thanks Mark ----- Original Message ----- From: Porter, Mark To: Access Developers discussion and problem solving Sent: Friday, June 10, 2005 11:33 AM Subject: RE: [AccessD] Australia - find nearest location They have been doing neat things with Google Maps, maybe something here will lead you to what you are looking for: http://www.cnn.com/2005/TECH/internet/06/09/google.map.hacks.ap/index.ht ml -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Michael Maddison Sent: Thursday, June 09, 2005 4:48 PM To: Access Developers discussion and problem solving Subject: RE: [AccessD] Australia - find nearest location Never tried myself, but the discussions here recently on MapPoint might lead the way. cheers Michael M Hi all - Just wondering whether there happens to be anyone on list who may already have done this - I'm writing a new system for a training company and they want add a geographic search capability - ie. they would like to enter a suburb or postcode and the system displays will show the courses which run closest to them geographically. Any tips? Or if anyone has done this at all - can you tell me what your approach was? Thanks - rgds ______________________________________________ Kath Pelletti Software Design & Solutions Pty Ltd. Ph: 9505-6714 Fax: 9505-6430 KP at SDSOnline.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 **************************************************************************** ******* This transmittal may contain confidential information intended solely for the addressee. If you are not the intended recipient, you are hereby notified that you have received this transmittal in error; any review, dissemination, distribution or copying of this transmittal is strictly prohibited. If you have received this communication in error, please notify us immediately by reply or by telephone (collect at 907-564-1000) and ask to speak with the message sender. In addition, please immediately delete this message and all attachments. Thank you. ACS -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd 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 Fri Jun 10 09:41:01 2005 From: dejpolsys at hotmail.com (William Hindman) Date: Fri, 10 Jun 2005 10:41:01 -0400 Subject: [AccessD] A2K: How to change subform view References: Message-ID: Bruce: ..Matty's code is correct: DoCmd.RunCommand acCmdSubformFormView ..switches the Subform to FormView. DoCmd.RunCommand acCmdSubformDatasheetView ..switches the Subform to DatasheetView DoCmd.RunCommand acCmdSubformDatasheet ..toggles between the 2 views. ..hth :) William ----- Original Message ----- From: "Bruen, Bruce" To: "Access Developers discussion and problem solving" Sent: Friday, June 10, 2005 1:54 AM Subject: RE: [AccessD] A2K: How to change subform view > Michael, > > Both your Docmds are the same????? > > > bruce > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Michael R > Mattys > Sent: Friday, 10 June 2005 12:38 PM > To: Access Developers discussion and problem solving > Subject: Re: [AccessD] A2K: How to change subform view > > ----- Original Message ----- > From: "Bruen, Bruce" > To: > Sent: Thursday, June 09, 2005 10:25 PM > Subject: [AccessD] A2K: How to change subform view > > > Hi guys again, > > Memory has failed me. In Access 2000, what is the code trick to change > the subform view from datasheet to normal? > The following 2003 code does not work. > > Private Sub Test_DblClick(Cancel As Integer) > DoCmd.RunCommand acCmdSubformFormView > End Sub > --------- > > bruce > > 'Form to Datasheet (It's a subform) > If Me.Customers.Form.CurrentView = 1 Then > Me.Customers.SetFocus > DoCmd.RunCommand acCmdSubformDatasheet > End If > > 'Datasheet to Form > If Me.Customers.Form.CurrentView = 2 Then > Me.Customers.SetFocus > DoCmd.RunCommand acCmdSubformDatasheet > End If > > ---- > > Michael R. Mattys > Mattys MapLib for Microsoft MapPoint > http://www.mattysconsulting.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. > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > From JHewson at karta.com Fri Jun 10 11:12:23 2005 From: JHewson at karta.com (Jim Hewson) Date: Fri, 10 Jun 2005 11:12:23 -0500 Subject: [AccessD] Filtering a sub-subform Message-ID: <9C382E065F54AE48BC3AA7925DCBB01C03628FA8@karta-exc-int.Karta.com> I'm having difficulty filtering a sub-subform in A2K. The main form has subform1 which contains subform2. A combobox on subform2 filters the records, which works when the form is opened as a main form. Subform1 is filtered using a listbox on subform1 and is not linked to the main form. Subform2 is linked to subform1. I need to filter the records in subform2 with the combobox and still be able to edit and add records. How is this done? Jim From martyconnelly at shaw.ca Fri Jun 10 11:17:26 2005 From: martyconnelly at shaw.ca (MartyConnelly) Date: Fri, 10 Jun 2005 09:17:26 -0700 Subject: [AccessD] Scrape Word Part II References: Message-ID: <42A9BD16.9050504@shaw.ca> As to custom properties you could use the dsofiles.dll, it works for any ole type file mdb,doc,xls,ppt or whatever visio uses, this also works from vb.net, doesn't require word be installed. There is also code to search for text which might be modified for bookmarks but there are two types of word bookmarks. http://www.word.mvps.org/faqs/macrosvba/WorkWithBookmarks.htm You could try searching this site especially the links to other word mvp's like cindy meister I think you will have to poke around to find all the bits and pieces http://word.mvps.org or the main site http://www.mvps.org 'See MSKB and Dsofile.exe Lets You Edit Office Document Properties from Visual Basic and ASP 'Microsoft Knowledge Base Article - 224351 'and download dsofile.exe 'http://support.microsoft.com/?kbid=224351 'Add a reference (Tools | References in the VBE window) to it. ' depending on path where you have installed dsofile.dll 'Put the following in a new module and you should be OK 'Dsofile.dll lets you edit Office document properties without 'Office in Visual Basic .NET 2003 and in Visual Basic .NET 2002 'http://support.microsoft.com/?id=224351 '=========================================================== 'http://www.word.mvps.org/faqs/macrosvba/WorkWithBookmarks.htm Private oFilePropReader As DSOleFile.PropertyReader Private oDocProp As DSOleFile.DocumentProperties Public Sub GetPropsFromDirectory() 'this routine gets all doc files in a directory and shows Line Count and author Dim ffile As String On Error Resume Next 'careful with above line 'this is Quick and Dirty used to avoid missing propereties on some filetypes ' this can be used with microsoft, doc, ppt, xls and mdb files ffile = Dir("c:\wordvba\*.doc") Do While ffile <> "" 'recursive search for sub directories can be written If ffile <> "." And ffile <> ".." Then Set oFilePropReader = New DSOleFile.PropertyReader Set oDocProp = _ oFilePropReader.GetDocumentProperties("c:\wordvba\" & ffile) MsgBox oDocProp.Name & " " & oDocProp.PageCount & _ " pages " & oDocProp.Author With oDocProp Debug.Print "Name " & .Name Debug.Print "Application Name " & .AppName Debug.Print "Author " & .Author Debug.Print "Category " & .Category Debug.Print "Class Id " & .CLSID Debug.Print "Comments " & .Comments Debug.Print "Company " & .Company 'Debug.Print "Custom " & .CustomProperties 'check index values Debug.Print "Create date " & .DateCreated Debug.Print "Last edited " & .DateLastEdited Debug.Print "Last printed " & .DateLastPrinted Debug.Print "Last saved " & .DateLastSaved Debug.Print "Contains Macros " & .HasMacros 'doesn't work with ppt files 'Debug.Print .Icon 'you can view thumbnail in picture object Debug.Print "Read only " & .IsReadOnly Debug.Print "Keywords " & .Keywords Debug.Print "Last edited by " & .LastEditedBy Debug.Print "Line Count " & .LineCount Debug.Print "Location " & .Location Debug.Print "Manager " & .Manager Debug.Print "Page Count " & .PageCount Debug.Print "Paragraphs "; .ParagraphCount Debug.Print "Program Id " & .ProgId Debug.Print "Revision No. " & .RevisionNumber Debug.Print "Slides "; .SlideCount Debug.Print "Subject " & .Subject Debug.Print "Title " & .Title Debug.Print "Version " & .Version Debug.Print "WordCount " & .WordCount Debug.Print "Char Cnt " & .CharacterCount Debug.Print " " End With ffile = Dir() Set oDocProp = Nothing Set oFilePropReader = Nothing End If Loop End Sub Here is some quick and dirty code that opens a Word doc from inside Access, searches for the string "special code:" and sets a string variable equal to the sentence that follows the code string. If your documents all have the same string you can find that string and select words, sentences or paragraphs that come after it. from Jim Hale Function LiftText() Dim wd As Word.Application, strPhrase As String, strFindphrase As String strFindphrase = "special code:" Set wd = New Word.Application wd.Documents.Open "C:\Test.doc" wd.Visible = True wd.Selection.Find.ClearFormatting With wd.Selection.Find .Text = strFindphrase .Replacement.Text = "" .Forward = True .Wrap = wdFindContinue .Format = False .MatchCase = False .MatchWholeWord = False .MatchWildcards = False .MatchSoundsLike = False .MatchAllWordForms = False End With wd.Selection.Find.Execute wd.Selection.Start = wd.Selection.End Call wd.Selection.EndOf(wdSentence, wdExtend) strPhrase = wd.Selection MsgBox "Look what I found: " & strPhrase wd.ActiveDocument.Close wd.Quit Set wd = Nothing End Function Bob Heygood wrote: >thanks Jim. >I have looked before at Helen's code. Lots of great stuff there. > >bob > > > >-----Original Message----- >From: accessd-bounces at databaseadvisors.com >[mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Hale, Jim >Sent: Wednesday, June 08, 2005 8:17 AM >To: 'Access Developers discussion and problem solving' >Subject: RE: [AccessD] Scrape Word Part II > > >At the very bottom of this link Helen Feddema has some code that may help >you. >http://www.helenfeddema.com/CodeSamples.htm > >Jim Hale > >-----Original Message----- >From: Bob Heygood [mailto:bheygood at abestsystems.com] >Sent: Wednesday, June 08, 2005 8:35 AM >To: Access Developers discussion and problem solving >Subject: [AccessD] Scrape Word Part II > > >Hello to the list, > >Well, my project is alive again. This time I have the luxury of being able >to create the Word document from which I need to cull the info. I still need >to have a Word table but I can create bookmarks or whatever within the table >in the document. >To recap I need to import 10 pieces of text from a Word document and store >them in a mdb table. >Jim Hale's code below worked really good except that we were pressed for >time and did not ever get it to work in all areas of the Word doc. >So my first question is how to search the Word doc to find the text, >bookmarks, fields, custom properties or ???? > > >TIA, > >Bob Heygood > >-----Original Message----- >From: accessd-bounces at databaseadvisors.com >[mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Hale, Jim >Sent: Monday, April 18, 2005 8:54 AM >To: 'Access Developers discussion and problem solving' >Subject: RE: [AccessD] Scrape Word > > >Whatever it takes to get the job done! Sorry I couldn't be more help. >Jim Hale > >-----Original Message----- >From: Bob Heygood [mailto:bheygood at abestsystems.com] >Sent: Monday, April 18, 2005 10:09 AM >To: Access Developers discussion and problem solving >Subject: RE: [AccessD] Scrape Word > > >Thanks Jim >I finally just ran the job as it took about 4 hours to process 256 >documents. >it is a one time deal and the customer needed to have the results. > >your help was fantastic. > >bob > > > >-----Original Message----- >From: accessd-bounces at databaseadvisors.com >[mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Hale, Jim >Sent: Friday, April 15, 2005 3:18 PM >To: 'Access Developers discussion and problem solving' >Subject: RE: [AccessD] Scrape Word > > >I'll look at it some more on Monday. You might examine the selection object >in the Word application. It has numerous properties and methods one or more >of which should do the trick. >Jim Hale > >-----Original Message----- >From: Bob Heygood [mailto:bheygood at abestsystems.com] >Sent: Friday, April 15, 2005 4:52 PM >To: Access Developers discussion and problem solving >Subject: RE: [AccessD] Scrape Word > > >yes in a table cell. >again your code is working super. >but only grabs the first word, sometimes there is more than one word in the >cell, and I would like to capture all of them. >if you have thought, I would welcome it. > > >again I tried to manipulate the code further but it acts very erratic when >in a table cell. > >thanks for the great help. > >bob > > >-----Original Message----- >From: accessd-bounces at databaseadvisors.com >[mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Hale, Jim >Sent: Thursday, April 14, 2005 12:53 PM >To: 'Access Developers discussion and problem solving' >Subject: RE: [AccessD] Scrape Word > > >So the data you want (including the search string) is in a table cell? In >the code I sent you delete > wd.Selection.Start = wd.Selection.End > Call wd.Selection.EndOf(wdSentence, wdExtend) > >and replace with > wd.Selection.Next(Unit:=wdWord, Count:=1).Select > >Or if the entire string is returned you can replace the search string with >an empty string "" using the following function: > >Function ReplaceString(strTextIn As String, strFind As String, strReplace As >String, fCaseSensitive As Boolean) As String > > Dim strTmp As String > Dim intPos As Integer > Dim intCaseSensitive As Integer > > intCaseSensitive = IIf(fCaseSensitive, 2, 1) > > strTmp = strTextIn > intPos = InStr(1, strTmp, strFind, intCaseSensitive) > > Do While intPos > 0 > strTmp = Left$(strTmp, intPos - 1) & strReplace & Mid$(strTmp, intPos + >Len(strFind)) > intPos = InStr(intPos + Len(strReplace), strTmp, strFind, >intCaseSensitive) > Loop > > ReplaceString = strTmp > >End Function > >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 > >*********************************************************************** >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. > > > > -- Marty Connelly Victoria, B.C. Canada From darsant at gmail.com Fri Jun 10 11:21:28 2005 From: darsant at gmail.com (Josh McFarlane) Date: Fri, 10 Jun 2005 11:21:28 -0500 Subject: [AccessD] Filtering a sub-subform In-Reply-To: <9C382E065F54AE48BC3AA7925DCBB01C03628FA8@karta-exc-int.Karta.com> References: <9C382E065F54AE48BC3AA7925DCBB01C03628FA8@karta-exc-int.Karta.com> Message-ID: <53c8e05a050610092144430ca3@mail.gmail.com> On 6/10/05, Jim Hewson wrote: > > I'm having difficulty filtering a sub-subform in A2K. > > The main form has subform1 which contains subform2. > A combobox on subform2 filters the records, which works when the form is > opened as a main form. > Subform1 is filtered using a listbox on subform1 and is not linked to > the main form. > Subform2 is linked to subform1. > > I need to filter the records in subform2 with the combobox and still be > able to edit and add records. > > How is this done? > > Jim How are you filtering this at the moment? Are you filtering using filters or by modifying the recordsource on the afterupdate event of the combo box? -- HTH Josh McFarlane "Peace cannot be kept by force. It can only be achieved by understanding." -Albert Einstein From martyconnelly at shaw.ca Fri Jun 10 11:31:22 2005 From: martyconnelly at shaw.ca (MartyConnelly) Date: Fri, 10 Jun 2005 09:31:22 -0700 Subject: [AccessD] Scrape Word Part II References: Message-ID: <42A9C05A.7030602@shaw.ca> Just as a matter of interest this will be easy to do in the new Office 12 XML word formats you just write an XSLT to pick out the relevant bits. According to Brian Jones MS Word Project Manager at this week's TechED. Microsoft will backward patch most versions of word to handle or at least read this new format http://blogs.msdn.com/brian_jones/archive/2005/06/08/426818.aspx#comments Bob Heygood wrote: >thanks Jim. >I have looked before at Helen's code. Lots of great stuff there. > >bob > > > >-----Original Message----- >From: accessd-bounces at databaseadvisors.com >[mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Hale, Jim >Sent: Wednesday, June 08, 2005 8:17 AM >To: 'Access Developers discussion and problem solving' >Subject: RE: [AccessD] Scrape Word Part II > > >At the very bottom of this link Helen Feddema has some code that may help >you. >http://www.helenfeddema.com/CodeSamples.htm > >Jim Hale > >-----Original Message----- >From: Bob Heygood [mailto:bheygood at abestsystems.com] >Sent: Wednesday, June 08, 2005 8:35 AM >To: Access Developers discussion and problem solving >Subject: [AccessD] Scrape Word Part II > > >Hello to the list, > >Well, my project is alive again. This time I have the luxury of being able >to create the Word document from which I need to cull the info. I still need >to have a Word table but I can create bookmarks or whatever within the table >in the document. >To recap I need to import 10 pieces of text from a Word document and store >them in a mdb table. >Jim Hale's code below worked really good except that we were pressed for >time and did not ever get it to work in all areas of the Word doc. >So my first question is how to search the Word doc to find the text, >bookmarks, fields, custom properties or ???? > > >TIA, > >Bob Heygood > >-----Original Message----- >From: accessd-bounces at databaseadvisors.com >[mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Hale, Jim >Sent: Monday, April 18, 2005 8:54 AM >To: 'Access Developers discussion and problem solving' >Subject: RE: [AccessD] Scrape Word > > >Whatever it takes to get the job done! Sorry I couldn't be more help. >Jim Hale > >-----Original Message----- >From: Bob Heygood [mailto:bheygood at abestsystems.com] >Sent: Monday, April 18, 2005 10:09 AM >To: Access Developers discussion and problem solving >Subject: RE: [AccessD] Scrape Word > > >Thanks Jim >I finally just ran the job as it took about 4 hours to process 256 >documents. >it is a one time deal and the customer needed to have the results. > >your help was fantastic. > >bob > > > >-----Original Message----- >From: accessd-bounces at databaseadvisors.com >[mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Hale, Jim >Sent: Friday, April 15, 2005 3:18 PM >To: 'Access Developers discussion and problem solving' >Subject: RE: [AccessD] Scrape Word > > >I'll look at it some more on Monday. You might examine the selection object >in the Word application. It has numerous properties and methods one or more >of which should do the trick. >Jim Hale > >-----Original Message----- >From: Bob Heygood [mailto:bheygood at abestsystems.com] >Sent: Friday, April 15, 2005 4:52 PM >To: Access Developers discussion and problem solving >Subject: RE: [AccessD] Scrape Word > > >yes in a table cell. >again your code is working super. >but only grabs the first word, sometimes there is more than one word in the >cell, and I would like to capture all of them. >if you have thought, I would welcome it. > > >again I tried to manipulate the code further but it acts very erratic when >in a table cell. > >thanks for the great help. > >bob > > >-----Original Message----- >From: accessd-bounces at databaseadvisors.com >[mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Hale, Jim >Sent: Thursday, April 14, 2005 12:53 PM >To: 'Access Developers discussion and problem solving' >Subject: RE: [AccessD] Scrape Word > > >So the data you want (including the search string) is in a table cell? In >the code I sent you delete > wd.Selection.Start = wd.Selection.End > Call wd.Selection.EndOf(wdSentence, wdExtend) > >and replace with > wd.Selection.Next(Unit:=wdWord, Count:=1).Select > >Or if the entire string is returned you can replace the search string with >an empty string "" using the following function: > >Function ReplaceString(strTextIn As String, strFind As String, strReplace As >String, fCaseSensitive As Boolean) As String > > Dim strTmp As String > Dim intPos As Integer > Dim intCaseSensitive As Integer > > intCaseSensitive = IIf(fCaseSensitive, 2, 1) > > strTmp = strTextIn > intPos = InStr(1, strTmp, strFind, intCaseSensitive) > > Do While intPos > 0 > strTmp = Left$(strTmp, intPos - 1) & strReplace & Mid$(strTmp, intPos + >Len(strFind)) > intPos = InStr(intPos + Len(strReplace), strTmp, strFind, >intCaseSensitive) > Loop > > ReplaceString = strTmp > >End Function > >Jim Hale > > > > -- Marty Connelly Victoria, B.C. Canada From JHewson at karta.com Fri Jun 10 12:45:06 2005 From: JHewson at karta.com (Jim Hewson) Date: Fri, 10 Jun 2005 12:45:06 -0500 Subject: [AccessD] Filtering a sub-subform Message-ID: <9C382E065F54AE48BC3AA7925DCBB01C03628FBE@karta-exc-int.Karta.com> There is no filter currently. I'm adding the filter through the afterupdate event of the combo box. Thanks, Jim -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Josh McFarlane Sent: Friday, June 10, 2005 11:21 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Filtering a sub-subform On 6/10/05, Jim Hewson wrote: > > I'm having difficulty filtering a sub-subform in A2K. > > The main form has subform1 which contains subform2. > A combobox on subform2 filters the records, which works when the form > is opened as a main form. > Subform1 is filtered using a listbox on subform1 and is not linked to > the main form. > Subform2 is linked to subform1. > > I need to filter the records in subform2 with the combobox and still > be able to edit and add records. > > How is this done? > > Jim How are you filtering this at the moment? Are you filtering using filters or by modifying the recordsource on the afterupdate event of the combo box? -- HTH 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 accessd at shaw.ca Fri Jun 10 13:00:01 2005 From: accessd at shaw.ca (Jim Lawrence) Date: Fri, 10 Jun 2005 11:00:01 -0700 Subject: [AccessD] Friday humour In-Reply-To: <9C382E065F54AE48BC3AA7925DCBB01C03628FBE@karta-exc-int.Karta.com> Message-ID: <0IHV0011IRBYPU@l-daemon> Hi All: When first read I thought this was a joke... but I think it is for real; which of course would make it more hilarious. Check this out: http://www.catholicintl.com/epologetics/articles/science/geochallenge.htm Jim From DElam at jenkens.com Fri Jun 10 13:14:47 2005 From: DElam at jenkens.com (Elam, Debbie) Date: Fri, 10 Jun 2005 13:14:47 -0500 Subject: [AccessD] Friday humour Message-ID: <7B1961ED924D1A459E378C9B1BB22B4C0492C986@natexch.jenkens.com> Actually they are right. The whole thing comes down to perspective. Of course the math is a heck of a lot easier if you simply consider the sun the center around which the solar system revolves. In this case as many others, why not go with the simplest answer that gives the most correct predictions? Why complicate the issue by insisting that a certain perspective has to be maintained? Groan, no doubt they will call it proof. Of course the reverse is just as true. No one can prove that the sun revolves around the Earth, but that is a minor detail. Debbie -----Original Message----- From: Jim Lawrence [mailto:accessd at shaw.ca] Sent: Friday, June 10, 2005 1:00 PM To: 'Access Developers discussion and problem solving' Subject: [AccessD] Friday humour Hi All: When first read I thought this was a joke... but I think it is for real; which of course would make it more hilarious. Check this out: http://www.catholicintl.com/epologetics/articles/science/geochallenge.htm Jim -- 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 Fri Jun 10 13:23:03 2005 From: accessd at shaw.ca (Jim Lawrence) Date: Fri, 10 Jun 2005 11:23:03 -0700 Subject: [AccessD] Friday humour In-Reply-To: <7B1961ED924D1A459E378C9B1BB22B4C0492C986@natexch.jenkens.com> Message-ID: <0IHV00LBLSECYT@l-daemon> What's next... a challenge from the 'Flat Earth Society'? Jim -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Elam, Debbie Sent: Friday, June 10, 2005 11:15 AM To: 'Access Developers discussion and problem solving' Subject: RE: [AccessD] Friday humour Actually they are right. The whole thing comes down to perspective. Of course the math is a heck of a lot easier if you simply consider the sun the center around which the solar system revolves. In this case as many others, why not go with the simplest answer that gives the most correct predictions? Why complicate the issue by insisting that a certain perspective has to be maintained? Groan, no doubt they will call it proof. Of course the reverse is just as true. No one can prove that the sun revolves around the Earth, but that is a minor detail. Debbie -----Original Message----- From: Jim Lawrence [mailto:accessd at shaw.ca] Sent: Friday, June 10, 2005 1:00 PM To: 'Access Developers discussion and problem solving' Subject: [AccessD] Friday humour Hi All: When first read I thought this was a joke... but I think it is for real; which of course would make it more hilarious. Check this out: http://www.catholicintl.com/epologetics/articles/science/geochallenge.htm Jim -- 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 drboz at pacbell.net Fri Jun 10 13:24:57 2005 From: drboz at pacbell.net (Don Bozarth) Date: Fri, 10 Jun 2005 11:24:57 -0700 Subject: [AccessD] Friday humour References: <7B1961ED924D1A459E378C9B1BB22B4C0492C986@natexch.jenkens.com> Message-ID: <002701c56de9$b578af40$6401a8c0@don> Well, if the solar system is Earth centered, a lot of the math dealing with planetary motion goes right out the window... not to mention that little sniggle called gravity. The math of orbital mechanics suddenly disappears. Were all that math wrong, we could never have made it to the Moon, Venus, Mars, Jupiter, Saturn, and Uranus those places manmade satellites have visited. Don B. ----- Original Message ----- From: "Elam, Debbie" To: "'Access Developers discussion and problem solving'" Sent: Friday, June 10, 2005 11:14 AM Subject: RE: [AccessD] Friday humour > Actually they are right. The whole thing comes down to perspective. Of > course the math is a heck of a lot easier if you simply consider the sun the > center around which the solar system revolves. In this case as many others, > why not go with the simplest answer that gives the most correct predictions? > Why complicate the issue by insisting that a certain perspective has to be > maintained? Groan, no doubt they will call it proof. Of course the reverse > is just as true. No one can prove that the sun revolves around the Earth, > but that is a minor detail. > > Debbie > > -----Original Message----- > From: Jim Lawrence [mailto:accessd at shaw.ca] > Sent: Friday, June 10, 2005 1:00 PM > To: 'Access Developers discussion and problem solving' > Subject: [AccessD] Friday humour > > > Hi All: > > When first read I thought this was a joke... but I think it is for real; > which of course would make it more hilarious. Check this out: > http://www.catholicintl.com/epologetics/articles/science/geochallenge.htm > > Jim > > -- > 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 darsant at gmail.com Fri Jun 10 13:25:55 2005 From: darsant at gmail.com (Josh McFarlane) Date: Fri, 10 Jun 2005 13:25:55 -0500 Subject: [AccessD] Filtering a sub-subform In-Reply-To: <9C382E065F54AE48BC3AA7925DCBB01C03628FBE@karta-exc-int.Karta.com> References: <9C382E065F54AE48BC3AA7925DCBB01C03628FBE@karta-exc-int.Karta.com> Message-ID: <53c8e05a05061011254877bf7a@mail.gmail.com> On 6/10/05, Jim Hewson wrote: > There is no filter currently. > I'm adding the filter through the afterupdate event of the combo box. > Thanks, > Jim It may be easiest to set the recordsource on the afterupdate (SELECT * FROM Table WHERE FilteredField = " & CmbBoxSelection Don't forget to Requery the form too after updating it. -- Josh McFarlane "Peace cannot be kept by force. It can only be achieved by understanding." -Albert Einstein From cfoust at infostatsystems.com Fri Jun 10 13:27:49 2005 From: cfoust at infostatsystems.com (Charlotte Foust) Date: Fri, 10 Jun 2005 11:27:49 -0700 Subject: [AccessD] Friday humour Message-ID: No, I think they're all in public office already! ,wink> Charlotte Foust -----Original Message----- From: Jim Lawrence [mailto:accessd at shaw.ca] Sent: Friday, June 10, 2005 11:23 AM To: 'Access Developers discussion and problem solving' Subject: RE: [AccessD] Friday humour What's next... a challenge from the 'Flat Earth Society'? Jim -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Elam, Debbie Sent: Friday, June 10, 2005 11:15 AM To: 'Access Developers discussion and problem solving' Subject: RE: [AccessD] Friday humour Actually they are right. The whole thing comes down to perspective. Of course the math is a heck of a lot easier if you simply consider the sun the center around which the solar system revolves. In this case as many others, why not go with the simplest answer that gives the most correct predictions? Why complicate the issue by insisting that a certain perspective has to be maintained? Groan, no doubt they will call it proof. Of course the reverse is just as true. No one can prove that the sun revolves around the Earth, but that is a minor detail. Debbie -----Original Message----- From: Jim Lawrence [mailto:accessd at shaw.ca] Sent: Friday, June 10, 2005 1:00 PM To: 'Access Developers discussion and problem solving' Subject: [AccessD] Friday humour Hi All: When first read I thought this was a joke... but I think it is for real; which of course would make it more hilarious. Check this out: http://www.catholicintl.com/epologetics/articles/science/geochallenge.ht m Jim -- 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 Lambert.Heenan at AIG.com Fri Jun 10 13:33:16 2005 From: Lambert.Heenan at AIG.com (Heenan, Lambert) Date: Fri, 10 Jun 2005 14:33:16 -0400 Subject: [AccessD] Friday humour Message-ID: <1D7828CDB8350747AFE9D69E0E90DA1F1176C2D3@xlivmbx21.aig.com> Though I makes me feel unclean to even think about responding to such orgs as the CAI, I will simply state that the question / challenge not only points out their inbuilt prejudice on the subject (as does the web site, which states that no-one *will* be able to offer any proof), but also reveals their utter ignorance of the theory that their behind the times dogma wishes to deny. The sun does not revolve around the Earth and the Earth does not revolve around the sun. They both orbit a common center of gravity, to which all the other planets in the solar system contribute. If they are so damned certain that the sun orbits the Earth then why don't they offer up their "proof"? Furthermore, no scientific minded person would be silly enough to suggest that any theory can be proven. The only thing you can do to a theory is discover more data that *supports* it and its predictions, or new data that *refutes* the theory. Once the refutation data is on hand the theory must be abandoned, or used with the understanding that it has limits. Thus when Einstein's explanation of the orbit of Mercury was shown to be correct *by observation*, the previous Newtonian theory had been shown to be wrong. But then we always knew it was wrong anyway. It's just that it took until Einstein for someone to explain the differences between observation and Newton's theory. Lambert -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Elam, Debbie Sent: Friday, June 10, 2005 2:15 PM To: 'Access Developers discussion and problem solving' Subject: RE: [AccessD] Friday humour Actually they are right. The whole thing comes down to perspective. Of course the math is a heck of a lot easier if you simply consider the sun the center around which the solar system revolves. In this case as many others, why not go with the simplest answer that gives the most correct predictions? Why complicate the issue by insisting that a certain perspective has to be maintained? Groan, no doubt they will call it proof. Of course the reverse is just as true. No one can prove that the sun revolves around the Earth, but that is a minor detail. Debbie -----Original Message----- From: Jim Lawrence [mailto:accessd at shaw.ca] Sent: Friday, June 10, 2005 1:00 PM To: 'Access Developers discussion and problem solving' Subject: [AccessD] Friday humour Hi All: When first read I thought this was a joke... but I think it is for real; which of course would make it more hilarious. Check this out: http://www.catholicintl.com/epologetics/articles/science/geochallenge.htm Jim -- 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 DElam at jenkens.com Fri Jun 10 13:39:17 2005 From: DElam at jenkens.com (Elam, Debbie) Date: Fri, 10 Jun 2005 13:39:17 -0500 Subject: [AccessD] Friday humour Message-ID: <7B1961ED924D1A459E378C9B1BB22B4C0492C988@natexch.jenkens.com> No it does not throw it out the window, it just makes the lovely and simple orbital mechanics equations into monster equations that take a super computer to calculate with any proficiency. Of course those other planets just orbit around the sun while the whole mess orbits around the Earth ;-). That was the real reason it became obvious that the best method of calculation was to put the sun in the center of the system. The whole mess with the rings was to account for planetary movements. It is a little like the headaches caused when you try to take the Earth's total motion into account when compared to the motion of another star in the milky way galaxy which is all rotating around a cluster of stars in the galaxy center. Much more pleasant to break it into chunks and consider the solar system a single unit when talking about motion with respect to the galaxy. Debbie -----Original Message----- From: Don Bozarth [mailto:drboz at pacbell.net] Sent: Friday, June 10, 2005 1:25 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Friday humour Well, if the solar system is Earth centered, a lot of the math dealing with planetary motion goes right out the window... not to mention that little sniggle called gravity. The math of orbital mechanics suddenly disappears. Were all that math wrong, we could never have made it to the Moon, Venus, Mars, Jupiter, Saturn, and Uranus those places manmade satellites have visited. Don B. ----- Original Message ----- From: "Elam, Debbie" To: "'Access Developers discussion and problem solving'" Sent: Friday, June 10, 2005 11:14 AM Subject: RE: [AccessD] Friday humour > Actually they are right. The whole thing comes down to perspective. Of > course the math is a heck of a lot easier if you simply consider the sun the > center around which the solar system revolves. In this case as many others, > why not go with the simplest answer that gives the most correct predictions? > Why complicate the issue by insisting that a certain perspective has to be > maintained? Groan, no doubt they will call it proof. Of course the reverse > is just as true. No one can prove that the sun revolves around the Earth, > but that is a minor detail. > > Debbie > > -----Original Message----- > From: Jim Lawrence [mailto:accessd at shaw.ca] > Sent: Friday, June 10, 2005 1:00 PM > To: 'Access Developers discussion and problem solving' > Subject: [AccessD] Friday humour > > > Hi All: > > When first read I thought this was a joke... but I think it is for real; > which of course would make it more hilarious. Check this out: > http://www.catholicintl.com/epologetics/articles/science/geochallenge.htm > > Jim > > -- > 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 DElam at jenkens.com Fri Jun 10 13:46:12 2005 From: DElam at jenkens.com (Elam, Debbie) Date: Fri, 10 Jun 2005 13:46:12 -0500 Subject: [AccessD] Friday humour Message-ID: <7B1961ED924D1A459E378C9B1BB22B4C0492C989@natexch.jenkens.com> Are any of you under the impression that I support this garbage? They have a point, but as I pointed out it is a really ridiculous one. If two objects are in motion around each other it is a matter of perspective to say which orbits the other without a point of reference they are moving against. Space itself is fairly reference less. It is the motion of other planets as well that enables us to pick a gravitational center of the solar system so we can come up with coherent math that explains it all quite nicely. Debbie -----Original Message----- From: Heenan, Lambert [mailto:Lambert.Heenan at aig.com] Sent: Friday, June 10, 2005 1:33 PM To: 'Access Developers discussion and problem solving' Subject: RE: [AccessD] Friday humour Though I makes me feel unclean to even think about responding to such orgs as the CAI, I will simply state that the question / challenge not only points out their inbuilt prejudice on the subject (as does the web site, which states that no-one *will* be able to offer any proof), but also reveals their utter ignorance of the theory that their behind the times dogma wishes to deny. The sun does not revolve around the Earth and the Earth does not revolve around the sun. They both orbit a common center of gravity, to which all the other planets in the solar system contribute. If they are so damned certain that the sun orbits the Earth then why don't they offer up their "proof"? Furthermore, no scientific minded person would be silly enough to suggest that any theory can be proven. The only thing you can do to a theory is discover more data that *supports* it and its predictions, or new data that *refutes* the theory. Once the refutation data is on hand the theory must be abandoned, or used with the understanding that it has limits. Thus when Einstein's explanation of the orbit of Mercury was shown to be correct *by observation*, the previous Newtonian theory had been shown to be wrong. But then we always knew it was wrong anyway. It's just that it took until Einstein for someone to explain the differences between observation and Newton's theory. Lambert -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Elam, Debbie Sent: Friday, June 10, 2005 2:15 PM To: 'Access Developers discussion and problem solving' Subject: RE: [AccessD] Friday humour Actually they are right. The whole thing comes down to perspective. Of course the math is a heck of a lot easier if you simply consider the sun the center around which the solar system revolves. In this case as many others, why not go with the simplest answer that gives the most correct predictions? Why complicate the issue by insisting that a certain perspective has to be maintained? Groan, no doubt they will call it proof. Of course the reverse is just as true. No one can prove that the sun revolves around the Earth, but that is a minor detail. Debbie -----Original Message----- From: Jim Lawrence [mailto:accessd at shaw.ca] Sent: Friday, June 10, 2005 1:00 PM To: 'Access Developers discussion and problem solving' Subject: [AccessD] Friday humour Hi All: When first read I thought this was a joke... but I think it is for real; which of course would make it more hilarious. Check this out: http://www.catholicintl.com/epologetics/articles/science/geochallenge.htm Jim -- 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 drboz at pacbell.net Fri Jun 10 13:46:26 2005 From: drboz at pacbell.net (Don Bozarth) Date: Fri, 10 Jun 2005 11:46:26 -0700 Subject: [AccessD] Friday humour References: <7B1961ED924D1A459E378C9B1BB22B4C0492C988@natexch.jenkens.com> Message-ID: <000701c56dec$b51d4170$6401a8c0@don> Occams razor applies... the simplest solution is often the best. Those monster equations would be unstable on their best days... since the center of gravity of the total mass of that "mess" would be changing moment to moment. Than anyone seriously doubts the sun centric solar system simply astounds me. There are more than sufficient observable effects to support that theory. There are none... zero.. zip... nada observations that support the earth centric model. Don B. ----- Original Message ----- From: "Elam, Debbie" To: "'Access Developers discussion and problem solving'" Sent: Friday, June 10, 2005 11:39 AM Subject: RE: [AccessD] Friday humour > No it does not throw it out the window, it just makes the lovely and simple > orbital mechanics equations into monster equations that take a super > computer to calculate with any proficiency. Of course those other planets > just orbit around the sun while the whole mess orbits around the Earth ;-). > That was the real reason it became obvious that the best method of > calculation was to put the sun in the center of the system. The whole mess > with the rings was to account for planetary movements. It is a little like > the headaches caused when you try to take the Earth's total motion into > account when compared to the motion of another star in the milky way galaxy > which is all rotating around a cluster of stars in the galaxy center. Much > more pleasant to break it into chunks and consider the solar system a single > unit when talking about motion with respect to the galaxy. > > Debbie > > -----Original Message----- > From: Don Bozarth [mailto:drboz at pacbell.net] > Sent: Friday, June 10, 2005 1:25 PM > To: Access Developers discussion and problem solving > Subject: Re: [AccessD] Friday humour > > > Well, if the solar system is Earth centered, a lot of the math dealing with > planetary motion goes right out the window... not to mention that little > sniggle called gravity. The math of orbital mechanics suddenly disappears. > Were all that math wrong, we could never have made it to the Moon, Venus, > Mars, Jupiter, Saturn, and Uranus those places manmade satellites have > visited. > > Don B. > > ----- Original Message ----- > From: "Elam, Debbie" > To: "'Access Developers discussion and problem solving'" > > Sent: Friday, June 10, 2005 11:14 AM > Subject: RE: [AccessD] Friday humour > > > > Actually they are right. The whole thing comes down to perspective. Of > > course the math is a heck of a lot easier if you simply consider the sun > the > > center around which the solar system revolves. In this case as many > others, > > why not go with the simplest answer that gives the most correct > predictions? > > Why complicate the issue by insisting that a certain perspective has to be > > maintained? Groan, no doubt they will call it proof. Of course the > reverse > > is just as true. No one can prove that the sun revolves around the Earth, > > but that is a minor detail. > > > > Debbie > > > > -----Original Message----- > > From: Jim Lawrence [mailto:accessd at shaw.ca] > > Sent: Friday, June 10, 2005 1:00 PM > > To: 'Access Developers discussion and problem solving' > > Subject: [AccessD] Friday humour > > > > > > Hi All: > > > > When first read I thought this was a joke... but I think it is for real; > > which of course would make it more hilarious. Check this out: > > http://www.catholicintl.com/epologetics/articles/science/geochallenge.htm > > > > Jim > > > > -- > > 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 Lambert.Heenan at AIG.com Fri Jun 10 13:49:04 2005 From: Lambert.Heenan at AIG.com (Heenan, Lambert) Date: Fri, 10 Jun 2005 14:49:04 -0400 Subject: [AccessD] Friday humour Message-ID: <1D7828CDB8350747AFE9D69E0E90DA1F1176C2EC@xlivmbx21.aig.com> Anyone care to tell us how the Earth Centric types explain stellar parallax? Or do they simply deny its existence as their various 'good books' refer to the 'fixed stars'? -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Elam, Debbie Sent: Friday, June 10, 2005 2:39 PM To: 'Access Developers discussion and problem solving' Subject: RE: [AccessD] Friday humour No it does not throw it out the window, it just makes the lovely and simple orbital mechanics equations into monster equations that take a super computer to calculate with any proficiency. Of course those other planets just orbit around the sun while the whole mess orbits around the Earth ;-). That was the real reason it became obvious that the best method of calculation was to put the sun in the center of the system. The whole mess with the rings was to account for planetary movements. It is a little like the headaches caused when you try to take the Earth's total motion into account when compared to the motion of another star in the milky way galaxy which is all rotating around a cluster of stars in the galaxy center. Much more pleasant to break it into chunks and consider the solar system a single unit when talking about motion with respect to the galaxy. Debbie -----Original Message----- From: Don Bozarth [mailto:drboz at pacbell.net] Sent: Friday, June 10, 2005 1:25 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Friday humour Well, if the solar system is Earth centered, a lot of the math dealing with planetary motion goes right out the window... not to mention that little sniggle called gravity. The math of orbital mechanics suddenly disappears. Were all that math wrong, we could never have made it to the Moon, Venus, Mars, Jupiter, Saturn, and Uranus those places manmade satellites have visited. Don B. ----- Original Message ----- From: "Elam, Debbie" To: "'Access Developers discussion and problem solving'" Sent: Friday, June 10, 2005 11:14 AM Subject: RE: [AccessD] Friday humour > Actually they are right. The whole thing comes down to perspective. > Of course the math is a heck of a lot easier if you simply consider > the sun the > center around which the solar system revolves. In this case as many others, > why not go with the simplest answer that gives the most correct predictions? > Why complicate the issue by insisting that a certain perspective has > to be maintained? Groan, no doubt they will call it proof. Of course > the reverse > is just as true. No one can prove that the sun revolves around the > Earth, but that is a minor detail. > > Debbie > > -----Original Message----- > From: Jim Lawrence [mailto:accessd at shaw.ca] > Sent: Friday, June 10, 2005 1:00 PM > To: 'Access Developers discussion and problem solving' > Subject: [AccessD] Friday humour > > > Hi All: > > When first read I thought this was a joke... but I think it is for > real; which of course would make it more hilarious. Check this out: > http://www.catholicintl.com/epologetics/articles/science/geochallenge. > htm > > Jim > > -- > 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 accessd at shaw.ca Fri Jun 10 13:50:31 2005 From: accessd at shaw.ca (Jim Lawrence) Date: Fri, 10 Jun 2005 11:50:31 -0700 Subject: [AccessD] Friday humour In-Reply-To: Message-ID: <0IHV00J7JTO472@l-daemon> On that subject, an email arrived with this link: http://www.boreme.com/boreme/funny-2005/bush-ten-years-ago.php?gobackto=home It sometimes is nice to be one step removed. Jim -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Charlotte Foust Sent: Friday, June 10, 2005 11:28 AM To: Access Developers discussion and problem solving Subject: RE: [AccessD] Friday humour No, I think they're all in public office already! ,wink> Charlotte Foust -----Original Message----- From: Jim Lawrence [mailto:accessd at shaw.ca] Sent: Friday, June 10, 2005 11:23 AM To: 'Access Developers discussion and problem solving' Subject: RE: [AccessD] Friday humour What's next... a challenge from the 'Flat Earth Society'? Jim -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Elam, Debbie Sent: Friday, June 10, 2005 11:15 AM To: 'Access Developers discussion and problem solving' Subject: RE: [AccessD] Friday humour Actually they are right. The whole thing comes down to perspective. Of course the math is a heck of a lot easier if you simply consider the sun the center around which the solar system revolves. In this case as many others, why not go with the simplest answer that gives the most correct predictions? Why complicate the issue by insisting that a certain perspective has to be maintained? Groan, no doubt they will call it proof. Of course the reverse is just as true. No one can prove that the sun revolves around the Earth, but that is a minor detail. Debbie -----Original Message----- From: Jim Lawrence [mailto:accessd at shaw.ca] Sent: Friday, June 10, 2005 1:00 PM To: 'Access Developers discussion and problem solving' Subject: [AccessD] Friday humour Hi All: When first read I thought this was a joke... but I think it is for real; which of course would make it more hilarious. Check this out: http://www.catholicintl.com/epologetics/articles/science/geochallenge.ht m Jim -- 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 -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From DElam at jenkens.com Fri Jun 10 13:52:00 2005 From: DElam at jenkens.com (Elam, Debbie) Date: Fri, 10 Jun 2005 13:52:00 -0500 Subject: [AccessD] Friday humour Message-ID: <7B1961ED924D1A459E378C9B1BB22B4C0492C98A@natexch.jenkens.com> Umm...yeah. Did you read the whole thing? Debbie -----Original Message----- From: Don Bozarth [mailto:drboz at pacbell.net] Sent: Friday, June 10, 2005 1:46 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Friday humour Occams razor applies... the simplest solution is often the best. Those monster equations would be unstable on their best days... since the center of gravity of the total mass of that "mess" would be changing moment to moment. Than anyone seriously doubts the sun centric solar system simply astounds me. There are more than sufficient observable effects to support that theory. There are none... zero.. zip... nada observations that support the earth centric model. Don B. ----- Original Message ----- From: "Elam, Debbie" To: "'Access Developers discussion and problem solving'" Sent: Friday, June 10, 2005 11:39 AM Subject: RE: [AccessD] Friday humour > No it does not throw it out the window, it just makes the lovely and simple > orbital mechanics equations into monster equations that take a super > computer to calculate with any proficiency. Of course those other planets > just orbit around the sun while the whole mess orbits around the Earth ;-). > That was the real reason it became obvious that the best method of > calculation was to put the sun in the center of the system. The whole mess > with the rings was to account for planetary movements. It is a little like > the headaches caused when you try to take the Earth's total motion into > account when compared to the motion of another star in the milky way galaxy > which is all rotating around a cluster of stars in the galaxy center. Much > more pleasant to break it into chunks and consider the solar system a single > unit when talking about motion with respect to the galaxy. > > Debbie > > -----Original Message----- > From: Don Bozarth [mailto:drboz at pacbell.net] > Sent: Friday, June 10, 2005 1:25 PM > To: Access Developers discussion and problem solving > Subject: Re: [AccessD] Friday humour > > > Well, if the solar system is Earth centered, a lot of the math dealing with > planetary motion goes right out the window... not to mention that little > sniggle called gravity. The math of orbital mechanics suddenly disappears. > Were all that math wrong, we could never have made it to the Moon, Venus, > Mars, Jupiter, Saturn, and Uranus those places manmade satellites have > visited. > > Don B. > > ----- Original Message ----- > From: "Elam, Debbie" > To: "'Access Developers discussion and problem solving'" > > Sent: Friday, June 10, 2005 11:14 AM > Subject: RE: [AccessD] Friday humour > > > > Actually they are right. The whole thing comes down to perspective. Of > > course the math is a heck of a lot easier if you simply consider the sun > the > > center around which the solar system revolves. In this case as many > others, > > why not go with the simplest answer that gives the most correct > predictions? > > Why complicate the issue by insisting that a certain perspective has to be > > maintained? Groan, no doubt they will call it proof. Of course the > reverse > > is just as true. No one can prove that the sun revolves around the Earth, > > but that is a minor detail. > > > > Debbie > > > > -----Original Message----- > > From: Jim Lawrence [mailto:accessd at shaw.ca] > > Sent: Friday, June 10, 2005 1:00 PM > > To: 'Access Developers discussion and problem solving' > > Subject: [AccessD] Friday humour > > > > > > Hi All: > > > > When first read I thought this was a joke... but I think it is for real; > > which of course would make it more hilarious. Check this out: > > http://www.catholicintl.com/epologetics/articles/science/geochallenge.htm > > > > Jim > > > > -- > > 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 > -- 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 Fri Jun 10 13:54:54 2005 From: accessd at shaw.ca (Jim Lawrence) Date: Fri, 10 Jun 2005 11:54:54 -0700 Subject: [AccessD] Friday humour In-Reply-To: <1D7828CDB8350747AFE9D69E0E90DA1F1176C2EC@xlivmbx21.aig.com> Message-ID: <0IHV00JAJTVF5E@l-daemon> As Creationists have established that it is not necessary to prove your theory it is only necessary to add doubt to the alternative theory. -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Heenan, Lambert Sent: Friday, June 10, 2005 11:49 AM To: 'Access Developers discussion and problem solving' Subject: RE: [AccessD] Friday humour Anyone care to tell us how the Earth Centric types explain stellar parallax? Or do they simply deny its existence as their various 'good books' refer to the 'fixed stars'? -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Elam, Debbie Sent: Friday, June 10, 2005 2:39 PM To: 'Access Developers discussion and problem solving' Subject: RE: [AccessD] Friday humour No it does not throw it out the window, it just makes the lovely and simple orbital mechanics equations into monster equations that take a super computer to calculate with any proficiency. Of course those other planets just orbit around the sun while the whole mess orbits around the Earth ;-). That was the real reason it became obvious that the best method of calculation was to put the sun in the center of the system. The whole mess with the rings was to account for planetary movements. It is a little like the headaches caused when you try to take the Earth's total motion into account when compared to the motion of another star in the milky way galaxy which is all rotating around a cluster of stars in the galaxy center. Much more pleasant to break it into chunks and consider the solar system a single unit when talking about motion with respect to the galaxy. Debbie -----Original Message----- From: Don Bozarth [mailto:drboz at pacbell.net] Sent: Friday, June 10, 2005 1:25 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Friday humour Well, if the solar system is Earth centered, a lot of the math dealing with planetary motion goes right out the window... not to mention that little sniggle called gravity. The math of orbital mechanics suddenly disappears. Were all that math wrong, we could never have made it to the Moon, Venus, Mars, Jupiter, Saturn, and Uranus those places manmade satellites have visited. Don B. ----- Original Message ----- From: "Elam, Debbie" To: "'Access Developers discussion and problem solving'" Sent: Friday, June 10, 2005 11:14 AM Subject: RE: [AccessD] Friday humour > Actually they are right. The whole thing comes down to perspective. > Of course the math is a heck of a lot easier if you simply consider > the sun the > center around which the solar system revolves. In this case as many others, > why not go with the simplest answer that gives the most correct predictions? > Why complicate the issue by insisting that a certain perspective has > to be maintained? Groan, no doubt they will call it proof. Of course > the reverse > is just as true. No one can prove that the sun revolves around the > Earth, but that is a minor detail. > > Debbie > > -----Original Message----- > From: Jim Lawrence [mailto:accessd at shaw.ca] > Sent: Friday, June 10, 2005 1:00 PM > To: 'Access Developers discussion and problem solving' > Subject: [AccessD] Friday humour > > > Hi All: > > When first read I thought this was a joke... but I think it is for > real; which of course would make it more hilarious. Check this out: > http://www.catholicintl.com/epologetics/articles/science/geochallenge. > htm > > Jim > > -- > 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 -- 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 Jun 10 13:55:51 2005 From: Lambert.Heenan at AIG.com (Heenan, Lambert) Date: Fri, 10 Jun 2005 14:55:51 -0400 Subject: [AccessD] Friday humour Message-ID: <1D7828CDB8350747AFE9D69E0E90DA1F1176C2F5@xlivmbx21.aig.com> Golly no! I would seriously doubt if anyone on this group supports these dogma befuddled notions! -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Elam, Debbie Sent: Friday, June 10, 2005 2:46 PM To: 'Access Developers discussion and problem solving' Subject: RE: [AccessD] Friday humour Are any of you under the impression that I support this garbage? They have a point, but as I pointed out it is a really ridiculous one. If two objects are in motion around each other it is a matter of perspective to say which orbits the other without a point of reference they are moving against. Space itself is fairly reference less. It is the motion of other planets as well that enables us to pick a gravitational center of the solar system so we can come up with coherent math that explains it all quite nicely. Debbie -----Original Message----- From: Heenan, Lambert [mailto:Lambert.Heenan at aig.com] Sent: Friday, June 10, 2005 1:33 PM To: 'Access Developers discussion and problem solving' Subject: RE: [AccessD] Friday humour Though I makes me feel unclean to even think about responding to such orgs as the CAI, I will simply state that the question / challenge not only points out their inbuilt prejudice on the subject (as does the web site, which states that no-one *will* be able to offer any proof), but also reveals their utter ignorance of the theory that their behind the times dogma wishes to deny. The sun does not revolve around the Earth and the Earth does not revolve around the sun. They both orbit a common center of gravity, to which all the other planets in the solar system contribute. If they are so damned certain that the sun orbits the Earth then why don't they offer up their "proof"? Furthermore, no scientific minded person would be silly enough to suggest that any theory can be proven. The only thing you can do to a theory is discover more data that *supports* it and its predictions, or new data that *refutes* the theory. Once the refutation data is on hand the theory must be abandoned, or used with the understanding that it has limits. Thus when Einstein's explanation of the orbit of Mercury was shown to be correct *by observation*, the previous Newtonian theory had been shown to be wrong. But then we always knew it was wrong anyway. It's just that it took until Einstein for someone to explain the differences between observation and Newton's theory. Lambert -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Elam, Debbie Sent: Friday, June 10, 2005 2:15 PM To: 'Access Developers discussion and problem solving' Subject: RE: [AccessD] Friday humour Actually they are right. The whole thing comes down to perspective. Of course the math is a heck of a lot easier if you simply consider the sun the center around which the solar system revolves. In this case as many others, why not go with the simplest answer that gives the most correct predictions? Why complicate the issue by insisting that a certain perspective has to be maintained? Groan, no doubt they will call it proof. Of course the reverse is just as true. No one can prove that the sun revolves around the Earth, but that is a minor detail. Debbie -----Original Message----- From: Jim Lawrence [mailto:accessd at shaw.ca] Sent: Friday, June 10, 2005 1:00 PM To: 'Access Developers discussion and problem solving' Subject: [AccessD] Friday humour Hi All: When first read I thought this was a joke... but I think it is for real; which of course would make it more hilarious. Check this out: http://www.catholicintl.com/epologetics/articles/science/geochallenge.htm Jim -- 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 darsant at gmail.com Fri Jun 10 14:01:08 2005 From: darsant at gmail.com (Josh McFarlane) Date: Fri, 10 Jun 2005 14:01:08 -0500 Subject: [AccessD] Friday humour In-Reply-To: <0IHV00JAJTVF5E@l-daemon> References: <1D7828CDB8350747AFE9D69E0E90DA1F1176C2EC@xlivmbx21.aig.com> <0IHV00JAJTVF5E@l-daemon> Message-ID: <53c8e05a050610120128f44e52@mail.gmail.com> On 6/10/05, Jim Lawrence wrote: > As Creationists have established that it is not necessary to prove your > theory it is only necessary to add doubt to the alternative theory. Ah, but do not forget that when someone adds doubt your theory, it does not matter, as they are wrong. -- Josh McFarlane "Peace cannot be kept by force. It can only be achieved by understanding." -Albert Einstein From dejpolsys at hotmail.com Fri Jun 10 14:03:25 2005 From: dejpolsys at hotmail.com (William Hindman) Date: Fri, 10 Jun 2005 15:03:25 -0400 Subject: [AccessD] Friday humour References: <0IHV0011IRBYPU@l-daemon> Message-ID: ..cretins arguing with morons :) William ----- Original Message ----- From: "Jim Lawrence" To: "'Access Developers discussion and problem solving'" Sent: Friday, June 10, 2005 2:00 PM Subject: [AccessD] Friday humour > Hi All: > > When first read I thought this was a joke... but I think it is for real; > which of course would make it more hilarious. Check this out: > http://www.catholicintl.com/epologetics/articles/science/geochallenge.htm > > Jim > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > From DElam at jenkens.com Fri Jun 10 14:11:01 2005 From: DElam at jenkens.com (Elam, Debbie) Date: Fri, 10 Jun 2005 14:11:01 -0500 Subject: [AccessD] Friday humour Message-ID: <7B1961ED924D1A459E378C9B1BB22B4C0492C98B@natexch.jenkens.com> They are comparing against one speech 10 years ago, not the best baseline sample for a reasonable analysis. As they pointed out they can find current examples where he is just as articulate today. What a hack job! Debbie -----Original Message----- From: Jim Lawrence [mailto:accessd at shaw.ca] Sent: Friday, June 10, 2005 1:51 PM To: 'Access Developers discussion and problem solving' Subject: RE: [AccessD] Friday humour On that subject, an email arrived with this link: http://www.boreme.com/boreme/funny-2005/bush-ten-years-ago.php?gobackto=home It sometimes is nice to be one step removed. Jim -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Charlotte Foust Sent: Friday, June 10, 2005 11:28 AM To: Access Developers discussion and problem solving Subject: RE: [AccessD] Friday humour No, I think they're all in public office already! ,wink> Charlotte Foust -----Original Message----- From: Jim Lawrence [mailto:accessd at shaw.ca] Sent: Friday, June 10, 2005 11:23 AM To: 'Access Developers discussion and problem solving' Subject: RE: [AccessD] Friday humour What's next... a challenge from the 'Flat Earth Society'? Jim -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Elam, Debbie Sent: Friday, June 10, 2005 11:15 AM To: 'Access Developers discussion and problem solving' Subject: RE: [AccessD] Friday humour Actually they are right. The whole thing comes down to perspective. Of course the math is a heck of a lot easier if you simply consider the sun the center around which the solar system revolves. In this case as many others, why not go with the simplest answer that gives the most correct predictions? Why complicate the issue by insisting that a certain perspective has to be maintained? Groan, no doubt they will call it proof. Of course the reverse is just as true. No one can prove that the sun revolves around the Earth, but that is a minor detail. Debbie -----Original Message----- From: Jim Lawrence [mailto:accessd at shaw.ca] Sent: Friday, June 10, 2005 1:00 PM To: 'Access Developers discussion and problem solving' Subject: [AccessD] Friday humour Hi All: When first read I thought this was a joke... but I think it is for real; which of course would make it more hilarious. Check this out: http://www.catholicintl.com/epologetics/articles/science/geochallenge.ht m Jim -- 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 -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/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 dmcafee at pacbell.net Fri Jun 10 14:20:44 2005 From: dmcafee at pacbell.net (David Mcafee) Date: Fri, 10 Jun 2005 12:20:44 -0700 (PDT) Subject: [AccessD] Friday humour (funny) In-Reply-To: <7B1961ED924D1A459E378C9B1BB22B4C0492C98B@natexch.jenkens.com> Message-ID: <20050610192044.47500.qmail@web80808.mail.yahoo.com> A 6-year old and a 4-year old are upstairs in their bedroom. "You know what?" says the 6-year old. "I think it's about time we started cussing." The 4-year old nods his head in approval. The 6-year old continues, "When we go downstairs for breakfast, I'm gonna say something with hell and you say something with ass." The 4-year old agrees with enthusiasm. When the mother walks into the kitchen and asks the 6-year old what he wants for breakfast, he replies, "Aw, hell, Mom, I guess I'll have some Cheerios." WHACK! He flies out of his chair, tumbles across the kitchen floor, gets up, and runs upstairs crying his eyes out, with his mother in hot pursuit, slapping his rear with every step. His Mom locks him in his room and shouts, "You can stay there until I let you out!" She then comes back downstairs, looks at the 4-year old and asks with a stern voice, "And what do YOU want for breakfast, young man?" "I don't know," he blubbers, "but you can bet your fat ass it won't be Cheerios." From drboz at pacbell.net Fri Jun 10 14:23:03 2005 From: drboz at pacbell.net (Don Bozarth) Date: Fri, 10 Jun 2005 12:23:03 -0700 Subject: [AccessD] Friday humour References: <7B1961ED924D1A459E378C9B1BB22B4C0492C98B@natexch.jenkens.com> Message-ID: <000d01c56df1$d2c7e9f0$6401a8c0@don> Yes, I read the whole thing. Typical defend "the church" at all costs rhetoric. According to this group no scientist ever did anything right. Don B. From cfoust at infostatsystems.com Fri Jun 10 15:02:58 2005 From: cfoust at infostatsystems.com (Charlotte Foust) Date: Fri, 10 Jun 2005 13:02:58 -0700 Subject: [AccessD] Friday humour Message-ID: Friends, In Woody's Lounge, we axe threads like this to avoid offending anyone, however misinformed they might be in their beliefs. Is there an equivalent rule in this list? I get very twitchy when conversations wander into the areas of religion and politics, since they tend to deteriorate into name calling and flames. Charlotte Foust -----Original Message----- From: Heenan, Lambert [mailto:Lambert.Heenan at aig.com] Sent: Friday, June 10, 2005 11:49 AM To: 'Access Developers discussion and problem solving' Subject: RE: [AccessD] Friday humour Anyone care to tell us how the Earth Centric types explain stellar parallax? Or do they simply deny its existence as their various 'good books' refer to the 'fixed stars'? -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Elam, Debbie Sent: Friday, June 10, 2005 2:39 PM To: 'Access Developers discussion and problem solving' Subject: RE: [AccessD] Friday humour No it does not throw it out the window, it just makes the lovely and simple orbital mechanics equations into monster equations that take a super computer to calculate with any proficiency. Of course those other planets just orbit around the sun while the whole mess orbits around the Earth ;-). That was the real reason it became obvious that the best method of calculation was to put the sun in the center of the system. The whole mess with the rings was to account for planetary movements. It is a little like the headaches caused when you try to take the Earth's total motion into account when compared to the motion of another star in the milky way galaxy which is all rotating around a cluster of stars in the galaxy center. Much more pleasant to break it into chunks and consider the solar system a single unit when talking about motion with respect to the galaxy. Debbie -----Original Message----- From: Don Bozarth [mailto:drboz at pacbell.net] Sent: Friday, June 10, 2005 1:25 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Friday humour Well, if the solar system is Earth centered, a lot of the math dealing with planetary motion goes right out the window... not to mention that little sniggle called gravity. The math of orbital mechanics suddenly disappears. Were all that math wrong, we could never have made it to the Moon, Venus, Mars, Jupiter, Saturn, and Uranus those places manmade satellites have visited. Don B. ----- Original Message ----- From: "Elam, Debbie" To: "'Access Developers discussion and problem solving'" Sent: Friday, June 10, 2005 11:14 AM Subject: RE: [AccessD] Friday humour > Actually they are right. The whole thing comes down to perspective. > Of course the math is a heck of a lot easier if you simply consider > the sun the > center around which the solar system revolves. In this case as many others, > why not go with the simplest answer that gives the most correct predictions? > Why complicate the issue by insisting that a certain perspective has > to be maintained? Groan, no doubt they will call it proof. Of course > the reverse > is just as true. No one can prove that the sun revolves around the > Earth, but that is a minor detail. > > Debbie > > -----Original Message----- > From: Jim Lawrence [mailto:accessd at shaw.ca] > Sent: Friday, June 10, 2005 1:00 PM > To: 'Access Developers discussion and problem solving' > Subject: [AccessD] Friday humour > > > Hi All: > > When first read I thought this was a joke... but I think it is for > real; which of course would make it more hilarious. Check this out: > http://www.catholicintl.com/epologetics/articles/science/geochallenge. > htm > > Jim > > -- > 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 -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From Gustav at cactus.dk Fri Jun 10 15:03:42 2005 From: Gustav at cactus.dk (Gustav Brock) Date: Fri, 10 Jun 2005 22:03:42 +0200 Subject: [AccessD] Friday humour Message-ID: Hi Jim It isn't even funny. Such a site makes me feel sick. /gustav >>> accessd at shaw.ca 06/10 8:00 pm >>> Hi All: When first read I thought this was a joke... but I think it is for real; which of course would make it more hilarious. Check this out: http://www.catholicintl.com/epologetics/articles/science/geochallenge.htm Jim From cfoust at infostatsystems.com Fri Jun 10 15:05:28 2005 From: cfoust at infostatsystems.com (Charlotte Foust) Date: Fri, 10 Jun 2005 13:05:28 -0700 Subject: [AccessD] Friday humour Message-ID: Sure, but you have to be demented to want to be in politics anyhow, so they're at least half right, regardless of who the politician is. ;-> Charlotte Foust -----Original Message----- From: Elam, Debbie [mailto:DElam at jenkens.com] Sent: Friday, June 10, 2005 12:11 PM To: 'Access Developers discussion and problem solving' Subject: RE: [AccessD] Friday humour They are comparing against one speech 10 years ago, not the best baseline sample for a reasonable analysis. As they pointed out they can find current examples where he is just as articulate today. What a hack job! Debbie -----Original Message----- From: Jim Lawrence [mailto:accessd at shaw.ca] Sent: Friday, June 10, 2005 1:51 PM To: 'Access Developers discussion and problem solving' Subject: RE: [AccessD] Friday humour On that subject, an email arrived with this link: http://www.boreme.com/boreme/funny-2005/bush-ten-years-ago.php?gobackto= home It sometimes is nice to be one step removed. Jim -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Charlotte Foust Sent: Friday, June 10, 2005 11:28 AM To: Access Developers discussion and problem solving Subject: RE: [AccessD] Friday humour No, I think they're all in public office already! ,wink> Charlotte Foust -----Original Message----- From: Jim Lawrence [mailto:accessd at shaw.ca] Sent: Friday, June 10, 2005 11:23 AM To: 'Access Developers discussion and problem solving' Subject: RE: [AccessD] Friday humour What's next... a challenge from the 'Flat Earth Society'? Jim -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Elam, Debbie Sent: Friday, June 10, 2005 11:15 AM To: 'Access Developers discussion and problem solving' Subject: RE: [AccessD] Friday humour Actually they are right. The whole thing comes down to perspective. Of course the math is a heck of a lot easier if you simply consider the sun the center around which the solar system revolves. In this case as many others, why not go with the simplest answer that gives the most correct predictions? Why complicate the issue by insisting that a certain perspective has to be maintained? Groan, no doubt they will call it proof. Of course the reverse is just as true. No one can prove that the sun revolves around the Earth, but that is a minor detail. Debbie -----Original Message----- From: Jim Lawrence [mailto:accessd at shaw.ca] Sent: Friday, June 10, 2005 1:00 PM To: 'Access Developers discussion and problem solving' Subject: [AccessD] Friday humour Hi All: When first read I thought this was a joke... but I think it is for real; which of course would make it more hilarious. Check this out: http://www.catholicintl.com/epologetics/articles/science/geochallenge.ht m Jim -- 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 -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/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 DElam at jenkens.com Fri Jun 10 15:05:23 2005 From: DElam at jenkens.com (Elam, Debbie) Date: Fri, 10 Jun 2005 15:05:23 -0500 Subject: [AccessD] Friday humour Message-ID: <7B1961ED924D1A459E378C9B1BB22B4C0492C98D@natexch.jenkens.com> OK, you were talking about the original article. I thought you were accusing me of believing what they wrote. Debbie -----Original Message----- From: Don Bozarth [mailto:drboz at pacbell.net] Sent: Friday, June 10, 2005 2:23 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Friday humour Yes, I read the whole thing. Typical defend "the church" at all costs rhetoric. According to this group no scientist ever did anything right. Don B. -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com - JENKENS & GILCHRIST E-MAIL NOTICE - This transmission may be: (1) subject to the Attorney-Client Privilege, (2) an attorney work product, or (3) strictly confidential. If you are not the intended recipient of this message, you may not disclose, print, copy or disseminate this information. If you have received this in error, please reply and notify the sender (only) and delete the message. Unauthorized interception of this e-mail is a violation of federal criminal law. This communication does not reflect an intention by the sender or the sender's client or principal to conduct a transaction or make any agreement by electronic means. Nothing contained in this message or in any attachment shall satisfy the requirements for a writing, and nothing contained herein shall constitute a contract or electronic signature under the Electronic Signatures in Global and National Commerce Act, any version of the Uniform Electronic Transactions Act or any other statute governing electronic transactions. From Gustav at cactus.dk Fri Jun 10 15:06:20 2005 From: Gustav at cactus.dk (Gustav Brock) Date: Fri, 10 Jun 2005 22:06:20 +0200 Subject: [AccessD] Access on Macs Message-ID: Hi Steve Install your app on a Windows Terminal Server or - for a few sessions and running on a standard WinXP Pro: http://www.thinsoftinc.com/products_winconserver_info.html The client for Mac is ready for download at MS: /gustav >>> scapistrant at symphonyinfo.com 06/09 7:11 pm >>> I met yesterday with a prospect for our Access-based software product. A fifth of their computers are Macs, the remainder PCs. Based on what I have assumed for YEARS, I noted that it won't fly with the Mac users, unless you buy some third party emulator, and even then I've heard about flaky behavior. Yet they assured me that Macs can run all MS Office applications. No emulator. Am I in the dark here? Do Macs have a native MS Office version? If so, does it include Access? And if so, can they work seamlessly with an Access file generated from a PC, or is there some format conversion that is required to create a Mac-enabled file? Steve Capistrant From cfoust at infostatsystems.com Fri Jun 10 15:07:27 2005 From: cfoust at infostatsystems.com (Charlotte Foust) Date: Fri, 10 Jun 2005 13:07:27 -0700 Subject: [AccessD] Friday humour Message-ID: Erm ... Am I wrong or was Coepernicus exonerated posthumously by the Church? Charlotte Foust -----Original Message----- From: Don Bozarth [mailto:drboz at pacbell.net] Sent: Friday, June 10, 2005 12:23 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Friday humour Yes, I read the whole thing. Typical defend "the church" at all costs rhetoric. According to this group no scientist ever did anything right. Don B. -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From Gustav at cactus.dk Fri Jun 10 15:11:03 2005 From: Gustav at cactus.dk (Gustav Brock) Date: Fri, 10 Jun 2005 22:11:03 +0200 Subject: [AccessD] Generating a rownumber field in a query Message-ID: Hi Bruce Here's a function for this purpose: Public Function SequentialID( _ ByVal booReset As Boolean, _ Optional ByVal varDummy, _ Optional ByVal intIncrement As Integer = 1, _ Optional ByVal lngInitialID As Long) _ As Long ' Increments static variable lngCurrentID with intIncrement. ' Returns the new value of lngCurrentID. ' Parameter varDummy is used to force repeated calls of ' this function when used in a query. ' ' Reset to start counting from zero incrementing by one: ' Call SequentialID(True) ' Reset to start counting from 1000: ' Call SequentialID(True, Null, 1, 1000) ' Reset to start counting from zero incrementing by 2: ' Call SequentialID(True, Null, 2) ' Reset to start counting from -2000 incrementing by -8 ' and returning initial ID: ' lngID = SequentialID(True, Null, -8, -2000) ' ' Retrieve the current ID: ' lngID = SequentialID(False) ' Do a count by one and retrieve the current ID: ' lngID = SequentialID(False, Null, 1) ' Do a count by one in a query and retrieve the current ID: ' lngID = SequentialID(False, [fldAnyField], 1) ' Do a count by minus two and retrieve the current ID: ' lngID = SequentialID(False, varAny, -2) ' ' 2001-12-13. Cactus Data ApS, CPH. Static lngCurrentID As Long Dim intSgn As Integer If booReset = True Then ' Reset ID. lngCurrentID = lngInitialID ElseIf Not intIncrement = 0 Then intSgn = Sgn(intIncrement) If intSgn * lngCurrentID < intSgn * lngInitialID Then ' Reset ID. lngCurrentID = lngInitialID Else ' Increment ID. lngCurrentID = lngCurrentID + intIncrement End If End If SequentialID = lngCurrentID End Function /gustav >>> Bruce.Bruen at railcorp.nsw.gov.au 06/10 4:08 am >>> Hi folks, I want to output a sequence number as a field in a query result. Everytime the query runs it should restart the sequence number from 1. The query appends rows to a "testscript" table, every new test cycle we generate a new set of test scripts which is made up of all the tests in the previous cycle plus new tests that were added during the execution of the last cycle. The natural key for the output table is the cycle number + the sequence number. Cycle Seq Testname ..... 1 1 blah 1 2 blah blah ... 2 1 blah blah 2 2 blah blah blah etc The cycle number is input as a parameter to the append query. But how can I generate the sequence numbers? From drboz at pacbell.net Fri Jun 10 15:23:40 2005 From: drboz at pacbell.net (Don Bozarth) Date: Fri, 10 Jun 2005 13:23:40 -0700 Subject: [AccessD] Friday humour References: <7B1961ED924D1A459E378C9B1BB22B4C0492C98D@natexch.jenkens.com> Message-ID: <001f01c56dfa$4a4b5630$6401a8c0@don> Gawd no! Sorry if you had that impression it certainly wasn't my intent. Don B. ----- Original Message ----- From: "Elam, Debbie" To: "'Access Developers discussion and problem solving'" Sent: Friday, June 10, 2005 1:05 PM Subject: RE: [AccessD] Friday humour > OK, you were talking about the original article. I thought you were > accusing me of believing what they wrote. > > Debbie > > -----Original Message----- > From: Don Bozarth [mailto:drboz at pacbell.net] > Sent: Friday, June 10, 2005 2:23 PM > To: Access Developers discussion and problem solving > Subject: Re: [AccessD] Friday humour > > > Yes, I read the whole thing. Typical defend "the church" at all costs > rhetoric. According to this group no scientist ever did anything right. > > Don B. > > > -- > 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 drboz at pacbell.net Fri Jun 10 15:24:30 2005 From: drboz at pacbell.net (Don Bozarth) Date: Fri, 10 Jun 2005 13:24:30 -0700 Subject: [AccessD] Friday humour References: Message-ID: <002701c56dfa$68081960$6401a8c0@don> I belive he was... Galileo too. Long after they had shed this mortal coil... Don B. ----- Original Message ----- From: "Charlotte Foust" To: "Access Developers discussion and problem solving" Sent: Friday, June 10, 2005 1:07 PM Subject: RE: [AccessD] Friday humour > Erm ... Am I wrong or was Coepernicus exonerated posthumously by the > Church? > > Charlotte Foust > > > -----Original Message----- > From: Don Bozarth [mailto:drboz at pacbell.net] > Sent: Friday, June 10, 2005 12:23 PM > To: Access Developers discussion and problem solving > Subject: Re: [AccessD] Friday humour > > > Yes, I read the whole thing. Typical defend "the church" at all costs > rhetoric. According to this group no scientist ever did anything right. > > Don B. > > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > From BBarabash at TappeConstruction.com Fri Jun 10 15:28:00 2005 From: BBarabash at TappeConstruction.com (Brett Barabash) Date: Fri, 10 Jun 2005 15:28:00 -0500 Subject: [AccessD] RE: Friday humour Message-ID: <100F91B31300334B89EC531C9DCB08659F77D5@tccexch01.tappeconstruction.net> So I open up my inbox this afternoon, and I find 2 Friday "humor" threads: 1. Science vs. Religion absurdist debate 2. "George W. Bush is so dumb" political rhetoric Thank goodness that David McAfee tossed in an honest to goodness joke. Offending people should be the least of your worries. Boring them to death is more likely. ;-) C'mon people, it's Friday. Laugh a little! -------------------------------------------------------------------------------------------------------------------- The information in this email may contain confidential information that is legally privileged. The information is only for the use of the intended recipient(s) named above. If you are not the intended recipient(s), you are hereby notified that any disclosure, copying, distribution, or the taking of any action in regard to the content of this email is strictly prohibited. If transmission is incorrect, unclear, or incomplete, please notify the sender immediately. The authorized recipient(s) of this information is/are prohibited from disclosing this information to any other party and is/are required to destroy the information after its stated need has been fulfilled. Any views expressed in this message are those of the individual sender, except where the sender specifies and with authority, states them to be the views of Tappe Construction Co. This footer also confirms that this email message has been scanned for the presence of computer viruses.Scanning of this message and addition of this footer is performed by SurfControl E-mail Filter software in conjunction with virus detection software. From BBarabash at TappeConstruction.com Fri Jun 10 15:34:22 2005 From: BBarabash at TappeConstruction.com (Brett Barabash) Date: Fri, 10 Jun 2005 15:34:22 -0500 Subject: [AccessD] Friday humor, with 30% more real funny Message-ID: <100F91B31300334B89EC531C9DCB08659F77D7@tccexch01.tappeconstruction.net> Since I've done my share of complaining today, I need to back it up with one of my favorites: Analogies and Metaphors Found in School Essays, stupid but some funny: His thoughts tumbled in his head, making and breaking alliances like underpants in a dryer without Cling Free. He spoke with the wisdom that can only come from experience, like a guy who went blind because he looked at a solar eclipse without one of those boxes with a pinhole in it and now goes around the country speaking at high schools about the dangers of looking at a solar eclipse without one of those boxes with a pinhole in it. The little boat gently drifted across the pond exactly the way a bowling ball wouldn't. >From the attic came an unearthly howl. The whole scene had an eerie, surreal quality, like when you're on vacation in another city and "Jeopardy" comes on at 7:00 pm instead of 7:30. Her hair glistened in the rain like nose hair after a sneeze. Her eyes were like two brown circles with big black dots in the centre. Her vocabulary was as bad as, like, whatever. He was as tall as a six-foot-three-inch tree. The hailstones leaped from the pavement, just like maggots when you fry them in hot grease. Long separated by cruel fate, the star-crossed lovers raced across the grassy field toward each other like two freight trains, one having left Cleveland at 6:36 p.m. travelling at 55 mph, the other from Topeka at 4:19 p.m. at a speed of 35 mph. The politician was gone but unnoticed, like the full stop after the Dr. on a Dr Pepper can. John and Mary had never met. They were like two hummingbirds who had also never met. The thunder was ominous sounding, much like the sound of a thin sheet of metal being shaken backstage during the storm scene in a play. The red brick wall was the colour of a brick-red crayon. He fell for her like his heart was a mob informant and she was the East River. Even in his last years, Grandpa had a mind like a steel trap, only one that had been left ou g, it had rusted shut. The plan was simple, like my brother-in-law Phil. But unlike Phil, this plan just might work. The young fighter had a hungry look, the kind you get from not eating for a while. Her artistic sense was exquisitely refined, like someone who can tell butter from I Can't Believe It's Not Butter. She had a deep, throaty, genuine laugh like that sound a dog makes just before it throws up. It came down the stairs looking very much like something no one had ever seen before. The ballerina rose gracefully en pointe and extended one slender leg behind her, like a dog at a fire hydrant. It was an American tradition, like fathers chasing kids around with power tools. She was as easy as the "TV Guide" crossword. She grew on him like she was a colony of E. coli and he was room-temperature beef. She walked into my office like a centipede with 98 missing legs. It hurt - the way your tongue hurts after you accidentally staple it to the wall. -------------------------------------------------------------------------------------------------------------------- The information in this email may contain confidential information that is legally privileged. The information is only for the use of the intended recipient(s) named above. If you are not the intended recipient(s), you are hereby notified that any disclosure, copying, distribution, or the taking of any action in regard to the content of this email is strictly prohibited. If transmission is incorrect, unclear, or incomplete, please notify the sender immediately. The authorized recipient(s) of this information is/are prohibited from disclosing this information to any other party and is/are required to destroy the information after its stated need has been fulfilled. Any views expressed in this message are those of the individual sender, except where the sender specifies and with authority, states them to be the views of Tappe Construction Co. This footer also confirms that this email mess f this message and addition of this footer is performed by SurfControl E-mail Filter software in conjunction with virus detection software. From Jim.Hale at FleetPride.com Fri Jun 10 15:34:25 2005 From: Jim.Hale at FleetPride.com (Hale, Jim) Date: Fri, 10 Jun 2005 15:34:25 -0500 Subject: [AccessD] RE: Friday humour Message-ID: <6A6AA9DF57E4F046BDA1E273BDDB6772337652@corp-es01.fleetpride.com> Ok, here is my contribution. This one didn't go through last week for some reason. Jim Hale Classified Ads Actually Taken From Classified Ad's In Newspapers: FREE YORKSHIRE TERRIER. 8 years old Hateful little dog. Bites ---------------------------------- FREE PUPPIES: 1/2 Cocker Spaniel, 1/2 sneaky neighbor's dog ----------------------------- FREE PUPPIES... Part German Shepherd, part stupid dog ------------------------------ GERMAN SHEPHERD 85 lbs. Neutered. Speaks German. Free ---------------------------------- FOUND: DIRTY WHITE DOG. Looks like a rat ... been out awhile. Better be reward. ---------------------------------- COWS, CALVES NEVER BRED.... Also 1 gay bull for sale ------------------------------- NORDIC TRACK $300 Hardly used, call Chubby ---------------------------------- NICE PARACHUTE: Never opened - used once ---------------------------------- JOINING NUDIST COLONY! Must sell washer and dryer $300 ---------------------------------- (AND THE BEST ONE) FOR SALE BY OWNER: Complete set of Encyclopedia Britannica. 45 volumes. Excellent condition. $1,000 or best offer. No longer needed. Got married last month. Wife knows everything. -----Original Message----- From: Brett Barabash [mailto:BBarabash at tappeconstruction.com] Sent: Friday, June 10, 2005 3:28 PM To: Access Developers discussion and problem solving Subject: [AccessD] RE: Friday humour So I open up my inbox this afternoon, and I find 2 Friday "humor" threads: 1. Science vs. Religion absurdist debate 2. "George W. Bush is so dumb" political rhetoric Thank goodness that David McAfee tossed in an honest to goodness joke. Offending people should be the least of your worries. Boring them to death is more likely. ;-) C'mon people, it's Friday. Laugh a little! ---------------------------------------------------------------------------- ---------------------------------------- The information in this email may contain confidential information that is legally privileged. The information is only for the use of the intended recipient(s) named above. If you are not the intended recipient(s), you are hereby notified that any disclosure, copying, distribution, or the taking of any action in regard to the content of this email is strictly prohibited. If transmission is incorrect, unclear, or incomplete, please notify the sender immediately. The authorized recipient(s) of this information is/are prohibited from disclosing this information to any other party and is/are required to destroy the information after its stated need has been fulfilled. Any views expressed in this message are those of the individual sender, except where the sender specifies and with authority, states them to be the views of Tappe Construction Co. This footer also confirms that this email message has been scanned for the presence of computer viruses.Scanning of this message and addition of this footer is performed by SurfControl E-mail Filter software in conjunction with virus detection software. -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com *********************************************************************** 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 Jun 10 15:47:04 2005 From: Jim.Hale at FleetPride.com (Hale, Jim) Date: Fri, 10 Jun 2005 15:47:04 -0500 Subject: [AccessD] Friday humor, with 30% more real funny Message-ID: <6A6AA9DF57E4F046BDA1E273BDDB6772337653@corp-es01.fleetpride.com> LOL thanks I needed that today Jim Hale -----Original Message----- From: Brett Barabash [mailto:BBarabash at tappeconstruction.com] Sent: Friday, June 10, 2005 3:34 PM To: Access Developers discussion and problem solving Subject: [AccessD] Friday humor, with 30% more real funny Since I've done my share of complaining today, I need to back it up with one of my favorites: Analogies and Metaphors Found in School Essays, stupid but some funny: His thoughts tumbled in his head, making and breaking alliances like underpants in a dryer without Cling Free. He spoke with the wisdom that can only come from experience, like a guy who went blind because he looked at a solar eclipse without one of those boxes with a pinhole in it and now goes around the country speaking at high schools about the dangers of looking at a solar eclipse without one of those boxes with a pinhole in it. The little boat gently drifted across the pond exactly the way a bowling ball wouldn't. >From the attic came an unearthly howl. The whole scene had an eerie, surreal quality, like when you're on vacation in another city and "Jeopardy" comes on at 7:00 pm instead of 7:30. Her hair glistened in the rain like nose hair after a sneeze. Her eyes were like two brown circles with big black dots in the centre. Her vocabulary was as bad as, like, whatever. He was as tall as a six-foot-three-inch tree. The hailstones leaped from the pavement, just like maggots when you fry them in hot grease. Long separated by cruel fate, the star-crossed lovers raced across the grassy field toward each other like two freight trains, one having left Cleveland at 6:36 p.m. travelling at 55 mph, the other from Topeka at 4:19 p.m. at a speed of 35 mph. The politician was gone but unnoticed, like the full stop after the Dr. on a Dr Pepper can. John and Mary had never met. They were like two hummingbirds who had also never met. The thunder was ominous sounding, much like the sound of a thin sheet of metal being shaken backstage during the storm scene in a play. The red brick wall was the colour of a brick-red crayon. He fell for her like his heart was a mob informant and she was the East River. Even in his last years, Grandpa had a mind like a steel trap, only one that had been left ou g, it had rusted shut. The plan was simple, like my brother-in-law Phil. But unlike Phil, this plan just might work. The young fighter had a hungry look, the kind you get from not eating for a while. Her artistic sense was exquisitely refined, like someone who can tell butter from I Can't Believe It's Not Butter. She had a deep, throaty, genuine laugh like that sound a dog makes just before it throws up. It came down the stairs looking very much like something no one had ever seen before. The ballerina rose gracefully en pointe and extended one slender leg behind her, like a dog at a fire hydrant. It was an American tradition, like fathers chasing kids around with power tools. She was as easy as the "TV Guide" crossword. She grew on him like she was a colony of E. coli and he was room-temperature beef. She walked into my office like a centipede with 98 missing legs. It hurt - the way your tongue hurts after you accidentally staple it to the wall. ---------------------------------------------------------------------------- ---------------------------------------- The information in this email may contain confidential information that is legally privileged. The information is only for the use of the intended recipient(s) named above. If you are not the intended recipient(s), you are hereby notified that any disclosure, copying, distribution, or the taking of any action in regard to the content of this email is strictly prohibited. If transmission is incorrect, unclear, or incomplete, please notify the sender immediately. The authorized recipient(s) of this information is/are prohibited from disclosing this information to any other party and is/are required to destroy the information after its stated need has been fulfilled. Any views expressed in this message are those of the individual sender, except where the sender specifies and with authority, states them to be the views of Tappe Construction Co. This footer also confirms that this email mess f this message and addition of this footer is performed by SurfControl E-mail Filter software in conjunction with virus detection software. -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com *********************************************************************** 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 Drawbridge.Jack at ic.gc.ca Fri Jun 10 15:54:30 2005 From: Drawbridge.Jack at ic.gc.ca (Drawbridge, Jack: #CIO - BPI) Date: Fri, 10 Jun 2005 16:54:30 -0400 Subject: [AccessD] Automating - IE6 - File Save As Message-ID: <0F3AFAE449DD4A40BED8B6C4A97ABF5B0298AABB@MSG-MB3.icent.ic.gc.ca> Have had no responses with original post. I believe it is a question of automating IE, and how to get to CommonDialog in order to do the File Save As. IE does a fantastic job of removing relative links and downloading a clean set of files when using the File Save As webpage complete option. I do not want to do the File saves manually. There must be a means to automate this in VBA??? Any advice/help on this would be greatly appreciated. Thanks, jack -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Drawbridge, Jack: #CIO - BPI Sent: Thursday, June 2, 2005 3:01 PM To: Access Developers discussion and problem solving Subject: [AccessD] A2K talking to IE6 - File Save As Looking for help/advice or sample code to open IE6 from code in A2K. Am interested in how to do a File| Save As Webpage, Complete. We have a database of 60000 companies and want to put extracts of selected 100-500 companies (html and graphics etc) onto a CD for use with Offline Browser. Can not figure out how to get to IE6 File | Save As. I have some code to open a page with IE browser and save all the links on the page. Any help would be appreciated. TIA jack '---- CODE to GET the Links from a given page ---- '--------------------------------------------------------------------------------------- ' Procedure : GetLinks ' DateTime : 2005-06-02 14:19 ' Author : ' Purpose : get all links from a named webpage URL '--------------------------------------------------------------------------------------- ' Sub GetLinks() ' ** need to set a reference to ' ** Microsoft Internet Controls Dim IeApp As InternetExplorer Dim sURL As String Dim IeDoc As Object Dim i As Long 'Create new instance of IE Set IeApp = New InternetExplorer 'May wish to make IeApp visible 'apparently some things don't work 'unless it's visible IeApp.Visible = False 'define the page to open sURL = "www.diligens.com" 'navigate to the page based on URL IeApp.Navigate sURL 'Pause until the webpage is completely loaded Do Loop Until IeApp.ReadyState = READYSTATE_COMPLETE 'Create instance of Document object Set IeDoc = IeApp.Document 'Loop through the document's links collection. For i = 0 To IeDoc.links.Length - 1 Debug.Print IeDoc.links(i).href Next i 'Clean up Set IeApp = Nothing Set IeDoc = Nothing End Sub -- 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 Jun 10 15:54:37 2005 From: Lambert.Heenan at AIG.com (Heenan, Lambert) Date: Fri, 10 Jun 2005 16:54:37 -0400 Subject: [AccessD] Friday humour Message-ID: <1D7828CDB8350747AFE9D69E0E90DA1F1176C3A2@xlivmbx21.aig.com> In Kansas they add Creationism to the school curriculum in order not to offend one specific group of people. That doesn't make it right either. On the whole though I agree with your comment. I especially do not like to see politics being discussed in a software developer's group, but every rule has its exceptions and pointing out the lunacy of the religions of this world (not just Christina ones) is an exception for me. Politicians can be voted out of office. Religious nuts want us to vote our brains out of office. But of course they never say that they are willing to give up all the benefits and comforts that the hateful world of science has given them - like the internet where they can publish their rubbish to the hearts content, where no paper and glue publisher would have touched it, and the computers they use to do it with. This despite the fact that it is heretical scientific research that made it all possible. Not one single solitary advance in human technology has come out of the world of religion. Stone tools, metal tools, agriculture, writing, you name it, they all came out of human needs. Lambert -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Charlotte Foust Sent: Friday, June 10, 2005 4:03 PM To: Access Developers discussion and problem solving Subject: RE: [AccessD] Friday humour Friends, In Woody's Lounge, we axe threads like this to avoid offending anyone, however misinformed they might be in their beliefs. Is there an equivalent rule in this list? I get very twitchy when conversations wander into the areas of religion and politics, since they tend to deteriorate into name calling and flames. Charlotte Foust -----Original Message----- From: Heenan, Lambert [mailto:Lambert.Heenan at aig.com] Sent: Friday, June 10, 2005 11:49 AM To: 'Access Developers discussion and problem solving' Subject: RE: [AccessD] Friday humour Anyone care to tell us how the Earth Centric types explain stellar parallax? Or do they simply deny its existence as their various 'good books' refer to the 'fixed stars'? -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Elam, Debbie Sent: Friday, June 10, 2005 2:39 PM To: 'Access Developers discussion and problem solving' Subject: RE: [AccessD] Friday humour No it does not throw it out the window, it just makes the lovely and simple orbital mechanics equations into monster equations that take a super computer to calculate with any proficiency. Of course those other planets just orbit around the sun while the whole mess orbits around the Earth ;-). That was the real reason it became obvious that the best method of calculation was to put the sun in the center of the system. The whole mess with the rings was to account for planetary movements. It is a little like the headaches caused when you try to take the Earth's total motion into account when compared to the motion of another star in the milky way galaxy which is all rotating around a cluster of stars in the galaxy center. Much more pleasant to break it into chunks and consider the solar system a single unit when talking about motion with respect to the galaxy. Debbie -----Original Message----- From: Don Bozarth [mailto:drboz at pacbell.net] Sent: Friday, June 10, 2005 1:25 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Friday humour Well, if the solar system is Earth centered, a lot of the math dealing with planetary motion goes right out the window... not to mention that little sniggle called gravity. The math of orbital mechanics suddenly disappears. Were all that math wrong, we could never have made it to the Moon, Venus, Mars, Jupiter, Saturn, and Uranus those places manmade satellites have visited. Don B. ----- Original Message ----- From: "Elam, Debbie" To: "'Access Developers discussion and problem solving'" Sent: Friday, June 10, 2005 11:14 AM Subject: RE: [AccessD] Friday humour > Actually they are right. The whole thing comes down to perspective. > Of course the math is a heck of a lot easier if you simply consider > the sun the > center around which the solar system revolves. In this case as many others, > why not go with the simplest answer that gives the most correct predictions? > Why complicate the issue by insisting that a certain perspective has > to be maintained? Groan, no doubt they will call it proof. Of course > the reverse > is just as true. No one can prove that the sun revolves around the > Earth, but that is a minor detail. > > Debbie > > -----Original Message----- > From: Jim Lawrence [mailto:accessd at shaw.ca] > Sent: Friday, June 10, 2005 1:00 PM > To: 'Access Developers discussion and problem solving' > Subject: [AccessD] Friday humour > > > Hi All: > > When first read I thought this was a joke... but I think it is for > real; which of course would make it more hilarious. Check this out: > http://www.catholicintl.com/epologetics/articles/science/geochallenge. > htm > > Jim > > -- > 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 -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From cfoust at infostatsystems.com Fri Jun 10 16:04:31 2005 From: cfoust at infostatsystems.com (Charlotte Foust) Date: Fri, 10 Jun 2005 14:04:31 -0700 Subject: [AccessD] Friday humour Message-ID: That didn't prevent any arguments, it started more and offended more people than it satisfied. I am areligious and largely apolitical, so I am only offended by a lack of common sense and basic courtesy. I just think it is playing with fire to discuss these topics in a public playground where fistfights are discouraged. Charlotte Foust -----Original Message----- From: Heenan, Lambert [mailto:Lambert.Heenan at aig.com] Sent: Friday, June 10, 2005 1:55 PM To: 'Access Developers discussion and problem solving' Subject: RE: [AccessD] Friday humour In Kansas they add Creationism to the school curriculum in order not to offend one specific group of people. That doesn't make it right either. On the whole though I agree with your comment. I especially do not like to see politics being discussed in a software developer's group, but every rule has its exceptions and pointing out the lunacy of the religions of this world (not just Christina ones) is an exception for me. Politicians can be voted out of office. Religious nuts want us to vote our brains out of office. But of course they never say that they are willing to give up all the benefits and comforts that the hateful world of science has given them - like the internet where they can publish their rubbish to the hearts content, where no paper and glue publisher would have touched it, and the computers they use to do it with. This despite the fact that it is heretical scientific research that made it all possible. Not one single solitary advance in human technology has come out of the world of religion. Stone tools, metal tools, agriculture, writing, you name it, they all came out of human needs. Lambert -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Charlotte Foust Sent: Friday, June 10, 2005 4:03 PM To: Access Developers discussion and problem solving Subject: RE: [AccessD] Friday humour Friends, In Woody's Lounge, we axe threads like this to avoid offending anyone, however misinformed they might be in their beliefs. Is there an equivalent rule in this list? I get very twitchy when conversations wander into the areas of religion and politics, since they tend to deteriorate into name calling and flames. Charlotte Foust -----Original Message----- From: Heenan, Lambert [mailto:Lambert.Heenan at aig.com] Sent: Friday, June 10, 2005 11:49 AM To: 'Access Developers discussion and problem solving' Subject: RE: [AccessD] Friday humour Anyone care to tell us how the Earth Centric types explain stellar parallax? Or do they simply deny its existence as their various 'good books' refer to the 'fixed stars'? -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Elam, Debbie Sent: Friday, June 10, 2005 2:39 PM To: 'Access Developers discussion and problem solving' Subject: RE: [AccessD] Friday humour No it does not throw it out the window, it just makes the lovely and simple orbital mechanics equations into monster equations that take a super computer to calculate with any proficiency. Of course those other planets just orbit around the sun while the whole mess orbits around the Earth ;-). That was the real reason it became obvious that the best method of calculation was to put the sun in the center of the system. The whole mess with the rings was to account for planetary movements. It is a little like the headaches caused when you try to take the Earth's total motion into account when compared to the motion of another star in the milky way galaxy which is all rotating around a cluster of stars in the galaxy center. Much more pleasant to break it into chunks and consider the solar system a single unit when talking about motion with respect to the galaxy. Debbie -----Original Message----- From: Don Bozarth [mailto:drboz at pacbell.net] Sent: Friday, June 10, 2005 1:25 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Friday humour Well, if the solar system is Earth centered, a lot of the math dealing with planetary motion goes right out the window... not to mention that little sniggle called gravity. The math of orbital mechanics suddenly disappears. Were all that math wrong, we could never have made it to the Moon, Venus, Mars, Jupiter, Saturn, and Uranus those places manmade satellites have visited. Don B. ----- Original Message ----- From: "Elam, Debbie" To: "'Access Developers discussion and problem solving'" Sent: Friday, June 10, 2005 11:14 AM Subject: RE: [AccessD] Friday humour > Actually they are right. The whole thing comes down to perspective. > Of course the math is a heck of a lot easier if you simply consider > the sun the > center around which the solar system revolves. In this case as many others, > why not go with the simplest answer that gives the most correct predictions? > Why complicate the issue by insisting that a certain perspective has > to be maintained? Groan, no doubt they will call it proof. Of course > the reverse > is just as true. No one can prove that the sun revolves around the > Earth, but that is a minor detail. > > Debbie > > -----Original Message----- > From: Jim Lawrence [mailto:accessd at shaw.ca] > Sent: Friday, June 10, 2005 1:00 PM > To: 'Access Developers discussion and problem solving' > Subject: [AccessD] Friday humour > > > Hi All: > > When first read I thought this was a joke... but I think it is for > real; which of course would make it more hilarious. Check this out: > http://www.catholicintl.com/epologetics/articles/science/geochallenge. > htm > > Jim > > -- > 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 -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd 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 Fri Jun 10 16:18:27 2005 From: Lambert.Heenan at AIG.com (Heenan, Lambert) Date: Fri, 10 Jun 2005 17:18:27 -0400 Subject: [AccessD] Friday humour Message-ID: <1D7828CDB8350747AFE9D69E0E90DA1F1176C3B8@xlivmbx21.aig.com> My last comment on this (honest!!! ) I'm wholeheartedly atheist, but I certainly not apolitical. I believe that everyone should be involved in the political process because politics impacts everyone. But this is not the place for politics. The Kansas situation may have offended more people than it satisfied, but still the stickers are in the school books. It seems enough Kansans were convinced that they voted in the measure, and to hell with the unbelievers. This country is being taken over by religious fanatics/extemists/nutters/fools (you choose) who's agenda has nothing at all to do with the common good and everything to do with their desire for power. Power of you, me, your dog and cat, and ultimately the rest of the world. Lambert -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Charlotte Foust Sent: Friday, June 10, 2005 5:05 PM To: Access Developers discussion and problem solving Subject: RE: [AccessD] Friday humour That didn't prevent any arguments, it started more and offended more people than it satisfied. I am areligious and largely apolitical, so I am only offended by a lack of common sense and basic courtesy. I just think it is playing with fire to discuss these topics in a public playground where fistfights are discouraged. Charlotte Foust -----Original Message----- From: Heenan, Lambert [mailto:Lambert.Heenan at aig.com] Sent: Friday, June 10, 2005 1:55 PM To: 'Access Developers discussion and problem solving' Subject: RE: [AccessD] Friday humour In Kansas they add Creationism to the school curriculum in order not to offend one specific group of people. That doesn't make it right either. On the whole though I agree with your comment. I especially do not like to see politics being discussed in a software developer's group, but every rule has its exceptions and pointing out the lunacy of the religions of this world (not just Christina ones) is an exception for me. Politicians can be voted out of office. Religious nuts want us to vote our brains out of office. But of course they never say that they are willing to give up all the benefits and comforts that the hateful world of science has given them - like the internet where they can publish their rubbish to the hearts content, where no paper and glue publisher would have touched it, and the computers they use to do it with. This despite the fact that it is heretical scientific research that made it all possible. Not one single solitary advance in human technology has come out of the world of religion. Stone tools, metal tools, agriculture, writing, you name it, they all came out of human needs. Lambert -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Charlotte Foust Sent: Friday, June 10, 2005 4:03 PM To: Access Developers discussion and problem solving Subject: RE: [AccessD] Friday humour Friends, In Woody's Lounge, we axe threads like this to avoid offending anyone, however misinformed they might be in their beliefs. Is there an equivalent rule in this list? I get very twitchy when conversations wander into the areas of religion and politics, since they tend to deteriorate into name calling and flames. Charlotte Foust -----Original Message----- From: Heenan, Lambert [mailto:Lambert.Heenan at aig.com] Sent: Friday, June 10, 2005 11:49 AM To: 'Access Developers discussion and problem solving' Subject: RE: [AccessD] Friday humour Anyone care to tell us how the Earth Centric types explain stellar parallax? Or do they simply deny its existence as their various 'good books' refer to the 'fixed stars'? -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Elam, Debbie Sent: Friday, June 10, 2005 2:39 PM To: 'Access Developers discussion and problem solving' Subject: RE: [AccessD] Friday humour No it does not throw it out the window, it just makes the lovely and simple orbital mechanics equations into monster equations that take a super computer to calculate with any proficiency. Of course those other planets just orbit around the sun while the whole mess orbits around the Earth ;-). That was the real reason it became obvious that the best method of calculation was to put the sun in the center of the system. The whole mess with the rings was to account for planetary movements. It is a little like the headaches caused when you try to take the Earth's total motion into account when compared to the motion of another star in the milky way galaxy which is all rotating around a cluster of stars in the galaxy center. Much more pleasant to break it into chunks and consider the solar system a single unit when talking about motion with respect to the galaxy. Debbie -----Original Message----- From: Don Bozarth [mailto:drboz at pacbell.net] Sent: Friday, June 10, 2005 1:25 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Friday humour Well, if the solar system is Earth centered, a lot of the math dealing with planetary motion goes right out the window... not to mention that little sniggle called gravity. The math of orbital mechanics suddenly disappears. Were all that math wrong, we could never have made it to the Moon, Venus, Mars, Jupiter, Saturn, and Uranus those places manmade satellites have visited. Don B. ----- Original Message ----- From: "Elam, Debbie" To: "'Access Developers discussion and problem solving'" Sent: Friday, June 10, 2005 11:14 AM Subject: RE: [AccessD] Friday humour > Actually they are right. The whole thing comes down to perspective. > Of course the math is a heck of a lot easier if you simply consider > the sun the > center around which the solar system revolves. In this case as many others, > why not go with the simplest answer that gives the most correct predictions? > Why complicate the issue by insisting that a certain perspective has > to be maintained? Groan, no doubt they will call it proof. Of course > the reverse > is just as true. No one can prove that the sun revolves around the > Earth, but that is a minor detail. > > Debbie > > -----Original Message----- > From: Jim Lawrence [mailto:accessd at shaw.ca] > Sent: Friday, June 10, 2005 1:00 PM > To: 'Access Developers discussion and problem solving' > Subject: [AccessD] Friday humour > > > Hi All: > > When first read I thought this was a joke... but I think it is for > real; which of course would make it more hilarious. Check this out: > http://www.catholicintl.com/epologetics/articles/science/geochallenge. > htm > > Jim > > -- > 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 -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From stuart at lexacorp.com.pg Fri Jun 10 16:45:49 2005 From: stuart at lexacorp.com.pg (Stuart McLachlan) Date: Sat, 11 Jun 2005 07:45:49 +1000 Subject: [AccessD] Friday humour In-Reply-To: <7B1961ED924D1A459E378C9B1BB22B4C0492C988@natexch.jenkens.com> Message-ID: <42AA96AD.196.1B3CBA8@stuart.lexacorp.com.pg> On 10 Jun 2005 at 13:39, Elam, Debbie wrote: > with the rings was to account for planetary movements. It is a little like > the headaches caused when you try to take the Earth's total motion into > account when compared to the motion of another star in the milky way galaxy > which is all rotating around a cluster of stars in the galaxy center. Just remember that you're standing on a planet that's evolving and revolving at 900 miles an hour, It's orbiting at 19 miles a second, so it's reckoned, the sun that is the source of all our power. The Sun and you and me, and all the stars that we can see, are moving at a million miles a day, In the outer spiral arm, at 40,000 miles an hour, of the Galaxy we call the Milky Way. Our Galaxy itself contains 100 billion stars, it's 100,000 light-years side-to-side, It bulges in the middle, 16 000 light-years thick, but out by us it's just 3 000 light-years wide. We're 30,000 light-years from galactic central point, we go round every 200 million years, And our galaxy is only one of millions of billions in this amazing and expanding universe. The universe itself keeps on expanding and expanding, in all of the directions it can whizz, As fast as it can go, at the speed of light you know, twelve million miles a minute, and that's the fastest speed there is. So remember, when you're feeling very small and insecure, how amazingly unlikely is your birth, Pray that there's intelligent life somewhere up in space, because there's bugger all down here on Earth. The Galaxy Song Composers: Eric Idle & John Du Prez Author: Eric Idle >From the movie "Monty Python's Meaning of Life"-- Stuart From dejpolsys at hotmail.com Fri Jun 10 16:49:53 2005 From: dejpolsys at hotmail.com (William Hindman) Date: Fri, 10 Jun 2005 17:49:53 -0400 Subject: [AccessD] MODERATOR NEEDED NOW!!! /was Friday humour References: <1D7828CDB8350747AFE9D69E0E90DA1F1176C3B8@xlivmbx21.aig.com> Message-ID: ..can somebody with a smattering of common sense please delete this. ..OT is the place for this ...not AccessD. William ----- Original Message ----- From: "Heenan, Lambert" To: "'Access Developers discussion and problem solving'" Sent: Friday, June 10, 2005 5:18 PM Subject: RE: [AccessD] Friday humour > My last comment on this (honest!!! ) > > I'm wholeheartedly atheist, but I certainly not apolitical. I believe that > everyone should be involved in the political process because politics > impacts everyone. But this is not the place for politics. > > The Kansas situation may have offended more people than it satisfied, but > still the stickers are in the school books. It seems enough Kansans were > convinced that they voted in the measure, and to hell with the > unbelievers. > This country is being taken over by religious > fanatics/extemists/nutters/fools (you choose) who's agenda has nothing at > all to do with the common good and everything to do with their desire for > power. Power of you, me, your dog and cat, and ultimately the rest of the > world. > > Lambert > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Charlotte Foust > Sent: Friday, June 10, 2005 5:05 PM > To: Access Developers discussion and problem solving > Subject: RE: [AccessD] Friday humour > > > That didn't prevent any arguments, it started more and offended more > people > than it satisfied. I am areligious and largely apolitical, so I am only > offended by a lack of common sense and basic courtesy. I just think it is > playing with fire to discuss these topics in a public playground where > fistfights are discouraged. > > Charlotte Foust > > > -----Original Message----- > From: Heenan, Lambert [mailto:Lambert.Heenan at aig.com] > Sent: Friday, June 10, 2005 1:55 PM > To: 'Access Developers discussion and problem solving' > Subject: RE: [AccessD] Friday humour > > > In Kansas they add Creationism to the school curriculum in order not to > offend one specific group of people. That doesn't make it right either. > > On the whole though I agree with your comment. I especially do not like to > see politics being discussed in a software developer's group, but every > rule > has its exceptions and pointing out the lunacy of the religions of this > world (not just Christina ones) is an exception for me. > > Politicians can be voted out of office. Religious nuts want us to vote our > brains out of office. But of course they never say that they are willing > to > give up all the benefits and comforts that the hateful world of science > has > given them - like the internet where they can publish their rubbish to the > hearts content, where no paper and glue publisher would have touched it, > and > the computers they use to do it with. This despite the fact that it is > heretical scientific research that made it all possible. Not one single > solitary advance in human technology has come out of the world of > religion. > Stone tools, metal tools, agriculture, writing, you name it, they all came > out of human needs. > > Lambert > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Charlotte Foust > Sent: Friday, June 10, 2005 4:03 PM > To: Access Developers discussion and problem solving > Subject: RE: [AccessD] Friday humour > > > Friends, > > In Woody's Lounge, we axe threads like this to avoid offending anyone, > however misinformed they might be in their beliefs. Is there an > equivalent > rule in this list? I get very twitchy when conversations wander into the > areas of religion and politics, since they tend to deteriorate into name > calling and flames. > > Charlotte Foust > > > -----Original Message----- > From: Heenan, Lambert [mailto:Lambert.Heenan at aig.com] > Sent: Friday, June 10, 2005 11:49 AM > To: 'Access Developers discussion and problem solving' > Subject: RE: [AccessD] Friday humour > > > Anyone care to tell us how the Earth Centric types explain stellar > parallax? > Or do they simply deny its existence as their various 'good books' refer > to > the 'fixed stars'? > > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Elam, Debbie > Sent: Friday, June 10, 2005 2:39 PM > To: 'Access Developers discussion and problem solving' > Subject: RE: [AccessD] Friday humour > > > No it does not throw it out the window, it just makes the lovely and > simple > orbital mechanics equations into monster equations that take a super > computer to calculate with any proficiency. Of course those other planets > just orbit around the sun while the whole mess orbits around the Earth > ;-). > That was the real reason it became obvious that the best method of > calculation was to put the sun in the center of the system. The whole mess > with the rings was to account for planetary movements. It is a little like > the headaches caused when you try to take the Earth's total motion into > account when compared to the motion of another star in the milky way > galaxy > which is all rotating around a cluster of stars in the galaxy center. > Much > more pleasant to break it into chunks and consider the solar system a > single > unit when talking about motion with respect to the galaxy. > > Debbie > > -----Original Message----- > From: Don Bozarth [mailto:drboz at pacbell.net] > Sent: Friday, June 10, 2005 1:25 PM > To: Access Developers discussion and problem solving > Subject: Re: [AccessD] Friday humour > > > Well, if the solar system is Earth centered, a lot of the math dealing > with > planetary motion goes right out the window... not to mention that little > sniggle called gravity. The math of orbital mechanics suddenly > disappears. > Were all that math wrong, we could never have made it to the Moon, Venus, > Mars, Jupiter, Saturn, and Uranus those places manmade satellites have > visited. > > Don B. > > ----- Original Message ----- > From: "Elam, Debbie" > To: "'Access Developers discussion and problem solving'" > > Sent: Friday, June 10, 2005 11:14 AM > Subject: RE: [AccessD] Friday humour > > >> Actually they are right. The whole thing comes down to perspective. >> Of course the math is a heck of a lot easier if you simply consider >> the sun > the >> center around which the solar system revolves. In this case as many > others, >> why not go with the simplest answer that gives the most correct > predictions? >> Why complicate the issue by insisting that a certain perspective has >> to be maintained? Groan, no doubt they will call it proof. Of course > >> the > reverse >> is just as true. No one can prove that the sun revolves around the >> Earth, but that is a minor detail. >> >> Debbie >> >> -----Original Message----- >> From: Jim Lawrence [mailto:accessd at shaw.ca] >> Sent: Friday, June 10, 2005 1:00 PM >> To: 'Access Developers discussion and problem solving' >> Subject: [AccessD] Friday humour >> >> >> Hi All: >> >> When first read I thought this was a joke... but I think it is for >> real; which of course would make it more hilarious. Check this out: >> http://www.catholicintl.com/epologetics/articles/science/geochallenge. >> htm >> >> Jim >> >> -- >> 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 > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > 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 Fri Jun 10 16:53:11 2005 From: dejpolsys at hotmail.com (William Hindman) Date: Fri, 10 Jun 2005 17:53:11 -0400 Subject: [AccessD] Automating - IE6 - File Save As References: <0F3AFAE449DD4A40BED8B6C4A97ABF5B0298AABB@MSG-MB3.icent.ic.gc.ca> Message-ID: http://www.vbaexpress.com/forum/archive/index.php?t-863.html ..hth William ----- Original Message ----- From: "Drawbridge, Jack: #CIO - BPI" To: "Access Developers discussion and problem solving" Sent: Friday, June 10, 2005 4:54 PM Subject: RE: [AccessD] Automating - IE6 - File Save As > Have had no responses with original post. I believe it is a question of > automating IE, and how to get to CommonDialog in order to do the File Save > As. > > IE does a fantastic job of removing relative links and downloading a clean > set of files when using the File Save As webpage complete option. I do not > want to do the File saves manually. There must be a means to automate this > in VBA??? > > Any advice/help on this would be greatly appreciated. > > Thanks, > > jack > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Drawbridge, > Jack: #CIO - BPI > Sent: Thursday, June 2, 2005 3:01 PM > To: Access Developers discussion and problem solving > Subject: [AccessD] A2K talking to IE6 - File Save As > > > Looking for help/advice or sample code to open IE6 from code in A2K. Am > interested in how to do a File| Save As Webpage, Complete. > We have a database of 60000 companies and want to put extracts of selected > 100-500 companies (html and graphics etc) onto a CD for use with Offline > Browser. > > Can not figure out how to get to IE6 File | Save As. > > I have some code to open a page with IE browser and save all the links on > the page. > > Any help would be appreciated. > > TIA > > jack > > '---- CODE to GET the Links from a given page ---- > '--------------------------------------------------------------------------------------- > ' Procedure : GetLinks > ' DateTime : 2005-06-02 14:19 > ' Author : > ' Purpose : get all links from a named webpage URL > '--------------------------------------------------------------------------------------- > ' > Sub GetLinks() > > ' ** need to set a reference to > ' ** Microsoft Internet Controls > > Dim IeApp As InternetExplorer > Dim sURL As String > Dim IeDoc As Object > Dim i As Long > > 'Create new instance of IE > Set IeApp = New InternetExplorer > > 'May wish to make IeApp visible > 'apparently some things don't work > 'unless it's visible > IeApp.Visible = False > > 'define the page to open > sURL = "www.diligens.com" > > 'navigate to the page based on URL > IeApp.Navigate sURL > > 'Pause until the webpage is completely loaded > Do > Loop Until IeApp.ReadyState = READYSTATE_COMPLETE > > 'Create instance of Document object > Set IeDoc = IeApp.Document > > 'Loop through the document's links collection. > For i = 0 To IeDoc.links.Length - 1 > Debug.Print IeDoc.links(i).href > Next i > > 'Clean up > Set IeApp = Nothing > Set IeDoc = Nothing > End Sub > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > From ssharkins at bellsouth.net Fri Jun 10 16:54:05 2005 From: ssharkins at bellsouth.net (Susan Harkins) Date: Fri, 10 Jun 2005 17:54:05 -0400 Subject: [AccessD] MODERATOR NEEDED NOW!!! /was Friday humour In-Reply-To: Message-ID: <20050610215409.GVS4468.ibm61aec.bellsouth.net@SUSANONE> If you need a second, I'll second that, and third it, and fourth it... Frankly, Lambert was rather tart, even by OT standards! ;) Susan H. ..can somebody with a smattering of common sense please delete this. ..OT is the place for this ...not AccessD. From dejpolsys at hotmail.com Fri Jun 10 17:03:44 2005 From: dejpolsys at hotmail.com (William Hindman) Date: Fri, 10 Jun 2005 18:03:44 -0400 Subject: [AccessD] MODERATOR NEEDED NOW!!! /was Friday humour References: <20050610215409.GVS4468.ibm61aec.bellsouth.net@SUSANONE> Message-ID: ..OT has standards? :) William ----- Original Message ----- From: "Susan Harkins" To: "'Access Developers discussion and problem solving'" Sent: Friday, June 10, 2005 5:54 PM Subject: RE: [AccessD] MODERATOR NEEDED NOW!!! /was Friday humour > If you need a second, I'll second that, and third it, and fourth it... > > > Frankly, Lambert was rather tart, even by OT standards! ;) > > Susan H. > > ..can somebody with a smattering of common sense please delete this. > > ..OT is the place for this ...not AccessD. > > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > From dejpolsys at hotmail.com Fri Jun 10 17:06:41 2005 From: dejpolsys at hotmail.com (William Hindman) Date: Fri, 10 Jun 2005 18:06:41 -0400 Subject: [AccessD] Automating - IE6 - File Save As References: <0F3AFAE449DD4A40BED8B6C4A97ABF5B0298AABB@MSG-MB3.icent.ic.gc.ca> Message-ID: ..oops ...wrong link ...should have been: http://www.vbaexpress.com/forum/archive/index.php?t-3484.html William ----- Original Message ----- From: "William Hindman" To: "Access Developers discussion and problem solving" Sent: Friday, June 10, 2005 5:53 PM Subject: Re: [AccessD] Automating - IE6 - File Save As > http://www.vbaexpress.com/forum/archive/index.php?t-863.html > ..hth > > William > > ----- Original Message ----- > From: "Drawbridge, Jack: #CIO - BPI" > To: "Access Developers discussion and problem solving" > > Sent: Friday, June 10, 2005 4:54 PM > Subject: RE: [AccessD] Automating - IE6 - File Save As > > >> Have had no responses with original post. I believe it is a question of >> automating IE, and how to get to CommonDialog in order to do the File >> Save As. >> >> IE does a fantastic job of removing relative links and downloading a >> clean set of files when using the File Save As webpage complete option. I >> do not want to do the File saves manually. There must be a means to >> automate this in VBA??? >> >> Any advice/help on this would be greatly appreciated. >> >> Thanks, >> >> jack >> >> -----Original Message----- >> From: accessd-bounces at databaseadvisors.com >> [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Drawbridge, >> Jack: #CIO - BPI >> Sent: Thursday, June 2, 2005 3:01 PM >> To: Access Developers discussion and problem solving >> Subject: [AccessD] A2K talking to IE6 - File Save As >> >> >> Looking for help/advice or sample code to open IE6 from code in A2K. Am >> interested in how to do a File| Save As Webpage, Complete. >> We have a database of 60000 companies and want to put extracts of >> selected 100-500 companies (html and graphics etc) onto a CD for use with >> Offline Browser. >> >> Can not figure out how to get to IE6 File | Save As. >> >> I have some code to open a page with IE browser and save all the links on >> the page. >> >> Any help would be appreciated. >> >> TIA >> >> jack >> >> '---- CODE to GET the Links from a given page ---- >> '--------------------------------------------------------------------------------------- >> ' Procedure : GetLinks >> ' DateTime : 2005-06-02 14:19 >> ' Author : >> ' Purpose : get all links from a named webpage URL >> '--------------------------------------------------------------------------------------- >> ' >> Sub GetLinks() >> >> ' ** need to set a reference to >> ' ** Microsoft Internet Controls >> >> Dim IeApp As InternetExplorer >> Dim sURL As String >> Dim IeDoc As Object >> Dim i As Long >> >> 'Create new instance of IE >> Set IeApp = New InternetExplorer >> >> 'May wish to make IeApp visible >> 'apparently some things don't work >> 'unless it's visible >> IeApp.Visible = False >> >> 'define the page to open >> sURL = "www.diligens.com" >> >> 'navigate to the page based on URL >> IeApp.Navigate sURL >> >> 'Pause until the webpage is completely loaded >> Do >> Loop Until IeApp.ReadyState = READYSTATE_COMPLETE >> >> 'Create instance of Document object >> Set IeDoc = IeApp.Document >> >> 'Loop through the document's links collection. >> For i = 0 To IeDoc.links.Length - 1 >> Debug.Print IeDoc.links(i).href >> Next i >> >> 'Clean up >> Set IeApp = Nothing >> Set IeDoc = Nothing >> End Sub >> -- >> AccessD mailing list >> AccessD at databaseadvisors.com >> http://databaseadvisors.com/mailman/listinfo/accessd >> Website: http://www.databaseadvisors.com >> -- >> AccessD mailing list >> AccessD at databaseadvisors.com >> http://databaseadvisors.com/mailman/listinfo/accessd >> Website: http://www.databaseadvisors.com >> > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > From cfoust at infostatsystems.com Fri Jun 10 17:32:35 2005 From: cfoust at infostatsystems.com (Charlotte Foust) Date: Fri, 10 Jun 2005 15:32:35 -0700 Subject: [AccessD] Friday humour Message-ID: Oh, I take politics seriously, but I can't bring myself to take *politicians* seriously. I think they're all crooks, which is what I mean by "apolitical". I don't support any of them. Charlotte Foust -----Original Message----- From: Heenan, Lambert [mailto:Lambert.Heenan at aig.com] Sent: Friday, June 10, 2005 2:18 PM To: 'Access Developers discussion and problem solving' Subject: RE: [AccessD] Friday humour My last comment on this (honest!!! ) I'm wholeheartedly atheist, but I certainly not apolitical. I believe that everyone should be involved in the political process because politics impacts everyone. But this is not the place for politics. The Kansas situation may have offended more people than it satisfied, but still the stickers are in the school books. It seems enough Kansans were convinced that they voted in the measure, and to hell with the unbelievers. This country is being taken over by religious fanatics/extemists/nutters/fools (you choose) who's agenda has nothing at all to do with the common good and everything to do with their desire for power. Power of you, me, your dog and cat, and ultimately the rest of the world. Lambert -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Charlotte Foust Sent: Friday, June 10, 2005 5:05 PM To: Access Developers discussion and problem solving Subject: RE: [AccessD] Friday humour That didn't prevent any arguments, it started more and offended more people than it satisfied. I am areligious and largely apolitical, so I am only offended by a lack of common sense and basic courtesy. I just think it is playing with fire to discuss these topics in a public playground where fistfights are discouraged. Charlotte Foust -----Original Message----- From: Heenan, Lambert [mailto:Lambert.Heenan at aig.com] Sent: Friday, June 10, 2005 1:55 PM To: 'Access Developers discussion and problem solving' Subject: RE: [AccessD] Friday humour In Kansas they add Creationism to the school curriculum in order not to offend one specific group of people. That doesn't make it right either. On the whole though I agree with your comment. I especially do not like to see politics being discussed in a software developer's group, but every rule has its exceptions and pointing out the lunacy of the religions of this world (not just Christina ones) is an exception for me. Politicians can be voted out of office. Religious nuts want us to vote our brains out of office. But of course they never say that they are willing to give up all the benefits and comforts that the hateful world of science has given them - like the internet where they can publish their rubbish to the hearts content, where no paper and glue publisher would have touched it, and the computers they use to do it with. This despite the fact that it is heretical scientific research that made it all possible. Not one single solitary advance in human technology has come out of the world of religion. Stone tools, metal tools, agriculture, writing, you name it, they all came out of human needs. Lambert -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Charlotte Foust Sent: Friday, June 10, 2005 4:03 PM To: Access Developers discussion and problem solving Subject: RE: [AccessD] Friday humour Friends, In Woody's Lounge, we axe threads like this to avoid offending anyone, however misinformed they might be in their beliefs. Is there an equivalent rule in this list? I get very twitchy when conversations wander into the areas of religion and politics, since they tend to deteriorate into name calling and flames. Charlotte Foust -----Original Message----- From: Heenan, Lambert [mailto:Lambert.Heenan at aig.com] Sent: Friday, June 10, 2005 11:49 AM To: 'Access Developers discussion and problem solving' Subject: RE: [AccessD] Friday humour Anyone care to tell us how the Earth Centric types explain stellar parallax? Or do they simply deny its existence as their various 'good books' refer to the 'fixed stars'? -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Elam, Debbie Sent: Friday, June 10, 2005 2:39 PM To: 'Access Developers discussion and problem solving' Subject: RE: [AccessD] Friday humour No it does not throw it out the window, it just makes the lovely and simple orbital mechanics equations into monster equations that take a super computer to calculate with any proficiency. Of course those other planets just orbit around the sun while the whole mess orbits around the Earth ;-). That was the real reason it became obvious that the best method of calculation was to put the sun in the center of the system. The whole mess with the rings was to account for planetary movements. It is a little like the headaches caused when you try to take the Earth's total motion into account when compared to the motion of another star in the milky way galaxy which is all rotating around a cluster of stars in the galaxy center. Much more pleasant to break it into chunks and consider the solar system a single unit when talking about motion with respect to the galaxy. Debbie -----Original Message----- From: Don Bozarth [mailto:drboz at pacbell.net] Sent: Friday, June 10, 2005 1:25 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Friday humour Well, if the solar system is Earth centered, a lot of the math dealing with planetary motion goes right out the window... not to mention that little sniggle called gravity. The math of orbital mechanics suddenly disappears. Were all that math wrong, we could never have made it to the Moon, Venus, Mars, Jupiter, Saturn, and Uranus those places manmade satellites have visited. Don B. ----- Original Message ----- From: "Elam, Debbie" To: "'Access Developers discussion and problem solving'" Sent: Friday, June 10, 2005 11:14 AM Subject: RE: [AccessD] Friday humour > Actually they are right. The whole thing comes down to perspective. > Of course the math is a heck of a lot easier if you simply consider > the sun the > center around which the solar system revolves. In this case as many others, > why not go with the simplest answer that gives the most correct predictions? > Why complicate the issue by insisting that a certain perspective has > to be maintained? Groan, no doubt they will call it proof. Of course > the reverse > is just as true. No one can prove that the sun revolves around the > Earth, but that is a minor detail. > > Debbie > > -----Original Message----- > From: Jim Lawrence [mailto:accessd at shaw.ca] > Sent: Friday, June 10, 2005 1:00 PM > To: 'Access Developers discussion and problem solving' > Subject: [AccessD] Friday humour > > > Hi All: > > When first read I thought this was a joke... but I think it is for > real; which of course would make it more hilarious. Check this out: > http://www.catholicintl.com/epologetics/articles/science/geochallenge. > htm > > Jim > > -- > 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 -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From cfoust at infostatsystems.com Fri Jun 10 17:36:27 2005 From: cfoust at infostatsystems.com (Charlotte Foust) Date: Fri, 10 Jun 2005 15:36:27 -0700 Subject: [AccessD] MODERATOR NEEDED NOW!!! /was Friday humour Message-ID: ROTFL Charlotte Foust -----Original Message----- From: William Hindman [mailto:dejpolsys at hotmail.com] Sent: Friday, June 10, 2005 3:04 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] MODERATOR NEEDED NOW!!! /was Friday humour ..OT has standards? :) William ----- Original Message ----- From: "Susan Harkins" To: "'Access Developers discussion and problem solving'" Sent: Friday, June 10, 2005 5:54 PM Subject: RE: [AccessD] MODERATOR NEEDED NOW!!! /was Friday humour > If you need a second, I'll second that, and third it, and fourth it... > > > Frankly, Lambert was rather tart, even by OT standards! ;) > > Susan H. > > ..can somebody with a smattering of common sense please delete this. > > ..OT is the place for this ...not AccessD. > > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > 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 Jun 10 17:39:37 2005 From: martyconnelly at shaw.ca (MartyConnelly) Date: Fri, 10 Jun 2005 15:39:37 -0700 Subject: [AccessD] Automating - IE6 - File Save As References: <0F3AFAE449DD4A40BED8B6C4A97ABF5B0298AABB@MSG-MB3.icent.ic.gc.ca> Message-ID: <42AA16A9.1060801@shaw.ca> You maynot be able to do this for security reasons on second method. Ran this okay from WinXP SP2, Access97, IE6.0.2900 xpsp2 patches Here are two ways. 'This gets around security limitations 'will only save between tags CreateObject("Scripting.FileSystemObject").OpenTextFile("C:\temp\myurlsaved.htm", 2, True).Write _ objExplorer.Document.Body.innerHTML 'or alternate method that security may clobber, saves everthing with fileopen box used With objExplorer.Document If .queryCommandEnabled("saveAs") Then .execCommand "saveAs", False, "C:\temp\myurl.htm" End With Anywho here is some rough test code, that works both ways. You can throw out all the commented objdocument code at bottom. Sub testIESave(strpassHTML As String) '------------------ 'testIESave "http://www.Viescas.com/" Dim objExplorer As Object Dim objDocument As Object Dim strComputer As String Dim strReturn As String Set objExplorer = CreateObject("InternetExplorer.Application") 'objExplorer.navigate "about:blank" objExplorer.navigate strpassHTML objExplorer.Toolbar = 1 'or 0 to turnoff toolbar turned off maynot save all html source objExplorer.StatusBar = 0 objExplorer.Width = 800 objExplorer.Height = 570 objExplorer.Left = 0 objExplorer.Top = 0 objExplorer.Visible = 1 'dont't need to navigate to file or http site 'just drop html string in document object 'objExplorer.Navigate "file://c:\temp\test.html" 'objExplorer.Navigate "http://www.Viescas.com/" 'objExplorer.Navigate "http://checkip.dyndns.org/" Do While (objExplorer.Busy) Loop Dim webtx As String Dim strHTML As String 'will only save between tags CreateObject("Scripting.FileSystemObject").OpenTextFile("C:\temp\myurlsmall.htm", 2, True).Write _ objExplorer.Document.Body.innerHTML 'alternate method security may clobber saves everything With objExplorer.Document If .queryCommandEnabled("saveAs") Then .execCommand "saveAs", False, "C:\temp\myurl.htm" End With 'Set objDocument = objExplorer.Document 'objDocument.Open 'objDocument.writeln "My Continuous Pictures" 'you probably don't need all this but you could throw in some css 'objDocument.writeln "" 'objDocument.writeln "" 'objDocument.writeln "" 'objDocument.writeln "" 'objDocument.writeln "" 'objDocument.writeln "
Pictures
" 'objDocument.writeln "

Method #2:

" 'objDocument.writeln strpassHTML 'objDocument.writeln "" 'objDocument.Write() 'objDocument.Close 'MsgBox "finished" Set objExplorer = Nothing Set objDocument = Nothing End Sub Drawbridge, Jack: #CIO - BPI wrote: >Have had no responses with original post. I believe it is a question of automating IE, and how to get to CommonDialog in order to do the File Save As. > >IE does a fantastic job of removing relative links and downloading a clean set of files when using the File Save As webpage complete option. I do not want to do the File saves manually. There must be a means to automate this in VBA??? > >Any advice/help on this would be greatly appreciated. > >Thanks, > >jack > >-----Original Message----- >From: accessd-bounces at databaseadvisors.com >[mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Drawbridge, >Jack: #CIO - BPI >Sent: Thursday, June 2, 2005 3:01 PM >To: Access Developers discussion and problem solving >Subject: [AccessD] A2K talking to IE6 - File Save As > > >Looking for help/advice or sample code to open IE6 from code in A2K. Am interested in how to do a File| Save As Webpage, Complete. >We have a database of 60000 companies and want to put extracts of selected 100-500 companies (html and graphics etc) onto a CD for use with Offline Browser. > >Can not figure out how to get to IE6 File | Save As. > >I have some code to open a page with IE browser and save all the links on the page. > >Any help would be appreciated. > >TIA > >jack > >'---- CODE to GET the Links from a given page ---- >'--------------------------------------------------------------------------------------- >' Procedure : GetLinks >' DateTime : 2005-06-02 14:19 >' Author : >' Purpose : get all links from a named webpage URL >'--------------------------------------------------------------------------------------- >' >Sub GetLinks() > >' ** need to set a reference to >' ** Microsoft Internet Controls > > Dim IeApp As InternetExplorer > Dim sURL As String > Dim IeDoc As Object > Dim i As Long > > 'Create new instance of IE > Set IeApp = New InternetExplorer > > 'May wish to make IeApp visible > 'apparently some things don't work > 'unless it's visible > IeApp.Visible = False > > 'define the page to open > sURL = "www.diligens.com" > > 'navigate to the page based on URL > IeApp.Navigate sURL > > 'Pause until the webpage is completely loaded > Do > Loop Until IeApp.ReadyState = READYSTATE_COMPLETE > > 'Create instance of Document object > Set IeDoc = IeApp.Document > > 'Loop through the document's links collection. > For i = 0 To IeDoc.links.Length - 1 > Debug.Print IeDoc.links(i).href > Next i > > 'Clean up > Set IeApp = Nothing > Set IeDoc = Nothing >End Sub > > -- Marty Connelly Victoria, B.C. Canada From john at winhaven.net Fri Jun 10 17:40:58 2005 From: john at winhaven.net (John Bartow) Date: Fri, 10 Jun 2005 17:40:58 -0500 Subject: [AccessD] Friday humour - END THIS THREAD In-Reply-To: <0IHV00J7JTO472@l-daemon> Message-ID: <200506102241.j5AMewPA265944@pimout4-ext.prodigy.net> This isn't humor either Jim, please don't abuse the Firday humor allowance in the future. John Bartow, President Database Advisors, Inc. Email: mailto:president at databaseadvisors.com Website: http://www.databaseadvisors.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Jim Lawrence Sent: Friday, June 10, 2005 1:51 PM To: 'Access Developers discussion and problem solving' Subject: RE: [AccessD] Friday humour On that subject, an email arrived with this link: http://www.boreme.com/boreme/funny-2005/bush-ten-years-ago.php?gobackto=home It sometimes is nice to be one step removed. Jim -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Charlotte Foust Sent: Friday, June 10, 2005 11:28 AM To: Access Developers discussion and problem solving Subject: RE: [AccessD] Friday humour No, I think they're all in public office already! ,wink> Charlotte Foust -----Original Message----- From: Jim Lawrence [mailto:accessd at shaw.ca] Sent: Friday, June 10, 2005 11:23 AM To: 'Access Developers discussion and problem solving' Subject: RE: [AccessD] Friday humour What's next... a challenge from the 'Flat Earth Society'? Jim -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Elam, Debbie Sent: Friday, June 10, 2005 11:15 AM To: 'Access Developers discussion and problem solving' Subject: RE: [AccessD] Friday humour Actually they are right. The whole thing comes down to perspective. Of course the math is a heck of a lot easier if you simply consider the sun the center around which the solar system revolves. In this case as many others, why not go with the simplest answer that gives the most correct predictions? Why complicate the issue by insisting that a certain perspective has to be maintained? Groan, no doubt they will call it proof. Of course the reverse is just as true. No one can prove that the sun revolves around the Earth, but that is a minor detail. Debbie -----Original Message----- From: Jim Lawrence [mailto:accessd at shaw.ca] Sent: Friday, June 10, 2005 1:00 PM To: 'Access Developers discussion and problem solving' Subject: [AccessD] Friday humour Hi All: When first read I thought this was a joke... but I think it is for real; which of course would make it more hilarious. Check this out: http://www.catholicintl.com/epologetics/articles/science/geochallenge.ht m Jim -- 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 -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd 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 Fri Jun 10 17:40:58 2005 From: john at winhaven.net (John Bartow) Date: Fri, 10 Jun 2005 17:40:58 -0500 Subject: [AccessD] Friday humour - END THIS THREAD In-Reply-To: <0IHV0011IRBYPU@l-daemon> Message-ID: <200506102241.j5AMewPB265944@pimout4-ext.prodigy.net> This isn't humor Jim, please don't abuse the Firday humor allowance in the future. John Bartow, President Database Advisors, Inc. Email: mailto:president at databaseadvisors.com Website: http://www.databaseadvisors.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Jim Lawrence Sent: Friday, June 10, 2005 1:00 PM To: 'Access Developers discussion and problem solving' Subject: [AccessD] Friday humour Hi All: When first read I thought this was a joke... but I think it is for real; which of course would make it more hilarious. Check this out: http://www.catholicintl.com/epologetics/articles/science/geochallenge.htm Jim -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From bchacc at san.rr.com Fri Jun 10 18:31:04 2005 From: bchacc at san.rr.com (Rocky Smolin - Beach Access Software) Date: Fri, 10 Jun 2005 16:31:04 -0700 Subject: [AccessD] RE: Friday humour References: <6A6AA9DF57E4F046BDA1E273BDDB6772337652@corp-es01.fleetpride.com> Message-ID: <034301c56e14$7962b340$6901a8c0@HAL9004> I like: "Kittens. Five cents or best offer." Rocky ----- Original Message ----- From: "Hale, Jim" To: "'Access Developers discussion and problem solving'" Sent: Friday, June 10, 2005 1:34 PM Subject: RE: [AccessD] RE: Friday humour > Ok, here is my contribution. This one didn't go through last week for some > reason. > Jim Hale > > Classified Ads > > Actually Taken From Classified Ad's In Newspapers: > > FREE YORKSHIRE TERRIER. 8 years old Hateful little dog. Bites > ---------------------------------- > FREE PUPPIES: 1/2 Cocker Spaniel, 1/2 sneaky neighbor's dog > ----------------------------- > FREE PUPPIES... Part German Shepherd, part stupid dog > ------------------------------ > GERMAN SHEPHERD 85 lbs. Neutered. Speaks German. Free > ---------------------------------- > FOUND: DIRTY WHITE DOG. Looks like a rat ... been out awhile. Better be > reward. > ---------------------------------- > COWS, CALVES NEVER BRED.... Also 1 gay bull for sale > ------------------------------- > NORDIC TRACK $300 Hardly used, call Chubby > ---------------------------------- > NICE PARACHUTE: Never opened - used once > ---------------------------------- > JOINING NUDIST COLONY! Must sell washer and dryer $300 > ---------------------------------- > (AND THE BEST ONE) > FOR SALE BY OWNER: Complete set of Encyclopedia Britannica. 45 volumes. > Excellent condition. $1,000 or best offer. No longer needed. Got married > last month. Wife knows everything. > > -----Original Message----- > From: Brett Barabash [mailto:BBarabash at tappeconstruction.com] > Sent: Friday, June 10, 2005 3:28 PM > To: Access Developers discussion and problem solving > Subject: [AccessD] RE: Friday humour > > > So I open up my inbox this afternoon, and I find 2 Friday "humor" > threads: > > 1. Science vs. Religion absurdist debate > 2. "George W. Bush is so dumb" political rhetoric > > Thank goodness that David McAfee tossed in an honest to goodness joke. > Offending people should be the least of your worries. Boring them to > death is more likely. ;-) > > C'mon people, it's Friday. Laugh a little! > > ---------------------------------------------------------------------------- > ---------------------------------------- > The information in this email may contain confidential information that > is legally privileged. The information is only for the use of the intended > recipient(s) named above. If you are not the intended recipient(s), you > are hereby notified that any disclosure, copying, distribution, or the > taking > of any action in regard to the content of this email is strictly > prohibited. > If > transmission is incorrect, unclear, or incomplete, please notify the > sender > immediately. The authorized recipient(s) of this information is/are > prohibited > from disclosing this information to any other party and is/are required to > destroy the information after its stated need has been fulfilled. > > Any views expressed in this message are those of the individual > sender, except where the sender specifies and with authority, > states them to be the views of Tappe Construction Co. > > This footer also confirms that this email message has been scanned > for the presence of computer viruses.Scanning of this message and > addition of this footer is performed by SurfControl E-mail Filter software > in conjunction with virus detection software. > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > > *********************************************************************** > 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 martyconnelly at shaw.ca Fri Jun 10 19:15:13 2005 From: martyconnelly at shaw.ca (MartyConnelly) Date: Fri, 10 Jun 2005 17:15:13 -0700 Subject: [AccessD] Friday humour References: <002701c56dfa$68081960$6401a8c0@don> Message-ID: <42AA2D11.90103@shaw.ca> Argggh. Noone knows any history. 1. Copernicus died in 1543 a week after his book "Six Books on the Revolutions of the Celestial Orbits" otherwise known as "De Revolutionibis" was finally published. In 1533 Albert Widmanstadt lectured before Pope Clement VII on the Copernican solar system. His reward consisted of a Greek codex which is preserved in the State library of Munich. Three years later Copernicus was urged by Cardinal Schonberg, then Archbishop of Capua, in a letter, dated at Rome, 1 November, 1536, to publish his discovery, or at least to have a copy made at the cardinal's expense. He was also asked to reform the Calendar by Pope Leo X. Finally Copernicus, at sixty-eight , yielded, as he writes to Paul III, to the entreaties of Cardinal Schonberg, of Bishop Giese of Culm, and of other learned men to surrender his manuscripts for publication. Bishop Giese charged Rheticus, as the ablest disciple of the great master, with the task of editing the work. It was finally edited by Osiander who took out any possible objectionable theological bits, and added a preface stating it was an hypothesis. This was done not so much to appease the Catholic church but knowing the attitude of Luther and Melanchthon against the heliocentric system, who were running around Germany at the time.Copernicus was an invalid and living in Frauenburg Germany at the time. There were 6 popes inbetween Copernicus' book and the Galileo inquisition and none objected to the heliocentric theory. On the Catholic side opposition only commenced seventy-three years later, when it was started up by Galileo. On 5 March, 1616, the work of Copernicus was forbidden by the Congregation of the Index "until corrected", and in 1620 these corrections were indicated. Nine sentences, by which the heliocentric system was represented as certain, had to be either omitted or changed. In 1820 Canon Settele, a Roman astronomy professor who was a priest tried to publish a book in which the Copernican system was treated as fact. At first, the censor of the press, a guy named Anfossi, wouldn't allow the book to be published unless Settele revised it so that it treated the Copernican system as merely a theory. But Settele appealed to Pope Pius VII, who referred the matter to the Congregation of the Holy Office. On August 16, 1820, it was decided that Settele could, in fact, treat the Copernican system as established fact, and that decision was approved by Pius VII. Pope John Paul II referred to this incident in 1992 when he said that as far as the Church was concerned, the heliocentric debate "was closed in 1820 with the imprimatur given to the work of Canon Settele." This was an address to Pontifical Academy of the Sciences. I could add corrections on Galileo and all the politics involved which was a genuine fubar but here is Cardinal Bellarmine's response. "I say that if a real proof be found that the sun is fixed and does not revolve round the earth, but the earth round the sun, then it will be necessary, very carefully, to proceed to the explanation of the passages of Scripture which appear to be contrary, and we should rather say that we have misunderstood these than pronounce that to be false which is demonstrated." I put Robert Sungenis in the Art Bell camp. Don Bozarth wrote: >I belive he was... Galileo too. Long after they had shed this mortal >coil... > >Don B. > >----- Original Message ----- >From: "Charlotte Foust" >To: "Access Developers discussion and problem solving" > >Sent: Friday, June 10, 2005 1:07 PM >Subject: RE: [AccessD] Friday humour > > > > >>Erm ... Am I wrong or was Coepernicus exonerated posthumously by the >>Church? >> >>Charlotte Foust >> >> >>-----Original Message----- >>From: Don Bozarth [mailto:drboz at pacbell.net] >>Sent: Friday, June 10, 2005 12:23 PM >>To: Access Developers discussion and problem solving >>Subject: Re: [AccessD] Friday humour >> >> >>Yes, I read the whole thing. Typical defend "the church" at all costs >>rhetoric. According to this group no scientist ever did anything right. >> >>Don B. >> >> >> >> > > > > -- Marty Connelly Victoria, B.C. Canada From cfoust at infostatsystems.com Fri Jun 10 19:27:31 2005 From: cfoust at infostatsystems.com (Charlotte Foust) Date: Fri, 10 Jun 2005 17:27:31 -0700 Subject: [AccessD] Friday humour Message-ID: Well, since I'm convinced the earth is not the center of the solar system and I'm much younger than Copernicus, is it really necessary for me to avoid getting him confused with someone else who had a theory on completely different subjects?? On a Friday?? Charlotte Foust -----Original Message----- From: MartyConnelly [mailto:martyconnelly at shaw.ca] Sent: Friday, June 10, 2005 5:15 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Friday humour Argggh. Noone knows any history. 1. Copernicus died in 1543 a week after his book "Six Books on the Revolutions of the Celestial Orbits" otherwise known as "De Revolutionibis" was finally published. In 1533 Albert Widmanstadt lectured before Pope Clement VII on the Copernican solar system. His reward consisted of a Greek codex which is preserved in the State library of Munich. Three years later Copernicus was urged by Cardinal Schonberg, then Archbishop of Capua, in a letter, dated at Rome, 1 November, 1536, to publish his discovery, or at least to have a copy made at the cardinal's expense. He was also asked to reform the Calendar by Pope Leo X. Finally Copernicus, at sixty-eight , yielded, as he writes to Paul III, to the entreaties of Cardinal Schonberg, of Bishop Giese of Culm, and of other learned men to surrender his manuscripts for publication. Bishop Giese charged Rheticus, as the ablest disciple of the great master, with the task of editing the work. It was finally edited by Osiander who took out any possible objectionable theological bits, and added a preface stating it was an hypothesis. This was done not so much to appease the Catholic church but knowing the attitude of Luther and Melanchthon against the heliocentric system, who were running around Germany at the time.Copernicus was an invalid and living in Frauenburg Germany at the time. There were 6 popes inbetween Copernicus' book and the Galileo inquisition and none objected to the heliocentric theory. On the Catholic side opposition only commenced seventy-three years later, when it was started up by Galileo. On 5 March, 1616, the work of Copernicus was forbidden by the Congregation of the Index "until corrected", and in 1620 these corrections were indicated. Nine sentences, by which the heliocentric system was represented as certain, had to be either omitted or changed. In 1820 Canon Settele, a Roman astronomy professor who was a priest tried to publish a book in which the Copernican system was treated as fact. At first, the censor of the press, a guy named Anfossi, wouldn't allow the book to be published unless Settele revised it so that it treated the Copernican system as merely a theory. But Settele appealed to Pope Pius VII, who referred the matter to the Congregation of the Holy Office. On August 16, 1820, it was decided that Settele could, in fact, treat the Copernican system as established fact, and that decision was approved by Pius VII. Pope John Paul II referred to this incident in 1992 when he said that as far as the Church was concerned, the heliocentric debate "was closed in 1820 with the imprimatur given to the work of Canon Settele." This was an address to Pontifical Academy of the Sciences. I could add corrections on Galileo and all the politics involved which was a genuine fubar but here is Cardinal Bellarmine's response. "I say that if a real proof be found that the sun is fixed and does not revolve round the earth, but the earth round the sun, then it will be necessary, very carefully, to proceed to the explanation of the passages of Scripture which appear to be contrary, and we should rather say that we have misunderstood these than pronounce that to be false which is demonstrated." I put Robert Sungenis in the Art Bell camp. Don Bozarth wrote: >I belive he was... Galileo too. Long after they had shed this mortal >coil... > >Don B. > >----- Original Message ----- >From: "Charlotte Foust" >To: "Access Developers discussion and problem solving" > >Sent: Friday, June 10, 2005 1:07 PM >Subject: RE: [AccessD] Friday humour > > > > >>Erm ... Am I wrong or was Coepernicus exonerated posthumously by the >>Church? >> >>Charlotte Foust >> >> >>-----Original Message----- >>From: Don Bozarth [mailto:drboz at pacbell.net] >>Sent: Friday, June 10, 2005 12:23 PM >>To: Access Developers discussion and problem solving >>Subject: Re: [AccessD] Friday humour >> >> >>Yes, I read the whole thing. Typical defend "the church" at all costs >>rhetoric. According to this group no scientist ever did anything >>right. >> >>Don B. >> >> >> >> > > > > -- 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 Fri Jun 10 19:30:23 2005 From: accessd at shaw.ca (Jim Lawrence) Date: Fri, 10 Jun 2005 17:30:23 -0700 Subject: [AccessD] Friday humour In-Reply-To: Message-ID: <0IHW002039EKLS@l-daemon> Hi All: Sorry about starting this. I did not mean to stir up things... maybe just a smile for Friday. Jim From artful at rogers.com Fri Jun 10 20:34:21 2005 From: artful at rogers.com (Arthur Fuller) Date: Fri, 10 Jun 2005 21:34:21 -0400 Subject: [AccessD] Iterate through similarlnamed columns in a recordset In-Reply-To: References: Message-ID: <42AA3F9D.2010402@rogers.com> You have a table like this (let's not bring up normalisation)... PK autonumber Size1 long Height1 long Weight1 long (The last three are repeated 3 times, so their last digits are 2, 3 and 4.) Assume the required vars are declared and filled. rs = New ADODB.RecordSet. etc. I want to write a loop something like this: For i = 1 to 4 debug.print rs("Size"&i) etc. Next But I can't seem to get it right. I tried using eval() and various other approaches. Ideas? Arthur From dejpolsys at hotmail.com Fri Jun 10 21:23:36 2005 From: dejpolsys at hotmail.com (William Hindman) Date: Fri, 10 Jun 2005 22:23:36 -0400 Subject: [AccessD] Friday humour References: <0IHW002039EKLS@l-daemon> Message-ID: ..s'ok Jim ...likely been a smash on OT :) William ----- Original Message ----- From: "Jim Lawrence" To: "'Access Developers discussion and problem solving'" Sent: Friday, June 10, 2005 8:30 PM Subject: RE: [AccessD] Friday humour > Hi All: > > Sorry about starting this. I did not mean to stir up things... maybe just > a > smile for Friday. > > Jim > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > From martyconnelly at shaw.ca Fri Jun 10 22:37:03 2005 From: martyconnelly at shaw.ca (MartyConnelly) Date: Fri, 10 Jun 2005 20:37:03 -0700 Subject: [AccessD] Friday humour References: <1D7828CDB8350747AFE9D69E0E90DA1F1176C3A2@xlivmbx21.aig.com> Message-ID: <42AA5C5F.3050501@shaw.ca> This debate started out by a website of some nutter catholic's attempted refutation of the Heliocentric theory. I pointed out that Copernicus, you know the guy that started it all, was a known Cleric in religious orders He may also have been an ordained priest as he was short listed for a bishopric by the King of Poland. So much for no solitary technological advance by religious nuts or coming out of the world of religion. Of course there are humorous advanced scientific technological advances in the US like the following. http://www.big-boys.com/articles/parafire.html which brings it all back to humour ;) Heenan, Lambert wrote: >In Kansas they add Creationism to the school curriculum in order not to >offend one specific group of people. That doesn't make it right either. > >On the whole though I agree with your comment. I especially do not like to >see politics being discussed in a software developer's group, but every rule >has its exceptions and pointing out the lunacy of the religions of this >world (not just Christina ones) is an exception for me. > >Politicians can be voted out of office. Religious nuts want us to vote our >brains out of office. But of course they never say that they are willing to >give up all the benefits and comforts that the hateful world of science has >given them - like the internet where they can publish their rubbish to the >hearts content, where no paper and glue publisher would have touched it, and >the computers they use to do it with. This despite the fact that it is >heretical scientific research that made it all possible. Not one single >solitary advance in human technology has come out of the world of religion. >Stone tools, metal tools, agriculture, writing, you name it, they all came >out of human needs. > >Lambert > >-----Original Message----- >From: accessd-bounces at databaseadvisors.com >[mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Charlotte Foust >Sent: Friday, June 10, 2005 4:03 PM >To: Access Developers discussion and problem solving >Subject: RE: [AccessD] Friday humour > > >Friends, > >In Woody's Lounge, we axe threads like this to avoid offending anyone, >however misinformed they might be in their beliefs. Is there an equivalent >rule in this list? I get very twitchy when conversations wander into the >areas of religion and politics, since they tend to deteriorate into name >calling and flames. > >Charlotte Foust > > >-----Original Message----- >From: Heenan, Lambert [mailto:Lambert.Heenan at aig.com] >Sent: Friday, June 10, 2005 11:49 AM >To: 'Access Developers discussion and problem solving' >Subject: RE: [AccessD] Friday humour > > >Anyone care to tell us how the Earth Centric types explain stellar parallax? >Or do they simply deny its existence as their various 'good books' refer to >the 'fixed stars'? > > >-----Original Message----- >From: accessd-bounces at databaseadvisors.com >[mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Elam, Debbie >Sent: Friday, June 10, 2005 2:39 PM >To: 'Access Developers discussion and problem solving' >Subject: RE: [AccessD] Friday humour > > >No it does not throw it out the window, it just makes the lovely and simple >orbital mechanics equations into monster equations that take a super >computer to calculate with any proficiency. Of course those other planets >just orbit around the sun while the whole mess orbits around the Earth ;-). >That was the real reason it became obvious that the best method of >calculation was to put the sun in the center of the system. The whole mess >with the rings was to account for planetary movements. It is a little like >the headaches caused when you try to take the Earth's total motion into >account when compared to the motion of another star in the milky way galaxy >which is all rotating around a cluster of stars in the galaxy center. Much >more pleasant to break it into chunks and consider the solar system a single >unit when talking about motion with respect to the galaxy. > >Debbie > >-----Original Message----- >From: Don Bozarth [mailto:drboz at pacbell.net] >Sent: Friday, June 10, 2005 1:25 PM >To: Access Developers discussion and problem solving >Subject: Re: [AccessD] Friday humour > > >Well, if the solar system is Earth centered, a lot of the math dealing with >planetary motion goes right out the window... not to mention that little >sniggle called gravity. The math of orbital mechanics suddenly disappears. >Were all that math wrong, we could never have made it to the Moon, Venus, >Mars, Jupiter, Saturn, and Uranus those places manmade satellites have >visited. > >Don B. > >----- Original Message ----- >From: "Elam, Debbie" >To: "'Access Developers discussion and problem solving'" > >Sent: Friday, June 10, 2005 11:14 AM >Subject: RE: [AccessD] Friday humour > > > > >>Actually they are right. The whole thing comes down to perspective. >>Of course the math is a heck of a lot easier if you simply consider >>the sun >> >> >the > > >>center around which the solar system revolves. In this case as many >> >> >others, > > >>why not go with the simplest answer that gives the most correct >> >> >predictions? > > >>Why complicate the issue by insisting that a certain perspective has >>to be maintained? Groan, no doubt they will call it proof. Of course >> >> > > > >>the >> >> >reverse > > >>is just as true. No one can prove that the sun revolves around the >>Earth, but that is a minor detail. >> >>Debbie >> >>-----Original Message----- >>From: Jim Lawrence [mailto:accessd at shaw.ca] >>Sent: Friday, June 10, 2005 1:00 PM >>To: 'Access Developers discussion and problem solving' >>Subject: [AccessD] Friday humour >> >> >>Hi All: >> >>When first read I thought this was a joke... but I think it is for >>real; which of course would make it more hilarious. Check this out: >>http://www.catholicintl.com/epologetics/articles/science/geochallenge. >>htm >> >>Jim >> >>-- >>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 >> >> >> > > > > -- Marty Connelly Victoria, B.C. Canada From andy at minstersystems.co.uk Sat Jun 11 01:35:32 2005 From: andy at minstersystems.co.uk (Andy Lacey) Date: Sat, 11 Jun 2005 07:35:32 +0100 Subject: [AccessD] Friday humour - A MODERATOR'S VIEW In-Reply-To: <42AA5C5F.3050501@shaw.ca> Message-ID: <005801c56e4f$c475e6a0$c0d80651@minster33c3r25> Gosh, I have a Friday away from the list and miss all the "fun". You lot just can't be trusted can you? I know JB has stepped in but just in case anyone's tempted to get up this morning and add their 2c worth, or somethiong like this off next week, can I just remind everyone that Friday humour is not a free pass to say any old thing which would not be acceptable on the list any other day. It's purpose is to offer light entertainment, not political/religious debate. Those are not, ever, topics for this list. These subjects not only CAN cause offence, they usually DO. And if you want offence go to OT. For all I, or you, know there may be a hundred Catholic fundamentalists part of this list. Opus Dei may log on to us on a daily basis. I've no idea. The point is that if they do they are welcome on the same basis as everyone else. So don't just assume everyone is going to hold your views, whatever they are, and have a good laugh at the other feller. It never works that way. -- Andy Lacey http://www.minstersystems.co.uk > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of > MartyConnelly > Sent: 11 June 2005 04:37 > To: Access Developers discussion and problem solving > Subject: Re: [AccessD] Friday humour > > > This debate started out by a website of some nutter > catholic's attempted > refutation of the Heliocentric theory. > I pointed out that Copernicus, you know the guy that started > it all, was > a known Cleric in religious orders > He may also have been an ordained priest as he was short listed for a > bishopric by the King of Poland. > So much for no solitary technological advance by religious nuts or > coming out of the world of religion. > > Of course there are humorous advanced scientific > technological advances > in the US > like the following. http://www.big-boys.com/articles/parafire.html > > which brings it all back to humour ;) > > Heenan, Lambert wrote: > > >In Kansas they add Creationism to the school curriculum in > order not to > >offend one specific group of people. That doesn't make it > right either. > > > >On the whole though I agree with your comment. I especially > do not like > >to see politics being discussed in a software developer's group, but > >every rule has its exceptions and pointing out the lunacy of the > >religions of this world (not just Christina ones) is an > exception for > >me. > > > >Politicians can be voted out of office. Religious nuts want > us to vote > >our brains out of office. But of course they never say that they are > >willing to give up all the benefits and comforts that the > hateful world > >of science has given them - like the internet where they can publish > >their rubbish to the hearts content, where no paper and glue > publisher > >would have touched it, and the computers they use to do it > with. This > >despite the fact that it is heretical scientific research > that made it > >all possible. Not one single solitary advance in human > technology has > >come out of the world of religion. Stone tools, metal tools, > >agriculture, writing, you name it, they all came out of human needs. > > > >Lambert > > > >-----Original Message----- > >From: accessd-bounces at databaseadvisors.com > >[mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Charlotte > >Foust > >Sent: Friday, June 10, 2005 4:03 PM > >To: Access Developers discussion and problem solving > >Subject: RE: [AccessD] Friday humour > > > > > >Friends, > > > >In Woody's Lounge, we axe threads like this to avoid > offending anyone, > >however misinformed they might be in their beliefs. Is there an > >equivalent rule in this list? I get very twitchy when conversations > >wander into the areas of religion and politics, since they tend to > >deteriorate into name calling and flames. > > > >Charlotte Foust > > > > > >-----Original Message----- > >From: Heenan, Lambert [mailto:Lambert.Heenan at aig.com] > >Sent: Friday, June 10, 2005 11:49 AM > >To: 'Access Developers discussion and problem solving' > >Subject: RE: [AccessD] Friday humour > > > > > >Anyone care to tell us how the Earth Centric types explain stellar > >parallax? Or do they simply deny its existence as their > various 'good > >books' refer to the 'fixed stars'? > > > > > >-----Original Message----- > >From: accessd-bounces at databaseadvisors.com > >[mailto:accessd-bounces at databaseadvisors.com] On Behalf Of > Elam, Debbie > >Sent: Friday, June 10, 2005 2:39 PM > >To: 'Access Developers discussion and problem solving' > >Subject: RE: [AccessD] Friday humour > > > > > >No it does not throw it out the window, it just makes the lovely and > >simple orbital mechanics equations into monster equations > that take a > >super computer to calculate with any proficiency. Of course those > >other planets just orbit around the sun while the whole mess orbits > >around the Earth ;-). That was the real reason it became > obvious that > >the best method of calculation was to put the sun in the > center of the > >system. The whole mess with the rings was to account for planetary > >movements. It is a little like the headaches caused when you try to > >take the Earth's total motion into account when compared to > the motion > >of another star in the milky way galaxy which is all > rotating around a > >cluster of stars in the galaxy center. Much more pleasant > to break it > >into chunks and consider the solar system a single unit when talking > >about motion with respect to the galaxy. > > > >Debbie > > > >-----Original Message----- > >From: Don Bozarth [mailto:drboz at pacbell.net] > >Sent: Friday, June 10, 2005 1:25 PM > >To: Access Developers discussion and problem solving > >Subject: Re: [AccessD] Friday humour > > > > > >Well, if the solar system is Earth centered, a lot of the > math dealing > >with planetary motion goes right out the window... not to > mention that > >little sniggle called gravity. The math of orbital > mechanics suddenly > >disappears. Were all that math wrong, we could never have made it to > >the Moon, Venus, Mars, Jupiter, Saturn, and Uranus those > places manmade > >satellites have visited. > > > >Don B. > > > >----- Original Message ----- > >From: "Elam, Debbie" > >To: "'Access Developers discussion and problem solving'" > > > >Sent: Friday, June 10, 2005 11:14 AM > >Subject: RE: [AccessD] Friday humour > > > > > > > > > >>Actually they are right. The whole thing comes down to perspective. > >>Of course the math is a heck of a lot easier if you simply consider > >>the sun > >> > >> > >the > > > > > >>center around which the solar system revolves. In this case as many > >> > >> > >others, > > > > > >>why not go with the simplest answer that gives the most correct > >> > >> > >predictions? > > > > > >>Why complicate the issue by insisting that a certain perspective has > >>to be maintained? Groan, no doubt they will call it proof. > Of course > >> > >> > > > > > > > >>the > >> > >> > >reverse > > > > > >>is just as true. No one can prove that the sun revolves around the > >>Earth, but that is a minor detail. > >> > >>Debbie > >> > >>-----Original Message----- > >>From: Jim Lawrence [mailto:accessd at shaw.ca] > >>Sent: Friday, June 10, 2005 1:00 PM > >>To: 'Access Developers discussion and problem solving' > >>Subject: [AccessD] Friday humour > >> > >> > >>Hi All: > >> > >>When first read I thought this was a joke... but I think it is for > >>real; which of course would make it more hilarious. Check this out: > >>http://www.catholicintl.com/epologetics/articles/science/geo > challenge. > >>htm > >> > >>Jim > >> > >>-- > >>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 > >> > >> > >> > > > > > > > > > > -- > 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 Jun 11 02:12:37 2005 From: Gustav at cactus.dk (Gustav Brock) Date: Sat, 11 Jun 2005 09:12:37 +0200 Subject: [AccessD] Iterate through similarlnamed columns in a recordset Message-ID: Hi Arthur It should work, at least in the extended version: For i = 1 to 4 debug.print rs.Fields("Size" & i & "").Value etc. Next /gustav >>> artful at rogers.com 06/11 3:34 am >>> You have a table like this (let's not bring up normalisation)... PK autonumber Size1 long Height1 long Weight1 long (The last three are repeated 3 times, so their last digits are 2, 3 and 4.) Assume the required vars are declared and filled. rs = New ADODB.RecordSet. etc. I want to write a loop something like this: For i = 1 to 4 debug.print rs("Size"&i) etc. Next But I can't seem to get it right. I tried using eval() and various other approaches. Ideas? Arthur From bheygood at abestsystems.com Sat Jun 11 10:28:36 2005 From: bheygood at abestsystems.com (Bob Heygood) Date: Sat, 11 Jun 2005 08:28:36 -0700 Subject: [AccessD] Scrape Word Part II In-Reply-To: <42A9BD16.9050504@shaw.ca> Message-ID: thanks for your response Marty. I started out this time to use custom properties, but am backing away because I can't see how to keep the info the user types in at my prompt in the custom property. think I'll go back to just a simple bookmark, though that is a hassle as it is hard to capture particular info once in a cell of a Word table. bob -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of MartyConnelly Sent: Friday, June 10, 2005 9:17 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Scrape Word Part II As to custom properties you could use the dsofiles.dll, it works for any ole type file mdb,doc,xls,ppt or whatever visio uses, this also works from vb.net, doesn't require word be installed. There is also code to search for text which might be modified for bookmarks but there are two types of word bookmarks. http://www.word.mvps.org/faqs/macrosvba/WorkWithBookmarks.htm You could try searching this site especially the links to other word mvp's like cindy meister I think you will have to poke around to find all the bits and pieces http://word.mvps.org or the main site http://www.mvps.org 'See MSKB and Dsofile.exe Lets You Edit Office Document Properties from Visual Basic and ASP 'Microsoft Knowledge Base Article - 224351 'and download dsofile.exe 'http://support.microsoft.com/?kbid=224351 'Add a reference (Tools | References in the VBE window) to it. ' depending on path where you have installed dsofile.dll 'Put the following in a new module and you should be OK 'Dsofile.dll lets you edit Office document properties without 'Office in Visual Basic .NET 2003 and in Visual Basic .NET 2002 'http://support.microsoft.com/?id=224351 '=========================================================== 'http://www.word.mvps.org/faqs/macrosvba/WorkWithBookmarks.htm Private oFilePropReader As DSOleFile.PropertyReader Private oDocProp As DSOleFile.DocumentProperties Public Sub GetPropsFromDirectory() 'this routine gets all doc files in a directory and shows Line Count and author Dim ffile As String On Error Resume Next 'careful with above line 'this is Quick and Dirty used to avoid missing propereties on some filetypes ' this can be used with microsoft, doc, ppt, xls and mdb files ffile = Dir("c:\wordvba\*.doc") Do While ffile <> "" 'recursive search for sub directories can be written If ffile <> "." And ffile <> ".." Then Set oFilePropReader = New DSOleFile.PropertyReader Set oDocProp = _ oFilePropReader.GetDocumentProperties("c:\wordvba\" & ffile) MsgBox oDocProp.Name & " " & oDocProp.PageCount & _ " pages " & oDocProp.Author With oDocProp Debug.Print "Name " & .Name Debug.Print "Application Name " & .AppName Debug.Print "Author " & .Author Debug.Print "Category " & .Category Debug.Print "Class Id " & .CLSID Debug.Print "Comments " & .Comments Debug.Print "Company " & .Company 'Debug.Print "Custom " & .CustomProperties 'check index values Debug.Print "Create date " & .DateCreated Debug.Print "Last edited " & .DateLastEdited Debug.Print "Last printed " & .DateLastPrinted Debug.Print "Last saved " & .DateLastSaved Debug.Print "Contains Macros " & .HasMacros 'doesn't work with ppt files 'Debug.Print .Icon 'you can view thumbnail in picture object Debug.Print "Read only " & .IsReadOnly Debug.Print "Keywords " & .Keywords Debug.Print "Last edited by " & .LastEditedBy Debug.Print "Line Count " & .LineCount Debug.Print "Location " & .Location Debug.Print "Manager " & .Manager Debug.Print "Page Count " & .PageCount Debug.Print "Paragraphs "; .ParagraphCount Debug.Print "Program Id " & .ProgId Debug.Print "Revision No. " & .RevisionNumber Debug.Print "Slides "; .SlideCount Debug.Print "Subject " & .Subject Debug.Print "Title " & .Title Debug.Print "Version " & .Version Debug.Print "WordCount " & .WordCount Debug.Print "Char Cnt " & .CharacterCount Debug.Print " " End With ffile = Dir() Set oDocProp = Nothing Set oFilePropReader = Nothing End If Loop End Sub Here is some quick and dirty code that opens a Word doc from inside Access, searches for the string "special code:" and sets a string variable equal to the sentence that follows the code string. If your documents all have the same string you can find that string and select words, sentences or paragraphs that come after it. from Jim Hale Function LiftText() Dim wd As Word.Application, strPhrase As String, strFindphrase As String strFindphrase = "special code:" Set wd = New Word.Application wd.Documents.Open "C:\Test.doc" wd.Visible = True wd.Selection.Find.ClearFormatting With wd.Selection.Find .Text = strFindphrase .Replacement.Text = "" .Forward = True .Wrap = wdFindContinue .Format = False .MatchCase = False .MatchWholeWord = False .MatchWildcards = False .MatchSoundsLike = False .MatchAllWordForms = False End With wd.Selection.Find.Execute wd.Selection.Start = wd.Selection.End Call wd.Selection.EndOf(wdSentence, wdExtend) strPhrase = wd.Selection MsgBox "Look what I found: " & strPhrase wd.ActiveDocument.Close wd.Quit Set wd = Nothing End Function Bob Heygood wrote: >thanks Jim. >I have looked before at Helen's code. Lots of great stuff there. > >bob > > > >-----Original Message----- >From: accessd-bounces at databaseadvisors.com >[mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Hale, Jim >Sent: Wednesday, June 08, 2005 8:17 AM >To: 'Access Developers discussion and problem solving' >Subject: RE: [AccessD] Scrape Word Part II > > >At the very bottom of this link Helen Feddema has some code that may help >you. >http://www.helenfeddema.com/CodeSamples.htm > >Jim Hale > >-----Original Message----- >From: Bob Heygood [mailto:bheygood at abestsystems.com] >Sent: Wednesday, June 08, 2005 8:35 AM >To: Access Developers discussion and problem solving >Subject: [AccessD] Scrape Word Part II > > >Hello to the list, > >Well, my project is alive again. This time I have the luxury of being able >to create the Word document from which I need to cull the info. I still need >to have a Word table but I can create bookmarks or whatever within the table >in the document. >To recap I need to import 10 pieces of text from a Word document and store >them in a mdb table. >Jim Hale's code below worked really good except that we were pressed for >time and did not ever get it to work in all areas of the Word doc. >So my first question is how to search the Word doc to find the text, >bookmarks, fields, custom properties or ???? > > >TIA, > >Bob Heygood > >-----Original Message----- >From: accessd-bounces at databaseadvisors.com >[mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Hale, Jim >Sent: Monday, April 18, 2005 8:54 AM >To: 'Access Developers discussion and problem solving' >Subject: RE: [AccessD] Scrape Word > > >Whatever it takes to get the job done! Sorry I couldn't be more help. >Jim Hale > >-----Original Message----- >From: Bob Heygood [mailto:bheygood at abestsystems.com] >Sent: Monday, April 18, 2005 10:09 AM >To: Access Developers discussion and problem solving >Subject: RE: [AccessD] Scrape Word > > >Thanks Jim >I finally just ran the job as it took about 4 hours to process 256 >documents. >it is a one time deal and the customer needed to have the results. > >your help was fantastic. > >bob > > > >-----Original Message----- >From: accessd-bounces at databaseadvisors.com >[mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Hale, Jim >Sent: Friday, April 15, 2005 3:18 PM >To: 'Access Developers discussion and problem solving' >Subject: RE: [AccessD] Scrape Word > > >I'll look at it some more on Monday. You might examine the selection object >in the Word application. It has numerous properties and methods one or more >of which should do the trick. >Jim Hale > >-----Original Message----- >From: Bob Heygood [mailto:bheygood at abestsystems.com] >Sent: Friday, April 15, 2005 4:52 PM >To: Access Developers discussion and problem solving >Subject: RE: [AccessD] Scrape Word > > >yes in a table cell. >again your code is working super. >but only grabs the first word, sometimes there is more than one word in the >cell, and I would like to capture all of them. >if you have thought, I would welcome it. > > >again I tried to manipulate the code further but it acts very erratic when >in a table cell. > >thanks for the great help. > >bob > > >-----Original Message----- >From: accessd-bounces at databaseadvisors.com >[mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Hale, Jim >Sent: Thursday, April 14, 2005 12:53 PM >To: 'Access Developers discussion and problem solving' >Subject: RE: [AccessD] Scrape Word > > >So the data you want (including the search string) is in a table cell? In >the code I sent you delete > wd.Selection.Start = wd.Selection.End > Call wd.Selection.EndOf(wdSentence, wdExtend) > >and replace with > wd.Selection.Next(Unit:=wdWord, Count:=1).Select > >Or if the entire string is returned you can replace the search string with >an empty string "" using the following function: > >Function ReplaceString(strTextIn As String, strFind As String, strReplace As >String, fCaseSensitive As Boolean) As String > > Dim strTmp As String > Dim intPos As Integer > Dim intCaseSensitive As Integer > > intCaseSensitive = IIf(fCaseSensitive, 2, 1) > > strTmp = strTextIn > intPos = InStr(1, strTmp, strFind, intCaseSensitive) > > Do While intPos > 0 > strTmp = Left$(strTmp, intPos - 1) & strReplace & Mid$(strTmp, intPos + >Len(strFind)) > intPos = InStr(intPos + Len(strReplace), strTmp, strFind, >intCaseSensitive) > Loop > > ReplaceString = strTmp > >End Function > >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 > >*********************************************************************** >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. > > > > -- 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 Sun Jun 12 02:22:02 2005 From: KP at sdsonline.net (Kath Pelletti) Date: Sun, 12 Jun 2005 17:22:02 +1000 Subject: [AccessD]Error loading picture Message-ID: <004601c56f1f$6e8c6090$6601a8c0@user> Re: this problem: >When the user opens a form which attempts to load a .jpg or .gif picture the system come up with "...the database doesn't support the format of >'E:\Database\Photos\Peru.jpg' so it can't load the picture. I found a bizarre solution in a line on the Lebans website to the effect that if the file extension is upper case it is treated differently by Access to it being in lower case. Disbelieving, I tried it and it works. If I change the file extension of the 350 photos which this system uses (which I can do with one DOS command) from .jpg to .JPG then Access manages to load them correctly. It's a bit of a bizarre solution but having uninstalled and re-installed the graphics filters for Office twice, then doing a complete re-installation of Office I am relieved to find any kind of a simple solution. BTW - Marty - I did spend some tine on this: http://www.lebans.com/loadjpeg?gif.htm but found that it was difficult to follow. Have you used it? Kath ______________________________________________ Kath Pelletti Software Design & Solutions Pty Ltd. Ph: 9505-6714 Fax: 9505-6430 KP at SDSOnline.net From artful at rogers.com Sun Jun 12 15:46:12 2005 From: artful at rogers.com (Arthur Fuller) Date: Sun, 12 Jun 2005 16:46:12 -0400 Subject: [AccessD] Access SaveAs command In-Reply-To: <6.2.1.2.0.20050605104652.040f9d38@incoming.verizon.net> References: <010d01c56601$38f04cc0$6501a8c0@HAL9004> <6.2.1.2.0.20050605104652.040f9d38@incoming.verizon.net> Message-ID: <42AC9F14.4020600@rogers.com> Assume a report Arthur_rpt, which is scoped by the currently selected PK. I want to create an HTML file from said rpt and save it to a name derived from the PK (i.e. 12345-T1-20050612). What is the command to to do this? I have read the Access help and a few related docs and still cannot deduce what I am to do, nor where I am to do it. The exact scenario: a) I have a Word template AF001.dot. b) from this, in Access and using the Word object model, I create a new Word doc and populate various bookmarks with data. c) What remains to do is fill in three tables in the created doc with rows derived from the principal or ancillary queries. The template has the table already created, with its headers etc. Now supposing that the query returns 8 rows; I need to add 8 rows to the table to contain the retrieved data. On my reading, mail-merge was not designed to do this. It assumes instead that each row corresponds to one document. Let me reiterate to make my requirements as clear as possible. a) I have an Access report which behaves correctly (i.e. retrieves the data desired and places it in the places desired. b) I have a Word template containing a bunch of boilerplate and places for N tables., which correspond exactly to the subforms in the Access report aforementioned. c) Assume N tables that must be embedded in the Word doc. Assume also that any of these may contain no rows -- in which case the table(s) must be remdered invisible. I have been looking at the mailmerge docs, the Word objiect-model docs, and so on, and I still don;t have a clear handle on this. I know exactly what I want to do, and will try to express iti clearly below. I iust can't see the way to do it. Access PK = 12345 SubTable 1 SubTable 2 SubTable 1.1 Most of the Word doc is boilerplate (but even then. conditionals are at play). Here and there in the DOT file are bookmarks, which I populate without difficulty. The issues I have arise with the embedded tables. For simplicity's sake. assume one template containing two tables. each of whose length varies from doc to doc. Table 1 must be formatted in this way (3 cols) while Table 2 must be formatted in that way (4 cols). The kludge that works is sickening as judged from my peers' pov... so don't waste our bandwidth bitching about that. What I do at the moment (permission granted to laugh) is gen an HTML file of the requisite tables then import that into the actual document. It sucks I admit but it works. for now. I need this all to become a one-button no-brainder for the users to use. Recipe" 1 Word Template with both bookmarks (simple) and slots for tables 2. Access tabular outputs in whatever form will work best 3. Drop the tables into the doc and allow the user to save it to a suggeted name. Table A might have one row; Table B might have 3 rows for every row in T1. I can make this happen manually (i.e. intervening with keystrokes) but I need to automate it. Any suggestions? TIA, Arthur From martyconnelly at shaw.ca Sun Jun 12 16:14:26 2005 From: martyconnelly at shaw.ca (MartyConnelly) Date: Sun, 12 Jun 2005 14:14:26 -0700 Subject: [AccessD]Error loading picture References: <004601c56f1f$6e8c6090$6601a8c0@user> Message-ID: <42ACA5B2.6090104@shaw.ca> Actually it is a bit more bizarre You don't have to change the actual physical filename extension case. Just change the filename string or just the extension part via UCase or LCase when you pass to the Picture property of the Image control. lower case bypasses Office Graphics filters, something to do with metafiles in the image. If the file extension is in uppercase then the Office Graphicsfilters will be used to load the image. You can also download and install, if something has gone wrong with your filters. Office File Converter Pack OCONVPCK.EXE This download provides file converters and image filters for Microsoft Office programs, from Microsoft Office 97 to Microsoft Office 2003. It depends on what version of office is installed. http://www.microsoft.com/downloads/details.aspx?FamilyID=cf196df0-70e5-4595-8a98-370278f40c57&DisplayLang=en Info here http://office.microsoft.com/en-us/assistance/HA011513581033.aspx If you use Lebans method (a bit convoluted) to get .jpeg extensions make this change in Function fLoadPicture Select Case right$(strfName, 3) Case "bmp", "dib", "Gif", "emf", "Wmf", "ico", "cur", "jpg", "peg" I gave up using jpegs for other reasons, I was getting microfilm images and so used djvu format as it can be up to 10 times smaller on black and white text type images and has a text searchable metafile plugins. Some University libraries are using for historical archive display on the web. Things like old manuscripts and folios. http://www.djvuzone.org/wid/index.html http://www.djvuzone.org/ Kath Pelletti wrote: >Re: this problem: > > > >>When the user opens a form which attempts to load a .jpg or .gif picture the system come up with "...the database doesn't support the format of >>'E:\Database\Photos\Peru.jpg' so it can't load the picture. >> >> > >I found a bizarre solution in a line on the Lebans website to the effect that if the file extension is upper case it is treated differently by Access to it being in lower case. Disbelieving, I tried it and it works. If I change the file extension of the 350 photos which this system uses (which I can do with one DOS command) from .jpg to .JPG then Access manages to load them correctly. > >It's a bit of a bizarre solution but having uninstalled and re-installed the graphics filters for Office twice, then doing a complete re-installation of Office I am relieved to find any kind of a simple solution. > >BTW - Marty - I did spend some tine on this: http://www.lebans.com/loadjpeg?gif.htm but found that it was difficult to follow. Have you used it? > >Kath > >______________________________________________ >Kath Pelletti >Software Design & Solutions Pty Ltd. >Ph: 9505-6714 >Fax: 9505-6430 >KP at SDSOnline.net > > -- Marty Connelly Victoria, B.C. Canada From pedro at plex.nl Sun Jun 12 16:50:37 2005 From: pedro at plex.nl (Pedro Janssen) Date: Sun, 12 Jun 2005 23:50:37 +0200 Subject: [AccessD] invalid number of arguments Message-ID: <002a01c56f98$c62e6a90$fac581d5@pedro> Hello Group, i am using a function that Neil Kling provided me in the past. When running it from an expression i get an error: Invalid number of arguments. Who can help me with this Pedro Janssen Function DeleteTableLink(strTableName As String) As Boolean On Error GoTo Err_DeleteTableLink Dim db As Database strTableName = "tblDebiteurAlgemeen" Set db = DBEngine(0)(0) db.TableDefs.Delete strTableName db.TableDefs.Refresh DeleteTableLink = True Exit_DeleteTableLink: Exit Function Err_DeleteTableLink: Select Case Err Case 0 'insert Errors you wish to ignore here Resume Next Case 3265 'Item doesn't exist in collection Resume Next Case Else 'All other errors will trap Beep MsgBox Err.Number & "; " & Err.Description, , "Error in function basObjectHandlers.DeleteTableLink" Resume Exit_DeleteTableLink End Select Resume 0 'FOR TROUBLESHOOTING End Function From mmattys at rochester.rr.com Sun Jun 12 18:13:08 2005 From: mmattys at rochester.rr.com (Michael R Mattys) Date: Sun, 12 Jun 2005 19:13:08 -0400 Subject: [AccessD] invalid number of arguments References: <002a01c56f98$c62e6a90$fac581d5@pedro> Message-ID: <017001c56fa4$4d7685e0$0202a8c0@default> ----- Original Message ----- From: "Pedro Janssen" To: Sent: Sunday, June 12, 2005 5:50 PM Subject: [AccessD] invalid number of arguments Hello Group, i am using a function that Neil Kling provided me in the past. When running it from an expression i get an error: Invalid number of arguments. Who can help me with this ------ Pedro, It should be db.TableDefs(strTableName).Delete ---- Michael R. Mattys Mattys MapLib for Microsoft MapPoint http://www.mattysconsulting.com From lists at theopg.com Sun Jun 12 18:19:13 2005 From: lists at theopg.com (MarkH) Date: Mon, 13 Jun 2005 00:19:13 +0100 Subject: [AccessD] invalid number of arguments In-Reply-To: <017001c56fa4$4d7685e0$0202a8c0@default> Message-ID: <000501c56fa5$26b3c610$b20b6bd5@netboxxp> Have you checked strTableName is <>"" Mark -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Michael R Mattys Sent: 13 June 2005 00:13 To: Access Developers discussion and problem solving Subject: Re: [AccessD] invalid number of arguments ----- Original Message ----- From: "Pedro Janssen" To: Sent: Sunday, June 12, 2005 5:50 PM Subject: [AccessD] invalid number of arguments Hello Group, i am using a function that Neil Kling provided me in the past. When running it from an expression i get an error: Invalid number of arguments. Who can help me with this ------ Pedro, It should be db.TableDefs(strTableName).Delete ---- Michael R. Mattys Mattys MapLib for Microsoft MapPoint http://www.mattysconsulting.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- Internal Virus Database is out-of-date. Checked by AVG Anti-Virus. Version: 7.0.308 / Virus Database: 267.6.4 - Release Date: 06/06/2005 -- Internal Virus Database is out-of-date. Checked by AVG Anti-Virus. Version: 7.0.308 / Virus Database: 267.6.4 - Release Date: 06/06/2005 From stuart at lexacorp.com.pg Sun Jun 12 19:30:56 2005 From: stuart at lexacorp.com.pg (Stuart McLachlan) Date: Mon, 13 Jun 2005 10:30:56 +1000 Subject: [AccessD] Access SaveAs command In-Reply-To: <42AC9F14.4020600@rogers.com> References: <6.2.1.2.0.20050605104652.040f9d38@incoming.verizon.net> Message-ID: <42AD6060.22471.294D4D@stuart.lexacorp.com.pg> On 12 Jun 2005 at 16:46, Arthur Fuller wrote: > Assume a report Arthur_rpt, which is scoped by the currently selected > PK. I want to create an HTML file from said rpt and save it to a name > derived from the PK (i.e. 12345-T1-20050612). What is the command to to > do this? I have read the Access help and a few related docs and still > cannot deduce what I am to do, nor where I am to do it. > I gave up on trying to export reports to HTML. You get horribly bloated HTML. The worst part is that Access creates a new table for every row and bases the cell widths on the contents of that row so rows NEVER line up properly. I use VBA code to Print the HTML code directly to file from the original recordset. That way have total control of the end product. Something like: Open "12345-T1-20050612.htm" for Output as #1 Print #1 "" Print #1 "" Print #1 "" ...... Print #1, "" Print #1, "" ........ ........ Print #1 "" While not rs.eof Print #1,"" & _ "" & _ "" & _ "" & _ ............. " rs.movenext Wend Print #1,"
" & rs(0) & "
" & rs(1) & "" & rs(2) & "
........................ ........................ Print "" Print " -- Stuart From adtp at touchtelindia.net Mon Jun 13 00:19:22 2005 From: adtp at touchtelindia.net (A.D.Tejpal) Date: Mon, 13 Jun 2005 10:49:22 +0530 Subject: [AccessD] Generating a rownumber field in a query References: Message-ID: <006e01c56fd8$1819a4c0$351865cb@winxp> Bruce, So long as the source table has a primary key field, simplified function Fn_RowNum() as given below, gets sequential row numbers, starting from 1. Its use in a sample query is demonstrated below. This function has an additional advantage that the output is stable as compared to alternatives using increments to static or global variables, where the results are volatile, prone to change with repeat navigation (up and down) through the column concerned. Q_Source is the source query (where contents of source table / tables are duly collected and sorted as desired), while ID is the name of primary key field in source table. If raw data in a single source table is desired to be used directly, without any sorting, name of this table can be used (in lieu of Q_Source), in the sample query given below. Best wishes, A.D.Tejpal -------------- Sample Query (for generating sequential row numbers) Based upon source query Q_Source. (ID is the name of primary key field). ===================================== SELECT Q_Source.*, Fn_RowNum("Q_Source","ID",[ID]) AS RowNum FROM Q_Source; ===================================== Fn_RowNum() - User defined function ===================================== Function Fn_RowNum(ByVal QueryName As String, _ ByVal PrimaryKeyName As String, _ ByVal PrimaryKeyValue As Long) As Long ' Returns Row number for the record having primary key field ' named PrimaryKeyName with a value = PrimaryKeyValue, ' in source query named QueryName Dim Rct As Long Dim rst As DAO.Recordset Rct = 0 Set rst = CurrentDb.OpenRecordset(QueryName) rst.FindFirst PrimaryKeyName & " = " & PrimaryKeyValue If Not rst.NoMatch Then Rct = rst.AbsolutePosition + 1 End If Fn_RowNum = Rct rst.Close Set rst = Nothing End Function ===================================== ----- Original Message ----- From: Bruen, Bruce To: AccessD at databaseadvisors.com Sent: Friday, June 10, 2005 07:38 Subject: [AccessD] Generating a rownumber field in a query Hi folks, I want to output a sequence number as a field in a query result. Everytime the query runs it should restart the sequence number from 1. The query appends rows to a "testscript" table, every new test cycle we generate a new set of test scripts which is made up of all the tests in the previous cycle plus new tests that were added during the execution of the last cycle. The natural key for the output table is the cycle number + the sequence number. Cycle Seq Testname ..... 1 1 blah 1 2 blah blah ... 2 1 blah blah 2 2 blah blah blah etc The cycle number is input as a parameter to the append query. But how can I generate the sequence numbers? tia bruce From roz.clarke at donnslaw.co.uk Mon Jun 13 04:28:38 2005 From: roz.clarke at donnslaw.co.uk (Roz Clarke) Date: Mon, 13 Jun 2005 10:28:38 +0100 Subject: [AccessD] MODERATOR NEEDED NOW!!! /was Friday humour Message-ID: <61F915314798D311A2F800A0C9C8318807225B3A@dibble.observatory.donnslaw.co.uk> Hi all As a general reminder, please everyone - if you need to refer a thread to the mods and none seem to be around, email us at ops-mod at databaseadvisors.com. Thanks Roz -----Original Message----- From: Susan Harkins [mailto:ssharkins at bellsouth.net] Sent: 10 June 2005 22:54 To: 'Access Developers discussion and problem solving' Subject: RE: [AccessD] MODERATOR NEEDED NOW!!! /was Friday humour If you need a second, I'll second that, and third it, and fourth it... Frankly, Lambert was rather tart, even by OT standards! ;) Susan H. ..can somebody with a smattering of common sense please delete this. ..OT is the place for this ...not AccessD. -- 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 carbonnb at gmail.com Mon Jun 13 06:47:39 2005 From: carbonnb at gmail.com (Bryan Carbonnell) Date: Mon, 13 Jun 2005 07:47:39 -0400 Subject: [AccessD] MODERATOR NEEDED NOW!!! /was Friday humour In-Reply-To: <61F915314798D311A2F800A0C9C8318807225B3A@dibble.observatory.donnslaw.co.uk> References: <61F915314798D311A2F800A0C9C8318807225B3A@dibble.observatory.donnslaw.co.uk> Message-ID: On 6/13/05, Roz Clarke wrote: > As a general reminder, please everyone - if you need to refer a thread to > the mods and none seem to be around, email us at > ops-mod at databaseadvisors.com. Actually, only Moderators can post to ops-mod at databaseadvisors.com. It's a closed list for the mods only. Please sned a note to one or more of the moderators listed at http://www.databaseadvisors.com/lists/moderators.htm -- 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 pedro at plex.nl Mon Jun 13 07:39:33 2005 From: pedro at plex.nl (Pedro Janssen) Date: Mon, 13 Jun 2005 14:39:33 +0200 Subject: [AccessD] invalid number of arguments References: <000501c56fa5$26b3c610$b20b6bd5@netboxxp> Message-ID: <001501c57014$f50b4320$fac581d5@pedro> Hello Mark, if you mean; when the strTableName is empty, it gives an error, can't fnd table. Otherwise i don't know what you mean. Pedro Janssen ----- Original Message ----- From: "MarkH" To: "'Access Developers discussion and problem solving'" Sent: Monday, June 13, 2005 1:19 AM Subject: RE: [AccessD] invalid number of arguments > Have you checked strTableName is <>"" > > Mark > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Michael R > Mattys > Sent: 13 June 2005 00:13 > To: Access Developers discussion and problem solving > Subject: Re: [AccessD] invalid number of arguments > > > ----- Original Message ----- > From: "Pedro Janssen" > To: > Sent: Sunday, June 12, 2005 5:50 PM > Subject: [AccessD] invalid number of arguments > > > Hello Group, > > i am using a function that Neil Kling provided me in the past. When > running it from an expression i get an error: > > Invalid number of arguments. > > Who can help me with this > > ------ > > Pedro, > > It should be > > db.TableDefs(strTableName).Delete > > ---- > > Michael R. Mattys > Mattys MapLib for Microsoft MapPoint > http://www.mattysconsulting.com > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > > -- > Internal Virus Database is out-of-date. > Checked by AVG Anti-Virus. > Version: 7.0.308 / Virus Database: 267.6.4 - Release Date: 06/06/2005 > > > -- > Internal Virus Database is out-of-date. > Checked by AVG Anti-Virus. > Version: 7.0.308 / Virus Database: 267.6.4 - Release Date: 06/06/2005 > > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > From pedro at plex.nl Mon Jun 13 07:41:37 2005 From: pedro at plex.nl (Pedro Janssen) Date: Mon, 13 Jun 2005 14:41:37 +0200 Subject: [AccessD] invalid number of arguments References: <002a01c56f98$c62e6a90$fac581d5@pedro> <017001c56fa4$4d7685e0$0202a8c0@default> Message-ID: <001901c57015$3ddf5dc0$fac581d5@pedro> Hello Michael, when using db.TableDefs(strTableName).Delete it gives an compile-error: Can't find methode or member. Any other ideas. Pedro Janssen ----- Original Message ----- From: "Michael R Mattys" To: "Access Developers discussion and problem solving" Sent: Monday, June 13, 2005 1:13 AM Subject: Re: [AccessD] invalid number of arguments > ----- Original Message ----- > From: "Pedro Janssen" > To: > Sent: Sunday, June 12, 2005 5:50 PM > Subject: [AccessD] invalid number of arguments > > > Hello Group, > > i am using a function that Neil Kling provided me in the past. > When running it from an expression i get an error: > > Invalid number of arguments. > > Who can help me with this > > ------ > > Pedro, > > It should be > > db.TableDefs(strTableName).Delete > > ---- > > Michael R. Mattys > Mattys MapLib for Microsoft MapPoint > http://www.mattysconsulting.com > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > From nkling at co.montgomery.ny.us Mon Jun 13 07:52:02 2005 From: nkling at co.montgomery.ny.us (Neal Kling) Date: Mon, 13 Jun 2005 08:52:02 -0400 Subject: [AccessD] invalid number of arguments Message-ID: <30BC111F638EB54082001A7E7282FE4107F3BE@elmo.co.montgomery.ny.us> I see you're setting the table variable right in the function. But the function it's self is still expecting you to pass a table name. I suspect this may be where you are having a problem. Either redeclare the function without the strTableName parameter, or pass it the table name. In other words instead of setting strTableName in the function, call the function like this: DeleteTableLink "tblDebiteurAlgemeen" Don't forget to comment out the line strTableName = "tblDebiteurAlgemeen" Neal -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Pedro Janssen Sent: Sunday, June 12, 2005 5:51 PM To: AccessD at databaseadvisors.com Subject: [AccessD] invalid number of arguments Hello Group, i am using a function that Neil Kling provided me in the past. When running it from an expression i get an error: Invalid number of arguments. Who can help me with this Pedro Janssen Function DeleteTableLink(strTableName As String) As Boolean On Error GoTo Err_DeleteTableLink Dim db As Database strTableName = "tblDebiteurAlgemeen" Set db = DBEngine(0)(0) db.TableDefs.Delete strTableName db.TableDefs.Refresh DeleteTableLink = True Exit_DeleteTableLink: Exit Function Err_DeleteTableLink: Select Case Err Case 0 'insert Errors you wish to ignore here Resume Next Case 3265 'Item doesn't exist in collection Resume Next Case Else 'All other errors will trap Beep MsgBox Err.Number & "; " & Err.Description, , "Error in function basObjectHandlers.DeleteTableLink" Resume Exit_DeleteTableLink End Select Resume 0 'FOR TROUBLESHOOTING End Function -- 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 Mon Jun 13 08:01:41 2005 From: roz.clarke at donnslaw.co.uk (Roz Clarke) Date: Mon, 13 Jun 2005 14:01:41 +0100 Subject: [AccessD] MODERATOR NEEDED NOW!!! /was Friday humour Message-ID: <61F915314798D311A2F800A0C9C8318807225B3E@dibble.observatory.donnslaw.co.uk> oops /sheepish grin -----Original Message----- From: Bryan Carbonnell [mailto:carbonnb at gmail.com] Sent: 13 June 2005 12:48 To: Access Developers discussion and problem solving Subject: Re: [AccessD] MODERATOR NEEDED NOW!!! /was Friday humour On 6/13/05, Roz Clarke wrote: > As a general reminder, please everyone - if you need to refer a thread > to the mods and none seem to be around, email us at > ops-mod at databaseadvisors.com. Actually, only Moderators can post to ops-mod at databaseadvisors.com. It's a closed list for the mods only. Please sned a note to one or more of the moderators listed at http://www.databaseadvisors.com/lists/moderators.htm -- Bryan Carbonnell - carbonnb at gmail.com Life's journey is not to arrive at the grave safely in a well preserved body, but rather to skid in sideways, totally worn out, shouting "What a great ride!" -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -------------- 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 mmattys at rochester.rr.com Mon Jun 13 08:13:33 2005 From: mmattys at rochester.rr.com (Michael R Mattys) Date: Mon, 13 Jun 2005 09:13:33 -0400 Subject: [AccessD] invalid number of arguments References: <002a01c56f98$c62e6a90$fac581d5@pedro> <017001c56fa4$4d7685e0$0202a8c0@default> <001901c57015$3ddf5dc0$fac581d5@pedro> Message-ID: <00c101c57019$b79955e0$0202a8c0@default> Pedro, Sorry. This is how I remove linked tables: To make it so that you remove only specific tables you modify it so that you end up with Neal's function. Function RemoveLinkedTbls() Dim db As DAO.Database, tdf As DAO.TableDef Set db = CurrentDb For Each tdf In db.TableDefs If tdf.Connect <> "" Then DoCmd.DeleteObject acTable, tdf.Name End If Next Set db = Nothing End Function ---- Michael R. Mattys Mattys MapLib for Microsoft MapPoint http://www.mattysconsulting.com ----- Original Message ----- From: "Pedro Janssen" To: "Access Developers discussion and problem solving" Sent: Monday, June 13, 2005 8:41 AM Subject: Re: [AccessD] invalid number of arguments > Hello Michael, > > when using db.TableDefs(strTableName).Delete it gives an compile-error: > Can't find methode or member. > > Any other ideas. > > Pedro Janssen > > > > ----- Original Message ----- > From: "Michael R Mattys" > To: "Access Developers discussion and problem solving" > > Sent: Monday, June 13, 2005 1:13 AM > Subject: Re: [AccessD] invalid number of arguments > > > > ----- Original Message ----- > > From: "Pedro Janssen" > > To: > > Sent: Sunday, June 12, 2005 5:50 PM > > Subject: [AccessD] invalid number of arguments > > > > > > Hello Group, > > > > i am using a function that Neil Kling provided me in the past. > > When running it from an expression i get an error: > > > > Invalid number of arguments. > > > > Who can help me with this > > > > ------ > > > > Pedro, > > > > It should be > > > > db.TableDefs(strTableName).Delete > > > > ---- > > > > Michael R. Mattys > > Mattys MapLib for Microsoft MapPoint > > http://www.mattysconsulting.com > > -- > > AccessD mailing list > > AccessD at databaseadvisors.com > > http://databaseadvisors.com/mailman/listinfo/accessd > > Website: http://www.databaseadvisors.com > > > > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com From dkalsow at yahoo.com Mon Jun 13 09:40:53 2005 From: dkalsow at yahoo.com (Dale Kalsow) Date: Mon, 13 Jun 2005 07:40:53 -0700 (PDT) Subject: [AccessD] Friday humour In-Reply-To: <7B1961ED924D1A459E378C9B1BB22B4C0492C98D@natexch.jenkens.com> Message-ID: <20050613144053.92498.qmail@web50409.mail.yahoo.com> Good Morning Everyone, Some one told me I can create a visio document and then from visio create my SQL tables. Does anyone know who to do this? Does it also work for MS Access? Can I also go from SQL or Access and have my table documented in Visio? Thanks! Dale --------------------------------- Discover Yahoo! Find restaurants, movies, travel & more fun for the weekend. Check it out! From andy at minstersystems.co.uk Mon Jun 13 09:46:05 2005 From: andy at minstersystems.co.uk (Andy Lacey) Date: Mon, 13 Jun 2005 15:46:05 +0100 Subject: [AccessD] Friday humour Message-ID: <20050613144601.DCEF424E637@smtp.nildram.co.uk> Hi Dale Sorry but I don't get it. It must be the way you tell 'em. (I think you need to change the Subject) -- 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] Friday humour Date: 13/06/05 14:42 > > > Good Morning Everyone, > > Some one told me I can create a visio document and then from visio create my SQL tables. Does anyone know who to do this? Does it also work for MS Access? Can I also go from SQL or Access and have my table documented in Visio? > > > > Thanks! > > Dale > > > > > --------------------------------- > Discover Yahoo! > Find restaurants, movies, travel & more fun for the weekend. Check it out! > -- > 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 mikedorism at verizon.net Mon Jun 13 10:41:09 2005 From: mikedorism at verizon.net (Mike & Doris Manning) Date: Mon, 13 Jun 2005 11:41:09 -0400 Subject: [AccessD] Visio Database Question In-Reply-To: <20050613144053.92498.qmail@web50409.mail.yahoo.com> Message-ID: <001701c5702e$52a4b660$2f01a8c0@hargrove.internal> You need Visio Professional. It does work\s with both Access and SQL Server. The template you want is the Database Model Diagram. Doris Manning Database Administrator Hargrove Inc. www.hargroveinc.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Dale Kalsow Sent: Monday, June 13, 2005 10:41 AM To: Access Developers discussion and problem solving Subject: RE: [AccessD] Friday humour Good Morning Everyone, Some one told me I can create a visio document and then from visio create my SQL tables. Does anyone know who to do this? Does it also work for MS Access? Can I also go from SQL or Access and have my table documented in Visio? Thanks! Dale --------------------------------- Discover Yahoo! Find restaurants, movies, travel & more fun for the weekend. Check it out! -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From zding at symphonyinfo.com Mon Jun 13 12:01:20 2005 From: zding at symphonyinfo.com (Zhaoxin Ding) Date: Mon, 13 Jun 2005 12:01:20 -0500 Subject: [AccessD] automated response Message-ID: <10506131201.AA52723292@symphonyinfo.com> I am presently out on maternity leave from Symphony Information Services, L.L.C. and will not be returning to work until August 1st - in my absence all emails are being routed to Debbie Cramer, our Project Manager, who will route your request to the appropriate party to handle your request. We are sorry for any inconvenience this delay may cause your organization but someone will get back to you as soon as possible. Thank you! From Drawbridge.Jack at ic.gc.ca Mon Jun 13 13:53:01 2005 From: Drawbridge.Jack at ic.gc.ca (Drawbridge, Jack: #CIO - BPI) Date: Mon, 13 Jun 2005 14:53:01 -0400 Subject: [AccessD] Automating - IE6 - File Save As -- Marty Message-ID: <0F3AFAE449DD4A40BED8B6C4A97ABF5B0298AABE@MSG-MB3.icent.ic.gc.ca> Marty Thanks for info. It's close to what I'm looking for. Have not seen the ".queryCommandEnabled" or ".execCommand" In your code 'or alternate method that security may clobber, saves everthing with fileopen box used -With objExplorer.Document -If .queryCommandEnabled("saveAs") Then .execCommand "saveAs", False, "C:\temp\myurl.htm" -End With I'm trying to actually use File SaveAs Webpage, Complete. If you manually do a File SaveAs in Internet explorer, you'll see other options than (htm,html). Your technique gives me (htm, html). Can you see any means of supplying/gettign other options? Thanks jack -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of MartyConnelly Sent: Friday, June 10, 2005 6:40 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Automating - IE6 - File Save As -- Marty You maynot be able to do this for security reasons on second method. Ran this okay from WinXP SP2, Access97, IE6.0.2900 xpsp2 patches Here are two ways. 'This gets around security limitations 'will only save between tags CreateObject("Scripting.FileSystemObject").OpenTextFile("C:\temp\myurlsaved.htm", 2, True).Write _ objExplorer.Document.Body.innerHTML 'or alternate method that security may clobber, saves everthing with fileopen box used With objExplorer.Document If .queryCommandEnabled("saveAs") Then .execCommand "saveAs", False, "C:\temp\myurl.htm" End With Anywho here is some rough test code, that works both ways. You can throw out all the commented objdocument code at bottom. Sub testIESave(strpassHTML As String) '------------------ 'testIESave "http://www.Viescas.com/" Dim objExplorer As Object Dim objDocument As Object Dim strComputer As String Dim strReturn As String Set objExplorer = CreateObject("InternetExplorer.Application") 'objExplorer.navigate "about:blank" objExplorer.navigate strpassHTML objExplorer.Toolbar = 1 'or 0 to turnoff toolbar turned off maynot save all html source objExplorer.StatusBar = 0 objExplorer.Width = 800 objExplorer.Height = 570 objExplorer.Left = 0 objExplorer.Top = 0 objExplorer.Visible = 1 'dont't need to navigate to file or http site 'just drop html string in document object 'objExplorer.Navigate "file://c:\temp\test.html" 'objExplorer.Navigate "http://www.Viescas.com/" 'objExplorer.Navigate "http://checkip.dyndns.org/" Do While (objExplorer.Busy) Loop Dim webtx As String Dim strHTML As String 'will only save between tags CreateObject("Scripting.FileSystemObject").OpenTextFile("C:\temp\myurlsmall.htm", 2, True).Write _ objExplorer.Document.Body.innerHTML 'alternate method security may clobber saves everything With objExplorer.Document If .queryCommandEnabled("saveAs") Then .execCommand "saveAs", False, "C:\temp\myurl.htm" End With 'Set objDocument = objExplorer.Document 'objDocument.Open 'objDocument.writeln "My Continuous Pictures" 'you probably don't need all this but you could throw in some css 'objDocument.writeln "" 'objDocument.writeln "" 'objDocument.writeln "" 'objDocument.writeln "" 'objDocument.writeln "" 'objDocument.writeln "
Pictures
" 'objDocument.writeln "

Method #2:

" 'objDocument.writeln strpassHTML 'objDocument.writeln "" 'objDocument.Write() 'objDocument.Close 'MsgBox "finished" Set objExplorer = Nothing Set objDocument = Nothing End Sub Drawbridge, Jack: #CIO - BPI wrote: >Have had no responses with original post. I believe it is a question of automating IE, and how to get to CommonDialog in order to do the File Save As. > >IE does a fantastic job of removing relative links and downloading a clean set of files when using the File Save As webpage complete option. I do not want to do the File saves manually. There must be a means to automate this in VBA??? > >Any advice/help on this would be greatly appreciated. > >Thanks, > >jack > >-----Original Message----- >From: accessd-bounces at databaseadvisors.com >[mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Drawbridge, >Jack: #CIO - BPI >Sent: Thursday, June 2, 2005 3:01 PM >To: Access Developers discussion and problem solving >Subject: [AccessD] A2K talking to IE6 - File Save As > > >Looking for help/advice or sample code to open IE6 from code in A2K. Am interested in how to do a File| Save As Webpage, Complete. >We have a database of 60000 companies and want to put extracts of selected 100-500 companies (html and graphics etc) onto a CD for use with Offline Browser. > >Can not figure out how to get to IE6 File | Save As. > >I have some code to open a page with IE browser and save all the links on the page. > >Any help would be appreciated. > >TIA > >jack > >'---- CODE to GET the Links from a given page ---- >'--------------------------------------------------------------------------------------- >' Procedure : GetLinks >' DateTime : 2005-06-02 14:19 >' Author : >' Purpose : get all links from a named webpage URL >'--------------------------------------------------------------------------------------- >' >Sub GetLinks() > >' ** need to set a reference to >' ** Microsoft Internet Controls > > Dim IeApp As InternetExplorer > Dim sURL As String > Dim IeDoc As Object > Dim i As Long > > 'Create new instance of IE > Set IeApp = New InternetExplorer > > 'May wish to make IeApp visible > 'apparently some things don't work > 'unless it's visible > IeApp.Visible = False > > 'define the page to open > sURL = "www.diligens.com" > > 'navigate to the page based on URL > IeApp.Navigate sURL > > 'Pause until the webpage is completely loaded > Do > Loop Until IeApp.ReadyState = READYSTATE_COMPLETE > > 'Create instance of Document object > Set IeDoc = IeApp.Document > > 'Loop through the document's links collection. > For i = 0 To IeDoc.links.Length - 1 > Debug.Print IeDoc.links(i).href > Next i > > 'Clean up > Set IeApp = Nothing > Set IeDoc = Nothing >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 pedro at plex.nl Mon Jun 13 14:10:46 2005 From: pedro at plex.nl (Pedro Janssen) Date: Mon, 13 Jun 2005 21:10:46 +0200 Subject: [AccessD] invalid number of arguments References: <002a01c56f98$c62e6a90$fac581d5@pedro><017001c56fa4$4d7685e0$0202a8c0@default><001901c57015$3ddf5dc0$fac581d5@pedro> <00c101c57019$b79955e0$0202a8c0@default> Message-ID: <002301c5704b$9b1b4180$fac581d5@pedro> Thanks for this code Michael, but i need to solve the invalid argument error anyway, because i have other codes with the same problem. Pedro Janssen ----- Original Message ----- From: "Michael R Mattys" To: "Access Developers discussion and problem solving" Sent: Monday, June 13, 2005 3:13 PM Subject: Re: [AccessD] invalid number of arguments > Pedro, > > Sorry. This is how I remove linked tables: > To make it so that you remove only specific tables > you modify it so that you end up with Neal's function. > > Function RemoveLinkedTbls() > Dim db As DAO.Database, tdf As DAO.TableDef > Set db = CurrentDb > For Each tdf In db.TableDefs > If tdf.Connect <> "" Then > DoCmd.DeleteObject acTable, tdf.Name > End If > Next > Set db = Nothing > End Function > ---- > > Michael R. Mattys > Mattys MapLib for Microsoft MapPoint > http://www.mattysconsulting.com > > > > ----- Original Message ----- > From: "Pedro Janssen" > To: "Access Developers discussion and problem solving" > > Sent: Monday, June 13, 2005 8:41 AM > Subject: Re: [AccessD] invalid number of arguments > > > > Hello Michael, > > > > when using db.TableDefs(strTableName).Delete it gives an compile-error: > > Can't find methode or member. > > > > Any other ideas. > > > > Pedro Janssen > > > > > > > > ----- Original Message ----- > > From: "Michael R Mattys" > > To: "Access Developers discussion and problem solving" > > > > Sent: Monday, June 13, 2005 1:13 AM > > Subject: Re: [AccessD] invalid number of arguments > > > > > > > ----- Original Message ----- > > > From: "Pedro Janssen" > > > To: > > > Sent: Sunday, June 12, 2005 5:50 PM > > > Subject: [AccessD] invalid number of arguments > > > > > > > > > Hello Group, > > > > > > i am using a function that Neil Kling provided me in the past. > > > When running it from an expression i get an error: > > > > > > Invalid number of arguments. > > > > > > Who can help me with this > > > > > > ------ > > > > > > Pedro, > > > > > > It should be > > > > > > db.TableDefs(strTableName).Delete > > > > > > ---- > > > > > > Michael R. Mattys > > > Mattys MapLib for Microsoft MapPoint > > > http://www.mattysconsulting.com > > > -- > > > AccessD mailing list > > > AccessD at databaseadvisors.com > > > http://databaseadvisors.com/mailman/listinfo/accessd > > > Website: http://www.databaseadvisors.com > > > > > > > > > -- > > AccessD mailing list > > AccessD at databaseadvisors.com > > http://databaseadvisors.com/mailman/listinfo/accessd > > Website: http://www.databaseadvisors.com > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > From pedro at plex.nl Mon Jun 13 14:14:47 2005 From: pedro at plex.nl (Pedro Janssen) Date: Mon, 13 Jun 2005 21:14:47 +0200 Subject: [AccessD] invalid number of arguments References: <30BC111F638EB54082001A7E7282FE4107F3BE@elmo.co.montgomery.ny.us> Message-ID: <002901c5704c$2a9720e0$fac581d5@pedro> Hello Neal, i now have tried: Function DeleteTableLink(tblDebiteurAlgemeen As String) As Boolean On Error GoTo Err_DeleteTableLink Dim db As Database Set db = DBEngine(0)(0) db.TableDefs.Delete (tblDebiteurAlgemeen) db.TableDefs.Refresh DeleteTableLink = True Exit_DeleteTableLink: etc.etc.etc but i still have the error. Anyone any ideas. Pedro ----- Original Message ----- From: "Neal Kling" To: "Access Developers discussion and problem solving" Sent: Monday, June 13, 2005 2:52 PM Subject: RE: [AccessD] invalid number of arguments > I see you're setting the table variable right in the function. But the function it's self is still expecting you to pass a table name. I suspect this may be where you are having a problem. Either redeclare the function without the strTableName parameter, or pass it the table name. In other words instead of setting strTableName in the function, call the function like this: > > DeleteTableLink "tblDebiteurAlgemeen" > > Don't forget to comment out the line > strTableName = "tblDebiteurAlgemeen" > > Neal > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Pedro Janssen > Sent: Sunday, June 12, 2005 5:51 PM > To: AccessD at databaseadvisors.com > Subject: [AccessD] invalid number of arguments > > > Hello Group, > > i am using a function that Neil Kling provided me in the past. > When running it from an expression i get an error: > > Invalid number of arguments. > > Who can help me with this > > Pedro Janssen > > > > > Function DeleteTableLink(strTableName As String) As Boolean > On Error GoTo Err_DeleteTableLink > Dim db As Database > > strTableName = "tblDebiteurAlgemeen" > > Set db = DBEngine(0)(0) > db.TableDefs.Delete strTableName > db.TableDefs.Refresh > > DeleteTableLink = True > > Exit_DeleteTableLink: > Exit Function > > Err_DeleteTableLink: > Select Case Err > Case 0 'insert Errors you wish to ignore here > Resume Next > Case 3265 'Item doesn't exist in collection > Resume Next > Case Else 'All other errors will trap > Beep > MsgBox Err.Number & "; " & Err.Description, , "Error in function basObjectHandlers.DeleteTableLink" > Resume Exit_DeleteTableLink > End Select > Resume 0 'FOR TROUBLESHOOTING > End Function > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > From mmattys at rochester.rr.com Mon Jun 13 14:41:24 2005 From: mmattys at rochester.rr.com (Michael R Mattys) Date: Mon, 13 Jun 2005 15:41:24 -0400 Subject: [AccessD] invalid number of arguments References: <002a01c56f98$c62e6a90$fac581d5@pedro> <017001c56fa4$4d7685e0$0202a8c0@default> <001901c57015$3ddf5dc0$fac581d5@pedro> <00c101c57019$b79955e0$0202a8c0@default> <002301c5704b$9b1b4180$fac581d5@pedro> Message-ID: <00be01c5704f$e33b0370$0202a8c0@default> Pedro, Will the error go away if you set a reference to DAO 3.6 and then put Dim db As DAO.Database? ---- Michael R. Mattys Mattys MapLib for Microsoft MapPoint http://www.mattysconsulting.com ----- Original Message ----- From: "Pedro Janssen" To: "Access Developers discussion and problem solving" Sent: Monday, June 13, 2005 3:10 PM Subject: Re: [AccessD] invalid number of arguments > Thanks for this code Michael, > > but i need to solve the invalid argument error anyway, because i have other > codes with the same problem. > > Pedro Janssen > > > ----- Original Message ----- > From: "Michael R Mattys" > To: "Access Developers discussion and problem solving" > > Sent: Monday, June 13, 2005 3:13 PM > Subject: Re: [AccessD] invalid number of arguments > > > > Pedro, > > > > Sorry. This is how I remove linked tables: > > To make it so that you remove only specific tables > > you modify it so that you end up with Neal's function. > > > > Function RemoveLinkedTbls() > > Dim db As DAO.Database, tdf As DAO.TableDef > > Set db = CurrentDb > > For Each tdf In db.TableDefs > > If tdf.Connect <> "" Then > > DoCmd.DeleteObject acTable, tdf.Name > > End If > > Next > > Set db = Nothing > > End Function > > ---- > > > > Michael R. Mattys > > Mattys MapLib for Microsoft MapPoint > > http://www.mattysconsulting.com > > > > > > > > ----- Original Message ----- > > From: "Pedro Janssen" > > To: "Access Developers discussion and problem solving" > > > > Sent: Monday, June 13, 2005 8:41 AM > > Subject: Re: [AccessD] invalid number of arguments > > > > > > > Hello Michael, > > > > > > when using db.TableDefs(strTableName).Delete it gives an compile-error: > > > Can't find methode or member. > > > > > > Any other ideas. > > > > > > Pedro Janssen > > > > > > > > > > > > ----- Original Message ----- > > > From: "Michael R Mattys" > > > To: "Access Developers discussion and problem solving" > > > > > > Sent: Monday, June 13, 2005 1:13 AM > > > Subject: Re: [AccessD] invalid number of arguments > > > > > > > > > > ----- Original Message ----- > > > > From: "Pedro Janssen" > > > > To: > > > > Sent: Sunday, June 12, 2005 5:50 PM > > > > Subject: [AccessD] invalid number of arguments > > > > > > > > > > > > Hello Group, > > > > > > > > i am using a function that Neil Kling provided me in the past. > > > > When running it from an expression i get an error: > > > > > > > > Invalid number of arguments. > > > > > > > > Who can help me with this > > > > > > > > ------ > > > > > > > > Pedro, > > > > > > > > It should be > > > > > > > > db.TableDefs(strTableName).Delete > > > > > > > > ---- > > > > > > > > Michael R. Mattys > > > > Mattys MapLib for Microsoft MapPoint > > > > http://www.mattysconsulting.com > > > > -- > > > > AccessD mailing list > > > > AccessD at databaseadvisors.com > > > > http://databaseadvisors.com/mailman/listinfo/accessd > > > > Website: http://www.databaseadvisors.com > > > > > > > > > > > > > -- > > > AccessD mailing list > > > AccessD at databaseadvisors.com > > > http://databaseadvisors.com/mailman/listinfo/accessd > > > Website: http://www.databaseadvisors.com > > > > -- > > AccessD mailing list > > AccessD at databaseadvisors.com > > http://databaseadvisors.com/mailman/listinfo/accessd > > Website: http://www.databaseadvisors.com > > > > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com From mikedorism at verizon.net Mon Jun 13 14:45:46 2005 From: mikedorism at verizon.net (Mike & Doris Manning) Date: Mon, 13 Jun 2005 15:45:46 -0400 Subject: [AccessD] invalid number of arguments In-Reply-To: <002901c5704c$2a9720e0$fac581d5@pedro> Message-ID: <001a01c57050$7e6d15e0$2f01a8c0@hargrove.internal> What are you passing in as the value of "tblDebiteurAlgemeen"? Doris Manning Database Administrator Hargrove Inc. www.hargroveinc.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Pedro Janssen Sent: Monday, June 13, 2005 3:15 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] invalid number of arguments Hello Neal, i now have tried: Function DeleteTableLink(tblDebiteurAlgemeen As String) As Boolean On Error GoTo Err_DeleteTableLink Dim db As Database Set db = DBEngine(0)(0) db.TableDefs.Delete (tblDebiteurAlgemeen) db.TableDefs.Refresh DeleteTableLink = True Exit_DeleteTableLink: etc.etc.etc but i still have the error. Anyone any ideas. Pedro ----- Original Message ----- From: "Neal Kling" To: "Access Developers discussion and problem solving" Sent: Monday, June 13, 2005 2:52 PM Subject: RE: [AccessD] invalid number of arguments > I see you're setting the table variable right in the function. But the function it's self is still expecting you to pass a table name. I suspect this may be where you are having a problem. Either redeclare the function without the strTableName parameter, or pass it the table name. In other words instead of setting strTableName in the function, call the function like this: > > DeleteTableLink "tblDebiteurAlgemeen" > > Don't forget to comment out the line > strTableName = "tblDebiteurAlgemeen" > > Neal > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Pedro > Janssen > Sent: Sunday, June 12, 2005 5:51 PM > To: AccessD at databaseadvisors.com > Subject: [AccessD] invalid number of arguments > > > Hello Group, > > i am using a function that Neil Kling provided me in the past. When > running it from an expression i get an error: > > Invalid number of arguments. > > Who can help me with this > > Pedro Janssen > > > > > Function DeleteTableLink(strTableName As String) As Boolean On Error > GoTo Err_DeleteTableLink > Dim db As Database > > strTableName = "tblDebiteurAlgemeen" > > Set db = DBEngine(0)(0) > db.TableDefs.Delete strTableName > db.TableDefs.Refresh > > DeleteTableLink = True > > Exit_DeleteTableLink: > Exit Function > > Err_DeleteTableLink: > Select Case Err > Case 0 'insert Errors you wish to ignore here > Resume Next > Case 3265 'Item doesn't exist in collection > Resume Next > Case Else 'All other errors will trap > Beep > MsgBox Err.Number & "; " & Err.Description, , "Error in function basObjectHandlers.DeleteTableLink" > Resume Exit_DeleteTableLink > End Select > Resume 0 'FOR TROUBLESHOOTING > End Function > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From nkling at co.montgomery.ny.us Mon Jun 13 14:49:54 2005 From: nkling at co.montgomery.ny.us (Neal Kling) Date: Mon, 13 Jun 2005 15:49:54 -0400 Subject: [AccessD] invalid number of arguments Message-ID: <30BC111F638EB54082001A7E7282FE41114D45@elmo.co.montgomery.ny.us> Pedro, This line Function DeleteTableLink(tblDebiteurAlgemeen As String) As Boolean is telling the function that it is going to expect you to pass it a string parameter of the name of the table you want to delete. Where you are calling the function it would have to done like this: DeleteTableLink "tblDebiteurAlgemeen" That way the function knows which table to delete. If this is causing you too many problems you can get rid of the requirement for that parameter and declare the function like this: Function DeleteTableLink() as Boolean Then you would need to specify which table in the function like this db.TableDefs.Delete "tblDebiteurAlgemeen" The problem is now you have a function that will only do one thing. It won't be reusable. Neal -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Pedro Janssen Sent: Monday, June 13, 2005 3:15 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] invalid number of arguments Hello Neal, i now have tried: Function DeleteTableLink(tblDebiteurAlgemeen As String) As Boolean On Error GoTo Err_DeleteTableLink Dim db As Database Set db = DBEngine(0)(0) db.TableDefs.Delete (tblDebiteurAlgemeen) db.TableDefs.Refresh DeleteTableLink = True Exit_DeleteTableLink: etc.etc.etc but i still have the error. Anyone any ideas. Pedro ----- Original Message ----- From: "Neal Kling" To: "Access Developers discussion and problem solving" Sent: Monday, June 13, 2005 2:52 PM Subject: RE: [AccessD] invalid number of arguments > I see you're setting the table variable right in the function. But the function it's self is still expecting you to pass a table name. I suspect this may be where you are having a problem. Either redeclare the function without the strTableName parameter, or pass it the table name. In other words instead of setting strTableName in the function, call the function like this: > > DeleteTableLink "tblDebiteurAlgemeen" > > Don't forget to comment out the line > strTableName = "tblDebiteurAlgemeen" > > Neal > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Pedro Janssen > Sent: Sunday, June 12, 2005 5:51 PM > To: AccessD at databaseadvisors.com > Subject: [AccessD] invalid number of arguments > > > Hello Group, > > i am using a function that Neil Kling provided me in the past. > When running it from an expression i get an error: > > Invalid number of arguments. > > Who can help me with this > > Pedro Janssen > > > > > Function DeleteTableLink(strTableName As String) As Boolean > On Error GoTo Err_DeleteTableLink > Dim db As Database > > strTableName = "tblDebiteurAlgemeen" > > Set db = DBEngine(0)(0) > db.TableDefs.Delete strTableName > db.TableDefs.Refresh > > DeleteTableLink = True > > Exit_DeleteTableLink: > Exit Function > > Err_DeleteTableLink: > Select Case Err > Case 0 'insert Errors you wish to ignore here > Resume Next > Case 3265 'Item doesn't exist in collection > Resume Next > Case Else 'All other errors will trap > Beep > MsgBox Err.Number & "; " & Err.Description, , "Error in function basObjectHandlers.DeleteTableLink" > Resume Exit_DeleteTableLink > End Select > Resume 0 'FOR TROUBLESHOOTING > End Function > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From nkling at co.montgomery.ny.us Mon Jun 13 14:51:11 2005 From: nkling at co.montgomery.ny.us (Neal Kling) Date: Mon, 13 Jun 2005 15:51:11 -0400 Subject: [AccessD] invalid number of arguments Message-ID: <30BC111F638EB54082001A7E7282FE4107F3D6@elmo.co.montgomery.ny.us> I believe he's passing nothing, which of course results in the missing parameter. Perhaps you can explain this better than I. Neal -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Mike & Doris Manning Sent: Monday, June 13, 2005 3:46 PM To: 'Access Developers discussion and problem solving' Subject: RE: [AccessD] invalid number of arguments What are you passing in as the value of "tblDebiteurAlgemeen"? Doris Manning Database Administrator Hargrove Inc. www.hargroveinc.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Pedro Janssen Sent: Monday, June 13, 2005 3:15 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] invalid number of arguments Hello Neal, i now have tried: Function DeleteTableLink(tblDebiteurAlgemeen As String) As Boolean On Error GoTo Err_DeleteTableLink Dim db As Database Set db = DBEngine(0)(0) db.TableDefs.Delete (tblDebiteurAlgemeen) db.TableDefs.Refresh DeleteTableLink = True Exit_DeleteTableLink: etc.etc.etc but i still have the error. Anyone any ideas. Pedro ----- Original Message ----- From: "Neal Kling" To: "Access Developers discussion and problem solving" Sent: Monday, June 13, 2005 2:52 PM Subject: RE: [AccessD] invalid number of arguments > I see you're setting the table variable right in the function. But the function it's self is still expecting you to pass a table name. I suspect this may be where you are having a problem. Either redeclare the function without the strTableName parameter, or pass it the table name. In other words instead of setting strTableName in the function, call the function like this: > > DeleteTableLink "tblDebiteurAlgemeen" > > Don't forget to comment out the line > strTableName = "tblDebiteurAlgemeen" > > Neal > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Pedro > Janssen > Sent: Sunday, June 12, 2005 5:51 PM > To: AccessD at databaseadvisors.com > Subject: [AccessD] invalid number of arguments > > > Hello Group, > > i am using a function that Neil Kling provided me in the past. When > running it from an expression i get an error: > > Invalid number of arguments. > > Who can help me with this > > Pedro Janssen > > > > > Function DeleteTableLink(strTableName As String) As Boolean On Error > GoTo Err_DeleteTableLink > Dim db As Database > > strTableName = "tblDebiteurAlgemeen" > > Set db = DBEngine(0)(0) > db.TableDefs.Delete strTableName > db.TableDefs.Refresh > > DeleteTableLink = True > > Exit_DeleteTableLink: > Exit Function > > Err_DeleteTableLink: > Select Case Err > Case 0 'insert Errors you wish to ignore here > Resume Next > Case 3265 'Item doesn't exist in collection > Resume Next > Case Else 'All other errors will trap > Beep > MsgBox Err.Number & "; " & Err.Description, , "Error in function basObjectHandlers.DeleteTableLink" > Resume Exit_DeleteTableLink > End Select > Resume 0 'FOR TROUBLESHOOTING > End Function > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From marcus at tsstech.com Mon Jun 13 15:15:24 2005 From: marcus at tsstech.com (Scott Marcus) Date: Mon, 13 Jun 2005 16:15:24 -0400 Subject: [AccessD] Visio data modeling: was Friday humour Message-ID: This requires the enterprise architect version of Visual Studio 2003. -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Dale Kalsow Sent: Monday, June 13, 2005 10:41 AM To: Access Developers discussion and problem solving Subject: RE: [AccessD] Friday humour Good Morning Everyone, Some one told me I can create a visio document and then from visio create my SQL tables. Does anyone know who to do this? Does it also work for MS Access? Can I also go from SQL or Access and have my table documented in Visio? Thanks! Dale --------------------------------- Discover Yahoo! Find restaurants, movies, travel & more fun for the weekend. Check it out! -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com NOTICE: This electronic mail transmission is for the use of the named individual or entity to which it is directed and may contain information that is privileged or confidential. If you are not the intended recipient, any disclosure, copying, distribution or use of the contents of any information contained herein is prohibited. If you have received this electronic mail transmission in error, delete it from your system without copying or forwarding, and notify the sender of the error by replying via email or by calling TSS Technologies at (513) 772-7000, so our address record can be corrected. Any information included in this email is provided on an ?as is? and ?where is? basis, and TSS Technologies makes no representations or warranties of any kind with respect to the completeness or accuracy of the information contained in this email, or with respect to any other matters communicated in this email. TSS Technologies hereby disclaims any and all express or implied warranties of any kind. Nothing in this email shall be construed to create any kind of contractual or binding agreement or commitment by or on behalf of TSS Technologies, Inc., the recipient, or any third-parties. From mikedorism at verizon.net Mon Jun 13 15:44:18 2005 From: mikedorism at verizon.net (Mike & Doris Manning) Date: Mon, 13 Jun 2005 16:44:18 -0400 Subject: [AccessD] Visio data modeling: was Friday humour In-Reply-To: Message-ID: <001b01c57058$abbc3b40$2f01a8c0@hargrove.internal> No it doesn't. Visio Professional 2002 and 2003 have the same capabilities. Visio uses ODBC to link directly to the databases involved. Doris Manning Database Administrator Hargrove Inc. www.hargroveinc.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Scott Marcus Sent: Monday, June 13, 2005 4:15 PM To: Access Developers discussion and problem solving Subject: RE: [AccessD] Visio data modeling: was Friday humour This requires the enterprise architect version of Visual Studio 2003. -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Dale Kalsow Sent: Monday, June 13, 2005 10:41 AM To: Access Developers discussion and problem solving Subject: RE: [AccessD] Friday humour Good Morning Everyone, Some one told me I can create a visio document and then from visio create my SQL tables. Does anyone know who to do this? Does it also work for MS Access? Can I also go from SQL or Access and have my table documented in Visio? Thanks! Dale --------------------------------- Discover Yahoo! Find restaurants, movies, travel & more fun for the weekend. Check it out! -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com NOTICE: This electronic mail transmission is for the use of the named individual or entity to which it is directed and may contain information that is privileged or confidential. If you are not the intended recipient, any disclosure, copying, distribution or use of the contents of any information contained herein is prohibited. If you have received this electronic mail transmission in error, delete it from your system without copying or forwarding, and notify the sender of the error by replying via email or by calling TSS Technologies at (513) 772-7000, so our address record can be corrected. Any information included in this email is provided on an "as is" and "where is" basis, and TSS Technologies makes no representations or warranties of any kind with respect to the completeness or accuracy of the information contained in this email, or with respect to any other matters communicated in this email. TSS Technologies hereby disclaims any and all express or implied warranties of any kind. Nothing in this email shall be construed to create any kind of contractual or binding agreement or commitment by or on behalf of TSS Technologies, Inc., the recipient, or any third-parties. -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From marcus at tsstech.com Mon Jun 13 15:54:39 2005 From: marcus at tsstech.com (Scott Marcus) Date: Mon, 13 Jun 2005 16:54:39 -0400 Subject: [AccessD] Visio data modeling: was Friday humour Message-ID: So you have Visio 2003 Pro? I have it and you cannot generate the database. But the 2003 version called enterprise architect does (which I also have). -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Mike & Doris Manning Sent: Monday, June 13, 2005 4:44 PM To: 'Access Developers discussion and problem solving' Subject: RE: [AccessD] Visio data modeling: was Friday humour No it doesn't. Visio Professional 2002 and 2003 have the same capabilities. Visio uses ODBC to link directly to the databases involved. Doris Manning Database Administrator Hargrove Inc. www.hargroveinc.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Scott Marcus Sent: Monday, June 13, 2005 4:15 PM To: Access Developers discussion and problem solving Subject: RE: [AccessD] Visio data modeling: was Friday humour This requires the enterprise architect version of Visual Studio 2003. -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Dale Kalsow Sent: Monday, June 13, 2005 10:41 AM To: Access Developers discussion and problem solving Subject: RE: [AccessD] Friday humour Good Morning Everyone, Some one told me I can create a visio document and then from visio create my SQL tables. Does anyone know who to do this? Does it also work for MS Access? Can I also go from SQL or Access and have my table documented in Visio? Thanks! Dale --------------------------------- Discover Yahoo! Find restaurants, movies, travel & more fun for the weekend. Check it out! -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com NOTICE: This electronic mail transmission is for the use of the named individual or entity to which it is directed and may contain information that is privileged or confidential. If you are not the intended recipient, any disclosure, copying, distribution or use of the contents of any information contained herein is prohibited. If you have received this electronic mail transmission in error, delete it from your system without copying or forwarding, and notify the sender of the error by replying via email or by calling TSS Technologies at (513) 772-7000, so our address record can be corrected. Any information included in this email is provided on an "as is" and "where is" basis, and TSS Technologies makes no representations or warranties of any kind with respect to the completeness or accuracy of the information contained in this email, or with respect to any other matters communicated in this email. TSS Technologies hereby disclaims any and all express or implied warranties of any kind. Nothing in this email shall be construed to create any kind of contractual or binding agreement or commitment by or on behalf of TSS Technologies, Inc., the recipient, or any third-parties. -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com NOTICE: This electronic mail transmission is for the use of the named individual or entity to which it is directed and may contain information that is privileged or confidential. If you are not the intended recipient, any disclosure, copying, distribution or use of the contents of any information contained herein is prohibited. If you have received this electronic mail transmission in error, delete it from your system without copying or forwarding, and notify the sender of the error by replying via email or by calling TSS Technologies at (513) 772-7000, so our address record can be corrected. Any information included in this email is provided on an ?as is? and ?where is? basis, and TSS Technologies makes no representations or warranties of any kind with respect to the completeness or accuracy of the information contained in this email, or with respect to any other matters communicated in this email. TSS Technologies hereby disclaims any and all express or implied warranties of any kind. Nothing in this email shall be construed to create any kind of contractual or binding agreement or commitment by or on behalf of TSS Technologies, Inc., the recipient, or any third-parties. From cfoust at infostatsystems.com Mon Jun 13 16:02:05 2005 From: cfoust at infostatsystems.com (Charlotte Foust) Date: Mon, 13 Jun 2005 14:02:05 -0700 Subject: [AccessD] Visio data modeling: was Friday humour Message-ID: The enterprise edition of Visio is required to *generate* database structures from a Visio database diagram. The Pro version will reverse engineer the structure into a diagram. The forward engineering was removed from the Pro version after Microsoft acquired the product. Charlotte Foust -----Original Message----- From: Mike & Doris Manning [mailto:mikedorism at verizon.net] Sent: Monday, June 13, 2005 1:44 PM To: 'Access Developers discussion and problem solving' Subject: RE: [AccessD] Visio data modeling: was Friday humour No it doesn't. Visio Professional 2002 and 2003 have the same capabilities. Visio uses ODBC to link directly to the databases involved. Doris Manning Database Administrator Hargrove Inc. www.hargroveinc.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Scott Marcus Sent: Monday, June 13, 2005 4:15 PM To: Access Developers discussion and problem solving Subject: RE: [AccessD] Visio data modeling: was Friday humour This requires the enterprise architect version of Visual Studio 2003. -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Dale Kalsow Sent: Monday, June 13, 2005 10:41 AM To: Access Developers discussion and problem solving Subject: RE: [AccessD] Friday humour Good Morning Everyone, Some one told me I can create a visio document and then from visio create my SQL tables. Does anyone know who to do this? Does it also work for MS Access? Can I also go from SQL or Access and have my table documented in Visio? Thanks! Dale --------------------------------- Discover Yahoo! Find restaurants, movies, travel & more fun for the weekend. Check it out! -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com NOTICE: This electronic mail transmission is for the use of the named individual or entity to which it is directed and may contain information that is privileged or confidential. If you are not the intended recipient, any disclosure, copying, distribution or use of the contents of any information contained herein is prohibited. If you have received this electronic mail transmission in error, delete it from your system without copying or forwarding, and notify the sender of the error by replying via email or by calling TSS Technologies at (513) 772-7000, so our address record can be corrected. Any information included in this email is provided on an "as is" and "where is" basis, and TSS Technologies makes no representations or warranties of any kind with respect to the completeness or accuracy of the information contained in this email, or with respect to any other matters communicated in this email. TSS Technologies hereby disclaims any and all express or implied warranties of any kind. Nothing in this email shall be construed to create any kind of contractual or binding agreement or commitment by or on behalf of TSS Technologies, Inc., the recipient, or any third-parties. -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From Robert at servicexp.com Mon Jun 13 18:56:21 2005 From: Robert at servicexp.com (Robert Gracie) Date: Mon, 13 Jun 2005 19:56:21 -0400 Subject: [AccessD] Detecting Database Connection Type? In-Reply-To: Message-ID: <20050613235623.6E4FB41468@mail01.powweb.com> How can one check the type of connection to the back end data, making sure the connection is not wireless? Robert From mmattys at rochester.rr.com Mon Jun 13 19:15:50 2005 From: mmattys at rochester.rr.com (Michael R Mattys) Date: Mon, 13 Jun 2005 20:15:50 -0400 Subject: [AccessD] Detecting Database Connection Type? References: <20050613235623.6E4FB41468@mail01.powweb.com> Message-ID: <019a01c57076$3ae95830$0202a8c0@default> ----- Original Message ----- From: "Robert Gracie" To: "'Access Developers discussion and problem solving'" Sent: Monday, June 13, 2005 7:56 PM Subject: [AccessD] Detecting Database Connection Type? > > How can one check the type of connection to the back end data, making sure > the connection is not wireless? Robert, What prompted your question? Is it not simply a matter of connection exists verus connection does not exist? ---- Michael R. Mattys Mattys MapLib for Microsoft MapPoint http://www.mattysconsulting.com From Robert at servicexp.com Mon Jun 13 19:38:03 2005 From: Robert at servicexp.com (Robert Gracie) Date: Mon, 13 Jun 2005 20:38:03 -0400 Subject: [AccessD] Detecting Database Connection Type? In-Reply-To: <019a01c57076$3ae95830$0202a8c0@default> Message-ID: <20050614003805.CF92C4154D@mail01.powweb.com> Michael, The problem is a little deeper that that. We have several laptop users, each with wireless capabilities that automatically connect to the LAN. I have instructed them, (sigh) time and time again, that they must plug into the network, via a LAN jack before logging in the program. I'm at the point now where I need to come up with a solution that works to prevent a wireless connection to this one program. All laptop users are running Win XP. I sure hope there is a "Coded" solution, as I don't want to convert this program to SQL.... I hope this helps... Robert -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Michael R Mattys Sent: Monday, June 13, 2005 8:16 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Detecting Database Connection Type? ----- Original Message ----- From: "Robert Gracie" To: "'Access Developers discussion and problem solving'" Sent: Monday, June 13, 2005 7:56 PM Subject: [AccessD] Detecting Database Connection Type? > > How can one check the type of connection to the back end data, making sure > the connection is not wireless? Robert, What prompted your question? Is it not simply a matter of connection exists verus connection does not exist? ---- Michael R. Mattys Mattys MapLib for Microsoft MapPoint http://www.mattysconsulting.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From mmattys at rochester.rr.com Mon Jun 13 20:18:50 2005 From: mmattys at rochester.rr.com (Michael R Mattys) Date: Mon, 13 Jun 2005 21:18:50 -0400 Subject: [AccessD] Detecting Database Connection Type? References: <20050614003805.CF92C4154D@mail01.powweb.com> Message-ID: <01ad01c5707f$0c39cfc0$0202a8c0@default> ----- Original Message ----- From: "Robert Gracie" To: "'Access Developers discussion and problem solving'" Sent: Monday, June 13, 2005 8:38 PM Subject: RE: [AccessD] Detecting Database Connection Type? > Michael, > The problem is a little deeper that that. We have several laptop users, > each with wireless capabilities that automatically connect to the LAN. I > have instructed them, (sigh) time and time again, that they must plug into > the network, via a LAN jack before logging in the program. I'm at the point > now where I need to come up with a solution that works to prevent a wireless > connection to this one program. All laptop users are running Win XP. > > I sure hope there is a "Coded" solution, as I don't want to convert this > program to SQL.... > > I hope this helps... > Robert, Wow. Well, this is going to be hit or miss. I figure it must be WMI related. So, I tried a search on Google for [ wmi wireless +dim ]. 37 hits. I saw "How to Detect Network Connection" "Enable / Disable 802.1x with some script" "Disabling Wireless Driver" "WMI MSNdis_80211_ReceivedSignalStrength" That MSNdis_80211 could be another search term. I'm thinking the front-end will need to execute code before connecting that will disable (well, how would you say it?) wireless connections while the FE is open. Good luck to you :) I may need whatever your solution is someday! ---- Michael R. Mattys Mattys MapLib for Microsoft MapPoint http://www.mattysconsulting.com From martyconnelly at shaw.ca Mon Jun 13 20:24:17 2005 From: martyconnelly at shaw.ca (MartyConnelly) Date: Mon, 13 Jun 2005 18:24:17 -0700 Subject: [AccessD] Automating - IE6 - File Save As -- Marty References: <0F3AFAE449DD4A40BED8B6C4A97ABF5B0298AABE@MSG-MB3.icent.ic.gc.ca> Message-ID: <42AE31C1.7010103@shaw.ca> Ah you want to save the images as well , doing a complete "saveas" will save multiple html files and directories, so you might want a single archive .mht file. The reason the "saveas" only allows saves to a text based html file is a security feature. Otherwise the little darlings could save binary excutables onto your disk. However if you want to risk it, this replacement code will work, sendkeys has it own flaws. It may only work if your browser allows scripting of unsafe ActiveX Works for me IE 6.01 with Medium security and MS scripting installed To get an mht archive file you will have to change code to tab around with sendkeys. Dim X As Object Set X = CreateObject("WScript.Shell") X.SendKeys ("%f") ' select IE File Menu X.SendKeys ("a") 'selects save as menu X.SendKeys ("{del}") 'delete filename X.SendKeys ("c:\temp\mycompletehtml") 'double slashes may be required if multi folder path X.SendKeys ("{Tab}") X.SendKeys ("{Tab}") 'get to save button X.SendKeys ("{ENTER}") ' comment this out to see what happens on screen Drawbridge, Jack: #CIO - BPI wrote: >Marty > >Thanks for info. It's close to what I'm looking for. >Have not seen the ".queryCommandEnabled" or ".execCommand" > >In your code > 'or alternate method that security may clobber, saves everthing with > fileopen box used > -With objExplorer.Document > -If .queryCommandEnabled("saveAs") Then .execCommand "saveAs", False, > "C:\temp\myurl.htm" > -End With > I'm trying to actually use File SaveAs Webpage, Complete. If you manually do a File SaveAs in Internet explorer, you'll see other options than (htm,html). >Your technique gives me (htm, html). Can you see any means of supplying/gettign other options? > >Thanks >jack > > >-----Original Message----- >From: accessd-bounces at databaseadvisors.com >[mailto:accessd-bounces at databaseadvisors.com]On Behalf Of MartyConnelly >Sent: Friday, June 10, 2005 6:40 PM >To: Access Developers discussion and problem solving >Subject: Re: [AccessD] Automating - IE6 - File Save As -- Marty > > >You maynot be able to do this for security reasons on second method. >Ran this okay from WinXP SP2, Access97, IE6.0.2900 xpsp2 patches > >Here are two ways. > >'This gets around security limitations >'will only save between tags >CreateObject("Scripting.FileSystemObject").OpenTextFile("C:\temp\myurlsaved.htm", >2, True).Write _ > objExplorer.Document.Body.innerHTML > >'or alternate method that security may clobber, saves everthing with >fileopen box used >With objExplorer.Document > If .queryCommandEnabled("saveAs") Then .execCommand "saveAs", False, >"C:\temp\myurl.htm" > End With > >Anywho here is some rough test code, that works both ways. >You can throw out all the commented objdocument code at bottom. > > >Sub testIESave(strpassHTML As String) >'------------------ >'testIESave "http://www.Viescas.com/" >Dim objExplorer As Object >Dim objDocument As Object >Dim strComputer As String > >Dim strReturn As String > >Set objExplorer = CreateObject("InternetExplorer.Application") > >'objExplorer.navigate "about:blank" >objExplorer.navigate strpassHTML >objExplorer.Toolbar = 1 'or 0 to turnoff toolbar turned off maynot save >all html source >objExplorer.StatusBar = 0 >objExplorer.Width = 800 >objExplorer.Height = 570 >objExplorer.Left = 0 >objExplorer.Top = 0 >objExplorer.Visible = 1 >'dont't need to navigate to file or http site >'just drop html string in document object >'objExplorer.Navigate "file://c:\temp\test.html" >'objExplorer.Navigate "http://www.Viescas.com/" >'objExplorer.Navigate "http://checkip.dyndns.org/" > >Do While (objExplorer.Busy) >Loop >Dim webtx As String >Dim strHTML As String >'will only save between tags >CreateObject("Scripting.FileSystemObject").OpenTextFile("C:\temp\myurlsmall.htm", >2, True).Write _ > objExplorer.Document.Body.innerHTML >'alternate method security may clobber saves everything >With objExplorer.Document > If .queryCommandEnabled("saveAs") Then .execCommand "saveAs", False, >"C:\temp\myurl.htm" > End With > >'Set objDocument = objExplorer.Document >'objDocument.Open >'objDocument.writeln "My Continuous >Pictures" >'you probably don't need all this but you could throw in some css >'objDocument.writeln "' " { background-attachment: fixed; background-position: 97% >bottom; " & _ >' " background-image= 'url(logoBackGround.gif)';background-repeat: >no-repeat;" & _ >' " padding: 5px;font-family='Georgia';font-size: 80%;} >" > >'objDocument.writeln "" >'objDocument.writeln "" >'objDocument.writeln "" >'objDocument.writeln "" >'objDocument.writeln "
Pictures
" > >'objDocument.writeln "

Method #2:

files\CandaceTripp\picture\shakes.bmp"" Width = ""150"" Height = ""75"" >alt = ""Random Image #4"" />" > >'objDocument.writeln strpassHTML >'objDocument.writeln "" >'objDocument.Write() >'objDocument.Close >'MsgBox "finished" >Set objExplorer = Nothing >Set objDocument = Nothing > >End Sub > > >Drawbridge, Jack: #CIO - BPI wrote: > > > >>Have had no responses with original post. I believe it is a question of automating IE, and how to get to CommonDialog in order to do the File Save As. >> >>IE does a fantastic job of removing relative links and downloading a clean set of files when using the File Save As webpage complete option. I do not want to do the File saves manually. There must be a means to automate this in VBA??? >> >>Any advice/help on this would be greatly appreciated. >> >>Thanks, >> >>jack >> >>-----Original Message----- >>From: accessd-bounces at databaseadvisors.com >>[mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Drawbridge, >>Jack: #CIO - BPI >>Sent: Thursday, June 2, 2005 3:01 PM >>To: Access Developers discussion and problem solving >>Subject: [AccessD] A2K talking to IE6 - File Save As >> >> >>Looking for help/advice or sample code to open IE6 from code in A2K. Am interested in how to do a File| Save As Webpage, Complete. >>We have a database of 60000 companies and want to put extracts of selected 100-500 companies (html and graphics etc) onto a CD for use with Offline Browser. >> >>Can not figure out how to get to IE6 File | Save As. >> >>I have some code to open a page with IE browser and save all the links on the page. >> >>Any help would be appreciated. >> >>TIA >> >>jack >> >>'---- CODE to GET the Links from a given page ---- >>'--------------------------------------------------------------------------------------- >>' Procedure : GetLinks >>' DateTime : 2005-06-02 14:19 >>' Author : >>' Purpose : get all links from a named webpage URL >>'--------------------------------------------------------------------------------------- >>' >>Sub GetLinks() >> >>' ** need to set a reference to >>' ** Microsoft Internet Controls >> >> Dim IeApp As InternetExplorer >> Dim sURL As String >> Dim IeDoc As Object >> Dim i As Long >> >> 'Create new instance of IE >> Set IeApp = New InternetExplorer >> >> 'May wish to make IeApp visible >> 'apparently some things don't work >> 'unless it's visible >> IeApp.Visible = False >> >> 'define the page to open >> sURL = "www.diligens.com" >> >> 'navigate to the page based on URL >> IeApp.Navigate sURL >> >> 'Pause until the webpage is completely loaded >> Do >> Loop Until IeApp.ReadyState = READYSTATE_COMPLETE >> >> 'Create instance of Document object >> Set IeDoc = IeApp.Document >> >> 'Loop through the document's links collection. >> For i = 0 To IeDoc.links.Length - 1 >> Debug.Print IeDoc.links(i).href >> Next i >> >> 'Clean up >> Set IeApp = Nothing >> Set IeDoc = Nothing >>End Sub >> >> >> >> > > > -- Marty Connelly Victoria, B.C. Canada From martyconnelly at shaw.ca Mon Jun 13 20:37:34 2005 From: martyconnelly at shaw.ca (MartyConnelly) Date: Mon, 13 Jun 2005 18:37:34 -0700 Subject: [AccessD] Visio data modeling: was Friday humour References: Message-ID: <42AE34DE.9050700@shaw.ca> You could also have a look at various Case Tools. Vast price range from a couple of $100 to many thousands. This is one I prefer Enterprise Architect ,I use to reverse engineer Access mdb's, Does Oracle SQL Server and most ODBC accessible databases, It has a 30 day trial. Does Data modeling, Forward Database Engineering to DDL and Reverse Database Engineering from ODBC Just point to correct ODBC connection and will turn out an ER diagram, with table documentation. http://www.sparxsystems.com.au/ea.htm Scott Marcus wrote: >This requires the enterprise architect version of Visual Studio 2003. > >-----Original Message----- >From: accessd-bounces at databaseadvisors.com >[mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Dale Kalsow >Sent: Monday, June 13, 2005 10:41 AM >To: Access Developers discussion and problem solving >Subject: RE: [AccessD] Friday humour > > >Good Morning Everyone, > >Some one told me I can create a visio document and then from visio >create my SQL tables. Does anyone know who to do this? Does it also >work for MS Access? Can I also go from SQL or Access and have my table >documented in Visio? > > > >Thanks! > >Dale > > > > >--------------------------------- >Discover Yahoo! > Find restaurants, movies, travel & more fun for the weekend. Check it >out! > > -- Marty Connelly Victoria, B.C. Canada From KP at sdsonline.net Mon Jun 13 21:01:25 2005 From: KP at sdsonline.net (Kath Pelletti) Date: Tue, 14 Jun 2005 12:01:25 +1000 Subject: [AccessD]Error loading picture References: <004601c56f1f$6e8c6090$6601a8c0@user> <42ACA5B2.6090104@shaw.ca> Message-ID: <006901c57084$f9236e90$6601a8c0@user> Just change the filename string or just the extension part via UCase or LCase when you pass to the Picture property of the Image control. Great idea. You can also download and install, if something has gone wrong with your filters. Office File Converter Pack OCONVPCK.EXE Will try. Kath ----- Original Message ----- From: MartyConnelly To: Access Developers discussion and problem solving Sent: Monday, June 13, 2005 7:14 AM Subject: Re: [AccessD]Error loading picture Actually it is a bit more bizarre You don't have to change the actual physical filename extension case. Just change the filename string or just the extension part via UCase or LCase when you pass to the Picture property of the Image control. lower case bypasses Office Graphics filters, something to do with metafiles in the image. If the file extension is in uppercase then the Office Graphicsfilters will be used to load the image. You can also download and install, if something has gone wrong with your filters. Office File Converter Pack OCONVPCK.EXE This download provides file converters and image filters for Microsoft Office programs, from Microsoft Office 97 to Microsoft Office 2003. It depends on what version of office is installed. http://www.microsoft.com/downloads/details.aspx?FamilyID=cf196df0-70e5-4595-8a98-370278f40c57&DisplayLang=en Info here http://office.microsoft.com/en-us/assistance/HA011513581033.aspx If you use Lebans method (a bit convoluted) to get .jpeg extensions make this change in Function fLoadPicture Select Case right$(strfName, 3) Case "bmp", "dib", "Gif", "emf", "Wmf", "ico", "cur", "jpg", "peg" I gave up using jpegs for other reasons, I was getting microfilm images and so used djvu format as it can be up to 10 times smaller on black and white text type images and has a text searchable metafile plugins. Some University libraries are using for historical archive display on the web. Things like old manuscripts and folios. http://www.djvuzone.org/wid/index.html http://www.djvuzone.org/ Kath Pelletti wrote: >Re: this problem: > > > >>When the user opens a form which attempts to load a .jpg or .gif picture the system come up with "...the database doesn't support the format of >>'E:\Database\Photos\Peru.jpg' so it can't load the picture. >> >> > >I found a bizarre solution in a line on the Lebans website to the effect that if the file extension is upper case it is treated differently by Access to it being in lower case. Disbelieving, I tried it and it works. If I change the file extension of the 350 photos which this system uses (which I can do with one DOS command) from .jpg to .JPG then Access manages to load them correctly. > >It's a bit of a bizarre solution but having uninstalled and re-installed the graphics filters for Office twice, then doing a complete re-installation of Office I am relieved to find any kind of a simple solution. > >BTW - Marty - I did spend some tine on this: http://www.lebans.com/loadjpeg?gif.htm but found that it was difficult to follow. Have you used it? > >Kath > >______________________________________________ >Kath Pelletti >Software Design & Solutions Pty Ltd. >Ph: 9505-6714 >Fax: 9505-6430 >KP at SDSOnline.net > > -- 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 D.Dick at uws.edu.au Mon Jun 13 21:28:16 2005 From: D.Dick at uws.edu.au (Darren Dick) Date: Tue, 14 Jun 2005 12:28:16 +1000 Subject: [AccessD] A2003:Connection Method failing Message-ID: <2FDE83AF1A69C84796CBD13788DDA8833FEECD@BONHAM.AD.UWS.EDU.AU> Hello all (Cross Posted to Sue and Dmitri's list) The code below used to work - now it doesn't Our enterprise has moved to Exchange - does that matter? The error is ERR.Number = -2147024769 ERR.Description = Method 'Connection' of object '_CurrentProject' failed Any suggestions? Code snip below Dim rs As Object Dim con As Object Dim objOutlook As Outlook.Application Dim objAppt As Outlook.AppointmentItem Dim objRecurPattern As Outlook.RecurrencePattern Set objOutlook = CreateObject("Outlook.Application") Set objAppt = objOutlook.CreateItem(olAppointmentItem) Set rs = CreateObject("ADODB.Recordset") Set con = Application.CurrentProject.Connection '<=============Error here From KP at sdsonline.net Tue Jun 14 03:33:16 2005 From: KP at sdsonline.net (Kath Pelletti) Date: Tue, 14 Jun 2005 18:33:16 +1000 Subject: [AccessD] Australia - find nearest location References: <000a01c56d52$78a71990$6601a8c0@user> Message-ID: <001c01c570bb$b6e603d0$6601a8c0@user> What's happening? I posted this last week - and it just appeared on the list now.... ----- Original Message ----- From: Kath Pelletti To: AccessD at databaseadvisors.com Sent: Friday, June 10, 2005 10:22 AM Subject: [AccessD] Australia - find nearest location Hi all - Just wondering whether there happens to be anyone on list who may already have done this - I'm writing a new system for a training company and they want add a geographic search capability - ie. they would like to enter a suburb or postcode and the system displays will show the courses which run closest to them geographically. Any tips? Or if anyone has done this at all - can you tell me what your approach was? Thanks - rgds ______________________________________________ Kath Pelletti Software Design & Solutions Pty Ltd. Ph: 9505-6714 Fax: 9505-6430 KP at SDSOnline.net -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From Chris.Foote at uk.thalesgroup.com Tue Jun 14 03:46:59 2005 From: Chris.Foote at uk.thalesgroup.com (Foote, Chris) Date: Tue, 14 Jun 2005 09:46:59 +0100 Subject: [AccessD] Australia - find nearest location Message-ID: <97CF276BD8C6D4119C4B00508BB18DE709E0C79C@ntscxch1.int.rdel.co.uk> Hi Kath! Problem may be your end somewhere - I got your original post on Fri 10th June at 01:24 UK British Summer Time (GMT+1). There have been at least three replies - did you get them? Regards Chris Foote - UK > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of > Kath Pelletti > Sent: Tuesday, June 14, 2005 9:33 AM > To: Access Developers discussion and problem solving > Subject: Re: [AccessD] Australia - find nearest location > > > What's happening? I posted this last week - and it just > appeared on the list now.... > ----- Original Message ----- > From: Kath Pelletti > To: AccessD at databaseadvisors.com > Sent: Friday, June 10, 2005 10:22 AM > Subject: [AccessD] Australia - find nearest location > > > Hi all - Just wondering whether there happens to be anyone > on list who may already have done this - > > I'm writing a new system for a training company and they > want add a geographic search capability - ie. they would like > to enter a suburb or postcode and the system displays will > show the courses which run closest to them geographically. > > Any tips? Or if anyone has done this at all - can you tell > me what your approach was? > > Thanks - rgds > > ______________________________________________ > Kath Pelletti > Software Design & Solutions Pty Ltd. > Ph: 9505-6714 > Fax: 9505-6430 > KP at SDSOnline.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 KP at sdsonline.net Tue Jun 14 04:00:28 2005 From: KP at sdsonline.net (Kath Pelletti) Date: Tue, 14 Jun 2005 19:00:28 +1000 Subject: [AccessD] Australia - find nearest location References: <97CF276BD8C6D4119C4B00508BB18DE709E0C79C@ntscxch1.int.rdel.co.uk> Message-ID: <003801c570bf$82e77b00$6601a8c0@user> Hi Chris - I got one reply (other than one I also just received from Michael re: Map Point). If there were 3 then for some strange reason I didn't get them. I'll search the archive.... rgds Kath ----- Original Message ----- From: Foote, Chris To: 'Access Developers discussion and problem solving' Sent: Tuesday, June 14, 2005 6:46 PM Subject: RE: [AccessD] Australia - find nearest location Hi Kath! Problem may be your end somewhere - I got your original post on Fri 10th June at 01:24 UK British Summer Time (GMT+1). There have been at least three replies - did you get them? Regards Chris Foote - UK > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of > Kath Pelletti > Sent: Tuesday, June 14, 2005 9:33 AM > To: Access Developers discussion and problem solving > Subject: Re: [AccessD] Australia - find nearest location > > > What's happening? I posted this last week - and it just > appeared on the list now.... > ----- Original Message ----- > From: Kath Pelletti > To: AccessD at databaseadvisors.com > Sent: Friday, June 10, 2005 10:22 AM > Subject: [AccessD] Australia - find nearest location > > > Hi all - Just wondering whether there happens to be anyone > on list who may already have done this - > > I'm writing a new system for a training company and they > want add a geographic search capability - ie. they would like > to enter a suburb or postcode and the system displays will > show the courses which run closest to them geographically. > > Any tips? Or if anyone has done this at all - can you tell > me what your approach was? > > Thanks - rgds > > ______________________________________________ > Kath Pelletti > Software Design & Solutions Pty Ltd. > Ph: 9505-6714 > Fax: 9505-6430 > KP at SDSOnline.net > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From Chris.Foote at uk.thalesgroup.com Tue Jun 14 04:03:05 2005 From: Chris.Foote at uk.thalesgroup.com (Foote, Chris) Date: Tue, 14 Jun 2005 10:03:05 +0100 Subject: [AccessD] Australia - find nearest location Message-ID: <97CF276BD8C6D4119C4B00508BB18DE709E0C79D@ntscxch1.int.rdel.co.uk> Strange things happen sometimes! I'll forward the replies to you off-list Kath! Regards! Chris Foote - UK > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of > Kath Pelletti > Sent: Tuesday, June 14, 2005 10:00 AM > To: Access Developers discussion and problem solving > Subject: Re: [AccessD] Australia - find nearest location > > > Hi Chris - I got one reply (other than one I also just > received from Michael re: Map Point). > > If there were 3 then for some strange reason I didn't get > them. I'll search the archive.... > > rgds > Kath > ----- Original Message ----- > From: Foote, Chris > To: 'Access Developers discussion and problem solving' > Sent: Tuesday, June 14, 2005 6:46 PM > Subject: RE: [AccessD] Australia - find nearest location > > > Hi Kath! > > Problem may be your end somewhere - I got your original > post on Fri 10th > June at 01:24 UK British Summer Time (GMT+1). > > There have been at least three replies - did you get them? > > Regards > Chris Foote - UK > > > -----Original Message----- > > From: accessd-bounces at databaseadvisors.com > > [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of > > Kath Pelletti > > Sent: Tuesday, June 14, 2005 9:33 AM > > To: Access Developers discussion and problem solving > > Subject: Re: [AccessD] Australia - find nearest location > > > > > > What's happening? I posted this last week - and it just > > appeared on the list now.... > > ----- Original Message ----- > > From: Kath Pelletti > > To: AccessD at databaseadvisors.com > > Sent: Friday, June 10, 2005 10:22 AM > > Subject: [AccessD] Australia - find nearest location > > > > > > Hi all - Just wondering whether there happens to be anyone > > on list who may already have done this - > > > > I'm writing a new system for a training company and they > > want add a geographic search capability - ie. they would like > > to enter a suburb or postcode and the system displays will > > show the courses which run closest to them geographically. > > > > Any tips? Or if anyone has done this at all - can you tell > > me what your approach was? > > > > Thanks - rgds > > > > ______________________________________________ > > Kath Pelletti > > Software Design & Solutions Pty Ltd. > > Ph: 9505-6714 > > Fax: 9505-6430 > > KP at SDSOnline.net > > -- > > AccessD mailing list > > AccessD at databaseadvisors.com > > http://databaseadvisors.com/mailman/listinfo/accessd > > Website: http://www.databaseadvisors.com > > -- > > AccessD mailing list > > AccessD at databaseadvisors.com > > http://databaseadvisors.com/mailman/listinfo/accessd > > Website: http://www.databaseadvisors.com > > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > From KP at sdsonline.net Tue Jun 14 04:05:58 2005 From: KP at sdsonline.net (Kath Pelletti) Date: Tue, 14 Jun 2005 19:05:58 +1000 Subject: [AccessD] Australia - find nearest location References: <59A61174B1F5B54B97FD4ADDE71E7D010E4CA3@ddi-01.DDI.local> Message-ID: <004401c570c0$47bce280$6601a8c0@user> Thanks Michael - I think I need to learn about the way / rules that postcodes are allocated in my region - that way I may be able to create some sort of process. Just thought someone may have looked into that before. Basically what I need to know is whether proximity in number = proximity in distance - I am guessing that it won't always be the case... Kath ----- Original Message ----- From: Michael Maddison To: Access Developers discussion and problem solving Sent: Friday, June 10, 2005 10:48 AM Subject: RE: [AccessD] Australia - find nearest location Never tried myself, but the discussions here recently on MapPoint might lead the way. cheers Michael M Hi all - Just wondering whether there happens to be anyone on list who may already have done this - I'm writing a new system for a training company and they want add a geographic search capability - ie. they would like to enter a suburb or postcode and the system displays will show the courses which run closest to them geographically. Any tips? Or if anyone has done this at all - can you tell me what your approach was? Thanks - rgds ______________________________________________ Kath Pelletti Software Design & Solutions Pty Ltd. Ph: 9505-6714 Fax: 9505-6430 KP at SDSOnline.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 ssharkins at bellsouth.net Tue Jun 14 08:25:44 2005 From: ssharkins at bellsouth.net (Susan Harkins) Date: Tue, 14 Jun 2005 09:25:44 -0400 Subject: [AccessD] Australia - find nearest location In-Reply-To: <001c01c570bb$b6e603d0$6601a8c0@user> Message-ID: <20050614132543.ULNQ13045.ibm69aec.bellsouth.net@SUSANONE> FWIW, list mail has been bad all week for me -- not just accessd, but all of the lists I'm on -- I see responses long before the originals -- sometimes as long as an entire day. Also, my own postings are taking forever to show up. I don't think there's anything we can really do about it, except wait for it to work itself out. Susan H. What's happening? I posted this last week - and it just appeared on the list now.... From Paul.Rogers at SummitMedia.co.uk Tue Jun 14 08:56:53 2005 From: Paul.Rogers at SummitMedia.co.uk (Paul Rodgers) Date: Tue, 14 Jun 2005 14:56:53 +0100 Subject: [AccessD] Updating from Text to Number data type Message-ID: <1FF4D9105232EB4DA1901BB7D175877E03F706@s003.wolds.summitmedia.co.uk> I'm changing a one-table db over to a relational db. I have retained old fields with data so I can update the new look-up fields quickly. For example, Hostel records into UnitID via an update query to save doing hundreds by hand. Only ... UnitID becomes a Number data type, and Access2K won't let the data be moved across. Be most grateful for a nod in the right direction. All the best paul -- No virus found in this outgoing message. Checked by AVG Anti-Virus. Version: 7.0.323 / Virus Database: 267.7.1 - Release Date: 13/06/2005 From Paul.Rogers at SummitMedia.co.uk Tue Jun 14 09:01:41 2005 From: Paul.Rogers at SummitMedia.co.uk (Paul Rodgers) Date: Tue, 14 Jun 2005 15:01:41 +0100 Subject: [AccessD] Web page to Access Message-ID: <1FF4D9105232EB4DA1901BB7D175877E03F707@s003.wolds.summitmedia.co.uk> The client asks: Can information in a table (Name, Address, City, etc) on a webpage be fed (coded) automatically straight into Access 2k? I said, 'I don't think so.' But perhaps it is possible. Anyone any experience, please? All the best paul -- No virus found in this outgoing message. Checked by AVG Anti-Virus. Version: 7.0.323 / Virus Database: 267.7.1 - Release Date: 13/06/2005 From ssharkins at bellsouth.net Tue Jun 14 09:02:40 2005 From: ssharkins at bellsouth.net (Susan Harkins) Date: Tue, 14 Jun 2005 10:02:40 -0400 Subject: [AccessD] Web page to Access In-Reply-To: <1FF4D9105232EB4DA1901BB7D175877E03F707@s003.wolds.summitmedia.co.uk> Message-ID: <20050614140239.VCVL13045.ibm69aec.bellsouth.net@SUSANONE> I've asked about this and never found a direct way -- but using the Browser control, you can browse right inside Access, which might make the transfer process easier. Also, Drew has a cool API that forces an Access form to "stay on top" even while you're in a browser -- which makes it easier to cut and paste from the web page directly into your folder -- works well if you're just gleaning small, infrequent pieces of data. Susan H. The client asks: Can information in a table (Name, Address, City, etc) on a webpage be fed (coded) automatically straight into Access 2k? I said, 'I don't think so.' But perhaps it is possible. Anyone any experience, please? From dejpolsys at hotmail.com Tue Jun 14 09:08:40 2005 From: dejpolsys at hotmail.com (William Hindman) Date: Tue, 14 Jun 2005 10:08:40 -0400 Subject: [AccessD] Australia - find nearest location References: <20050614132543.ULNQ13045.ibm69aec.bellsouth.net@SUSANONE> Message-ID: ..move to civilization? :) William ----- Original Message ----- From: "Susan Harkins" To: "'Access Developers discussion and problem solving'" Sent: Tuesday, June 14, 2005 9:25 AM Subject: RE: [AccessD] Australia - find nearest location > FWIW, list mail has been bad all week for me -- not just accessd, but all > of > the lists I'm on -- I see responses long before the originals -- sometimes > as long as an entire day. Also, my own postings are taking forever to show > up. > > I don't think there's anything we can really do about it, except wait for > it > to work itself out. > > Susan H. > > What's happening? I posted this last week - and it just appeared on the > list > now.... > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > From ssharkins at bellsouth.net Tue Jun 14 09:14:55 2005 From: ssharkins at bellsouth.net (Susan Harkins) Date: Tue, 14 Jun 2005 10:14:55 -0400 Subject: [AccessD] Australia - find nearest location In-Reply-To: Message-ID: <20050614141559.OQHC5167.ibm59aec.bellsouth.net@SUSANONE> Hmmmm... William, you could be talking to Kath or me. :) Susan H. ..move to civilization? :) From reuben at gfconsultants.com Tue Jun 14 09:26:57 2005 From: reuben at gfconsultants.com (Reuben Cummings) Date: Tue, 14 Jun 2005 09:26:57 -0500 Subject: [AccessD] Updating from Text to Number data type In-Reply-To: <1FF4D9105232EB4DA1901BB7D175877E03F706@s003.wolds.summitmedia.co.uk> Message-ID: I've always been able to append or update records with text and change to a number at the same time. In fact, I did a bunch last week. Are you sure all the ID's will actually convert to numbers? Or the number type is correct for the incoming data. What is A2K telling you? Reuben Cummings GFC, LLC phone: 812.523.1017 email: reuben at gfconsultants.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Paul Rodgers Sent: Tuesday, June 14, 2005 8:57 AM To: 'Access Developers discussion and problem solving' Subject: RE: [AccessD] Updating from Text to Number data type I'm changing a one-table db over to a relational db. I have retained old fields with data so I can update the new look-up fields quickly. For example, Hostel records into UnitID via an update query to save doing hundreds by hand. Only ... UnitID becomes a Number data type, and Access2K won't let the data be moved across. Be most grateful for a nod in the right direction. All the best paul -- No virus found in this outgoing message. Checked by AVG Anti-Virus. Version: 7.0.323 / Virus Database: 267.7.1 - Release Date: 13/06/2005 -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From Paul.Rogers at SummitMedia.co.uk Tue Jun 14 10:38:17 2005 From: Paul.Rogers at SummitMedia.co.uk (Paul Rodgers) Date: Tue, 14 Jun 2005 16:38:17 +0100 Subject: [AccessD] Web page to Access Message-ID: <1FF4D9105232EB4DA1901BB7D175877E03F708@s003.wolds.summitmedia.co.uk> Thanks for the direction, Susan. Will explore that way. Cheers paul -----Original Message----- From: Susan Harkins [mailto:ssharkins at bellsouth.net] Sent: 14 June 2005 15:03 To: 'Access Developers discussion and problem solving' Subject: RE: [AccessD] Web page to Access I've asked about this and never found a direct way -- but using the Browser control, you can browse right inside Access, which might make the transfer process easier. Also, Drew has a cool API that forces an Access form to "stay on top" even while you're in a browser -- which makes it easier to cut and paste from the web page directly into your folder -- works well if you're just gleaning small, infrequent pieces of data. Susan H. The client asks: Can information in a table (Name, Address, City, etc) on a webpage be fed (coded) automatically straight into Access 2k? I said, 'I don't think so.' But perhaps it is possible. Anyone any experience, please? -- AccessD mailing list AccessD 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.323 / Virus Database: 267.7.1 - Release Date: 13/06/2005 -- No virus found in this outgoing message. Checked by AVG Anti-Virus. Version: 7.0.323 / Virus Database: 267.7.1 - Release Date: 13/06/2005 From martyconnelly at shaw.ca Tue Jun 14 12:01:10 2005 From: martyconnelly at shaw.ca (MartyConnelly) Date: Tue, 14 Jun 2005 10:01:10 -0700 Subject: [AccessD] Web page to Access References: <1FF4D9105232EB4DA1901BB7D175877E03F707@s003.wolds.summitmedia.co.uk> Message-ID: <42AF0D56.2010205@shaw.ca> It can be done by screen scraping via xmlhttp request object, winhhtp or wininet. Essentially you send a http post command like www.somesite.com?table=A&recordrange=100 It then returns a text string which is a copy of the html screen You then parse the returned html for the values desired. Really easy if html is xhtml compliant (ha ha rarely true) you can then use xslt to parse out values Drawbacks if html page format changes (common) you may have rewrite parser code. also some sites may do page redirects for security to stop this type of scraping or have hidden the asp source. Some of the bigger or more technically adept companies may provide this data as a web service. Needs some knowledge of html forms to get it to work.You may have to figure out button code on original html source of the request page. If you don't have a formal data sharing agreement with the company, I wouldn't bet the farm on it. for a whole variety of reasons. I know one VP of an airline in Canada went to jail or was severely fined for screenscraping a competitors route and load info from an internal website. He ummm borrowed a password from an ex-employee of the competitor and then hit the webpage thousands of time via code using this method, they sort of noticed the spike of hits in the middle of the night. Here is some sample code that works off a webservice for limited US Canada address testing. See here for info. http://ws.cdyne.com/psaddress/addresslookup.asmx/ You need a purchased license key other than 0 for a large volume. To use this code elsewhere You would just change oXMLHTTP.send string to whatever parameters comes behind "?" and then read or dump returned string to a file with the returned html text in oXMLHTTP.responseText and then parse text string for your values. This site returns xml rather than straight text so easier to parse with DOM or XSLT or XPath query. Sub test() Dim strAddress As String strAddress = AddrCorrect("One Microsoft Way", "Redmond", "WA", "98052-6399", "0") MsgBox strAddress strAddress = AddrCorrect("1 Microsoft Way", "Redmond", "WA", "98052-6399", "0") MsgBox strAddress strAddress = AddrCorrect("One Lake St", "Upper Saddle River", "NJ", "07458", "0") MsgBox strAddress strAddress = AddrCorrect("", "Redmond", "WA", "", "0") MsgBox strAddress strAddress = AddrCorrect("417 Fifth Ave", "New York", "NY", "10016", "0") 'more than 1 zip code MsgBox strAddress strAddress = AddrCorrect("2400 East Bayshore Road", "Palo Alto", "CA", "94303", "0") MsgBox strAddress Debug.Print strAddress End Sub Public Function AddrCorrect(ByRef address As String, ByRef city As String, ByRef state As String, ByRef zip As String, Optional LicenseKey As String) As String 'Dim oXMLHTTP As MSXML2.ServerXMLHTTP Dim oXMLHTTP As Object ' Call the web service to get an XML document Set oXMLHTTP = CreateObject("Msxml2.ServerXMLHTTP") ' Set oXMLHTTP = New MSXML2.ServerXMLHTTP oXMLHTTP.Open "POST", _ "http://ws.cdyne.com/psaddress/addresslookup.asmx/CheckAddress", _ False oXMLHTTP.setRequestHeader "Content-Type", _ "application/x-www-form-urlencoded" oXMLHTTP.send "AddressLine=" & URLEncode(address) & "&ZipCode=" & URLEncode(zip) & "&City=" & URLEncode(city) & "&StateAbbrev=" & URLEncode(state) & "&LicenseKey=" & URLEncode(LicenseKey) If oXMLHTTP.status <> 200 Then MsgBox "Service Unavailable. Try again later" Set oXMLHTTP = Nothing Exit Function End If 'Dim oDOM As Object ' doesn't work why Dim oDOM As MSXML2.DOMDocument50 Dim oDOM As MSXML2.DOMDocument40 Set oDOM = oXMLHTTP.responseXML 'Debug.Print oDOM.xml Dim oNL As Object Dim oCN As Object Dim oCC As Object Set oNL = oDOM.getElementsByTagName("Address") For Each oCN In oNL For Each oCC In oCN.childNodes Select Case LCase(oCC.nodeName) Case "serviceerror" If CBool(oCC.Text) = True Then AddrCorrect = "Service Error. Try again Later" GoTo leaveit End If Case "addresserror" If CBool(oCC.Text) = True Then AddrCorrect = "Address uncorrectable." Debug.Print oDOM.xml GoTo leaveit End If Case "servicecurrentlyunavailable" If CBool(oCC.Text) = True Then AddrCorrect = "Service Unavailable. Try again Later" GoTo leaveit End If Case "addressfoundbemorespecific" If CBool(oCC.Text) = True Then AddrCorrect = "Address Found. Be more Specific." GoTo leaveit End If Case "deliveryaddress" address = oCC.Text Case "city" city = oCC.Text Case "stateabbrev" state = oCC.Text Case "zipcode" zip = oCC.Text End Select Next Next AddrCorrect = "OK" ' Address corrected leaveit: Set oCC = Nothing Set oCN = Nothing Set oNL = Nothing Set oDOM = Nothing Set oXMLHTTP = Nothing End Function Public Function URLEncode(inS As String) As String Dim i As Long Dim inC, outC As String For i = 1 To Len(inS) inC = Mid(inS, i, 1) Select Case inC Case " " outC = "+" Case "&" outC = "%38" Case "!" To "~" outC = inC Case Else outC = "%" + Right("00" + Hex(Asc(inC)), 2) End Select URLEncode = URLEncode + outC Next i End Function Paul Rodgers wrote: >The client asks: Can information in a table (Name, Address, City, etc) on a >webpage be fed (coded) automatically straight into Access 2k? > >I said, 'I don't think so.' But perhaps it is possible. Anyone any >experience, please? > >All the best >paul > > > -- Marty Connelly Victoria, B.C. Canada From dejpolsys at hotmail.com Tue Jun 14 12:31:44 2005 From: dejpolsys at hotmail.com (William Hindman) Date: Tue, 14 Jun 2005 13:31:44 -0400 Subject: [AccessD] Australia - find nearest location References: <20050614141559.OQHC5167.ibm59aec.bellsouth.net@SUSANONE> Message-ID: ..no, no, no ...Kath lives in Australia ...you live in the outback :) William ----- Original Message ----- From: "Susan Harkins" To: "'Access Developers discussion and problem solving'" Sent: Tuesday, June 14, 2005 10:14 AM Subject: RE: [AccessD] Australia - find nearest location > Hmmmm... William, you could be talking to Kath or me. :) > > Susan H. > > ..move to civilization? :) > > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > From martyconnelly at shaw.ca Tue Jun 14 14:54:58 2005 From: martyconnelly at shaw.ca (MartyConnelly) Date: Tue, 14 Jun 2005 12:54:58 -0700 Subject: [AccessD] Detecting Database Connection Type? References: <20050614003805.CF92C4154D@mail01.powweb.com> Message-ID: <42AF3612.9020600@shaw.ca> You can try Win32_NetworkAdapter and Win32_NetworkAdapterConfiguration to get information about the network adapter. Also, you can obtain the information about what kind of connection (such as VPN, PPPoE..etc) is using in the remote PC from these two classes. You can have both wireless and lan connection made at same time. but you can set opening precedence from Network Control Panel advanced options. This code might tell you if wireless or Lan connection, haven't got wireless one to test. You can code to disable one of the Nics via Shell namespace. also this DOS command might tell you something netsh interface show interface > c:\temp\netsh.txt Sub testnics() 'this code takes several seconds to run initially Dim NICA As Object Dim Nic As Variant Dim lngCount As Long Dim StrNic As String Dim StrIP As String Dim i As Long Set NICA = GetObject("winmgmts:").InstancesOf("Win32_NetworkAdapterConfiguration") For Each Nic In NICA Debug.Print "============================" StrNic = Nic.Description 'type of NIC Debug.Print StrNic If Nic.IPEnabled Then lngCount = UBound(Nic.IPAddress) 'For i = 0 To lngCount StrIP = vbTab & Nic.IPAddress(0) 'array If StrIP <> "" Then Debug.Print "IP " & StrIP & " MAC address " & Nic.MACAddress Debug.Print "DNS Name " & Nic.DNSHostName End If ' Next End If Debug.Print vbNewLine Next Robert Gracie wrote: >Michael, > The problem is a little deeper that that. We have several laptop users, >each with wireless capabilities that automatically connect to the LAN. I >have instructed them, (sigh) time and time again, that they must plug into >the network, via a LAN jack before logging in the program. I'm at the point >now where I need to come up with a solution that works to prevent a wireless >connection to this one program. All laptop users are running Win XP. > >I sure hope there is a "Coded" solution, as I don't want to convert this >program to SQL.... > >I hope this helps... > >Robert > > > >-----Original Message----- >From: accessd-bounces at databaseadvisors.com >[mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Michael R Mattys >Sent: Monday, June 13, 2005 8:16 PM >To: Access Developers discussion and problem solving >Subject: Re: [AccessD] Detecting Database Connection Type? > >----- Original Message ----- >From: "Robert Gracie" >To: "'Access Developers discussion and problem solving'" > >Sent: Monday, June 13, 2005 7:56 PM >Subject: [AccessD] Detecting Database Connection Type? > > > > >> How can one check the type of connection to the back end data, making >> >> >sure > > >>the connection is not wireless? >> >> > >Robert, > >What prompted your question? >Is it not simply a matter of connection exists verus connection does not >exist? > >---- > >Michael R. Mattys >Mattys MapLib for Microsoft MapPoint >http://www.mattysconsulting.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 pedro at plex.nl Tue Jun 14 15:56:14 2005 From: pedro at plex.nl (Pedro Janssen) Date: Tue, 14 Jun 2005 22:56:14 +0200 Subject: [AccessD] invalid number of arguments References: <002a01c56f98$c62e6a90$fac581d5@pedro><017001c56fa4$4d7685e0$0202a8c0@default><001901c57015$3ddf5dc0$fac581d5@pedro><00c101c57019$b79955e0$0202a8c0@default><002301c5704b$9b1b4180$fac581d5@pedro> <00be01c5704f$e33b0370$0202a8c0@default> Message-ID: <007901c57128$6b131390$fac581d5@pedro> Hello Michael, no the error then still exists. Pedro Janssen ----- Original Message ----- From: "Michael R Mattys" To: "Access Developers discussion and problem solving" Sent: Monday, June 13, 2005 9:41 PM Subject: Re: [AccessD] invalid number of arguments > Pedro, > > Will the error go away if you set a reference to DAO 3.6 > and then put Dim db As DAO.Database? > ---- > > Michael R. Mattys > Mattys MapLib for Microsoft MapPoint > http://www.mattysconsulting.com > > > > ----- Original Message ----- > From: "Pedro Janssen" > To: "Access Developers discussion and problem solving" > > Sent: Monday, June 13, 2005 3:10 PM > Subject: Re: [AccessD] invalid number of arguments > > > > Thanks for this code Michael, > > > > but i need to solve the invalid argument error anyway, because i have > other > > codes with the same problem. > > > > Pedro Janssen > > > > > > ----- Original Message ----- > > From: "Michael R Mattys" > > To: "Access Developers discussion and problem solving" > > > > Sent: Monday, June 13, 2005 3:13 PM > > Subject: Re: [AccessD] invalid number of arguments > > > > > > > Pedro, > > > > > > Sorry. This is how I remove linked tables: > > > To make it so that you remove only specific tables > > > you modify it so that you end up with Neal's function. > > > > > > Function RemoveLinkedTbls() > > > Dim db As DAO.Database, tdf As DAO.TableDef > > > Set db = CurrentDb > > > For Each tdf In db.TableDefs > > > If tdf.Connect <> "" Then > > > DoCmd.DeleteObject acTable, tdf.Name > > > End If > > > Next > > > Set db = Nothing > > > End Function > > > ---- > > > > > > Michael R. Mattys > > > Mattys MapLib for Microsoft MapPoint > > > http://www.mattysconsulting.com > > > > > > > > > > > > ----- Original Message ----- > > > From: "Pedro Janssen" > > > To: "Access Developers discussion and problem solving" > > > > > > Sent: Monday, June 13, 2005 8:41 AM > > > Subject: Re: [AccessD] invalid number of arguments > > > > > > > > > > Hello Michael, > > > > > > > > when using db.TableDefs(strTableName).Delete it gives an > compile-error: > > > > Can't find methode or member. > > > > > > > > Any other ideas. > > > > > > > > Pedro Janssen > > > > > > > > > > > > > > > > ----- Original Message ----- > > > > From: "Michael R Mattys" > > > > To: "Access Developers discussion and problem solving" > > > > > > > > Sent: Monday, June 13, 2005 1:13 AM > > > > Subject: Re: [AccessD] invalid number of arguments > > > > > > > > > > > > > ----- Original Message ----- > > > > > From: "Pedro Janssen" > > > > > To: > > > > > Sent: Sunday, June 12, 2005 5:50 PM > > > > > Subject: [AccessD] invalid number of arguments > > > > > > > > > > > > > > > Hello Group, > > > > > > > > > > i am using a function that Neil Kling provided me in the past. > > > > > When running it from an expression i get an error: > > > > > > > > > > Invalid number of arguments. > > > > > > > > > > Who can help me with this > > > > > > > > > > ------ > > > > > > > > > > Pedro, > > > > > > > > > > It should be > > > > > > > > > > db.TableDefs(strTableName).Delete > > > > > > > > > > ---- > > > > > > > > > > Michael R. Mattys > > > > > Mattys MapLib for Microsoft MapPoint > > > > > http://www.mattysconsulting.com > > > > > -- > > > > > AccessD mailing list > > > > > AccessD at databaseadvisors.com > > > > > http://databaseadvisors.com/mailman/listinfo/accessd > > > > > Website: http://www.databaseadvisors.com > > > > > > > > > > > > > > > > > -- > > > > AccessD mailing list > > > > AccessD at databaseadvisors.com > > > > http://databaseadvisors.com/mailman/listinfo/accessd > > > > Website: http://www.databaseadvisors.com > > > > > > -- > > > AccessD mailing list > > > AccessD at databaseadvisors.com > > > http://databaseadvisors.com/mailman/listinfo/accessd > > > Website: http://www.databaseadvisors.com > > > > > > > > > -- > > AccessD mailing list > > AccessD at databaseadvisors.com > > http://databaseadvisors.com/mailman/listinfo/accessd > > 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 Jun 14 16:26:37 2005 From: pedro at plex.nl (Pedro Janssen) Date: Tue, 14 Jun 2005 23:26:37 +0200 Subject: [AccessD] invalid number of arguments References: <30BC111F638EB54082001A7E7282FE4107F3D6@elmo.co.montgomery.ny.us> Message-ID: <007a01c57128$6b8d73b0$fac581d5@pedro> Indeed i am not passing in anything, now i understand why the error occurs. Is there no other way to work arround this. Pedro Janssen ----- Original Message ----- From: "Neal Kling" To: "Access Developers discussion and problem solving" Sent: Monday, June 13, 2005 9:51 PM Subject: RE: [AccessD] invalid number of arguments > I believe he's passing nothing, which of course results in the missing parameter. Perhaps you can explain this better than I. > > Neal > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Mike & Doris > Manning > Sent: Monday, June 13, 2005 3:46 PM > To: 'Access Developers discussion and problem solving' > Subject: RE: [AccessD] invalid number of arguments > > > What are you passing in as the value of "tblDebiteurAlgemeen"? > > Doris Manning > Database Administrator > Hargrove Inc. > www.hargroveinc.com > > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Pedro Janssen > Sent: Monday, June 13, 2005 3:15 PM > To: Access Developers discussion and problem solving > Subject: Re: [AccessD] invalid number of arguments > > > Hello Neal, > > i now have tried: > > Function DeleteTableLink(tblDebiteurAlgemeen As String) As Boolean On Error > GoTo Err_DeleteTableLink > Dim db As Database > > Set db = DBEngine(0)(0) > db.TableDefs.Delete (tblDebiteurAlgemeen) > db.TableDefs.Refresh > > DeleteTableLink = True > > Exit_DeleteTableLink: > > etc.etc.etc > > > but i still have the error. > > Anyone any ideas. > > Pedro > > > > ----- Original Message ----- > From: "Neal Kling" > To: "Access Developers discussion and problem solving" > > Sent: Monday, June 13, 2005 2:52 PM > Subject: RE: [AccessD] invalid number of arguments > > > > I see you're setting the table variable right in the function. But the > function it's self is still expecting you to pass a table name. I suspect > this may be where you are having a problem. Either redeclare the function > without the strTableName parameter, or pass it the table name. In other > words instead of setting strTableName in the function, call the function > like this: > > > > DeleteTableLink "tblDebiteurAlgemeen" > > > > Don't forget to comment out the line > > strTableName = "tblDebiteurAlgemeen" > > > > Neal > > > > -----Original Message----- > > From: accessd-bounces at databaseadvisors.com > > [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Pedro > > Janssen > > Sent: Sunday, June 12, 2005 5:51 PM > > To: AccessD at databaseadvisors.com > > Subject: [AccessD] invalid number of arguments > > > > > > Hello Group, > > > > i am using a function that Neil Kling provided me in the past. When > > running it from an expression i get an error: > > > > Invalid number of arguments. > > > > Who can help me with this > > > > Pedro Janssen > > > > > > > > > > Function DeleteTableLink(strTableName As String) As Boolean On Error > > GoTo Err_DeleteTableLink > > Dim db As Database > > > > strTableName = "tblDebiteurAlgemeen" > > > > Set db = DBEngine(0)(0) > > db.TableDefs.Delete strTableName > > db.TableDefs.Refresh > > > > DeleteTableLink = True > > > > Exit_DeleteTableLink: > > Exit Function > > > > Err_DeleteTableLink: > > Select Case Err > > Case 0 'insert Errors you wish to ignore here > > Resume Next > > Case 3265 'Item doesn't exist in collection > > Resume Next > > Case Else 'All other errors will trap > > Beep > > MsgBox Err.Number & "; " & Err.Description, , "Error in function > basObjectHandlers.DeleteTableLink" > > Resume Exit_DeleteTableLink > > End Select > > Resume 0 'FOR TROUBLESHOOTING > > End Function > > -- > > AccessD mailing list > > AccessD at databaseadvisors.com > > http://databaseadvisors.com/mailman/listinfo/accessd > > Website: http://www.databaseadvisors.com > > -- > > AccessD mailing list > > AccessD at databaseadvisors.com > > http://databaseadvisors.com/mailman/listinfo/accessd > > Website: http://www.databaseadvisors.com > > > > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > 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 Jun 14 16:30:19 2005 From: pedro at plex.nl (Pedro Janssen) Date: Tue, 14 Jun 2005 23:30:19 +0200 Subject: [AccessD] invalid number of arguments References: <30BC111F638EB54082001A7E7282FE41114D45@elmo.co.montgomery.ny.us> Message-ID: <007b01c57128$6c07acc0$fac581d5@pedro> Hello Neal, WQhen using: ""Function DeleteTableLink() as Boolean Then you would need to specify which table in the function like this db.TableDefs.Delete "tblDebiteurAlgemeen" "" It not only removes the link, but also deletes the table. What i would like is to remove the link, so that the table can be used. Can you explain, where and how to use: DeleteTableLink "tblDebiteurAlgemeen" in the code. Maybe i misunderstand what you mean because when using this after Function, i get Compiling errors, because the code expects instruction ends. Let me explain a little more why i need to delete the link: I have a linked table. I need a copy of that table (structure and data) , without the copy is beeing linked to. After that i need to adjust, by code some field names. Who has done this before and can help me with this?? Pedro Janssen ----- Original Message ----- From: "Neal Kling" To: "Access Developers discussion and problem solving" Sent: Monday, June 13, 2005 9:49 PM Subject: RE: [AccessD] invalid number of arguments > Pedro, > > This line > > Function DeleteTableLink(tblDebiteurAlgemeen As String) As Boolean > > is telling the function that it is going to expect you to pass it a string parameter of the name of the table you want to delete. > > Where you are calling the function it would have to done like this: > DeleteTableLink "tblDebiteurAlgemeen" > > That way the function knows which table to delete. If this is causing you too many problems you can get rid of the requirement for that parameter and declare the function like this: > > Function DeleteTableLink() as Boolean > > Then you would need to specify which table in the function like this > > db.TableDefs.Delete "tblDebiteurAlgemeen" > > The problem is now you have a function that will only do one thing. It won't be reusable. > > Neal > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Pedro Janssen > Sent: Monday, June 13, 2005 3:15 PM > To: Access Developers discussion and problem solving > Subject: Re: [AccessD] invalid number of arguments > > > Hello Neal, > > i now have tried: > > Function DeleteTableLink(tblDebiteurAlgemeen As String) As Boolean > On Error GoTo Err_DeleteTableLink > Dim db As Database > > Set db = DBEngine(0)(0) > db.TableDefs.Delete (tblDebiteurAlgemeen) > db.TableDefs.Refresh > > DeleteTableLink = True > > Exit_DeleteTableLink: > > etc.etc.etc > > > but i still have the error. > > Anyone any ideas. > > Pedro > > > > ----- Original Message ----- > From: "Neal Kling" > To: "Access Developers discussion and problem solving" > > Sent: Monday, June 13, 2005 2:52 PM > Subject: RE: [AccessD] invalid number of arguments > > > > I see you're setting the table variable right in the function. But the > function it's self is still expecting you to pass a table name. I suspect > this may be where you are having a problem. Either redeclare the function > without the strTableName parameter, or pass it the table name. In other > words instead of setting strTableName in the function, call the function > like this: > > > > DeleteTableLink "tblDebiteurAlgemeen" > > > > Don't forget to comment out the line > > strTableName = "tblDebiteurAlgemeen" > > > > Neal > > > > -----Original Message----- > > From: accessd-bounces at databaseadvisors.com > > [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Pedro Janssen > > Sent: Sunday, June 12, 2005 5:51 PM > > To: AccessD at databaseadvisors.com > > Subject: [AccessD] invalid number of arguments > > > > > > Hello Group, > > > > i am using a function that Neil Kling provided me in the past. > > When running it from an expression i get an error: > > > > Invalid number of arguments. > > > > Who can help me with this > > > > Pedro Janssen > > > > > > > > > > Function DeleteTableLink(strTableName As String) As Boolean > > On Error GoTo Err_DeleteTableLink > > Dim db As Database > > > > strTableName = "tblDebiteurAlgemeen" > > > > Set db = DBEngine(0)(0) > > db.TableDefs.Delete strTableName > > db.TableDefs.Refresh > > > > DeleteTableLink = True > > > > Exit_DeleteTableLink: > > Exit Function > > > > Err_DeleteTableLink: > > Select Case Err > > Case 0 'insert Errors you wish to ignore here > > Resume Next > > Case 3265 'Item doesn't exist in collection > > Resume Next > > Case Else 'All other errors will trap > > Beep > > MsgBox Err.Number & "; " & Err.Description, , "Error in function > basObjectHandlers.DeleteTableLink" > > Resume Exit_DeleteTableLink > > End Select > > Resume 0 'FOR TROUBLESHOOTING > > End Function > > -- > > AccessD mailing list > > AccessD at databaseadvisors.com > > http://databaseadvisors.com/mailman/listinfo/accessd > > Website: http://www.databaseadvisors.com > > -- > > AccessD mailing list > > AccessD at databaseadvisors.com > > http://databaseadvisors.com/mailman/listinfo/accessd > > Website: http://www.databaseadvisors.com > > > > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > -- > 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 Jun 14 23:31:11 2005 From: D.Dick at uws.edu.au (Darren Dick) Date: Wed, 15 Jun 2005 14:31:11 +1000 Subject: [AccessD] A2003:Connection Method failing (SOLVED) Message-ID: <2FDE83AF1A69C84796CBD13788DDA8833FF3C8@BONHAM.AD.UWS.EDU.AU> Never Mind Updated to latest MDAC and that sorted it See ya DD -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Darren Dick Sent: Tuesday, June 14, 2005 12:28 PM To: accessd at databaseadvisors.com Subject: [AccessD] A2003:Connection Method failing Hello all (Cross Posted to Sue and Dmitri's list) The code below used to work - now it doesn't Our enterprise has moved to Exchange - does that matter? The error is ERR.Number = -2147024769 ERR.Description = Method 'Connection' of object '_CurrentProject' failed Any suggestions? Code snip below Dim rs As Object Dim con As Object Dim objOutlook As Outlook.Application Dim objAppt As Outlook.AppointmentItem Dim objRecurPattern As Outlook.RecurrencePattern Set objOutlook = CreateObject("Outlook.Application") Set objAppt = objOutlook.CreateItem(olAppointmentItem) Set rs = CreateObject("ADODB.Recordset") Set con = Application.CurrentProject.Connection '<=============Error here -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From marvkin at hotmail.com Wed Jun 15 01:25:32 2005 From: marvkin at hotmail.com (marvin hunkin) Date: Wed, 15 Jun 2005 16:25:32 +1000 Subject: [AccessD] ms access 2003 query Message-ID: Hi. some one mentioned on the list a while back, how to get round of activating the advanced wizards using the tool box in ms access 2003. how to get round, having no short cut keys, and no way to activate the say command button wizard in form or report design of a form or report in ms access 2003. if any one got any tips on how to get round this problem, without dragging and dropping the mouse, and tried the jaws drag and drop feature, but still would not activate it without sighted assistance. did ask freedom scientific, but had no plans to fix this problem, and did report it to tech support over 12 months ago before jaws 6.0 came out last year. so if any one has got me the answer i am looking for, then let me know. cheers Marvin. From Paul.Rogers at SummitMedia.co.uk Wed Jun 15 03:11:02 2005 From: Paul.Rogers at SummitMedia.co.uk (Paul Rodgers) Date: Wed, 15 Jun 2005 09:11:02 +0100 Subject: [AccessD] Web page to Access Message-ID: <1FF4D9105232EB4DA1901BB7D175877E03F70A@s003.wolds.summitmedia.co.uk> That's amazing, Marty. Thanks very much for the guidance and for the code etc. Much obliged to you. Cheers paul -----Original Message----- From: MartyConnelly [mailto:martyconnelly at shaw.ca] Sent: 14 June 2005 18:01 To: Access Developers discussion and problem solving Subject: Re: [AccessD] Web page to Access It can be done by screen scraping via xmlhttp request object, winhhtp or wininet. Essentially you send a http post command like www.somesite.com?table=A&recordrange=100 It then returns a text string which is a copy of the html screen You then parse the returned html for the values desired. Really easy if html is xhtml compliant (ha ha rarely true) you can then use xslt to parse out values Drawbacks if html page format changes (common) you may have rewrite parser code. also some sites may do page redirects for security to stop this type of scraping or have hidden the asp source. Some of the bigger or more technically adept companies may provide this data as a web service. Needs some knowledge of html forms to get it to work.You may have to figure out button code on original html source of the request page. If you don't have a formal data sharing agreement with the company, I wouldn't bet the farm on it. for a whole variety of reasons. I know one VP of an airline in Canada went to jail or was severely fined for screenscraping a competitors route and load info from an internal website. He ummm borrowed a password from an ex-employee of the competitor and then hit the webpage thousands of time via code using this method, they sort of noticed the spike of hits in the middle of the night. Here is some sample code that works off a webservice for limited US Canada address testing. See here for info. http://ws.cdyne.com/psaddress/addresslookup.asmx/ You need a purchased license key other than 0 for a large volume. To use this code elsewhere You would just change oXMLHTTP.send string to whatever parameters comes behind "?" and then read or dump returned string to a file with the returned html text in oXMLHTTP.responseText and then parse text string for your values. This site returns xml rather than straight text so easier to parse with DOM or XSLT or XPath query. Sub test() Dim strAddress As String strAddress = AddrCorrect("One Microsoft Way", "Redmond", "WA", "98052-6399", "0") MsgBox strAddress strAddress = AddrCorrect("1 Microsoft Way", "Redmond", "WA", "98052-6399", "0") MsgBox strAddress strAddress = AddrCorrect("One Lake St", "Upper Saddle River", "NJ", "07458", "0") MsgBox strAddress strAddress = AddrCorrect("", "Redmond", "WA", "", "0") MsgBox strAddress strAddress = AddrCorrect("417 Fifth Ave", "New York", "NY", "10016", "0") 'more than 1 zip code MsgBox strAddress strAddress = AddrCorrect("2400 East Bayshore Road", "Palo Alto", "CA", "94303", "0") MsgBox strAddress Debug.Print strAddress End Sub Public Function AddrCorrect(ByRef address As String, ByRef city As String, ByRef state As String, ByRef zip As String, Optional LicenseKey As String) As String 'Dim oXMLHTTP As MSXML2.ServerXMLHTTP Dim oXMLHTTP As Object ' Call the web service to get an XML document Set oXMLHTTP = CreateObject("Msxml2.ServerXMLHTTP") ' Set oXMLHTTP = New MSXML2.ServerXMLHTTP oXMLHTTP.Open "POST", _ "http://ws.cdyne.com/psaddress/addresslookup.asmx/CheckAddress", _ False oXMLHTTP.setRequestHeader "Content-Type", _ "application/x-www-form-urlencoded" oXMLHTTP.send "AddressLine=" & URLEncode(address) & "&ZipCode=" & URLEncode(zip) & "&City=" & URLEncode(city) & "&StateAbbrev=" & URLEncode(state) & "&LicenseKey=" & URLEncode(LicenseKey) If oXMLHTTP.status <> 200 Then MsgBox "Service Unavailable. Try again later" Set oXMLHTTP = Nothing Exit Function End If 'Dim oDOM As Object ' doesn't work why Dim oDOM As MSXML2.DOMDocument50 Dim oDOM As MSXML2.DOMDocument40 Set oDOM = oXMLHTTP.responseXML 'Debug.Print oDOM.xml Dim oNL As Object Dim oCN As Object Dim oCC As Object Set oNL = oDOM.getElementsByTagName("Address") For Each oCN In oNL For Each oCC In oCN.childNodes Select Case LCase(oCC.nodeName) Case "serviceerror" If CBool(oCC.Text) = True Then AddrCorrect = "Service Error. Try again Later" GoTo leaveit End If Case "addresserror" If CBool(oCC.Text) = True Then AddrCorrect = "Address uncorrectable." Debug.Print oDOM.xml GoTo leaveit End If Case "servicecurrentlyunavailable" If CBool(oCC.Text) = True Then AddrCorrect = "Service Unavailable. Try again Later" GoTo leaveit End If Case "addressfoundbemorespecific" If CBool(oCC.Text) = True Then AddrCorrect = "Address Found. Be more Specific." GoTo leaveit End If Case "deliveryaddress" address = oCC.Text Case "city" city = oCC.Text Case "stateabbrev" state = oCC.Text Case "zipcode" zip = oCC.Text End Select Next Next AddrCorrect = "OK" ' Address corrected leaveit: Set oCC = Nothing Set oCN = Nothing Set oNL = Nothing Set oDOM = Nothing Set oXMLHTTP = Nothing End Function Public Function URLEncode(inS As String) As String Dim i As Long Dim inC, outC As String For i = 1 To Len(inS) inC = Mid(inS, i, 1) Select Case inC Case " " outC = "+" Case "&" outC = "%38" Case "!" To "~" outC = inC Case Else outC = "%" + Right("00" + Hex(Asc(inC)), 2) End Select URLEncode = URLEncode + outC Next i End Function Paul Rodgers wrote: >The client asks: Can information in a table (Name, Address, City, etc) on a >webpage be fed (coded) automatically straight into Access 2k? > >I said, 'I don't think so.' But perhaps it is possible. Anyone any >experience, please? > >All the best >paul > > > -- Marty Connelly Victoria, B.C. Canada -- AccessD mailing list AccessD 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.323 / Virus Database: 267.7.1 - Release Date: 13/06/2005 -- No virus found in this outgoing message. Checked by AVG Anti-Virus. Version: 7.0.323 / Virus Database: 267.7.3/15 - Release Date: 14/06/2005 From Paul.Rogers at SummitMedia.co.uk Wed Jun 15 03:32:04 2005 From: Paul.Rogers at SummitMedia.co.uk (Paul Rodgers) Date: Wed, 15 Jun 2005 09:32:04 +0100 Subject: [AccessD] Updating from Text to Number data type Message-ID: <1FF4D9105232EB4DA1901BB7D175877E03F70C@s003.wolds.summitmedia.co.uk> Hi Reuben You are right, but in this case the field is linked to a lookup table. To make it 'easy', I have a field with the information I want to appear in the new lookup field. The lookup field's data type is Number. The information's data type is text, because it is text. It seems the only way is to update it all by hand because I can't change the data types ... Many thanks paul -----Original Message----- From: Reuben Cummings [mailto:reuben at gfconsultants.com] Sent: 14 June 2005 15:27 To: Access Developers discussion and problem solving Subject: RE: [AccessD] Updating from Text to Number data type I've always been able to append or update records with text and change to a number at the same time. In fact, I did a bunch last week. Are you sure all the ID's will actually convert to numbers? Or the number type is correct for the incoming data. What is A2K telling you? Reuben Cummings GFC, LLC phone: 812.523.1017 email: reuben at gfconsultants.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Paul Rodgers Sent: Tuesday, June 14, 2005 8:57 AM To: 'Access Developers discussion and problem solving' Subject: RE: [AccessD] Updating from Text to Number data type I'm changing a one-table db over to a relational db. I have retained old fields with data so I can update the new look-up fields quickly. For example, Hostel records into UnitID via an update query to save doing hundreds by hand. Only ... UnitID becomes a Number data type, and Access2K won't let the data be moved across. Be most grateful for a nod in the right direction. All the best paul -- No virus found in this outgoing message. Checked by AVG Anti-Virus. Version: 7.0.323 / Virus Database: 267.7.1 - Release Date: 13/06/2005 -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/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.323 / Virus Database: 267.7.1 - Release Date: 13/06/2005 -- No virus found in this outgoing message. Checked by AVG Anti-Virus. Version: 7.0.323 / Virus Database: 267.7.3/15 - Release Date: 14/06/2005 From artful at rogers.com Wed Jun 15 06:08:02 2005 From: artful at rogers.com (Arthur Fuller) Date: Wed, 15 Jun 2005 07:08:02 -0400 Subject: [AccessD] Iterate through similarlnamed columns in a recordset In-Reply-To: References: Message-ID: <42B00C12.6090004@rogers.com> You have a table like this (let's not bring up normalisation)... PK autonumber Size1 long Height1 long Weight1 long (The last three are repeated 3 times, so their last digits are 2, 3 and 4.) Assume the required vars are declared and filled. rs = New ADODB.RecordSet. etc. I want to write a loop something like this: For i = 1 to 4 debug.print rs("Size"&i) etc. Next But I can't seem to get it right. I tried using eval() and various other approaches. Ideas? Arthur From Gustav at cactus.dk Wed Jun 15 06:49:18 2005 From: Gustav at cactus.dk (Gustav Brock) Date: Wed, 15 Jun 2005 13:49:18 +0200 Subject: [AccessD] Iterate through similarlnamed columns in a recordset Message-ID: Hi Arthur Did you send this today? And the 11. June too? /gustav >>> artful at rogers.com 06/15 1:08 pm >>> You have a table like this (let's not bring up normalisation)... PK autonumber Size1 long Height1 long Weight1 long (The last three are repeated 3 times, so their last digits are 2, 3 and 4.) Assume the required vars are declared and filled. rs = New ADODB.RecordSet. etc. I want to write a loop something like this: For i = 1 to 4 debug.print rs("Size"&i) etc. Next But I can't seem to get it right. I tried using eval() and various other approaches. Ideas? Arthur -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From artful at rogers.com Wed Jun 15 08:17:30 2005 From: artful at rogers.com (Arthur Fuller) Date: Wed, 15 Jun 2005 09:17:30 -0400 Subject: [AccessD] Iterate through similarlnamed columns in a recordset In-Reply-To: References: Message-ID: <42B02A6A.1080004@rogers.com> Gustav Brock wrote: >Hi Arthur > >Did you send this today? And the 11. June too? > >/gustav > > > >>>>artful at rogers.com 06/15 1:08 pm >>> >>>> >>>> >You have a table like this (let's not bring up normalisation)... > >PK autonumber >Size1 long >Height1 long >Weight1 long > >(The last three are repeated 3 times, so their last digits are 2, 3 and >4.) > >Assume the required vars are declared and filled. rs = New >ADODB.RecordSet. etc. >I want to write a loop something like this: > >For i = 1 to 4 > debug.print rs("Size"&i) > etc. >Next > >But I can't seem to get it right. I tried using eval() and various >other >approaches. Ideas? > >Arthur > > > I guess I did. Suddenly Thunderbird is screwing up on me big time. I may (gasp) return to Outlook. From mmattys at rochester.rr.com Wed Jun 15 08:49:39 2005 From: mmattys at rochester.rr.com (Michael R Mattys) Date: Wed, 15 Jun 2005 09:49:39 -0400 Subject: [AccessD] invalid number of arguments References: <30BC111F638EB54082001A7E7282FE41114D45@elmo.co.montgomery.ny.us> <007b01c57128$6c07acc0$fac581d5@pedro> Message-ID: <00ba01c571b1$155f3bc0$0202a8c0@default> ----- Original Message ----- From: "Pedro Janssen" To: "Access Developers discussion and problem solving" Sent: Tuesday, June 14, 2005 5:30 PM Subject: Re: [AccessD] invalid number of arguments [Snip] > Let me explain a little more why i need to delete the link: > I have a linked table. > I need a copy of that table (structure and data) , without the copy is > beeing linked to. > After that i need to adjust, by code some field names. > > Who has done this before and can help me with this?? [Snip] Pedro, I have done and can do what you're asking. It may be that you only need to ALIAS fields from your linked table in a query. Then again, you may have to delete the link in order to manipulate fields in the external database. Please explain exactly what you are going to do and we'll see which option needs implementation. ---- Michael R. Mattys Mattys MapLib for Microsoft MapPoint http://www.mattysconsulting.com From Gustav at cactus.dk Wed Jun 15 09:54:17 2005 From: Gustav at cactus.dk (Gustav Brock) Date: Wed, 15 Jun 2005 16:54:17 +0200 Subject: [AccessD] Iterate through similarlnamed columns in a recordset Message-ID: Hi Arthur I see. But did you find out? /gustav >>> artful at rogers.com 06/15 3:17 pm >>> Gustav Brock wrote: >Hi Arthur > >Did you send this today? And the 11. June too? > >/gustav > > > >>>>artful at rogers.com 06/15 1:08 pm >>> >>>> >>>> >You have a table like this (let's not bring up normalisation)... > >PK autonumber >Size1 long >Height1 long >Weight1 long > >(The last three are repeated 3 times, so their last digits are 2, 3 and >4.) > >Assume the required vars are declared and filled. rs = New >ADODB.RecordSet. etc. >I want to write a loop something like this: > >For i = 1 to 4 > debug.print rs("Size"&i) > etc. >Next > >But I can't seem to get it right. I tried using eval() and various >other >approaches. Ideas? > >Arthur > > > I guess I did. Suddenly Thunderbird is screwing up on me big time. I may (gasp) return to Outlook. From reuben at gfconsultants.com Wed Jun 15 09:57:04 2005 From: reuben at gfconsultants.com (Reuben Cummings) Date: Wed, 15 Jun 2005 09:57:04 -0500 Subject: [AccessD] Updating from Text to Number data type In-Reply-To: <1FF4D9105232EB4DA1901BB7D175877E03F70C@s003.wolds.summitmedia.co.uk> Message-ID: I think you are saying that you have a field in one table with datatype text. It is being filled by a combo box using a table with datatype number. Is that correct? I'm sure it can be done (I've been doing a lot of this stuff lately due to some new contracts we have). Send me the tables (including any relationships) offline and I'll check it out. Reuben Cummings GFC, LLC phone: 812.523.1017 email: reuben at gfconsultants.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Paul Rodgers Sent: Wednesday, June 15, 2005 3:32 AM To: 'Access Developers discussion and problem solving' Subject: RE: [AccessD] Updating from Text to Number data type Hi Reuben You are right, but in this case the field is linked to a lookup table. To make it 'easy', I have a field with the information I want to appear in the new lookup field. The lookup field's data type is Number. The information's data type is text, because it is text. It seems the only way is to update it all by hand because I can't change the data types ... Many thanks paul -----Original Message----- From: Reuben Cummings [mailto:reuben at gfconsultants.com] Sent: 14 June 2005 15:27 To: Access Developers discussion and problem solving Subject: RE: [AccessD] Updating from Text to Number data type I've always been able to append or update records with text and change to a number at the same time. In fact, I did a bunch last week. Are you sure all the ID's will actually convert to numbers? Or the number type is correct for the incoming data. What is A2K telling you? Reuben Cummings GFC, LLC phone: 812.523.1017 email: reuben at gfconsultants.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Paul Rodgers Sent: Tuesday, June 14, 2005 8:57 AM To: 'Access Developers discussion and problem solving' Subject: RE: [AccessD] Updating from Text to Number data type I'm changing a one-table db over to a relational db. I have retained old fields with data so I can update the new look-up fields quickly. For example, Hostel records into UnitID via an update query to save doing hundreds by hand. Only ... UnitID becomes a Number data type, and Access2K won't let the data be moved across. Be most grateful for a nod in the right direction. All the best paul -- No virus found in this outgoing message. Checked by AVG Anti-Virus. Version: 7.0.323 / Virus Database: 267.7.1 - Release Date: 13/06/2005 -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/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.323 / Virus Database: 267.7.1 - Release Date: 13/06/2005 -- No virus found in this outgoing message. Checked by AVG Anti-Virus. Version: 7.0.323 / Virus Database: 267.7.3/15 - Release Date: 14/06/2005 -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From fhtapia at gmail.com Wed Jun 15 11:30:00 2005 From: fhtapia at gmail.com (Francisco Tapia) Date: Wed, 15 Jun 2005 09:30:00 -0700 Subject: [AccessD] ms access 2003 query In-Reply-To: References: Message-ID: I did a quick search in my inbox for all the accessD mail that I've received, and found nothing in either the Access-L or AccessD list for "advanced wizards" I just received my copy of Access 2003 last week and it seems everything is fine w/ it except I must load jet 4sp8 in order for it to stop crying like a baby ;). for me to do that I have to have the helpdesk "PUSH" out the upgrade to the clients as many people won't have the admin rights required for this. On 6/14/05, marvin hunkin wrote: > > Hi. > some one mentioned on the list a while back, how to get round of > activating > the advanced wizards using the tool box in ms access 2003. > how to get round, having no short cut keys, and no way to activate the say > command button wizard in form or report design of a form or report in ms > access 2003. > if any one got any tips on how to get round this problem, without dragging > and dropping the mouse, and tried the jaws drag and drop feature, but > still > would not activate it without sighted assistance. > did ask freedom scientific, but had no plans to fix this problem, and did > report it to tech support over 12 months ago before jaws 6.0 came out last > year. > so if any one has got me the answer i am looking for, then let me know. > cheers Marvin. > > > -- > 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 accessd at shaw.ca Wed Jun 15 12:30:48 2005 From: accessd at shaw.ca (Jim Lawrence) Date: Wed, 15 Jun 2005 10:30:48 -0700 Subject: [AccessD] Iterate through similarlnamed columns in a recordset In-Reply-To: <42B00C12.6090004@rogers.com> Message-ID: <0II40031UZB9PW@l-daemon> Hi Arthur: Here is a piece of code that loops through a couple tables and all fields. With rs1 .MoveLast .MoveFirst Do While .EOF = False rs2.AddNew For i = 0 To .Fields.Count - 1 rs2.Fields(i).Value = .Fields(i).Value Next rs2.Update .MoveNext Loop End with HTH Jim -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Arthur Fuller Sent: Wednesday, June 15, 2005 4:08 AM To: Access Developers discussion and problem solving Subject: [AccessD] Iterate through similarlnamed columns in a recordset You have a table like this (let's not bring up normalisation)... PK autonumber Size1 long Height1 long Weight1 long (The last three are repeated 3 times, so their last digits are 2, 3 and 4.) Assume the required vars are declared and filled. rs = New ADODB.RecordSet. etc. I want to write a loop something like this: For i = 1 to 4 debug.print rs("Size"&i) etc. Next But I can't seem to get it right. I tried using eval() and various other approaches. Ideas? 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 Wed Jun 15 12:39:25 2005 From: bchacc at san.rr.com (Rocky Smolin - Beach Access Software) Date: Wed, 15 Jun 2005 10:39:25 -0700 Subject: [AccessD] Design View Increment Message-ID: <018701c571d1$2c609d80$6801a8c0@HAL9004> Dear List: I use the control and arrow keys to move controls around on forms and reports because of the fine control your get that way. In Access 2000 the increment (ctrl-Up Arrow, for instance) was very small. I recently moved to Access 2003 and the increment is very large. I tries increasing the Grid X Grid Y values but it didn't help. Is there a setting that controls the increment? MTIA, Rocky Smolin Beach Access Software http://www.e-z-mrp.com 858-259-4334 From newsgrps at dalyn.co.nz Wed Jun 15 12:55:40 2005 From: newsgrps at dalyn.co.nz (David Emerson) Date: Thu, 16 Jun 2005 05:55:40 +1200 Subject: [AccessD] Design View Increment In-Reply-To: <018701c571d1$2c609d80$6801a8c0@HAL9004> References: <018701c571d1$2c609d80$6801a8c0@HAL9004> Message-ID: <6.2.1.2.0.20050616055031.02b302d0@mail.dalyn.co.nz> Rocky, I don't have A2003 but have noticed funny behaviour in A2002 - sometimes holding the Ctrl key combination behaves as if the Snap To Grid option is checked in the format menu bar (ie with large increments). Then when I check the Snap to Grid option, the Ctrl combination works with small increments and not larger ones. :-\ Regards David Emerson Dalyn Software Ltd 25 Cunliffe St, Churton Park Wellington, New Zealand Ph/Fax (04) 478-7456 Mobile 027-280-9348 At 16/06/2005, you wrote: >Dear List: > >I use the control and arrow keys to move controls around on forms and >reports because of the fine control your get that way. In Access 2000 the >increment (ctrl-Up Arrow, for instance) was very small. I recently moved >to Access 2003 and the increment is very large. I tries increasing the >Grid X Grid Y values but it didn't help. > >Is there a setting that controls the increment? > >MTIA, > >Rocky Smolin >Beach Access Software >http://www.e-z-mrp.com >858-259-4334 >-- >AccessD mailing list >AccessD at databaseadvisors.com >http://databaseadvisors.com/mailman/listinfo/accessd >Website: http://www.databaseadvisors.com From pedro at plex.nl Wed Jun 15 16:05:36 2005 From: pedro at plex.nl (Pedro Janssen) Date: Wed, 15 Jun 2005 23:05:36 +0200 Subject: [AccessD] invalid number of arguments References: <30BC111F638EB54082001A7E7282FE41114D45@elmo.co.montgomery.ny.us><007b01c57128$6c07acc0$fac581d5@pedro> <00ba01c571b1$155f3bc0$0202a8c0@default> Message-ID: <005001c571f0$06e703e0$fac581d5@pedro> Hello Michael, thanks for your help. I will send you an Email tomorrow or friday which will give you some extra details. Pedro Janssen ----- Original Message ----- From: "Michael R Mattys" To: "Access Developers discussion and problem solving" Sent: Wednesday, June 15, 2005 3:49 PM Subject: Re: [AccessD] invalid number of arguments > ----- Original Message ----- > From: "Pedro Janssen" > To: "Access Developers discussion and problem solving" > > Sent: Tuesday, June 14, 2005 5:30 PM > Subject: Re: [AccessD] invalid number of arguments > [Snip] > > > Let me explain a little more why i need to delete the link: > > I have a linked table. > > I need a copy of that table (structure and data) , without the copy is > > beeing linked to. > > After that i need to adjust, by code some field names. > > > > Who has done this before and can help me with this?? > [Snip] > > Pedro, > > I have done and can do what you're asking. > > It may be that you only need to ALIAS fields from your > linked table in a query. Then again, you may have to delete > the link in order to manipulate fields in the external database. > > Please explain exactly what you are going to do and > we'll see which option needs implementation. > ---- > > Michael R. Mattys > Mattys MapLib for Microsoft MapPoint > http://www.mattysconsulting.com > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > From KP at sdsonline.net Wed Jun 15 19:50:32 2005 From: KP at sdsonline.net (Kath Pelletti) Date: Thu, 16 Jun 2005 10:50:32 +1000 Subject: [AccessD] Australia - find nearest location References: <20050614141559.OQHC5167.ibm59aec.bellsouth.net@SUSANONE> Message-ID: <003d01c5720d$67331730$6601a8c0@user> Not sure where Susan lives - but were not that civilised........ :) Kath ----- Original Message ----- From: William Hindman To: Access Developers discussion and problem solving Sent: Wednesday, June 15, 2005 3:31 AM Subject: Re: [AccessD] Australia - find nearest location ..no, no, no ...Kath lives in Australia ...you live in the outback :) William ----- Original Message ----- From: "Susan Harkins" To: "'Access Developers discussion and problem solving'" Sent: Tuesday, June 14, 2005 10:14 AM Subject: RE: [AccessD] Australia - find nearest location > Hmmmm... William, you could be talking to Kath or me. :) > > Susan H. > > ..move to civilization? :) > > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From KP at sdsonline.net Wed Jun 15 19:50:50 2005 From: KP at sdsonline.net (Kath Pelletti) Date: Thu, 16 Jun 2005 10:50:50 +1000 Subject: [AccessD] Australia - find nearest location References: <20050614132543.ULNQ13045.ibm69aec.bellsouth.net@SUSANONE> Message-ID: <004b01c5720d$712f8c50$6601a8c0@user> Yeah - me too. ----- Original Message ----- From: Susan Harkins To: 'Access Developers discussion and problem solving' Sent: Tuesday, June 14, 2005 11:25 PM Subject: RE: [AccessD] Australia - find nearest location FWIW, list mail has been bad all week for me -- not just accessd, but all of the lists I'm on -- I see responses long before the originals -- sometimes as long as an entire day. Also, my own postings are taking forever to show up. I don't think there's anything we can really do about it, except wait for it to work itself out. Susan H. What's happening? I posted this last week - and it just appeared on the list now.... -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From dejpolsys at hotmail.com Wed Jun 15 20:13:47 2005 From: dejpolsys at hotmail.com (William Hindman) Date: Wed, 15 Jun 2005 21:13:47 -0400 Subject: [AccessD] Australia - find nearest location References: <20050614141559.OQHC5167.ibm59aec.bellsouth.net@SUSANONE> <003d01c5720d$67331730$6601a8c0@user> Message-ID: ..the wilds of Kentucky ...uncivilized by any standards :)))) William ----- Original Message ----- From: "Kath Pelletti" To: "Access Developers discussion and problem solving" Sent: Wednesday, June 15, 2005 8:50 PM Subject: Re: [AccessD] Australia - find nearest location Not sure where Susan lives - but were not that civilised........ :) Kath ----- Original Message ----- From: William Hindman To: Access Developers discussion and problem solving Sent: Wednesday, June 15, 2005 3:31 AM Subject: Re: [AccessD] Australia - find nearest location ..no, no, no ...Kath lives in Australia ...you live in the outback :) William ----- Original Message ----- From: "Susan Harkins" To: "'Access Developers discussion and problem solving'" Sent: Tuesday, June 14, 2005 10:14 AM Subject: RE: [AccessD] Australia - find nearest location > Hmmmm... William, you could be talking to Kath or me. :) > > Susan H. > > ..move to civilization? :) > > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From ssharkins at bellsouth.net Wed Jun 15 20:18:48 2005 From: ssharkins at bellsouth.net (Susan Harkins) Date: Wed, 15 Jun 2005 21:18:48 -0400 Subject: [AccessD] Australia - find nearest location In-Reply-To: <003d01c5720d$67331730$6601a8c0@user> Message-ID: <20050616011855.VLOI13045.ibm69aec.bellsouth.net@SUSANONE> Cowpoke, Kentucky :) Beautiful women, fast horses, and smooth bourbon. :) Susan H. Not sure where Susan lives - but were not that civilised........ :) From dejpolsys at hotmail.com Wed Jun 15 20:38:14 2005 From: dejpolsys at hotmail.com (William Hindman) Date: Wed, 15 Jun 2005 21:38:14 -0400 Subject: [AccessD] Australia - find nearest location References: <20050616011855.VLOI13045.ibm69aec.bellsouth.net@SUSANONE> Message-ID: ..the way I heard it was ...fast women, beautiful horses, and hard liquor ..not necessarily in that order :))) William ----- Original Message ----- From: "Susan Harkins" To: "'Access Developers discussion and problem solving'" Sent: Wednesday, June 15, 2005 9:18 PM Subject: RE: [AccessD] Australia - find nearest location > Cowpoke, Kentucky :) Beautiful women, fast horses, and smooth bourbon. :) > > Susan H. > > Not sure where Susan lives - but were not that civilised........ > :) > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > From ssharkins at bellsouth.net Wed Jun 15 20:42:48 2005 From: ssharkins at bellsouth.net (Susan Harkins) Date: Wed, 15 Jun 2005 21:42:48 -0400 Subject: [AccessD] Australia - find nearest location In-Reply-To: Message-ID: <20050616014247.HBTZ25209.ibm63aec.bellsouth.net@SUSANONE> You've been here?????????? ;) I'm sorry -- that's my absolute last -- William, do NOT respond or we're going to get spanked! ;) Susan H. ..the way I heard it was ...fast women, beautiful horses, and hard liquor ..not necessarily in that order :))) From Bruce.Bruen at railcorp.nsw.gov.au Wed Jun 15 20:58:43 2005 From: Bruce.Bruen at railcorp.nsw.gov.au (Bruen, Bruce) Date: Thu, 16 Jun 2005 11:58:43 +1000 Subject: [AccessD] Australia - find nearest location Message-ID: "Basically what I need to know is whether proximity in number = proximity in distance - I am guessing that it won't always be the case..." You have guessed correctly. It wont work, a) the original postcodes were allocated as a loose function of distance from the mail clearance centre - (way back in the 60's??) b)since then new codes have been allocated and old ones modified and reallocated under a series of illogic that thoroughly eliminates any possibility of determining relative geographic co-ordinates across Australia. However, there is a correlation between a postcode and a thing, IIRC, a mail delivery point (which in some cases goes down to a building or even a location within a building.) APO has occassionally published this database but I haven't seen or had any use for it for over 4 years - so I've lost the access to it. Sensis, yahoo/local and even the website that lists your company have functionality that provides this type of lookup but I'm d*mned if I know how they do it. regards bruce -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Kath Pelletti Sent: Tuesday, 14 June 2005 7:06 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Australia - find nearest location Thanks Michael - I think I need to learn about the way / rules that postcodes are allocated in my region - that way I may be able to create some sort of process. Just thought someone may have looked into that before. Basically what I need to know is whether proximity in number = proximity in distance - I am guessing that it won't always be the case... Kath ----- Original Message ----- From: Michael Maddison To: Access Developers discussion and problem solving Sent: Friday, June 10, 2005 10:48 AM Subject: RE: [AccessD] Australia - find nearest location Never tried myself, but the discussions here recently on MapPoint might lead the way. cheers Michael M Hi all - Just wondering whether there happens to be anyone on list who may already have done this - I'm writing a new system for a training company and they want add a geographic search capability - ie. they would like to enter a suburb or postcode and the system displays will show the courses which run closest to them geographically. Any tips? Or if anyone has done this at all - can you tell me what your approach was? Thanks - rgds ______________________________________________ Kath Pelletti Software Design & Solutions Pty Ltd. Ph: 9505-6714 Fax: 9505-6430 KP at SDSOnline.net -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com 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 bchacc at san.rr.com Thu Jun 16 00:35:24 2005 From: bchacc at san.rr.com (Rocky Smolin - Beach Access Software) Date: Wed, 15 Jun 2005 22:35:24 -0700 Subject: [AccessD] Design View Increment References: <018701c571d1$2c609d80$6801a8c0@HAL9004> <6.2.1.2.0.20050616055031.02b302d0@mail.dalyn.co.nz> Message-ID: <02eb01c57235$326e26c0$6801a8c0@HAL9004> Can't get it to behave correctly in 2003. Rocky ----- Original Message ----- From: "David Emerson" To: "Access Developers discussion and problem solving" Sent: Wednesday, June 15, 2005 10:55 AM Subject: Re: [AccessD] Design View Increment > Rocky, > > I don't have A2003 but have noticed funny behaviour in A2002 - sometimes > holding the Ctrl key combination behaves as if the Snap To Grid option is > checked in the format menu bar (ie with large increments). Then when I > check the Snap to Grid option, the Ctrl combination works with small > increments and not larger ones. :-\ > > Regards > > David Emerson > Dalyn Software Ltd > 25 Cunliffe St, Churton Park > Wellington, New Zealand > Ph/Fax (04) 478-7456 > Mobile 027-280-9348 > > At 16/06/2005, you wrote: >>Dear List: >> >>I use the control and arrow keys to move controls around on forms and >>reports because of the fine control your get that way. In Access 2000 the >>increment (ctrl-Up Arrow, for instance) was very small. I recently moved >>to Access 2003 and the increment is very large. I tries increasing the >>Grid X Grid Y values but it didn't help. >> >>Is there a setting that controls the increment? >> >>MTIA, >> >>Rocky Smolin >>Beach Access Software >>http://www.e-z-mrp.com >>858-259-4334 >>-- >>AccessD mailing list >>AccessD at databaseadvisors.com >>http://databaseadvisors.com/mailman/listinfo/accessd >>Website: http://www.databaseadvisors.com > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > From Erwin.Craps at ithelps.be Thu Jun 16 06:43:18 2005 From: Erwin.Craps at ithelps.be (Erwin Craps - IT Helps) Date: Thu, 16 Jun 2005 13:43:18 +0200 Subject: [AccessD] Urgent help needed with IIS server.CreateObject("ADODB.Connection") Message-ID: <46B976F2B698FF46A4FE7636509B22DF1B5C7F@stekelbes.ithelps.local> I'm getting desperate over here. Yesterday I installed this mont security fixes on my W2K server. I also took the opportunity to install SQL SP4. >From that reboot on, non of my database driven website no longer functions. For both "JET 4 MDB" and "SQL server" access I get an error on this command where it always used to work before the updates. failing command server.CreateObject("ADODB.Connection") Retunred error Server object error 'ASP 0178 : 80070005' Server.CreateObject Access Error The call to Server.CreateObject failed while checking permissions. Access is denied to this object. I checked al my NTFS permissons according to the MSKB, but I believe everything is ok. Anyway, it worked for years before this update. Is this a bug in the windows fiexes???? Erwin Craps Zaakvoerder www.ithelps.be/onsgezin This E-mail is confidential, may be legally privileged, and is for the intended recipient only. Access, disclosure, copying, distribution, or reliance on any of it by anyone else is prohibited and may be a criminal offence. Please delete if obtained in error and E-mail confirmation to the sender. IT Helps - I.T. Help Center *** Box Office Belgium & Luxembourg www.ithelps.be * www.boxoffice.be * www.stadleuven.be IT Helps bvba* ** Mercatorpad 3 ** 3000 Leuven IT Helps * Phone: +32 16 296 404 * Fax: +32 16 296 405 E-mail: Info at ithelps.be Box Office ** Fax: +32 16 296 406 ** Box Office E-mail: Staff at boxoffice.be From nkling at co.montgomery.ny.us Thu Jun 16 07:16:06 2005 From: nkling at co.montgomery.ny.us (Neal Kling) Date: Thu, 16 Jun 2005 08:16:06 -0400 Subject: [AccessD] Urgent help needed with IISserver.CreateObject("ADODB.Connection") Message-ID: <30BC111F638EB54082001A7E7282FE41114D4A@elmo.co.montgomery.ny.us> Google returned this possibility http://www.developersdex.com/asp/message.asp?p=575&ID=%3C%23J3kRXQyEHA.2012%40TK2MSFTNGP15.phx.gbl%3E and http://support.microsoft.com/kb/198432/EN-US/ -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Erwin Craps - IT Helps Sent: Thursday, June 16, 2005 7:43 AM To: Access Developers discussion and problem solving Subject: [AccessD] Urgent help needed with IISserver.CreateObject("ADODB.Connection") Importance: High I'm getting desperate over here. Yesterday I installed this mont security fixes on my W2K server. I also took the opportunity to install SQL SP4. >From that reboot on, non of my database driven website no longer functions. For both "JET 4 MDB" and "SQL server" access I get an error on this command where it always used to work before the updates. failing command server.CreateObject("ADODB.Connection") Retunred error Server object error 'ASP 0178 : 80070005' Server.CreateObject Access Error The call to Server.CreateObject failed while checking permissions. Access is denied to this object. I checked al my NTFS permissons according to the MSKB, but I believe everything is ok. Anyway, it worked for years before this update. Is this a bug in the windows fiexes???? Erwin Craps Zaakvoerder www.ithelps.be/onsgezin This E-mail is confidential, may be legally privileged, and is for the intended recipient only. Access, disclosure, copying, distribution, or reliance on any of it by anyone else is prohibited and may be a criminal offence. Please delete if obtained in error and E-mail confirmation to the sender. IT Helps - I.T. Help Center *** Box Office Belgium & Luxembourg www.ithelps.be * www.boxoffice.be * www.stadleuven.be IT Helps bvba* ** Mercatorpad 3 ** 3000 Leuven IT Helps * Phone: +32 16 296 404 * Fax: +32 16 296 405 E-mail: Info at ithelps.be Box Office ** Fax: +32 16 296 406 ** Box Office E-mail: Staff at boxoffice.be -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From Erwin.Craps at ithelps.be Thu Jun 16 07:36:56 2005 From: Erwin.Craps at ithelps.be (Erwin Craps - IT Helps) Date: Thu, 16 Jun 2005 14:36:56 +0200 Subject: [AccessD] Urgent help needed withIISserver.CreateObject("ADODB.Connection") Message-ID: <46B976F2B698FF46A4FE7636509B22DF1B5C80@stekelbes.ithelps.local> Already checked those, was already OK. It is however a security issue, turning of anonimous access and loggin on as a administrator works. Afterwards I can put back anonymous on and it still works until reboot. So there must be a DLL with insuffciant rights that needs to be launched with IUSR rights. Some dll must be changed while installing these fixes and lost its IUSR or everyone rights. But which one, I already checked "common Files\system\ado", "common Files\system\msadc", "common Files\system\ole db", "system32\msvbvm50.dll" and "system32\msvbvm60.dll" Erwin -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Neal Kling Sent: Thursday, June 16, 2005 2:16 PM To: Access Developers discussion and problem solving Subject: RE: [AccessD] Urgent help needed withIISserver.CreateObject("ADODB.Connection") Google returned this possibility http://www.developersdex.com/asp/message.asp?p=575&ID=%3C%23J3kRXQyEHA.2 012%40TK2MSFTNGP15.phx.gbl%3E and http://support.microsoft.com/kb/198432/EN-US/ -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Erwin Craps - IT Helps Sent: Thursday, June 16, 2005 7:43 AM To: Access Developers discussion and problem solving Subject: [AccessD] Urgent help needed with IISserver.CreateObject("ADODB.Connection") Importance: High I'm getting desperate over here. Yesterday I installed this mont security fixes on my W2K server. I also took the opportunity to install SQL SP4. >From that reboot on, non of my database driven website no longer functions. For both "JET 4 MDB" and "SQL server" access I get an error on this command where it always used to work before the updates. failing command server.CreateObject("ADODB.Connection") Retunred error Server object error 'ASP 0178 : 80070005' Server.CreateObject Access Error The call to Server.CreateObject failed while checking permissions. Access is denied to this object. I checked al my NTFS permissons according to the MSKB, but I believe everything is ok. Anyway, it worked for years before this update. Is this a bug in the windows fiexes???? Erwin Craps Zaakvoerder www.ithelps.be/onsgezin This E-mail is confidential, may be legally privileged, and is for the intended recipient only. Access, disclosure, copying, distribution, or reliance on any of it by anyone else is prohibited and may be a criminal offence. Please delete if obtained in error and E-mail confirmation to the sender. IT Helps - I.T. Help Center *** Box Office Belgium & Luxembourg www.ithelps.be * www.boxoffice.be * www.stadleuven.be IT Helps bvba* ** Mercatorpad 3 ** 3000 Leuven IT Helps * Phone: +32 16 296 404 * Fax: +32 16 296 405 E-mail: Info at ithelps.be Box Office ** Fax: +32 16 296 406 ** Box Office E-mail: Staff at boxoffice.be -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From Erwin.Craps at ithelps.be Thu Jun 16 09:20:39 2005 From: Erwin.Craps at ithelps.be (Erwin Craps - IT Helps) Date: Thu, 16 Jun 2005 16:20:39 +0200 Subject: [AccessD] Urgent help neededwithIISserver.CreateObject("ADODB.Connection") Message-ID: <46B976F2B698FF46A4FE7636509B22DF1B5C81@stekelbes.ithelps.local> I still havent found the origin of the problem but it is related to the windows updates of last night or the SQL SP4. I have workaround the problem by this. Starting from a freshly booted server. Turn of anonymous access for one of the database driven webs/subwebs. Goto the the database driven webpage. A login popup screen asks for the loging >>> ignore it by canceling. The page loads normaly with access to the database. Turn back on the anonymous access so the popup is no longer presented to the user. All website now function again until reboot... So it is clearly a security issue with the IUSR account, I believe there a problem with the synchronisation of this password. Executing "cscript.exe adsutil.vbs get w3svc/anonymoususerpass" to retrieve the password results in a "Parameter anonymoususerpass not set in this node" error. So when deactivating the anonymous option, I supose it load with some other right (everyone???). Posibly some dll with missing IUSR ReX rights. My website (database part) is already down for almost 24 hours now.. -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Erwin Craps - IT Helps Sent: Thursday, June 16, 2005 2:37 PM To: Access Developers discussion and problem solving Subject: RE: [AccessD] Urgent help neededwithIISserver.CreateObject("ADODB.Connection") Already checked those, was already OK. It is however a security issue, turning of anonimous access and loggin on as a administrator works. Afterwards I can put back anonymous on and it still works until reboot. So there must be a DLL with insuffciant rights that needs to be launched with IUSR rights. Some dll must be changed while installing these fixes and lost its IUSR or everyone rights. But which one, I already checked "common Files\system\ado", "common Files\system\msadc", "common Files\system\ole db", "system32\msvbvm50.dll" and "system32\msvbvm60.dll" Erwin -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Neal Kling Sent: Thursday, June 16, 2005 2:16 PM To: Access Developers discussion and problem solving Subject: RE: [AccessD] Urgent help needed withIISserver.CreateObject("ADODB.Connection") Google returned this possibility http://www.developersdex.com/asp/message.asp?p=575&ID=%3C%23J3kRXQyEHA.2 012%40TK2MSFTNGP15.phx.gbl%3E and http://support.microsoft.com/kb/198432/EN-US/ -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Erwin Craps - IT Helps Sent: Thursday, June 16, 2005 7:43 AM To: Access Developers discussion and problem solving Subject: [AccessD] Urgent help needed with IISserver.CreateObject("ADODB.Connection") Importance: High I'm getting desperate over here. Yesterday I installed this mont security fixes on my W2K server. I also took the opportunity to install SQL SP4. >From that reboot on, non of my database driven website no longer functions. For both "JET 4 MDB" and "SQL server" access I get an error on this command where it always used to work before the updates. failing command server.CreateObject("ADODB.Connection") Retunred error Server object error 'ASP 0178 : 80070005' Server.CreateObject Access Error The call to Server.CreateObject failed while checking permissions. Access is denied to this object. I checked al my NTFS permissons according to the MSKB, but I believe everything is ok. Anyway, it worked for years before this update. Is this a bug in the windows fiexes???? Erwin Craps Zaakvoerder www.ithelps.be/onsgezin This E-mail is confidential, may be legally privileged, and is for the intended recipient only. Access, disclosure, copying, distribution, or reliance on any of it by anyone else is prohibited and may be a criminal offence. Please delete if obtained in error and E-mail confirmation to the sender. IT Helps - I.T. Help Center *** Box Office Belgium & Luxembourg www.ithelps.be * www.boxoffice.be * www.stadleuven.be IT Helps bvba* ** Mercatorpad 3 ** 3000 Leuven IT Helps * Phone: +32 16 296 404 * Fax: +32 16 296 405 E-mail: Info at ithelps.be Box Office ** Fax: +32 16 296 406 ** Box Office E-mail: Staff at boxoffice.be -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd 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 Jun 16 10:06:54 2005 From: accessd at shaw.ca (Jim Lawrence) Date: Thu, 16 Jun 2005 08:06:54 -0700 Subject: [AccessD] Urgent help needed with IISserver.CreateObject("ADODB.Connection") In-Reply-To: <46B976F2B698FF46A4FE7636509B22DF1B5C7F@stekelbes.ithelps.local> Message-ID: <0II600MHTNBGJZ@l-daemon> Hi Erwin: Have you seen this article from MS? http://support.microsoft.com/kb/198432/EN-US/ Solution: You need to give the IUSR_ account permissions to launch and access your OOP COM object using dcomcnfg by doing the following: 1. Launch DCOMCNFG by clicking the Start button, selecting Run, and typing "Dcomcnfg" in the Run dialog box. 2. In the Default Security tab, click the "Edit Default" in the "Default Access Permissions" frame. The Registry Value Permissions dialog box appears. 3. Add the IUSR_account and the INTERACTIVE account to the Registry Value Permissions dialog box, and click OK. 4. In the Default Security tab, click the Edit Default in the Default Launch Permissions frame. The Registry Value Permissions dialog box appears. 5. Add the IUSR_ account to the Registry Value Permissions dialog box0, and click OK. HTH Jim -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Erwin Craps - IT Helps Sent: Thursday, June 16, 2005 4:43 AM To: Access Developers discussion and problem solving Subject: [AccessD] Urgent help needed with IISserver.CreateObject("ADODB.Connection") Importance: High I'm getting desperate over here. Yesterday I installed this mont security fixes on my W2K server. I also took the opportunity to install SQL SP4. >From that reboot on, non of my database driven website no longer functions. For both "JET 4 MDB" and "SQL server" access I get an error on this command where it always used to work before the updates. failing command server.CreateObject("ADODB.Connection") Retunred error Server object error 'ASP 0178 : 80070005' Server.CreateObject Access Error The call to Server.CreateObject failed while checking permissions. Access is denied to this object. I checked al my NTFS permissons according to the MSKB, but I believe everything is ok. Anyway, it worked for years before this update. Is this a bug in the windows fiexes???? Erwin Craps Zaakvoerder www.ithelps.be/onsgezin This E-mail is confidential, may be legally privileged, and is for the intended recipient only. Access, disclosure, copying, distribution, or reliance on any of it by anyone else is prohibited and may be a criminal offence. Please delete if obtained in error and E-mail confirmation to the sender. IT Helps - I.T. Help Center *** Box Office Belgium & Luxembourg www.ithelps.be * www.boxoffice.be * www.stadleuven.be IT Helps bvba* ** Mercatorpad 3 ** 3000 Leuven IT Helps * Phone: +32 16 296 404 * Fax: +32 16 296 405 E-mail: Info at ithelps.be Box Office ** Fax: +32 16 296 406 ** Box Office E-mail: Staff at boxoffice.be -- 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 Jun 16 13:06:16 2005 From: Jim.Hale at FleetPride.com (Hale, Jim) Date: Thu, 16 Jun 2005 13:06:16 -0500 Subject: [AccessD] Select case is too cumbersome Message-ID: <6A6AA9DF57E4F046BDA1E273BDDB6772337677@corp-es01.fleetpride.com> I have a form which lists different Excel workbooks I can populate. When I make a selection from the form I read the path to the appropriate excel template and the select case number from a table. I pass these to a function "Public Function Load_Financials(intCaseno As Integer, strpathname As String)" for processing. The function opens the appropriate Excel template and, based upon the select case number, populates the template from various recordsets and formats the workbook as appropriate. All of this works fine. My problem is that I am up to case 40 in my select statement. Many of the cases are quite lengthy so Load_Financials is getting out of hand. 5 cases was no big deal, 40 and 500 lines of code is a bit much. Surely there is a more elegant way to arrange this. For example, I read "Two functions you don't use enough" in this month's Smart Access which suggested each case can be placed in its own function and the EVAL function can be used to execute them. How do ya'll handle this issue? 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 darsant at gmail.com Thu Jun 16 13:17:59 2005 From: darsant at gmail.com (Josh McFarlane) Date: Thu, 16 Jun 2005 13:17:59 -0500 Subject: [AccessD] Select case is too cumbersome In-Reply-To: <6A6AA9DF57E4F046BDA1E273BDDB6772337677@corp-es01.fleetpride.com> References: <6A6AA9DF57E4F046BDA1E273BDDB6772337677@corp-es01.fleetpride.com> Message-ID: <53c8e05a05061611173cc0420c@mail.gmail.com> On 6/16/05, Hale, Jim wrote: > I have a form which lists different Excel workbooks I can populate. When I > make a selection from the form I read the path to the appropriate excel > template and the select case number from a table. I pass these to a > function "Public Function Load_Financials(intCaseno As Integer, strpathname > As String)" for processing. The function opens the appropriate Excel > template and, based upon the select case number, populates the template from > various recordsets and formats the workbook as appropriate. All of this > works fine. My problem is that I am up to case 40 in my select statement. > Many of the cases are quite lengthy so Load_Financials is getting out of > hand. 5 cases was no big deal, 40 and 500 lines of code is a bit much. > Surely there is a more elegant way to arrange this. For example, I read "Two > functions you don't use enough" in this month's Smart Access which suggested > each case can be placed in its own function and the EVAL function can be > used to execute them. How do ya'll handle this issue? > > Jim Hale > If you're just speaking from an Access perspective, I'd haev one function with just the SELECT / CASE statement, then for each case, call a seperate function for the differences. If some of your cases have the same code for chunks, you could group them in one function and call the function in the Case statement. For example, creating an excel file, formating a header, formatting the data, then saving, you could seperate it into 4 functions: Create file (before the case), Format Header and Format Data within the case, then Save File / Write Data at the end. This way you would have a set of stable functions and can save yourself from redundant work / large files. -- Josh McFarlane "Peace cannot be kept by force. It can only be achieved by understanding." -Albert Einstein From marcus at tsstech.com Thu Jun 16 13:26:07 2005 From: marcus at tsstech.com (Scott Marcus) Date: Thu, 16 Jun 2005 14:26:07 -0400 Subject: [AccessD] Select case is too cumbersome Message-ID: Why not this? Public Function Load_Financials(intCaseno As Integer, strpathname As String) Select Case intCaseno Case 1 Call SubroutineForFirstCase(strpathname) Case 2 Call SubroutineForSecondCase(strpathname) . . . Case n Call SubroutineForNthCase(strpathname) End Select End Function Private Sub SubroutineForFirstCase(strpathname as string) 'Do some work. End Sub Scott Marcus TSS Technologies, Inc. marcus at tsstech.com NOTICE: This electronic mail transmission is for the use of the named individual or entity to which it is directed and may contain information that is privileged or confidential. If you are not the intended recipient, any disclosure, copying, distribution or use of the contents of any information contained herein is prohibited. If you have received this electronic mail transmission in error, delete it from your system without copying or forwarding, and notify the sender of the error by replying via email or by calling TSS Technologies at (513) 772-7000, so our address record can be corrected. Any information included in this email is provided on an ?as is? and ?where is? basis, and TSS Technologies makes no representations or warranties of any kind with respect to the completeness or accuracy of the information contained in this email, or with respect to any other matters communicated in this email. TSS Technologies hereby disclaims any and all express or implied warranties of any kind. Nothing in this email shall be construed to create any kind of contractual or binding agreement or commitment by or on behalf of TSS Technologies, Inc., the recipient, or any third-parties. From Jim.Hale at FleetPride.com Thu Jun 16 14:29:17 2005 From: Jim.Hale at FleetPride.com (Hale, Jim) Date: Thu, 16 Jun 2005 14:29:17 -0500 Subject: [AccessD] Select case is too cumbersome Message-ID: <6A6AA9DF57E4F046BDA1E273BDDB6772337678@corp-es01.fleetpride.com> I think what you suggest is doable. I have created a class that handles opening and saving the Excel spreadsheet. I think much of the remaining code deals with opening recordsets and pasting data. I think I'll create a table to hold all the query names and work sheet names and execute the paste function as a method from within my class. This will still leave a fairly bodacious, if somewhat slimmed down, select statement. The trick as you suggest is to identify the truly repeating elements and build functions. Anyone used used the EVAL function like the Article I mentioned suggests? Jim Hale -----Original Message----- From: Josh McFarlane [mailto:darsant at gmail.com] Sent: Thursday, June 16, 2005 1:18 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Select case is too cumbersome On 6/16/05, Hale, Jim wrote: > I have a form which lists different Excel workbooks I can populate. When I > make a selection from the form I read the path to the appropriate excel > template and the select case number from a table. I pass these to a > function "Public Function Load_Financials(intCaseno As Integer, strpathname > As String)" for processing. The function opens the appropriate Excel > template and, based upon the select case number, populates the template from > various recordsets and formats the workbook as appropriate. All of this > works fine. My problem is that I am up to case 40 in my select statement. > Many of the cases are quite lengthy so Load_Financials is getting out of > hand. 5 cases was no big deal, 40 and 500 lines of code is a bit much. > Surely there is a more elegant way to arrange this. For example, I read "Two > functions you don't use enough" in this month's Smart Access which suggested > each case can be placed in its own function and the EVAL function can be > used to execute them. How do ya'll handle this issue? > > Jim Hale > If you're just speaking from an Access perspective, I'd haev one function with just the SELECT / CASE statement, then for each case, call a seperate function for the differences. If some of your cases have the same code for chunks, you could group them in one function and call the function in the Case statement. For example, creating an excel file, formating a header, formatting the data, then saving, you could seperate it into 4 functions: Create file (before the case), Format Header and Format Data within the case, then Save File / Write Data at the end. This way you would have a set of stable functions and can save yourself from redundant work / large files. -- 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 *********************************************************************** 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 dejpolsys at hotmail.com Thu Jun 16 15:15:29 2005 From: dejpolsys at hotmail.com (William Hindman) Date: Thu, 16 Jun 2005 16:15:29 -0400 Subject: [AccessD] Select case is too cumbersome References: <6A6AA9DF57E4F046BDA1E273BDDB6772337678@corp-es01.fleetpride.com> Message-ID: ..I'm missing something here (not the first time) ...but why are you using a select here rather than building a combo on the fly and using that instead? ...rename all the applicable queries from qryxxx to zqryxxx and fill your combo with a qry on zqryxxx ...much faster than a select and you don't have to recode it everytime you add a new qry. William ----- Original Message ----- From: "Hale, Jim" To: "'Access Developers discussion and problem solving'" Sent: Thursday, June 16, 2005 3:29 PM Subject: RE: [AccessD] Select case is too cumbersome >I think what you suggest is doable. I have created a class that handles > opening and saving the Excel spreadsheet. I think much of the remaining > code deals with opening recordsets and pasting data. I think I'll create a > table to hold all the query names and work sheet names and execute the > paste > function as a method from within my class. This will still leave a fairly > bodacious, if somewhat slimmed down, select statement. The trick as you > suggest is to identify the truly repeating elements and build functions. > Anyone used used the EVAL function like the Article I mentioned suggests? > > Jim Hale > > -----Original Message----- > From: Josh McFarlane [mailto:darsant at gmail.com] > Sent: Thursday, June 16, 2005 1:18 PM > To: Access Developers discussion and problem solving > Subject: Re: [AccessD] Select case is too cumbersome > > > On 6/16/05, Hale, Jim wrote: >> I have a form which lists different Excel workbooks I can populate. When >> I >> make a selection from the form I read the path to the appropriate excel >> template and the select case number from a table. I pass these to a >> function "Public Function Load_Financials(intCaseno As Integer, > strpathname >> As String)" for processing. The function opens the appropriate Excel >> template and, based upon the select case number, populates the template > from >> various recordsets and formats the workbook as appropriate. All of this >> works fine. My problem is that I am up to case 40 in my select statement. >> Many of the cases are quite lengthy so Load_Financials is getting out of >> hand. 5 cases was no big deal, 40 and 500 lines of code is a bit much. >> Surely there is a more elegant way to arrange this. For example, I read > "Two >> functions you don't use enough" in this month's Smart Access which > suggested >> each case can be placed in its own function and the EVAL function can be >> used to execute them. How do ya'll handle this issue? >> >> Jim Hale >> > If you're just speaking from an Access perspective, I'd haev one > function with just the SELECT / CASE statement, then for each case, > call a seperate function for the differences. > > If some of your cases have the same code for chunks, you could group > them in one function and call the function in the Case statement. > > For example, creating an excel file, formating a header, formatting > the data, then saving, you could seperate it into 4 functions: Create > file (before the case), Format Header and Format Data within the case, > then Save File / Write Data at the end. > > This way you would have a set of stable functions and can save > yourself from redundant work / large files. > > -- > 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 > > *********************************************************************** > 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 martyconnelly at shaw.ca Thu Jun 16 15:19:37 2005 From: martyconnelly at shaw.ca (MartyConnelly) Date: Thu, 16 Jun 2005 13:19:37 -0700 Subject: [AccessD] ms access 2003 query References: Message-ID: <42B1DED9.2050102@shaw.ca> Ah you are trying to toggle the control wizards button on the toolbox menu in form design view. If anyone else is wondering why this is needed, we have a blind programmer here. An accomplishment with Access GUI. Create a function in modules like this Function toggleControlWizard() Dim ctl As Variant For Each ctl In CommandBars("Toolbox").Controls ' Debug.Print ctl.Caption 'List all Caption Names If ctl.Caption = "Control &Wizards" Then 'toggle the button on of off ctl.Execute End If Next Then create a special macro called "autokeys" There is a catch 22 for you here you have to toggle macro names on but you can set this to be automatically turned on for all Access via this menu sequence Tools --> Options --> View There are two check boxes under this part of menu Show in Macro Design Check off both. Names Column Conditions Column Now open up a new Macro under macro name put a control key sequence I chose CTRL - F12 as it is not used much ^{F12} under Action put RunCode under Action put Beep This will give you an auditory clue. in function name toggleControlWizard() save the autokeys macro call it autokeys Now in Forms Design Pressing CTL + F12 will toggle Control Wizards On and Off Pressing this key combinations elsewhere will generate an error You may have login and out of the mdb to initialize autokeys, can't remember. There maybe another way to do this via code that I haven't puzzled out. since it is mostly used by excel programmers. using something like a statement of this variety using direct control of the IDE or as it is called VBE With Application.VBE.CommandBars("Menu Bar").Controls("Toolbox") See these articles http://www.cpearson.com/excel/vbe.htm http://www.cpearson.com/excel/vbemenus.htm marvin hunkin wrote: > Hi. > some one mentioned on the list a while back, how to get round of > activating the advanced wizards using the tool box in ms access 2003. > how to get round, having no short cut keys, and no way to activate the > say command button wizard in form or report design of a form or report > in ms access 2003. > if any one got any tips on how to get round this problem, without > dragging and dropping the mouse, and tried the jaws drag and drop > feature, but still would not activate it without sighted assistance. > did ask freedom scientific, but had no plans to fix this problem, and > did report it to tech support over 12 months ago before jaws 6.0 came > out last year. > so if any one has got me the answer i am looking for, then let me know. > cheers Marvin. > > -- Marty Connelly Victoria, B.C. Canada From Jim.Hale at FleetPride.com Thu Jun 16 15:54:46 2005 From: Jim.Hale at FleetPride.com (Hale, Jim) Date: Thu, 16 Jun 2005 15:54:46 -0500 Subject: [AccessD] Select case is too cumbersome Message-ID: <6A6AA9DF57E4F046BDA1E273BDDB677233767A@corp-es01.fleetpride.com> I don't follow. I am selecting from a combo box the name of an excel template to be filled. The template may require data from one or more recordsets. Additionally, special formatting may be necessary. The way I identify the unique code required by each template to open the separate recordsets, paste the data, do the formatting etc. is by assigning it a select case no which is stored in a table. Make sense? Jim Hale -----Original Message----- From: William Hindman [mailto:dejpolsys at hotmail.com] Sent: Thursday, June 16, 2005 3:15 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Select case is too cumbersome ..I'm missing something here (not the first time) ...but why are you using a select here rather than building a combo on the fly and using that instead? ...rename all the applicable queries from qryxxx to zqryxxx and fill your combo with a qry on zqryxxx ...much faster than a select and you don't have to recode it everytime you add a new qry. William ----- Original Message ----- From: "Hale, Jim" To: "'Access Developers discussion and problem solving'" Sent: Thursday, June 16, 2005 3:29 PM Subject: RE: [AccessD] Select case is too cumbersome >I think what you suggest is doable. I have created a class that handles > opening and saving the Excel spreadsheet. I think much of the remaining > code deals with opening recordsets and pasting data. I think I'll create a > table to hold all the query names and work sheet names and execute the > paste > function as a method from within my class. This will still leave a fairly > bodacious, if somewhat slimmed down, select statement. The trick as you > suggest is to identify the truly repeating elements and build functions. > Anyone used used the EVAL function like the Article I mentioned suggests? > > Jim Hale > > -----Original Message----- > From: Josh McFarlane [mailto:darsant at gmail.com] > Sent: Thursday, June 16, 2005 1:18 PM > To: Access Developers discussion and problem solving > Subject: Re: [AccessD] Select case is too cumbersome > > > On 6/16/05, Hale, Jim wrote: >> I have a form which lists different Excel workbooks I can populate. When >> I >> make a selection from the form I read the path to the appropriate excel >> template and the select case number from a table. I pass these to a >> function "Public Function Load_Financials(intCaseno As Integer, > strpathname >> As String)" for processing. The function opens the appropriate Excel >> template and, based upon the select case number, populates the template > from >> various recordsets and formats the workbook as appropriate. All of this >> works fine. My problem is that I am up to case 40 in my select statement. >> Many of the cases are quite lengthy so Load_Financials is getting out of >> hand. 5 cases was no big deal, 40 and 500 lines of code is a bit much. >> Surely there is a more elegant way to arrange this. For example, I read > "Two >> functions you don't use enough" in this month's Smart Access which > suggested >> each case can be placed in its own function and the EVAL function can be >> used to execute them. How do ya'll handle this issue? >> >> Jim Hale >> > If you're just speaking from an Access perspective, I'd haev one > function with just the SELECT / CASE statement, then for each case, > call a seperate function for the differences. > > If some of your cases have the same code for chunks, you could group > them in one function and call the function in the Case statement. > > For example, creating an excel file, formating a header, formatting > the data, then saving, you could seperate it into 4 functions: Create > file (before the case), Format Header and Format Data within the case, > then Save File / Write Data at the end. > > This way you would have a set of stable functions and can save > yourself from redundant work / large files. > > -- > 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 > > *********************************************************************** > The information transmitted is intended solely for the individual or > entity to which it is addressed and may contain confidential and/or > privileged material. Any review, retransmission, dissemination or > other use of or taking action in reliance upon this information by > persons or entities other than the intended recipient is prohibited. > If you have received this email in error please contact the sender and > delete the material from any computer. As a recipient of this email, > you are responsible for screening its contents and the contents of any > attachments for the presence of viruses. No liability is accepted for > any damages caused by any virus transmitted by this email. ---------------------------------------------------------------------------- ---- > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com *********************************************************************** 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 bchacc at san.rr.com Thu Jun 16 16:18:00 2005 From: bchacc at san.rr.com (Rocky Smolin - Beach Access Software) Date: Thu, 16 Jun 2005 14:18:00 -0700 Subject: [AccessD] Print To Picture Message-ID: <0cf901c572b8$e01441a0$6801a8c0@HAL9004> Dear List: I have a great utility on my old machine called print to picture. Installs like a printer and will print to a file which you can then copy into a word doc. I need it on my new machine but can't find it anymore. Anyone know where it is? TIA, Rocky Smolin Beach Access Software http://www.e-z-mrp.com 858-259-4334 From dejpolsys at hotmail.com Thu Jun 16 16:24:43 2005 From: dejpolsys at hotmail.com (William Hindman) Date: Thu, 16 Jun 2005 17:24:43 -0400 Subject: [AccessD] Select case is too cumbersome References: <6A6AA9DF57E4F046BDA1E273BDDB677233767A@corp-es01.fleetpride.com> Message-ID: ..if you're selecting a template from a combo why not have it open another cascading combo with the options for the selected template rather than a lengthy select operation which requires recoding every time you change something? William ----- Original Message ----- From: "Hale, Jim" To: "'Access Developers discussion and problem solving'" Sent: Thursday, June 16, 2005 4:54 PM Subject: RE: [AccessD] Select case is too cumbersome >I don't follow. I am selecting from a combo box the name of an excel > template to be filled. The template may require data from one or more > recordsets. Additionally, special formatting may be necessary. The way I > identify the unique code required by each template to open the separate > recordsets, paste the data, do the formatting etc. is by assigning it a > select case no which is stored in a table. Make sense? > Jim Hale > > -----Original Message----- > From: William Hindman [mailto:dejpolsys at hotmail.com] > Sent: Thursday, June 16, 2005 3:15 PM > To: Access Developers discussion and problem solving > Subject: Re: [AccessD] Select case is too cumbersome > > > ..I'm missing something here (not the first time) ...but why are you using > a select here rather than building a combo on the fly and using that > instead? ...rename all the applicable queries from qryxxx to zqryxxx and > fill your combo with a qry on zqryxxx ...much faster than a select and you > don't have to recode it everytime you add a new qry. > > William > > ----- Original Message ----- > From: "Hale, Jim" > To: "'Access Developers discussion and problem solving'" > > Sent: Thursday, June 16, 2005 3:29 PM > Subject: RE: [AccessD] Select case is too cumbersome > > >>I think what you suggest is doable. I have created a class that handles >> opening and saving the Excel spreadsheet. I think much of the remaining >> code deals with opening recordsets and pasting data. I think I'll create >> a >> table to hold all the query names and work sheet names and execute the >> paste >> function as a method from within my class. This will still leave a fairly >> bodacious, if somewhat slimmed down, select statement. The trick as you >> suggest is to identify the truly repeating elements and build functions. >> Anyone used used the EVAL function like the Article I mentioned suggests? >> >> Jim Hale >> >> -----Original Message----- >> From: Josh McFarlane [mailto:darsant at gmail.com] >> Sent: Thursday, June 16, 2005 1:18 PM >> To: Access Developers discussion and problem solving >> Subject: Re: [AccessD] Select case is too cumbersome >> >> >> On 6/16/05, Hale, Jim wrote: >>> I have a form which lists different Excel workbooks I can populate. When >>> I >>> make a selection from the form I read the path to the appropriate excel >>> template and the select case number from a table. I pass these to a >>> function "Public Function Load_Financials(intCaseno As Integer, >> strpathname >>> As String)" for processing. The function opens the appropriate Excel >>> template and, based upon the select case number, populates the template >> from >>> various recordsets and formats the workbook as appropriate. All of this >>> works fine. My problem is that I am up to case 40 in my select >>> statement. >>> Many of the cases are quite lengthy so Load_Financials is getting out of >>> hand. 5 cases was no big deal, 40 and 500 lines of code is a bit much. >>> Surely there is a more elegant way to arrange this. For example, I read >> "Two >>> functions you don't use enough" in this month's Smart Access which >> suggested >>> each case can be placed in its own function and the EVAL function can be >>> used to execute them. How do ya'll handle this issue? >>> >>> Jim Hale >>> >> If you're just speaking from an Access perspective, I'd haev one >> function with just the SELECT / CASE statement, then for each case, >> call a seperate function for the differences. >> >> If some of your cases have the same code for chunks, you could group >> them in one function and call the function in the Case statement. >> >> For example, creating an excel file, formating a header, formatting >> the data, then saving, you could seperate it into 4 functions: Create >> file (before the case), Format Header and Format Data within the case, >> then Save File / Write Data at the end. >> >> This way you would have a set of stable functions and can save >> yourself from redundant work / large files. >> >> -- >> 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 >> >> *********************************************************************** >> The information transmitted is intended solely for the individual or >> entity to which it is addressed and may contain confidential and/or >> privileged material. Any review, retransmission, dissemination or >> other use of or taking action in reliance upon this information by >> persons or entities other than the intended recipient is prohibited. >> If you have received this email in error please contact the sender and >> delete the material from any computer. As a recipient of this email, >> you are responsible for screening its contents and the contents of any >> attachments for the presence of viruses. No liability is accepted for >> any damages caused by any virus transmitted by this email. > > > ---------------------------------------------------------------------------- > ---- > > >> -- >> AccessD mailing list >> AccessD at databaseadvisors.com >> http://databaseadvisors.com/mailman/listinfo/accessd >> Website: http://www.databaseadvisors.com >> > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > > *********************************************************************** > 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 dejpolsys at hotmail.com Thu Jun 16 16:40:14 2005 From: dejpolsys at hotmail.com (William Hindman) Date: Thu, 16 Jun 2005 17:40:14 -0400 Subject: [AccessD] Print To Picture References: <0cf901c572b8$e01441a0$6801a8c0@HAL9004> Message-ID: http://www.verypdf.com/artprint/document-printer/print-to-picture.html http://narod.yandex.ru/100.xhtml?progrex.narod.ru/files/ptp102.zip ----- Original Message ----- From: "Rocky Smolin - Beach Access Software" To: Sent: Thursday, June 16, 2005 5:18 PM Subject: [AccessD] Print To Picture Dear List: I have a great utility on my old machine called print to picture. Installs like a printer and will print to a file which you can then copy into a word doc. I need it on my new machine but can't find it anymore. Anyone know where it is? TIA, Rocky Smolin Beach Access Software http://www.e-z-mrp.com 858-259-4334 -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From bchacc at san.rr.com Thu Jun 16 16:44:21 2005 From: bchacc at san.rr.com (Rocky Smolin - Beach Access Software) Date: Thu, 16 Jun 2005 14:44:21 -0700 Subject: [AccessD] Print To Picture References: <0cf901c572b8$e01441a0$6801a8c0@HAL9004> Message-ID: <0d5001c572bc$8e5d1450$6801a8c0@HAL9004> Never mind. Found the .exe on my old machine. But the original link is 404. So if anyone wants it, I've got it. Rocky ----- Original Message ----- From: "Rocky Smolin - Beach Access Software" To: Sent: Thursday, June 16, 2005 2:18 PM Subject: [AccessD] Print To Picture Dear List: I have a great utility on my old machine called print to picture. Installs like a printer and will print to a file which you can then copy into a word doc. I need it on my new machine but can't find it anymore. Anyone know where it is? TIA, Rocky Smolin Beach Access Software http://www.e-z-mrp.com 858-259-4334 -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From JHewson at karta.com Thu Jun 16 16:50:35 2005 From: JHewson at karta.com (Jim Hewson) Date: Thu, 16 Jun 2005 16:50:35 -0500 Subject: [AccessD] Print To Picture Message-ID: <9C382E065F54AE48BC3AA7925DCBB01C0362957B@karta-exc-int.Karta.com> Sounds like a useful tool. I've never heard of 404. I'd like to be able to get it. Thanks, Jim -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Rocky Smolin - Beach Access Software Sent: Thursday, June 16, 2005 4:44 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Print To Picture Never mind. Found the .exe on my old machine. But the original link is 404. So if anyone wants it, I've got it. Rocky ----- Original Message ----- From: "Rocky Smolin - Beach Access Software" To: Sent: Thursday, June 16, 2005 2:18 PM Subject: [AccessD] Print To Picture Dear List: I have a great utility on my old machine called print to picture. Installs like a printer and will print to a file which you can then copy into a word doc. I need it on my new machine but can't find it anymore. Anyone know where it is? TIA, Rocky Smolin Beach Access Software http://www.e-z-mrp.com 858-259-4334 -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd 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 Jun 16 16:58:22 2005 From: cfoust at infostatsystems.com (Charlotte Foust) Date: Thu, 16 Jun 2005 14:58:22 -0700 Subject: [AccessD] Print To Picture Message-ID: LOL! Just find any invalid link. Charlotte Foust -----Original Message----- From: Jim Hewson [mailto:JHewson at karta.com] Sent: Thursday, June 16, 2005 2:51 PM To: Access Developers discussion and problem solving Subject: RE: [AccessD] Print To Picture Sounds like a useful tool. I've never heard of 404. I'd like to be able to get it. Thanks, Jim -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Rocky Smolin - Beach Access Software Sent: Thursday, June 16, 2005 4:44 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Print To Picture Never mind. Found the .exe on my old machine. But the original link is 404. So if anyone wants it, I've got it. Rocky ----- Original Message ----- From: "Rocky Smolin - Beach Access Software" To: Sent: Thursday, June 16, 2005 2:18 PM Subject: [AccessD] Print To Picture Dear List: I have a great utility on my old machine called print to picture. Installs like a printer and will print to a file which you can then copy into a word doc. I need it on my new machine but can't find it anymore. Anyone know where it is? TIA, Rocky Smolin Beach Access Software http://www.e-z-mrp.com 858-259-4334 -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd 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 Thu Jun 16 17:01:45 2005 From: dejpolsys at hotmail.com (William Hindman) Date: Thu, 16 Jun 2005 18:01:45 -0400 Subject: [AccessD] Print To Picture References: <9C382E065F54AE48BC3AA7925DCBB01C0362957B@karta-exc-int.Karta.com> Message-ID: ..never heard of 404? ...lucky man! :) William ----- Original Message ----- From: "Jim Hewson" To: "Access Developers discussion and problem solving" Sent: Thursday, June 16, 2005 5:50 PM Subject: RE: [AccessD] Print To Picture > Sounds like a useful tool. > I've never heard of 404. I'd like to be able to get it. > Thanks, > Jim > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Rocky Smolin > - Beach Access Software > Sent: Thursday, June 16, 2005 4:44 PM > To: Access Developers discussion and problem solving > Subject: Re: [AccessD] Print To Picture > > Never mind. Found the .exe on my old machine. But the original link is > 404. So if anyone wants it, I've got it. > > Rocky > > ----- Original Message ----- > From: "Rocky Smolin - Beach Access Software" > To: > Sent: Thursday, June 16, 2005 2:18 PM > Subject: [AccessD] Print To Picture > > > Dear List: > > I have a great utility on my old machine called print to picture. > Installs > like a printer and will print to a file which you can then copy into a > word > doc. I need it on my new machine but can't find it anymore. Anyone > know > where it is? > > TIA, > > Rocky Smolin > Beach Access Software > http://www.e-z-mrp.com > 858-259-4334 > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > From bchacc at san.rr.com Thu Jun 16 17:17:13 2005 From: bchacc at san.rr.com (Rocky Smolin - Beach Access Software) Date: Thu, 16 Jun 2005 15:17:13 -0700 Subject: [AccessD] Print To Picture References: <9C382E065F54AE48BC3AA7925DCBB01C0362957B@karta-exc-int.Karta.com> Message-ID: <0d9301c572c1$25a56ca0$6801a8c0@HAL9004> 404 means a broken link. I'll send it to you off line, however. It's from a Russian guy who apparently has taken his site down. It installs like a printer and when you print to it it produces either a .PCX or .BMP format which you can insert into a word doc. I used it to put sample reports into a manual. Regards, Rocky Smolin Beach Access Software http://www.e-z-mrp.com 858-259-4334 ----- Original Message ----- From: "Jim Hewson" To: "Access Developers discussion and problem solving" Sent: Thursday, June 16, 2005 2:50 PM Subject: RE: [AccessD] Print To Picture > Sounds like a useful tool. > I've never heard of 404. I'd like to be able to get it. > Thanks, > Jim > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Rocky Smolin > - Beach Access Software > Sent: Thursday, June 16, 2005 4:44 PM > To: Access Developers discussion and problem solving > Subject: Re: [AccessD] Print To Picture > > Never mind. Found the .exe on my old machine. But the original link is > 404. So if anyone wants it, I've got it. > > Rocky > > ----- Original Message ----- > From: "Rocky Smolin - Beach Access Software" > To: > Sent: Thursday, June 16, 2005 2:18 PM > Subject: [AccessD] Print To Picture > > > Dear List: > > I have a great utility on my old machine called print to picture. > Installs > like a printer and will print to a file which you can then copy into a > word > doc. I need it on my new machine but can't find it anymore. Anyone > know > where it is? > > TIA, > > Rocky Smolin > Beach Access Software > http://www.e-z-mrp.com > 858-259-4334 > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > 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 Thu Jun 16 17:53:48 2005 From: dmcafee at pacbell.net (dmcafee at pacbell.net) Date: Thu, 16 Jun 2005 15:53:48 -0700 Subject: [AccessD] Print To Picture In-Reply-To: <0d9301c572c1$25a56ca0$6801a8c0@HAL9004> Message-ID: So it's easier to use than Alt+Print Screen and Ctrl+V? I guess no editing. -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Rocky Smolin - Beach Access Software Sent: Thursday, June 16, 2005 3:17 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Print To Picture 404 means a broken link. I'll send it to you off line, however. It's from a Russian guy who apparently has taken his site down. It installs like a printer and when you print to it it produces either a .PCX or .BMP format which you can insert into a word doc. I used it to put sample reports into a manual. Regards, Rocky Smolin Beach Access Software http://www.e-z-mrp.com 858-259-4334 ----- Original Message ----- From: "Jim Hewson" To: "Access Developers discussion and problem solving" Sent: Thursday, June 16, 2005 2:50 PM Subject: RE: [AccessD] Print To Picture > Sounds like a useful tool. > I've never heard of 404. I'd like to be able to get it. > Thanks, > Jim > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Rocky Smolin > - Beach Access Software > Sent: Thursday, June 16, 2005 4:44 PM > To: Access Developers discussion and problem solving > Subject: Re: [AccessD] Print To Picture > > Never mind. Found the .exe on my old machine. But the original link is > 404. So if anyone wants it, I've got it. > > Rocky > > ----- Original Message ----- > From: "Rocky Smolin - Beach Access Software" > To: > Sent: Thursday, June 16, 2005 2:18 PM > Subject: [AccessD] Print To Picture > > > Dear List: > > I have a great utility on my old machine called print to picture. > Installs > like a printer and will print to a file which you can then copy into a > word > doc. I need it on my new machine but can't find it anymore. Anyone > know > where it is? > > TIA, > > Rocky Smolin > Beach Access Software > http://www.e-z-mrp.com > 858-259-4334 > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > 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 Jun 16 18:08:57 2005 From: KP at sdsonline.net (Kath Pelletti) Date: Fri, 17 Jun 2005 09:08:57 +1000 Subject: [AccessD] Australia - find nearest location References: Message-ID: <003601c572c8$608df970$6601a8c0@user> OK - thanks Bruce. At least I know not to waste my time trying that - and if client really wants it then I know to look further.... Kath ----- Original Message ----- From: Bruen, Bruce To: Access Developers discussion and problem solving Sent: Thursday, June 16, 2005 11:58 AM Subject: RE: [AccessD] Australia - find nearest location "Basically what I need to know is whether proximity in number = proximity in distance - I am guessing that it won't always be the case..." You have guessed correctly. It wont work, a) the original postcodes were allocated as a loose function of distance from the mail clearance centre - (way back in the 60's??) b)since then new codes have been allocated and old ones modified and reallocated under a series of illogic that thoroughly eliminates any possibility of determining relative geographic co-ordinates across Australia. However, there is a correlation between a postcode and a thing, IIRC, a mail delivery point (which in some cases goes down to a building or even a location within a building.) APO has occassionally published this database but I haven't seen or had any use for it for over 4 years - so I've lost the access to it. Sensis, yahoo/local and even the website that lists your company have functionality that provides this type of lookup but I'm d*mned if I know how they do it. regards bruce -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Kath Pelletti Sent: Tuesday, 14 June 2005 7:06 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Australia - find nearest location Thanks Michael - I think I need to learn about the way / rules that postcodes are allocated in my region - that way I may be able to create some sort of process. Just thought someone may have looked into that before. Basically what I need to know is whether proximity in number = proximity in distance - I am guessing that it won't always be the case... Kath ----- Original Message ----- From: Michael Maddison To: Access Developers discussion and problem solving Sent: Friday, June 10, 2005 10:48 AM Subject: RE: [AccessD] Australia - find nearest location Never tried myself, but the discussions here recently on MapPoint might lead the way. cheers Michael M Hi all - Just wondering whether there happens to be anyone on list who may already have done this - I'm writing a new system for a training company and they want add a geographic search capability - ie. they would like to enter a suburb or postcode and the system displays will show the courses which run closest to them geographically. Any tips? Or if anyone has done this at all - can you tell me what your approach was? Thanks - rgds ______________________________________________ Kath Pelletti Software Design & Solutions Pty Ltd. Ph: 9505-6714 Fax: 9505-6430 KP at SDSOnline.net -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com 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 martyconnelly at shaw.ca Thu Jun 16 18:50:56 2005 From: martyconnelly at shaw.ca (MartyConnelly) Date: Thu, 16 Jun 2005 16:50:56 -0700 Subject: [AccessD] Australia - find nearest location References: <003601c572c8$608df970$6601a8c0@user> Message-ID: <42B21060.6070003@shaw.ca> Same thing in Canada. The post office wil provide a new postal code to a recently completed building complex. However the do have a database that is purchaseable that will give the geo coordinates of the postal code either to the building or the block face centroid. Except for Santa Claus's postal code H0H0H0 and the geo centroid is sort of obvious. Kath Pelletti wrote: >OK - thanks Bruce. At least I know not to waste my time trying that - and if client really wants it then I know to look further.... >Kath > ----- Original Message ----- > From: Bruen, Bruce > To: Access Developers discussion and problem solving > Sent: Thursday, June 16, 2005 11:58 AM > Subject: RE: [AccessD] Australia - find nearest location > > > "Basically what I need to know is whether proximity in number = > proximity in distance - I am guessing that it won't always be the > case..." > > You have guessed correctly. It wont work, a) the original postcodes > were allocated as a loose function of distance from the mail clearance > centre - (way back in the 60's??) > b)since then new codes have been allocated and old ones modified and > reallocated under a series of illogic that thoroughly eliminates any > possibility of determining relative geographic co-ordinates across > Australia. However, there is a correlation between a postcode and a > thing, IIRC, a mail delivery point (which in some cases goes down to a > building or even a location within a building.) APO has occassionally > published this database but I haven't seen or had any use for it for > over 4 years - so I've lost the access to it. > > Sensis, yahoo/local and even the website that lists your company have > functionality that provides this type of lookup but I'm d*mned if I know > how they do it. > > regards > bruce > > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Kath Pelletti > Sent: Tuesday, 14 June 2005 7:06 PM > To: Access Developers discussion and problem solving > Subject: Re: [AccessD] Australia - find nearest location > > Thanks Michael - I think I need to learn about the way / rules that > postcodes are allocated in my region - that way I may be able to create > some sort of process. Just thought someone may have looked into that > before. > > Basically what I need to know is whether proximity in number = proximity > in distance - I am guessing that it won't always be the case... > > Kath > > > ----- Original Message ----- > From: Michael Maddison > To: Access Developers discussion and problem solving > Sent: Friday, June 10, 2005 10:48 AM > Subject: RE: [AccessD] Australia - find nearest location > > > Never tried myself, but the discussions here recently on MapPoint > might > lead the way. > > cheers > > Michael M > > Hi all - Just wondering whether there happens to be anyone on list who > may already have done this - > > I'm writing a new system for a training company and they want add a > geographic search capability - ie. they would like to enter a suburb > or > postcode and the system displays will show the courses which run > closest > to them geographically. > > Any tips? Or if anyone has done this at all - can you tell me what > your > approach was? > > Thanks - rgds > > ______________________________________________ > Kath Pelletti > Software Design & Solutions Pty Ltd. > Ph: 9505-6714 > Fax: 9505-6430 > KP at SDSOnline.net > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > > > 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 > > -- Marty Connelly Victoria, B.C. Canada From bchacc at san.rr.com Thu Jun 16 19:54:59 2005 From: bchacc at san.rr.com (Rocky Smolin - Beach Access Software) Date: Thu, 16 Jun 2005 17:54:59 -0700 Subject: [AccessD] Print To Picture References: Message-ID: <0e3801c572d7$2fffb730$6801a8c0@HAL9004> I found that a screen print image was limited to the resolution of the screen. Copying a full page of a report from the screen just didn't provide the detail needed. Alt+Print Screen and Ctrl+V works good for dropping forms shots into a word doc. Rocky ----- Original Message ----- From: To: "Access Developers discussion and problem solving" Sent: Thursday, June 16, 2005 3:53 PM Subject: RE: [AccessD] Print To Picture > So it's easier to use than Alt+Print Screen and Ctrl+V? > > I guess no editing. > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Rocky Smolin - > Beach Access Software > Sent: Thursday, June 16, 2005 3:17 PM > To: Access Developers discussion and problem solving > Subject: Re: [AccessD] Print To Picture > > > 404 means a broken link. I'll send it to you off line, however. It's > from > a Russian guy who apparently has taken his site down. It installs like a > printer and when you print to it it produces either a .PCX or .BMP format > which you can insert into a word doc. I used it to put sample reports > into > a manual. > > Regards, > > Rocky Smolin > Beach Access Software > http://www.e-z-mrp.com > 858-259-4334 > > ----- Original Message ----- > From: "Jim Hewson" > To: "Access Developers discussion and problem solving" > > Sent: Thursday, June 16, 2005 2:50 PM > Subject: RE: [AccessD] Print To Picture > > >> Sounds like a useful tool. >> I've never heard of 404. I'd like to be able to get it. >> Thanks, >> Jim >> >> -----Original Message----- >> From: accessd-bounces at databaseadvisors.com >> [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Rocky Smolin >> - Beach Access Software >> Sent: Thursday, June 16, 2005 4:44 PM >> To: Access Developers discussion and problem solving >> Subject: Re: [AccessD] Print To Picture >> >> Never mind. Found the .exe on my old machine. But the original link is >> 404. So if anyone wants it, I've got it. >> >> Rocky >> >> ----- Original Message ----- >> From: "Rocky Smolin - Beach Access Software" >> To: >> Sent: Thursday, June 16, 2005 2:18 PM >> Subject: [AccessD] Print To Picture >> >> >> Dear List: >> >> I have a great utility on my old machine called print to picture. >> Installs >> like a printer and will print to a file which you can then copy into a >> word >> doc. I need it on my new machine but can't find it anymore. Anyone >> know >> where it is? >> >> TIA, >> >> Rocky Smolin >> Beach Access Software >> http://www.e-z-mrp.com >> 858-259-4334 >> -- >> AccessD mailing list >> AccessD at databaseadvisors.com >> http://databaseadvisors.com/mailman/listinfo/accessd >> Website: http://www.databaseadvisors.com >> >> -- >> AccessD mailing list >> AccessD at databaseadvisors.com >> http://databaseadvisors.com/mailman/listinfo/accessd >> Website: http://www.databaseadvisors.com >> -- >> AccessD mailing list >> AccessD at databaseadvisors.com >> http://databaseadvisors.com/mailman/listinfo/accessd >> Website: http://www.databaseadvisors.com >> > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > 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 Jun 16 21:31:06 2005 From: artful at rogers.com (Arthur Fuller) Date: Thu, 16 Jun 2005 22:31:06 -0400 Subject: [AccessD] Question about Animated Graphics In-Reply-To: <0e3801c572d7$2fffb730$6801a8c0@HAL9004> Message-ID: <200506170231.j5H2V2R21831@databaseadvisors.com> I found some cool graphics appropriate to an app I'm building now, but so far I can't make them work correctly. For a peek at the graphics, see http://www.animation-central.com/gears.htm. The graphics there move. When I download one graphic and drop it on an Access form, it's static not animated. I want the animation! How do I achieve this? TIA, Arthur From Bruce.Bruen at railcorp.nsw.gov.au Thu Jun 16 21:38:19 2005 From: Bruce.Bruen at railcorp.nsw.gov.au (Bruen, Bruce) Date: Fri, 17 Jun 2005 12:38:19 +1000 Subject: [AccessD] Question about Animated Graphics Message-ID: Arthur, AFAIK you can't. I tried this about two years ago. It seems that the screen representation of the object you embed is NOT the same as the screen representation provided by the explorer base window. i.e. Access does not use the windows natives to render the things. Someone else may have other opinions though. bruce -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Arthur Fuller Sent: Friday, 17 June 2005 12:31 PM To: 'Access Developers discussion and problem solving' Subject: [AccessD] Question about Animated Graphics I found some cool graphics appropriate to an app I'm building now, but so far I can't make them work correctly. For a peek at the graphics, see http://www.animation-central.com/gears.htm. The graphics there move. When I download one graphic and drop it on an Access form, it's static not animated. I want the animation! How do I achieve this? TIA, Arthur -- 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 dejpolsys at hotmail.com Thu Jun 16 21:51:44 2005 From: dejpolsys at hotmail.com (William Hindman) Date: Thu, 16 Jun 2005 22:51:44 -0400 Subject: [AccessD] Question about Animated Graphics References: <200506170231.j5H2V2R21831@databaseadvisors.com> Message-ID: http://www.lebans.com/animatedgifplayer.htm ..hth :) William ----- Original Message ----- From: "Arthur Fuller" To: "'Access Developers discussion and problem solving'" Sent: Thursday, June 16, 2005 10:31 PM Subject: [AccessD] Question about Animated Graphics >I found some cool graphics appropriate to an app I'm building now, but so > far I can't make them work correctly. For a peek at the graphics, see > http://www.animation-central.com/gears.htm. The graphics there move. When > I > download one graphic and drop it on an Access form, it's static not > animated. I want the animation! How do I achieve this? > > TIA, > Arthur > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > From martyconnelly at shaw.ca Fri Jun 17 00:22:46 2005 From: martyconnelly at shaw.ca (MartyConnelly) Date: Thu, 16 Jun 2005 22:22:46 -0700 Subject: [AccessD] Print To Picture References: <0e3801c572d7$2fffb730$6801a8c0@HAL9004> Message-ID: <42B25E26.905@shaw.ca> You could use some rough code like this to snapshot either screen or form to the clipboard and then dump clipboard into word, I think it is all there. Option Compare Database Option Explicit '_______________________________________________________ ' Snap a picture of the screen and send error messages, ' screen picture and tasklist to a word document '________________________________________________________ Private Const VK_LWIN = &H5B 'Left window button Private Const VK_RETURN = &HD 'ENTER key Private Const VK_SHIFT = &H10 'SHIFT key Private Const VK_CONTROL = &H11 'CTRL key Private Const VK_MENU = &H12 'ALT key Private Const VK_PAUSE = &H13 'PAUSE key Private Const VK_CAPITAL = &H14 'CAPS LOCK key Private Const VK_SNAPSHOT = &H2C 'Print Screen Private Const VK_APPS = &H5D 'Applications key on a Microsoft Natural Keyboard 'from http://support.microsoft.com/view/dev.asp?kb=242971 Const GW_HWNDFIRST = 0 Const GW_HWNDNEXT = 2 Private Const KEYEVENTF_KEYUP = &H2 Private Declare Sub keybd_event Lib "user32" (ByVal bVk As Byte, _ ByVal bScan As Byte, ByVal dwflags As Long, ByVal dwExtraInfo As Long) Private Declare Function GetWindow Lib "user32" _ (ByVal hWnd As Long, ByVal wCmd As Long) As Long Private Declare Function GetParent Lib "user32" _ (ByVal hWnd As Long) As Long Private Declare Function GetWindowTextLength Lib _ "user32" Alias "GetWindowTextLengthA" (ByVal hWnd As Long) As Long Private Declare Function GetWindowText Lib "user32" _ Alias "GetWindowTextA" (ByVal hWnd As Long, ByVal _ lpString As String, ByVal cch As Long) As Long Private Declare Function FindWindow Lib "user32" Alias "FindWindowA" _ (ByVal lpClassName As String, ByVal lpWindowName As String) As Long Private Declare Function SetFocusAPI Lib "user32" Alias "SetFocus" _ (ByVal hWnd As Long) As Long Sub ErrorScreenReport() 'turn on reference to Microsoft Word Object Library SnapPrintScreen 'SnapPrintForm ErrorReportToWord End Sub Sub ErrorReportToWord() Dim ObjWord As Word.Application Dim temp As String Dim strFileName As String Dim strErrDesc As String Dim strLoadTaskList As String Dim appPathAccess As String ' grab the Task List strLoadTaskList = LoadTaskList() ' On Error Resume Next Set ObjWord = New Word.Application ' Disable command button to prevent object being recreated ' If you have an error in here, it will litter memory with copies of word ' so put in error handling ObjWord.Documents.Add ObjWord.Selection.Paste 'copy clipboard strErrDesc = "Error No: " & Err.Number & "; Description: " & Err.Description 'no range selected so text placed at end of document ObjWord.Application.Selection.Font.Size = 14 ObjWord.Application.Selection.Font.Bold = True strErrDesc = strErrDesc & " Module name = ..." & vbCrLf & vbCrLf ObjWord.Application.Selection.Font.Size = 10 ObjWord.Application.Selection.Font.Bold = True strErrDesc = strErrDesc & strLoadTaskList ObjWord.ActiveDocument.Content.InsertAfter Text:=strErrDesc ' Saves report with a new filename ' Name of report file, change path to whatever is applicable appPathAccess = CurrentDBDir strFileName = appPathAccess & "ErrorReport" strFileName = strFileName & Format(Now, "yyyymmddhhmmss") & ".doc" ObjWord.ActiveDocument.SaveAs (strFileName) ' Quit Word ObjWord.Documents.Close ObjWord.Quit ' Inform user that report is created MsgBox "Error Report Created in File" & vbCrLf & strFileName ' Clear our pointer to word Set ObjWord = Nothing End Sub 'Determining Which Tasks Are Running 'With the Microsoft Windows operating system, 'you can run any number of applications simultaneously. 'Occasionally, you may need to determine which tasks are currently being 'run. 'This can be accomplished by using several Windows application programming 'interface '(API) functions. 'To find the names of all currently executing tasks, 'you must first determine the handle of the window that is currently 'at the top of the z-order. This, of course, would be the window of your 'own Microsoft Visual Basic application. 'You can use the Windows API GetWindow function to retrieve the handle 'of your application's window with the statement: ' CurrWnd = GetWindow(Form1.hwnd, GW_HWNDFIRST) ' To use in Access replace with the following ' parent_hwnd = FindWindow(vbNullString, "Microsoft Access") 'The first argument of the GetWindow function is the handle of the window 'that is at the top of the z-order. In this case, this is the handle of 'Form1. 'The second argument of the GetWindow function specifies the window 'you want to retrieve the handle for. 'This argument can have one of the following values: ' GW_CHILD Retrieve the handle for the child window. ' GW_HWNDFIRST Retrieve the handle for the window at the top of the z- 'order. ' GW_HWNDLAST Retrieve the handle for the window at the bottom of the z- 'order. ' GW_HWNDNEXT Retrieve the handle of the window below the specified window 'in the z-order. ' GW_HWNDPREV Retrieve the handle of the window above the specified window 'in the z-order. ' GW_OWNER Retrieve the handle of the window that owns the specified 'window, if any. 'After you have retrieved the application's window handle, 'you can use the Windows API GetParent function to retrieve this window's 'child window handle. Next, you call the Windows API GetWindowText and 'GetWindowTextLength functions to retrieve the text in the window's title 'bar 'and the length of this text, respectively. You can then use the text string 'in your own application. For example, you can save the title bar text 'to a List Box control. 'All of the above steps are repeated until you have processed all running 'tasks. 'You know that you have gone through each task when the current window is 'that'of your own application. Function LoadTaskList() As String Dim CurrWnd As Long Dim Length As Long Dim TaskName As String Dim Parent As Long Dim parent_hwnd As Long Dim strMyTaskList As String strMyTaskList = " Task List " & vbCrLf ' This line below works from VB form 'CurrWnd = GetWindow(Form1.hwnd, GW_HWNDFIRST) ' get Parent Window Handle parent_hwnd = FindWindow(vbNullString, "Microsoft Access") If parent_hwnd = 0 Then MsgBox "Access Not Found" Exit Function End If 'SetFocusAPI parent_hwnd CurrWnd = parent_hwnd While CurrWnd <> 0 Parent = GetParent(CurrWnd) Length = GetWindowTextLength(CurrWnd) TaskName = Space$(Length + 1) Length = GetWindowText(CurrWnd, TaskName, Length + 1) TaskName = Left$(TaskName, Len(TaskName) - 1) If Length > 0 Then 'If TaskName <> Me.Caption Then 'If TaskName <> "Microsoft Access" Then 'List1.AddItem TaskName strMyTaskList = strMyTaskList & TaskName & vbCrLf Debug.Print TaskName 'End If End If CurrWnd = GetWindow(CurrWnd, GW_HWNDNEXT) DoEvents Wend LoadTaskList = strMyTaskList End Function ' Function CurrentDBDir() As String ' get Current Database Path string Dim strDBPath As String Dim strDBFile As String strDBPath = CurrentDb.Name strDBFile = Dir(strDBPath) CurrentDBDir = Left(strDBPath, Len(strDBPath) - Len(strDBFile)) End Function Option Compare Database Option Explicit '_______________________________________________________ ' Snap a picture of the screen and send error messages, ' screen picture and tasklist to a word document '________________________________________________________ Private Const VK_LWIN = &H5B 'Left window button Private Const VK_RETURN = &HD 'ENTER key Private Const VK_SHIFT = &H10 'SHIFT key Private Const VK_CONTROL = &H11 'CTRL key Private Const VK_MENU = &H12 'ALT key Private Const VK_PAUSE = &H13 'PAUSE key Private Const VK_CAPITAL = &H14 'CAPS LOCK key Private Const VK_SNAPSHOT = &H2C 'Print Screen Private Const VK_APPS = &H5D 'Applications key on a Microsoft Natural Keyboard 'from http://support.microsoft.com/view/dev.asp?kb=242971 Const GW_HWNDFIRST = 0 Const GW_HWNDNEXT = 2 Private Const KEYEVENTF_KEYUP = &H2 Private Declare Sub keybd_event Lib "user32" (ByVal bVk As Byte, _ ByVal bScan As Byte, ByVal dwflags As Long, ByVal dwExtraInfo As Long) Private Declare Function GetWindow Lib "user32" _ (ByVal hWnd As Long, ByVal wCmd As Long) As Long Private Declare Function GetParent Lib "user32" _ (ByVal hWnd As Long) As Long Private Declare Function GetWindowTextLength Lib _ "user32" Alias "GetWindowTextLengthA" (ByVal hWnd As Long) As Long Private Declare Function GetWindowText Lib "user32" _ Alias "GetWindowTextA" (ByVal hWnd As Long, ByVal _ lpString As String, ByVal cch As Long) As Long Private Declare Function FindWindow Lib "user32" Alias "FindWindowA" _ (ByVal lpClassName As String, ByVal lpWindowName As String) As Long Private Declare Function SetFocusAPI Lib "user32" Alias "SetFocus" _ (ByVal hWnd As Long) As Long Sub OpenWindowsHelp() ' Open the Windows Help ' ' You can use the same technique to programmatically "press" any other ' key, including Shift, Ctrl, Alt and keys combinations that can't be ' simulated through SendKeys ' programmatically press the Windows key keybd_event VK_LWIN, 0, 0, 0 ' then press and then release the F1 key keybd_event vbKeyF1, 0, 0, 0 keybd_event vbKeyF1, 0, KEYEVENTF_KEYUP, 0 ' and finally release the Windows Key keybd_event VK_LWIN, 0, KEYEVENTF_KEYUP, 0 End Sub Sub CloseAllWindows() ' Minimize all open windows 'Const acaltMask ' programmatically press the Windows key keybd_event VK_LWIN, 0, 0, 0 ' then press and then release the M key keybd_event vbKeyM, 0, 0, 0 keybd_event vbKeyM, 0, KEYEVENTF_KEYUP, 0 ' and finally release the Windows Key keybd_event VK_LWIN, 0, KEYEVENTF_KEYUP, 0 End Sub Sub SnapPrintForm() 'use the following code inside form or focused window 'to simulate the Alt / PrintScreen = key combination: 'If form popup in Access will capture form ' programmatically press the ALT key ' keybd_event VK_MENU, 0, 0, 0 ' then press and then release the PrtScreen key keybd_event VK_SNAPSHOT, 1, 0, 0 DoEvents ' keybd_event VK_SNAPSHOT, 0, KEYEVENTF_KEYUP, 0 ' and finally release the ALT Key ' keybd_event VK_MENU, 0, KEYEVENTF_KEYUP, 0 End Sub Sub SnapPrintScreen() 'To print the entire screen (rather than the current focused window 'programmatically press the ALT key 'keybd_event VK_MENU, 0, 0, 0 ' then press and then release the PrtScreen key keybd_event VK_SNAPSHOT, 0, 0, 0 DoEvents 'keybd_event VK_SNAPSHOT, 0, KEYEVENTF_KEYUP, 0 ' and finally release the ALT Key 'keybd_event VK_MENU, 0, KEYEVENTF_KEYUP, 0 ' The second argument for the keybd_event call is the hardware scan code, ' and, in this case, you could use the value 1. This may have to change ' with Win 2000 ' However, applications should not use this scan code according to Microsoft ' The screen is now captured in the clipboard as a bmp End Sub Rocky Smolin - Beach Access Software wrote: > I found that a screen print image was limited to the resolution of the > screen. Copying a full page of a report from the screen just didn't > provide the detail needed. Alt+Print Screen and Ctrl+V works good for > dropping forms shots into a word doc. > > Rocky > > ----- Original Message ----- From: > To: "Access Developers discussion and problem solving" > > Sent: Thursday, June 16, 2005 3:53 PM > Subject: RE: [AccessD] Print To Picture > > >> So it's easier to use than Alt+Print Screen and Ctrl+V? >> >> I guess no editing. >> >> -----Original Message----- >> From: accessd-bounces at databaseadvisors.com >> [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Rocky Smolin - >> Beach Access Software >> Sent: Thursday, June 16, 2005 3:17 PM >> To: Access Developers discussion and problem solving >> Subject: Re: [AccessD] Print To Picture >> >> >> 404 means a broken link. I'll send it to you off line, however. >> It's from >> a Russian guy who apparently has taken his site down. It installs >> like a >> printer and when you print to it it produces either a .PCX or .BMP >> format >> which you can insert into a word doc. I used it to put sample >> reports into >> a manual. >> >> Regards, >> >> Rocky Smolin >> Beach Access Software >> http://www.e-z-mrp.com >> 858-259-4334 >> >> ----- Original Message ----- >> From: "Jim Hewson" >> To: "Access Developers discussion and problem solving" >> >> Sent: Thursday, June 16, 2005 2:50 PM >> Subject: RE: [AccessD] Print To Picture >> >> >>> Sounds like a useful tool. >>> I've never heard of 404. I'd like to be able to get it. >>> Thanks, >>> Jim >>> >>> -----Original Message----- >>> From: accessd-bounces at databaseadvisors.com >>> [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Rocky Smolin >>> - Beach Access Software >>> Sent: Thursday, June 16, 2005 4:44 PM >>> To: Access Developers discussion and problem solving >>> Subject: Re: [AccessD] Print To Picture >>> >>> Never mind. Found the .exe on my old machine. But the original >>> link is >>> 404. So if anyone wants it, I've got it. >>> >>> Rocky >>> >>> ----- Original Message ----- >>> From: "Rocky Smolin - Beach Access Software" >>> To: >>> Sent: Thursday, June 16, 2005 2:18 PM >>> Subject: [AccessD] Print To Picture >>> >>> >>> Dear List: >>> >>> I have a great utility on my old machine called print to picture. >>> Installs >>> like a printer and will print to a file which you can then copy into a >>> word >>> doc. I need it on my new machine but can't find it anymore. Anyone >>> know >>> where it is? >>> >>> TIA, >>> >>> Rocky Smolin >>> Beach Access Software >>> http://www.e-z-mrp.com >>> 858-259-4334 >>> -- >>> AccessD mailing list >>> AccessD at databaseadvisors.com >>> http://databaseadvisors.com/mailman/listinfo/accessd >>> Website: http://www.databaseadvisors.com >>> >>> -- >>> AccessD mailing list >>> AccessD at databaseadvisors.com >>> http://databaseadvisors.com/mailman/listinfo/accessd >>> Website: http://www.databaseadvisors.com >>> -- >>> AccessD mailing list >>> AccessD at databaseadvisors.com >>> http://databaseadvisors.com/mailman/listinfo/accessd >>> Website: http://www.databaseadvisors.com >>> >> >> -- >> AccessD mailing list >> AccessD at databaseadvisors.com >> http://databaseadvisors.com/mailman/listinfo/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 Erwin.Craps at ithelps.be Fri Jun 17 01:50:16 2005 From: Erwin.Craps at ithelps.be (Erwin Craps - IT Helps) Date: Fri, 17 Jun 2005 08:50:16 +0200 Subject: [AccessD] Urgent help needed withIISserver.CreateObject("ADODB.Connection") Message-ID: <46B976F2B698FF46A4FE7636509B22DF1B5C8F@stekelbes.ithelps.local> Noop, Doesnt solve the problem. Already added those. Problem is persistent.. -----Oorspronkelijk bericht----- Van: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] Namens Jim Lawrence Verzonden: donderdag 16 juni 2005 17:07 Aan: 'Access Developers discussion and problem solving' Onderwerp: RE: [AccessD] Urgent help needed withIISserver.CreateObject("ADODB.Connection") Hi Erwin: Have you seen this article from MS? http://support.microsoft.com/kb/198432/EN-US/ Solution: You need to give the IUSR_ account permissions to launch and access your OOP COM object using dcomcnfg by doing the following: 1. Launch DCOMCNFG by clicking the Start button, selecting Run, and typing "Dcomcnfg" in the Run dialog box. 2. In the Default Security tab, click the "Edit Default" in the "Default Access Permissions" frame. The Registry Value Permissions dialog box appears. 3. Add the IUSR_account and the INTERACTIVE account to the Registry Value Permissions dialog box, and click OK. 4. In the Default Security tab, click the Edit Default in the Default Launch Permissions frame. The Registry Value Permissions dialog box appears. 5. Add the IUSR_ account to the Registry Value Permissions dialog box0, and click OK. HTH Jim -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Erwin Craps - IT Helps Sent: Thursday, June 16, 2005 4:43 AM To: Access Developers discussion and problem solving Subject: [AccessD] Urgent help needed with IISserver.CreateObject("ADODB.Connection") Importance: High I'm getting desperate over here. Yesterday I installed this mont security fixes on my W2K server. I also took the opportunity to install SQL SP4. >From that reboot on, non of my database driven website no longer functions. For both "JET 4 MDB" and "SQL server" access I get an error on this command where it always used to work before the updates. failing command server.CreateObject("ADODB.Connection") Retunred error Server object error 'ASP 0178 : 80070005' Server.CreateObject Access Error The call to Server.CreateObject failed while checking permissions. Access is denied to this object. I checked al my NTFS permissons according to the MSKB, but I believe everything is ok. Anyway, it worked for years before this update. Is this a bug in the windows fiexes???? Erwin Craps Zaakvoerder www.ithelps.be/onsgezin This E-mail is confidential, may be legally privileged, and is for the intended recipient only. Access, disclosure, copying, distribution, or reliance on any of it by anyone else is prohibited and may be a criminal offence. Please delete if obtained in error and E-mail confirmation to the sender. IT Helps - I.T. Help Center *** Box Office Belgium & Luxembourg www.ithelps.be * www.boxoffice.be * www.stadleuven.be IT Helps bvba* ** Mercatorpad 3 ** 3000 Leuven IT Helps * Phone: +32 16 296 404 * Fax: +32 16 296 405 E-mail: Info at ithelps.be Box Office ** Fax: +32 16 296 406 ** Box Office E-mail: Staff at boxoffice.be -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd 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 fsmail.net Fri Jun 17 06:42:50 2005 From: paul.hartland at fsmail.net (paul.hartland at fsmail.net) Date: Fri, 17 Jun 2005 13:42:50 +0200 (CEST) Subject: [AccessD] OT - Visual Basic 6.0 - Is Form Open Message-ID: <10661170.1119008570079.JavaMail.www@wwinf3001> To all, Does anyone know how to find out if a form is open in a Visual Basic 6.0 application ? Thanks in advance for any help on this. Paul Hartland Database Developer -- Whatever you Wanadoo: http://www.wanadoo.co.uk/time/ This email has been checked for most known viruses - find out more at: http://www.wanadoo.co.uk/help/id/7098.htm From accessd666 at yahoo.com Fri Jun 17 07:00:33 2005 From: accessd666 at yahoo.com (Sad Der) Date: Fri, 17 Jun 2005 05:00:33 -0700 (PDT) Subject: [AccessD] Query: Filter date column on year Message-ID: <20050617120033.81643.qmail@web31609.mail.mud.yahoo.com> Hi group, I've got a query with a date field in it. Values are formatted like: mm-dd-yyyy I want to retrieve all values equal to a certain year. With what statement can I do this? TIA SD ____________________________________________________ Yahoo! Sports Rekindle the Rivalries. Sign up for Fantasy Football http://football.fantasysports.yahoo.com From JHewson at karta.com Fri Jun 17 07:13:58 2005 From: JHewson at karta.com (Jim Hewson) Date: Fri, 17 Jun 2005 07:13:58 -0500 Subject: [AccessD] Print To Picture Message-ID: <9C382E065F54AE48BC3AA7925DCBB01C036295AC@karta-exc-int.Karta.com> I've heard of THAT 404. I wasn't thinking of a broken link.... Geez, I thought of a website like www.404.com .... Which is actually a valid website. Never mind. Jim -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of William Hindman Sent: Thursday, June 16, 2005 5:02 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Print To Picture ..never heard of 404? ...lucky man! :) William ----- Original Message ----- From: "Jim Hewson" To: "Access Developers discussion and problem solving" Sent: Thursday, June 16, 2005 5:50 PM Subject: RE: [AccessD] Print To Picture > Sounds like a useful tool. > I've never heard of 404. I'd like to be able to get it. > Thanks, > Jim > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Rocky Smolin > - Beach Access Software > Sent: Thursday, June 16, 2005 4:44 PM > To: Access Developers discussion and problem solving > Subject: Re: [AccessD] Print To Picture > > Never mind. Found the .exe on my old machine. But the original link is > 404. So if anyone wants it, I've got it. > > Rocky > > ----- Original Message ----- > From: "Rocky Smolin - Beach Access Software" > To: > Sent: Thursday, June 16, 2005 2:18 PM > Subject: [AccessD] Print To Picture > > > Dear List: > > I have a great utility on my old machine called print to picture. > Installs > like a printer and will print to a file which you can then copy into a > word > doc. I need it on my new machine but can't find it anymore. Anyone > know > where it is? > > TIA, > > Rocky Smolin > Beach Access Software > http://www.e-z-mrp.com > 858-259-4334 > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > 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 Fri Jun 17 07:24:19 2005 From: DElam at jenkens.com (Elam, Debbie) Date: Fri, 17 Jun 2005 07:24:19 -0500 Subject: [AccessD] Query: Filter date column on year Message-ID: <7B1961ED924D1A459E378C9B1BB22B4C0492C9C4@natexch.jenkens.com> Where DatePart('yyyy',[DateField]) = 2005 Debbie -----Original Message----- From: Sad Der [mailto:accessd666 at yahoo.com] Sent: Friday, June 17, 2005 7:01 AM To: Acces User Group Subject: [AccessD] Query: Filter date column on year Hi group, I've got a query with a date field in it. Values are formatted like: mm-dd-yyyy I want to retrieve all values equal to a certain year. With what statement can I do this? TIA SD ____________________________________________________ Yahoo! Sports Rekindle the Rivalries. Sign up for Fantasy Football http://football.fantasysports.yahoo.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 bheid at appdevgrp.com Fri Jun 17 07:47:49 2005 From: bheid at appdevgrp.com (Bobby Heid) Date: Fri, 17 Jun 2005 08:47:49 -0400 Subject: [AccessD] Question about Animated Graphics In-Reply-To: <916187228923D311A6FE00A0CC3FAA30BECDBC@ADGSERVER> Message-ID: <916187228923D311A6FE00A0CC3FAA30ABEC3F@ADGSERVER> Those are animated Gif files which are not supported in Access (well at least version 2000 and less). I think that there are some 3rd-party controls that will let you host an animated Gif. Bobby -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Arthur Fuller Sent: Thursday, June 16, 2005 10:31 PM To: 'Access Developers discussion and problem solving' Subject: [AccessD] Question about Animated Graphics I found some cool graphics appropriate to an app I'm building now, but so far I can't make them work correctly. For a peek at the graphics, see http://www.animation-central.com/gears.htm. The graphics there move. When I download one graphic and drop it on an Access form, it's static not animated. I want the animation! How do I achieve this? TIA, Arthur From R.Griffiths at bury.gov.uk Fri Jun 17 07:56:19 2005 From: R.Griffiths at bury.gov.uk (Griffiths, Richard) Date: Fri, 17 Jun 2005 13:56:19 +0100 Subject: [AccessD] OT - Visual Basic 6.0 - Is Form Open Message-ID: <200506171247.j5HClmA19797@smarthost.yourcomms.net> Maybe this Private Sub Form_Load() If IsLoaded("Form1") = True Then MsgBox "Yep, loaded" End If End Sub Private Function IsLoaded(ByVal FormName As String) As Boolean Dim f As Form 'check all open forms For Each f In Forms If f.Name = FormName Then 'yep, form is loaded IsLoaded = True 'no need to loop again... Exit For End If Next ' f End Function Richard -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of paul.hartland at fsmail.net Sent: 17 June 2005 12:43 To: accessd Subject: [AccessD] OT - Visual Basic 6.0 - Is Form Open To all, Does anyone know how to find out if a form is open in a Visual Basic 6.0 application ? Thanks in advance for any help on this. Paul Hartland Database Developer -- Whatever you Wanadoo: http://www.wanadoo.co.uk/time/ This email has been checked for most known viruses - find out more at: http://www.wanadoo.co.uk/help/id/7098.htm -- 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 Fri Jun 17 08:09:07 2005 From: paul.hartland at isharp.co.uk (Paul Hartland (ISHARP)) Date: Fri, 17 Jun 2005 14:09:07 +0100 Subject: [AccessD] OT - Visual Basic 6.0 - Is Form Open In-Reply-To: <200506171247.j5HClmA19797@smarthost.yourcomms.net> Message-ID: Thanks, works a treat..... Hope I can help out sometime -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Griffiths, Richard Sent: 17 June 2005 13:56 To: Access Developers discussion and problem solving Subject: RE: [AccessD] OT - Visual Basic 6.0 - Is Form Open Maybe this Private Sub Form_Load() If IsLoaded("Form1") = True Then MsgBox "Yep, loaded" End If End Sub Private Function IsLoaded(ByVal FormName As String) As Boolean Dim f As Form 'check all open forms For Each f In Forms If f.Name = FormName Then 'yep, form is loaded IsLoaded = True 'no need to loop again... Exit For End If Next ' f End Function Richard -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of paul.hartland at fsmail.net Sent: 17 June 2005 12:43 To: accessd Subject: [AccessD] OT - Visual Basic 6.0 - Is Form Open To all, Does anyone know how to find out if a form is open in a Visual Basic 6.0 application ? Thanks in advance for any help on this. Paul Hartland Database Developer -- Whatever you Wanadoo: http://www.wanadoo.co.uk/time/ This email has been checked for most known viruses - find out more at: http://www.wanadoo.co.uk/help/id/7098.htm -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From accessd666 at yahoo.com Fri Jun 17 08:21:54 2005 From: accessd666 at yahoo.com (Sad Der) Date: Fri, 17 Jun 2005 06:21:54 -0700 (PDT) Subject: [AccessD] Query: Filter date column on year SOLVED! In-Reply-To: <7B1961ED924D1A459E378C9B1BB22B4C0492C9C4@natexch.jenkens.com> Message-ID: <20050617132154.92793.qmail@web31611.mail.mud.yahoo.com> Thnx debbie! Works like a charm. Regards, SD --- "Elam, Debbie" wrote: > Where DatePart('yyyy',[DateField]) = 2005 > > Debbie > > -----Original Message----- > From: Sad Der [mailto:accessd666 at yahoo.com] > Sent: Friday, June 17, 2005 7:01 AM > To: Acces User Group > Subject: [AccessD] Query: Filter date column on year > > > Hi group, > > I've got a query with a date field in it. Values are > formatted like: > mm-dd-yyyy > > I want to retrieve all values equal to a certain > year. > With what statement can I do this? > > TIA > > SD > > > > ____________________________________________________ > > Yahoo! Sports > Rekindle the Rivalries. Sign up for Fantasy Football > > http://football.fantasysports.yahoo.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 > ____________________________________________________ Yahoo! Sports Rekindle the Rivalries. Sign up for Fantasy Football http://football.fantasysports.yahoo.com From paul.hartland at fsmail.net Fri Jun 17 08:54:15 2005 From: paul.hartland at fsmail.net (paul.hartland at fsmail.net) Date: Fri, 17 Jun 2005 15:54:15 +0200 (CEST) Subject: [AccessD] Executing Internet Links From Within Access Message-ID: <30349590.1119016455234.JavaMail.www@wwinf3001> To all, A friend of mine has a website which he has to go to everyday to exceute several other pages, would it be possible to insert these into an Access table and run some code which would trigger them ? Thanks in advance for any help/sample code on this issue Paul Hartland -- Whatever you Wanadoo: http://www.wanadoo.co.uk/time/ This email has been checked for most known viruses - find out more at: http://www.wanadoo.co.uk/help/id/7098.htm From martyconnelly at shaw.ca Fri Jun 17 10:08:26 2005 From: martyconnelly at shaw.ca (MartyConnelly) Date: Fri, 17 Jun 2005 08:08:26 -0700 Subject: [AccessD] Executing Internet Links From Within Access References: <30349590.1119016455234.JavaMail.www@wwinf3001> Message-ID: <42B2E76A.5040205@shaw.ca> Code below is easiest way otherwise you have to enter address in a hyperlink field of table which requires a specific format URL Name#URL address#subaddress "My MS site"#"http://www.microsoft.com"# Then you can assign this field to a clickable Label or TextBox The following function prompts a user for a hyperlink address and then follows the hyperlink: You could assign this function to a command button Function GetUserAddress() As Boolean Dim strInput As String On Error GoTo Error_GetUserAddress strInput = InputBox("Enter a valid address") Application.FollowHyperlink strInput, , True GetUserAddress = True Exit_GetUserAddress: Exit Function Error_GetUserAddress: MsgBox Err & ": " & Err.Description GetUserAddress = False Resume Exit_GetUserAddress End Function paul.hartland at fsmail.net wrote: >To all, > >A friend of mine has a website which he has to go to everyday to exceute several other pages, would it be possible to insert these into an Access table and run some code which would trigger them ? > >Thanks in advance for any help/sample code on this issue > >Paul Hartland > > > -- Marty Connelly Victoria, B.C. Canada From paul.hartland at fsmail.net Fri Jun 17 10:12:23 2005 From: paul.hartland at fsmail.net (paul.hartland at fsmail.net) Date: Fri, 17 Jun 2005 17:12:23 +0200 (CEST) Subject: [AccessD] Executing Internet Links From Within Access Message-ID: <24451050.1119021143158.JavaMail.www@wwinf3102> Thanks for that, will test it out after the weekend. Message date : Jun 17 2005, 04:10 PM >From : "MartyConnelly" To : "Access Developers discussion and problem solving" Copy to : Subject : Re: [AccessD] Executing Internet Links From Within Access Code below is easiest way otherwise you have to enter address in a hyperlink field of table which requires a specific format URL Name#URL address#subaddress "My MS site"#"http://www.microsoft.com"# Then you can assign this field to a clickable Label or TextBox The following function prompts a user for a hyperlink address and then follows the hyperlink: You could assign this function to a command button Function GetUserAddress() As Boolean Dim strInput As String On Error GoTo Error_GetUserAddress strInput = InputBox("Enter a valid address") Application.FollowHyperlink strInput, , True GetUserAddress = True Exit_GetUserAddress: Exit Function Error_GetUserAddress: MsgBox Err & ": " & Err.Description GetUserAddress = False Resume Exit_GetUserAddress End Function paul.hartland at fsmail.net wrote: >To all, > >A friend of mine has a website which he has to go to everyday to exceute several other pages, would it be possible to insert these into an Access table and run some code which would trigger them ? > >Thanks in advance for any help/sample code on this issue > >Paul Hartland > > > -- Marty Connelly Victoria, B.C. Canada -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- Whatever you Wanadoo: http://www.wanadoo.co.uk/time/ This email has been checked for most known viruses - find out more at: http://www.wanadoo.co.uk/help/id/7098.htm From martyconnelly at shaw.ca Fri Jun 17 10:26:18 2005 From: martyconnelly at shaw.ca (MartyConnelly) Date: Fri, 17 Jun 2005 08:26:18 -0700 Subject: [AccessD] Urgent help needed withIISserver.CreateObject("ADODB.Connection") References: <46B976F2B698FF46A4FE7636509B22DF1B5C8F@stekelbes.ithelps.local> Message-ID: <42B2EB9A.40209@shaw.ca> Have you tried filemon from sysinternals.com to trace the access permission error Erwin Craps - IT Helps wrote: >Noop, Doesnt solve the problem. >Already added those. > >Problem is persistent.. > > >-----Oorspronkelijk bericht----- >Van: accessd-bounces at databaseadvisors.com >[mailto:accessd-bounces at databaseadvisors.com] Namens Jim Lawrence >Verzonden: donderdag 16 juni 2005 17:07 >Aan: 'Access Developers discussion and problem solving' >Onderwerp: RE: [AccessD] Urgent help needed >withIISserver.CreateObject("ADODB.Connection") > >Hi Erwin: > >Have you seen this article from MS? >http://support.microsoft.com/kb/198432/EN-US/ > > >Solution: >You need to give the IUSR_ account permissions to launch >and access your OOP COM object using dcomcnfg by doing the following: >1. Launch DCOMCNFG by clicking the Start button, selecting Run, and >typing "Dcomcnfg" in the Run dialog box. >2. In the Default Security tab, click the "Edit Default" in the "Default >Access Permissions" frame. The Registry Value Permissions dialog box >appears. >3. Add the IUSR_account and the INTERACTIVE account to the >Registry Value Permissions dialog box, and click OK. >4. In the Default Security tab, click the Edit Default in the Default >Launch Permissions frame. The Registry Value Permissions dialog box >appears. >5. Add the IUSR_ account to the Registry Value Permissions >dialog box0, and click OK. > > >HTH >Jim > >-----Original Message----- >From: accessd-bounces at databaseadvisors.com >[mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Erwin Craps - >IT Helps >Sent: Thursday, June 16, 2005 4:43 AM >To: Access Developers discussion and problem solving >Subject: [AccessD] Urgent help needed with >IISserver.CreateObject("ADODB.Connection") >Importance: High > > >I'm getting desperate over here. > >Yesterday I installed this mont security fixes on my W2K server. >I also took the opportunity to install SQL SP4. > >>From that reboot on, non of my database driven website no longer >functions. > >For both "JET 4 MDB" and "SQL server" access I get an error on this >command where it always used to work before the updates. >failing command server.CreateObject("ADODB.Connection") >Retunred error >Server object error 'ASP 0178 : 80070005' >Server.CreateObject Access Error >The call to Server.CreateObject failed while checking permissions. >Access is denied to this object. > > > > >I checked al my NTFS permissons according to the MSKB, but I believe >everything is ok. > >Anyway, it worked for years before this update. > > > >Is this a bug in the windows fiexes???? > > > > > > > >Erwin Craps > >Zaakvoerder > >www.ithelps.be/onsgezin > > > >This E-mail is confidential, may be legally privileged, and is for the >intended recipient only. Access, disclosure, copying, distribution, or >reliance on any of it by anyone else is prohibited and may be a criminal >offence. Please delete if obtained in error and E-mail confirmation to >the sender. > >IT Helps - I.T. Help Center *** Box Office Belgium & Luxembourg > >www.ithelps.be * www.boxoffice.be > * www.stadleuven.be > > >IT Helps bvba* ** Mercatorpad 3 ** 3000 Leuven > >IT Helps * Phone: +32 16 296 404 * Fax: +32 16 296 405 E-mail: >Info at ithelps.be > >Box Office ** Fax: +32 16 296 406 ** Box Office E-mail: >Staff at boxoffice.be > > >-- >AccessD mailing list >AccessD at databaseadvisors.com >http://databaseadvisors.com/mailman/listinfo/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 Erwin.Craps at ithelps.be Fri Jun 17 14:15:32 2005 From: Erwin.Craps at ithelps.be (Erwin Craps - IT Helps) Date: Fri, 17 Jun 2005 21:15:32 +0200 Subject: [AccessD] Urgent help neededwithIISserver.CreateObject("ADODB.Connection") Message-ID: <46B976F2B698FF46A4FE7636509B22DF1B5C90@stekelbes.ithelps.local> Il give it a shot. I noticed now that also FSO does not work anymore in ASP... Must be clearly one of this months windows updates that has caused this. Erwin -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of MartyConnelly Sent: Friday, June 17, 2005 5:26 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Urgent help neededwithIISserver.CreateObject("ADODB.Connection") Have you tried filemon from sysinternals.com to trace the access permission error Erwin Craps - IT Helps wrote: >Noop, Doesnt solve the problem. >Already added those. > >Problem is persistent.. > > >-----Oorspronkelijk bericht----- >Van: accessd-bounces at databaseadvisors.com >[mailto:accessd-bounces at databaseadvisors.com] Namens Jim Lawrence >Verzonden: donderdag 16 juni 2005 17:07 >Aan: 'Access Developers discussion and problem solving' >Onderwerp: RE: [AccessD] Urgent help needed >withIISserver.CreateObject("ADODB.Connection") > >Hi Erwin: > >Have you seen this article from MS? >http://support.microsoft.com/kb/198432/EN-US/ > > >Solution: >You need to give the IUSR_ account permissions to launch >and access your OOP COM object using dcomcnfg by doing the following: >1. Launch DCOMCNFG by clicking the Start button, selecting Run, and >typing "Dcomcnfg" in the Run dialog box. >2. In the Default Security tab, click the "Edit Default" in the >"Default Access Permissions" frame. The Registry Value Permissions >dialog box appears. >3. Add the IUSR_account and the INTERACTIVE account to >the Registry Value Permissions dialog box, and click OK. >4. In the Default Security tab, click the Edit Default in the Default >Launch Permissions frame. The Registry Value Permissions dialog box >appears. >5. Add the IUSR_ account to the Registry Value >Permissions dialog box0, and click OK. > > >HTH >Jim > >-----Original Message----- >From: accessd-bounces at databaseadvisors.com >[mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Erwin Craps >- IT Helps >Sent: Thursday, June 16, 2005 4:43 AM >To: Access Developers discussion and problem solving >Subject: [AccessD] Urgent help needed with >IISserver.CreateObject("ADODB.Connection") >Importance: High > > >I'm getting desperate over here. > >Yesterday I installed this mont security fixes on my W2K server. >I also took the opportunity to install SQL SP4. > >>From that reboot on, non of my database driven website no longer >functions. > >For both "JET 4 MDB" and "SQL server" access I get an error on this >command where it always used to work before the updates. >failing command server.CreateObject("ADODB.Connection") >Retunred error >Server object error 'ASP 0178 : 80070005' >Server.CreateObject Access Error >The call to Server.CreateObject failed while checking permissions. >Access is denied to this object. > > > > >I checked al my NTFS permissons according to the MSKB, but I believe >everything is ok. > >Anyway, it worked for years before this update. > > > >Is this a bug in the windows fiexes???? > > > > > > > >Erwin Craps > >Zaakvoerder > >www.ithelps.be/onsgezin > > > >This E-mail is confidential, may be legally privileged, and is for the >intended recipient only. Access, disclosure, copying, distribution, or >reliance on any of it by anyone else is prohibited and may be a >criminal offence. Please delete if obtained in error and E-mail >confirmation to the sender. > >IT Helps - I.T. Help Center *** Box Office Belgium & Luxembourg > >www.ithelps.be * www.boxoffice.be > * www.stadleuven.be > > >IT Helps bvba* ** Mercatorpad 3 ** 3000 Leuven > >IT Helps * Phone: +32 16 296 404 * Fax: +32 16 296 405 E-mail: >Info at ithelps.be > >Box Office ** Fax: +32 16 296 406 ** Box Office E-mail: >Staff at boxoffice.be > > >-- >AccessD mailing list >AccessD at databaseadvisors.com >http://databaseadvisors.com/mailman/listinfo/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 artful at rogers.com Fri Jun 17 21:46:43 2005 From: artful at rogers.com (Arthur Fuller) Date: Fri, 17 Jun 2005 22:46:43 -0400 Subject: [AccessD] Question about Animated Graphics In-Reply-To: <916187228923D311A6FE00A0CC3FAA30ABEC3F@ADGSERVER> Message-ID: <200506180246.j5I2kcR21562@databaseadvisors.com> Bummer.... O well. -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Bobby Heid Sent: June 17, 2005 8:48 AM To: 'Access Developers discussion and problem solving' Subject: RE: [AccessD] Question about Animated Graphics Those are animated Gif files which are not supported in Access (well at least version 2000 and less). I think that there are some 3rd-party controls that will let you host an animated Gif. Bobby -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Arthur Fuller Sent: Thursday, June 16, 2005 10:31 PM To: 'Access Developers discussion and problem solving' Subject: [AccessD] Question about Animated Graphics I found some cool graphics appropriate to an app I'm building now, but so far I can't make them work correctly. For a peek at the graphics, see http://www.animation-central.com/gears.htm. The graphics there move. When I download one graphic and drop it on an Access form, it's static not animated. I want the animation! How do I achieve this? TIA, Arthur -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From Erwin.Craps at ithelps.be Sat Jun 18 04:17:27 2005 From: Erwin.Craps at ithelps.be (Erwin Craps - IT Helps) Date: Sat, 18 Jun 2005 11:17:27 +0200 Subject: [AccessD] Urgent helpneededwithIISserver SOLVED Message-ID: <46B976F2B698FF46A4FE7636509B22DF1B5C91@stekelbes.ithelps.local> I Was able to locate and solve the problem with aid of the MDAC component checker. I noticed that some ADO files where located at "Z:\program Files\Common Files\system" instead of the normal C: drive. The NTFS file security for this system folder where not correctly set as specified in the MS articles. I always checked the C drive folder!!! That leaves me with the question why these MDAC are installed in the Z drive. My account data specifies drive Z: for the home directory, but again I don't see the point why my common files are set to the Z drive. I changed the registry entries from all Z: to C: and noticed the a registry key commonfilesfolder (or something) was set to the z drive. I changed that to to C: To conclude this problem I blmieve what happened is this. 1) I analised my server with MSBA that resulted in a MDAC that needed updating. 2) I updated the MDAC but also windows updates an SQL SP4 to save time. 3) For some resaon MDAC update installed onto the Z drive instead of the C 4) The Z: drive is a user folder where only administrators (group) and the user (in this case the administrator (user) has access to. Due to NTFS security limitations on the Z drive the IIS could not load MDAC components using thr IUSR failing all data access from my website. Probably lost 12 working hours and 3 days of website problems. Thank you whomever to thank (maybe myself with that home folder thing, but this has worked for 2 years) Erwin -----Oorspronkelijk bericht----- Van: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] Namens Erwin Craps - IT Helps Verzonden: vrijdag 17 juni 2005 21:16 Aan: Access Developers discussion and problem solving Onderwerp: RE: [AccessD] Urgent helpneededwithIISserver.CreateObject("ADODB.Connection") Il give it a shot. I noticed now that also FSO does not work anymore in ASP... Must be clearly one of this months windows updates that has caused this. Erwin -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of MartyConnelly Sent: Friday, June 17, 2005 5:26 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Urgent help neededwithIISserver.CreateObject("ADODB.Connection") Have you tried filemon from sysinternals.com to trace the access permission error Erwin Craps - IT Helps wrote: >Noop, Doesnt solve the problem. >Already added those. > >Problem is persistent.. > > >-----Oorspronkelijk bericht----- >Van: accessd-bounces at databaseadvisors.com >[mailto:accessd-bounces at databaseadvisors.com] Namens Jim Lawrence >Verzonden: donderdag 16 juni 2005 17:07 >Aan: 'Access Developers discussion and problem solving' >Onderwerp: RE: [AccessD] Urgent help needed >withIISserver.CreateObject("ADODB.Connection") > >Hi Erwin: > >Have you seen this article from MS? >http://support.microsoft.com/kb/198432/EN-US/ > > >Solution: >You need to give the IUSR_ account permissions to launch >and access your OOP COM object using dcomcnfg by doing the following: >1. Launch DCOMCNFG by clicking the Start button, selecting Run, and >typing "Dcomcnfg" in the Run dialog box. >2. In the Default Security tab, click the "Edit Default" in the >"Default Access Permissions" frame. The Registry Value Permissions >dialog box appears. >3. Add the IUSR_account and the INTERACTIVE account to >the Registry Value Permissions dialog box, and click OK. >4. In the Default Security tab, click the Edit Default in the Default >Launch Permissions frame. The Registry Value Permissions dialog box >appears. >5. Add the IUSR_ account to the Registry Value >Permissions dialog box0, and click OK. > > >HTH >Jim > >-----Original Message----- >From: accessd-bounces at databaseadvisors.com >[mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Erwin Craps >- IT Helps >Sent: Thursday, June 16, 2005 4:43 AM >To: Access Developers discussion and problem solving >Subject: [AccessD] Urgent help needed with >IISserver.CreateObject("ADODB.Connection") >Importance: High > > >I'm getting desperate over here. > >Yesterday I installed this mont security fixes on my W2K server. >I also took the opportunity to install SQL SP4. > >>From that reboot on, non of my database driven website no longer >functions. > >For both "JET 4 MDB" and "SQL server" access I get an error on this >command where it always used to work before the updates. >failing command server.CreateObject("ADODB.Connection") >Retunred error >Server object error 'ASP 0178 : 80070005' >Server.CreateObject Access Error >The call to Server.CreateObject failed while checking permissions. >Access is denied to this object. > > > > >I checked al my NTFS permissons according to the MSKB, but I believe >everything is ok. > >Anyway, it worked for years before this update. > > > >Is this a bug in the windows fiexes???? > > > > > > > >Erwin Craps > >Zaakvoerder > >www.ithelps.be/onsgezin > > > >This E-mail is confidential, may be legally privileged, and is for the >intended recipient only. Access, disclosure, copying, distribution, or >reliance on any of it by anyone else is prohibited and may be a >criminal offence. Please delete if obtained in error and E-mail >confirmation to the sender. > >IT Helps - I.T. Help Center *** Box Office Belgium & Luxembourg > >www.ithelps.be * www.boxoffice.be > * www.stadleuven.be > > >IT Helps bvba* ** Mercatorpad 3 ** 3000 Leuven > >IT Helps * Phone: +32 16 296 404 * Fax: +32 16 296 405 E-mail: >Info at ithelps.be > >Box Office ** Fax: +32 16 296 406 ** Box Office E-mail: >Staff at boxoffice.be > > >-- >AccessD mailing list >AccessD at databaseadvisors.com >http://databaseadvisors.com/mailman/listinfo/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 -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From jwcolby at colbyconsulting.com Sat Jun 18 07:40:22 2005 From: jwcolby at colbyconsulting.com (John W. Colby) Date: Sat, 18 Jun 2005 08:40:22 -0400 Subject: [AccessD] OT: Firefox password store Message-ID: <000201c57402$e80893c0$6c7aa8c0@ColbyM6805> I use FF to store my passwords for web pages. What I haven't figured out is why it sometimes does not offer to save the username / password? Anyone know? John W. Colby www.ColbyConsulting.com Contribute your unused CPU cycles to a good cause: http://folding.stanford.edu/ From martyconnelly at shaw.ca Sat Jun 18 10:58:25 2005 From: martyconnelly at shaw.ca (MartyConnelly) Date: Sat, 18 Jun 2005 08:58:25 -0700 Subject: [AccessD] Urgent helpneededwithIISserver SOLVED References: <46B976F2B698FF46A4FE7636509B22DF1B5C91@stekelbes.ithelps.local> Message-ID: <42B444A1.3090000@shaw.ca> Well if it is any consolation, Microsoft is firing the MDAC installs. MDAC Microsoft Data Access Components version 2.8 SP-1 is the last stand alone redistributable of MDAC that Microsoft will ship. The end of the MDAC Redistributable http://blogs.msdn.com/dataaccess/archive/2005/05/23/421039.aspx It might have been dependant on what user you were logged on as when you started the installs. Some program installs ask do you want accessible to all users or just logged on user, this maybe dependant on your groups policy. Erwin Craps - IT Helps wrote: >I Was able to locate and solve the problem with aid of the MDAC >component checker. > >I noticed that some ADO files where located at "Z:\program Files\Common >Files\system" instead of the normal C: drive. > >The NTFS file security for this system folder where not correctly set as >specified in the MS articles. >I always checked the C drive folder!!! > >That leaves me with the question why these MDAC are installed in the Z >drive. >My account data specifies drive Z: for the home directory, but again I >don't see the point why my common files are set to the Z drive. I >changed the registry entries from all Z: to C: and noticed the a >registry key commonfilesfolder (or something) was set to the z drive. I >changed that to to C: > >To conclude this problem I blmieve what happened is this. >1) I analised my server with MSBA that resulted in a MDAC that needed >updating. >2) I updated the MDAC but also windows updates an SQL SP4 to save time. >3) For some resaon MDAC update installed onto the Z drive instead of the >C >4) The Z: drive is a user folder where only administrators (group) and >the user (in this case the administrator (user) has access to. Due to >NTFS security limitations on the Z drive the IIS could not load MDAC >components using thr IUSR failing all data access from my website. > > >Probably lost 12 working hours and 3 days of website problems. > >Thank you whomever to thank (maybe myself with that home folder thing, >but this has worked for 2 years) > >Erwin > > > > >-----Oorspronkelijk bericht----- >Van: accessd-bounces at databaseadvisors.com >[mailto:accessd-bounces at databaseadvisors.com] Namens Erwin Craps - IT >Helps >Verzonden: vrijdag 17 juni 2005 21:16 >Aan: Access Developers discussion and problem solving >Onderwerp: RE: [AccessD] Urgent >helpneededwithIISserver.CreateObject("ADODB.Connection") > >Il give it a shot. >I noticed now that also FSO does not work anymore in ASP... > >Must be clearly one of this months windows updates that has caused this. > >Erwin > >-----Original Message----- >From: accessd-bounces at databaseadvisors.com >[mailto:accessd-bounces at databaseadvisors.com] On Behalf Of MartyConnelly >Sent: Friday, June 17, 2005 5:26 PM >To: Access Developers discussion and problem solving >Subject: Re: [AccessD] Urgent help >neededwithIISserver.CreateObject("ADODB.Connection") > >Have you tried filemon from sysinternals.com to trace the access >permission error > >Erwin Craps - IT Helps wrote: > > > >>Noop, Doesnt solve the problem. >>Already added those. >> >>Problem is persistent.. >> >> >>-----Oorspronkelijk bericht----- >>Van: accessd-bounces at databaseadvisors.com >>[mailto:accessd-bounces at databaseadvisors.com] Namens Jim Lawrence >>Verzonden: donderdag 16 juni 2005 17:07 >>Aan: 'Access Developers discussion and problem solving' >>Onderwerp: RE: [AccessD] Urgent help needed >>withIISserver.CreateObject("ADODB.Connection") >> >>Hi Erwin: >> >>Have you seen this article from MS? >>http://support.microsoft.com/kb/198432/EN-US/ >> >> >>Solution: >>You need to give the IUSR_ account permissions to launch >>and access your OOP COM object using dcomcnfg by doing the following: >>1. Launch DCOMCNFG by clicking the Start button, selecting Run, and >>typing "Dcomcnfg" in the Run dialog box. >>2. In the Default Security tab, click the "Edit Default" in the >>"Default Access Permissions" frame. The Registry Value Permissions >>dialog box appears. >>3. Add the IUSR_account and the INTERACTIVE account to >>the Registry Value Permissions dialog box, and click OK. >>4. In the Default Security tab, click the Edit Default in the Default >>Launch Permissions frame. The Registry Value Permissions dialog box >>appears. >>5. Add the IUSR_ account to the Registry Value >>Permissions dialog box0, and click OK. >> >> >>HTH >>Jim >> >>-----Original Message----- >>From: accessd-bounces at databaseadvisors.com >>[mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Erwin Craps >>- IT Helps >>Sent: Thursday, June 16, 2005 4:43 AM >>To: Access Developers discussion and problem solving >>Subject: [AccessD] Urgent help needed with >>IISserver.CreateObject("ADODB.Connection") >>Importance: High >> >> >>I'm getting desperate over here. >> >>Yesterday I installed this mont security fixes on my W2K server. >>I also took the opportunity to install SQL SP4. >> >>>From that reboot on, non of my database driven website no longer >>functions. >> >>For both "JET 4 MDB" and "SQL server" access I get an error on this >>command where it always used to work before the updates. >>failing command server.CreateObject("ADODB.Connection") >>Retunred error >>Server object error 'ASP 0178 : 80070005' >>Server.CreateObject Access Error >>The call to Server.CreateObject failed while checking permissions. >>Access is denied to this object. >> >> >> >> >>I checked al my NTFS permissons according to the MSKB, but I believe >>everything is ok. >> >>Anyway, it worked for years before this update. >> >> >> >>Is this a bug in the windows fiexes???? >> >> >> >> >> >> >> >>Erwin Craps >> >>Zaakvoerder >> >>www.ithelps.be/onsgezin >> >> >> >>This E-mail is confidential, may be legally privileged, and is for the >>intended recipient only. Access, disclosure, copying, distribution, or >>reliance on any of it by anyone else is prohibited and may be a >>criminal offence. Please delete if obtained in error and E-mail >>confirmation to the sender. >> >>IT Helps - I.T. Help Center *** Box Office Belgium & Luxembourg >> >>www.ithelps.be * www.boxoffice.be >> * www.stadleuven.be >> >> >>IT Helps bvba* ** Mercatorpad 3 ** 3000 Leuven >> >>IT Helps * Phone: +32 16 296 404 * Fax: +32 16 296 405 E-mail: >>Info at ithelps.be >> >>Box Office ** Fax: +32 16 296 406 ** Box Office E-mail: >>Staff at boxoffice.be >> >> >>-- >>AccessD mailing list >>AccessD at databaseadvisors.com >>http://databaseadvisors.com/mailman/listinfo/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 >-- >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 D.Dick at uws.edu.au Sun Jun 19 19:00:30 2005 From: D.Dick at uws.edu.au (Darren Dick) Date: Mon, 20 Jun 2005 10:00:30 +1000 Subject: [AccessD] Question about Animated Graphics Message-ID: <2FDE83AF1A69C84796CBD13788DDA8834518F8@BONHAM.AD.UWS.EDU.AU> Hi Arthur Drew had some code (In Access 97 I think) in his minicalendar that allowed for animated graphics. Not sure if it was for an AVI or an animated GIF If you have A97 download the minicalendar and have a look But it can be also done with timers I have also seen in some of Candace's demos the "Gears turning inside the head" animation It was a handful of stills made visible or not-visible using the timer. Looked cool But to get it to go fast caused screen flicker - and the screen flicker varied from Not visible at all on some pewtas To a real PITA in others But as for inserting a native animated GIF and getting it to do what you know an animated GIF can do Is traditionally very tricky in Access and does require some sort of smoke and mirrors See ya DD -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Arthur Fuller Sent: Saturday, June 18, 2005 12:47 PM To: 'Access Developers discussion and problem solving' Subject: RE: [AccessD] Question about Animated Graphics Bummer.... O well. -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Bobby Heid Sent: June 17, 2005 8:48 AM To: 'Access Developers discussion and problem solving' Subject: RE: [AccessD] Question about Animated Graphics Those are animated Gif files which are not supported in Access (well at least version 2000 and less). I think that there are some 3rd-party controls that will let you host an animated Gif. Bobby -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Arthur Fuller Sent: Thursday, June 16, 2005 10:31 PM To: 'Access Developers discussion and problem solving' Subject: [AccessD] Question about Animated Graphics I found some cool graphics appropriate to an app I'm building now, but so far I can't make them work correctly. For a peek at the graphics, see http://www.animation-central.com/gears.htm. The graphics there move. When I download one graphic and drop it on an Access form, it's static not animated. I want the animation! How do I achieve this? TIA, Arthur -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From Erwin.Craps at ithelps.be Mon Jun 20 12:19:43 2005 From: Erwin.Craps at ithelps.be (Erwin Craps - IT Helps) Date: Mon, 20 Jun 2005 19:19:43 +0200 Subject: [AccessD] OT - Visual Basic 6.0 - Is Form Open Message-ID: <46B976F2B698FF46A4FE7636509B22DF1B5CA3@stekelbes.ithelps.local> I recal it is much easier than in access. If formname.load = true then Erwin -----Oorspronkelijk bericht----- Van: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] Namens Paul Hartland (ISHARP) Verzonden: vrijdag 17 juni 2005 15:09 Aan: 'Access Developers discussion and problem solving' Onderwerp: RE: [AccessD] OT - Visual Basic 6.0 - Is Form Open Thanks, works a treat..... Hope I can help out sometime -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Griffiths, Richard Sent: 17 June 2005 13:56 To: Access Developers discussion and problem solving Subject: RE: [AccessD] OT - Visual Basic 6.0 - Is Form Open Maybe this Private Sub Form_Load() If IsLoaded("Form1") = True Then MsgBox "Yep, loaded" End If End Sub Private Function IsLoaded(ByVal FormName As String) As Boolean Dim f As Form 'check all open forms For Each f In Forms If f.Name = FormName Then 'yep, form is loaded IsLoaded = True 'no need to loop again... Exit For End If Next ' f End Function Richard -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of paul.hartland at fsmail.net Sent: 17 June 2005 12:43 To: accessd Subject: [AccessD] OT - Visual Basic 6.0 - Is Form Open To all, Does anyone know how to find out if a form is open in a Visual Basic 6.0 application ? Thanks in advance for any help on this. Paul Hartland Database Developer -- Whatever you Wanadoo: http://www.wanadoo.co.uk/time/ This email has been checked for most known viruses - find out more at: http://www.wanadoo.co.uk/help/id/7098.htm -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From carbonnb at gmail.com Tue Jun 21 12:28:01 2005 From: carbonnb at gmail.com (Bryan Carbonnell) Date: Tue, 21 Jun 2005 13:28:01 -0400 Subject: [AccessD] Just Checking.... Message-ID: Just checking to see if there is anyone out there or is AccessD down? It's just too quite. -- 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 RRANTHON at sentara.com Tue Jun 21 12:33:21 2005 From: RRANTHON at sentara.com (Randall R Anthony) Date: Tue, 21 Jun 2005 13:33:21 -0400 Subject: [AccessD] Just Checking.... Message-ID: <200506211733.j5LHXZR26514@databaseadvisors.com> I'm-a still a-lurking... Randy Anthony, MCP Software Engineer Sentara Health Plan/IT (757)687-6207 >>> carbonnb at gmail.com 6/21/2005 1:28:01 PM >>> Just checking to see if there is anyone out there or is AccessD down? It's just too quite. -- Bryan Carbonnell - carbonnb at gmail.com Life's journey is not to arrive at the grave safely in a well preserved body, but rather to skid in sideways, totally worn out, shouting "What a great ride!" -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From dwaters at usinternet.com Tue Jun 21 12:58:42 2005 From: dwaters at usinternet.com (Dan Waters) Date: Tue, 21 Jun 2005 10:58:42 -0700 Subject: [AccessD] Just Checking.... In-Reply-To: <2983521.1119375486655.JavaMail.root@sniper17> Message-ID: <000001c5768a$dfe0c020$0518820a@danwaters> Well - it was quiet until now. :-) Dan Waters -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Bryan Carbonnell Sent: Tuesday, June 21, 2005 10:28 AM To: Access Developers discussion and problem solving Subject: [AccessD] Just Checking.... Just checking to see if there is anyone out there or is AccessD down? It's just too quite. -- Bryan Carbonnell - carbonnb at gmail.com Life's journey is not to arrive at the grave safely in a well preserved body, but rather to skid in sideways, totally worn out, shouting "What a great ride!" -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From JHewson at karta.com Tue Jun 21 13:39:13 2005 From: JHewson at karta.com (Jim Hewson) Date: Tue, 21 Jun 2005 13:39:13 -0500 Subject: [AccessD] Just Checking.... Message-ID: <9C382E065F54AE48BC3AA7925DCBB01C036297C6@karta-exc-int.Karta.com> I was thinking the same thing... I haven't received anything for about 24 hours! -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Bryan Carbonnell Sent: Tuesday, June 21, 2005 12:28 PM To: Access Developers discussion and problem solving Subject: [AccessD] Just Checking.... Just checking to see if there is anyone out there or is AccessD down? It's just too quite. -- Bryan Carbonnell - carbonnb at gmail.com Life's journey is not to arrive at the grave safely in a well preserved body, but rather to skid in sideways, totally worn out, shouting "What a great ride!" -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From jim.moss at jlmoss.net Tue Jun 21 13:37:11 2005 From: jim.moss at jlmoss.net (Jim Moss) Date: Tue, 21 Jun 2005 13:37:11 -0500 (CDT) Subject: [AccessD] Just Checking.... In-Reply-To: References: Message-ID: <60446.65.196.182.34.1119379031.squirrel@65.196.182.34> Old Egyptian proverb: Just because the surface of the water is calm doesn't mean that there are no crcodiles > Just checking to see if there is anyone out there or is AccessD down? > > It's just too quite. > > -- > Bryan Carbonnell - carbonnb at gmail.com > Life's journey is not to arrive at the grave safely in a well > preserved body, but rather to skid in sideways, totally worn out, > shouting "What a great ride!" > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > From starkey at wanadoo.nl Tue Jun 21 13:59:52 2005 From: starkey at wanadoo.nl (StaRKeY) Date: Tue, 21 Jun 2005 20:59:52 +0200 Subject: [AccessD] OT - Visual Basic 6.0 - Is Form Open In-Reply-To: <46B976F2B698FF46A4FE7636509B22DF1B5CA3@stekelbes.ithelps.local> Message-ID: <20050621185543.593F545784@smtp6.wanadoo.nl> Hi all, Also have a look at the form's objectstate in Access, you can use this also instead of looping through each form, which could get lengthy. If I remember right though I am not sure as of which Access version this functionality exists. Eg. If SysCmd(acSysCmdGetObjectState, acForm, ) = OBJSTATE_OPEN Then MsgBox "Form is open" End If Regards, Eric Starkenburg -----Oorspronkelijk bericht----- Van: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] Namens Erwin Craps - IT Helps Verzonden: maandag 20 juni 2005 19:20 Aan: Access Developers discussion and problem solving Onderwerp: RE: [AccessD] OT - Visual Basic 6.0 - Is Form Open I recal it is much easier than in access. If formname.load = true then Erwin -----Oorspronkelijk bericht----- Van: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] Namens Paul Hartland (ISHARP) Verzonden: vrijdag 17 juni 2005 15:09 Aan: 'Access Developers discussion and problem solving' Onderwerp: RE: [AccessD] OT - Visual Basic 6.0 - Is Form Open Thanks, works a treat..... Hope I can help out sometime -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Griffiths, Richard Sent: 17 June 2005 13:56 To: Access Developers discussion and problem solving Subject: RE: [AccessD] OT - Visual Basic 6.0 - Is Form Open Maybe this Private Sub Form_Load() If IsLoaded("Form1") = True Then MsgBox "Yep, loaded" End If End Sub Private Function IsLoaded(ByVal FormName As String) As Boolean Dim f As Form 'check all open forms For Each f In Forms If f.Name = FormName Then 'yep, form is loaded IsLoaded = True 'no need to loop again... Exit For End If Next ' f End Function Richard -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of paul.hartland at fsmail.net Sent: 17 June 2005 12:43 To: accessd Subject: [AccessD] OT - Visual Basic 6.0 - Is Form Open To all, Does anyone know how to find out if a form is open in a Visual Basic 6.0 application ? Thanks in advance for any help on this. Paul Hartland Database Developer -- Whatever you Wanadoo: http://www.wanadoo.co.uk/time/ This email has been checked for most known viruses - find out more at: http://www.wanadoo.co.uk/help/id/7098.htm -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com _____ avast! Antivirus : Uitgaande bericht is niet besmet. Virus Gegevensbestand (VPS): 0525-1, 21-06-2005 Getest op: 21-6-2005 20:59:51 avast! auteursrecht (c) 1988-2005 ALWIL Software. From Jim.Hale at FleetPride.com Tue Jun 21 14:04:14 2005 From: Jim.Hale at FleetPride.com (Hale, Jim) Date: Tue, 21 Jun 2005 14:04:14 -0500 Subject: [AccessD] Eval function Message-ID: <6A6AA9DF57E4F046BDA1E273BDDB6772337685@corp-es01.fleetpride.com> Okay, since it is quiet maybe we can start a discussion about the Eval() function. The article I just finished reading says "The Eval function lets you deliver applications that can create themselves dynamicaly at runtime. You can build your app code at runtime, pass it to the Eval statement, and have your dynamically generated line of code processed." Sounds interesting.Anybody use it? 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 dmcafee at pacbell.net Tue Jun 21 14:11:27 2005 From: dmcafee at pacbell.net (dmcafee at pacbell.net) Date: Tue, 21 Jun 2005 12:11:27 -0700 Subject: [AccessD] Just Checking.... In-Reply-To: <9C382E065F54AE48BC3AA7925DCBB01C036297C6@karta-exc-int.Karta.com> Message-ID: JC & Drew must have gone on vacation or called a truce ;) :P -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Jim Hewson Sent: Tuesday, June 21, 2005 11:39 AM To: Access Developers discussion and problem solving Subject: RE: [AccessD] Just Checking.... I was thinking the same thing... I haven't received anything for about 24 hours! -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Bryan Carbonnell Sent: Tuesday, June 21, 2005 12:28 PM To: Access Developers discussion and problem solving Subject: [AccessD] Just Checking.... Just checking to see if there is anyone out there or is AccessD down? It's just too quite. -- Bryan Carbonnell - carbonnb at gmail.com Life's journey is not to arrive at the grave safely in a well preserved body, but rather to skid in sideways, totally worn out, shouting "What a great ride!" -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From mmattys at rochester.rr.com Tue Jun 21 15:03:32 2005 From: mmattys at rochester.rr.com (Michael R Mattys) Date: Tue, 21 Jun 2005 16:03:32 -0400 Subject: [AccessD] Eval function References: <6A6AA9DF57E4F046BDA1E273BDDB6772337685@corp-es01.fleetpride.com> Message-ID: <016a01c5769c$4e59c950$0202a8c0@default> ----- Original Message ----- From: "Hale, Jim" To: "'Accessd (E-mail)" Sent: Tuesday, June 21, 2005 3:04 PM Subject: [AccessD] Eval function > Okay, since it is quiet maybe we can start a discussion about the Eval() > function. The article I just finished reading says "The Eval function lets > you deliver applications that can create themselves dynamicaly at runtime. > You can build your app code at runtime, pass it to the Eval statement, and > have your dynamically generated line of code processed." Sounds > interesting.Anybody use it? > Jim Hale Jim, What else does this article say? Why do I need the eval function if I've already written the code to create a form, controls, CBF etc? ---- Michael R. Mattys Mattys MapLib for Microsoft MapPoint http://www.mattysconsulting.com From scapistrant at symphonyinfo.com Tue Jun 21 15:49:19 2005 From: scapistrant at symphonyinfo.com (Steve Capistrant) Date: Tue, 21 Jun 2005 15:49:19 -0500 Subject: [AccessD] Eval function Message-ID: <855499653F55AD4190B242717DF132BC082CA8@dewey.Symphony.local> The EVAL function is indispensable for calling function procedures whose names are stored on tables. For example, in our applications, we maintain a central table named "Output", which is a list of all reports, export function, etc., making it very easy to present a list of outputs on a searchable screen, or to use them dynamically in menu structures. Every output requires that you first open a certain "launchpad" form to enter parameters (date range, font size, sort order, etc). We have a function written that opens this launchpad. The outputs table stores the function name -- e.g. "SetupLabels()" -- in a field named "TargetProcedure". Once the user chooses that output, your code needs to grab that function name and run it. That's where the EVAL() function comes in. Use code like this: ------- Public Function RunOutput(lngOutputID As Long) As Boolean Dim strProc As String strX = "Select * from Output WHERE OutputID = " & lngOutputID Set rs = db.OpenRecordset(strX, dbOpenDynaset, dbSeeChanges) strProc = rs!TargetProcedure Eval (strProc) --------- The only odd thing is that the function name as stored in the table MUST include parentheses, even if there are no parameters specified. Steve Capistrant scapistrant at symphonyinfo.com Symphony Information Services 7308 Aspen Lane North, Suite 132 Brooklyn Park, MN 55428 763-391-7400 www.symphonyinfo.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Michael R Mattys Sent: Tuesday, June 21, 2005 3:31 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Eval function ----- Original Message ----- From: "Hale, Jim" To: "'Accessd (E-mail)" Sent: Tuesday, June 21, 2005 3:04 PM Subject: [AccessD] Eval function > Okay, since it is quiet maybe we can start a discussion about the Eval() > function. The article I just finished reading says "The Eval function lets > you deliver applications that can create themselves dynamicaly at runtime. > You can build your app code at runtime, pass it to the Eval statement, and > have your dynamically generated line of code processed." Sounds > interesting.Anybody use it? > Jim Hale Jim, What else does this article say? Why do I need the eval function if I've already written the code to create a form, controls, CBF etc? ---- Michael R. Mattys Mattys MapLib for Microsoft MapPoint http://www.mattysconsulting.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From stephen at bondsoftware.co.nz Tue Jun 21 15:56:56 2005 From: stephen at bondsoftware.co.nz (Stephen Bond) Date: Wed, 22 Jun 2005 08:56:56 +1200 Subject: [AccessD] Eval function Message-ID: <70F3D727890C784291D8433E9C418F29088B08@server.bondsoftware.co.nz> Back in the early releases of Access you could use the @ character to pretty up the default MsgBox display. The @ character divided the display into 3 separate entities, the first bold, the second two not, each delimited by a blank line. So, MsgBox "File missing at The file FredDagg is missing at Please correct and re-try" would give you a nicely laid out msgbox. Somewhere in the last couple of releases, Access changed where MsgBox was processed. Somebody else will have to fill in the precise details here but the end result was that the @ characters were not recognised any more. So, this was the workaround: eval("Msgbox(""" & prompt & """, " & Buttons & ", """ & Title & """)") Apparently the Eval takes the String passed to it, evaluates it, and then processes it as a line of code. And it does give the nicely laid out msgbox. My 2cents Stephen Bond > -----Original Message----- > From: Michael R Mattys [mailto:mmattys at rochester.rr.com] > Sent: Wednesday, 22 June 2005 8:04 a.m. > To: Access Developers discussion and problem solving > Subject: Re: [AccessD] Eval function > > > ----- Original Message ----- > From: "Hale, Jim" > To: "'Accessd (E-mail)" > Sent: Tuesday, June 21, 2005 3:04 PM > Subject: [AccessD] Eval function > > > > Okay, since it is quiet maybe we can start a discussion > about the Eval() > > function. The article I just finished reading says "The > Eval function > lets > > you deliver applications that can create themselves > dynamicaly at runtime. > > You can build your app code at runtime, pass it to the Eval > statement, and > > have your dynamically generated line of code processed." Sounds > > interesting.Anybody use it? > > Jim Hale > > > Jim, > > What else does this article say? > Why do I need the eval function if I've already > written the code to create a form, controls, CBF etc? > > ---- > > Michael R. Mattys > Mattys MapLib for Microsoft MapPoint > http://www.mattysconsulting.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 Jun 21 16:21:50 2005 From: Jim.Hale at FleetPride.com (Hale, Jim) Date: Tue, 21 Jun 2005 16:21:50 -0500 Subject: [AccessD] Eval function Message-ID: <6A6AA9DF57E4F046BDA1E273BDDB677233768D@corp-es01.fleetpride.com> Interesting. Does it work in mdes? I ask because the article says "for a function like Eval to work its magic, your application execution environment must have access to the language's interpreter. Because Access is distributed with the VBA interpreter we get to use the Eval function." But since mdes are already compiled how can it work? Jim -----Original Message----- From: Steve Capistrant [mailto:scapistrant at symphonyinfo.com] Sent: Tuesday, June 21, 2005 3:49 PM To: Access Developers discussion and problem solving Subject: RE: [AccessD] Eval function The EVAL function is indispensable for calling function procedures whose names are stored on tables. For example, in our applications, we maintain a central table named "Output", which is a list of all reports, export function, etc., making it very easy to present a list of outputs on a searchable screen, or to use them dynamically in menu structures. Every output requires that you first open a certain "launchpad" form to enter parameters (date range, font size, sort order, etc). We have a function written that opens this launchpad. The outputs table stores the function name -- e.g. "SetupLabels()" -- in a field named "TargetProcedure". Once the user chooses that output, your code needs to grab that function name and run it. That's where the EVAL() function comes in. Use code like this: ------- Public Function RunOutput(lngOutputID As Long) As Boolean Dim strProc As String strX = "Select * from Output WHERE OutputID = " & lngOutputID Set rs = db.OpenRecordset(strX, dbOpenDynaset, dbSeeChanges) strProc = rs!TargetProcedure Eval (strProc) --------- The only odd thing is that the function name as stored in the table MUST include parentheses, even if there are no parameters specified. Steve Capistrant scapistrant at symphonyinfo.com Symphony Information Services 7308 Aspen Lane North, Suite 132 Brooklyn Park, MN 55428 763-391-7400 www.symphonyinfo.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Michael R Mattys Sent: Tuesday, June 21, 2005 3:31 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Eval function ----- Original Message ----- From: "Hale, Jim" To: "'Accessd (E-mail)" Sent: Tuesday, June 21, 2005 3:04 PM Subject: [AccessD] Eval function > Okay, since it is quiet maybe we can start a discussion about the Eval() > function. The article I just finished reading says "The Eval function lets > you deliver applications that can create themselves dynamicaly at runtime. > You can build your app code at runtime, pass it to the Eval statement, and > have your dynamically generated line of code processed." Sounds > interesting.Anybody use it? > Jim Hale Jim, What else does this article say? Why do I need the eval function if I've already written the code to create a form, controls, CBF etc? ---- Michael R. Mattys Mattys MapLib for Microsoft MapPoint http://www.mattysconsulting.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com *********************************************************************** 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 Tue Jun 21 16:28:44 2005 From: Jim.Hale at FleetPride.com (Hale, Jim) Date: Tue, 21 Jun 2005 16:28:44 -0500 Subject: [AccessD] Eval function Message-ID: <6A6AA9DF57E4F046BDA1E273BDDB677233768E@corp-es01.fleetpride.com> the article says code like this: Select Case (me.txtProcessingtype) Case "Update" Call UpdateRoutine Case "Delete" Call DeleteRoutine Case "Add" Call AddRoutine End Select can be written Eval me.txtProcessingtype & "Routine" Jim Hale -----Original Message----- From: Michael R Mattys [mailto:mmattys at rochester.rr.com] Sent: Tuesday, June 21, 2005 3:04 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Eval function ----- Original Message ----- From: "Hale, Jim" To: "'Accessd (E-mail)" Sent: Tuesday, June 21, 2005 3:04 PM Subject: [AccessD] Eval function > Okay, since it is quiet maybe we can start a discussion about the Eval() > function. The article I just finished reading says "The Eval function lets > you deliver applications that can create themselves dynamicaly at runtime. > You can build your app code at runtime, pass it to the Eval statement, and > have your dynamically generated line of code processed." Sounds > interesting.Anybody use it? > Jim Hale Jim, What else does this article say? Why do I need the eval function if I've already written the code to create a form, controls, CBF etc? ---- Michael R. Mattys Mattys MapLib for Microsoft MapPoint http://www.mattysconsulting.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 cfoust at infostatsystems.com Tue Jun 21 16:44:37 2005 From: cfoust at infostatsystems.com (Charlotte Foust) Date: Tue, 21 Jun 2005 14:44:37 -0700 Subject: [AccessD] FileMaker Pro Message-ID: Since it's so slow today, if anyone is into pain, there is a 30-day free trial (warning! HUGE download) of FileMaker Pro 7 available from the FileMaker website. Of all the versions so far, this comes the closest to being relational in that you can create "relationships" between mutliple tables rather than just linking two tables at a time and they have switched from the file per table format that they used to use. However, You can ONLY create relationships and indexes. You can't create a primary or unique key but you can cascade updates and deletes through any relationship! They are touting a huge maximum size of terabytes, but that includes the equivalent of memo fields and ole objects. There is no provision for a split FE-BE, but they allow you to run it on the web. Charlotte Foust Infostat Systems, Inc. From scapistrant at symphonyinfo.com Tue Jun 21 16:45:10 2005 From: scapistrant at symphonyinfo.com (Steve Capistrant) Date: Tue, 21 Jun 2005 16:45:10 -0500 Subject: [AccessD] Eval function Message-ID: <855499653F55AD4190B242717DF132BC082CAB@dewey.Symphony.local> Yep. Works without a hitch in MDEs. Steve Capistrant scapistrant at symphonyinfo.com Symphony Information Services 7308 Aspen Lane North, Suite 132 Brooklyn Park, MN 55428 763-391-7400 www.symphonyinfo.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Hale, Jim Sent: Tuesday, June 21, 2005 4:31 PM To: 'Access Developers discussion and problem solving' Subject: RE: [AccessD] Eval function Interesting. Does it work in mdes? I ask because the article says "for a function like Eval to work its magic, your application execution environment must have access to the language's interpreter. Because Access is distributed with the VBA interpreter we get to use the Eval function." But since mdes are already compiled how can it work? Jim -----Original Message----- From: Steve Capistrant [mailto:scapistrant at symphonyinfo.com] Sent: Tuesday, June 21, 2005 3:49 PM To: Access Developers discussion and problem solving Subject: RE: [AccessD] Eval function The EVAL function is indispensable for calling function procedures whose names are stored on tables. For example, in our applications, we maintain a central table named "Output", which is a list of all reports, export function, etc., making it very easy to present a list of outputs on a searchable screen, or to use them dynamically in menu structures. Every output requires that you first open a certain "launchpad" form to enter parameters (date range, font size, sort order, etc). We have a function written that opens this launchpad. The outputs table stores the function name -- e.g. "SetupLabels()" -- in a field named "TargetProcedure". Once the user chooses that output, your code needs to grab that function name and run it. That's where the EVAL() function comes in. Use code like this: ------- Public Function RunOutput(lngOutputID As Long) As Boolean Dim strProc As String strX = "Select * from Output WHERE OutputID = " & lngOutputID Set rs = db.OpenRecordset(strX, dbOpenDynaset, dbSeeChanges) strProc = rs!TargetProcedure Eval (strProc) --------- The only odd thing is that the function name as stored in the table MUST include parentheses, even if there are no parameters specified. Steve Capistrant scapistrant at symphonyinfo.com Symphony Information Services 7308 Aspen Lane North, Suite 132 Brooklyn Park, MN 55428 763-391-7400 www.symphonyinfo.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Michael R Mattys Sent: Tuesday, June 21, 2005 3:31 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Eval function ----- Original Message ----- From: "Hale, Jim" To: "'Accessd (E-mail)" Sent: Tuesday, June 21, 2005 3:04 PM Subject: [AccessD] Eval function > Okay, since it is quiet maybe we can start a discussion about the Eval() > function. The article I just finished reading says "The Eval function lets > you deliver applications that can create themselves dynamicaly at runtime. > You can build your app code at runtime, pass it to the Eval statement, and > have your dynamically generated line of code processed." Sounds > interesting.Anybody use it? > Jim Hale Jim, What else does this article say? Why do I need the eval function if I've already written the code to create a form, controls, CBF etc? ---- Michael R. Mattys Mattys MapLib for Microsoft MapPoint http://www.mattysconsulting.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com *********************************************************************** 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 Tue Jun 21 16:45:52 2005 From: DWUTKA at marlow.com (DWUTKA at marlow.com) Date: Tue, 21 Jun 2005 16:45:52 -0500 Subject: [AccessD] Just Checking.... Message-ID: <123701F54509D9119A4F00D0B747349016D74B@main2.marlow.com> Nope, just busy...and there hasn't been anything good to argue about.......we normally just feed off what gets posted. It's not our fault the other listers aren't posting juicy stuff to dig into! Drew -----Original Message----- From: dmcafee at pacbell.net [mailto:dmcafee at pacbell.net] Sent: Tuesday, June 21, 2005 2:11 PM To: Access Developers discussion and problem solving Subject: RE: [AccessD] Just Checking.... JC & Drew must have gone on vacation or called a truce ;) :P -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Jim Hewson Sent: Tuesday, June 21, 2005 11:39 AM To: Access Developers discussion and problem solving Subject: RE: [AccessD] Just Checking.... I was thinking the same thing... I haven't received anything for about 24 hours! -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Bryan Carbonnell Sent: Tuesday, June 21, 2005 12:28 PM To: Access Developers discussion and problem solving Subject: [AccessD] Just Checking.... Just checking to see if there is anyone out there or is AccessD down? It's just too quite. -- Bryan Carbonnell - carbonnb at gmail.com Life's journey is not to arrive at the grave safely in a well preserved body, but rather to skid in sideways, totally worn out, shouting "What a great ride!" -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd 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 Jun 21 18:07:58 2005 From: jwcolby at colbyconsulting.com (John W. Colby) Date: Tue, 21 Jun 2005 19:07:58 -0400 Subject: [AccessD] Just Checking.... In-Reply-To: <123701F54509D9119A4F00D0B747349016D74B@main2.marlow.com> Message-ID: <002e01c576b6$10ba7df0$6c7aa8c0@ColbyM6805> Precisely so let's start one. Anyone who doesn't use a 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, June 21, 2005 5:46 PM To: accessd at databaseadvisors.com Subject: RE: [AccessD] Just Checking.... Nope, just busy...and there hasn't been anything good to argue about.......we normally just feed off what gets posted. It's not our fault the other listers aren't posting juicy stuff to dig into! Drew -----Original Message----- From: dmcafee at pacbell.net [mailto:dmcafee at pacbell.net] Sent: Tuesday, June 21, 2005 2:11 PM To: Access Developers discussion and problem solving Subject: RE: [AccessD] Just Checking.... JC & Drew must have gone on vacation or called a truce ;) :P -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Jim Hewson Sent: Tuesday, June 21, 2005 11:39 AM To: Access Developers discussion and problem solving Subject: RE: [AccessD] Just Checking.... I was thinking the same thing... I haven't received anything for about 24 hours! -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Bryan Carbonnell Sent: Tuesday, June 21, 2005 12:28 PM To: Access Developers discussion and problem solving Subject: [AccessD] Just Checking.... Just checking to see if there is anyone out there or is AccessD down? It's just too quite. -- Bryan Carbonnell - carbonnb at gmail.com Life's journey is not to arrive at the grave safely in a well preserved body, but rather to skid in sideways, totally worn out, shouting "What a great ride!" -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd 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 Jun 21 19:15:19 2005 From: jmhecht at earthlink.net (Joe Hecht) Date: Tue, 21 Jun 2005 17:15:19 -0700 Subject: [AccessD] Just Checking.... In-Reply-To: <002e01c576b6$10ba7df0$6c7aa8c0@ColbyM6805> Message-ID: <002601c576bf$7a219720$6401a8c0@laptop1> John is right. ( Just trying to be helpful) 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, June 21, 2005 4:08 PM To: access at joe2.endjunk.com; 'Access Developers discussion and problem solving' Subject: RE: [AccessD] Just Checking.... Precisely so let's start one. Anyone who doesn't use a 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, June 21, 2005 5:46 PM To: accessd at databaseadvisors.com Subject: RE: [AccessD] Just Checking.... Nope, just busy...and there hasn't been anything good to argue about.......we normally just feed off what gets posted. It's not our fault the other listers aren't posting juicy stuff to dig into! Drew -----Original Message----- From: dmcafee at pacbell.net [mailto:dmcafee at pacbell.net] Sent: Tuesday, June 21, 2005 2:11 PM To: Access Developers discussion and problem solving Subject: RE: [AccessD] Just Checking.... JC & Drew must have gone on vacation or called a truce ;) :P -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Jim Hewson Sent: Tuesday, June 21, 2005 11:39 AM To: Access Developers discussion and problem solving Subject: RE: [AccessD] Just Checking.... I was thinking the same thing... I haven't received anything for about 24 hours! -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Bryan Carbonnell Sent: Tuesday, June 21, 2005 12:28 PM To: Access Developers discussion and problem solving Subject: [AccessD] Just Checking.... Just checking to see if there is anyone out there or is AccessD down? It's just too quite. -- Bryan Carbonnell - carbonnb at gmail.com Life's journey is not to arrive at the grave safely in a well preserved body, but rather to skid in sideways, totally worn out, shouting "What a great ride!" -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From nd500_lo at charter.net Tue Jun 21 19:37:10 2005 From: nd500_lo at charter.net (Dian) Date: Tue, 21 Jun 2005 17:37:10 -0700 Subject: [AccessD] Just Checking.... In-Reply-To: <002601c576bf$7a219720$6401a8c0@laptop1> Message-ID: <4532ph$vqgrh4@mxip05a.cluster1.charter.net> Agreed... -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Joe Hecht Sent: Tuesday, June 21, 2005 5:15 PM To: 'Access Developers discussion and problem solving' Subject: RE: [AccessD] Just Checking.... John is right. ( Just trying to be helpful) 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, June 21, 2005 4:08 PM To: access at joe2.endjunk.com; 'Access Developers discussion and problem solving' Subject: RE: [AccessD] Just Checking.... Precisely so let's start one. Anyone who doesn't use a 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, June 21, 2005 5:46 PM To: accessd at databaseadvisors.com Subject: RE: [AccessD] Just Checking.... Nope, just busy...and there hasn't been anything good to argue about.......we normally just feed off what gets posted. It's not our fault the other listers aren't posting juicy stuff to dig into! Drew -----Original Message----- From: dmcafee at pacbell.net [mailto:dmcafee at pacbell.net] Sent: Tuesday, June 21, 2005 2:11 PM To: Access Developers discussion and problem solving Subject: RE: [AccessD] Just Checking.... JC & Drew must have gone on vacation or called a truce ;) :P -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Jim Hewson Sent: Tuesday, June 21, 2005 11:39 AM To: Access Developers discussion and problem solving Subject: RE: [AccessD] Just Checking.... I was thinking the same thing... I haven't received anything for about 24 hours! -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Bryan Carbonnell Sent: Tuesday, June 21, 2005 12:28 PM To: Access Developers discussion and problem solving Subject: [AccessD] Just Checking.... Just checking to see if there is anyone out there or is AccessD down? It's just too quite. -- Bryan Carbonnell - carbonnb at gmail.com Life's journey is not to arrive at the grave safely in a well preserved body, but rather to skid in sideways, totally worn out, shouting "What a great ride!" -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From newsgrps at dalyn.co.nz Tue Jun 21 20:24:57 2005 From: newsgrps at dalyn.co.nz (David Emerson) Date: Wed, 22 Jun 2005 13:24:57 +1200 Subject: [AccessD] Linking Graph to Report Message-ID: <6.2.1.2.0.20050622131317.031142c0@mail.dalyn.co.nz> Access XP adp, SQL2000. I have a report with a graph on it. The graph is to show the number of days it took to process client information. Each month should have its own graph on a separate page. The reports source is a stored procedure which provides the months as an integer in the form yyyymm. SELECT ttmpPlanTrackGraph.ConsultPlanFranchise, ttmpPlanTrackGraph.YrMth FROM ttmpPlanTrackGraph GROUP BY ttmpPlanTrackGraph.ConsultPlanFranchise, ttmpPlanTrackGraph.YrMth The graphs source is also a stored procedure which includes a field with the month in the same format. SELECT ttmpPlanTrackGraph.ClientName, ttmpPlanTrackGraph.FranDays AS [Work Days in Fran], ttmpPlanTrackGraph.BurDays AS [Work Days in Bureau], ttmpPlanTrackGraph.ConsultPlanFranchise, ttmpPlanTrackGraph.YrMth FROM ttmpPlanTrackGraph I have set the Link Child Field and Link Master fields both to YrMth. The report shows a different page for each month, however each graph shows all records, not just the one for the pages month. How do I get only the relevant month's data showing on each page? Regards David Emerson Dalyn Software Ltd 25 Cunliffe St, Churton Park Wellington, New Zealand Ph/Fax (04) 478-7456 Mobile 027-280-9348 From Bruce.Bruen at railcorp.nsw.gov.au Tue Jun 21 21:44:57 2005 From: Bruce.Bruen at railcorp.nsw.gov.au (Bruen, Bruce) Date: Wed, 22 Jun 2005 12:44:57 +1000 Subject: [AccessD] A2K: How to change subform view Message-ID: Sorry about the delayed thanks guys but Thanks. It's a weird concept tho! bruce -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Michael R Mattys Sent: Friday, 10 June 2005 9:24 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] A2K: How to change subform view Hi Bruce, It was not a mistake. That's how it works. ---- Michael R. Mattys Mattys MapLib for Microsoft MapPoint http://www.mattysconsulting.com ----- Original Message ----- From: "Bruen, Bruce" To: "Access Developers discussion and problem solving" Sent: Friday, June 10, 2005 1:54 AM Subject: RE: [AccessD] A2K: How to change subform view > Michael, > > Both your Docmds are the same????? > > > bruce > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Michael R > Mattys > Sent: Friday, 10 June 2005 12:38 PM > To: Access Developers discussion and problem solving > Subject: Re: [AccessD] A2K: How to change subform view > > ----- Original Message ----- > From: "Bruen, Bruce" > To: > Sent: Thursday, June 09, 2005 10:25 PM > Subject: [AccessD] A2K: How to change subform view > > > Hi guys again, > > Memory has failed me. In Access 2000, what is the code trick to > change the subform view from datasheet to normal? > The following 2003 code does not work. > > Private Sub Test_DblClick(Cancel As Integer) > DoCmd.RunCommand acCmdSubformFormView End Sub > --------- > > bruce > > 'Form to Datasheet (It's a subform) > If Me.Customers.Form.CurrentView = 1 Then > Me.Customers.SetFocus > DoCmd.RunCommand acCmdSubformDatasheet > End If > > 'Datasheet to Form > If Me.Customers.Form.CurrentView = 2 Then > Me.Customers.SetFocus > DoCmd.RunCommand acCmdSubformDatasheet > End If > > ---- > > Michael R. Mattys > Mattys MapLib for Microsoft MapPoint > http://www.mattysconsulting.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. > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/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 andy at minstersystems.co.uk Wed Jun 22 01:34:00 2005 From: andy at minstersystems.co.uk (Andy Lacey) Date: Wed, 22 Jun 2005 07:34:00 +0100 Subject: [AccessD] Eval function In-Reply-To: <855499653F55AD4190B242717DF132BC082CAB@dewey.Symphony.local> Message-ID: <000001c576f4$60a34de0$11410c54@minster33c3r25> Yes I use it for a table-driven menu system. -- Andy Lacey http://www.minstersystems.co.uk > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of > Steve Capistrant > Sent: 21 June 2005 22:45 > To: Access Developers discussion and problem solving > Subject: RE: [AccessD] Eval function > > > Yep. Works without a hitch in MDEs. > > Steve Capistrant > scapistrant at symphonyinfo.com > Symphony Information Services > 7308 Aspen Lane North, Suite 132 > Brooklyn Park, MN 55428 > 763-391-7400 > www.symphonyinfo.com > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Hale, Jim > Sent: Tuesday, June 21, 2005 4:31 PM > To: 'Access Developers discussion and problem solving' > Subject: RE: [AccessD] Eval function > > Interesting. Does it work in mdes? I ask because the article > says "for a function like Eval to work its magic, your > application execution environment must have access to the > language's interpreter. Because Access is distributed with > the VBA interpreter we get to use the Eval function." But > since mdes are already compiled how can it work? Jim > > -----Original Message----- > From: Steve Capistrant [mailto:scapistrant at symphonyinfo.com] > Sent: Tuesday, June 21, 2005 3:49 PM > To: Access Developers discussion and problem solving > Subject: RE: [AccessD] Eval function > > > The EVAL function is indispensable for calling function > procedures whose names are stored on tables. For example, in > our applications, we maintain a central table named "Output", > which is a list of all reports, export function, etc., making > it very easy to present a list of outputs on a searchable > screen, or to use them dynamically in menu structures. > > Every output requires that you first open a certain > "launchpad" form to enter parameters (date range, font size, > sort order, etc). We have a function written that opens this > launchpad. The outputs table stores the function name -- > e.g. "SetupLabels()" -- in a field named "TargetProcedure". > Once the user chooses that output, your code needs to grab > that function name and run it. That's where the EVAL() > function comes in. Use code like this: > > ------- > Public Function RunOutput(lngOutputID As Long) As Boolean > Dim strProc As String > strX = "Select * from Output WHERE OutputID = " & lngOutputID > Set rs = db.OpenRecordset(strX, dbOpenDynaset, dbSeeChanges) > strProc = rs!TargetProcedure Eval (strProc) > --------- > > The only odd thing is that the function name as stored in the > table MUST include parentheses, even if there are no > parameters specified. > > Steve Capistrant > scapistrant at symphonyinfo.com > Symphony Information Services > 7308 Aspen Lane North, Suite 132 > Brooklyn Park, MN 55428 > 763-391-7400 > www.symphonyinfo.com > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of > Michael R Mattys > Sent: Tuesday, June 21, 2005 3:31 PM > To: Access Developers discussion and problem solving > Subject: Re: [AccessD] Eval function > > ----- Original Message ----- > From: "Hale, Jim" > To: "'Accessd (E-mail)" > Sent: Tuesday, June 21, 2005 3:04 PM > Subject: [AccessD] Eval function > > > > Okay, since it is quiet maybe we can start a discussion about the > Eval() > > function. The article I just finished reading says "The > Eval function > lets > > you deliver applications that can create themselves dynamicaly at > runtime. > > You can build your app code at runtime, pass it to the Eval > statement, > and > > have your dynamically generated line of code processed." Sounds > > interesting.Anybody use it? Jim Hale > > > Jim, > > What else does this article say? > Why do I need the eval function if I've already > written the code to create a form, controls, CBF etc? > > ---- > > Michael R. Mattys > Mattys MapLib for Microsoft MapPoint > http://www.mattysconsulting.com > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > > > > > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > > ************************************************************** > ********* > 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 Jdemarco at hudsonhealthplan.org Wed Jun 22 08:03:44 2005 From: Jdemarco at hudsonhealthplan.org (Jim DeMarco) Date: Wed, 22 Jun 2005 09:03:44 -0400 Subject: [AccessD] OT: Sharepoint Security Message-ID: <08F823FD83787D4BA0B99CA580AD3C74016C3A55@TTNEXCHCL2.hshhp.com> List, I've done some Googling but I can't seem to find the answer to this odd problem. I set up a Sharepoint site as a test bed (Sharepoint Services not Server) and gave a few users access. No matter what rights I give the users they have full admin rights to the sight. I set up custom security groups and the site is completely ignoring them. To further add to the mystery I removed on user (she is not a member of any security group therefore should not have access to the site) and she can still get in with full admin rights. Is it possible that Sharepoint is deferring to Windows rights? These are all IT staff here and have more liberal rights to our network than the average user. Does anyone have a clue? A push in the right direction would be appreciated. TIA Jim DeMarco Director of Application Development Hudson Health Plan *********************************************************************************** "This electronic message is intended to be for the use only of the named recipient, and may contain information from Hudson Health Plan (HHP) that is confidential or privileged. If you are not the intended recipient, you are hereby notified that any disclosure, copying, distribution or use of the contents of this message is strictly prohibited. If you have received this message in error or are not the named recipient, please notify us immediately, either by contacting the sender at the electronic mail address noted above or calling HHP at (914) 631-1611. If you are not the intended recipient, please do not forward this email to anyone, and delete and destroy all copies of this message. Thank You". *********************************************************************************** From Chester_Kaup at kindermorgan.com Wed Jun 22 09:05:15 2005 From: Chester_Kaup at kindermorgan.com (Kaup, Chester) Date: Wed, 22 Jun 2005 09:05:15 -0500 Subject: [AccessD] Comparing tables question Message-ID: I have two tables both of which have the fields Pattern and Well. The field pattern will appear several times with a different corresponding well. I need to compare each unique pattern well combination in table1 to see if the same unique combination exists in table2 and output a list of the ones that have no match. I am at a loss of how to do this. Thanks for ideas. Chester Kaup Engineering Technician Kinder Morgan CO2 Company, LLP Office (432) 688-3797 FAX (432) 688-3799 From JHewson at karta.com Wed Jun 22 09:08:09 2005 From: JHewson at karta.com (Jim Hewson) Date: Wed, 22 Jun 2005 09:08:09 -0500 Subject: [AccessD] OT: Sharepoint Security Message-ID: <9C382E065F54AE48BC3AA7925DCBB01C0362982C@karta-exc-int.Karta.com> Jim, I'm a novice, but will become the SharePoint "Expert" when I change jobs, in my company, next month. I'm interested in the outcome of your question. A couple of random thoughts... There are two levels of security for SharePoint. They are Central Administration and Site Administration rights. Central take precedence over site rights. If a person is a member of the Central Administration group which manages the settings for the Web Server and virtual servers, they effectively have Administrative rights to the entire portal. In Site Administration, IIRC, there is a toggle somewhere to designate a person to have the same rights as the parent area or site. Let me know if you have found the solution. Regards, Jim H. -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Jim DeMarco Sent: Wednesday, June 22, 2005 8:04 AM To: AccessD (E-mail) Subject: [AccessD] OT: Sharepoint Security List, I've done some Googling but I can't seem to find the answer to this odd problem. I set up a Sharepoint site as a test bed (Sharepoint Services not Server) and gave a few users access. No matter what rights I give the users they have full admin rights to the sight. I set up custom security groups and the site is completely ignoring them. To further add to the mystery I removed on user (she is not a member of any security group therefore should not have access to the site) and she can still get in with full admin rights. Is it possible that Sharepoint is deferring to Windows rights? These are all IT staff here and have more liberal rights to our network than the average user. Does anyone have a clue? A push in the right direction would be appreciated. TIA Jim DeMarco Director of Application Development Hudson Health Plan ************************************************************************ *********** "This electronic message is intended to be for the use only of the named recipient, and may contain information from Hudson Health Plan (HHP) that is confidential or privileged. If you are not the intended recipient, you are hereby notified that any disclosure, copying, distribution or use of the contents of this message is strictly prohibited. If you have received this message in error or are not the named recipient, please notify us immediately, either by contacting the sender at the electronic mail address noted above or calling HHP at (914) 631-1611. If you are not the intended recipient, please do not forward this email to anyone, and delete and destroy all copies of this message. Thank You". ************************************************************************ *********** -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From bchacc at san.rr.com Wed Jun 22 09:26:12 2005 From: bchacc at san.rr.com (Rocky Smolin - Beach Access Software) Date: Wed, 22 Jun 2005 07:26:12 -0700 Subject: [AccessD] Open File Dialog Box Call Fails Message-ID: <00b401c57736$57c70fd0$6c01a8c0@HAL9004> Dear List: I have a client who's selling an app I wrote where I use the code from the ADH to call the file open dialog box: Declare Function adh_apiGetOpenFileName Lib "comdlg32.dll" _ Alias "GetOpenFileNameA" (ofn As tagOPENFILENAME) As Boolean I haven't worked on the app for several months and it's been very stable until a couple of weeks ago when this call began to fail with no error message. Just didn't open the dialog box. Then it failed on another computer. Then on another one. Now no computer in his place runs this api. I went over to his place and stepped through the code and sure enough it goes to the api call and then goes right through the api call without opening the dialog box. If we try to drop the common dialog control onto a form in design view from the additional tools list in the toolbox we get a message that says the OLE server isn't registered. So I need to figure out 1) how to get the OLE server registered (unregistered first I suppose) and see if that is somehow hosing the file open dialog box 2) figure out if there's a problem with comdlg32.dll 3) see if I can determine why this app suddenly went south so that it doesn't happen at one of his customer sites. He's using Access 2000 SP-3 but also fails in AXP. The app fails on both W2K and WXP. He's pretty careful about virus scanning. I don't think it is a virus even though it behaves like one. Is it possible that it got hosed by an automatic windows update? Any clue as to what's going on here would be greatly appreciated. MTIA, Rocky Smolin Beach Access Software http://www.e-z-mrp.com 858-259-4334 From pedro at plex.nl Wed Jun 22 09:24:03 2005 From: pedro at plex.nl (Pedro Janssen) Date: Wed, 22 Jun 2005 16:24:03 +0200 Subject: [AccessD] invalid number of arguments References: <30BC111F638EB54082001A7E7282FE41114D45@elmo.co.montgomery.ny.us><007b01c57128$6c07acc0$fac581d5@pedro> <00ba01c571b1$155f3bc0$0202a8c0@default> Message-ID: <002001c57736$2e2e4210$fac581d5@pedro> Hello Michael and others, i have made a database for my wife who works in a small firm that sells bricks for building houses. In this database data about the brick and the clients who sell them, is stored. When the firm grew bigger, they invested in a commercial database for administration purposes. In this database however, i can't change anything. My wife don't want to ad each new client in two different databases. So i want to use the client table from the commercial database, because the clientID's are identical. The commercial database table with clients [DEBSTM] can be linked to the "brick" database [tblDebiteur]. When i make a copy and rename the table [DEBSTM], with a macro to [tblDebiteur], the table is still linked, so that i can't make any changes to it. I need the following changes (with an autoexec macro) - unlink the table or copy the [DEBSTM] in a way that i have a unlinked table left. - Change the name of [DEBSTM] to [tblDebiteur] - Change the IDfield Nummer into DebID and from text to Number - Changing fieldname Plaats to Woonplaats i have asked a few times question in accessd about this subject the last months, but i never had the time to finished it. My wife is still naging about it, so i really want to complete it now. Last weeks i became some codes for unlinking, but stumbled into errors. I don't want to use a query from this linked table, to adjust the names because i then have to adjust al other query's and tables. Using the same names for the table and fields would be the best way. Or is it an idea ( it came to my mind when i typed this mail), to use a table make query from [DEBSTM], use aliases for the fields and name it [tblDebiteur], by autoexec macro. But what about changing the data type from text to number?? TIA Pedro Janssen ----- Original Message ----- From: "Michael R Mattys" To: "Access Developers discussion and problem solving" Sent: Wednesday, June 15, 2005 3:49 PM Subject: Re: [AccessD] invalid number of arguments > ----- Original Message ----- > From: "Pedro Janssen" > To: "Access Developers discussion and problem solving" > > Sent: Tuesday, June 14, 2005 5:30 PM > Subject: Re: [AccessD] invalid number of arguments > [Snip] > > > Let me explain a little more why i need to delete the link: > > I have a linked table. > > I need a copy of that table (structure and data) , without the copy is > > beeing linked to. > > After that i need to adjust, by code some field names. > > > > Who has done this before and can help me with this?? > [Snip] > > Pedro, > > I have done and can do what you're asking. > > It may be that you only need to ALIAS fields from your > linked table in a query. Then again, you may have to delete > the link in order to manipulate fields in the external database. > > Please explain exactly what you are going to do and > we'll see which option needs implementation. > ---- > > Michael R. Mattys > Mattys MapLib for Microsoft MapPoint > http://www.mattysconsulting.com > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > From Jdemarco at hudsonhealthplan.org Wed Jun 22 09:30:22 2005 From: Jdemarco at hudsonhealthplan.org (Jim DeMarco) Date: Wed, 22 Jun 2005 10:30:22 -0400 Subject: [AccessD] OT: Sharepoint Security Message-ID: <08F823FD83787D4BA0B99CA580AD3C74016C3A5B@TTNEXCHCL2.hshhp.com> Well I just set up a non-IT staff member with Read access and that's all he could do (read). When I removed him from the site he could not access it any longer. So it looks like it may be using Windows Security to authenticate users. Unfortunately I need to limit even our IT staff in various sections of the site so I've got to get a work around together. I'll keep you posted. Thanks, Jim DeMarco -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Jim Hewson Sent: Wednesday, June 22, 2005 10:08 AM To: Access Developers discussion and problem solving Subject: RE: [AccessD] OT: Sharepoint Security Jim, I'm a novice, but will become the SharePoint "Expert" when I change jobs, in my company, next month. I'm interested in the outcome of your question. A couple of random thoughts... There are two levels of security for SharePoint. They are Central Administration and Site Administration rights. Central take precedence over site rights. If a person is a member of the Central Administration group which manages the settings for the Web Server and virtual servers, they effectively have Administrative rights to the entire portal. In Site Administration, IIRC, there is a toggle somewhere to designate a person to have the same rights as the parent area or site. Let me know if you have found the solution. Regards, Jim H. -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Jim DeMarco Sent: Wednesday, June 22, 2005 8:04 AM To: AccessD (E-mail) Subject: [AccessD] OT: Sharepoint Security List, I've done some Googling but I can't seem to find the answer to this odd problem. I set up a Sharepoint site as a test bed (Sharepoint Services not Server) and gave a few users access. No matter what rights I give the users they have full admin rights to the sight. I set up custom security groups and the site is completely ignoring them. To further add to the mystery I removed on user (she is not a member of any security group therefore should not have access to the site) and she can still get in with full admin rights. Is it possible that Sharepoint is deferring to Windows rights? These are all IT staff here and have more liberal rights to our network than the average user. Does anyone have a clue? A push in the right direction would be appreciated. TIA Jim DeMarco Director of Application Development Hudson Health Plan ************************************************************************ *********** "This electronic message is intended to be for the use only of the named recipient, and may contain information from Hudson Health Plan (HHP) that is confidential or privileged. If you are not the intended recipient, you are hereby notified that any disclosure, copying, distribution or use of the contents of this message is strictly prohibited. If you have received this message in error or are not the named recipient, please notify us immediately, either by contacting the sender at the electronic mail address noted above or calling HHP at (914) 631-1611. If you are not the intended recipient, please do not forward this email to anyone, and delete and destroy all copies of this message. Thank You". ************************************************************************ *********** -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- 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 Wed Jun 22 09:33:15 2005 From: jwcolby at colbyconsulting.com (John W. Colby) Date: Wed, 22 Jun 2005 10:33:15 -0400 Subject: [AccessD] Comparing tables question In-Reply-To: Message-ID: <004f01c57737$57e68940$6c7aa8c0@ColbyM6805> The process is infinitely easier if you have a single field PK in each table - such as an autonumber. 1) Create a join on the two tables, joining pattern in one table to pattern in the other table, and well in one table to well in the other table. In this query pull the PKs (autonumber) so that you have the PKID of each record from each table where you DO HAVE A MATCH. 2) Save that query. 3) Now create a second "not in" query, where you pull the PK of the table that you want to know is NOT IN the result set. Join to the corresponding PK in the result saved. Make the join an outer join, all records in the table you want to see the results in. Now pull the PK of the saved query and set a "not null" in the selection area. The query should now show you only the records that are "not in" the saved query created in step 1. This kind of query is quite common and you will most likely eventually become quite adept at creating them. John W. Colby www.ColbyConsulting.com Contribute your unused CPU cycles to a good cause: http://folding.stanford.edu/ -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Kaup, Chester Sent: Wednesday, June 22, 2005 10:05 AM To: Access Developers discussion and problem solving Subject: [AccessD] Comparing tables question I have two tables both of which have the fields Pattern and Well. The field pattern will appear several times with a different corresponding well. I need to compare each unique pattern well combination in table1 to see if the same unique combination exists in table2 and output a list of the ones that have no match. I am at a loss of how to do this. Thanks for ideas. Chester Kaup Engineering Technician Kinder Morgan CO2 Company, LLP Office (432) 688-3797 FAX (432) 688-3799 -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From bheid at appdevgrp.com Wed Jun 22 09:39:58 2005 From: bheid at appdevgrp.com (Bobby Heid) Date: Wed, 22 Jun 2005 10:39:58 -0400 Subject: [AccessD] Open File Dialog Box Call Fails In-Reply-To: <916187228923D311A6FE00A0CC3FAA30BED42E@ADGSERVER> Message-ID: <916187228923D311A6FE00A0CC3FAA30ABEC67@ADGSERVER> I wonder if it is some sort of service pack that has hosed something? Or maybe he installed something that put a different version of comdlg32.dll? Bobby -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Rocky Smolin - Beach Access Software Sent: Wednesday, June 22, 2005 10:26 AM To: AccessD at databaseadvisors.com; dba-tech Cc: Ben Saltzer Subject: [AccessD] Open File Dialog Box Call Fails Dear List: I have a client who's selling an app I wrote where I use the code from the ADH to call the file open dialog box: Declare Function adh_apiGetOpenFileName Lib "comdlg32.dll" _ Alias "GetOpenFileNameA" (ofn As tagOPENFILENAME) As Boolean I haven't worked on the app for several months and it's been very stable until a couple of weeks ago when this call began to fail with no error message. Just didn't open the dialog box. Then it failed on another computer. Then on another one. Now no computer in his place runs this api. I went over to his place and stepped through the code and sure enough it goes to the api call and then goes right through the api call without opening the dialog box. If we try to drop the common dialog control onto a form in design view from the additional tools list in the toolbox we get a message that says the OLE server isn't registered. So I need to figure out 1) how to get the OLE server registered (unregistered first I suppose) and see if that is somehow hosing the file open dialog box 2) figure out if there's a problem with comdlg32.dll 3) see if I can determine why this app suddenly went south so that it doesn't happen at one of his customer sites. He's using Access 2000 SP-3 but also fails in AXP. The app fails on both W2K and WXP. He's pretty careful about virus scanning. I don't think it is a virus even though it behaves like one. Is it possible that it got hosed by an automatic windows update? Any clue as to what's going on here would be greatly appreciated. MTIA, Rocky Smolin Beach Access Software http://www.e-z-mrp.com 858-259-4334 From bchacc at san.rr.com Wed Jun 22 09:44:00 2005 From: bchacc at san.rr.com (Rocky Smolin - Beach Access Software) Date: Wed, 22 Jun 2005 07:44:00 -0700 Subject: [AccessD] Open File Dialog Box Call Fails References: <916187228923D311A6FE00A0CC3FAA30ABEC67@ADGSERVER> Message-ID: <00f401c57738$d3ed37e0$6c01a8c0@HAL9004> Are you thinking Windows or Office service pack? Rocky ----- Original Message ----- From: "Bobby Heid" To: "'Access Developers discussion and problem solving'" Sent: Wednesday, June 22, 2005 7:39 AM Subject: RE: [AccessD] Open File Dialog Box Call Fails >I wonder if it is some sort of service pack that has hosed something? Or > maybe he installed something that put a different version of comdlg32.dll? > > Bobby > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Rocky Smolin - > Beach Access Software > Sent: Wednesday, June 22, 2005 10:26 AM > To: AccessD at databaseadvisors.com; dba-tech > Cc: Ben Saltzer > Subject: [AccessD] Open File Dialog Box Call Fails > > > Dear List: > > I have a client who's selling an app I wrote where I use the code from the > ADH to call the file open dialog box: > > Declare Function adh_apiGetOpenFileName Lib "comdlg32.dll" _ Alias > "GetOpenFileNameA" (ofn As tagOPENFILENAME) As Boolean > > I haven't worked on the app for several months and it's been very stable > until a couple of weeks ago when this call began to fail with no error > message. Just didn't open the dialog box. Then it failed on another > computer. Then on another one. Now no computer in his place runs this > api. > > I went over to his place and stepped through the code and sure enough it > goes to the api call and then goes right through the api call without > opening the dialog box. > > If we try to drop the common dialog control onto a form in design view > from > the additional tools list in the toolbox we get a message that says the > OLE > server isn't registered. > > So I need to figure out > > 1) how to get the OLE server registered (unregistered first I suppose) and > see if that is somehow hosing the file open dialog box > 2) figure out if there's a problem with comdlg32.dll > 3) see if I can determine why this app suddenly went south so that it > doesn't happen at one of his customer sites. > > He's using Access 2000 SP-3 but also fails in AXP. The app fails on both > W2K and WXP. He's pretty careful about virus scanning. I don't think it > is > a virus even though it behaves like one. Is it possible that it got hosed > by an automatic windows update? > > Any clue as to what's going on here would be greatly appreciated. > > MTIA, > > Rocky Smolin > Beach Access Software > http://www.e-z-mrp.com > 858-259-4334 > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > From bchacc at san.rr.com Wed Jun 22 09:45:10 2005 From: bchacc at san.rr.com (Rocky Smolin - Beach Access Software) Date: Wed, 22 Jun 2005 07:45:10 -0700 Subject: [AccessD] Open File Dialog Box Call Fails References: <916187228923D311A6FE00A0CC3FAA30ABEC67@ADGSERVER> Message-ID: <00f701c57738$fe18cfc0$6c01a8c0@HAL9004> I suppose he could check the properties on his comdlg32.dll. If it doesn't match the one I'm using (where the app still works) where could he find the old one? TIA Rocky ----- Original Message ----- From: "Bobby Heid" To: "'Access Developers discussion and problem solving'" Sent: Wednesday, June 22, 2005 7:39 AM Subject: RE: [AccessD] Open File Dialog Box Call Fails >I wonder if it is some sort of service pack that has hosed something? Or > maybe he installed something that put a different version of comdlg32.dll? > > Bobby > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Rocky Smolin - > Beach Access Software > Sent: Wednesday, June 22, 2005 10:26 AM > To: AccessD at databaseadvisors.com; dba-tech > Cc: Ben Saltzer > Subject: [AccessD] Open File Dialog Box Call Fails > > > Dear List: > > I have a client who's selling an app I wrote where I use the code from the > ADH to call the file open dialog box: > > Declare Function adh_apiGetOpenFileName Lib "comdlg32.dll" _ Alias > "GetOpenFileNameA" (ofn As tagOPENFILENAME) As Boolean > > I haven't worked on the app for several months and it's been very stable > until a couple of weeks ago when this call began to fail with no error > message. Just didn't open the dialog box. Then it failed on another > computer. Then on another one. Now no computer in his place runs this > api. > > I went over to his place and stepped through the code and sure enough it > goes to the api call and then goes right through the api call without > opening the dialog box. > > If we try to drop the common dialog control onto a form in design view > from > the additional tools list in the toolbox we get a message that says the > OLE > server isn't registered. > > So I need to figure out > > 1) how to get the OLE server registered (unregistered first I suppose) and > see if that is somehow hosing the file open dialog box > 2) figure out if there's a problem with comdlg32.dll > 3) see if I can determine why this app suddenly went south so that it > doesn't happen at one of his customer sites. > > He's using Access 2000 SP-3 but also fails in AXP. The app fails on both > W2K and WXP. He's pretty careful about virus scanning. I don't think it > is > a virus even though it behaves like one. Is it possible that it got hosed > by an automatic windows update? > > Any clue as to what's going on here would be greatly appreciated. > > MTIA, > > Rocky Smolin > Beach Access Software > http://www.e-z-mrp.com > 858-259-4334 > > -- > 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 Jun 22 09:49:30 2005 From: Jim.Hale at FleetPride.com (Hale, Jim) Date: Wed, 22 Jun 2005 09:49:30 -0500 Subject: [AccessD] Comparing tables question Message-ID: <6A6AA9DF57E4F046BDA1E273BDDB6772337690@corp-es01.fleetpride.com> Try this: 1) Create a groupby query on the fields pattern and well for table one 2)Create a groupby query on the fields pattern and well for table two 3)use the unmatched query wizard to create the needed query 4) the only trick is, after the wizard has created the query, go into design view and make the second outer join(the wizard only creates one join) 5) you will wnd up with something like this SELECT Table1.Patterns, Table1.Wells FROM Table1 LEFT JOIN Table2 ON (Table1.Wells = Table2.Wells) AND (Table1.Patterns = Table2.Patterns) WHERE (((Table2.Patterns) Is Null)); the resulting query produces a data set of pattern/well combos not found in table 2. HTH Jim Hale -----Original Message----- From: Kaup, Chester [mailto:Chester_Kaup at kindermorgan.com] Sent: Wednesday, June 22, 2005 9:05 AM To: Access Developers discussion and problem solving Subject: [AccessD] Comparing tables question I have two tables both of which have the fields Pattern and Well. The field pattern will appear several times with a different corresponding well. I need to compare each unique pattern well combination in table1 to see if the same unique combination exists in table2 and output a list of the ones that have no match. I am at a loss of how to do this. Thanks for ideas. Chester Kaup Engineering Technician Kinder Morgan CO2 Company, LLP Office (432) 688-3797 FAX (432) 688-3799 -- 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 Wed Jun 22 10:00:34 2005 From: Jim.Hale at FleetPride.com (Hale, Jim) Date: Wed, 22 Jun 2005 10:00:34 -0500 Subject: [AccessD] Classes not recognized in mda Message-ID: <6A6AA9DF57E4F046BDA1E273BDDB6772337691@corp-es01.fleetpride.com> I have moved some classes and modules out of the front end into a code library. I set the same references in the code library as in the front end. In the front end I set a reference to the code library. The FE recognizes the functions in the library modules fine, no problems but doesn't recognize the classes (i.e. I get an error in the FE when I try to instantiate the moved classes). The code ran fine when the classes resided in the front end. I am obviously doing something simple wrong. Any suggestions? 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 bheid at appdevgrp.com Wed Jun 22 10:02:02 2005 From: bheid at appdevgrp.com (Bobby Heid) Date: Wed, 22 Jun 2005 11:02:02 -0400 Subject: [AccessD] Open File Dialog Box Call Fails In-Reply-To: <916187228923D311A6FE00A0CC3FAA30BED441@ADGSERVER> Message-ID: <916187228923D311A6FE00A0CC3FAA30ABEC6A@ADGSERVER> It could be either. Bobby -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Rocky Smolin - Beach Access Software Sent: Wednesday, June 22, 2005 10:44 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Open File Dialog Box Call Fails Are you thinking Windows or Office service pack? Rocky ----- Original Message ----- From: "Bobby Heid" To: "'Access Developers discussion and problem solving'" Sent: Wednesday, June 22, 2005 7:39 AM Subject: RE: [AccessD] Open File Dialog Box Call Fails >I wonder if it is some sort of service pack that has hosed something? >Or maybe he installed something that put a different version of >comdlg32.dll? > > Bobby > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Rocky > Smolin - Beach Access Software > Sent: Wednesday, June 22, 2005 10:26 AM > To: AccessD at databaseadvisors.com; dba-tech > Cc: Ben Saltzer > Subject: [AccessD] Open File Dialog Box Call Fails > > > Dear List: > > I have a client who's selling an app I wrote where I use the code from > the ADH to call the file open dialog box: > > Declare Function adh_apiGetOpenFileName Lib "comdlg32.dll" _ Alias > "GetOpenFileNameA" (ofn As tagOPENFILENAME) As Boolean > > I haven't worked on the app for several months and it's been very > stable until a couple of weeks ago when this call began to fail with > no error message. Just didn't open the dialog box. Then it failed on > another computer. Then on another one. Now no computer in his place > runs this api. > > I went over to his place and stepped through the code and sure enough > it goes to the api call and then goes right through the api call > without opening the dialog box. > > If we try to drop the common dialog control onto a form in design view > from > the additional tools list in the toolbox we get a message that says the > OLE > server isn't registered. > > So I need to figure out > > 1) how to get the OLE server registered (unregistered first I suppose) > and see if that is somehow hosing the file open dialog box > 2) figure out if there's a problem with comdlg32.dll > 3) see if I can determine why this app suddenly went south so that it > doesn't happen at one of his customer sites. > > He's using Access 2000 SP-3 but also fails in AXP. The app fails on > both W2K and WXP. He's pretty careful about virus scanning. I don't > think it is a virus even though it behaves like one. Is it possible > that it got hosed by an automatic windows update? > > Any clue as to what's going on here would be greatly appreciated. > > MTIA, > > Rocky Smolin > Beach Access Software > http://www.e-z-mrp.com > 858-259-4334 From bheid at appdevgrp.com Wed Jun 22 10:06:24 2005 From: bheid at appdevgrp.com (Bobby Heid) Date: Wed, 22 Jun 2005 11:06:24 -0400 Subject: [AccessD] Open File Dialog Box Call Fails In-Reply-To: <916187228923D311A6FE00A0CC3FAA30BED443@ADGSERVER> Message-ID: <916187228923D311A6FE00A0CC3FAA30ABEC6B@ADGSERVER> You might try sending him your version and have him back his dll (or full system) up, unregister his version, copy yours to where his was, and register it. This is a big YMMV. If his is different, you might could try the reverse on your system. If it worked, then recompile your app and then have him re-install. If the different versions is what is causing the problem, then you have just entered that infamous place lovingly called "DLL Hell." I am just shooting in the dark here, but this is some of the stuff that I would investigate. Bobby -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Rocky Smolin - Beach Access Software Sent: Wednesday, June 22, 2005 10:45 AM To: Access Developers discussion and problem solving Cc: Ben Saltzer Subject: Re: [AccessD] Open File Dialog Box Call Fails I suppose he could check the properties on his comdlg32.dll. If it doesn't match the one I'm using (where the app still works) where could he find the old one? TIA Rocky ----- Original Message ----- From: "Bobby Heid" To: "'Access Developers discussion and problem solving'" Sent: Wednesday, June 22, 2005 7:39 AM Subject: RE: [AccessD] Open File Dialog Box Call Fails >I wonder if it is some sort of service pack that has hosed something? >Or maybe he installed something that put a different version of >comdlg32.dll? > > Bobby > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Rocky > Smolin - Beach Access Software > Sent: Wednesday, June 22, 2005 10:26 AM > To: AccessD at databaseadvisors.com; dba-tech > Cc: Ben Saltzer > Subject: [AccessD] Open File Dialog Box Call Fails > > > Dear List: > > I have a client who's selling an app I wrote where I use the code from > the ADH to call the file open dialog box: > > Declare Function adh_apiGetOpenFileName Lib "comdlg32.dll" _ Alias > "GetOpenFileNameA" (ofn As tagOPENFILENAME) As Boolean > > I haven't worked on the app for several months and it's been very > stable until a couple of weeks ago when this call began to fail with > no error message. Just didn't open the dialog box. Then it failed on > another computer. Then on another one. Now no computer in his place > runs this api. > > I went over to his place and stepped through the code and sure enough > it goes to the api call and then goes right through the api call > without opening the dialog box. > > If we try to drop the common dialog control onto a form in design view > from > the additional tools list in the toolbox we get a message that says the > OLE > server isn't registered. > > So I need to figure out > > 1) how to get the OLE server registered (unregistered first I suppose) > and see if that is somehow hosing the file open dialog box > 2) figure out if there's a problem with comdlg32.dll > 3) see if I can determine why this app suddenly went south so that it > doesn't happen at one of his customer sites. > > He's using Access 2000 SP-3 but also fails in AXP. The app fails on > both W2K and WXP. He's pretty careful about virus scanning. I don't > think it is a virus even though it behaves like one. Is it possible > that it got hosed by an automatic windows update? > > Any clue as to what's going on here would be greatly appreciated. > > MTIA, > > Rocky Smolin > Beach Access Software > http://www.e-z-mrp.com > 858-259-4334 From Jim.Hale at FleetPride.com Wed Jun 22 10:11:01 2005 From: Jim.Hale at FleetPride.com (Hale, Jim) Date: Wed, 22 Jun 2005 10:11:01 -0500 Subject: [AccessD] Comparing tables question Message-ID: <6A6AA9DF57E4F046BDA1E273BDDB6772337693@corp-es01.fleetpride.com> You don't have to use the groupby queries. I mentioned them because they show the two lists with one instance of each pattern/well combo. In fact, in my query below I ignored them and wrote the query directly using the tables. Sorry for the confusion. Jim Hale -----Original Message----- From: Hale, Jim [mailto:Jim.Hale at fleetpride.com] Sent: Wednesday, June 22, 2005 9:50 AM To: 'Access Developers discussion and problem solving' Subject: RE: [AccessD] Comparing tables question Try this: 1) Create a groupby query on the fields pattern and well for table one 2)Create a groupby query on the fields pattern and well for table two 3)use the unmatched query wizard to create the needed query 4) the only trick is, after the wizard has created the query, go into design view and make the second outer join(the wizard only creates one join) 5) you will wnd up with something like this SELECT Table1.Patterns, Table1.Wells FROM Table1 LEFT JOIN Table2 ON (Table1.Wells = Table2.Wells) AND (Table1.Patterns = Table2.Patterns) WHERE (((Table2.Patterns) Is Null)); the resulting query produces a data set of pattern/well combos not found in table 2. HTH Jim Hale -----Original Message----- From: Kaup, Chester [mailto:Chester_Kaup at kindermorgan.com] Sent: Wednesday, June 22, 2005 9:05 AM To: Access Developers discussion and problem solving Subject: [AccessD] Comparing tables question I have two tables both of which have the fields Pattern and Well. The field pattern will appear several times with a different corresponding well. I need to compare each unique pattern well combination in table1 to see if the same unique combination exists in table2 and output a list of the ones that have no match. I am at a loss of how to do this. Thanks for ideas. Chester Kaup Engineering Technician Kinder Morgan CO2 Company, LLP Office (432) 688-3797 FAX (432) 688-3799 -- 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. *********************************************************************** 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 mmattys at rochester.rr.com Wed Jun 22 10:15:08 2005 From: mmattys at rochester.rr.com (Michael R Mattys) Date: Wed, 22 Jun 2005 11:15:08 -0400 Subject: [AccessD] invalid number of arguments References: <30BC111F638EB54082001A7E7282FE41114D45@elmo.co.montgomery.ny.us> <007b01c57128$6c07acc0$fac581d5@pedro> <00ba01c571b1$155f3bc0$0202a8c0@default> <002001c57736$2e2e4210$fac581d5@pedro> Message-ID: <032e01c5773d$2e85d3c0$0202a8c0@default> Hi Pedro, - In this (commercial) database ... i can't change anything. - don't want to ad each new client in two different databases. - want to use the client table from the commercial database (clientID's identical). - clients [DEBSTM] can be linked to the "brick" database [tblDebiteur]. > I don't want to use a query from this linked table, to adjust the names > because i then have to adjust al other query's and tables. > Using the same names for the table and fields would be the best way. > Pedro Janssen Hi Pedro, Nagging? :) An append query to an autonumbered table would be best. Leave in the text ClientID and use that as criteria in the query to make sure there are no duplicates. Alias the fields desired. You know macros have no error handling, right? ---- Michael R. Mattys Mattys MapLib for Microsoft MapPoint http://www.mattysconsulting.com From cfoust at infostatsystems.com Wed Jun 22 10:14:57 2005 From: cfoust at infostatsystems.com (Charlotte Foust) Date: Wed, 22 Jun 2005 08:14:57 -0700 Subject: [AccessD] Classes not recognized in mda Message-ID: It's a little tricky using classes in a code library because you have to give them a public interface before they can be used elsewhere. I don't have an example on this machine, so I'm working from memory here, but as I recall, I dimmed a public object variable as a new instance of the class I wanted to expose. That allowed the app linked to the library to grab the public instance of the class and use its methods and properties. Charlotte Foust -----Original Message----- From: Hale, Jim [mailto:Jim.Hale at fleetpride.com] Sent: Wednesday, June 22, 2005 8:01 AM To: 'Accessd (E-mail) Subject: [AccessD] Classes not recognized in mda I have moved some classes and modules out of the front end into a code library. I set the same references in the code library as in the front end. In the front end I set a reference to the code library. The FE recognizes the functions in the library modules fine, no problems but doesn't recognize the classes (i.e. I get an error in the FE when I try to instantiate the moved classes). The code ran fine when the classes resided in the front end. I am obviously doing something simple wrong. Any suggestions? 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 Rich_Lavsa at pghcorning.com Wed Jun 22 10:20:22 2005 From: Rich_Lavsa at pghcorning.com (Lavsa, Rich) Date: Wed, 22 Jun 2005 11:20:22 -0400 Subject: [AccessD] Pass Through Query vs SQL Stored Procedure Message-ID: <2A261FF9D5EBCA46940C11688CE872EE01E969DD@goexchange2.pghcorning.com> HELLO ALL, Summary: Pass through query in Access using DSN (Oracle is faster then Linked Server in SQL Server with procedure). I currently have an application that pulls data from our ERP system which is in Oracle 9i, Net8 client. The current application has an Access Front end (A2k2) and a SQL server back end. What I have been trying to do over the last 2 days is convert all PassThrough queries, into stored procedures. So far this has worked beautifully, and eliminated a ton of code which I had developed to dynamically alter the where clause and now only have to pass in a parameter for a stored procedure. Anyway, I ran into a stumbling block. The above approach helped in both simplicity and speed for all information stored in SQL server. However the information stored in Oracle hasn't gone so easy. I set up a linked server, so that all authentication will come from the server and won't have to worry about adding a new user, and having to make sure they have access to the DNS. Anyway, the current pass through query will run in roughly 1-2 seconds. When converted to a procedure to use the linked server, it jumps up to 1 minute 47 seconds. The fastest I could get it down to is 1 minute 30 seconds. Any tips/tricks/criticism welcome... Here are the basics of what I have tried... ====================================================================== ACCESS PASS THROUGH (1-2 seconds) SELECT A.ORDER_NUMBER, A.ORDER_LINE_NUMBER, B.PART_CODE, B.PART_DESC_1, c.UNIT_OF_MEASURE , c.ORDER_QUANTITY FROM fin_Prod.SALES_ORDER_LINES A, fin_Prod.PRODUCT_MASTER B, fin_Prod.SALES_ORDER_LINE_QTYS C Where (A.COMPANY_CODE = B.COMPANY_CODE) And (A.ORDER_LINE_NUMBER = C.ORDER_LINE_NUMBER) AND (A.ORDER_NUMBER = C.ORDER_NUMBER) AND (A.DIVISION = C.DIVISION) AND (A.COMPANY_CODE = C.COMPANY_CODE) AND (A.PART_CODE = B.PART_CODE) AND (A.Unit_Sales = c.UNIT_OF_MEASURE) And A.ORDER_NUMBER = '310376' AND C.ORDER_NUMBER = '310376' ====================================================================== ====================================================================== SQL Server Stored Procedure(1) sql(1min 47 seconds) SELECT A.ORDER_NUMBER, A.ORDER_LINE_NUMBER, B.PART_CODE, B.PART_DESC_1, c.UNIT_OF_MEASURE , c.ORDER_QUANTITY FROM RENCS..FIN_PROD.SALES_ORDER_LINES A, RENCS..FIN_PROD.PRODUCT_MASTER B, RENCS..FIN_PROD.SALES_ORDER_LINE_QTYS C Where A.ORDER_NUMBER = '310376' AND C.oRDER_NUMBER = '310376' AND (A.PART_CODE = B.PART_CODE) AND (A.COMPANY_CODE = B.COMPANY_CODE) And (A.ORDER_LINE_NUMBER = C.ORDER_LINE_NUMBER) AND (A.ORDER_NUMBER = C.ORDER_NUMBER) AND (A.DIVISION = C.DIVISION) AND (A.COMPANY_CODE = C.COMPANY_CODE) AND (A.Unit_Sales = c.UNIT_OF_MEASURE) ====================================================================== ====================================================================== SQL Server Stored Procedure (2) sql (1min 30 seconds) SELECT A.ORDER_NUMBER, A.ORDER_LINE_NUMBER, B.PART_CODE, B.PART_DESC_1, C.UNIT_OF_MEASURE, C.ORDER_QUANTITY FROM OPENQUERY(RENCS, 'select ORDER_NUMBER, ORDER_LINE_NUMBER, COMPANY_CODE, PART_CODE, DIVISION, Unit_Sales from fin_Prod.SALES_ORDER_LINES') A LEFT OUTER JOIN OPENQUERY(RENCS,'select UNIT_OF_MEASURE, ORDER_QUANTITY, ORDER_LINE_NUMBER, ORDER_NUMBER, COMPANY_CODE, DIVISION from fin_Prod.SALES_ORDER_LINE_QTYS') C ON A.ORDER_NUMBER = C.ORDER_NUMBER AND A.ORDER_LINE_NUMBER = C.ORDER_LINE_NUMBER AND A.COMPANY_CODE = C.COMPANY_CODE AND A.DIVISION = C.DIVISION AND A.UNIT_SALES = C.UNIT_OF_MEASURE LEFT OUTER JOIN OPENQUERY(RENCS, 'select PART_CODE, PART_DESC_1,COMPANY_CODE from fin_Prod.PRODUCT_MASTER') B ON A.COMPANY_CODE = B.COMPANY_CODE AND A.PART_CODE = B.PART_CODE WHERE (A.ORDER_NUMBER = '310376') and (c.ORDER_NUMBER = '310376') ====================================================================== Rich From jwcolby at colbyconsulting.com Wed Jun 22 10:22:24 2005 From: jwcolby at colbyconsulting.com (John W. Colby) Date: Wed, 22 Jun 2005 11:22:24 -0400 Subject: [AccessD] Classes not recognized in mda In-Reply-To: <6A6AA9DF57E4F046BDA1E273BDDB6772337691@corp-es01.fleetpride.com> Message-ID: <006801c5773e$33f24400$6c7aa8c0@ColbyM6805> Yes, you have to: 1) Export the classes to text files 2) Edit the text file to set two properties 3) Delete the original class in your lib. 4) Insert a new class 5) Insert the file into that class. 6) Save the new class. The top of an exported class will look something like: VERSION 1.0 CLASS BEGIN MultiUse = -1 'True END Attribute VB_Name = "clsSysVars" Attribute VB_GlobalNameSpace = False Attribute VB_Creatable = False Attribute VB_PredeclaredId = False Attribute VB_Exposed = False Option Compare Database Option Explicit You need to change it to look like: Attribute VB_Name = "clsSysVars" Attribute VB_GlobalNameSpace = False Attribute VB_Creatable = True Attribute VB_PredeclaredId = False Attribute VB_Exposed = True Notice all the stuff I got rid of, and also notice that I changed two properties from False to True. That should take care of 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 Hale, Jim Sent: Wednesday, June 22, 2005 11:01 AM To: 'Accessd (E-mail) Subject: [AccessD] Classes not recognized in mda I have moved some classes and modules out of the front end into a code library. I set the same references in the code library as in the front end. In the front end I set a reference to the code library. The FE recognizes the functions in the library modules fine, no problems but doesn't recognize the classes (i.e. I get an error in the FE when I try to instantiate the moved classes). The code ran fine when the classes resided in the front end. I am obviously doing something simple wrong. Any suggestions? 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 Jun 22 10:20:54 2005 From: DWUTKA at marlow.com (DWUTKA at marlow.com) Date: Wed, 22 Jun 2005 10:20:54 -0500 Subject: [AccessD] Just Checking.... Message-ID: <123701F54509D9119A4F00D0B747349016D74D@main2.marlow.com> Sheesh JC.....you really must be losing it with old age.... What kind of statement is that? Technically, no one could not use a naming convention. Drew -----Original Message----- From: John W. Colby [mailto:jwcolby at colbyconsulting.com] Sent: Tuesday, June 21, 2005 6:08 PM To: 'Access Developers discussion and problem solving' Subject: RE: [AccessD] Just Checking.... Precisely so let's start one. Anyone who doesn't use a 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, June 21, 2005 5:46 PM To: accessd at databaseadvisors.com Subject: RE: [AccessD] Just Checking.... Nope, just busy...and there hasn't been anything good to argue about.......we normally just feed off what gets posted. It's not our fault the other listers aren't posting juicy stuff to dig into! Drew -----Original Message----- From: dmcafee at pacbell.net [mailto:dmcafee at pacbell.net] Sent: Tuesday, June 21, 2005 2:11 PM To: Access Developers discussion and problem solving Subject: RE: [AccessD] Just Checking.... JC & Drew must have gone on vacation or called a truce ;) :P -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Jim Hewson Sent: Tuesday, June 21, 2005 11:39 AM To: Access Developers discussion and problem solving Subject: RE: [AccessD] Just Checking.... I was thinking the same thing... I haven't received anything for about 24 hours! -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Bryan Carbonnell Sent: Tuesday, June 21, 2005 12:28 PM To: Access Developers discussion and problem solving Subject: [AccessD] Just Checking.... Just checking to see if there is anyone out there or is AccessD down? It's just too quite. -- Bryan Carbonnell - carbonnb at gmail.com Life's journey is not to arrive at the grave safely in a well preserved body, but rather to skid in sideways, totally worn out, shouting "What a great ride!" -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd 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 Jun 22 10:24:50 2005 From: jwcolby at colbyconsulting.com (John W. Colby) Date: Wed, 22 Jun 2005 11:24:50 -0400 Subject: [AccessD] Classes not recognized in mda In-Reply-To: Message-ID: <006901c5773e$883b1be0$6c7aa8c0@ColbyM6805> Hmm... This is the other way of doing it. What Charlotte is saying is that INSIDE of the library you can set a function that dims a new instance and returns a pointer to the class. The problem with doing this is that you can't use intellisense to see the properties of the class etc. whereas using the method I described, your classes become just another object and you can use it just as you would any other 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 Charlotte Foust Sent: Wednesday, June 22, 2005 11:15 AM To: Access Developers discussion and problem solving Subject: RE: [AccessD] Classes not recognized in mda It's a little tricky using classes in a code library because you have to give them a public interface before they can be used elsewhere. I don't have an example on this machine, so I'm working from memory here, but as I recall, I dimmed a public object variable as a new instance of the class I wanted to expose. That allowed the app linked to the library to grab the public instance of the class and use its methods and properties. Charlotte Foust -----Original Message----- From: Hale, Jim [mailto:Jim.Hale at fleetpride.com] Sent: Wednesday, June 22, 2005 8:01 AM To: 'Accessd (E-mail) Subject: [AccessD] Classes not recognized in mda I have moved some classes and modules out of the front end into a code library. I set the same references in the code library as in the front end. In the front end I set a reference to the code library. The FE recognizes the functions in the library modules fine, no problems but doesn't recognize the classes (i.e. I get an error in the FE when I try to instantiate the moved classes). The code ran fine when the classes resided in the front end. I am obviously doing something simple wrong. Any suggestions? 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 jwcolby at colbyconsulting.com Wed Jun 22 10:27:12 2005 From: jwcolby at colbyconsulting.com (John W. Colby) Date: Wed, 22 Jun 2005 11:27:12 -0400 Subject: [AccessD] Just Checking.... In-Reply-To: <123701F54509D9119A4F00D0B747349016D74D@main2.marlow.com> Message-ID: <007001c5773e$dcdc4cf0$6c7aa8c0@ColbyM6805> ROTFL. Yea, I am getting old. I am about to launch a field naming convention discussion so look 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 DWUTKA at marlow.com Sent: Wednesday, June 22, 2005 11:21 AM To: accessd at databaseadvisors.com Subject: RE: [AccessD] Just Checking.... Sheesh JC.....you really must be losing it with old age.... What kind of statement is that? Technically, no one could not use a naming convention. Drew -----Original Message----- From: John W. Colby [mailto:jwcolby at colbyconsulting.com] Sent: Tuesday, June 21, 2005 6:08 PM To: 'Access Developers discussion and problem solving' Subject: RE: [AccessD] Just Checking.... Precisely so let's start one. Anyone who doesn't use a 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, June 21, 2005 5:46 PM To: accessd at databaseadvisors.com Subject: RE: [AccessD] Just Checking.... Nope, just busy...and there hasn't been anything good to argue about.......we normally just feed off what gets posted. It's not our fault the other listers aren't posting juicy stuff to dig into! Drew -----Original Message----- From: dmcafee at pacbell.net [mailto:dmcafee at pacbell.net] Sent: Tuesday, June 21, 2005 2:11 PM To: Access Developers discussion and problem solving Subject: RE: [AccessD] Just Checking.... JC & Drew must have gone on vacation or called a truce ;) :P -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Jim Hewson Sent: Tuesday, June 21, 2005 11:39 AM To: Access Developers discussion and problem solving Subject: RE: [AccessD] Just Checking.... I was thinking the same thing... I haven't received anything for about 24 hours! -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Bryan Carbonnell Sent: Tuesday, June 21, 2005 12:28 PM To: Access Developers discussion and problem solving Subject: [AccessD] Just Checking.... Just checking to see if there is anyone out there or is AccessD down? It's just too quite. -- Bryan Carbonnell - carbonnb at gmail.com Life's journey is not to arrive at the grave safely in a well preserved body, but rather to skid in sideways, totally worn out, shouting "What a great ride!" -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd 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 Jun 22 10:34:50 2005 From: Jim.Hale at FleetPride.com (Hale, Jim) Date: Wed, 22 Jun 2005 10:34:50 -0500 Subject: [AccessD] Classes not recognized in mda Message-ID: <6A6AA9DF57E4F046BDA1E273BDDB6772337694@corp-es01.fleetpride.com> Thanks. I'll give it a shot Jim Hale -----Original Message----- From: John W. Colby [mailto:jwcolby at colbyconsulting.com] Sent: Wednesday, June 22, 2005 10:22 AM To: 'Access Developers discussion and problem solving' Subject: RE: [AccessD] Classes not recognized in mda Yes, you have to: 1) Export the classes to text files 2) Edit the text file to set two properties 3) Delete the original class in your lib. 4) Insert a new class 5) Insert the file into that class. 6) Save the new class. The top of an exported class will look something like: VERSION 1.0 CLASS BEGIN MultiUse = -1 'True END Attribute VB_Name = "clsSysVars" Attribute VB_GlobalNameSpace = False Attribute VB_Creatable = False Attribute VB_PredeclaredId = False Attribute VB_Exposed = False Option Compare Database Option Explicit You need to change it to look like: Attribute VB_Name = "clsSysVars" Attribute VB_GlobalNameSpace = False Attribute VB_Creatable = True Attribute VB_PredeclaredId = False Attribute VB_Exposed = True Notice all the stuff I got rid of, and also notice that I changed two properties from False to True. That should take care of 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 Hale, Jim Sent: Wednesday, June 22, 2005 11:01 AM To: 'Accessd (E-mail) Subject: [AccessD] Classes not recognized in mda I have moved some classes and modules out of the front end into a code library. I set the same references in the code library as in the front end. In the front end I set a reference to the code library. The FE recognizes the functions in the library modules fine, no problems but doesn't recognize the classes (i.e. I get an error in the FE when I try to instantiate the moved classes). The code ran fine when the classes resided in the front end. I am obviously doing something simple wrong. Any suggestions? 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 *********************************************************************** 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 Jun 22 10:37:36 2005 From: DWUTKA at marlow.com (DWUTKA at marlow.com) Date: Wed, 22 Jun 2005 10:37:36 -0500 Subject: [AccessD] Just Checking.... Message-ID: <123701F54509D9119A4F00D0B747349016D74E@main2.marlow.com> Okay, now you are really slipping JC...giving me warning????? What's next, you're pledge of unfaltering loyalty to the Unbounders? ;) Drew -----Original Message----- From: John W. Colby [mailto:jwcolby at colbyconsulting.com] Sent: Wednesday, June 22, 2005 10:27 AM To: 'Access Developers discussion and problem solving' Subject: RE: [AccessD] Just Checking.... ROTFL. Yea, I am getting old. I am about to launch a field naming convention discussion so look 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 DWUTKA at marlow.com Sent: Wednesday, June 22, 2005 11:21 AM To: accessd at databaseadvisors.com Subject: RE: [AccessD] Just Checking.... Sheesh JC.....you really must be losing it with old age.... What kind of statement is that? Technically, no one could not use a naming convention. Drew -----Original Message----- From: John W. Colby [mailto:jwcolby at colbyconsulting.com] Sent: Tuesday, June 21, 2005 6:08 PM To: 'Access Developers discussion and problem solving' Subject: RE: [AccessD] Just Checking.... Precisely so let's start one. Anyone who doesn't use a 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, June 21, 2005 5:46 PM To: accessd at databaseadvisors.com Subject: RE: [AccessD] Just Checking.... Nope, just busy...and there hasn't been anything good to argue about.......we normally just feed off what gets posted. It's not our fault the other listers aren't posting juicy stuff to dig into! Drew -----Original Message----- From: dmcafee at pacbell.net [mailto:dmcafee at pacbell.net] Sent: Tuesday, June 21, 2005 2:11 PM To: Access Developers discussion and problem solving Subject: RE: [AccessD] Just Checking.... JC & Drew must have gone on vacation or called a truce ;) :P -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Jim Hewson Sent: Tuesday, June 21, 2005 11:39 AM To: Access Developers discussion and problem solving Subject: RE: [AccessD] Just Checking.... I was thinking the same thing... I haven't received anything for about 24 hours! -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Bryan Carbonnell Sent: Tuesday, June 21, 2005 12:28 PM To: Access Developers discussion and problem solving Subject: [AccessD] Just Checking.... Just checking to see if there is anyone out there or is AccessD down? It's just too quite. -- Bryan Carbonnell - carbonnb at gmail.com Life's journey is not to arrive at the grave safely in a well preserved body, but rather to skid in sideways, totally worn out, shouting "What a great ride!" -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd 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 Jun 22 10:48:46 2005 From: jwcolby at colbyconsulting.com (John W. Colby) Date: Wed, 22 Jun 2005 11:48:46 -0400 Subject: [AccessD] Just Checking.... In-Reply-To: <123701F54509D9119A4F00D0B747349016D74E@main2.marlow.com> Message-ID: <007701c57741$e05bcf60$6c7aa8c0@ColbyM6805> If I could figure out why unholy unbounders even exist... ;-) John W. Colby www.ColbyConsulting.com Contribute your unused CPU cycles to 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, June 22, 2005 11:38 AM To: accessd at databaseadvisors.com Subject: RE: [AccessD] Just Checking.... Okay, now you are really slipping JC...giving me warning????? What's next, you're pledge of unfaltering loyalty to the Unbounders? ;) Drew -----Original Message----- From: John W. Colby [mailto:jwcolby at colbyconsulting.com] Sent: Wednesday, June 22, 2005 10:27 AM To: 'Access Developers discussion and problem solving' Subject: RE: [AccessD] Just Checking.... ROTFL. Yea, I am getting old. I am about to launch a field naming convention discussion so look 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 DWUTKA at marlow.com Sent: Wednesday, June 22, 2005 11:21 AM To: accessd at databaseadvisors.com Subject: RE: [AccessD] Just Checking.... Sheesh JC.....you really must be losing it with old age.... What kind of statement is that? Technically, no one could not use a naming convention. Drew -----Original Message----- From: John W. Colby [mailto:jwcolby at colbyconsulting.com] Sent: Tuesday, June 21, 2005 6:08 PM To: 'Access Developers discussion and problem solving' Subject: RE: [AccessD] Just Checking.... Precisely so let's start one. Anyone who doesn't use a 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, June 21, 2005 5:46 PM To: accessd at databaseadvisors.com Subject: RE: [AccessD] Just Checking.... Nope, just busy...and there hasn't been anything good to argue about.......we normally just feed off what gets posted. It's not our fault the other listers aren't posting juicy stuff to dig into! Drew -----Original Message----- From: dmcafee at pacbell.net [mailto:dmcafee at pacbell.net] Sent: Tuesday, June 21, 2005 2:11 PM To: Access Developers discussion and problem solving Subject: RE: [AccessD] Just Checking.... JC & Drew must have gone on vacation or called a truce ;) :P -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Jim Hewson Sent: Tuesday, June 21, 2005 11:39 AM To: Access Developers discussion and problem solving Subject: RE: [AccessD] Just Checking.... I was thinking the same thing... I haven't received anything for about 24 hours! -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Bryan Carbonnell Sent: Tuesday, June 21, 2005 12:28 PM To: Access Developers discussion and problem solving Subject: [AccessD] Just Checking.... Just checking to see if there is anyone out there or is AccessD down? It's just too quite. -- Bryan Carbonnell - carbonnb at gmail.com Life's journey is not to arrive at the grave safely in a well preserved body, but rather to skid in sideways, totally worn out, shouting "What a great ride!" -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd 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 Jun 22 10:58:39 2005 From: Jim.Hale at FleetPride.com (Hale, Jim) Date: Wed, 22 Jun 2005 10:58:39 -0500 Subject: [AccessD] Classes not recognized in mda Message-ID: <6A6AA9DF57E4F046BDA1E273BDDB6772337695@corp-es01.fleetpride.com> The new class doesn't like the Attribute keyword. Am I missing a reference perhaps? Jim Hale -----Original Message----- From: John W. Colby [mailto:jwcolby at colbyconsulting.com] Sent: Wednesday, June 22, 2005 10:22 AM To: 'Access Developers discussion and problem solving' Subject: RE: [AccessD] Classes not recognized in mda Yes, you have to: 1) Export the classes to text files 2) Edit the text file to set two properties 3) Delete the original class in your lib. 4) Insert a new class 5) Insert the file into that class. 6) Save the new class. The top of an exported class will look something like: VERSION 1.0 CLASS BEGIN MultiUse = -1 'True END Attribute VB_Name = "clsSysVars" Attribute VB_GlobalNameSpace = False Attribute VB_Creatable = False Attribute VB_PredeclaredId = False Attribute VB_Exposed = False Option Compare Database Option Explicit You need to change it to look like: Attribute VB_Name = "clsSysVars" Attribute VB_GlobalNameSpace = False Attribute VB_Creatable = True Attribute VB_PredeclaredId = False Attribute VB_Exposed = True Notice all the stuff I got rid of, and also notice that I changed two properties from False to True. That should take care of 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 Hale, Jim Sent: Wednesday, June 22, 2005 11:01 AM To: 'Accessd (E-mail) Subject: [AccessD] Classes not recognized in mda I have moved some classes and modules out of the front end into a code library. I set the same references in the code library as in the front end. In the front end I set a reference to the code library. The FE recognizes the functions in the library modules fine, no problems but doesn't recognize the classes (i.e. I get an error in the FE when I try to instantiate the moved classes). The code ran fine when the classes resided in the front end. I am obviously doing something simple wrong. Any suggestions? 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 *********************************************************************** 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 Wed Jun 22 11:07:44 2005 From: jwcolby at colbyconsulting.com (John W. Colby) Date: Wed, 22 Jun 2005 12:07:44 -0400 Subject: [AccessD] Classes not recognized in mda In-Reply-To: <6A6AA9DF57E4F046BDA1E273BDDB6772337695@corp-es01.fleetpride.com> Message-ID: <007e01c57744$8a7f30c0$6c7aa8c0@ColbyM6805> Jim, These things should not even be visible when you pull them back in. You MUST: 1) Delete the old class - make SURE you exported it first 2) INSERT a new (blank) class 3) INSERT the file into that class 4) SAVE the new class When you do it this way you should not even be able to SEE the ATTRIBUTE keyword. John W. Colby www.ColbyConsulting.com Contribute your unused CPU cycles to a good cause: http://folding.stanford.edu/ -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Hale, Jim Sent: Wednesday, June 22, 2005 11:59 AM To: 'Access Developers discussion and problem solving' Subject: RE: [AccessD] Classes not recognized in mda The new class doesn't like the Attribute keyword. Am I missing a reference perhaps? Jim Hale -----Original Message----- From: John W. Colby [mailto:jwcolby at colbyconsulting.com] Sent: Wednesday, June 22, 2005 10:22 AM To: 'Access Developers discussion and problem solving' Subject: RE: [AccessD] Classes not recognized in mda Yes, you have to: 1) Export the classes to text files 2) Edit the text file to set two properties 3) Delete the original class in your lib. 4) Insert a new class 5) Insert the file into that class. 6) Save the new class. The top of an exported class will look something like: VERSION 1.0 CLASS BEGIN MultiUse = -1 'True END Attribute VB_Name = "clsSysVars" Attribute VB_GlobalNameSpace = False Attribute VB_Creatable = False Attribute VB_PredeclaredId = False Attribute VB_Exposed = False Option Compare Database Option Explicit You need to change it to look like: Attribute VB_Name = "clsSysVars" Attribute VB_GlobalNameSpace = False Attribute VB_Creatable = True Attribute VB_PredeclaredId = False Attribute VB_Exposed = True Notice all the stuff I got rid of, and also notice that I changed two properties from False to True. That should take care of 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 Hale, Jim Sent: Wednesday, June 22, 2005 11:01 AM To: 'Accessd (E-mail) Subject: [AccessD] Classes not recognized in mda I have moved some classes and modules out of the front end into a code library. I set the same references in the code library as in the front end. In the front end I set a reference to the code library. The FE recognizes the functions in the library modules fine, no problems but doesn't recognize the classes (i.e. I get an error in the FE when I try to instantiate the moved classes). The code ran fine when the classes resided in the front end. I am obviously doing something simple wrong. Any suggestions? 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 *********************************************************************** 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 Wed Jun 22 11:12:25 2005 From: cfoust at infostatsystems.com (Charlotte Foust) Date: Wed, 22 Jun 2005 09:12:25 -0700 Subject: [AccessD] Just Checking.... Message-ID: OH NO! Please don't, John! I know you use one, but I OBJECT violently! Charlotte Foust -----Original Message----- From: John W. Colby [mailto:jwcolby at colbyconsulting.com] Sent: Wednesday, June 22, 2005 8:27 AM To: 'Access Developers discussion and problem solving' Subject: RE: [AccessD] Just Checking.... ROTFL. Yea, I am getting old. I am about to launch a field naming convention discussion so look 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 DWUTKA at marlow.com Sent: Wednesday, June 22, 2005 11:21 AM To: accessd at databaseadvisors.com Subject: RE: [AccessD] Just Checking.... Sheesh JC.....you really must be losing it with old age.... What kind of statement is that? Technically, no one could not use a naming convention. Drew -----Original Message----- From: John W. Colby [mailto:jwcolby at colbyconsulting.com] Sent: Tuesday, June 21, 2005 6:08 PM To: 'Access Developers discussion and problem solving' Subject: RE: [AccessD] Just Checking.... Precisely so let's start one. Anyone who doesn't use a 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, June 21, 2005 5:46 PM To: accessd at databaseadvisors.com Subject: RE: [AccessD] Just Checking.... Nope, just busy...and there hasn't been anything good to argue about.......we normally just feed off what gets posted. It's not our fault the other listers aren't posting juicy stuff to dig into! Drew -----Original Message----- From: dmcafee at pacbell.net [mailto:dmcafee at pacbell.net] Sent: Tuesday, June 21, 2005 2:11 PM To: Access Developers discussion and problem solving Subject: RE: [AccessD] Just Checking.... JC & Drew must have gone on vacation or called a truce ;) :P -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Jim Hewson Sent: Tuesday, June 21, 2005 11:39 AM To: Access Developers discussion and problem solving Subject: RE: [AccessD] Just Checking.... I was thinking the same thing... I haven't received anything for about 24 hours! -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Bryan Carbonnell Sent: Tuesday, June 21, 2005 12:28 PM To: Access Developers discussion and problem solving Subject: [AccessD] Just Checking.... Just checking to see if there is anyone out there or is AccessD down? It's just too quite. -- Bryan Carbonnell - carbonnb at gmail.com Life's journey is not to arrive at the grave safely in a well preserved body, but rather to skid in sideways, totally worn out, shouting "What a great ride!" -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd 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 Jun 22 11:13:08 2005 From: cfoust at infostatsystems.com (Charlotte Foust) Date: Wed, 22 Jun 2005 09:13:08 -0700 Subject: [AccessD] Just Checking.... Message-ID: To make your life interesting, John. Charlotte Foust -----Original Message----- From: John W. Colby [mailto:jwcolby at colbyconsulting.com] Sent: Wednesday, June 22, 2005 8:49 AM To: 'Access Developers discussion and problem solving' Subject: RE: [AccessD] Just Checking.... If I could figure out why unholy unbounders even exist... ;-) John W. Colby www.ColbyConsulting.com Contribute your unused CPU cycles to 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, June 22, 2005 11:38 AM To: accessd at databaseadvisors.com Subject: RE: [AccessD] Just Checking.... Okay, now you are really slipping JC...giving me warning????? What's next, you're pledge of unfaltering loyalty to the Unbounders? ;) Drew -----Original Message----- From: John W. Colby [mailto:jwcolby at colbyconsulting.com] Sent: Wednesday, June 22, 2005 10:27 AM To: 'Access Developers discussion and problem solving' Subject: RE: [AccessD] Just Checking.... ROTFL. Yea, I am getting old. I am about to launch a field naming convention discussion so look 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 DWUTKA at marlow.com Sent: Wednesday, June 22, 2005 11:21 AM To: accessd at databaseadvisors.com Subject: RE: [AccessD] Just Checking.... Sheesh JC.....you really must be losing it with old age.... What kind of statement is that? Technically, no one could not use a naming convention. Drew -----Original Message----- From: John W. Colby [mailto:jwcolby at colbyconsulting.com] Sent: Tuesday, June 21, 2005 6:08 PM To: 'Access Developers discussion and problem solving' Subject: RE: [AccessD] Just Checking.... Precisely so let's start one. Anyone who doesn't use a 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, June 21, 2005 5:46 PM To: accessd at databaseadvisors.com Subject: RE: [AccessD] Just Checking.... Nope, just busy...and there hasn't been anything good to argue about.......we normally just feed off what gets posted. It's not our fault the other listers aren't posting juicy stuff to dig into! Drew -----Original Message----- From: dmcafee at pacbell.net [mailto:dmcafee at pacbell.net] Sent: Tuesday, June 21, 2005 2:11 PM To: Access Developers discussion and problem solving Subject: RE: [AccessD] Just Checking.... JC & Drew must have gone on vacation or called a truce ;) :P -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Jim Hewson Sent: Tuesday, June 21, 2005 11:39 AM To: Access Developers discussion and problem solving Subject: RE: [AccessD] Just Checking.... I was thinking the same thing... I haven't received anything for about 24 hours! -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Bryan Carbonnell Sent: Tuesday, June 21, 2005 12:28 PM To: Access Developers discussion and problem solving Subject: [AccessD] Just Checking.... Just checking to see if there is anyone out there or is AccessD down? It's just too quite. -- Bryan Carbonnell - carbonnb at gmail.com Life's journey is not to arrive at the grave safely in a well preserved body, but rather to skid in sideways, totally worn out, shouting "What a great ride!" -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd 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 Jun 22 11:14:57 2005 From: Lambert.Heenan at AIG.com (Heenan, Lambert) Date: Wed, 22 Jun 2005 12:14:57 -0400 Subject: [AccessD] Classes not recognized in mda Message-ID: <1D7828CDB8350747AFE9D69E0E90DA1F11CD7202@xlivmbx21.aig.com> In step 4 that John outlined you do *not* paste the complete text of the class code into the new, empty class module. Rather, you open the new class module, and then from the File menu select 'Insert File' (or is it the Insert menu - I can't tell right now as my copy of Access 2002 is doing its usual thing right now --- Taking several minutes to save a few lines of code, which will result in me having YET ANOTHER CORRUPT FILE THAT I NEED TO RESTORE FROM BACKUP!!!!! Every dammed day this happens to me grrrrr!!!!) --- Lambert -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Hale, Jim Sent: Wednesday, June 22, 2005 11:59 AM To: 'Access Developers discussion and problem solving' Subject: RE: [AccessD] Classes not recognized in mda The new class doesn't like the Attribute keyword. Am I missing a reference perhaps? Jim Hale -----Original Message----- From: John W. Colby [mailto:jwcolby at colbyconsulting.com] Sent: Wednesday, June 22, 2005 10:22 AM To: 'Access Developers discussion and problem solving' Subject: RE: [AccessD] Classes not recognized in mda Yes, you have to: 1) Export the classes to text files 2) Edit the text file to set two properties 3) Delete the original class in your lib. 4) Insert a new class 5) Insert the file into that class. 6) Save the new class. The top of an exported class will look something like: VERSION 1.0 CLASS BEGIN MultiUse = -1 'True END Attribute VB_Name = "clsSysVars" Attribute VB_GlobalNameSpace = False Attribute VB_Creatable = False Attribute VB_PredeclaredId = False Attribute VB_Exposed = False Option Compare Database Option Explicit You need to change it to look like: Attribute VB_Name = "clsSysVars" Attribute VB_GlobalNameSpace = False Attribute VB_Creatable = True Attribute VB_PredeclaredId = False Attribute VB_Exposed = True Notice all the stuff I got rid of, and also notice that I changed two properties from False to True. That should take care of 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 Hale, Jim Sent: Wednesday, June 22, 2005 11:01 AM To: 'Accessd (E-mail) Subject: [AccessD] Classes not recognized in mda I have moved some classes and modules out of the front end into a code library. I set the same references in the code library as in the front end. In the front end I set a reference to the code library. The FE recognizes the functions in the library modules fine, no problems but doesn't recognize the classes (i.e. I get an error in the FE when I try to instantiate the moved classes). The code ran fine when the classes resided in the front end. I am obviously doing something simple wrong. Any suggestions? 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 *********************************************************************** 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 Jun 22 11:15:23 2005 From: DWUTKA at marlow.com (DWUTKA at marlow.com) Date: Wed, 22 Jun 2005 11:15:23 -0500 Subject: [AccessD] Just Checking.... Message-ID: <123701F54509D9119A4F00D0B747349016D750@main2.marlow.com> LOL! Okay, we're digressing....and not even kicking up much dirt....I think we need to regroup! LOL Drew -----Original Message----- From: John W. Colby [mailto:jwcolby at colbyconsulting.com] Sent: Wednesday, June 22, 2005 10:49 AM To: 'Access Developers discussion and problem solving' Subject: RE: [AccessD] Just Checking.... If I could figure out why unholy unbounders even exist... ;-) John W. Colby www.ColbyConsulting.com Contribute your unused CPU cycles to 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, June 22, 2005 11:38 AM To: accessd at databaseadvisors.com Subject: RE: [AccessD] Just Checking.... Okay, now you are really slipping JC...giving me warning????? What's next, you're pledge of unfaltering loyalty to the Unbounders? ;) Drew -----Original Message----- From: John W. Colby [mailto:jwcolby at colbyconsulting.com] Sent: Wednesday, June 22, 2005 10:27 AM To: 'Access Developers discussion and problem solving' Subject: RE: [AccessD] Just Checking.... ROTFL. Yea, I am getting old. I am about to launch a field naming convention discussion so look 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 DWUTKA at marlow.com Sent: Wednesday, June 22, 2005 11:21 AM To: accessd at databaseadvisors.com Subject: RE: [AccessD] Just Checking.... Sheesh JC.....you really must be losing it with old age.... What kind of statement is that? Technically, no one could not use a naming convention. Drew -----Original Message----- From: John W. Colby [mailto:jwcolby at colbyconsulting.com] Sent: Tuesday, June 21, 2005 6:08 PM To: 'Access Developers discussion and problem solving' Subject: RE: [AccessD] Just Checking.... Precisely so let's start one. Anyone who doesn't use a 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, June 21, 2005 5:46 PM To: accessd at databaseadvisors.com Subject: RE: [AccessD] Just Checking.... Nope, just busy...and there hasn't been anything good to argue about.......we normally just feed off what gets posted. It's not our fault the other listers aren't posting juicy stuff to dig into! Drew -----Original Message----- From: dmcafee at pacbell.net [mailto:dmcafee at pacbell.net] Sent: Tuesday, June 21, 2005 2:11 PM To: Access Developers discussion and problem solving Subject: RE: [AccessD] Just Checking.... JC & Drew must have gone on vacation or called a truce ;) :P -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Jim Hewson Sent: Tuesday, June 21, 2005 11:39 AM To: Access Developers discussion and problem solving Subject: RE: [AccessD] Just Checking.... I was thinking the same thing... I haven't received anything for about 24 hours! -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Bryan Carbonnell Sent: Tuesday, June 21, 2005 12:28 PM To: Access Developers discussion and problem solving Subject: [AccessD] Just Checking.... Just checking to see if there is anyone out there or is AccessD down? It's just too quite. -- Bryan Carbonnell - carbonnb at gmail.com Life's journey is not to arrive at the grave safely in a well preserved body, but rather to skid in sideways, totally worn out, shouting "What a great ride!" -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd 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 Wed Jun 22 11:32:35 2005 From: Jdemarco at hudsonhealthplan.org (Jim DeMarco) Date: Wed, 22 Jun 2005 12:32:35 -0400 Subject: [AccessD] OT: Sharepoint Security (SOLVED) Message-ID: <08F823FD83787D4BA0B99CA580AD3C74016C3A5F@TTNEXCHCL2.hshhp.com> The culprit seemed to be that the user(s) in question were members of a Desktop Administrators group that was set up for us. Removing that group from the Sharepoint server machine seems to have corrected the issue (further testing pending). Thanks to all, Jim DeMarco -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Jim DeMarco Sent: Wednesday, June 22, 2005 10:30 AM To: Access Developers discussion and problem solving Subject: RE: [AccessD] OT: Sharepoint Security Well I just set up a non-IT staff member with Read access and that's all he could do (read). When I removed him from the site he could not access it any longer. So it looks like it may be using Windows Security to authenticate users. Unfortunately I need to limit even our IT staff in various sections of the site so I've got to get a work around together. I'll keep you posted. Thanks, Jim DeMarco -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Jim Hewson Sent: Wednesday, June 22, 2005 10:08 AM To: Access Developers discussion and problem solving Subject: RE: [AccessD] OT: Sharepoint Security Jim, I'm a novice, but will become the SharePoint "Expert" when I change jobs, in my company, next month. I'm interested in the outcome of your question. A couple of random thoughts... There are two levels of security for SharePoint. They are Central Administration and Site Administration rights. Central take precedence over site rights. If a person is a member of the Central Administration group which manages the settings for the Web Server and virtual servers, they effectively have Administrative rights to the entire portal. In Site Administration, IIRC, there is a toggle somewhere to designate a person to have the same rights as the parent area or site. Let me know if you have found the solution. Regards, Jim H. -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Jim DeMarco Sent: Wednesday, June 22, 2005 8:04 AM To: AccessD (E-mail) Subject: [AccessD] OT: Sharepoint Security List, I've done some Googling but I can't seem to find the answer to this odd problem. I set up a Sharepoint site as a test bed (Sharepoint Services not Server) and gave a few users access. No matter what rights I give the users they have full admin rights to the sight. I set up custom security groups and the site is completely ignoring them. To further add to the mystery I removed on user (she is not a member of any security group therefore should not have access to the site) and she can still get in with full admin rights. Is it possible that Sharepoint is deferring to Windows rights? These are all IT staff here and have more liberal rights to our network than the average user. Does anyone have a clue? A push in the right direction would be appreciated. TIA Jim DeMarco Director of Application Development Hudson Health Plan ************************************************************************ *********** "This electronic message is intended to be for the use only of the named recipient, and may contain information from Hudson Health Plan (HHP) that is confidential or privileged. If you are not the intended recipient, you are hereby notified that any disclosure, copying, distribution or use of the contents of this message is strictly prohibited. If you have received this message in error or are not the named recipient, please notify us immediately, either by contacting the sender at the electronic mail address noted above or calling HHP at (914) 631-1611. If you are not the intended recipient, please do not forward this email to anyone, and delete and destroy all copies of this message. Thank You". ************************************************************************ *********** -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com *********************************************************************************** "This electronic message is intended to be for the use only of the named recipient, and may contain information from Hudson Health Plan (HHP) that is confidential or privileged. If you are not the intended recipient, you are hereby notified that any disclosure, copying, distribution or use of the contents of this message is strictly prohibited. If you have received this message in error or are not the named recipient, please notify us immediately, either by contacting the sender at the electronic mail address noted above or calling HHP at (914) 631-1611. If you are not the intended recipient, please do not forward this email to anyone, and delete and destroy all copies of this message. Thank You". *********************************************************************************** -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com *********************************************************************************** "This electronic message is intended to be for the use only of the named recipient, and may contain information from Hudson Health Plan (HHP) that is confidential or privileged. If you are not the intended recipient, you are hereby notified that any disclosure, copying, distribution or use of the contents of this message is strictly prohibited. If you have received this message in error or are not the named recipient, please notify us immediately, either by contacting the sender at the electronic mail address noted above or calling HHP at (914) 631-1611. If you are not the intended recipient, please do not forward this email to anyone, and delete and destroy all copies of this message. Thank You". *********************************************************************************** From Jim.Hale at FleetPride.com Wed Jun 22 11:32:22 2005 From: Jim.Hale at FleetPride.com (Hale, Jim) Date: Wed, 22 Jun 2005 11:32:22 -0500 Subject: [AccessD] Classes not recognized in mda Message-ID: <6A6AA9DF57E4F046BDA1E273BDDB6772337696@corp-es01.fleetpride.com> Got it! I was pasting instead of inserting. It works now, Muchas Gracias. BTW I reviewed the "sacred" framework discussion emails and found your detailed description of how to move classes to libraries. For anyone who wants to search the archives it is (surprise) "Framework Discussion - Moving to a library". How did you discover this stuff? It is not discussed anywhere else that I've seen. Jim Hale -----Original Message----- From: John W. Colby [mailto:jwcolby at colbyconsulting.com] Sent: Wednesday, June 22, 2005 11:08 AM To: 'Access Developers discussion and problem solving' Subject: RE: [AccessD] Classes not recognized in mda Jim, These things should not even be visible when you pull them back in. You MUST: 1) Delete the old class - make SURE you exported it first 2) INSERT a new (blank) class 3) INSERT the file into that class 4) SAVE the new class When you do it this way you should not even be able to SEE the ATTRIBUTE keyword. John W. Colby www.ColbyConsulting.com Contribute your unused CPU cycles to a good cause: http://folding.stanford.edu/ -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Hale, Jim Sent: Wednesday, June 22, 2005 11:59 AM To: 'Access Developers discussion and problem solving' Subject: RE: [AccessD] Classes not recognized in mda The new class doesn't like the Attribute keyword. Am I missing a reference perhaps? Jim Hale -----Original Message----- From: John W. Colby [mailto:jwcolby at colbyconsulting.com] Sent: Wednesday, June 22, 2005 10:22 AM To: 'Access Developers discussion and problem solving' Subject: RE: [AccessD] Classes not recognized in mda Yes, you have to: 1) Export the classes to text files 2) Edit the text file to set two properties 3) Delete the original class in your lib. 4) Insert a new class 5) Insert the file into that class. 6) Save the new class. The top of an exported class will look something like: VERSION 1.0 CLASS BEGIN MultiUse = -1 'True END Attribute VB_Name = "clsSysVars" Attribute VB_GlobalNameSpace = False Attribute VB_Creatable = False Attribute VB_PredeclaredId = False Attribute VB_Exposed = False Option Compare Database Option Explicit You need to change it to look like: Attribute VB_Name = "clsSysVars" Attribute VB_GlobalNameSpace = False Attribute VB_Creatable = True Attribute VB_PredeclaredId = False Attribute VB_Exposed = True Notice all the stuff I got rid of, and also notice that I changed two properties from False to True. That should take care of 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 Hale, Jim Sent: Wednesday, June 22, 2005 11:01 AM To: 'Accessd (E-mail) Subject: [AccessD] Classes not recognized in mda I have moved some classes and modules out of the front end into a code library. I set the same references in the code library as in the front end. In the front end I set a reference to the code library. The FE recognizes the functions in the library modules fine, no problems but doesn't recognize the classes (i.e. I get an error in the FE when I try to instantiate the moved classes). The code ran fine when the classes resided in the front end. I am obviously doing something simple wrong. Any suggestions? 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 *********************************************************************** 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 jmhecht at earthlink.net Wed Jun 22 11:36:40 2005 From: jmhecht at earthlink.net (Joe Hecht) Date: Wed, 22 Jun 2005 09:36:40 -0700 Subject: [AccessD] Field Naming ( Just once I want to be ahead of JC ) Message-ID: <004c01c57748$91acf8b0$6401a8c0@laptop1> When naming fields in table design view I try to prefix the field with something to identify the source table i.e.: Custfname custLname repfname replname Joe Hecht Los Angeles CA From accessd at shaw.ca Wed Jun 22 11:40:16 2005 From: accessd at shaw.ca (Jim Lawrence) Date: Wed, 22 Jun 2005 09:40:16 -0700 Subject: [AccessD] OT: Sharepoint Security (SOLVED) In-Reply-To: <08F823FD83787D4BA0B99CA580AD3C74016C3A5F@TTNEXCHCL2.hshhp.com> Message-ID: <0IIH00C93VMOBK@l-daemon> Hi All: Given that this question will seem simple and slightly ignorant... what is a SharePoint Portal used for and what does it improve or replace. Jim -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Jim DeMarco Sent: Wednesday, June 22, 2005 9:33 AM To: Access Developers discussion and problem solving Subject: RE: [AccessD] OT: Sharepoint Security (SOLVED) The culprit seemed to be that the user(s) in question were members of a Desktop Administrators group that was set up for us. Removing that group from the Sharepoint server machine seems to have corrected the issue (further testing pending). Thanks to all, Jim DeMarco -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Jim DeMarco Sent: Wednesday, June 22, 2005 10:30 AM To: Access Developers discussion and problem solving Subject: RE: [AccessD] OT: Sharepoint Security Well I just set up a non-IT staff member with Read access and that's all he could do (read). When I removed him from the site he could not access it any longer. So it looks like it may be using Windows Security to authenticate users. Unfortunately I need to limit even our IT staff in various sections of the site so I've got to get a work around together. I'll keep you posted. Thanks, Jim DeMarco -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Jim Hewson Sent: Wednesday, June 22, 2005 10:08 AM To: Access Developers discussion and problem solving Subject: RE: [AccessD] OT: Sharepoint Security Jim, I'm a novice, but will become the SharePoint "Expert" when I change jobs, in my company, next month. I'm interested in the outcome of your question. A couple of random thoughts... There are two levels of security for SharePoint. They are Central Administration and Site Administration rights. Central take precedence over site rights. If a person is a member of the Central Administration group which manages the settings for the Web Server and virtual servers, they effectively have Administrative rights to the entire portal. In Site Administration, IIRC, there is a toggle somewhere to designate a person to have the same rights as the parent area or site. Let me know if you have found the solution. Regards, Jim H. -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Jim DeMarco Sent: Wednesday, June 22, 2005 8:04 AM To: AccessD (E-mail) Subject: [AccessD] OT: Sharepoint Security List, I've done some Googling but I can't seem to find the answer to this odd problem. I set up a Sharepoint site as a test bed (Sharepoint Services not Server) and gave a few users access. No matter what rights I give the users they have full admin rights to the sight. I set up custom security groups and the site is completely ignoring them. To further add to the mystery I removed on user (she is not a member of any security group therefore should not have access to the site) and she can still get in with full admin rights. Is it possible that Sharepoint is deferring to Windows rights? These are all IT staff here and have more liberal rights to our network than the average user. Does anyone have a clue? A push in the right direction would be appreciated. TIA Jim DeMarco Director of Application Development Hudson Health Plan ************************************************************************ *********** "This electronic message is intended to be for the use only of the named recipient, and may contain information from Hudson Health Plan (HHP) that is confidential or privileged. If you are not the intended recipient, you are hereby notified that any disclosure, copying, distribution or use of the contents of this message is strictly prohibited. If you have received this message in error or are not the named recipient, please notify us immediately, either by contacting the sender at the electronic mail address noted above or calling HHP at (914) 631-1611. If you are not the intended recipient, please do not forward this email to anyone, and delete and destroy all copies of this message. Thank You". ************************************************************************ *********** -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com **************************************************************************** ******* "This electronic message is intended to be for the use only of the named recipient, and may contain information from Hudson Health Plan (HHP) that is confidential or privileged. If you are not the intended recipient, you are hereby notified that any disclosure, copying, distribution or use of the contents of this message is strictly prohibited. If you have received this message in error or are not the named recipient, please notify us immediately, either by contacting the sender at the electronic mail address noted above or calling HHP at (914) 631-1611. If you are not the intended recipient, please do not forward this email to anyone, and delete and destroy all copies of this message. Thank You". **************************************************************************** ******* -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com **************************************************************************** ******* "This electronic message is intended to be for the use only of the named recipient, and may contain information from Hudson Health Plan (HHP) that is confidential or privileged. If you are not the intended recipient, you are hereby notified that any disclosure, copying, distribution or use of the contents of this message is strictly prohibited. If you have received this message in error or are not the named recipient, please notify us immediately, either by contacting the sender at the electronic mail address noted above or calling HHP at (914) 631-1611. If you are not the intended recipient, please do not forward this email to anyone, and delete and destroy all copies of this message. Thank You". **************************************************************************** ******* -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From DWUTKA at marlow.com Wed Jun 22 11:40:23 2005 From: DWUTKA at marlow.com (DWUTKA at marlow.com) Date: Wed, 22 Jun 2005 11:40:23 -0500 Subject: [AccessD] Field Naming ( Just once I want to be ahead of JC ) Message-ID: <123701F54509D9119A4F00D0B747349016D751@main2.marlow.com> Not a bad idea. Drew -----Original Message----- From: Joe Hecht [mailto:jmhecht at earthlink.net] Sent: Wednesday, June 22, 2005 11:37 AM To: 'Access Developers discussion and problem solving' Subject: [AccessD] Field Naming ( Just once I want to be ahead of JC ) When naming fields in table design view I try to prefix the field with something to identify the source table i.e.: Custfname custLname repfname replname Joe Hecht Los Angeles CA -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From MarkBoyd at McBeeAssociates.com Wed Jun 22 11:59:05 2005 From: MarkBoyd at McBeeAssociates.com (Mark Boyd) Date: Wed, 22 Jun 2005 12:59:05 -0400 Subject: [AccessD] Detect specific printer Message-ID: <974F830FE464C14E8652F95E24DA663C0BF9FF@mail03.Mcbassoc.com> Is there a way thru VBA to detect if a specific printer has been installed? I need to check if the PDF Writer is on the user's machine. If not, they'll be prompted to install it. Thanks, Mark Boyd I/S Supervisor McBee Associates, Inc. ----------------------------------------- This message and any attachments are intended only for the use of the individual or entity to which it is addressed and may contain information that is privileged, confidential, and exempt from disclosure under applicable law. If the reader of this message is not the intended recipient, or the employee or agent responsible for delivering the message to the intended recipient, you are hereby notified that any dissemination, distribution or copying of this communication is strictly prohibited. If you have received this communication in error, please notify the sender by replying to this message, and then delete it from your system. ------------------------------------------- From jwcolby at colbyconsulting.com Wed Jun 22 11:56:23 2005 From: jwcolby at colbyconsulting.com (John W. Colby) Date: Wed, 22 Jun 2005 12:56:23 -0400 Subject: [AccessD] Field Naming ( Just once I want to be ahead of JC ) In-Reply-To: <004c01c57748$91acf8b0$6401a8c0@laptop1> Message-ID: <008501c5774b$551bb960$6c7aa8c0@ColbyM6805> Good job Joe, my point exactly. I have seen (and in fact am currently working on) too many tables where the PK is just called PK or ID or something silly like that. In the case I am working on are named something real (TherapyLocationID) but that same field name is used in several different tables, both as the PK and the FK in the child tables. The problem becomes when you try to search on "where is this field used", without a table prefix in the field name, you get hits from every table where that field name is used. I currently am trying to straighten out a mess where one table has the field TherapyLocationID as a FK. And it needs to be removed entirely. The therapy location is NOT one to one, thus there is now a table that says where the therapy occurs, but in order to find it... Well... Let's just say there about 100 hits only about 20 of which have anything to do with the field in the table I need to modify. I have to search through all 100 of these forms, reports, modules etc to visually look at which table that object is referencing when it uses TherapyLocationID. Can you say PITA? If all tables had a table prefix, this would not be an issue. I personally use the first two characters of the table name if the name is a single word: Tbl child = CH_ID CH_Lname CH_Fname Etc tblPeople = PE_ID PE_Lname PE_Fname Etc. I use the first letter of each word if the name consists of more than one word. tblInvoiceLineItem - ILI_ID ILI_IDIN (the FK holding the PK of the INvoice table Doing this ensures that if I search for PE_ID, I will get ONLY hits from the PEople table. If I search for any field with ILI_XXXX I will get only hits for items referencing the InvoiceLineItem table. Notice that I then name all FKS with YY_IDXXXX ILI_IDIN for example In essence I take the PK name (IN_ID), remove the underscore and reverse the ID and name part (IDIN) and place it immediately after the underscore (ILI_IDIN). Why do I do this? Because I push all IDs to the top of the table and then all FKs look like YY_IDAAA YY_IDBB YY_IDCCCC YY_IDEEE Etc. ALL fields with _IDXXXX are an FK. Just some things to think about. John W. Colby www.ColbyConsulting.com Contribute your unused CPU cycles to 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: Wednesday, June 22, 2005 12:37 PM To: 'Access Developers discussion and problem solving' Subject: [AccessD] Field Naming ( Just once I want to be ahead of JC ) When naming fields in table design view I try to prefix the field with something to identify the source table i.e.: Custfname custLname repfname replname Joe Hecht Los Angeles CA -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From jwcolby at colbyconsulting.com Wed Jun 22 11:57:24 2005 From: jwcolby at colbyconsulting.com (John W. Colby) Date: Wed, 22 Jun 2005 12:57:24 -0400 Subject: [AccessD] Just Checking.... In-Reply-To: Message-ID: <008601c5774b$766bdc80$6c7aa8c0@ColbyM6805> GOOD, I rarely get to argue with 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, June 22, 2005 12:12 PM To: Access Developers discussion and problem solving Subject: RE: [AccessD] Just Checking.... OH NO! Please don't, John! I know you use one, but I OBJECT violently! Charlotte Foust -----Original Message----- From: John W. Colby [mailto:jwcolby at colbyconsulting.com] Sent: Wednesday, June 22, 2005 8:27 AM To: 'Access Developers discussion and problem solving' Subject: RE: [AccessD] Just Checking.... ROTFL. Yea, I am getting old. I am about to launch a field naming convention discussion so look 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 DWUTKA at marlow.com Sent: Wednesday, June 22, 2005 11:21 AM To: accessd at databaseadvisors.com Subject: RE: [AccessD] Just Checking.... Sheesh JC.....you really must be losing it with old age.... What kind of statement is that? Technically, no one could not use a naming convention. Drew -----Original Message----- From: John W. Colby [mailto:jwcolby at colbyconsulting.com] Sent: Tuesday, June 21, 2005 6:08 PM To: 'Access Developers discussion and problem solving' Subject: RE: [AccessD] Just Checking.... Precisely so let's start one. Anyone who doesn't use a 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, June 21, 2005 5:46 PM To: accessd at databaseadvisors.com Subject: RE: [AccessD] Just Checking.... Nope, just busy...and there hasn't been anything good to argue about.......we normally just feed off what gets posted. It's not our fault the other listers aren't posting juicy stuff to dig into! Drew -----Original Message----- From: dmcafee at pacbell.net [mailto:dmcafee at pacbell.net] Sent: Tuesday, June 21, 2005 2:11 PM To: Access Developers discussion and problem solving Subject: RE: [AccessD] Just Checking.... JC & Drew must have gone on vacation or called a truce ;) :P -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Jim Hewson Sent: Tuesday, June 21, 2005 11:39 AM To: Access Developers discussion and problem solving Subject: RE: [AccessD] Just Checking.... I was thinking the same thing... I haven't received anything for about 24 hours! -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Bryan Carbonnell Sent: Tuesday, June 21, 2005 12:28 PM To: Access Developers discussion and problem solving Subject: [AccessD] Just Checking.... Just checking to see if there is anyone out there or is AccessD down? It's just too quite. -- Bryan Carbonnell - carbonnb at gmail.com Life's journey is not to arrive at the grave safely in a well preserved body, but rather to skid in sideways, totally worn out, shouting "What a great ride!" -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd 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 Jun 22 12:21:04 2005 From: cfoust at infostatsystems.com (Charlotte Foust) Date: Wed, 22 Jun 2005 10:21:04 -0700 Subject: [AccessD] Just Checking.... Message-ID: Sorry to disappoint you, but I name my fields to indicate their table. I just object to elaborate field naming schemes complete with underscores, capitalized prefixes, etc., etc., etc. If that makes for an argument, we're all hard up for diversions. Charlotte Foust -----Original Message----- From: John W. Colby [mailto:jwcolby at colbyconsulting.com] Sent: Wednesday, June 22, 2005 9:57 AM To: 'Access Developers discussion and problem solving' Subject: RE: [AccessD] Just Checking.... GOOD, I rarely get to argue with 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, June 22, 2005 12:12 PM To: Access Developers discussion and problem solving Subject: RE: [AccessD] Just Checking.... OH NO! Please don't, John! I know you use one, but I OBJECT violently! Charlotte Foust -----Original Message----- From: John W. Colby [mailto:jwcolby at colbyconsulting.com] Sent: Wednesday, June 22, 2005 8:27 AM To: 'Access Developers discussion and problem solving' Subject: RE: [AccessD] Just Checking.... ROTFL. Yea, I am getting old. I am about to launch a field naming convention discussion so look 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 DWUTKA at marlow.com Sent: Wednesday, June 22, 2005 11:21 AM To: accessd at databaseadvisors.com Subject: RE: [AccessD] Just Checking.... Sheesh JC.....you really must be losing it with old age.... What kind of statement is that? Technically, no one could not use a naming convention. Drew -----Original Message----- From: John W. Colby [mailto:jwcolby at colbyconsulting.com] Sent: Tuesday, June 21, 2005 6:08 PM To: 'Access Developers discussion and problem solving' Subject: RE: [AccessD] Just Checking.... Precisely so let's start one. Anyone who doesn't use a 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, June 21, 2005 5:46 PM To: accessd at databaseadvisors.com Subject: RE: [AccessD] Just Checking.... Nope, just busy...and there hasn't been anything good to argue about.......we normally just feed off what gets posted. It's not our fault the other listers aren't posting juicy stuff to dig into! Drew -----Original Message----- From: dmcafee at pacbell.net [mailto:dmcafee at pacbell.net] Sent: Tuesday, June 21, 2005 2:11 PM To: Access Developers discussion and problem solving Subject: RE: [AccessD] Just Checking.... JC & Drew must have gone on vacation or called a truce ;) :P -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Jim Hewson Sent: Tuesday, June 21, 2005 11:39 AM To: Access Developers discussion and problem solving Subject: RE: [AccessD] Just Checking.... I was thinking the same thing... I haven't received anything for about 24 hours! -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Bryan Carbonnell Sent: Tuesday, June 21, 2005 12:28 PM To: Access Developers discussion and problem solving Subject: [AccessD] Just Checking.... Just checking to see if there is anyone out there or is AccessD down? It's just too quite. -- Bryan Carbonnell - carbonnb at gmail.com Life's journey is not to arrive at the grave safely in a well preserved body, but rather to skid in sideways, totally worn out, shouting "What a great ride!" -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From fhtapia at gmail.com Wed Jun 22 12:26:35 2005 From: fhtapia at gmail.com (Francisco Tapia) Date: Wed, 22 Jun 2005 10:26:35 -0700 Subject: [AccessD] Just Checking.... In-Reply-To: <007701c57741$e05bcf60$6c7aa8c0@ColbyM6805> References: <123701F54509D9119A4F00D0B747349016D74E@main2.marlow.com> <007701c57741$e05bcf60$6c7aa8c0@ColbyM6805> Message-ID: to fix your db's that are BOUND to be a proble ;-) On 6/22/05, John W. Colby wrote: > If I could figure out why unholy unbounders even exist... > > ;-) > > John W. Colby > www.ColbyConsulting.com > > Contribute your unused CPU cycles to 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, June 22, 2005 11:38 AM > To: accessd at databaseadvisors.com > Subject: RE: [AccessD] Just Checking.... > > > Okay, now you are really slipping JC...giving me warning????? What's next, > you're pledge of unfaltering loyalty to the Unbounders? ;) > > Drew > > -----Original Message----- > From: John W. Colby [mailto:jwcolby at colbyconsulting.com] > Sent: Wednesday, June 22, 2005 10:27 AM > To: 'Access Developers discussion and problem solving' > Subject: RE: [AccessD] Just Checking.... > > > ROTFL. Yea, I am getting old. > > I am about to launch a field naming convention discussion so look 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 DWUTKA at marlow.com > Sent: Wednesday, June 22, 2005 11:21 AM > To: accessd at databaseadvisors.com > Subject: RE: [AccessD] Just Checking.... > > > Sheesh JC.....you really must be losing it with old age.... > > What kind of statement is that? Technically, no one could not use a naming > convention. > > Drew > > -----Original Message----- > From: John W. Colby [mailto:jwcolby at colbyconsulting.com] > Sent: Tuesday, June 21, 2005 6:08 PM > To: 'Access Developers discussion and problem solving' > Subject: RE: [AccessD] Just Checking.... > > > Precisely so let's start one. > > Anyone who doesn't use a 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, June 21, 2005 5:46 PM > To: accessd at databaseadvisors.com > Subject: RE: [AccessD] Just Checking.... > > > Nope, just busy...and there hasn't been anything good to argue > about.......we normally just feed off what gets posted. It's not our fault > the other listers aren't posting juicy stuff to dig into! > > Drew > > -----Original Message----- > From: dmcafee at pacbell.net [mailto:dmcafee at pacbell.net] > Sent: Tuesday, June 21, 2005 2:11 PM > To: Access Developers discussion and problem solving > Subject: RE: [AccessD] Just Checking.... > > > JC & Drew must have gone on vacation or called a truce ;) > > :P > > > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Jim Hewson > Sent: Tuesday, June 21, 2005 11:39 AM > To: Access Developers discussion and problem solving > Subject: RE: [AccessD] Just Checking.... > > > I was thinking the same thing... > I haven't received anything for about 24 hours! > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Bryan Carbonnell > Sent: Tuesday, June 21, 2005 12:28 PM > To: Access Developers discussion and problem solving > Subject: [AccessD] Just Checking.... > > Just checking to see if there is anyone out there or is AccessD down? > > It's just too quite. > > -- > Bryan Carbonnell - carbonnb at gmail.com > Life's journey is not to arrive at the grave safely in a well preserved > body, but rather to skid in sideways, totally worn out, shouting "What a > great ride!" > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > > > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > > > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/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 jwcolby at colbyconsulting.com Wed Jun 22 12:27:46 2005 From: jwcolby at colbyconsulting.com (John W. Colby) Date: Wed, 22 Jun 2005 13:27:46 -0400 Subject: [AccessD] Just Checking.... In-Reply-To: Message-ID: <008701c5774f$b46fe180$6c7aa8c0@ColbyM6805> Well, as long as a field name is unique... John W. Colby www.ColbyConsulting.com Contribute your unused CPU cycles to 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, June 22, 2005 1:21 PM To: Access Developers discussion and problem solving Subject: RE: [AccessD] Just Checking.... Sorry to disappoint you, but I name my fields to indicate their table. I just object to elaborate field naming schemes complete with underscores, capitalized prefixes, etc., etc., etc. If that makes for an argument, we're all hard up for diversions. Charlotte Foust -----Original Message----- From: John W. Colby [mailto:jwcolby at colbyconsulting.com] Sent: Wednesday, June 22, 2005 9:57 AM To: 'Access Developers discussion and problem solving' Subject: RE: [AccessD] Just Checking.... GOOD, I rarely get to argue with 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, June 22, 2005 12:12 PM To: Access Developers discussion and problem solving Subject: RE: [AccessD] Just Checking.... OH NO! Please don't, John! I know you use one, but I OBJECT violently! Charlotte Foust -----Original Message----- From: John W. Colby [mailto:jwcolby at colbyconsulting.com] Sent: Wednesday, June 22, 2005 8:27 AM To: 'Access Developers discussion and problem solving' Subject: RE: [AccessD] Just Checking.... ROTFL. Yea, I am getting old. I am about to launch a field naming convention discussion so look 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 DWUTKA at marlow.com Sent: Wednesday, June 22, 2005 11:21 AM To: accessd at databaseadvisors.com Subject: RE: [AccessD] Just Checking.... Sheesh JC.....you really must be losing it with old age.... What kind of statement is that? Technically, no one could not use a naming convention. Drew -----Original Message----- From: John W. Colby [mailto:jwcolby at colbyconsulting.com] Sent: Tuesday, June 21, 2005 6:08 PM To: 'Access Developers discussion and problem solving' Subject: RE: [AccessD] Just Checking.... Precisely so let's start one. Anyone who doesn't use a 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, June 21, 2005 5:46 PM To: accessd at databaseadvisors.com Subject: RE: [AccessD] Just Checking.... Nope, just busy...and there hasn't been anything good to argue about.......we normally just feed off what gets posted. It's not our fault the other listers aren't posting juicy stuff to dig into! Drew -----Original Message----- From: dmcafee at pacbell.net [mailto:dmcafee at pacbell.net] Sent: Tuesday, June 21, 2005 2:11 PM To: Access Developers discussion and problem solving Subject: RE: [AccessD] Just Checking.... JC & Drew must have gone on vacation or called a truce ;) :P -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Jim Hewson Sent: Tuesday, June 21, 2005 11:39 AM To: Access Developers discussion and problem solving Subject: RE: [AccessD] Just Checking.... I was thinking the same thing... I haven't received anything for about 24 hours! -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Bryan Carbonnell Sent: Tuesday, June 21, 2005 12:28 PM To: Access Developers discussion and problem solving Subject: [AccessD] Just Checking.... Just checking to see if there is anyone out there or is AccessD down? It's just too quite. -- Bryan Carbonnell - carbonnb at gmail.com Life's journey is not to arrive at the grave safely in a well preserved body, but rather to skid in sideways, totally worn out, shouting "What a great ride!" -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd 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 Jun 22 12:36:07 2005 From: jwcolby at colbyconsulting.com (John W. Colby) Date: Wed, 22 Jun 2005 13:36:07 -0400 Subject: [AccessD] Classes not recognized in mda In-Reply-To: <6A6AA9DF57E4F046BDA1E273BDDB6772337696@corp-es01.fleetpride.com> Message-ID: <008801c57750$df1324f0$6c7aa8c0@ColbyM6805> We all stand on the shoulders of giants. In my case the giants were Shamil and a couple of the old timers of Access whom I don't know (weren't on our list) but who did so much "back when". The next step up from a library is a framework. Let me know when you are ready for that step. John W. Colby www.ColbyConsulting.com Contribute your unused CPU cycles to a good cause: http://folding.stanford.edu/ -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Hale, Jim Sent: Wednesday, June 22, 2005 12:32 PM To: 'Access Developers discussion and problem solving' Subject: RE: [AccessD] Classes not recognized in mda Got it! I was pasting instead of inserting. It works now, Muchas Gracias. BTW I reviewed the "sacred" framework discussion emails and found your detailed description of how to move classes to libraries. For anyone who wants to search the archives it is (surprise) "Framework Discussion - Moving to a library". How did you discover this stuff? It is not discussed anywhere else that I've seen. Jim Hale From Jdemarco at hudsonhealthplan.org Wed Jun 22 12:38:29 2005 From: Jdemarco at hudsonhealthplan.org (Jim DeMarco) Date: Wed, 22 Jun 2005 13:38:29 -0400 Subject: [AccessD] OT: Sharepoint Security (SOLVED) Message-ID: <08F823FD83787D4BA0B99CA580AD3C74016C3A66@TTNEXCHCL2.hshhp.com> Here's a link to M$ for the answer: http://www.microsoft.com/windowsserver2003/technologies/sharepoint/default.mspx In a nutshell it's a collaboration web site where teams can share documents in multiple libraries, share contacts, task lists, calendars and more. It's easily customizable and a pretty cool tool IMHO. You can set up your own user groups and customize access at every function level. If you run Windows Server 2003 you have a copy of SP Services already. The Portal version is the big brother and must be purchased. HTH, Jim DeMarco -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Jim Lawrence Sent: Wednesday, June 22, 2005 12:40 PM To: 'Access Developers discussion and problem solving' Subject: RE: [AccessD] OT: Sharepoint Security (SOLVED) Hi All: Given that this question will seem simple and slightly ignorant... what is a SharePoint Portal used for and what does it improve or replace. Jim -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Jim DeMarco Sent: Wednesday, June 22, 2005 9:33 AM To: Access Developers discussion and problem solving Subject: RE: [AccessD] OT: Sharepoint Security (SOLVED) The culprit seemed to be that the user(s) in question were members of a Desktop Administrators group that was set up for us. Removing that group from the Sharepoint server machine seems to have corrected the issue (further testing pending). Thanks to all, Jim DeMarco -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Jim DeMarco Sent: Wednesday, June 22, 2005 10:30 AM To: Access Developers discussion and problem solving Subject: RE: [AccessD] OT: Sharepoint Security Well I just set up a non-IT staff member with Read access and that's all he could do (read). When I removed him from the site he could not access it any longer. So it looks like it may be using Windows Security to authenticate users. Unfortunately I need to limit even our IT staff in various sections of the site so I've got to get a work around together. I'll keep you posted. Thanks, Jim DeMarco -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Jim Hewson Sent: Wednesday, June 22, 2005 10:08 AM To: Access Developers discussion and problem solving Subject: RE: [AccessD] OT: Sharepoint Security Jim, I'm a novice, but will become the SharePoint "Expert" when I change jobs, in my company, next month. I'm interested in the outcome of your question. A couple of random thoughts... There are two levels of security for SharePoint. They are Central Administration and Site Administration rights. Central take precedence over site rights. If a person is a member of the Central Administration group which manages the settings for the Web Server and virtual servers, they effectively have Administrative rights to the entire portal. In Site Administration, IIRC, there is a toggle somewhere to designate a person to have the same rights as the parent area or site. Let me know if you have found the solution. Regards, Jim H. -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Jim DeMarco Sent: Wednesday, June 22, 2005 8:04 AM To: AccessD (E-mail) Subject: [AccessD] OT: Sharepoint Security List, I've done some Googling but I can't seem to find the answer to this odd problem. I set up a Sharepoint site as a test bed (Sharepoint Services not Server) and gave a few users access. No matter what rights I give the users they have full admin rights to the sight. I set up custom security groups and the site is completely ignoring them. To further add to the mystery I removed on user (she is not a member of any security group therefore should not have access to the site) and she can still get in with full admin rights. Is it possible that Sharepoint is deferring to Windows rights? These are all IT staff here and have more liberal rights to our network than the average user. Does anyone have a clue? A push in the right direction would be appreciated. TIA Jim DeMarco Director of Application Development Hudson Health Plan ************************************************************************ *********** "This electronic message is intended to be for the use only of the named recipient, and may contain information from Hudson Health Plan (HHP) that is confidential or privileged. If you are not the intended recipient, you are hereby notified that any disclosure, copying, distribution or use of the contents of this message is strictly prohibited. If you have received this message in error or are not the named recipient, please notify us immediately, either by contacting the sender at the electronic mail address noted above or calling HHP at (914) 631-1611. If you are not the intended recipient, please do not forward this email to anyone, and delete and destroy all copies of this message. Thank You". ************************************************************************ *********** -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com **************************************************************************** ******* "This electronic message is intended to be for the use only of the named recipient, and may contain information from Hudson Health Plan (HHP) that is confidential or privileged. If you are not the intended recipient, you are hereby notified that any disclosure, copying, distribution or use of the contents of this message is strictly prohibited. If you have received this message in error or are not the named recipient, please notify us immediately, either by contacting the sender at the electronic mail address noted above or calling HHP at (914) 631-1611. If you are not the intended recipient, please do not forward this email to anyone, and delete and destroy all copies of this message. Thank You". **************************************************************************** ******* -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com **************************************************************************** ******* "This electronic message is intended to be for the use only of the named recipient, and may contain information from Hudson Health Plan (HHP) that is confidential or privileged. If you are not the intended recipient, you are hereby notified that any disclosure, copying, distribution or use of the contents of this message is strictly prohibited. If you have received this message in error or are not the named recipient, please notify us immediately, either by contacting the sender at the electronic mail address noted above or calling HHP at (914) 631-1611. If you are not the intended recipient, please do not forward this email to anyone, and delete and destroy all copies of this message. Thank You". **************************************************************************** ******* -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/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 bchacc at san.rr.com Wed Jun 22 12:38:30 2005 From: bchacc at san.rr.com (Rocky Smolin - Beach Access Software) Date: Wed, 22 Jun 2005 10:38:30 -0700 Subject: [AccessD] Open File Dialog Box Call Fails References: <916187228923D311A6FE00A0CC3FAA30ABEC6B@ADGSERVER> Message-ID: <017201c57751$34f142d0$6c01a8c0@HAL9004> Bobby: Thanks. I'll forward mine to him and see what happens. Rocky ----- Original Message ----- From: "Bobby Heid" To: "'Access Developers discussion and problem solving'" Sent: Wednesday, June 22, 2005 8:06 AM Subject: RE: [AccessD] Open File Dialog Box Call Fails > You might try sending him your version and have him back his dll (or full > system) up, unregister his version, copy yours to where his was, and > register it. This is a big YMMV. > > If his is different, you might could try the reverse on your system. If > it > worked, then recompile your app and then have him re-install. > > If the different versions is what is causing the problem, then you have > just > entered that infamous place lovingly called "DLL Hell." > > I am just shooting in the dark here, but this is some of the stuff that I > would investigate. > > Bobby > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Rocky Smolin - > Beach Access Software > Sent: Wednesday, June 22, 2005 10:45 AM > To: Access Developers discussion and problem solving > Cc: Ben Saltzer > Subject: Re: [AccessD] Open File Dialog Box Call Fails > > > I suppose he could check the properties on his comdlg32.dll. If it > doesn't > match the one I'm using (where the app still works) where could he find > the > old one? > > TIA > > Rocky > > ----- Original Message ----- > From: "Bobby Heid" > To: "'Access Developers discussion and problem solving'" > > Sent: Wednesday, June 22, 2005 7:39 AM > Subject: RE: [AccessD] Open File Dialog Box Call Fails > > >>I wonder if it is some sort of service pack that has hosed something? >>Or maybe he installed something that put a different version of >>comdlg32.dll? >> >> Bobby >> >> -----Original Message----- >> From: accessd-bounces at databaseadvisors.com >> [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Rocky >> Smolin - Beach Access Software >> Sent: Wednesday, June 22, 2005 10:26 AM >> To: AccessD at databaseadvisors.com; dba-tech >> Cc: Ben Saltzer >> Subject: [AccessD] Open File Dialog Box Call Fails >> >> >> Dear List: >> >> I have a client who's selling an app I wrote where I use the code from >> the ADH to call the file open dialog box: >> >> Declare Function adh_apiGetOpenFileName Lib "comdlg32.dll" _ Alias >> "GetOpenFileNameA" (ofn As tagOPENFILENAME) As Boolean >> >> I haven't worked on the app for several months and it's been very >> stable until a couple of weeks ago when this call began to fail with >> no error message. Just didn't open the dialog box. Then it failed on >> another computer. Then on another one. Now no computer in his place >> runs this api. >> >> I went over to his place and stepped through the code and sure enough >> it goes to the api call and then goes right through the api call >> without opening the dialog box. >> >> If we try to drop the common dialog control onto a form in design view >> from >> the additional tools list in the toolbox we get a message that says the >> OLE >> server isn't registered. >> >> So I need to figure out >> >> 1) how to get the OLE server registered (unregistered first I suppose) >> and see if that is somehow hosing the file open dialog box >> 2) figure out if there's a problem with comdlg32.dll >> 3) see if I can determine why this app suddenly went south so that it >> doesn't happen at one of his customer sites. >> >> He's using Access 2000 SP-3 but also fails in AXP. The app fails on >> both W2K and WXP. He's pretty careful about virus scanning. I don't >> think it is a virus even though it behaves like one. Is it possible >> that it got hosed by an automatic windows update? >> >> Any clue as to what's going on here would be greatly appreciated. >> >> MTIA, >> >> Rocky Smolin >> Beach Access Software >> http://www.e-z-mrp.com >> 858-259-4334 > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > From mwp.reid at qub.ac.uk Wed Jun 22 12:45:00 2005 From: mwp.reid at qub.ac.uk (Martin Reid) Date: Wed, 22 Jun 2005 18:45:00 +0100 Subject: [AccessD] OT: Sharepoint Security (SOLVED) References: <0IIH00C93VMOBK@l-daemon> Message-ID: <002b01c57752$1d87f480$0100a8c0@Martin> SPS provides the ability to search and index many WSS sites. It sites on top of WSS and allows you to pull them all together. Its a real cool tool for example full file store search, personal sites, auidences etc etc I have sent you a presentation on the very topic I am giving on Friday LOL Martin ----- Original Message ----- From: "Jim Lawrence" To: "'Access Developers discussion and problem solving'" Sent: Wednesday, June 22, 2005 5:40 PM Subject: RE: [AccessD] OT: Sharepoint Security (SOLVED) > Hi All: > > Given that this question will seem simple and slightly ignorant... what is > a > SharePoint Portal used for and what does it improve or replace. > > Jim > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Jim DeMarco > Sent: Wednesday, June 22, 2005 9:33 AM > To: Access Developers discussion and problem solving > Subject: RE: [AccessD] OT: Sharepoint Security (SOLVED) > > The culprit seemed to be that the user(s) in question were members of a > Desktop Administrators group that was set up for us. Removing that group > from the Sharepoint server machine seems to have corrected the issue > (further testing pending). > > Thanks to all, > > Jim DeMarco > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Jim DeMarco > Sent: Wednesday, June 22, 2005 10:30 AM > To: Access Developers discussion and problem solving > Subject: RE: [AccessD] OT: Sharepoint Security > > > Well I just set up a non-IT staff member with Read access and that's all > he > could do (read). When I removed him from the site he could not access it > any longer. So it looks like it may be using Windows Security to > authenticate users. Unfortunately I need to limit even our IT staff in > various sections of the site so I've got to get a work around together. > > I'll keep you posted. > > Thanks, > > Jim DeMarco > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Jim Hewson > Sent: Wednesday, June 22, 2005 10:08 AM > To: Access Developers discussion and problem solving > Subject: RE: [AccessD] OT: Sharepoint Security > > > Jim, > I'm a novice, but will become the SharePoint "Expert" when I change > jobs, in my company, next month. I'm interested in the outcome of your > question. > A couple of random thoughts... > There are two levels of security for SharePoint. They are Central > Administration and Site Administration rights. Central take precedence > over site rights. If a person is a member of the Central Administration > group which manages the settings for the Web Server and virtual servers, > they effectively have Administrative rights to the entire portal. > In Site Administration, IIRC, there is a toggle somewhere to designate a > person to have the same rights as the parent area or site. > Let me know if you have found the solution. > Regards, > Jim H. > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Jim DeMarco > Sent: Wednesday, June 22, 2005 8:04 AM > To: AccessD (E-mail) > Subject: [AccessD] OT: Sharepoint Security > > List, > > I've done some Googling but I can't seem to find the answer to this odd > problem. I set up a Sharepoint site as a test bed (Sharepoint Services > not Server) and gave a few users access. No matter what rights I give > the users they have full admin rights to the sight. I set up custom > security groups and the site is completely ignoring them. To further > add to the mystery I removed on user (she is not a member of any > security group therefore should not have access to the site) and she can > still get in with full admin rights. Is it possible that Sharepoint is > deferring to Windows rights? These are all IT staff here and have more > liberal rights to our network than the average user. > > Does anyone have a clue? A push in the right direction would be > appreciated. > > TIA > > Jim DeMarco > Director of Application Development > Hudson Health Plan > > > > ************************************************************************ > *********** > "This electronic message is intended to be for the use only of the named > recipient, and may contain information from Hudson Health Plan (HHP) > that is confidential or privileged. If you are not the intended > recipient, you are hereby notified that any disclosure, copying, > distribution or use of the contents of this message is strictly > prohibited. If you have received this message in error or are not the > named recipient, please notify us immediately, either by contacting the > sender at the electronic mail address noted above or calling HHP at > (914) 631-1611. If you are not the intended recipient, please do not > forward this email to anyone, and delete and destroy all copies of this > message. Thank You". > ************************************************************************ > *********** > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > > > > > > > **************************************************************************** > ******* > "This electronic message is intended to be for the use only of the named > recipient, and may contain information from Hudson Health Plan (HHP) that > is > confidential or privileged. If you are not the intended recipient, you > are > hereby notified that any disclosure, copying, distribution or use of the > contents of this message is strictly prohibited. If you have received > this > message in error or are not the named recipient, please notify us > immediately, either by contacting the sender at the electronic mail > address > noted above or calling HHP at (914) 631-1611. If you are not the intended > recipient, please do not forward this email to anyone, and delete and > destroy all copies of this message. Thank You". > **************************************************************************** > ******* > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > > > > > > > **************************************************************************** > ******* > "This electronic message is intended to be for the use only of the named > recipient, and may contain information from Hudson Health Plan (HHP) that > is > confidential or privileged. If you are not the intended recipient, you > are > hereby notified that any disclosure, copying, distribution or use of the > contents of this message is strictly prohibited. If you have received > this > message in error or are not the named recipient, please notify us > immediately, either by contacting the sender at the electronic mail > address > noted above or calling HHP at (914) 631-1611. If you are not the intended > recipient, please do not forward this email to anyone, and delete and > destroy all copies of this message. Thank You". > **************************************************************************** > ******* > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > 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 Jun 22 12:48:12 2005 From: cfoust at infostatsystems.com (Charlotte Foust) Date: Wed, 22 Jun 2005 10:48:12 -0700 Subject: [AccessD] Just Checking.... Message-ID: I used to design in Vision (before Microsoft took the forward engineering out of the Pro version :-<) and in the pre-MS versions, field names had to be unique. The exception was when you created a relationships and it automatically inserted a foreign key into the child table. That wasn't unique because it wasn't considered another field, simply a pointer to another table. Anyhow, I got into the habit way back. Charlotte Foust -----Original Message----- From: John W. Colby [mailto:jwcolby at colbyconsulting.com] Sent: Wednesday, June 22, 2005 10:28 AM To: 'Access Developers discussion and problem solving' Subject: RE: [AccessD] Just Checking.... Well, as long as a field name is unique... John W. Colby www.ColbyConsulting.com Contribute your unused CPU cycles to 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, June 22, 2005 1:21 PM To: Access Developers discussion and problem solving Subject: RE: [AccessD] Just Checking.... Sorry to disappoint you, but I name my fields to indicate their table. I just object to elaborate field naming schemes complete with underscores, capitalized prefixes, etc., etc., etc. If that makes for an argument, we're all hard up for diversions. Charlotte Foust -----Original Message----- From: John W. Colby [mailto:jwcolby at colbyconsulting.com] Sent: Wednesday, June 22, 2005 9:57 AM To: 'Access Developers discussion and problem solving' Subject: RE: [AccessD] Just Checking.... GOOD, I rarely get to argue with 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, June 22, 2005 12:12 PM To: Access Developers discussion and problem solving Subject: RE: [AccessD] Just Checking.... OH NO! Please don't, John! I know you use one, but I OBJECT violently! Charlotte Foust -----Original Message----- From: John W. Colby [mailto:jwcolby at colbyconsulting.com] Sent: Wednesday, June 22, 2005 8:27 AM To: 'Access Developers discussion and problem solving' Subject: RE: [AccessD] Just Checking.... ROTFL. Yea, I am getting old. I am about to launch a field naming convention discussion so look 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 DWUTKA at marlow.com Sent: Wednesday, June 22, 2005 11:21 AM To: accessd at databaseadvisors.com Subject: RE: [AccessD] Just Checking.... Sheesh JC.....you really must be losing it with old age.... What kind of statement is that? Technically, no one could not use a naming convention. Drew -----Original Message----- From: John W. Colby [mailto:jwcolby at colbyconsulting.com] Sent: Tuesday, June 21, 2005 6:08 PM To: 'Access Developers discussion and problem solving' Subject: RE: [AccessD] Just Checking.... Precisely so let's start one. Anyone who doesn't use a 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, June 21, 2005 5:46 PM To: accessd at databaseadvisors.com Subject: RE: [AccessD] Just Checking.... Nope, just busy...and there hasn't been anything good to argue about.......we normally just feed off what gets posted. It's not our fault the other listers aren't posting juicy stuff to dig into! Drew -----Original Message----- From: dmcafee at pacbell.net [mailto:dmcafee at pacbell.net] Sent: Tuesday, June 21, 2005 2:11 PM To: Access Developers discussion and problem solving Subject: RE: [AccessD] Just Checking.... JC & Drew must have gone on vacation or called a truce ;) :P -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Jim Hewson Sent: Tuesday, June 21, 2005 11:39 AM To: Access Developers discussion and problem solving Subject: RE: [AccessD] Just Checking.... I was thinking the same thing... I haven't received anything for about 24 hours! -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Bryan Carbonnell Sent: Tuesday, June 21, 2005 12:28 PM To: Access Developers discussion and problem solving Subject: [AccessD] Just Checking.... Just checking to see if there is anyone out there or is AccessD down? It's just too quite. -- Bryan Carbonnell - carbonnb at gmail.com Life's journey is not to arrive at the grave safely in a well preserved body, but rather to skid in sideways, totally worn out, shouting "What a great ride!" -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd 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 Jun 22 12:49:58 2005 From: Jim.Hale at FleetPride.com (Hale, Jim) Date: Wed, 22 Jun 2005 12:49:58 -0500 Subject: [AccessD] Classes not recognized in mda Message-ID: <6A6AA9DF57E4F046BDA1E273BDDB6772337698@corp-es01.fleetpride.com> I've started reviewing the framework discussion. I'll raise my hand when I get stuck, thanks Jim Hale -----Original Message----- From: John W. Colby [mailto:jwcolby at colbyconsulting.com] Sent: Wednesday, June 22, 2005 12:36 PM To: 'Access Developers discussion and problem solving' Subject: RE: [AccessD] Classes not recognized in mda We all stand on the shoulders of giants. In my case the giants were Shamil and a couple of the old timers of Access whom I don't know (weren't on our list) but who did so much "back when". The next step up from a library is a framework. Let me know when you are ready for that step. John W. Colby www.ColbyConsulting.com Contribute your unused CPU cycles to a good cause: http://folding.stanford.edu/ -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Hale, Jim Sent: Wednesday, June 22, 2005 12:32 PM To: 'Access Developers discussion and problem solving' Subject: RE: [AccessD] Classes not recognized in mda Got it! I was pasting instead of inserting. It works now, Muchas Gracias. BTW I reviewed the "sacred" framework discussion emails and found your detailed description of how to move classes to libraries. For anyone who wants to search the archives it is (surprise) "Framework Discussion - Moving to a library". How did you discover this stuff? It is not discussed anywhere else that I've seen. 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 Jdemarco at hudsonhealthplan.org Wed Jun 22 12:55:45 2005 From: Jdemarco at hudsonhealthplan.org (Jim DeMarco) Date: Wed, 22 Jun 2005 13:55:45 -0400 Subject: [AccessD] OT: Sharepoint Security (SOLVED) Message-ID: <08F823FD83787D4BA0B99CA580AD3C74016C3A67@TTNEXCHCL2.hshhp.com> True (SPS is the portal version for the uninitiated). And I didn't even mention the cool hooks into Office 2003 where you can connect Access to DBs posted on a site or link Excel sheets for real time data updates. JD -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Martin Reid Sent: Wednesday, June 22, 2005 1:45 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] OT: Sharepoint Security (SOLVED) SPS provides the ability to search and index many WSS sites. It sites on top of WSS and allows you to pull them all together. Its a real cool tool for example full file store search, personal sites, auidences etc etc I have sent you a presentation on the very topic I am giving on Friday LOL Martin ----- Original Message ----- From: "Jim Lawrence" To: "'Access Developers discussion and problem solving'" Sent: Wednesday, June 22, 2005 5:40 PM Subject: RE: [AccessD] OT: Sharepoint Security (SOLVED) > Hi All: > > Given that this question will seem simple and slightly ignorant... what is > a > SharePoint Portal used for and what does it improve or replace. > > Jim > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Jim DeMarco > Sent: Wednesday, June 22, 2005 9:33 AM > To: Access Developers discussion and problem solving > Subject: RE: [AccessD] OT: Sharepoint Security (SOLVED) > > The culprit seemed to be that the user(s) in question were members of a > Desktop Administrators group that was set up for us. Removing that group > from the Sharepoint server machine seems to have corrected the issue > (further testing pending). > > Thanks to all, > > Jim DeMarco > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Jim DeMarco > Sent: Wednesday, June 22, 2005 10:30 AM > To: Access Developers discussion and problem solving > Subject: RE: [AccessD] OT: Sharepoint Security > > > Well I just set up a non-IT staff member with Read access and that's all > he > could do (read). When I removed him from the site he could not access it > any longer. So it looks like it may be using Windows Security to > authenticate users. Unfortunately I need to limit even our IT staff in > various sections of the site so I've got to get a work around together. > > I'll keep you posted. > > Thanks, > > Jim DeMarco > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Jim Hewson > Sent: Wednesday, June 22, 2005 10:08 AM > To: Access Developers discussion and problem solving > Subject: RE: [AccessD] OT: Sharepoint Security > > > Jim, > I'm a novice, but will become the SharePoint "Expert" when I change > jobs, in my company, next month. I'm interested in the outcome of your > question. > A couple of random thoughts... > There are two levels of security for SharePoint. They are Central > Administration and Site Administration rights. Central take precedence > over site rights. If a person is a member of the Central Administration > group which manages the settings for the Web Server and virtual servers, > they effectively have Administrative rights to the entire portal. > In Site Administration, IIRC, there is a toggle somewhere to designate a > person to have the same rights as the parent area or site. > Let me know if you have found the solution. > Regards, > Jim H. > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Jim DeMarco > Sent: Wednesday, June 22, 2005 8:04 AM > To: AccessD (E-mail) > Subject: [AccessD] OT: Sharepoint Security > > List, > > I've done some Googling but I can't seem to find the answer to this odd > problem. I set up a Sharepoint site as a test bed (Sharepoint Services > not Server) and gave a few users access. No matter what rights I give > the users they have full admin rights to the sight. I set up custom > security groups and the site is completely ignoring them. To further > add to the mystery I removed on user (she is not a member of any > security group therefore should not have access to the site) and she can > still get in with full admin rights. Is it possible that Sharepoint is > deferring to Windows rights? These are all IT staff here and have more > liberal rights to our network than the average user. > > Does anyone have a clue? A push in the right direction would be > appreciated. > > TIA > > Jim DeMarco > Director of Application Development > Hudson Health Plan > > > > ************************************************************************ > *********** > "This electronic message is intended to be for the use only of the named > recipient, and may contain information from Hudson Health Plan (HHP) > that is confidential or privileged. If you are not the intended > recipient, you are hereby notified that any disclosure, copying, > distribution or use of the contents of this message is strictly > prohibited. If you have received this message in error or are not the > named recipient, please notify us immediately, either by contacting the > sender at the electronic mail address noted above or calling HHP at > (914) 631-1611. If you are not the intended recipient, please do not > forward this email to anyone, and delete and destroy all copies of this > message. Thank You". > ************************************************************************ > *********** > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > > > > > > > **************************************************************************** > ******* > "This electronic message is intended to be for the use only of the named > recipient, and may contain information from Hudson Health Plan (HHP) that > is > confidential or privileged. If you are not the intended recipient, you > are > hereby notified that any disclosure, copying, distribution or use of the > contents of this message is strictly prohibited. If you have received > this > message in error or are not the named recipient, please notify us > immediately, either by contacting the sender at the electronic mail > address > noted above or calling HHP at (914) 631-1611. If you are not the intended > recipient, please do not forward this email to anyone, and delete and > destroy all copies of this message. Thank You". > **************************************************************************** > ******* > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > > > > > > > **************************************************************************** > ******* > "This electronic message is intended to be for the use only of the named > recipient, and may contain information from Hudson Health Plan (HHP) that > is > confidential or privileged. If you are not the intended recipient, you > are > hereby notified that any disclosure, copying, distribution or use of the > contents of this message is strictly prohibited. If you have received > this > message in error or are not the named recipient, please notify us > immediately, either by contacting the sender at the electronic mail > address > noted above or calling HHP at (914) 631-1611. If you are not the intended > recipient, please do not forward this email to anyone, and delete and > destroy all copies of this message. Thank You". > **************************************************************************** > ******* > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/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 JRojas at tnco-inc.com Wed Jun 22 12:57:13 2005 From: JRojas at tnco-inc.com (Joe Rojas) Date: Wed, 22 Jun 2005 13:57:13 -0400 Subject: [AccessD] OT: Sharepoint Security (SOLVED) Message-ID: <0CC84C9461AE6445AD5A602001C41C4B05A374@mercury.tnco-inc.com> Hi Martin, Could you please send me a copy of that presentation also? SPS/WSS looks very nice but I am having a hard time understanding the differences between WSS and SPS. Thanks! JR jrojas at tnco-inc.com -----Original Message----- From: Martin Reid [mailto:mwp.reid at qub.ac.uk] Sent: Wednesday, June 22, 2005 1:45 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] OT: Sharepoint Security (SOLVED) SPS provides the ability to search and index many WSS sites. It sites on top of WSS and allows you to pull them all together. Its a real cool tool for example full file store search, personal sites, auidences etc etc I have sent you a presentation on the very topic I am giving on Friday LOL Martin ----- Original Message ----- From: "Jim Lawrence" To: "'Access Developers discussion and problem solving'" Sent: Wednesday, June 22, 2005 5:40 PM Subject: RE: [AccessD] OT: Sharepoint Security (SOLVED) > Hi All: > > Given that this question will seem simple and slightly ignorant... what is > a > SharePoint Portal used for and what does it improve or replace. > > Jim > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Jim DeMarco > Sent: Wednesday, June 22, 2005 9:33 AM > To: Access Developers discussion and problem solving > Subject: RE: [AccessD] OT: Sharepoint Security (SOLVED) > > The culprit seemed to be that the user(s) in question were members of a > Desktop Administrators group that was set up for us. Removing that group > from the Sharepoint server machine seems to have corrected the issue > (further testing pending). > > Thanks to all, > > Jim DeMarco > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Jim DeMarco > Sent: Wednesday, June 22, 2005 10:30 AM > To: Access Developers discussion and problem solving > Subject: RE: [AccessD] OT: Sharepoint Security > > > Well I just set up a non-IT staff member with Read access and that's all > he > could do (read). When I removed him from the site he could not access it > any longer. So it looks like it may be using Windows Security to > authenticate users. Unfortunately I need to limit even our IT staff in > various sections of the site so I've got to get a work around together. > > I'll keep you posted. > > Thanks, > > Jim DeMarco > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Jim Hewson > Sent: Wednesday, June 22, 2005 10:08 AM > To: Access Developers discussion and problem solving > Subject: RE: [AccessD] OT: Sharepoint Security > > > Jim, > I'm a novice, but will become the SharePoint "Expert" when I change > jobs, in my company, next month. I'm interested in the outcome of your > question. > A couple of random thoughts... > There are two levels of security for SharePoint. They are Central > Administration and Site Administration rights. Central take precedence > over site rights. If a person is a member of the Central Administration > group which manages the settings for the Web Server and virtual servers, > they effectively have Administrative rights to the entire portal. > In Site Administration, IIRC, there is a toggle somewhere to designate a > person to have the same rights as the parent area or site. > Let me know if you have found the solution. > Regards, > Jim H. > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Jim DeMarco > Sent: Wednesday, June 22, 2005 8:04 AM > To: AccessD (E-mail) > Subject: [AccessD] OT: Sharepoint Security > > List, > > I've done some Googling but I can't seem to find the answer to this odd > problem. I set up a Sharepoint site as a test bed (Sharepoint Services > not Server) and gave a few users access. No matter what rights I give > the users they have full admin rights to the sight. I set up custom > security groups and the site is completely ignoring them. To further > add to the mystery I removed on user (she is not a member of any > security group therefore should not have access to the site) and she can > still get in with full admin rights. Is it possible that Sharepoint is > deferring to Windows rights? These are all IT staff here and have more > liberal rights to our network than the average user. > > Does anyone have a clue? A push in the right direction would be > appreciated. > > TIA > > Jim DeMarco > Director of Application Development > Hudson Health Plan > > > > ************************************************************************ > *********** > "This electronic message is intended to be for the use only of the named > recipient, and may contain information from Hudson Health Plan (HHP) > that is confidential or privileged. If you are not the intended > recipient, you are hereby notified that any disclosure, copying, > distribution or use of the contents of this message is strictly > prohibited. If you have received this message in error or are not the > named recipient, please notify us immediately, either by contacting the > sender at the electronic mail address noted above or calling HHP at > (914) 631-1611. If you are not the intended recipient, please do not > forward this email to anyone, and delete and destroy all copies of this > message. Thank You". > ************************************************************************ > *********** > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > > > > > > > **************************************************************************** > ******* > "This electronic message is intended to be for the use only of the named > recipient, and may contain information from Hudson Health Plan (HHP) that > is > confidential or privileged. If you are not the intended recipient, you > are > hereby notified that any disclosure, copying, distribution or use of the > contents of this message is strictly prohibited. If you have received > this > message in error or are not the named recipient, please notify us > immediately, either by contacting the sender at the electronic mail > address > noted above or calling HHP at (914) 631-1611. If you are not the intended > recipient, please do not forward this email to anyone, and delete and > destroy all copies of this message. Thank You". > **************************************************************************** > ******* > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > > > > > > > **************************************************************************** > ******* > "This electronic message is intended to be for the use only of the named > recipient, and may contain information from Hudson Health Plan (HHP) that > is > confidential or privileged. If you are not the intended recipient, you > are > hereby notified that any disclosure, copying, distribution or use of the > contents of this message is strictly prohibited. If you have received > this > message in error or are not the named recipient, please notify us > immediately, either by contacting the sender at the electronic mail > address > noted above or calling HHP at (914) 631-1611. If you are not the intended > recipient, please do not forward this email to anyone, and delete and > destroy all copies of this message. Thank You". > **************************************************************************** > ******* > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/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 jmhecht at earthlink.net Wed Jun 22 13:00:39 2005 From: jmhecht at earthlink.net (Joe Hecht) Date: Wed, 22 Jun 2005 11:00:39 -0700 Subject: [AccessD] Good Code Bad Code Question Message-ID: <000001c57754$4d4e6a30$6401a8c0@laptop1> The following line of code works correctly Me.txtCost.Value = Me.cboPartNum.Column(2) When I try to compile the code I get an error message that .cboPartNum Method or Data member not found. Any Idea what is up? Option Explicit is set Thanks Joe Hecht Los Angeles CA From mwp.reid at qub.ac.uk Wed Jun 22 13:01:18 2005 From: mwp.reid at qub.ac.uk (Martin Reid) Date: Wed, 22 Jun 2005 19:01:18 +0100 Subject: [AccessD] OT: Sharepoint Security (SOLVED) References: <08F823FD83787D4BA0B99CA580AD3C74016C3A67@TTNEXCHCL2.hshhp.com> Message-ID: <011401c57754$64dd7380$0100a8c0@Martin> Hi Jim I did a paper for Microsoft on this last year. http://msdn.microsoft.com/library/default.asp?url=/library/en-us/odc_fp2003_ta/html/odc_FP_whatsnew2003.asp http://msdn.microsoft.com/library/default.asp?url=/library/en-us/odc_fp2003_ta/html/odc_FP_whatsnew2003.asp May be interesting Martin ----- Original Message ----- From: "Jim DeMarco" To: "Access Developers discussion and problem solving" Sent: Wednesday, June 22, 2005 6:55 PM Subject: RE: [AccessD] OT: Sharepoint Security (SOLVED) > True (SPS is the portal version for the uninitiated). And I didn't even > mention the cool hooks into Office 2003 where you can connect Access to > DBs posted on a site or link Excel sheets for real time data updates. > > JD > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Martin Reid > Sent: Wednesday, June 22, 2005 1:45 PM > To: Access Developers discussion and problem solving > Subject: Re: [AccessD] OT: Sharepoint Security (SOLVED) > > > SPS provides the ability to search and index many WSS sites. It sites on > top > of WSS and allows you to pull them all together. Its a real cool tool for > example full file store search, personal sites, auidences etc etc > > I have sent you a presentation on the very topic I am giving on Friday LOL > > > Martin > > > ----- Original Message ----- > From: "Jim Lawrence" > To: "'Access Developers discussion and problem solving'" > > Sent: Wednesday, June 22, 2005 5:40 PM > Subject: RE: [AccessD] OT: Sharepoint Security (SOLVED) > > >> Hi All: >> >> Given that this question will seem simple and slightly ignorant... what >> is >> a >> SharePoint Portal used for and what does it improve or replace. >> >> Jim >> >> -----Original Message----- >> From: accessd-bounces at databaseadvisors.com >> [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Jim DeMarco >> Sent: Wednesday, June 22, 2005 9:33 AM >> To: Access Developers discussion and problem solving >> Subject: RE: [AccessD] OT: Sharepoint Security (SOLVED) >> >> The culprit seemed to be that the user(s) in question were members of a >> Desktop Administrators group that was set up for us. Removing that group >> from the Sharepoint server machine seems to have corrected the issue >> (further testing pending). >> >> Thanks to all, >> >> Jim DeMarco >> >> -----Original Message----- >> From: accessd-bounces at databaseadvisors.com >> [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Jim DeMarco >> Sent: Wednesday, June 22, 2005 10:30 AM >> To: Access Developers discussion and problem solving >> Subject: RE: [AccessD] OT: Sharepoint Security >> >> >> Well I just set up a non-IT staff member with Read access and that's all >> > he >> could do (read). When I removed him from the site he could not access it >> any longer. So it looks like it may be using Windows Security to >> authenticate users. Unfortunately I need to limit even our IT staff in >> various sections of the site so I've got to get a work around together. >> >> I'll keep you posted. >> >> Thanks, >> >> Jim DeMarco >> >> -----Original Message----- >> From: accessd-bounces at databaseadvisors.com >> [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Jim Hewson >> Sent: Wednesday, June 22, 2005 10:08 AM >> To: Access Developers discussion and problem solving >> Subject: RE: [AccessD] OT: Sharepoint Security >> >> >> Jim, >> I'm a novice, but will become the SharePoint "Expert" when I change >> jobs, in my company, next month. I'm interested in the outcome of your >> question. >> A couple of random thoughts... >> There are two levels of security for SharePoint. They are Central >> Administration and Site Administration rights. Central take precedence >> over site rights. If a person is a member of the Central Administration >> group which manages the settings for the Web Server and virtual servers, >> they effectively have Administrative rights to the entire portal. >> In Site Administration, IIRC, there is a toggle somewhere to designate a >> person to have the same rights as the parent area or site. >> Let me know if you have found the solution. >> Regards, >> Jim H. >> >> -----Original Message----- >> From: accessd-bounces at databaseadvisors.com >> [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Jim DeMarco >> Sent: Wednesday, June 22, 2005 8:04 AM >> To: AccessD (E-mail) >> Subject: [AccessD] OT: Sharepoint Security >> >> List, >> >> I've done some Googling but I can't seem to find the answer to this odd >> problem. I set up a Sharepoint site as a test bed (Sharepoint Services >> not Server) and gave a few users access. No matter what rights I give >> the users they have full admin rights to the sight. I set up custom >> security groups and the site is completely ignoring them. To further >> add to the mystery I removed on user (she is not a member of any >> security group therefore should not have access to the site) and she can >> still get in with full admin rights. Is it possible that Sharepoint is >> deferring to Windows rights? These are all IT staff here and have more >> liberal rights to our network than the average user. >> >> Does anyone have a clue? A push in the right direction would be >> appreciated. >> >> TIA >> >> Jim DeMarco >> Director of Application Development >> Hudson Health Plan >> >> >> >> ************************************************************************ >> *********** >> "This electronic message is intended to be for the use only of the named >> recipient, and may contain information from Hudson Health Plan (HHP) >> that is confidential or privileged. If you are not the intended >> recipient, you are hereby notified that any disclosure, copying, >> distribution or use of the contents of this message is strictly >> prohibited. If you have received this message in error or are not the >> named recipient, please notify us immediately, either by contacting the >> sender at the electronic mail address noted above or calling HHP at >> (914) 631-1611. If you are not the intended recipient, please do not >> forward this email to anyone, and delete and destroy all copies of this >> message. Thank You". >> ************************************************************************ >> *********** >> >> -- >> AccessD mailing list >> AccessD at databaseadvisors.com >> http://databaseadvisors.com/mailman/listinfo/accessd >> Website: http://www.databaseadvisors.com >> -- >> AccessD mailing list >> AccessD at databaseadvisors.com >> http://databaseadvisors.com/mailman/listinfo/accessd >> Website: http://www.databaseadvisors.com >> >> >> >> >> >> >> **************************************************************************** >> ******* >> "This electronic message is intended to be for the use only of the named >> recipient, and may contain information from Hudson Health Plan (HHP) that >> > is >> confidential or privileged. If you are not the intended recipient, you > >> are >> hereby notified that any disclosure, copying, distribution or use of the >> contents of this message is strictly prohibited. If you have received >> this >> message in error or are not the named recipient, please notify us >> immediately, either by contacting the sender at the electronic mail >> address >> noted above or calling HHP at (914) 631-1611. If you are not the intended >> recipient, please do not forward this email to anyone, and delete and >> destroy all copies of this message. Thank You". >> **************************************************************************** >> ******* >> >> -- >> AccessD mailing list >> AccessD at databaseadvisors.com >> http://databaseadvisors.com/mailman/listinfo/accessd >> Website: http://www.databaseadvisors.com >> >> >> >> >> >> >> **************************************************************************** >> ******* >> "This electronic message is intended to be for the use only of the named >> recipient, and may contain information from Hudson Health Plan (HHP) that >> > is >> confidential or privileged. If you are not the intended recipient, you > >> are >> hereby notified that any disclosure, copying, distribution or use of the >> contents of this message is strictly prohibited. If you have received >> this >> message in error or are not the named recipient, please notify us >> immediately, either by contacting the sender at the electronic mail >> address >> noted above or calling HHP at (914) 631-1611. If you are not the intended >> recipient, please do not forward this email to anyone, and delete and >> destroy all copies of this message. Thank You". >> **************************************************************************** >> ******* >> >> -- >> AccessD mailing list >> AccessD at databaseadvisors.com >> http://databaseadvisors.com/mailman/listinfo/accessd >> Website: http://www.databaseadvisors.com >> >> -- >> AccessD mailing list >> AccessD at databaseadvisors.com >> http://databaseadvisors.com/mailman/listinfo/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 cfoust at infostatsystems.com Wed Jun 22 13:03:35 2005 From: cfoust at infostatsystems.com (Charlotte Foust) Date: Wed, 22 Jun 2005 11:03:35 -0700 Subject: [AccessD] Just Checking.... Message-ID: Oops! Make that Visio (no N on the end). Blame the muscle relaxants for back spasms, please. Charlotte Foust -----Original Message----- From: Charlotte Foust Sent: Wednesday, June 22, 2005 10:48 AM To: Access Developers discussion and problem solving Subject: RE: [AccessD] Just Checking.... I used to design in Vision (before Microsoft took the forward engineering out of the Pro version :-<) and in the pre-MS versions, field names had to be unique. The exception was when you created a relationships and it automatically inserted a foreign key into the child table. That wasn't unique because it wasn't considered another field, simply a pointer to another table. Anyhow, I got into the habit way back. Charlotte Foust -----Original Message----- From: John W. Colby [mailto:jwcolby at colbyconsulting.com] Sent: Wednesday, June 22, 2005 10:28 AM To: 'Access Developers discussion and problem solving' Subject: RE: [AccessD] Just Checking.... Well, as long as a field name is unique... John W. Colby www.ColbyConsulting.com Contribute your unused CPU cycles to 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, June 22, 2005 1:21 PM To: Access Developers discussion and problem solving Subject: RE: [AccessD] Just Checking.... Sorry to disappoint you, but I name my fields to indicate their table. I just object to elaborate field naming schemes complete with underscores, capitalized prefixes, etc., etc., etc. If that makes for an argument, we're all hard up for diversions. Charlotte Foust -----Original Message----- From: John W. Colby [mailto:jwcolby at colbyconsulting.com] Sent: Wednesday, June 22, 2005 9:57 AM To: 'Access Developers discussion and problem solving' Subject: RE: [AccessD] Just Checking.... GOOD, I rarely get to argue with 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, June 22, 2005 12:12 PM To: Access Developers discussion and problem solving Subject: RE: [AccessD] Just Checking.... OH NO! Please don't, John! I know you use one, but I OBJECT violently! Charlotte Foust -----Original Message----- From: John W. Colby [mailto:jwcolby at colbyconsulting.com] Sent: Wednesday, June 22, 2005 8:27 AM To: 'Access Developers discussion and problem solving' Subject: RE: [AccessD] Just Checking.... ROTFL. Yea, I am getting old. I am about to launch a field naming convention discussion so look 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 DWUTKA at marlow.com Sent: Wednesday, June 22, 2005 11:21 AM To: accessd at databaseadvisors.com Subject: RE: [AccessD] Just Checking.... Sheesh JC.....you really must be losing it with old age.... What kind of statement is that? Technically, no one could not use a naming convention. Drew -----Original Message----- From: John W. Colby [mailto:jwcolby at colbyconsulting.com] Sent: Tuesday, June 21, 2005 6:08 PM To: 'Access Developers discussion and problem solving' Subject: RE: [AccessD] Just Checking.... Precisely so let's start one. Anyone who doesn't use a 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, June 21, 2005 5:46 PM To: accessd at databaseadvisors.com Subject: RE: [AccessD] Just Checking.... Nope, just busy...and there hasn't been anything good to argue about.......we normally just feed off what gets posted. It's not our fault the other listers aren't posting juicy stuff to dig into! Drew -----Original Message----- From: dmcafee at pacbell.net [mailto:dmcafee at pacbell.net] Sent: Tuesday, June 21, 2005 2:11 PM To: Access Developers discussion and problem solving Subject: RE: [AccessD] Just Checking.... JC & Drew must have gone on vacation or called a truce ;) :P -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Jim Hewson Sent: Tuesday, June 21, 2005 11:39 AM To: Access Developers discussion and problem solving Subject: RE: [AccessD] Just Checking.... I was thinking the same thing... I haven't received anything for about 24 hours! -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Bryan Carbonnell Sent: Tuesday, June 21, 2005 12:28 PM To: Access Developers discussion and problem solving Subject: [AccessD] Just Checking.... Just checking to see if there is anyone out there or is AccessD down? It's just too quite. -- Bryan Carbonnell - carbonnb at gmail.com Life's journey is not to arrive at the grave safely in a well preserved body, but rather to skid in sideways, totally worn out, shouting "What a great ride!" -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd 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 Jun 22 13:04:29 2005 From: jmhecht at earthlink.net (Joe Hecht) Date: Wed, 22 Jun 2005 11:04:29 -0700 Subject: [AccessD] Field Naming ( Just once I want to be ahead of JC ) In-Reply-To: <008501c5774b$551bb960$6c7aa8c0@ColbyM6805> Message-ID: <001101c57754$d64a29f0$6401a8c0@laptop1> My day is made. My work is blessed by John. 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: Wednesday, June 22, 2005 9:56 AM To: access at joe2.endjunk.com; 'Access Developers discussion and problem solving' Subject: RE: [AccessD] Field Naming ( Just once I want to be ahead of JC ) Good job Joe, my point exactly. From Jdemarco at hudsonhealthplan.org Wed Jun 22 13:05:56 2005 From: Jdemarco at hudsonhealthplan.org (Jim DeMarco) Date: Wed, 22 Jun 2005 14:05:56 -0400 Subject: [AccessD] OT: Sharepoint Security (SOLVED) Message-ID: <08F823FD83787D4BA0B99CA580AD3C74016C3A68@TTNEXCHCL2.hshhp.com> Very nice. Thanks. Jim -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Martin Reid Sent: Wednesday, June 22, 2005 2:01 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] OT: Sharepoint Security (SOLVED) Hi Jim I did a paper for Microsoft on this last year. http://msdn.microsoft.com/library/default.asp?url=/library/en-us/odc_fp2003_ta/html/odc_FP_whatsnew2003.asp http://msdn.microsoft.com/library/default.asp?url=/library/en-us/odc_fp2003_ta/html/odc_FP_whatsnew2003.asp May be interesting Martin ----- Original Message ----- From: "Jim DeMarco" To: "Access Developers discussion and problem solving" Sent: Wednesday, June 22, 2005 6:55 PM Subject: RE: [AccessD] OT: Sharepoint Security (SOLVED) > True (SPS is the portal version for the uninitiated). And I didn't even > mention the cool hooks into Office 2003 where you can connect Access to > DBs posted on a site or link Excel sheets for real time data updates. > > JD > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Martin Reid > Sent: Wednesday, June 22, 2005 1:45 PM > To: Access Developers discussion and problem solving > Subject: Re: [AccessD] OT: Sharepoint Security (SOLVED) > > > SPS provides the ability to search and index many WSS sites. It sites on > top > of WSS and allows you to pull them all together. Its a real cool tool for > example full file store search, personal sites, auidences etc etc > > I have sent you a presentation on the very topic I am giving on Friday LOL > > > Martin > > > ----- Original Message ----- > From: "Jim Lawrence" > To: "'Access Developers discussion and problem solving'" > > Sent: Wednesday, June 22, 2005 5:40 PM > Subject: RE: [AccessD] OT: Sharepoint Security (SOLVED) > > >> Hi All: >> >> Given that this question will seem simple and slightly ignorant... what >> is >> a >> SharePoint Portal used for and what does it improve or replace. >> >> Jim >> >> -----Original Message----- >> From: accessd-bounces at databaseadvisors.com >> [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Jim DeMarco >> Sent: Wednesday, June 22, 2005 9:33 AM >> To: Access Developers discussion and problem solving >> Subject: RE: [AccessD] OT: Sharepoint Security (SOLVED) >> >> The culprit seemed to be that the user(s) in question were members of a >> Desktop Administrators group that was set up for us. Removing that group >> from the Sharepoint server machine seems to have corrected the issue >> (further testing pending). >> >> Thanks to all, >> >> Jim DeMarco >> >> -----Original Message----- >> From: accessd-bounces at databaseadvisors.com >> [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Jim DeMarco >> Sent: Wednesday, June 22, 2005 10:30 AM >> To: Access Developers discussion and problem solving >> Subject: RE: [AccessD] OT: Sharepoint Security >> >> >> Well I just set up a non-IT staff member with Read access and that's all >> > he >> could do (read). When I removed him from the site he could not access it >> any longer. So it looks like it may be using Windows Security to >> authenticate users. Unfortunately I need to limit even our IT staff in >> various sections of the site so I've got to get a work around together. >> >> I'll keep you posted. >> >> Thanks, >> >> Jim DeMarco >> >> -----Original Message----- >> From: accessd-bounces at databaseadvisors.com >> [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Jim Hewson >> Sent: Wednesday, June 22, 2005 10:08 AM >> To: Access Developers discussion and problem solving >> Subject: RE: [AccessD] OT: Sharepoint Security >> >> >> Jim, >> I'm a novice, but will become the SharePoint "Expert" when I change >> jobs, in my company, next month. I'm interested in the outcome of your >> question. >> A couple of random thoughts... >> There are two levels of security for SharePoint. They are Central >> Administration and Site Administration rights. Central take precedence >> over site rights. If a person is a member of the Central Administration >> group which manages the settings for the Web Server and virtual servers, >> they effectively have Administrative rights to the entire portal. >> In Site Administration, IIRC, there is a toggle somewhere to designate a >> person to have the same rights as the parent area or site. >> Let me know if you have found the solution. >> Regards, >> Jim H. >> >> -----Original Message----- >> From: accessd-bounces at databaseadvisors.com >> [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Jim DeMarco >> Sent: Wednesday, June 22, 2005 8:04 AM >> To: AccessD (E-mail) >> Subject: [AccessD] OT: Sharepoint Security >> >> List, >> >> I've done some Googling but I can't seem to find the answer to this odd >> problem. I set up a Sharepoint site as a test bed (Sharepoint Services >> not Server) and gave a few users access. No matter what rights I give >> the users they have full admin rights to the sight. I set up custom >> security groups and the site is completely ignoring them. To further >> add to the mystery I removed on user (she is not a member of any >> security group therefore should not have access to the site) and she can >> still get in with full admin rights. Is it possible that Sharepoint is >> deferring to Windows rights? These are all IT staff here and have more >> liberal rights to our network than the average user. >> >> Does anyone have a clue? A push in the right direction would be >> appreciated. >> >> TIA >> >> Jim DeMarco >> Director of Application Development >> Hudson Health Plan >> >> >> >> ************************************************************************ >> *********** >> "This electronic message is intended to be for the use only of the named >> recipient, and may contain information from Hudson Health Plan (HHP) >> that is confidential or privileged. If you are not the intended >> recipient, you are hereby notified that any disclosure, copying, >> distribution or use of the contents of this message is strictly >> prohibited. If you have received this message in error or are not the >> named recipient, please notify us immediately, either by contacting the >> sender at the electronic mail address noted above or calling HHP at >> (914) 631-1611. If you are not the intended recipient, please do not >> forward this email to anyone, and delete and destroy all copies of this >> message. Thank You". >> ************************************************************************ >> *********** >> >> -- >> AccessD mailing list >> AccessD at databaseadvisors.com >> http://databaseadvisors.com/mailman/listinfo/accessd >> Website: http://www.databaseadvisors.com >> -- >> AccessD mailing list >> AccessD at databaseadvisors.com >> http://databaseadvisors.com/mailman/listinfo/accessd >> Website: http://www.databaseadvisors.com >> >> >> >> >> >> >> **************************************************************************** >> ******* >> "This electronic message is intended to be for the use only of the named >> recipient, and may contain information from Hudson Health Plan (HHP) that >> > is >> confidential or privileged. If you are not the intended recipient, you > >> are >> hereby notified that any disclosure, copying, distribution or use of the >> contents of this message is strictly prohibited. If you have received >> this >> message in error or are not the named recipient, please notify us >> immediately, either by contacting the sender at the electronic mail >> address >> noted above or calling HHP at (914) 631-1611. If you are not the intended >> recipient, please do not forward this email to anyone, and delete and >> destroy all copies of this message. Thank You". >> **************************************************************************** >> ******* >> >> -- >> AccessD mailing list >> AccessD at databaseadvisors.com >> http://databaseadvisors.com/mailman/listinfo/accessd >> Website: http://www.databaseadvisors.com >> >> >> >> >> >> >> **************************************************************************** >> ******* >> "This electronic message is intended to be for the use only of the named >> recipient, and may contain information from Hudson Health Plan (HHP) that >> > is >> confidential or privileged. If you are not the intended recipient, you > >> are >> hereby notified that any disclosure, copying, distribution or use of the >> contents of this message is strictly prohibited. If you have received >> this >> message in error or are not the named recipient, please notify us >> immediately, either by contacting the sender at the electronic mail >> address >> noted above or calling HHP at (914) 631-1611. If you are not the intended >> recipient, please do not forward this email to anyone, and delete and >> destroy all copies of this message. Thank You". >> **************************************************************************** >> ******* >> >> -- >> AccessD mailing list >> AccessD at databaseadvisors.com >> http://databaseadvisors.com/mailman/listinfo/accessd >> Website: http://www.databaseadvisors.com >> >> -- >> AccessD mailing list >> AccessD at databaseadvisors.com >> http://databaseadvisors.com/mailman/listinfo/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 jmhecht at earthlink.net Wed Jun 22 13:10:49 2005 From: jmhecht at earthlink.net (Joe Hecht) Date: Wed, 22 Jun 2005 11:10:49 -0700 Subject: [AccessD] Field Naming ( Just once I want to be ahead of JC ) In-Reply-To: <123701F54509D9119A4F00D0B747349016D751@main2.marlow.com> Message-ID: <001201c57755$b8d6d660$6401a8c0@laptop1> My gosh, I had an idea that drew liked too. Joe Hecht Los Angeles CA -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of DWUTKA at marlow.com Subject: RE: [AccessD] Field Naming ( Just once I want to be ahead of JC ) Not a bad idea. Drew -----Original Message----- From: Joe Hecht [mailto:jmhecht at earthlink.net] Sent: Wednesday, June 22, 2005 11:37 AM To: 'Access Developers discussion and problem solving' Subject: [AccessD] Field Naming ( Just once I want to be ahead of JC ) When naming fields in table design view I try to prefix the field with something to identify the source table i.e.: Custfname custLname repfname replname 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 From newsgrps at dalyn.co.nz Wed Jun 22 13:15:04 2005 From: newsgrps at dalyn.co.nz (David Emerson) Date: Thu, 23 Jun 2005 06:15:04 +1200 Subject: [AccessD] Linking Graph to Report In-Reply-To: <6.2.1.2.0.20050622131317.031142c0@mail.dalyn.co.nz> References: <6.2.1.2.0.20050622131317.031142c0@mail.dalyn.co.nz> Message-ID: <6.2.1.2.0.20050623061343.03205eb0@mail.dalyn.co.nz> Following up on yesterday's question, I know that there was a bug with A97 and linked charts but I am not aware of it still being an issue with AXP. David At 22/06/2005, you wrote: >Access XP adp, SQL2000. > >I have a report with a graph on it. The graph is to show the number of >days it took to process client information. Each month should have its >own graph on a separate page. The reports source is a stored procedure >which provides the months as an integer in the form yyyymm. > >SELECT ttmpPlanTrackGraph.ConsultPlanFranchise, ttmpPlanTrackGraph.YrMth >FROM ttmpPlanTrackGraph >GROUP BY ttmpPlanTrackGraph.ConsultPlanFranchise, ttmpPlanTrackGraph.YrMth > >The graphs source is also a stored procedure which includes a field with >the month in the same format. > >SELECT ttmpPlanTrackGraph.ClientName, ttmpPlanTrackGraph.FranDays AS [Work >Days in Fran], ttmpPlanTrackGraph.BurDays AS [Work Days in Bureau], >ttmpPlanTrackGraph.ConsultPlanFranchise, ttmpPlanTrackGraph.YrMth >FROM ttmpPlanTrackGraph > >I have set the Link Child Field and Link Master fields both to YrMth. The >report shows a different page for each month, however each graph shows all >records, not just the one for the pages month. > >How do I get only the relevant month's data showing on each page? > >Regards > >David Emerson >Dalyn Software Ltd >25 Cunliffe St, Churton Park >Wellington, New Zealand >Ph/Fax (04) 478-7456 >Mobile 027-280-9348 -- From jmhecht at earthlink.net Wed Jun 22 13:15:20 2005 From: jmhecht at earthlink.net (Joe Hecht) Date: Wed, 22 Jun 2005 11:15:20 -0700 Subject: [AccessD] Field Names -> Setting control names Message-ID: <001301c57756$5a781880$6401a8c0@laptop1> As long as we are here does anyone have a wizard or code or better a John Colby that can 1. Look at the field name 2. Look at the property sheet in the table 3. Create a form that can take a good guess to what the control is a. Look at the field name and Name the controls when the form is built CboCustName Txtcity And so on. Joe Hecht Los Angeles CA From cfoust at infostatsystems.com Wed Jun 22 13:15:39 2005 From: cfoust at infostatsystems.com (Charlotte Foust) Date: Wed, 22 Jun 2005 11:15:39 -0700 Subject: [AccessD] Good Code Bad Code Question Message-ID: You lost me, Joe. You say it works correctly but you get a compile error?? If you get a compile error, it shouldn't work. Have you tried decompile and recompile? I have to say that in later versions of Access, I've had better luck using the afterupdate of a combo to put a non-value column value into another control. Have you tried that? Charlotte Foust -----Original Message----- From: Joe Hecht [mailto:jmhecht at earthlink.net] Sent: Wednesday, June 22, 2005 11:01 AM To: 'Access Developers discussion and problem solving' Subject: [AccessD] Good Code Bad Code Question The following line of code works correctly Me.txtCost.Value = Me.cboPartNum.Column(2) When I try to compile the code I get an error message that .cboPartNum Method or Data member not found. Any Idea what is up? Option Explicit is set Thanks Joe Hecht Los Angeles CA -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From DWUTKA at marlow.com Wed Jun 22 13:13:53 2005 From: DWUTKA at marlow.com (DWUTKA at marlow.com) Date: Wed, 22 Jun 2005 13:13:53 -0500 Subject: [AccessD] Field Naming ( Just once I want to be ahead of JC ) Message-ID: <123701F54509D9119A4F00D0B747349016D755@main2.marlow.com> Go buy a lottery ticket now.... Drew -----Original Message----- From: Joe Hecht [mailto:jmhecht at earthlink.net] Sent: Wednesday, June 22, 2005 1:11 PM To: 'Access Developers discussion and problem solving' Subject: RE: [AccessD] Field Naming ( Just once I want to be ahead of JC ) My gosh, I had an idea that drew liked too. Joe Hecht Los Angeles CA -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of DWUTKA at marlow.com Subject: RE: [AccessD] Field Naming ( Just once I want to be ahead of JC ) Not a bad idea. Drew -----Original Message----- From: Joe Hecht [mailto:jmhecht at earthlink.net] Sent: Wednesday, June 22, 2005 11:37 AM To: 'Access Developers discussion and problem solving' Subject: [AccessD] Field Naming ( Just once I want to be ahead of JC ) When naming fields in table design view I try to prefix the field with something to identify the source table i.e.: Custfname custLname repfname replname 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 cfoust at infostatsystems.com Wed Jun 22 13:17:55 2005 From: cfoust at infostatsystems.com (Charlotte Foust) Date: Wed, 22 Jun 2005 11:17:55 -0700 Subject: [AccessD] Field Naming ( Just once I want to be ahead of JC ) Message-ID: Back in your moment of glory, Joe. And has anyone checked the temperature in Hell lately? Something that both John and Drew think is a good idea suggests some kind of unexpected occurrence. LOL Charlotte Foust -----Original Message----- From: Joe Hecht [mailto:jmhecht at earthlink.net] Sent: Wednesday, June 22, 2005 11:11 AM To: 'Access Developers discussion and problem solving' Subject: RE: [AccessD] Field Naming ( Just once I want to be ahead of JC ) My gosh, I had an idea that drew liked too. Joe Hecht Los Angeles CA -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of DWUTKA at marlow.com Subject: RE: [AccessD] Field Naming ( Just once I want to be ahead of JC ) Not a bad idea. Drew -----Original Message----- From: Joe Hecht [mailto:jmhecht at earthlink.net] Sent: Wednesday, June 22, 2005 11:37 AM To: 'Access Developers discussion and problem solving' Subject: [AccessD] Field Naming ( Just once I want to be ahead of JC ) When naming fields in table design view I try to prefix the field with something to identify the source table i.e.: Custfname custLname repfname replname 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 martyconnelly at shaw.ca Wed Jun 22 13:20:56 2005 From: martyconnelly at shaw.ca (MartyConnelly) Date: Wed, 22 Jun 2005 11:20:56 -0700 Subject: [AccessD] Question about Animated Graphics References: <200506180246.j5I2kcR21562@databaseadvisors.com> Message-ID: <42B9AC08.2020505@shaw.ca> Well animated graphics seem to be possible from vba Just run this snippet in debug window Please don't hit me ;) With Assistant .On = True .Visible = True .Move xLeft:=400, yTop:=300 .MoveWhenInTheWay = True .TipOfDay = True 'need reference to MS Office 11.0 Library ' .Animation = msoAnimationGreeting .Animation = 2 End With Arthur Fuller wrote: >Bummer.... O well. > >-----Original Message----- >From: accessd-bounces at databaseadvisors.com >[mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Bobby Heid >Sent: June 17, 2005 8:48 AM >To: 'Access Developers discussion and problem solving' >Subject: RE: [AccessD] Question about Animated Graphics > >Those are animated Gif files which are not supported in Access (well at >least version 2000 and less). I think that there are some 3rd-party >controls that will let you host an animated Gif. > >Bobby > >-----Original Message----- >From: accessd-bounces at databaseadvisors.com >[mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Arthur Fuller >Sent: Thursday, June 16, 2005 10:31 PM >To: 'Access Developers discussion and problem solving' >Subject: [AccessD] Question about Animated Graphics > > >I found some cool graphics appropriate to an app I'm building now, but so >far I can't make them work correctly. For a peek at the graphics, see >http://www.animation-central.com/gears.htm. The graphics there move. When I >download one graphic and drop it on an Access form, it's static not >animated. I want the animation! How do I achieve this? > >TIA, >Arthur > > > -- Marty Connelly Victoria, B.C. Canada From kevinb at bepc.com Wed Jun 22 13:24:30 2005 From: kevinb at bepc.com (Kevin Bachmeier) Date: Wed, 22 Jun 2005 13:24:30 -0500 Subject: [AccessD] Good Code Bad Code Question Message-ID: <5C210A2F04B76B4AB2A18E6FEB81713401CDA669@HDQ06.bepc.net> Try using the '!' instead of the '.' for the control reference: Me!txtCost.Value = Me!cboPartNum.Column(2) Versus: Me.txtCost.Value = Me.cboPartNum.Column(2) -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Joe Hecht Sent: Wednesday, June 22, 2005 1:01 PM To: 'Access Developers discussion and problem solving' Subject: [AccessD] Good Code Bad Code Question The following line of code works correctly Me.txtCost.Value = Me.cboPartNum.Column(2) When I try to compile the code I get an error message that .cboPartNum Method or Data member not found. Any Idea what is up? Option Explicit is set Thanks Joe Hecht Los Angeles CA -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From artful at rogers.com Wed Jun 22 13:29:07 2005 From: artful at rogers.com (Arthur Fuller) Date: Wed, 22 Jun 2005 14:29:07 -0400 Subject: [AccessD] Question about Animated Graphics In-Reply-To: <42B9AC08.2020505@shaw.ca> Message-ID: <200506221829.j5MIT9R17944@databaseadvisors.com> Well, that clearly works, but I think I'll give you a smack upside the temple anyway LOL. (I wonder if there is a more universally hated developer in the world than the author(s) of these various assistants.) So you have demonstrated that we can invoked the Assistant from Access. Upsizing the question, is this sort of approach possible with other animations? Case in point -- the gears inside a torn-open skin, that revolve in synch. Can I use your code to apply to such an animated JPG, and if so, how? TIA, Arthur -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of MartyConnelly Sent: June 22, 2005 2:21 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Question about Animated Graphics Well animated graphics seem to be possible from vba Just run this snippet in debug window Please don't hit me ;) With Assistant .On = True .Visible = True .Move xLeft:=400, yTop:=300 .MoveWhenInTheWay = True .TipOfDay = True 'need reference to MS Office 11.0 Library ' .Animation = msoAnimationGreeting .Animation = 2 End With From artful at rogers.com Wed Jun 22 13:34:46 2005 From: artful at rogers.com (Arthur Fuller) Date: Wed, 22 Jun 2005 14:34:46 -0400 Subject: [AccessD] Field Naming ( Just once I want to be ahead of JC ) In-Reply-To: <001201c57755$b8d6d660$6401a8c0@laptop1> Message-ID: <200506221834.j5MIYlR19422@databaseadvisors.com> My $.02... I hate such naming conventions, for three reasons: a) they defeat the natural logic of the various relationship-finding wizards; b) there is no need to prefix the column names since you can do so unambiguously using the table name as a prefix (i.e. Customers.CustomerID = Orders.CustomerID). c) the prefixes hide the relationships while admittedly revealing the table sources... but if we are really going to go in this direction, I would rather use suffixes (i.e. CustomerID_Customers, CustomerID_Orders, CustomerID_Payments etc.) -- so they are logically grouped together according to domain type rather than table name. Arthur -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Joe Hecht Sent: June 22, 2005 2:11 PM To: 'Access Developers discussion and problem solving' Subject: RE: [AccessD] Field Naming ( Just once I want to be ahead of JC ) My gosh, I had an idea that drew liked too. Joe Hecht Los Angeles CA -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of DWUTKA at marlow.com Subject: RE: [AccessD] Field Naming ( Just once I want to be ahead of JC ) Not a bad idea. Drew -----Original Message----- From: Joe Hecht [mailto:jmhecht at earthlink.net] Sent: Wednesday, June 22, 2005 11:37 AM To: 'Access Developers discussion and problem solving' Subject: [AccessD] Field Naming ( Just once I want to be ahead of JC ) When naming fields in table design view I try to prefix the field with something to identify the source table i.e.: Custfname custLname repfname replname 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 jmhecht at earthlink.net Wed Jun 22 13:37:25 2005 From: jmhecht at earthlink.net (Joe Hecht) Date: Wed, 22 Jun 2005 11:37:25 -0700 Subject: [AccessD] Good Code Bad Code Question In-Reply-To: Message-ID: <001801c57759$70406430$6401a8c0@laptop1> See inline Subject: RE: [AccessD] Good Code Bad Code Question You lost me, Joe. You say it works correctly but you get a compile error? If you get a compile error, it shouldn't work. ^ Yes I agree Have you tried decompile and recompile? ^ I have read posts here but maybe I am thick.(Well I am heavy : )) I do not understand how to decompile and recompile I have to say that in later versions of Access, I've had better luck using the afterupdate of a combo to put a non-value column value into another control. Have you tried that? ^That is where the code is. Charlotte Foust Thanks -----Original Message----- From: Joe Hecht [mailto:jmhecht at earthlink.net] Sent: Wednesday, June 22, 2005 11:01 AM To: 'Access Developers discussion and problem solving' Subject: [AccessD] Good Code Bad Code Question The following line of code works correctly Me.txtCost.Value = Me.cboPartNum.Column(2) When I try to compile the code I get an error message that .cboPartNum Method or Data member not found. Any Idea what is up? Option Explicit is set Thanks 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 From jmhecht at earthlink.net Wed Jun 22 13:40:43 2005 From: jmhecht at earthlink.net (Joe Hecht) Date: Wed, 22 Jun 2005 11:40:43 -0700 Subject: [AccessD] Field Naming ( Just once I want to be ahead of JC ) In-Reply-To: <123701F54509D9119A4F00D0B747349016D755@main2.marlow.com> Message-ID: <001d01c57759$e5f48850$6401a8c0@laptop1> On my Way Joe Hecht Los Angeles CA -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of DWUTKA at marlow.com Sent: Wednesday, June 22, 2005 11:14 AM To: access at joe2.endjunk.com; accessd at databaseadvisors.com Subject: RE: [AccessD] Field Naming ( Just once I want to be ahead of JC ) Go buy a lottery ticket now.... Drew -----Original Message----- From: Joe Hecht [mailto:jmhecht at earthlink.net] Sent: Wednesday, June 22, 2005 1:11 PM To: 'Access Developers discussion and problem solving' Subject: RE: [AccessD] Field Naming ( Just once I want to be ahead of JC ) My gosh, I had an idea that drew liked too. Joe Hecht Los Angeles CA -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of DWUTKA at marlow.com Subject: RE: [AccessD] Field Naming ( Just once I want to be ahead of JC ) Not a bad idea. Drew -----Original Message----- From: Joe Hecht [mailto:jmhecht at earthlink.net] Sent: Wednesday, June 22, 2005 11:37 AM To: 'Access Developers discussion and problem solving' Subject: [AccessD] Field Naming ( Just once I want to be ahead of JC ) When naming fields in table design view I try to prefix the field with something to identify the source table i.e.: Custfname custLname repfname replname 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 jmhecht at earthlink.net Wed Jun 22 13:41:30 2005 From: jmhecht at earthlink.net (Joe Hecht) Date: Wed, 22 Jun 2005 11:41:30 -0700 Subject: [AccessD] Field Naming ( Just once I want to be ahead of JC ) In-Reply-To: Message-ID: <001e01c5775a$020410b0$6401a8c0@laptop1> It is getting worm here in lost angels. ( Los Angeles) Joe Hecht Los Angeles CA -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Charlotte Foust Sent: Wednesday, June 22, 2005 11:18 AM To: access at joe2.endjunk.com; Access Developers discussion and problem solving Subject: RE: [AccessD] Field Naming ( Just once I want to be ahead of JC ) Back in your moment of glory, Joe. And has anyone checked the temperature in Hell lately? Something that both John and Drew think is a good idea suggests some kind of unexpected occurrence. LOL Charlotte Foust -----Original Message----- From: Joe Hecht [mailto:jmhecht at earthlink.net] Sent: Wednesday, June 22, 2005 11:11 AM To: 'Access Developers discussion and problem solving' Subject: RE: [AccessD] Field Naming ( Just once I want to be ahead of JC ) My gosh, I had an idea that drew liked too. Joe Hecht Los Angeles CA -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of DWUTKA at marlow.com Subject: RE: [AccessD] Field Naming ( Just once I want to be ahead of JC ) Not a bad idea. Drew -----Original Message----- From: Joe Hecht [mailto:jmhecht at earthlink.net] Sent: Wednesday, June 22, 2005 11:37 AM To: 'Access Developers discussion and problem solving' Subject: [AccessD] Field Naming ( Just once I want to be ahead of JC ) When naming fields in table design view I try to prefix the field with something to identify the source table i.e.: Custfname custLname repfname replname 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 jwcolby at colbyconsulting.com Wed Jun 22 13:53:36 2005 From: jwcolby at colbyconsulting.com (John W. Colby) Date: Wed, 22 Jun 2005 14:53:36 -0400 Subject: [AccessD] Field Naming ( Just once I want to be ahead of JC ) In-Reply-To: <200506221834.j5MIYlR19422@databaseadvisors.com> Message-ID: <008f01c5775b$b1fe00b0$6c7aa8c0@ColbyM6805> 1) Try doing a find on a field name used all over the damned database and then come back and tell me how much you hate it. 2) Relationship finding wizards are for wusses who don't create explicit relationships (should be shot BTW). 3) The prefixes hide the relationships while admittedly revealing the table sources... but if we are really going to go in this direction, I would rather use suffixes (i.e. CustomerID_Customers, CustomerID_Orders, CustomerID_Payments etc.) -- so they are logically grouped together according to domain type rather than table name. I know you are into suffixes, but this isn't something that you are going to see in a tab window or something so it is not going to help there. Here's you change 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 Arthur Fuller Sent: Wednesday, June 22, 2005 2:35 PM To: 'Access Developers discussion and problem solving' Subject: RE: [AccessD] Field Naming ( Just once I want to be ahead of JC ) My $.02... I hate such naming conventions, for three reasons: a) they defeat the natural logic of the various relationship-finding wizards; b) there is no need to prefix the column names since you can do so unambiguously using the table name as a prefix (i.e. Customers.CustomerID = Orders.CustomerID). c) the prefixes hide the relationships while admittedly revealing the table sources... but if we are really going to go in this direction, I would rather use suffixes (i.e. CustomerID_Customers, CustomerID_Orders, CustomerID_Payments etc.) -- so they are logically grouped together according to domain type rather than table name. Arthur -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Joe Hecht Sent: June 22, 2005 2:11 PM To: 'Access Developers discussion and problem solving' Subject: RE: [AccessD] Field Naming ( Just once I want to be ahead of JC ) My gosh, I had an idea that drew liked too. Joe Hecht Los Angeles CA -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of DWUTKA at marlow.com Subject: RE: [AccessD] Field Naming ( Just once I want to be ahead of JC ) Not a bad idea. Drew -----Original Message----- From: Joe Hecht [mailto:jmhecht at earthlink.net] Sent: Wednesday, June 22, 2005 11:37 AM To: 'Access Developers discussion and problem solving' Subject: [AccessD] Field Naming ( Just once I want to be ahead of JC ) When naming fields in table design view I try to prefix the field with something to identify the source table i.e.: Custfname custLname repfname replname 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 pedro at plex.nl Wed Jun 22 13:54:19 2005 From: pedro at plex.nl (Pedro Janssen) Date: Wed, 22 Jun 2005 20:54:19 +0200 Subject: [AccessD] invalid number of arguments References: <30BC111F638EB54082001A7E7282FE41114D45@elmo.co.montgomery.ny.us><007b01c57128$6c07acc0$fac581d5@pedro><00ba01c571b1$155f3bc0$0202a8c0@default><002001c57736$2e2e4210$fac581d5@pedro> <032e01c5773d$2e85d3c0$0202a8c0@default> Message-ID: <005401c5775b$f2701c50$fac581d5@pedro> Hello Michael, I don't know if you are married, but my wife can be nagging at my head about finishing this database for here. I am not sure that i understand you! Why using a Append query with an autonumbered field. I will give you a small structure of the tables involved: "commercial database linked table" DEBSTM Nummer = Text (but al Id's are numbers) = Primary Key Adres Plaats i need following table tblDEBITEUR DebID = Number (Long Integer) Postadres Woonplaats I need datatype = number because the filtering on this field otherwise isn't going to be right. Can you explain more on basis from this structure? Pedro Janssen ----- Original Message ----- From: "Michael R Mattys" To: "Access Developers discussion and problem solving" Sent: Wednesday, June 22, 2005 5:15 PM Subject: Re: [AccessD] invalid number of arguments > Hi Pedro, > > > > - In this (commercial) database ... i can't change anything. > - don't want to ad each new client in two different databases. > - want to use the client table from the commercial database (clientID's > identical). > - clients [DEBSTM] can be linked to the "brick" database [tblDebiteur]. > > > I don't want to use a query from this linked table, to adjust the names > > because i then have to adjust al other query's and tables. > > Using the same names for the table and fields would be the best way. > > > > Pedro Janssen > > Hi Pedro, > > Nagging? :) > > An append query to an autonumbered table would be best. > Leave in the text ClientID and use that as criteria in the query > to make sure there are no duplicates. Alias the fields desired. > You know macros have no error handling, right? > > ---- > > Michael R. Mattys > Mattys MapLib for Microsoft MapPoint > http://www.mattysconsulting.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 Jun 22 14:03:51 2005 From: martyconnelly at shaw.ca (MartyConnelly) Date: Wed, 22 Jun 2005 12:03:51 -0700 Subject: [AccessD] OT: Sharepoint Security (SOLVED) References: <0IIH00C93VMOBK@l-daemon> Message-ID: <42B9B617.8080403@shaw.ca> I have found you can store ,update and read access tables on a sharepoint server unfortunately my time ran out on the MS test site a few months back. Wouldn't mind finding another free test one In Access 2003 you can use soap via web class, direct xmlhttp or transferdatabase to transfer tables or even documents xls or .doc Sub WWSupload() On Error GoTo errout DoCmd.TransferDatabase transfertype:=acExport, databasetype:="WSS", _ databasename:="http://mconnelly.sharepointsite.com", _ objecttype:=acTable, Source:="Household Inventory", _ Destination:="Household Inventory A", structureonly:=False errout: Debug.Print Err.Number & "-" & Err.Description 'http://mconnelly.sharepointsite.com/_vti_bin/Lists.asmx End Sub Sub WWSuploadPics() On Error GoTo errout DoCmd.TransferDatabase transfertype:=acExport, databasetype:="WSS", _ databasename:="http://mconnelly.sharepointsite.com", _ objecttype:=acTable, Source:="Employees", _ Destination:="Employees", structureonly:=False errout: Debug.Print Err.Number & "-" & Err.Description End Sub Sub Click() On Error GoTo Err_Command8_Click ' To see methods of call 'http://www.xmethods.com/detail.html?id=8 'http://www.xmltoday.com/examples/soap/translate.psp Dim URL As String Dim http As New MSXML2.XMLHTTP Dim objResult As New MSXML2.DOMDocument Dim objStyle As New MSXML2.DOMDocument Dim strEnvelopeBegin As String Dim strEnvelopeEnd As String Dim xmlReq As String Dim s As String Dim strReturned As String Dim strQuery As String s = "" & vbCrLf URL = "http://mconnelly.sharepointsite.com/_vti_bin/Lists.asmx" strEnvelopeBegin = " " & vbCrLf & _ " " strEnvelopeEnd = vbCrLf & " " xmlReq = s & strEnvelopeBegin & strEnvelopeEnd Debug.Print xmlReq ' Me!Text0 = xmlReq ' Me!Text2 = URL http.Open "POST", URL, False 'http.setRequestHeader "Accept", "text/xml" http.setRequestHeader "Content-Type", "text/xml" ' http.setRequestHeader "Cache-Control", "no-cache" http.setRequestHeader "SOAPAction", "http://schemas.microsoft.com/sharepoint/soap/GetListCollection" ' http.setRequestHeader "SOAPMethodName", "GetListCollection" http.send xmlReq Debug.Print http.responseText; Len(http.responseText) Debug.Print http.Status; http.statusText WriteFile "C:\Access files\sharepoint\" & "test" & _ Format(Now, "yyyymmddhhmmss") & ".xml", http.responseText Debug.Print http.responseBody; Len(http.responseBody) ' Debug.Print http.responseXML 'objResult = new ActiveXObject ("Microsoft.XMLDOM") objResult.async = False objResult.Load http.responseText 'strQuery = "SOAP:Envelope/SOAP:Body/Hi All: > >Given that this question will seem simple and slightly ignorant... what is a >SharePoint Portal used for and what does it improve or replace. > >Jim > >-----Original Message----- >From: accessd-bounces at databaseadvisors.com >[mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Jim DeMarco >Sent: Wednesday, June 22, 2005 9:33 AM >To: Access Developers discussion and problem solving >Subject: RE: [AccessD] OT: Sharepoint Security (SOLVED) > >The culprit seemed to be that the user(s) in question were members of a >Desktop Administrators group that was set up for us. Removing that group >from the Sharepoint server machine seems to have corrected the issue >(further testing pending). > >Thanks to all, > >Jim DeMarco > >-----Original Message----- >From: accessd-bounces at databaseadvisors.com >[mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Jim DeMarco >Sent: Wednesday, June 22, 2005 10:30 AM >To: Access Developers discussion and problem solving >Subject: RE: [AccessD] OT: Sharepoint Security > > >Well I just set up a non-IT staff member with Read access and that's all he >could do (read). When I removed him from the site he could not access it >any longer. So it looks like it may be using Windows Security to >authenticate users. Unfortunately I need to limit even our IT staff in >various sections of the site so I've got to get a work around together. > >I'll keep you posted. > >Thanks, > >Jim DeMarco > >-----Original Message----- >From: accessd-bounces at databaseadvisors.com >[mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Jim Hewson >Sent: Wednesday, June 22, 2005 10:08 AM >To: Access Developers discussion and problem solving >Subject: RE: [AccessD] OT: Sharepoint Security > > >Jim, >I'm a novice, but will become the SharePoint "Expert" when I change >jobs, in my company, next month. I'm interested in the outcome of your >question. >A couple of random thoughts... >There are two levels of security for SharePoint. They are Central >Administration and Site Administration rights. Central take precedence >over site rights. If a person is a member of the Central Administration >group which manages the settings for the Web Server and virtual servers, >they effectively have Administrative rights to the entire portal. >In Site Administration, IIRC, there is a toggle somewhere to designate a >person to have the same rights as the parent area or site. >Let me know if you have found the solution. >Regards, >Jim H. > >-----Original Message----- >From: accessd-bounces at databaseadvisors.com >[mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Jim DeMarco >Sent: Wednesday, June 22, 2005 8:04 AM >To: AccessD (E-mail) >Subject: [AccessD] OT: Sharepoint Security > >List, > >I've done some Googling but I can't seem to find the answer to this odd >problem. I set up a Sharepoint site as a test bed (Sharepoint Services >not Server) and gave a few users access. No matter what rights I give >the users they have full admin rights to the sight. I set up custom >security groups and the site is completely ignoring them. To further >add to the mystery I removed on user (she is not a member of any >security group therefore should not have access to the site) and she can >still get in with full admin rights. Is it possible that Sharepoint is >deferring to Windows rights? These are all IT staff here and have more >liberal rights to our network than the average user. > >Does anyone have a clue? A push in the right direction would be >appreciated. > >TIA > >Jim DeMarco >Director of Application Development >Hudson Health Plan > > > >************************************************************************ >*********** >"This electronic message is intended to be for the use only of the named >recipient, and may contain information from Hudson Health Plan (HHP) >that is confidential or privileged. If you are not the intended >recipient, you are hereby notified that any disclosure, copying, >distribution or use of the contents of this message is strictly >prohibited. If you have received this message in error or are not the >named recipient, please notify us immediately, either by contacting the >sender at the electronic mail address noted above or calling HHP at >(914) 631-1611. If you are not the intended recipient, please do not >forward this email to anyone, and delete and destroy all copies of this >message. Thank You". >************************************************************************ >*********** > >-- >AccessD mailing list >AccessD at databaseadvisors.com >http://databaseadvisors.com/mailman/listinfo/accessd >Website: http://www.databaseadvisors.com > > -- Marty Connelly Victoria, B.C. Canada From jmhecht at earthlink.net Wed Jun 22 14:07:13 2005 From: jmhecht at earthlink.net (Joe Hecht) Date: Wed, 22 Jun 2005 12:07:13 -0700 Subject: [AccessD] Field Naming ( Just once I want to be ahead of JC ) In-Reply-To: <008f01c5775b$b1fe00b0$6c7aa8c0@ColbyM6805> Message-ID: <001f01c5775d$99f8a400$6401a8c0@laptop1> John, 2) Relationship finding wizards are for wusses who don't create explicit relationships (should be shot BTW). I set relationships in either the relationship window or when I build queries. Is that where you do it? Have not seen a relationship finding Wizard? Joe From jwcolby at colbyconsulting.com Wed Jun 22 14:08:11 2005 From: jwcolby at colbyconsulting.com (John W. Colby) Date: Wed, 22 Jun 2005 15:08:11 -0400 Subject: [AccessD] Field Naming ( Just once I want to be ahead of JC ) In-Reply-To: <001f01c5775d$99f8a400$6401a8c0@laptop1> Message-ID: <009001c5775d$bb886830$6c7aa8c0@ColbyM6805> The relationship window specifically. John W. Colby www.ColbyConsulting.com Contribute your unused CPU cycles to 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: Wednesday, June 22, 2005 3:07 PM To: 'Access Developers discussion and problem solving' Subject: RE: [AccessD] Field Naming ( Just once I want to be ahead of JC ) John, 2) Relationship finding wizards are for wusses who don't create explicit relationships (should be shot BTW). I set relationships in either the relationship window or when I build queries. Is that where you do it? Have not seen a relationship finding Wizard? Joe -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From martyconnelly at shaw.ca Wed Jun 22 14:20:31 2005 From: martyconnelly at shaw.ca (MartyConnelly) Date: Wed, 22 Jun 2005 12:20:31 -0700 Subject: [AccessD] Detect specific printer References: <974F830FE464C14E8652F95E24DA663C0BF9FF@mail03.Mcbassoc.com> Message-ID: <42B9B9FF.7030003@shaw.ca> This code example should get you started have a look at this, Access 2002 + uses Printer object Below Access 2002 you need to use API calls to PrintDev routines http://allenbrowne.com/AppPrintMgt.html Printer Selection Utility Allen Browne If you look down the page there are links to Albert Kallal's site for Access 97 and 2000 printer selection methods Mark Boyd wrote: >Is there a way thru VBA to detect if a specific printer has been >installed? >I need to check if the PDF Writer is on the user's machine. If not, >they'll be prompted to install it. > >Thanks, >Mark Boyd >I/S Supervisor >McBee Associates, Inc. > >----------------------------------------- >This message and any attachments are intended only for the use of the individual or entity to which it is addressed and may contain information that is privileged, confidential, and exempt from disclosure under applicable law. If the reader of this message is not the intended recipient, or the employee or agent responsible for delivering the message to the intended recipient, you are hereby notified that any dissemination, distribution or copying of this communication is strictly prohibited. If you have received this communication in error, please notify the sender by replying to this message, and then delete it from your system. >------------------------------------------- > > -- Marty Connelly Victoria, B.C. Canada From MarkBoyd at McBeeAssociates.com Wed Jun 22 14:37:13 2005 From: MarkBoyd at McBeeAssociates.com (Mark Boyd) Date: Wed, 22 Jun 2005 15:37:13 -0400 Subject: [AccessD] Detect specific printer Message-ID: <974F830FE464C14E8652F95E24DA663C0BFA05@mail03.Mcbassoc.com> Thanks Marty. I was able to create a work-around. I use some of Ken Ketz's 'defaultprt.zip' code to change the default printer to the PDF Writer. Then, I use Access' Printer object to see if the default printer was changed. If the user doesn't have the PDF Writer installed, the default printer will stay the same. This way, I can throw a message to the screen prompting the user to install the appropriate software. Thanks again, Mark Boyd I/S Supervisor McBee Associates, Inc. 610/964-9680 x15 -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of MartyConnelly Sent: Wednesday, June 22, 2005 3:21 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Detect specific printer This code example should get you started have a look at this, Access 2002 + uses Printer object Below Access 2002 you need to use API calls to PrintDev routines http://allenbrowne.com/AppPrintMgt.html Printer Selection Utility Allen Browne If you look down the page there are links to Albert Kallal's site for Access 97 and 2000 printer selection methods Mark Boyd wrote: >Is there a way thru VBA to detect if a specific printer has been >installed? >I need to check if the PDF Writer is on the user's machine. If not, >they'll be prompted to install it. > >Thanks, >Mark Boyd >I/S Supervisor >McBee Associates, Inc. > >----------------------------------------- >This message and any attachments are intended only for the use of the individual or entity to which it is addressed and may contain information that is privileged, confidential, and exempt from disclosure under applicable law. If the reader of this message is not the intended recipient, or the employee or agent responsible for delivering the message to the intended recipient, you are hereby notified that any dissemination, distribution or copying of this communication is strictly prohibited. If you have received this communication in error, please notify the sender by replying to this message, and then delete it from your system. >------------------------------------------- > > -- Marty Connelly Victoria, B.C. Canada -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com ----------------------------------------- This message and any attachments are intended only for the use of the individual or entity to which it is addressed and may contain information that is privileged, confidential, and exempt from disclosure under applicable law. If the reader of this message is not the intended recipient, or the employee or agent responsible for delivering the message to the intended recipient, you are hereby notified that any dissemination, distribution or copying of this communication is strictly prohibited. If you have received this communication in error, please notify the sender by replying to this message, and then delete it from your system. ------------------------------------------- From cfoust at infostatsystems.com Wed Jun 22 14:48:18 2005 From: cfoust at infostatsystems.com (Charlotte Foust) Date: Wed, 22 Jun 2005 12:48:18 -0700 Subject: [AccessD] Good Code Bad Code Question Message-ID: To decompile, you start Access with a command line /decompile argument. Any command line argument requires the full path to the executable be in the shortcut or the command line arg is ignored. Then if you open a database, it will decompile. The recompile is just going to the VBE and using Debug-->Compile, but do this after closing the Access session and restarting normally, without the /decompile switch. If you hover the mouse over Me.cboPartNum.Column(2) in the code, what do you see in the tooltip? And for that matter, how many columns does cboPartNum have? Column numbering in the collection starts at zero, so Me.cboPartNum.Column(2) refers to the third column in the combobox. Charlotte Foust -----Original Message----- From: Joe Hecht [mailto:jmhecht at earthlink.net] Sent: Wednesday, June 22, 2005 11:37 AM To: 'Access Developers discussion and problem solving' Subject: RE: [AccessD] Good Code Bad Code Question See inline Subject: RE: [AccessD] Good Code Bad Code Question You lost me, Joe. You say it works correctly but you get a compile error? If you get a compile error, it shouldn't work. ^ Yes I agree Have you tried decompile and recompile? ^ I have read posts here but maybe I am thick.(Well I am heavy : )) I do not understand how to decompile and recompile I have to say that in later versions of Access, I've had better luck using the afterupdate of a combo to put a non-value column value into another control. Have you tried that? ^That is where the code is. Charlotte Foust Thanks -----Original Message----- From: Joe Hecht [mailto:jmhecht at earthlink.net] Sent: Wednesday, June 22, 2005 11:01 AM To: 'Access Developers discussion and problem solving' Subject: [AccessD] Good Code Bad Code Question The following line of code works correctly Me.txtCost.Value = Me.cboPartNum.Column(2) When I try to compile the code I get an error message that .cboPartNum Method or Data member not found. Any Idea what is up? Option Explicit is set Thanks 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 cfoust at infostatsystems.com Wed Jun 22 14:57:12 2005 From: cfoust at infostatsystems.com (Charlotte Foust) Date: Wed, 22 Jun 2005 12:57:12 -0700 Subject: [AccessD] Good Code Bad Code Question Message-ID: Joe, To decompile, use a command line argument in opening the database. That means you have to fully reference the path of the Access executable and the full path of the target database or the /decompile switch will be ignored. After you open the Access database that way, close the Access session, then reopen the database normally without the decompile switch, go to the VBE and use Debug-->Compile... To recompile the app. This clears out some crud that may otherwise cause you grief. There was a suggestion about using a bang instead of a dot in Me.cboPartNum.Column(2) and I encourage you to try that without delay because I have found that there are places and times in Access where you must do so. If that solves the problem, you're ahead of the game. Also make sure that cboPartNum has at least 3 columns specified in its property sheet, since the column numbering is zero based for the collection. Charlotte Foust -----Original Message----- From: Joe Hecht [mailto:jmhecht at earthlink.net] Sent: Wednesday, June 22, 2005 11:37 AM To: 'Access Developers discussion and problem solving' Subject: RE: [AccessD] Good Code Bad Code Question See inline Subject: RE: [AccessD] Good Code Bad Code Question You lost me, Joe. You say it works correctly but you get a compile error? If you get a compile error, it shouldn't work. ^ Yes I agree Have you tried decompile and recompile? ^ I have read posts here but maybe I am thick.(Well I am heavy : )) I do not understand how to decompile and recompile I have to say that in later versions of Access, I've had better luck using the afterupdate of a combo to put a non-value column value into another control. Have you tried that? ^That is where the code is. Charlotte Foust Thanks -----Original Message----- From: Joe Hecht [mailto:jmhecht at earthlink.net] Sent: Wednesday, June 22, 2005 11:01 AM To: 'Access Developers discussion and problem solving' Subject: [AccessD] Good Code Bad Code Question The following line of code works correctly Me.txtCost.Value = Me.cboPartNum.Column(2) When I try to compile the code I get an error message that .cboPartNum Method or Data member not found. Any Idea what is up? Option Explicit is set Thanks 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 donald.a.Mcgillivray at mail.sprint.com Wed Jun 22 15:43:54 2005 From: donald.a.Mcgillivray at mail.sprint.com (Mcgillivray, Don [ITS]) Date: Wed, 22 Jun 2005 15:43:54 -0500 Subject: [AccessD] Reference to the Printer object causing fatal error Message-ID: The message box says that Microsoft is sorry for the inconvenience, but they're not offering to replace all the hair I'm pulling out over this . . . Seems simple enough, and it actually was working for a while. Here's the code: Dim prt as Printer For Each prt in Application.Printers Debug.Print prt.DeviceName Next Execute the code and it pauses a few seconds, then crashes Access with a fatal error and the not-so-helpful "Send this to Microsoft . . ." message box. Since it was working for a while (and the same code works fine on my home machine), I have to think that something in my Access or Office installation got hosed somehow. Any ideas where to look/what to try? Using AccessXP on Windows 2000. Thanks! Don From stuart at lexacorp.com.pg Wed Jun 22 16:07:04 2005 From: stuart at lexacorp.com.pg (Stuart McLachlan) Date: Thu, 23 Jun 2005 07:07:04 +1000 Subject: [AccessD] Just Checking.... In-Reply-To: <007001c5773e$dcdc4cf0$6c7aa8c0@ColbyM6805> References: <123701F54509D9119A4F00D0B747349016D74D@main2.marlow.com> Message-ID: <42BA5F98.8107.3B5AFA1@stuart.lexacorp.com.pg> On 22 Jun 2005 at 11:27, John W. Colby wrote: > ROTFL. Yea, I am getting old. > > I am about to launch a field naming convention discussion so look out. ;-) > I've just been asked to taske over some apps which were developed in-house by a certain organisation in PNG. Most of them have a table called "MAIN TABLE" which is, believe it or not the main table used for storing data. So far I have also come across fields named DATE and NAME as well as several fields with 40-50 character fieldnames comprising multiple words separated by spaces. -- Stuart From Jim.Hale at FleetPride.com Wed Jun 22 16:50:05 2005 From: Jim.Hale at FleetPride.com (Hale, Jim) Date: Wed, 22 Jun 2005 16:50:05 -0500 Subject: [AccessD] Classes not recognized in mda Message-ID: <6A6AA9DF57E4F046BDA1E273BDDB6772337699@corp-es01.fleetpride.com> Can forms be placed in libraries? If so how are they referenced? Jim Hale -----Original Message----- From: John W. Colby [mailto:jwcolby at colbyconsulting.com] Sent: Wednesday, June 22, 2005 10:25 AM To: 'Access Developers discussion and problem solving' Subject: RE: [AccessD] Classes not recognized in mda Hmm... This is the other way of doing it. What Charlotte is saying is that INSIDE of the library you can set a function that dims a new instance and returns a pointer to the class. The problem with doing this is that you can't use intellisense to see the properties of the class etc. whereas using the method I described, your classes become just another object and you can use it just as you would any other 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 Charlotte Foust Sent: Wednesday, June 22, 2005 11:15 AM To: Access Developers discussion and problem solving Subject: RE: [AccessD] Classes not recognized in mda It's a little tricky using classes in a code library because you have to give them a public interface before they can be used elsewhere. I don't have an example on this machine, so I'm working from memory here, but as I recall, I dimmed a public object variable as a new instance of the class I wanted to expose. That allowed the app linked to the library to grab the public instance of the class and use its methods and properties. Charlotte Foust -----Original Message----- From: Hale, Jim [mailto:Jim.Hale at fleetpride.com] Sent: Wednesday, June 22, 2005 8:01 AM To: 'Accessd (E-mail) Subject: [AccessD] Classes not recognized in mda I have moved some classes and modules out of the front end into a code library. I set the same references in the code library as in the front end. In the front end I set a reference to the code library. The FE recognizes the functions in the library modules fine, no problems but doesn't recognize the classes (i.e. I get an error in the FE when I try to instantiate the moved classes). The code ran fine when the classes resided in the front end. I am obviously doing something simple wrong. Any suggestions? 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 -- 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 Wed Jun 22 16:49:15 2005 From: jwcolby at colbyconsulting.com (John W. Colby) Date: Wed, 22 Jun 2005 17:49:15 -0400 Subject: [AccessD] Just Checking.... In-Reply-To: <42BA5F98.8107.3B5AFA1@stuart.lexacorp.com.pg> Message-ID: <009701c57774$3c061370$6c7aa8c0@ColbyM6805> LOL, yea ain't life fun. John W. Colby www.ColbyConsulting.com Contribute your unused CPU cycles to 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, June 22, 2005 5:07 PM To: Access Developers discussion and problem solving Subject: RE: [AccessD] Just Checking.... On 22 Jun 2005 at 11:27, John W. Colby wrote: > ROTFL. Yea, I am getting old. > > I am about to launch a field naming convention discussion so look out. > ;-) > I've just been asked to taske over some apps which were developed in-house by a certain organisation in PNG. Most of them have a table called "MAIN TABLE" which is, believe it or not the main table used for storing data. So far I have also come across fields named DATE and NAME as well as several fields with 40-50 character fieldnames comprising multiple words separated by spaces. -- Stuart -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From jwcolby at colbyconsulting.com Wed Jun 22 16:56:41 2005 From: jwcolby at colbyconsulting.com (John W. Colby) Date: Wed, 22 Jun 2005 17:56:41 -0400 Subject: [AccessD] Classes not recognized in mda In-Reply-To: <6A6AA9DF57E4F046BDA1E273BDDB6772337699@corp-es01.fleetpride.com> Message-ID: <009e01c57775$499d1f00$6c7aa8c0@ColbyM6805> Forms can be placed in libraries. Unbound forms (non data forms) are easy, bound forms are trickier. Referencing them requires calling a function that opens the form. The issue with bound forms is that the table name or query for a form is assumed to be in the database container that the form resides in. The easiest way around that is to use a SQL statement that uses an "in databasename" clause. Typically you would have the form open not bound to a recordsource, then have it set it's recordsource to the passed in sql statement. Not pretty but it can be made to work. John W. Colby www.ColbyConsulting.com Contribute your unused CPU cycles to a good cause: http://folding.stanford.edu/ -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Hale, Jim Sent: Wednesday, June 22, 2005 5:50 PM To: 'Access Developers discussion and problem solving' Subject: RE: [AccessD] Classes not recognized in mda Can forms be placed in libraries? If so how are they referenced? Jim Hale -----Original Message----- From: John W. Colby [mailto:jwcolby at colbyconsulting.com] Sent: Wednesday, June 22, 2005 10:25 AM To: 'Access Developers discussion and problem solving' Subject: RE: [AccessD] Classes not recognized in mda Hmm... This is the other way of doing it. What Charlotte is saying is that INSIDE of the library you can set a function that dims a new instance and returns a pointer to the class. The problem with doing this is that you can't use intellisense to see the properties of the class etc. whereas using the method I described, your classes become just another object and you can use it just as you would any other 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 Charlotte Foust Sent: Wednesday, June 22, 2005 11:15 AM To: Access Developers discussion and problem solving Subject: RE: [AccessD] Classes not recognized in mda It's a little tricky using classes in a code library because you have to give them a public interface before they can be used elsewhere. I don't have an example on this machine, so I'm working from memory here, but as I recall, I dimmed a public object variable as a new instance of the class I wanted to expose. That allowed the app linked to the library to grab the public instance of the class and use its methods and properties. Charlotte Foust -----Original Message----- From: Hale, Jim [mailto:Jim.Hale at fleetpride.com] Sent: Wednesday, June 22, 2005 8:01 AM To: 'Accessd (E-mail) Subject: [AccessD] Classes not recognized in mda I have moved some classes and modules out of the front end into a code library. I set the same references in the code library as in the front end. In the front end I set a reference to the code library. The FE recognizes the functions in the library modules fine, no problems but doesn't recognize the classes (i.e. I get an error in the FE when I try to instantiate the moved classes). The code ran fine when the classes resided in the front end. I am obviously doing something simple wrong. Any suggestions? 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 -- 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 scapistrant at symphonyinfo.com Wed Jun 22 17:03:39 2005 From: scapistrant at symphonyinfo.com (Steve Capistrant) Date: Wed, 22 Jun 2005 17:03:39 -0500 Subject: [AccessD] Scanning for corruption Message-ID: <855499653F55AD4190B242717DF132BC082CDE@dewey.Symphony.local> Has anyone tried building some routine that scans all tables in an Access database for corruption? I'd be interested in implementing this as part of an overall preventative (sort of) maintenance or troubleshooting process. It seems possible to do, because certain routine actions -- like copying a table -- will fail if the table has a corruption. Run a routine that looped through the tables collection, copy each to an external temporary database, trap for errors at each step, and display the name of each corrupted table. Scanning at the record level might be trickier, because you usually can't return the ID of a corrupted record. Thoughts? Steve Capistrant scapistrant at symphonyinfo.com Symphony Information Services 7308 Aspen Lane North, Suite 132 Brooklyn Park, MN 55428 763-391-7400 www.symphonyinfo.com From martyconnelly at shaw.ca Wed Jun 22 17:08:15 2005 From: martyconnelly at shaw.ca (MartyConnelly) Date: Wed, 22 Jun 2005 15:08:15 -0700 Subject: [AccessD] Question about Animated Graphics References: <200506221829.j5MIT9R17944@databaseadvisors.com> Message-ID: <42B9E14F.8000303@shaw.ca> That was just a proof of concept. Just drop Leban's animated gif control on the form from the toolbox after adding Ocx via Tools--> ActiveX I used the Ver 2.5 of the OCX and the gears were whirring beautifully There are start and stop methods and you can change background colour. http://www.lebans.com/animatedgifplayer.htm Private Sub Form_Open(Cancel As Integer) 'Me.AnimatedGifCtl0.LoadGif True 'if true will look up gif filename via file dialog Me.AnimatedGifCtl0.strGifFileName = "C:\Access files\Lebans\AnimatedGif\gears5.gif" Me.AnimatedGifCtl0.LoadGif False ' If you want the Gif to start ' automatically upon load then ' uncomment out the line below. Me.AnimatedGifCtl0.StartTimer DoEvents Me.Refresh End Sub Arthur Fuller wrote: >Well, that clearly works, but I think I'll give you a smack upside the >temple anyway LOL. (I wonder if there is a more universally hated developer >in the world than the author(s) of these various assistants.) > >So you have demonstrated that we can invoked the Assistant from Access. >Upsizing the question, is this sort of approach possible with other >animations? Case in point -- the gears inside a torn-open skin, that revolve >in synch. Can I use your code to apply to such an animated JPG, and if so, >how? > >TIA, >Arthur > >-----Original Message----- >From: accessd-bounces at databaseadvisors.com >[mailto:accessd-bounces at databaseadvisors.com] On Behalf Of MartyConnelly >Sent: June 22, 2005 2:21 PM >To: Access Developers discussion and problem solving >Subject: Re: [AccessD] Question about Animated Graphics > >Well animated graphics seem to be possible from vba >Just run this snippet in debug window >Please don't hit me ;) > >With Assistant > .On = True > .Visible = True > .Move xLeft:=400, yTop:=300 > .MoveWhenInTheWay = True > .TipOfDay = True > 'need reference to MS Office 11.0 Library > ' .Animation = msoAnimationGreeting > .Animation = 2 >End With > > > > -- Marty Connelly Victoria, B.C. Canada From accessd at shaw.ca Wed Jun 22 18:24:22 2005 From: accessd at shaw.ca (Jim Lawrence) Date: Wed, 22 Jun 2005 16:24:22 -0700 Subject: [AccessD] OT: Sharepoint Security (SOLVED) In-Reply-To: <08F823FD83787D4BA0B99CA580AD3C74016C3A66@TTNEXCHCL2.hshhp.com> Message-ID: <0III00H1HECMB7@l-daemon> Hi Jim: Thanks for the information. Now I will have to run up a portal and give it a try and see what happens. Jim -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Jim DeMarco Sent: Wednesday, June 22, 2005 10:38 AM To: Access Developers discussion and problem solving Subject: RE: [AccessD] OT: Sharepoint Security (SOLVED) Here's a link to M$ for the answer: http://www.microsoft.com/windowsserver2003/technologies/sharepoint/default.m spx In a nutshell it's a collaboration web site where teams can share documents in multiple libraries, share contacts, task lists, calendars and more. It's easily customizable and a pretty cool tool IMHO. You can set up your own user groups and customize access at every function level. If you run Windows Server 2003 you have a copy of SP Services already. The Portal version is the big brother and must be purchased. HTH, Jim DeMarco -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Jim Lawrence Sent: Wednesday, June 22, 2005 12:40 PM To: 'Access Developers discussion and problem solving' Subject: RE: [AccessD] OT: Sharepoint Security (SOLVED) Hi All: Given that this question will seem simple and slightly ignorant... what is a SharePoint Portal used for and what does it improve or replace. Jim -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Jim DeMarco Sent: Wednesday, June 22, 2005 9:33 AM To: Access Developers discussion and problem solving Subject: RE: [AccessD] OT: Sharepoint Security (SOLVED) The culprit seemed to be that the user(s) in question were members of a Desktop Administrators group that was set up for us. Removing that group from the Sharepoint server machine seems to have corrected the issue (further testing pending). Thanks to all, Jim DeMarco -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Jim DeMarco Sent: Wednesday, June 22, 2005 10:30 AM To: Access Developers discussion and problem solving Subject: RE: [AccessD] OT: Sharepoint Security Well I just set up a non-IT staff member with Read access and that's all he could do (read). When I removed him from the site he could not access it any longer. So it looks like it may be using Windows Security to authenticate users. Unfortunately I need to limit even our IT staff in various sections of the site so I've got to get a work around together. I'll keep you posted. Thanks, Jim DeMarco -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Jim Hewson Sent: Wednesday, June 22, 2005 10:08 AM To: Access Developers discussion and problem solving Subject: RE: [AccessD] OT: Sharepoint Security Jim, I'm a novice, but will become the SharePoint "Expert" when I change jobs, in my company, next month. I'm interested in the outcome of your question. A couple of random thoughts... There are two levels of security for SharePoint. They are Central Administration and Site Administration rights. Central take precedence over site rights. If a person is a member of the Central Administration group which manages the settings for the Web Server and virtual servers, they effectively have Administrative rights to the entire portal. In Site Administration, IIRC, there is a toggle somewhere to designate a person to have the same rights as the parent area or site. Let me know if you have found the solution. Regards, Jim H. -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Jim DeMarco Sent: Wednesday, June 22, 2005 8:04 AM To: AccessD (E-mail) Subject: [AccessD] OT: Sharepoint Security List, I've done some Googling but I can't seem to find the answer to this odd problem. I set up a Sharepoint site as a test bed (Sharepoint Services not Server) and gave a few users access. No matter what rights I give the users they have full admin rights to the sight. I set up custom security groups and the site is completely ignoring them. To further add to the mystery I removed on user (she is not a member of any security group therefore should not have access to the site) and she can still get in with full admin rights. Is it possible that Sharepoint is deferring to Windows rights? These are all IT staff here and have more liberal rights to our network than the average user. Does anyone have a clue? A push in the right direction would be appreciated. TIA Jim DeMarco Director of Application Development Hudson Health Plan ************************************************************************ *********** "This electronic message is intended to be for the use only of the named recipient, and may contain information from Hudson Health Plan (HHP) that is confidential or privileged. If you are not the intended recipient, you are hereby notified that any disclosure, copying, distribution or use of the contents of this message is strictly prohibited. If you have received this message in error or are not the named recipient, please notify us immediately, either by contacting the sender at the electronic mail address noted above or calling HHP at (914) 631-1611. If you are not the intended recipient, please do not forward this email to anyone, and delete and destroy all copies of this message. Thank You". ************************************************************************ *********** -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com **************************************************************************** ******* "This electronic message is intended to be for the use only of the named recipient, and may contain information from Hudson Health Plan (HHP) that is confidential or privileged. If you are not the intended recipient, you are hereby notified that any disclosure, copying, distribution or use of the contents of this message is strictly prohibited. If you have received this message in error or are not the named recipient, please notify us immediately, either by contacting the sender at the electronic mail address noted above or calling HHP at (914) 631-1611. If you are not the intended recipient, please do not forward this email to anyone, and delete and destroy all copies of this message. Thank You". **************************************************************************** ******* -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com **************************************************************************** ******* "This electronic message is intended to be for the use only of the named recipient, and may contain information from Hudson Health Plan (HHP) that is confidential or privileged. If you are not the intended recipient, you are hereby notified that any disclosure, copying, distribution or use of the contents of this message is strictly prohibited. If you have received this message in error or are not the named recipient, please notify us immediately, either by contacting the sender at the electronic mail address noted above or calling HHP at (914) 631-1611. If you are not the intended recipient, please do not forward this email to anyone, and delete and destroy all copies of this message. Thank You". **************************************************************************** ******* -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/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 accessd at shaw.ca Wed Jun 22 18:33:05 2005 From: accessd at shaw.ca (Jim Lawrence) Date: Wed, 22 Jun 2005 16:33:05 -0700 Subject: [AccessD] OT: Sharepoint Security (SOLVED) In-Reply-To: <42B9B617.8080403@shaw.ca> Message-ID: <0III0010CER5GE@l-daemon> Hi Marty: There are some awesome concepts that can be used. I will have to get a demo up and running... I think I have a version hidden down in a pile of M$ CDs... Now to find the room on one of the servers. Jim -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of MartyConnelly Sent: Wednesday, June 22, 2005 12:04 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] OT: Sharepoint Security (SOLVED) I have found you can store ,update and read access tables on a sharepoint server unfortunately my time ran out on the MS test site a few months back. Wouldn't mind finding another free test one In Access 2003 you can use soap via web class, direct xmlhttp or transferdatabase to transfer tables or even documents xls or .doc Sub WWSupload() On Error GoTo errout DoCmd.TransferDatabase transfertype:=acExport, databasetype:="WSS", _ databasename:="http://mconnelly.sharepointsite.com", _ objecttype:=acTable, Source:="Household Inventory", _ Destination:="Household Inventory A", structureonly:=False errout: Debug.Print Err.Number & "-" & Err.Description 'http://mconnelly.sharepointsite.com/_vti_bin/Lists.asmx End Sub Sub WWSuploadPics() On Error GoTo errout DoCmd.TransferDatabase transfertype:=acExport, databasetype:="WSS", _ databasename:="http://mconnelly.sharepointsite.com", _ objecttype:=acTable, Source:="Employees", _ Destination:="Employees", structureonly:=False errout: Debug.Print Err.Number & "-" & Err.Description End Sub Sub Click() On Error GoTo Err_Command8_Click ' To see methods of call 'http://www.xmethods.com/detail.html?id=8 'http://www.xmltoday.com/examples/soap/translate.psp Dim URL As String Dim http As New MSXML2.XMLHTTP Dim objResult As New MSXML2.DOMDocument Dim objStyle As New MSXML2.DOMDocument Dim strEnvelopeBegin As String Dim strEnvelopeEnd As String Dim xmlReq As String Dim s As String Dim strReturned As String Dim strQuery As String s = "" & vbCrLf URL = "http://mconnelly.sharepointsite.com/_vti_bin/Lists.asmx" strEnvelopeBegin = " " & vbCrLf & _ " " strEnvelopeEnd = vbCrLf & " " xmlReq = s & strEnvelopeBegin & strEnvelopeEnd Debug.Print xmlReq ' Me!Text0 = xmlReq ' Me!Text2 = URL http.Open "POST", URL, False 'http.setRequestHeader "Accept", "text/xml" http.setRequestHeader "Content-Type", "text/xml" ' http.setRequestHeader "Cache-Control", "no-cache" http.setRequestHeader "SOAPAction", "http://schemas.microsoft.com/sharepoint/soap/GetListCollection" ' http.setRequestHeader "SOAPMethodName", "GetListCollection" http.send xmlReq Debug.Print http.responseText; Len(http.responseText) Debug.Print http.Status; http.statusText WriteFile "C:\Access files\sharepoint\" & "test" & _ Format(Now, "yyyymmddhhmmss") & ".xml", http.responseText Debug.Print http.responseBody; Len(http.responseBody) ' Debug.Print http.responseXML 'objResult = new ActiveXObject ("Microsoft.XMLDOM") objResult.async = False objResult.Load http.responseText 'strQuery = "SOAP:Envelope/SOAP:Body/Hi All: > >Given that this question will seem simple and slightly ignorant... what is a >SharePoint Portal used for and what does it improve or replace. > >Jim > >-----Original Message----- >From: accessd-bounces at databaseadvisors.com >[mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Jim DeMarco >Sent: Wednesday, June 22, 2005 9:33 AM >To: Access Developers discussion and problem solving >Subject: RE: [AccessD] OT: Sharepoint Security (SOLVED) > >The culprit seemed to be that the user(s) in question were members of a >Desktop Administrators group that was set up for us. Removing that group >from the Sharepoint server machine seems to have corrected the issue >(further testing pending). > >Thanks to all, > >Jim DeMarco > >-----Original Message----- >From: accessd-bounces at databaseadvisors.com >[mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Jim DeMarco >Sent: Wednesday, June 22, 2005 10:30 AM >To: Access Developers discussion and problem solving >Subject: RE: [AccessD] OT: Sharepoint Security > > >Well I just set up a non-IT staff member with Read access and that's all he >could do (read). When I removed him from the site he could not access it >any longer. So it looks like it may be using Windows Security to >authenticate users. Unfortunately I need to limit even our IT staff in >various sections of the site so I've got to get a work around together. > >I'll keep you posted. > >Thanks, > >Jim DeMarco > >-----Original Message----- >From: accessd-bounces at databaseadvisors.com >[mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Jim Hewson >Sent: Wednesday, June 22, 2005 10:08 AM >To: Access Developers discussion and problem solving >Subject: RE: [AccessD] OT: Sharepoint Security > > >Jim, >I'm a novice, but will become the SharePoint "Expert" when I change >jobs, in my company, next month. I'm interested in the outcome of your >question. >A couple of random thoughts... >There are two levels of security for SharePoint. They are Central >Administration and Site Administration rights. Central take precedence >over site rights. If a person is a member of the Central Administration >group which manages the settings for the Web Server and virtual servers, >they effectively have Administrative rights to the entire portal. >In Site Administration, IIRC, there is a toggle somewhere to designate a >person to have the same rights as the parent area or site. >Let me know if you have found the solution. >Regards, >Jim H. > >-----Original Message----- >From: accessd-bounces at databaseadvisors.com >[mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Jim DeMarco >Sent: Wednesday, June 22, 2005 8:04 AM >To: AccessD (E-mail) >Subject: [AccessD] OT: Sharepoint Security > >List, > >I've done some Googling but I can't seem to find the answer to this odd >problem. I set up a Sharepoint site as a test bed (Sharepoint Services >not Server) and gave a few users access. No matter what rights I give >the users they have full admin rights to the sight. I set up custom >security groups and the site is completely ignoring them. To further >add to the mystery I removed on user (she is not a member of any >security group therefore should not have access to the site) and she can >still get in with full admin rights. Is it possible that Sharepoint is >deferring to Windows rights? These are all IT staff here and have more >liberal rights to our network than the average user. > >Does anyone have a clue? A push in the right direction would be >appreciated. > >TIA > >Jim DeMarco >Director of Application Development >Hudson Health Plan > > > >************************************************************************ >*********** >"This electronic message is intended to be for the use only of the named >recipient, and may contain information from Hudson Health Plan (HHP) >that is confidential or privileged. If you are not the intended >recipient, you are hereby notified that any disclosure, copying, >distribution or use of the contents of this message is strictly >prohibited. If you have received this message in error or are not the >named recipient, please notify us immediately, either by contacting the >sender at the electronic mail address noted above or calling HHP at >(914) 631-1611. If you are not the intended recipient, please do not >forward this email to anyone, and delete and destroy all copies of this >message. Thank You". >************************************************************************ >*********** > >-- >AccessD mailing list >AccessD at databaseadvisors.com >http://databaseadvisors.com/mailman/listinfo/accessd >Website: http://www.databaseadvisors.com > > -- 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 Wed Jun 22 18:34:35 2005 From: accessd at shaw.ca (Jim Lawrence) Date: Wed, 22 Jun 2005 16:34:35 -0700 Subject: [AccessD] OT: Sharepoint Security (SOLVED) In-Reply-To: <011401c57754$64dd7380$0100a8c0@Martin> Message-ID: <0III0010JETNHY@l-daemon> Hi Martin: With all this information I should be good to go... I now need to run up SharePoint. Thanks you very much. Jim -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Martin Reid Sent: Wednesday, June 22, 2005 11:01 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] OT: Sharepoint Security (SOLVED) Hi Jim I did a paper for Microsoft on this last year. http://msdn.microsoft.com/library/default.asp?url=/library/en-us/odc_fp2003_ ta/html/odc_FP_whatsnew2003.asp http://msdn.microsoft.com/library/default.asp?url=/library/en-us/odc_fp2003_ ta/html/odc_FP_whatsnew2003.asp May be interesting Martin ----- Original Message ----- From: "Jim DeMarco" To: "Access Developers discussion and problem solving" Sent: Wednesday, June 22, 2005 6:55 PM Subject: RE: [AccessD] OT: Sharepoint Security (SOLVED) > True (SPS is the portal version for the uninitiated). And I didn't even > mention the cool hooks into Office 2003 where you can connect Access to > DBs posted on a site or link Excel sheets for real time data updates. > > JD > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Martin Reid > Sent: Wednesday, June 22, 2005 1:45 PM > To: Access Developers discussion and problem solving > Subject: Re: [AccessD] OT: Sharepoint Security (SOLVED) > > > SPS provides the ability to search and index many WSS sites. It sites on > top > of WSS and allows you to pull them all together. Its a real cool tool for > example full file store search, personal sites, auidences etc etc > > I have sent you a presentation on the very topic I am giving on Friday LOL > > > Martin > > > ----- Original Message ----- > From: "Jim Lawrence" > To: "'Access Developers discussion and problem solving'" > > Sent: Wednesday, June 22, 2005 5:40 PM > Subject: RE: [AccessD] OT: Sharepoint Security (SOLVED) > > >> Hi All: >> >> Given that this question will seem simple and slightly ignorant... what >> is >> a >> SharePoint Portal used for and what does it improve or replace. >> >> Jim >> >> -----Original Message----- >> From: accessd-bounces at databaseadvisors.com >> [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Jim DeMarco >> Sent: Wednesday, June 22, 2005 9:33 AM >> To: Access Developers discussion and problem solving >> Subject: RE: [AccessD] OT: Sharepoint Security (SOLVED) >> >> The culprit seemed to be that the user(s) in question were members of a >> Desktop Administrators group that was set up for us. Removing that group >> from the Sharepoint server machine seems to have corrected the issue >> (further testing pending). >> >> Thanks to all, >> >> Jim DeMarco >> >> -----Original Message----- >> From: accessd-bounces at databaseadvisors.com >> [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Jim DeMarco >> Sent: Wednesday, June 22, 2005 10:30 AM >> To: Access Developers discussion and problem solving >> Subject: RE: [AccessD] OT: Sharepoint Security >> >> >> Well I just set up a non-IT staff member with Read access and that's all >> > he >> could do (read). When I removed him from the site he could not access it >> any longer. So it looks like it may be using Windows Security to >> authenticate users. Unfortunately I need to limit even our IT staff in >> various sections of the site so I've got to get a work around together. >> >> I'll keep you posted. >> >> Thanks, >> >> Jim DeMarco >> >> -----Original Message----- >> From: accessd-bounces at databaseadvisors.com >> [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Jim Hewson >> Sent: Wednesday, June 22, 2005 10:08 AM >> To: Access Developers discussion and problem solving >> Subject: RE: [AccessD] OT: Sharepoint Security >> >> >> Jim, >> I'm a novice, but will become the SharePoint "Expert" when I change >> jobs, in my company, next month. I'm interested in the outcome of your >> question. >> A couple of random thoughts... >> There are two levels of security for SharePoint. They are Central >> Administration and Site Administration rights. Central take precedence >> over site rights. If a person is a member of the Central Administration >> group which manages the settings for the Web Server and virtual servers, >> they effectively have Administrative rights to the entire portal. >> In Site Administration, IIRC, there is a toggle somewhere to designate a >> person to have the same rights as the parent area or site. >> Let me know if you have found the solution. >> Regards, >> Jim H. >> >> -----Original Message----- >> From: accessd-bounces at databaseadvisors.com >> [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Jim DeMarco >> Sent: Wednesday, June 22, 2005 8:04 AM >> To: AccessD (E-mail) >> Subject: [AccessD] OT: Sharepoint Security >> >> List, >> >> I've done some Googling but I can't seem to find the answer to this odd >> problem. I set up a Sharepoint site as a test bed (Sharepoint Services >> not Server) and gave a few users access. No matter what rights I give >> the users they have full admin rights to the sight. I set up custom >> security groups and the site is completely ignoring them. To further >> add to the mystery I removed on user (she is not a member of any >> security group therefore should not have access to the site) and she can >> still get in with full admin rights. Is it possible that Sharepoint is >> deferring to Windows rights? These are all IT staff here and have more >> liberal rights to our network than the average user. >> >> Does anyone have a clue? A push in the right direction would be >> appreciated. >> >> TIA >> >> Jim DeMarco >> Director of Application Development >> Hudson Health Plan >> >> >> >> ************************************************************************ >> *********** >> "This electronic message is intended to be for the use only of the named >> recipient, and may contain information from Hudson Health Plan (HHP) >> that is confidential or privileged. If you are not the intended >> recipient, you are hereby notified that any disclosure, copying, >> distribution or use of the contents of this message is strictly >> prohibited. If you have received this message in error or are not the >> named recipient, please notify us immediately, either by contacting the >> sender at the electronic mail address noted above or calling HHP at >> (914) 631-1611. If you are not the intended recipient, please do not >> forward this email to anyone, and delete and destroy all copies of this >> message. Thank You". >> ************************************************************************ >> *********** >> >> -- >> AccessD mailing list >> AccessD at databaseadvisors.com >> http://databaseadvisors.com/mailman/listinfo/accessd >> Website: http://www.databaseadvisors.com >> -- >> AccessD mailing list >> AccessD at databaseadvisors.com >> http://databaseadvisors.com/mailman/listinfo/accessd >> Website: http://www.databaseadvisors.com >> >> >> >> >> >> >> **************************************************************************** >> ******* >> "This electronic message is intended to be for the use only of the named >> recipient, and may contain information from Hudson Health Plan (HHP) that >> > is >> confidential or privileged. If you are not the intended recipient, you > >> are >> hereby notified that any disclosure, copying, distribution or use of the >> contents of this message is strictly prohibited. If you have received >> this >> message in error or are not the named recipient, please notify us >> immediately, either by contacting the sender at the electronic mail >> address >> noted above or calling HHP at (914) 631-1611. If you are not the intended >> recipient, please do not forward this email to anyone, and delete and >> destroy all copies of this message. Thank You". >> **************************************************************************** >> ******* >> >> -- >> AccessD mailing list >> AccessD at databaseadvisors.com >> http://databaseadvisors.com/mailman/listinfo/accessd >> Website: http://www.databaseadvisors.com >> >> >> >> >> >> >> **************************************************************************** >> ******* >> "This electronic message is intended to be for the use only of the named >> recipient, and may contain information from Hudson Health Plan (HHP) that >> > is >> confidential or privileged. If you are not the intended recipient, you > >> are >> hereby notified that any disclosure, copying, distribution or use of the >> contents of this message is strictly prohibited. If you have received >> this >> message in error or are not the named recipient, please notify us >> immediately, either by contacting the sender at the electronic mail >> address >> noted above or calling HHP at (914) 631-1611. If you are not the intended >> recipient, please do not forward this email to anyone, and delete and >> destroy all copies of this message. Thank You". >> **************************************************************************** >> ******* >> >> -- >> AccessD mailing list >> AccessD at databaseadvisors.com >> http://databaseadvisors.com/mailman/listinfo/accessd >> Website: http://www.databaseadvisors.com >> >> -- >> AccessD mailing list >> AccessD at databaseadvisors.com >> http://databaseadvisors.com/mailman/listinfo/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 accessd at shaw.ca Wed Jun 22 18:42:34 2005 From: accessd at shaw.ca (Jim Lawrence) Date: Wed, 22 Jun 2005 16:42:34 -0700 Subject: [AccessD] OT: Sharepoint Security (SOLVED) In-Reply-To: <011401c57754$64dd7380$0100a8c0@Martin> Message-ID: <0III00419F6YZH@l-daemon> Hi All: If there is anyone who I did not thank for information of the SharePoint Portal subject consider them-selves thanked. Jim From jmhecht at earthlink.net Wed Jun 22 19:02:13 2005 From: jmhecht at earthlink.net (Joe Hecht) Date: Wed, 22 Jun 2005 17:02:13 -0700 Subject: [AccessD] Good Code Bad Code Question In-Reply-To: <5C210A2F04B76B4AB2A18E6FEB81713401CDA669@HDQ06.bepc.net> Message-ID: <000601c57786$cfaf1c90$6401a8c0@laptop1> Kevin wins. Need more bangs and less dots. Joe Hecht Los Angeles CA -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Kevin Bachmeier Sent: Wednesday, June 22, 2005 11:25 AM To: Access Developers discussion and problem solving Subject: RE: [AccessD] Good Code Bad Code Question Try using the '!' instead of the '.' for the control reference: Me!txtCost.Value = Me!cboPartNum.Column(2) Versus: Me.txtCost.Value = Me.cboPartNum.Column(2) -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Joe Hecht Sent: Wednesday, June 22, 2005 1:01 PM To: 'Access Developers discussion and problem solving' Subject: [AccessD] Good Code Bad Code Question The following line of code works correctly Me.txtCost.Value = Me.cboPartNum.Column(2) When I try to compile the code I get an error message that .cboPartNum Method or Data member not found. Any Idea what is up? Option Explicit is set Thanks 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 From jmhecht at earthlink.net Wed Jun 22 19:11:26 2005 From: jmhecht at earthlink.net (Joe Hecht) Date: Wed, 22 Jun 2005 17:11:26 -0700 Subject: [AccessD] Good Code Bad Code Question In-Reply-To: Message-ID: <000701c57788$19176b70$6401a8c0@laptop1> C:\Program Files\Microsoft Office\Office10\MSACCESS.EXE C:\Data\K fernan\62205\PosiChargeFS Programs.mdb /decompile The installation path for access is the MS default. When I run the above I get error message Windows cannot find C:\Program ( Bla Bla Bla) Any thoughts Joe Hecht Los Angeles CA -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Charlotte Foust Sent: Wednesday, June 22, 2005 12:48 PM To: access at joe2.endjunk.com; Access Developers discussion and problem solving Subject: RE: [AccessD] Good Code Bad Code Question To decompile, you start Access with a command line /decompile argument. Any command line argument requires the full path to the executable be in the shortcut or the command line arg is ignoredCharlotte Foust -----Original Message----- From: Joe Hecht [mailto:jmhecht at earthlink.net] Sent: Wednesday, June 22, 2005 11:37 AM To: 'Access Developers discussion and problem solving' Subject: RE: [AccessD] Good Code Bad Code Question See inline Subject: RE: [AccessD] Good Code Bad Code Question You lost me, Joe. You say it works correctly but you get a compile error? If you get a compile error, it shouldn't work. ^ Yes I agree Have you tried decompile and recompile? ^ I have read posts here but maybe I am thick.(Well I am heavy : )) I do not understand how to decompile and recompile I have to say that in later versions of Access, I've had better luck using the afterupdate of a combo to put a non-value column value into another control. Have you tried that? ^That is where the code is. Charlotte Foust Thanks -----Original Message----- From: Joe Hecht [mailto:jmhecht at earthlink.net] Sent: Wednesday, June 22, 2005 11:01 AM To: 'Access Developers discussion and problem solving' Subject: [AccessD] Good Code Bad Code Question The following line of code works correctly Me.txtCost.Value = Me.cboPartNum.Column(2) When I try to compile the code I get an error message that .cboPartNum Method or Data member not found. Any Idea what is up? Option Explicit is set Thanks 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 Wed Jun 22 19:25:02 2005 From: cfoust at infostatsystems.com (Charlotte Foust) Date: Wed, 22 Jun 2005 17:25:02 -0700 Subject: [AccessD] Good Code Bad Code Question Message-ID: The dot works fine until you try and access the columns collection of the combobox object. The syntax just gets Access 2000 and later confused, since it is seeing the combobox as a property of the form rather than a member of a collection. This is one of those increasingly rare cases where you really do need the bang. Of course, when you get to .Net, there *is* no bang .... Charlotte Foust -----Original Message----- From: Joe Hecht [mailto:jmhecht at earthlink.net] Sent: Wednesday, June 22, 2005 5:02 PM To: 'Access Developers discussion and problem solving' Subject: RE: [AccessD] Good Code Bad Code Question Kevin wins. Need more bangs and less dots. Joe Hecht Los Angeles CA -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Kevin Bachmeier Sent: Wednesday, June 22, 2005 11:25 AM To: Access Developers discussion and problem solving Subject: RE: [AccessD] Good Code Bad Code Question Try using the '!' instead of the '.' for the control reference: Me!txtCost.Value = Me!cboPartNum.Column(2) Versus: Me.txtCost.Value = Me.cboPartNum.Column(2) -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Joe Hecht Sent: Wednesday, June 22, 2005 1:01 PM To: 'Access Developers discussion and problem solving' Subject: [AccessD] Good Code Bad Code Question The following line of code works correctly Me.txtCost.Value = Me.cboPartNum.Column(2) When I try to compile the code I get an error message that .cboPartNum Method or Data member not found. Any Idea what is up? Option Explicit is set Thanks 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 cfoust at infostatsystems.com Wed Jun 22 19:26:13 2005 From: cfoust at infostatsystems.com (Charlotte Foust) Date: Wed, 22 Jun 2005 17:26:13 -0700 Subject: [AccessD] Good Code Bad Code Question Message-ID: You need quotes around any path with spaces in it, so both the executable path and the mdb path need to be enclosed in a pair of double quotes each. Charlotte Foust -----Original Message----- From: Joe Hecht [mailto:jmhecht at earthlink.net] Sent: Wednesday, June 22, 2005 5:11 PM To: 'Access Developers discussion and problem solving' Subject: RE: [AccessD] Good Code Bad Code Question C:\Program Files\Microsoft Office\Office10\MSACCESS.EXE C:\Data\K fernan\62205\PosiChargeFS Programs.mdb /decompile The installation path for access is the MS default. When I run the above I get error message Windows cannot find C:\Program ( Bla Bla Bla) Any thoughts Joe Hecht Los Angeles CA -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Charlotte Foust Sent: Wednesday, June 22, 2005 12:48 PM To: access at joe2.endjunk.com; Access Developers discussion and problem solving Subject: RE: [AccessD] Good Code Bad Code Question To decompile, you start Access with a command line /decompile argument. Any command line argument requires the full path to the executable be in the shortcut or the command line arg is ignoredCharlotte Foust -----Original Message----- From: Joe Hecht [mailto:jmhecht at earthlink.net] Sent: Wednesday, June 22, 2005 11:37 AM To: 'Access Developers discussion and problem solving' Subject: RE: [AccessD] Good Code Bad Code Question See inline Subject: RE: [AccessD] Good Code Bad Code Question You lost me, Joe. You say it works correctly but you get a compile error? If you get a compile error, it shouldn't work. ^ Yes I agree Have you tried decompile and recompile? ^ I have read posts here but maybe I am thick.(Well I am heavy : )) I do not understand how to decompile and recompile I have to say that in later versions of Access, I've had better luck using the afterupdate of a combo to put a non-value column value into another control. Have you tried that? ^That is where the code is. Charlotte Foust Thanks -----Original Message----- From: Joe Hecht [mailto:jmhecht at earthlink.net] Sent: Wednesday, June 22, 2005 11:01 AM To: 'Access Developers discussion and problem solving' Subject: [AccessD] Good Code Bad Code Question The following line of code works correctly Me.txtCost.Value = Me.cboPartNum.Column(2) When I try to compile the code I get an error message that .cboPartNum Method or Data member not found. Any Idea what is up? Option Explicit is set Thanks 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 Bruce.Bruen at railcorp.nsw.gov.au Wed Jun 22 19:37:11 2005 From: Bruce.Bruen at railcorp.nsw.gov.au (Bruen, Bruce) Date: Thu, 23 Jun 2005 10:37:11 +1000 Subject: [AccessD] Good Code Bad Code Question Message-ID: "C:\Program Files\Microsoft Office\Office10\MSACCESS.EXE" "C:\Data\K fernan\62205\PosiChargeFS Programs.mdb" /decompile I just love Moronsoft's implemntation of long file names. bruce -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Joe Hecht Sent: Thursday, 23 June 2005 10:11 AM To: 'Access Developers discussion and problem solving' Subject: RE: [AccessD] Good Code Bad Code Question C:\Program Files\Microsoft Office\Office10\MSACCESS.EXE C:\Data\K fernan\62205\PosiChargeFS Programs.mdb /decompile The installation path for access is the MS default. When I run the above I get error message Windows cannot find C:\Program ( Bla Bla Bla) Any thoughts Joe Hecht Los Angeles CA -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Charlotte Foust Sent: Wednesday, June 22, 2005 12:48 PM To: access at joe2.endjunk.com; Access Developers discussion and problem solving Subject: RE: [AccessD] Good Code Bad Code Question To decompile, you start Access with a command line /decompile argument. Any command line argument requires the full path to the executable be in the shortcut or the command line arg is ignoredCharlotte Foust -----Original Message----- From: Joe Hecht [mailto:jmhecht at earthlink.net] Sent: Wednesday, June 22, 2005 11:37 AM To: 'Access Developers discussion and problem solving' Subject: RE: [AccessD] Good Code Bad Code Question See inline Subject: RE: [AccessD] Good Code Bad Code Question You lost me, Joe. You say it works correctly but you get a compile error? If you get a compile error, it shouldn't work. ^ Yes I agree Have you tried decompile and recompile? ^ I have read posts here but maybe I am thick.(Well I am heavy : )) I do not understand how to decompile and recompile I have to say that in later versions of Access, I've had better luck using the afterupdate of a combo to put a non-value column value into another control. Have you tried that? ^That is where the code is. Charlotte Foust Thanks -----Original Message----- From: Joe Hecht [mailto:jmhecht at earthlink.net] Sent: Wednesday, June 22, 2005 11:01 AM To: 'Access Developers discussion and problem solving' Subject: [AccessD] Good Code Bad Code Question The following line of code works correctly Me.txtCost.Value = Me.cboPartNum.Column(2) When I try to compile the code I get an error message that .cboPartNum Method or Data member not found. Any Idea what is up? Option Explicit is set Thanks 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 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 dejpolsys at hotmail.com Wed Jun 22 20:55:45 2005 From: dejpolsys at hotmail.com (William Hindman) Date: Wed, 22 Jun 2005 21:55:45 -0400 Subject: [AccessD] Open File Dialog Box Call Fails References: <00b401c57736$57c70fd0$6c01a8c0@HAL9004> Message-ID: ..the comdlg32.dll is probably the most screwed with dll by 3rd party apps ..see if his admin has disabled Windows File Protection ...or better yet, have him run a System File Check on each affected system ...if that fails to correct the problem, try a System Restore to a date before the problem first appeared. William ----- Original Message ----- From: "Rocky Smolin - Beach Access Software" To: ; "dba-tech" Cc: "Ben Saltzer" Sent: Wednesday, June 22, 2005 10:26 AM Subject: [AccessD] Open File Dialog Box Call Fails Dear List: I have a client who's selling an app I wrote where I use the code from the ADH to call the file open dialog box: Declare Function adh_apiGetOpenFileName Lib "comdlg32.dll" _ Alias "GetOpenFileNameA" (ofn As tagOPENFILENAME) As Boolean I haven't worked on the app for several months and it's been very stable until a couple of weeks ago when this call began to fail with no error message. Just didn't open the dialog box. Then it failed on another computer. Then on another one. Now no computer in his place runs this api. I went over to his place and stepped through the code and sure enough it goes to the api call and then goes right through the api call without opening the dialog box. If we try to drop the common dialog control onto a form in design view from the additional tools list in the toolbox we get a message that says the OLE server isn't registered. So I need to figure out 1) how to get the OLE server registered (unregistered first I suppose) and see if that is somehow hosing the file open dialog box 2) figure out if there's a problem with comdlg32.dll 3) see if I can determine why this app suddenly went south so that it doesn't happen at one of his customer sites. He's using Access 2000 SP-3 but also fails in AXP. The app fails on both W2K and WXP. He's pretty careful about virus scanning. I don't think it is a virus even though it behaves like one. Is it possible that it got hosed by an automatic windows update? Any clue as to what's going on here would be greatly appreciated. MTIA, Rocky Smolin Beach Access Software http://www.e-z-mrp.com 858-259-4334 -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From jmhecht at earthlink.net Wed Jun 22 23:55:24 2005 From: jmhecht at earthlink.net (Joe Hecht) Date: Wed, 22 Jun 2005 21:55:24 -0700 Subject: [AccessD] Just Checking.... In-Reply-To: Message-ID: <003e01c577af$c5146f00$6401a8c0@laptop1> Please share Joe Hecht Los Angeles CA Blame the muscle relaxants for back spasms, please. From ssharkins at bellsouth.net Thu Jun 23 07:49:54 2005 From: ssharkins at bellsouth.net (Susan Harkins) Date: Thu, 23 Jun 2005 08:49:54 -0400 Subject: [AccessD] Expression not working in text box Message-ID: <20050623124955.QFUR4468.ibm61aec.bellsouth.net@SUSANONE> =Forms!mainform!subform.Form.RecordsetClone.RecordCount I've used the above expression before, in a main form, to return a count of the records in a subform. It isn't working in 2003. It works in the Immediate window, so I have no clue what the problem is. :( I know I can just use Count(*) in the subform and reference that control -- and I will if I have to in the end -- but anyone know what they above won't work in 2003? Susan H. From ssharkins at bellsouth.net Thu Jun 23 08:59:59 2005 From: ssharkins at bellsouth.net (Susan Harkins) Date: Thu, 23 Jun 2005 09:59:59 -0400 Subject: [AccessD] Normalizing issue Message-ID: <20050623135959.FMWJ25470.ibm57aec.bellsouth.net@SUSANONE> How do you guys deal with people that use three or more names professionally? I do -- Susan Sales Harkins. Do you store the second name with the first or use three fields? The middle name really isn't a "middle" name. It's actually part of the last name, but the last name is the real last name -- so if you stored it with the last name, you'd have to depend on users to enter it correctly, as in Harkins, Sales -- which is a mistake before you even get started... And how do you write in the flexibility that handles 2 or 3 names? Susan H. From jimdettman at earthlink.net Thu Jun 23 09:32:00 2005 From: jimdettman at earthlink.net (Jim Dettman) Date: Thu, 23 Jun 2005 10:32:00 -0400 Subject: [AccessD] Normalizing issue In-Reply-To: <20050623135959.FMWJ25470.ibm57aec.bellsouth.net@SUSANONE> Message-ID: Susan, I make it part of the last name field. Jim. -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Susan Harkins Sent: Thursday, June 23, 2005 10:00 AM To: 'Access Developers discussion and problem solving' Subject: [AccessD] Normalizing issue How do you guys deal with people that use three or more names professionally? I do -- Susan Sales Harkins. Do you store the second name with the first or use three fields? The middle name really isn't a "middle" name. It's actually part of the last name, but the last name is the real last name -- so if you stored it with the last name, you'd have to depend on users to enter it correctly, as in Harkins, Sales -- which is a mistake before you even get started... And how do you write in the flexibility that handles 2 or 3 names? Susan H. -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From prodevmg at yahoo.com Thu Jun 23 09:39:10 2005 From: prodevmg at yahoo.com (Lonnie Johnson) Date: Thu, 23 Jun 2005 07:39:10 -0700 (PDT) Subject: [AccessD] Normalizing issue In-Reply-To: Message-ID: <20050623143910.93035.qmail@web33101.mail.mud.yahoo.com> Same here. The number of records that have a second last name vs those that don't dosen't warrant our efforts to program around it. We put the burden of keying it in properly on the business/clerical departments. Jim Dettman wrote: Susan, I make it part of the last name field. Jim. -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Susan Harkins Sent: Thursday, June 23, 2005 10:00 AM To: 'Access Developers discussion and problem solving' Subject: [AccessD] Normalizing issue How do you guys deal with people that use three or more names professionally? I do -- Susan Sales Harkins. Do you store the second name with the first or use three fields? The middle name really isn't a "middle" name. It's actually part of the last name, but the last name is the real last name -- so if you stored it with the last name, you'd have to depend on users to enter it correctly, as in Harkins, Sales -- which is a mistake before you even get started... And how do you write in the flexibility that handles 2 or 3 names? Susan H. -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com May God bless you beyond your imagination! Lonnie Johnson ProDev, Professional Development of MS Access Databases Visit me at ==> http://www.prodev.us --------------------------------- Yahoo! Sports Rekindle the Rivalries. Sign up for Fantasy Football From ssharkins at bellsouth.net Thu Jun 23 09:46:12 2005 From: ssharkins at bellsouth.net (Susan Harkins) Date: Thu, 23 Jun 2005 10:46:12 -0400 Subject: [AccessD] Normalizing issue In-Reply-To: <20050623143910.93035.qmail@web33101.mail.mud.yahoo.com> Message-ID: <20050623144612.YQSE5308.ibm66aec.bellsouth.net@SUSANONE> So you both depend on the data entry person to enter Harkins Sales instead of Sales Harkins? That's interesting. ;) Susan H. The number of records that have a second last name vs those that don't dosen't warrant our efforts to program around it. We put the burden of keying it in properly on the business/clerical departments. From kwilliam at ashlandnet.com Thu Jun 23 09:46:43 2005 From: kwilliam at ashlandnet.com (Keith Williamson) Date: Thu, 23 Jun 2005 10:46:43 -0400 Subject: [AccessD] DateName Function In-Reply-To: <20050623135959.FMWJ25470.ibm57aec.bellsouth.net@SUSANONE> Message-ID: <000f01c57802$5fee5610$64aba8c0@ashlandnet.com> Anyone know how to deal with this? I am collating data for daily sales. The data I am given is total sales per day, for the past three years. Ideally I want to turn this into a graphic comparing monthly sales for each year (ie. 3-dimensional comparison of each month's sales, compared to prior history.) The problem I am having is that I run a sum query to give me monthly sales, for each year, using the month function (ie. Month([date]) & year([date])...and summarizing on that.) What I wind up with is: Expr1:Month([date]) field = 1, 2, 3, 4,....12 Expr2:Year([date]) field = 2003, 2004, 2005 SumofSales field = currency value of sales for that month/year One row of data that might be returned: 1, 2003, 25000 Now ...I can make a graph of this...but it doesn't look good 1-2003 vs. 1-2004 vs. 1-2005 Obviously...I would rather it say January 2003 vs. January 2004 vs. January 2005 BUT>>>> When I try to use the DateName Function on Month([date]) field....it doesn't work: DateName([expr1]) When I run the query, I get a request for value dialogue box for Expr1. Do I need to format the function a certain way to get it to calculate DateName on a function(month([date])?? Thanks for any help!!! Regards, Keith E. Williamson Ashland Equipment, Inc phone # (410) 273-1856 fax # (410) 273-1859 From reuben at gfconsultants.com Thu Jun 23 09:59:37 2005 From: reuben at gfconsultants.com (Reuben Cummings) Date: Thu, 23 Jun 2005 09:59:37 -0500 Subject: [AccessD] Normalizing issue In-Reply-To: <20050623144612.YQSE5308.ibm66aec.bellsouth.net@SUSANONE> Message-ID: I use middle name. My feeling is that no one cares if it's actually a last name or middle name. Either way it's in the right place all the time if you use a middle name field. The question really is how is that person listed on legal documents. If, for example, you are listed on your mortgage or social security (or whatever) as Last name = Sales Harkins, First name = Susan then that's the last name, but if you use it "unofficially" then I would make it a middle name. Reuben Cummings GFC, LLC phone: 812.523.1017 email: reuben at gfconsultants.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Susan Harkins Sent: Thursday, June 23, 2005 9:46 AM To: 'Access Developers discussion and problem solving' Subject: RE: [AccessD] Normalizing issue So you both depend on the data entry person to enter Harkins Sales instead of Sales Harkins? That's interesting. ;) Susan H. The number of records that have a second last name vs those that don't dosen't warrant our efforts to program around it. We put the burden of keying it in properly on the business/clerical departments. -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From prodevmg at yahoo.com Thu Jun 23 09:58:05 2005 From: prodevmg at yahoo.com (Lonnie Johnson) Date: Thu, 23 Jun 2005 07:58:05 -0700 (PDT) Subject: [AccessD] Normalizing issue In-Reply-To: <20050623144612.YQSE5308.ibm66aec.bellsouth.net@SUSANONE> Message-ID: <20050623145805.90053.qmail@web33109.mail.mud.yahoo.com> Yes, actually our MIS department and our data entery department work together to enforce standards for data entry such as abreviations and use of special characters. There is also a step of quality control after all data is entered each day to ensure acurracy. Susan Harkins wrote:So you both depend on the data entry person to enter Harkins Sales instead of Sales Harkins? That's interesting. ;) Susan H. The number of records that have a second last name vs those that don't dosen't warrant our efforts to program around it. We put the burden of keying it in properly on the business/clerical departments. -- 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 john at winhaven.net Thu Jun 23 10:04:45 2005 From: john at winhaven.net (John Bartow) Date: Thu, 23 Jun 2005 10:04:45 -0500 Subject: [AccessD] Normalizing issue In-Reply-To: <20050623143910.93035.qmail@web33101.mail.mud.yahoo.com> Message-ID: <200506231504.j5NF4jx8118710@pimout3-ext.prodigy.net> Ditto - I suppose it varies by region/country but we've very little need for it in this area. John B. -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Lonnie Johnson Sent: Thursday, June 23, 2005 9:39 AM To: Access Developers discussion and problem solving Subject: RE: [AccessD] Normalizing issue Same here. The number of records that have a second last name vs those that don't dosen't warrant our efforts to program around it. We put the burden of keying it in properly on the business/clerical departments. Jim Dettman wrote: Susan, I make it part of the last name field. Jim. -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Susan Harkins Sent: Thursday, June 23, 2005 10:00 AM To: 'Access Developers discussion and problem solving' Subject: [AccessD] Normalizing issue How do you guys deal with people that use three or more names professionally? I do -- Susan Sales Harkins. Do you store the second name with the first or use three fields? The middle name really isn't a "middle" name. It's actually part of the last name, but the last name is the real last name -- so if you stored it with the last name, you'd have to depend on users to enter it correctly, as in Harkins, Sales -- which is a mistake before you even get started... And how do you write in the flexibility that handles 2 or 3 names? Susan H. -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com May God bless you beyond your imagination! Lonnie Johnson ProDev, Professional Development of MS Access Databases Visit me at ==> http://www.prodev.us --------------------------------- Yahoo! Sports Rekindle the Rivalries. Sign up for Fantasy Football -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From ssharkins at bellsouth.net Thu Jun 23 10:24:38 2005 From: ssharkins at bellsouth.net (Susan Harkins) Date: Thu, 23 Jun 2005 11:24:38 -0400 Subject: [AccessD] Normalizing issue In-Reply-To: <20050623145805.90053.qmail@web33109.mail.mud.yahoo.com> Message-ID: <20050623152444.MELP25209.ibm63aec.bellsouth.net@SUSANONE> I wrote a two-part article about training a few years ago -- I thought it was a good piece, but they hacked it to shreds. :( Training is a database developer/designer's best friend. :) Susan H. Yes, actually our MIS department and our data entery department work together to enforce standards for data entry such as abreviations and use of special characters. There is also a step of quality control after all data is entered each day to ensure acurracy. Susan Harkins wrote:So you both depend on the data entry person to enter Harkins Sales instead of Sales Harkins? That's interesting. ;) From ssharkins at bellsouth.net Thu Jun 23 10:24:38 2005 From: ssharkins at bellsouth.net (Susan Harkins) Date: Thu, 23 Jun 2005 11:24:38 -0400 Subject: [AccessD] Normalizing issue In-Reply-To: Message-ID: <20050623152456.MEOM25209.ibm63aec.bellsouth.net@SUSANONE> I see your point -- but how do you handle those times when you're not gleaning middle names, just first and last -- for instance, a simple mailing list where you don't want to include middle names, but where the person "goes by" Sales Harkins... You'd leave off Sales -- which isn't a crisis, but could make some people mad. For me, Sales is just part of my writing name -- I don't use it officially -- don't' sign anything with it, but it's an identifier. Years ago, I learned that another Susan Harkins was the editor of another technical journal -- that was just too close for comfort -- I added the Sales. Now, if you sent me a letter addressed to Susan Harkins, I wouldn't care or get angry -- but some might. Is this worth considering? I suppose one answer is to simply always use the middle name in all cases, but that seems overkill. Susan H. I use middle name. My feeling is that no one cares if it's actually a last name or middle name. Either way it's in the right place all the time if you use a middle name field. The question really is how is that person listed on legal documents. If, for example, you are listed on your mortgage or social security (or whatever) as Last name = Sales Harkins, First name = Susan then that's the last name, but if you use it "unofficially" then I would make it a middle name. Reuben Cummings GFC, LLC phone: 812.523.1017 email: reuben at gfconsultants.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Susan Harkins Sent: Thursday, June 23, 2005 9:46 AM To: 'Access Developers discussion and problem solving' Subject: RE: [AccessD] Normalizing issue So you both depend on the data entry person to enter Harkins Sales instead of Sales Harkins? That's interesting. ;) Susan H. The number of records that have a second last name vs those that don't dosen't warrant our efforts to program around it. We put the burden of keying it in properly on the business/clerical departments. -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd 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 Jun 23 10:28:32 2005 From: cfoust at infostatsystems.com (Charlotte Foust) Date: Thu, 23 Jun 2005 08:28:32 -0700 Subject: [AccessD] Just Checking.... Message-ID: Um ... The muscle relaxants or the back spasms?? Charlotte Foust -----Original Message----- From: Joe Hecht [mailto:jmhecht at earthlink.net] Sent: Wednesday, June 22, 2005 9:55 PM To: 'Access Developers discussion and problem solving' Subject: RE: [AccessD] Just Checking.... Please share Joe Hecht Los Angeles CA Blame the muscle relaxants for back spasms, please. -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From mikedorism at verizon.net Thu Jun 23 10:30:11 2005 From: mikedorism at verizon.net (Mike & Doris Manning) Date: Thu, 23 Jun 2005 11:30:11 -0400 Subject: [AccessD] DateName Function In-Reply-To: <000f01c57802$5fee5610$64aba8c0@ashlandnet.com> Message-ID: <000401c57808$736a8780$2f01a8c0@hargrove.internal> Use DatePart to get the month name instead. Doris Manning Database Administrator Hargrove Inc. www.hargroveinc.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Keith Williamson Sent: Thursday, June 23, 2005 10:47 AM To: 'Access Developers discussion and problem solving' Subject: [AccessD] DateName Function Anyone know how to deal with this? I am collating data for daily sales. The data I am given is total sales per day, for the past three years. Ideally I want to turn this into a graphic comparing monthly sales for each year (ie. 3-dimensional comparison of each month's sales, compared to prior history.) The problem I am having is that I run a sum query to give me monthly sales, for each year, using the month function (ie. Month([date]) & year([date])...and summarizing on that.) What I wind up with is: Expr1:Month([date]) field = 1, 2, 3, 4,....12 Expr2:Year([date]) field = 2003, 2004, 2005 SumofSales field = currency value of sales for that month/year One row of data that might be returned: 1, 2003, 25000 Now ...I can make a graph of this...but it doesn't look good 1-2003 vs. 1-2004 vs. 1-2005 Obviously...I would rather it say January 2003 vs. January 2004 vs. January 2005 BUT>>>> When I try to use the DateName Function on Month([date]) field....it doesn't work: DateName([expr1]) When I run the query, I get a request for value dialogue box for Expr1. Do I need to format the function a certain way to get it to calculate DateName on a function(month([date])?? Thanks for any help!!! Regards, Keith E. Williamson Ashland Equipment, Inc phone # (410) 273-1856 fax # (410) 273-1859 -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From cfoust at infostatsystems.com Thu Jun 23 10:33:23 2005 From: cfoust at infostatsystems.com (Charlotte Foust) Date: Thu, 23 Jun 2005 08:33:23 -0700 Subject: [AccessD] Normalizing issue Message-ID: If it isn't a middle or maiden name, what is it? This gets even more tricky with non-English names where "last" names can get really confusing. I generally provide a field for first, middle, and last name and make it the responsibility of the user to enter the appropriate value in the appropriate field. The rules for parsing this can become so draconian, that it hardly seems worth the work to do anything else. Charlotte Foust -----Original Message----- From: Susan Harkins [mailto:ssharkins at bellsouth.net] Sent: Thursday, June 23, 2005 7:00 AM To: 'Access Developers discussion and problem solving' Subject: [AccessD] Normalizing issue How do you guys deal with people that use three or more names professionally? I do -- Susan Sales Harkins. Do you store the second name with the first or use three fields? The middle name really isn't a "middle" name. It's actually part of the last name, but the last name is the real last name -- so if you stored it with the last name, you'd have to depend on users to enter it correctly, as in Harkins, Sales -- which is a mistake before you even get started... And how do you write in the flexibility that handles 2 or 3 names? Susan H. -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From ssharkins at bellsouth.net Thu Jun 23 10:42:31 2005 From: ssharkins at bellsouth.net (Susan Harkins) Date: Thu, 23 Jun 2005 11:42:31 -0400 Subject: [AccessD] Normalizing issue In-Reply-To: Message-ID: <20050623154231.MOKU25209.ibm63aec.bellsouth.net@SUSANONE> If it isn't a middle or maiden name, what is it? This gets even more tricky with non-English names where "last" names can get really confusing. I generally provide a field for first, middle, and last name and make it the responsibility of the user to enter the appropriate value in the appropriate field. The rules for parsing this can become so draconian, that it hardly seems worth the work to do anything else. ========I'm in the middle of creating a database (pro bono) for a writer's organization. It's a simple deal and will require little work -- but this is already cropping up. These people will want their "writing" names with their publications -- I'm thinking about just adding one more field to store their "pen name" or whatever -- but then that becomes a nuisance if their name and professional name are the same -- gotta fill in both or allow for the blanks and go find the real name -- such a nuisance -- I think at this point the middle name is the best solution -- Susan H. From cfoust at infostatsystems.com Thu Jun 23 10:50:47 2005 From: cfoust at infostatsystems.com (Charlotte Foust) Date: Thu, 23 Jun 2005 08:50:47 -0700 Subject: [AccessD] Normalizing issue Message-ID: Since it's a writer's database, a separate *table* for pen names makes a lot of sense. Some writers use multiple pen names, so creating a pseudonym table is the safest way to handle that and relate it to the writer's actual name. You could always use the real name as the default when filling in a pen name. Charlotte Foust -----Original Message----- From: Susan Harkins [mailto:ssharkins at bellsouth.net] Sent: Thursday, June 23, 2005 8:43 AM To: 'Access Developers discussion and problem solving' Subject: RE: [AccessD] Normalizing issue If it isn't a middle or maiden name, what is it? This gets even more tricky with non-English names where "last" names can get really confusing. I generally provide a field for first, middle, and last name and make it the responsibility of the user to enter the appropriate value in the appropriate field. The rules for parsing this can become so draconian, that it hardly seems worth the work to do anything else. ========I'm in the middle of creating a database (pro bono) for a writer's organization. It's a simple deal and will require little work -- but this is already cropping up. These people will want their "writing" names with their publications -- I'm thinking about just adding one more field to store their "pen name" or whatever -- but then that becomes a nuisance if their name and professional name are the same -- gotta fill in both or allow for the blanks and go find the real name -- such a nuisance -- I think at this point the middle name is the best solution -- Susan H. -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From prodevmg at yahoo.com Thu Jun 23 10:53:27 2005 From: prodevmg at yahoo.com (Lonnie Johnson) Date: Thu, 23 Jun 2005 08:53:27 -0700 (PDT) Subject: [AccessD] Normalizing issue In-Reply-To: <20050623152456.MEOM25209.ibm63aec.bellsouth.net@SUSANONE> Message-ID: <20050623155327.10646.qmail@web33109.mail.mud.yahoo.com> Question: What do you do if they actually have a middle name and two last names? Susan Harkins wrote: I see your point -- but how do you handle those times when you're not gleaning middle names, just first and last -- for instance, a simple mailing list where you don't want to include middle names, but where the person "goes by" Sales Harkins... You'd leave off Sales -- which isn't a crisis, but could make some people mad. For me, Sales is just part of my writing name -- I don't use it officially -- don't' sign anything with it, but it's an identifier. Years ago, I learned that another Susan Harkins was the editor of another technical journal -- that was just too close for comfort -- I added the Sales. Now, if you sent me a letter addressed to Susan Harkins, I wouldn't care or get angry -- but some might. Is this worth considering? I suppose one answer is to simply always use the middle name in all cases, but that seems overkill. Susan H. I use middle name. My feeling is that no one cares if it's actually a last name or middle name. Either way it's in the right place all the time if you use a middle name field. The question really is how is that person listed on legal documents. If, for example, you are listed on your mortgage or social security (or whatever) as Last name = Sales Harkins, First name = Susan then that's the last name, but if you use it "unofficially" then I would make it a middle name. Reuben Cummings GFC, LLC phone: 812.523.1017 email: reuben at gfconsultants.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Susan Harkins Sent: Thursday, June 23, 2005 9:46 AM To: 'Access Developers discussion and problem solving' Subject: RE: [AccessD] Normalizing issue So you both depend on the data entry person to enter Harkins Sales instead of Sales Harkins? That's interesting. ;) Susan H. The number of records that have a second last name vs those that don't dosen't warrant our efforts to program around it. We put the burden of keying it in properly on the business/clerical departments. -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/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 kwilliam at ashlandnet.com Thu Jun 23 11:00:32 2005 From: kwilliam at ashlandnet.com (Keith Williamson) Date: Thu, 23 Jun 2005 12:00:32 -0400 Subject: [AccessD] DateName Function In-Reply-To: <000401c57808$736a8780$2f01a8c0@hargrove.internal> Message-ID: <000001c5780c$afdcf000$64aba8c0@ashlandnet.com> AAHHHHH!! Never used that function. PERFECT!!! Thanks!!!! Keith E. Williamson Ashland Equipment, Inc phone # (410) 273-1856 fax # (410) 273-1859 -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Mike & Doris Manning Sent: Thursday, June 23, 2005 11:30 AM To: 'Access Developers discussion and problem solving' Subject: RE: [AccessD] DateName Function Use DatePart to get the month name instead. Doris Manning Database Administrator Hargrove Inc. www.hargroveinc.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Keith Williamson Sent: Thursday, June 23, 2005 10:47 AM To: 'Access Developers discussion and problem solving' Subject: [AccessD] DateName Function Anyone know how to deal with this? I am collating data for daily sales. The data I am given is total sales per day, for the past three years. Ideally I want to turn this into a graphic comparing monthly sales for each year (ie. 3-dimensional comparison of each month's sales, compared to prior history.) The problem I am having is that I run a sum query to give me monthly sales, for each year, using the month function (ie. Month([date]) & year([date])...and summarizing on that.) What I wind up with is: Expr1:Month([date]) field = 1, 2, 3, 4,....12 Expr2:Year([date]) field = 2003, 2004, 2005 SumofSales field = currency value of sales for that month/year One row of data that might be returned: 1, 2003, 25000 Now ...I can make a graph of this...but it doesn't look good 1-2003 vs. 1-2004 vs. 1-2005 Obviously...I would rather it say January 2003 vs. January 2004 vs. January 2005 BUT>>>> When I try to use the DateName Function on Month([date]) field....it doesn't work: DateName([expr1]) When I run the query, I get a request for value dialogue box for Expr1. Do I need to format the function a certain way to get it to calculate DateName on a function(month([date])?? Thanks for any help!!! Regards, Keith E. Williamson Ashland Equipment, Inc phone # (410) 273-1856 fax # (410) 273-1859 -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From bchacc at san.rr.com Thu Jun 23 11:25:31 2005 From: bchacc at san.rr.com (Rocky Smolin - Beach Access Software) Date: Thu, 23 Jun 2005 09:25:31 -0700 Subject: [AccessD] Turn Off Help Box in Access 2003 Message-ID: <008701c57810$2cf39d20$6701a8c0@HAL9004> Dear List: In access 2003 up in the right corner by the maximize, minimize and close buttons there's a help box. Does anyone know the syntax for turning this thing off through code? MTIA Rocky Smolin Beach Access Software http://www.e-z-mrp.com 858-259-4334 From reuben at gfconsultants.com Thu Jun 23 11:38:34 2005 From: reuben at gfconsultants.com (Reuben Cummings) Date: Thu, 23 Jun 2005 11:38:34 -0500 Subject: [AccessD] Normalizing issue In-Reply-To: <20050623152456.MEOM25209.ibm63aec.bellsouth.net@SUSANONE> Message-ID: >>I see your point -- but how do you handle those times when you're not gleaning middle names, just first and last >>What do you do if they actually have a middle name and two last names? Again, I feel it depends on their legal name or how they register themselves. If someone is hell bent on being called Sales Harkins (sorry Susan, but you are the best example we have going) then that should be entered as the last name, IMO. Of course, you could store the names in any manner and do something like Outlook does where it automatically gives you options of how to store and show the name. I think this is the best way - to create a routine for defining the name to use. For example, my mom had an employee called Janine (last name Baxter). However, she insisted that all writing to her or any she signed be done as N. Janine Baxter. In the example I am making above you could make the first name N., middle name Janine, last name Baxter and then define it in a separate procedure to print that way. This is one of those never ending arguments, isn't it. :) Reuben Cummings GFC, LLC phone: 812.523.1017 email: reuben at gfconsultants.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Susan Harkins Sent: Thursday, June 23, 2005 10:25 AM To: 'Access Developers discussion and problem solving' Subject: RE: [AccessD] Normalizing issue I see your point -- but how do you handle those times when you're not gleaning middle names, just first and last -- for instance, a simple mailing list where you don't want to include middle names, but where the person "goes by" Sales Harkins... You'd leave off Sales -- which isn't a crisis, but could make some people mad. For me, Sales is just part of my writing name -- I don't use it officially -- don't' sign anything with it, but it's an identifier. Years ago, I learned that another Susan Harkins was the editor of another technical journal -- that was just too close for comfort -- I added the Sales. Now, if you sent me a letter addressed to Susan Harkins, I wouldn't care or get angry -- but some might. Is this worth considering? I suppose one answer is to simply always use the middle name in all cases, but that seems overkill. Susan H. I use middle name. My feeling is that no one cares if it's actually a last name or middle name. Either way it's in the right place all the time if you use a middle name field. The question really is how is that person listed on legal documents. If, for example, you are listed on your mortgage or social security (or whatever) as Last name = Sales Harkins, First name = Susan then that's the last name, but if you use it "unofficially" then I would make it a middle name. Reuben Cummings GFC, LLC phone: 812.523.1017 email: reuben at gfconsultants.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Susan Harkins Sent: Thursday, June 23, 2005 9:46 AM To: 'Access Developers discussion and problem solving' Subject: RE: [AccessD] Normalizing issue So you both depend on the data entry person to enter Harkins Sales instead of Sales Harkins? That's interesting. ;) Susan H. The number of records that have a second last name vs those that don't dosen't warrant our efforts to program around it. We put the burden of keying it in properly on the business/clerical departments. -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd 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 Jun 23 11:36:30 2005 From: john at winhaven.net (John Bartow) Date: Thu, 23 Jun 2005 11:36:30 -0500 Subject: [AccessD] Normalizing issue In-Reply-To: <20050623154231.MOKU25209.ibm63aec.bellsouth.net@SUSANONE> Message-ID: <200506231636.j5NGaU81135946@pimout1-ext.prodigy.net> Some cultures commonly use hyphenated names which include the maternal and paternal names for offspring. Anyone on the list from such an area? Doesn't Spain have one of those cultures? John B. If it isn't a middle or maiden name, what is it? This gets even more tricky with non-English names where "last" names can get really confusing. From john at winhaven.net Thu Jun 23 11:54:53 2005 From: john at winhaven.net (John Bartow) Date: Thu, 23 Jun 2005 11:54:53 -0500 Subject: [AccessD] Normalizing issue In-Reply-To: Message-ID: <200506231654.j5NGsrX0119546@pimout1-ext.prodigy.net> I think so. But I hope you all come with a good answer to this so I can store it in my tips & tricks db :o) I've run into one really bad name example some years ago. I had an app that tracked donors for an organization. The couple wanted BOTH of their names on the address label and she used a hyphenated name but he didn't. Something like "Joe Smith & Sue Jones-Smith". I could have easily tracked them as individuals but they only wanted ONE piece of mail. I also could have also tracked them as an Organization or Business and used "Joe Smith & Sue Jones-Smith" as an Organization name, with both of them listed as contacts for the Organization but that didn't cover every single instance of mailing and/or reports quite correctly and my customer didn't want to offend any of their donors by accident. I think we ended up putting his first & last name in the firstname field and her first name and hyphenated last-name in the lastname field. Which of course messed up the alphabetical internal lists of donors. I considered adding a spousename field and doing some complicated queries to get things correctly listed on the label but thankfully (for me anyway) they left the area and quit donating to the organization - problem solved! So the customer was happy and I quit thinking about it. John B. This is one of those never ending arguments, isn't it. :) Reuben Cummings GFC, LLC phone: 812.523.1017 email: reuben at gfconsultants.com From ssharkins at bellsouth.net Thu Jun 23 11:57:53 2005 From: ssharkins at bellsouth.net (Susan Harkins) Date: Thu, 23 Jun 2005 12:57:53 -0400 Subject: [AccessD] Normalizing issue In-Reply-To: Message-ID: <20050623165754.PKKR11957.ibm56aec.bellsouth.net@SUSANONE> I've been considering this, this morning and I think what I've finally come up with is this: A member name -- that's their real name -- which will relate to their books. I "think" I will add a pen name field to the book table -- if they wrote the name under another name, it'll be there for searches, write-up's, whatever. But, there's only going to be one pen name for each book, so I think it's safe to do this. What do you think? Susan H. Since it's a writer's database, a separate *table* for pen names makes a lot of sense. Some writers use multiple pen names, so creating a pseudonym table is the safest way to handle that and relate it to the writer's actual name. You could always use the real name as the default when filling in a pen name. Charlotte Foust -----Original Message----- From: Susan Harkins [mailto:ssharkins at bellsouth.net] Sent: Thursday, June 23, 2005 8:43 AM To: 'Access Developers discussion and problem solving' Subject: RE: [AccessD] Normalizing issue If it isn't a middle or maiden name, what is it? This gets even more tricky with non-English names where "last" names can get really confusing. I generally provide a field for first, middle, and last name and make it the responsibility of the user to enter the appropriate value in the appropriate field. The rules for parsing this can become so draconian, that it hardly seems worth the work to do anything else. ========I'm in the middle of creating a database (pro bono) for a writer's organization. It's a simple deal and will require little work -- but this is already cropping up. These people will want their "writing" names with their publications -- I'm thinking about just adding one more field to store their "pen name" or whatever -- but then that becomes a nuisance if their name and professional name are the same -- gotta fill in both or allow for the blanks and go find the real name -- such a nuisance -- I think at this point the middle name is the best solution -- Susan H. -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From jimdettman at earthlink.net Thu Jun 23 12:08:15 2005 From: jimdettman at earthlink.net (Jim Dettman) Date: Thu, 23 Jun 2005 13:08:15 -0400 Subject: [AccessD] Normalizing issue In-Reply-To: <20050623165754.PKKR11957.ibm56aec.bellsouth.net@SUSANONE> Message-ID: Susan, I'd second Charlotte's comment. I'd definitely would have a field for a pen name. <> No, because I might use the same pen name for many books. If at some point they want to know something like "when was this pen name created", then your in trouble. Should be: tblMembers MemberID MemberName DateCreated tblPenNames PenID PenName DateCreated Bio tblBooks BookID PenID Jim. -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Susan Harkins Sent: Thursday, June 23, 2005 12:58 PM To: 'Access Developers discussion and problem solving' Subject: RE: [AccessD] Normalizing issue I've been considering this, this morning and I think what I've finally come up with is this: A member name -- that's their real name -- which will relate to their books. I "think" I will add a pen name field to the book table -- if they wrote the name under another name, it'll be there for searches, write-up's, whatever. But, there's only going to be one pen name for each book, so I think it's safe to do this. What do you think? Susan H. Since it's a writer's database, a separate *table* for pen names makes a lot of sense. Some writers use multiple pen names, so creating a pseudonym table is the safest way to handle that and relate it to the writer's actual name. You could always use the real name as the default when filling in a pen name. Charlotte Foust -----Original Message----- From: Susan Harkins [mailto:ssharkins at bellsouth.net] Sent: Thursday, June 23, 2005 8:43 AM To: 'Access Developers discussion and problem solving' Subject: RE: [AccessD] Normalizing issue If it isn't a middle or maiden name, what is it? This gets even more tricky with non-English names where "last" names can get really confusing. I generally provide a field for first, middle, and last name and make it the responsibility of the user to enter the appropriate value in the appropriate field. The rules for parsing this can become so draconian, that it hardly seems worth the work to do anything else. ========I'm in the middle of creating a database (pro bono) for a writer's organization. It's a simple deal and will require little work -- but this is already cropping up. These people will want their "writing" names with their publications -- I'm thinking about just adding one more field to store their "pen name" or whatever -- but then that becomes a nuisance if their name and professional name are the same -- gotta fill in both or allow for the blanks and go find the real name -- such a nuisance -- I think at this point the middle name is the best solution -- Susan H. -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From jimdettman at earthlink.net Thu Jun 23 12:10:17 2005 From: jimdettman at earthlink.net (Jim Dettman) Date: Thu, 23 Jun 2005 13:10:17 -0400 Subject: [AccessD] Normalizing issue In-Reply-To: <20050623165754.PKKR11957.ibm56aec.bellsouth.net@SUSANONE> Message-ID: Slight correction: tblMembers MemberID MemberName DateCreated tblPenNames PenID MemberID PenName DateCreated Bio tblBooks BookID PenID Jim. -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Susan Harkins Sent: Thursday, June 23, 2005 12:58 PM To: 'Access Developers discussion and problem solving' Subject: RE: [AccessD] Normalizing issue I've been considering this, this morning and I think what I've finally come up with is this: A member name -- that's their real name -- which will relate to their books. I "think" I will add a pen name field to the book table -- if they wrote the name under another name, it'll be there for searches, write-up's, whatever. But, there's only going to be one pen name for each book, so I think it's safe to do this. What do you think? Susan H. Since it's a writer's database, a separate *table* for pen names makes a lot of sense. Some writers use multiple pen names, so creating a pseudonym table is the safest way to handle that and relate it to the writer's actual name. You could always use the real name as the default when filling in a pen name. Charlotte Foust -----Original Message----- From: Susan Harkins [mailto:ssharkins at bellsouth.net] Sent: Thursday, June 23, 2005 8:43 AM To: 'Access Developers discussion and problem solving' Subject: RE: [AccessD] Normalizing issue If it isn't a middle or maiden name, what is it? This gets even more tricky with non-English names where "last" names can get really confusing. I generally provide a field for first, middle, and last name and make it the responsibility of the user to enter the appropriate value in the appropriate field. The rules for parsing this can become so draconian, that it hardly seems worth the work to do anything else. ========I'm in the middle of creating a database (pro bono) for a writer's organization. It's a simple deal and will require little work -- but this is already cropping up. These people will want their "writing" names with their publications -- I'm thinking about just adding one more field to store their "pen name" or whatever -- but then that becomes a nuisance if their name and professional name are the same -- gotta fill in both or allow for the blanks and go find the real name -- such a nuisance -- I think at this point the middle name is the best solution -- Susan H. -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From ssharkins at bellsouth.net Thu Jun 23 12:10:42 2005 From: ssharkins at bellsouth.net (Susan Harkins) Date: Thu, 23 Jun 2005 13:10:42 -0400 Subject: [AccessD] Normalizing issue In-Reply-To: Message-ID: <20050623171043.PSCL11957.ibm56aec.bellsouth.net@SUSANONE> Yes, a field for the book author name -- but a different table? I was considering that having it as a field in the book table makes it more difficult to relate actual members with each author name -- as they may have more than one. Most in this group aren't going to run into this -- but I'd rather allow for it now than have it bite me in the butt. Susan H. Susan, I'd second Charlotte's comment. I'd definitely would have a field for a pen name. <> No, because I might use the same pen name for many books. If at some point they want to know something like "when was this pen name created", then your in trouble. Should be: tblMembers MemberID MemberName DateCreated tblPenNames PenID PenName DateCreated Bio tblBooks BookID PenID Jim. -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Susan Harkins Sent: Thursday, June 23, 2005 12:58 PM To: 'Access Developers discussion and problem solving' Subject: RE: [AccessD] Normalizing issue I've been considering this, this morning and I think what I've finally come up with is this: A member name -- that's their real name -- which will relate to their books. I "think" I will add a pen name field to the book table -- if they wrote the name under another name, it'll be there for searches, write-up's, whatever. But, there's only going to be one pen name for each book, so I think it's safe to do this. What do you think? Susan H. Since it's a writer's database, a separate *table* for pen names makes a lot of sense. Some writers use multiple pen names, so creating a pseudonym table is the safest way to handle that and relate it to the writer's actual name. You could always use the real name as the default when filling in a pen name. Charlotte Foust -----Original Message----- From: Susan Harkins [mailto:ssharkins at bellsouth.net] Sent: Thursday, June 23, 2005 8:43 AM To: 'Access Developers discussion and problem solving' Subject: RE: [AccessD] Normalizing issue If it isn't a middle or maiden name, what is it? This gets even more tricky with non-English names where "last" names can get really confusing. I generally provide a field for first, middle, and last name and make it the responsibility of the user to enter the appropriate value in the appropriate field. The rules for parsing this can become so draconian, that it hardly seems worth the work to do anything else. ========I'm in the middle of creating a database (pro bono) for a writer's organization. It's a simple deal and will require little work -- but this is already cropping up. These people will want their "writing" names with their publications -- I'm thinking about just adding one more field to store their "pen name" or whatever -- but then that becomes a nuisance if their name and professional name are the same -- gotta fill in both or allow for the blanks and go find the real name -- such a nuisance -- I think at this point the middle name is the best solution -- Susan H. -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From ssharkins at bellsouth.net Thu Jun 23 12:13:04 2005 From: ssharkins at bellsouth.net (Susan Harkins) Date: Thu, 23 Jun 2005 13:13:04 -0400 Subject: [AccessD] Normalizing issue In-Reply-To: Message-ID: <20050623171307.PTPV11957.ibm56aec.bellsouth.net@SUSANONE> OK -- so you're relating the pen name table to the member name and then relating the book table to the pen name table? -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Jim Dettman Sent: Thursday, June 23, 2005 1:10 PM To: Access Developers discussion and problem solving Subject: RE: [AccessD] Normalizing issue Slight correction: tblMembers MemberID MemberName DateCreated tblPenNames PenID MemberID PenName DateCreated Bio tblBooks BookID PenID Jim. -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Susan Harkins Sent: Thursday, June 23, 2005 12:58 PM To: 'Access Developers discussion and problem solving' Subject: RE: [AccessD] Normalizing issue I've been considering this, this morning and I think what I've finally come up with is this: A member name -- that's their real name -- which will relate to their books. I "think" I will add a pen name field to the book table -- if they wrote the name under another name, it'll be there for searches, write-up's, whatever. But, there's only going to be one pen name for each book, so I think it's safe to do this. What do you think? Susan H. Since it's a writer's database, a separate *table* for pen names makes a lot of sense. Some writers use multiple pen names, so creating a pseudonym table is the safest way to handle that and relate it to the writer's actual name. You could always use the real name as the default when filling in a pen name. Charlotte Foust -----Original Message----- From: Susan Harkins [mailto:ssharkins at bellsouth.net] Sent: Thursday, June 23, 2005 8:43 AM To: 'Access Developers discussion and problem solving' Subject: RE: [AccessD] Normalizing issue If it isn't a middle or maiden name, what is it? This gets even more tricky with non-English names where "last" names can get really confusing. I generally provide a field for first, middle, and last name and make it the responsibility of the user to enter the appropriate value in the appropriate field. The rules for parsing this can become so draconian, that it hardly seems worth the work to do anything else. ========I'm in the middle of creating a database (pro bono) for a writer's organization. It's a simple deal and will require little work -- but this is already cropping up. These people will want their "writing" names with their publications -- I'm thinking about just adding one more field to store their "pen name" or whatever -- but then that becomes a nuisance if their name and professional name are the same -- gotta fill in both or allow for the blanks and go find the real name -- such a nuisance -- I think at this point the middle name is the best solution -- Susan H. -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From rl_stewart at highstream.net Thu Jun 23 12:15:23 2005 From: rl_stewart at highstream.net (Robert L. Stewart) Date: Thu, 23 Jun 2005 12:15:23 -0500 Subject: [AccessD] Re: Normalizing issue In-Reply-To: <200506231636.j5NGaYR14067@databaseadvisors.com> References: <200506231636.j5NGaYR14067@databaseadvisors.com> Message-ID: <6.2.1.2.2.20050623121254.0528a990@pop3.highstream.net> Susan, tblParty PartyID tblPartyAlias PartyAliasID PartyID Company_Last_Name Middle_Name First_Name Name_Suffix Robert At 11:36 AM 6/23/2005, you wrote: >Date: Thu, 23 Jun 2005 09:59:59 -0400 >From: "Susan Harkins" >Subject: [AccessD] Normalizing issue >To: "'Access Developers discussion and problem solving'" > >Message-ID: <20050623135959.FMWJ25470.ibm57aec.bellsouth.net at SUSANONE> >Content-Type: text/plain; charset="us-ascii" > >How do you guys deal with people that use three or more names >professionally? I do -- Susan Sales Harkins. > >Do you store the second name with the first or use three fields? The middle >name really isn't a "middle" name. It's actually part of the last name, but >the last name is the real last name -- so if you stored it with the last >name, you'd have to depend on users to enter it correctly, as in Harkins, >Sales -- which is a mistake before you even get started... And how do you >write in the flexibility that handles 2 or 3 names? > >Susan H. From rl_stewart at highstream.net Thu Jun 23 12:21:13 2005 From: rl_stewart at highstream.net (Robert L. Stewart) Date: Thu, 23 Jun 2005 12:21:13 -0500 Subject: [AccessD] Re: Normalizing issue In-Reply-To: <200506231636.j5NGaYR14067@databaseadvisors.com> References: <200506231636.j5NGaYR14067@databaseadvisors.com> Message-ID: <6.2.1.2.2.20050623121942.05229bc8@pop3.highstream.net> Or like my oldest son: Robert Christopher Lawrence Stewart 2 middle names. Not even the social security card shows both, it is C.L. on it. At 11:36 AM 6/23/2005, you wrote: >Date: Thu, 23 Jun 2005 08:53:27 -0700 (PDT) >From: Lonnie Johnson >Subject: RE: [AccessD] Normalizing issue >To: Access Developers discussion and problem solving > >Message-ID: <20050623155327.10646.qmail at web33109.mail.mud.yahoo.com> >Content-Type: text/plain; charset=iso-8859-1 > >Question: > >What do you do if they actually have a middle name and two last names? From jimdettman at earthlink.net Thu Jun 23 12:23:17 2005 From: jimdettman at earthlink.net (Jim Dettman) Date: Thu, 23 Jun 2005 13:23:17 -0400 Subject: [AccessD] Normalizing issue In-Reply-To: <20050623171043.PSCL11957.ibm56aec.bellsouth.net@SUSANONE> Message-ID: Susan, <> That's one of those tough calls. Certainly it is possible that I would have multiple pen names and with each name, may have multiple books. That makes me think a separate table right away. But also consider this: tblMembers MemberID MemberName tblBooks BookID MemberID PenName I write five books and on the 5th one, the user types in "JMD" instead of "JND" as the pen name on the book. Now when I ask the question, "how many books have been written as "JND"?", I'll get the wrong answer. The mistake would get caught if I looked at all the books written under my member name, but only if they know that "JMD" is a mistake and really not a different pen name. That would not happen with a separate table for the pseudonym's. Jim. -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Susan Harkins Sent: Thursday, June 23, 2005 1:11 PM To: 'Access Developers discussion and problem solving' Subject: RE: [AccessD] Normalizing issue Yes, a field for the book author name -- but a different table? I was considering that having it as a field in the book table makes it more difficult to relate actual members with each author name -- as they may have more than one. Most in this group aren't going to run into this -- but I'd rather allow for it now than have it bite me in the butt. Susan H. Susan, I'd second Charlotte's comment. I'd definitely would have a field for a pen name. <> No, because I might use the same pen name for many books. If at some point they want to know something like "when was this pen name created", then your in trouble. Should be: tblMembers MemberID MemberName DateCreated tblPenNames PenID PenName DateCreated Bio tblBooks BookID PenID Jim. -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Susan Harkins Sent: Thursday, June 23, 2005 12:58 PM To: 'Access Developers discussion and problem solving' Subject: RE: [AccessD] Normalizing issue I've been considering this, this morning and I think what I've finally come up with is this: A member name -- that's their real name -- which will relate to their books. I "think" I will add a pen name field to the book table -- if they wrote the name under another name, it'll be there for searches, write-up's, whatever. But, there's only going to be one pen name for each book, so I think it's safe to do this. What do you think? Susan H. Since it's a writer's database, a separate *table* for pen names makes a lot of sense. Some writers use multiple pen names, so creating a pseudonym table is the safest way to handle that and relate it to the writer's actual name. You could always use the real name as the default when filling in a pen name. Charlotte Foust -----Original Message----- From: Susan Harkins [mailto:ssharkins at bellsouth.net] Sent: Thursday, June 23, 2005 8:43 AM To: 'Access Developers discussion and problem solving' Subject: RE: [AccessD] Normalizing issue If it isn't a middle or maiden name, what is it? This gets even more tricky with non-English names where "last" names can get really confusing. I generally provide a field for first, middle, and last name and make it the responsibility of the user to enter the appropriate value in the appropriate field. The rules for parsing this can become so draconian, that it hardly seems worth the work to do anything else. ========I'm in the middle of creating a database (pro bono) for a writer's organization. It's a simple deal and will require little work -- but this is already cropping up. These people will want their "writing" names with their publications -- I'm thinking about just adding one more field to store their "pen name" or whatever -- but then that becomes a nuisance if their name and professional name are the same -- gotta fill in both or allow for the blanks and go find the real name -- such a nuisance -- I think at this point the middle name is the best solution -- Susan H. -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From jimdettman at earthlink.net Thu Jun 23 12:23:17 2005 From: jimdettman at earthlink.net (Jim Dettman) Date: Thu, 23 Jun 2005 13:23:17 -0400 Subject: [AccessD] Normalizing issue In-Reply-To: <20050623171307.PTPV11957.ibm56aec.bellsouth.net@SUSANONE> Message-ID: <> Yes. Jim. -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Susan Harkins Sent: Thursday, June 23, 2005 1:13 PM To: 'Access Developers discussion and problem solving' Subject: RE: [AccessD] Normalizing issue OK -- so you're relating the pen name table to the member name and then relating the book table to the pen name table? -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Jim Dettman Sent: Thursday, June 23, 2005 1:10 PM To: Access Developers discussion and problem solving Subject: RE: [AccessD] Normalizing issue Slight correction: tblMembers MemberID MemberName DateCreated tblPenNames PenID MemberID PenName DateCreated Bio tblBooks BookID PenID Jim. -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Susan Harkins Sent: Thursday, June 23, 2005 12:58 PM To: 'Access Developers discussion and problem solving' Subject: RE: [AccessD] Normalizing issue I've been considering this, this morning and I think what I've finally come up with is this: A member name -- that's their real name -- which will relate to their books. I "think" I will add a pen name field to the book table -- if they wrote the name under another name, it'll be there for searches, write-up's, whatever. But, there's only going to be one pen name for each book, so I think it's safe to do this. What do you think? Susan H. Since it's a writer's database, a separate *table* for pen names makes a lot of sense. Some writers use multiple pen names, so creating a pseudonym table is the safest way to handle that and relate it to the writer's actual name. You could always use the real name as the default when filling in a pen name. Charlotte Foust -----Original Message----- From: Susan Harkins [mailto:ssharkins at bellsouth.net] Sent: Thursday, June 23, 2005 8:43 AM To: 'Access Developers discussion and problem solving' Subject: RE: [AccessD] Normalizing issue If it isn't a middle or maiden name, what is it? This gets even more tricky with non-English names where "last" names can get really confusing. I generally provide a field for first, middle, and last name and make it the responsibility of the user to enter the appropriate value in the appropriate field. The rules for parsing this can become so draconian, that it hardly seems worth the work to do anything else. ========I'm in the middle of creating a database (pro bono) for a writer's organization. It's a simple deal and will require little work -- but this is already cropping up. These people will want their "writing" names with their publications -- I'm thinking about just adding one more field to store their "pen name" or whatever -- but then that becomes a nuisance if their name and professional name are the same -- gotta fill in both or allow for the blanks and go find the real name -- such a nuisance -- I think at this point the middle name is the best solution -- Susan H. -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From jwcolby at colbyconsulting.com Thu Jun 23 12:26:31 2005 From: jwcolby at colbyconsulting.com (John W. Colby) Date: Thu, 23 Jun 2005 13:26:31 -0400 Subject: [AccessD] Just Checking.... In-Reply-To: Message-ID: <000001c57818$b6055c40$6c7aa8c0@ColbyM6805> Hey, the way I read it the muscle relaxants CAUSED the back spasms. At least she was blaming the spasms on the muscle relaxants. ;-) John W. Colby www.ColbyConsulting.com Contribute your unused CPU cycles to 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: Thursday, June 23, 2005 11:29 AM To: Access Developers discussion and problem solving Subject: RE: [AccessD] Just Checking.... Um ... The muscle relaxants or the back spasms?? Charlotte Foust -----Original Message----- From: Joe Hecht [mailto:jmhecht at earthlink.net] Sent: Wednesday, June 22, 2005 9:55 PM To: 'Access Developers discussion and problem solving' Subject: RE: [AccessD] Just Checking.... Please share Joe Hecht Los Angeles CA Blame the muscle relaxants for back spasms, please. -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From rl_stewart at highstream.net Thu Jun 23 12:33:24 2005 From: rl_stewart at highstream.net (Robert L. Stewart) Date: Thu, 23 Jun 2005 12:33:24 -0500 Subject: [AccessD] Re: Normalizing issue In-Reply-To: <200506231700.j5NH0LR19895@databaseadvisors.com> References: <200506231700.j5NH0LR19895@databaseadvisors.com> Message-ID: <6.2.1.2.2.20050623122441.052b36d0@pop3.highstream.net> In a normalized world, they are two parties with individual names that are related to each other by a specific type of relationship. Translated to db design: tblParty PartyID First_Name Middle_Name Last_Name Name_Suffix tblPartyAlias PartyAliasID PartyID GoesByName tblPartyRelationship PartyRelationshipID PartyID RelatedPartyID RelationshipType RelationshipGreeting In the case you listed below, the field RelationshipGreeting would hold the combination of their names the way they wanted them. You could have it default to "Joe and Sue Smith" after setting a relationship type of spouse. The edit it as needed for the special cases. This model also incorporates an alias table to hold the solution to what Susan needs for her pen names. All she would need to do is add a table to relate the pen names to the publisher for the articles being published. Arguments aside, if you think the design through, you will not need to argue. :-) Robert At 12:00 PM 6/23/2005, you wrote: >Date: Thu, 23 Jun 2005 11:54:53 -0500 >From: "John Bartow" >Subject: RE: [AccessD] Normalizing issue >To: "'Access Developers discussion and problem solving'" > >Message-ID: <200506231654.j5NGsrX0119546 at pimout1-ext.prodigy.net> >Content-Type: text/plain; charset="us-ascii" > >I think so. But I hope you all come with a good answer to this so I can >store it in my tips & tricks db :o) > >I've run into one really bad name example some years ago. I had an app that >tracked donors for an organization. The couple wanted BOTH of their names on >the address label and she used a hyphenated name but he didn't. Something >like "Joe Smith & Sue Jones-Smith". > >I could have easily tracked them as individuals but they only wanted ONE >piece of mail. > >I also could have also tracked them as an Organization or Business and used >"Joe Smith & Sue Jones-Smith" as an Organization name, with both of them >listed as contacts for the Organization but that didn't cover every single >instance of mailing and/or reports quite correctly and my customer didn't >want to offend any of their donors by accident. > >I think we ended up putting his first & last name in the firstname field and >her first name and hyphenated last-name in the lastname field. Which of >course messed up the alphabetical internal lists of donors. > >I considered adding a spousename field and doing some complicated queries to >get things correctly listed on the label but thankfully (for me anyway) they >left the area and quit donating to the organization - problem solved! So the >customer was happy and I quit thinking about it. > >John B. > > >This is one of those never ending arguments, isn't it. :) > >Reuben Cummings From DWUTKA at marlow.com Thu Jun 23 12:38:19 2005 From: DWUTKA at marlow.com (DWUTKA at marlow.com) Date: Thu, 23 Jun 2005 12:38:19 -0500 Subject: [AccessD] FW: You have been unsubscribed from the Dba-exec mailing list Message-ID: <123701F54509D9119A4F00D0B747349016D774@main2.marlow.com> Just curious...why was I unsubscribed? Have I been a bad boy or something? Drew -----Original Message----- From: dba-exec-bounces at databaseadvisors.com [mailto:dba-exec-bounces at databaseadvisors.com] Sent: Thursday, June 23, 2005 12:40 PM To: Drew Wutka Subject: You have been unsubscribed from the Dba-exec mailing list Thank you for participating in the managent of DBA From rl_stewart at highstream.net Thu Jun 23 12:36:45 2005 From: rl_stewart at highstream.net (Robert L. Stewart) Date: Thu, 23 Jun 2005 12:36:45 -0500 Subject: [AccessD] Re: Normalizing issue In-Reply-To: <200506231700.j5NH0LR19895@databaseadvisors.com> References: <200506231700.j5NH0LR19895@databaseadvisors.com> Message-ID: <6.2.1.2.2.20050623123609.04d87b48@pop3.highstream.net> Try the alias idea that I sent out a little earlier. I think that would work. At 12:00 PM 6/23/2005, you wrote: >Date: Thu, 23 Jun 2005 12:57:53 -0400 >From: "Susan Harkins" >Subject: RE: [AccessD] Normalizing issue >To: "'Access Developers discussion and problem solving'" > >Message-ID: <20050623165754.PKKR11957.ibm56aec.bellsouth.net at SUSANONE> >Content-Type: text/plain; charset="us-ascii" > >I've been considering this, this morning and I think what I've finally come >up with is this: > >A member name -- that's their real name -- which will relate to their books. >I "think" I will add a pen name field to the book table -- if they wrote the >name under another name, it'll be there for searches, write-up's, whatever. >But, there's only going to be one pen name for each book, so I think it's >safe to do this. What do you think? > >Susan H. From jmhecht at earthlink.net Thu Jun 23 12:48:20 2005 From: jmhecht at earthlink.net (Joe Hecht) Date: Thu, 23 Jun 2005 10:48:20 -0700 Subject: [AccessD] Just Checking.... In-Reply-To: Message-ID: <000101c5781b$bfaddda0$6401a8c0@laptop1> The Meds Joe Hecht Los Angeles CA -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Charlotte Foust Sent: Thursday, June 23, 2005 8:29 AM To: Access Developers discussion and problem solving Subject: RE: [AccessD] Just Checking.... Um ... The muscle relaxants or the back spasms?? Charlotte Foust -----Original Message----- From: Joe Hecht [mailto:jmhecht at earthlink.net] Sent: Wednesday, June 22, 2005 9:55 PM To: 'Access Developers discussion and problem solving' Subject: RE: [AccessD] Just Checking.... Please share Joe Hecht Los Angeles CA Blame the muscle relaxants for back spasms, please. -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd 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 Jun 23 12:48:59 2005 From: john at winhaven.net (John Bartow) Date: Thu, 23 Jun 2005 12:48:59 -0500 Subject: [AccessD] FW: You have been unsubscribed from the Dba-exec mailinglist In-Reply-To: <123701F54509D9119A4F00D0B747349016D774@main2.marlow.com> Message-ID: <200506231749.j5NHmxWJ424108@pimout2-ext.prodigy.net> Actually added you by mistake when I was cleaning up the bod list. I clicked on the wrong shortcut was working in dba-exec and didn't notice right away. Have you gotten the BOD meeting request via the dba-bod list yet? John -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of DWUTKA at marlow.com Sent: Thursday, June 23, 2005 12:38 PM To: AccessD at databaseadvisors.com Subject: [AccessD] FW: You have been unsubscribed from the Dba-exec mailinglist Just curious...why was I unsubscribed? Have I been a bad boy or something? Drew -----Original Message----- From: dba-exec-bounces at databaseadvisors.com [mailto:dba-exec-bounces at databaseadvisors.com] Sent: Thursday, June 23, 2005 12:40 PM To: Drew Wutka Subject: You have been unsubscribed from the Dba-exec mailing list Thank you for participating in the managent of DBA -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From john at winhaven.net Thu Jun 23 12:48:59 2005 From: john at winhaven.net (John Bartow) Date: Thu, 23 Jun 2005 12:48:59 -0500 Subject: [AccessD] Just Checking.... In-Reply-To: <42BA5F98.8107.3B5AFA1@stuart.lexacorp.com.pg> Message-ID: <200506231749.j5NHmxWK424108@pimout2-ext.prodigy.net> Ee-gads, sounds like a lot of work ahead :-( -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Stuart McLachlan Sent: Wednesday, June 22, 2005 4:07 PM To: Access Developers discussion and problem solving Subject: RE: [AccessD] Just Checking.... On 22 Jun 2005 at 11:27, John W. Colby wrote: > ROTFL. Yea, I am getting old. > > I am about to launch a field naming convention discussion so look out. > ;-) > I've just been asked to taske over some apps which were developed in-house by a certain organisation in PNG. Most of them have a table called "MAIN TABLE" which is, believe it or not the main table used for storing data. So far I have also come across fields named DATE and NAME as well as several fields with 40-50 character fieldnames comprising multiple words separated by spaces. -- Stuart -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From john at winhaven.net Thu Jun 23 12:50:35 2005 From: john at winhaven.net (John Bartow) Date: Thu, 23 Jun 2005 12:50:35 -0500 Subject: [AccessD] Re: Normalizing issue In-Reply-To: <6.2.1.2.2.20050623122441.052b36d0@pop3.highstream.net> Message-ID: <200506231750.j5NHoZUh298656@pimout2-ext.prodigy.net> Sounds good, I'm going to give this a whirl when I get a chance. Thanks, John B. -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Robert L. Stewart Sent: Thursday, June 23, 2005 12:33 PM To: accessd at databaseadvisors.com Subject: [AccessD] Re: Normalizing issue In a normalized world, they are two parties with individual names that are related to each other by a specific type of relationship. Translated to db design: tblParty PartyID First_Name Middle_Name Last_Name Name_Suffix tblPartyAlias PartyAliasID PartyID GoesByName tblPartyRelationship PartyRelationshipID PartyID RelatedPartyID RelationshipType RelationshipGreeting In the case you listed below, the field RelationshipGreeting would hold the combination of their names the way they wanted them. You could have it default to "Joe and Sue Smith" after setting a relationship type of spouse. The edit it as needed for the special cases. This model also incorporates an alias table to hold the solution to what Susan needs for her pen names. All she would need to do is add a table to relate the pen names to the publisher for the articles being published. Arguments aside, if you think the design through, you will not need to argue. :-) Robert At 12:00 PM 6/23/2005, you wrote: >Date: Thu, 23 Jun 2005 11:54:53 -0500 >From: "John Bartow" >Subject: RE: [AccessD] Normalizing issue >To: "'Access Developers discussion and problem solving'" > >Message-ID: <200506231654.j5NGsrX0119546 at pimout1-ext.prodigy.net> >Content-Type: text/plain; charset="us-ascii" > >I think so. But I hope you all come with a good answer to this so I can >store it in my tips & tricks db :o) > >I've run into one really bad name example some years ago. I had an app >that tracked donors for an organization. The couple wanted BOTH of >their names on the address label and she used a hyphenated name but he >didn't. Something like "Joe Smith & Sue Jones-Smith". > >I could have easily tracked them as individuals but they only wanted >ONE piece of mail. > >I also could have also tracked them as an Organization or Business and >used "Joe Smith & Sue Jones-Smith" as an Organization name, with both >of them listed as contacts for the Organization but that didn't cover >every single instance of mailing and/or reports quite correctly and my >customer didn't want to offend any of their donors by accident. > >I think we ended up putting his first & last name in the firstname >field and her first name and hyphenated last-name in the lastname >field. Which of course messed up the alphabetical internal lists of donors. > >I considered adding a spousename field and doing some complicated >queries to get things correctly listed on the label but thankfully (for >me anyway) they left the area and quit donating to the organization - >problem solved! So the customer was happy and I quit thinking about it. > >John B. > > >This is one of those never ending arguments, isn't it. :) > >Reuben Cummings -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From ssharkins at bellsouth.net Thu Jun 23 12:51:11 2005 From: ssharkins at bellsouth.net (Susan Harkins) Date: Thu, 23 Jun 2005 13:51:11 -0400 Subject: [AccessD] Just Checking.... In-Reply-To: <200506231749.j5NHmxWK424108@pimout2-ext.prodigy.net> Message-ID: <20050623175112.VXVF7767.ibm60aec.bellsouth.net@SUSANONE> I wonder if Stuart can say, "...show me the money!" :) Susan H. Ee-gads, sounds like a lot of work ahead :-( > I am about to launch a field naming convention discussion so look out. > ;-) From cfoust at infostatsystems.com Thu Jun 23 12:54:47 2005 From: cfoust at infostatsystems.com (Charlotte Foust) Date: Thu, 23 Jun 2005 10:54:47 -0700 Subject: [AccessD] Just Checking.... Message-ID: Darn! LOL Charlotte Foust -----Original Message----- From: Joe Hecht [mailto:jmhecht at earthlink.net] Sent: Thursday, June 23, 2005 10:48 AM To: 'Access Developers discussion and problem solving' Subject: RE: [AccessD] Just Checking.... The Meds Joe Hecht Los Angeles CA -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Charlotte Foust Sent: Thursday, June 23, 2005 8:29 AM To: Access Developers discussion and problem solving Subject: RE: [AccessD] Just Checking.... Um ... The muscle relaxants or the back spasms?? Charlotte Foust -----Original Message----- From: Joe Hecht [mailto:jmhecht at earthlink.net] Sent: Wednesday, June 22, 2005 9:55 PM To: 'Access Developers discussion and problem solving' Subject: RE: [AccessD] Just Checking.... Please share Joe Hecht Los Angeles CA Blame the muscle relaxants for back spasms, please. -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd 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 Thu Jun 23 12:55:45 2005 From: ssharkins at bellsouth.net (Susan Harkins) Date: Thu, 23 Jun 2005 13:55:45 -0400 Subject: [AccessD] Re: Normalizing issue In-Reply-To: <200506231750.j5NHoZUh298656@pimout2-ext.prodigy.net> Message-ID: <20050623175546.WABL7767.ibm60aec.bellsouth.net@SUSANONE> The edit it as needed for the special cases. This model also incorporates an alias table to hold the solution to what Susan needs for her pen names. All she would need to do is add a table to relate the pen names to the publisher for the articles being published. ===========The alias is all one field though -- right? I don't think that would work for pen names as I can see a need for searching on pen name (think Twain) rather than member name -- and a search for Twain isn't going to work if the field is "Mark Twain" Susan H. From jmhecht at earthlink.net Thu Jun 23 12:56:11 2005 From: jmhecht at earthlink.net (Joe Hecht) Date: Thu, 23 Jun 2005 10:56:11 -0700 Subject: [AccessD] Field Naming ( Just once I want to be ahead of JC ) In-Reply-To: <009001c5775d$bb886830$6c7aa8c0@ColbyM6805> Message-ID: <000201c5781c$d79f35c0$6401a8c0@laptop1> So does this mean in your world developers should or should not set relationships in the relationship window. 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: Wednesday, June 22, 2005 12:08 PM To: access at joe2.endjunk.com; 'Access Developers discussion and problem solving' Subject: RE: [AccessD] Field Naming ( Just once I want to be ahead of JC ) The relationship window specifically. John W. Colby www.ColbyConsulting.com Contribute your unused CPU cycles to 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: Wednesday, June 22, 2005 3:07 PM To: 'Access Developers discussion and problem solving' Subject: RE: [AccessD] Field Naming ( Just once I want to be ahead of JC ) John, 2) Relationship finding wizards are for wusses who don't create explicit relationships (should be shot BTW). I set relationships in either the relationship window or when I build queries. Is that where you do it? Have not seen a relationship finding Wizard? Joe -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd 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 Jun 23 12:56:22 2005 From: cfoust at infostatsystems.com (Charlotte Foust) Date: Thu, 23 Jun 2005 10:56:22 -0700 Subject: [AccessD] Just Checking.... Message-ID: NOT! I was blaming the *typo* on the muscle relaxants! So there! I think. Charlotte Foust -----Original Message----- From: John W. Colby [mailto:jwcolby at colbyconsulting.com] Sent: Thursday, June 23, 2005 10:27 AM To: 'Access Developers discussion and problem solving' Subject: RE: [AccessD] Just Checking.... Hey, the way I read it the muscle relaxants CAUSED the back spasms. At least she was blaming the spasms on the muscle relaxants. ;-) John W. Colby www.ColbyConsulting.com Contribute your unused CPU cycles to 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: Thursday, June 23, 2005 11:29 AM To: Access Developers discussion and problem solving Subject: RE: [AccessD] Just Checking.... Um ... The muscle relaxants or the back spasms?? Charlotte Foust -----Original Message----- From: Joe Hecht [mailto:jmhecht at earthlink.net] Sent: Wednesday, June 22, 2005 9:55 PM To: 'Access Developers discussion and problem solving' Subject: RE: [AccessD] Just Checking.... Please share Joe Hecht Los Angeles CA Blame the muscle relaxants for back spasms, please. -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From martyconnelly at shaw.ca Thu Jun 23 13:14:51 2005 From: martyconnelly at shaw.ca (MartyConnelly) Date: Thu, 23 Jun 2005 11:14:51 -0700 Subject: [AccessD] Turn Off Help Box in Access 2003 References: <008701c57810$2cf39d20$6701a8c0@HAL9004> Message-ID: <42BAFC1B.3070008@shaw.ca> What's This? This property of the form can only be turned on by default to Yes when MinMax property set to No So just set Form property What's This to No. Rocky Smolin - Beach Access Software wrote: >Dear List: >In access 2003 up in the right corner by the maximize, minimize and close buttons there's a help box. Does anyone know the syntax for turning this thing off through code? > >MTIA > >Rocky Smolin >Beach Access Software >http://www.e-z-mrp.com >858-259-4334 > > -- Marty Connelly Victoria, B.C. Canada From jmhecht at earthlink.net Thu Jun 23 13:15:12 2005 From: jmhecht at earthlink.net (Joe Hecht) Date: Thu, 23 Jun 2005 11:15:12 -0700 Subject: [AccessD] Normalizing issue In-Reply-To: <200506231654.j5NGsrX0119546@pimout1-ext.prodigy.net> Message-ID: <000301c5781f$7fce8f50$6401a8c0@laptop1> In Designing my invitations tracking DB I looked at today's culture and now have fields for 2 sets of first, middle and last names. I am still working out the code for it but the basics would work here. Joe Hecht Los Angeles CA -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of John Bartow Sent: Thursday, June 23, 2005 9:55 AM To: 'Access Developers discussion and problem solving' Subject: RE: [AccessD] Normalizing issue I think so. But I hope you all come with a good answer to this so I can store it in my tips & tricks db :o) I've run into one really bad name example some years ago. I had an app that tracked donors for an organization. The couple wanted BOTH of their names on the address label and she used a hyphenated name but he didn't. Something like "Joe Smith & Sue Jones-Smith". I could have easily tracked them as individuals but they only wanted ONE piece of mail. I also could have also tracked them as an Organization or Business and used "Joe Smith & Sue Jones-Smith" as an Organization name, with both of them listed as contacts for the Organization but that didn't cover every single instance of mailing and/or reports quite correctly and my customer didn't want to offend any of their donors by accident. I think we ended up putting his first & last name in the firstname field and her first name and hyphenated last-name in the lastname field. Which of course messed up the alphabetical internal lists of donors. I considered adding a spousename field and doing some complicated queries to get things correctly listed on the label but thankfully (for me anyway) they left the area and quit donating to the organization - problem solved! So the customer was happy and I quit thinking about it. John B. This is one of those never ending arguments, isn't it. :) Reuben Cummings GFC, LLC phone: 812.523.1017 email: reuben at gfconsultants.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From ssharkins at bellsouth.net Thu Jun 23 13:28:24 2005 From: ssharkins at bellsouth.net (Susan Harkins) Date: Thu, 23 Jun 2005 14:28:24 -0400 Subject: [AccessD] Normalizing issue In-Reply-To: Message-ID: <20050623182824.MXAF11273.ibm67aec.bellsouth.net@SUSANONE> This is really getting much more complicated than I had planned. Now I have to figure out how to deal with books versus articles. :) I thought about one table that id's each publication as a book, article, etc. but I have one problem. Books are usually in or out of print and that just doesn't apply for articles. If I use a Yes/No for InPrint, then I've got records when an inappropriate value -- No for magazines isn't really correct. I could use a tri-state Yes/No I guess, and put Null to work, but ug... I can have a separate table that stores only book InPrint field. Or, I can just use two different tables, one for books, for mags. Susan H. -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Jim Dettman Sent: Thursday, June 23, 2005 1:23 PM To: Access Developers discussion and problem solving Subject: RE: [AccessD] Normalizing issue <> Yes. Jim. -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Susan Harkins Sent: Thursday, June 23, 2005 1:13 PM To: 'Access Developers discussion and problem solving' Subject: RE: [AccessD] Normalizing issue OK -- so you're relating the pen name table to the member name and then relating the book table to the pen name table? -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Jim Dettman Sent: Thursday, June 23, 2005 1:10 PM To: Access Developers discussion and problem solving Subject: RE: [AccessD] Normalizing issue Slight correction: tblMembers MemberID MemberName DateCreated tblPenNames PenID MemberID PenName DateCreated Bio tblBooks BookID PenID Jim. -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Susan Harkins Sent: Thursday, June 23, 2005 12:58 PM To: 'Access Developers discussion and problem solving' Subject: RE: [AccessD] Normalizing issue I've been considering this, this morning and I think what I've finally come up with is this: A member name -- that's their real name -- which will relate to their books. I "think" I will add a pen name field to the book table -- if they wrote the name under another name, it'll be there for searches, write-up's, whatever. But, there's only going to be one pen name for each book, so I think it's safe to do this. What do you think? Susan H. Since it's a writer's database, a separate *table* for pen names makes a lot of sense. Some writers use multiple pen names, so creating a pseudonym table is the safest way to handle that and relate it to the writer's actual name. You could always use the real name as the default when filling in a pen name. Charlotte Foust -----Original Message----- From: Susan Harkins [mailto:ssharkins at bellsouth.net] Sent: Thursday, June 23, 2005 8:43 AM To: 'Access Developers discussion and problem solving' Subject: RE: [AccessD] Normalizing issue If it isn't a middle or maiden name, what is it? This gets even more tricky with non-English names where "last" names can get really confusing. I generally provide a field for first, middle, and last name and make it the responsibility of the user to enter the appropriate value in the appropriate field. The rules for parsing this can become so draconian, that it hardly seems worth the work to do anything else. ========I'm in the middle of creating a database (pro bono) for a writer's organization. It's a simple deal and will require little work -- but this is already cropping up. These people will want their "writing" names with their publications -- I'm thinking about just adding one more field to store their "pen name" or whatever -- but then that becomes a nuisance if their name and professional name are the same -- gotta fill in both or allow for the blanks and go find the real name -- such a nuisance -- I think at this point the middle name is the best solution -- Susan H. -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd 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 Jun 23 13:28:45 2005 From: jwcolby at colbyconsulting.com (John W. Colby) Date: Thu, 23 Jun 2005 14:28:45 -0400 Subject: [AccessD] Field Naming ( Just once I want to be ahead of JC ) In-Reply-To: <000201c5781c$d79f35c0$6401a8c0@laptop1> Message-ID: <000301c57821$67019ce0$6c7aa8c0@ColbyM6805> Absolutely should. If a relationship exists, and you care about referential integrity, the database engine should enforce it where possible. John W. Colby www.ColbyConsulting.com Contribute your unused CPU cycles to 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, June 23, 2005 1:56 PM To: 'Access Developers discussion and problem solving' Subject: RE: [AccessD] Field Naming ( Just once I want to be ahead of JC ) So does this mean in your world developers should or should not set relationships in the relationship window. 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: Wednesday, June 22, 2005 12:08 PM To: access at joe2.endjunk.com; 'Access Developers discussion and problem solving' Subject: RE: [AccessD] Field Naming ( Just once I want to be ahead of JC ) The relationship window specifically. John W. Colby www.ColbyConsulting.com Contribute your unused CPU cycles to 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: Wednesday, June 22, 2005 3:07 PM To: 'Access Developers discussion and problem solving' Subject: RE: [AccessD] Field Naming ( Just once I want to be ahead of JC ) John, 2) Relationship finding wizards are for wusses who don't create explicit relationships (should be shot BTW). I set relationships in either the relationship window or when I build queries. Is that where you do it? Have not seen a relationship finding Wizard? Joe -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd 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 Jun 23 13:30:17 2005 From: jwcolby at colbyconsulting.com (John W. Colby) Date: Thu, 23 Jun 2005 14:30:17 -0400 Subject: [AccessD] Just Checking.... In-Reply-To: <200506231749.j5NHmxWK424108@pimout2-ext.prodigy.net> Message-ID: <000401c57821$9ae3ee50$6c7aa8c0@ColbyM6805> Yep, it sure does. And of course the last developer to touch the db is responsible for ALL problems. John W. Colby www.ColbyConsulting.com Contribute your unused CPU cycles to 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 Bartow Sent: Thursday, June 23, 2005 1:49 PM To: 'Access Developers discussion and problem solving' Subject: RE: [AccessD] Just Checking.... Ee-gads, sounds like a lot of work ahead :-( -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Stuart McLachlan Sent: Wednesday, June 22, 2005 4:07 PM To: Access Developers discussion and problem solving Subject: RE: [AccessD] Just Checking.... On 22 Jun 2005 at 11:27, John W. Colby wrote: > ROTFL. Yea, I am getting old. > > I am about to launch a field naming convention discussion so look out. > ;-) > I've just been asked to taske over some apps which were developed in-house by a certain organisation in PNG. Most of them have a table called "MAIN TABLE" which is, believe it or not the main table used for storing data. So far I have also come across fields named DATE and NAME as well as several fields with 40-50 character fieldnames comprising multiple words separated by spaces. -- 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 reuben at gfconsultants.com Thu Jun 23 13:44:17 2005 From: reuben at gfconsultants.com (Reuben Cummings) Date: Thu, 23 Jun 2005 13:44:17 -0500 Subject: [AccessD] Re: Normalizing issue In-Reply-To: <6.2.1.2.2.20050623121942.05229bc8@pop3.highstream.net> Message-ID: I feel your pain Robert. My son's full name is Tiller Ried James Bennet Louise Karnes Cummings (my wife handled the naming while I wasn't at the hospital). His SS card shows Tiller RJBLK Cummings My daughters are Delaney Annabelle Lee Cummings and Cali Clarabelle Rose Cummings. My wife likes long names although niether of us have more than one middle name. Reuben Cummings GFC, LLC phone: 812.523.1017 email: reuben at gfconsultants.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Robert L. Stewart Sent: Thursday, June 23, 2005 12:21 PM To: accessd at databaseadvisors.com Subject: [AccessD] Re: Normalizing issue Or like my oldest son: Robert Christopher Lawrence Stewart 2 middle names. Not even the social security card shows both, it is C.L. on it. At 11:36 AM 6/23/2005, you wrote: >Date: Thu, 23 Jun 2005 08:53:27 -0700 (PDT) >From: Lonnie Johnson >Subject: RE: [AccessD] Normalizing issue >To: Access Developers discussion and problem solving > >Message-ID: <20050623155327.10646.qmail at web33109.mail.mud.yahoo.com> >Content-Type: text/plain; charset=iso-8859-1 > >Question: > >What do you do if they actually have a middle name and two last names? -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From artful at rogers.com Thu Jun 23 14:25:49 2005 From: artful at rogers.com (Arthur Fuller) Date: Thu, 23 Jun 2005 15:25:49 -0400 Subject: [AccessD] Exit Access with an error code? In-Reply-To: Message-ID: <200506231925.j5NJPoR22825@databaseadvisors.com> Can anyone tell me how to do this? Assume two cases, to be decided upon examination of a recordset's single row return value. In case one, I want to exit Access with an error code of [any value you like, other than zero]. In case two, I don't want to exit until the user actually exits gracefully (in which case the exit value would presumably be zero). Suggestions? TIA, Arthur From DWUTKA at marlow.com Thu Jun 23 14:30:16 2005 From: DWUTKA at marlow.com (DWUTKA at marlow.com) Date: Thu, 23 Jun 2005 14:30:16 -0500 Subject: [AccessD] FW: You have been unsubscribed from the Dba-exec ma ilinglist Message-ID: <123701F54509D9119A4F00D0B747349016D776@main2.marlow.com> Nope. Drew -----Original Message----- From: John Bartow [mailto:john at winhaven.net] Sent: Thursday, June 23, 2005 12:49 PM To: 'Access Developers discussion and problem solving' Subject: RE: [AccessD] FW: You have been unsubscribed from the Dba-exec mailinglist Actually added you by mistake when I was cleaning up the bod list. I clicked on the wrong shortcut was working in dba-exec and didn't notice right away. Have you gotten the BOD meeting request via the dba-bod list yet? John -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of DWUTKA at marlow.com Sent: Thursday, June 23, 2005 12:38 PM To: AccessD at databaseadvisors.com Subject: [AccessD] FW: You have been unsubscribed from the Dba-exec mailinglist Just curious...why was I unsubscribed? Have I been a bad boy or something? Drew -----Original Message----- From: dba-exec-bounces at databaseadvisors.com [mailto:dba-exec-bounces at databaseadvisors.com] Sent: Thursday, June 23, 2005 12:40 PM To: Drew Wutka Subject: You have been unsubscribed from the Dba-exec mailing list Thank you for participating in the managent of DBA -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd 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 Jun 23 14:34:13 2005 From: artful at rogers.com (Arthur Fuller) Date: Thu, 23 Jun 2005 15:34:13 -0400 Subject: [AccessD] Re: Normalizing issue In-Reply-To: Message-ID: <200506231934.j5NJYDR24700@databaseadvisors.com> You wimps don't know the meaning of long names! LOL. The record for longest given name sequence belongs to a German immigrant to Philadelphia. His given names were: Adolph Blaine Charles David Earl Frederick Gerald Hubert Irvim John Kenneth Loyd Martin Nero Oliver Paul Quincy Randolph Sherman Thomas Uncas Victor Willian Xerxes Yancy Zeus In case you missed it, he's got one name for each letter in the alphabet. But his surname is even more hilarious: Surname: Wolfeschlegelsteinhausenbergerdorffvoralternwarengewissenhaf tschaferswesenchafewarenwholgepflegeundsorgfaltigkeitbeschut zenvonangereifenduchihrraubgiriigfeindewelchevorralternzwolf tausendjahresvorandieerscheinenbanderersteerdeemmeshedrraums chiffgebrauchlichtalsseinursprungvonkraftgestartseinlangefah rthinzwischensternartigraumaufdersuchenachdiesternwelshegeha btbewohnbarplanetenkreisedrehensichundwohinderneurassevanver standigmenshlichkeittkonntevortpflanzenundsicherfreunanleben slamdlichfreudeundruhemitnichteinfurchtvorangreifenvonandere rintlligentgeschopfsvonhinzwischensternartigraum Senior It's gonna take one or more of our German listers to make sense out of this surname! We German-challenged folk have no idea what this might mean. Arthur -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Reuben Cummings Sent: June 23, 2005 2:44 PM To: Access Developers discussion and problem solving Subject: RE: [AccessD] Re: Normalizing issue I feel your pain Robert. My son's full name is Tiller Ried James Bennet Louise Karnes Cummings (my wife handled the naming while I wasn't at the hospital). His SS card shows Tiller RJBLK Cummings My daughters are Delaney Annabelle Lee Cummings and Cali Clarabelle Rose Cummings. My wife likes long names although niether of us have more than one middle name. Reuben Cummings GFC, LLC phone: 812.523.1017 email: reuben at gfconsultants.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Robert L. Stewart Sent: Thursday, June 23, 2005 12:21 PM To: accessd at databaseadvisors.com Subject: [AccessD] Re: Normalizing issue Or like my oldest son: Robert Christopher Lawrence Stewart 2 middle names. Not even the social security card shows both, it is C.L. on it. At 11:36 AM 6/23/2005, you wrote: >Date: Thu, 23 Jun 2005 08:53:27 -0700 (PDT) >From: Lonnie Johnson >Subject: RE: [AccessD] Normalizing issue >To: Access Developers discussion and problem solving > >Message-ID: <20050623155327.10646.qmail at web33109.mail.mud.yahoo.com> >Content-Type: text/plain; charset=iso-8859-1 > >Question: > >What do you do if they actually have a middle name and two last names? -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd 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 Thu Jun 23 14:35:16 2005 From: jimdettman at earthlink.net (Jim Dettman) Date: Thu, 23 Jun 2005 15:35:16 -0400 Subject: [AccessD] Normalizing issue In-Reply-To: <20050623182824.MXAF11273.ibm67aec.bellsouth.net@SUSANONE> Message-ID: Susan, <> Not understanding the publishing business, I'm not sure I fully understand what the problem is. But I guess it depends on how hung up you are on following rules. You can go the simple route and have one table for publications and include the field InPrint and inherent in the interface is that fact that it only applies to books (ie. you hide the control if it's not a book). That's basically a no-no as you said, as all fields really don't pertain to what your supposed to be describing (a publication). The next step would be to have a separate table for each publication type; one for books, one for mag's, video's etc. Then each table only contains the fields that pertain to the type of thing your trying to describe. Last you can go all out and describe the object, it's attributes, and the values for those attributes. For example: tblPublicationTypes - List of all possible publication types (book, mag, article, documentary video, etc). PubTypeID Description tblAttributes - List of all possible attributes that any publication might have. AttribID - PK Description tblPubTypeAttributes - One record for each PubType / Attribute Combination - So this is a list of attributes for a specific type of publication. PubTypeAttribID - PK PubTypeID - FK-A AttribID - FK-B tblPublications - one record per publication PubID - PK PubTypeID - FK Name tblPublicationsValues - One record for each attribute for the type of publication that holds the actual value. PubValueID - PK PubID - FK-A PubTypeAttribID - FK-B Value An example: tblPublicationTypes PubTypeID Description 1 Book 2 Mag 3 Video tblAttributes AttribID Description 1 Title 2 Date Created 3 In Print 4 Media format 5 Author 6 Publication Date 7 Director tblPubTypeAttributes PubTypeAttribID PubTypeID AttribID 1 1 1 2 1 2 3 1 3 4 1 5 5 1 6 6 2 1 7 2 2 8 2 5 9 2 6 10 3 1 11 3 2 12 3 4 13 3 6 14 3 7 So books have the attributes: Title, Date Created, In Print, Author, and publication date. Mag has: Title, Date Created, Author, Publication date. Video has: Title, Date Created, Media Format, Publication Date, and Director. tblPublications - one record per publication PubID PubTypeID 1 1 2 1 3 2 4 3 5 3 So we have 2 books, 1 mag, and 2 videos listed. tblPublicationsValues PubValueID PubID PubTypeAttribID Value 1 1 1 "Jim's First Access Book" 2 1 2 06/15/05 3 1 3 Yes 4 1 4 "JND" 5 1 5 06/18/05 6 2 1 "Jim's Second Access Book" 7 2 2 06/19/05 8 2 3 No 9 2 4 "JND" 10 2 5 11 3 6 "Spy vs Spy" 12 3 7 02/01/05 13 3 8 "JRD" 14 3 9 02/10/05 15 4 10 "eXtreme Skiing" 16 4 11 01/01/00 17 4 12 "AVI" 18 4 13 01/01/01 19 4 14 "Spielberg" 20 5 10 "Sky Diving For beginers" 21 5 11 01/01/99 22 5 12 "35 mm" 23 5 13 01/01/00 24 5 14 "JK Rowling" Whew...think I got all that right. This design is the ultimate in flexability, but certainly the most complex to implement. Without any changes in programming, you can add a new type of "thing" to the database without breaking any normalization rules. Then add instances of those things and assign values to the attributes of them. Two notes: 1. Some might also add to the attribute table or as a seperate table a range of possible values that an attribute can have. 2. They layout above is for someone who believes in surrogate keys. I wouldn't do it that way myself, but simplify a bit. Jim. -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Susan Harkins Sent: Thursday, June 23, 2005 2:28 PM To: 'Access Developers discussion and problem solving' Subject: RE: [AccessD] Normalizing issue This is really getting much more complicated than I had planned. Now I have to figure out how to deal with books versus articles. :) I thought about one table that id's each publication as a book, article, etc. but I have one problem. Books are usually in or out of print and that just doesn't apply for articles. If I use a Yes/No for InPrint, then I've got records when an inappropriate value -- No for magazines isn't really correct. I could use a tri-state Yes/No I guess, and put Null to work, but ug... I can have a separate table that stores only book InPrint field. Or, I can just use two different tables, one for books, for mags. Susan H. -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Jim Dettman Sent: Thursday, June 23, 2005 1:23 PM To: Access Developers discussion and problem solving Subject: RE: [AccessD] Normalizing issue <> Yes. Jim. -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Susan Harkins Sent: Thursday, June 23, 2005 1:13 PM To: 'Access Developers discussion and problem solving' Subject: RE: [AccessD] Normalizing issue OK -- so you're relating the pen name table to the member name and then relating the book table to the pen name table? -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Jim Dettman Sent: Thursday, June 23, 2005 1:10 PM To: Access Developers discussion and problem solving Subject: RE: [AccessD] Normalizing issue Slight correction: tblMembers MemberID MemberName DateCreated tblPenNames PenID MemberID PenName DateCreated Bio tblBooks BookID PenID Jim. -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Susan Harkins Sent: Thursday, June 23, 2005 12:58 PM To: 'Access Developers discussion and problem solving' Subject: RE: [AccessD] Normalizing issue I've been considering this, this morning and I think what I've finally come up with is this: A member name -- that's their real name -- which will relate to their books. I "think" I will add a pen name field to the book table -- if they wrote the name under another name, it'll be there for searches, write-up's, whatever. But, there's only going to be one pen name for each book, so I think it's safe to do this. What do you think? Susan H. Since it's a writer's database, a separate *table* for pen names makes a lot of sense. Some writers use multiple pen names, so creating a pseudonym table is the safest way to handle that and relate it to the writer's actual name. You could always use the real name as the default when filling in a pen name. Charlotte Foust -----Original Message----- From: Susan Harkins [mailto:ssharkins at bellsouth.net] Sent: Thursday, June 23, 2005 8:43 AM To: 'Access Developers discussion and problem solving' Subject: RE: [AccessD] Normalizing issue If it isn't a middle or maiden name, what is it? This gets even more tricky with non-English names where "last" names can get really confusing. I generally provide a field for first, middle, and last name and make it the responsibility of the user to enter the appropriate value in the appropriate field. The rules for parsing this can become so draconian, that it hardly seems worth the work to do anything else. ========I'm in the middle of creating a database (pro bono) for a writer's organization. It's a simple deal and will require little work -- but this is already cropping up. These people will want their "writing" names with their publications -- I'm thinking about just adding one more field to store their "pen name" or whatever -- but then that becomes a nuisance if their name and professional name are the same -- gotta fill in both or allow for the blanks and go find the real name -- such a nuisance -- I think at this point the middle name is the best solution -- Susan H. -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd 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 Jun 23 14:37:19 2005 From: john at winhaven.net (John Bartow) Date: Thu, 23 Jun 2005 14:37:19 -0500 Subject: [AccessD] FW: You have been unsubscribed from the Dba-exec mailinglist In-Reply-To: <123701F54509D9119A4F00D0B747349016D776@main2.marlow.com> Message-ID: <200506231937.j5NJbJkt090452@pimout3-ext.prodigy.net> OK, I'll unsub you from dba-bod and resub you. You should get a welcome and then shortly after you should get the invite to the meeting. John -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of DWUTKA at marlow.com Sent: Thursday, June 23, 2005 2:30 PM To: accessd at databaseadvisors.com Subject: RE: [AccessD] FW: You have been unsubscribed from the Dba-exec mailinglist Nope. Drew -----Original Message----- From: John Bartow [mailto:john at winhaven.net] Sent: Thursday, June 23, 2005 12:49 PM To: 'Access Developers discussion and problem solving' Subject: RE: [AccessD] FW: You have been unsubscribed from the Dba-exec mailinglist Actually added you by mistake when I was cleaning up the bod list. I clicked on the wrong shortcut was working in dba-exec and didn't notice right away. Have you gotten the BOD meeting request via the dba-bod list yet? John -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of DWUTKA at marlow.com Sent: Thursday, June 23, 2005 12:38 PM To: AccessD at databaseadvisors.com Subject: [AccessD] FW: You have been unsubscribed from the Dba-exec mailinglist Just curious...why was I unsubscribed? Have I been a bad boy or something? Drew -----Original Message----- From: dba-exec-bounces at databaseadvisors.com [mailto:dba-exec-bounces at databaseadvisors.com] Sent: Thursday, June 23, 2005 12:40 PM To: Drew Wutka Subject: You have been unsubscribed from the Dba-exec mailing list Thank you for participating in the managent of DBA -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd 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 Thu Jun 23 14:38:57 2005 From: dmcafee at pacbell.net (dmcafee at pacbell.net) Date: Thu, 23 Jun 2005 12:38:57 -0700 Subject: [AccessD] Re: Normalizing issue In-Reply-To: <200506231934.j5NJYDR24700@databaseadvisors.com> Message-ID: I wonder if they nicknamed him "Alfie", short for alphabet ;) D -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Arthur Fuller Sent: Thursday, June 23, 2005 12:34 PM To: 'Access Developers discussion and problem solving' Subject: RE: [AccessD] Re: Normalizing issue You wimps don't know the meaning of long names! LOL. The record for longest given name sequence belongs to a German immigrant to Philadelphia. His given names were: Adolph Blaine Charles David Earl Frederick Gerald Hubert Irvim John Kenneth Loyd Martin Nero Oliver Paul Quincy Randolph Sherman Thomas Uncas Victor Willian Xerxes Yancy Zeus In case you missed it, he's got one name for each letter in the alphabet. But his surname is even more hilarious: Surname: Wolfeschlegelsteinhausenbergerdorffvoralternwarengewissenhaf tschaferswesenchafewarenwholgepflegeundsorgfaltigkeitbeschut zenvonangereifenduchihrraubgiriigfeindewelchevorralternzwolf tausendjahresvorandieerscheinenbanderersteerdeemmeshedrraums chiffgebrauchlichtalsseinursprungvonkraftgestartseinlangefah rthinzwischensternartigraumaufdersuchenachdiesternwelshegeha btbewohnbarplanetenkreisedrehensichundwohinderneurassevanver standigmenshlichkeittkonntevortpflanzenundsicherfreunanleben slamdlichfreudeundruhemitnichteinfurchtvorangreifenvonandere rintlligentgeschopfsvonhinzwischensternartigraum Senior It's gonna take one or more of our German listers to make sense out of this surname! We German-challenged folk have no idea what this might mean. Arthur -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Reuben Cummings Sent: June 23, 2005 2:44 PM To: Access Developers discussion and problem solving Subject: RE: [AccessD] Re: Normalizing issue I feel your pain Robert. My son's full name is Tiller Ried James Bennet Louise Karnes Cummings (my wife handled the naming while I wasn't at the hospital). His SS card shows Tiller RJBLK Cummings My daughters are Delaney Annabelle Lee Cummings and Cali Clarabelle Rose Cummings. My wife likes long names although niether of us have more than one middle name. Reuben Cummings GFC, LLC phone: 812.523.1017 email: reuben at gfconsultants.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Robert L. Stewart Sent: Thursday, June 23, 2005 12:21 PM To: accessd at databaseadvisors.com Subject: [AccessD] Re: Normalizing issue Or like my oldest son: Robert Christopher Lawrence Stewart 2 middle names. Not even the social security card shows both, it is C.L. on it. At 11:36 AM 6/23/2005, you wrote: >Date: Thu, 23 Jun 2005 08:53:27 -0700 (PDT) >From: Lonnie Johnson >Subject: RE: [AccessD] Normalizing issue >To: Access Developers discussion and problem solving > >Message-ID: <20050623155327.10646.qmail at web33109.mail.mud.yahoo.com> >Content-Type: text/plain; charset=iso-8859-1 > >Question: > >What do you do if they actually have a middle name and two last names? -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd 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 Thu Jun 23 14:38:59 2005 From: ssharkins at bellsouth.net (Susan Harkins) Date: Thu, 23 Jun 2005 15:38:59 -0400 Subject: [AccessD] Normalizing issue In-Reply-To: Message-ID: <20050623193900.PGRZ8050.ibm62aec.bellsouth.net@SUSANONE> Jim, I've already gone with separate tables because I got to thinking -- as this things grow I may run into other data that doesn't fit both books and magazines -- Right now, we're just kind of playing with this. But if it works well and is flexible, a lot of different regions could end up using it -- so the more problems I resolve now, the better. Susan H. Susan, <> Not understanding the publishing business, I'm not sure I fully understand what the problem is. But I guess it depends on how hung up you are on following rules. You can go the simple route and have one table for publications and include the field InPrint and inherent in the interface is that fact that it only applies to books (ie. you hide the control if it's not a book). That's basically a no-no as you said, as all fields really don't pertain to what your supposed to be describing (a publication). The next step would be to have a separate table for each publication type; one for books, one for mag's, video's etc. Then each table only contains the fields that pertain to the type of thing your trying to describe. Last you can go all out and describe the object, it's attributes, and the values for those attributes. For example: tblPublicationTypes - List of all possible publication types (book, mag, article, documentary video, etc). PubTypeID Description tblAttributes - List of all possible attributes that any publication might have. AttribID - PK Description tblPubTypeAttributes - One record for each PubType / Attribute Combination - So this is a list of attributes for a specific type of publication. PubTypeAttribID - PK PubTypeID - FK-A AttribID - FK-B tblPublications - one record per publication PubID - PK PubTypeID - FK Name tblPublicationsValues - One record for each attribute for the type of publication that holds the actual value. PubValueID - PK PubID - FK-A PubTypeAttribID - FK-B Value An example: tblPublicationTypes PubTypeID Description 1 Book 2 Mag 3 Video tblAttributes AttribID Description 1 Title 2 Date Created 3 In Print 4 Media format 5 Author 6 Publication Date 7 Director tblPubTypeAttributes PubTypeAttribID PubTypeID AttribID 1 1 1 2 1 2 3 1 3 4 1 5 5 1 6 6 2 1 7 2 2 8 2 5 9 2 6 10 3 1 11 3 2 12 3 4 13 3 6 14 3 7 So books have the attributes: Title, Date Created, In Print, Author, and publication date. Mag has: Title, Date Created, Author, Publication date. Video has: Title, Date Created, Media Format, Publication Date, and Director. tblPublications - one record per publication PubID PubTypeID 1 1 2 1 3 2 4 3 5 3 So we have 2 books, 1 mag, and 2 videos listed. tblPublicationsValues PubValueID PubID PubTypeAttribID Value 1 1 1 "Jim's First Access Book" 2 1 2 06/15/05 3 1 3 Yes 4 1 4 "JND" 5 1 5 06/18/05 6 2 1 "Jim's Second Access Book" 7 2 2 06/19/05 8 2 3 No 9 2 4 "JND" 10 2 5 11 3 6 "Spy vs Spy" 12 3 7 02/01/05 13 3 8 "JRD" 14 3 9 02/10/05 15 4 10 "eXtreme Skiing" 16 4 11 01/01/00 17 4 12 "AVI" 18 4 13 01/01/01 19 4 14 "Spielberg" 20 5 10 "Sky Diving For beginers" 21 5 11 01/01/99 22 5 12 "35 mm" 23 5 13 01/01/00 24 5 14 "JK Rowling" Whew...think I got all that right. This design is the ultimate in flexability, but certainly the most complex to implement. Without any changes in programming, you can add a new type of "thing" to the database without breaking any normalization rules. Then add instances of those things and assign values to the attributes of them. Two notes: 1. Some might also add to the attribute table or as a seperate table a range of possible values that an attribute can have. 2. They layout above is for someone who believes in surrogate keys. I wouldn't do it that way myself, but simplify a bit. Jim. -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Susan Harkins Sent: Thursday, June 23, 2005 2:28 PM To: 'Access Developers discussion and problem solving' Subject: RE: [AccessD] Normalizing issue This is really getting much more complicated than I had planned. Now I have to figure out how to deal with books versus articles. :) I thought about one table that id's each publication as a book, article, etc. but I have one problem. Books are usually in or out of print and that just doesn't apply for articles. If I use a Yes/No for InPrint, then I've got records when an inappropriate value -- No for magazines isn't really correct. I could use a tri-state Yes/No I guess, and put Null to work, but ug... I can have a separate table that stores only book InPrint field. Or, I can just use two different tables, one for books, for mags. Susan H. -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Jim Dettman Sent: Thursday, June 23, 2005 1:23 PM To: Access Developers discussion and problem solving Subject: RE: [AccessD] Normalizing issue <> Yes. Jim. -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Susan Harkins Sent: Thursday, June 23, 2005 1:13 PM To: 'Access Developers discussion and problem solving' Subject: RE: [AccessD] Normalizing issue OK -- so you're relating the pen name table to the member name and then relating the book table to the pen name table? -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Jim Dettman Sent: Thursday, June 23, 2005 1:10 PM To: Access Developers discussion and problem solving Subject: RE: [AccessD] Normalizing issue Slight correction: tblMembers MemberID MemberName DateCreated tblPenNames PenID MemberID PenName DateCreated Bio tblBooks BookID PenID Jim. -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Susan Harkins Sent: Thursday, June 23, 2005 12:58 PM To: 'Access Developers discussion and problem solving' Subject: RE: [AccessD] Normalizing issue I've been considering this, this morning and I think what I've finally come up with is this: A member name -- that's their real name -- which will relate to their books. I "think" I will add a pen name field to the book table -- if they wrote the name under another name, it'll be there for searches, write-up's, whatever. But, there's only going to be one pen name for each book, so I think it's safe to do this. What do you think? Susan H. Since it's a writer's database, a separate *table* for pen names makes a lot of sense. Some writers use multiple pen names, so creating a pseudonym table is the safest way to handle that and relate it to the writer's actual name. You could always use the real name as the default when filling in a pen name. Charlotte Foust -----Original Message----- From: Susan Harkins [mailto:ssharkins at bellsouth.net] Sent: Thursday, June 23, 2005 8:43 AM To: 'Access Developers discussion and problem solving' Subject: RE: [AccessD] Normalizing issue If it isn't a middle or maiden name, what is it? This gets even more tricky with non-English names where "last" names can get really confusing. I generally provide a field for first, middle, and last name and make it the responsibility of the user to enter the appropriate value in the appropriate field. The rules for parsing this can become so draconian, that it hardly seems worth the work to do anything else. ========I'm in the middle of creating a database (pro bono) for a writer's organization. It's a simple deal and will require little work -- but this is already cropping up. These people will want their "writing" names with their publications -- I'm thinking about just adding one more field to store their "pen name" or whatever -- but then that becomes a nuisance if their name and professional name are the same -- gotta fill in both or allow for the blanks and go find the real name -- such a nuisance -- I think at this point the middle name is the best solution -- Susan H. -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd 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 Jun 23 14:36:39 2005 From: DWUTKA at marlow.com (DWUTKA at marlow.com) Date: Thu, 23 Jun 2005 14:36:39 -0500 Subject: [AccessD] FW: You have been unsubscribed from the Dba-exec ma ilinglist Message-ID: <123701F54509D9119A4F00D0B747349016D778@main2.marlow.com> No I got an unscribed from the BOD list email. Really...I didn't mean it...whatever I said! Drew -----Original Message----- From: John Bartow [mailto:john at winhaven.net] Sent: Thursday, June 23, 2005 12:49 PM To: 'Access Developers discussion and problem solving' Subject: RE: [AccessD] FW: You have been unsubscribed from the Dba-exec mailinglist Actually added you by mistake when I was cleaning up the bod list. I clicked on the wrong shortcut was working in dba-exec and didn't notice right away. Have you gotten the BOD meeting request via the dba-bod list yet? John -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of DWUTKA at marlow.com Sent: Thursday, June 23, 2005 12:38 PM To: AccessD at databaseadvisors.com Subject: [AccessD] FW: You have been unsubscribed from the Dba-exec mailinglist Just curious...why was I unsubscribed? Have I been a bad boy or something? Drew -----Original Message----- From: dba-exec-bounces at databaseadvisors.com [mailto:dba-exec-bounces at databaseadvisors.com] Sent: Thursday, June 23, 2005 12:40 PM To: Drew Wutka Subject: You have been unsubscribed from the Dba-exec mailing list Thank you for participating in the managent of DBA -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From rl_stewart at highstream.net Thu Jun 23 14:39:24 2005 From: rl_stewart at highstream.net (Robert L. Stewart) Date: Thu, 23 Jun 2005 14:39:24 -0500 Subject: [AccessD] Re: Normalizing issue In-Reply-To: <200506231828.j5NISbR08908@databaseadvisors.com> References: <200506231828.j5NISbR08908@databaseadvisors.com> Message-ID: <6.2.1.2.2.20050623143607.05596ee0@pop3.highstream.net> Susan, You can incorporate the first, middle, and last name model for the pen name also. Actually, that was the way I had it in the first alias table that I sent out. I compressed it in the last one. And, LIKE "*TWAIN*" would find all instances of it. Just easier if you are looking in the last name field. Robert At 01:28 PM 6/23/2005, you wrote: >Date: Thu, 23 Jun 2005 13:55:45 -0400 >From: "Susan Harkins" >Subject: RE: [AccessD] Re: Normalizing issue >To: "'Access Developers discussion and problem solving'" > >Message-ID: <20050623175546.WABL7767.ibm60aec.bellsouth.net at SUSANONE> >Content-Type: text/plain; charset="us-ascii" > >The edit it as needed for the special cases. This model also incorporates >an alias table to hold the solution to what Susan needs for her pen names. >All she would need to do is add a table to relate the pen names to the >publisher for the articles being published. > >===========The alias is all one field though -- right? I don't think that >would work for pen names as I can see a need for searching on pen name >(think Twain) rather than member name -- and a search for Twain isn't going >to work if the field is "Mark Twain" > >Susan H. From ssharkins at bellsouth.net Thu Jun 23 14:44:54 2005 From: ssharkins at bellsouth.net (Susan Harkins) Date: Thu, 23 Jun 2005 15:44:54 -0400 Subject: [AccessD] Re: Normalizing issue In-Reply-To: Message-ID: <20050623194454.PJJJ8050.ibm62aec.bellsouth.net@SUSANONE> I just think Arthur's up to old tricks again... ;) Susan H. I wonder if they nicknamed him "Alfie", short for alphabet ;) D Surname: Wolfeschlegelsteinhausenbergerdorffvoralternwarengewissenhaf tschaferswesenchafewarenwholgepflegeundsorgfaltigkeitbeschut From rl_stewart at highstream.net Thu Jun 23 14:46:52 2005 From: rl_stewart at highstream.net (Robert L. Stewart) Date: Thu, 23 Jun 2005 14:46:52 -0500 Subject: [AccessD] Re: Normalizing issue In-Reply-To: <200506231828.j5NISbR08908@databaseadvisors.com> References: <200506231828.j5NISbR08908@databaseadvisors.com> Message-ID: <6.2.1.2.2.20050623144137.05532ea8@pop3.highstream.net> Susan, tblPublication PublicationID PublicationType (Book, Article, White Paper, etc.) PublicationTitle AuthorAliasID Then you can add any other information appropriate for the publication, like InPrintFlag, CopyrightDate, PublisherID, etc. Over design!!!! You can always back off an over designed system. It is much harder to fix an under designed system. Robert At 01:28 PM 6/23/2005, you wrote: >Date: Thu, 23 Jun 2005 14:28:24 -0400 >From: "Susan Harkins" >Subject: RE: [AccessD] Normalizing issue >To: "'Access Developers discussion and problem solving'" > >Message-ID: <20050623182824.MXAF11273.ibm67aec.bellsouth.net at SUSANONE> >Content-Type: text/plain; charset="us-ascii" > >This is really getting much more complicated than I had planned. Now I have >to figure out how to deal with books versus articles. :) I thought about one >table that id's each publication as a book, article, etc. but I have one >problem. > >Books are usually in or out of print and that just doesn't apply for >articles. If I use a Yes/No for InPrint, then I've got records when an >inappropriate value -- No for magazines isn't really correct. I could use a >tri-state Yes/No I guess, and put Null to work, but ug... > >I can have a separate table that stores only book InPrint field. Or, I can >just use two different tables, one for books, for mags. > >Susan H. From stuart at lexacorp.com.pg Thu Jun 23 17:30:34 2005 From: stuart at lexacorp.com.pg (Stuart McLachlan) Date: Fri, 24 Jun 2005 08:30:34 +1000 Subject: [AccessD] Re: Normalizing issue In-Reply-To: <20050623194454.PJJJ8050.ibm62aec.bellsouth.net@SUSANONE> References: Message-ID: <42BBC4AA.3771.30398AF@stuart.lexacorp.com.pg> On 23 Jun 2005 at 15:44, Susan Harkins wrote: > I just think Arthur's up to old tricks again... ;) > Nope, see http://www.everything2.com/index.pl?node_id=1534419 -- Stuart From bchacc at san.rr.com Thu Jun 23 17:31:00 2005 From: bchacc at san.rr.com (Rocky Smolin - Beach Access Software) Date: Thu, 23 Jun 2005 15:31:00 -0700 Subject: [AccessD] Turn Off Help Box in Access 2003 References: <008701c57810$2cf39d20$6701a8c0@HAL9004> <42BAFC1B.3070008@shaw.ca> Message-ID: <020f01c57843$3bf3c2e0$6701a8c0@HAL9004> Marty: Didn't work. The help box ( which is a new feature in A2K3) still shows. Rocky ----- Original Message ----- From: "MartyConnelly" To: "Access Developers discussion and problem solving" Sent: Thursday, June 23, 2005 11:14 AM Subject: Re: [AccessD] Turn Off Help Box in Access 2003 > What's This? This property of the form can only be turned on by default > to Yes when MinMax property set to No > So just set Form property What's This to No. > > Rocky Smolin - Beach Access Software wrote: > >>Dear List: >>In access 2003 up in the right corner by the maximize, minimize and close >>buttons there's a help box. Does anyone know the syntax for turning this >>thing off through code? >> >>MTIA >> >>Rocky Smolin >>Beach Access Software >>http://www.e-z-mrp.com >>858-259-4334 >> > > -- > 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 jmhecht at earthlink.net Thu Jun 23 19:51:30 2005 From: jmhecht at earthlink.net (Joe Hecht) Date: Thu, 23 Jun 2005 17:51:30 -0700 Subject: [AccessD] Normalizing issue In-Reply-To: <20050623182824.MXAF11273.ibm67aec.bellsouth.net@SUSANONE> Message-ID: <000401c57856$dcdfc420$6401a8c0@laptop1> Don't all projects. Joe Hecht Los Angeles CA This is really getting much more complicated than I had planned. From martyconnelly at shaw.ca Thu Jun 23 21:26:35 2005 From: martyconnelly at shaw.ca (MartyConnelly) Date: Thu, 23 Jun 2005 19:26:35 -0700 Subject: [AccessD] Turn Off Help Box in Access 2003 References: <008701c57810$2cf39d20$6701a8c0@HAL9004> <42BAFC1B.3070008@shaw.ca> <020f01c57843$3bf3c2e0$6701a8c0@HAL9004> Message-ID: <42BB6F5B.8000501@shaw.ca> Works for me in Access 2003 Min Max Buttons No Whats this button No As a matter of fact on a basic virgin form it will squawk to you that it will not let you turn ON the the Whats This Button to Yes unless MinMax is set to None. Maybe a corrupted form or you have turned on an odd Application.SetOption Rocky Smolin - Beach Access Software wrote: > Marty: > > Didn't work. The help box ( which is a new feature in A2K3) still shows. > > Rocky > > ----- Original Message ----- From: "MartyConnelly" > > To: "Access Developers discussion and problem solving" > > Sent: Thursday, June 23, 2005 11:14 AM > Subject: Re: [AccessD] Turn Off Help Box in Access 2003 > > >> What's This? This property of the form can only be turned on by >> default to Yes when MinMax property set to No >> So just set Form property What's This to No. >> >> Rocky Smolin - Beach Access Software wrote: >> >>> Dear List: >>> In access 2003 up in the right corner by the maximize, minimize and >>> close buttons there's a help box. Does anyone know the syntax for >>> turning this thing off through code? >>> >>> MTIA >>> >>> Rocky Smolin >>> Beach Access Software >>> http://www.e-z-mrp.com >>> 858-259-4334 >>> >> >> -- >> Marty Connelly >> Victoria, B.C. >> Canada >> >> >> >> -- >> 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 bchacc at san.rr.com Thu Jun 23 22:13:30 2005 From: bchacc at san.rr.com (Rocky Smolin - Beach Access Software) Date: Thu, 23 Jun 2005 20:13:30 -0700 Subject: [AccessD] Turn Off Help Box in Access 2003 References: <008701c57810$2cf39d20$6701a8c0@HAL9004> <42BAFC1B.3070008@shaw.ca> <020f01c57843$3bf3c2e0$6701a8c0@HAL9004> <42BB6F5B.8000501@shaw.ca> Message-ID: <02b401c5786a$b2d64320$6701a8c0@HAL9004> MinMax Buttons None. Close button no. What's this No. Everything disappears but the help box. And in the mde, the DoCmd.Maximize doesn't work. So the form doesn't open maximized. But it works for you. I wonder what's going on. I'm pretty sure the form isn't corrupted. Rocky ----- Original Message ----- From: "MartyConnelly" To: "Access Developers discussion and problem solving" Sent: Thursday, June 23, 2005 7:26 PM Subject: Re: [AccessD] Turn Off Help Box in Access 2003 > Works for me in Access 2003 > Min Max Buttons No > Whats this button No > As a matter of fact on a basic virgin form it will squawk to you that it > will not let you turn ON the > the Whats This Button to Yes unless MinMax is set to None. > > Maybe a corrupted form or you have turned on an odd Application.SetOption > > > > > Rocky Smolin - Beach Access Software wrote: > >> Marty: >> >> Didn't work. The help box ( which is a new feature in A2K3) still shows. >> >> Rocky >> >> ----- Original Message ----- From: "MartyConnelly" >> >> To: "Access Developers discussion and problem solving" >> >> Sent: Thursday, June 23, 2005 11:14 AM >> Subject: Re: [AccessD] Turn Off Help Box in Access 2003 >> >> >>> What's This? This property of the form can only be turned on by default >>> to Yes when MinMax property set to No >>> So just set Form property What's This to No. >>> >>> Rocky Smolin - Beach Access Software wrote: >>> >>>> Dear List: >>>> In access 2003 up in the right corner by the maximize, minimize and >>>> close buttons there's a help box. Does anyone know the syntax for >>>> turning this thing off through code? >>>> >>>> MTIA >>>> >>>> Rocky Smolin >>>> Beach Access Software >>>> http://www.e-z-mrp.com >>>> 858-259-4334 >>>> >>> >>> -- >>> Marty Connelly >>> Victoria, B.C. >>> Canada >>> >>> >>> >>> -- >>> 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 D.Dick at uws.edu.au Thu Jun 23 23:00:12 2005 From: D.Dick at uws.edu.au (Darren Dick) Date: Fri, 24 Jun 2005 14:00:12 +1000 Subject: [AccessD] Turn Off Help Box in Access 2003 Message-ID: <2FDE83AF1A69C84796CBD13788DDA88349ACDE@BONHAM.AD.UWS.EDU.AU> Are you Guys talking about the same thing? Marty seems to be talking about the What's this Button Rocky is referring to the Small Search Field Just to the top right of any open screen (A Unique 2003 Feature) That's near the Close|Min/Max|Restore Buttons DD -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Rocky Smolin - Beach Access Software Sent: Friday, June 24, 2005 1:14 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Turn Off Help Box in Access 2003 MinMax Buttons None. Close button no. What's this No. Everything disappears but the help box. And in the mde, the DoCmd.Maximize doesn't work. So the form doesn't open maximized. But it works for you. I wonder what's going on. I'm pretty sure the form isn't corrupted. Rocky ----- Original Message ----- From: "MartyConnelly" To: "Access Developers discussion and problem solving" Sent: Thursday, June 23, 2005 7:26 PM Subject: Re: [AccessD] Turn Off Help Box in Access 2003 > Works for me in Access 2003 > Min Max Buttons No > Whats this button No > As a matter of fact on a basic virgin form it will squawk to you that it > will not let you turn ON the > the Whats This Button to Yes unless MinMax is set to None. > > Maybe a corrupted form or you have turned on an odd Application.SetOption > > > > > Rocky Smolin - Beach Access Software wrote: > >> Marty: >> >> Didn't work. The help box ( which is a new feature in A2K3) still shows. >> >> Rocky >> >> ----- Original Message ----- From: "MartyConnelly" >> >> To: "Access Developers discussion and problem solving" >> >> Sent: Thursday, June 23, 2005 11:14 AM >> Subject: Re: [AccessD] Turn Off Help Box in Access 2003 >> >> >>> What's This? This property of the form can only be turned on by default >>> to Yes when MinMax property set to No >>> So just set Form property What's This to No. >>> >>> Rocky Smolin - Beach Access Software wrote: >>> >>>> Dear List: >>>> In access 2003 up in the right corner by the maximize, minimize and >>>> close buttons there's a help box. Does anyone know the syntax for >>>> turning this thing off through code? >>>> >>>> MTIA >>>> >>>> Rocky Smolin >>>> Beach Access Software >>>> http://www.e-z-mrp.com >>>> 858-259-4334 >>>> >>> >>> -- >>> Marty Connelly >>> Victoria, B.C. >>> Canada >>> >>> >>> >>> -- >>> 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 > -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From bchacc at san.rr.com Thu Jun 23 23:12:15 2005 From: bchacc at san.rr.com (Rocky Smolin - Beach Access Software) Date: Thu, 23 Jun 2005 21:12:15 -0700 Subject: [AccessD] Turn Off Help Box in Access 2003 References: <2FDE83AF1A69C84796CBD13788DDA88349ACDE@BONHAM.AD.UWS.EDU.AU> Message-ID: <030a01c57872$e7d380d0$6701a8c0@HAL9004> The small Search Field in the upper right of the form that has the text 'Type a question for help' is what I'm referring to. I thought maybe the What's This had something to do with that. Any idea how to rid myself of that pesky control, Darren? Rocky ----- Original Message ----- From: "Darren Dick" To: "Access Developers discussion and problem solving" Sent: Thursday, June 23, 2005 9:00 PM Subject: RE: [AccessD] Turn Off Help Box in Access 2003 > Are you Guys talking about the same thing? > Marty seems to be talking about the What's this Button > Rocky is referring to the Small Search Field Just to the top right of > any open screen (A Unique 2003 Feature) > That's near the Close|Min/Max|Restore Buttons > > DD > > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Rocky Smolin > - Beach Access Software > Sent: Friday, June 24, 2005 1:14 PM > To: Access Developers discussion and problem solving > Subject: Re: [AccessD] Turn Off Help Box in Access 2003 > > MinMax Buttons None. Close button no. What's this No. Everything > disappears but the help box. And in the mde, the DoCmd.Maximize doesn't > work. So the form doesn't open maximized. But it works for you. I > wonder what's going on. I'm pretty sure the form isn't corrupted. > > Rocky > > ----- Original Message ----- > From: "MartyConnelly" > To: "Access Developers discussion and problem solving" > > Sent: Thursday, June 23, 2005 7:26 PM > Subject: Re: [AccessD] Turn Off Help Box in Access 2003 > > >> Works for me in Access 2003 >> Min Max Buttons No >> Whats this button No >> As a matter of fact on a basic virgin form it will squawk to you that > it >> will not let you turn ON the >> the Whats This Button to Yes unless MinMax is set to None. >> >> Maybe a corrupted form or you have turned on an odd > Application.SetOption >> >> >> >> >> Rocky Smolin - Beach Access Software wrote: >> >>> Marty: >>> >>> Didn't work. The help box ( which is a new feature in A2K3) still > shows. >>> >>> Rocky >>> >>> ----- Original Message ----- From: "MartyConnelly" >>> >>> To: "Access Developers discussion and problem solving" >>> >>> Sent: Thursday, June 23, 2005 11:14 AM >>> Subject: Re: [AccessD] Turn Off Help Box in Access 2003 >>> >>> >>>> What's This? This property of the form can only be turned on by > default >>>> to Yes when MinMax property set to No >>>> So just set Form property What's This to No. >>>> >>>> Rocky Smolin - Beach Access Software wrote: >>>> >>>>> Dear List: >>>>> In access 2003 up in the right corner by the maximize, minimize and > >>>>> close buttons there's a help box. Does anyone know the syntax for >>>>> turning this thing off through code? >>>>> >>>>> MTIA >>>>> >>>>> Rocky Smolin >>>>> Beach Access Software >>>>> http://www.e-z-mrp.com >>>>> 858-259-4334 >>>>> >>>> >>>> -- >>>> Marty Connelly >>>> Victoria, B.C. >>>> Canada >>>> >>>> >>>> >>>> -- >>>> 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 >> > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > From martyconnelly at shaw.ca Thu Jun 23 23:28:18 2005 From: martyconnelly at shaw.ca (MartyConnelly) Date: Thu, 23 Jun 2005 21:28:18 -0700 Subject: [AccessD] Turn Off Help Box in Access 2003 References: <008701c57810$2cf39d20$6701a8c0@HAL9004> <42BAFC1B.3070008@shaw.ca> <020f01c57843$3bf3c2e0$6701a8c0@HAL9004> <42BB6F5B.8000501@shaw.ca> <02b401c5786a$b2d64320$6701a8c0@HAL9004> Message-ID: <42BB8BE2.5050804@shaw.ca> Try toggling the Control Box property between yes and no, in some cases the X disappears like wise ? What is. In some cases I have a greyed out X close form and no what is Rocky Smolin - Beach Access Software wrote: > MinMax Buttons None. Close button no. What's this No. Everything > disappears but the help box. And in the mde, the DoCmd.Maximize > doesn't work. So the form doesn't open maximized. But it works for > you. I wonder what's going on. I'm pretty sure the form isn't > corrupted. > > Rocky > > ----- Original Message ----- From: "MartyConnelly" > > To: "Access Developers discussion and problem solving" > > Sent: Thursday, June 23, 2005 7:26 PM > Subject: Re: [AccessD] Turn Off Help Box in Access 2003 > > >> Works for me in Access 2003 >> Min Max Buttons No >> Whats this button No >> As a matter of fact on a basic virgin form it will squawk to you that >> it will not let you turn ON the >> the Whats This Button to Yes unless MinMax is set to None. >> >> Maybe a corrupted form or you have turned on an odd >> Application.SetOption >> >> >> >> >> Rocky Smolin - Beach Access Software wrote: >> >>> Marty: >>> >>> Didn't work. The help box ( which is a new feature in A2K3) still >>> shows. >>> >>> Rocky >>> >>> ----- Original Message ----- From: "MartyConnelly" >>> >>> To: "Access Developers discussion and problem solving" >>> >>> Sent: Thursday, June 23, 2005 11:14 AM >>> Subject: Re: [AccessD] Turn Off Help Box in Access 2003 >>> >>> >>>> What's This? This property of the form can only be turned on by >>>> default to Yes when MinMax property set to No >>>> So just set Form property What's This to No. >>>> >>>> Rocky Smolin - Beach Access Software wrote: >>>> >>>>> Dear List: >>>>> In access 2003 up in the right corner by the maximize, minimize >>>>> and close buttons there's a help box. Does anyone know the syntax >>>>> for turning this thing off through code? >>>>> >>>>> MTIA >>>>> >>>>> Rocky Smolin >>>>> Beach Access Software >>>>> http://www.e-z-mrp.com >>>>> 858-259-4334 >>>>> >>>> >>>> -- >>>> Marty Connelly >>>> Victoria, B.C. >>>> Canada >>>> >>>> >>>> >>>> -- >>>> 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 >> > -- Marty Connelly Victoria, B.C. Canada From dejpolsys at hotmail.com Thu Jun 23 23:42:55 2005 From: dejpolsys at hotmail.com (William Hindman) Date: Fri, 24 Jun 2005 00:42:55 -0400 Subject: [AccessD] Turn Off Help Box in Access 2003 References: <2FDE83AF1A69C84796CBD13788DDA88349ACDE@BONHAM.AD.UWS.EDU.AU> <030a01c57872$e7d380d0$6701a8c0@HAL9004> Message-ID: http://support.microsoft.com/default.aspx?scid=kb;en-us;283633 William From bchacc at san.rr.com Thu Jun 23 23:57:07 2005 From: bchacc at san.rr.com (Rocky Smolin - Beach Access Software) Date: Thu, 23 Jun 2005 21:57:07 -0700 Subject: [AccessD] Turn Off Help Box in Access 2003 References: <2FDE83AF1A69C84796CBD13788DDA88349ACDE@BONHAM.AD.UWS.EDU.AU> <030a01c57872$e7d380d0$6701a8c0@HAL9004> Message-ID: <033d01c57879$2c34c940$6701a8c0@HAL9004> It's for 2002 and of course they changed the dialog boxes in 2003 so it doesn't follow the KB. :( Rocky ----- Original Message ----- From: "William Hindman" To: "Access Developers discussion and problem solving" Sent: Thursday, June 23, 2005 9:42 PM Subject: Re: [AccessD] Turn Off Help Box in Access 2003 > http://support.microsoft.com/default.aspx?scid=kb;en-us;283633 > > William > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > From D.Dick at uws.edu.au Fri Jun 24 00:28:32 2005 From: D.Dick at uws.edu.au (Darren Dick) Date: Fri, 24 Jun 2005 15:28:32 +1000 Subject: [AccessD] Turn Off Help Box in Access 2003 Message-ID: <2FDE83AF1A69C84796CBD13788DDA88349AD6E@BONHAM.AD.UWS.EDU.AU> Sorry - No - I have no solution for you DD -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Rocky Smolin - Beach Access Software Sent: Friday, June 24, 2005 2:12 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Turn Off Help Box in Access 2003 The small Search Field in the upper right of the form that has the text 'Type a question for help' is what I'm referring to. I thought maybe the What's This had something to do with that. Any idea how to rid myself of that pesky control, Darren? Rocky ----- Original Message ----- From: "Darren Dick" To: "Access Developers discussion and problem solving" Sent: Thursday, June 23, 2005 9:00 PM Subject: RE: [AccessD] Turn Off Help Box in Access 2003 > Are you Guys talking about the same thing? > Marty seems to be talking about the What's this Button > Rocky is referring to the Small Search Field Just to the top right of > any open screen (A Unique 2003 Feature) > That's near the Close|Min/Max|Restore Buttons > > DD > > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Rocky Smolin > - Beach Access Software > Sent: Friday, June 24, 2005 1:14 PM > To: Access Developers discussion and problem solving > Subject: Re: [AccessD] Turn Off Help Box in Access 2003 > > MinMax Buttons None. Close button no. What's this No. Everything > disappears but the help box. And in the mde, the DoCmd.Maximize doesn't > work. So the form doesn't open maximized. But it works for you. I > wonder what's going on. I'm pretty sure the form isn't corrupted. > > Rocky > > ----- Original Message ----- > From: "MartyConnelly" > To: "Access Developers discussion and problem solving" > > Sent: Thursday, June 23, 2005 7:26 PM > Subject: Re: [AccessD] Turn Off Help Box in Access 2003 > > >> Works for me in Access 2003 >> Min Max Buttons No >> Whats this button No >> As a matter of fact on a basic virgin form it will squawk to you that > it >> will not let you turn ON the >> the Whats This Button to Yes unless MinMax is set to None. >> >> Maybe a corrupted form or you have turned on an odd > Application.SetOption >> >> >> >> >> Rocky Smolin - Beach Access Software wrote: >> >>> Marty: >>> >>> Didn't work. The help box ( which is a new feature in A2K3) still > shows. >>> >>> Rocky >>> >>> ----- Original Message ----- From: "MartyConnelly" >>> >>> To: "Access Developers discussion and problem solving" >>> >>> Sent: Thursday, June 23, 2005 11:14 AM >>> Subject: Re: [AccessD] Turn Off Help Box in Access 2003 >>> >>> >>>> What's This? This property of the form can only be turned on by > default >>>> to Yes when MinMax property set to No >>>> So just set Form property What's This to No. >>>> >>>> Rocky Smolin - Beach Access Software wrote: >>>> >>>>> Dear List: >>>>> In access 2003 up in the right corner by the maximize, minimize and > >>>>> close buttons there's a help box. Does anyone know the syntax for >>>>> turning this thing off through code? >>>>> >>>>> MTIA >>>>> >>>>> Rocky Smolin >>>>> Beach Access Software >>>>> http://www.e-z-mrp.com >>>>> 858-259-4334 >>>>> >>>> >>>> -- >>>> Marty Connelly >>>> Victoria, B.C. >>>> Canada >>>> >>>> >>>> >>>> -- >>>> 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 >> > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From stuart at lexacorp.com.pg Fri Jun 24 01:25:23 2005 From: stuart at lexacorp.com.pg (Stuart McLachlan) Date: Fri, 24 Jun 2005 16:25:23 +1000 Subject: [AccessD] Turn Off Help Box in Access 2003 In-Reply-To: <2FDE83AF1A69C84796CBD13788DDA88349AD6E@BONHAM.AD.UWS.EDU.AU> Message-ID: <42BC33F3.6369.4B64BC4@stuart.lexacorp.com.pg> According to http://office.microsoft.com/en-us/assistance/HP030894201033.aspx 1. On the Tools menu, click Customize. 2. On the menu bar, right-click the Type a question for help Question Box image box. 3. Select or deselect Show Ask A Question Box to show or hide it. Note If you are hiding the Type a question for help box, it will still display until after you close the Customize dialog box. According to: http://www.pcreview.co.uk/forums/thread-1113279.php >From code, you can set CommandBars.DisableAskAQuestionDropdown to True. -- Stuart From Bruce.Bruen at railcorp.nsw.gov.au Fri Jun 24 01:38:08 2005 From: Bruce.Bruen at railcorp.nsw.gov.au (Bruen, Bruce) Date: Fri, 24 Jun 2005 16:38:08 +1000 Subject: [AccessD] Setting ListIndex value (A97) Message-ID: hi guys, I need to set the selected item of a combobox to a random value when user clicks a commandbutton. e.g. [Select random gift] button sets the Gift: combo next to it to a random value (between 1 and listcount-1!) Since listindex is readonly can anyone tell me how to do this? 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 martyconnelly at shaw.ca Fri Jun 24 01:53:38 2005 From: martyconnelly at shaw.ca (MartyConnelly) Date: Thu, 23 Jun 2005 23:53:38 -0700 Subject: [AccessD] Turn Off Help Box in Access 2003 References: <2FDE83AF1A69C84796CBD13788DDA88349ACDE@BONHAM.AD.UWS.EDU.AU> Message-ID: <42BBADF2.5080706@shaw.ca> Ah that Thingy Dingy! I thought it was the ? next to the max minimize icons on a form not the Access menu command bar. This will toggle it in code, found name in object browser then looked it up in help. Sub ToggleAskQuestionDropdown() With Application.CommandBars If .DisableAskAQuestionDropdown = True Then .DisableAskAQuestionDropdown = False Debug.Print "ask question turned on" Else .DisableAskAQuestionDropdown = True Debug.Print "ask question turned Off" End If End With End Sub Darren Dick wrote: >Are you Guys talking about the same thing? >Marty seems to be talking about the What's this Button >Rocky is referring to the Small Search Field Just to the top right of >any open screen (A Unique 2003 Feature) >That's near the Close|Min/Max|Restore Buttons > >DD > > >-----Original Message----- >From: accessd-bounces at databaseadvisors.com >[mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Rocky Smolin >- Beach Access Software >Sent: Friday, June 24, 2005 1:14 PM >To: Access Developers discussion and problem solving >Subject: Re: [AccessD] Turn Off Help Box in Access 2003 > >MinMax Buttons None. Close button no. What's this No. Everything >disappears but the help box. And in the mde, the DoCmd.Maximize doesn't >work. So the form doesn't open maximized. But it works for you. I >wonder what's going on. I'm pretty sure the form isn't corrupted. > >Rocky > >----- Original Message ----- >From: "MartyConnelly" >To: "Access Developers discussion and problem solving" > >Sent: Thursday, June 23, 2005 7:26 PM >Subject: Re: [AccessD] Turn Off Help Box in Access 2003 > > > > >>Works for me in Access 2003 >>Min Max Buttons No >>Whats this button No >>As a matter of fact on a basic virgin form it will squawk to you that >> >> >it > > >>will not let you turn ON the >>the Whats This Button to Yes unless MinMax is set to None. >> >>Maybe a corrupted form or you have turned on an odd >> >> >Application.SetOption > > >> >> >>Rocky Smolin - Beach Access Software wrote: >> >> >> >>>Marty: >>> >>>Didn't work. The help box ( which is a new feature in A2K3) still >>> >>> >shows. > > >>>Rocky >>> >>>----- Original Message ----- From: "MartyConnelly" >>> >>>To: "Access Developers discussion and problem solving" >>> >>>Sent: Thursday, June 23, 2005 11:14 AM >>>Subject: Re: [AccessD] Turn Off Help Box in Access 2003 >>> >>> >>> >>> >>>>What's This? This property of the form can only be turned on by >>>> >>>> >default > > >>>>to Yes when MinMax property set to No >>>>So just set Form property What's This to No. >>>> >>>>Rocky Smolin - Beach Access Software wrote: >>>> >>>> >>>> >>>>>Dear List: >>>>>In access 2003 up in the right corner by the maximize, minimize and >>>>> >>>>> > > > >>>>>close buttons there's a help box. Does anyone know the syntax for >>>>>turning this thing off through code? >>>>> >>>>>MTIA >>>>> >>>>>Rocky Smolin >>>>>Beach Access Software >>>>>http://www.e-z-mrp.com >>>>>858-259-4334 >>>>> >>>>> >>>>> >>>>-- >>>>Marty Connelly >>>>Victoria, B.C. >>>>Canada >>>> >>>> >>>> >>>>-- >>>>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 >> >> >> > > > -- Marty Connelly Victoria, B.C. Canada From dejpolsys at hotmail.com Fri Jun 24 02:19:43 2005 From: dejpolsys at hotmail.com (William Hindman) Date: Fri, 24 Jun 2005 03:19:43 -0400 Subject: [AccessD] Turn Off Help Box in Access 2003 References: <2FDE83AF1A69C84796CBD13788DDA88349ACDE@BONHAM.AD.UWS.EDU.AU><030a01c57872$e7d380d0$6701a8c0@HAL9004> <033d01c57879$2c34c940$6701a8c0@HAL9004> Message-ID: Rocky I am using Access 2003 and in mine it works exactly as the KB article says ..follow the directions exactly, its not intuitive ...after selecting Customize from the Tools Menu, ignore the Customize pane/tabs and Right Click directly on the "Ask a Question" box in the upper right of your Menu bar ...you will get (with the Customize form open) a "Show Ask a Question Box" checkbox ...clear it ...then Close the Customize form ...the "Ask a Question" box will be gone. William ----- Original Message ----- From: "Rocky Smolin - Beach Access Software" To: "Access Developers discussion and problem solving" Sent: Friday, June 24, 2005 12:57 AM Subject: Re: [AccessD] Turn Off Help Box in Access 2003 > It's for 2002 and of course they changed the dialog boxes in 2003 so it > doesn't follow the KB. :( > > Rocky > > ----- Original Message ----- > From: "William Hindman" > To: "Access Developers discussion and problem solving" > > Sent: Thursday, June 23, 2005 9:42 PM > Subject: Re: [AccessD] Turn Off Help Box in Access 2003 > > >> http://support.microsoft.com/default.aspx?scid=kb;en-us;283633 >> >> 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 dejpolsys at hotmail.com Fri Jun 24 02:25:27 2005 From: dejpolsys at hotmail.com (William Hindman) Date: Fri, 24 Jun 2005 03:25:27 -0400 Subject: [AccessD] Turn Off Help Box in Access 2003 References: <2FDE83AF1A69C84796CBD13788DDA88349ACDE@BONHAM.AD.UWS.EDU.AU> <42BBADF2.5080706@shaw.ca> Message-ID: ..do you ever do anything the easy way? :))))) ..just one more thing to add to my startup code :( William ----- Original Message ----- From: "MartyConnelly" To: "Access Developers discussion and problem solving" Sent: Friday, June 24, 2005 2:53 AM Subject: Re: [AccessD] Turn Off Help Box in Access 2003 > Ah that Thingy Dingy! I thought it was the ? next to the max minimize > icons on a form > not the Access menu command bar. > This will toggle it in code, found name in object browser then looked it > up in help. > > Sub ToggleAskQuestionDropdown() > With Application.CommandBars > If .DisableAskAQuestionDropdown = True Then > .DisableAskAQuestionDropdown = False > Debug.Print "ask question turned on" > Else > .DisableAskAQuestionDropdown = True > Debug.Print "ask question turned Off" > End If > End With > End Sub > > Darren Dick wrote: > >>Are you Guys talking about the same thing? >>Marty seems to be talking about the What's this Button >>Rocky is referring to the Small Search Field Just to the top right of >>any open screen (A Unique 2003 Feature) >>That's near the Close|Min/Max|Restore Buttons >> >>DD >> >>-----Original Message----- >>From: accessd-bounces at databaseadvisors.com >>[mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Rocky Smolin >>- Beach Access Software >>Sent: Friday, June 24, 2005 1:14 PM >>To: Access Developers discussion and problem solving >>Subject: Re: [AccessD] Turn Off Help Box in Access 2003 >> >>MinMax Buttons None. Close button no. What's this No. Everything >>disappears but the help box. And in the mde, the DoCmd.Maximize doesn't >>work. So the form doesn't open maximized. But it works for you. I >>wonder what's going on. I'm pretty sure the form isn't corrupted. >> >>Rocky >> >>----- Original Message ----- >>From: "MartyConnelly" >>To: "Access Developers discussion and problem solving" >> >>Sent: Thursday, June 23, 2005 7:26 PM >>Subject: Re: [AccessD] Turn Off Help Box in Access 2003 >> >> >> >>>Works for me in Access 2003 >>>Min Max Buttons No >>>Whats this button No >>>As a matter of fact on a basic virgin form it will squawk to you that >>> >>it >>>will not let you turn ON the >>>the Whats This Button to Yes unless MinMax is set to None. >>> >>>Maybe a corrupted form or you have turned on an odd >>> >>Application.SetOption >> >>> >>> >>>Rocky Smolin - Beach Access Software wrote: >>> >>> >>>>Marty: >>>> >>>>Didn't work. The help box ( which is a new feature in A2K3) still >>>> >>shows. >> >>>>Rocky >>>> >>>>----- Original Message ----- From: "MartyConnelly" >>>> >>>>To: "Access Developers discussion and problem solving" >>>> >>>>Sent: Thursday, June 23, 2005 11:14 AM >>>>Subject: Re: [AccessD] Turn Off Help Box in Access 2003 >>>> >>>> >>>> >>>>>What's This? This property of the form can only be turned on by >>>>> >>default >>>>>to Yes when MinMax property set to No >>>>>So just set Form property What's This to No. >>>>> >>>>>Rocky Smolin - Beach Access Software wrote: >>>>> >>>>> >>>>>>Dear List: >>>>>>In access 2003 up in the right corner by the maximize, minimize and >>>>>> >> >> >>>>>>close buttons there's a help box. Does anyone know the syntax for >>>>>>turning this thing off through code? >>>>>> >>>>>>MTIA >>>>>> >>>>>>Rocky Smolin >>>>>>Beach Access Software >>>>>>http://www.e-z-mrp.com >>>>>>858-259-4334 >>>>>> >>>>>> >>>>>-- >>>>>Marty Connelly >>>>>Victoria, B.C. >>>>>Canada >>>>> >>>>> >>>>> >>>>>-- >>>>>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 >>> >>> >> >> > > -- > 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 paul.hartland at fsmail.net Fri Jun 24 03:24:31 2005 From: paul.hartland at fsmail.net (paul.hartland at fsmail.net) Date: Fri, 24 Jun 2005 10:24:31 +0200 (CEST) Subject: [AccessD] OT - Visual Basic 6.0 Data Environment Message-ID: <18005413.1119601471708.JavaMail.www@wwinf3002> To all, Could anyone tell me if there is a way of sorting the commands in a Data Environment in Visual Basic 6.0. I have taken over a project and there are around 200-300 commands in the one Data Environment and it takes ages to look for an individual one. Could anyone please help with this, or even tell me if there's a fast way of searching a Data Environment to find a single query ? Many thanks in advance for any help on this... Paul Hartland -- Whatever you Wanadoo: http://www.wanadoo.co.uk/time/ This email has been checked for most known viruses - find out more at: http://www.wanadoo.co.uk/help/id/7098.htm From paul.hartland at isharp.co.uk Fri Jun 24 04:54:27 2005 From: paul.hartland at isharp.co.uk (Paul Hartland (ISHARP)) Date: Fri, 24 Jun 2005 10:54:27 +0100 Subject: [AccessD] OT - Visual Basic 6.0 Data Environment In-Reply-To: <18005413.1119601471708.JavaMail.www@wwinf3002> Message-ID: Lee, Try the following link to edit car no's etc.... \\AL-DB\Genesis$\GenesisSQLNew.exe Paul -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of paul.hartland at fsmail.net Sent: 24 June 2005 09:25 To: accessd Subject: [AccessD] OT - Visual Basic 6.0 Data Environment To all, Could anyone tell me if there is a way of sorting the commands in a Data Environment in Visual Basic 6.0. I have taken over a project and there are around 200-300 commands in the one Data Environment and it takes ages to look for an individual one. Could anyone please help with this, or even tell me if there's a fast way of searching a Data Environment to find a single query ? Many thanks in advance for any help on this... Paul Hartland -- Whatever you Wanadoo: http://www.wanadoo.co.uk/time/ This email has been checked for most known viruses - find out more at: http://www.wanadoo.co.uk/help/id/7098.htm -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From paul.hartland at fsmail.net Fri Jun 24 04:56:03 2005 From: paul.hartland at fsmail.net (paul.hartland at fsmail.net) Date: Fri, 24 Jun 2005 11:56:03 +0200 (CEST) Subject: [AccessD] OT - Visual Basic 6.0 Data Environment Message-ID: <17297739.1119606963226.JavaMail.www@wwinf3201> Sorry about last message, bit of brain confusion on my part Message date : Jun 24 2005, 10:53 AM >From : "Paul Hartland (ISHARP)" To : "'Access Developers discussion and problem solving'" Copy to : Subject : RE: [AccessD] OT - Visual Basic 6.0 Data Environment Lee, Try the following link to edit car no's etc.... \\AL-DB\Genesis$\GenesisSQLNew.exe Paul -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of paul.hartland at fsmail.net Sent: 24 June 2005 09:25 To: accessd Subject: [AccessD] OT - Visual Basic 6.0 Data Environment To all, Could anyone tell me if there is a way of sorting the commands in a Data Environment in Visual Basic 6.0. I have taken over a project and there are around 200-300 commands in the one Data Environment and it takes ages to look for an individual one. Could anyone please help with this, or even tell me if there's a fast way of searching a Data Environment to find a single query ? Many thanks in advance for any help on this... Paul Hartland -- Whatever you Wanadoo: http://www.wanadoo.co.uk/time/ This email has been checked for most known viruses - find out more at: http://www.wanadoo.co.uk/help/id/7098.htm -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- Whatever you Wanadoo: http://www.wanadoo.co.uk/time/ This email has been checked for most known viruses - find out more at: http://www.wanadoo.co.uk/help/id/7098.htm From HollisVJ at pgdp.usec.com Fri Jun 24 06:40:22 2005 From: HollisVJ at pgdp.usec.com (Hollis,Virginia) Date: Fri, 24 Jun 2005 06:40:22 -0500 Subject: [AccessD] Import from FoxPro Message-ID: <66ABA669023AE74B97746FD8E684392010175C@c2k3exchange.pgdp.corp.usec.com> Ok, what is the secret to importing from FoxPro to Access 2003? It is not in the list of types anymore. I looked through the KB articles but still have problems. I pulled the tables up in Visual FoxPro, saved them out as dBase IV files, and then tried to import them into Access 2003. I got the message: "Unexpected Error from External Database Driver (8961)" I was able to create an ODBC datasource based on a FoxPro driver that was already on my computer. I tried to import the tables, and it looked like it was going to do it, but then I got an error, "Decimal field precision too small... I'm running out of ideas. Virginia From rl_stewart at highstream.net Fri Jun 24 07:48:26 2005 From: rl_stewart at highstream.net (Robert L. Stewart) Date: Fri, 24 Jun 2005 07:48:26 -0500 Subject: [AccessD] Re: Normalizing issue In-Reply-To: <200506240412.j5O4CHR26385@databaseadvisors.com> References: <200506240412.j5O4CHR26385@databaseadvisors.com> Message-ID: <6.2.1.2.2.20050624071837.0374cc10@pop3.highstream.net> Susan, Then you have also painted yourself into a corner. He gave you the ultimate in flexible design with the attribute definition system. It allows you to define and classify attributes for any publication without the need for more tables later. I was going to suggest it, but after reading his post, did not. Jim was partially correct, but not totally. When you are designing a database and you run into super-types and sub-types like what Susan has, you have to make a choice. You can roll all of the sub-type attributes up into the super-type structure or, you can create them as separate tables. The ultimate is the attribute schema that he proposed. Super-Type Sub-Types tblPublication tblPubBook tblPubMagazine PublicationID PublicationID PublicationID Columns common to Columns specific Columns specific all publications to books to magazines In the super-type/sub-type schema, you would need to add a table for any new publication sub-type that did not completely share the attributes of an existing sub-type. If you roll all the sub-type attributes into the super-type, you have to modify the super-type when you come across a new publication type that has different attributes you want to record. You can solve the issue with seeing "book" attributes when entering a magazine by simply supplying the user with separate data entry screens. If you use the attribute method, you never have to add a table. You can define new publication type and the attributes associated with them. Your GUI can be a common GUI. After selecting the publication type, your GUI can populate a temporary table with all the attributes for that publication type, giving the user the ability of entering the value for each attribute and then posting the results of that temporary table into the master table when data entry for the publication is complete. With flexibility comes responsibility. The idea for me is to shift the responsibility from me as the programmer to the user for the actual use of the program. I no longer have to "think of everything" from the beginning, just show them how to use and report out of the system. Susan, the following is NOT directed at you personally. List, there are ways of making your designs totally flexible so your users never really need you to reprogram the solution again. What they will need though is your guidance in how to use the solution you provide. You also will need to become very proficient in GUI design to make them work well. Anyone can slap together a table here and there and when something new comes up, add another table or even redesign the system because of all the tables added over time (like the one John was talking about). A lot of us got into Access in the beginning because it was "easy." But, good database design is not easy. It takes a lot of thought and dedication to doing it correctly no matter what. Robert At 11:12 PM 6/23/2005, you wrote: >Date: Thu, 23 Jun 2005 15:38:59 -0400 >From: "Susan Harkins" >Subject: RE: [AccessD] Normalizing issue >To: "'Access Developers discussion and problem solving'" > >Message-ID: <20050623193900.PGRZ8050.ibm62aec.bellsouth.net at SUSANONE> >Content-Type: text/plain; charset="us-ascii" > >Jim, I've already gone with separate tables because I got to thinking -- as >this things grow I may run into other data that doesn't fit both books and >magazines -- > >Right now, we're just kind of playing with this. But if it works well and is >flexible, a lot of different regions could end up using it -- so the more >problems I resolve now, the better. > >Susan H. From bheid at appdevgrp.com Fri Jun 24 08:29:40 2005 From: bheid at appdevgrp.com (Bobby Heid) Date: Fri, 24 Jun 2005 09:29:40 -0400 Subject: [AccessD] SQL "Like" question. Message-ID: <916187228923D311A6FE00A0CC3FAA30ABEC7B@ADGSERVER> Hey, I have a search screen for an app that has several combo boxes that when the user clicks the Find button, it builds a SQL query based upon the criteria that the users have selected. The user can also use wild cards in the combo boxes such as 'Carlton*'. Since they can use wild cards, I use LIKE when building the SQL statement. I got an email from a user today asking why a given project search was returning no records. I looked at the data and this is what they were searching for: 'Carlton [D]'. I suspected the data so I removed the brackets from around the 'D' and the query worked fine. My question is, is the bracket a special character? Are there other characters that I need to watch out for? I know about the wild card characters '*', '?', and the '#' character. Thanks, Bobby From john at winhaven.net Fri Jun 24 09:51:35 2005 From: john at winhaven.net (John Bartow) Date: Fri, 24 Jun 2005 09:51:35 -0500 Subject: [AccessD] Re: Normalizing issue In-Reply-To: <6.2.1.2.2.20050624071837.0374cc10@pop3.highstream.net> Message-ID: <200506241451.j5OEpaXb311954@pimout4-ext.prodigy.net> While also keeping in mind just how much you are being paid to do this job... I'm enjoying this thread but it needs to be said. Not everyone here has a weekly paycheck being direct deposited on Friday. Not saying you should do it "wrong" because you're not be paid enough to make an application that can handle every friggin' possibility in the world. But an independent developer needs to discuss the greater flexibility that can be built into an app as the amount of time put into it increases (and hence the cost). When being paid a set rate for a job you make your system as flexible as possible AS the funding allows. This of course needs to be on the table with the customer. A lot of customers will lay out what they want an app to do and not want you to add this kind of flexibility into it because they don't see the need. Then 2 years later just expect it to adapt to their new situation. I agree with you That "It takes a lot of thought and dedication to doing it correctly". (My very first publicly sold application has worked for 6 years now without need for updating.) But the "no matter what" part generally applies to people working with a regular paycheck. -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Robert L. Stewart Sent: Friday, June 24, 2005 7:48 AM To: accessd at databaseadvisors.com Subject: [AccessD] Re: Normalizing issue Susan, Then you have also painted yourself into a corner. He gave you the ultimate in flexible design with the attribute definition system. It allows you to define and classify attributes for any publication without the need for more tables later. I was going to suggest it, but after reading his post, did not. Jim was partially correct, but not totally. When you are designing a database and you run into super-types and sub-types like what Susan has, you have to make a choice. You can roll all of the sub-type attributes up into the super-type structure or, you can create them as separate tables. The ultimate is the attribute schema that he proposed. Super-Type Sub-Types tblPublication tblPubBook tblPubMagazine PublicationID PublicationID PublicationID Columns common to Columns specific Columns specific all publications to books to magazines In the super-type/sub-type schema, you would need to add a table for any new publication sub-type that did not completely share the attributes of an existing sub-type. If you roll all the sub-type attributes into the super-type, you have to modify the super-type when you come across a new publication type that has different attributes you want to record. You can solve the issue with seeing "book" attributes when entering a magazine by simply supplying the user with separate data entry screens. If you use the attribute method, you never have to add a table. You can define new publication type and the attributes associated with them. Your GUI can be a common GUI. After selecting the publication type, your GUI can populate a temporary table with all the attributes for that publication type, giving the user the ability of entering the value for each attribute and then posting the results of that temporary table into the master table when data entry for the publication is complete. With flexibility comes responsibility. The idea for me is to shift the responsibility from me as the programmer to the user for the actual use of the program. I no longer have to "think of everything" from the beginning, just show them how to use and report out of the system. Susan, the following is NOT directed at you personally. List, there are ways of making your designs totally flexible so your users never really need you to reprogram the solution again. What they will need though is your guidance in how to use the solution you provide. You also will need to become very proficient in GUI design to make them work well. Anyone can slap together a table here and there and when something new comes up, add another table or even redesign the system because of all the tables added over time (like the one John was talking about). A lot of us got into Access in the beginning because it was "easy." But, good database design is not easy. It takes a lot of thought and dedication to doing it correctly no matter what. Robert At 11:12 PM 6/23/2005, you wrote: >Date: Thu, 23 Jun 2005 15:38:59 -0400 >From: "Susan Harkins" >Subject: RE: [AccessD] Normalizing issue >To: "'Access Developers discussion and problem solving'" > >Message-ID: <20050623193900.PGRZ8050.ibm62aec.bellsouth.net at SUSANONE> >Content-Type: text/plain; charset="us-ascii" > >Jim, I've already gone with separate tables because I got to thinking >-- as this things grow I may run into other data that doesn't fit both >books and magazines -- > >Right now, we're just kind of playing with this. But if it works well >and is flexible, a lot of different regions could end up using it -- so >the more problems I resolve now, the better. > >Susan H. -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From cfoust at infostatsystems.com Fri Jun 24 10:08:04 2005 From: cfoust at infostatsystems.com (Charlotte Foust) Date: Fri, 24 Jun 2005 08:08:04 -0700 Subject: [AccessD] Setting ListIndex value (A97) Message-ID: Me.Combo1 = Me.Combo1.ItemData(intRandom) Charlotte Foust -----Original Message----- From: Bruen, Bruce [mailto:Bruce.Bruen at railcorp.nsw.gov.au] Sent: Thursday, June 23, 2005 11:38 PM To: Access Developers discussion and problem solving Subject: [AccessD] Setting ListIndex value (A97) hi guys, I need to set the selected item of a combobox to a random value when user clicks a commandbutton. e.g. [Select random gift] button sets the Gift: combo next to it to a random value (between 1 and listcount-1!) Since listindex is readonly can anyone tell me how to do this? 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 ssharkins at bellsouth.net Fri Jun 24 10:11:11 2005 From: ssharkins at bellsouth.net (Susan Harkins) Date: Fri, 24 Jun 2005 11:11:11 -0400 Subject: [AccessD] Re: Normalizing issue In-Reply-To: <200506241451.j5OEpaXb311954@pimout4-ext.prodigy.net> Message-ID: <20050624151119.KABQ11957.ibm56aec.bellsouth.net@SUSANONE> This is pro bono -- no paycheck. :) I'm also doing it in my spare time -- as I can -- so there's no time pressure. Ultimately, I will be the only user unless other regions decide they like it too. Everything I do for me -- but I do need to keep in mind that it might grow -- it's a consideration. I think I'm going with one table. Tomorrow, I may change my mind. :) Susan H. While also keeping in mind just how much you are being paid to do this job... From prodevmg at yahoo.com Fri Jun 24 10:17:00 2005 From: prodevmg at yahoo.com (Lonnie Johnson) Date: Fri, 24 Jun 2005 08:17:00 -0700 (PDT) Subject: [AccessD] SQL "Like" question. In-Reply-To: <916187228923D311A6FE00A0CC3FAA30ABEC7B@ADGSERVER> Message-ID: <20050624151701.44779.qmail@web33112.mail.mud.yahoo.com> Yes, the brackets are reserved for enclosing table, query and field names. You may also want to look out for the tick mark or single quotation mark ('). This can trick your code to thinking you have jumped out of the SQL String. For example the name O'Hare. Bobby Heid wrote:Hey, I have a search screen for an app that has several combo boxes that when the user clicks the Find button, it builds a SQL query based upon the criteria that the users have selected. The user can also use wild cards in the combo boxes such as 'Carlton*'. Since they can use wild cards, I use LIKE when building the SQL statement. I got an email from a user today asking why a given project search was returning no records. I looked at the data and this is what they were searching for: 'Carlton [D]'. I suspected the data so I removed the brackets from around the 'D' and the query worked fine. My question is, is the bracket a special character? Are there other characters that I need to watch out for? I know about the wild card characters '*', '?', and the '#' character. Thanks, Bobby -- 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 jimdettman at earthlink.net Fri Jun 24 10:43:05 2005 From: jimdettman at earthlink.net (Jim Dettman) Date: Fri, 24 Jun 2005 11:43:05 -0400 Subject: [AccessD] Re: Normalizing issue In-Reply-To: <20050624151119.KABQ11957.ibm56aec.bellsouth.net@SUSANONE> Message-ID: Susan, John made and excellent point (pay check). There is also that always fine line of what a client really needs vs what they can really afford. As long as everyone is aware of the limitations that will be imposed by a particular design, then "best" is not always "better". <> That's what I'd do. I also leave design notes within the app on why a given approach was used and how it could have been made better. That helps who ever maintains it down the road understand why it is the way it is. Jim. -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Susan Harkins Sent: Friday, June 24, 2005 11:11 AM To: 'Access Developers discussion and problem solving' Subject: RE: [AccessD] Re: Normalizing issue This is pro bono -- no paycheck. :) I'm also doing it in my spare time -- as I can -- so there's no time pressure. Ultimately, I will be the only user unless other regions decide they like it too. Everything I do for me -- but I do need to keep in mind that it might grow -- it's a consideration. I think I'm going with one table. Tomorrow, I may change my mind. :) Susan H. While also keeping in mind just how much you are being paid to do this job... -- 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 Jun 24 12:43:19 2005 From: andy at minstersystems.co.uk (Andy Lacey) Date: Fri, 24 Jun 2005 17:43:19 -0000 Subject: [AccessD] Setting ListIndex value (A97) In-Reply-To: Message-ID: <000001c2b2b4$a6c80920$36530c54@minster33c3r25> Bruce IIRC you need to do something like Me!lstControl.Selected(randomnuber)=True -- Andy Lacey http://www.minstersystems.co.uk > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of > Bruen, Bruce > Sent: 24 June 2005 07:38 > To: Access Developers discussion and problem solving > Subject: [AccessD] Setting ListIndex value (A97) > > > hi guys, > > I need to set the selected item of a combobox to a random > value when user clicks a commandbutton. e.g. [Select random > gift] button sets the > Gift: combo next to it to a random value (between 1 and listcount-1!) > > Since listindex is readonly can anyone tell me how to do this? > > 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 bheid at appdevgrp.com Fri Jun 24 13:16:56 2005 From: bheid at appdevgrp.com (Bobby Heid) Date: Fri, 24 Jun 2005 14:16:56 -0400 Subject: [AccessD] SQL "Like" question. In-Reply-To: <916187228923D311A6FE00A0CC3FAA30BFF288@ADGSERVER> Message-ID: <916187228923D311A6FE00A0CC3FAA30ABEC81@ADGSERVER> Thanks. I did not even think about it in terms of enclosing table names. I already handle the tick mark thingy. Bobby -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Lonnie Johnson Sent: Friday, June 24, 2005 11:17 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] SQL "Like" question. Yes, the brackets are reserved for enclosing table, query and field names. You may also want to look out for the tick mark or single quotation mark ('). This can trick your code to thinking you have jumped out of the SQL String. For example the name O'Hare. Bobby Heid wrote:Hey, I have a search screen for an app that has several combo boxes that when the user clicks the Find button, it builds a SQL query based upon the criteria that the users have selected. The user can also use wild cards in the combo boxes such as 'Carlton*'. Since they can use wild cards, I use LIKE when building the SQL statement. I got an email from a user today asking why a given project search was returning no records. I looked at the data and this is what they were searching for: 'Carlton [D]'. I suspected the data so I removed the brackets from around the 'D' and the query worked fine. My question is, is the bracket a special character? Are there other characters that I need to watch out for? I know about the wild card characters '*', '?', and the '#' character. Thanks, Bobby From bchacc at san.rr.com Fri Jun 24 13:20:36 2005 From: bchacc at san.rr.com (Rocky Smolin - Beach Access Software) Date: Fri, 24 Jun 2005 11:20:36 -0700 Subject: [AccessD] Turn Off Help Box in Access 2003 References: <2FDE83AF1A69C84796CBD13788DDA88349ACDE@BONHAM.AD.UWS.EDU.AU> <42BBADF2.5080706@shaw.ca> Message-ID: <01b701c578e9$6ad2cc40$6701a8c0@HAL9004> Marty: Thanks. I also found this and it worked. I turned it off through the Customize. I have to take the mde to another machine and see if the setting follows it - if it's for the app or the installation of Office. But your code is exactly what I was looking for. Rocky ----- Original Message ----- From: "MartyConnelly" To: "Access Developers discussion and problem solving" Sent: Thursday, June 23, 2005 11:53 PM Subject: Re: [AccessD] Turn Off Help Box in Access 2003 > Ah that Thingy Dingy! I thought it was the ? next to the max minimize > icons on a form > not the Access menu command bar. > This will toggle it in code, found name in object browser then looked it > up in help. > > Sub ToggleAskQuestionDropdown() > With Application.CommandBars > If .DisableAskAQuestionDropdown = True Then > .DisableAskAQuestionDropdown = False > Debug.Print "ask question turned on" > Else > .DisableAskAQuestionDropdown = True > Debug.Print "ask question turned Off" > End If > End With > End Sub > > Darren Dick wrote: > >>Are you Guys talking about the same thing? >>Marty seems to be talking about the What's this Button >>Rocky is referring to the Small Search Field Just to the top right of >>any open screen (A Unique 2003 Feature) >>That's near the Close|Min/Max|Restore Buttons >> >>DD >> >>-----Original Message----- >>From: accessd-bounces at databaseadvisors.com >>[mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Rocky Smolin >>- Beach Access Software >>Sent: Friday, June 24, 2005 1:14 PM >>To: Access Developers discussion and problem solving >>Subject: Re: [AccessD] Turn Off Help Box in Access 2003 >> >>MinMax Buttons None. Close button no. What's this No. Everything >>disappears but the help box. And in the mde, the DoCmd.Maximize doesn't >>work. So the form doesn't open maximized. But it works for you. I >>wonder what's going on. I'm pretty sure the form isn't corrupted. >> >>Rocky >> >>----- Original Message ----- >>From: "MartyConnelly" >>To: "Access Developers discussion and problem solving" >> >>Sent: Thursday, June 23, 2005 7:26 PM >>Subject: Re: [AccessD] Turn Off Help Box in Access 2003 >> >> >> >>>Works for me in Access 2003 >>>Min Max Buttons No >>>Whats this button No >>>As a matter of fact on a basic virgin form it will squawk to you that >>> >>it >>>will not let you turn ON the >>>the Whats This Button to Yes unless MinMax is set to None. >>> >>>Maybe a corrupted form or you have turned on an odd >>> >>Application.SetOption >> >>> >>> >>>Rocky Smolin - Beach Access Software wrote: >>> >>> >>>>Marty: >>>> >>>>Didn't work. The help box ( which is a new feature in A2K3) still >>>> >>shows. >> >>>>Rocky >>>> >>>>----- Original Message ----- From: "MartyConnelly" >>>> >>>>To: "Access Developers discussion and problem solving" >>>> >>>>Sent: Thursday, June 23, 2005 11:14 AM >>>>Subject: Re: [AccessD] Turn Off Help Box in Access 2003 >>>> >>>> >>>> >>>>>What's This? This property of the form can only be turned on by >>>>> >>default >>>>>to Yes when MinMax property set to No >>>>>So just set Form property What's This to No. >>>>> >>>>>Rocky Smolin - Beach Access Software wrote: >>>>> >>>>> >>>>>>Dear List: >>>>>>In access 2003 up in the right corner by the maximize, minimize and >>>>>> >> >> >>>>>>close buttons there's a help box. Does anyone know the syntax for >>>>>>turning this thing off through code? >>>>>> >>>>>>MTIA >>>>>> >>>>>>Rocky Smolin >>>>>>Beach Access Software >>>>>>http://www.e-z-mrp.com >>>>>>858-259-4334 >>>>>> >>>>>> >>>>>-- >>>>>Marty Connelly >>>>>Victoria, B.C. >>>>>Canada >>>>> >>>>> >>>>> >>>>>-- >>>>>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 >>> >>> >> >> > > -- > 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 bchacc at san.rr.com Fri Jun 24 13:35:53 2005 From: bchacc at san.rr.com (Rocky Smolin - Beach Access Software) Date: Fri, 24 Jun 2005 11:35:53 -0700 Subject: [AccessD] Turn Off Help Box in Access 2003 References: <2FDE83AF1A69C84796CBD13788DDA88349ACDE@BONHAM.AD.UWS.EDU.AU> <42BBADF2.5080706@shaw.ca> <01b701c578e9$6ad2cc40$6701a8c0@HAL9004> Message-ID: <020e01c578eb$8d97f140$6701a8c0@HAL9004> Marty: What I meant was I also found this: http://www.annoyances.org/exec/show/article08-101 and finally figured out how to follow their directions. Rocky ----- Original Message ----- From: "Rocky Smolin - Beach Access Software" To: "Access Developers discussion and problem solving" Sent: Friday, June 24, 2005 11:20 AM Subject: Re: [AccessD] Turn Off Help Box in Access 2003 > Marty: > > Thanks. I also found this and it worked. I turned it off through the > Customize. I have to take the mde to another machine and see if the > setting follows it - if it's for the app or the installation of Office. > But your code is exactly what I was looking for. > > Rocky > > ----- Original Message ----- > From: "MartyConnelly" > To: "Access Developers discussion and problem solving" > > Sent: Thursday, June 23, 2005 11:53 PM > Subject: Re: [AccessD] Turn Off Help Box in Access 2003 > > >> Ah that Thingy Dingy! I thought it was the ? next to the max minimize >> icons on a form >> not the Access menu command bar. >> This will toggle it in code, found name in object browser then looked it >> up in help. >> >> Sub ToggleAskQuestionDropdown() >> With Application.CommandBars >> If .DisableAskAQuestionDropdown = True Then >> .DisableAskAQuestionDropdown = False >> Debug.Print "ask question turned on" >> Else >> .DisableAskAQuestionDropdown = True >> Debug.Print "ask question turned Off" >> End If >> End With >> End Sub >> >> Darren Dick wrote: >> >>>Are you Guys talking about the same thing? >>>Marty seems to be talking about the What's this Button >>>Rocky is referring to the Small Search Field Just to the top right of >>>any open screen (A Unique 2003 Feature) >>>That's near the Close|Min/Max|Restore Buttons >>> >>>DD >>> >>>-----Original Message----- >>>From: accessd-bounces at databaseadvisors.com >>>[mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Rocky Smolin >>>- Beach Access Software >>>Sent: Friday, June 24, 2005 1:14 PM >>>To: Access Developers discussion and problem solving >>>Subject: Re: [AccessD] Turn Off Help Box in Access 2003 >>> >>>MinMax Buttons None. Close button no. What's this No. Everything >>>disappears but the help box. And in the mde, the DoCmd.Maximize doesn't >>>work. So the form doesn't open maximized. But it works for you. I >>>wonder what's going on. I'm pretty sure the form isn't corrupted. >>> >>>Rocky >>> >>>----- Original Message ----- >>>From: "MartyConnelly" >>>To: "Access Developers discussion and problem solving" >>> >>>Sent: Thursday, June 23, 2005 7:26 PM >>>Subject: Re: [AccessD] Turn Off Help Box in Access 2003 >>> >>> >>> >>>>Works for me in Access 2003 >>>>Min Max Buttons No >>>>Whats this button No >>>>As a matter of fact on a basic virgin form it will squawk to you that >>>> >>>it >>>>will not let you turn ON the >>>>the Whats This Button to Yes unless MinMax is set to None. >>>> >>>>Maybe a corrupted form or you have turned on an odd >>>> >>>Application.SetOption >>> >>>> >>>> >>>>Rocky Smolin - Beach Access Software wrote: >>>> >>>> >>>>>Marty: >>>>> >>>>>Didn't work. The help box ( which is a new feature in A2K3) still >>>>> >>>shows. >>> >>>>>Rocky >>>>> >>>>>----- Original Message ----- From: "MartyConnelly" >>>>> >>>>>To: "Access Developers discussion and problem solving" >>>>> >>>>>Sent: Thursday, June 23, 2005 11:14 AM >>>>>Subject: Re: [AccessD] Turn Off Help Box in Access 2003 >>>>> >>>>> >>>>> >>>>>>What's This? This property of the form can only be turned on by >>>>>> >>>default >>>>>>to Yes when MinMax property set to No >>>>>>So just set Form property What's This to No. >>>>>> >>>>>>Rocky Smolin - Beach Access Software wrote: >>>>>> >>>>>> >>>>>>>Dear List: >>>>>>>In access 2003 up in the right corner by the maximize, minimize and >>>>>>> >>> >>> >>>>>>>close buttons there's a help box. Does anyone know the syntax for >>>>>>>turning this thing off through code? >>>>>>> >>>>>>>MTIA >>>>>>> >>>>>>>Rocky Smolin >>>>>>>Beach Access Software >>>>>>>http://www.e-z-mrp.com >>>>>>>858-259-4334 >>>>>>> >>>>>>> >>>>>>-- >>>>>>Marty Connelly >>>>>>Victoria, B.C. >>>>>>Canada >>>>>> >>>>>> >>>>>> >>>>>>-- >>>>>>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 >>>> >>>> >>> >>> >> >> -- >> 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 jmhecht at earthlink.net Fri Jun 24 23:17:17 2005 From: jmhecht at earthlink.net (Joe Hecht) Date: Fri, 24 Jun 2005 21:17:17 -0700 Subject: [AccessD] Import from FoxPro In-Reply-To: <66ABA669023AE74B97746FD8E684392010175C@c2k3exchange.pgdp.corp.usec.com> Message-ID: <000201c5793c$c6381510$6401a8c0@laptop1> I have had to through Excel sometimes for FP Tables. Check your properties after importing to Access Joe Hecht Los Angeles CA -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Hollis,Virginia Sent: Friday, June 24, 2005 4:40 AM To: accessD at databaseadvisors.com Subject: [AccessD] Import from FoxPro Ok, what is the secret to importing from FoxPro to Access 2003? It is not in the list of types anymore. I looked through the KB articles but still have problems. I pulled the tables up in Visual FoxPro, saved them out as dBase IV files, and then tried to import them into Access 2003. I got the message: "Unexpected Error from External Database Driver (8961)" I was able to create an ODBC datasource based on a FoxPro driver that was already on my computer. I tried to import the tables, and it looked like it was going to do it, but then I got an error, "Decimal field precision too small... I'm running out of ideas. Virginia -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From ralphb at cwgsy.net Sat Jun 25 01:27:02 2005 From: ralphb at cwgsy.net (Ralph Bryce) Date: Sat, 25 Jun 2005 07:27:02 +0100 Subject: [AccessD] Import from FoxPro In-Reply-To: <66ABA669023AE74B97746FD8E684392010175C@c2k3exchange.pgdp.c orp.usec.com> Message-ID: <5.1.0.14.0.20050625072058.044a3eb0@mail.cwgsy.net> Virginia Have you looked at these articles? http://office.microsoft.com/en-us/assistance/HA010546701033.aspx http://support.microsoft.com/?kbid=197893 Ralph Bryce At 06:40 24/06/2005 -0500, you wrote: >Ok, what is the secret to importing from FoxPro to Access 2003? It is >not in the list of types anymore. I looked through the KB articles but >still have problems. :: :: >Virginia From artful at rogers.com Sat Jun 25 11:27:31 2005 From: artful at rogers.com (Arthur Fuller) Date: Sat, 25 Jun 2005 12:27:31 -0400 Subject: [AccessD] Error in Access 2003 that I've never seen before In-Reply-To: <020e01c578eb$8d97f140$6701a8c0@HAL9004> Message-ID: <200506251627.j5PGRYR09998@databaseadvisors.com> Perhaps I've just been lucky, but I have never seen this error before. I'm trying to delete a bad record in a data table, and I get the message "The search key was not found in any record." I clicked Help and it told me "Error 3709 -- The error occurs when an ISAM Seek is being executed and there are no matching values in the index." The value in question was in an autonumber column that was the PK of the table. I tried a bunch of different things such as removing the PK and all indexes but none of them worked. Finally I Saved As to a new table name (without the indexes) and in the new table I was able to delete the bad record. So I removed all the relationships to the bad table, renamed it, and renamed the copy to the original name. Finally I reimposed all the relationships, and now everything works properly again. Since I am up and running again, I am fine I suppose. But I am most puzzled as to why this error occurred in the first place. Anyone got any ideas on this? Arthur From accessd at shaw.ca Sat Jun 25 13:06:34 2005 From: accessd at shaw.ca (Jim Lawrence) Date: Sat, 25 Jun 2005 11:06:34 -0700 Subject: [AccessD] Error in Access 2003 that I've never seen before In-Reply-To: <200506251627.j5PGRYR09998@databaseadvisors.com> Message-ID: <0IIN0056RJMUMZ@l-daemon> Hi Arthur: It could be that the record you are trying to delete is not being referenced properly; either the field named used is not correct or the table is corrupted. It would be caused if the table index did not matching the table data. I have only seen it once and I resolved it by exporting all the data into a new table, deleting the old and then renaming the new table. Using that method excluded a coding or table structure error. Conclusion; Either the data or index was corrupted. HTH Jim -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Arthur Fuller Sent: Saturday, June 25, 2005 9:28 AM To: 'Access Developers discussion and problem solving' Subject: [AccessD] Error in Access 2003 that I've never seen before Perhaps I've just been lucky, but I have never seen this error before. I'm trying to delete a bad record in a data table, and I get the message "The search key was not found in any record." I clicked Help and it told me "Error 3709 -- The error occurs when an ISAM Seek is being executed and there are no matching values in the index." The value in question was in an autonumber column that was the PK of the table. I tried a bunch of different things such as removing the PK and all indexes but none of them worked. Finally I Saved As to a new table name (without the indexes) and in the new table I was able to delete the bad record. So I removed all the relationships to the bad table, renamed it, and renamed the copy to the original name. Finally I reimposed all the relationships, and now everything works properly again. Since I am up and running again, I am fine I suppose. But I am most puzzled as to why this error occurred in the first place. Anyone got any ideas on this? Arthur -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From artful at rogers.com Sat Jun 25 16:38:31 2005 From: artful at rogers.com (Arthur Fuller) Date: Sat, 25 Jun 2005 17:38:31 -0400 Subject: [AccessD] Error in Access 2003 that I've never seen before In-Reply-To: <0IIN0056RJMUMZ@l-daemon> Message-ID: <200506252138.j5PLcUR16468@databaseadvisors.com> I tend to agree, but two puzzles remain (purely in an academic sense -- I don't play to lose sleep over them). 1. The data can't be corrupted since the "bad record" copied intact to the Saved As table. 2. With all the indexes removed, why was it doing an ISAM Seek? One would have thought that in the absence of indexes, it would be forced to do a table scan. Perhaps that just reveals how little I understand ISAM tables. LOL. Arthur -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Jim Lawrence Sent: June 25, 2005 2:07 PM To: 'Access Developers discussion and problem solving' Subject: RE: [AccessD] Error in Access 2003 that I've never seen before Hi Arthur: It could be that the record you are trying to delete is not being referenced properly; either the field named used is not correct or the table is corrupted. It would be caused if the table index did not matching the table data. I have only seen it once and I resolved it by exporting all the data into a new table, deleting the old and then renaming the new table. Using that method excluded a coding or table structure error. Conclusion; Either the data or index was corrupted. HTH Jim From jwcolby at colbyconsulting.com Sat Jun 25 16:49:14 2005 From: jwcolby at colbyconsulting.com (John W. Colby) Date: Sat, 25 Jun 2005 17:49:14 -0400 Subject: [AccessD] Error in Access 2003 that I've never seen before In-Reply-To: <200506252138.j5PLcUR16468@databaseadvisors.com> Message-ID: <000801c579cf$ba680ea0$6c7aa8c0@ColbyM6805> If this is an Access container you are discussing, any field used in a relationship has an index created on that field by the Jet engine as the relationship is created. This index is hidden. It simply cannot be seen in any way that I am aware of. Thus if you are discussing a field like this, there is likely that hidden index still in existence. John W. Colby www.ColbyConsulting.com Contribute your unused CPU cycles to 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, June 25, 2005 5:39 PM To: 'Access Developers discussion and problem solving' Subject: RE: [AccessD] Error in Access 2003 that I've never seen before I tend to agree, but two puzzles remain (purely in an academic sense -- I don't play to lose sleep over them). 1. The data can't be corrupted since the "bad record" copied intact to the Saved As table. 2. With all the indexes removed, why was it doing an ISAM Seek? One would have thought that in the absence of indexes, it would be forced to do a table scan. Perhaps that just reveals how little I understand ISAM tables. LOL. Arthur -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Jim Lawrence Sent: June 25, 2005 2:07 PM To: 'Access Developers discussion and problem solving' Subject: RE: [AccessD] Error in Access 2003 that I've never seen before Hi Arthur: It could be that the record you are trying to delete is not being referenced properly; either the field named used is not correct or the table is corrupted. It would be caused if the table index did not matching the table data. I have only seen it once and I resolved it by exporting all the data into a new table, deleting the old and then renaming the new table. Using that method excluded a coding or table structure error. Conclusion; Either the data or index was corrupted. HTH Jim -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From accessd at shaw.ca Sat Jun 25 19:08:56 2005 From: accessd at shaw.ca (Jim Lawrence) Date: Sat, 25 Jun 2005 17:08:56 -0700 Subject: [AccessD] Error in Access 2003 that I've never seen before In-Reply-To: <000801c579cf$ba680ea0$6c7aa8c0@ColbyM6805> Message-ID: <0IIO0030P0ESXW@l-daemon> Hi John: Yes, I could not have said it better as that is the obvious reason. Jim -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of John W. Colby Sent: Saturday, June 25, 2005 2:49 PM To: 'Access Developers discussion and problem solving' Subject: RE: [AccessD] Error in Access 2003 that I've never seen before If this is an Access container you are discussing, any field used in a relationship has an index created on that field by the Jet engine as the relationship is created. This index is hidden. It simply cannot be seen in any way that I am aware of. Thus if you are discussing a field like this, there is likely that hidden index still in existence. John W. Colby www.ColbyConsulting.com Contribute your unused CPU cycles to 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, June 25, 2005 5:39 PM To: 'Access Developers discussion and problem solving' Subject: RE: [AccessD] Error in Access 2003 that I've never seen before I tend to agree, but two puzzles remain (purely in an academic sense -- I don't play to lose sleep over them). 1. The data can't be corrupted since the "bad record" copied intact to the Saved As table. 2. With all the indexes removed, why was it doing an ISAM Seek? One would have thought that in the absence of indexes, it would be forced to do a table scan. Perhaps that just reveals how little I understand ISAM tables. LOL. Arthur -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Jim Lawrence Sent: June 25, 2005 2:07 PM To: 'Access Developers discussion and problem solving' Subject: RE: [AccessD] Error in Access 2003 that I've never seen before Hi Arthur: It could be that the record you are trying to delete is not being referenced properly; either the field named used is not correct or the table is corrupted. It would be caused if the table index did not matching the table data. I have only seen it once and I resolved it by exporting all the data into a new table, deleting the old and then renaming the new table. Using that method excluded a coding or table structure error. Conclusion; Either the data or index was corrupted. HTH Jim -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From jwcolby at colbyconsulting.com Sat Jun 25 19:34:13 2005 From: jwcolby at colbyconsulting.com (John W. Colby) Date: Sat, 25 Jun 2005 20:34:13 -0400 Subject: [AccessD] Drilling down with ADO Message-ID: <000901c579e6$c6e71880$6c7aa8c0@ColbyM6805> One of the things that has always fascinated me is the concept (never actually implemented) of using DAO to "drill down" into a bound control to discover what field and table the object is bound to, and after that "drilling down" into that field in the table to discover what datatype the control is displaying. For example, a control could be bound to a field whose datatype is date. You could have a rule that "all dates should be displayed in YYYMMDD format", but in the future the powers that be could decide that they wanted DDMMYYYY. If you have ever designed a large system, or worse inherited one, you can probably relate to trying to find all such controls in a large system and changing the format from whatever the developer applied (or didn't apply) to a standard format. Some controls may have a format in the format property, others may depend on format strings applied to the field at the database level. Others may have no specific format, relying on the windows default. I believe that it is possible to perform this function with DAO but is it possible with ADO? To my knowledge only ADO can access properties of objects stored in a database container (a form or control). As for fields in tables, I know that DAO can do so, I have no idea whether ADO could return the data type of a field in a table. Is this possible? John W. Colby www.ColbyConsulting.com Contribute your unused CPU cycles to a good cause: http://folding.stanford.edu/ From dejpolsys at hotmail.com Sat Jun 25 20:50:24 2005 From: dejpolsys at hotmail.com (William Hindman) Date: Sat, 25 Jun 2005 21:50:24 -0400 Subject: [AccessD] Error in Access 2003 that I've never seen before References: <0IIO0030P0ESXW@l-daemon> Message-ID: ..would a decompile redo those indexes? ...I'm seeing what I consider as an unusually high number of errors in xp to 2003 conversions on a number of mdbs. William ----- Original Message ----- From: "Jim Lawrence" To: "'Access Developers discussion and problem solving'" Sent: Saturday, June 25, 2005 8:08 PM Subject: RE: [AccessD] Error in Access 2003 that I've never seen before > Hi John: > > Yes, I could not have said it better as that is the obvious reason. > > Jim > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of John W. Colby > Sent: Saturday, June 25, 2005 2:49 PM > To: 'Access Developers discussion and problem solving' > Subject: RE: [AccessD] Error in Access 2003 that I've never seen before > > If this is an Access container you are discussing, any field used in a > relationship has an index created on that field by the Jet engine as the > relationship is created. This index is hidden. It simply cannot be seen > in > any way that I am aware of. Thus if you are discussing a field like this, > there is likely that hidden index still in existence. > > John W. Colby > www.ColbyConsulting.com > > Contribute your unused CPU cycles to 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, June 25, 2005 5:39 PM > To: 'Access Developers discussion and problem solving' > Subject: RE: [AccessD] Error in Access 2003 that I've never seen before > > > I tend to agree, but two puzzles remain (purely in an academic sense -- I > don't play to lose sleep over them). > > 1. The data can't be corrupted since the "bad record" copied intact to the > Saved As table. > > 2. With all the indexes removed, why was it doing an ISAM Seek? One would > have thought that in the absence of indexes, it would be forced to do a > table scan. Perhaps that just reveals how little I understand ISAM tables. > LOL. > > Arthur > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Jim Lawrence > Sent: June 25, 2005 2:07 PM > To: 'Access Developers discussion and problem solving' > Subject: RE: [AccessD] Error in Access 2003 that I've never seen before > > Hi Arthur: > > It could be that the record you are trying to delete is not being > referenced > properly; either the field named used is not correct or the table is > corrupted. It would be caused if the table index did not matching the > table > data. I have only seen it once and I resolved it by exporting all the data > into a new table, deleting the old and then renaming the new table. Using > that method excluded a coding or table structure error. Conclusion; Either > the data or index was corrupted. > > HTH > Jim > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > > > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > From jwcolby at colbyconsulting.com Sat Jun 25 20:55:41 2005 From: jwcolby at colbyconsulting.com (John W. Colby) Date: Sat, 25 Jun 2005 21:55:41 -0400 Subject: [AccessD] Error in Access 2003 that I've never seen before In-Reply-To: Message-ID: <000a01c579f2$288b9510$6c7aa8c0@ColbyM6805> I doubt it seriously. Decompile throws out the pcode streams built up from compiling code and thus flushes the container of any "compiled or partially compiled" code which will force a compile to start from scratch the next time one is issued. Indexes have nothing to do with code streams. John W. Colby www.ColbyConsulting.com Contribute your unused CPU cycles to 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: Saturday, June 25, 2005 9:50 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Error in Access 2003 that I've never seen before ..would a decompile redo those indexes? ...I'm seeing what I consider as an unusually high number of errors in xp to 2003 conversions on a number of mdbs. William ----- Original Message ----- From: "Jim Lawrence" To: "'Access Developers discussion and problem solving'" Sent: Saturday, June 25, 2005 8:08 PM Subject: RE: [AccessD] Error in Access 2003 that I've never seen before > Hi John: > > Yes, I could not have said it better as that is the obvious reason. > > Jim > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of John W. > Colby > Sent: Saturday, June 25, 2005 2:49 PM > To: 'Access Developers discussion and problem solving' > Subject: RE: [AccessD] Error in Access 2003 that I've never seen before > > If this is an Access container you are discussing, any field used in a > relationship has an index created on that field by the Jet engine as > the relationship is created. This index is hidden. It simply cannot > be seen in any way that I am aware of. Thus if you are discussing a > field like this, there is likely that hidden index still in existence. > > John W. Colby > www.ColbyConsulting.com > > Contribute your unused CPU cycles to 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, June 25, 2005 5:39 PM > To: 'Access Developers discussion and problem solving' > Subject: RE: [AccessD] Error in Access 2003 that I've never seen before > > > I tend to agree, but two puzzles remain (purely in an academic sense > -- I don't play to lose sleep over them). > > 1. The data can't be corrupted since the "bad record" copied intact to > the Saved As table. > > 2. With all the indexes removed, why was it doing an ISAM Seek? One > would have thought that in the absence of indexes, it would be forced > to do a table scan. Perhaps that just reveals how little I understand > ISAM tables. LOL. > > Arthur > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Jim > Lawrence > Sent: June 25, 2005 2:07 PM > To: 'Access Developers discussion and problem solving' > Subject: RE: [AccessD] Error in Access 2003 that I've never seen before > > Hi Arthur: > > It could be that the record you are trying to delete is not being > referenced > properly; either the field named used is not correct or the table is > corrupted. It would be caused if the table index did not matching the > table > data. I have only seen it once and I resolved it by exporting all the data > into a new table, deleting the old and then renaming the new table. Using > that method excluded a coding or table structure error. Conclusion; Either > the data or index was corrupted. > > HTH > Jim > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > > > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From jwcolby at colbyconsulting.com Sat Jun 25 21:01:05 2005 From: jwcolby at colbyconsulting.com (John W. Colby) Date: Sat, 25 Jun 2005 22:01:05 -0400 Subject: [AccessD] DropMyRights Message-ID: <000b01c579f2$e9a55420$6c7aa8c0@ColbyM6805> Very interesting tool out there for running anything that interfaces with the internet under reduced rights so that malicious code doesn't have administrator rights. http://nonadmin.editme.com/DropMyRights 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 Sat Jun 25 22:43:10 2005 From: stuart at lexacorp.com.pg (Stuart McLachlan) Date: Sun, 26 Jun 2005 13:43:10 +1000 Subject: [AccessD] Drilling down with ADO In-Reply-To: <000901c579e6$c6e71880$6c7aa8c0@ColbyM6805> Message-ID: <42BEB0EE.17070.E6E73B9@stuart.lexacorp.com.pg> On 25 Jun 2005 at 20:34, John W. Colby wrote: > objects stored in a database container (a form or control). As for fields > in tables, I know that DAO can do so, I have no idea whether ADO could > return the data type of a field in a table. Is this possible? > Function ListFieldTypes() Dim cnn As ADODB.Connection Dim rst As New ADODB.Recordset Dim lngLoopcount As Long Set cnn = CurrentProject.Connection rst.ActiveConnection = cnn rst.Open Source:="tbltest", ActiveConnection:=cnn For lngLoopcount = 0 To rst.Fields.Count - 1 Debug.Print rst.Fields(lngLoopcount).Type Next End Function Type returns a constant defined in ADODB.DataTypeEnum ' ADODB.DataTypeEnum Const adBigInt = 20 Const adBinary = 128 Const adBoolean = 11 Const adBSTR = 8 Const adChapter = 136 Const adChar = 129 Const adCurrency = 6 Const adDate = 7 Const adDBDate = 133 Const adDBFileTime = 137 Const adDBTime = 134 Const adDBTimeStamp = 135 Const adDecimal = 14 Const adDouble = 5 Const adEmpty = 0 Const adError = 10 Const adFileTime = 64 Const adGUID = 72 Const adIDispatch = 9 Const adInteger = 3 Const adIUnknown = 13 Const adLongVarBinary = 205 Const adLongVarChar = 201 Const adLongVarWChar = 203 Const adNumeric = 131 Const adPropVariant = 138 Const adSingle = 4 Const adSmallInt = 2 Const adTinyInt = 16 Const adUnsignedBigInt = 21 Const adUnsignedInt = 19 Const adUnsignedSmallInt = 18 Const adUnsignedTinyInt = 17 Const adUserDefined = 132 Const adVarBinary = 204 Const adVarChar = 200 Const adVariant = 12 Const adVarNumeric = 139 Const adVarWChar = 202 Const adWChar = 130 -- Stuart From Gustav at cactus.dk Sun Jun 26 03:32:26 2005 From: Gustav at cactus.dk (Gustav Brock) Date: Sun, 26 Jun 2005 10:32:26 +0200 Subject: [AccessD] Relationship and hidden index (was: Error in Access 2003 that I've never seen before) Message-ID: Hi John >>> jwcolby at colbyconsulting.com 06/25 11:49 pm >>> If this is an Access container you are discussing, any field used in a relationship has an index created on that field by the Jet engine as the relationship is created. This index is hidden. It simply cannot be seen in any way that I am aware of. Thus if you are discussing a field like this, there is likely that hidden index still in existence. --- If not seen, they can be listed. Here's an old posting of mine: From: Gustav Brock To: AccessD at databaseadvisors.com Date: 2001-09-04 11:40:00 Subject: Re: [AccessD] indexes in keys Hi Susan and Mike > I'm a little confused about indexes where keys are concerned. Jet > indexes keys -- primary and foreign. When does it index a foreign key > and is this an internal function as there's no evidence in the table's > Indexed property. I'm assuming it's a temporary index, created as > needed. Is this correct? No, the index is not temporary. I hate to quote myself but this time it is necessary. Way back - on the old MT Group list - I posted the message below. The problem is that, although the article referred to can still be found on the MS site, it has been edited down and all the notes (the real stuff) are gone. The article has moved, and now is found at: http://support.microsoft.com/support/kb/articles/Q116/1/45.asp The issue is, as Mike states, the hidden indexes. If you move along as the disciplined developer doing as you have learned, creating indexes then relations, you end up with duplicate indexes. >From an advanced user's view this may be a nice feature with automatically created indexes when needed, but why hide these? Stupid. Anyway, here's the quote from 1999-09-04, exactly two years ago: Hi Larry, > .. take a look at MSKB article Q116145 "Create and Drop Tables > and Relationships Using SQL DDL" http://technet.microsoft.com/cdonline/default-f.asp?target=http://technet.microsoft.com/cdonline/content/complete/srvnetwk/SQL/Technote/msjet/jetch03.htm I did that, but I don't think this is what John is looking for: Setting a referential integrity foreign key constraint is the only form of relationship that can be established through SQL DDL. To set other Relation object types, such as cascading updates or cascading deletes, you must create the Relation object through DAO. Further, the article states as we might suspect: There is no way to modify an existing relationship. You must delete the relationship and then re-create it. NB: Finally it states this very interesting detail which I wasn't aware of: In the SQL DDL example shown earlier in this chapter, creating a new relationship between two tables involves creating an index on the foreign key field. When you create a new Relation object by using DAO, Microsoft Jet automatically creates an index on the foreign key field or fields, even if one already exists. If you create a relationship between two tables with referential integrity enforced, avoid creating an index on the foreign key, as it will be a duplicate index. The foreign key index is necessary for enforcing referential integrity, so don't delete it. The index that's created on the foreign key when you create a relationship appears in the Indexes collection of the foreign table. I can confirm this! This simple function (no copyright stated) created for the purpose: Public Function ChkIndexes() Dim dbs As Database Dim tdf As TableDef Dim intI As Integer Dim intF As Integer Set dbs = CurrentDb() Set tdf = dbs.TableDefs("tblchild") For intI = 1 To tdf.Indexes.Count With tdf.Indexes(intI - 1) Debug.Print .Name For intF = 1 To .Fields.Count Debug.Print , .Fields(intF - 1).Name Next intF End With Next intI End Function - returns: PrimaryKey ID Sekunda FK tblParenttblChild FK Creating a relationship creates an index given a name from concatenating the names of the parent and the child table. However, this - the third index here, tblParenttblChild - is not showing up when opening the table in design view! So: How many of us are dealing with hidden duplicate indexes?? /gustav From jwcolby at colbyconsulting.com Sun Jun 26 08:07:24 2005 From: jwcolby at colbyconsulting.com (John W. Colby) Date: Sun, 26 Jun 2005 09:07:24 -0400 Subject: [AccessD] Relationship and hidden index (was: Error in Access 2003that I've never seen before) In-Reply-To: Message-ID: <000201c57a50$02b8b940$6c7aa8c0@ColbyM6805> I figured that there was a way to see indexes via DAO since it can see anything in the db, it's just not "visual". Anyway, thanks for the code and here it is again (up at the top of the email ;), slightly modified to pass in a tablename: Public Function ChkIndexes(strTblName As String) Dim dbs As Database Dim tdf As TableDef Dim intI As Integer Dim intF As Integer Set dbs = CurrentDb() Set tdf = dbs.TableDefs(strTblName) For intI = 1 To tdf.Indexes.Count With tdf.Indexes(intI - 1) Debug.Print .Name For intF = 1 To .Fields.Count Debug.Print , .Fields(intF - 1).Name Next intF End With Next intI 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 Gustav Brock Sent: Sunday, June 26, 2005 4:32 AM To: accessd at databaseadvisors.com Subject: [AccessD] Relationship and hidden index (was: Error in Access 2003that I've never seen before) Hi John >>> jwcolby at colbyconsulting.com 06/25 11:49 pm >>> If this is an Access container you are discussing, any field used in a relationship has an index created on that field by the Jet engine as the relationship is created. This index is hidden. It simply cannot be seen in any way that I am aware of. Thus if you are discussing a field like this, there is likely that hidden index still in existence. --- If not seen, they can be listed. Here's an old posting of mine: From ssharkins at bellsouth.net Sun Jun 26 09:27:00 2005 From: ssharkins at bellsouth.net (Susan Harkins) Date: Sun, 26 Jun 2005 10:27:00 -0400 Subject: [AccessD] Good Code Bad Code Question In-Reply-To: Message-ID: <20050626142931.RNTM5167.ibm59aec.bellsouth.net@SUSANONE> Charlotte, renaming a database is supposed to force a decompile. When you open, run Compile from the Debug window. It might be an easier shortcut for some -- especially for those with really huge systems and path names that include all kinds of weird convention names and stuff. I know I've always used it -- rather than the command line switch. I'm having trouble with 2003 and 2002 -- just nothing's working all the sudden. I ran an Office Repair, but they're both still wacky. I'm going to have to reinstall -- can't see any way out of it. But, on a lark this morning, I tried a decompile using the rename trick on one of the mdb's that's showing distress and I noticed that once it recompiled, the Compile option on the Debug menu displayed the OLD name, not the new one -- weird huh? So, I'm wondering if the rename decompile trick really works as good as it's supposed to? Or, this could just be more of my exe's wackiness. Anybody but me ever experienced this? Susan H. Joe, To decompile, use a command line argument in opening the database. That means you have to fully reference the path of the Access executable and the full path of the target database or the /decompile switch will be ignored. After you open the Access database that way, close the Access session, then reopen the database normally without the decompile switch, go to the VBE and use Debug-->Compile... To recompile the app. This clears out some crud that may otherwise cause you grief. From jwcolby at colbyconsulting.com Sun Jun 26 09:39:34 2005 From: jwcolby at colbyconsulting.com (John W. Colby) Date: Sun, 26 Jun 2005 10:39:34 -0400 Subject: [AccessD] Good Code Bad Code Question In-Reply-To: <20050626142931.RNTM5167.ibm59aec.bellsouth.net@SUSANONE> Message-ID: <000301c57a5c$e3c7cff0$6c7aa8c0@ColbyM6805> Set up a shortcut with the /decompile Open Access with the decompile switch using that shortcut. Once Access opens, use the File/Open to open the database you wish to decompile John W. Colby www.ColbyConsulting.com Contribute your unused CPU cycles to 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: Sunday, June 26, 2005 10:27 AM To: 'Access Developers discussion and problem solving' Subject: RE: [AccessD] Good Code Bad Code Question Charlotte, renaming a database is supposed to force a decompile. When you open, run Compile from the Debug window. It might be an easier shortcut for some -- especially for those with really huge systems and path names that include all kinds of weird convention names and stuff. I know I've always used it -- rather than the command line switch. I'm having trouble with 2003 and 2002 -- just nothing's working all the sudden. I ran an Office Repair, but they're both still wacky. I'm going to have to reinstall -- can't see any way out of it. But, on a lark this morning, I tried a decompile using the rename trick on one of the mdb's that's showing distress and I noticed that once it recompiled, the Compile option on the Debug menu displayed the OLD name, not the new one -- weird huh? So, I'm wondering if the rename decompile trick really works as good as it's supposed to? Or, this could just be more of my exe's wackiness. Anybody but me ever experienced this? Susan H. Joe, To decompile, use a command line argument in opening the database. That means you have to fully reference the path of the Access executable and the full path of the target database or the /decompile switch will be ignored. After you open the Access database that way, close the Access session, then reopen the database normally without the decompile switch, go to the VBE and use Debug-->Compile... To recompile the app. This clears out some crud that may otherwise cause you grief. -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From jwcolby at colbyconsulting.com Sun Jun 26 09:44:07 2005 From: jwcolby at colbyconsulting.com (John W. Colby) Date: Sun, 26 Jun 2005 10:44:07 -0400 Subject: [AccessD] Good Code Bad Code Question In-Reply-To: <20050626142931.RNTM5167.ibm59aec.bellsouth.net@SUSANONE> Message-ID: <000401c57a5d$84a37820$6c7aa8c0@ColbyM6805> Susan, The name displayed on the top blue bar comes from several different places, depending... 1) The name of the database container 2) Tools/Startup/Application Title 3) In the VBA Editor (looking at code) - Tools / Properties / General / Project Name John W. Colby www.ColbyConsulting.com Contribute your unused CPU cycles to 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: Sunday, June 26, 2005 10:27 AM To: 'Access Developers discussion and problem solving' Subject: RE: [AccessD] Good Code Bad Code Question Charlotte, renaming a database is supposed to force a decompile. When you open, run Compile from the Debug window. It might be an easier shortcut for some -- especially for those with really huge systems and path names that include all kinds of weird convention names and stuff. I know I've always used it -- rather than the command line switch. I'm having trouble with 2003 and 2002 -- just nothing's working all the sudden. I ran an Office Repair, but they're both still wacky. I'm going to have to reinstall -- can't see any way out of it. But, on a lark this morning, I tried a decompile using the rename trick on one of the mdb's that's showing distress and I noticed that once it recompiled, the Compile option on the Debug menu displayed the OLD name, not the new one -- weird huh? So, I'm wondering if the rename decompile trick really works as good as it's supposed to? Or, this could just be more of my exe's wackiness. Anybody but me ever experienced this? Susan H. Joe, To decompile, use a command line argument in opening the database. That means you have to fully reference the path of the Access executable and the full path of the target database or the /decompile switch will be ignored. After you open the Access database that way, close the Access session, then reopen the database normally without the decompile switch, go to the VBE and use Debug-->Compile... To recompile the app. This clears out some crud that may otherwise cause you grief. -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From jwcolby at colbyconsulting.com Sun Jun 26 10:07:41 2005 From: jwcolby at colbyconsulting.com (John W. Colby) Date: Sun, 26 Jun 2005 11:07:41 -0400 Subject: [AccessD] Word "insert picture" bug Message-ID: <000501c57a60$cfc3c550$6c7aa8c0@ColbyM6805> I am trying to insert a picture (bmp) into a word document. I have already inserted one and it worked fine. This one only displays as much of the BOTTOM of the picture as can fit on a line of text. The rest of the picture is invisible. If you click on the picture, you can see the "resize handles". You can open the property box and see that it says the size should be 4.33 x 4.65 inches. What is going on here? John W. Colby www.ColbyConsulting.com Contribute your unused CPU cycles to a good cause: http://folding.stanford.edu/ From artful at rogers.com Sun Jun 26 10:23:19 2005 From: artful at rogers.com (Arthur Fuller) Date: Sun, 26 Jun 2005 11:23:19 -0400 Subject: [AccessD] Run External App from within Access In-Reply-To: <000401c57a5d$84a37820$6c7aa8c0@ColbyM6805> Message-ID: <200506261523.j5QFNNR03716@databaseadvisors.com> I'm having a senior moment here today, folks. I cannot remember how to run an external app from within Access. In this case it's a batch file. Followup question.... Is there a way to specify an exit level (i.e. errorlevel) when exiting an Access app? Suppose for example that Access is being invoked from a batch file, and that I want to set an errorlevel of 1 or 0, then take action on this value in the batch file. I.e. MyBatch.cmd: 'run a simple Access app MySimpleApp 'test its exit value If errorlevel = 1 goto One If errorlevel = 0 goto Done :One Rem Do something cool :Done Rem Do nothing at all TIA, Arthur From ssharkins at bellsouth.net Sun Jun 26 10:54:12 2005 From: ssharkins at bellsouth.net (Susan Harkins) Date: Sun, 26 Jun 2005 11:54:12 -0400 Subject: [AccessD] Good Code Bad Code Question In-Reply-To: <000401c57a5d$84a37820$6c7aa8c0@ColbyM6805> Message-ID: <20050626155412.GBHG11957.ibm56aec.bellsouth.net@SUSANONE> 3) In the VBA Editor (looking at code) - Tools / Properties / General / Project Name That was it -- thanks! Susan H. But, on a lark this morning, I tried a decompile using the rename trick on one of the mdb's that's showing distress and I noticed that once it recompiled, the Compile option on the Debug menu displayed the OLD name, not the new one -- weird huh? So, I'm wondering if the rename decompile trick really works as good as it's supposed to? Or, this could just be more of my exe's wackiness. Anybody but me ever experienced this? Susan H. From artful at rogers.com Sun Jun 26 10:56:50 2005 From: artful at rogers.com (Arthur Fuller) Date: Sun, 26 Jun 2005 11:56:50 -0400 Subject: [AccessD] Normalizing issue In-Reply-To: <20050623135959.FMWJ25470.ibm57aec.bellsouth.net@SUSANONE> Message-ID: <200506261556.j5QFurR11298@databaseadvisors.com> Methinks that you are doubly-inviting "trouble" here, Susan! But I love trouble! 1. An increasing number of women (in Canada at least) choose to double-up their surnames in the following fashion (don't know if this is how you derived yours, and no matter): take your "maiden" surname and append to it the name of your spouse. In your case, if applicable, it would imply that your maiden name was Sales and that your spouse's surname was Harkins. 2. An increasing number of hetero married couples in Canada hyphenate their surnames. Which order they choose, and why, I leave to others. 3. My wife's mother, born in Spain, has the surname Castro-Lema and the given name(s) Flora Azucena. This denotes that her father's surname was Castro and her mother's Lema. My wife's name is Samantha Ruskin-Lema, which denotes that her father was named Ruskin and her mother Lema. 4. When we married, Samantha chose to retain her existing surname rather than appending or adopting mine. Which suited me just fine. As I see it, our convention in North America leaves women but two choices -- adopt your father's surname or your husband's -- both inadequate, in my opinion. By preserving her surname, rather than adopting or appending mine, Samantha preserved both sides of her lineage. 5. In this case, the names are hyphenated. In your case, they are not. In the hyphenated case the rule is simple: you sort on the first letter. (Actually it's not so simple, given a name such as de la Vega, which should be sorted under "V" not "D". 6. Let's hear from Shamil or some other lister acquainted with Russian practices. I have read more than a few Russian novels (in translation of course) but so far as I can conclude, if a man's surname is X then his sister's surname is Xa, and conversely. Case in point (c.f. the current Wimbledon tournament): Marat Safin's sister played this year; her surname is Safina. Ok, that ought to constitute a kettle of worms for further cooking! LOL. 7. I notice that you abbreviate your surname(s) to "Harkins" frequently. Given that propensity, I see no harm in regarding "Sales" as a given name, in terms of sort etc. Arthur -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Susan Harkins Sent: June 23, 2005 10:00 AM To: 'Access Developers discussion and problem solving' Subject: [AccessD] Normalizing issue How do you guys deal with people that use three or more names professionally? I do -- Susan Sales Harkins. Do you store the second name with the first or use three fields? The middle name really isn't a "middle" name. It's actually part of the last name, but the last name is the real last name -- so if you stored it with the last name, you'd have to depend on users to enter it correctly, as in Harkins, Sales -- which is a mistake before you even get started... And how do you write in the flexibility that handles 2 or 3 names? Susan H. -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From artful at rogers.com Sun Jun 26 10:59:49 2005 From: artful at rogers.com (Arthur Fuller) Date: Sun, 26 Jun 2005 11:59:49 -0400 Subject: [AccessD] Normalizing issue In-Reply-To: <20050623154231.MOKU25209.ibm63aec.bellsouth.net@SUSANONE> Message-ID: <200506261559.j5QFxqR11636@databaseadvisors.com> The "nuisance" you cite is not much of a nuisance, IMO. Just create a Save button or a Form_After_Update event that copies actual name to pen name in the event of a blank pen name. Then the queries are simple. -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Susan Harkins Sent: June 23, 2005 11:43 AM To: 'Access Developers discussion and problem solving' Subject: RE: [AccessD] Normalizing issue If it isn't a middle or maiden name, what is it? This gets even more tricky with non-English names where "last" names can get really confusing. I generally provide a field for first, middle, and last name and make it the responsibility of the user to enter the appropriate value in the appropriate field. The rules for parsing this can become so draconian, that it hardly seems worth the work to do anything else. ========I'm in the middle of creating a database (pro bono) for a writer's organization. It's a simple deal and will require little work -- but this is already cropping up. These people will want their "writing" names with their publications -- I'm thinking about just adding one more field to store their "pen name" or whatever -- but then that becomes a nuisance if their name and professional name are the same -- gotta fill in both or allow for the blanks and go find the real name -- such a nuisance -- I think at this point the middle name is the best solution -- Susan H. -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From artful at rogers.com Sun Jun 26 11:02:57 2005 From: artful at rogers.com (Arthur Fuller) Date: Sun, 26 Jun 2005 12:02:57 -0400 Subject: [AccessD] Normalizing issue In-Reply-To: Message-ID: <200506261603.j5QG30R12548@databaseadvisors.com> Great catch, Charlotte. Once I sold six articles to a single publication and all appeared in a single issue! The in-house rule was that only two articles by a single author could appear in any given issue, so I had to manufacture two pen names. For one I stuck with my initials (Adrian Fischer) and for the other I borrowed a name from one of my fave novels, Tom Pynchon's V -- Evan Godolphin. LOL! I haven't thought about that for twenty years! Thanks for the memories! Arthur -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Charlotte Foust Sent: June 23, 2005 11:51 AM To: Access Developers discussion and problem solving Subject: RE: [AccessD] Normalizing issue Since it's a writer's database, a separate *table* for pen names makes a lot of sense. Some writers use multiple pen names, so creating a pseudonym table is the safest way to handle that and relate it to the writer's actual name. You could always use the real name as the default when filling in a pen name. Charlotte Foust From ssharkins at bellsouth.net Sun Jun 26 11:04:00 2005 From: ssharkins at bellsouth.net (Susan Harkins) Date: Sun, 26 Jun 2005 12:04:00 -0400 Subject: [AccessD] Normalizing issue In-Reply-To: <200506261556.j5QFurR11298@databaseadvisors.com> Message-ID: <20050626160400.GCZV11957.ibm56aec.bellsouth.net@SUSANONE> 7. I notice that you abbreviate your surname(s) to "Harkins" frequently. Given that propensity, I see no harm in regarding "Sales" as a given name, in terms of sort etc. =============I never intended Sales to be part of my "last name" -- it was just a means of separating me from that other Susan Harkins that was in the technical world at the time. I don't know if she's still out there and at this point. I could probably drop the Sales and not incur any problems. Now, it's just habit. A quick google turns up others -- but none in the technical field that I've ever found. I'll tell you the truth -- it was spooky. Felt like I was living in some alternative universe when I saw her name the first time. :) I made a copy of it and taped it to my office door for a while -- "Ripley's Believe it or Not" kind of thing -- it was too strange. Susan H. From artful at rogers.com Sun Jun 26 11:04:09 2005 From: artful at rogers.com (Arthur Fuller) Date: Sun, 26 Jun 2005 12:04:09 -0400 Subject: [AccessD] Normalizing issue In-Reply-To: <200506231636.j5NGaU81135946@pimout1-ext.prodigy.net> Message-ID: <200506261604.j5QG4CR12705@databaseadvisors.com> I just answered this with regard to Spain. For other cultures I cannot offer the same insight. -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of John Bartow Sent: June 23, 2005 12:37 PM To: 'Access Developers discussion and problem solving' Subject: RE: [AccessD] Normalizing issue Some cultures commonly use hyphenated names which include the maternal and paternal names for offspring. Anyone on the list from such an area? Doesn't Spain have one of those cultures? John B. If it isn't a middle or maiden name, what is it? This gets even more tricky with non-English names where "last" names can get really confusing. -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From ssharkins at bellsouth.net Sun Jun 26 11:07:35 2005 From: ssharkins at bellsouth.net (Susan Harkins) Date: Sun, 26 Jun 2005 12:07:35 -0400 Subject: [AccessD] Normalizing issue In-Reply-To: <200506261603.j5QG30R12548@databaseadvisors.com> Message-ID: <20050626160735.GDRT11957.ibm56aec.bellsouth.net@SUSANONE> It's really very common -- especially for people writing in different venues. For instance, I know people that right "romance" (the steamy kind) novels -- they use pen names. They're not ashamed of their work, but you really don't want little Betsy who loves your children's books finding your hot steamy romance on the racks and thinking it's for her. :) In this case, this is usually more an agent/publisher issue than for the writers. It's the publishers that don't want the confusion, not necessarily the writers. Susan H. Great catch, Charlotte. Once I sold six articles to a single publication and all appeared in a single issue! The in-house rule was that only two articles by a single author could appear in any given issue, so I had to manufacture two pen names. For one I stuck with my initials (Adrian Fischer) and for the other I borrowed a name from one of my fave novels, Tom Pynchon's V -- Evan Godolphin. LOL! I haven't thought about that for twenty years! Thanks for the memories! From ssharkins at bellsouth.net Sun Jun 26 11:08:53 2005 From: ssharkins at bellsouth.net (Susan Harkins) Date: Sun, 26 Jun 2005 12:08:53 -0400 Subject: [AccessD] Normalizing issue In-Reply-To: <20050626160735.GDRT11957.ibm56aec.bellsouth.net@SUSANONE> Message-ID: <20050626160854.GDXL11957.ibm56aec.bellsouth.net@SUSANONE> Oh my gosh... Of course I meant write, not right. Those of you that know me from OT know that I am challenged in this way. :( Susan H. know people that right "romance" (the steamy kind) novels -- they use pen names. They're not From artful at rogers.com Sun Jun 26 11:13:33 2005 From: artful at rogers.com (Arthur Fuller) Date: Sun, 26 Jun 2005 12:13:33 -0400 Subject: [AccessD] Normalizing issue In-Reply-To: <20050623182824.MXAF11273.ibm67aec.bellsouth.net@SUSANONE> Message-ID: <200506261613.j5QGDdR15009@databaseadvisors.com> You ask a couple of smart questions here. I should point out however that some articles at least do go "out of print". For example, my SQL Tips at builder.com go virtually "out of print" rather quickly (i.e. the URL you receive that points to them goes obsolete in a week or three). However, they are changing that so stuff will be retrievable for a long time. Next, you have the issue of multiple authors on a single book or article. You may have to distinguish the principal author from the others. Finally, let's take a case from my own sordid past in which I worked as part of a team on a book about an O-O language. I wrote three of the approximately 20 chapters, and had no part in the writing of anything else in the book. Should those 3 instances be regarded as "articles"? In a way they are closer to articles than to authorship of the entire book. Finally, the problem with using a pair of tables (Books and Mags) is that before you're done, a third medium will emerge (DVDs, say), and that will mean that you need to add a table at minimum. In light of this, my preference would be to create a table PublicationTypes, containing these three entries to start, and then have a single table containing the facts about the publications, and finally an Authors table containing the names of the authors of the various publications, perhaps also with a flag denoting "Principal author". This would enable "SQL: Access to SQL Server" to have either two principal authors or none, in addition to any number of ancillary authors. That's how I would model it, anyway. HTH, Arthur -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Susan Harkins Sent: June 23, 2005 2:28 PM To: 'Access Developers discussion and problem solving' Subject: RE: [AccessD] Normalizing issue This is really getting much more complicated than I had planned. Now I have to figure out how to deal with books versus articles. :) I thought about one table that id's each publication as a book, article, etc. but I have one problem. Books are usually in or out of print and that just doesn't apply for articles. If I use a Yes/No for InPrint, then I've got records when an inappropriate value -- No for magazines isn't really correct. I could use a tri-state Yes/No I guess, and put Null to work, but ug... I can have a separate table that stores only book InPrint field. Or, I can just use two different tables, one for books, for mags. Susan H. -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Jim Dettman Sent: Thursday, June 23, 2005 1:23 PM To: Access Developers discussion and problem solving Subject: RE: [AccessD] Normalizing issue <> Yes. Jim. -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Susan Harkins Sent: Thursday, June 23, 2005 1:13 PM To: 'Access Developers discussion and problem solving' Subject: RE: [AccessD] Normalizing issue OK -- so you're relating the pen name table to the member name and then relating the book table to the pen name table? -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Jim Dettman Sent: Thursday, June 23, 2005 1:10 PM To: Access Developers discussion and problem solving Subject: RE: [AccessD] Normalizing issue Slight correction: tblMembers MemberID MemberName DateCreated tblPenNames PenID MemberID PenName DateCreated Bio tblBooks BookID PenID Jim. -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Susan Harkins Sent: Thursday, June 23, 2005 12:58 PM To: 'Access Developers discussion and problem solving' Subject: RE: [AccessD] Normalizing issue I've been considering this, this morning and I think what I've finally come up with is this: A member name -- that's their real name -- which will relate to their books. I "think" I will add a pen name field to the book table -- if they wrote the name under another name, it'll be there for searches, write-up's, whatever. But, there's only going to be one pen name for each book, so I think it's safe to do this. What do you think? Susan H. Since it's a writer's database, a separate *table* for pen names makes a lot of sense. Some writers use multiple pen names, so creating a pseudonym table is the safest way to handle that and relate it to the writer's actual name. You could always use the real name as the default when filling in a pen name. Charlotte Foust -----Original Message----- From: Susan Harkins [mailto:ssharkins at bellsouth.net] Sent: Thursday, June 23, 2005 8:43 AM To: 'Access Developers discussion and problem solving' Subject: RE: [AccessD] Normalizing issue If it isn't a middle or maiden name, what is it? This gets even more tricky with non-English names where "last" names can get really confusing. I generally provide a field for first, middle, and last name and make it the responsibility of the user to enter the appropriate value in the appropriate field. The rules for parsing this can become so draconian, that it hardly seems worth the work to do anything else. ========I'm in the middle of creating a database (pro bono) for a writer's organization. It's a simple deal and will require little work -- but this is already cropping up. These people will want their "writing" names with their publications -- I'm thinking about just adding one more field to store their "pen name" or whatever -- but then that becomes a nuisance if their name and professional name are the same -- gotta fill in both or allow for the blanks and go find the real name -- such a nuisance -- I think at this point the middle name is the best solution -- Susan H. -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From artful at rogers.com Sun Jun 26 11:15:27 2005 From: artful at rogers.com (Arthur Fuller) Date: Sun, 26 Jun 2005 12:15:27 -0400 Subject: [AccessD] Field Naming ( Just once I want to be ahead of JC ) In-Reply-To: <000301c57821$67019ce0$6c7aa8c0@ColbyM6805> Message-ID: <200506261615.j5QGFUR15380@databaseadvisors.com> I agree 100% and go one step further: enforce them in the Back End not the Front End, and enforce RI wherever you can. Don't quit until you nuke all the rows in all the tables that prevent 100% enforcement of RI. Arthur -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of John W. Colby Sent: June 23, 2005 2:29 PM To: 'Access Developers discussion and problem solving' Subject: RE: [AccessD] Field Naming ( Just once I want to be ahead of JC ) Absolutely should. If a relationship exists, and you care about referential integrity, the database engine should enforce it where possible. John W. Colby www.ColbyConsulting.com From artful at rogers.com Sun Jun 26 11:17:44 2005 From: artful at rogers.com (Arthur Fuller) Date: Sun, 26 Jun 2005 12:17:44 -0400 Subject: [AccessD] Re: Normalizing issue In-Reply-To: <20050623194454.PJJJ8050.ibm62aec.bellsouth.net@SUSANONE> Message-ID: <200506261617.j5QGHmR16133@databaseadvisors.com> This is fact, Susan. If you doubt me do some Googles etc. -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Susan Harkins Sent: June 23, 2005 3:45 PM To: 'Access Developers discussion and problem solving' Subject: RE: [AccessD] Re: Normalizing issue I just think Arthur's up to old tricks again... ;) Susan H. I wonder if they nicknamed him "Alfie", short for alphabet ;) D Surname: Wolfeschlegelsteinhausenbergerdorffvoralternwarengewissenhaf tschaferswesenchafewarenwholgepflegeundsorgfaltigkeitbeschut -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From artful at rogers.com Sun Jun 26 11:18:50 2005 From: artful at rogers.com (Arthur Fuller) Date: Sun, 26 Jun 2005 12:18:50 -0400 Subject: [AccessD] Re: Normalizing issue In-Reply-To: <42BBC4AA.3771.30398AF@stuart.lexacorp.com.pg> Message-ID: <200506261618.j5QGIsR16272@databaseadvisors.com> Thanks for the verify, Stuart! Now if we could only get a German-speaking lister to guide us through that surname! LOL. -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Stuart McLachlan Sent: June 23, 2005 6:31 PM To: Access Developers discussion and problem solving Subject: RE: [AccessD] Re: Normalizing issue On 23 Jun 2005 at 15:44, Susan Harkins wrote: > I just think Arthur's up to old tricks again... ;) > Nope, see http://www.everything2.com/index.pl?node_id=1534419 -- Stuart -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From artful at rogers.com Sun Jun 26 11:29:29 2005 From: artful at rogers.com (Arthur Fuller) Date: Sun, 26 Jun 2005 12:29:29 -0400 Subject: [AccessD] Normalizing issue In-Reply-To: <20050626160400.GCZV11957.ibm56aec.bellsouth.net@SUSANONE> Message-ID: <200506261629.j5QGTWR18610@databaseadvisors.com> Yeah I googled "Arthur Fuller" once and discovered that I was an American painter in the late 19th Century. So now when I'm telling people to look for my stuff I tell them "Arthur Fuller SQL", which eliminates the painter. LOL. A. -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Susan Harkins Sent: June 26, 2005 12:04 PM To: 'Access Developers discussion and problem solving' Subject: RE: [AccessD] Normalizing issue 7. I notice that you abbreviate your surname(s) to "Harkins" frequently. Given that propensity, I see no harm in regarding "Sales" as a given name, in terms of sort etc. =============I never intended Sales to be part of my "last name" -- it was just a means of separating me from that other Susan Harkins that was in the technical world at the time. I don't know if she's still out there and at this point. I could probably drop the Sales and not incur any problems. Now, it's just habit. A quick google turns up others -- but none in the technical field that I've ever found. I'll tell you the truth -- it was spooky. Felt like I was living in some alternative universe when I saw her name the first time. :) I made a copy of it and taped it to my office door for a while -- "Ripley's Believe it or Not" kind of thing -- it was too strange. Susan H. -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From lembit.soobik at t-online.de Sun Jun 26 11:43:37 2005 From: lembit.soobik at t-online.de (Lembit Soobik) Date: Sun, 26 Jun 2005 18:43:37 +0200 Subject: [AccessD] Re: Normalizing issue References: <200506261618.j5QGIsR16272@databaseadvisors.com> Message-ID: <003c01c57a6e$33ccacd0$0200a8c0@p600> oh, well, Arthur, its a concatenation of names, and words. doesnt make any sense to me. if this has really been used as name (which I dont beleive), maybe some history or linguistics professor could make us some story of that. Lembit ----- Original Message ----- From: "Arthur Fuller" To: "'Access Developers discussion and problem solving'" Sent: Sunday, June 26, 2005 6:18 PM Subject: RE: [AccessD] Re: Normalizing issue > Thanks for the verify, Stuart! Now if we could only get a German-speaking > lister to guide us through that surname! LOL. > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Stuart McLachlan > Sent: June 23, 2005 6:31 PM > To: Access Developers discussion and problem solving > Subject: RE: [AccessD] Re: Normalizing issue > > On 23 Jun 2005 at 15:44, Susan Harkins wrote: > > > I just think Arthur's up to old tricks again... ;) > > > > Nope, see http://www.everything2.com/index.pl?node_id=1534419 > -- > 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 ssharkins at bellsouth.net Sun Jun 26 11:45:21 2005 From: ssharkins at bellsouth.net (Susan Harkins) Date: Sun, 26 Jun 2005 12:45:21 -0400 Subject: [AccessD] Normalizing issue In-Reply-To: <200506261613.j5QGDdR15009@databaseadvisors.com> Message-ID: <20050626164526.WJSK8050.ibm62aec.bellsouth.net@SUSANONE> Next, you have the issue of multiple authors on a single book or article. =======For the purposes of this database, this won't be an issue. We're simply tracking the works of individual authors -- not the authors for individual works. But, if it comes up later, I won't have a problem revising it. You may have to distinguish the principal author from the others. Finally, let's take a case from my own sordid past in which I worked as part of a team on a book about an O-O language. I wrote three of the approximately 20 chapters, and had no part in the writing of anything else in the book. Should those 3 instances be regarded as "articles"? In a way they are closer to articles than to authorship of the entire book. ===========For the purposes of this db, that won't be an issue either -- ditto above. There wouldn't be a record for an et. Al -- if an author wanted us to track a book they had contributed to, they would have to list the book's author, as published. Right now, we're not tracking that sort of thing, but it could come up later. What you did just push though, is the difference between writer and illustrator -- many of these people are illustrators and I haven't even allowed for that. Finally, the problem with using a pair of tables (Books and Mags) is that before you're done, a third medium will emerge (DVDs, say), and that will mean that you need to add a table at minimum. In light of this, my preference would be to create a table PublicationTypes, containing these three entries to start, and then have a single table containing the facts about the publications, and finally an Authors table containing the names of the authors of the various publications, perhaps also with a flag denoting "Principal author". This would enable "SQL: Access to SQL Server" to have either two principal authors or none, in addition to any number of ancillary authors. ============Me too -- that is exactly what I've done because I've already added a third type already: books, periodicals, and online. You're absolutely right on this one. In the long run, I'd rather deal with the Null fields than compound all the queries, etc. with multiple tables. Susan H. From ssharkins at bellsouth.net Sun Jun 26 11:46:51 2005 From: ssharkins at bellsouth.net (Susan Harkins) Date: Sun, 26 Jun 2005 12:46:51 -0400 Subject: [AccessD] Normalizing issue In-Reply-To: <200506261613.j5QGDdR15009@databaseadvisors.com> Message-ID: <20050626164651.WJYP8050.ibm62aec.bellsouth.net@SUSANONE> Next, you have the issue of multiple authors on a single book or article. You may have to distinguish the principal author from the others. Finally, let's take a case from my own sordid past in which I worked as part of a team on a book about an O-O language. I wrote three of the approximately 20 chapters, and had no part in the writing of anything else in the book. Should those 3 instances be regarded as "articles"? In a way they are closer to articles than to authorship of the entire book. ===========Arthur -- do you realize how you just complicated my entire application????????????? Well... I'm glad it happened now. :) We started off tracking authors -- not right -- we have to track publications -- only way to go. Susan H. From stuart at lexacorp.com.pg Sun Jun 26 13:44:10 2005 From: stuart at lexacorp.com.pg (Stuart McLachlan) Date: Mon, 27 Jun 2005 04:44:10 +1000 Subject: [AccessD] Run External App from within Access In-Reply-To: <200506261523.j5QFNNR03716@databaseadvisors.com> References: <000401c57a5d$84a37820$6c7aa8c0@ColbyM6805> Message-ID: <42BF841A.3653.11A75816@stuart.lexacorp.com.pg> On 26 Jun 2005 at 11:23, Arthur Fuller wrote: > I'm having a senior moment here today, folks. I cannot remember how to run > an external app from within Access. In this case it's a batch file. > Shell() > Followup question.... Is there a way to specify an exit level (i.e. > errorlevel) when exiting an Access app? Suppose for example that Access is > being invoked from a batch file, and that I want to set an errorlevel of 1 > or 0, then take action on this value in the batch file. > AFAIK, you can't - the errorlevel would need to be returned by Access itself, not your app. > I.e. > > MyBatch.cmd: > 'run a simple Access app > MySimpleApp > 'test its exit value > If errorlevel = 1 goto One > If errorlevel = 0 goto Done > You could use a sentinel file. Create a small file with a filename which indicates the level you want to return and use "if exist filename" -- Stuart From Gustav at cactus.dk Sun Jun 26 14:41:28 2005 From: Gustav at cactus.dk (Gustav Brock) Date: Sun, 26 Jun 2005 21:41:28 +0200 Subject: [AccessD] Run External App from within Access Message-ID: Hi Arthur As to the errorlevel ... Write your codes to a (local) temp text file and read that afterwards - simple but it works. /gustav >>> artful at rogers.com 06/26 5:23 pm >>> I'm having a senior moment here today, folks. I cannot remember how to run an external app from within Access. In this case it's a batch file. Followup question.... Is there a way to specify an exit level (i.e. errorlevel) when exiting an Access app? Suppose for example that Access is being invoked from a batch file, and that I want to set an errorlevel of 1 or 0, then take action on this value in the batch file. I.e. MyBatch.cmd: 'run a simple Access app MySimpleApp 'test its exit value If errorlevel = 1 goto One If errorlevel = 0 goto Done :One Rem Do something cool :Done Rem Do nothing at all TIA, Arthur From accessd at shaw.ca Sun Jun 26 15:12:21 2005 From: accessd at shaw.ca (Jim Lawrence) Date: Sun, 26 Jun 2005 13:12:21 -0700 Subject: [AccessD] Run External App from within Access In-Reply-To: <200506261523.j5QFNNR03716@databaseadvisors.com> Message-ID: <0IIP00J7FK4KMA@l-daemon> Hi Arthur: The part you forgot was the 'choice' dos command option. Here is piece of sample code from MS help. @echo off cls echo. echo A Microsoft Editor echo B Microsoft Anti-Virus echo C Microsoft Backup echo. choice /c:abc Choose an option if errorlevel 3 goto MSBackup if errorlevel 2 goto Msav if errorlevel 1 goto Edit :Edit edit goto End :Msav msav goto End :Msbackup msbackup goto End :End HTH Jim -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Arthur Fuller Sent: Sunday, June 26, 2005 8:23 AM To: 'Access Developers discussion and problem solving' Subject: [AccessD] Run External App from within Access I'm having a senior moment here today, folks. I cannot remember how to run an external app from within Access. In this case it's a batch file. Followup question.... Is there a way to specify an exit level (i.e. errorlevel) when exiting an Access app? Suppose for example that Access is being invoked from a batch file, and that I want to set an errorlevel of 1 or 0, then take action on this value in the batch file. I.e. MyBatch.cmd: 'run a simple Access app MySimpleApp 'test its exit value If errorlevel = 1 goto One If errorlevel = 0 goto Done :One Rem Do something cool :Done Rem Do nothing at all TIA, Arthur -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From Robert at servicexp.com Sun Jun 26 16:50:56 2005 From: Robert at servicexp.com (Robert Gracie) Date: Sun, 26 Jun 2005 17:50:56 -0400 Subject: [AccessD] Mappoint Control ? In-Reply-To: <0IIP00J7FK4KMA@l-daemon> Message-ID: <20050626215103.D107C41405@mail01.powweb.com> Has anyone figured out how to use the control on a form in A2K? Is the following still valid? http://msdn.microsoft.com/library/default.asp?url=/library/en-us/mappoint200 4/BIZAPIMapPointControl.asp Robert From jwcolby at colbyconsulting.com Sun Jun 26 21:25:05 2005 From: jwcolby at colbyconsulting.com (John W. Colby) Date: Sun, 26 Jun 2005 22:25:05 -0400 Subject: [AccessD] Mappoint Control ? In-Reply-To: <20050626215103.D107C41405@mail01.powweb.com> Message-ID: <000301c57abf$71fd1200$6c7aa8c0@ColbyM6805> I THINK I used the control in an Access control. I definitely DID embed a map in a control somehow. However I am not doing so this time around. I am referencing the Mappoint library and just doing it native. When I do anything, an actual instance of mappoint opens. Any specific reason to use a control in a form? John W. Colby www.ColbyConsulting.com Contribute your unused CPU cycles to 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: Sunday, June 26, 2005 5:51 PM To: 'Access Developers discussion and problem solving' Subject: [AccessD] Mappoint Control ? Has anyone figured out how to use the control on a form in A2K? Is the following still valid? http://msdn.microsoft.com/library/default.asp?url=/library/en-us/mappoint200 4/BIZAPIMapPointControl.asp Robert -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From newsgrps at dalyn.co.nz Sun Jun 26 21:43:45 2005 From: newsgrps at dalyn.co.nz (David Emerson) Date: Mon, 27 Jun 2005 14:43:45 +1200 Subject: [AccessD] Graph Rowsource Message-ID: <6.2.1.2.0.20050627144335.0340e100@mail.dalyn.co.nz> AccessXP ADP, SQL2000 I am trying to change a graphs rowsource via VBA. When I have the following in the Detail_Format section of the report - Me!chtincNeeds.RowSource = "SELECT C1stName ... " (Rest of query omitted) I get an error 2191 - You can't set the rowsource property in print preview or after printing has started. If I put it on the report's on open event I get error 2455 - You entered an expression that has an invalid reference to the property RowSource. How can I dinamically change the rowsource? From jwcolby at colbyconsulting.com Sun Jun 26 22:28:33 2005 From: jwcolby at colbyconsulting.com (John W. Colby) Date: Sun, 26 Jun 2005 23:28:33 -0400 Subject: [AccessD] Word and Pictures Message-ID: <000401c57ac8$502be8f0$6c7aa8c0@ColbyM6805> I am trying to insert pictures in my Word document and cannot see them. When I search the web I find that "you can't see pictures in normal view". What in the world is going on? This seems rather bizarre to me. John W. Colby www.ColbyConsulting.com Contribute your unused CPU cycles to a good cause: http://folding.stanford.edu/ From accessd at shaw.ca Sun Jun 26 23:23:57 2005 From: accessd at shaw.ca (Jim Lawrence) Date: Sun, 26 Jun 2005 21:23:57 -0700 Subject: [AccessD] Graph Rowsource In-Reply-To: <6.2.1.2.0.20050627144335.0340e100@mail.dalyn.co.nz> Message-ID: <0IIQ00F2N6VT8F@l-daemon> Hi David: You may have a look at an article posted to DBA site that deals specifically with changing report data source on the fly. Some of the information may be helpful: http://www.databaseadvisors.com/newsletters/newsletter112003/0311UnboundRepo rts.htm HTH Jim -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of David Emerson Sent: Sunday, June 26, 2005 7:44 PM To: accessd at databaseadvisors.com Subject: [AccessD] Graph Rowsource AccessXP ADP, SQL2000 I am trying to change a graphs rowsource via VBA. When I have the following in the Detail_Format section of the report - Me!chtincNeeds.RowSource = "SELECT C1stName ... " (Rest of query omitted) I get an error 2191 - You can't set the rowsource property in print preview or after printing has started. If I put it on the report's on open event I get error 2455 - You entered an expression that has an invalid reference to the property RowSource. How can I dinamically change the rowsource? -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From accessd at shaw.ca Sun Jun 26 23:28:42 2005 From: accessd at shaw.ca (Jim Lawrence) Date: Sun, 26 Jun 2005 21:28:42 -0700 Subject: [AccessD] Word and Pictures In-Reply-To: <000401c57ac8$502be8f0$6c7aa8c0@ColbyM6805> Message-ID: <0IIQ00E6573QBT@l-daemon> Hi John: I looked into a similar situation a while back and here are a few things you can check out: http://word.mvps.org/FAQs/DrwGrphcs/InvisibleGraphics.htm HTH Jim -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of John W. Colby Sent: Sunday, June 26, 2005 8:29 PM To: 'Access Developers discussion and problem solving' Subject: [AccessD] Word and Pictures I am trying to insert pictures in my Word document and cannot see them. When I search the web I find that "you can't see pictures in normal view". What in the world is going on? This seems rather bizarre to me. 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 dmcafee at pacbell.net Sun Jun 26 23:57:35 2005 From: dmcafee at pacbell.net (dmcafee at pacbell.net) Date: Sun, 26 Jun 2005 21:57:35 -0700 Subject: [AccessD] Graph Rowsource In-Reply-To: <6.2.1.2.0.20050627144335.0340e100@mail.dalyn.co.nz> Message-ID: Why don't you make the row source a Stored Procedure (sproc) and have the sproc do the correct SELECT for you? That way you don't need to anything fancy in the FE. I tend to not give users select rights to tables and make everything sproc driven. D -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of David Emerson Sent: Sunday, June 26, 2005 7:44 PM To: accessd at databaseadvisors.com Subject: [AccessD] Graph Rowsource AccessXP ADP, SQL2000 I am trying to change a graphs rowsource via VBA. When I have the following in the Detail_Format section of the report - Me!chtincNeeds.RowSource = "SELECT C1stName ... " (Rest of query omitted) I get an error 2191 - You can't set the rowsource property in print preview or after printing has started. If I put it on the report's on open event I get error 2455 - You entered an expression that has an invalid reference to the property RowSource. How can I dinamically change the rowsource? -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From newsgrps at dalyn.co.nz Mon Jun 27 00:40:28 2005 From: newsgrps at dalyn.co.nz (David Emerson) Date: Mon, 27 Jun 2005 17:40:28 +1200 Subject: [AccessD] Graph Rowsource In-Reply-To: References: <6.2.1.2.0.20050627144335.0340e100@mail.dalyn.co.nz> Message-ID: <6.2.1.2.0.20050627171902.03200b00@mail.dalyn.co.nz> Running with this idea, how do I pass a parameter to the sproc. In the recordsource I have: EXEC dbo.sprptIncomeNeedsChart ClientIDNo but it seems to be treating the field (ClientIDNo) as a varchar value ('ClientIDNo'), not an integer (which the value is) I can't include the ClientIDNo field in the sproc and use child and master fields because I can't work out how not to include that field in the data being used in the graph itself. Here is the main part of the sproc: SELECT C1stName, CDisIncome AS [Required Funds], CDisIncP + CDisLumpSum + CDisSuper + CDisOtherInc AS [Available Funds] FROM vwCashManagement WHERE ClientIDNo = @txtClientIDNo UNION SELECT P1stName, PDisIncome AS [Required Funds], PDisIncC + PDisLumpSum + PDisSuper + PDisOtherInc AS [Available Funds] FROM vwCashManagement WHERE ClientIDNo = @txtClientIDNo David At 27/06/2005, you wrote: >Why don't you make the row source a Stored Procedure (sproc) and have the >sproc do the correct SELECT for you? That way you don't need to anything >fancy in the FE. I tend to not give users select rights to tables and make >everything sproc driven. > >D > >-----Original Message----- >From: accessd-bounces at databaseadvisors.com >[mailto:accessd-bounces at databaseadvisors.com]On Behalf Of David Emerson >Sent: Sunday, June 26, 2005 7:44 PM >To: accessd at databaseadvisors.com >Subject: [AccessD] Graph Rowsource > > >AccessXP ADP, SQL2000 > >I am trying to change a graphs rowsource via VBA. When I have the >following in the Detail_Format section of the report - > > Me!chtincNeeds.RowSource = "SELECT C1stName ... " (Rest of query >omitted) > >I get an error 2191 - You can't set the rowsource property in print preview >or after printing has started. > >If I put it on the report's on open event I get error 2455 - You entered an >expression that has an invalid reference to the property RowSource. > >How can I dinamically change the rowsource? > >-- >AccessD mailing list >AccessD at databaseadvisors.com >http://databaseadvisors.com/mailman/listinfo/accessd >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 Jun 27 01:21:15 2005 From: dmcafee at pacbell.net (dmcafee at pacbell.net) Date: Sun, 26 Jun 2005 23:21:15 -0700 Subject: [AccessD] Graph Rowsource In-Reply-To: <6.2.1.2.0.20050627171902.03200b00@mail.dalyn.co.nz> Message-ID: Are you sure you have an input parameter that is set to an INT and not a VARCHAR? Make sure the top line looks like this: ALTER PROCEDURE sprptIncomeNeedsChart (@txtClientIDNo AS INT) AS Then in your report, opent he properties box and in the Data tab, you can type in an Input parameter in either of the following manners: @txtClientIDNo = 1234 or @txtClientIDNo = Forms![SomeForm]![txtClientIDNo] Its late, and I'm not getting everything through my thick skull right now. I'll take a look at it on the morning if nobody else has chimed in. David -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of David Emerson Sent: Sunday, June 26, 2005 10:40 PM To: Access Developers discussion and problem solving Subject: RE: [AccessD] Graph Rowsource Running with this idea, how do I pass a parameter to the sproc. In the recordsource I have: EXEC dbo.sprptIncomeNeedsChart ClientIDNo but it seems to be treating the field (ClientIDNo) as a varchar value ('ClientIDNo'), not an integer (which the value is) I can't include the ClientIDNo field in the sproc and use child and master fields because I can't work out how not to include that field in the data being used in the graph itself. Here is the main part of the sproc: SELECT C1stName, CDisIncome AS [Required Funds], CDisIncP + CDisLumpSum + CDisSuper + CDisOtherInc AS [Available Funds] FROM vwCashManagement WHERE ClientIDNo = @txtClientIDNo UNION SELECT P1stName, PDisIncome AS [Required Funds], PDisIncC + PDisLumpSum + PDisSuper + PDisOtherInc AS [Available Funds] FROM vwCashManagement WHERE ClientIDNo = @txtClientIDNo David At 27/06/2005, you wrote: >Why don't you make the row source a Stored Procedure (sproc) and have the >sproc do the correct SELECT for you? That way you don't need to anything >fancy in the FE. I tend to not give users select rights to tables and make >everything sproc driven. > >D > >-----Original Message----- >From: accessd-bounces at databaseadvisors.com >[mailto:accessd-bounces at databaseadvisors.com]On Behalf Of David Emerson >Sent: Sunday, June 26, 2005 7:44 PM >To: accessd at databaseadvisors.com >Subject: [AccessD] Graph Rowsource > > >AccessXP ADP, SQL2000 > >I am trying to change a graphs rowsource via VBA. When I have the >following in the Detail_Format section of the report - > > Me!chtincNeeds.RowSource = "SELECT C1stName ... " (Rest of query >omitted) > >I get an error 2191 - You can't set the rowsource property in print preview >or after printing has started. > >If I put it on the report's on open event I get error 2455 - You entered an >expression that has an invalid reference to the property RowSource. > >How can I dinamically change the rowsource? > >-- >AccessD mailing list >AccessD at databaseadvisors.com >http://databaseadvisors.com/mailman/listinfo/accessd >Website: http://www.databaseadvisors.com > >-- >AccessD mailing list >AccessD at databaseadvisors.com >http://databaseadvisors.com/mailman/listinfo/accessd >Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From accessd666 at yahoo.com Mon Jun 27 04:41:56 2005 From: accessd666 at yahoo.com (Sad Der) Date: Mon, 27 Jun 2005 02:41:56 -0700 (PDT) Subject: [AccessD] Compact & Repair (Urgent) Message-ID: <20050627094156.3981.qmail@web31602.mail.mud.yahoo.com> Hi, I forgot my CD's from the ADHB2K. I've got the book here but I cannot seem to find the code to compact and repair an access database. Has anyone got it or knows where in the book I can find it? Thnx!!!!!!!! Regards, SD ____________________________________________________ Yahoo! Sports Rekindle the Rivalries. Sign up for Fantasy Football http://football.fantasysports.yahoo.com From paul.hartland at fsmail.net Mon Jun 27 04:57:08 2005 From: paul.hartland at fsmail.net (paul.hartland at fsmail.net) Date: Mon, 27 Jun 2005 11:57:08 +0200 (CEST) Subject: [AccessD] Compact & Repair (Urgent) Message-ID: <20864317.1119866228342.JavaMail.www@wwinf3201> This is a snippet of code I used to use, if anyone has a better way I would also like to see it: Dim MyDate As String MyDate = Left(Date, 2) & "_" & Mid(Date, 4, 2) & "_" & Right(Date, 2) FileCopy "Database", "Database_Backup" & MyDate & ".mdb" DBEngine.CompactDatabase "Database_Backup"& MyDate & ".mdb", "Database_Compact" Kill "Database" Name "Database_Compact" As "Database" Database = Original Database Database_Backup = Backup (Just in case of an OOPS) Database_Compact = Name of database once compacted & repaired Message date : Jun 27 2005, 10:43 AM >From : "Sad Der" To : "Acces User Group" Copy to : Subject : [AccessD] Compact & Repair (Urgent) Hi, I forgot my CD's from the ADHB2K. I've got the book here but I cannot seem to find the code to compact and repair an access database. Has anyone got it or knows where in the book I can find it? Thnx!!!!!!!! Regards, SD ____________________________________________________ Yahoo! Sports Rekindle the Rivalries. Sign up for Fantasy Football http://football.fantasysports.yahoo.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- Whatever you Wanadoo: http://www.wanadoo.co.uk/time/ This email has been checked for most known viruses - find out more at: http://www.wanadoo.co.uk/help/id/7098.htm From accessd666 at yahoo.com Mon Jun 27 05:01:09 2005 From: accessd666 at yahoo.com (Sad Der) Date: Mon, 27 Jun 2005 03:01:09 -0700 (PDT) Subject: [AccessD] Compact & Repair (Urgent) In-Reply-To: <20864317.1119866228342.JavaMail.www@wwinf3201> Message-ID: <20050627100110.33646.qmail@web31612.mail.mud.yahoo.com> ?? Is that all ?? Nice! Thnx. Regards SD --- paul.hartland at fsmail.net wrote: > This is a snippet of code I used to use, if anyone > has a better way I would also like to see it: > > Dim MyDate As String > MyDate = Left(Date, 2) & "_" & Mid(Date, 4, 2) & > "_" & Right(Date, 2) > FileCopy "Database", "Database_Backup" & MyDate > & ".mdb" > DBEngine.CompactDatabase "Database_Backup"& > MyDate & ".mdb", "Database_Compact" > Kill "Database" > Name "Database_Compact" As "Database" > > Database = Original Database > Database_Backup = Backup (Just in case of an OOPS) > > Database_Compact = Name of database once compacted & > repaired > > > > Message date : Jun 27 2005, 10:43 AM > >From : "Sad Der" > To : "Acces User Group" > Copy to : > Subject : [AccessD] Compact & Repair (Urgent) > Hi, > > I forgot my CD's from the ADHB2K. I've got the book > here but I cannot seem to find the code to compact > and > repair an access database. > > Has anyone got it or knows where in the book I can > find it? > > Thnx!!!!!!!! > > Regards, > > SD > > > > ____________________________________________________ > > Yahoo! Sports > Rekindle the Rivalries. Sign up for Fantasy Football > > http://football.fantasysports.yahoo.com > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > > -- > > Whatever you Wanadoo: > http://www.wanadoo.co.uk/time/ > > This email has been checked for most known viruses - > find out more at: > http://www.wanadoo.co.uk/help/id/7098.htm > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > ____________________________________________________ Yahoo! Sports Rekindle the Rivalries. Sign up for Fantasy Football http://football.fantasysports.yahoo.com From paul.hartland at isharp.co.uk Mon Jun 27 05:23:15 2005 From: paul.hartland at isharp.co.uk (Paul Hartland (ISHARP)) Date: Mon, 27 Jun 2005 11:23:15 +0100 Subject: [AccessD] Compact & Repair (Urgent) In-Reply-To: <20050627100110.33646.qmail@web31612.mail.mud.yahoo.com> Message-ID: It's what I used to use in a timer program in Visual Basic 6.0 and used to work fine -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Sad Der Sent: 27 June 2005 11:01 To: Access Developers discussion and problem solving Subject: Re: [AccessD] Compact & Repair (Urgent) ?? Is that all ?? Nice! Thnx. Regards SD --- paul.hartland at fsmail.net wrote: > This is a snippet of code I used to use, if anyone has a better way I > would also like to see it: > > Dim MyDate As String > MyDate = Left(Date, 2) & "_" & Mid(Date, 4, 2) & "_" & Right(Date, > 2) > FileCopy "Database", "Database_Backup" & MyDate & ".mdb" > DBEngine.CompactDatabase "Database_Backup"& MyDate & ".mdb", > "Database_Compact" > Kill "Database" > Name "Database_Compact" As "Database" > > Database = Original Database > Database_Backup = Backup (Just in case of an OOPS) > > Database_Compact = Name of database once compacted & repaired > > > > Message date : Jun 27 2005, 10:43 AM > >From : "Sad Der" > To : "Acces User Group" > Copy to : > Subject : [AccessD] Compact & Repair (Urgent) Hi, > > I forgot my CD's from the ADHB2K. I've got the book here but I cannot > seem to find the code to compact and repair an access database. > > Has anyone got it or knows where in the book I can find it? > > Thnx!!!!!!!! > > Regards, > > SD > > > > ____________________________________________________ > > Yahoo! Sports > Rekindle the Rivalries. Sign up for Fantasy Football > > http://football.fantasysports.yahoo.com > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > > -- > > Whatever you Wanadoo: > http://www.wanadoo.co.uk/time/ > > This email has been checked for most known viruses - find out more at: > http://www.wanadoo.co.uk/help/id/7098.htm > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > ____________________________________________________ Yahoo! Sports Rekindle the Rivalries. Sign up for Fantasy Football http://football.fantasysports.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 Mon Jun 27 06:02:14 2005 From: jwcolby at colbyconsulting.com (John W. Colby) Date: Mon, 27 Jun 2005 07:02:14 -0400 Subject: [AccessD] Word and Pictures In-Reply-To: <0IIQ00E6573QBT@l-daemon> Message-ID: <000b01c57b07$ad6608e0$6c7aa8c0@ColbyM6805> That got it, thanks. It was the paragraph EXACTLY thing. John W. Colby www.ColbyConsulting.com Contribute your unused CPU cycles to 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: Monday, June 27, 2005 12:29 AM To: 'Access Developers discussion and problem solving' Subject: RE: [AccessD] Word and Pictures Hi John: I looked into a similar situation a while back and here are a few things you can check out: http://word.mvps.org/FAQs/DrwGrphcs/InvisibleGraphics.htm HTH Jim -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of John W. Colby Sent: Sunday, June 26, 2005 8:29 PM To: 'Access Developers discussion and problem solving' Subject: [AccessD] Word and Pictures I am trying to insert pictures in my Word document and cannot see them. When I search the web I find that "you can't see pictures in normal view". What in the world is going on? This seems rather bizarre to me. 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 robert at servicexp.com Mon Jun 27 06:25:13 2005 From: robert at servicexp.com (Robert Gracie) Date: Mon, 27 Jun 2005 07:25:13 -0400 Subject: [AccessD] Mappoint Control ? Message-ID: <3C6BD610FA11044CADFC8C13E6D5508F4ECA@gbsserver.GBS.local> John, Just looking for a deeper level of integration. Thanks!! Robert -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of John W. Colby Sent: Monday, June 27, 2005 5:16 AM To: 'Access Developers discussion and problem solving' Subject: RE: [AccessD] Mappoint Control ? I THINK I used the control in an Access control. I definitely DID embed a map in a control somehow. However I am not doing so this time around. I am referencing the Mappoint library and just doing it native. When I do anything, an actual instance of mappoint opens. Any specific reason to use a control in a form? John W. Colby www.ColbyConsulting.com Contribute your unused CPU cycles to 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: Sunday, June 26, 2005 5:51 PM To: 'Access Developers discussion and problem solving' Subject: [AccessD] Mappoint Control ? Has anyone figured out how to use the control on a form in A2K? Is the following still valid? http://msdn.microsoft.com/library/default.asp?url=/library/en-us/mappoin t200 4/BIZAPIMapPointControl.asp Robert -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From mmattys at rochester.rr.com Mon Jun 27 07:08:28 2005 From: mmattys at rochester.rr.com (Michael R Mattys) Date: Mon, 27 Jun 2005 08:08:28 -0400 Subject: [AccessD] Mappoint Control ? References: <3C6BD610FA11044CADFC8C13E6D5508F4ECA@gbsserver.GBS.local> Message-ID: <01dd01c57b10$efa7ec60$0202a8c0@default> Robert, All of my work is done in A2K first. What is it that needs to be figured out? ---- Michael R. Mattys Mattys MapLib for Microsoft MapPoint http://www.mattysconsulting.com From dejpolsys at hotmail.com Mon Jun 27 08:24:06 2005 From: dejpolsys at hotmail.com (William Hindman) Date: Mon, 27 Jun 2005 09:24:06 -0400 Subject: [AccessD] Sandbox Mode A2K3 References: <3C6BD610FA11044CADFC8C13E6D5508F4ECA@gbsserver.GBS.local> <01dd01c57b10$efa7ec60$0202a8c0@default> Message-ID: ..anyone with experience using this "feature" ...pros/cons re turning it on/off? ...how much code change impact if not presently using any macros? William From Jim.Hale at FleetPride.com Mon Jun 27 09:17:54 2005 From: Jim.Hale at FleetPride.com (Hale, Jim) Date: Mon, 27 Jun 2005 09:17:54 -0500 Subject: [AccessD] Normalizing issue Message-ID: <6A6AA9DF57E4F046BDA1E273BDDB677233769E@corp-es01.fleetpride.com> Hey, sometimes Freudian slips are closer to the truth. My favorite (real) examples are mythologies for methodologies and deceivables for receivables. Jim -----Original Message----- From: Susan Harkins [mailto:ssharkins at bellsouth.net] Sent: Sunday, June 26, 2005 11:09 AM To: 'Access Developers discussion and problem solving' Subject: RE: [AccessD] Normalizing issue Oh my gosh... Of course I meant write, not right. Those of you that know me from OT know that I am challenged in this way. :( Susan H. know people that right "romance" (the steamy kind) novels -- they use pen names. They're not -- 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 jimdettman at earthlink.net Mon Jun 27 10:05:09 2005 From: jimdettman at earthlink.net (Jim Dettman) Date: Mon, 27 Jun 2005 11:05:09 -0400 Subject: [AccessD] Normalizing issue In-Reply-To: <20050626160854.GDXL11957.ibm56aec.bellsouth.net@SUSANONE> Message-ID: Susan, I have the same problem. Except I do it when I speak as well as write. The worst (and the most embarrassing), is when I mean to say Witch and say *itch. Jim. -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Susan Harkins Sent: Sunday, June 26, 2005 12:09 PM To: 'Access Developers discussion and problem solving' Subject: RE: [AccessD] Normalizing issue Oh my gosh... Of course I meant write, not right. Those of you that know me from OT know that I am challenged in this way. :( Susan H. know people that right "romance" (the steamy kind) novels -- they use pen names. They're not -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From BBarabash at TappeConstruction.com Mon Jun 27 10:05:56 2005 From: BBarabash at TappeConstruction.com (Brett Barabash) Date: Mon, 27 Jun 2005 10:05:56 -0500 Subject: [AccessD] Normalizing issue Message-ID: <100F91B31300334B89EC531C9DCB08659F833B@tccexch01.tappeconstruction.net> My fave was when JC accidentally referred to a composite key as a "compost key". Particularily amusing if you've ever heard his rants on the subject. -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Hale, Jim Sent: Monday, June 27, 2005 9:18 AM To: 'Access Developers discussion and problem solving' Subject: RE: [AccessD] Normalizing issue Hey, sometimes Freudian slips are closer to the truth. My favorite (real) examples are mythologies for methodologies and deceivables for receivables. Jim -----Original Message----- From: Susan Harkins [mailto:ssharkins at bellsouth.net] Sent: Sunday, June 26, 2005 11:09 AM To: 'Access Developers discussion and problem solving' Subject: RE: [AccessD] Normalizing issue Oh my gosh... Of course I meant write, not right. Those of you that know me from OT know that I am challenged in this way. :( Susan H. know people that right "romance" (the steamy kind) novels -- they use pen names. They're not -------------------------------------------------------------------------------------------------------------------- The information in this email may contain confidential information that is legally privileged. The information is only for the use of the intended recipient(s) named above. If you are not the intended recipient(s), you are hereby notified that any disclosure, copying, distribution, or the taking of any action in regard to the content of this email is strictly prohibited. If transmission is incorrect, unclear, or incomplete, please notify the sender immediately. The authorized recipient(s) of this information is/are prohibited from disclosing this information to any other party and is/are required to destroy the information after its stated need has been fulfilled. Any views expressed in this message are those of the individual sender, except where the sender specifies and with authority, states them to be the views of Tap hat this email message has been scanned for the presence of computer viruses.Scanning of this message and addition of this footer is performed by SurfControl E-mail Filter software in conjunction with virus detection software. From cfoust at infostatsystems.com Mon Jun 27 10:11:00 2005 From: cfoust at infostatsystems.com (Charlotte Foust) Date: Mon, 27 Jun 2005 08:11:00 -0700 Subject: [AccessD] Compact & Repair (Urgent) Message-ID: That's pretty much the way the internal compact and repair works as well. Charlotte Foust -----Original Message----- From: paul.hartland at fsmail.net [mailto:paul.hartland at fsmail.net] Sent: Monday, June 27, 2005 2:57 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Compact & Repair (Urgent) This is a snippet of code I used to use, if anyone has a better way I would also like to see it: Dim MyDate As String MyDate = Left(Date, 2) & "_" & Mid(Date, 4, 2) & "_" & Right(Date, 2) FileCopy "Database", "Database_Backup" & MyDate & ".mdb" DBEngine.CompactDatabase "Database_Backup"& MyDate & ".mdb", "Database_Compact" Kill "Database" Name "Database_Compact" As "Database" Database = Original Database Database_Backup = Backup (Just in case of an OOPS) Database_Compact = Name of database once compacted & repaired Message date : Jun 27 2005, 10:43 AM >From : "Sad Der" To : "Acces User Group" Copy to : Subject : [AccessD] Compact & Repair (Urgent) Hi, I forgot my CD's from the ADHB2K. I've got the book here but I cannot seem to find the code to compact and repair an access database. Has anyone got it or knows where in the book I can find it? Thnx!!!!!!!! Regards, SD ____________________________________________________ Yahoo! Sports Rekindle the Rivalries. Sign up for Fantasy Football http://football.fantasysports.yahoo.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- Whatever you Wanadoo: http://www.wanadoo.co.uk/time/ This email has been checked for most known viruses - find out more at: http://www.wanadoo.co.uk/help/id/7098.htm -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From martyconnelly at shaw.ca Mon Jun 27 12:11:30 2005 From: martyconnelly at shaw.ca (MartyConnelly) Date: Mon, 27 Jun 2005 10:11:30 -0700 Subject: [AccessD] Import from FoxPro References: <000201c5793c$c6381510$6401a8c0@laptop1> Message-ID: <42C03342.5040407@shaw.ca> If all else fails there is the VFP 9.0 OLE DB Provider to get at the dbc file or directory of tables via ADO I tried downloading the old ODBC Ver 6.0 driver from the main MS Foxpro page but that doesn't work and maybe bad to install on WinXP or Win2000, Microsoft is unclear on this. This code will read the VFP 9.0 Northwinds Foxpro Sample database that comes with the provider 'With the release of Microsoft Visual FoxPro 9.0, 'a new version of the Microsoft OLE DB Provider for Visual FoxPro is now available. 'The OLE DB provider is installed when Visual FoxPro 9.0 is installed 'and is typically saved in the C:\Program Files\Common Files\System\Ole DB folder. 'It is a single file that is named VfpOleDb.dll and is version 9.0.0.2412. 'To download the OLE DB provider for free, visit the following Microsoft Web site: 'http://www.microsoft.com/downloads/details.aspx?FamilyId=E1A87D8F-2D58-491F-A0FA-95A3289C5FD4&displaylang=en Sub testvfp() Dim oConn As ADODB.Connection Dim oRS As ADODB.Recordset Set oConn = New ADODB.Connection Set oRS = New ADODB.Recordset oConn.ConnectionString = "provider=vfpoledb.1;" & _ "data source=C:\Program Files\Microsoft Visual FoxPro OLE DB Provider\Samples\Northwind\northwind.dbc" ' ConnStr = "Driver=Microsoft Visual Foxpro Driver; " + _ ' "UID=;SourceType=DBC;SourceDB=C:\VFP\Samples\Tastrade\Data\Tastrade.dbc" oConn.Open 'Make sure the connection opened: If Not CBool(oConn.State And adStateOpen) Then 'Could not open the connection: MsgBox "Could not open connection..." Set oConn = Nothing Set oRS = Nothing Exit Sub Else 'Process data as usual here... Dim oCat As New ADOX.Catalog Dim oTbl As ADOX.Table Dim oTblc As ADOX.Table Dim oname As ADOX.DataTypeEnum Dim oCol As Column oCat.ActiveConnection = oConn Debug.Print "TableName number of columns" For Each oTbl In oCat.Tables Debug.Print oTbl.Name & " " & oTbl.Columns.Count Next Set oTblc = oCat.Tables("Customers") Debug.Print ADOX.DataTypeEnum.adChar; ADOX.DataTypeEnum.adChar For Each oCol In oTblc.Columns Debug.Print oCol.Name & ": " & oCol.DefinedSize & _ ": " & oCol.Type Next oRS.Open "SELECT * FROM Customers", oConn With oRS .MoveFirst Debug.Print oRS.Fields.Item(0), oRS.Fields.Item(1) End With End If Dim rsSchema As ADODB.Recordset Dim fld As ADODB.Field Dim rCriteria As Variant 'Pass in the table name to retrieve index info. The other 'array parameters may be defined as follows: ' TABLE_CATALOG (first parameter) ' TABLE_SCHEMA (second) ' INDEX_NAME (third) ' TYPE (fourth) ' TABLE_NAME (fifth, e.g. "employee") rCriteria = Array(Empty, Empty, Empty, Empty, "Customers") Set rsSchema = oConn.OpenSchema(adSchemaIndexes, rCriteria) Debug.Print "Recordcount: " & rsSchema.RecordCount While Not rsSchema.EOF Debug.Print "===================================================" For Each fld In rsSchema.Fields Debug.Print fld.Name & ": " & fld.Value 'Debug.Print "------------------------------------------------" Next rsSchema.MoveNext Wend rsSchema.Close Set rsSchema = Nothing Set oConn = Nothing End Sub Joe Hecht wrote: >I have had to through Excel sometimes for FP Tables. > >Check your properties after importing to Access > >Joe Hecht >Los Angeles CA > >-----Original Message----- >From: accessd-bounces at databaseadvisors.com >[mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Hollis,Virginia >Sent: Friday, June 24, 2005 4:40 AM >To: accessD at databaseadvisors.com >Subject: [AccessD] Import from FoxPro > >Ok, what is the secret to importing from FoxPro to Access 2003? It is >not in the list of types anymore. I looked through the KB articles but >still have problems. > > > >I pulled the tables up in Visual FoxPro, saved them out as dBase IV >files, and then tried to import them into Access 2003. I got the >message: > > > >"Unexpected Error from External Database Driver (8961)" > > > >I was able to create an ODBC datasource based on a FoxPro driver that >was already on my computer. I tried to import the tables, and it looked >like it was going to do it, but then I got an error, "Decimal field >precision too small... > > > >I'm running out of ideas. > > > >Virginia > > > > > -- Marty Connelly Victoria, B.C. Canada From newsgrps at dalyn.co.nz Mon Jun 27 12:30:42 2005 From: newsgrps at dalyn.co.nz (David Emerson) Date: Tue, 28 Jun 2005 05:30:42 +1200 Subject: [AccessD] Graph Rowsource In-Reply-To: References: <6.2.1.2.0.20050627171902.03200b00@mail.dalyn.co.nz> Message-ID: <6.2.1.2.0.20050628052801.0312b1d0@mail.dalyn.co.nz> Input parameter is set to Int. The rowsource is for a graph on the report, not the report itself. There doesn't seem to be a property for Input parameters in the graph's property box. David At 27/06/2005, you wrote: >Are you sure you have an input parameter that is set to an INT and not a >VARCHAR? > >Make sure the top line looks like this: > >ALTER PROCEDURE sprptIncomeNeedsChart (@txtClientIDNo AS INT) AS > >Then in your report, opent he properties box and in the Data tab, you can >type in an Input parameter in either of the following manners: > > @txtClientIDNo = 1234 > or > @txtClientIDNo = Forms![SomeForm]![txtClientIDNo] > >Its late, and I'm not getting everything through my thick skull right now. >I'll take a look at it on the morning if nobody else has chimed in. > >David > > > > >-----Original Message----- >From: accessd-bounces at databaseadvisors.com >[mailto:accessd-bounces at databaseadvisors.com]On Behalf Of David Emerson >Sent: Sunday, June 26, 2005 10:40 PM >To: Access Developers discussion and problem solving >Subject: RE: [AccessD] Graph Rowsource > > >Running with this idea, how do I pass a parameter to the sproc. In the >recordsource I have: > >EXEC dbo.sprptIncomeNeedsChart ClientIDNo > >but it seems to be treating the field (ClientIDNo) as a varchar value >('ClientIDNo'), not an integer (which the value is) > >I can't include the ClientIDNo field in the sproc and use child and master >fields because I can't work out how not to include that field in the data >being used in the graph itself. > >Here is the main part of the sproc: > >SELECT C1stName, CDisIncome AS [Required Funds], CDisIncP + CDisLumpSum + >CDisSuper + CDisOtherInc AS [Available Funds] >FROM vwCashManagement >WHERE ClientIDNo = @txtClientIDNo >UNION SELECT P1stName, PDisIncome AS [Required Funds], PDisIncC + >PDisLumpSum + PDisSuper + PDisOtherInc AS [Available Funds] >FROM vwCashManagement >WHERE ClientIDNo = @txtClientIDNo > > >David > >At 27/06/2005, you wrote: > >Why don't you make the row source a Stored Procedure (sproc) and have the > >sproc do the correct SELECT for you? That way you don't need to anything > >fancy in the FE. I tend to not give users select rights to tables and make > >everything sproc driven. > > > >D > > > >-----Original Message----- > >From: accessd-bounces at databaseadvisors.com > >[mailto:accessd-bounces at databaseadvisors.com]On Behalf Of David Emerson > >Sent: Sunday, June 26, 2005 7:44 PM > >To: accessd at databaseadvisors.com > >Subject: [AccessD] Graph Rowsource > > > > > >AccessXP ADP, SQL2000 > > > >I am trying to change a graphs rowsource via VBA. When I have the > >following in the Detail_Format section of the report - > > > > Me!chtincNeeds.RowSource = "SELECT C1stName ... " (Rest of query > >omitted) > > > >I get an error 2191 - You can't set the rowsource property in print preview > >or after printing has started. > > > >If I put it on the report's on open event I get error 2455 - You entered an > >expression that has an invalid reference to the property RowSource. > > > >How can I dinamically change the rowsource? From newsgrps at dalyn.co.nz Mon Jun 27 12:37:43 2005 From: newsgrps at dalyn.co.nz (David Emerson) Date: Tue, 28 Jun 2005 05:37:43 +1200 Subject: [AccessD] Graph Rowsource Message-ID: <6.2.1.2.0.20050628053637.03143220@mail.dalyn.co.nz> Thanks Jim, I am starting to think that if I can't pass a parameter to the graph's rowsource then I will need to go your suggested way and create a table before running the report which has the data in it. David At 27/06/2005, you wrote: >Hi David: > >You may have a look at an article posted to DBA site that deals specifically >with changing report data source on the fly. Some of the information may be >helpful: >http://www.databaseadvisors.com/newsletters/newsletter112003/0311UnboundReports.htm > >HTH >Jim > >-----Original Message----- >From: accessd-bounces at databaseadvisors.com >[mailto:accessd-bounces at databaseadvisors.com] On Behalf Of David Emerson >Sent: Sunday, June 26, 2005 7:44 PM >To: accessd at databaseadvisors.com >Subject: [AccessD] Graph Rowsource > >AccessXP ADP, SQL2000 > >I am trying to change a graphs rowsource via VBA. When I have the >following in the Detail_Format section of the report - > > Me!chtincNeeds.RowSource = "SELECT C1stName ... " (Rest of query >omitted) > >I get an error 2191 - You can't set the rowsource property in print preview >or after printing has started. > >If I put it on the report's on open event I get error 2455 - You entered an >expression that has an invalid reference to the property RowSource. > >How can I dinamically change the rowsource? From rl_stewart at highstream.net Mon Jun 27 13:45:33 2005 From: rl_stewart at highstream.net (Robert L. Stewart) Date: Mon, 27 Jun 2005 13:45:33 -0500 Subject: [AccessD] Re: Normalizing issue In-Reply-To: <200506261700.j5QH07R25531@databaseadvisors.com> References: <200506261700.j5QH07R25531@databaseadvisors.com> Message-ID: <6.2.1.2.2.20050627134219.039ed710@pop3.highstream.net> Or, you could add a table for related parties and carry their role in that table. Then you can get all the co-authors and illustrators, reviewers, etc. tblPublicationRelatedParty PublicationRelatedPartyID PublicationID PartyID RoleID At 12:00 PM 6/26/2005, you wrote: >Date: Sun, 26 Jun 2005 12:45:21 -0400 >From: "Susan Harkins" >Subject: RE: [AccessD] Normalizing issue >To: "'Access Developers discussion and problem solving'" > >Message-ID: <20050626164526.WJSK8050.ibm62aec.bellsouth.net at SUSANONE> >Content-Type: text/plain; charset="us-ascii" > > >Next, you have the issue of multiple authors on a single book or article. > >=======For the purposes of this database, this won't be an issue. We're >simply tracking the works of individual authors -- not the authors for >individual works. But, if it comes up later, I won't have a problem revising >it. > >You may have to distinguish the principal author from the others. Finally, >let's take a case from my own sordid past in which I worked as part of a >team on a book about an O-O language. I wrote three of the approximately 20 >chapters, and had no part in the writing of anything else in the book. >Should those 3 instances be regarded as "articles"? In a way they are closer >to articles than to authorship of the entire book. > >===========For the purposes of this db, that won't be an issue either -- >ditto above. There wouldn't be a record for an et. Al -- if an author wanted >us to track a book they had contributed to, they would have to list the >book's author, as published. Right now, we're not tracking that sort of >thing, but it could come up later. What you did just push though, is the >difference between writer and illustrator -- many of these people are >illustrators and I haven't even allowed for that. > >Finally, the problem with using a pair of tables (Books and Mags) is that >before you're done, a third medium will emerge (DVDs, say), and that will >mean that you need to add a table at minimum. In light of this, my >preference would be to create a table PublicationTypes, containing these >three entries to start, and then have a single table containing the facts >about the publications, and finally an Authors table containing the names of >the authors of the various publications, perhaps also with a flag denoting >"Principal author". This would enable "SQL: Access to SQL Server" to have >either two principal authors or none, in addition to any number of ancillary >authors. > >============Me too -- that is exactly what I've done because I've already >added a third type already: books, periodicals, and online. You're >absolutely right on this one. In the long run, I'd rather deal with the Null >fields than compound all the queries, etc. with multiple tables. > >Susan H. From ssharkins at bellsouth.net Mon Jun 27 15:35:57 2005 From: ssharkins at bellsouth.net (Susan Harkins) Date: Mon, 27 Jun 2005 16:35:57 -0400 Subject: [AccessD] Re: Normalizing issue In-Reply-To: <6.2.1.2.2.20050627134219.039ed710@pop3.highstream.net> Message-ID: <20050627203557.KNJH29052.ibm68aec.bellsouth.net@SUSANONE> I think I've decided on a simple "people" table -- with a mtm related table that describes their role in any publication. Seems to make the most sense at this point. Susan H. Or, you could add a table for related parties and carry their role in that table. Then you can get all the co-authors and illustrators, reviewers, etc. tblPublicationRelatedParty PublicationRelatedPartyID PublicationID PartyID RoleID At 12:00 PM 6/26/2005, you wrote: >Date: Sun, 26 Jun 2005 12:45:21 -0400 >From: "Susan Harkins" >Subject: RE: [AccessD] Normalizing issue >To: "'Access Developers discussion and problem solving'" > >Message-ID: <20050626164526.WJSK8050.ibm62aec.bellsouth.net at SUSANONE> >Content-Type: text/plain; charset="us-ascii" > > >Next, you have the issue of multiple authors on a single book or article. > >=======For the purposes of this database, this won't be an issue. We're >simply tracking the works of individual authors -- not the authors for >individual works. But, if it comes up later, I won't have a problem >revising it. > >You may have to distinguish the principal author from the others. >Finally, let's take a case from my own sordid past in which I worked as >part of a team on a book about an O-O language. I wrote three of the >approximately 20 chapters, and had no part in the writing of anything else in the book. >Should those 3 instances be regarded as "articles"? In a way they are >closer to articles than to authorship of the entire book. > >===========For the purposes of this db, that won't be an issue either >-- ditto above. There wouldn't be a record for an et. Al -- if an >author wanted us to track a book they had contributed to, they would >have to list the book's author, as published. Right now, we're not >tracking that sort of thing, but it could come up later. What you did >just push though, is the difference between writer and illustrator -- >many of these people are illustrators and I haven't even allowed for >that. > >Finally, the problem with using a pair of tables (Books and Mags) is >that before you're done, a third medium will emerge (DVDs, say), and >that will mean that you need to add a table at minimum. In light of >this, my preference would be to create a table PublicationTypes, >containing these three entries to start, and then have a single table >containing the facts about the publications, and finally an Authors >table containing the names of the authors of the various publications, >perhaps also with a flag denoting "Principal author". This would enable >"SQL: Access to SQL Server" to have either two principal authors or >none, in addition to any number of ancillary authors. > >============Me too -- that is exactly what I've done because I've >already added a third type already: books, periodicals, and online. >You're absolutely right on this one. In the long run, I'd rather deal >with the Null fields than compound all the queries, etc. with multiple tables. > >Susan H. -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From robert at servicexp.com Mon Jun 27 16:56:29 2005 From: robert at servicexp.com (Robert Gracie) Date: Mon, 27 Jun 2005 17:56:29 -0400 Subject: [AccessD] Mappoint Control ? Message-ID: <3C6BD610FA11044CADFC8C13E6D5508F4ECB@gbsserver.GBS.local> Michael, MS says that you can't (or should not) use the Mappoint Control in VBA. Didn't want to walk down a dead end one way street, if you know what I mean..... http://msdn.microsoft.com/library/default.asp?url=/library/en-us/mappoin t2004/BIZAPIMapPointControl.asp So let me ask you, are their any "gotcha's" working with the control in VBA. Do you have access to the all the properties and methods in VBA? Thanks!!! Robert -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Michael R Mattys Sent: Monday, June 27, 2005 10:30 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Mappoint Control ? Robert, All of my work is done in A2K first. What is it that needs to be figured out? ---- Michael R. Mattys Mattys MapLib for Microsoft MapPoint http://www.mattysconsulting.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From mmattys at rochester.rr.com Mon Jun 27 17:04:26 2005 From: mmattys at rochester.rr.com (Michael R Mattys) Date: Mon, 27 Jun 2005 18:04:26 -0400 Subject: [AccessD] Mappoint Control ? References: <3C6BD610FA11044CADFC8C13E6D5508F4ECB@gbsserver.GBS.local> Message-ID: <034a01c57b64$30bcc1f0$0202a8c0@default> ----- Original Message ----- From: "Robert Gracie" To: "Access Developers discussion and problem solving" Sent: Monday, June 27, 2005 5:56 PM Subject: RE: [AccessD] Mappoint Control ? > Michael, > MS says that you can't (or should not) use the Mappoint Control in VBA. > Didn't want to walk down a dead end one way street, if you know what I > mean..... > > http://msdn.microsoft.com/library/default.asp?url=/library/en-us/mappoin > t2004/BIZAPIMapPointControl.asp > > So let me ask you, are their any "gotcha's" working with the control in > VBA. Do you have access to the all the properties and methods in VBA? > > Thanks!!! Robert, You have access to everything that the MapPoint ActiveX provides and there are no gotcha's that I have seen after working with it daily for over 2 years. Set up public boolean variables to turn on and off within the Events because the app expects to complete it's own operations in a timely fashion - you must not interfere with them - but that is the same in any programming environment that you put it in. ---- Michael R. Mattys Mattys MapLib for Microsoft MapPoint http://www.mattysconsulting.com From newsgrps at dalyn.co.nz Mon Jun 27 18:27:14 2005 From: newsgrps at dalyn.co.nz (David Emerson) Date: Tue, 28 Jun 2005 11:27:14 +1200 Subject: [AccessD] Linking Graph to Report Message-ID: <6.2.1.2.0.20050628112403.03148970@mail.dalyn.co.nz> Access XP adp, SQL2000. Thanks to all that responded to my previous graph problem. I solved it by creating a temp table and inserted just the data required for the graphs into that. Then I based the rowsource of the graph on the temp table. Now back to my problem of last week. I have a report with a graph on it. The graph is to show the number of days it took to process client information. Each month should have its own graph on a separate page. The report's source is a stored procedure which provides the months as an integer in the form yyyymm. SELECT ttmpPlanTrackGraph.ConsultPlanFranchise, ttmpPlanTrackGraph.YrMth FROM ttmpPlanTrackGraph GROUP BY ttmpPlanTrackGraph.ConsultPlanFranchise, ttmpPlanTrackGraph.YrMth The graph's source is also a stored procedure which includes a field with the month in the same format. SELECT ttmpPlanTrackGraph.ClientName, ttmpPlanTrackGraph.FranDays AS [Work Days in Fran], ttmpPlanTrackGraph.BurDays AS [Work Days in Bureau], ttmpPlanTrackGraph.ConsultPlanFranchise, ttmpPlanTrackGraph.YrMth FROM ttmpPlanTrackGraph I have set the Link Child Field and Link Master fields both to YrMth. The report shows a different page for each month, however each graph shows all records, not just the one for the pages month. How do I get only the relevant month's data showing on each page? Regards David Emerson Dalyn Software Ltd 25 Cunliffe St, Churton Park Wellington, New Zealand Ph/Fax (04) 478-7456 Mobile 027-280-9348 From jmhecht at earthlink.net Mon Jun 27 18:45:11 2005 From: jmhecht at earthlink.net (Joe Hecht) Date: Mon, 27 Jun 2005 16:45:11 -0700 Subject: [AccessD] MS Reporting Services Message-ID: <000901c57b72$42bdf280$6401a8c0@laptop1> I am sending resumes again. Some one is asking for MS Reporting services. What is it ? Joe Hecht Los Angeles CA From newsgrps at dalyn.co.nz Mon Jun 27 20:19:01 2005 From: newsgrps at dalyn.co.nz (David Emerson) Date: Tue, 28 Jun 2005 13:19:01 +1200 Subject: [AccessD] Saving string > 256 chars in field Message-ID: <6.2.1.2.0.20050628131416.02c78820@mail.dalyn.co.nz> Access XP adp, SQL2000. I have a field that needs to be filled with text based on the value of a check box. When the check box is checked, then 1 of two tests are to be put into another varchar(1000) field. However, 1 of the texts is greater than 256 characters long. When I try Me!txtCashRecommendation = strText the first 256 characters are truncated and only the last letters appear in the field. I have the latest service packs. I can enter more than 256 characters directly into the field on the form. How can I put the string into the field without it being truncated? Regards David Emerson Dalyn Software Ltd 25 Cunliffe St, Churton Park Wellington, New Zealand Ph/Fax (04) 478-7456 Mobile 027-280-9348 From ssharkins at bellsouth.net Mon Jun 27 20:20:24 2005 From: ssharkins at bellsouth.net (Susan Harkins) Date: Mon, 27 Jun 2005 21:20:24 -0400 Subject: [AccessD] Saving string > 256 chars in field In-Reply-To: <6.2.1.2.0.20050628131416.02c78820@mail.dalyn.co.nz> Message-ID: <20050628012024.YQDQ25470.ibm57aec.bellsouth.net@SUSANONE> I can enter more than 256 characters directly into the field on the form. ========The underlying Text field can hold only 255 characters. This is a bound control, right? Susan H. From newsgrps at dalyn.co.nz Mon Jun 27 20:34:56 2005 From: newsgrps at dalyn.co.nz (David Emerson) Date: Tue, 28 Jun 2005 13:34:56 +1200 Subject: [AccessD] Saving string > 256 chars in field In-Reply-To: <20050628012024.YQDQ25470.ibm57aec.bellsouth.net@SUSANONE> References: <6.2.1.2.0.20050628131416.02c78820@mail.dalyn.co.nz> <20050628012024.YQDQ25470.ibm57aec.bellsouth.net@SUSANONE> Message-ID: <6.2.1.2.0.20050628133222.02c7c460@mail.dalyn.co.nz> Yes it is bound, however the field is a nvarchar(1000). I can manually type in more than 256 characters and they save ok. It is just when I use VB. David At 28/06/2005, you wrote: > I can enter more than 256 characters directly into the field on the form. > >========The underlying Text field can hold only 255 characters. This is a >bound control, right? > >Susan H. > >-- >AccessD mailing list >AccessD at databaseadvisors.com >http://databaseadvisors.com/mailman/listinfo/accessd >Website: http://www.databaseadvisors.com From ssharkins at bellsouth.net Mon Jun 27 20:39:49 2005 From: ssharkins at bellsouth.net (Susan Harkins) Date: Mon, 27 Jun 2005 21:39:49 -0400 Subject: [AccessD] Saving string > 256 chars in field In-Reply-To: <6.2.1.2.0.20050628133222.02c7c460@mail.dalyn.co.nz> Message-ID: <20050628013949.JJKZ25209.ibm63aec.bellsouth.net@SUSANONE> Are you working in an .adp? Susan H. Yes it is bound, however the field is a nvarchar(1000). I can manually type in more than 256 characters and they save ok. It is just when I use VB. From newsgrps at dalyn.co.nz Mon Jun 27 21:06:46 2005 From: newsgrps at dalyn.co.nz (David Emerson) Date: Tue, 28 Jun 2005 14:06:46 +1200 Subject: [AccessD] Saving string > 256 chars in field Message-ID: <6.2.1.2.0.20050628140640.02c78df0@mail.dalyn.co.nz> Access XP adp, SQL2000. I have a field that needs to be filled with text based on the value of a check box. When the check box is checked, then 1 of two tests are to be put into another varchar(1000) field. However, 1 of the texts is greater than 256 characters long. When I try Me!txtCashRecommendation = strText the first 256 characters are truncated and only the last letters appear in the field. I have the latest service packs. I can enter more than 256 characters directly into the field on the form. How can I put the string into the field without it being truncated? Regards David Emerson Dalyn Software Ltd 25 Cunliffe St, Churton Park Wellington, New Zealand Ph/Fax (04) 478-7456 Mobile 027-280-9348 From newsgrps at dalyn.co.nz Mon Jun 27 21:07:36 2005 From: newsgrps at dalyn.co.nz (David Emerson) Date: Tue, 28 Jun 2005 14:07:36 +1200 Subject: [AccessD] Saving string > 256 chars in field Message-ID: <6.2.1.2.0.20050628140732.02c77920@mail.dalyn.co.nz> Yes - Access XP adp, SQL2000. David At 28/06/2005, you wrote: >Are you working in an .adp? > >Susan H. > >Yes it is bound, however the field is a nvarchar(1000). I can manually type >in more than 256 characters and they save ok. It is just when I use VB. > > >-- >AccessD mailing list >AccessD at databaseadvisors.com >http://databaseadvisors.com/mailman/listinfo/accessd >Website: http://www.databaseadvisors.com From dmcafee at pacbell.net Mon Jun 27 21:21:58 2005 From: dmcafee at pacbell.net (dmcafee at pacbell.net) Date: Mon, 27 Jun 2005 19:21:58 -0700 Subject: [AccessD] Saving string > 256 chars in field In-Reply-To: <6.2.1.2.0.20050628140732.02c77920@mail.dalyn.co.nz> Message-ID: This is a known issue. If you search the archives for Francisco Tapia name you might find the right answer. But if I remember correctly, you have to do your final select with that field cast as a Text, so Access (trying to be too smart) will not truncate what it considers a text field and then assumes it is a memo field. David -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of David Emerson Sent: Monday, June 27, 2005 7:08 PM To: Access Developers discussion and problem solving Subject: RE: [AccessD] Saving string > 256 chars in field Yes - Access XP adp, SQL2000. David At 28/06/2005, you wrote: >Are you working in an .adp? > >Susan H. > >Yes it is bound, however the field is a nvarchar(1000). I can manually type >in more than 256 characters and they save ok. It is just when I use VB. From newsgrps at dalyn.co.nz Mon Jun 27 21:29:32 2005 From: newsgrps at dalyn.co.nz (David Emerson) Date: Tue, 28 Jun 2005 14:29:32 +1200 Subject: [AccessD] Saving string > 256 chars in field In-Reply-To: References: <6.2.1.2.0.20050628140732.02c77920@mail.dalyn.co.nz> Message-ID: <6.2.1.2.0.20050628142756.02c7e640@mail.dalyn.co.nz> Thanks. The archives haven't been available for the last couple of hours. Will follow this up when they are back up. David At 28/06/2005, you wrote: >This is a known issue. If you search the archives for Francisco Tapia name >you might find the right answer. > >But if I remember correctly, you have to do your final select with that >field cast as a Text, so Access (trying to be too smart) will not truncate >what it considers a text field and then assumes it is a memo field. > >David > >-----Original Message----- >From: accessd-bounces at databaseadvisors.com >[mailto:accessd-bounces at databaseadvisors.com]On Behalf Of David Emerson >Sent: Monday, June 27, 2005 7:08 PM >To: Access Developers discussion and problem solving >Subject: RE: [AccessD] Saving string > 256 chars in field > > >Yes - Access XP adp, SQL2000. > >David > >At 28/06/2005, you wrote: > >Are you working in an .adp? > > > >Susan H. > > > >Yes it is bound, however the field is a nvarchar(1000). I can manually >type > >in more than 256 characters and they save ok. It is just when I use VB. > >-- >AccessD mailing list >AccessD at databaseadvisors.com >http://databaseadvisors.com/mailman/listinfo/accessd >Website: http://www.databaseadvisors.com From newsgrps at dalyn.co.nz Mon Jun 27 22:50:58 2005 From: newsgrps at dalyn.co.nz (David Emerson) Date: Tue, 28 Jun 2005 15:50:58 +1200 Subject: [AccessD] Saving string > 256 chars in field In-Reply-To: References: <6.2.1.2.0.20050628140732.02c77920@mail.dalyn.co.nz> Message-ID: <6.2.1.2.0.20050628155023.02c7d180@mail.dalyn.co.nz> I have tried the archives but cant find anything. Francisco - can you remember what the subject was? David At 28/06/2005, you wrote: >This is a known issue. If you search the archives for Francisco Tapia name >you might find the right answer. > >But if I remember correctly, you have to do your final select with that >field cast as a Text, so Access (trying to be too smart) will not truncate >what it considers a text field and then assumes it is a memo field. > >David > >-----Original Message----- >From: accessd-bounces at databaseadvisors.com >[mailto:accessd-bounces at databaseadvisors.com]On Behalf Of David Emerson >Sent: Monday, June 27, 2005 7:08 PM >To: Access Developers discussion and problem solving >Subject: RE: [AccessD] Saving string > 256 chars in field > > >Yes - Access XP adp, SQL2000. > >David > >At 28/06/2005, you wrote: > >Are you working in an .adp? > > > >Susan H. > > > >Yes it is bound, however the field is a nvarchar(1000). I can manually >type > >in more than 256 characters and they save ok. It is just when I use VB. > >-- >AccessD mailing list >AccessD at databaseadvisors.com >http://databaseadvisors.com/mailman/listinfo/accessd >Website: http://www.databaseadvisors.com From accessd666 at yahoo.com Tue Jun 28 06:44:51 2005 From: accessd666 at yahoo.com (Sad Der) Date: Tue, 28 Jun 2005 04:44:51 -0700 (PDT) Subject: [AccessD] Multi-User ; Multi-location Message-ID: <20050628114451.24676.qmail@web31605.mail.mud.yahoo.com> Hi group, I've created a CRM application in Access for a single user. Now, off course, they want to make application suitable for multi-users AND multi-locations. Multi-user isn't that big a deal. Multi-location is. I've never dealt with a multi-location application that exceeds the network boundries. Does anybody have some suggestions, pitt-falls, etc for me? Is replication something I can use for this? Thnx in advance! Regards, SD __________________________________________________ Do You Yahoo!? Tired of spam? Yahoo! Mail has the best spam protection around http://mail.yahoo.com From carbonnb at gmail.com Tue Jun 28 06:46:10 2005 From: carbonnb at gmail.com (Bryan Carbonnell) Date: Tue, 28 Jun 2005 07:46:10 -0400 Subject: [AccessD] Saving string > 256 chars in field In-Reply-To: <6.2.1.2.0.20050628142756.02c7e640@mail.dalyn.co.nz> References: <6.2.1.2.0.20050628140732.02c77920@mail.dalyn.co.nz> <6.2.1.2.0.20050628142756.02c7e640@mail.dalyn.co.nz> Message-ID: On 6/27/05, David Emerson wrote: > Thanks. The archives haven't been available for the last couple of > hours. Will follow this up when they are back up. Which archives? Drew's or the ones at databaseadvisors.com? -- Bryan Carbonnell - carbonnb at gmail.com Life's journey is not to arrive at the grave safely in a well preserved body, but rather to skid in sideways, totally worn out, shouting "What a great ride!" From jimdettman at earthlink.net Tue Jun 28 08:31:19 2005 From: jimdettman at earthlink.net (Jim Dettman) Date: Tue, 28 Jun 2005 09:31:19 -0400 Subject: [AccessD] Multi-User ; Multi-location In-Reply-To: <20050628114451.24676.qmail@web31605.mail.mud.yahoo.com> Message-ID: SD, With JET, replication is about the only answer if large numbers involved (hundreds). The other solution is to park a server somewhere and use Terminal Services or Citrix to remote in. I'd do that if the number of users was lower, say 50 or less. If more then 50, then use replication or switch the back end to something other then JET. Jim. -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Sad Der Sent: Tuesday, June 28, 2005 7:45 AM To: Acces User Group Subject: [AccessD] Multi-User ; Multi-location Hi group, I've created a CRM application in Access for a single user. Now, off course, they want to make application suitable for multi-users AND multi-locations. Multi-user isn't that big a deal. Multi-location is. I've never dealt with a multi-location application that exceeds the network boundries. Does anybody have some suggestions, pitt-falls, etc for me? Is replication something I can use for this? Thnx in advance! Regards, 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 Gustav at cactus.dk Tue Jun 28 12:01:21 2005 From: Gustav at cactus.dk (Gustav Brock) Date: Tue, 28 Jun 2005 19:01:21 +0200 Subject: [AccessD] TAPI and IP telephoning and direct call via web interface Message-ID: Hi All We are now selling open-source Asterix PBX running on Linux and the IP Switchboard here: http://ipswitchboard.thorben.dk With the new possibilities with IP telephoning TAPI has become much more interesting as, of course, a TAPI driver is available for Asterix, AstTapi: http://sourceforge.net/projects/asttapi/ Here is TAPI VB sample code, much info, and a demo/test application called vbTapi.exe: http://www.shrinkwrapvb.com/vbtapi.htm Much commented source code is included here as well as a class which should be portable to VBA. Also, note that many (all?) IP phones do have a web interface. At that of the Snom phones: http://www.snom.com you can type a number to dial and the phone will dial this number just like that. I guess you could wrap that into a function which could be much simpler than the TAPI thing but with no feedback. /gustav From DWUTKA at marlow.com Tue Jun 28 13:18:43 2005 From: DWUTKA at marlow.com (DWUTKA at marlow.com) Date: Tue, 28 Jun 2005 13:18:43 -0500 Subject: [AccessD] Saving string > 256 chars in field Message-ID: <123701F54509D9119A4F00D0B747349016D7BA@main2.marlow.com> Mine are down...will be a month or so until I have them up.... Drew -----Original Message----- From: Bryan Carbonnell [mailto:carbonnb at gmail.com] Sent: Tuesday, June 28, 2005 6:46 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Saving string > 256 chars in field On 6/27/05, David Emerson wrote: > Thanks. The archives haven't been available for the last couple of > hours. Will follow this up when they are back up. Which archives? Drew's or the ones at databaseadvisors.com? -- Bryan Carbonnell - carbonnb at gmail.com Life's journey is not to arrive at the grave safely in a well preserved body, but rather to skid in sideways, totally worn out, shouting "What a great ride!" -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From newsgrps at dalyn.co.nz Tue Jun 28 15:00:32 2005 From: newsgrps at dalyn.co.nz (David Emerson) Date: Wed, 29 Jun 2005 08:00:32 +1200 Subject: [AccessD] Saving string > 256 chars in field In-Reply-To: <123701F54509D9119A4F00D0B747349016D7BA@main2.marlow.com> References: <123701F54509D9119A4F00D0B747349016D7BA@main2.marlow.com> Message-ID: <6.2.1.2.0.20050629075956.02c88b70@mail.dalyn.co.nz> It was the databaseadvisors.com website. It was available again later in the day. David At 29/06/2005, you wrote: >Mine are down...will be a month or so until I have them up.... > >Drew > >-----Original Message----- >From: Bryan Carbonnell [mailto:carbonnb at gmail.com] >Sent: Tuesday, June 28, 2005 6:46 AM >To: Access Developers discussion and problem solving >Subject: Re: [AccessD] Saving string > 256 chars in field > > >On 6/27/05, David Emerson wrote: > > Thanks. The archives haven't been available for the last couple of > > hours. Will follow this up when they are back up. > >Which archives? > >Drew's or the ones at databaseadvisors.com? > >-- >Bryan Carbonnell - carbonnb at gmail.com >Life's journey is not to arrive at the grave safely in a well >preserved body, but rather to skid in sideways, totally worn out, >shouting "What a great ride!" >-- From prodevmg at yahoo.com Tue Jun 28 16:38:18 2005 From: prodevmg at yahoo.com (Lonnie Johnson) Date: Tue, 28 Jun 2005 14:38:18 -0700 (PDT) Subject: [AccessD] Can I spell check an unbound field? In-Reply-To: <6.2.1.2.0.20050629075956.02c88b70@mail.dalyn.co.nz> Message-ID: <20050628213818.23178.qmail@web33112.mail.mud.yahoo.com> I think the answer is no, but there is always a guru with a hack. I have a form that is unbound. I have a large memo field and I would like to spellcheck that memo field before appending it to the actual recordset that it will go to. Can it be done? 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 dwaters at usinternet.com Tue Jun 28 17:10:41 2005 From: dwaters at usinternet.com (Dan Waters) Date: Tue, 28 Jun 2005 15:10:41 -0700 Subject: [AccessD] Can I spell check an unbound field? In-Reply-To: <5668356.1119994458524.JavaMail.root@sniper21> Message-ID: <000201c57c2e$3a26ac40$0518820a@danwaters> Lonnie, Yes! But I'll have to get back to you in a few hours. Dan Waters -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Lonnie Johnson Sent: Tuesday, June 28, 2005 2:38 PM To: Access Developers discussion and problem solving Subject: [AccessD] Can I spell check an unbound field? I think the answer is no, but there is always a guru with a hack. I have a form that is unbound. I have a large memo field and I would like to spellcheck that memo field before appending it to the actual recordset that it will go to. Can it be done? 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 -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From prodevmg at yahoo.com Tue Jun 28 17:14:28 2005 From: prodevmg at yahoo.com (Lonnie Johnson) Date: Tue, 28 Jun 2005 15:14:28 -0700 (PDT) Subject: [AccessD] Can I spell check an unbound field? In-Reply-To: <000201c57c2e$3a26ac40$0518820a@danwaters> Message-ID: <20050628221428.39535.qmail@web33106.mail.mud.yahoo.com> Thanks. I may have to leave this and come back to it in the morning anyway. Dan Waters wrote:Lonnie, Yes! But I'll have to get back to you in a few hours. Dan Waters -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Lonnie Johnson Sent: Tuesday, June 28, 2005 2:38 PM To: Access Developers discussion and problem solving Subject: [AccessD] Can I spell check an unbound field? I think the answer is no, but there is always a guru with a hack. I have a form that is unbound. I have a large memo field and I would like to spellcheck that memo field before appending it to the actual recordset that it will go to. Can it be done? 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 -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/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 --------------------------------- Yahoo! Sports Rekindle the Rivalries. Sign up for Fantasy Football From accessd at shaw.ca Tue Jun 28 17:17:00 2005 From: accessd at shaw.ca (Jim Lawrence) Date: Tue, 28 Jun 2005 15:17:00 -0700 Subject: [AccessD] TAPI and IP telephoning and direct call via web interface In-Reply-To: Message-ID: <0IIT0040HF89MD@l-daemon> Wow, that is awesome Gustav. It looks like some very interesting! Jim -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Gustav Brock Sent: Tuesday, June 28, 2005 10:01 AM To: accessd at databaseadvisors.com Subject: [AccessD] TAPI and IP telephoning and direct call via web interface Hi All We are now selling open-source Asterix PBX running on Linux and the IP Switchboard here: http://ipswitchboard.thorben.dk With the new possibilities with IP telephoning TAPI has become much more interesting as, of course, a TAPI driver is available for Asterix, AstTapi: http://sourceforge.net/projects/asttapi/ Here is TAPI VB sample code, much info, and a demo/test application called vbTapi.exe: http://www.shrinkwrapvb.com/vbtapi.htm Much commented source code is included here as well as a class which should be portable to VBA. Also, note that many (all?) IP phones do have a web interface. At that of the Snom phones: http://www.snom.com you can type a number to dial and the phone will dial this number just like that. I guess you could wrap that into a function which could be much simpler than the TAPI thing but with no feedback. /gustav -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From darsant at gmail.com Tue Jun 28 17:19:07 2005 From: darsant at gmail.com (Josh McFarlane) Date: Tue, 28 Jun 2005 17:19:07 -0500 Subject: [AccessD] Can I spell check an unbound field? In-Reply-To: <20050628213818.23178.qmail@web33112.mail.mud.yahoo.com> References: <6.2.1.2.0.20050629075956.02c88b70@mail.dalyn.co.nz> <20050628213818.23178.qmail@web33112.mail.mud.yahoo.com> Message-ID: <53c8e05a050628151945a82603@mail.gmail.com> On 6/28/05, Lonnie Johnson wrote: > I think the answer is no, but there is always a guru with a hack. > > I have a form that is unbound. I have a large memo field and I would like to spellcheck that memo field before appending it to the actual recordset that it will go to. > > Can it be done? Is there a way to do it? Yes. However, the method I know involves creating a MicrosoftWord object and piping the text into the document, spellchecking it in word, then returning the mispelled words along with the suggestions. It's a lot of hassle, and someone else might know a better way to use Access's Spellcheck. If you're still interested though, let me know and I'll throw some example code up here. -- Josh McFarlane "Peace cannot be kept by force. It can only be achieved by understanding." -Albert Einstein From bchacc at san.rr.com Tue Jun 28 17:27:29 2005 From: bchacc at san.rr.com (Rocky Smolin - Beach Access Software) Date: Tue, 28 Jun 2005 15:27:29 -0700 Subject: [AccessD] Can I spell check an unbound field? References: <20050628213818.23178.qmail@web33112.mail.mud.yahoo.com> Message-ID: <02bd01c57c30$91ec3ce0$6701a8c0@HAL9004> OK. Here's my hack. Create a table with one field. Bind your form to that table (I'm assuming the form's not bound to a table already. If so I guess you could add this field to the table). Put an invisible text box on your form bound to that field. In the after update event of the text box copy the contents of the unbound text box to the field in the table using DAO. Requery the form so the text is in the invisible text box. Spell check the bound text box. There's got to be an easier way. Stand by for better ideas... Rocky ----- Original Message ----- From: "Lonnie Johnson" To: "Access Developers discussion and problem solving" Sent: Tuesday, June 28, 2005 2:38 PM Subject: [AccessD] Can I spell check an unbound field? >I think the answer is no, but there is always a guru with a hack. > > I have a form that is unbound. I have a large memo field and I would like > to spellcheck that memo field before appending it to the actual recordset > that it will go to. > > Can it be done? > > > > 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 > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > From cfoust at infostatsystems.com Tue Jun 28 18:12:44 2005 From: cfoust at infostatsystems.com (Charlotte Foust) Date: Tue, 28 Jun 2005 16:12:44 -0700 Subject: [AccessD] Can I spell check an unbound field? Message-ID: Public Function SpellCheckField(ctl As Control) 'created by Charlotte Foust 3/27/2000 'runs default spell checker on the control 'passed into the function On Error Resume Next ctl.SelStart = 0 ctl.SelLength = Len(ctl) DoCmd.RunCommand acCmdSpelling End Function 'SpellCheckField(ctl As Control) Charlotte Foust -----Original Message----- From: Lonnie Johnson [mailto:prodevmg at yahoo.com] Sent: Tuesday, June 28, 2005 2:38 PM To: Access Developers discussion and problem solving Subject: [AccessD] Can I spell check an unbound field? I think the answer is no, but there is always a guru with a hack. I have a form that is unbound. I have a large memo field and I would like to spellcheck that memo field before appending it to the actual recordset that it will go to. Can it be done? 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 -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From Developer at UltraDNT.com Tue Jun 28 18:34:51 2005 From: Developer at UltraDNT.com (Steve Conklin (Developer@UltraDNT)) Date: Tue, 28 Jun 2005 19:34:51 -0400 Subject: [AccessD] MS Reporting Services In-Reply-To: <000901c57b72$42bdf280$6401a8c0@laptop1> Message-ID: <001501c57c39$fe22a2b0$640fa8c0@CONKEY2000> They must mean MS's SQL Server Reporting Services. www.microsoft.com/sql/reporting/default.asp Hth Steve -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Joe Hecht Sent: Monday, June 27, 2005 7:45 PM To: 'Access Developers discussion and problem solving' Subject: [AccessD] MS Reporting Services I am sending resumes again. Some one is asking for MS Reporting services. What is it ? Joe Hecht Los Angeles CA -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From bheygood at abestsystems.com Tue Jun 28 20:28:03 2005 From: bheygood at abestsystems.com (Bob Heygood) Date: Tue, 28 Jun 2005 18:28:03 -0700 Subject: [AccessD] ole Excel in Access report In-Reply-To: <123701F54509D9119A4F00D0B747349016D7BA@main2.marlow.com> Message-ID: Hello to the list, I would like to display some Excel sheets in an Access report. I have been successful in getting one page of one sheet of a workbook in an unbound ole control. Does someone have an example of how I can place all of a workbook including all sheets and all pages of each sheet in my report? This does not have to be "linked", but would be nice. Size of the database is not a consideration, so embedding is ok. best, bob From carbonnb at gmail.com Tue Jun 28 21:42:15 2005 From: carbonnb at gmail.com (Bryan Carbonnell) Date: Tue, 28 Jun 2005 22:42:15 -0400 Subject: [AccessD] Saving string > 256 chars in field In-Reply-To: <6.2.1.2.0.20050629075956.02c88b70@mail.dalyn.co.nz> References: <123701F54509D9119A4F00D0B747349016D7BA@main2.marlow.com> <6.2.1.2.0.20050629075956.02c88b70@mail.dalyn.co.nz> Message-ID: On 6/28/05, David Emerson wrote: > It was the databaseadvisors.com website. It was available again later in > the day. Interesting. I'll see what I can see about why it was down. -- 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 dba.email at gmail.com Wed Jun 29 07:39:34 2005 From: dba.email at gmail.com (Admin Sparky) Date: Wed, 29 Jun 2005 08:39:34 -0400 Subject: [AccessD] Shell /cmd Message-ID: <5f2de24205062905391412a283@mail.gmail.com> Group, Can someone interpret this? This line of code is behind a button on a PowerPoint slide. As I understand it, the purpose of the button is to allow the user to acknowledge that they have read the material. This acknowledgement is tracked by an entry into a database. What exactly is happening here? They are obviously checking for an Access version...but what I'm looking for is a short explanation as to how this line of code is shelling out to Access and making an entry into a tracking database. What am I missing? Watch for major line wrap. Thanks for any enlightenment, Mark Private Sub CommandButton2_Click() If InStr(1, Me.Application.Version, "11", vbTextCompare) Then Shell ("C:\Program Files\Microsoft Office\Office11\MSAccess.exe ""G:\Quality_Plan\DocuTracker\docutracker.mdb"" /cmd ""G:\Quality_Plan\DocuTracker\E15Insight\2-10 (E12 Info).pps""") ElseIf InStr(1, Me.Application.Version, "10", vbTextCompare) Then Shell ("C:\Program Files\Microsoft Office\Office10\MSAccess.exe ""G:\Quality_Plan\DocuTracker\docutracker.mdb"" /cmd ""G:\Quality_Plan\DocuTracker\E15Insight\2-10 (E12 Info).pps""") Else MsgBox "Old Office version. Not Recorded. Contact admin for help.", vbCritical + vbOKOnly End If Me.Application.Quit End Sub From dba.email at gmail.com Wed Jun 29 07:59:39 2005 From: dba.email at gmail.com (Admin Sparky) Date: Wed, 29 Jun 2005 08:59:39 -0400 Subject: [AccessD] Re: Shell /cmd In-Reply-To: <5f2de24205062905391412a283@mail.gmail.com> References: <5f2de24205062905391412a283@mail.gmail.com> Message-ID: <5f2de2420506290559661d15ee@mail.gmail.com> Thanks anyway...found it. This was one of those situations where it didn't matter how simple the concept was...I had just never seen it or had a need for it. "When Microsoft Access is launched from the command line, any portion of the command line that follows the /cmd option is passed to the program as the command-line argument. You can use the Command function to return the argument that has been passed." Mark On 6/29/05, Admin Sparky wrote: > Group, > > Can someone interpret this? This line of code is behind a button on a > PowerPoint slide. As I understand it, the purpose of the button is to > allow the user to acknowledge that they have read the material. This > acknowledgement is tracked by an entry into a database. What exactly > is happening here? They are obviously checking for an Access > version...but what I'm looking for is a short explanation as to how > this line of code is shelling out to Access and making an entry into a > tracking database. What am I missing? > > Watch for major line wrap. > > Thanks for any enlightenment, > > Mark > > > Private Sub CommandButton2_Click() > If InStr(1, Me.Application.Version, "11", vbTextCompare) Then > Shell ("C:\Program Files\Microsoft > Office\Office11\MSAccess.exe > ""G:\Quality_Plan\DocuTracker\docutracker.mdb"" /cmd > ""G:\Quality_Plan\DocuTracker\E15Insight\2-10 (E12 Info).pps""") > ElseIf InStr(1, Me.Application.Version, "10", vbTextCompare) Then > Shell ("C:\Program Files\Microsoft > Office\Office10\MSAccess.exe > ""G:\Quality_Plan\DocuTracker\docutracker.mdb"" /cmd > ""G:\Quality_Plan\DocuTracker\E15Insight\2-10 (E12 Info).pps""") > Else > MsgBox "Old Office version. Not Recorded. Contact admin for > help.", vbCritical + vbOKOnly > End If > Me.Application.Quit > End Sub > > From mikedorism at verizon.net Wed Jun 29 08:08:07 2005 From: mikedorism at verizon.net (Mike & Doris Manning) Date: Wed, 29 Jun 2005 09:08:07 -0400 Subject: [AccessD] Shell /cmd In-Reply-To: <5f2de24205062905391412a283@mail.gmail.com> Message-ID: <000501c57cab$980a2260$2f01a8c0@hargrove.internal> Check the database for an AutoExec macro that runs at startup. You will probably find the missing pieces there. Doris Manning Database Administrator Hargrove Inc. www.hargroveinc.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Admin Sparky Sent: Wednesday, June 29, 2005 8:40 AM To: accessd at databaseadvisors.com Subject: [AccessD] Shell /cmd Group, Can someone interpret this? This line of code is behind a button on a PowerPoint slide. As I understand it, the purpose of the button is to allow the user to acknowledge that they have read the material. This acknowledgement is tracked by an entry into a database. What exactly is happening here? They are obviously checking for an Access version...but what I'm looking for is a short explanation as to how this line of code is shelling out to Access and making an entry into a tracking database. What am I missing? Watch for major line wrap. Thanks for any enlightenment, Mark Private Sub CommandButton2_Click() If InStr(1, Me.Application.Version, "11", vbTextCompare) Then Shell ("C:\Program Files\Microsoft Office\Office11\MSAccess.exe ""G:\Quality_Plan\DocuTracker\docutracker.mdb"" /cmd ""G:\Quality_Plan\DocuTracker\E15Insight\2-10 (E12 Info).pps""") ElseIf InStr(1, Me.Application.Version, "10", vbTextCompare) Then Shell ("C:\Program Files\Microsoft Office\Office10\MSAccess.exe ""G:\Quality_Plan\DocuTracker\docutracker.mdb"" /cmd ""G:\Quality_Plan\DocuTracker\E15Insight\2-10 (E12 Info).pps""") Else MsgBox "Old Office version. Not Recorded. Contact admin for help.", vbCritical + vbOKOnly End If Me.Application.Quit End Sub -- 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 Jun 29 08:34:56 2005 From: John.Clark at niagaracounty.com (John Clark) Date: Wed, 29 Jun 2005 09:34:56 -0400 Subject: [AccessD] Changing table values via code Message-ID: Hi everybody...long time since I've asked a question here, but I find myself needing help again. I am working on a db for a payroll dept. One of the things I need to do for them is to keep a running total for time off. Basically each employee will have a record in a table with fields for vacation, personal, sick, etc., and I need to do two things with these numbers. I need to add to these totals at the beginning of each years, as they earn more time. And, I need to subtract from these totals as they use their time. So, when a payroll clerk enters a value of 7 hrs vacation for an employee on a given day, I need to subtract seven from their total vacation hours. Both of these will be done via code, at the time of the change, but I have never done this before. I would appreciate any direction you could offer. Thank you John W Clark From darsant at gmail.com Wed Jun 29 08:44:37 2005 From: darsant at gmail.com (Josh McFarlane) Date: Wed, 29 Jun 2005 08:44:37 -0500 Subject: [AccessD] Changing table values via code In-Reply-To: References: Message-ID: <53c8e05a050629064429623988@mail.gmail.com> On 6/29/05, John Clark wrote: > Hi everybody...long time since I've asked a question here, but I find > myself needing help again. > > I am working on a db for a payroll dept. One of the things I need to do > for them is to keep a running total for time off. Basically each > employee will have a record in a table with fields for vacation, > personal, sick, etc., and I need to do two things with these numbers. I > need to add to these totals at the beginning of each years, as they earn > more time. And, I need to subtract from these totals as they use their > time. So, when a payroll clerk enters a value of 7 hrs vacation for an > employee on a given day, I need to subtract seven from their total > vacation hours. > > Both of these will be done via code, at the time of the change, but I > have never done this before. I would appreciate any direction you could > offer. Well, it depends on how you're looking to do it, but you can self-reference to get the effect you're looking for in the format of X = X - Y rs.Fields("VacationTime") = rs.Fields("VacationTime") - nhoursUsed or if you have both values form named nVacationTime (bound) and nHoursUsed (could be unbound or bound) nVacationTime = nVacationTime - nHoursUsed -- HTH Josh McFarlane "Peace cannot be kept by force. It can only be achieved by understanding." -Albert Einstein From cyx5 at cdc.gov Wed Jun 29 08:47:32 2005 From: cyx5 at cdc.gov (Nicholson, Karen) Date: Wed, 29 Jun 2005 09:47:32 -0400 Subject: [AccessD] Changing table values via code Message-ID: Is there a reason why you need to store a calculated field in a field? Does this need to be displayed on a form? On a report? -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of John Clark Sent: Wednesday, June 29, 2005 9:35 AM To: accessd at databaseadvisors.com Subject: [AccessD] Changing table values via code Hi everybody...long time since I've asked a question here, but I find myself needing help again. I am working on a db for a payroll dept. One of the things I need to do for them is to keep a running total for time off. Basically each employee will have a record in a table with fields for vacation, personal, sick, etc., and I need to do two things with these numbers. I need to add to these totals at the beginning of each years, as they earn more time. And, I need to subtract from these totals as they use their time. So, when a payroll clerk enters a value of 7 hrs vacation for an employee on a given day, I need to subtract seven from their total vacation hours. Both of these will be done via code, at the time of the change, but I have never done this before. I would appreciate any direction you could offer. 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 Jun 29 09:05:21 2005 From: John.Clark at niagaracounty.com (John Clark) Date: Wed, 29 Jun 2005 10:05:21 -0400 Subject: [AccessD] Changing table values via code Message-ID: I just need to keep a running tally of time off. An employee may call up and say, "How much vacation time do I have?" They need to look this up and give a quick answer. Also, yes, I will be putting these on a report(s), as well. >>> cyx5 at cdc.gov 6/29/2005 9:47:32 AM >>> Is there a reason why you need to store a calculated field in a field? Does this need to be displayed on a form? On a report? -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of John Clark Sent: Wednesday, June 29, 2005 9:35 AM To: accessd at databaseadvisors.com Subject: [AccessD] Changing table values via code Hi everybody...long time since I've asked a question here, but I find myself needing help again. I am working on a db for a payroll dept. One of the things I need to do for them is to keep a running total for time off. Basically each employee will have a record in a table with fields for vacation, personal, sick, etc., and I need to do two things with these numbers. I need to add to these totals at the beginning of each years, as they earn more time. And, I need to subtract from these totals as they use their time. So, when a payroll clerk enters a value of 7 hrs vacation for an employee on a given day, I need to subtract seven from their total vacation hours. Both of these will be done via code, at the time of the change, but I have never done this before. I would appreciate any direction you could offer. 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 cyx5 at cdc.gov Wed Jun 29 09:10:28 2005 From: cyx5 at cdc.gov (Nicholson, Karen) Date: Wed, 29 Jun 2005 10:10:28 -0400 Subject: [AccessD] Changing table values via code Message-ID: Put it in a query, grouping my employeeid, totalling by hours offered and hours taken. -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of John Clark Sent: Wednesday, June 29, 2005 10:05 AM To: accessd at databaseadvisors.com Subject: RE: [AccessD] Changing table values via code I just need to keep a running tally of time off. An employee may call up and say, "How much vacation time do I have?" They need to look this up and give a quick answer. Also, yes, I will be putting these on a report(s), as well. >>> cyx5 at cdc.gov 6/29/2005 9:47:32 AM >>> Is there a reason why you need to store a calculated field in a field? Does this need to be displayed on a form? On a report? -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of John Clark Sent: Wednesday, June 29, 2005 9:35 AM To: accessd at databaseadvisors.com Subject: [AccessD] Changing table values via code Hi everybody...long time since I've asked a question here, but I find myself needing help again. I am working on a db for a payroll dept. One of the things I need to do for them is to keep a running total for time off. Basically each employee will have a record in a table with fields for vacation, personal, sick, etc., and I need to do two things with these numbers. I need to add to these totals at the beginning of each years, as they earn more time. And, I need to subtract from these totals as they use their time. So, when a payroll clerk enters a value of 7 hrs vacation for an employee on a given day, I need to subtract seven from their total vacation hours. Both of these will be done via code, at the time of the change, but I have never done this before. I would appreciate any direction you could offer. 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 paul.hartland at fsmail.net Wed Jun 29 09:36:38 2005 From: paul.hartland at fsmail.net (paul.hartland at fsmail.net) Date: Wed, 29 Jun 2005 16:36:38 +0200 (CEST) Subject: [AccessD] Fastest Way To Get Data Field From Recordset Message-ID: <1029086.1120055798615.JavaMail.www@wwinf3002> To all, I have taken over a project and where I would normally use something like strMinPayroll = rsMinPayroll.Fields("LowPayrollNo") it is written as strMinPayroll = rsMinPayroll!LowPayroll Is there a difference in speed with these, i.e. is one more efficient than the other etc.... Thanks in advance for any help on this... Paul Hartland -- Whatever you Wanadoo: http://www.wanadoo.co.uk/time/ This email has been checked for most known viruses - find out more at: http://www.wanadoo.co.uk/help/id/7098.htm From jimdettman at earthlink.net Wed Jun 29 09:44:10 2005 From: jimdettman at earthlink.net (Jim Dettman) Date: Wed, 29 Jun 2005 10:44:10 -0400 Subject: [AccessD] Changing table values via code In-Reply-To: Message-ID: I'd second that. Definitely keep a record of hours earned and hours used. When someone doesn't like the answer they get on what's left, your going to need that detail. Now although it's considered a no-no, you may want keep a summary field in a record and update that every time you write a record into the above table. The approach I like to use though is to always generate a balance by totaling the records, but include the ability to store a "balance forward" record when a purge is done. The balance forward record is a summary of the purged detail. This allows a client to purge the table when performance issues start to creep in, but still maintain a sound relational design. Jim. -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Nicholson, Karen Sent: Wednesday, June 29, 2005 10:10 AM To: Access Developers discussion and problem solving Subject: RE: [AccessD] Changing table values via code Put it in a query, grouping my employeeid, totalling by hours offered and hours taken. -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of John Clark Sent: Wednesday, June 29, 2005 10:05 AM To: accessd at databaseadvisors.com Subject: RE: [AccessD] Changing table values via code I just need to keep a running tally of time off. An employee may call up and say, "How much vacation time do I have?" They need to look this up and give a quick answer. Also, yes, I will be putting these on a report(s), as well. >>> cyx5 at cdc.gov 6/29/2005 9:47:32 AM >>> Is there a reason why you need to store a calculated field in a field? Does this need to be displayed on a form? On a report? -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of John Clark Sent: Wednesday, June 29, 2005 9:35 AM To: accessd at databaseadvisors.com Subject: [AccessD] Changing table values via code Hi everybody...long time since I've asked a question here, but I find myself needing help again. I am working on a db for a payroll dept. One of the things I need to do for them is to keep a running total for time off. Basically each employee will have a record in a table with fields for vacation, personal, sick, etc., and I need to do two things with these numbers. I need to add to these totals at the beginning of each years, as they earn more time. And, I need to subtract from these totals as they use their time. So, when a payroll clerk enters a value of 7 hrs vacation for an employee on a given day, I need to subtract seven from their total vacation hours. Both of these will be done via code, at the time of the change, but I have never done this before. I would appreciate any direction you could offer. 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 cfoust at infostatsystems.com Wed Jun 29 09:46:47 2005 From: cfoust at infostatsystems.com (Charlotte Foust) Date: Wed, 29 Jun 2005 07:46:47 -0700 Subject: [AccessD] Fastest Way To Get Data Field From Recordset Message-ID: The first option is the slowest way. Charlotte Foust -----Original Message----- From: paul.hartland at fsmail.net [mailto:paul.hartland at fsmail.net] Sent: Wednesday, June 29, 2005 7:37 AM To: accessd Subject: [AccessD] Fastest Way To Get Data Field From Recordset To all, I have taken over a project and where I would normally use something like strMinPayroll = rsMinPayroll.Fields("LowPayrollNo") it is written as strMinPayroll = rsMinPayroll!LowPayroll Is there a difference in speed with these, i.e. is one more efficient than the other etc.... Thanks in advance for any help on this... Paul Hartland -- Whatever you Wanadoo: http://www.wanadoo.co.uk/time/ This email has been checked for most known viruses - find out more at: http://www.wanadoo.co.uk/help/id/7098.htm -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From dwaters at usinternet.com Wed Jun 29 09:47:16 2005 From: dwaters at usinternet.com (Dan Waters) Date: Wed, 29 Jun 2005 07:47:16 -0700 Subject: [AccessD] Can I spell check an unbound field? In-Reply-To: <10044712.1119996830027.JavaMail.root@sniper14> Message-ID: <000001c57cb9$725cde50$0718820a@danwaters> Lonnie, Charlotte's code is what I was going to suggest. Dan Waters -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Dan Waters Sent: Tuesday, June 28, 2005 3:11 PM To: 'Access Developers discussion and problem solving' Subject: RE: [AccessD] Can I spell check an unbound field? Lonnie, Yes! But I'll have to get back to you in a few hours. Dan Waters -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Lonnie Johnson Sent: Tuesday, June 28, 2005 2:38 PM To: Access Developers discussion and problem solving Subject: [AccessD] Can I spell check an unbound field? I think the answer is no, but there is always a guru with a hack. I have a form that is unbound. I have a large memo field and I would like to spellcheck that memo field before appending it to the actual recordset that it will go to. Can it be done? 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 -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From Chris.Foote at uk.thalesgroup.com Wed Jun 29 09:50:49 2005 From: Chris.Foote at uk.thalesgroup.com (Foote, Chris) Date: Wed, 29 Jun 2005 15:50:49 +0100 Subject: [AccessD] Fastest Way To Get Data Field From Recordset Message-ID: <97CF276BD8C6D4119C4B00508BB18DE709E0C7F7@ntscxch1.int.rdel.co.uk> But it presumably will not die if someone has (cough) used a space in the name Charlotte? Regards Chris Foote - UK > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Charlotte > Foust > Sent: Wednesday, June 29, 2005 3:47 PM > To: Access Developers discussion and problem solving > Subject: RE: [AccessD] Fastest Way To Get Data Field From Recordset > > > The first option is the slowest way. > > Charlotte Foust > > > -----Original Message----- > From: paul.hartland at fsmail.net [mailto:paul.hartland at fsmail.net] > Sent: Wednesday, June 29, 2005 7:37 AM > To: accessd > Subject: [AccessD] Fastest Way To Get Data Field From Recordset > > > To all, > > I have taken over a project and where I would normally use something > like > > strMinPayroll = rsMinPayroll.Fields("LowPayrollNo") > > it is written as > > strMinPayroll = rsMinPayroll!LowPayroll > > Is there a difference in speed with these, i.e. is one more efficient > than the other etc.... > > Thanks in advance for any help on this... > > Paul Hartland From paul.hartland at fsmail.net Wed Jun 29 09:55:37 2005 From: paul.hartland at fsmail.net (paul.hartland at fsmail.net) Date: Wed, 29 Jun 2005 16:55:37 +0200 (CEST) Subject: [AccessD] Fastest Way To Get Data Field From Recordset Message-ID: <5968352.1120056937594.JavaMail.www@wwinf3002> I think you get round that by using the square brakcets rsMinPayroll![LowPayroll] Message date : Jun 29 2005, 03:53 PM >From : "Foote, Chris" To : "'Access Developers discussion and problem solving'" Copy to : Subject : RE: [AccessD] Fastest Way To Get Data Field From Recordset But it presumably will not die if someone has (cough) used a space in the name Charlotte? Regards Chris Foote - UK > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Charlotte > Foust > Sent: Wednesday, June 29, 2005 3:47 PM > To: Access Developers discussion and problem solving > Subject: RE: [AccessD] Fastest Way To Get Data Field From Recordset > > > The first option is the slowest way. > > Charlotte Foust > > > -----Original Message----- > From: paul.hartland at fsmail.net [mailto:paul.hartland at fsmail.net] > Sent: Wednesday, June 29, 2005 7:37 AM > To: accessd > Subject: [AccessD] Fastest Way To Get Data Field From Recordset > > > To all, > > I have taken over a project and where I would normally use something > like > > strMinPayroll = rsMinPayroll.Fields("LowPayrollNo") > > it is written as > > strMinPayroll = rsMinPayroll!LowPayroll > > Is there a difference in speed with these, i.e. is one more efficient > than the other etc.... > > Thanks in advance for any help on this... > > Paul Hartland -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- Whatever you Wanadoo: http://www.wanadoo.co.uk/time/ This email has been checked for most known viruses - find out more at: http://www.wanadoo.co.uk/help/id/7098.htm From rl_stewart at highstream.net Wed Jun 29 09:58:43 2005 From: rl_stewart at highstream.net (Robert L. Stewart) Date: Wed, 29 Jun 2005 09:58:43 -0500 Subject: [AccessD] Re: Normalizing issue In-Reply-To: <200506281700.j5SH0ER29043@databaseadvisors.com> References: <200506281700.j5SH0ER29043@databaseadvisors.com> Message-ID: <6.2.1.2.2.20050629095814.03357d20@pop3.highstream.net> I thought that was what I said. :-) At 12:00 PM 6/28/2005, you wrote: >Date: Mon, 27 Jun 2005 16:35:57 -0400 >From: "Susan Harkins" >Subject: RE: [AccessD] Re: Normalizing issue >To: "'Access Developers discussion and problem solving'" > >Message-ID: <20050627203557.KNJH29052.ibm68aec.bellsouth.net at SUSANONE> >Content-Type: text/plain; charset="US-ASCII" > >I think I've decided on a simple "people" table -- with a mtm related table >that describes their role in any publication. Seems to make the most sense >at this point. > >Susan H. > >Or, you could add a table for related parties and carry their role in that >table. Then you can get all the co-authors and illustrators, reviewers, >etc. > >tblPublicationRelatedParty >PublicationRelatedPartyID >PublicationID >PartyID >RoleID From rl_stewart at highstream.net Wed Jun 29 09:59:49 2005 From: rl_stewart at highstream.net (Robert L. Stewart) Date: Wed, 29 Jun 2005 09:59:49 -0500 Subject: [AccessD] Re: MS Reporting Services In-Reply-To: <200506281700.j5SH0ER29043@databaseadvisors.com> References: <200506281700.j5SH0ER29043@databaseadvisors.com> Message-ID: <6.2.1.2.2.20050629095902.03357a90@pop3.highstream.net> Joe, It is an addition onto SQL Server. You need to use .Net to be able to take advantage of it. Robert At 12:00 PM 6/28/2005, you wrote: >Date: Mon, 27 Jun 2005 16:45:11 -0700 >From: "Joe Hecht" >Subject: [AccessD] MS Reporting Services >To: "'Access Developers discussion and problem solving'" > >Message-ID: <000901c57b72$42bdf280$6401a8c0 at laptop1> >Content-Type: text/plain; charset="us-ascii" > >I am sending resumes again. Some one is asking for MS Reporting services. > >What is it ? > >Joe Hecht From DWUTKA at marlow.com Wed Jun 29 10:00:52 2005 From: DWUTKA at marlow.com (DWUTKA at marlow.com) Date: Wed, 29 Jun 2005 10:00:52 -0500 Subject: [AccessD] Changing table values via code Message-ID: <123701F54509D9119A4F00D0B747349016D7C2@main2.marlow.com> Just a thought John, but I would recommend that you don't actually change a value in a record to do this. Instead, make it a transaction table. For example: tblVacationHours VHTransactionID (AutoNumber) EmployeeID (foriegn key) NumberOfHours (Long, or Currency if there could be hour 'portions') TransactionTimeStamp (Date/Time) Now, you could add a third field that would determine the type of transaction, ie, a credit or a debit, or you could simply use positive or negative values for the NumberOfHours fields. Either way, to determine the employees total current number of vacation hours, simply sum NumberOfHours for their Employee ID. I would strongly recommend this method, because if you simply allow someone to change a value, there is no record of what was changed. So if a payroll clerk goofs and removes an extra day or two, there is no record to see what it was before, and when it was changed. With a transaction log (which is summed for the totals), you can see what was entered, and when, so when someone took a Monday off, and the transaction shows 80 hours, instead of 8, you can simply fix that transaction, or add new transactions to compensate. Drew -----Original Message----- From: John Clark [mailto:John.Clark at niagaracounty.com] Sent: Wednesday, June 29, 2005 8:35 AM To: accessd at databaseadvisors.com Subject: [AccessD] Changing table values via code Hi everybody...long time since I've asked a question here, but I find myself needing help again. I am working on a db for a payroll dept. One of the things I need to do for them is to keep a running total for time off. Basically each employee will have a record in a table with fields for vacation, personal, sick, etc., and I need to do two things with these numbers. I need to add to these totals at the beginning of each years, as they earn more time. And, I need to subtract from these totals as they use their time. So, when a payroll clerk enters a value of 7 hrs vacation for an employee on a given day, I need to subtract seven from their total vacation hours. Both of these will be done via code, at the time of the change, but I have never done this before. I would appreciate any direction you could offer. 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 at winhaven.net Wed Jun 29 10:13:22 2005 From: john at winhaven.net (John Bartow) Date: Wed, 29 Jun 2005 10:13:22 -0500 Subject: [AccessD] Publish it with MS Word Message-ID: <200506291513.j5TFDPlw301022@pimout4-ext.prodigy.net> I need a quick one here... I have to add a command button to an old A97 app that will output a report right into to Word (rtf). I can't find my code snippet for doing the "Publish it with MS Word" in VBA. Anyone have it handy? TIA John B. From artful at rogers.com Wed Jun 29 10:27:36 2005 From: artful at rogers.com (Arthur Fuller) Date: Wed, 29 Jun 2005 11:27:36 -0400 Subject: [AccessD] MS Reporting Services In-Reply-To: <000901c57b72$42bdf280$6401a8c0@laptop1> Message-ID: <200506291527.j5TFRcR03483@databaseadvisors.com> You can download it from MS. Think of it as an Object-Oriented report writer designed for use with the DotNET stuff (and others). It is seriously powerful and a long way past the Access report tool, IMO. But report writers are in a sense pretty much all the same, especially at the lower levels. Where they begin to differ, and shine, is in the difficult stuff. You should grab a copy from MS and take it for a spin. From your previous posts I am confident that MS-RS will take you about a day to master. A. -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Joe Hecht Sent: June 27, 2005 7:45 PM To: 'Access Developers discussion and problem solving' Subject: [AccessD] MS Reporting Services I am sending resumes again. Some one is asking for MS Reporting services. What is it ? Joe Hecht Los Angeles CA -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From cfoust at infostatsystems.com Wed Jun 29 10:36:29 2005 From: cfoust at infostatsystems.com (Charlotte Foust) Date: Wed, 29 Jun 2005 08:36:29 -0700 Subject: [AccessD] Fastest Way To Get Data Field From Recordset Message-ID: If they do, they should be Colbyized! Charlotte Foust -----Original Message----- From: Foote, Chris [mailto:Chris.Foote at uk.thalesgroup.com] Sent: Wednesday, June 29, 2005 7:51 AM To: 'Access Developers discussion and problem solving' Subject: RE: [AccessD] Fastest Way To Get Data Field From Recordset But it presumably will not die if someone has (cough) used a space in the name Charlotte? Regards Chris Foote - UK > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Charlotte > Foust > Sent: Wednesday, June 29, 2005 3:47 PM > To: Access Developers discussion and problem solving > Subject: RE: [AccessD] Fastest Way To Get Data Field From Recordset > > > The first option is the slowest way. > > Charlotte Foust > > > -----Original Message----- > From: paul.hartland at fsmail.net [mailto:paul.hartland at fsmail.net] > Sent: Wednesday, June 29, 2005 7:37 AM > To: accessd > Subject: [AccessD] Fastest Way To Get Data Field From Recordset > > > To all, > > I have taken over a project and where I would normally use something > like > > strMinPayroll = rsMinPayroll.Fields("LowPayrollNo") > > it is written as > > strMinPayroll = rsMinPayroll!LowPayroll > > Is there a difference in speed with these, i.e. is one more efficient > than the other etc.... > > Thanks in advance for any help on this... > > Paul Hartland -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From artful at rogers.com Wed Jun 29 10:41:49 2005 From: artful at rogers.com (Arthur Fuller) Date: Wed, 29 Jun 2005 11:41:49 -0400 Subject: [AccessD] Can I spell check an unbound field? In-Reply-To: Message-ID: <200506291541.j5TFfiR06762@databaseadvisors.com> You a slick chick, Charlotte! Very nice! -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Charlotte Foust Sent: June 28, 2005 7:13 PM To: Access Developers discussion and problem solving Subject: RE: [AccessD] Can I spell check an unbound field? Public Function SpellCheckField(ctl As Control) 'created by Charlotte Foust 3/27/2000 'runs default spell checker on the control 'passed into the function On Error Resume Next ctl.SelStart = 0 ctl.SelLength = Len(ctl) DoCmd.RunCommand acCmdSpelling End Function 'SpellCheckField(ctl As Control) Charlotte Foust -----Original Message----- From: Lonnie Johnson [mailto:prodevmg at yahoo.com] Sent: Tuesday, June 28, 2005 2:38 PM To: Access Developers discussion and problem solving Subject: [AccessD] Can I spell check an unbound field? I think the answer is no, but there is always a guru with a hack. I have a form that is unbound. I have a large memo field and I would like to spellcheck that memo field before appending it to the actual recordset that it will go to. Can it be done? 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 -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd 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 Jun 29 10:44:55 2005 From: cfoust at infostatsystems.com (Charlotte Foust) Date: Wed, 29 Jun 2005 08:44:55 -0700 Subject: [AccessD] Publish it with MS Word Message-ID: >From the Help file: The following example outputs the Employees table in rich-text format (.rtf) to the Employee.rtf file and immediately opens the file in Microsoft Word for Windows. DoCmd.OutputTo acOutputTable, "Employees", _ acFormatRTF, "Employee.rtf", True Charlotte Foust -----Original Message----- From: John Bartow [mailto:john at winhaven.net] Sent: Wednesday, June 29, 2005 8:13 AM To: _DBA-Access Subject: [AccessD] Publish it with MS Word I need a quick one here... I have to add a command button to an old A97 app that will output a report right into to Word (rtf). I can't find my code snippet for doing the "Publish it with MS Word" in VBA. Anyone have it handy? TIA John B. -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From cfoust at infostatsystems.com Wed Jun 29 11:45:18 2005 From: cfoust at infostatsystems.com (Charlotte Foust) Date: Wed, 29 Jun 2005 09:45:18 -0700 Subject: [AccessD] Can I spell check an unbound field? Message-ID: Charlotte Foust -----Original Message----- From: Arthur Fuller [mailto:artful at rogers.com] Sent: Wednesday, June 29, 2005 8:42 AM To: 'Access Developers discussion and problem solving' Subject: RE: [AccessD] Can I spell check an unbound field? You a slick chick, Charlotte! Very nice! -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Charlotte Foust Sent: June 28, 2005 7:13 PM To: Access Developers discussion and problem solving Subject: RE: [AccessD] Can I spell check an unbound field? Public Function SpellCheckField(ctl As Control) 'created by Charlotte Foust 3/27/2000 'runs default spell checker on the control 'passed into the function On Error Resume Next ctl.SelStart = 0 ctl.SelLength = Len(ctl) DoCmd.RunCommand acCmdSpelling End Function 'SpellCheckField(ctl As Control) Charlotte Foust -----Original Message----- From: Lonnie Johnson [mailto:prodevmg at yahoo.com] Sent: Tuesday, June 28, 2005 2:38 PM To: Access Developers discussion and problem solving Subject: [AccessD] Can I spell check an unbound field? I think the answer is no, but there is always a guru with a hack. I have a form that is unbound. I have a large memo field and I would like to spellcheck that memo field before appending it to the actual recordset that it will go to. Can it be done? 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 -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd 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 Jun 29 12:02:31 2005 From: jmhecht at earthlink.net (Joe Hecht) Date: Wed, 29 Jun 2005 10:02:31 -0700 Subject: [AccessD] Can I spell check an unbound field? In-Reply-To: <200506291541.j5TFfiR06762@databaseadvisors.com> Message-ID: <000001c57ccc$56bff340$6401a8c0@laptop1> Second Joe Hecht Los Angeles CA -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Arthur Fuller Sent: Wednesday, June 29, 2005 8:42 AM To: access at joe2.endjunk.com; 'Access Developers discussion and problem solving' Subject: RE: [AccessD] Can I spell check an unbound field? You a slick chick, Charlotte! Very nice! -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Charlotte Foust Sent: June 28, 2005 7:13 PM To: Access Developers discussion and problem solving Subject: RE: [AccessD] Can I spell check an unbound field? Public Function SpellCheckField(ctl As Control) 'created by Charlotte Foust 3/27/2000 'runs default spell checker on the control 'passed into the function On Error Resume Next ctl.SelStart = 0 ctl.SelLength = Len(ctl) DoCmd.RunCommand acCmdSpelling End Function 'SpellCheckField(ctl As Control) Charlotte Foust -----Original Message----- From: Lonnie Johnson [mailto:prodevmg at yahoo.com] Sent: Tuesday, June 28, 2005 2:38 PM To: Access Developers discussion and problem solving Subject: [AccessD] Can I spell check an unbound field? I think the answer is no, but there is always a guru with a hack. I have a form that is unbound. I have a large memo field and I would like to spellcheck that memo field before appending it to the actual recordset that it will go to. Can it be done? 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 -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd 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 Jun 29 12:21:16 2005 From: Lambert.Heenan at AIG.com (Heenan, Lambert) Date: Wed, 29 Jun 2005 13:21:16 -0400 Subject: [AccessD] Fastest Way To Get Data Field From Recordset Message-ID: <1D7828CDB8350747AFE9D69E0E90DA1F1223BE60@xlivmbx21.aig.com> How slow is slow? There are at least three ways to access a field in a recordset via VB. Rs!FieldName Rs.Fields("FieldName") and Rs("FieldName") Each of these in turn has two variations. You can use Rs.this Rs.that Rs.thenextthing Or you can write With Rs .this .that .thenextthing End With The use of With / End With used to be recommended by MS as when you referenced the Rs object Access would apparently refresh its collections, including the collection of recordsets, and this slowed execution. Using with/end with cuts the number of references to Rs down to one. It also reduces the amount of typing that has to be done. However. I just did some testing in Access 2002, and is seems the alleged speed benefit of with/end with does not happen. Perhaps the whole collection refresh issue has been fixed now. Which leaves us with the question of which syntax *is* faster? I ran some tests and the results suggest that it does not make any damned difference. See below... The code that produces these results simply opens a recordset and then accesses each record in turn, pulling the value of one field from each record. NOT using With Rs ----------------- 1/ Using Rs.Fields('FieldName') Time to access 683200 records: 4.414063 Seconds ----------------- 2/ Using Rs!FieldName Time to access 683200 records: 4.4375 Seconds ----------------- 3/ Using With and .Fields('FieldName') Time to access 683200 records: 4.347656 Seconds ----------------- 4/ Using With and rs('FieldName') Time to access 683200 records: 4.425781 Seconds ----------------- 5/ Using With and rs!FieldName Time to access 683200 records: 4.34375 Seconds So when looping through 680k records it seems like only a few milliseconds are available to be gained. If you only want to look at one record in a piece of code then we are approaching quibbling over nanoseconds. Lambert -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Charlotte Foust Sent: Wednesday, June 29, 2005 10:47 AM To: Access Developers discussion and problem solving Subject: RE: [AccessD] Fastest Way To Get Data Field From Recordset The first option is the slowest way. Charlotte Foust -----Original Message----- From: paul.hartland at fsmail.net [mailto:paul.hartland at fsmail.net] Sent: Wednesday, June 29, 2005 7:37 AM To: accessd Subject: [AccessD] Fastest Way To Get Data Field From Recordset To all, I have taken over a project and where I would normally use something like strMinPayroll = rsMinPayroll.Fields("LowPayrollNo") it is written as strMinPayroll = rsMinPayroll!LowPayroll Is there a difference in speed with these, i.e. is one more efficient than the other etc.... Thanks in advance for any help on this... Paul Hartland -- Whatever you Wanadoo: http://www.wanadoo.co.uk/time/ This email has been checked for most known viruses - find out more at: http://www.wanadoo.co.uk/help/id/7098.htm -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd 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 Jun 29 14:53:24 2005 From: john at winhaven.net (John Bartow) Date: Wed, 29 Jun 2005 14:53:24 -0500 Subject: [AccessD] Publish it with MS Word In-Reply-To: Message-ID: <200506291953.j5TJrSGY138252@pimout1-ext.prodigy.net> Thanks Charlotte, That got me where I needed to go. I'm really rushed right now and even with the good 'ol A97 help it doesn't work well when you're under extreme pressure! John B. -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Charlotte Foust Sent: Wednesday, June 29, 2005 10:45 AM To: Access Developers discussion and problem solving Subject: RE: [AccessD] Publish it with MS Word >From the Help file: The following example outputs the Employees table in rich-text format (.rtf) to the Employee.rtf file and immediately opens the file in Microsoft Word for Windows. DoCmd.OutputTo acOutputTable, "Employees", _ acFormatRTF, "Employee.rtf", True Charlotte Foust -----Original Message----- From: John Bartow [mailto:john at winhaven.net] Sent: Wednesday, June 29, 2005 8:13 AM To: _DBA-Access Subject: [AccessD] Publish it with MS Word I need a quick one here... I have to add a command button to an old A97 app that will output a report right into to Word (rtf). I can't find my code snippet for doing the "Publish it with MS Word" in VBA. Anyone have it handy? TIA John B. -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From Jim.Hale at FleetPride.com Wed Jun 29 14:58:58 2005 From: Jim.Hale at FleetPride.com (Hale, Jim) Date: Wed, 29 Jun 2005 14:58:58 -0500 Subject: [AccessD] Storing variable names in a table Message-ID: <6A6AA9DF57E4F046BDA1E273BDDB67723376AA@corp-es01.fleetpride.com> In a class I have created a method that reads query names from a table and opens the appropriate record sets. There may be any number of queries that are run by a single method call. For parameter queries life is more complicated. I created a method which loads the variables into a ParmArray and then sets the query parameters to the correct variable. The problem with this is I can only run one parameter query at a time from my method. a typical call looks like: 'set parameter values Call Xcel.QryParmValues(strareacode, intCo, "AreaActSummaryACT", "dept1", .Worksheets(y).Range("a11")) ' read query names from table and open the recorsets. Xcel.MultiplePasteExcel (119) 119 is the case number so the method knows which the query names to pull from a table. Ideally I would like to store all the parameters for all the queries in a table and extract them as needed. "AreaActSummaryACT", and "dept1" are no problem since they are strings. What I don't know how to do is store variable names such as strareacode, intCo as strings in a table and then assign them the correct value from the procedure all this is running in. Worksheets(y).Range("a11")) will also be a challenge to store in a table (it picks up the parameter value from an Excel worksheet) but I may be able use eval() to create the correct value. If I can solve these problems I will be able to populate Excel workbooks with one method call since all the info needed to create recordsets with data to paste into worksheets will reside in a table. If I can't store the variable names in a table I quess I could expand the QryParmValues method to handle a multi dimensional array but I am not at all sure how to do this either. Any help will be appreciated. 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 mmattys at rochester.rr.com Wed Jun 29 15:28:23 2005 From: mmattys at rochester.rr.com (Michael R Mattys) Date: Wed, 29 Jun 2005 16:28:23 -0400 Subject: [AccessD] invalid number of arguments References: <005a01c57cda$2eeebdc0$fac581d5@pedro> Message-ID: <016f01c57ce9$1a535420$0202a8c0@default> Pedro, I'm really sorry, I didn't see your message. See below for what I was thinking about. It isn't tested, of course, but I think it will do Michael R. Mattys Mattys MapLib for Microsoft MapPoint http://www.mattysconsulting.com > explain the issue with the append query. > When there are new values in the commercial database, > how does the append query [know] which items are new > to append to the tblDebiteur. Commercial DB > DEBSTM > Nummer = Text (but al Id's are numbers) = Primary Key > Adres > Plaats In your autoexec, run this query: qryPedro1 INSERT INTO tblDEBITEUR (DebID, Postadres, Woonplaats) SELECT Clng(Nummer) As DebID, Adres As PostAdres, Plaats As Woonplaats FROM DEBSTM WHERE IN DEBSTM.DebID NOT IN (SELECT tblDEBITEUR.DebID FROM tblDEBITEUR) IN 'C:\Wife.mdb' Your Wife's DB > tblDEBITEUR Add AutoNumber Field Here - It has no meaning, it is an index > DebID = Number (Long Integer) > Postadres > Woonplaats From mmattys at rochester.rr.com Wed Jun 29 15:38:02 2005 From: mmattys at rochester.rr.com (Michael R Mattys) Date: Wed, 29 Jun 2005 16:38:02 -0400 Subject: [AccessD] invalid number of arguments References: <005a01c57cda$2eeebdc0$fac581d5@pedro> <016f01c57ce9$1a535420$0202a8c0@default> Message-ID: <019601c57cea$73c29290$0202a8c0@default> Make that qryPedro1 INSERT INTO tblDEBITEUR (DebID, Postadres, Woonplaats) SELECT Clng(Nummer) As DebID, Adres As PostAdres, Plaats As Woonplaats FROM DEBSTM WHERE DEBSTM.DebID NOT IN (SELECT tblDEBITEUR.DebID FROM tblDEBITEUR) IN 'C:\Wife.mdb' (Note : IN 'C:\Wife.mdb' is either at the end or after DEBSTM, I can't test it at the moment) ---- Michael R. Mattys Mattys MapLib for Microsoft MapPoint http://www.mattysconsulting.com ----- Original Message ----- From: "Michael R Mattys" To: "AccessD" ; "Pedro Janssen" Sent: Wednesday, June 29, 2005 4:28 PM Subject: Re: [AccessD] invalid number of arguments > Pedro, > > I'm really sorry, I didn't see your message. > See below for what I was thinking about. > It isn't tested, of course, but I think it will do > > Michael R. Mattys > Mattys MapLib for Microsoft MapPoint > http://www.mattysconsulting.com > > > > explain the issue with the append query. > > When there are new values in the commercial database, > > how does the append query [know] which items are new > > to append to the tblDebiteur. > > Commercial DB > > DEBSTM > > Nummer = Text (but al Id's are numbers) = Primary Key > > Adres > > Plaats > > In your autoexec, run this query: > > qryPedro1 > INSERT INTO tblDEBITEUR (DebID, Postadres, Woonplaats) > SELECT Clng(Nummer) As DebID, Adres As PostAdres, > Plaats As Woonplaats FROM DEBSTM WHERE IN DEBSTM.DebID > NOT IN (SELECT tblDEBITEUR.DebID FROM tblDEBITEUR) IN > 'C:\Wife.mdb' > > Your Wife's DB > > tblDEBITEUR > Add AutoNumber Field Here - It has no meaning, it is an index > > DebID = Number (Long Integer) > > Postadres > > Woonplaats > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com From jmhecht at earthlink.net Wed Jun 29 16:38:40 2005 From: jmhecht at earthlink.net (Joe Hecht) Date: Wed, 29 Jun 2005 14:38:40 -0700 Subject: [AccessD] Re: MS Reporting Services In-Reply-To: <6.2.1.2.2.20050629095902.03357a90@pop3.highstream.net> Message-ID: <001701c57cf2$eaa88650$6401a8c0@laptop1> Thanks. Not running that yet. Joe Hecht Los Angeles CA -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Robert L. Stewart Sent: Wednesday, June 29, 2005 8:00 AM To: access at joe2.endjunk.com; accessd at databaseadvisors.com Subject: [AccessD] Re: MS Reporting Services Joe, It is an addition onto SQL Server. You need to use .Net to be able to take advantage of it. Robert At 12:00 PM 6/28/2005, you wrote: >Date: Mon, 27 Jun 2005 16:45:11 -0700 >From: "Joe Hecht" >Subject: [AccessD] MS Reporting Services >To: "'Access Developers discussion and problem solving'" > >Message-ID: <000901c57b72$42bdf280$6401a8c0 at laptop1> >Content-Type: text/plain; charset="us-ascii" > >I am sending resumes again. Some one is asking for MS Reporting services. > >What is it ? > >Joe Hecht -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From clh at christopherhawkins.com Wed Jun 29 18:39:47 2005 From: clh at christopherhawkins.com (Christopher Hawkins) Date: Wed, 29 Jun 2005 17:39:47 -0600 Subject: [AccessD] Using Outlook Redemption in Access Message-ID: If you've ever made an Access app that sends eMail, you might be familiar with Outlook Redemption (http://www.dimastr.com/redemption/).? It is a set of COM components that allow you to bypass that messy Outlook dialog that reads "A program is trying to automatically send e-mail on your behalf.? Do you want to allow this?" blah blah blah. I just downloaded Redemption and am unab;e to get it to work.? I'm hoping that someone who has successfully implemented it can help me here. I am using code straight from the Redemption site (http://www.dimastr.com/redemption/objects.htm): [CODE] Private Sub Blah() Dim SafeItem, oItem ??? Set SafeItem = CreateObject("Redemption.SafeMailItem") 'Create an instance of Redemption.SafeMailItem ??? Set oItem = Application.CreateItem(0) 'Create a new message ??? ??? SafeItem.Item = oItem 'set Item property ??? SafeItem.Recipients.Add "clh at christopherhawkins.com" ??? SafeItem.Recipients.ResolveAll ??? SafeItem.Subject = "Testing Redemption" ??? SafeItem.Send End Sub [/CODE] This code is triggered form a button click on a form. When I run the code, I get an error message: "Method or data member not found" The error is on the .CreateItem method in the line that sets oItem to a new item. I've double-checked that the Redemption dll?is registered, and I've made sure it is referenced in the Access file.? I suspect that there is some simple aspect of setup that I'm overlooking. Anybody ever have this same issue? -C- From clh at christopherhawkins.com Wed Jun 29 18:42:55 2005 From: clh at christopherhawkins.com (Christopher Hawkins) Date: Wed, 29 Jun 2005 17:42:55 -0600 Subject: [AccessD] re: Using Outlook Redemption in Access Message-ID: <5007e616e6894aabbf76899919734f9a@christopherhawkins.com> Wait, I sent the wrong code snippet.? here is the one I am using: [code] Private Sub Blah() Dim SafeItem, oItem ??? Set Application = CreateObject("Outlook.Application") ??? Set Namespace = Application.GetNamespace("MAPI") ??? Namespace.Logon ??? Set SafeItem = CreateObject("Redemption.SafeMailItem") 'Create an instance of Redemption.SafeMailItem ??? Set oItem = Application.CreateItem(0) 'Create a new message ??? ??? SafeItem.Item = oItem 'set Item property ??? SafeItem.Recipients.Add "clh at christopherhawkins.com" ??? SafeItem.Recipients.ResolveAll ??? SafeItem.Subject = "Testing Redemption" ??? SafeItem.Send End Sub [/code] Alright, NOW you can tell me what you think.? :) -C- ---------------------------------------- From: "Christopher Hawkins" Sent: Wednesday, June 29, 2005 5:39 PM To: accessd at databaseadvisors.com Subject: Using Outlook Redemption in Access If you've ever made an Access app that sends eMail, you might be familiar with Outlook Redemption (http://www.dimastr.com/redemption/).? It is a set of COM components that allow you to bypass that messy Outlook dialog that reads "A program is trying to automatically send e-mail on your behalf.? Do you want to allow this?" blah blah blah. I just downloaded Redemption and am unab;e to get it to work.? I'm hoping that someone who has successfully implemented it can help me here. I am using code straight from the Redemption site (http://www.dimastr.com/redemption/objects.htm): [CODE] Private Sub Blah() Dim SafeItem, oItem ??? Set SafeItem = CreateObject("Redemption.SafeMailItem") 'Create an instance of Redemption.SafeMailItem ??? Set oItem = Application.CreateItem(0) 'Create a new message ??? ??? SafeItem.Item = oItem 'set Item property ??? SafeItem.Recipients.Add "clh at christopherhawkins.com" ??? SafeItem.Recipients.ResolveAll ??? SafeItem.Subject = "Testing Redemption" ??? SafeItem.Send End Sub [/CODE] This code is triggered form a button click on a form. When I run the code, I get an error message: "Method or data member not found" The error is on the .CreateItem method in the line that sets oItem to a new item. I've double-checked that the Redemption dll?is registered, and I've made sure it is referenced in the Access file.? I suspect that there is some simple aspect of setup that I'm overlooking. Anybody ever have this same issue? -C- From cfoust at infostatsystems.com Wed Jun 29 19:11:28 2005 From: cfoust at infostatsystems.com (Charlotte Foust) Date: Wed, 29 Jun 2005 17:11:28 -0700 Subject: [AccessD] re: Using Outlook Redemption in Access Message-ID: Well, I DID wonder! LOL What exactly are you trying to do with the Application.CreateItem line? The SafeItem object has a text property for the message body. And do you have CDO enabled in Outlook? You need it for early binding a MAPI session. Then you can do something like this: Dim objMAPI as MAPI.Session Dim objMessage as MAPI.Message Dim objRecipient as MAPI.Recipient Then down the line, you can do: SafeItem.Item = objMessage SafeItem.Text = "This is my message" Charlotte Foust -----Original Message----- From: Christopher Hawkins [mailto:clh at christopherhawkins.com] Sent: Wednesday, June 29, 2005 4:43 PM To: accessd at databaseadvisors.com Subject: [AccessD] re: Using Outlook Redemption in Access Wait, I sent the wrong code snippet.? here is the one I am using: [code] Private Sub Blah() Dim SafeItem, oItem ??? Set Application = CreateObject("Outlook.Application") ??? Set Namespace = Application.GetNamespace("MAPI") ??? Namespace.Logon ??? Set SafeItem = CreateObject("Redemption.SafeMailItem") 'Create an instance of Redemption.SafeMailItem ??? Set oItem = Application.CreateItem(0) 'Create a new message ??? ??? SafeItem.Item = oItem 'set Item property ??? SafeItem.Recipients.Add "clh at christopherhawkins.com" ??? SafeItem.Recipients.ResolveAll ??? SafeItem.Subject = "Testing Redemption" ??? SafeItem.Send End Sub [/code] Alright, NOW you can tell me what you think.? :) -C- ---------------------------------------- From: "Christopher Hawkins" Sent: Wednesday, June 29, 2005 5:39 PM To: accessd at databaseadvisors.com Subject: Using Outlook Redemption in Access If you've ever made an Access app that sends eMail, you might be familiar with Outlook Redemption (http://www.dimastr.com/redemption/).? It is a set of COM components that allow you to bypass that messy Outlook dialog that reads "A program is trying to automatically send e-mail on your behalf.? Do you want to allow this?" blah blah blah. I just downloaded Redemption and am unab;e to get it to work.? I'm hoping that someone who has successfully implemented it can help me here. I am using code straight from the Redemption site (http://www.dimastr.com/redemption/objects.htm): [CODE] Private Sub Blah() Dim SafeItem, oItem ??? Set SafeItem = CreateObject("Redemption.SafeMailItem") 'Create an instance of Redemption.SafeMailItem ??? Set oItem = Application.CreateItem(0) 'Create a new message ??? ??? SafeItem.Item = oItem 'set Item property ??? SafeItem.Recipients.Add "clh at christopherhawkins.com" ??? SafeItem.Recipients.ResolveAll ??? SafeItem.Subject = "Testing Redemption" ??? SafeItem.Send End Sub [/CODE] This code is triggered form a button click on a form. When I run the code, I get an error message: "Method or data member not found" The error is on the .CreateItem method in the line that sets oItem to a new item. I've double-checked that the Redemption dll?is registered, and I've made sure it is referenced in the Access file.? I suspect that there is some simple aspect of setup that I'm overlooking. Anybody ever have this same issue? -C- -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From accessd666 at yahoo.com Thu Jun 30 00:34:57 2005 From: accessd666 at yahoo.com (Sad Der) Date: Wed, 29 Jun 2005 22:34:57 -0700 (PDT) Subject: [AccessD] Check date-time problem Message-ID: <20050630053457.99403.qmail@web31610.mail.mud.yahoo.com> Hi group, I've got an ini file with the following values: [PauzeScheduling] StartPauzeAt=21:00 EndPauzeAt=3:00 I've got a 'service' that checks if the Currenttime: dtmCurrentTime = CDate(Format(Time(), "hh:mm")) Is between these values. It worked fine. Settings used to be within a day. Somebody has got to have dealt with this problem before. What is a (very) solid way to handle this problem? Keep in mind that this is a long running schedule (e.g. forever?!) Thnx. SD Here's my code: '========================================================================================= ' Function Name : PauzeScheduling ' Parameters : dtmCurrentTime => Current Time' Return value : (Boolean) True: CurrentTime between scheduled times ' Purpose : Check if current time is within the scheduled times of the ini file ' Assumptions : --- ' Uses : --- ' Created : 2005-Jun-03 08:55, SaDe ' Modifications : '========================================================================================= Public Function PauzeScheduling(dtmCurrentTime As Date) As Boolean Dim dtmStartPauze As Date Dim dtmEndPauze As Date On Error GoTo PauzeScheduling_Error dtmStartPauze = CDate(Format(g_oGenSet.GetValue("PauzeScheduling", "StartPauzeAt"), "HH:mm")) dtmEndPauze = CDate(Format(g_oGenSet.GetValue("PauzeScheduling", "EndPauzeAt"), "hh:mm")) If (dtmCurrentTime > dtmStartPauze) And (dtmCurrentTime < dtmEndPauze) Then PauzeScheduling = True Else PauzeScheduling = False End If PauzeScheduling_Exit: ' Collect your garbage here Exit Function PauzeScheduling_Error: ' Collect your garbage here Call g_oGenErr.Throw("PauzeScheduling.PauzeScheduling", "PauzeScheduling") End Function __________________________________________________ Do You Yahoo!? Tired of spam? Yahoo! Mail has the best spam protection around http://mail.yahoo.com From accessd666 at yahoo.com Thu Jun 30 00:46:32 2005 From: accessd666 at yahoo.com (Sad Der) Date: Wed, 29 Jun 2005 22:46:32 -0700 (PDT) Subject: [AccessD] Storing variable names in a table In-Reply-To: <6A6AA9DF57E4F046BDA1E273BDDB67723376AA@corp-es01.fleetpride.com> Message-ID: <20050630054632.1760.qmail@web31610.mail.mud.yahoo.com> Jim, I'm probably missing the big picture here but i'll give it a try. Suppose you have a table with the following fields: Query (Text) Parameter (Text) ParameterType (Text) It has the values: Query Parameter ParameterType A strareacode String A intCo Integer A "AreaActSummaryACT" String A "dept1" String A .Worksheets(y).Range("a11") Range You could add all parameters and there types in an array Something like this: intCntr = Select count(*) from ParameterTable where Query = "A" dim avarParameter() as variant redim avarparameter(1,intCntr) So now you now how to convert the parameter types. for lngArrayCntr = 0 to UBOUND(avarparameter) ConvertDataType(avarparameter(1,lngArrayCntr) next lngArrayCntr Did I mis it completely? :-) HTH SD --- "Hale, Jim" wrote: > In a class I have created a method that reads query > names from a table and > opens the appropriate record sets. There may be any > number of queries that > are run by a single method call. For parameter > queries life is more > complicated. I created a method which loads the > variables into a ParmArray > and then sets the query parameters to the correct > variable. The problem with > this is I can only run one parameter query at a time > from my method. a > typical call looks like: > > 'set parameter values > Call Xcel.QryParmValues(strareacode, intCo, > "AreaActSummaryACT", "dept1", > .Worksheets(y).Range("a11")) > ' read query names from table and open the > recorsets. > Xcel.MultiplePasteExcel (119) > > 119 is the case number so the method knows which the > query names to pull > from a table. Ideally I would like to store all the > parameters for all the > queries in a table and extract them as needed. > "AreaActSummaryACT", and > "dept1" are no problem since they are strings. What > I don't know how to do > is store variable names such as strareacode, intCo > as strings in a table and > then assign them the correct value from the > procedure all this is running > in. Worksheets(y).Range("a11")) will also be a > challenge to store in a table > (it picks up the parameter value from an Excel > worksheet) but I may be able > use eval() to create the correct value. If I can > solve these problems I will > be able to populate Excel workbooks with one method > call since all the info > needed to create recordsets with data to paste into > worksheets will reside > in a table. If I can't store the variable names in a > table I quess I could > expand the QryParmValues method to handle a multi > dimensional array but I > am not at all sure how to do this either. Any help > will be appreciated. > > 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 > __________________________________________________ Do You Yahoo!? Tired of spam? Yahoo! Mail has the best spam protection around http://mail.yahoo.com From Chris.Foote at uk.thalesgroup.com Thu Jun 30 00:54:42 2005 From: Chris.Foote at uk.thalesgroup.com (Foote, Chris) Date: Thu, 30 Jun 2005 06:54:42 +0100 Subject: [AccessD] Fastest Way To Get Data Field From Recordset Message-ID: <97CF276BD8C6D4119C4B00508BB18DE709E0C7F8@ntscxch1.int.rdel.co.uk> Agreed! Chris Foote - UK > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Charlotte > Foust > Sent: Wednesday, June 29, 2005 4:36 PM > To: Access Developers discussion and problem solving > Subject: RE: [AccessD] Fastest Way To Get Data Field From Recordset > > > If they do, they should be Colbyized! > > Charlotte Foust > > > -----Original Message----- > From: Foote, Chris [mailto:Chris.Foote at uk.thalesgroup.com] > Sent: Wednesday, June 29, 2005 7:51 AM > To: 'Access Developers discussion and problem solving' > Subject: RE: [AccessD] Fastest Way To Get Data Field From Recordset > > > > But it presumably will not die if someone has (cough) used a space in > the name Charlotte? > > Regards > Chris Foote - UK From JRojas at tnco-inc.com Thu Jun 30 08:06:59 2005 From: JRojas at tnco-inc.com (Joe Rojas) Date: Thu, 30 Jun 2005 09:06:59 -0400 Subject: [AccessD] re: Using Outlook Redemption in Access Message-ID: <0CC84C9461AE6445AD5A602001C41C4B05A38E@mercury.tnco-inc.com> Hello, I do use Redemption but I use it for creating and assigning tasks. The problem with your code is that "Application" is a reserved word in Access. Access already has an object named Application. I would rename your "Application" variable to something like OutApplication and then try it. JR -----Original Message----- From: Christopher Hawkins [mailto:clh at christopherhawkins.com] Sent: Wednesday, June 29, 2005 7:43 PM To: accessd at databaseadvisors.com Subject: [AccessD] re: Using Outlook Redemption in Access Wait, I sent the wrong code snippet. here is the one I am using: [code] Private Sub Blah() Dim SafeItem, oItem Set Application = CreateObject("Outlook.Application") Set Namespace = Application.GetNamespace("MAPI") Namespace.Logon Set SafeItem = CreateObject("Redemption.SafeMailItem") 'Create an instance of Redemption.SafeMailItem Set oItem = Application.CreateItem(0) 'Create a new message SafeItem.Item = oItem 'set Item property SafeItem.Recipients.Add "clh at christopherhawkins.com" SafeItem.Recipients.ResolveAll SafeItem.Subject = "Testing Redemption" SafeItem.Send End Sub [/code] Alright, NOW you can tell me what you think. :) -C- ---------------------------------------- From: "Christopher Hawkins" Sent: Wednesday, June 29, 2005 5:39 PM To: accessd at databaseadvisors.com Subject: Using Outlook Redemption in Access If you've ever made an Access app that sends eMail, you might be familiar with Outlook Redemption (http://www.dimastr.com/redemption/). It is a set of COM components that allow you to bypass that messy Outlook dialog that reads "A program is trying to automatically send e-mail on your behalf. Do you want to allow this?" blah blah blah. I just downloaded Redemption and am unab;e to get it to work. I'm hoping that someone who has successfully implemented it can help me here. I am using code straight from the Redemption site (http://www.dimastr.com/redemption/objects.htm): [CODE] Private Sub Blah() Dim SafeItem, oItem Set SafeItem = CreateObject("Redemption.SafeMailItem") 'Create an instance of Redemption.SafeMailItem Set oItem = Application.CreateItem(0) 'Create a new message SafeItem.Item = oItem 'set Item property SafeItem.Recipients.Add "clh at christopherhawkins.com" SafeItem.Recipients.ResolveAll SafeItem.Subject = "Testing Redemption" SafeItem.Send End Sub [/CODE] This code is triggered form a button click on a form. When I run the code, I get an error message: "Method or data member not found" The error is on the .CreateItem method in the line that sets oItem to a new item. I've double-checked that the Redemption dll is registered, and I've made sure it is referenced in the Access file. I suspect that there is some simple aspect of setup that I'm overlooking. Anybody ever have this same issue? -C- -- 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 bhjohnson at verizon.net Thu Jun 30 10:05:10 2005 From: bhjohnson at verizon.net (Bruce H. Johnson) Date: Thu, 30 Jun 2005 08:05:10 -0700 Subject: [AccessD] Using Outlook Redemption in Access In-Reply-To: Message-ID: <0IIW00G8KKK8O2F0@vms048.mailsrvcs.net> Here's the code I use in VB. Note the Application is an Outlook Application: Public Function EMail_SendMail() As Boolean 'Use late binding to avoid version refs? 'Requires only Recipient and Subject Dim outApp As Object Dim outNameSpace As Object Dim redSafeItem As Object Dim outItem As Object Dim strItem As String Dim lngNdx As Long Dim outRec As Object If SAFEOUTLOOK_RUNTIME Then On Error GoTo EMail_SendMail_Err EMail_SendMail = False 'default If strEMail_Recipient(0) = vbNullString Or strEMail_Subject = vbNullString Then 'Convert to messages when ready MsgBox "One recipient and subject required.", vbOKOnly Or vbExclamation, "EMail_SendMail" EMail_SendMail = False GoTo EMail_SendMail_Exit End If Set outApp = CreateObject("Outlook.Application") Set outNameSpace = outApp.GetNamespace("MAPI") outNameSpace.Logon Set redSafeItem = CreateObject("Redemption.SafeMailItem") 'Create an instance of Redemption.SafeMailItem Set outItem = outApp.CreateItem(0) 'Create a new Mail Item redSafeItem.Item = outItem 'set Item property 'Add recipients For lngNdx = 0 To UBound(strEMail_Recipient) strItem = Trim$(strEMail_Recipient(lngNdx)) If Len(strItem) Then Set outRec = redSafeItem.Recipients.Add(strItem) outRec.Type = 1 'To Else Exit For End If Next lngNdx 'redSafeItem.Recipients.ResolveAll redSafeItem.Subject = strEMail_Subject 'Rest are optional 'CCs For lngNdx = 0 To UBound(strEMail_CC) strItem = Trim$(strEMail_CC(lngNdx)) If Len(strItem) Then Set outRec = redSafeItem.Recipients.Add(strItem) outRec.Type = 2 'CC Else Exit For End If Next lngNdx 'redSafeItem.Recipients.ResolveAll 'BCC For lngNdx = 0 To UBound(strEMail_BCC) strItem = Trim$(strEMail_BCC(lngNdx)) If Len(strItem) Then Set outRec = redSafeItem.Recipients.Add(strItem) outRec.Type = 3 'BCC Else Exit For End If Next lngNdx redSafeItem.Recipients.ResolveAll If Len(strEMail_Body) Then redSafeItem.Body = strEMail_Body 'Attachments For lngNdx = 0 To UBound(strEMail_AttachmentFName) strItem = Trim$(strEMail_AttachmentFName(lngNdx)) If Len(strItem) Then redSafeItem.Attachments.Add strItem, 1, CLng(Len(strEMail_Body) + 5) 'Embed by value, position Else Exit For End If Next lngNdx 'If Len(strEMail_AttachmentFName) Then redSafeItem.Attachments.Add strEMail_AttachmentFName redSafeItem.Send 'puts in outbox or actually sends it EMail_SendMail = True Set outItem = Nothing Set redSafeItem = Nothing Set outNameSpace = Nothing Set outApp = Nothing GoTo EMail_SendMail_Exit EMail_SendMail_Err: MsgBox Err.Description, vbOKOnly Or vbExclamation, "EMail_SendMail" EMail_SendMail_Exit: 'let objects fall out of reference End Function Bruce H. Johnson Sylmar, CA -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Christopher Hawkins Sent: Wednesday, June 29, 2005 4:40 PM RE: REDEMPTION Private Sub Blah() Dim SafeItem, oItem ??? Set SafeItem = CreateObject("Redemption.SafeMailItem") 'Create an instance of Redemption.SafeMailItem ??? Set oItem = Application.CreateItem(0) 'Create a new message ??? ??? SafeItem.Item = oItem 'set Item property ??? SafeItem.Recipients.Add "clh at christopherhawkins.com" ??? SafeItem.Recipients.ResolveAll ??? SafeItem.Subject = "Testing Redemption" ??? SafeItem.Send End Sub [/CODE] This code is triggered form a button click on a form. When I run the code, I get an error message: "Method or data member not found" The error is on the .CreateItem method in the line that sets oItem to a new item. From clh at christopherhawkins.com Thu Jun 30 11:37:30 2005 From: clh at christopherhawkins.com (Christopher Hawkins) Date: Thu, 30 Jun 2005 10:37:30 -0600 Subject: [AccessD] Getting published... Message-ID: <8aa897d66e794e48bb3a0eac8d4d49ec@christopherhawkins.com> SD Magazine eMailed me this morning to tell me they want to publish one of my blog pieces.? I know some of you have been published, so before I respond to them I want to talk with you.? What should I ask for?? I don't want to get taken advantage of. -C- From clh at christopherhawkins.com Thu Jun 30 11:46:15 2005 From: clh at christopherhawkins.com (Christopher Hawkins) Date: Thu, 30 Jun 2005 10:46:15 -0600 Subject: SPAM-LOW: RE: [AccessD] Using Outlook Redemption in Access Message-ID: <002be4f99a2f4cd68dd4abee36fb5eb7@christopherhawkins.com> OK, cool, let me tweak my code a little and see what I can brew up.? ;) Someone was telling me I should be using ClickYes instead, but I haven't even looksed at it.? Anyone have any insight into that one? -C- ---------------------------------------- From: "Bruce H. Johnson" Sent: Thursday, June 30, 2005 9:06 AM To: "'Access Developers discussion and problem solving'" Subject: SPAM-LOW: RE: [AccessD] Using Outlook Redemption in Access Here's the code I use in VB. Note the Application is an Outlook Application: Public Function EMail_SendMail() As Boolean 'Use late binding to avoid version refs? 'Requires only Recipient and Subject Dim outApp As Object Dim outNameSpace As Object Dim redSafeItem As Object Dim outItem As Object Dim strItem As String Dim lngNdx As Long Dim outRec As Object If SAFEOUTLOOK_RUNTIME Then On Error GoTo EMail_SendMail_Err EMail_SendMail = False 'default If strEMail_Recipient(0) = vbNullString Or strEMail_Subject = vbNullString Then 'Convert to messages when ready MsgBox "One recipient and subject required.", vbOKOnly Or vbExclamation, "EMail_SendMail" EMail_SendMail = False GoTo EMail_SendMail_Exit End If Set outApp = CreateObject("Outlook.Application") Set outNameSpace = outApp.GetNamespace("MAPI") outNameSpace.Logon Set redSafeItem = CreateObject("Redemption.SafeMailItem") 'Create an instance of Redemption.SafeMailItem Set outItem = outApp.CreateItem(0) 'Create a new Mail Item redSafeItem.Item = outItem 'set Item property 'Add recipients For lngNdx = 0 To UBound(strEMail_Recipient) strItem = Trim$(strEMail_Recipient(lngNdx)) If Len(strItem) Then Set outRec = redSafeItem.Recipients.Add(strItem) outRec.Type = 1 'To Else Exit For End If Next lngNdx 'redSafeItem.Recipients.ResolveAll redSafeItem.Subject = strEMail_Subject 'Rest are optional 'CCs For lngNdx = 0 To UBound(strEMail_CC) strItem = Trim$(strEMail_CC(lngNdx)) If Len(strItem) Then Set outRec = redSafeItem.Recipients.Add(strItem) outRec.Type = 2 'CC Else Exit For End If Next lngNdx 'redSafeItem.Recipients.ResolveAll 'BCC For lngNdx = 0 To UBound(strEMail_BCC) strItem = Trim$(strEMail_BCC(lngNdx)) If Len(strItem) Then Set outRec = redSafeItem.Recipients.Add(strItem) outRec.Type = 3 'BCC Else Exit For End If Next lngNdx redSafeItem.Recipients.ResolveAll If Len(strEMail_Body) Then redSafeItem.Body = strEMail_Body 'Attachments For lngNdx = 0 To UBound(strEMail_AttachmentFName) strItem = Trim$(strEMail_AttachmentFName(lngNdx)) If Len(strItem) Then redSafeItem.Attachments.Add strItem, 1, CLng(Len(strEMail_Body) + 5) 'Embed by value, position Else Exit For End If Next lngNdx 'If Len(strEMail_AttachmentFName) Then redSafeItem.Attachments.Add strEMail_AttachmentFName redSafeItem.Send 'puts in outbox or actually sends it EMail_SendMail = True Set outItem = Nothing Set redSafeItem = Nothing Set outNameSpace = Nothing Set outApp = Nothing GoTo EMail_SendMail_Exit EMail_SendMail_Err: MsgBox Err.Description, vbOKOnly Or vbExclamation, "EMail_SendMail" EMail_SendMail_Exit: 'let objects fall out of reference End Function Bruce H. Johnson Sylmar, CA -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Christopher Hawkins Sent: Wednesday, June 29, 2005 4:40 PM RE: REDEMPTION Private Sub Blah() Dim SafeItem, oItem ??? Set SafeItem = CreateObject("Redemption.SafeMailItem") 'Create an instance of Redemption.SafeMailItem ??? Set oItem = Application.CreateItem(0) 'Create a new message ??? ??? SafeItem.Item = oItem 'set Item property ??? SafeItem.Recipients.Add "clh at christopherhawkins.com" ??? SafeItem.Recipients.ResolveAll ??? SafeItem.Subject = "Testing Redemption" ??? SafeItem.Send End Sub [/CODE] This code is triggered form a button click on a form. When I run the code, I get an error message: "Method or data member not found" The error is on the .CreateItem method in the line that sets oItem to a new item. -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From bchacc at san.rr.com Thu Jun 30 12:18:25 2005 From: bchacc at san.rr.com (Rocky Smolin - Beach Access Software) Date: Thu, 30 Jun 2005 10:18:25 -0700 Subject: [AccessD] Getting published... References: <8aa897d66e794e48bb3a0eac8d4d49ec@christopherhawkins.com> Message-ID: <01c101c57d97$b98238a0$6701a8c0@HAL9004> Are they offering payment? If they are you could go to their website and see if they say what they pay authors. You could look in Writer's Market as well. They'll probably give you a boilerplate contract. They'll probably get first North American rights. Generally, you keep the copyright. Susan could probably tell you a lot more about this. HEY, SUSAN!! Rocky ----- Original Message ----- From: "Christopher Hawkins" To: Sent: Thursday, June 30, 2005 9:37 AM Subject: [AccessD] Getting published... SD Magazine eMailed me this morning to tell me they want to publish one of my blog pieces. I know some of you have been published, so before I respond to them I want to talk with you. What should I ask for? I don't want to get taken advantage of. -C- -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From dkalsow at yahoo.com Thu Jun 30 12:21:22 2005 From: dkalsow at yahoo.com (Dale Kalsow) Date: Thu, 30 Jun 2005 10:21:22 -0700 (PDT) Subject: [AccessD] executing a submodule from a different form Message-ID: <20050630172122.30019.qmail@web50409.mail.yahoo.com> Good Afternoon, I have a form that has a subform in it. In the subform there is a subroutine that I want to execute for a new popup form. Does any one know how I reference this subroutine for the subform from the popup form? Thanks! Dale __________________________________________________ Do You Yahoo!? Tired of spam? Yahoo! Mail has the best spam protection around http://mail.yahoo.com From cfoust at infostatsystems.com Thu Jun 30 12:46:49 2005 From: cfoust at infostatsystems.com (Charlotte Foust) Date: Thu, 30 Jun 2005 10:46:49 -0700 Subject: SPAM-LOW: RE: [AccessD] Using Outlook Redemption in Access Message-ID: ClickYes is an applet that is used to reply to the dialog box. It doesn't actually bypass the security annoyances the way Redemption does. Charlotte Foust -----Original Message----- From: Christopher Hawkins [mailto:clh at christopherhawkins.com] Sent: Thursday, June 30, 2005 9:46 AM To: accessd at databaseadvisors.com Subject: re: SPAM-LOW: RE: [AccessD] Using Outlook Redemption in Access OK, cool, let me tweak my code a little and see what I can brew up.? ;) Someone was telling me I should be using ClickYes instead, but I haven't even looksed at it.? Anyone have any insight into that one? -C- ---------------------------------------- From: "Bruce H. Johnson" Sent: Thursday, June 30, 2005 9:06 AM To: "'Access Developers discussion and problem solving'" Subject: SPAM-LOW: RE: [AccessD] Using Outlook Redemption in Access Here's the code I use in VB. Note the Application is an Outlook Application: Public Function EMail_SendMail() As Boolean 'Use late binding to avoid version refs? 'Requires only Recipient and Subject Dim outApp As Object Dim outNameSpace As Object Dim redSafeItem As Object Dim outItem As Object Dim strItem As String Dim lngNdx As Long Dim outRec As Object If SAFEOUTLOOK_RUNTIME Then On Error GoTo EMail_SendMail_Err EMail_SendMail = False 'default If strEMail_Recipient(0) = vbNullString Or strEMail_Subject = vbNullString Then 'Convert to messages when ready MsgBox "One recipient and subject required.", vbOKOnly Or vbExclamation, "EMail_SendMail" EMail_SendMail = False GoTo EMail_SendMail_Exit End If Set outApp = CreateObject("Outlook.Application") Set outNameSpace = outApp.GetNamespace("MAPI") outNameSpace.Logon Set redSafeItem = CreateObject("Redemption.SafeMailItem") 'Create an instance of Redemption.SafeMailItem Set outItem = outApp.CreateItem(0) 'Create a new Mail Item redSafeItem.Item = outItem 'set Item property 'Add recipients For lngNdx = 0 To UBound(strEMail_Recipient) strItem = Trim$(strEMail_Recipient(lngNdx)) If Len(strItem) Then Set outRec = redSafeItem.Recipients.Add(strItem) outRec.Type = 1 'To Else Exit For End If Next lngNdx 'redSafeItem.Recipients.ResolveAll redSafeItem.Subject = strEMail_Subject 'Rest are optional 'CCs For lngNdx = 0 To UBound(strEMail_CC) strItem = Trim$(strEMail_CC(lngNdx)) If Len(strItem) Then Set outRec = redSafeItem.Recipients.Add(strItem) outRec.Type = 2 'CC Else Exit For End If Next lngNdx 'redSafeItem.Recipients.ResolveAll 'BCC For lngNdx = 0 To UBound(strEMail_BCC) strItem = Trim$(strEMail_BCC(lngNdx)) If Len(strItem) Then Set outRec = redSafeItem.Recipients.Add(strItem) outRec.Type = 3 'BCC Else Exit For End If Next lngNdx redSafeItem.Recipients.ResolveAll If Len(strEMail_Body) Then redSafeItem.Body = strEMail_Body 'Attachments For lngNdx = 0 To UBound(strEMail_AttachmentFName) strItem = Trim$(strEMail_AttachmentFName(lngNdx)) If Len(strItem) Then redSafeItem.Attachments.Add strItem, 1, CLng(Len(strEMail_Body) + 5) 'Embed by value, position Else Exit For End If Next lngNdx 'If Len(strEMail_AttachmentFName) Then redSafeItem.Attachments.Add strEMail_AttachmentFName redSafeItem.Send 'puts in outbox or actually sends it EMail_SendMail = True Set outItem = Nothing Set redSafeItem = Nothing Set outNameSpace = Nothing Set outApp = Nothing GoTo EMail_SendMail_Exit EMail_SendMail_Err: MsgBox Err.Description, vbOKOnly Or vbExclamation, "EMail_SendMail" EMail_SendMail_Exit: 'let objects fall out of reference End Function Bruce H. Johnson Sylmar, CA -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Christopher Hawkins Sent: Wednesday, June 29, 2005 4:40 PM RE: REDEMPTION Private Sub Blah() Dim SafeItem, oItem ??? Set SafeItem = CreateObject("Redemption.SafeMailItem") 'Create an instance of Redemption.SafeMailItem ??? Set oItem = Application.CreateItem(0) 'Create a new message ??? ??? SafeItem.Item = oItem 'set Item property ??? SafeItem.Recipients.Add "clh at christopherhawkins.com" ??? SafeItem.Recipients.ResolveAll ??? SafeItem.Subject = "Testing Redemption" ??? SafeItem.Send End Sub [/CODE] This code is triggered form a button click on a form. When I run the code, I get an error message: "Method or data member not found" The error is on the .CreateItem method in the line that sets oItem to a new item. -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd 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 Thu Jun 30 12:46:58 2005 From: darsant at gmail.com (Josh McFarlane) Date: Thu, 30 Jun 2005 12:46:58 -0500 Subject: [AccessD] executing a submodule from a different form In-Reply-To: <20050630172122.30019.qmail@web50409.mail.yahoo.com> References: <20050630172122.30019.qmail@web50409.mail.yahoo.com> Message-ID: <53c8e05a05063010466dabf724@mail.gmail.com> On 6/30/05, Dale Kalsow wrote: > Good Afternoon, > > I have a form that has a subform in it. In the subform there is a subroutine that I want to execute for a new popup form. Does any one know how I reference this subroutine for the subform from the popup form? > > Thanks! > > Dale If it is a public function, you can refer to it the same way you refer to a field on the form from another form. It's been a while, but I think it's Forms_FormName.FunctionName -- HTH Josh McFarlane "Peace cannot be kept by force. It can only be achieved by understanding." -Albert Einstein From fahooper at trapo.com Thu Jun 30 12:47:40 2005 From: fahooper at trapo.com (Fred Hooper) Date: Thu, 30 Jun 2005 13:47:40 -0400 Subject: [AccessD] executing a submodule from a different form In-Reply-To: <20050630172122.30019.qmail@web50409.mail.yahoo.com> Message-ID: <001201c57d9b$cf64a690$2e01a8c0@fredxp> Try Form_frmOldSubForm.SubroutineName Make sure the subroutine you want to name is Public. Fred Hooper -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Dale Kalsow Sent: Thursday, June 30, 2005 1:21 PM To: accessd at databaseadvisors.com Subject: [AccessD] executing a submodule from a different form Good Afternoon, I have a form that has a subform in it. In the subform there is a subroutine that I want to execute for a new popup form. Does any one know how I reference this subroutine for the subform from the popup form? Thanks! Dale __________________________________________________ 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 cfoust at infostatsystems.com Thu Jun 30 12:49:40 2005 From: cfoust at infostatsystems.com (Charlotte Foust) Date: Thu, 30 Jun 2005 10:49:40 -0700 Subject: [AccessD] executing a submodule from a different form Message-ID: I'm not sure I understand. You want the popup form to execute a sub on a subform of an open form? Or do you mean you want to use the same routine in the popup? If the latter, the way to do it is put the routine in a standard module and call it from each location that needs to use it. If the former, what is it you're trying to accomplish? You can interact between forms, but it is cleaner to send a message back to the subform (or whatever) and allow that object to act on itself. Charlotte Foust -----Original Message----- From: Dale Kalsow [mailto:dkalsow at yahoo.com] Sent: Thursday, June 30, 2005 10:21 AM To: accessd at databaseadvisors.com Subject: [AccessD] executing a submodule from a different form Good Afternoon, I have a form that has a subform in it. In the subform there is a subroutine that I want to execute for a new popup form. Does any one know how I reference this subroutine for the subform from the popup form? Thanks! Dale __________________________________________________ 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 clh at christopherhawkins.com Thu Jun 30 13:47:48 2005 From: clh at christopherhawkins.com (Christopher Hawkins) Date: Thu, 30 Jun 2005 12:47:48 -0600 Subject: SPAM-LOW: Re: [AccessD] Getting published... Message-ID: Well, they just asked if they could publish it.? They didn't address anything about rights or compensation. I suppose I could write back and ask what terms they're proposing.... -C- ---------------------------------------- From: "Rocky Smolin - Beach Access Software" Sent: Thursday, June 30, 2005 11:23 AM To: "Access Developers discussion and problem solving" Subject: SPAM-LOW: Re: [AccessD] Getting published... Are they offering payment? If they are you could go to their website and see if they say what they pay authors. You could look in Writer's Market as well. They'll probably give you a boilerplate contract. They'll probably get first North American rights. Generally, you keep the copyright. Susan could probably tell you a lot more about this. HEY, SUSAN!! Rocky ----- Original Message ----- From: "Christopher Hawkins" To: Sent: Thursday, June 30, 2005 9:37 AM Subject: [AccessD] Getting published... SD Magazine eMailed me this morning to tell me they want to publish one of my blog pieces. I know some of you have been published, so before I respond to them I want to talk with you. What should I ask for? I don't want to get taken advantage of. -C- -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd 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 Jun 30 14:08:48 2005 From: artful at rogers.com (Arthur Fuller) Date: Thu, 30 Jun 2005 15:08:48 -0400 Subject: [AccessD] Getting published... In-Reply-To: <8aa897d66e794e48bb3a0eac8d4d49ec@christopherhawkins.com> Message-ID: <200506301908.j5UJ8mR09773@databaseadvisors.com> They will probably offer you a small amount of money and ask for rights in perpetuity. Most of them do that nowadays. More to the point is what you want out of it. Academic recognition? Money? Leads to new gigs? More writing for them? IMO you need to decide these issues before talking to them. As for me, I do want to be taken advantage of, but Uma Thurman and Maria Sharapova seem to be too busy. Alack and alas. Arthur -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Christopher Hawkins Sent: June 30, 2005 12:38 PM To: accessd at databaseadvisors.com Subject: [AccessD] Getting published... SD Magazine eMailed me this morning to tell me they want to publish one of my blog pieces.? I know some of you have been published, so before I respond to them I want to talk with you.? What should I ask for?? I don't want to get taken advantage of. -C- From ssharkins at bellsouth.net Thu Jun 30 14:12:53 2005 From: ssharkins at bellsouth.net (Susan Harkins) Date: Thu, 30 Jun 2005 15:12:53 -0400 Subject: SPAM-LOW: Re: [AccessD] Getting published... In-Reply-To: Message-ID: <20050630191339.DSIQ25470.ibm57aec.bellsouth.net@SUSANONE> The truth is, you don't really ask for anything -- all publishers have different requirements, and you either play ball, or you don't get published. Since this is from a blog, you probably won't have much to worry about -- it's already been published, so they probably won't try to buy all rights -- you should be able to republish anyplace you like -- you'll just have to ask them about that to make sure you don't violate anything. They may want to publish it for free -- that's not uncommon with already published material. If that's the case, all you really get out of it is some fame. :) If they send you a contract and you don't understand the rights clauses, just ask them. They'll either buy it outright and require that you take it off your blog and never use it again or they'll buy first publishing rights, which means you can reprint it but you have to say, "published first by ....," some buy all rights for a year and then it reverts back to you to republish, resell... -- there are a few different ways they could go. Susan H. Well, they just asked if they could publish it.? They didn't address anything about rights or compensation. I suppose I could write back and ask what terms they're proposing.... -C- ---------------------------------------- From: "Rocky Smolin - Beach Access Software" Sent: Thursday, June 30, 2005 11:23 AM To: "Access Developers discussion and problem solving" Subject: SPAM-LOW: Re: [AccessD] Getting published... Are they offering payment? If they are you could go to their website and see if they say what they pay authors. You could look in Writer's Market as well. They'll probably give you a boilerplate contract. They'll probably get first North American rights. Generally, you keep the copyright. Susan could probably tell you a lot more about this. HEY, SUSAN!! Rocky ----- Original Message ----- From: "Christopher Hawkins" To: Sent: Thursday, June 30, 2005 9:37 AM Subject: [AccessD] Getting published... SD Magazine eMailed me this morning to tell me they want to publish one of my blog pieces. I know some of you have been published, so before I respond to them I want to talk with you. What should I ask for? I don't want to get taken advantage of. -C- -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd 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 Thu Jun 30 14:21:41 2005 From: prosoft6 at hotmail.com (Julie Reardon-Taylor) Date: Thu, 30 Jun 2005 15:21:41 -0400 Subject: [AccessD] Copy Existing Record Including Subform Message-ID: Okay...this should be easy, but I'm stumped. I have a from that is linked to a subform...works great. The user wants to create an exact duplicate of both the main form, including the subform, and have the abililty to simply change the date on the main form. In other words, create an exact duplicate of the records. I can only get the subform to write the first record. It won't go to the second and third record. What am I missing? 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 martyconnelly at shaw.ca Thu Jun 30 14:29:21 2005 From: martyconnelly at shaw.ca (MartyConnelly) Date: Thu, 30 Jun 2005 12:29:21 -0700 Subject: [AccessD] Check date-time problem References: <20050630053457.99403.qmail@web31610.mail.mud.yahoo.com> Message-ID: <42C44811.6050000@shaw.ca> So what is the problem, are you running more than 24 hours? Sad Der wrote: >Hi group, > >I've got an ini file with the following values: >[PauzeScheduling] >StartPauzeAt=21:00 >EndPauzeAt=3:00 > >I've got a 'service' that checks if the Currenttime: >dtmCurrentTime = CDate(Format(Time(), "hh:mm")) > >Is between these values. > >It worked fine. Settings used to be within a day. >Somebody has got to have dealt with this problem >before. >What is a (very) solid way to handle this problem? >Keep in mind that this is a long running schedule >(e.g. forever?!) > >Thnx. >SD > >Here's my code: > >'========================================================================================= >' Function Name : PauzeScheduling >' Parameters : dtmCurrentTime => Current >Time' Return value : (Boolean) True: >CurrentTime between scheduled times >' Purpose : Check if current time is >within the scheduled times of the ini file >' Assumptions : --- >' Uses : --- >' Created : 2005-Jun-03 08:55, SaDe >' Modifications : >'========================================================================================= >Public Function PauzeScheduling(dtmCurrentTime As >Date) As Boolean > Dim dtmStartPauze As Date > Dim dtmEndPauze As Date > > On Error GoTo PauzeScheduling_Error > > dtmStartPauze = >CDate(Format(g_oGenSet.GetValue("PauzeScheduling", >"StartPauzeAt"), "HH:mm")) > dtmEndPauze = >CDate(Format(g_oGenSet.GetValue("PauzeScheduling", >"EndPauzeAt"), "hh:mm")) > > > If (dtmCurrentTime > dtmStartPauze) And >(dtmCurrentTime < dtmEndPauze) Then > PauzeScheduling = True > Else > PauzeScheduling = False > End If > >PauzeScheduling_Exit: > ' Collect your garbage here > Exit Function >PauzeScheduling_Error: > ' Collect your garbage here > Call >g_oGenErr.Throw("PauzeScheduling.PauzeScheduling", >"PauzeScheduling") >End Function > > >__________________________________________________ >Do You Yahoo!? >Tired of spam? Yahoo! Mail has the best spam protection around >http://mail.yahoo.com > > -- Marty Connelly Victoria, B.C. Canada From prosoft6 at hotmail.com Thu Jun 30 14:47:48 2005 From: prosoft6 at hotmail.com (Julie Reardon-Taylor) Date: Thu, 30 Jun 2005 15:47:48 -0400 Subject: [AccessD] Copy Existing Record Including Subform In-Reply-To: Message-ID: Nevermind. I found what I needed in the MS-KnowlegeBase in Article ID : 208824 . Thanks anyway! 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 dkalsow at yahoo.com Thu Jun 30 14:50:16 2005 From: dkalsow at yahoo.com (Dale Kalsow) Date: Thu, 30 Jun 2005 12:50:16 -0700 (PDT) Subject: [AccessD] executing a submodule from a different form In-Reply-To: <001201c57d9b$cf64a690$2e01a8c0@fredxp> Message-ID: <20050630195016.8222.qmail@web50401.mail.yahoo.com> Thanks that worked great. I was using Form!frmOldSubForm.SubroutineName and it just was not working. Dale Fred Hooper wrote: Try Form_frmOldSubForm.SubroutineName Make sure the subroutine you want to name is Public. Fred Hooper -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Dale Kalsow Sent: Thursday, June 30, 2005 1:21 PM To: accessd at databaseadvisors.com Subject: [AccessD] executing a submodule from a different form Good Afternoon, I have a form that has a subform in it. In the subform there is a subroutine that I want to execute for a new popup form. Does any one know how I reference this subroutine for the subform from the popup form? Thanks! Dale __________________________________________________ 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 __________________________________________________ Do You Yahoo!? Tired of spam? Yahoo! Mail has the best spam protection around http://mail.yahoo.com From clh at christopherhawkins.com Thu Jun 30 15:31:48 2005 From: clh at christopherhawkins.com (Christopher Hawkins) Date: Thu, 30 Jun 2005 14:31:48 -0600 Subject: SPAM-LOW: Re: [AccessD] Getting published... Message-ID: <02b4a6b1169c408b83f1e5a95b331132@christopherhawkins.com> I just got off the phone with them.? Looks like $500 and first publishing rights for 6 months.? Not a bad deal for an hour of work.? Plus she's asking if I have anything on a couple of other topics. Cool!? :D -C- ---------------------------------------- From: "Susan Harkins" Sent: Thursday, June 30, 2005 1:17 PM To: "'Access Developers discussion and problem solving'" Subject: RE: SPAM-LOW: Re: [AccessD] Getting published... The truth is, you don't really ask for anything -- all publishers have different requirements, and you either play ball, or you don't get published. Since this is from a blog, you probably won't have much to worry about -- it's already been published, so they probably won't try to buy all rights -- you should be able to republish anyplace you like -- you'll just have to ask them about that to make sure you don't violate anything. They may want to publish it for free -- that's not uncommon with already published material. If that's the case, all you really get out of it is some fame. :) If they send you a contract and you don't understand the rights clauses, just ask them. They'll either buy it outright and require that you take it off your blog and never use it again or they'll buy first publishing rights, which means you can reprint it but you have to say, "published first by ....," some buy all rights for a year and then it reverts back to you to republish, resell... -- there are a few different ways they could go. Susan H. Well, they just asked if they could publish it.? They didn't address anything about rights or compensation. I suppose I could write back and ask what terms they're proposing.... -C- ---------------------------------------- From: "Rocky Smolin - Beach Access Software" Sent: Thursday, June 30, 2005 11:23 AM To: "Access Developers discussion and problem solving" Subject: SPAM-LOW: Re: [AccessD] Getting published... Are they offering payment? If they are you could go to their website and see if they say what they pay authors. You could look in Writer's Market as well. They'll probably give you a boilerplate contract. They'll probably get first North American rights. Generally, you keep the copyright. Susan could probably tell you a lot more about this. HEY, SUSAN!! Rocky ----- Original Message ----- From: "Christopher Hawkins" To: Sent: Thursday, June 30, 2005 9:37 AM Subject: [AccessD] Getting published... SD Magazine eMailed me this morning to tell me they want to publish one of my blog pieces. I know some of you have been published, so before I respond to them I want to talk with you. What should I ask for? I don't want to get taken advantage of. -C- -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From susanj at sgmeet.com Thu Jun 30 16:41:08 2005 From: susanj at sgmeet.com (Susan Jones) Date: Thu, 30 Jun 2005 16:41:08 -0500 Subject: SPAM-LOW: Re: [AccessD] Getting published... In-Reply-To: <02b4a6b1169c408b83f1e5a95b331132@christopherhawkins.com> References: <02b4a6b1169c408b83f1e5a95b331132@christopherhawkins.com> Message-ID: <6.0.1.1.2.20050630164046.037aa5c0@192.168.3.99> Cool, indeed! Congratulations! Susan At 03:31 PM 6/30/05, you wrote: >I just got off the phone with them. Looks like $500 and first publishing >rights for 6 months. Not a bad deal for an hour of work. Plus she's >asking if I have anything on a couple of other topics. > >Cool! :D > >-C- From starkey at wanadoo.nl Thu Jun 30 17:02:46 2005 From: starkey at wanadoo.nl (StaRKeY) Date: Fri, 1 Jul 2005 00:02:46 +0200 Subject: [AccessD] Expression not working in text box In-Reply-To: <20050623124955.QFUR4468.ibm61aec.bellsouth.net@SUSANONE> Message-ID: <20050630215825.518A2451C0@smtp6.wanadoo.nl> Susan, I understand you use the code in the immediate window however what does the code in your mainform look like? It's my understanding that the code in your mainform would look like this: 'subform.Form.RecordsetClone.RecordCount' without the 'Forms!mainform!' since you are already in this form and you only need to reference the subform, hope this helps. Ofcourse in the immediate window you would need the reference to the mainform since the focus is not on the mainform then... The only other thing I can think of what might be troubling is the recordcount property... I am not sure if this still is needed in 2003 but I am used to do a movelast and a movefirst to populate the recordset to be able to get a proper recordcount but ohwell:-) My first guess is the line of code from what you posted is too long for the mainform. Let me know whether I am close to the solution ok? If not I'll make my own sample here in 2003!;-) Good luck, Eric Starkenburg -----Oorspronkelijk bericht----- Van: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] Namens Susan Harkins Verzonden: donderdag 23 juni 2005 14:50 Aan: 'Access Developers discussion and problem solving' Onderwerp: [AccessD] Expression not working in text box =Forms!mainform!subform.Form.RecordsetClone.RecordCount I've used the above expression before, in a main form, to return a count of the records in a subform. It isn't working in 2003. It works in the Immediate window, so I have no clue what the problem is. :( I know I can just use Count(*) in the subform and reference that control -- and I will if I have to in the end -- but anyone know what they above won't work in 2003? Susan H. -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com _____ avast! Antivirus : Uitgaande bericht is niet besmet. Virus Gegevensbestand (VPS): 0526-3, 30-06-2005 Getest op: 1-7-2005 0:02:46 avast! auteursrecht (c) 1988-2005 ALWIL Software. From starkey at wanadoo.nl Thu Jun 30 17:11:09 2005 From: starkey at wanadoo.nl (StaRKeY) Date: Fri, 1 Jul 2005 00:11:09 +0200 Subject: [AccessD] Normalizing issue In-Reply-To: <20050623135959.FMWJ25470.ibm57aec.bellsouth.net@SUSANONE> Message-ID: <20050630220648.6999044DEC@smtp6.wanadoo.nl> Hi again, Stick to the subject(fieldnames)... So lastname only in lastname field, firstname could contain something like 'Susan (Sales)'. The middle part is rather part of your first name then your lastname since people tend to do a search on lastname and besides that your lastname is Harkins and NOT Sales Harkins!! However I am more curious about the why you handle three professional names?? Isn't it the same person in three different roles?:-P In a letter or report or whatever you'd use your real name Susan Harkins and then maybe followed by a referal like (Sales) or (Teaser) so in short any data entry person would only enter your name once and then add three roles to it... Who the shoe fits... BN, Eric Starkenburg -----Oorspronkelijk bericht----- Van: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] Namens Susan Harkins Verzonden: donderdag 23 juni 2005 16:00 Aan: 'Access Developers discussion and problem solving' Onderwerp: [AccessD] Normalizing issue How do you guys deal with people that use three or more names professionally? I do -- Susan Sales Harkins. Do you store the second name with the first or use three fields? The middle name really isn't a "middle" name. It's actually part of the last name, but the last name is the real last name -- so if you stored it with the last name, you'd have to depend on users to enter it correctly, as in Harkins, Sales -- which is a mistake before you even get started... And how do you write in the flexibility that handles 2 or 3 names? Susan H. -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com _____ avast! Antivirus : Uitgaande bericht is niet besmet. Virus Gegevensbestand (VPS): 0526-3, 30-06-2005 Getest op: 1-7-2005 0:11:09 avast! auteursrecht (c) 1988-2005 ALWIL Software. From starkey at wanadoo.nl Thu Jun 30 17:13:19 2005 From: starkey at wanadoo.nl (StaRKeY) Date: Fri, 1 Jul 2005 00:13:19 +0200 Subject: [AccessD] Normalizing issue In-Reply-To: <20050623154231.MOKU25209.ibm63aec.bellsouth.net@SUSANONE> Message-ID: <20050630220858.88C4B450A4@smtp6.wanadoo.nl> Mmmzzzz still going strong this thread.... So writing names?? Use aliasses instead of roles like i mentioned in earlier mail... Whatever they want just give i to them and let them have as many names/aliasses/roles they want:-) -----Oorspronkelijk bericht----- Van: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] Namens Susan Harkins Verzonden: donderdag 23 juni 2005 17:43 Aan: 'Access Developers discussion and problem solving' Onderwerp: RE: [AccessD] Normalizing issue If it isn't a middle or maiden name, what is it? This gets even more tricky with non-English names where "last" names can get really confusing. I generally provide a field for first, middle, and last name and make it the responsibility of the user to enter the appropriate value in the appropriate field. The rules for parsing this can become so draconian, that it hardly seems worth the work to do anything else. ========I'm in the middle of creating a database (pro bono) for a writer's organization. It's a simple deal and will require little work -- but this is already cropping up. These people will want their "writing" names with their publications -- I'm thinking about just adding one more field to store their "pen name" or whatever -- but then that becomes a nuisance if their name and professional name are the same -- gotta fill in both or allow for the blanks and go find the real name -- such a nuisance -- I think at this point the middle name is the best solution -- Susan H. -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com _____ avast! Antivirus : Uitgaande bericht is niet besmet. Virus Gegevensbestand (VPS): 0526-3, 30-06-2005 Getest op: 1-7-2005 0:13:19 avast! auteursrecht (c) 1988-2005 ALWIL Software. From ssharkins at bellsouth.net Thu Jun 30 17:31:44 2005 From: ssharkins at bellsouth.net (Susan Harkins) Date: Thu, 30 Jun 2005 18:31:44 -0400 Subject: [AccessD] Expression not working in text box In-Reply-To: <20050630215825.518A2451C0@smtp6.wanadoo.nl> Message-ID: <20050630223143.NEPK4468.ibm61aec.bellsouth.net@SUSANONE> The only other thing I can think of what might be troubling is the recordcount property... I am not sure if this still is needed in 2003 but I am used to do a movelast and a movefirst to populate the recordset to be able to get a proper recordcount but ohwell:-) My first guess is the line of code from what you posted is too long for the mainform. ==========I put a Recalc in the form's module -- still didn't work. Works in 2002, not in 2003. I think there's something wrong with my copy of 2003 -- not the only flaky business I had last week. Susan H. From ssharkins at bellsouth.net Thu Jun 30 17:31:44 2005 From: ssharkins at bellsouth.net (Susan Harkins) Date: Thu, 30 Jun 2005 18:31:44 -0400 Subject: SPAM-LOW: Re: [AccessD] Getting published... In-Reply-To: <02b4a6b1169c408b83f1e5a95b331132@christopherhawkins.com> Message-ID: <20050630223150.NEQC4468.ibm61aec.bellsouth.net@SUSANONE> Yelp -- good deal. Congratulations! :) Susan H. I just got off the phone with them.? Looks like $500 and first publishing rights for 6 months.? Not a bad deal for an hour of work.? Plus she's asking if I have anything on a couple of other topics.